Changeset 22058
- Timestamp:
- 2010-05-06T21:23:54+12:00 (14 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/configure
r21440 r22058 310 310 311 311 ac_subdirs_all="$ac_subdirs_all packages" 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs 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 PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 313 313 ac_subst_files='' 314 314 … … 857 857 --enable-z3950 Enable Z39.50 client support 858 858 --disable-yaz Disable YAZ compilation 859 --disable-jdbm Disable JDBM compilation 860 --disable-gdbm Disable GDBM compilation 859 861 --disable-accentfold Disable Accent Folding for MGPP 860 862 --disable-sqlite Disable SQLite support … … 1354 1356 if test "${enable_corba+set}" = set; then 1355 1357 enableval="$enable_corba" 1358 USE_CORBA=$enableval 1359 else 1360 USE_CORBA=no 1361 fi; 1362 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1356 1363 USE_CORBA=1 1364 cat >>confdefs.h <<\_ACEOF 1365 #define USE_CORBA 1366 _ACEOF 1367 1357 1368 else 1358 1369 USE_CORBA=0 1359 fi; 1360 cat >>confdefs.h <<_ACEOF 1361 #define USE_CORBA $USE_CORBA 1362 _ACEOF 1363 1370 fi 1364 1371 1365 1372 … … 1381 1388 if test "${enable_z3950+set}" = set; then 1382 1389 enableval="$enable_z3950" 1390 USE_Z3950=$enableval 1391 else 1392 USE_Z3950=no 1393 fi; 1394 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1383 1395 USE_Z3950=1 1396 cat >>confdefs.h <<\_ACEOF 1397 #define USE_Z3950 1398 _ACEOF 1399 1384 1400 else 1385 1401 USE_Z3950=0 1386 fi; 1387 if test USE_Z3950 = 1; then 1388 cat >>confdefs.h <<\_ACEOF 1389 #define USE_Z3950 $USE_Z3950 1390 _ACEOF 1391 1392 1393 fi 1402 fi 1403 1394 1404 1395 1405 # Check whether --enable-yaz or --disable-yaz was given. 1396 1406 if test "${enable_yaz+set}" = set; then 1397 1407 enableval="$enable_yaz" 1408 USE_YAZ=$enableval 1409 else 1410 USE_YAZ=yes 1411 fi; 1412 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1413 USE_YAZ=1 1414 cat >>confdefs.h <<\_ACEOF 1415 #define USE_YAZ 1416 _ACEOF 1417 1418 else 1398 1419 USE_YAZ=0 1399 else 1400 USE_YAZ=1 1420 fi 1421 1422 1423 # Check whether --enable-jdbm or --disable-jdbm was given. 1424 if test "${enable_jdbm+set}" = set; then 1425 enableval="$enable_jdbm" 1426 USE_JDBM=$enableval 1427 else 1428 USE_JDBM=yes 1401 1429 fi; 1402 cat >>confdefs.h <<\_ACEOF 1403 #define USE_YAZ $USE_YAZ 1404 _ACEOF 1405 1430 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1431 USE_JDBM=1 1432 cat >>confdefs.h <<\_ACEOF 1433 #define USE_JDBM 1434 _ACEOF 1435 1436 else 1437 USE_JDBM=0 1438 fi 1439 1440 1441 # Check whether --enable-gdbm or --disable-gdbm was given. 1442 if test "${enable_gdbm+set}" = set; then 1443 enableval="$enable_gdbm" 1444 USE_GDBM=$enableval 1445 else 1446 USE_GDBM=yes 1447 fi; 1448 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1449 USE_GDBM=1 1450 cat >>confdefs.h <<\_ACEOF 1451 #define USE_GDBM 1452 _ACEOF 1453 1454 else 1455 USE_GDBM=0 1456 fi 1406 1457 1407 1458 … … 1409 1460 if test "${enable_accentfold+set}" = set; then 1410 1461 enableval="$enable_accentfold" 1462 ENABLE_ACCENTFOLD=$enableval 1463 else 1464 ENABLE_ACCENTFOLD=yes 1465 fi; 1466 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1467 ENABLE_ACCENTFOLD=1 1468 cat >>confdefs.h <<\_ACEOF 1469 #define ENABLE_ACCENTFOLD 1470 _ACEOF 1471 1472 else 1411 1473 ENABLE_ACCENTFOLD=0 1412 else 1413 ENABLE_ACCENTFOLD=1 1414 fi; 1415 cat >>confdefs.h <<\_ACEOF 1416 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1417 _ACEOF 1418 1474 fi 1419 1475 1420 1476 … … 1422 1478 if test "${enable_sqlite+set}" = set; then 1423 1479 enableval="$enable_sqlite" 1480 USE_SQLITE=$enableval 1481 else 1482 USE_SQLITE=yes 1483 fi; 1484 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1485 USE_SQLITE=1 1486 cat >>confdefs.h <<\_ACEOF 1487 #define USE_SQLITE 1488 _ACEOF 1489 1490 else 1424 1491 USE_SQLITE=0 1425 else 1426 USE_SQLITE=1 1427 fi; 1428 cat >>confdefs.h <<\_ACEOF 1429 #define USE_SQLITE $USE_SQLITE 1430 _ACEOF 1431 1492 fi 1432 1493 1433 1494 … … 7917 7978 s,@USE_Z3950@,$USE_Z3950,;t t 7918 7979 s,@USE_YAZ@,$USE_YAZ,;t t 7980 s,@USE_JDBM@,$USE_JDBM,;t t 7981 s,@USE_GDBM@,$USE_GDBM,;t t 7919 7982 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7920 7983 s,@USE_SQLITE@,$USE_SQLITE,;t t -
main/trunk/greenstone2/build-src/configure.in
r21446 r22058 70 70 fi 71 71 AC_SUBST(USE_YAZ) 72 73 dnl 74 dnl Set use of JDBM (enabled by default) 75 dnl 76 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes) 77 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 78 USE_JDBM=1 79 AC_DEFINE(USE_JDBM,[]) 80 else 81 USE_JDBM=0 82 fi 83 AC_SUBST(USE_JDBM) 84 85 dnl 86 dnl Set use of GDBM (enabled by default) 87 dnl 88 AC_ARG_ENABLE(gdbm, [ --disable-gdbm Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes) 89 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 90 USE_GDBM=1 91 AC_DEFINE(USE_GDBM,[]) 92 else 93 USE_GDBM=0 94 fi 95 AC_SUBST(USE_GDBM) 72 96 73 97 dnl -
main/trunk/greenstone2/build-src/packages/configure
r18244 r22058 22 22 ENVIRONMENT="" 23 23 24 # GDBM compilation enabled by default, can switch it off with --disable-gdbm 25 USE_GDBM=true 26 # JDBM compilation enabled by default, can switch it off with --disable-jdbm 27 USE_JDBM=true 24 28 # SQLite support enabled by default, can switch it off with --disable-sqlite 25 29 USE_SQLITE=true … … 48 52 CACHE_FILE="--cache-file=$cache_file" 49 53 fi 54 ;; 55 --disable-gdbm) 56 USE_GDBM=false 57 ;; 58 --disable-jdbm) 59 USE_JDBM=false 50 60 ;; 51 61 --disable-sqlite) -
main/trunk/greenstone2/common-src/Makefile.in
r21427 r22058 51 51 52 52 # all directories should be compiled 53 COMPILEDIRS = packages src/lib src/gdbmedit/txt2db src/gdbmedit/db2txt \ 54 src/gdbmedit/gdbmget src/gdbmedit/gdbmset \ 55 src/gdbmedit/gdbmkeys src/gdbmedit/gdbmdel \ 56 src/getpw 53 COMPILEDIRS = packages src/lib src/getpw 57 54 58 55 # a subset of the directories get installed 59 INSTALLDIRS = packages src/gdbmedit/db2txt src/gdbmedit/txt2db \ 56 INSTALLDIRS = packages src/getpw 57 58 59 USE_GDBM=@USE_GDBM@ 60 ifeq ($(USE_GDBM), 1) 61 COMPILEDIRS += src/gdbmedit/txt2db src/gdbmedit/db2txt \ 60 62 src/gdbmedit/gdbmget src/gdbmedit/gdbmset \ 61 src/gdbmedit/gdbmkeys src/gdbmedit/gdbmdel \ 62 src/getpw 63 64 ENABLE_JDBM=@ENABLE_JDBM@ 65 66 ifeq ($(ENABLE_JDBM), 1) 67 COMPILEDDIRS += src/jdbmedit 68 INSTALLDIRS += src/jdbmedit 63 src/gdbmedit/gdbmkeys src/gdbmedit/gdbmdel 64 INSTALLDIRS += src/gdbmedit/db2txt src/gdbmedit/txt2db \ 65 src/gdbmedit/gdbmget src/gdbmedit/gdbmset \ 66 src/gdbmedit/gdbmkeys src/gdbmedit/gdbmdel 67 GDBM_DEFINES = -DUSE_GDBM 68 else 69 GDBM_DEFINES = 69 70 endif 70 71 72 USE_JDBM=@USE_JDBM@ 73 ifeq ($(USE_JDBM), 1) 74 COMPILEDIRS += src/jdbmedit 75 INSTALLDIRS += src/jdbmedit 76 JDBM_DEFINES = -DUSE_JDBM 77 else 78 JDBM_DEFINES = 79 endif 80 81 USE_SQLITE = @USE_SQLITE@ 82 ifeq ($(USE_SQLITE), 1) 83 SQLITE_DEFINES = -DUSE_SQLITE 84 else 85 SQLITE_DEFINES = 86 endif 71 87 72 88 MODULEDIRS = @MODULEDIRS@ 73 89 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 74 90 75 91 with-jni without-jni: -
main/trunk/greenstone2/common-src/configure
r21440 r22058 312 312 ac_subdirs_all="$ac_subdirs_all packages" 313 313 ac_subdirs_all="$ac_subdirs_all indexers" 314 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD ENABLE_JDBMUSE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'314 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 315 315 ac_subst_files='' 316 316 … … 859 859 --enable-z3950 Enable Z39.50 client support 860 860 --disable-yaz Disable YAZ compilation 861 --disable-jdbm Disable JDBM compilation 862 --disable-gdbm Disable GDBM compilation 861 863 --disable-accentfold Disable Accent Folding for MGPP 862 --disable-jdbm Disable JDBM compilation863 864 --disable-sqlite Disable SQLite support 864 865 --enable-jni Enable JNI compilation … … 1363 1364 if test "${enable_corba+set}" = set; then 1364 1365 enableval="$enable_corba" 1366 USE_CORBA=$enableval 1367 else 1368 USE_CORBA=no 1369 fi; 1370 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1365 1371 USE_CORBA=1 1372 cat >>confdefs.h <<\_ACEOF 1373 #define USE_CORBA 1374 _ACEOF 1375 1366 1376 else 1367 1377 USE_CORBA=0 1368 fi; 1369 cat >>confdefs.h <<_ACEOF 1370 #define USE_CORBA $USE_CORBA 1371 _ACEOF 1372 1378 fi 1373 1379 1374 1380 … … 1390 1396 if test "${enable_z3950+set}" = set; then 1391 1397 enableval="$enable_z3950" 1398 USE_Z3950=$enableval 1399 else 1400 USE_Z3950=no 1401 fi; 1402 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1392 1403 USE_Z3950=1 1404 cat >>confdefs.h <<\_ACEOF 1405 #define USE_Z3950 1406 _ACEOF 1407 1393 1408 else 1394 1409 USE_Z3950=0 1395 fi; 1396 if test USE_Z3950 = 1; then 1397 cat >>confdefs.h <<\_ACEOF 1398 #define USE_Z3950 $USE_Z3950 1399 _ACEOF 1400 1401 1402 fi 1410 fi 1411 1403 1412 1404 1413 # Check whether --enable-yaz or --disable-yaz was given. 1405 1414 if test "${enable_yaz+set}" = set; then 1406 1415 enableval="$enable_yaz" 1416 USE_YAZ=$enableval 1417 else 1418 USE_YAZ=yes 1419 fi; 1420 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1421 USE_YAZ=1 1422 cat >>confdefs.h <<\_ACEOF 1423 #define USE_YAZ 1424 _ACEOF 1425 1426 else 1407 1427 USE_YAZ=0 1408 else 1409 USE_YAZ=1 1428 fi 1429 1430 1431 # Check whether --enable-jdbm or --disable-jdbm was given. 1432 if test "${enable_jdbm+set}" = set; then 1433 enableval="$enable_jdbm" 1434 USE_JDBM=$enableval 1435 else 1436 USE_JDBM=yes 1410 1437 fi; 1411 cat >>confdefs.h <<\_ACEOF 1412 #define USE_YAZ $USE_YAZ 1413 _ACEOF 1414 1438 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1439 USE_JDBM=1 1440 cat >>confdefs.h <<\_ACEOF 1441 #define USE_JDBM 1442 _ACEOF 1443 1444 else 1445 USE_JDBM=0 1446 fi 1447 1448 1449 # Check whether --enable-gdbm or --disable-gdbm was given. 1450 if test "${enable_gdbm+set}" = set; then 1451 enableval="$enable_gdbm" 1452 USE_GDBM=$enableval 1453 else 1454 USE_GDBM=yes 1455 fi; 1456 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1457 USE_GDBM=1 1458 cat >>confdefs.h <<\_ACEOF 1459 #define USE_GDBM 1460 _ACEOF 1461 1462 else 1463 USE_GDBM=0 1464 fi 1415 1465 1416 1466 … … 1418 1468 if test "${enable_accentfold+set}" = set; then 1419 1469 enableval="$enable_accentfold" 1470 ENABLE_ACCENTFOLD=$enableval 1471 else 1472 ENABLE_ACCENTFOLD=yes 1473 fi; 1474 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1475 ENABLE_ACCENTFOLD=1 1476 cat >>confdefs.h <<\_ACEOF 1477 #define ENABLE_ACCENTFOLD 1478 _ACEOF 1479 1480 else 1420 1481 ENABLE_ACCENTFOLD=0 1421 else 1422 ENABLE_ACCENTFOLD=1 1423 fi; 1424 cat >>confdefs.h <<\_ACEOF 1425 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1426 _ACEOF 1427 1428 1429 1430 # Check whether --enable-jdbm or --disable-jdbm was given. 1431 if test "${enable_jdbm+set}" = set; then 1432 enableval="$enable_jdbm" 1433 ENABLE_JDBM=$enableval 1434 else 1435 ENABLE_JDBM=yes 1436 fi; 1437 if test $ENABLE_JDBM = "yes" -o $ENABLE_JDBM = "1" ; then 1438 ENABLE_JDBM=1 1439 cat >>confdefs.h <<\_ACEOF 1440 #define ENABLE_JDBM 1441 _ACEOF 1442 1443 else 1444 ENABLE_JDBM=0 1445 fi 1482 fi 1483 1446 1484 1447 1485 … … 1449 1487 if test "${enable_sqlite+set}" = set; then 1450 1488 enableval="$enable_sqlite" 1489 USE_SQLITE=$enableval 1490 else 1491 USE_SQLITE=yes 1492 fi; 1493 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1494 USE_SQLITE=1 1495 cat >>confdefs.h <<\_ACEOF 1496 #define USE_SQLITE 1497 _ACEOF 1498 1499 else 1451 1500 USE_SQLITE=0 1452 else 1453 USE_SQLITE=1 1454 fi; 1455 cat >>confdefs.h <<\_ACEOF 1456 #define USE_SQLITE $USE_SQLITE 1457 _ACEOF 1458 1501 fi 1459 1502 1460 1503 … … 7931 7974 s,@USE_Z3950@,$USE_Z3950,;t t 7932 7975 s,@USE_YAZ@,$USE_YAZ,;t t 7976 s,@USE_JDBM@,$USE_JDBM,;t t 7977 s,@USE_GDBM@,$USE_GDBM,;t t 7933 7978 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7934 s,@ENABLE_JDBM@,$ENABLE_JDBM,;t t7935 7979 s,@USE_SQLITE@,$USE_SQLITE,;t t 7936 7980 s,@ENABLE_JNI@,$ENABLE_JNI,;t t -
main/trunk/greenstone2/common-src/configure.in
r21446 r22058 73 73 AC_SUBST(USE_YAZ) 74 74 75 dnl 76 dnl Set use of JDBM (enabled by default) 77 dnl 78 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes) 79 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 80 USE_JDBM=1 81 AC_DEFINE(USE_JDBM,[]) 82 else 83 USE_JDBM=0 84 fi 85 AC_SUBST(USE_JDBM) 86 87 dnl 88 dnl Set use of GDBM (enabled by default) 89 dnl 90 AC_ARG_ENABLE(gdbm, [ --disable-gdbm Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes) 91 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 92 USE_GDBM=1 93 AC_DEFINE(USE_GDBM,[]) 94 else 95 USE_GDBM=0 96 fi 97 AC_SUBST(USE_GDBM) 98 75 99 dnl 76 100 dnl disable compilation of accent folding stuff for mgpp (and one day mg) … … 85 109 AC_SUBST(ENABLE_ACCENTFOLD) 86 110 87 dnl88 dnl Set use of JDBM (enabled by default)89 dnl90 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], ENABLE_JDBM=$enableval, ENABLE_JDBM=yes)91 if test $ENABLE_JDBM = "yes" -o $ENABLE_JDBM = "1" ; then92 ENABLE_JDBM=193 AC_DEFINE(ENABLE_JDBM,[])94 else95 ENABLE_JDBM=096 fi97 AC_SUBST(ENABLE_JDBM)98 111 99 112 dnl -
main/trunk/greenstone2/common-src/indexers/Makefile.in
r21364 r22058 58 58 endif 59 59 60 USE_GDBM = @USE_GDBM@ 61 ifeq ($(USE_GDBM), 1) 62 GDBM_DEFINES = -DUSE_GDBM 63 else 64 GDBM_DEFINES = 65 endif 66 67 USE_JDBM = @USE_JDBM@ 68 ifeq ($(USE_JDBM), 1) 69 JDBM_DEFINES = -DUSE_JDBM 70 else 71 JDBM_DEFINES = 72 endif 73 74 USE_SQLITE = @USE_SQLITE@ 75 ifeq ($(USE_SQLITE), 1) 76 USE_SQLITE = -DUSE_SQLITE 77 else 78 USE_SQLITE = 79 endif 80 60 81 INDEXERDIRS = $(UNAC) $(MG) $(MGPP) $(LUCENE) 61 82 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 62 83 63 84 clean: -
main/trunk/greenstone2/common-src/indexers/configure
r21364 r22058 275 275 ac_subdirs_all="$ac_subdirs_all mg" 276 276 ac_subdirs_all="$ac_subdirs_all 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 ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE COMPAT32BITFLAGS JAVAC JAVA uudecode 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 USE_JDBM USE_GDBM ENABLE_ACCENTFOLD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE COMPAT32BITFLAGS JAVAC JAVA uudecode subdirs LIBOBJS LTLIBOBJS' 278 278 ac_subst_files='' 279 279 … … 786 786 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 787 787 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 788 --disable-accentfolding Disable Accent Folding support 788 --disable-jdbm Disable JDBM compilation 789 --disable-gdbm Disable GDBM compilation 790 --disable-accentfold Disable Accent Folding for MGPP 789 791 --enable-jni Enable JNI compilation 790 792 --disable-mg Disable MG compilation … … 1233 1235 1234 1236 1235 # Check whether --enable-accentfolding or --disable-accentfolding was given. 1236 if test "${enable_accentfolding+set}" = set; then 1237 enableval="$enable_accentfolding" 1237 1238 # Check whether --enable-jdbm or --disable-jdbm was given. 1239 if test "${enable_jdbm+set}" = set; then 1240 enableval="$enable_jdbm" 1241 USE_JDBM=$enableval 1242 else 1243 USE_JDBM=yes 1244 fi; 1245 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1246 USE_JDBM=1 1247 cat >>confdefs.h <<\_ACEOF 1248 #define USE_JDBM 1249 _ACEOF 1250 1251 else 1252 USE_JDBM=0 1253 fi 1254 1255 1256 # Check whether --enable-gdbm or --disable-gdbm was given. 1257 if test "${enable_gdbm+set}" = set; then 1258 enableval="$enable_gdbm" 1259 USE_GDBM=$enableval 1260 else 1261 USE_GDBM=yes 1262 fi; 1263 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1264 USE_GDBM=1 1265 cat >>confdefs.h <<\_ACEOF 1266 #define USE_GDBM 1267 _ACEOF 1268 1269 else 1270 USE_GDBM=0 1271 fi 1272 1273 1274 1275 # Check whether --enable-accentfold or --disable-accentfold was given. 1276 if test "${enable_accentfold+set}" = set; then 1277 enableval="$enable_accentfold" 1278 ENABLE_ACCENTFOLD=$enableval 1279 else 1280 ENABLE_ACCENTFOLD=yes 1281 fi; 1282 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1283 ENABLE_ACCENTFOLD=1 1284 cat >>confdefs.h <<\_ACEOF 1285 #define ENABLE_ACCENTFOLD 1286 _ACEOF 1287 1288 else 1238 1289 ENABLE_ACCENTFOLD=0 1239 else 1240 ENABLE_ACCENTFOLD=1 1241 fi; 1242 cat >>confdefs.h <<_ACEOF 1243 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1244 _ACEOF 1245 1290 fi 1246 1291 1247 1292 … … 1428 1473 CLASS_TEST=Test.class 1429 1474 cat << \EOF > $JAVA_TEST 1430 /* #line 14 30"configure" */1475 /* #line 1475 "configure" */ 1431 1476 public class Test { 1432 1477 } … … 1598 1643 ac_cv_prog_uudecode_base64=yes 1599 1644 else 1600 echo "configure: 16 00: uudecode had trouble decoding base 64 file 'Test.uue'" >&51645 echo "configure: 1645: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 1601 1646 echo "configure: failed file was:" >&5 1602 1647 cat Test.uue >&5 … … 1716 1761 CLASS_TEST=Test.class 1717 1762 cat << \EOF > $JAVA_TEST 1718 /* #line 17 18"configure" */1763 /* #line 1763 "configure" */ 1719 1764 public class Test { 1720 1765 } … … 1753 1798 TEST=Test 1754 1799 cat << \EOF > $JAVA_TEST 1755 /* [#]line 1 755"configure" */1800 /* [#]line 1800 "configure" */ 1756 1801 public class Test { 1757 1802 public static void main (String args[]) { … … 2509 2554 s,@ECHO_T@,$ECHO_T,;t t 2510 2555 s,@LIBS@,$LIBS,;t t 2556 s,@USE_JDBM@,$USE_JDBM,;t t 2557 s,@USE_GDBM@,$USE_GDBM,;t t 2511 2558 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 2512 2559 s,@ENABLE_JNI@,$ENABLE_JNI,;t t -
main/trunk/greenstone2/common-src/indexers/configure.ac
r21446 r22058 1 dnl2 dnl Disable accent folding3 dnl4 1 5 2 dnl AC_INIT(mgpp/text/MGQuery.cpp) 6 3 dnl http://www.gnu.org/software/hello/manual/autoconf/Initializing-configure.html 7 4 AC_INIT() 5 6 dnl 7 dnl Set use of JDBM (enabled by default) 8 dnl 9 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes) 10 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 11 USE_JDBM=1 12 AC_DEFINE(USE_JDBM,[]) 13 else 14 USE_JDBM=0 15 fi 16 AC_SUBST(USE_JDBM) 17 18 dnl 19 dnl Set use of GDBM (enabled by default) 20 dnl 21 AC_ARG_ENABLE(gdbm, [ --disable-gdbm Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes) 22 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 23 USE_GDBM=1 24 AC_DEFINE(USE_GDBM,[]) 25 else 26 USE_GDBM=0 27 fi 28 AC_SUBST(USE_GDBM) 29 30 31 dnl 32 dnl Disable accent folding 33 dnl 8 34 AC_ARG_ENABLE(accentfold, [ --disable-accentfold Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=$enableval, ENABLE_ACCENTFOLD=yes) 9 35 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then -
main/trunk/greenstone2/common-src/indexers/mg/Makefile.in
r16583 r22058 1 1 # Main Makefile for MG 2 2 # Copyright (C) 1994, 1995 Free Software Foundation, Inc. 3 3 4 4 # This program is free software; you can redistribute it and/or modify 5 5 # it under the terms of the GNU General Public License as published by 6 6 # the Free Software Foundation; either version 2, or (at your option) 7 7 # any later version. 8 8 9 9 # This program is distributed in the hope that it will be useful, 10 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 12 # GNU General Public License for more details. 13 13 14 14 # You should have received a copy of the GNU General Public License 15 15 # along with this program; if not, write to the Free Software 16 16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 17 18 18 PACKAGE = @PACKAGE@ 19 19 VERSION = @VERSION@ 20 20 21 21 @SET_MAKE@ 22 22 SHELL = /bin/sh … … 25 25 prefix = @prefix@ 26 26 srcdir = @srcdir@ 27 27 28 28 29 29 CC = @CC@ … … 35 35 LIBS = @LIBS@ 36 36 TOUCH = echo timestamp > 37 37 38 38 bindir = $(exec_prefix)/bin 39 39 infodir = $(prefix)/info 40 40 libexecdir = $(exec_prefix)/libexec 41 41 42 42 MDEFINES = 43 43 #CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \ -
main/trunk/greenstone2/common-src/indexers/mg/configure
r19835 r22058 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 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'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 USE_JDBM USE_GDBM 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 … … 855 855 856 856 cat <<\_ACEOF 857 858 Optional Features: 859 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 860 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 861 --disable-jdbm Disable JDBM compilation 862 --disable-gdbm Disable GDBM compilation 857 863 858 864 Optional Packages: … … 1471 1477 fi 1472 1478 fi 1479 1480 1481 1482 # Check whether --enable-jdbm or --disable-jdbm was given. 1483 if test "${enable_jdbm+set}" = set; then 1484 enableval="$enable_jdbm" 1485 USE_JDBM=$enableval 1486 else 1487 USE_JDBM=yes 1488 fi; 1489 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1490 USE_JDBM=1 1491 cat >>confdefs.h <<\_ACEOF 1492 #define USE_JDBM 1493 _ACEOF 1494 1495 else 1496 USE_JDBM=0 1497 fi 1498 1499 1500 # Check whether --enable-gdbm or --disable-gdbm was given. 1501 if test "${enable_gdbm+set}" = set; then 1502 enableval="$enable_gdbm" 1503 USE_GDBM=$enableval 1504 else 1505 USE_GDBM=yes 1506 fi; 1507 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1508 USE_GDBM=1 1509 cat >>confdefs.h <<\_ACEOF 1510 #define USE_GDBM 1511 _ACEOF 1512 1513 else 1514 USE_GDBM=0 1515 fi 1516 1473 1517 1474 1518 … … 7245 7289 s,@VERSION@,$VERSION,;t t 7246 7290 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 7291 s,@USE_JDBM@,$USE_JDBM,;t t 7292 s,@USE_GDBM@,$USE_GDBM,;t t 7247 7293 s,@CXX@,$CXX,;t t 7248 7294 s,@CXXFLAGS@,$CXXFLAGS,;t t -
main/trunk/greenstone2/common-src/indexers/mg/configure.in
r19835 r22058 36 36 fi 37 37 AC_SUBST(COMPAT32BITFLAGS) 38 39 40 dnl 41 dnl Set use of JDBM (enabled by default) 42 dnl 43 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes) 44 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 45 USE_JDBM=1 46 AC_DEFINE(USE_JDBM,[]) 47 else 48 USE_JDBM=0 49 fi 50 AC_SUBST(USE_JDBM) 51 52 dnl 53 dnl Set use of GDBM (enabled by default) 54 dnl 55 AC_ARG_ENABLE(gdbm, [ --disable-gdbm Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes) 56 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 57 USE_GDBM=1 58 AC_DEFINE(USE_GDBM,[]) 59 else 60 USE_GDBM=0 61 fi 62 AC_SUBST(USE_GDBM) 63 38 64 39 65 dnl Checks for programs. -
main/trunk/greenstone2/common-src/indexers/mg/jni/Makefile.in
r18445 r22058 11 11 transform = @program_transform_name@ 12 12 13 USE_GDBM = @USE_GDBM@ 14 ifeq ($(USE_GDBM), 1) 15 GDBM_DEFINES = -DUSE_GDBM 16 else 17 GDBM_DEFINES = 18 endif 19 20 USE_JDBM = @USE_JDBM@ 21 ifeq ($(USE_JDBM), 1) 22 JDBM_DEFINES = -DUSE_JDBM 23 else 24 JDBM_DEFINES = 25 endif 26 27 USE_SQLITE = @USE_SQLITE@ 28 ifeq ($(USE_SQLITE), 1) 29 SQLITE_DEFINES = -DUSE_SQLITE 30 else 31 SQLITE_DEFINES = 32 endif 33 13 34 AR = ar 14 35 CC = @CC@ 15 36 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -ansi -fpic -DSILENT -DSHORT_SUFFIX -DNZDL -DQUIET -DPARADOCNUM 16 DEFS = @DEFS@ 37 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 17 38 RANLIB = @RANLIB@ 18 39 INSTALL = @INSTALL@ -
main/trunk/greenstone2/common-src/indexers/mg/lib/Makefile.in
r16583 r22058 25 25 PACKAGE = @PACKAGE@ 26 26 VERSION = @VERSION@ 27 27 28 28 SHELL = /bin/sh 29 29 srcdir = @srcdir@ 30 30 subdir = lib 31 31 VPATH = @srcdir@ 32 32 33 USE_GDBM = @USE_GDBM@ 34 ifeq ($(USE_GDBM), 1) 35 GDBM_DEFINES = -DUSE_GDBM 36 else 37 GDBM_DEFINES = 38 endif 39 40 USE_JDBM = @USE_JDBM@ 41 ifeq ($(USE_JDBM), 1) 42 JDBM_DEFINES = -DUSE_JDBM 43 else 44 JDBM_DEFINES = 45 endif 46 47 USE_SQLITE = @USE_SQLITE@ 48 ifeq ($(USE_SQLITE), 1) 49 SQLITE_DEFINES = -DUSE_SQLITE 50 else 51 SQLITE_DEFINES = 52 endif 53 33 54 AR = ar 34 55 CC = @CC@ 35 56 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -fpic 36 DEFS = @DEFS@ 57 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 37 58 RANLIB = @RANLIB@ 38 59 … … 43 64 ########################################## 44 65 45 66 46 67 prefix = @prefix@ 47 68 datadir = $(prefix)/share 48 69 localedir = $(datadir)/locale 49 70 50 71 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) 51 72 52 73 .SUFFIXES: 53 74 .SUFFIXES: .c .o … … 57 78 ANSI2KNR = @ANSI2KNR@ 58 79 o = .@U@o 59 80 60 81 .SUFFIXES: ._c ._o 61 82 .c._c: … … 71 92 @ln $*._c _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c 72 93 73 94 74 95 INCLUDES = -I../../.. -I.. -I$(srcdir) 75 96 76 97 HEADERS = \ 77 98 bitio_m_random.h filestats.h local_strings.h lovinstem.h \ … … 123 144 124 145 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 125 146 126 147 all : libmglib.a gsdllibmg.a 127 148 … … 137 158 $(AR) cru gsdllibmg.a $(LIB_OBJECTS) 138 159 $(RANLIB) gsdllibmg.a 139 160 140 161 141 162 install: … … 146 167 maninstall: 147 168 manuninstall: 148 169 149 170 dist: $(DISTFILES) 150 171 for file in $(DISTFILES); do \ … … 155 176 mostlyclean: 156 177 rm -f *.o *_.o 157 178 158 179 clean: mostlyclean 159 180 rm -f libmglib.a gsdllibmg.a 160 181 161 182 distclean: clean 162 183 rm -f Makefile 163 184 164 185 maintainer-clean: distclean 165 186 @echo "This command is intended only for maintainers to use;" … … 168 189 #Makefile: Makefile.in ../../../config.status 169 190 # cd ../../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status 170 191 171 192 # Tell versions [3.59,3.63) of GNU make not to export all variables. 172 193 # Otherwise a system limit (for SysV at least) may be exceeded. -
main/trunk/greenstone2/common-src/indexers/mg/src/text/Makefile.in
r16583 r22058 24 24 PACKAGE = @PACKAGE@ 25 25 VERSION = @VERSION@ 26 26 27 27 SHELL = /bin/sh 28 28 VPATH = @srcdir@ … … 35 35 transform = @program_transform_name@ 36 36 37 USE_GDBM = @USE_GDBM@ 38 ifeq ($(USE_GDBM), 1) 39 GDBM_DEFINES = -DUSE_GDBM 40 else 41 GDBM_DEFINES = 42 endif 43 44 USE_JDBM = @USE_JDBM@ 45 ifeq ($(USE_JDBM), 1) 46 JDBM_DEFINES = -DUSE_JDBM 47 else 48 JDBM_DEFINES = 49 endif 50 51 USE_SQLITE = @USE_SQLITE@ 52 ifeq ($(USE_SQLITE), 1) 53 SQLITE_DEFINES = -DUSE_SQLITE 54 else 55 SQLITE_DEFINES = 56 endif 57 37 58 AR = ar 38 59 CC = @CC@ 39 60 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -fpic 40 DEFS = @DEFS@ 61 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 41 62 RANLIB = @RANLIB@ 42 63 INSTALL = @INSTALL@ … … 59 80 localedir = $(datadir)/locale 60 81 mandir = $(prefix)/man/man1 61 82 62 83 COMPILE = $(CC) -c $(DEFS) $(TREC_MODE) $(READLINE) $(INCLUDES) $(CFLAGS) 63 84 LINK = $(CC) $(LDFLAGS) -o $@ … … 67 88 .c.o: 68 89 $(COMPILE) $< 69 90 70 91 71 92 ANSI2KNR = @ANSI2KNR@ 72 93 o = .@U@o 73 94 74 95 .SUFFIXES: ._c ._o 75 96 .c._c: … … 84 105 @rm -f _$*.c 85 106 @ln $*._c _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c 86 107 87 108 INCLUDES = -I../../../.. -I../.. -I../../lib -I. 88 109 … … 360 381 mostlyclean: 361 382 rm -f *$o _*.c _*.o *._c *._o core core.* 362 383 363 384 clean: mostlyclean 364 385 rm -f $(EXEC) libmgtext.a libmgpass.a 365 386 366 387 distclean: clean 367 388 rm -f ansi2knr 368 389 rm -f Makefile 369 390 370 391 maintainer-clean: distclean 371 392 @echo "This command is intended only for maintainers to use;" 372 393 @echo "rebuilding the deleted files may require special tools." 373 394 374 395 dist: $(DISTFILES) 375 396 for file in $(DISTFILES); do \ … … 377 398 || cp -p $(srcdir)/$$file $(distdir); \ 378 399 done 379 400 380 401 # Tell versions [3.59,3.63) of GNU make not to export all variables. 381 402 # Otherwise a system limit (for SysV at least) may be exc -
main/trunk/greenstone2/common-src/indexers/mgpp/configure
r20845 r22058 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61.3 # Generated by GNU Autoconf 2.59. 4 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. … … 11 10 ## --------------------- ## 12 11 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 12 # Be Bourne compatible 15 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 14 emulate sh … … 19 17 # is contrary to our usage. Disable this feature. 20 18 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 33 79 # Avoid depending upon Character Ranges. 34 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 51 97 fi 52 98 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 110 for as_dir in $PATH 75 111 do … … 78 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 115 done 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 112 123 fi 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 221 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 224 133 IFS=$as_save_IFS 225 134 test -z "$as_dir" && as_dir=. 226 case $as_dir in 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 227 137 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 138 if ("$as_dir/$as_base" -c ' 328 139 as_lineno_1=$LINENO 329 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 330 142 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell [email protected] about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 427 155 428 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 157 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 435 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 442 165 sed ' 443 s/[$]LINENO.*/&-/444 t lineno445 b446 :lineno447 166 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 450 170 t loop 451 s/-\n.*// 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 452 173 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno"||174 chmod +x $as_me.lineno || 454 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 176 { (exit 1); exit 1; }; } … … 457 178 # Don't try to exec as it changes $[0], causing all sort of problems 458 179 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensi tive to this).460 . "./$as_me.lineno"180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 461 182 # Exit status is that of the last command. 462 183 exit … … 464 185 465 186 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 481 192 esac 482 193 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 194 if expr a : '\(a\)' >/dev/null 2>&1; then 485 195 as_expr=expr 486 196 else … … 489 199 490 200 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then492 rm -f conf$$.dir/conf$$.file493 else494 rm -f conf$$.dir495 mkdir conf$$.dir496 fi497 201 echo >conf$$.file 498 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 505 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 506 211 elif ln conf$$.file conf$$ 2>/dev/null; then 507 212 as_ln_s=ln … … 509 214 as_ln_s='cp -p' 510 215 fi 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 216 rm -f conf$$ conf$$.exe conf$$.file 513 217 514 218 if mkdir -p . 2>/dev/null; then … … 519 223 fi 520 224 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 225 as_executable_p="test -f" 543 226 544 227 # Sed expression to map a string onto a valid CPP name. … … 549 232 550 233 551 552 exec 7<&0 </dev/null 6>&1 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 553 243 554 244 # Name of the host. … … 557 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 248 249 exec 6>&1 250 559 251 # 560 252 # Initializations. 561 253 # 562 254 ac_default_prefix=/usr/local 563 ac_clean_files=564 255 ac_config_libobj_dir=. 565 LIBOBJS=566 256 cross_compiling=no 567 257 subdirs= … … 569 259 MAKEFLAGS= 570 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 571 266 572 267 # Identity of this package. … … 581 276 ac_includes_default="\ 582 277 #include <stdio.h> 583 #if defHAVE_SYS_TYPES_H278 #if HAVE_SYS_TYPES_H 584 279 # include <sys/types.h> 585 280 #endif 586 #if defHAVE_SYS_STAT_H281 #if HAVE_SYS_STAT_H 587 282 # include <sys/stat.h> 588 283 #endif 589 #if defSTDC_HEADERS284 #if STDC_HEADERS 590 285 # include <stdlib.h> 591 286 # include <stddef.h> 592 287 #else 593 # if defHAVE_STDLIB_H288 # if HAVE_STDLIB_H 594 289 # include <stdlib.h> 595 290 # endif 596 291 #endif 597 #if defHAVE_STRING_H598 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H292 #if HAVE_STRING_H 293 # if !STDC_HEADERS && HAVE_MEMORY_H 599 294 # include <memory.h> 600 295 # endif 601 296 # include <string.h> 602 297 #endif 603 #if defHAVE_STRINGS_H298 #if HAVE_STRINGS_H 604 299 # include <strings.h> 605 300 #endif 606 #if defHAVE_INTTYPES_H301 #if HAVE_INTTYPES_H 607 302 # include <inttypes.h> 303 #else 304 # if HAVE_STDINT_H 305 # include <stdint.h> 306 # endif 608 307 #endif 609 #ifdef HAVE_STDINT_H 610 # include <stdint.h> 611 #endif 612 #ifdef HAVE_UNISTD_H 308 #if HAVE_UNISTD_H 613 309 # include <unistd.h> 614 310 #endif" 615 311 616 ac_subst_vars='SHELL 617 PATH_SEPARATOR 618 PACKAGE_NAME 619 PACKAGE_TARNAME 620 PACKAGE_VERSION 621 PACKAGE_STRING 622 PACKAGE_BUGREPORT 623 exec_prefix 624 prefix 625 program_transform_name 626 bindir 627 sbindir 628 libexecdir 629 datarootdir 630 datadir 631 sysconfdir 632 sharedstatedir 633 localstatedir 634 includedir 635 oldincludedir 636 docdir 637 infodir 638 htmldir 639 dvidir 640 pdfdir 641 psdir 642 libdir 643 localedir 644 mandir 645 DEFS 646 ECHO_C 647 ECHO_N 648 ECHO_T 649 LIBS 650 build_alias 651 host_alias 652 target_alias 653 build 654 build_cpu 655 build_vendor 656 build_os 657 host 658 host_cpu 659 host_vendor 660 host_os 661 target 662 target_cpu 663 target_vendor 664 target_os 665 PACKAGE 666 VERSION 667 COMPAT32BITFLAGS 668 ENABLE_ACCENTFOLD 669 CXX 670 CXXFLAGS 671 LDFLAGS 672 CPPFLAGS 673 ac_ct_CXX 674 EXEEXT 675 OBJEXT 676 AWK 677 YACC 678 YFLAGS 679 CC 680 CFLAGS 681 ac_ct_CC 682 INSTALL_PROGRAM 683 INSTALL_SCRIPT 684 INSTALL_DATA 685 LN_S 686 SET_MAKE 687 RANLIB 688 CPP 689 GREP 690 EGREP 691 U 692 ANSI2KNR 693 UNAC_DIR 694 ALLOCA 695 LIBOBJS 696 JNIINC 697 JNISUFFIX 698 JNIFLAGS 699 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 USE_JDBM USE_GDBM 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' 700 313 ac_subst_files='' 701 ac_precious_vars='build_alias702 host_alias703 target_alias704 CXX705 CXXFLAGS706 LDFLAGS707 LIBS708 CPPFLAGS709 CCC710 YACC711 YFLAGS712 CC713 CFLAGS714 CPP'715 716 314 717 315 # Initialize some variables set by options. … … 740 338 # by default will actually change. 741 339 # Use braces instead of parens because sh, perl, etc. also accept them. 742 # (The list follows the same order as the GNU Coding Standards.)743 340 bindir='${exec_prefix}/bin' 744 341 sbindir='${exec_prefix}/sbin' 745 342 libexecdir='${exec_prefix}/libexec' 746 datarootdir='${prefix}/share' 747 datadir='${datarootdir}' 343 datadir='${prefix}/share' 748 344 sysconfdir='${prefix}/etc' 749 345 sharedstatedir='${prefix}/com' 750 346 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib' 751 348 includedir='${prefix}/include' 752 349 oldincludedir='/usr/include' 753 docdir='${datarootdir}/doc/${PACKAGE}' 754 infodir='${datarootdir}/info' 755 htmldir='${docdir}' 756 dvidir='${docdir}' 757 pdfdir='${docdir}' 758 psdir='${docdir}' 759 libdir='${exec_prefix}/lib' 760 localedir='${datarootdir}/locale' 761 mandir='${datarootdir}/man' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 762 352 763 353 ac_prev= 764 ac_dashdash=765 354 for ac_option 766 355 do 767 356 # If the previous option needs an argument, assign it. 768 357 if test -n "$ac_prev"; then 769 eval $ac_prev=\$ac_option358 eval "$ac_prev=\$ac_option" 770 359 ac_prev= 771 360 continue 772 361 fi 773 362 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366 774 367 case $ac_option in 775 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;776 *) ac_optarg=yes ;;777 esac778 779 # Accept the important Cygnus configure options, so we can diagnose typos.780 781 case $ac_dashdash$ac_option in782 --)783 ac_dashdash=yes ;;784 368 785 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 803 387 cache_file=config.cache ;; 804 388 805 -datadir | --datadir | --datadi | --datad )389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 806 390 ac_prev=datadir ;; 807 -datadir=* | --datadir=* | --datadi=* | --datad=*) 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 808 393 datadir=$ac_optarg ;; 809 810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \811 | --dataroo | --dataro | --datar)812 ac_prev=datarootdir ;;813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)815 datarootdir=$ac_optarg ;;816 394 817 395 -disable-* | --disable-*) 818 396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 819 397 # Reject names that are not valid shell variable names. 820 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 821 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 822 400 { (exit 1); exit 1; }; } 823 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 824 eval enable_$ac_feature=no ;; 825 826 -docdir | --docdir | --docdi | --doc | --do) 827 ac_prev=docdir ;; 828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 829 docdir=$ac_optarg ;; 830 831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 832 ac_prev=dvidir ;; 833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 834 dvidir=$ac_optarg ;; 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 835 403 836 404 -enable-* | --enable-*) 837 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 838 406 # Reject names that are not valid shell variable names. 839 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 840 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 841 409 { (exit 1); exit 1; }; } 842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 843 eval enable_$ac_feature=\$ac_optarg ;; 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;; 844 416 845 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 868 440 host_alias=$ac_optarg ;; 869 441 870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)871 ac_prev=htmldir ;;872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \873 | --ht=*)874 htmldir=$ac_optarg ;;875 876 442 -includedir | --includedir | --includedi | --included | --include \ 877 443 | --includ | --inclu | --incl | --inc) … … 898 464 libexecdir=$ac_optarg ;; 899 465 900 -localedir | --localedir | --localedi | --localed | --locale)901 ac_prev=localedir ;;902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)903 localedir=$ac_optarg ;;904 905 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 906 | --localstate | --localstat | --localsta | --localst | --locals) 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 907 469 ac_prev=localstatedir ;; 908 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 910 473 localstatedir=$ac_optarg ;; 911 474 … … 972 535 program_transform_name=$ac_optarg ;; 973 536 974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)975 ac_prev=pdfdir ;;976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)977 pdfdir=$ac_optarg ;;978 979 -psdir | --psdir | --psdi | --psd | --ps)980 ac_prev=psdir ;;981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)982 psdir=$ac_optarg ;;983 984 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 985 538 | -silent | --silent | --silen | --sile | --sil) … … 1034 587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1035 588 # Reject names that are not valid shell variable names. 1036 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1037 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 1038 591 { (exit 1); exit 1; }; } 1039 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1040 eval with_$ac_package=\$ac_optarg ;; 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;; 1041 598 1042 599 -without-* | --without-*) 1043 600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1044 601 # Reject names that are not valid shell variable names. 1045 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1046 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 1047 604 { (exit 1); exit 1; }; } 1048 ac_package=`echo $ac_package | sed 's/ [-.]/_/g'`1049 eval with_$ac_package=no;;605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1050 607 1051 608 --x) … … 1078 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1079 636 { (exit 1); exit 1; }; } 1080 eval $ac_envvar=\$ac_optarg 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1081 639 export $ac_envvar ;; 1082 640 … … 1098 656 fi 1099 657 1100 # Be sure to have absolute directory names. 1101 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1102 datadir sysconfdir sharedstatedir localstatedir includedir \ 1103 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1104 libdir localedir mandir 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1105 660 do 1106 eval ac_val= \$$ac_var661 eval ac_val=$`echo $ac_var` 1107 662 case $ac_val in 1108 [\\/$]* | ?:[\\/]* ) continue;; 1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 1110 666 esac 1111 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1112 { (exit 1); exit 1; }; } 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 678 esac 1113 679 done 1114 680 … … 1137 703 1138 704 1139 ac_pwd=`pwd` && test -n "$ac_pwd" &&1140 ac_ls_di=`ls -di .` &&1141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1142 { echo "$as_me: error: Working directory cannot be determined" >&21143 { (exit 1); exit 1; }; }1144 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1145 { echo "$as_me: error: pwd does not report name of working directory" >&21146 { (exit 1); exit 1; }; }1147 1148 1149 705 # Find the source files, if location was not specified. 1150 706 if test -z "$srcdir"; then 1151 707 ac_srcdir_defaulted=yes 1152 # Try the directory containing this script, then the parent directory.1153 ac_confdir=` $as_dirname -- "$0"||708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 1154 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1155 711 X"$0" : 'X\(//\)[^/]' \| \ 1156 712 X"$0" : 'X\(//\)$' \| \ 1157 X"$0" : 'X\(/\)' \| . 2>/dev/null || 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 1158 715 echo X"$0" | 1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1160 s//\1/ 1161 q 1162 } 1163 /^X\(\/\/\)[^/].*/{ 1164 s//\1/ 1165 q 1166 } 1167 /^X\(\/\/\)$/{ 1168 s//\1/ 1169 q 1170 } 1171 /^X\(\/\).*/{ 1172 s//\1/ 1173 q 1174 } 1175 s/.*/./; q'` 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1176 721 srcdir=$ac_confdir 1177 if test ! -r "$srcdir/$ac_unique_file"; then722 if test ! -r $srcdir/$ac_unique_file; then 1178 723 srcdir=.. 1179 724 fi … … 1181 726 ac_srcdir_defaulted=no 1182 727 fi 1183 if test ! -r "$srcdir/$ac_unique_file"; then1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1185 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2728 if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1186 731 { (exit 1); exit 1; }; } 1187 fi 1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1189 ac_abs_confdir=`( 1190 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1191 734 { (exit 1); exit 1; }; } 1192 pwd)` 1193 # When building in place, set srcdir=. 1194 if test "$ac_abs_confdir" = "$ac_pwd"; then 1195 srcdir=. 1196 fi 1197 # Remove unnecessary trailing slashes from srcdir. 1198 # Double slashes in file names in object file debugging info 1199 # mess up M-x gdb in Emacs. 1200 case $srcdir in 1201 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1202 esac 1203 for ac_var in $ac_precious_vars; do 1204 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1205 eval ac_env_${ac_var}_value=\$${ac_var} 1206 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1207 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1208 done 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CXX_set=${CXX+set} 754 ac_env_CXX_value=$CXX 755 ac_cv_env_CXX_set=${CXX+set} 756 ac_cv_env_CXX_value=$CXX 757 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 758 ac_env_CXXFLAGS_value=$CXXFLAGS 759 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 760 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CC_set=${CC+set} 770 ac_env_CC_value=$CC 771 ac_cv_env_CC_set=${CC+set} 772 ac_cv_env_CC_value=$CC 773 ac_env_CFLAGS_set=${CFLAGS+set} 774 ac_env_CFLAGS_value=$CFLAGS 775 ac_cv_env_CFLAGS_set=${CFLAGS+set} 776 ac_cv_env_CFLAGS_value=$CFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1209 781 1210 782 # … … 1235 807 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1236 808 809 _ACEOF 810 811 cat <<_ACEOF 1237 812 Installation directories: 1238 813 --prefix=PREFIX install architecture-independent files in PREFIX … … 1252 827 --sbindir=DIR system admin executables [EPREFIX/sbin] 1253 828 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1254 830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1255 831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1258 834 --includedir=DIR C header files [PREFIX/include] 1259 835 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1262 --infodir=DIR info documentation [DATAROOTDIR/info] 1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1264 --mandir=DIR man documentation [DATAROOTDIR/man] 1265 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1266 --htmldir=DIR html documentation [DOCDIR] 1267 --dvidir=DIR dvi documentation [DOCDIR] 1268 --pdfdir=DIR pdf documentation [DOCDIR] 1269 --psdir=DIR ps documentation [DOCDIR] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1270 838 _ACEOF 1271 839 … … 1291 859 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1292 860 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1293 --disable-accentfold Disable Accent Folding for MGPP 861 --disable-accentfold Disable Accent Folding for MGPP 862 --disable-jdbm Disable JDBM compilation 863 --disable-gdbm Disable GDBM compilation 1294 864 --enable-override-longlong 1295 865 overide use of long long with GCC … … 1309 879 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1310 880 nonstandard directory <lib dir> 1311 LIBS libraries to pass to the linker, e.g. -l<library> 1312 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1313 you have headers in a nonstandard directory <include dir> 1314 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1315 the first program found out of: `bison -y', `byacc', `yacc'. 1316 YFLAGS The list of arguments that will be passed by default to $YACC. 1317 This script will default YFLAGS to the empty string to avoid a 1318 default value of `-d' given by some make applications. 881 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 882 headers in a nonstandard directory <include dir> 1319 883 CC C compiler command 1320 884 CFLAGS C compiler flags … … 1325 889 1326 890 _ACEOF 1327 ac_status=$?1328 891 fi 1329 892 1330 893 if test "$ac_init_help" = "recursive"; then 1331 894 # If there are subdirs, report their specific --help. 895 ac_popdir=`pwd` 1332 896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1333 test -d "$ac_dir"|| continue897 test -d $ac_dir || continue 1334 898 ac_builddir=. 1335 899 1336 case "$ac_dir" in 1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 900 if test "$ac_dir" != .; then 901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 902 # A "../" for each directory in $ac_dir_suffix. 903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 904 else 905 ac_dir_suffix= ac_top_builddir= 906 fi 907 908 case $srcdir in 909 .) # No --srcdir option. We are building in place. 910 ac_srcdir=. 911 if test -z "$ac_top_builddir"; then 912 ac_top_srcdir=. 913 else 914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 915 fi ;; 916 [\\/]* | ?:[\\/]* ) # Absolute path. 917 ac_srcdir=$srcdir$ac_dir_suffix; 918 ac_top_srcdir=$srcdir ;; 919 *) # Relative path. 920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 921 ac_top_srcdir=$ac_top_builddir$srcdir ;; 922 esac 923 924 # Do not use `cd foo && pwd` to compute absolute paths, because 925 # the directories may not exist. 926 case `pwd` in 927 .) ac_abs_builddir="$ac_dir";; 1338 928 *) 1339 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1340 # A ".." for each directory in $ac_dir_suffix. 1341 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1342 case $ac_top_builddir_sub in 1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1345 esac ;; 929 case "$ac_dir" in 930 .) ac_abs_builddir=`pwd`;; 931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 932 *) ac_abs_builddir=`pwd`/"$ac_dir";; 933 esac;; 1346 934 esac 1347 ac_abs_top_builddir=$ac_pwd 1348 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1349 # for backward compatibility: 1350 ac_top_builddir=$ac_top_build_prefix 1351 1352 case $srcdir in 1353 .) # We are building in place. 1354 ac_srcdir=. 1355 ac_top_srcdir=$ac_top_builddir_sub 1356 ac_abs_top_srcdir=$ac_pwd ;; 1357 [\\/]* | ?:[\\/]* ) # Absolute name. 1358 ac_srcdir=$srcdir$ac_dir_suffix; 1359 ac_top_srcdir=$srcdir 1360 ac_abs_top_srcdir=$srcdir ;; 1361 *) # Relative name. 1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1363 ac_top_srcdir=$ac_top_build_prefix$srcdir 1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 935 case $ac_abs_builddir in 936 .) ac_abs_top_builddir=${ac_top_builddir}.;; 937 *) 938 case ${ac_top_builddir}. in 939 .) ac_abs_top_builddir=$ac_abs_builddir;; 940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 942 esac;; 1365 943 esac 1366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1367 1368 cd "$ac_dir" || { ac_status=$?; continue; } 1369 # Check for guested configure. 1370 if test -f "$ac_srcdir/configure.gnu"; then 1371 echo && 1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1373 elif test -f "$ac_srcdir/configure"; then 1374 echo && 1375 $SHELL "$ac_srcdir/configure" --help=recursive 944 case $ac_abs_builddir in 945 .) ac_abs_srcdir=$ac_srcdir;; 946 *) 947 case $ac_srcdir in 948 .) ac_abs_srcdir=$ac_abs_builddir;; 949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 951 esac;; 952 esac 953 case $ac_abs_builddir in 954 .) ac_abs_top_srcdir=$ac_top_srcdir;; 955 *) 956 case $ac_top_srcdir in 957 .) ac_abs_top_srcdir=$ac_abs_builddir;; 958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 960 esac;; 961 esac 962 963 cd $ac_dir 964 # Check for guested configure; otherwise get Cygnus style configure. 965 if test -f $ac_srcdir/configure.gnu; then 966 echo 967 $SHELL $ac_srcdir/configure.gnu --help=recursive 968 elif test -f $ac_srcdir/configure; then 969 echo 970 $SHELL $ac_srcdir/configure --help=recursive 971 elif test -f $ac_srcdir/configure.ac || 972 test -f $ac_srcdir/configure.in; then 973 echo 974 $ac_configure --help 1376 975 else 1377 976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1378 fi || ac_status=$?1379 cd "$ac_pwd" || { ac_status=$?; break; }977 fi 978 cd $ac_popdir 1380 979 done 1381 980 fi 1382 981 1383 test -n "$ac_init_help" && exit $ac_status982 test -n "$ac_init_help" && exit 0 1384 983 if $ac_init_version; then 1385 984 cat <<\_ACEOF 1386 configure 1387 generated by GNU Autoconf 2.61 1388 1389 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1390 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 985 986 Copyright (C) 2003 Free Software Foundation, Inc. 1391 987 This configure script is free software; the Free Software Foundation 1392 988 gives unlimited permission to copy, distribute and modify it. 1393 989 _ACEOF 1394 exit 1395 fi 1396 cat >config.log <<_ACEOF 990 exit 0 991 fi 992 exec 5>config.log 993 cat >&5 <<_ACEOF 1397 994 This file contains any messages produced by compilers while 1398 995 running configure, to aid debugging if configure makes a mistake. 1399 996 1400 997 It was created by $as_me, which was 1401 generated by GNU Autoconf 2. 61. Invocation command line was998 generated by GNU Autoconf 2.59. Invocation command line was 1402 999 1403 1000 $ $0 $@ 1404 1001 1405 1002 _ACEOF 1406 exec 5>>config.log1407 1003 { 1408 1004 cat <<_ASUNAME … … 1423 1019 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1424 1020 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1021 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1426 1022 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1427 1023 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1437 1033 echo "PATH: $as_dir" 1438 1034 done 1439 IFS=$as_save_IFS1440 1035 1441 1036 } >&5 … … 1459 1054 ac_configure_args0= 1460 1055 ac_configure_args1= 1056 ac_sep= 1461 1057 ac_must_keep_next=false 1462 1058 for ac_pass in 1 2 … … 1469 1065 | -silent | --silent | --silen | --sile | --sil) 1470 1066 continue ;; 1471 * \'*)1067 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1472 1068 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1473 1069 esac … … 1491 1087 esac 1492 1088 fi 1493 ac_configure_args="$ac_configure_args '$ac_arg'" 1089 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1090 # Get rid of the leading space. 1091 ac_sep=" " 1494 1092 ;; 1495 1093 esac … … 1502 1100 # config.log. We remove comments because anyway the quotes in there 1503 1101 # would cause problems or look ugly. 1504 # WARNING: Use '\'' to represent an apostrophe within the trap.1505 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1102 # WARNING: Be sure not to use single quotes in there, as some shells, 1103 # such as our DU 5.0 friend, will then `close' the trap. 1506 1104 trap 'exit_status=$? 1507 1105 # Save into config.log some information that might help in debugging. … … 1516 1114 echo 1517 1115 # The following way of writing the cache mishandles newlines in values, 1518 ( 1519 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1520 eval ac_val=\$$ac_var 1521 case $ac_val in #( 1522 *${as_nl}*) 1523 case $ac_var in #( 1524 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1525 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1526 esac 1527 case $ac_var in #( 1528 _ | IFS | as_nl) ;; #( 1529 *) $as_unset $ac_var ;; 1530 esac ;; 1531 esac 1532 done 1116 { 1533 1117 (set) 2>&1 | 1534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(1535 * ${as_nl}ac_space=\ *)1118 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1119 *ac_space=\ *) 1536 1120 sed -n \ 1537 "s/' \''/'\''\\\\'\'''\''/g;1538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"1539 ;; #(1121 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1123 ;; 1540 1124 *) 1541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1125 sed -n \ 1126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1542 1127 ;; 1543 esac | 1544 sort 1545 ) 1128 esac; 1129 } 1546 1130 echo 1547 1131 … … 1554 1138 for ac_var in $ac_subst_vars 1555 1139 do 1556 eval ac_val=\$$ac_var 1557 case $ac_val in 1558 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1559 esac 1560 echo "$ac_var='\''$ac_val'\''" 1140 eval ac_val=$`echo $ac_var` 1141 echo "$ac_var='"'"'$ac_val'"'"'" 1561 1142 done | sort 1562 1143 echo … … 1564 1145 if test -n "$ac_subst_files"; then 1565 1146 cat <<\_ASBOX 1566 ## ------------- ------##1567 ## File substitutions. ##1568 ## ------------- ------##1147 ## ------------- ## 1148 ## Output files. ## 1149 ## ------------- ## 1569 1150 _ASBOX 1570 1151 echo 1571 1152 for ac_var in $ac_subst_files 1572 1153 do 1573 eval ac_val=\$$ac_var 1574 case $ac_val in 1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1576 esac 1577 echo "$ac_var='\''$ac_val'\''" 1154 eval ac_val=$`echo $ac_var` 1155 echo "$ac_var='"'"'$ac_val'"'"'" 1578 1156 done | sort 1579 1157 echo … … 1587 1165 _ASBOX 1588 1166 echo 1589 cat confdefs.h1167 sed "/^$/d" confdefs.h | sort 1590 1168 echo 1591 1169 fi … … 1594 1172 echo "$as_me: exit $exit_status" 1595 1173 } >&5 1596 rm -f core *.core core.conftest.*&&1597 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1174 rm -f core *.core && 1175 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1598 1176 exit $exit_status 1599 ' 01177 ' 0 1600 1178 for ac_signal in 1 2 13 15; do 1601 1179 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1604 1182 1605 1183 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1606 rm -f -r conftest* confdefs.h 1184 rm -rf conftest* confdefs.h 1185 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1186 echo >confdefs.h 1607 1187 1608 1188 # Predefined preprocessor variables. … … 1635 1215 # Let the site file select an alternate cache file if it wants to. 1636 1216 # Prefer explicitly selected file to automatically selected ones. 1637 if test -n "$CONFIG_SITE"; then 1638 set x "$CONFIG_SITE" 1639 elif test "x$prefix" != xNONE; then 1640 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1641 else 1642 set x "$ac_default_prefix/share/config.site" \ 1643 "$ac_default_prefix/etc/config.site" 1644 fi 1645 shift 1646 for ac_site_file 1647 do 1217 if test -z "$CONFIG_SITE"; then 1218 if test "x$prefix" != xNONE; then 1219 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1220 else 1221 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1222 fi 1223 fi 1224 for ac_site_file in $CONFIG_SITE; do 1648 1225 if test -r "$ac_site_file"; then 1649 1226 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1661 1238 echo "$as_me: loading cache $cache_file" >&6;} 1662 1239 case $cache_file in 1663 [\\/]* | ?:[\\/]* ) . "$cache_file";;1664 *) . "./$cache_file";;1240 [\\/]* | ?:[\\/]* ) . $cache_file;; 1241 *) . ./$cache_file;; 1665 1242 esac 1666 1243 fi … … 1674 1251 # value. 1675 1252 ac_cache_corrupted=false 1676 for ac_var in $ac_precious_vars; do 1253 for ac_var in `(set) 2>&1 | 1254 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1677 1255 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1678 1256 eval ac_new_set=\$ac_env_${ac_var}_set 1679 eval ac_old_val= \$ac_cv_env_${ac_var}_value1680 eval ac_new_val= \$ac_env_${ac_var}_value1257 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1258 eval ac_new_val="\$ac_env_${ac_var}_value" 1681 1259 case $ac_old_set,$ac_new_set in 1682 1260 set,) … … 1703 1281 if test "$ac_new_set" = set; then 1704 1282 case $ac_new_val in 1705 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1284 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1706 1285 *) ac_arg=$ac_var=$ac_new_val ;; 1707 1286 esac … … 1720 1299 fi 1721 1300 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1301 ac_ext=c 1739 1302 ac_cpp='$CPP $CPPFLAGS' … … 1743 1306 1744 1307 1745 ac_config_headers="$ac_config_headers config.h" 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 ac_config_headers="$ac_config_headers config.h" 1746 1326 1747 1327 1748 1328 ac_aux_dir= 1749 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do1750 if test -f "$ac_dir/install-sh"; then1329 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1330 if test -f $ac_dir/install-sh; then 1751 1331 ac_aux_dir=$ac_dir 1752 1332 ac_install_sh="$ac_aux_dir/install-sh -c" 1753 1333 break 1754 elif test -f "$ac_dir/install.sh"; then1334 elif test -f $ac_dir/install.sh; then 1755 1335 ac_aux_dir=$ac_dir 1756 1336 ac_install_sh="$ac_aux_dir/install.sh -c" 1757 1337 break 1758 elif test -f "$ac_dir/shtool"; then1338 elif test -f $ac_dir/shtool; then 1759 1339 ac_aux_dir=$ac_dir 1760 1340 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1763 1343 done 1764 1344 if test -z "$ac_aux_dir"; then 1765 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&51766 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1346 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1767 1347 { (exit 1); exit 1; }; } 1768 1348 fi 1769 1770 # These three variables are undocumented and unsupported, 1771 # and are intended to be withdrawn in a future Autoconf release. 1772 # They can cause serious problems if a builder's source tree is in a directory 1773 # whose full name contains unusual characters. 1774 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1775 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1776 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1777 1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1778 1352 1779 1353 # Make sure we can run config.sub. 1780 $ SHELL "$ac_aux_dir/config.sub"sun4 >/dev/null 2>&1 ||1781 { { echo "$as_me:$LINENO: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&51782 echo "$as_me: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&2;}1354 $ac_config_sub sun4 >/dev/null 2>&1 || 1355 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1356 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1783 1357 { (exit 1); exit 1; }; } 1784 1358 1785 {echo "$as_me:$LINENO: checking build system type" >&51786 echo $ECHO_N "checking build system type... $ECHO_C" >&6 ; }1359 echo "$as_me:$LINENO: checking build system type" >&5 1360 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1787 1361 if test "${ac_cv_build+set}" = set; then 1788 1362 echo $ECHO_N "(cached) $ECHO_C" >&6 1789 1363 else 1790 ac_ build_alias=$build_alias1791 test "x$ac_build_alias" = x&&1792 ac_ build_alias=`$SHELL "$ac_aux_dir/config.guess"`1793 test "x$ac_build_alias" = x&&1364 ac_cv_build_alias=$build_alias 1365 test -z "$ac_cv_build_alias" && 1366 ac_cv_build_alias=`$ac_config_guess` 1367 test -z "$ac_cv_build_alias" && 1794 1368 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1795 1369 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1796 1370 { (exit 1); exit 1; }; } 1797 ac_cv_build=`$ SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||1798 { { echo "$as_me:$LINENO: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&51799 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}1371 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1372 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1373 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1800 1374 { (exit 1); exit 1; }; } 1801 1375 1802 1376 fi 1803 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1804 echo "${ECHO_T}$ac_cv_build" >&6; } 1805 case $ac_cv_build in 1806 *-*-*) ;; 1807 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1808 echo "$as_me: error: invalid value of canonical build" >&2;} 1809 { (exit 1); exit 1; }; };; 1810 esac 1377 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1378 echo "${ECHO_T}$ac_cv_build" >&6 1811 1379 build=$ac_cv_build 1812 ac_save_IFS=$IFS; IFS='-' 1813 set x $ac_cv_build 1814 shift 1815 build_cpu=$1 1816 build_vendor=$2 1817 shift; shift 1818 # Remember, the first character of IFS is used to create $*, 1819 # except with old shells: 1820 build_os=$* 1821 IFS=$ac_save_IFS 1822 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1823 1824 1825 { echo "$as_me:$LINENO: checking host system type" >&5 1826 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1380 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1381 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1382 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1383 1384 1385 echo "$as_me:$LINENO: checking host system type" >&5 1386 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1827 1387 if test "${ac_cv_host+set}" = set; then 1828 1388 echo $ECHO_N "(cached) $ECHO_C" >&6 1829 1389 else 1830 if test "x$host_alias" = x; then1831 ac_cv_host=$ac_cv_build 1832 else 1833 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||1834 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&51835 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}1390 ac_cv_host_alias=$host_alias 1391 test -z "$ac_cv_host_alias" && 1392 ac_cv_host_alias=$ac_cv_build_alias 1393 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1394 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1395 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1836 1396 { (exit 1); exit 1; }; } 1837 fi 1838 1839 fi 1840 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1841 echo "${ECHO_T}$ac_cv_host" >&6; } 1842 case $ac_cv_host in 1843 *-*-*) ;; 1844 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1845 echo "$as_me: error: invalid value of canonical host" >&2;} 1846 { (exit 1); exit 1; }; };; 1847 esac 1397 1398 fi 1399 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1400 echo "${ECHO_T}$ac_cv_host" >&6 1848 1401 host=$ac_cv_host 1849 ac_save_IFS=$IFS; IFS='-' 1850 set x $ac_cv_host 1851 shift 1852 host_cpu=$1 1853 host_vendor=$2 1854 shift; shift 1855 # Remember, the first character of IFS is used to create $*, 1856 # except with old shells: 1857 host_os=$* 1858 IFS=$ac_save_IFS 1859 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1860 1861 1862 { echo "$as_me:$LINENO: checking target system type" >&5 1863 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1402 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1403 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1404 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1405 1406 1407 echo "$as_me:$LINENO: checking target system type" >&5 1408 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1864 1409 if test "${ac_cv_target+set}" = set; then 1865 1410 echo $ECHO_N "(cached) $ECHO_C" >&6 1866 1411 else 1867 if test "x$target_alias" = x; then1868 ac_cv_target=$ac_cv_host 1869 else 1870 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||1871 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&51872 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}1412 ac_cv_target_alias=$target_alias 1413 test "x$ac_cv_target_alias" = "x" && 1414 ac_cv_target_alias=$ac_cv_host_alias 1415 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1416 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1417 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1873 1418 { (exit 1); exit 1; }; } 1874 fi 1875 1876 fi 1877 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1878 echo "${ECHO_T}$ac_cv_target" >&6; } 1879 case $ac_cv_target in 1880 *-*-*) ;; 1881 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1882 echo "$as_me: error: invalid value of canonical target" >&2;} 1883 { (exit 1); exit 1; }; };; 1884 esac 1419 1420 fi 1421 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1422 echo "${ECHO_T}$ac_cv_target" >&6 1885 1423 target=$ac_cv_target 1886 ac_save_IFS=$IFS; IFS='-' 1887 set x $ac_cv_target 1888 shift 1889 target_cpu=$1 1890 target_vendor=$2 1891 shift; shift 1892 # Remember, the first character of IFS is used to create $*, 1893 # except with old shells: 1894 target_os=$* 1895 IFS=$ac_save_IFS 1896 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1424 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1425 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1426 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1897 1427 1898 1428 … … 1904 1434 program_prefix=${target_alias}- 1905 1435 test "$program_prefix" != NONE && 1906 program_transform_name="s &^&$program_prefix&;$program_transform_name"1436 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1907 1437 # Use a double $ so make ignores it. 1908 1438 test "$program_suffix" != NONE && 1909 program_transform_name="s &\$&$program_suffix&;$program_transform_name"1439 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1910 1440 # Double any \ or $. echo might interpret backslashes. 1911 1441 # By default was `s,x,x', remove it if useless. … … 1914 1444 _ACEOF 1915 1445 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1916 rm -fconftest.sed1446 rm conftest.sed 1917 1447 1918 1448 … … 1932 1462 1933 1463 1934 {echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&51935 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 ; }1464 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 1465 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 1936 1466 arch_64bit=no 1937 1467 case "$host_cpu" in … … 1940 1470 1941 1471 if test "$arch_64bit" = yes; then 1942 {echo "$as_me:$LINENO: result: yes" >&51943 echo "${ECHO_T}yes" >&6 ; }1472 echo "$as_me:$LINENO: result: yes" >&5 1473 echo "${ECHO_T}yes" >&6 1944 1474 if test -z "$COMPAT32BITFLAGS" ; then 1945 1475 COMPAT32BITFLAGS="-m32" 1946 1476 fi 1947 1477 else 1948 {echo "$as_me:$LINENO: result: no" >&51949 echo "${ECHO_T}no" >&6 ; }1478 echo "$as_me:$LINENO: result: no" >&5 1479 echo "${ECHO_T}no" >&6 1950 1480 if test -z "$COMPAT32BITFLAGS" ; then 1951 1481 COMPAT32BITFLAGS= … … 1954 1484 1955 1485 1956 # Check whether --enable-accentfold was given.1486 # Check whether --enable-accentfold or --disable-accentfold was given. 1957 1487 if test "${enable_accentfold+set}" = set; then 1958 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1959 else 1488 enableval="$enable_accentfold" 1489 ENABLE_ACCENTFOLD=$enableval 1490 else 1491 ENABLE_ACCENTFOLD=yes 1492 fi; 1493 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1960 1494 ENABLE_ACCENTFOLD=1 1961 fi 1962 1963 cat >>confdefs.h <<\_ACEOF 1964 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1965 _ACEOF 1966 1967 1968 1969 ac_ext=cpp 1495 cat >>confdefs.h <<\_ACEOF 1496 #define ENABLE_ACCENTFOLD 1497 _ACEOF 1498 1499 else 1500 ENABLE_ACCENTFOLD=0 1501 fi 1502 1503 1504 # Check whether --enable-jdbm or --disable-jdbm was given. 1505 if test "${enable_jdbm+set}" = set; then 1506 enableval="$enable_jdbm" 1507 USE_JDBM=$enableval 1508 else 1509 USE_JDBM=yes 1510 fi; 1511 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1512 USE_JDBM=1 1513 cat >>confdefs.h <<\_ACEOF 1514 #define USE_JDBM 1515 _ACEOF 1516 1517 else 1518 USE_JDBM=0 1519 fi 1520 1521 1522 # Check whether --enable-gdbm or --disable-gdbm was given. 1523 if test "${enable_gdbm+set}" = set; then 1524 enableval="$enable_gdbm" 1525 USE_GDBM=$enableval 1526 else 1527 USE_GDBM=yes 1528 fi; 1529 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1530 USE_GDBM=1 1531 cat >>confdefs.h <<\_ACEOF 1532 #define USE_GDBM 1533 _ACEOF 1534 1535 else 1536 USE_GDBM=0 1537 fi 1538 1539 1540 ac_ext=cc 1970 1541 ac_cpp='$CXXCPP $CPPFLAGS' 1971 1542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1972 1543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1973 1544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1974 if test -z "$CXX"; then 1975 if test -n "$CCC"; then 1976 CXX=$CCC 1977 else 1978 if test -n "$ac_tool_prefix"; then 1979 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1545 if test -n "$ac_tool_prefix"; then 1546 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1980 1547 do 1981 1548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1982 1549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1983 {echo "$as_me:$LINENO: checking for $ac_word" >&51984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1550 echo "$as_me:$LINENO: checking for $ac_word" >&5 1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1985 1552 if test "${ac_cv_prog_CXX+set}" = set; then 1986 1553 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1995 1562 test -z "$as_dir" && as_dir=. 1996 1563 for ac_exec_ext in '' $ac_executable_extensions; do 1997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1998 1565 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1999 1566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2002 1569 done 2003 1570 done 2004 IFS=$as_save_IFS2005 1571 2006 1572 fi … … 2008 1574 CXX=$ac_cv_prog_CXX 2009 1575 if test -n "$CXX"; then 2010 { echo "$as_me:$LINENO: result: $CXX" >&5 2011 echo "${ECHO_T}$CXX" >&6; } 2012 else 2013 { echo "$as_me:$LINENO: result: no" >&5 2014 echo "${ECHO_T}no" >&6; } 2015 fi 2016 1576 echo "$as_me:$LINENO: result: $CXX" >&5 1577 echo "${ECHO_T}$CXX" >&6 1578 else 1579 echo "$as_me:$LINENO: result: no" >&5 1580 echo "${ECHO_T}no" >&6 1581 fi 2017 1582 2018 1583 test -n "$CXX" && break … … 2021 1586 if test -z "$CXX"; then 2022 1587 ac_ct_CXX=$CXX 2023 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC1588 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2024 1589 do 2025 1590 # Extract the first word of "$ac_prog", so it can be a program name with args. 2026 1591 set dummy $ac_prog; ac_word=$2 2027 {echo "$as_me:$LINENO: checking for $ac_word" >&52028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1592 echo "$as_me:$LINENO: checking for $ac_word" >&5 1593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2029 1594 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2030 1595 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2039 1604 test -z "$as_dir" && as_dir=. 2040 1605 for ac_exec_ext in '' $ac_executable_extensions; do 2041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2042 1607 ac_cv_prog_ac_ct_CXX="$ac_prog" 2043 1608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2046 1611 done 2047 1612 done 2048 IFS=$as_save_IFS2049 1613 2050 1614 fi … … 2052 1616 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2053 1617 if test -n "$ac_ct_CXX"; then 2054 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2055 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2056 else 2057 { echo "$as_me:$LINENO: result: no" >&5 2058 echo "${ECHO_T}no" >&6; } 2059 fi 2060 1618 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1619 echo "${ECHO_T}$ac_ct_CXX" >&6 1620 else 1621 echo "$as_me:$LINENO: result: no" >&5 1622 echo "${ECHO_T}no" >&6 1623 fi 2061 1624 2062 1625 test -n "$ac_ct_CXX" && break 2063 1626 done 2064 2065 if test "x$ac_ct_CXX" = x; then 2066 CXX="g++" 2067 else 2068 case $cross_compiling:$ac_tool_warned in 2069 yes:) 2070 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2071 whose name does not start with the host triplet. If you think this 2072 configuration is useful to you, please write to [email protected]." >&5 2073 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2074 whose name does not start with the host triplet. If you think this 2075 configuration is useful to you, please write to [email protected]." >&2;} 2076 ac_tool_warned=yes ;; 2077 esac 2078 CXX=$ac_ct_CXX 2079 fi 2080 fi 2081 2082 fi 2083 fi 1627 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1628 1629 CXX=$ac_ct_CXX 1630 fi 1631 1632 2084 1633 # Provide some information about the compiler. 2085 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 1634 echo "$as_me:$LINENO:" \ 1635 "checking for C++ compiler version" >&5 2086 1636 ac_compiler=`set X $ac_compile; echo $2` 2087 { (ac_try="$ac_compiler --version >&5" 2088 case "(($ac_try" in 2089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2090 *) ac_try_echo=$ac_try;; 2091 esac 2092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2093 (eval "$ac_compiler --version >&5") 2>&5 1637 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1638 (eval $ac_compiler --version </dev/null >&5) 2>&5 2094 1639 ac_status=$? 2095 1640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2096 1641 (exit $ac_status); } 2097 { (ac_try="$ac_compiler -v >&5" 2098 case "(($ac_try" in 2099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2100 *) ac_try_echo=$ac_try;; 2101 esac 2102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2103 (eval "$ac_compiler -v >&5") 2>&5 1642 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1643 (eval $ac_compiler -v </dev/null >&5) 2>&5 2104 1644 ac_status=$? 2105 1645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2106 1646 (exit $ac_status); } 2107 { (ac_try="$ac_compiler -V >&5" 2108 case "(($ac_try" in 2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2110 *) ac_try_echo=$ac_try;; 2111 esac 2112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2113 (eval "$ac_compiler -V >&5") 2>&5 1647 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1648 (eval $ac_compiler -V </dev/null >&5) 2>&5 2114 1649 ac_status=$? 2115 1650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2136 1671 # It will help us diagnose broken compilers, and finding out an intuition 2137 1672 # of exeext. 2138 {echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&52139 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 ; }1673 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1674 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 2140 1675 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2141 # 2142 # List of possible output files, starting from the most likely. 2143 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2144 # only as a last resort. b.out is created by i960 compilers. 2145 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2146 # 2147 # The IRIX 6 linker writes into existing files which may not be 2148 # executable, retaining their permissions. Remove them first so a 2149 # subsequent execution test works. 2150 ac_rmfiles= 2151 for ac_file in $ac_files 2152 do 2153 case $ac_file in 2154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2155 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2156 esac 2157 done 2158 rm -f $ac_rmfiles 2159 2160 if { (ac_try="$ac_link_default" 2161 case "(($ac_try" in 2162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2163 *) ac_try_echo=$ac_try;; 2164 esac 2165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2166 (eval "$ac_link_default") 2>&5 1676 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1677 (eval $ac_link_default) 2>&5 2167 1678 ac_status=$? 2168 1679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 1680 (exit $ac_status); }; then 2170 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2171 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2172 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2173 # so that the user can short-circuit this test for compilers unknown to 2174 # Autoconf. 2175 for ac_file in $ac_files '' 1681 # Find the output, starting from the most likely. This scheme is 1682 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1683 # resort. 1684 1685 # Be careful to initialize this variable, since it used to be cached. 1686 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1687 ac_cv_exeext= 1688 # b.out is created by i960 compilers. 1689 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2176 1690 do 2177 1691 test -f "$ac_file" || continue 2178 1692 case $ac_file in 2179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1694 ;; 1695 conftest.$ac_ext ) 1696 # This is the source file. 2180 1697 ;; 2181 1698 [ab].out ) … … 2184 1701 break;; 2185 1702 *.* ) 2186 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2187 then :; else 2188 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2189 fi 2190 # We set ac_cv_exeext here because the later test for it is not 2191 # safe: cross compilers may not add the suffix if given an `-o' 2192 # argument, so we may need to know it at that point already. 2193 # Even if this section looks crufty: it has the advantage of 2194 # actually working. 1703 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1704 # FIXME: I believe we export ac_cv_exeext for Libtool, 1705 # but it would be cool to find out if it's true. Does anybody 1706 # maintain Libtool? --akim. 1707 export ac_cv_exeext 2195 1708 break;; 2196 1709 * ) … … 2198 1711 esac 2199 1712 done 2200 test "$ac_cv_exeext" = no && ac_cv_exeext= 2201 2202 else 2203 ac_file='' 2204 fi 2205 2206 { echo "$as_me:$LINENO: result: $ac_file" >&5 2207 echo "${ECHO_T}$ac_file" >&6; } 2208 if test -z "$ac_file"; then 1713 else 2209 1714 echo "$as_me: failed program was:" >&5 2210 1715 sed 's/^/| /' conftest.$ac_ext >&5 … … 2218 1723 2219 1724 ac_exeext=$ac_cv_exeext 2220 2221 # Check that the compiler produces executables we can run. If not, either 1725 echo "$as_me:$LINENO: result: $ac_file" >&5 1726 echo "${ECHO_T}$ac_file" >&6 1727 1728 # Check the compiler produces executables we can run. If not, either 2222 1729 # the compiler is broken, or we cross compile. 2223 {echo "$as_me:$LINENO: checking whether the C++ compiler works" >&52224 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 ; }1730 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 1731 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 2225 1732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2226 1733 # If not cross compiling, check that we can run a simple program. 2227 1734 if test "$cross_compiling" != yes; then 2228 1735 if { ac_try='./$ac_file' 2229 { (case "(($ac_try" in 2230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2231 *) ac_try_echo=$ac_try;; 2232 esac 2233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2234 (eval "$ac_try") 2>&5 1736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1737 (eval $ac_try) 2>&5 2235 1738 ac_status=$? 2236 1739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2251 1754 fi 2252 1755 fi 2253 {echo "$as_me:$LINENO: result: yes" >&52254 echo "${ECHO_T}yes" >&6 ; }1756 echo "$as_me:$LINENO: result: yes" >&5 1757 echo "${ECHO_T}yes" >&6 2255 1758 2256 1759 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2257 1760 ac_clean_files=$ac_clean_files_save 2258 # Check th at the compiler produces executables we can run. If not, either1761 # Check the compiler produces executables we can run. If not, either 2259 1762 # the compiler is broken, or we cross compile. 2260 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2261 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2262 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2263 echo "${ECHO_T}$cross_compiling" >&6; } 2264 2265 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2266 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2267 if { (ac_try="$ac_link" 2268 case "(($ac_try" in 2269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2270 *) ac_try_echo=$ac_try;; 2271 esac 2272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2273 (eval "$ac_link") 2>&5 1763 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1764 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1765 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1766 echo "${ECHO_T}$cross_compiling" >&6 1767 1768 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1769 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1771 (eval $ac_link) 2>&5 2274 1772 ac_status=$? 2275 1773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2282 1780 test -f "$ac_file" || continue 2283 1781 case $ac_file in 2284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.o | *.obj ) ;;1782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2285 1783 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1784 export ac_cv_exeext 2286 1785 break;; 2287 1786 * ) break;; … … 2297 1796 2298 1797 rm -f conftest$ac_cv_exeext 2299 {echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52300 echo "${ECHO_T}$ac_cv_exeext" >&6 ; }1798 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1799 echo "${ECHO_T}$ac_cv_exeext" >&6 2301 1800 2302 1801 rm -f conftest.$ac_ext 2303 1802 EXEEXT=$ac_cv_exeext 2304 1803 ac_exeext=$EXEEXT 2305 {echo "$as_me:$LINENO: checking for suffix of object files" >&52306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 ; }1804 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1805 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2307 1806 if test "${ac_cv_objext+set}" = set; then 2308 1807 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2324 1823 _ACEOF 2325 1824 rm -f conftest.o conftest.obj 2326 if { (ac_try="$ac_compile" 2327 case "(($ac_try" in 2328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2329 *) ac_try_echo=$ac_try;; 2330 esac 2331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2332 (eval "$ac_compile") 2>&5 1825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1826 (eval $ac_compile) 2>&5 2333 1827 ac_status=$? 2334 1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 1829 (exit $ac_status); }; then 2336 for ac_file in conftest.o conftest.obj conftest.*; do 2337 test -f "$ac_file" || continue; 1830 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2338 1831 case $ac_file in 2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf) ;;1832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2340 1833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2341 1834 break;; … … 2355 1848 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2356 1849 fi 2357 {echo "$as_me:$LINENO: result: $ac_cv_objext" >&52358 echo "${ECHO_T}$ac_cv_objext" >&6 ; }1850 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1851 echo "${ECHO_T}$ac_cv_objext" >&6 2359 1852 OBJEXT=$ac_cv_objext 2360 1853 ac_objext=$OBJEXT 2361 {echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52362 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 ; }1854 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 1855 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2363 1856 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2364 1857 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2383 1876 _ACEOF 2384 1877 rm -f conftest.$ac_objext 2385 if { (ac_try="$ac_compile" 2386 case "(($ac_try" in 2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2388 *) ac_try_echo=$ac_try;; 2389 esac 2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2391 (eval "$ac_compile") 2>conftest.er1 1878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1879 (eval $ac_compile) 2>conftest.er1 2392 1880 ac_status=$? 2393 1881 grep -v '^ *+' conftest.er1 >conftest.err … … 2395 1883 cat conftest.err >&5 2396 1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2397 (exit $ac_status); } && { 2398 test -z "$ac_cxx_werror_flag" || 2399 test ! -s conftest.err 2400 } && test -s conftest.$ac_objext; then 1885 (exit $ac_status); } && 1886 { ac_try='test -z "$ac_cxx_werror_flag" 1887 || test ! -s conftest.err' 1888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1889 (eval $ac_try) 2>&5 1890 ac_status=$? 1891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1892 (exit $ac_status); }; } && 1893 { ac_try='test -s conftest.$ac_objext' 1894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1895 (eval $ac_try) 2>&5 1896 ac_status=$? 1897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1898 (exit $ac_status); }; }; then 2401 1899 ac_compiler_gnu=yes 2402 1900 else … … 2404 1902 sed 's/^/| /' conftest.$ac_ext >&5 2405 1903 2406 ac_compiler_gnu=no 2407 fi 2408 2409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1904 ac_compiler_gnu=no 1905 fi 1906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2410 1907 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2411 1908 2412 1909 fi 2413 {echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52414 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 ; }1910 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 1911 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2415 1912 GXX=`test $ac_compiler_gnu = yes && echo yes` 2416 1913 ac_test_CXXFLAGS=${CXXFLAGS+set} 2417 1914 ac_save_CXXFLAGS=$CXXFLAGS 2418 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2419 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 1915 CXXFLAGS="-g" 1916 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1917 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2420 1918 if test "${ac_cv_prog_cxx_g+set}" = set; then 2421 1919 echo $ECHO_N "(cached) $ECHO_C" >&6 2422 1920 else 2423 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2424 ac_cxx_werror_flag=yes 2425 ac_cv_prog_cxx_g=no 2426 CXXFLAGS="-g" 2427 cat >conftest.$ac_ext <<_ACEOF 1921 cat >conftest.$ac_ext <<_ACEOF 2428 1922 /* confdefs.h. */ 2429 1923 _ACEOF … … 2441 1935 _ACEOF 2442 1936 rm -f conftest.$ac_objext 2443 if { (ac_try="$ac_compile" 2444 case "(($ac_try" in 2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2446 *) ac_try_echo=$ac_try;; 2447 esac 2448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2449 (eval "$ac_compile") 2>conftest.er1 1937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1938 (eval $ac_compile) 2>conftest.er1 2450 1939 ac_status=$? 2451 1940 grep -v '^ *+' conftest.er1 >conftest.err … … 2453 1942 cat conftest.err >&5 2454 1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2455 (exit $ac_status); } && { 2456 test -z "$ac_cxx_werror_flag" || 2457 test ! -s conftest.err 2458 } && test -s conftest.$ac_objext; then 1944 (exit $ac_status); } && 1945 { ac_try='test -z "$ac_cxx_werror_flag" 1946 || test ! -s conftest.err' 1947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1948 (eval $ac_try) 2>&5 1949 ac_status=$? 1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1951 (exit $ac_status); }; } && 1952 { ac_try='test -s conftest.$ac_objext' 1953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1954 (eval $ac_try) 2>&5 1955 ac_status=$? 1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1957 (exit $ac_status); }; }; then 2459 1958 ac_cv_prog_cxx_g=yes 2460 1959 else … … 2462 1961 sed 's/^/| /' conftest.$ac_ext >&5 2463 1962 2464 CXXFLAGS="" 2465 cat >conftest.$ac_ext <<_ACEOF 2466 /* confdefs.h. */ 2467 _ACEOF 2468 cat confdefs.h >>conftest.$ac_ext 2469 cat >>conftest.$ac_ext <<_ACEOF 2470 /* end confdefs.h. */ 2471 2472 int 2473 main () 2474 { 2475 2476 ; 2477 return 0; 2478 } 2479 _ACEOF 2480 rm -f conftest.$ac_objext 2481 if { (ac_try="$ac_compile" 2482 case "(($ac_try" in 2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2484 *) ac_try_echo=$ac_try;; 2485 esac 2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2487 (eval "$ac_compile") 2>conftest.er1 2488 ac_status=$? 2489 grep -v '^ *+' conftest.er1 >conftest.err 2490 rm -f conftest.er1 2491 cat conftest.err >&5 2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2493 (exit $ac_status); } && { 2494 test -z "$ac_cxx_werror_flag" || 2495 test ! -s conftest.err 2496 } && test -s conftest.$ac_objext; then 2497 : 2498 else 2499 echo "$as_me: failed program was:" >&5 2500 sed 's/^/| /' conftest.$ac_ext >&5 2501 2502 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2503 CXXFLAGS="-g" 2504 cat >conftest.$ac_ext <<_ACEOF 2505 /* confdefs.h. */ 2506 _ACEOF 2507 cat confdefs.h >>conftest.$ac_ext 2508 cat >>conftest.$ac_ext <<_ACEOF 2509 /* end confdefs.h. */ 2510 2511 int 2512 main () 2513 { 2514 2515 ; 2516 return 0; 2517 } 2518 _ACEOF 2519 rm -f conftest.$ac_objext 2520 if { (ac_try="$ac_compile" 2521 case "(($ac_try" in 2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2523 *) ac_try_echo=$ac_try;; 2524 esac 2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2526 (eval "$ac_compile") 2>conftest.er1 2527 ac_status=$? 2528 grep -v '^ *+' conftest.er1 >conftest.err 2529 rm -f conftest.er1 2530 cat conftest.err >&5 2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2532 (exit $ac_status); } && { 2533 test -z "$ac_cxx_werror_flag" || 2534 test ! -s conftest.err 2535 } && test -s conftest.$ac_objext; then 2536 ac_cv_prog_cxx_g=yes 2537 else 2538 echo "$as_me: failed program was:" >&5 2539 sed 's/^/| /' conftest.$ac_ext >&5 2540 2541 2542 fi 2543 2544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2545 fi 2546 2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2548 fi 2549 2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2551 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2552 fi 2553 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2554 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 1963 ac_cv_prog_cxx_g=no 1964 fi 1965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1966 fi 1967 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1968 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 2555 1969 if test "$ac_test_CXXFLAGS" = set; then 2556 1970 CXXFLAGS=$ac_save_CXXFLAGS … … 2568 1982 fi 2569 1983 fi 1984 for ac_declaration in \ 1985 '' \ 1986 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1987 'extern "C" void std::exit (int); using std::exit;' \ 1988 'extern "C" void exit (int) throw ();' \ 1989 'extern "C" void exit (int);' \ 1990 'void exit (int);' 1991 do 1992 cat >conftest.$ac_ext <<_ACEOF 1993 /* confdefs.h. */ 1994 _ACEOF 1995 cat confdefs.h >>conftest.$ac_ext 1996 cat >>conftest.$ac_ext <<_ACEOF 1997 /* end confdefs.h. */ 1998 $ac_declaration 1999 #include <stdlib.h> 2000 int 2001 main () 2002 { 2003 exit (42); 2004 ; 2005 return 0; 2006 } 2007 _ACEOF 2008 rm -f conftest.$ac_objext 2009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2010 (eval $ac_compile) 2>conftest.er1 2011 ac_status=$? 2012 grep -v '^ *+' conftest.er1 >conftest.err 2013 rm -f conftest.er1 2014 cat conftest.err >&5 2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2016 (exit $ac_status); } && 2017 { ac_try='test -z "$ac_cxx_werror_flag" 2018 || test ! -s conftest.err' 2019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2020 (eval $ac_try) 2>&5 2021 ac_status=$? 2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2023 (exit $ac_status); }; } && 2024 { ac_try='test -s conftest.$ac_objext' 2025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2026 (eval $ac_try) 2>&5 2027 ac_status=$? 2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2029 (exit $ac_status); }; }; then 2030 : 2031 else 2032 echo "$as_me: failed program was:" >&5 2033 sed 's/^/| /' conftest.$ac_ext >&5 2034 2035 continue 2036 fi 2037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2038 cat >conftest.$ac_ext <<_ACEOF 2039 /* confdefs.h. */ 2040 _ACEOF 2041 cat confdefs.h >>conftest.$ac_ext 2042 cat >>conftest.$ac_ext <<_ACEOF 2043 /* end confdefs.h. */ 2044 $ac_declaration 2045 int 2046 main () 2047 { 2048 exit (42); 2049 ; 2050 return 0; 2051 } 2052 _ACEOF 2053 rm -f conftest.$ac_objext 2054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2055 (eval $ac_compile) 2>conftest.er1 2056 ac_status=$? 2057 grep -v '^ *+' conftest.er1 >conftest.err 2058 rm -f conftest.er1 2059 cat conftest.err >&5 2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2061 (exit $ac_status); } && 2062 { ac_try='test -z "$ac_cxx_werror_flag" 2063 || test ! -s conftest.err' 2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2065 (eval $ac_try) 2>&5 2066 ac_status=$? 2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2068 (exit $ac_status); }; } && 2069 { ac_try='test -s conftest.$ac_objext' 2070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2071 (eval $ac_try) 2>&5 2072 ac_status=$? 2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2074 (exit $ac_status); }; }; then 2075 break 2076 else 2077 echo "$as_me: failed program was:" >&5 2078 sed 's/^/| /' conftest.$ac_ext >&5 2079 2080 fi 2081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2082 done 2083 rm -f conftest* 2084 if test -n "$ac_declaration"; then 2085 echo '#ifdef __cplusplus' >>confdefs.h 2086 echo $ac_declaration >>confdefs.h 2087 echo '#endif' >>confdefs.h 2088 fi 2089 2570 2090 ac_ext=c 2571 2091 ac_cpp='$CPP $CPPFLAGS' … … 2578 2098 # Extract the first word of "$ac_prog", so it can be a program name with args. 2579 2099 set dummy $ac_prog; ac_word=$2 2580 {echo "$as_me:$LINENO: checking for $ac_word" >&52581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2100 echo "$as_me:$LINENO: checking for $ac_word" >&5 2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2582 2102 if test "${ac_cv_prog_AWK+set}" = set; then 2583 2103 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2592 2112 test -z "$as_dir" && as_dir=. 2593 2113 for ac_exec_ext in '' $ac_executable_extensions; do 2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2595 2115 ac_cv_prog_AWK="$ac_prog" 2596 2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2599 2119 done 2600 2120 done 2601 IFS=$as_save_IFS2602 2121 2603 2122 fi … … 2605 2124 AWK=$ac_cv_prog_AWK 2606 2125 if test -n "$AWK"; then 2607 { echo "$as_me:$LINENO: result: $AWK" >&5 2608 echo "${ECHO_T}$AWK" >&6; } 2609 else 2610 { echo "$as_me:$LINENO: result: no" >&5 2611 echo "${ECHO_T}no" >&6; } 2612 fi 2613 2126 echo "$as_me:$LINENO: result: $AWK" >&5 2127 echo "${ECHO_T}$AWK" >&6 2128 else 2129 echo "$as_me:$LINENO: result: no" >&5 2130 echo "${ECHO_T}no" >&6 2131 fi 2614 2132 2615 2133 test -n "$AWK" && break … … 2620 2138 # Extract the first word of "$ac_prog", so it can be a program name with args. 2621 2139 set dummy $ac_prog; ac_word=$2 2622 {echo "$as_me:$LINENO: checking for $ac_word" >&52623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2140 echo "$as_me:$LINENO: checking for $ac_word" >&5 2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2624 2142 if test "${ac_cv_prog_YACC+set}" = set; then 2625 2143 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2634 2152 test -z "$as_dir" && as_dir=. 2635 2153 for ac_exec_ext in '' $ac_executable_extensions; do 2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2637 2155 ac_cv_prog_YACC="$ac_prog" 2638 2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2641 2159 done 2642 2160 done 2643 IFS=$as_save_IFS2644 2161 2645 2162 fi … … 2647 2164 YACC=$ac_cv_prog_YACC 2648 2165 if test -n "$YACC"; then 2649 { echo "$as_me:$LINENO: result: $YACC" >&5 2650 echo "${ECHO_T}$YACC" >&6; } 2651 else 2652 { echo "$as_me:$LINENO: result: no" >&5 2653 echo "${ECHO_T}no" >&6; } 2654 fi 2655 2166 echo "$as_me:$LINENO: result: $YACC" >&5 2167 echo "${ECHO_T}$YACC" >&6 2168 else 2169 echo "$as_me:$LINENO: result: no" >&5 2170 echo "${ECHO_T}no" >&6 2171 fi 2656 2172 2657 2173 test -n "$YACC" && break … … 2667 2183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2668 2184 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2669 {echo "$as_me:$LINENO: checking for $ac_word" >&52670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2185 echo "$as_me:$LINENO: checking for $ac_word" >&5 2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2671 2187 if test "${ac_cv_prog_CC+set}" = set; then 2672 2188 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2681 2197 test -z "$as_dir" && as_dir=. 2682 2198 for ac_exec_ext in '' $ac_executable_extensions; do 2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2684 2200 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2685 2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2688 2204 done 2689 2205 done 2690 IFS=$as_save_IFS2691 2206 2692 2207 fi … … 2694 2209 CC=$ac_cv_prog_CC 2695 2210 if test -n "$CC"; then 2696 { echo "$as_me:$LINENO: result: $CC" >&5 2697 echo "${ECHO_T}$CC" >&6; } 2698 else 2699 { echo "$as_me:$LINENO: result: no" >&5 2700 echo "${ECHO_T}no" >&6; } 2701 fi 2702 2211 echo "$as_me:$LINENO: result: $CC" >&5 2212 echo "${ECHO_T}$CC" >&6 2213 else 2214 echo "$as_me:$LINENO: result: no" >&5 2215 echo "${ECHO_T}no" >&6 2216 fi 2703 2217 2704 2218 fi … … 2707 2221 # Extract the first word of "gcc", so it can be a program name with args. 2708 2222 set dummy gcc; ac_word=$2 2709 {echo "$as_me:$LINENO: checking for $ac_word" >&52710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2223 echo "$as_me:$LINENO: checking for $ac_word" >&5 2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2711 2225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2712 2226 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2721 2235 test -z "$as_dir" && as_dir=. 2722 2236 for ac_exec_ext in '' $ac_executable_extensions; do 2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2724 2238 ac_cv_prog_ac_ct_CC="gcc" 2725 2239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2728 2242 done 2729 2243 done 2730 IFS=$as_save_IFS2731 2244 2732 2245 fi … … 2734 2247 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2735 2248 if test -n "$ac_ct_CC"; then 2736 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2737 echo "${ECHO_T}$ac_ct_CC" >&6; } 2738 else 2739 { echo "$as_me:$LINENO: result: no" >&5 2740 echo "${ECHO_T}no" >&6; } 2741 fi 2742 2743 if test "x$ac_ct_CC" = x; then 2744 CC="" 2745 else 2746 case $cross_compiling:$ac_tool_warned in 2747 yes:) 2748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2749 whose name does not start with the host triplet. If you think this 2750 configuration is useful to you, please write to [email protected]." >&5 2751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2752 whose name does not start with the host triplet. If you think this 2753 configuration is useful to you, please write to [email protected]." >&2;} 2754 ac_tool_warned=yes ;; 2755 esac 2756 CC=$ac_ct_CC 2757 fi 2249 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2250 echo "${ECHO_T}$ac_ct_CC" >&6 2251 else 2252 echo "$as_me:$LINENO: result: no" >&5 2253 echo "${ECHO_T}no" >&6 2254 fi 2255 2256 CC=$ac_ct_CC 2758 2257 else 2759 2258 CC="$ac_cv_prog_CC" … … 2761 2260 2762 2261 if test -z "$CC"; then 2763 2764 2262 if test -n "$ac_tool_prefix"; then 2263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2765 2264 set dummy ${ac_tool_prefix}cc; ac_word=$2 2766 {echo "$as_me:$LINENO: checking for $ac_word" >&52767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2265 echo "$as_me:$LINENO: checking for $ac_word" >&5 2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2768 2267 if test "${ac_cv_prog_CC+set}" = set; then 2769 2268 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2778 2277 test -z "$as_dir" && as_dir=. 2779 2278 for ac_exec_ext in '' $ac_executable_extensions; do 2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2781 2280 ac_cv_prog_CC="${ac_tool_prefix}cc" 2782 2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2785 2284 done 2786 2285 done 2787 IFS=$as_save_IFS2788 2286 2789 2287 fi … … 2791 2289 CC=$ac_cv_prog_CC 2792 2290 if test -n "$CC"; then 2793 { echo "$as_me:$LINENO: result: $CC" >&5 2794 echo "${ECHO_T}$CC" >&6; } 2795 else 2796 { echo "$as_me:$LINENO: result: no" >&5 2797 echo "${ECHO_T}no" >&6; } 2798 fi 2799 2800 2291 echo "$as_me:$LINENO: result: $CC" >&5 2292 echo "${ECHO_T}$CC" >&6 2293 else 2294 echo "$as_me:$LINENO: result: no" >&5 2295 echo "${ECHO_T}no" >&6 2296 fi 2297 2298 fi 2299 if test -z "$ac_cv_prog_CC"; then 2300 ac_ct_CC=$CC 2301 # Extract the first word of "cc", so it can be a program name with args. 2302 set dummy cc; ac_word=$2 2303 echo "$as_me:$LINENO: checking for $ac_word" >&5 2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2306 echo $ECHO_N "(cached) $ECHO_C" >&6 2307 else 2308 if test -n "$ac_ct_CC"; then 2309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2310 else 2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2312 for as_dir in $PATH 2313 do 2314 IFS=$as_save_IFS 2315 test -z "$as_dir" && as_dir=. 2316 for ac_exec_ext in '' $ac_executable_extensions; do 2317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2318 ac_cv_prog_ac_ct_CC="cc" 2319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2320 break 2 2801 2321 fi 2322 done 2323 done 2324 2325 fi 2326 fi 2327 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2328 if test -n "$ac_ct_CC"; then 2329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2330 echo "${ECHO_T}$ac_ct_CC" >&6 2331 else 2332 echo "$as_me:$LINENO: result: no" >&5 2333 echo "${ECHO_T}no" >&6 2334 fi 2335 2336 CC=$ac_ct_CC 2337 else 2338 CC="$ac_cv_prog_CC" 2339 fi 2340 2802 2341 fi 2803 2342 if test -z "$CC"; then 2804 2343 # Extract the first word of "cc", so it can be a program name with args. 2805 2344 set dummy cc; ac_word=$2 2806 {echo "$as_me:$LINENO: checking for $ac_word" >&52807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2345 echo "$as_me:$LINENO: checking for $ac_word" >&5 2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2808 2347 if test "${ac_cv_prog_CC+set}" = set; then 2809 2348 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2819 2358 test -z "$as_dir" && as_dir=. 2820 2359 for ac_exec_ext in '' $ac_executable_extensions; do 2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2822 2361 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2823 2362 ac_prog_rejected=yes … … 2830 2369 done 2831 2370 done 2832 IFS=$as_save_IFS2833 2371 2834 2372 if test $ac_prog_rejected = yes; then … … 2848 2386 CC=$ac_cv_prog_CC 2849 2387 if test -n "$CC"; then 2850 { echo "$as_me:$LINENO: result: $CC" >&5 2851 echo "${ECHO_T}$CC" >&6; } 2852 else 2853 { echo "$as_me:$LINENO: result: no" >&5 2854 echo "${ECHO_T}no" >&6; } 2855 fi 2856 2388 echo "$as_me:$LINENO: result: $CC" >&5 2389 echo "${ECHO_T}$CC" >&6 2390 else 2391 echo "$as_me:$LINENO: result: no" >&5 2392 echo "${ECHO_T}no" >&6 2393 fi 2857 2394 2858 2395 fi 2859 2396 if test -z "$CC"; then 2860 2397 if test -n "$ac_tool_prefix"; then 2861 for ac_prog in cl .exe2398 for ac_prog in cl 2862 2399 do 2863 2400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2864 2401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2865 {echo "$as_me:$LINENO: checking for $ac_word" >&52866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2402 echo "$as_me:$LINENO: checking for $ac_word" >&5 2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2867 2404 if test "${ac_cv_prog_CC+set}" = set; then 2868 2405 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2877 2414 test -z "$as_dir" && as_dir=. 2878 2415 for ac_exec_ext in '' $ac_executable_extensions; do 2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2880 2417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2881 2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2884 2421 done 2885 2422 done 2886 IFS=$as_save_IFS2887 2423 2888 2424 fi … … 2890 2426 CC=$ac_cv_prog_CC 2891 2427 if test -n "$CC"; then 2892 { echo "$as_me:$LINENO: result: $CC" >&5 2893 echo "${ECHO_T}$CC" >&6; } 2894 else 2895 { echo "$as_me:$LINENO: result: no" >&5 2896 echo "${ECHO_T}no" >&6; } 2897 fi 2898 2428 echo "$as_me:$LINENO: result: $CC" >&5 2429 echo "${ECHO_T}$CC" >&6 2430 else 2431 echo "$as_me:$LINENO: result: no" >&5 2432 echo "${ECHO_T}no" >&6 2433 fi 2899 2434 2900 2435 test -n "$CC" && break … … 2903 2438 if test -z "$CC"; then 2904 2439 ac_ct_CC=$CC 2905 for ac_prog in cl .exe2440 for ac_prog in cl 2906 2441 do 2907 2442 # Extract the first word of "$ac_prog", so it can be a program name with args. 2908 2443 set dummy $ac_prog; ac_word=$2 2909 {echo "$as_me:$LINENO: checking for $ac_word" >&52910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2444 echo "$as_me:$LINENO: checking for $ac_word" >&5 2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2911 2446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2912 2447 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2921 2456 test -z "$as_dir" && as_dir=. 2922 2457 for ac_exec_ext in '' $ac_executable_extensions; do 2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2924 2459 ac_cv_prog_ac_ct_CC="$ac_prog" 2925 2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2928 2463 done 2929 2464 done 2930 IFS=$as_save_IFS2931 2465 2932 2466 fi … … 2934 2468 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2935 2469 if test -n "$ac_ct_CC"; then 2936 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2937 echo "${ECHO_T}$ac_ct_CC" >&6; } 2938 else 2939 { echo "$as_me:$LINENO: result: no" >&5 2940 echo "${ECHO_T}no" >&6; } 2941 fi 2942 2470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2471 echo "${ECHO_T}$ac_ct_CC" >&6 2472 else 2473 echo "$as_me:$LINENO: result: no" >&5 2474 echo "${ECHO_T}no" >&6 2475 fi 2943 2476 2944 2477 test -n "$ac_ct_CC" && break 2945 2478 done 2946 2479 2947 if test "x$ac_ct_CC" = x; then 2948 CC="" 2949 else 2950 case $cross_compiling:$ac_tool_warned in 2951 yes:) 2952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2953 whose name does not start with the host triplet. If you think this 2954 configuration is useful to you, please write to [email protected]." >&5 2955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2956 whose name does not start with the host triplet. If you think this 2957 configuration is useful to you, please write to [email protected]." >&2;} 2958 ac_tool_warned=yes ;; 2959 esac 2960 CC=$ac_ct_CC 2961 fi 2480 CC=$ac_ct_CC 2962 2481 fi 2963 2482 … … 2972 2491 2973 2492 # Provide some information about the compiler. 2974 echo "$as_me:$LINENO: checking for C compiler version" >&5 2493 echo "$as_me:$LINENO:" \ 2494 "checking for C compiler version" >&5 2975 2495 ac_compiler=`set X $ac_compile; echo $2` 2976 { (ac_try="$ac_compiler --version >&5" 2977 case "(($ac_try" in 2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2979 *) ac_try_echo=$ac_try;; 2980 esac 2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2982 (eval "$ac_compiler --version >&5") 2>&5 2496 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2497 (eval $ac_compiler --version </dev/null >&5) 2>&5 2983 2498 ac_status=$? 2984 2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2985 2500 (exit $ac_status); } 2986 { (ac_try="$ac_compiler -v >&5" 2987 case "(($ac_try" in 2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2989 *) ac_try_echo=$ac_try;; 2990 esac 2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2992 (eval "$ac_compiler -v >&5") 2>&5 2501 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2502 (eval $ac_compiler -v </dev/null >&5) 2>&5 2993 2503 ac_status=$? 2994 2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 2505 (exit $ac_status); } 2996 { (ac_try="$ac_compiler -V >&5" 2997 case "(($ac_try" in 2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2999 *) ac_try_echo=$ac_try;; 3000 esac 3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3002 (eval "$ac_compiler -V >&5") 2>&5 2506 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2507 (eval $ac_compiler -V </dev/null >&5) 2>&5 3003 2508 ac_status=$? 3004 2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3005 2510 (exit $ac_status); } 3006 2511 3007 {echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&53008 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 ; }2512 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2513 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3009 2514 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3010 2515 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3029 2534 _ACEOF 3030 2535 rm -f conftest.$ac_objext 3031 if { (ac_try="$ac_compile" 3032 case "(($ac_try" in 3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 *) ac_try_echo=$ac_try;; 3035 esac 3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3037 (eval "$ac_compile") 2>conftest.er1 2536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2537 (eval $ac_compile) 2>conftest.er1 3038 2538 ac_status=$? 3039 2539 grep -v '^ *+' conftest.er1 >conftest.err … … 3041 2541 cat conftest.err >&5 3042 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 (exit $ac_status); } && { 3044 test -z "$ac_c_werror_flag" || 3045 test ! -s conftest.err 3046 } && test -s conftest.$ac_objext; then 2543 (exit $ac_status); } && 2544 { ac_try='test -z "$ac_c_werror_flag" 2545 || test ! -s conftest.err' 2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2547 (eval $ac_try) 2>&5 2548 ac_status=$? 2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2550 (exit $ac_status); }; } && 2551 { ac_try='test -s conftest.$ac_objext' 2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2553 (eval $ac_try) 2>&5 2554 ac_status=$? 2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2556 (exit $ac_status); }; }; then 3047 2557 ac_compiler_gnu=yes 3048 2558 else … … 3050 2560 sed 's/^/| /' conftest.$ac_ext >&5 3051 2561 3052 ac_compiler_gnu=no 3053 fi 3054 3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2562 ac_compiler_gnu=no 2563 fi 2564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3056 2565 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3057 2566 3058 2567 fi 3059 {echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&53060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 ; }2568 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2569 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3061 2570 GCC=`test $ac_compiler_gnu = yes && echo yes` 3062 2571 ac_test_CFLAGS=${CFLAGS+set} 3063 2572 ac_save_CFLAGS=$CFLAGS 3064 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3065 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2573 CFLAGS="-g" 2574 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2575 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3066 2576 if test "${ac_cv_prog_cc_g+set}" = set; then 3067 2577 echo $ECHO_N "(cached) $ECHO_C" >&6 3068 2578 else 3069 ac_save_c_werror_flag=$ac_c_werror_flag 3070 ac_c_werror_flag=yes 3071 ac_cv_prog_cc_g=no 3072 CFLAGS="-g" 3073 cat >conftest.$ac_ext <<_ACEOF 2579 cat >conftest.$ac_ext <<_ACEOF 3074 2580 /* confdefs.h. */ 3075 2581 _ACEOF … … 3087 2593 _ACEOF 3088 2594 rm -f conftest.$ac_objext 3089 if { (ac_try="$ac_compile" 3090 case "(($ac_try" in 3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3092 *) ac_try_echo=$ac_try;; 3093 esac 3094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3095 (eval "$ac_compile") 2>conftest.er1 2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2596 (eval $ac_compile) 2>conftest.er1 3096 2597 ac_status=$? 3097 2598 grep -v '^ *+' conftest.er1 >conftest.err … … 3099 2600 cat conftest.err >&5 3100 2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3101 (exit $ac_status); } && { 3102 test -z "$ac_c_werror_flag" || 3103 test ! -s conftest.err 3104 } && test -s conftest.$ac_objext; then 2602 (exit $ac_status); } && 2603 { ac_try='test -z "$ac_c_werror_flag" 2604 || test ! -s conftest.err' 2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2606 (eval $ac_try) 2>&5 2607 ac_status=$? 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); }; } && 2610 { ac_try='test -s conftest.$ac_objext' 2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2612 (eval $ac_try) 2>&5 2613 ac_status=$? 2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2615 (exit $ac_status); }; }; then 3105 2616 ac_cv_prog_cc_g=yes 3106 2617 else … … 3108 2619 sed 's/^/| /' conftest.$ac_ext >&5 3109 2620 3110 CFLAGS="" 3111 cat >conftest.$ac_ext <<_ACEOF 3112 /* confdefs.h. */ 3113 _ACEOF 3114 cat confdefs.h >>conftest.$ac_ext 3115 cat >>conftest.$ac_ext <<_ACEOF 3116 /* end confdefs.h. */ 3117 3118 int 3119 main () 3120 { 3121 3122 ; 3123 return 0; 3124 } 3125 _ACEOF 3126 rm -f conftest.$ac_objext 3127 if { (ac_try="$ac_compile" 3128 case "(($ac_try" in 3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3130 *) ac_try_echo=$ac_try;; 3131 esac 3132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3133 (eval "$ac_compile") 2>conftest.er1 3134 ac_status=$? 3135 grep -v '^ *+' conftest.er1 >conftest.err 3136 rm -f conftest.er1 3137 cat conftest.err >&5 3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3139 (exit $ac_status); } && { 3140 test -z "$ac_c_werror_flag" || 3141 test ! -s conftest.err 3142 } && test -s conftest.$ac_objext; then 3143 : 3144 else 3145 echo "$as_me: failed program was:" >&5 3146 sed 's/^/| /' conftest.$ac_ext >&5 3147 3148 ac_c_werror_flag=$ac_save_c_werror_flag 3149 CFLAGS="-g" 3150 cat >conftest.$ac_ext <<_ACEOF 3151 /* confdefs.h. */ 3152 _ACEOF 3153 cat confdefs.h >>conftest.$ac_ext 3154 cat >>conftest.$ac_ext <<_ACEOF 3155 /* end confdefs.h. */ 3156 3157 int 3158 main () 3159 { 3160 3161 ; 3162 return 0; 3163 } 3164 _ACEOF 3165 rm -f conftest.$ac_objext 3166 if { (ac_try="$ac_compile" 3167 case "(($ac_try" in 3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3169 *) ac_try_echo=$ac_try;; 3170 esac 3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3172 (eval "$ac_compile") 2>conftest.er1 3173 ac_status=$? 3174 grep -v '^ *+' conftest.er1 >conftest.err 3175 rm -f conftest.er1 3176 cat conftest.err >&5 3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3178 (exit $ac_status); } && { 3179 test -z "$ac_c_werror_flag" || 3180 test ! -s conftest.err 3181 } && test -s conftest.$ac_objext; then 3182 ac_cv_prog_cc_g=yes 3183 else 3184 echo "$as_me: failed program was:" >&5 3185 sed 's/^/| /' conftest.$ac_ext >&5 3186 3187 3188 fi 3189 3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3191 fi 3192 3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3194 fi 3195 3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3197 ac_c_werror_flag=$ac_save_c_werror_flag 3198 fi 3199 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3200 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2621 ac_cv_prog_cc_g=no 2622 fi 2623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2624 fi 2625 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2626 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3201 2627 if test "$ac_test_CFLAGS" = set; then 3202 2628 CFLAGS=$ac_save_CFLAGS … … 3214 2640 fi 3215 2641 fi 3216 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53217 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }3218 if test "${ac_cv_prog_cc_ c89+set}" = set; then2642 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2643 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2644 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3219 2645 echo $ECHO_N "(cached) $ECHO_C" >&6 3220 2646 else 3221 ac_cv_prog_cc_ c89=no2647 ac_cv_prog_cc_stdc=no 3222 2648 ac_save_CC=$CC 3223 2649 cat >conftest.$ac_ext <<_ACEOF … … 3253 2679 function prototypes and stuff, but not '\xHH' hex character constants. 3254 2680 These don't provoke an error unfortunately, instead are silently treated 3255 as 'x'. The following induces an error, until -std is added to get2681 as 'x'. The following induces an error, until -std1 is added to get 3256 2682 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3257 2683 array size at least. It's necessary to write '\x00'==0 to get something 3258 that's true only with -std . */2684 that's true only with -std1. */ 3259 2685 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3260 3261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters3262 inside strings and character constants. */3263 #define FOO(x) 'x'3264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];3265 2686 3266 2687 int test (int i, double x); … … 3278 2699 } 3279 2700 _ACEOF 3280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2701 # Don't try gcc -ansi; that turns off useful extensions and 2702 # breaks some systems' header files. 2703 # AIX -qlanglvl=ansi 2704 # Ultrix and OSF/1 -std1 2705 # HP-UX 10.20 and later -Ae 2706 # HP-UX older versions -Aa -D_HPUX_SOURCE 2707 # SVR4 -Xc -D__EXTENSIONS__ 2708 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3282 2709 do 3283 2710 CC="$ac_save_CC $ac_arg" 3284 2711 rm -f conftest.$ac_objext 3285 if { (ac_try="$ac_compile" 3286 case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289 esac 3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3291 (eval "$ac_compile") 2>conftest.er1 2712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2713 (eval $ac_compile) 2>conftest.er1 3292 2714 ac_status=$? 3293 2715 grep -v '^ *+' conftest.er1 >conftest.err … … 3295 2717 cat conftest.err >&5 3296 2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3297 (exit $ac_status); } && { 3298 test -z "$ac_c_werror_flag" || 3299 test ! -s conftest.err 3300 } && test -s conftest.$ac_objext; then 3301 ac_cv_prog_cc_c89=$ac_arg 2719 (exit $ac_status); } && 2720 { ac_try='test -z "$ac_c_werror_flag" 2721 || test ! -s conftest.err' 2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2723 (eval $ac_try) 2>&5 2724 ac_status=$? 2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 (exit $ac_status); }; } && 2727 { ac_try='test -s conftest.$ac_objext' 2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2729 (eval $ac_try) 2>&5 2730 ac_status=$? 2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 (exit $ac_status); }; }; then 2733 ac_cv_prog_cc_stdc=$ac_arg 2734 break 3302 2735 else 3303 2736 echo "$as_me: failed program was:" >&5 3304 2737 sed 's/^/| /' conftest.$ac_ext >&5 3305 2738 3306 3307 fi 3308 3309 rm -f core conftest.err conftest.$ac_objext 3310 test "x$ac_cv_prog_cc_c89" != "xno" && break 2739 fi 2740 rm -f conftest.err conftest.$ac_objext 3311 2741 done 3312 rm -f conftest.$ac_ext 2742 rm -f conftest.$ac_ext conftest.$ac_objext 3313 2743 CC=$ac_save_CC 3314 2744 3315 2745 fi 3316 # AC_CACHE_VAL 3317 case "x$ac_cv_prog_cc_c89" in 3318 x) 3319 { echo "$as_me:$LINENO: result: none needed" >&5 3320 echo "${ECHO_T}none needed" >&6; } ;; 3321 xno) 3322 { echo "$as_me:$LINENO: result: unsupported" >&5 3323 echo "${ECHO_T}unsupported" >&6; } ;; 2746 2747 case "x$ac_cv_prog_cc_stdc" in 2748 x|xno) 2749 echo "$as_me:$LINENO: result: none needed" >&5 2750 echo "${ECHO_T}none needed" >&6 ;; 3324 2751 *) 3325 CC="$CC $ac_cv_prog_cc_c89"3326 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3327 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; };;2752 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2753 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2754 CC="$CC $ac_cv_prog_cc_stdc" ;; 3328 2755 esac 3329 2756 3330 2757 # Some people use a C++ compiler to compile C. Since we use `exit', 2758 # in C++ we need to declare it. In case someone uses the same compiler 2759 # for both compiling C and C++ we need to have the C++ compiler decide 2760 # the declaration of exit, since it's the most demanding environment. 2761 cat >conftest.$ac_ext <<_ACEOF 2762 #ifndef __cplusplus 2763 choke me 2764 #endif 2765 _ACEOF 2766 rm -f conftest.$ac_objext 2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2768 (eval $ac_compile) 2>conftest.er1 2769 ac_status=$? 2770 grep -v '^ *+' conftest.er1 >conftest.err 2771 rm -f conftest.er1 2772 cat conftest.err >&5 2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2774 (exit $ac_status); } && 2775 { ac_try='test -z "$ac_c_werror_flag" 2776 || test ! -s conftest.err' 2777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2778 (eval $ac_try) 2>&5 2779 ac_status=$? 2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2781 (exit $ac_status); }; } && 2782 { ac_try='test -s conftest.$ac_objext' 2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2784 (eval $ac_try) 2>&5 2785 ac_status=$? 2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2787 (exit $ac_status); }; }; then 2788 for ac_declaration in \ 2789 '' \ 2790 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2791 'extern "C" void std::exit (int); using std::exit;' \ 2792 'extern "C" void exit (int) throw ();' \ 2793 'extern "C" void exit (int);' \ 2794 'void exit (int);' 2795 do 2796 cat >conftest.$ac_ext <<_ACEOF 2797 /* confdefs.h. */ 2798 _ACEOF 2799 cat confdefs.h >>conftest.$ac_ext 2800 cat >>conftest.$ac_ext <<_ACEOF 2801 /* end confdefs.h. */ 2802 $ac_declaration 2803 #include <stdlib.h> 2804 int 2805 main () 2806 { 2807 exit (42); 2808 ; 2809 return 0; 2810 } 2811 _ACEOF 2812 rm -f conftest.$ac_objext 2813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2814 (eval $ac_compile) 2>conftest.er1 2815 ac_status=$? 2816 grep -v '^ *+' conftest.er1 >conftest.err 2817 rm -f conftest.er1 2818 cat conftest.err >&5 2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2820 (exit $ac_status); } && 2821 { ac_try='test -z "$ac_c_werror_flag" 2822 || test ! -s conftest.err' 2823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2824 (eval $ac_try) 2>&5 2825 ac_status=$? 2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2827 (exit $ac_status); }; } && 2828 { ac_try='test -s conftest.$ac_objext' 2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2830 (eval $ac_try) 2>&5 2831 ac_status=$? 2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2833 (exit $ac_status); }; }; then 2834 : 2835 else 2836 echo "$as_me: failed program was:" >&5 2837 sed 's/^/| /' conftest.$ac_ext >&5 2838 2839 continue 2840 fi 2841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2842 cat >conftest.$ac_ext <<_ACEOF 2843 /* confdefs.h. */ 2844 _ACEOF 2845 cat confdefs.h >>conftest.$ac_ext 2846 cat >>conftest.$ac_ext <<_ACEOF 2847 /* end confdefs.h. */ 2848 $ac_declaration 2849 int 2850 main () 2851 { 2852 exit (42); 2853 ; 2854 return 0; 2855 } 2856 _ACEOF 2857 rm -f conftest.$ac_objext 2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2859 (eval $ac_compile) 2>conftest.er1 2860 ac_status=$? 2861 grep -v '^ *+' conftest.er1 >conftest.err 2862 rm -f conftest.er1 2863 cat conftest.err >&5 2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2865 (exit $ac_status); } && 2866 { ac_try='test -z "$ac_c_werror_flag" 2867 || test ! -s conftest.err' 2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2869 (eval $ac_try) 2>&5 2870 ac_status=$? 2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2872 (exit $ac_status); }; } && 2873 { ac_try='test -s conftest.$ac_objext' 2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2875 (eval $ac_try) 2>&5 2876 ac_status=$? 2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2878 (exit $ac_status); }; }; then 2879 break 2880 else 2881 echo "$as_me: failed program was:" >&5 2882 sed 's/^/| /' conftest.$ac_ext >&5 2883 2884 fi 2885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2886 done 2887 rm -f conftest* 2888 if test -n "$ac_declaration"; then 2889 echo '#ifdef __cplusplus' >>confdefs.h 2890 echo $ac_declaration >>confdefs.h 2891 echo '#endif' >>confdefs.h 2892 fi 2893 2894 else 2895 echo "$as_me: failed program was:" >&5 2896 sed 's/^/| /' conftest.$ac_ext >&5 2897 2898 fi 2899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3331 2900 ac_ext=c 3332 2901 ac_cpp='$CPP $CPPFLAGS' … … 3348 2917 # OS/2's system install, which has a completely different semantic 3349 2918 # ./install, which can be erroneously created by make from ./install.sh. 3350 {echo "$as_me:$LINENO: checking for a BSD-compatible install" >&53351 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 ; }2919 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2920 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3352 2921 if test -z "$INSTALL"; then 3353 2922 if test "${ac_cv_path_install+set}" = set; then … … 3371 2940 for ac_prog in ginstall scoinst install; do 3372 2941 for ac_exec_ext in '' $ac_executable_extensions; do 3373 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2942 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3374 2943 if test $ac_prog = install && 3375 2944 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3390 2959 esac 3391 2960 done 3392 IFS=$as_save_IFS3393 2961 3394 2962 … … 3397 2965 INSTALL=$ac_cv_path_install 3398 2966 else 3399 # As a last resort, use the slow shell script. Don't cache a3400 # valuefor INSTALL within a source directory, because that will2967 # As a last resort, use the slow shell script. We don't cache a 2968 # path for INSTALL within a source directory, because that will 3401 2969 # break other packages using the cache if that directory is 3402 # removed, or if the value is a relative name.2970 # removed, or if the path is relative. 3403 2971 INSTALL=$ac_install_sh 3404 2972 fi 3405 2973 fi 3406 {echo "$as_me:$LINENO: result: $INSTALL" >&53407 echo "${ECHO_T}$INSTALL" >&6 ; }2974 echo "$as_me:$LINENO: result: $INSTALL" >&5 2975 echo "${ECHO_T}$INSTALL" >&6 3408 2976 3409 2977 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3415 2983 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3416 2984 3417 {echo "$as_me:$LINENO: checking whether ln -s works" >&53418 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 ; }2985 echo "$as_me:$LINENO: checking whether ln -s works" >&5 2986 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3419 2987 LN_S=$as_ln_s 3420 2988 if test "$LN_S" = "ln -s"; then 3421 {echo "$as_me:$LINENO: result: yes" >&53422 echo "${ECHO_T}yes" >&6 ; }3423 else 3424 {echo "$as_me:$LINENO: result: no, using $LN_S" >&53425 echo "${ECHO_T}no, using $LN_S" >&6 ; }3426 fi 3427 3428 {echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53429 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 ; }3430 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`3431 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then2989 echo "$as_me:$LINENO: result: yes" >&5 2990 echo "${ECHO_T}yes" >&6 2991 else 2992 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 2993 echo "${ECHO_T}no, using $LN_S" >&6 2994 fi 2995 2996 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2997 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2998 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2999 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3432 3000 echo $ECHO_N "(cached) $ECHO_C" >&6 3433 3001 else 3434 3002 cat >conftest.make <<\_ACEOF 3435 SHELL = /bin/sh3436 3003 all: 3437 @echo ' @@@%%%=$(MAKE)=@@@%%%'3004 @echo 'ac_maketemp="$(MAKE)"' 3438 3005 _ACEOF 3439 3006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3440 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3441 *@@@%%%=?*=@@@%%%*) 3442 eval ac_cv_prog_make_${ac_make}_set=yes;;3443 *) 3444 eval ac_cv_prog_make_${ac_make}_set=no;;3445 esac 3007 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3008 if test -n "$ac_maketemp"; then 3009 eval ac_cv_prog_make_${ac_make}_set=yes 3010 else 3011 eval ac_cv_prog_make_${ac_make}_set=no 3012 fi 3446 3013 rm -f conftest.make 3447 3014 fi 3448 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then3449 {echo "$as_me:$LINENO: result: yes" >&53450 echo "${ECHO_T}yes" >&6 ; }3015 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3016 echo "$as_me:$LINENO: result: yes" >&5 3017 echo "${ECHO_T}yes" >&6 3451 3018 SET_MAKE= 3452 3019 else 3453 {echo "$as_me:$LINENO: result: no" >&53454 echo "${ECHO_T}no" >&6 ; }3020 echo "$as_me:$LINENO: result: no" >&5 3021 echo "${ECHO_T}no" >&6 3455 3022 SET_MAKE="MAKE=${MAKE-make}" 3456 3023 fi … … 3459 3026 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3460 3027 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3461 {echo "$as_me:$LINENO: checking for $ac_word" >&53462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }3028 echo "$as_me:$LINENO: checking for $ac_word" >&5 3029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3463 3030 if test "${ac_cv_prog_RANLIB+set}" = set; then 3464 3031 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3473 3040 test -z "$as_dir" && as_dir=. 3474 3041 for ac_exec_ext in '' $ac_executable_extensions; do 3475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3476 3043 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3477 3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3480 3047 done 3481 3048 done 3482 IFS=$as_save_IFS3483 3049 3484 3050 fi … … 3486 3052 RANLIB=$ac_cv_prog_RANLIB 3487 3053 if test -n "$RANLIB"; then 3488 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3489 echo "${ECHO_T}$RANLIB" >&6; } 3490 else 3491 { echo "$as_me:$LINENO: result: no" >&5 3492 echo "${ECHO_T}no" >&6; } 3493 fi 3494 3054 echo "$as_me:$LINENO: result: $RANLIB" >&5 3055 echo "${ECHO_T}$RANLIB" >&6 3056 else 3057 echo "$as_me:$LINENO: result: no" >&5 3058 echo "${ECHO_T}no" >&6 3059 fi 3495 3060 3496 3061 fi … … 3499 3064 # Extract the first word of "ranlib", so it can be a program name with args. 3500 3065 set dummy ranlib; ac_word=$2 3501 {echo "$as_me:$LINENO: checking for $ac_word" >&53502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }3066 echo "$as_me:$LINENO: checking for $ac_word" >&5 3067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3503 3068 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3504 3069 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3513 3078 test -z "$as_dir" && as_dir=. 3514 3079 for ac_exec_ext in '' $ac_executable_extensions; do 3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3516 3081 ac_cv_prog_ac_ct_RANLIB="ranlib" 3517 3082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3520 3085 done 3521 3086 done 3522 IFS=$as_save_IFS 3523 3087 3088 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3524 3089 fi 3525 3090 fi 3526 3091 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3527 3092 if test -n "$ac_ct_RANLIB"; then 3528 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3529 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3530 else 3531 { echo "$as_me:$LINENO: result: no" >&5 3532 echo "${ECHO_T}no" >&6; } 3533 fi 3534 3535 if test "x$ac_ct_RANLIB" = x; then 3536 RANLIB=":" 3537 else 3538 case $cross_compiling:$ac_tool_warned in 3539 yes:) 3540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3541 whose name does not start with the host triplet. If you think this 3542 configuration is useful to you, please write to [email protected]." >&5 3543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3544 whose name does not start with the host triplet. If you think this 3545 configuration is useful to you, please write to [email protected]." >&2;} 3546 ac_tool_warned=yes ;; 3547 esac 3548 RANLIB=$ac_ct_RANLIB 3549 fi 3093 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3094 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3095 else 3096 echo "$as_me:$LINENO: result: no" >&5 3097 echo "${ECHO_T}no" >&6 3098 fi 3099 3100 RANLIB=$ac_ct_RANLIB 3550 3101 else 3551 3102 RANLIB="$ac_cv_prog_RANLIB" … … 3559 3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3560 3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3561 {echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53562 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 ; }3112 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3113 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3563 3114 # On Suns, sometimes $CPP names a directory. 3564 3115 if test -n "$CPP" && test -d "$CPP"; then … … 3594 3145 Syntax error 3595 3146 _ACEOF 3596 if { (ac_try="$ac_cpp conftest.$ac_ext" 3597 case "(($ac_try" in 3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3599 *) ac_try_echo=$ac_try;; 3600 esac 3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3603 3149 ac_status=$? 3604 3150 grep -v '^ *+' conftest.er1 >conftest.err … … 3606 3152 cat conftest.err >&5 3607 3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 (exit $ac_status); } >/dev/null && { 3609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3610 test ! -s conftest.err 3611 }; then 3154 (exit $ac_status); } >/dev/null; then 3155 if test -s conftest.err; then 3156 ac_cpp_err=$ac_c_preproc_warn_flag 3157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3158 else 3159 ac_cpp_err= 3160 fi 3161 else 3162 ac_cpp_err=yes 3163 fi 3164 if test -z "$ac_cpp_err"; then 3612 3165 : 3613 3166 else … … 3618 3171 continue 3619 3172 fi 3620 3621 3173 rm -f conftest.err conftest.$ac_ext 3622 3174 3623 # OK, works on sane cases. Now check whether non existent headers3175 # OK, works on sane cases. Now check whether non-existent headers 3624 3176 # can be detected and how. 3625 3177 cat >conftest.$ac_ext <<_ACEOF … … 3631 3183 #include <ac_nonexistent.h> 3632 3184 _ACEOF 3633 if { (ac_try="$ac_cpp conftest.$ac_ext" 3634 case "(($ac_try" in 3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3636 *) ac_try_echo=$ac_try;; 3637 esac 3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3640 3187 ac_status=$? 3641 3188 grep -v '^ *+' conftest.er1 >conftest.err … … 3643 3190 cat conftest.err >&5 3644 3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3645 (exit $ac_status); } >/dev/null && { 3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3647 test ! -s conftest.err 3648 }; then 3192 (exit $ac_status); } >/dev/null; then 3193 if test -s conftest.err; then 3194 ac_cpp_err=$ac_c_preproc_warn_flag 3195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3196 else 3197 ac_cpp_err= 3198 fi 3199 else 3200 ac_cpp_err=yes 3201 fi 3202 if test -z "$ac_cpp_err"; then 3649 3203 # Broken: success on invalid input. 3650 3204 continue … … 3657 3211 break 3658 3212 fi 3659 3660 3213 rm -f conftest.err conftest.$ac_ext 3661 3214 … … 3675 3228 ac_cv_prog_CPP=$CPP 3676 3229 fi 3677 {echo "$as_me:$LINENO: result: $CPP" >&53678 echo "${ECHO_T}$CPP" >&6 ; }3230 echo "$as_me:$LINENO: result: $CPP" >&5 3231 echo "${ECHO_T}$CPP" >&6 3679 3232 ac_preproc_ok=false 3680 3233 for ac_c_preproc_warn_flag in '' yes … … 3699 3252 Syntax error 3700 3253 _ACEOF 3701 if { (ac_try="$ac_cpp conftest.$ac_ext" 3702 case "(($ac_try" in 3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3704 *) ac_try_echo=$ac_try;; 3705 esac 3706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3708 3256 ac_status=$? 3709 3257 grep -v '^ *+' conftest.er1 >conftest.err … … 3711 3259 cat conftest.err >&5 3712 3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 (exit $ac_status); } >/dev/null && { 3714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3715 test ! -s conftest.err 3716 }; then 3261 (exit $ac_status); } >/dev/null; then 3262 if test -s conftest.err; then 3263 ac_cpp_err=$ac_c_preproc_warn_flag 3264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3265 else 3266 ac_cpp_err= 3267 fi 3268 else 3269 ac_cpp_err=yes 3270 fi 3271 if test -z "$ac_cpp_err"; then 3717 3272 : 3718 3273 else … … 3723 3278 continue 3724 3279 fi 3725 3726 3280 rm -f conftest.err conftest.$ac_ext 3727 3281 3728 # OK, works on sane cases. Now check whether non existent headers3282 # OK, works on sane cases. Now check whether non-existent headers 3729 3283 # can be detected and how. 3730 3284 cat >conftest.$ac_ext <<_ACEOF … … 3736 3290 #include <ac_nonexistent.h> 3737 3291 _ACEOF 3738 if { (ac_try="$ac_cpp conftest.$ac_ext" 3739 case "(($ac_try" in 3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3741 *) ac_try_echo=$ac_try;; 3742 esac 3743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3745 3294 ac_status=$? 3746 3295 grep -v '^ *+' conftest.er1 >conftest.err … … 3748 3297 cat conftest.err >&5 3749 3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3750 (exit $ac_status); } >/dev/null && { 3751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3752 test ! -s conftest.err 3753 }; then 3299 (exit $ac_status); } >/dev/null; then 3300 if test -s conftest.err; then 3301 ac_cpp_err=$ac_c_preproc_warn_flag 3302 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3303 else 3304 ac_cpp_err= 3305 fi 3306 else 3307 ac_cpp_err=yes 3308 fi 3309 if test -z "$ac_cpp_err"; then 3754 3310 # Broken: success on invalid input. 3755 3311 continue … … 3762 3318 break 3763 3319 fi 3764 3765 3320 rm -f conftest.err conftest.$ac_ext 3766 3321 … … 3785 3340 3786 3341 3787 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&53788 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }3789 if test "${ac_cv_p ath_GREP+set}" = set; then3342 echo "$as_me:$LINENO: checking for egrep" >&5 3343 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3344 if test "${ac_cv_prog_egrep+set}" = set; then 3790 3345 echo $ECHO_N "(cached) $ECHO_C" >&6 3791 3346 else 3792 # Extract the first word of "grep ggrep" to use in msg output 3793 if test -z "$GREP"; then 3794 set dummy grep ggrep; ac_prog_name=$2 3795 if test "${ac_cv_path_GREP+set}" = set; then 3796 echo $ECHO_N "(cached) $ECHO_C" >&6 3797 else 3798 ac_path_GREP_found=false 3799 # Loop through the user's path and test for each of PROGNAME-LIST 3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3802 do 3803 IFS=$as_save_IFS 3804 test -z "$as_dir" && as_dir=. 3805 for ac_prog in grep ggrep; do 3806 for ac_exec_ext in '' $ac_executable_extensions; do 3807 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3808 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3809 # Check for GNU ac_path_GREP and select it if it is found. 3810 # Check for GNU $ac_path_GREP 3811 case `"$ac_path_GREP" --version 2>&1` in 3812 *GNU*) 3813 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3814 *) 3815 ac_count=0 3816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3817 while : 3818 do 3819 cat "conftest.in" "conftest.in" >"conftest.tmp" 3820 mv "conftest.tmp" "conftest.in" 3821 cp "conftest.in" "conftest.nl" 3822 echo 'GREP' >> "conftest.nl" 3823 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3825 ac_count=`expr $ac_count + 1` 3826 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3827 # Best one so far, save it but keep looking for a better one 3828 ac_cv_path_GREP="$ac_path_GREP" 3829 ac_path_GREP_max=$ac_count 3347 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3348 then ac_cv_prog_egrep='grep -E' 3349 else ac_cv_prog_egrep='egrep' 3830 3350 fi 3831 # 10*(2^10) chars as input seems more than enough 3832 test $ac_count -gt 10 && break 3833 done 3834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3835 esac 3836 3837 3838 $ac_path_GREP_found && break 3 3839 done 3840 done 3841 3842 done 3843 IFS=$as_save_IFS 3844 3845 3846 fi 3847 3848 GREP="$ac_cv_path_GREP" 3849 if test -z "$GREP"; then 3850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3852 { (exit 1); exit 1; }; } 3853 fi 3854 3855 else 3856 ac_cv_path_GREP=$GREP 3857 fi 3858 3859 3860 fi 3861 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3862 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3863 GREP="$ac_cv_path_GREP" 3864 3865 3866 { echo "$as_me:$LINENO: checking for egrep" >&5 3867 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3868 if test "${ac_cv_path_EGREP+set}" = set; then 3869 echo $ECHO_N "(cached) $ECHO_C" >&6 3870 else 3871 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3872 then ac_cv_path_EGREP="$GREP -E" 3873 else 3874 # Extract the first word of "egrep" to use in msg output 3875 if test -z "$EGREP"; then 3876 set dummy egrep; ac_prog_name=$2 3877 if test "${ac_cv_path_EGREP+set}" = set; then 3878 echo $ECHO_N "(cached) $ECHO_C" >&6 3879 else 3880 ac_path_EGREP_found=false 3881 # Loop through the user's path and test for each of PROGNAME-LIST 3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3883 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3884 do 3885 IFS=$as_save_IFS 3886 test -z "$as_dir" && as_dir=. 3887 for ac_prog in egrep; do 3888 for ac_exec_ext in '' $ac_executable_extensions; do 3889 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3890 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3891 # Check for GNU ac_path_EGREP and select it if it is found. 3892 # Check for GNU $ac_path_EGREP 3893 case `"$ac_path_EGREP" --version 2>&1` in 3894 *GNU*) 3895 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3896 *) 3897 ac_count=0 3898 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3899 while : 3900 do 3901 cat "conftest.in" "conftest.in" >"conftest.tmp" 3902 mv "conftest.tmp" "conftest.in" 3903 cp "conftest.in" "conftest.nl" 3904 echo 'EGREP' >> "conftest.nl" 3905 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3906 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3907 ac_count=`expr $ac_count + 1` 3908 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3909 # Best one so far, save it but keep looking for a better one 3910 ac_cv_path_EGREP="$ac_path_EGREP" 3911 ac_path_EGREP_max=$ac_count 3912 fi 3913 # 10*(2^10) chars as input seems more than enough 3914 test $ac_count -gt 10 && break 3915 done 3916 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3917 esac 3918 3919 3920 $ac_path_EGREP_found && break 3 3921 done 3922 done 3923 3924 done 3925 IFS=$as_save_IFS 3926 3927 3928 fi 3929 3930 EGREP="$ac_cv_path_EGREP" 3931 if test -z "$EGREP"; then 3932 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3933 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3934 { (exit 1); exit 1; }; } 3935 fi 3936 3937 else 3938 ac_cv_path_EGREP=$EGREP 3939 fi 3940 3941 3942 fi 3943 fi 3944 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3945 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3946 EGREP="$ac_cv_path_EGREP" 3947 3948 3949 3950 { echo "$as_me:$LINENO: checking for AIX" >&5 3951 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3351 fi 3352 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3353 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3354 EGREP=$ac_cv_prog_egrep 3355 3356 3357 3358 echo "$as_me:$LINENO: checking for AIX" >&5 3359 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3952 3360 cat >conftest.$ac_ext <<_ACEOF 3953 3361 /* confdefs.h. */ … … 3963 3371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3964 3372 $EGREP "yes" >/dev/null 2>&1; then 3965 {echo "$as_me:$LINENO: result: yes" >&53966 echo "${ECHO_T}yes" >&6 ; }3373 echo "$as_me:$LINENO: result: yes" >&5 3374 echo "${ECHO_T}yes" >&6 3967 3375 cat >>confdefs.h <<\_ACEOF 3968 3376 #define _ALL_SOURCE 1 … … 3970 3378 3971 3379 else 3972 {echo "$as_me:$LINENO: result: no" >&53973 echo "${ECHO_T}no" >&6 ; }3380 echo "$as_me:$LINENO: result: no" >&5 3381 echo "${ECHO_T}no" >&6 3974 3382 fi 3975 3383 rm -f conftest* 3976 3384 3977 3385 3978 {echo "$as_me:$LINENO: checking for library containing strerror" >&53979 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 ; }3386 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3387 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3980 3388 if test "${ac_cv_search_strerror+set}" = set; then 3981 3389 echo $ECHO_N "(cached) $ECHO_C" >&6 3982 3390 else 3983 3391 ac_func_search_save_LIBS=$LIBS 3392 ac_cv_search_strerror=no 3984 3393 cat >conftest.$ac_ext <<_ACEOF 3985 3394 /* confdefs.h. */ … … 3989 3398 /* end confdefs.h. */ 3990 3399 3991 /* Override any GCC internal prototype to avoid an error. 3992 Use char because int might match the return type of a GCC 3993 builtin and then its argument prototype would still apply. */ 3400 /* Override any gcc2 internal prototype to avoid an error. */ 3994 3401 #ifdef __cplusplus 3995 3402 extern "C" 3996 3403 #endif 3404 /* We use char because int might match the return type of a gcc2 3405 builtin and then its argument prototype would still apply. */ 3997 3406 char strerror (); 3998 3407 int 3999 3408 main () 4000 3409 { 4001 returnstrerror ();3410 strerror (); 4002 3411 ; 4003 3412 return 0; 4004 3413 } 4005 3414 _ACEOF 4006 for ac_lib in '' cposix; do 4007 if test -z "$ac_lib"; then 4008 ac_res="none required" 4009 else 4010 ac_res=-l$ac_lib 4011 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4012 fi 4013 rm -f conftest.$ac_objext conftest$ac_exeext 4014 if { (ac_try="$ac_link" 4015 case "(($ac_try" in 4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4017 *) ac_try_echo=$ac_try;; 4018 esac 4019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4020 (eval "$ac_link") 2>conftest.er1 3415 rm -f conftest.$ac_objext conftest$ac_exeext 3416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3417 (eval $ac_link) 2>conftest.er1 4021 3418 ac_status=$? 4022 3419 grep -v '^ *+' conftest.er1 >conftest.err … … 4024 3421 cat conftest.err >&5 4025 3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4026 (exit $ac_status); } && { 4027 test -z "$ac_c_werror_flag" || 4028 test ! -s conftest.err 4029 } && test -s conftest$ac_exeext && 4030 $as_test_x conftest$ac_exeext; then 4031 ac_cv_search_strerror=$ac_res 3423 (exit $ac_status); } && 3424 { ac_try='test -z "$ac_c_werror_flag" 3425 || test ! -s conftest.err' 3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3427 (eval $ac_try) 2>&5 3428 ac_status=$? 3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3430 (exit $ac_status); }; } && 3431 { ac_try='test -s conftest$ac_exeext' 3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3433 (eval $ac_try) 2>&5 3434 ac_status=$? 3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3436 (exit $ac_status); }; }; then 3437 ac_cv_search_strerror="none required" 4032 3438 else 4033 3439 echo "$as_me: failed program was:" >&5 4034 3440 sed 's/^/| /' conftest.$ac_ext >&5 4035 3441 4036 4037 fi 4038 4039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4040 conftest$ac_exeext 4041 if test "${ac_cv_search_strerror+set}" = set; then 4042 break 4043 fi 4044 done 4045 if test "${ac_cv_search_strerror+set}" = set; then 4046 : 4047 else 4048 ac_cv_search_strerror=no 4049 fi 4050 rm conftest.$ac_ext 3442 fi 3443 rm -f conftest.err conftest.$ac_objext \ 3444 conftest$ac_exeext conftest.$ac_ext 3445 if test "$ac_cv_search_strerror" = no; then 3446 for ac_lib in cposix; do 3447 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3448 cat >conftest.$ac_ext <<_ACEOF 3449 /* confdefs.h. */ 3450 _ACEOF 3451 cat confdefs.h >>conftest.$ac_ext 3452 cat >>conftest.$ac_ext <<_ACEOF 3453 /* end confdefs.h. */ 3454 3455 /* Override any gcc2 internal prototype to avoid an error. */ 3456 #ifdef __cplusplus 3457 extern "C" 3458 #endif 3459 /* We use char because int might match the return type of a gcc2 3460 builtin and then its argument prototype would still apply. */ 3461 char strerror (); 3462 int 3463 main () 3464 { 3465 strerror (); 3466 ; 3467 return 0; 3468 } 3469 _ACEOF 3470 rm -f conftest.$ac_objext conftest$ac_exeext 3471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3472 (eval $ac_link) 2>conftest.er1 3473 ac_status=$? 3474 grep -v '^ *+' conftest.er1 >conftest.err 3475 rm -f conftest.er1 3476 cat conftest.err >&5 3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3478 (exit $ac_status); } && 3479 { ac_try='test -z "$ac_c_werror_flag" 3480 || test ! -s conftest.err' 3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3482 (eval $ac_try) 2>&5 3483 ac_status=$? 3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3485 (exit $ac_status); }; } && 3486 { ac_try='test -s conftest$ac_exeext' 3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3488 (eval $ac_try) 2>&5 3489 ac_status=$? 3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3491 (exit $ac_status); }; }; then 3492 ac_cv_search_strerror="-l$ac_lib" 3493 break 3494 else 3495 echo "$as_me: failed program was:" >&5 3496 sed 's/^/| /' conftest.$ac_ext >&5 3497 3498 fi 3499 rm -f conftest.err conftest.$ac_objext \ 3500 conftest$ac_exeext conftest.$ac_ext 3501 done 3502 fi 4051 3503 LIBS=$ac_func_search_save_LIBS 4052 3504 fi 4053 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4054 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 4055 ac_res=$ac_cv_search_strerror 4056 if test "$ac_res" != no; then 4057 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4058 4059 fi 4060 4061 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4062 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3505 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3506 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3507 if test "$ac_cv_search_strerror" != no; then 3508 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3509 3510 fi 3511 3512 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3513 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4063 3514 if test "${ac_cv_header_stdc+set}" = set; then 4064 3515 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4084 3535 _ACEOF 4085 3536 rm -f conftest.$ac_objext 4086 if { (ac_try="$ac_compile" 4087 case "(($ac_try" in 4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4089 *) ac_try_echo=$ac_try;; 4090 esac 4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4092 (eval "$ac_compile") 2>conftest.er1 3537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3538 (eval $ac_compile) 2>conftest.er1 4093 3539 ac_status=$? 4094 3540 grep -v '^ *+' conftest.er1 >conftest.err … … 4096 3542 cat conftest.err >&5 4097 3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4098 (exit $ac_status); } && { 4099 test -z "$ac_c_werror_flag" || 4100 test ! -s conftest.err 4101 } && test -s conftest.$ac_objext; then 3544 (exit $ac_status); } && 3545 { ac_try='test -z "$ac_c_werror_flag" 3546 || test ! -s conftest.err' 3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3548 (eval $ac_try) 2>&5 3549 ac_status=$? 3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3551 (exit $ac_status); }; } && 3552 { ac_try='test -s conftest.$ac_objext' 3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3554 (eval $ac_try) 2>&5 3555 ac_status=$? 3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3557 (exit $ac_status); }; }; then 4102 3558 ac_cv_header_stdc=yes 4103 3559 else … … 4105 3561 sed 's/^/| /' conftest.$ac_ext >&5 4106 3562 4107 ac_cv_header_stdc=no 4108 fi 4109 4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3563 ac_cv_header_stdc=no 3564 fi 3565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4111 3566 4112 3567 if test $ac_cv_header_stdc = yes; then … … 4164 3619 /* end confdefs.h. */ 4165 3620 #include <ctype.h> 4166 #include <stdlib.h>4167 3621 #if ((' ' & 0x0FF) == 0x020) 4168 3622 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4184 3638 if (XOR (islower (i), ISLOWER (i)) 4185 3639 || toupper (i) != TOUPPER (i)) 4186 return 2;4187 return 0;3640 exit(2); 3641 exit (0); 4188 3642 } 4189 3643 _ACEOF 4190 3644 rm -f conftest$ac_exeext 4191 if { (ac_try="$ac_link" 4192 case "(($ac_try" in 4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4194 *) ac_try_echo=$ac_try;; 4195 esac 4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4197 (eval "$ac_link") 2>&5 3645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3646 (eval $ac_link) 2>&5 4198 3647 ac_status=$? 4199 3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4200 3649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4201 { (case "(($ac_try" in 4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4203 *) ac_try_echo=$ac_try;; 4204 esac 4205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4206 (eval "$ac_try") 2>&5 3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3651 (eval $ac_try) 2>&5 4207 3652 ac_status=$? 4208 3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4217 3662 ac_cv_header_stdc=no 4218 3663 fi 4219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4220 fi 4221 4222 4223 fi 4224 fi 4225 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4226 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3664 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3665 fi 3666 fi 3667 fi 3668 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3669 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4227 3670 if test $ac_cv_header_stdc = yes; then 4228 3671 … … 4247 3690 do 4248 3691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4249 {echo "$as_me:$LINENO: checking for $ac_header" >&54250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3692 echo "$as_me:$LINENO: checking for $ac_header" >&5 3693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3694 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4252 3695 echo $ECHO_N "(cached) $ECHO_C" >&6 4253 3696 else … … 4263 3706 _ACEOF 4264 3707 rm -f conftest.$ac_objext 4265 if { (ac_try="$ac_compile" 4266 case "(($ac_try" in 4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4268 *) ac_try_echo=$ac_try;; 4269 esac 4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4271 (eval "$ac_compile") 2>conftest.er1 3708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3709 (eval $ac_compile) 2>conftest.er1 4272 3710 ac_status=$? 4273 3711 grep -v '^ *+' conftest.er1 >conftest.err … … 4275 3713 cat conftest.err >&5 4276 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4277 (exit $ac_status); } && { 4278 test -z "$ac_c_werror_flag" || 4279 test ! -s conftest.err 4280 } && test -s conftest.$ac_objext; then 3715 (exit $ac_status); } && 3716 { ac_try='test -z "$ac_c_werror_flag" 3717 || test ! -s conftest.err' 3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3719 (eval $ac_try) 2>&5 3720 ac_status=$? 3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3722 (exit $ac_status); }; } && 3723 { ac_try='test -s conftest.$ac_objext' 3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3725 (eval $ac_try) 2>&5 3726 ac_status=$? 3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3728 (exit $ac_status); }; }; then 4281 3729 eval "$as_ac_Header=yes" 4282 3730 else … … 4284 3732 sed 's/^/| /' conftest.$ac_ext >&5 4285 3733 4286 eval "$as_ac_Header=no" 4287 fi 4288 4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4290 fi 4291 ac_res=`eval echo '${'$as_ac_Header'}'` 4292 { echo "$as_me:$LINENO: result: $ac_res" >&5 4293 echo "${ECHO_T}$ac_res" >&6; } 3734 eval "$as_ac_Header=no" 3735 fi 3736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3737 fi 3738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4294 3740 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4295 3741 cat >>confdefs.h <<_ACEOF … … 4303 3749 4304 3750 if test "${ac_cv_header_minix_config_h+set}" = set; then 4305 {echo "$as_me:$LINENO: checking for minix/config.h" >&54306 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 ; }3751 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3752 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4307 3753 if test "${ac_cv_header_minix_config_h+set}" = set; then 4308 3754 echo $ECHO_N "(cached) $ECHO_C" >&6 4309 3755 fi 4310 {echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54311 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 ; }3756 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3757 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4312 3758 else 4313 3759 # Is the header compilable? 4314 {echo "$as_me:$LINENO: checking minix/config.h usability" >&54315 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 ; }3760 echo "$as_me:$LINENO: checking minix/config.h usability" >&5 3761 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4316 3762 cat >conftest.$ac_ext <<_ACEOF 4317 3763 /* confdefs.h. */ … … 4324 3770 _ACEOF 4325 3771 rm -f conftest.$ac_objext 4326 if { (ac_try="$ac_compile" 4327 case "(($ac_try" in 4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4329 *) ac_try_echo=$ac_try;; 4330 esac 4331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4332 (eval "$ac_compile") 2>conftest.er1 3772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3773 (eval $ac_compile) 2>conftest.er1 4333 3774 ac_status=$? 4334 3775 grep -v '^ *+' conftest.er1 >conftest.err … … 4336 3777 cat conftest.err >&5 4337 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4338 (exit $ac_status); } && { 4339 test -z "$ac_c_werror_flag" || 4340 test ! -s conftest.err 4341 } && test -s conftest.$ac_objext; then 3779 (exit $ac_status); } && 3780 { ac_try='test -z "$ac_c_werror_flag" 3781 || test ! -s conftest.err' 3782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3783 (eval $ac_try) 2>&5 3784 ac_status=$? 3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3786 (exit $ac_status); }; } && 3787 { ac_try='test -s conftest.$ac_objext' 3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3789 (eval $ac_try) 2>&5 3790 ac_status=$? 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 (exit $ac_status); }; }; then 4342 3793 ac_header_compiler=yes 4343 3794 else … … 4345 3796 sed 's/^/| /' conftest.$ac_ext >&5 4346 3797 4347 ac_header_compiler=no 4348 fi 4349 4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4351 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4352 echo "${ECHO_T}$ac_header_compiler" >&6; } 3798 ac_header_compiler=no 3799 fi 3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3802 echo "${ECHO_T}$ac_header_compiler" >&6 4353 3803 4354 3804 # Is the header present? 4355 {echo "$as_me:$LINENO: checking minix/config.h presence" >&54356 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 ; }3805 echo "$as_me:$LINENO: checking minix/config.h presence" >&5 3806 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4357 3807 cat >conftest.$ac_ext <<_ACEOF 4358 3808 /* confdefs.h. */ … … 4363 3813 #include <minix/config.h> 4364 3814 _ACEOF 4365 if { (ac_try="$ac_cpp conftest.$ac_ext" 4366 case "(($ac_try" in 4367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4368 *) ac_try_echo=$ac_try;; 4369 esac 4370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4372 3817 ac_status=$? 4373 3818 grep -v '^ *+' conftest.er1 >conftest.err … … 4375 3820 cat conftest.err >&5 4376 3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4377 (exit $ac_status); } >/dev/null && { 4378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4379 test ! -s conftest.err 4380 }; then 3822 (exit $ac_status); } >/dev/null; then 3823 if test -s conftest.err; then 3824 ac_cpp_err=$ac_c_preproc_warn_flag 3825 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3826 else 3827 ac_cpp_err= 3828 fi 3829 else 3830 ac_cpp_err=yes 3831 fi 3832 if test -z "$ac_cpp_err"; then 4381 3833 ac_header_preproc=yes 4382 3834 else … … 4386 3838 ac_header_preproc=no 4387 3839 fi 4388 4389 3840 rm -f conftest.err conftest.$ac_ext 4390 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&54391 echo "${ECHO_T}$ac_header_preproc" >&6 ; }3841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3842 echo "${ECHO_T}$ac_header_preproc" >&6 4392 3843 4393 3844 # So? What about this header? … … 4413 3864 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4414 3865 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4415 3866 ( 3867 cat <<\_ASBOX 3868 ## ------------------------------------------ ## 3869 ## Report this to the AC_PACKAGE_NAME lists. ## 3870 ## ------------------------------------------ ## 3871 _ASBOX 3872 ) | 3873 sed "s/^/$as_me: WARNING: /" >&2 4416 3874 ;; 4417 3875 esac 4418 {echo "$as_me:$LINENO: checking for minix/config.h" >&54419 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 ; }3876 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3877 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4420 3878 if test "${ac_cv_header_minix_config_h+set}" = set; then 4421 3879 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4423 3881 ac_cv_header_minix_config_h=$ac_header_preproc 4424 3882 fi 4425 {echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54426 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 ; }3883 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3884 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4427 3885 4428 3886 fi … … 4452 3910 fi 4453 3911 4454 {echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&54455 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 ; }3912 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 3913 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4456 3914 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4457 3915 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4489 3947 _ACEOF 4490 3948 rm -f conftest.$ac_objext 4491 if { (ac_try="$ac_compile" 4492 case "(($ac_try" in 4493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4494 *) ac_try_echo=$ac_try;; 4495 esac 4496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4497 (eval "$ac_compile") 2>conftest.er1 3949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3950 (eval $ac_compile) 2>conftest.er1 4498 3951 ac_status=$? 4499 3952 grep -v '^ *+' conftest.er1 >conftest.err … … 4501 3954 cat conftest.err >&5 4502 3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4503 (exit $ac_status); } && { 4504 test -z "$ac_c_werror_flag" || 4505 test ! -s conftest.err 4506 } && test -s conftest.$ac_objext; then 3956 (exit $ac_status); } && 3957 { ac_try='test -z "$ac_c_werror_flag" 3958 || test ! -s conftest.err' 3959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3960 (eval $ac_try) 2>&5 3961 ac_status=$? 3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3963 (exit $ac_status); }; } && 3964 { ac_try='test -s conftest.$ac_objext' 3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3966 (eval $ac_try) 2>&5 3967 ac_status=$? 3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3969 (exit $ac_status); }; }; then 4507 3970 ac_cv_prog_cc_stdc="$ac_arg"; break 4508 3971 else … … 4510 3973 sed 's/^/| /' conftest.$ac_ext >&5 4511 3974 4512 4513 fi 4514 4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3975 fi 3976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4516 3977 done 4517 3978 CFLAGS="$ac_save_CFLAGS" … … 4519 3980 fi 4520 3981 4521 {echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54522 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 ; }3982 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 3983 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4523 3984 case "x$ac_cv_prog_cc_stdc" in 4524 3985 x|xno) ;; … … 4527 3988 4528 3989 4529 {echo "$as_me:$LINENO: checking for function prototypes" >&54530 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 ; }3990 echo "$as_me:$LINENO: checking for function prototypes" >&5 3991 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4531 3992 if test "$ac_cv_prog_cc_stdc" != no; then 4532 {echo "$as_me:$LINENO: result: yes" >&54533 echo "${ECHO_T}yes" >&6 ; }3993 echo "$as_me:$LINENO: result: yes" >&5 3994 echo "${ECHO_T}yes" >&6 4534 3995 cat >>confdefs.h <<\_ACEOF 4535 3996 #define PROTOTYPES 1 … … 4538 3999 U= ANSI2KNR= 4539 4000 else 4540 {echo "$as_me:$LINENO: result: no" >&54541 echo "${ECHO_T}no" >&6 ; }4001 echo "$as_me:$LINENO: result: no" >&5 4002 echo "${ECHO_T}no" >&6 4542 4003 U=_ ANSI2KNR=ansi2knr 4543 4004 fi 4544 4005 4545 {echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54546 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 ; }4006 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4007 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4547 4008 if test "${ac_cv_c_const+set}" = set; then 4548 4009 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4562 4023 /* Ultrix mips cc rejects this. */ 4563 4024 typedef int charset[2]; 4564 const charset cs;4025 const charset x; 4565 4026 /* SunOS 4.1.1 cc rejects this. */ 4566 char const *const * pcpcc;4567 char **p pc;4027 char const *const *ccp; 4028 char **p; 4568 4029 /* NEC SVR4.0.2 mips cc rejects this. */ 4569 4030 struct point {int x, y;}; … … 4574 4035 expression */ 4575 4036 const char *g = "string"; 4576 pcpcc= &g + (g ? g-g : 0);4037 ccp = &g + (g ? g-g : 0); 4577 4038 /* HPUX 7.0 cc rejects these. */ 4578 ++ pcpcc;4579 p pc = (char**) pcpcc;4580 pcpcc = (char const *const *) ppc;4039 ++ccp; 4040 p = (char**) ccp; 4041 ccp = (char const *const *) p; 4581 4042 { /* SCO 3.2v4 cc rejects this. */ 4582 4043 char *t; … … 4584 4045 4585 4046 *t++ = 0; 4586 if (s) return 0;4587 4047 } 4588 4048 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4603 4063 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4604 4064 const int foo = 10; 4605 if (!foo) return 0;4606 4065 } 4607 return !cs[0] && !zero.x;4608 4066 #endif 4609 4067 … … 4613 4071 _ACEOF 4614 4072 rm -f conftest.$ac_objext 4615 if { (ac_try="$ac_compile" 4616 case "(($ac_try" in 4617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4618 *) ac_try_echo=$ac_try;; 4619 esac 4620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4621 (eval "$ac_compile") 2>conftest.er1 4073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4074 (eval $ac_compile) 2>conftest.er1 4622 4075 ac_status=$? 4623 4076 grep -v '^ *+' conftest.er1 >conftest.err … … 4625 4078 cat conftest.err >&5 4626 4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4627 (exit $ac_status); } && { 4628 test -z "$ac_c_werror_flag" || 4629 test ! -s conftest.err 4630 } && test -s conftest.$ac_objext; then 4080 (exit $ac_status); } && 4081 { ac_try='test -z "$ac_c_werror_flag" 4082 || test ! -s conftest.err' 4083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4084 (eval $ac_try) 2>&5 4085 ac_status=$? 4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4087 (exit $ac_status); }; } && 4088 { ac_try='test -s conftest.$ac_objext' 4089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4090 (eval $ac_try) 2>&5 4091 ac_status=$? 4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4093 (exit $ac_status); }; }; then 4631 4094 ac_cv_c_const=yes 4632 4095 else … … 4634 4097 sed 's/^/| /' conftest.$ac_ext >&5 4635 4098 4636 ac_cv_c_const=no 4637 fi 4638 4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4640 fi 4641 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4642 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4099 ac_cv_c_const=no 4100 fi 4101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4102 fi 4103 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4104 echo "${ECHO_T}$ac_cv_c_const" >&6 4643 4105 if test $ac_cv_c_const = no; then 4644 4106 … … 4649 4111 fi 4650 4112 4651 {echo "$as_me:$LINENO: checking for off_t" >&54652 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 ; }4113 echo "$as_me:$LINENO: checking for off_t" >&5 4114 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4653 4115 if test "${ac_cv_type_off_t+set}" = set; then 4654 4116 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4661 4123 /* end confdefs.h. */ 4662 4124 $ac_includes_default 4663 typedef off_t ac__type_new_;4664 4125 int 4665 4126 main () 4666 4127 { 4667 if (( ac__type_new_*) 0)4128 if ((off_t *) 0) 4668 4129 return 0; 4669 if (sizeof ( ac__type_new_))4130 if (sizeof (off_t)) 4670 4131 return 0; 4671 4132 ; … … 4674 4135 _ACEOF 4675 4136 rm -f conftest.$ac_objext 4676 if { (ac_try="$ac_compile" 4677 case "(($ac_try" in 4678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4679 *) ac_try_echo=$ac_try;; 4680 esac 4681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4682 (eval "$ac_compile") 2>conftest.er1 4137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4138 (eval $ac_compile) 2>conftest.er1 4683 4139 ac_status=$? 4684 4140 grep -v '^ *+' conftest.er1 >conftest.err … … 4686 4142 cat conftest.err >&5 4687 4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4688 (exit $ac_status); } && { 4689 test -z "$ac_c_werror_flag" || 4690 test ! -s conftest.err 4691 } && test -s conftest.$ac_objext; then 4144 (exit $ac_status); } && 4145 { ac_try='test -z "$ac_c_werror_flag" 4146 || test ! -s conftest.err' 4147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4148 (eval $ac_try) 2>&5 4149 ac_status=$? 4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4151 (exit $ac_status); }; } && 4152 { ac_try='test -s conftest.$ac_objext' 4153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4154 (eval $ac_try) 2>&5 4155 ac_status=$? 4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4157 (exit $ac_status); }; }; then 4692 4158 ac_cv_type_off_t=yes 4693 4159 else … … 4695 4161 sed 's/^/| /' conftest.$ac_ext >&5 4696 4162 4697 ac_cv_type_off_t=no 4698 fi 4699 4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4701 fi 4702 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4703 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 4163 ac_cv_type_off_t=no 4164 fi 4165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4166 fi 4167 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4168 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4704 4169 if test $ac_cv_type_off_t = yes; then 4705 4170 : … … 4707 4172 4708 4173 cat >>confdefs.h <<_ACEOF 4709 #define off_t long int4710 _ACEOF 4711 4712 fi 4713 4714 {echo "$as_me:$LINENO: checking for size_t" >&54715 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 ; }4174 #define off_t long 4175 _ACEOF 4176 4177 fi 4178 4179 echo "$as_me:$LINENO: checking for size_t" >&5 4180 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4716 4181 if test "${ac_cv_type_size_t+set}" = set; then 4717 4182 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4724 4189 /* end confdefs.h. */ 4725 4190 $ac_includes_default 4726 typedef size_t ac__type_new_;4727 4191 int 4728 4192 main () 4729 4193 { 4730 if (( ac__type_new_*) 0)4194 if ((size_t *) 0) 4731 4195 return 0; 4732 if (sizeof ( ac__type_new_))4196 if (sizeof (size_t)) 4733 4197 return 0; 4734 4198 ; … … 4737 4201 _ACEOF 4738 4202 rm -f conftest.$ac_objext 4739 if { (ac_try="$ac_compile" 4740 case "(($ac_try" in 4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4742 *) ac_try_echo=$ac_try;; 4743 esac 4744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4745 (eval "$ac_compile") 2>conftest.er1 4203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4204 (eval $ac_compile) 2>conftest.er1 4746 4205 ac_status=$? 4747 4206 grep -v '^ *+' conftest.er1 >conftest.err … … 4749 4208 cat conftest.err >&5 4750 4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4751 (exit $ac_status); } && { 4752 test -z "$ac_c_werror_flag" || 4753 test ! -s conftest.err 4754 } && test -s conftest.$ac_objext; then 4210 (exit $ac_status); } && 4211 { ac_try='test -z "$ac_c_werror_flag" 4212 || test ! -s conftest.err' 4213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4214 (eval $ac_try) 2>&5 4215 ac_status=$? 4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4217 (exit $ac_status); }; } && 4218 { ac_try='test -s conftest.$ac_objext' 4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4220 (eval $ac_try) 2>&5 4221 ac_status=$? 4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4223 (exit $ac_status); }; }; then 4755 4224 ac_cv_type_size_t=yes 4756 4225 else … … 4758 4227 sed 's/^/| /' conftest.$ac_ext >&5 4759 4228 4760 ac_cv_type_size_t=no 4761 fi 4762 4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4764 fi 4765 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4766 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4229 ac_cv_type_size_t=no 4230 fi 4231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4232 fi 4233 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4234 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4767 4235 if test $ac_cv_type_size_t = yes; then 4768 4236 : … … 4770 4238 4771 4239 cat >>confdefs.h <<_ACEOF 4772 #define size_t unsigned int4773 _ACEOF 4774 4775 fi 4776 4777 {echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54778 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 ; }4240 #define size_t unsigned 4241 _ACEOF 4242 4243 fi 4244 4245 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4246 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4779 4247 if test "${ac_cv_header_time+set}" = set; then 4780 4248 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4800 4268 _ACEOF 4801 4269 rm -f conftest.$ac_objext 4802 if { (ac_try="$ac_compile" 4803 case "(($ac_try" in 4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4805 *) ac_try_echo=$ac_try;; 4806 esac 4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4808 (eval "$ac_compile") 2>conftest.er1 4270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4271 (eval $ac_compile) 2>conftest.er1 4809 4272 ac_status=$? 4810 4273 grep -v '^ *+' conftest.er1 >conftest.err … … 4812 4275 cat conftest.err >&5 4813 4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4814 (exit $ac_status); } && { 4815 test -z "$ac_c_werror_flag" || 4816 test ! -s conftest.err 4817 } && test -s conftest.$ac_objext; then 4277 (exit $ac_status); } && 4278 { ac_try='test -z "$ac_c_werror_flag" 4279 || test ! -s conftest.err' 4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4281 (eval $ac_try) 2>&5 4282 ac_status=$? 4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4284 (exit $ac_status); }; } && 4285 { ac_try='test -s conftest.$ac_objext' 4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4287 (eval $ac_try) 2>&5 4288 ac_status=$? 4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4290 (exit $ac_status); }; }; then 4818 4291 ac_cv_header_time=yes 4819 4292 else … … 4821 4294 sed 's/^/| /' conftest.$ac_ext >&5 4822 4295 4823 ac_cv_header_time=no 4824 fi 4825 4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4827 fi 4828 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4829 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4296 ac_cv_header_time=no 4297 fi 4298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4299 fi 4300 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4301 echo "${ECHO_T}$ac_cv_header_time" >&6 4830 4302 if test $ac_cv_header_time = yes; then 4831 4303 … … 4836 4308 fi 4837 4309 4838 {echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54839 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 ; }4310 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4311 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4840 4312 if test "${ac_cv_struct_tm+set}" = set; then 4841 4313 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4853 4325 main () 4854 4326 { 4855 struct tm tm; 4856 int *p = &tm.tm_sec; 4857 return !p; 4327 struct tm *tp; tp->tm_sec; 4858 4328 ; 4859 4329 return 0; … … 4861 4331 _ACEOF 4862 4332 rm -f conftest.$ac_objext 4863 if { (ac_try="$ac_compile" 4864 case "(($ac_try" in 4865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4866 *) ac_try_echo=$ac_try;; 4867 esac 4868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4869 (eval "$ac_compile") 2>conftest.er1 4333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4334 (eval $ac_compile) 2>conftest.er1 4870 4335 ac_status=$? 4871 4336 grep -v '^ *+' conftest.er1 >conftest.err … … 4873 4338 cat conftest.err >&5 4874 4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4875 (exit $ac_status); } && { 4876 test -z "$ac_c_werror_flag" || 4877 test ! -s conftest.err 4878 } && test -s conftest.$ac_objext; then 4340 (exit $ac_status); } && 4341 { ac_try='test -z "$ac_c_werror_flag" 4342 || test ! -s conftest.err' 4343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4344 (eval $ac_try) 2>&5 4345 ac_status=$? 4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4347 (exit $ac_status); }; } && 4348 { ac_try='test -s conftest.$ac_objext' 4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4350 (eval $ac_try) 2>&5 4351 ac_status=$? 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4353 (exit $ac_status); }; }; then 4879 4354 ac_cv_struct_tm=time.h 4880 4355 else … … 4882 4357 sed 's/^/| /' conftest.$ac_ext >&5 4883 4358 4884 ac_cv_struct_tm=sys/time.h 4885 fi 4886 4887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4888 fi 4889 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4890 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4359 ac_cv_struct_tm=sys/time.h 4360 fi 4361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4362 fi 4363 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4364 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4891 4365 if test $ac_cv_struct_tm = sys/time.h; then 4892 4366 … … 4899 4373 4900 4374 4901 # Check whether --with-unac was given.4375 # Check whether --with-unac or --without-unac was given. 4902 4376 if test "${with_unac+set}" = set; then 4903 withval=$with_unac; UNAC_DIR=$withval 4377 withval="$with_unac" 4378 UNAC_DIR=$withval 4904 4379 else 4905 4380 UNAC_DIR="`pwd`/../packages/unac" 4906 fi 4907 4381 fi; 4908 4382 cat >>confdefs.h <<_ACEOF 4909 4383 #define UNAC_DIR "$UNAC_DIR" … … 4935 4409 _ACEOF 4936 4410 rm -f conftest.$ac_objext