Ignore:
Timestamp:
2010-01-06T17:30:17+13:00 (14 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.

Location:
main/trunk/greenstone2/runtime-src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/configure

    r21329 r21432  
    32053205  fi
    32063206fi
     3207
     3208# Only need compat32bitflag if using MG or MGPP
     3209if test "$ENABLE_MG" = "0" ; then
     3210  COMPAT32BITFLAGS=
     3211else
     3212  if test "$ENABLE_MGPP" = "0" ; then
     3213    COMPAT32BITFLAGS=
     3214  fi
     3215fi
     3216
    32073217export COMPAT32BITFLAGS
    32083218
  • main/trunk/greenstone2/runtime-src/configure.in

    r21329 r21432  
    159159  fi
    160160fi
     161
     162# Only need compat32bitflag if using MG or MGPP
     163if test "$ENABLE_MG" = "0" ; then
     164  COMPAT32BITFLAGS=
     165else
     166  if test "$ENABLE_MGPP" = "0" ; then
     167    COMPAT32BITFLAGS=
     168  fi
     169fi
     170
    161171export COMPAT32BITFLAGS
    162172AC_SUBST(COMPAT32BITFLAGS)
Note: See TracChangeset for help on using the changeset viewer.