Changeset 15560
- Timestamp:
- 2008-05-18T22:19:28+12:00 (16 years ago)
- Location:
- indexers/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
indexers/trunk/configure
r13703 r15560 275 275 ac_subdirs_all="$ac_subdirs_all packages/unac" 276 276 ac_subdirs_all="$ac_subdirs_all mg mgpp" 277 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 ENABLE_ACCENTFOLD subdirs LIBOBJS LTLIBOBJS'277 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 ENABLE_ACCENTFOLD COMPAT32BITFLAGS subdirs LIBOBJS LTLIBOBJS' 278 278 ac_subst_files='' 279 279 … … 1241 1241 1242 1242 1243 cat >>confdefs.h <<_ACEOF 1244 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS 1245 _ACEOF 1246 1247 1248 1249 1243 1250 1244 1251 # Check whether --with-unac or --without-unac was given. … … 1921 1928 s,@LIBS@,$LIBS,;t t 1922 1929 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 1930 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 1923 1931 s,@subdirs@,$subdirs,;t t 1924 1932 s,@LIBOBJS@,$LIBOBJS,;t t -
indexers/trunk/configure.ac
r13703 r15560 7 7 AC_DEFINE_UNQUOTED(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD) 8 8 AC_SUBST(ENABLE_ACCENTFOLD) 9 10 AC_DEFINE_UNQUOTED(COMPAT32BITFLAGS, $COMPAT32BITFLAGS) 11 AC_SUBST(COMPAT32BITFLAGS) 12 9 13 10 14 dnl -
indexers/trunk/mg/configure
r10917 r15560 310 310 #endif" 311 311 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 VERSIONCXX 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 ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS'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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS 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 ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS' 313 313 ac_subst_files='' 314 314 … … 844 844 --program-suffix=SUFFIX append SUFFIX to installed program names 845 845 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 846 847 System 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] 846 851 _ACEOF 847 852 fi … … 1309 1314 ac_config_headers="$ac_config_headers config.h" 1310 1315 1316 1317 ac_aux_dir= 1318 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1319 if test -f $ac_dir/install-sh; then 1320 ac_aux_dir=$ac_dir 1321 ac_install_sh="$ac_aux_dir/install-sh -c" 1322 break 1323 elif test -f $ac_dir/install.sh; then 1324 ac_aux_dir=$ac_dir 1325 ac_install_sh="$ac_aux_dir/install.sh -c" 1326 break 1327 elif test -f $ac_dir/shtool; then 1328 ac_aux_dir=$ac_dir 1329 ac_install_sh="$ac_aux_dir/shtool install -c" 1330 break 1331 fi 1332 done 1333 if test -z "$ac_aux_dir"; then 1334 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1335 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1336 { (exit 1); exit 1; }; } 1337 fi 1338 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1339 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1340 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1341 1342 # Make sure we can run config.sub. 1343 $ac_config_sub sun4 >/dev/null 2>&1 || 1344 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1345 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1346 { (exit 1); exit 1; }; } 1347 1348 echo "$as_me:$LINENO: checking build system type" >&5 1349 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1350 if test "${ac_cv_build+set}" = set; then 1351 echo $ECHO_N "(cached) $ECHO_C" >&6 1352 else 1353 ac_cv_build_alias=$build_alias 1354 test -z "$ac_cv_build_alias" && 1355 ac_cv_build_alias=`$ac_config_guess` 1356 test -z "$ac_cv_build_alias" && 1357 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1358 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1359 { (exit 1); exit 1; }; } 1360 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1361 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1362 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1363 { (exit 1); exit 1; }; } 1364 1365 fi 1366 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1367 echo "${ECHO_T}$ac_cv_build" >&6 1368 build=$ac_cv_build 1369 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1370 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1371 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1372 1373 1374 echo "$as_me:$LINENO: checking host system type" >&5 1375 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1376 if test "${ac_cv_host+set}" = set; then 1377 echo $ECHO_N "(cached) $ECHO_C" >&6 1378 else 1379 ac_cv_host_alias=$host_alias 1380 test -z "$ac_cv_host_alias" && 1381 ac_cv_host_alias=$ac_cv_build_alias 1382 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1384 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1385 { (exit 1); exit 1; }; } 1386 1387 fi 1388 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1389 echo "${ECHO_T}$ac_cv_host" >&6 1390 host=$ac_cv_host 1391 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1392 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1393 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1394 1395 1396 echo "$as_me:$LINENO: checking target system type" >&5 1397 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1398 if test "${ac_cv_target+set}" = set; then 1399 echo $ECHO_N "(cached) $ECHO_C" >&6 1400 else 1401 ac_cv_target_alias=$target_alias 1402 test "x$ac_cv_target_alias" = "x" && 1403 ac_cv_target_alias=$ac_cv_host_alias 1404 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1405 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1406 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1407 { (exit 1); exit 1; }; } 1408 1409 fi 1410 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1411 echo "${ECHO_T}$ac_cv_target" >&6 1412 target=$ac_cv_target 1413 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1414 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1415 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1416 1417 1418 # The aliases save the names the user supplied, while $host etc. 1419 # will get canonicalized. 1420 test -n "$target_alias" && 1421 test "$program_prefix$program_suffix$program_transform_name" = \ 1422 NONENONEs,x,x, && 1423 program_prefix=${target_alias}- 1311 1424 test "$program_prefix" != NONE && 1312 1425 program_transform_name="s,^,$program_prefix,;$program_transform_name" … … 1326 1439 VERSION=1.2 1327 1440 1328 LDFLAGS=1329 1330 1441 cat >>confdefs.h <<_ACEOF 1331 1442 #define PACKAGE "$PACKAGE" … … 1337 1448 1338 1449 1450 1451 1452 1453 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 1454 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 1455 arch_64bit=no 1456 case "$host_cpu" in 1457 x86_64) arch_64bit=yes ;; 1458 esac 1459 1460 if test "$arch_64bit" = yes; then 1461 echo "$as_me:$LINENO: result: yes" >&5 1462 echo "${ECHO_T}yes" >&6 1463 if test -z "$COMPAT32BITFLAGS" ; then 1464 COMPAT32BITFLAGS="-m32" 1465 fi 1466 else 1467 echo "$as_me:$LINENO: result: no" >&5 1468 echo "${ECHO_T}no" >&6 1469 if test -z "$COMPAT32BITFLAGS" ; then 1470 COMPAT32BITFLAGS= 1471 fi 1472 fi 1339 1473 1340 1474 … … 2704 2838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2705 2839 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2706 2707 ac_aux_dir=2708 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2709 if test -f $ac_dir/install-sh; then2710 ac_aux_dir=$ac_dir2711 ac_install_sh="$ac_aux_dir/install-sh -c"2712 break2713 elif test -f $ac_dir/install.sh; then2714 ac_aux_dir=$ac_dir2715 ac_install_sh="$ac_aux_dir/install.sh -c"2716 break2717 elif test -f $ac_dir/shtool; then2718 ac_aux_dir=$ac_dir2719 ac_install_sh="$ac_aux_dir/shtool install -c"2720 break2721 fi2722 done2723 if test -z "$ac_aux_dir"; then2724 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52725 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}2726 { (exit 1); exit 1; }; }2727 fi2728 ac_config_guess="$SHELL $ac_aux_dir/config.guess"2729 ac_config_sub="$SHELL $ac_aux_dir/config.sub"2730 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.2731 2840 2732 2841 # Find a good install program. We prefer a C program (faster), … … 7123 7232 s,@ECHO_T@,$ECHO_T,;t t 7124 7233 s,@LIBS@,$LIBS,;t t 7234 s,@build@,$build,;t t 7235 s,@build_cpu@,$build_cpu,;t t 7236 s,@build_vendor@,$build_vendor,;t t 7237 s,@build_os@,$build_os,;t t 7238 s,@host@,$host,;t t 7239 s,@host_cpu@,$host_cpu,;t t 7240 s,@host_vendor@,$host_vendor,;t t 7241 s,@host_os@,$host_os,;t t 7242 s,@target@,$target,;t t 7243 s,@target_cpu@,$target_cpu,;t t 7244 s,@target_vendor@,$target_vendor,;t t 7245 s,@target_os@,$target_os,;t t 7125 7246 s,@PACKAGE@,$PACKAGE,;t t 7126 7247 s,@VERSION@,$VERSION,;t t 7248 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 7127 7249 s,@CXX@,$CXX,;t t 7128 7250 s,@CXXFLAGS@,$CXXFLAGS,;t t -
indexers/trunk/mg/configure.in
r10917 r15560 2 2 AC_INIT(src/text/mgquery.c) 3 3 AC_CONFIG_HEADER(config.h) 4 5 dnl get $target_cpu, $target_vendor, and $target_os 6 dnl (as well as host_*) 7 AC_CANONICAL_SYSTEM 4 8 AC_ARG_PROGRAM 5 9 … … 8 12 VERSION=1.2 9 13 10 LDFLAGS=11 12 14 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") 13 15 AC_DEFINE_UNQUOTED(VERSION, "$VERSION") 14 16 AC_SUBST(PACKAGE) 15 17 AC_SUBST(VERSION) 18 19 20 AC_MSG_CHECKING(to see if architecture is 64-bit) 21 arch_64bit=no 22 case "$host_cpu" in 23 x86_64) arch_64bit=yes ;; 24 esac 25 26 if test "$arch_64bit" = yes; then 27 AC_MSG_RESULT(yes) 28 if test -z "$COMPAT32BITFLAGS" ; then 29 COMPAT32BITFLAGS="-m32" 30 fi 31 else 32 AC_MSG_RESULT(no) 33 if test -z "$COMPAT32BITFLAGS" ; then 34 COMPAT32BITFLAGS= 35 fi 36 fi 37 AC_SUBST(COMPAT32BITFLAGS) 16 38 17 39 dnl Checks for programs. -
indexers/trunk/mgpp/configure
r14170 r15560 310 310 #endif" 311 311 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 VERSIONENABLE_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'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 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' 313 313 ac_subst_files='' 314 314 … … 844 844 --program-suffix=SUFFIX append SUFFIX to installed program names 845 845 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 846 847 System 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] 846 851 _ACEOF 847 852 fi … … 1318 1323 ac_config_headers="$ac_config_headers config.h" 1319 1324 1325 1326 ac_aux_dir= 1327 for 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 1341 done 1342 if test -z "$ac_aux_dir"; then 1343 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1344 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1345 { (exit 1); exit 1; }; } 1346 fi 1347 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1348 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1349 ac_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 1354 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1355 { (exit 1); exit 1; }; } 1356 1357 echo "$as_me:$LINENO: checking build system type" >&5 1358 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1359 if test "${ac_cv_build+set}" = set; then 1360 echo $ECHO_N "(cached) $ECHO_C" >&6 1361 else 1362 ac_cv_build_alias=$build_alias 1363 test -z "$ac_cv_build_alias" && 1364 ac_cv_build_alias=`$ac_config_guess` 1365 test -z "$ac_cv_build_alias" && 1366 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1367 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1368 { (exit 1); exit 1; }; } 1369 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1370 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1371 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1372 { (exit 1); exit 1; }; } 1373 1374 fi 1375 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1376 echo "${ECHO_T}$ac_cv_build" >&6 1377 build=$ac_cv_build 1378 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1379 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1380 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1381 1382 1383 echo "$as_me:$LINENO: checking host system type" >&5 1384 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1385 if test "${ac_cv_host+set}" = set; then 1386 echo $ECHO_N "(cached) $ECHO_C" >&6 1387 else 1388 ac_cv_host_alias=$host_alias 1389 test -z "$ac_cv_host_alias" && 1390 ac_cv_host_alias=$ac_cv_build_alias 1391 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1393 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1394 { (exit 1); exit 1; }; } 1395 1396 fi 1397 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1398 echo "${ECHO_T}$ac_cv_host" >&6 1399 host=$ac_cv_host 1400 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1401 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1402 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1403 1404 1405 echo "$as_me:$LINENO: checking target system type" >&5 1406 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1407 if test "${ac_cv_target+set}" = set; then 1408 echo $ECHO_N "(cached) $ECHO_C" >&6 1409 else 1410 ac_cv_target_alias=$target_alias 1411 test "x$ac_cv_target_alias" = "x" && 1412 ac_cv_target_alias=$ac_cv_host_alias 1413 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1415 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1416 { (exit 1); exit 1; }; } 1417 1418 fi 1419 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1420 echo "${ECHO_T}$ac_cv_target" >&6 1421 target=$ac_cv_target 1422 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1423 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1424 target_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. 1429 test -n "$target_alias" && 1430 test "$program_prefix$program_suffix$program_transform_name" = \ 1431 NONENONEs,x,x, && 1432 program_prefix=${target_alias}- 1320 1433 test "$program_prefix" != NONE && 1321 1434 program_transform_name="s,^,$program_prefix,;$program_transform_name" … … 1335 1448 VERSION=1.3 1336 1449 1337 LDFLAGS=1338 1339 1450 cat >>confdefs.h <<_ACEOF 1340 1451 #define PACKAGE "$PACKAGE" … … 1346 1457 1347 1458 1459 1460 1461 1462 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 1463 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 1464 arch_64bit=no 1465 case "$host_cpu" in 1466 x86_64) arch_64bit=yes ;; 1467 esac 1468 1469 if test "$arch_64bit" = yes; then 1470 echo "$as_me:$LINENO: result: yes" >&5 1471 echo "${ECHO_T}yes" >&6 1472 if test -z "$COMPAT32BITFLAGS" ; then 1473 COMPAT32BITFLAGS="-m32" 1474 fi 1475 else 1476 echo "$as_me:$LINENO: result: no" >&5 1477 echo "${ECHO_T}no" >&6 1478 if test -z "$COMPAT32BITFLAGS" ; then 1479 COMPAT32BITFLAGS= 1480 fi 1481 fi 1348 1482 1349 1483 … … 2726 2860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2727 2861 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2728 2729 ac_aux_dir=2730 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2731 if test -f $ac_dir/install-sh; then2732 ac_aux_dir=$ac_dir2733 ac_install_sh="$ac_aux_dir/install-sh -c"2734 break2735 elif test -f $ac_dir/install.sh; then2736 ac_aux_dir=$ac_dir2737 ac_install_sh="$ac_aux_dir/install.sh -c"2738 break2739 elif test -f $ac_dir/shtool; then2740 ac_aux_dir=$ac_dir2741 ac_install_sh="$ac_aux_dir/shtool install -c"2742 break2743 fi2744 done2745 if test -z "$ac_aux_dir"; then2746 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52747 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}2748 { (exit 1); exit 1; }; }2749 fi2750 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.2753 2862 2754 2863 # Find a good install program. We prefer a C program (faster), … … 8293 8402 s,@ECHO_T@,$ECHO_T,;t t 8294 8403 s,@LIBS@,$LIBS,;t t 8404 s,@build@,$build,;t t 8405 s,@build_cpu@,$build_cpu,;t t 8406 s,@build_vendor@,$build_vendor,;t t 8407 s,@build_os@,$build_os,;t t 8408 s,@host@,$host,;t t 8409 s,@host_cpu@,$host_cpu,;t t 8410 s,@host_vendor@,$host_vendor,;t t 8411 s,@host_os@,$host_os,;t t 8412 s,@target@,$target,;t t 8413 s,@target_cpu@,$target_cpu,;t t 8414 s,@target_vendor@,$target_vendor,;t t 8415 s,@target_os@,$target_os,;t t 8295 8416 s,@PACKAGE@,$PACKAGE,;t t 8296 8417 s,@VERSION@,$VERSION,;t t 8418 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8297 8419 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8298 8420 s,@CXX@,$CXX,;t t -
indexers/trunk/mgpp/configure.in
r14170 r15560 2 2 AC_INIT(text/MGQuery.cpp) 3 3 AC_CONFIG_HEADER(config.h) 4 5 dnl get $target_cpu, $target_vendor, and $target_os 6 dnl (as well as host_*) 7 AC_CANONICAL_SYSTEM 4 8 AC_ARG_PROGRAM 5 9 … … 8 12 VERSION=1.3 9 13 10 LDFLAGS=11 12 14 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") 13 15 AC_DEFINE_UNQUOTED(VERSION, "$VERSION") 14 16 AC_SUBST(PACKAGE) 15 17 AC_SUBST(VERSION) 18 19 20 AC_MSG_CHECKING(to see if architecture is 64-bit) 21 arch_64bit=no 22 case "$host_cpu" in 23 x86_64) arch_64bit=yes ;; 24 esac 25 26 if test "$arch_64bit" = yes; then 27 AC_MSG_RESULT(yes) 28 if test -z "$COMPAT32BITFLAGS" ; then 29 COMPAT32BITFLAGS="-m32" 30 fi 31 else 32 AC_MSG_RESULT(no) 33 if test -z "$COMPAT32BITFLAGS" ; then 34 COMPAT32BITFLAGS= 35 fi 36 fi 37 AC_SUBST(COMPAT32BITFLAGS) 16 38 17 39 dnl
Note:
See TracChangeset
for help on using the changeset viewer.