Ignore:
Timestamp:
2008-05-18T22:19:28+12:00 (16 years ago)
Author:
davidb
Message:

Addition of COMPAT32BITFLAGS so mg and mgpp can compile on a 64-bit machine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indexers/trunk/mgpp/configure

    r14170 r15560  
    310310#endif"
    311311
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION ENABLE_ACCENTFOLD CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT AWK YACC CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR UNAC_DIR ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS'
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS ENABLE_ACCENTFOLD CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT AWK YACC CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR UNAC_DIR ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS'
    313313ac_subst_files=''
    314314
     
    844844  --program-suffix=SUFFIX            append SUFFIX to installed program names
    845845  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     846
     847System types:
     848  --build=BUILD     configure for building on BUILD [guessed]
     849  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
     850  --target=TARGET   configure for building compilers for TARGET [HOST]
    846851_ACEOF
    847852fi
     
    13181323          ac_config_headers="$ac_config_headers config.h"
    13191324
     1325
     1326ac_aux_dir=
     1327for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     1328  if test -f $ac_dir/install-sh; then
     1329    ac_aux_dir=$ac_dir
     1330    ac_install_sh="$ac_aux_dir/install-sh -c"
     1331    break
     1332  elif test -f $ac_dir/install.sh; then
     1333    ac_aux_dir=$ac_dir
     1334    ac_install_sh="$ac_aux_dir/install.sh -c"
     1335    break
     1336  elif test -f $ac_dir/shtool; then
     1337    ac_aux_dir=$ac_dir
     1338    ac_install_sh="$ac_aux_dir/shtool install -c"
     1339    break
     1340  fi
     1341done
     1342if test -z "$ac_aux_dir"; then
     1343  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     1344echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1345   { (exit 1); exit 1; }; }
     1346fi
     1347ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1348ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1349ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1350
     1351# Make sure we can run config.sub.
     1352$ac_config_sub sun4 >/dev/null 2>&1 ||
     1353  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     1354echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     1355   { (exit 1); exit 1; }; }
     1356
     1357echo "$as_me:$LINENO: checking build system type" >&5
     1358echo $ECHO_N "checking build system type... $ECHO_C" >&6
     1359if test "${ac_cv_build+set}" = set; then
     1360  echo $ECHO_N "(cached) $ECHO_C" >&6
     1361else
     1362  ac_cv_build_alias=$build_alias
     1363test -z "$ac_cv_build_alias" &&
     1364  ac_cv_build_alias=`$ac_config_guess`
     1365test -z "$ac_cv_build_alias" &&
     1366  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     1367echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     1368   { (exit 1); exit 1; }; }
     1369ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     1370  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     1371echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     1372   { (exit 1); exit 1; }; }
     1373
     1374fi
     1375echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     1376echo "${ECHO_T}$ac_cv_build" >&6
     1377build=$ac_cv_build
     1378build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1379build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1380build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1381
     1382
     1383echo "$as_me:$LINENO: checking host system type" >&5
     1384echo $ECHO_N "checking host system type... $ECHO_C" >&6
     1385if test "${ac_cv_host+set}" = set; then
     1386  echo $ECHO_N "(cached) $ECHO_C" >&6
     1387else
     1388  ac_cv_host_alias=$host_alias
     1389test -z "$ac_cv_host_alias" &&
     1390  ac_cv_host_alias=$ac_cv_build_alias
     1391ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     1392  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     1393echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     1394   { (exit 1); exit 1; }; }
     1395
     1396fi
     1397echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     1398echo "${ECHO_T}$ac_cv_host" >&6
     1399host=$ac_cv_host
     1400host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1401host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1402host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1403
     1404
     1405echo "$as_me:$LINENO: checking target system type" >&5
     1406echo $ECHO_N "checking target system type... $ECHO_C" >&6
     1407if test "${ac_cv_target+set}" = set; then
     1408  echo $ECHO_N "(cached) $ECHO_C" >&6
     1409else
     1410  ac_cv_target_alias=$target_alias
     1411test "x$ac_cv_target_alias" = "x" &&
     1412  ac_cv_target_alias=$ac_cv_host_alias
     1413ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     1414  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     1415echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     1416   { (exit 1); exit 1; }; }
     1417
     1418fi
     1419echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     1420echo "${ECHO_T}$ac_cv_target" >&6
     1421target=$ac_cv_target
     1422target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1423target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1424target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1425
     1426
     1427# The aliases save the names the user supplied, while $host etc.
     1428# will get canonicalized.
     1429test -n "$target_alias" &&
     1430  test "$program_prefix$program_suffix$program_transform_name" = \
     1431    NONENONEs,x,x, &&
     1432  program_prefix=${target_alias}-
    13201433test "$program_prefix" != NONE &&
    13211434  program_transform_name="s,^,$program_prefix,;$program_transform_name"
     
    13351448VERSION=1.3
    13361449
    1337 LDFLAGS=
    1338 
    13391450cat >>confdefs.h <<_ACEOF
    13401451#define PACKAGE "$PACKAGE"
     
    13461457
    13471458
     1459
     1460
     1461
     1462echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     1463echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     1464arch_64bit=no
     1465case "$host_cpu" in
     1466x86_64) arch_64bit=yes ;;
     1467esac
     1468
     1469if test "$arch_64bit" = yes; then
     1470  echo "$as_me:$LINENO: result: yes" >&5
     1471echo "${ECHO_T}yes" >&6
     1472  if test -z "$COMPAT32BITFLAGS" ; then
     1473    COMPAT32BITFLAGS="-m32"
     1474  fi
     1475else
     1476  echo "$as_me:$LINENO: result: no" >&5
     1477echo "${ECHO_T}no" >&6
     1478  if test -z "$COMPAT32BITFLAGS" ; then
     1479    COMPAT32BITFLAGS=
     1480  fi
     1481fi
    13481482
    13491483
     
    27262860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    27272861ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2728 
    2729 ac_aux_dir=
    2730 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2731   if test -f $ac_dir/install-sh; then
    2732     ac_aux_dir=$ac_dir
    2733     ac_install_sh="$ac_aux_dir/install-sh -c"
    2734     break
    2735   elif test -f $ac_dir/install.sh; then
    2736     ac_aux_dir=$ac_dir
    2737     ac_install_sh="$ac_aux_dir/install.sh -c"
    2738     break
    2739   elif test -f $ac_dir/shtool; then
    2740     ac_aux_dir=$ac_dir
    2741     ac_install_sh="$ac_aux_dir/shtool install -c"
    2742     break
    2743   fi
    2744 done
    2745 if test -z "$ac_aux_dir"; then
    2746   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2747 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    2748    { (exit 1); exit 1; }; }
    2749 fi
    2750 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2751 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2752 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    27532862
    27542863# Find a good install program.  We prefer a C program (faster),
     
    82938402s,@ECHO_T@,$ECHO_T,;t t
    82948403s,@LIBS@,$LIBS,;t t
     8404s,@build@,$build,;t t
     8405s,@build_cpu@,$build_cpu,;t t
     8406s,@build_vendor@,$build_vendor,;t t
     8407s,@build_os@,$build_os,;t t
     8408s,@host@,$host,;t t
     8409s,@host_cpu@,$host_cpu,;t t
     8410s,@host_vendor@,$host_vendor,;t t
     8411s,@host_os@,$host_os,;t t
     8412s,@target@,$target,;t t
     8413s,@target_cpu@,$target_cpu,;t t
     8414s,@target_vendor@,$target_vendor,;t t
     8415s,@target_os@,$target_os,;t t
    82958416s,@PACKAGE@,$PACKAGE,;t t
    82968417s,@VERSION@,$VERSION,;t t
     8418s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    82978419s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    82988420s,@CXX@,$CXX,;t t
Note: See TracChangeset for help on using the changeset viewer.