Ignore:
Timestamp:
02/28/12 14:18:52 (9 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/configure.in

    r24958 r25149  
    257257if test "$arch_64bit" = yes; then
    258258  AC_MSG_RESULT(yes)
    259   if test -z "$COMPAT32BITFLAGS" ; then
    260     if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then
    261       COMPAT32BITFLAGS="-m32"
    262     fi
     259  if test -z "$ARCH_DEP_FLAGS" ; then
     260    ARCH_DEP_FLAGS=-fPIC
    263261  fi
    264262else
    265263  AC_MSG_RESULT(no)
    266   if test -z "$COMPAT32BITFLAGS" ; then
    267     COMPAT32BITFLAGS=
     264  if test -z "$ARCH_DEP_FLAGS" ; then
     265    ARCH_DEP_FLAGS=
    268266  fi
    269267fi
    270268
    271 export COMPAT32BITFLAGS
    272 AC_SUBST(COMPAT32BITFLAGS)
     269export ARCH_DEP_FLAGS
     270AC_SUBST(ARCH_DEP_FLAGS)
    273271
    274272
Note: See TracChangeset for help on using the changeset viewer.