Show
Ignore:
Timestamp:
06.01.2010 17:30:17 (10 years ago)
Author:
davidb
Message:

Update to use of -m32, which is activated when compiling on a 64-bit machine. The requirement for needing to using -m32 is mg and mg++ (which currently only work with 32-bit sized data-types). If both --disable-mg and --disable-mgpp are specified this means that we don't need to use -m32. Configure files updated to detect this and 'cancel' the -m32 flag.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/configure.in

    r21417 r21432  
    189189  fi 
    190190fi 
     191 
     192# Only need compat32bitflag if using MG or MGPP 
     193if test "$ENABLE_MG" = "0" ; then 
     194  COMPAT32BITFLAGS= 
     195else 
     196  if test "$ENABLE_MGPP" = "0" ; then 
     197    COMPAT32BITFLAGS= 
     198  fi 
     199fi 
     200 
    191201export COMPAT32BITFLAGS 
    192202AC_SUBST(COMPAT32BITFLAGS)