Ignore:
Timestamp:
2008-05-17T10:01:24+12:00 (16 years ago)
Author:
davidb
Message:

Introduction of COMPAT32BITFLAGS to confirugre and Makefile.in files to help compile Greenstone on a 64-bit machine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/configure.in

    r15300 r15551  
    7373dnl Checks for programs.
    7474LDFLAGS=$LDFLAGS
     75AC_SUBST(LDFLAGS)
    7576dnl only set CFLAGS if not already set in environment
    7677if test -z "$CFLAGS"; then
     
    7879fi
    7980AC_SUBST(CFLAGS)
     81
    8082
    8183AC_PROG_CC
     
    9294AC_PROG_MAKE_SET
    9395AC_PROG_RANLIB
     96
     97AC_MSG_CHECKING(to see if architecture is 64-bit)
     98arch_64bit=no
     99case "$host_cpu" in
     100x86_64) arch_64bit=yes ;;
     101esac
     102
     103if test "$arch_64bit" = yes; then
     104  AC_MSG_RESULT(yes)
     105  if test -z "$COMPAT32BITFLAGS" ; then
     106    COMPAT32BITFLAGS="-m32"
     107  fi
     108else
     109  AC_MSG_RESULT(no)
     110  if test -z "$COMPAT32BITFLAGS" ; then
     111    COMPAT32BITFLAGS=
     112  fi
     113fi
     114export COMPAT32BITFLAGS
     115AC_SUBST(COMPAT32BITFLAGS)
     116
    94117
    95118#moved CORBA MICO directory test to get version of MICO
Note: See TracChangeset for help on using the changeset viewer.