Ignore:
Timestamp:
2012-03-02T12:04:59+13:00 (12 years ago)
Author:
jmt12
Message:

Copied across the 64bit ARCH_DEP_FLAGS test from gs2build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/packages/javagdbm/configure.in

    r21433 r25173  
    5050if test "$arch_64bit" = yes; then
    5151  AC_MSG_RESULT(yes)
    52   if test -z "$COMPAT32BITFLAGS" ; then
    53     COMPAT32BITFLAGS="-m32"
     52  if test -z "$ARCH_DEP_FLAGS" ; then
     53    ARCH_DEP_FLAGS="-fPIC"
     54    gsdlarch='64'
    5455  fi
    5556else
    5657  AC_MSG_RESULT(no)
    57   if test -z "$COMPAT32BITFLAGS" ; then
    58     COMPAT32BITFLAGS=
    59   fi
    60 fi
    61 
    62 # Only need compat32bitflag if using MG or MGPP
    63 if test "$ENABLE_MG" = "0" ; then
    64   COMPAT32BITFLAGS=
    65 else
    66   if test "$ENABLE_MGPP" = "0" ; then
    67     COMPAT32BITFLAGS=
    68   fi
    69 fi
    70 
    71 export COMPAT32BITFLAGS
    72 AC_SUBST(COMPAT32BITFLAGS)
    73 
    74 
     58  if test -z "$ARCH_DEP_FLAGS" ; then
     59    ARCH_DEP_FLAGS=
     60    gsdlarch='32'
     61  fi
     62fi
     63
     64export ARCH_DEP_FLAGS
     65AC_SUBST(ARCH_DEP_FLAGS)
    7566
    7667AC_CHECK_SIZEOF(void *)
Note: See TracChangeset for help on using the changeset viewer.