Ignore:
Timestamp:
2012-02-28T14:18:52+13:00 (12 years ago)
Author:
kjdon
Message:

getting greenstone to work properly on 64 bit machines. COMPAT32BITFLAGS is no more. Don't need -m32 option. Instead, have ARCH_DEP_FLAGS, which gets -fPIC on 64 bit machines. Note that I have used version 2.63 of autoconf. SOme configure files had previously been generated with v 2.65. Have also got rid of lib64 for compiling expat and iconv - only need one version now, not 32 bit version for greenstone and 64 bit version for apache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/configure.in

    r24901 r25149  
    224224if test "$arch_64bit" = yes; then
    225225  AC_MSG_RESULT(yes)
    226   if test -z "$COMPAT32BITFLAGS" ; then
    227     COMPAT32BITFLAGS="-m32"
     226  if test -z "$ARCH_DEP_FLAGS" ; then
     227    ARCH_DEP_FLAGS="-fPIC"
    228228    gsdlarch='64'
    229229  fi
    230230else
    231231  AC_MSG_RESULT(no)
    232   if test -z "$COMPAT32BITFLAGS" ; then
    233     COMPAT32BITFLAGS=
     232  if test -z "$ARCH_DEP_FLAGS" ; then
     233    ARCH_DEP_FLAGS=
    234234    gsdlarch='32'
    235235  fi
    236236fi
    237237
    238 # Only need compat32bitflag if using MG or MGPP
    239 if test "$ENABLE_MG" = "0" ; then
    240   COMPAT32BITFLAGS=
    241 else
    242   if test "$ENABLE_MGPP" = "0" ; then
    243     COMPAT32BITFLAGS=
    244   fi
    245 fi
    246 
    247 export COMPAT32BITFLAGS
    248 AC_SUBST(COMPAT32BITFLAGS)
     238export ARCH_DEP_FLAGS
     239AC_SUBST(ARCH_DEP_FLAGS)
    249240
    250241
Note: See TracChangeset for help on using the changeset viewer.