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 4937 if { (ac_try="$ac_compile" 4938 case "(($ac_try" in 4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4940 *) ac_try_echo=$ac_try;; 4941 esac 4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4943 (eval "$ac_compile") 2>conftest.er1 4411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4412 (eval $ac_compile) 2>conftest.er1 4944 4413 ac_status=$? 4945 4414 grep -v '^ *+' conftest.er1 >conftest.err … … 4947 4416 cat conftest.err >&5 4948 4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); } && { 4950 test -z "$ac_c_werror_flag" || 4951 test ! -s conftest.err 4952 } && test -s conftest.$ac_objext; then 4418 (exit $ac_status); } && 4419 { ac_try='test -z "$ac_c_werror_flag" 4420 || test ! -s conftest.err' 4421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4422 (eval $ac_try) 2>&5 4423 ac_status=$? 4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4425 (exit $ac_status); }; } && 4426 { ac_try='test -s conftest.$ac_objext' 4427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4428 (eval $ac_try) 2>&5 4429 ac_status=$? 4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4431 (exit $ac_status); }; }; then 4953 4432 : 4954 4433 else … … 4956 4435 sed 's/^/| /' conftest.$ac_ext >&5 4957 4436 4958 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4959 fi 4960 4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4962 fi 4963 4964 4965 4966 { echo "$as_me:$LINENO: checking for main in -lg" >&5 4967 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 4437 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4438 fi 4439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4440 fi 4441 4442 4443 4444 echo "$as_me:$LINENO: checking for main in -lg" >&5 4445 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 4968 4446 if test "${ac_cv_lib_g_main+set}" = set; then 4969 4447 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4982 4460 main () 4983 4461 { 4984 returnmain ();4462 main (); 4985 4463 ; 4986 4464 return 0; … … 4988 4466 _ACEOF 4989 4467 rm -f conftest.$ac_objext conftest$ac_exeext 4990 if { (ac_try="$ac_link" 4991 case "(($ac_try" in 4992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4993 *) ac_try_echo=$ac_try;; 4994 esac 4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4996 (eval "$ac_link") 2>conftest.er1 4468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4469 (eval $ac_link) 2>conftest.er1 4997 4470 ac_status=$? 4998 4471 grep -v '^ *+' conftest.er1 >conftest.err … … 5000 4473 cat conftest.err >&5 5001 4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5002 (exit $ac_status); } && { 5003 test -z "$ac_c_werror_flag" || 5004 test ! -s conftest.err 5005 } && test -s conftest$ac_exeext && 5006 $as_test_x conftest$ac_exeext; then 4475 (exit $ac_status); } && 4476 { ac_try='test -z "$ac_c_werror_flag" 4477 || test ! -s conftest.err' 4478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4479 (eval $ac_try) 2>&5 4480 ac_status=$? 4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4482 (exit $ac_status); }; } && 4483 { ac_try='test -s conftest$ac_exeext' 4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4485 (eval $ac_try) 2>&5 4486 ac_status=$? 4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4488 (exit $ac_status); }; }; then 5007 4489 ac_cv_lib_g_main=yes 5008 4490 else … … 5010 4492 sed 's/^/| /' conftest.$ac_ext >&5 5011 4493 5012 ac_cv_lib_g_main=no 5013 fi 5014 5015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4494 ac_cv_lib_g_main=no 4495 fi 4496 rm -f conftest.err conftest.$ac_objext \ 5016 4497 conftest$ac_exeext conftest.$ac_ext 5017 4498 LIBS=$ac_check_lib_save_LIBS 5018 4499 fi 5019 {echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55020 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 ; }4500 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 4501 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5021 4502 if test $ac_cv_lib_g_main = yes; then 5022 4503 cat >>confdefs.h <<_ACEOF … … 5029 4510 5030 4511 5031 {echo "$as_me:$LINENO: checking for main in -lm" >&55032 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 ; }4512 echo "$as_me:$LINENO: checking for main in -lm" >&5 4513 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5033 4514 if test "${ac_cv_lib_m_main+set}" = set; then 5034 4515 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5047 4528 main () 5048 4529 { 5049 returnmain ();4530 main (); 5050 4531 ; 5051 4532 return 0; … … 5053 4534 _ACEOF 5054 4535 rm -f conftest.$ac_objext conftest$ac_exeext 5055 if { (ac_try="$ac_link" 5056 case "(($ac_try" in 5057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5058 *) ac_try_echo=$ac_try;; 5059 esac 5060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5061 (eval "$ac_link") 2>conftest.er1 4536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4537 (eval $ac_link) 2>conftest.er1 5062 4538 ac_status=$? 5063 4539 grep -v '^ *+' conftest.er1 >conftest.err … … 5065 4541 cat conftest.err >&5 5066 4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5067 (exit $ac_status); } && { 5068 test -z "$ac_c_werror_flag" || 5069 test ! -s conftest.err 5070 } && test -s conftest$ac_exeext && 5071 $as_test_x conftest$ac_exeext; then 4543 (exit $ac_status); } && 4544 { ac_try='test -z "$ac_c_werror_flag" 4545 || test ! -s conftest.err' 4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4547 (eval $ac_try) 2>&5 4548 ac_status=$? 4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4550 (exit $ac_status); }; } && 4551 { ac_try='test -s conftest$ac_exeext' 4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4553 (eval $ac_try) 2>&5 4554 ac_status=$? 4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4556 (exit $ac_status); }; }; then 5072 4557 ac_cv_lib_m_main=yes 5073 4558 else … … 5075 4560 sed 's/^/| /' conftest.$ac_ext >&5 5076 4561 5077 ac_cv_lib_m_main=no 5078 fi 5079 5080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4562 ac_cv_lib_m_main=no 4563 fi 4564 rm -f conftest.err conftest.$ac_objext \ 5081 4565 conftest$ac_exeext conftest.$ac_ext 5082 4566 LIBS=$ac_check_lib_save_LIBS 5083 4567 fi 5084 {echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55085 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 ; }4568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 4569 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5086 4570 if test $ac_cv_lib_m_main = yes; then 5087 4571 cat >>confdefs.h <<_ACEOF … … 5094 4578 5095 4579 5096 {echo "$as_me:$LINENO: checking for main in -lstdc++" >&55097 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6 ; }4580 echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 4581 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6 5098 4582 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 5099 4583 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5112 4596 main () 5113 4597 { 5114 returnmain ();4598 main (); 5115 4599 ; 5116 4600 return 0; … … 5118 4602 _ACEOF 5119 4603 rm -f conftest.$ac_objext conftest$ac_exeext 5120 if { (ac_try="$ac_link" 5121 case "(($ac_try" in 5122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5123 *) ac_try_echo=$ac_try;; 5124 esac 5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5126 (eval "$ac_link") 2>conftest.er1 4604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4605 (eval $ac_link) 2>conftest.er1 5127 4606 ac_status=$? 5128 4607 grep -v '^ *+' conftest.er1 >conftest.err … … 5130 4609 cat conftest.err >&5 5131 4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5132 (exit $ac_status); } && { 5133 test -z "$ac_c_werror_flag" || 5134 test ! -s conftest.err 5135 } && test -s conftest$ac_exeext && 5136 $as_test_x conftest$ac_exeext; then 4611 (exit $ac_status); } && 4612 { ac_try='test -z "$ac_c_werror_flag" 4613 || test ! -s conftest.err' 4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4615 (eval $ac_try) 2>&5 4616 ac_status=$? 4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4618 (exit $ac_status); }; } && 4619 { ac_try='test -s conftest$ac_exeext' 4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4621 (eval $ac_try) 2>&5 4622 ac_status=$? 4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4624 (exit $ac_status); }; }; then 5137 4625 ac_cv_lib_stdcpp_main=yes 5138 4626 else … … 5140 4628 sed 's/^/| /' conftest.$ac_ext >&5 5141 4629 5142 ac_cv_lib_stdcpp_main=no 5143 fi 5144 5145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4630 ac_cv_lib_stdcpp_main=no 4631 fi 4632 rm -f conftest.err conftest.$ac_objext \ 5146 4633 conftest$ac_exeext conftest.$ac_ext 5147 4634 LIBS=$ac_check_lib_save_LIBS 5148 4635 fi 5149 {echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&55150 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6 ; }4636 echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 4637 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6 5151 4638 if test $ac_cv_lib_stdcpp_main = yes; then 5152 4639 cat >>confdefs.h <<_ACEOF … … 5159 4646 5160 4647 5161 {echo "$as_me:$LINENO: checking for main in -lcrypt" >&55162 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 ; }4648 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 4649 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5163 4650 if test "${ac_cv_lib_crypt_main+set}" = set; then 5164 4651 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5177 4664 main () 5178 4665 { 5179 returnmain ();4666 main (); 5180 4667 ; 5181 4668 return 0; … … 5183 4670 _ACEOF 5184 4671 rm -f conftest.$ac_objext conftest$ac_exeext 5185 if { (ac_try="$ac_link" 5186 case "(($ac_try" in 5187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5188 *) ac_try_echo=$ac_try;; 5189 esac 5190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5191 (eval "$ac_link") 2>conftest.er1 4672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4673 (eval $ac_link) 2>conftest.er1 5192 4674 ac_status=$? 5193 4675 grep -v '^ *+' conftest.er1 >conftest.err … … 5195 4677 cat conftest.err >&5 5196 4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5197 (exit $ac_status); } && { 5198 test -z "$ac_c_werror_flag" || 5199 test ! -s conftest.err 5200 } && test -s conftest$ac_exeext && 5201 $as_test_x conftest$ac_exeext; then 4679 (exit $ac_status); } && 4680 { ac_try='test -z "$ac_c_werror_flag" 4681 || test ! -s conftest.err' 4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4683 (eval $ac_try) 2>&5 4684 ac_status=$? 4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4686 (exit $ac_status); }; } && 4687 { ac_try='test -s conftest$ac_exeext' 4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4689 (eval $ac_try) 2>&5 4690 ac_status=$? 4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4692 (exit $ac_status); }; }; then 5202 4693 ac_cv_lib_crypt_main=yes 5203 4694 else … … 5205 4696 sed 's/^/| /' conftest.$ac_ext >&5 5206 4697 5207 ac_cv_lib_crypt_main=no 5208 fi 5209 5210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4698 ac_cv_lib_crypt_main=no 4699 fi 4700 rm -f conftest.err conftest.$ac_objext \ 5211 4701 conftest$ac_exeext conftest.$ac_ext 5212 4702 LIBS=$ac_check_lib_save_LIBS 5213 4703 fi 5214 {echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55215 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 ; }4704 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 4705 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5216 4706 if test $ac_cv_lib_crypt_main = yes; then 5217 4707 cat >>confdefs.h <<_ACEOF … … 5236 4726 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5237 4727 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5238 {echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55239 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 ; }5240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4728 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 4729 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4730 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5241 4731 echo $ECHO_N "(cached) $ECHO_C" >&6 5242 4732 else … … 5260 4750 _ACEOF 5261 4751 rm -f conftest.$ac_objext 5262 if { (ac_try="$ac_compile" 5263 case "(($ac_try" in 5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5265 *) ac_try_echo=$ac_try;; 5266 esac 5267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5268 (eval "$ac_compile") 2>conftest.er1 4752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4753 (eval $ac_compile) 2>conftest.er1 5269 4754 ac_status=$? 5270 4755 grep -v '^ *+' conftest.er1 >conftest.err … … 5272 4757 cat conftest.err >&5 5273 4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5274 (exit $ac_status); } && { 5275 test -z "$ac_c_werror_flag" || 5276 test ! -s conftest.err 5277 } && test -s conftest.$ac_objext; then 4759 (exit $ac_status); } && 4760 { ac_try='test -z "$ac_c_werror_flag" 4761 || test ! -s conftest.err' 4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4763 (eval $ac_try) 2>&5 4764 ac_status=$? 4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4766 (exit $ac_status); }; } && 4767 { ac_try='test -s conftest.$ac_objext' 4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4769 (eval $ac_try) 2>&5 4770 ac_status=$? 4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4772 (exit $ac_status); }; }; then 5278 4773 eval "$as_ac_Header=yes" 5279 4774 else … … 5281 4776 sed 's/^/| /' conftest.$ac_ext >&5 5282 4777 5283 eval "$as_ac_Header=no" 5284 fi 5285 5286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5287 fi 5288 ac_res=`eval echo '${'$as_ac_Header'}'` 5289 { echo "$as_me:$LINENO: result: $ac_res" >&5 5290 echo "${ECHO_T}$ac_res" >&6; } 4778 eval "$as_ac_Header=no" 4779 fi 4780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4781 fi 4782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5291 4784 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5292 4785 cat >>confdefs.h <<_ACEOF … … 5300 4793 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5301 4794 if test $ac_header_dirent = dirent.h; then 5302 {echo "$as_me:$LINENO: checking for library containing opendir" >&55303 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 ; }4795 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4796 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5304 4797 if test "${ac_cv_search_opendir+set}" = set; then 5305 4798 echo $ECHO_N "(cached) $ECHO_C" >&6 5306 4799 else 5307 4800 ac_func_search_save_LIBS=$LIBS 4801 ac_cv_search_opendir=no 5308 4802 cat >conftest.$ac_ext <<_ACEOF 5309 4803 /* confdefs.h. */ … … 5313 4807 /* end confdefs.h. */ 5314 4808 5315 /* Override any GCC internal prototype to avoid an error. 5316 Use char because int might match the return type of a GCC 5317 builtin and then its argument prototype would still apply. */ 4809 /* Override any gcc2 internal prototype to avoid an error. */ 5318 4810 #ifdef __cplusplus 5319 4811 extern "C" 5320 4812 #endif 4813 /* We use char because int might match the return type of a gcc2 4814 builtin and then its argument prototype would still apply. */ 5321 4815 char opendir (); 5322 4816 int 5323 4817 main () 5324 4818 { 5325 returnopendir ();4819 opendir (); 5326 4820 ; 5327 4821 return 0; 5328 4822 } 5329 4823 _ACEOF 5330 for ac_lib in '' dir; do 5331 if test -z "$ac_lib"; then 5332 ac_res="none required" 5333 else 5334 ac_res=-l$ac_lib 5335 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5336 fi 5337 rm -f conftest.$ac_objext conftest$ac_exeext 5338 if { (ac_try="$ac_link" 5339 case "(($ac_try" in 5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5341 *) ac_try_echo=$ac_try;; 5342 esac 5343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5344 (eval "$ac_link") 2>conftest.er1 4824 rm -f conftest.$ac_objext conftest$ac_exeext 4825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4826 (eval $ac_link) 2>conftest.er1 5345 4827 ac_status=$? 5346 4828 grep -v '^ *+' conftest.er1 >conftest.err … … 5348 4830 cat conftest.err >&5 5349 4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5350 (exit $ac_status); } && { 5351 test -z "$ac_c_werror_flag" || 5352 test ! -s conftest.err 5353 } && test -s conftest$ac_exeext && 5354 $as_test_x conftest$ac_exeext; then 5355 ac_cv_search_opendir=$ac_res 4832 (exit $ac_status); } && 4833 { ac_try='test -z "$ac_c_werror_flag" 4834 || test ! -s conftest.err' 4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4836 (eval $ac_try) 2>&5 4837 ac_status=$? 4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4839 (exit $ac_status); }; } && 4840 { ac_try='test -s conftest$ac_exeext' 4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4842 (eval $ac_try) 2>&5 4843 ac_status=$? 4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4845 (exit $ac_status); }; }; then 4846 ac_cv_search_opendir="none required" 5356 4847 else 5357 4848 echo "$as_me: failed program was:" >&5 5358 4849 sed 's/^/| /' conftest.$ac_ext >&5 5359 4850 5360 5361 fi 5362 5363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5364 conftest$ac_exeext 5365 if test "${ac_cv_search_opendir+set}" = set; then 5366 break 5367 fi 5368 done 5369 if test "${ac_cv_search_opendir+set}" = set; then 5370 : 5371 else 5372 ac_cv_search_opendir=no 5373 fi 5374 rm conftest.$ac_ext 5375 LIBS=$ac_func_search_save_LIBS 5376 fi 5377 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5378 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5379 ac_res=$ac_cv_search_opendir 5380 if test "$ac_res" != no; then 5381 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5382 5383 fi 5384 5385 else 5386 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5387 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 5388 if test "${ac_cv_search_opendir+set}" = set; then 5389 echo $ECHO_N "(cached) $ECHO_C" >&6 5390 else 5391 ac_func_search_save_LIBS=$LIBS 5392 cat >conftest.$ac_ext <<_ACEOF 4851 fi 4852 rm -f conftest.err conftest.$ac_objext \ 4853 conftest$ac_exeext conftest.$ac_ext 4854 if test "$ac_cv_search_opendir" = no; then 4855 for ac_lib in dir; do 4856 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4857 cat >conftest.$ac_ext <<_ACEOF 5393 4858 /* confdefs.h. */ 5394 4859 _ACEOF … … 5397 4862 /* end confdefs.h. */ 5398 4863 5399 /* Override any GCC internal prototype to avoid an error. 5400 Use char because int might match the return type of a GCC 5401 builtin and then its argument prototype would still apply. */ 4864 /* Override any gcc2 internal prototype to avoid an error. */ 5402 4865 #ifdef __cplusplus 5403 4866 extern "C" 5404 4867 #endif 4868 /* We use char because int might match the return type of a gcc2 4869 builtin and then its argument prototype would still apply. */ 5405 4870 char opendir (); 5406 4871 int 5407 4872 main () 5408 4873 { 5409 returnopendir ();4874 opendir (); 5410 4875 ; 5411 4876 return 0; 5412 4877 } 5413 4878 _ACEOF 5414 for ac_lib in '' x; do 5415 if test -z "$ac_lib"; then 5416 ac_res="none required" 5417 else 5418 ac_res=-l$ac_lib 5419 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5420 fi 5421 rm -f conftest.$ac_objext conftest$ac_exeext 5422 if { (ac_try="$ac_link" 5423 case "(($ac_try" in 5424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5425 *) ac_try_echo=$ac_try;; 5426 esac 5427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5428 (eval "$ac_link") 2>conftest.er1 4879 rm -f conftest.$ac_objext conftest$ac_exeext 4880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4881 (eval $ac_link) 2>conftest.er1 5429 4882 ac_status=$? 5430 4883 grep -v '^ *+' conftest.er1 >conftest.err … … 5432 4885 cat conftest.err >&5 5433 4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5434 (exit $ac_status); } && { 5435 test -z "$ac_c_werror_flag" || 5436 test ! -s conftest.err 5437 } && test -s conftest$ac_exeext && 5438 $as_test_x conftest$ac_exeext; then 5439 ac_cv_search_opendir=$ac_res 4887 (exit $ac_status); } && 4888 { ac_try='test -z "$ac_c_werror_flag" 4889 || test ! -s conftest.err' 4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4891 (eval $ac_try) 2>&5 4892 ac_status=$? 4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4894 (exit $ac_status); }; } && 4895 { ac_try='test -s conftest$ac_exeext' 4896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4897 (eval $ac_try) 2>&5 4898 ac_status=$? 4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4900 (exit $ac_status); }; }; then 4901 ac_cv_search_opendir="-l$ac_lib" 4902 break 5440 4903 else 5441 4904 echo "$as_me: failed program was:" >&5 5442 4905 sed 's/^/| /' conftest.$ac_ext >&5 5443 4906 5444 5445 fi 5446 5447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5448 conftest$ac_exeext 5449 if test "${ac_cv_search_opendir+set}" = set; then 5450 break 5451 fi 5452 done 4907 fi 4908 rm -f conftest.err conftest.$ac_objext \ 4909 conftest$ac_exeext conftest.$ac_ext 4910 done 4911 fi 4912 LIBS=$ac_func_search_save_LIBS 4913 fi 4914 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4915 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4916 if test "$ac_cv_search_opendir" != no; then 4917 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4918 4919 fi 4920 4921 else 4922 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4923 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5453 4924 if test "${ac_cv_search_opendir+set}" = set; then 5454 : 5455 else 5456 ac_cv_search_opendir=no 5457 fi 5458 rm conftest.$ac_ext 4925 echo $ECHO_N "(cached) $ECHO_C" >&6 4926 else 4927 ac_func_search_save_LIBS=$LIBS 4928 ac_cv_search_opendir=no 4929 cat >conftest.$ac_ext <<_ACEOF 4930 /* confdefs.h. */ 4931 _ACEOF 4932 cat confdefs.h >>conftest.$ac_ext 4933 cat >>conftest.$ac_ext <<_ACEOF 4934 /* end confdefs.h. */ 4935 4936 /* Override any gcc2 internal prototype to avoid an error. */ 4937 #ifdef __cplusplus 4938 extern "C" 4939 #endif 4940 /* We use char because int might match the return type of a gcc2 4941 builtin and then its argument prototype would still apply. */ 4942 char opendir (); 4943 int 4944 main () 4945 { 4946 opendir (); 4947 ; 4948 return 0; 4949 } 4950 _ACEOF 4951 rm -f conftest.$ac_objext conftest$ac_exeext 4952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4953 (eval $ac_link) 2>conftest.er1 4954 ac_status=$? 4955 grep -v '^ *+' conftest.er1 >conftest.err 4956 rm -f conftest.er1 4957 cat conftest.err >&5 4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4959 (exit $ac_status); } && 4960 { ac_try='test -z "$ac_c_werror_flag" 4961 || test ! -s conftest.err' 4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4963 (eval $ac_try) 2>&5 4964 ac_status=$? 4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4966 (exit $ac_status); }; } && 4967 { ac_try='test -s conftest$ac_exeext' 4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4969 (eval $ac_try) 2>&5 4970 ac_status=$? 4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4972 (exit $ac_status); }; }; then 4973 ac_cv_search_opendir="none required" 4974 else 4975 echo "$as_me: failed program was:" >&5 4976 sed 's/^/| /' conftest.$ac_ext >&5 4977 4978 fi 4979 rm -f conftest.err conftest.$ac_objext \ 4980 conftest$ac_exeext conftest.$ac_ext 4981 if test "$ac_cv_search_opendir" = no; then 4982 for ac_lib in x; do 4983 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4984 cat >conftest.$ac_ext <<_ACEOF 4985 /* confdefs.h. */ 4986 _ACEOF 4987 cat confdefs.h >>conftest.$ac_ext 4988 cat >>conftest.$ac_ext <<_ACEOF 4989 /* end confdefs.h. */ 4990 4991 /* Override any gcc2 internal prototype to avoid an error. */ 4992 #ifdef __cplusplus 4993 extern "C" 4994 #endif 4995 /* We use char because int might match the return type of a gcc2 4996 builtin and then its argument prototype would still apply. */ 4997 char opendir (); 4998 int 4999 main () 5000 { 5001 opendir (); 5002 ; 5003 return 0; 5004 } 5005 _ACEOF 5006 rm -f conftest.$ac_objext conftest$ac_exeext 5007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5008 (eval $ac_link) 2>conftest.er1 5009 ac_status=$? 5010 grep -v '^ *+' conftest.er1 >conftest.err 5011 rm -f conftest.er1 5012 cat conftest.err >&5 5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5014 (exit $ac_status); } && 5015 { ac_try='test -z "$ac_c_werror_flag" 5016 || test ! -s conftest.err' 5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5018 (eval $ac_try) 2>&5 5019 ac_status=$? 5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5021 (exit $ac_status); }; } && 5022 { ac_try='test -s conftest$ac_exeext' 5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5024 (eval $ac_try) 2>&5 5025 ac_status=$? 5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5027 (exit $ac_status); }; }; then 5028 ac_cv_search_opendir="-l$ac_lib" 5029 break 5030 else 5031 echo "$as_me: failed program was:" >&5 5032 sed 's/^/| /' conftest.$ac_ext >&5 5033 5034 fi 5035 rm -f conftest.err conftest.$ac_objext \ 5036 conftest$ac_exeext conftest.$ac_ext 5037 done 5038 fi 5459 5039 LIBS=$ac_func_search_save_LIBS 5460 5040 fi 5461 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5462 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5463 ac_res=$ac_cv_search_opendir 5464 if test "$ac_res" != no; then 5465 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5466 5467 fi 5468 5469 fi 5470 5471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5041 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5042 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5043 if test "$ac_cv_search_opendir" != no; then 5044 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5045 5046 fi 5047 5048 fi 5049 5050 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5051 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5473 5052 if test "${ac_cv_header_stdc+set}" = set; then 5474 5053 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5494 5073 _ACEOF 5495 5074 rm -f conftest.$ac_objext 5496 if { (ac_try="$ac_compile" 5497 case "(($ac_try" in 5498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5499 *) ac_try_echo=$ac_try;; 5500 esac 5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5502 (eval "$ac_compile") 2>conftest.er1 5075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5076 (eval $ac_compile) 2>conftest.er1 5503 5077 ac_status=$? 5504 5078 grep -v '^ *+' conftest.er1 >conftest.err … … 5506 5080 cat conftest.err >&5 5507 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5508 (exit $ac_status); } && { 5509 test -z "$ac_c_werror_flag" || 5510 test ! -s conftest.err 5511 } && test -s conftest.$ac_objext; then 5082 (exit $ac_status); } && 5083 { ac_try='test -z "$ac_c_werror_flag" 5084 || test ! -s conftest.err' 5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5086 (eval $ac_try) 2>&5 5087 ac_status=$? 5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5089 (exit $ac_status); }; } && 5090 { ac_try='test -s conftest.$ac_objext' 5091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5092 (eval $ac_try) 2>&5 5093 ac_status=$? 5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5095 (exit $ac_status); }; }; then 5512 5096 ac_cv_header_stdc=yes 5513 5097 else … … 5515 5099 sed 's/^/| /' conftest.$ac_ext >&5 5516 5100 5517 ac_cv_header_stdc=no 5518 fi 5519 5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5101 ac_cv_header_stdc=no 5102 fi 5103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5521 5104 5522 5105 if test $ac_cv_header_stdc = yes; then … … 5574 5157 /* end confdefs.h. */ 5575 5158 #include <ctype.h> 5576 #include <stdlib.h>5577 5159 #if ((' ' & 0x0FF) == 0x020) 5578 5160 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5594 5176 if (XOR (islower (i), ISLOWER (i)) 5595 5177 || toupper (i) != TOUPPER (i)) 5596 return 2;5597 return 0;5178 exit(2); 5179 exit (0); 5598 5180 } 5599 5181 _ACEOF 5600 5182 rm -f conftest$ac_exeext 5601 if { (ac_try="$ac_link" 5602 case "(($ac_try" in 5603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5604 *) ac_try_echo=$ac_try;; 5605 esac 5606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5607 (eval "$ac_link") 2>&5 5183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5184 (eval $ac_link) 2>&5 5608 5185 ac_status=$? 5609 5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5610 5187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5611 { (case "(($ac_try" in 5612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5613 *) ac_try_echo=$ac_try;; 5614 esac 5615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5616 (eval "$ac_try") 2>&5 5188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5189 (eval $ac_try) 2>&5 5617 5190 ac_status=$? 5618 5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5627 5200 ac_cv_header_stdc=no 5628 5201 fi 5629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5630 fi 5631 5632 5633 fi 5634 fi 5635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5202 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5203 fi 5204 fi 5205 fi 5206 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5207 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5637 5208 if test $ac_cv_header_stdc = yes; then 5638 5209 … … 5654 5225 do 5655 5226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5657 {echo "$as_me:$LINENO: checking for $ac_header" >&55658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }5659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5227 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5228 echo "$as_me:$LINENO: checking for $ac_header" >&5 5229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5230 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5660 5231 echo $ECHO_N "(cached) $ECHO_C" >&6 5661 5232 fi 5662 ac_res=`eval echo '${'$as_ac_Header'}'` 5663 { echo "$as_me:$LINENO: result: $ac_res" >&5 5664 echo "${ECHO_T}$ac_res" >&6; } 5233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5665 5235 else 5666 5236 # Is the header compilable? 5667 {echo "$as_me:$LINENO: checking $ac_header usability" >&55668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 ; }5237 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5669 5239 cat >conftest.$ac_ext <<_ACEOF 5670 5240 /* confdefs.h. */ … … 5677 5247 _ACEOF 5678 5248 rm -f conftest.$ac_objext 5679 if { (ac_try="$ac_compile" 5680 case "(($ac_try" in 5681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5682 *) ac_try_echo=$ac_try;; 5683 esac 5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5685 (eval "$ac_compile") 2>conftest.er1 5249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5250 (eval $ac_compile) 2>conftest.er1 5686 5251 ac_status=$? 5687 5252 grep -v '^ *+' conftest.er1 >conftest.err … … 5689 5254 cat conftest.err >&5 5690 5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5691 (exit $ac_status); } && { 5692 test -z "$ac_c_werror_flag" || 5693 test ! -s conftest.err 5694 } && test -s conftest.$ac_objext; then 5256 (exit $ac_status); } && 5257 { ac_try='test -z "$ac_c_werror_flag" 5258 || test ! -s conftest.err' 5259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5260 (eval $ac_try) 2>&5 5261 ac_status=$? 5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5263 (exit $ac_status); }; } && 5264 { ac_try='test -s conftest.$ac_objext' 5265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5266 (eval $ac_try) 2>&5 5267 ac_status=$? 5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5269 (exit $ac_status); }; }; then 5695 5270 ac_header_compiler=yes 5696 5271 else … … 5698 5273 sed 's/^/| /' conftest.$ac_ext >&5 5699 5274 5700 ac_header_compiler=no 5701 fi 5702 5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5704 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5705 echo "${ECHO_T}$ac_header_compiler" >&6; } 5275 ac_header_compiler=no 5276 fi 5277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5279 echo "${ECHO_T}$ac_header_compiler" >&6 5706 5280 5707 5281 # Is the header present? 5708 {echo "$as_me:$LINENO: checking $ac_header presence" >&55709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 ; }5282 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5710 5284 cat >conftest.$ac_ext <<_ACEOF 5711 5285 /* confdefs.h. */ … … 5716 5290 #include <$ac_header> 5717 5291 _ACEOF 5718 if { (ac_try="$ac_cpp conftest.$ac_ext" 5719 case "(($ac_try" in 5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5721 *) ac_try_echo=$ac_try;; 5722 esac 5723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5725 5294 ac_status=$? 5726 5295 grep -v '^ *+' conftest.er1 >conftest.err … … 5728 5297 cat conftest.err >&5 5729 5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5730 (exit $ac_status); } >/dev/null && { 5731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5732 test ! -s conftest.err 5733 }; then 5299 (exit $ac_status); } >/dev/null; then 5300 if test -s conftest.err; then 5301 ac_cpp_err=$ac_c_preproc_warn_flag 5302 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5303 else 5304 ac_cpp_err= 5305 fi 5306 else 5307 ac_cpp_err=yes 5308 fi 5309 if test -z "$ac_cpp_err"; then 5734 5310 ac_header_preproc=yes 5735 5311 else … … 5739 5315 ac_header_preproc=no 5740 5316 fi 5741 5742 5317 rm -f conftest.err conftest.$ac_ext 5743 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55744 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5319 echo "${ECHO_T}$ac_header_preproc" >&6 5745 5320 5746 5321 # So? What about this header? … … 5766 5341 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5767 5342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5768 5343 ( 5344 cat <<\_ASBOX 5345 ## ------------------------------------------ ## 5346 ## Report this to the AC_PACKAGE_NAME lists. ## 5347 ## ------------------------------------------ ## 5348 _ASBOX 5349 ) | 5350 sed "s/^/$as_me: WARNING: /" >&2 5769 5351 ;; 5770 5352 esac 5771 {echo "$as_me:$LINENO: checking for $ac_header" >&55772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }5773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5353 echo "$as_me:$LINENO: checking for $ac_header" >&5 5354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5355 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5774 5356 echo $ECHO_N "(cached) $ECHO_C" >&6 5775 5357 else 5776 5358 eval "$as_ac_Header=\$ac_header_preproc" 5777 5359 fi 5778 ac_res=`eval echo '${'$as_ac_Header'}'` 5779 { echo "$as_me:$LINENO: result: $ac_res" >&5 5780 echo "${ECHO_T}$ac_res" >&6; } 5360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5781 5362 5782 5363 fi … … 5847 5428 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5848 5429 # for constant arguments. Useless! 5849 {echo "$as_me:$LINENO: checking for working alloca.h" >&55850 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 ; }5430 echo "$as_me:$LINENO: checking for working alloca.h" >&5 5431 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 5851 5432 if test "${ac_cv_working_alloca_h+set}" = set; then 5852 5433 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5863 5444 { 5864 5445 char *p = (char *) alloca (2 * sizeof (int)); 5865 if (p) return 0;5866 5446 ; 5867 5447 return 0; … … 5869 5449 _ACEOF 5870 5450 rm -f conftest.$ac_objext conftest$ac_exeext 5871 if { (ac_try="$ac_link" 5872 case "(($ac_try" in 5873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5874 *) ac_try_echo=$ac_try;; 5875 esac 5876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5877 (eval "$ac_link") 2>conftest.er1 5451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5452 (eval $ac_link) 2>conftest.er1 5878 5453 ac_status=$? 5879 5454 grep -v '^ *+' conftest.er1 >conftest.err … … 5881 5456 cat conftest.err >&5 5882 5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5883 (exit $ac_status); } && { 5884 test -z "$ac_c_werror_flag" || 5885 test ! -s conftest.err 5886 } && test -s conftest$ac_exeext && 5887 $as_test_x conftest$ac_exeext; then 5458 (exit $ac_status); } && 5459 { ac_try='test -z "$ac_c_werror_flag" 5460 || test ! -s conftest.err' 5461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5462 (eval $ac_try) 2>&5 5463 ac_status=$? 5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5465 (exit $ac_status); }; } && 5466 { ac_try='test -s conftest$ac_exeext' 5467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5468 (eval $ac_try) 2>&5 5469 ac_status=$? 5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5471 (exit $ac_status); }; }; then 5888 5472 ac_cv_working_alloca_h=yes 5889 5473 else … … 5891 5475 sed 's/^/| /' conftest.$ac_ext >&5 5892 5476 5893 ac_cv_working_alloca_h=no 5894 fi 5895 5896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5477 ac_cv_working_alloca_h=no 5478 fi 5479 rm -f conftest.err conftest.$ac_objext \ 5897 5480 conftest$ac_exeext conftest.$ac_ext 5898 5481 fi 5899 {echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55900 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 ; }5482 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5483 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5901 5484 if test $ac_cv_working_alloca_h = yes; then 5902 5485 … … 5907 5490 fi 5908 5491 5909 {echo "$as_me:$LINENO: checking for alloca" >&55910 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 ; }5492 echo "$as_me:$LINENO: checking for alloca" >&5 5493 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5911 5494 if test "${ac_cv_func_alloca_works+set}" = set; then 5912 5495 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5925 5508 # define alloca _alloca 5926 5509 # else 5927 # if defHAVE_ALLOCA_H5510 # if HAVE_ALLOCA_H 5928 5511 # include <alloca.h> 5929 5512 # else … … 5943 5526 { 5944 5527 char *p = (char *) alloca (1); 5945 if (p) return 0;5946 5528 ; 5947 5529 return 0; … … 5949 5531 _ACEOF 5950 5532 rm -f conftest.$ac_objext conftest$ac_exeext 5951 if { (ac_try="$ac_link" 5952 case "(($ac_try" in 5953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5954 *) ac_try_echo=$ac_try;; 5955 esac 5956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5957 (eval "$ac_link") 2>conftest.er1 5533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5534 (eval $ac_link) 2>conftest.er1 5958 5535 ac_status=$? 5959 5536 grep -v '^ *+' conftest.er1 >conftest.err … … 5961 5538 cat conftest.err >&5 5962 5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5963 (exit $ac_status); } && { 5964 test -z "$ac_c_werror_flag" || 5965 test ! -s conftest.err 5966 } && test -s conftest$ac_exeext && 5967 $as_test_x conftest$ac_exeext; then 5540 (exit $ac_status); } && 5541 { ac_try='test -z "$ac_c_werror_flag" 5542 || test ! -s conftest.err' 5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5544 (eval $ac_try) 2>&5 5545 ac_status=$? 5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5547 (exit $ac_status); }; } && 5548 { ac_try='test -s conftest$ac_exeext' 5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5550 (eval $ac_try) 2>&5 5551 ac_status=$? 5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5553 (exit $ac_status); }; }; then 5968 5554 ac_cv_func_alloca_works=yes 5969 5555 else … … 5971 5557 sed 's/^/| /' conftest.$ac_ext >&5 5972 5558 5973 ac_cv_func_alloca_works=no 5974 fi 5975 5976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5559 ac_cv_func_alloca_works=no 5560 fi 5561 rm -f conftest.err conftest.$ac_objext \ 5977 5562 conftest$ac_exeext conftest.$ac_ext 5978 5563 fi 5979 {echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55980 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 ; }5564 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5565 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 5981 5566 5982 5567 if test $ac_cv_func_alloca_works = yes; then … … 5992 5577 # use ar to extract alloca.o from them instead of compiling alloca.c. 5993 5578 5994 ALLOCA= \${LIBOBJDIR}alloca.$ac_objext5579 ALLOCA=alloca.$ac_objext 5995 5580 5996 5581 cat >>confdefs.h <<\_ACEOF … … 5999 5584 6000 5585 6001 {echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56002 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 ; }5586 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5587 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6003 5588 if test "${ac_cv_os_cray+set}" = set; then 6004 5589 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6010 5595 cat >>conftest.$ac_ext <<_ACEOF 6011 5596 /* end confdefs.h. */ 6012 #if defined CRAY && ! defined CRAY25597 #if defined(CRAY) && ! defined(CRAY2) 6013 5598 webecray 6014 5599 #else … … 6026 5611 6027 5612 fi 6028 {echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56029 echo "${ECHO_T}$ac_cv_os_cray" >&6 ; }5613 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 5614 echo "${ECHO_T}$ac_cv_os_cray" >&6 6030 5615 if test $ac_cv_os_cray = yes; then 6031 5616 for ac_func in _getb67 GETB67 getb67; do 6032 5617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6033 {echo "$as_me:$LINENO: checking for $ac_func" >&56034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then5618 echo "$as_me:$LINENO: checking for $ac_func" >&5 5619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5620 if eval "test \"\${$as_ac_var+set}\" = set"; then 6036 5621 echo $ECHO_N "(cached) $ECHO_C" >&6 6037 5622 else … … 6059 5644 #undef $ac_func 6060 5645 6061 /* Override any GCC internal prototype to avoid an error. 6062 Use char because int might match the return type of a GCC 6063 builtin and then its argument prototype would still apply. */ 5646 /* Override any gcc2 internal prototype to avoid an error. */ 6064 5647 #ifdef __cplusplus 6065 5648 extern "C" 5649 { 6066 5650 #endif 5651 /* We use char because int might match the return type of a gcc2 5652 builtin and then its argument prototype would still apply. */ 6067 5653 char $ac_func (); 6068 5654 /* The GNU C library defines this for functions which it implements 6069 5655 to always fail with ENOSYS. Some functions are actually named 6070 5656 something starting with __ and the normal name is an alias. */ 6071 #if defined __stub_$ac_func || defined __stub___$ac_func5657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6072 5658 choke me 5659 #else 5660 char (*f) () = $ac_func; 5661 #endif 5662 #ifdef __cplusplus 5663 } 6073 5664 #endif 6074 5665 … … 6076 5667 main () 6077 5668 { 6078 return $ac_func ();5669 return f != $ac_func; 6079 5670 ; 6080 5671 return 0; … … 6082 5673 _ACEOF 6083 5674 rm -f conftest.$ac_objext conftest$ac_exeext 6084 if { (ac_try="$ac_link" 6085 case "(($ac_try" in 6086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6087 *) ac_try_echo=$ac_try;; 6088 esac 6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6090 (eval "$ac_link") 2>conftest.er1 5675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5676 (eval $ac_link) 2>conftest.er1 6091 5677 ac_status=$? 6092 5678 grep -v '^ *+' conftest.er1 >conftest.err … … 6094 5680 cat conftest.err >&5 6095 5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6096 (exit $ac_status); } && { 6097 test -z "$ac_c_werror_flag" || 6098 test ! -s conftest.err 6099 } && test -s conftest$ac_exeext && 6100 $as_test_x conftest$ac_exeext; then 5682 (exit $ac_status); } && 5683 { ac_try='test -z "$ac_c_werror_flag" 5684 || test ! -s conftest.err' 5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5686 (eval $ac_try) 2>&5 5687 ac_status=$? 5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5689 (exit $ac_status); }; } && 5690 { ac_try='test -s conftest$ac_exeext' 5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5692 (eval $ac_try) 2>&5 5693 ac_status=$? 5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5695 (exit $ac_status); }; }; then 6101 5696 eval "$as_ac_var=yes" 6102 5697 else … … 6104 5699 sed 's/^/| /' conftest.$ac_ext >&5 6105 5700 6106 eval "$as_ac_var=no" 6107 fi 6108 6109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5701 eval "$as_ac_var=no" 5702 fi 5703 rm -f conftest.err conftest.$ac_objext \ 6110 5704 conftest$ac_exeext conftest.$ac_ext 6111 5705 fi 6112 ac_res=`eval echo '${'$as_ac_var'}'` 6113 { echo "$as_me:$LINENO: result: $ac_res" >&5 6114 echo "${ECHO_T}$ac_res" >&6; } 5706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6115 5708 if test `eval echo '${'$as_ac_var'}'` = yes; then 6116 5709 … … 6125 5718 fi 6126 5719 6127 {echo "$as_me:$LINENO: checking stack direction for C alloca" >&56128 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 ; }5720 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 5721 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6129 5722 if test "${ac_cv_c_stack_direction+set}" = set; then 6130 5723 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6139 5732 cat >>conftest.$ac_ext <<_ACEOF 6140 5733 /* end confdefs.h. */ 6141 $ac_includes_default6142 5734 int 6143 5735 find_stack_direction () … … 6157 5749 main () 6158 5750 { 6159 return find_stack_direction () < 0;5751 exit (find_stack_direction () < 0); 6160 5752 } 6161 5753 _ACEOF 6162 5754 rm -f conftest$ac_exeext 6163 if { (ac_try="$ac_link" 6164 case "(($ac_try" in 6165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6166 *) ac_try_echo=$ac_try;; 6167 esac 6168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6169 (eval "$ac_link") 2>&5 5755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5756 (eval $ac_link) 2>&5 6170 5757 ac_status=$? 6171 5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6172 5759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6173 { (case "(($ac_try" in 6174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6175 *) ac_try_echo=$ac_try;; 6176 esac 6177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6178 (eval "$ac_try") 2>&5 5760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5761 (eval $ac_try) 2>&5 6179 5762 ac_status=$? 6180 5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 6189 5772 ac_cv_c_stack_direction=-1 6190 5773 fi 6191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6192 fi 6193 6194 6195 fi 6196 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6197 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } 5774 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5775 fi 5776 fi 5777 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5778 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6198 5779 6199 5780 cat >>confdefs.h <<_ACEOF … … 6205 5786 6206 5787 if test $ac_cv_c_compiler_gnu = yes; then 6207 {echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56208 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 ; }5788 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 5789 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6209 5790 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6210 5791 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6247 5828 fi 6248 5829 fi 6249 {echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56250 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 ; }5830 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 5831 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6251 5832 if test $ac_cv_prog_gcc_traditional = yes; then 6252 5833 CC="$CC -traditional" … … 6254 5835 fi 6255 5836 6256 {echo "$as_me:$LINENO: checking return type of signal handlers" >&56257 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 ; }5837 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5838 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6258 5839 if test "${ac_cv_type_signal+set}" = set; then 6259 5840 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6267 5848 #include <sys/types.h> 6268 5849 #include <signal.h> 5850 #ifdef signal 5851 # undef signal 5852 #endif 5853 #ifdef __cplusplus 5854 extern "C" void (*signal (int, void (*)(int)))(int); 5855 #else 5856 void (*signal ()) (); 5857 #endif 6269 5858 6270 5859 int 6271 5860 main () 6272 5861 { 6273 return *(signal (0, 0)) (0) == 1;5862 int i; 6274 5863 ; 6275 5864 return 0; … … 6277 5866 _ACEOF 6278 5867 rm -f conftest.$ac_objext 6279 if { (ac_try="$ac_compile" 6280 case "(($ac_try" in 6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6282 *) ac_try_echo=$ac_try;; 6283 esac 6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6285 (eval "$ac_compile") 2>conftest.er1 5868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5869 (eval $ac_compile) 2>conftest.er1 6286 5870 ac_status=$? 6287 5871 grep -v '^ *+' conftest.er1 >conftest.err … … 6289 5873 cat conftest.err >&5 6290 5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6291 (exit $ac_status); } && { 6292 test -z "$ac_c_werror_flag" || 6293 test ! -s conftest.err 6294 } && test -s conftest.$ac_objext; then 6295 ac_cv_type_signal=int 5875 (exit $ac_status); } && 5876 { ac_try='test -z "$ac_c_werror_flag" 5877 || test ! -s conftest.err' 5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5879 (eval $ac_try) 2>&5 5880 ac_status=$? 5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5882 (exit $ac_status); }; } && 5883 { ac_try='test -s conftest.$ac_objext' 5884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5885 (eval $ac_try) 2>&5 5886 ac_status=$? 5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5888 (exit $ac_status); }; }; then 5889 ac_cv_type_signal=void 6296 5890 else 6297 5891 echo "$as_me: failed program was:" >&5 6298 5892 sed 's/^/| /' conftest.$ac_ext >&5 6299 5893 6300 ac_cv_type_signal=void 6301 fi 6302 6303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6304 fi 6305 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6306 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 5894 ac_cv_type_signal=int 5895 fi 5896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5897 fi 5898 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5899 echo "${ECHO_T}$ac_cv_type_signal" >&6 6307 5900 6308 5901 cat >>confdefs.h <<_ACEOF … … 6315 5908 do 6316 5909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6317 {echo "$as_me:$LINENO: checking for $ac_func" >&56318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then5910 echo "$as_me:$LINENO: checking for $ac_func" >&5 5911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5912 if eval "test \"\${$as_ac_var+set}\" = set"; then 6320 5913 echo $ECHO_N "(cached) $ECHO_C" >&6 6321 5914 else … … 6343 5936 #undef $ac_func 6344 5937 6345 /* Override any GCC internal prototype to avoid an error. 6346 Use char because int might match the return type of a GCC 6347 builtin and then its argument prototype would still apply. */ 5938 /* Override any gcc2 internal prototype to avoid an error. */ 6348 5939 #ifdef __cplusplus 6349 5940 extern "C" 5941 { 6350 5942 #endif 5943 /* We use char because int might match the return type of a gcc2 5944 builtin and then its argument prototype would still apply. */ 6351 5945 char $ac_func (); 6352 5946 /* The GNU C library defines this for functions which it implements 6353 5947 to always fail with ENOSYS. Some functions are actually named 6354 5948 something starting with __ and the normal name is an alias. */ 6355 #if defined __stub_$ac_func || defined __stub___$ac_func5949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6356 5950 choke me 5951 #else 5952 char (*f) () = $ac_func; 5953 #endif 5954 #ifdef __cplusplus 5955 } 6357 5956 #endif 6358 5957 … … 6360 5959 main () 6361 5960 { 6362 return $ac_func ();5961 return f != $ac_func; 6363 5962 ; 6364 5963 return 0; … … 6366 5965 _ACEOF 6367 5966 rm -f conftest.$ac_objext conftest$ac_exeext 6368 if { (ac_try="$ac_link" 6369 case "(($ac_try" in 6370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6371 *) ac_try_echo=$ac_try;; 6372 esac 6373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6374 (eval "$ac_link") 2>conftest.er1 5967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5968 (eval $ac_link) 2>conftest.er1 6375 5969 ac_status=$? 6376 5970 grep -v '^ *+' conftest.er1 >conftest.err … … 6378 5972 cat conftest.err >&5 6379 5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6380 (exit $ac_status); } && { 6381 test -z "$ac_c_werror_flag" || 6382 test ! -s conftest.err 6383 } && test -s conftest$ac_exeext && 6384 $as_test_x conftest$ac_exeext; then 5974 (exit $ac_status); } && 5975 { ac_try='test -z "$ac_c_werror_flag" 5976 || test ! -s conftest.err' 5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5978 (eval $ac_try) 2>&5 5979 ac_status=$? 5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5981 (exit $ac_status); }; } && 5982 { ac_try='test -s conftest$ac_exeext' 5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5984 (eval $ac_try) 2>&5 5985 ac_status=$? 5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5987 (exit $ac_status); }; }; then 6385 5988 eval "$as_ac_var=yes" 6386 5989 else … … 6388 5991 sed 's/^/| /' conftest.$ac_ext >&5 6389 5992 6390 eval "$as_ac_var=no" 6391 fi 6392 6393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5993 eval "$as_ac_var=no" 5994 fi 5995 rm -f conftest.err conftest.$ac_objext \ 6394 5996 conftest$ac_exeext conftest.$ac_ext 6395 5997 fi 6396 ac_res=`eval echo '${'$as_ac_var'}'` 6397 { echo "$as_me:$LINENO: result: $ac_res" >&5 6398 echo "${ECHO_T}$ac_res" >&6; } 5998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6399 6000 if test `eval echo '${'$as_ac_var'}'` = yes; then 6400 6001 cat >>confdefs.h <<_ACEOF … … 6402 6003 _ACEOF 6403 6004 6404 {echo "$as_me:$LINENO: checking for _doprnt" >&56405 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 ; }6005 echo "$as_me:$LINENO: checking for _doprnt" >&5 6006 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6406 6007 if test "${ac_cv_func__doprnt+set}" = set; then 6407 6008 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6430 6031 #undef _doprnt 6431 6032 6432 /* Override any GCC internal prototype to avoid an error. 6433 Use char because int might match the return type of a GCC 6434 builtin and then its argument prototype would still apply. */ 6033 /* Override any gcc2 internal prototype to avoid an error. */ 6435 6034 #ifdef __cplusplus 6436 6035 extern "C" 6036 { 6437 6037 #endif 6038 /* We use char because int might match the return type of a gcc2 6039 builtin and then its argument prototype would still apply. */ 6438 6040 char _doprnt (); 6439 6041 /* The GNU C library defines this for functions which it implements 6440 6042 to always fail with ENOSYS. Some functions are actually named 6441 6043 something starting with __ and the normal name is an alias. */ 6442 #if defined __stub__doprnt || defined __stub____doprnt6044 #if defined (__stub__doprnt) || defined (__stub____doprnt) 6443 6045 choke me 6046 #else 6047 char (*f) () = _doprnt; 6048 #endif 6049 #ifdef __cplusplus 6050 } 6444 6051 #endif 6445 6052 … … 6447 6054 main () 6448 6055 { 6449 return _doprnt ();6056 return f != _doprnt; 6450 6057 ; 6451 6058 return 0; … … 6453 6060 _ACEOF 6454 6061 rm -f conftest.$ac_objext conftest$ac_exeext 6455 if { (ac_try="$ac_link" 6456 case "(($ac_try" in 6457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6458 *) ac_try_echo=$ac_try;; 6459 esac 6460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6461 (eval "$ac_link") 2>conftest.er1 6062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6063 (eval $ac_link) 2>conftest.er1 6462 6064 ac_status=$? 6463 6065 grep -v '^ *+' conftest.er1 >conftest.err … … 6465 6067 cat conftest.err >&5 6466 6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6467 (exit $ac_status); } && { 6468 test -z "$ac_c_werror_flag" || 6469 test ! -s conftest.err 6470 } && test -s conftest$ac_exeext && 6471 $as_test_x conftest$ac_exeext; then 6069 (exit $ac_status); } && 6070 { ac_try='test -z "$ac_c_werror_flag" 6071 || test ! -s conftest.err' 6072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6073 (eval $ac_try) 2>&5 6074 ac_status=$? 6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6076 (exit $ac_status); }; } && 6077 { ac_try='test -s conftest$ac_exeext' 6078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6079 (eval $ac_try) 2>&5 6080 ac_status=$? 6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6082 (exit $ac_status); }; }; then 6472 6083 ac_cv_func__doprnt=yes 6473 6084 else … … 6475 6086 sed 's/^/| /' conftest.$ac_ext >&5 6476 6087 6477 ac_cv_func__doprnt=no 6478 fi 6479 6480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6088 ac_cv_func__doprnt=no 6089 fi 6090 rm -f conftest.err conftest.$ac_objext \ 6481 6091 conftest$ac_exeext conftest.$ac_ext 6482 6092 fi 6483 {echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56484 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 ; }6093 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6094 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6485 6095 if test $ac_cv_func__doprnt = yes; then 6486 6096 … … 6508 6118 do 6509 6119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6510 {echo "$as_me:$LINENO: checking for $ac_func" >&56511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then6120 echo "$as_me:$LINENO: checking for $ac_func" >&5 6121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6122 if eval "test \"\${$as_ac_var+set}\" = set"; then 6513 6123 echo $ECHO_N "(cached) $ECHO_C" >&6 6514 6124 else … … 6536 6146 #undef $ac_func 6537 6147 6538 /* Override any GCC internal prototype to avoid an error. 6539 Use char because int might match the return type of a GCC 6540 builtin and then its argument prototype would still apply. */ 6148 /* Override any gcc2 internal prototype to avoid an error. */ 6541 6149 #ifdef __cplusplus 6542 6150 extern "C" 6151 { 6543 6152 #endif 6153 /* We use char because int might match the return type of a gcc2 6154 builtin and then its argument prototype would still apply. */ 6544 6155 char $ac_func (); 6545 6156 /* The GNU C library defines this for functions which it implements 6546 6157 to always fail with ENOSYS. Some functions are actually named 6547 6158 something starting with __ and the normal name is an alias. */ 6548 #if defined __stub_$ac_func || defined __stub___$ac_func6159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6549 6160 choke me 6161 #else 6162 char (*f) () = $ac_func; 6163 #endif 6164 #ifdef __cplusplus 6165 } 6550 6166 #endif 6551 6167 … … 6553 6169 main () 6554 6170 { 6555 return $ac_func ();6171 return f != $ac_func; 6556 6172 ; 6557 6173 return 0; … … 6559 6175 _ACEOF 6560 6176 rm -f conftest.$ac_objext conftest$ac_exeext 6561 if { (ac_try="$ac_link" 6562 case "(($ac_try" in 6563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6564 *) ac_try_echo=$ac_try;; 6565 esac 6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6567 (eval "$ac_link") 2>conftest.er1 6177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6178 (eval $ac_link) 2>conftest.er1 6568 6179 ac_status=$? 6569 6180 grep -v '^ *+' conftest.er1 >conftest.err … … 6571 6182 cat conftest.err >&5 6572 6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6573 (exit $ac_status); } && { 6574 test -z "$ac_c_werror_flag" || 6575 test ! -s conftest.err 6576 } && test -s conftest$ac_exeext && 6577 $as_test_x conftest$ac_exeext; then 6184 (exit $ac_status); } && 6185 { ac_try='test -z "$ac_c_werror_flag" 6186 || test ! -s conftest.err' 6187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6188 (eval $ac_try) 2>&5 6189 ac_status=$? 6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6191 (exit $ac_status); }; } && 6192 { ac_try='test -s conftest$ac_exeext' 6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6194 (eval $ac_try) 2>&5 6195 ac_status=$? 6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6197 (exit $ac_status); }; }; then 6578 6198 eval "$as_ac_var=yes" 6579 6199 else … … 6581 6201 sed 's/^/| /' conftest.$ac_ext >&5 6582 6202 6583 eval "$as_ac_var=no" 6584 fi 6585 6586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6203 eval "$as_ac_var=no" 6204 fi 6205 rm -f conftest.err conftest.$ac_objext \ 6587 6206 conftest$ac_exeext conftest.$ac_ext 6588 6207 fi 6589 ac_res=`eval echo '${'$as_ac_var'}'` 6590 { echo "$as_me:$LINENO: result: $ac_res" >&5 6591 echo "${ECHO_T}$ac_res" >&6; } 6208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6592 6210 if test `eval echo '${'$as_ac_var'}'` = yes; then 6593 6211 cat >>confdefs.h <<_ACEOF … … 6604 6222 do 6605 6223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6606 {echo "$as_me:$LINENO: checking for $ac_func" >&56607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then6224 echo "$as_me:$LINENO: checking for $ac_func" >&5 6225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6226 if eval "test \"\${$as_ac_var+set}\" = set"; then 6609 6227 echo $ECHO_N "(cached) $ECHO_C" >&6 6610 6228 else … … 6632 6250 #undef $ac_func 6633 6251 6634 /* Override any GCC internal prototype to avoid an error. 6635 Use char because int might match the return type of a GCC 6636 builtin and then its argument prototype would still apply. */ 6252 /* Override any gcc2 internal prototype to avoid an error. */ 6637 6253 #ifdef __cplusplus 6638 6254 extern "C" 6255 { 6639 6256 #endif 6257 /* We use char because int might match the return type of a gcc2 6258 builtin and then its argument prototype would still apply. */ 6640 6259 char $ac_func (); 6641 6260 /* The GNU C library defines this for functions which it implements 6642 6261 to always fail with ENOSYS. Some functions are actually named 6643 6262 something starting with __ and the normal name is an alias. */ 6644 #if defined __stub_$ac_func || defined __stub___$ac_func6263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6645 6264 choke me 6265 #else 6266 char (*f) () = $ac_func; 6267 #endif 6268 #ifdef __cplusplus 6269 } 6646 6270 #endif 6647 6271 … … 6649 6273 main () 6650 6274 { 6651 return $ac_func ();6275 return f != $ac_func; 6652 6276 ; 6653 6277 return 0; … … 6655 6279 _ACEOF 6656 6280 rm -f conftest.$ac_objext conftest$ac_exeext 6657 if { (ac_try="$ac_link" 6658 case "(($ac_try" in 6659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6660 *) ac_try_echo=$ac_try;; 6661 esac 6662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6663 (eval "$ac_link") 2>conftest.er1 6281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6282 (eval $ac_link) 2>conftest.er1 6664 6283 ac_status=$? 6665 6284 grep -v '^ *+' conftest.er1 >conftest.err … … 6667 6286 cat conftest.err >&5 6668 6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6669 (exit $ac_status); } && { 6670 test -z "$ac_c_werror_flag" || 6671 test ! -s conftest.err 6672 } && test -s conftest$ac_exeext && 6673 $as_test_x conftest$ac_exeext; then 6288 (exit $ac_status); } && 6289 { ac_try='test -z "$ac_c_werror_flag" 6290 || test ! -s conftest.err' 6291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6292 (eval $ac_try) 2>&5 6293 ac_status=$? 6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6295 (exit $ac_status); }; } && 6296 { ac_try='test -s conftest$ac_exeext' 6297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6298 (eval $ac_try) 2>&5 6299 ac_status=$? 6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6301 (exit $ac_status); }; }; then 6674 6302 eval "$as_ac_var=yes" 6675 6303 else … … 6677 6305 sed 's/^/| /' conftest.$ac_ext >&5 6678 6306 6679 eval "$as_ac_var=no" 6680 fi 6681 6682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6307 eval "$as_ac_var=no" 6308 fi 6309 rm -f conftest.err conftest.$ac_objext \ 6683 6310 conftest$ac_exeext conftest.$ac_ext 6684 6311 fi 6685 ac_res=`eval echo '${'$as_ac_var'}'` 6686 { echo "$as_me:$LINENO: result: $ac_res" >&5 6687 echo "${ECHO_T}$ac_res" >&6; } 6312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6688 6314 if test `eval echo '${'$as_ac_var'}'` = yes; then 6689 6315 cat >>confdefs.h <<_ACEOF … … 6692 6318 6693 6319 else 6694 case " $LIBOBJS " in 6320 case $LIBOBJS in 6321 "$ac_func.$ac_objext" | \ 6322 *" $ac_func.$ac_objext" | \ 6323 "$ac_func.$ac_objext "* | \ 6695 6324 *" $ac_func.$ac_objext "* ) ;; 6696 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6697 ;; 6325 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6698 6326 esac 6699 6327 … … 6704 6332 6705 6333 6706 {echo "$as_me:$LINENO: checking for textdomain" >&56707 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 ; }6334 echo "$as_me:$LINENO: checking for textdomain" >&5 6335 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6708 6336 if test "${ac_cv_func_textdomain+set}" = set; then 6709 6337 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6732 6360 #undef textdomain 6733 6361 6734 /* Override any GCC internal prototype to avoid an error. 6735 Use char because int might match the return type of a GCC 6736 builtin and then its argument prototype would still apply. */ 6362 /* Override any gcc2 internal prototype to avoid an error. */ 6737 6363 #ifdef __cplusplus 6738 6364 extern "C" 6365 { 6739 6366 #endif 6367 /* We use char because int might match the return type of a gcc2 6368 builtin and then its argument prototype would still apply. */ 6740 6369 char textdomain (); 6741 6370 /* The GNU C library defines this for functions which it implements 6742 6371 to always fail with ENOSYS. Some functions are actually named 6743 6372 something starting with __ and the normal name is an alias. */ 6744 #if defined __stub_textdomain || defined __stub___textdomain6373 #if defined (__stub_textdomain) || defined (__stub___textdomain) 6745 6374 choke me 6375 #else 6376 char (*f) () = textdomain; 6377 #endif 6378 #ifdef __cplusplus 6379 } 6746 6380 #endif 6747 6381 … … 6749 6383 main () 6750 6384 { 6751 return textdomain ();6385 return f != textdomain; 6752 6386 ; 6753 6387 return 0; … … 6755 6389 _ACEOF 6756 6390 rm -f conftest.$ac_objext conftest$ac_exeext 6757 if { (ac_try="$ac_link" 6758 case "(($ac_try" in 6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6760 *) ac_try_echo=$ac_try;; 6761 esac 6762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6763 (eval "$ac_link") 2>conftest.er1 6391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6392 (eval $ac_link) 2>conftest.er1 6764 6393 ac_status=$? 6765 6394 grep -v '^ *+' conftest.er1 >conftest.err … … 6767 6396 cat conftest.err >&5 6768 6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6769 (exit $ac_status); } && { 6770 test -z "$ac_c_werror_flag" || 6771 test ! -s conftest.err 6772 } && test -s conftest$ac_exeext && 6773 $as_test_x conftest$ac_exeext; then 6398 (exit $ac_status); } && 6399 { ac_try='test -z "$ac_c_werror_flag" 6400 || test ! -s conftest.err' 6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6402 (eval $ac_try) 2>&5 6403 ac_status=$? 6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6405 (exit $ac_status); }; } && 6406 { ac_try='test -s conftest$ac_exeext' 6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6408 (eval $ac_try) 2>&5 6409 ac_status=$? 6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6411 (exit $ac_status); }; }; then 6774 6412 ac_cv_func_textdomain=yes 6775 6413 else … … 6777 6415 sed 's/^/| /' conftest.$ac_ext >&5 6778 6416 6779 ac_cv_func_textdomain=no 6780 fi 6781 6782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6417 ac_cv_func_textdomain=no 6418 fi 6419 rm -f conftest.err conftest.$ac_objext \ 6783 6420 conftest$ac_exeext conftest.$ac_ext 6784 6421 fi 6785 {echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56786 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 ; }6422 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 6423 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6787 6424 if test $ac_cv_func_textdomain = yes; then 6788 6425 cat >>confdefs.h <<\_ACEOF … … 6796 6433 # a non-standard Path 6797 6434 # is there a better way to do this?? 6798 {echo "$as_me:$LINENO: checking for OS to set JNI options" >&56799 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6 ; }6435 echo "$as_me:$LINENO: checking for OS to set JNI options" >&5 6436 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6 6800 6437 # set defaults 6801 6438 JNIINC="" … … 6804 6441 6805 6442 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6806 {echo "$as_me:$LINENO: result: Darwin" >&56807 echo "${ECHO_T}Darwin" >&6 ; }6443 echo "$as_me:$LINENO: result: Darwin" >&5 6444 echo "${ECHO_T}Darwin" >&6 6808 6445 JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ " 6809 6446 JNISUFFIX="jnilib" … … 6811 6448 fi 6812 6449 if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then 6813 {echo "$as_me:$LINENO: result: Solaris" >&56814 echo "${ECHO_T}Solaris" >&6 ; }6450 echo "$as_me:$LINENO: result: Solaris" >&5 6451 echo "${ECHO_T}Solaris" >&6 6815 6452 JNIINC="-I\$(JAVA_HOME)/include/solaris " 6816 6453 fi 6817 6454 if test "`(uname -s) 2> /dev/null`" = 'Linux'; then 6818 {echo "$as_me:$LINENO: result: Linux" >&56819 echo "${ECHO_T}Linux" >&6 ; }6455 echo "$as_me:$LINENO: result: Linux" >&5 6456 echo "${ECHO_T}Linux" >&6 6820 6457 JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include " 6821 6458 fi … … 6827 6464 # *** Custom checking (based on GNU tar configure.in) *** 6828 6465 # --------------------------------------------------------------------------- 6829 {echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56830 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 ; }6466 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 6467 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 6831 6468 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6832 { echo "$as_me:$LINENO: result: yes" >&5 6833 echo "${ECHO_T}yes" >&6; } 6834 case " $LIBOBJS " in 6469 echo "$as_me:$LINENO: result: yes" >&5 6470 echo "${ECHO_T}yes" >&6 6471 case $LIBOBJS in 6472 "gmalloc.$ac_objext" | \ 6473 *" gmalloc.$ac_objext" | \ 6474 "gmalloc.$ac_objext "* | \ 6835 6475 *" gmalloc.$ac_objext "* ) ;; 6836 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6837 ;; 6476 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6838 6477 esac 6839 6478 … … 6843 6482 6844 6483 else 6845 {echo "$as_me:$LINENO: result: no" >&56846 echo "${ECHO_T}no" >&6 ; }6484 echo "$as_me:$LINENO: result: no" >&5 6485 echo "${ECHO_T}no" >&6 6847 6486 6848 6487 for ac_func in valloc 6849 6488 do 6850 6489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6851 {echo "$as_me:$LINENO: checking for $ac_func" >&56852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then6490 echo "$as_me:$LINENO: checking for $ac_func" >&5 6491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6492 if eval "test \"\${$as_ac_var+set}\" = set"; then 6854 6493 echo $ECHO_N "(cached) $ECHO_C" >&6 6855 6494 else … … 6877 6516 #undef $ac_func 6878 6517 6879 /* Override any GCC internal prototype to avoid an error. 6880 Use char because int might match the return type of a GCC 6881 builtin and then its argument prototype would still apply. */ 6518 /* Override any gcc2 internal prototype to avoid an error. */ 6882 6519 #ifdef __cplusplus 6883 6520 extern "C" 6521 { 6884 6522 #endif 6523 /* We use char because int might match the return type of a gcc2 6524 builtin and then its argument prototype would still apply. */ 6885 6525 char $ac_func (); 6886 6526 /* The GNU C library defines this for functions which it implements 6887 6527 to always fail with ENOSYS. Some functions are actually named 6888 6528 something starting with __ and the normal name is an alias. */ 6889 #if defined __stub_$ac_func || defined __stub___$ac_func6529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6890 6530 choke me 6531 #else 6532 char (*f) () = $ac_func; 6533 #endif 6534 #ifdef __cplusplus 6535 } 6891 6536 #endif 6892 6537 … … 6894 6539 main () 6895 6540 { 6896 return $ac_func ();6541 return f != $ac_func; 6897 6542 ; 6898 6543 return 0; … … 6900 6545 _ACEOF 6901 6546 rm -f conftest.$ac_objext conftest$ac_exeext 6902 if { (ac_try="$ac_link" 6903 case "(($ac_try" in 6904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6905 *) ac_try_echo=$ac_try;; 6906 esac 6907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6908 (eval "$ac_link") 2>conftest.er1 6547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6548 (eval $ac_link) 2>conftest.er1 6909 6549 ac_status=$? 6910 6550 grep -v '^ *+' conftest.er1 >conftest.err … … 6912 6552 cat conftest.err >&5 6913 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6914 (exit $ac_status); } && { 6915 test -z "$ac_c_werror_flag" || 6916 test ! -s conftest.err 6917 } && test -s conftest$ac_exeext && 6918 $as_test_x conftest$ac_exeext; then 6554 (exit $ac_status); } && 6555 { ac_try='test -z "$ac_c_werror_flag" 6556 || test ! -s conftest.err' 6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6558 (eval $ac_try) 2>&5 6559 ac_status=$? 6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6561 (exit $ac_status); }; } && 6562 { ac_try='test -s conftest$ac_exeext' 6563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6564 (eval $ac_try) 2>&5 6565 ac_status=$? 6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6567 (exit $ac_status); }; }; then 6919 6568 eval "$as_ac_var=yes" 6920 6569 else … … 6922 6571 sed 's/^/| /' conftest.$ac_ext >&5 6923 6572 6924 eval "$as_ac_var=no" 6925 fi 6926 6927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6573 eval "$as_ac_var=no" 6574 fi 6575 rm -f conftest.err conftest.$ac_objext \ 6928 6576 conftest$ac_exeext conftest.$ac_ext 6929 6577 fi 6930 ac_res=`eval echo '${'$as_ac_var'}'` 6931 { echo "$as_me:$LINENO: result: $ac_res" >&5 6932 echo "${ECHO_T}$ac_res" >&6; } 6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6933 6580 if test `eval echo '${'$as_ac_var'}'` = yes; then 6934 6581 cat >>confdefs.h <<_ACEOF … … 6941 6588 fi 6942 6589 6943 {echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56944 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 ; }6945 6946 # Check whether --with-dmalloc was given.6590 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6591 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6592 6593 # Check whether --with-dmalloc or --without-dmalloc was given. 6947 6594 if test "${with_dmalloc+set}" = set; then 6948 withval=$with_dmalloc; if test "$withval" = yes; then 6949 { echo "$as_me:$LINENO: result: yes" >&5 6950 echo "${ECHO_T}yes" >&6; } 6595 withval="$with_dmalloc" 6596 if test "$withval" = yes; then 6597 echo "$as_me:$LINENO: result: yes" >&5 6598 echo "${ECHO_T}yes" >&6 6951 6599 cat >>confdefs.h <<\_ACEOF 6952 6600 #define WITH_DMALLOC 1 … … 6956 6604 LDFLAGS="$LDFLAGS -g" 6957 6605 else 6958 { echo "$as_me:$LINENO: result: no" >&5 6959 echo "${ECHO_T}no" >&6; } 6960 fi 6961 else 6962 { echo "$as_me:$LINENO: result: no" >&5 6963 echo "${ECHO_T}no" >&6; } 6964 fi 6965 6966 6967 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6968 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; } 6969 6970 # Check whether --with-regex was given. 6606 echo "$as_me:$LINENO: result: no" >&5 6607 echo "${ECHO_T}no" >&6 6608 fi 6609 else 6610 echo "$as_me:$LINENO: result: no" >&5 6611 echo "${ECHO_T}no" >&6 6612 fi; 6613 6614 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6615 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6616 6617 # Check whether --with-regex or --without-regex was given. 6971 6618 if test "${with_regex+set}" = set; then 6972 withval=$with_regex; if test "$withval" = yes; then 6619 withval="$with_regex" 6620 if test "$withval" = yes; then 6973 6621 ac_with_regex=1 6974 {echo "$as_me:$LINENO: result: regex" >&56975 echo "${ECHO_T}regex" >&6 ; }6622 echo "$as_me:$LINENO: result: regex" >&5 6623 echo "${ECHO_T}regex" >&6 6976 6624 cat >>confdefs.h <<\_ACEOF 6977 6625 #define WITH_REGEX 1 6978 6626 _ACEOF 6979 6627 6980 case " $LIBOBJS " in 6628 case $LIBOBJS in 6629 "regex.$ac_objext" | \ 6630 *" regex.$ac_objext" | \ 6631 "regex.$ac_objext "* | \ 6981 6632 *" regex.$ac_objext "* ) ;; 6982 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 6983 ;; 6633 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6984 6634 esac 6985 6635 6986 6636 fi 6987 fi 6988 6637 fi; 6989 6638 if test -z "$ac_with_regex"; then 6990 {echo "$as_me:$LINENO: result: rx" >&56991 echo "${ECHO_T}rx" >&6 ; }6992 {echo "$as_me:$LINENO: checking for re_rx_search" >&56993 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 ; }6639 echo "$as_me:$LINENO: result: rx" >&5 6640 echo "${ECHO_T}rx" >&6 6641 echo "$as_me:$LINENO: checking for re_rx_search" >&5 6642 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 6994 6643 if test "${ac_cv_func_re_rx_search+set}" = set; then 6995 6644 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7018 6667 #undef re_rx_search 7019 6668 7020 /* Override any GCC internal prototype to avoid an error. 7021 Use char because int might match the return type of a GCC 7022 builtin and then its argument prototype would still apply. */ 6669 /* Override any gcc2 internal prototype to avoid an error. */ 7023 6670 #ifdef __cplusplus 7024 6671 extern "C" 6672 { 7025 6673 #endif 6674 /* We use char because int might match the return type of a gcc2 6675 builtin and then its argument prototype would still apply. */ 7026 6676 char re_rx_search (); 7027 6677 /* The GNU C library defines this for functions which it implements 7028 6678 to always fail with ENOSYS. Some functions are actually named 7029 6679 something starting with __ and the normal name is an alias. */ 7030 #if defined __stub_re_rx_search || defined __stub___re_rx_search6680 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 7031 6681 choke me 6682 #else 6683 char (*f) () = re_rx_search; 6684 #endif 6685 #ifdef __cplusplus 6686 } 7032 6687 #endif 7033 6688 … … 7035 6690 main () 7036 6691 { 7037 return re_rx_search ();6692 return f != re_rx_search; 7038 6693 ; 7039 6694 return 0; … … 7041 6696 _ACEOF 7042 6697 rm -f conftest.$ac_objext conftest$ac_exeext 7043 if { (ac_try="$ac_link" 7044 case "(($ac_try" in 7045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7046 *) ac_try_echo=$ac_try;; 7047 esac 7048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7049 (eval "$ac_link") 2>conftest.er1 6698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6699 (eval $ac_link) 2>conftest.er1 7050 6700 ac_status=$? 7051 6701 grep -v '^ *+' conftest.er1 >conftest.err … … 7053 6703 cat conftest.err >&5 7054 6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7055 (exit $ac_status); } && { 7056 test -z "$ac_c_werror_flag" || 7057 test ! -s conftest.err 7058 } && test -s conftest$ac_exeext && 7059 $as_test_x conftest$ac_exeext; then 6705 (exit $ac_status); } && 6706 { ac_try='test -z "$ac_c_werror_flag" 6707 || test ! -s conftest.err' 6708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6709 (eval $ac_try) 2>&5 6710 ac_status=$? 6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6712 (exit $ac_status); }; } && 6713 { ac_try='test -s conftest$ac_exeext' 6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6715 (eval $ac_try) 2>&5 6716 ac_status=$? 6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6718 (exit $ac_status); }; }; then 7060 6719 ac_cv_func_re_rx_search=yes 7061 6720 else … … 7063 6722 sed 's/^/| /' conftest.$ac_ext >&5 7064 6723 7065 ac_cv_func_re_rx_search=no 7066 fi 7067 7068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6724 ac_cv_func_re_rx_search=no 6725 fi 6726 rm -f conftest.err conftest.$ac_objext \ 7069 6727 conftest$ac_exeext conftest.$ac_ext 7070 6728 fi 7071 {echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57072 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 ; }6729 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 6730 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7073 6731 if test $ac_cv_func_re_rx_search = yes; then 7074 6732 : 7075 6733 else 7076 {echo "$as_me:$LINENO: checking for unsigned char *" >&57077 echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6 ; }6734 echo "$as_me:$LINENO: checking for unsigned char *" >&5 6735 echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6 7078 6736 if test "${ac_cv_type_unsigned_char_p+set}" = set; then 7079 6737 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7086 6744 /* end confdefs.h. */ 7087 6745 $ac_includes_default 7088 typedef unsigned char * ac__type_new_;7089 6746 int 7090 6747 main () 7091 6748 { 7092 if (( ac__type_new_*) 0)6749 if ((unsigned char * *) 0) 7093 6750 return 0; 7094 if (sizeof ( ac__type_new_))6751 if (sizeof (unsigned char *)) 7095 6752 return 0; 7096 6753 ; … … 7099 6756 _ACEOF 7100 6757 rm -f conftest.$ac_objext 7101 if { (ac_try="$ac_compile" 7102 case "(($ac_try" in 7103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7104 *) ac_try_echo=$ac_try;; 7105 esac 7106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7107 (eval "$ac_compile") 2>conftest.er1 6758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6759 (eval $ac_compile) 2>conftest.er1 7108 6760 ac_status=$? 7109 6761 grep -v '^ *+' conftest.er1 >conftest.err … … 7111 6763 cat conftest.err >&5 7112 6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7113 (exit $ac_status); } && { 7114 test -z "$ac_c_werror_flag" || 7115 test ! -s conftest.err 7116 } && test -s conftest.$ac_objext; then 6765 (exit $ac_status); } && 6766 { ac_try='test -z "$ac_c_werror_flag" 6767 || test ! -s conftest.err' 6768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6769 (eval $ac_try) 2>&5 6770 ac_status=$? 6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6772 (exit $ac_status); }; } && 6773 { ac_try='test -s conftest.$ac_objext' 6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6775 (eval $ac_try) 2>&5 6776 ac_status=$? 6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6778 (exit $ac_status); }; }; then 7117 6779 ac_cv_type_unsigned_char_p=yes 7118 6780 else … … 7120 6782 sed 's/^/| /' conftest.$ac_ext >&5 7121 6783 7122 ac_cv_type_unsigned_char_p=no 7123 fi 7124 7125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7126 fi 7127 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5 7128 echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6; } 7129 7130 # The cast to long int works around a bug in the HP C Compiler 7131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7133 # This bug is HP SR number 8606223364. 7134 { echo "$as_me:$LINENO: checking size of unsigned char *" >&5 7135 echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6; } 6784 ac_cv_type_unsigned_char_p=no 6785 fi 6786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6787 fi 6788 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5 6789 echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6 6790 6791 echo "$as_me:$LINENO: checking size of unsigned char *" >&5 6792 echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6 7136 6793 if test "${ac_cv_sizeof_unsigned_char_p+set}" = set; then 7137 6794 echo $ECHO_N "(cached) $ECHO_C" >&6 7138 6795 else 6796 if test "$ac_cv_type_unsigned_char_p" = yes; then 6797 # The cast to unsigned long works around a bug in the HP C Compiler 6798 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6799 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6800 # This bug is HP SR number 8606223364. 7139 6801 if test "$cross_compiling" = yes; then 7140 6802 # Depending upon the size, compute the lo and hi bounds. … … 7146 6808 /* end confdefs.h. */ 7147 6809 $ac_includes_default 7148 typedef unsigned char * ac__type_sizeof_;7149 6810 int 7150 6811 main () 7151 6812 { 7152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];6813 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= 0)]; 7153 6814 test_array [0] = 0 7154 6815 … … 7158 6819 _ACEOF 7159 6820 rm -f conftest.$ac_objext 7160 if { (ac_try="$ac_compile" 7161 case "(($ac_try" in 7162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7163 *) ac_try_echo=$ac_try;; 7164 esac 7165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7166 (eval "$ac_compile") 2>conftest.er1 6821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6822 (eval $ac_compile) 2>conftest.er1 7167 6823 ac_status=$? 7168 6824 grep -v '^ *+' conftest.er1 >conftest.err … … 7170 6826 cat conftest.err >&5 7171 6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7172 (exit $ac_status); } && { 7173 test -z "$ac_c_werror_flag" || 7174 test ! -s conftest.err 7175 } && test -s conftest.$ac_objext; then 6828 (exit $ac_status); } && 6829 { ac_try='test -z "$ac_c_werror_flag" 6830 || test ! -s conftest.err' 6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6832 (eval $ac_try) 2>&5 6833 ac_status=$? 6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6835 (exit $ac_status); }; } && 6836 { ac_try='test -s conftest.$ac_objext' 6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6838 (eval $ac_try) 2>&5 6839 ac_status=$? 6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6841 (exit $ac_status); }; }; then 7176 6842 ac_lo=0 ac_mid=0 7177 6843 while :; do … … 7183 6849 /* end confdefs.h. */ 7184 6850 $ac_includes_default 7185 typedef unsigned char * ac__type_sizeof_;7186 6851 int 7187 6852 main () 7188 6853 { 7189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];6854 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)]; 7190 6855 test_array [0] = 0 7191 6856 … … 7195 6860 _ACEOF 7196 6861 rm -f conftest.$ac_objext 7197 if { (ac_try="$ac_compile" 7198 case "(($ac_try" in 7199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7200 *) ac_try_echo=$ac_try;; 7201 esac 7202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7203 (eval "$ac_compile") 2>conftest.er1 6862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6863 (eval $ac_compile) 2>conftest.er1 7204 6864 ac_status=$? 7205 6865 grep -v '^ *+' conftest.er1 >conftest.err … … 7207 6867 cat conftest.err >&5 7208 6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7209 (exit $ac_status); } && { 7210 test -z "$ac_c_werror_flag" || 7211 test ! -s conftest.err 7212 } && test -s conftest.$ac_objext; then 6869 (exit $ac_status); } && 6870 { ac_try='test -z "$ac_c_werror_flag" 6871 || test ! -s conftest.err' 6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6873 (eval $ac_try) 2>&5 6874 ac_status=$? 6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6876 (exit $ac_status); }; } && 6877 { ac_try='test -s conftest.$ac_objext' 6878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6879 (eval $ac_try) 2>&5 6880 ac_status=$? 6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6882 (exit $ac_status); }; }; then 7213 6883 ac_hi=$ac_mid; break 7214 6884 else … … 7216 6886 sed 's/^/| /' conftest.$ac_ext >&5 7217 6887 7218 ac_lo=`expr $ac_mid + 1` 7219 if test $ac_lo -le $ac_mid; then 7220 ac_lo= ac_hi= 7221 break 7222 fi 7223 ac_mid=`expr 2 '*' $ac_mid + 1` 7224 fi 7225 7226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6888 ac_lo=`expr $ac_mid + 1` 6889 if test $ac_lo -le $ac_mid; then 6890 ac_lo= ac_hi= 6891 break 6892 fi 6893 ac_mid=`expr 2 '*' $ac_mid + 1` 6894 fi 6895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7227 6896 done 7228 6897 else … … 7230 6899 sed 's/^/| /' conftest.$ac_ext >&5 7231 6900 7232 6901 cat >conftest.$ac_ext <<_ACEOF 7233 6902 /* confdefs.h. */ 7234 6903 _ACEOF … … 7237 6906 /* end confdefs.h. */ 7238 6907 $ac_includes_default 7239 typedef unsigned char * ac__type_sizeof_;7240 6908 int 7241 6909 main () 7242 6910 { 7243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];6911 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) < 0)]; 7244 6912 test_array [0] = 0 7245 6913 … … 7249 6917 _ACEOF 7250 6918 rm -f conftest.$ac_objext 7251 if { (ac_try="$ac_compile" 7252 case "(($ac_try" in 7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7254 *) ac_try_echo=$ac_try;; 7255 esac 7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7257 (eval "$ac_compile") 2>conftest.er1 6919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6920 (eval $ac_compile) 2>conftest.er1 7258 6921 ac_status=$? 7259 6922 grep -v '^ *+' conftest.er1 >conftest.err … … 7261 6924 cat conftest.err >&5 7262 6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7263 (exit $ac_status); } && { 7264 test -z "$ac_c_werror_flag" || 7265 test ! -s conftest.err 7266 } && test -s conftest.$ac_objext; then 6926 (exit $ac_status); } && 6927 { ac_try='test -z "$ac_c_werror_flag" 6928 || test ! -s conftest.err' 6929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6930 (eval $ac_try) 2>&5 6931 ac_status=$? 6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6933 (exit $ac_status); }; } && 6934 { ac_try='test -s conftest.$ac_objext' 6935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6936 (eval $ac_try) 2>&5 6937 ac_status=$? 6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6939 (exit $ac_status); }; }; then 7267 6940 ac_hi=-1 ac_mid=-1 7268 6941 while :; do … … 7274 6947 /* end confdefs.h. */ 7275 6948 $ac_includes_default 7276 typedef unsigned char * ac__type_sizeof_;7277 6949 int 7278 6950 main () 7279 6951 { 7280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];6952 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= $ac_mid)]; 7281 6953 test_array [0] = 0 7282 6954 … … 7286 6958 _ACEOF 7287 6959 rm -f conftest.$ac_objext 7288 if { (ac_try="$ac_compile" 7289 case "(($ac_try" in 7290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7291 *) ac_try_echo=$ac_try;; 7292 esac 7293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7294 (eval "$ac_compile") 2>conftest.er1 6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6961 (eval $ac_compile) 2>conftest.er1 7295 6962 ac_status=$? 7296 6963 grep -v '^ *+' conftest.er1 >conftest.err … … 7298 6965 cat conftest.err >&5 7299 6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7300 (exit $ac_status); } && { 7301 test -z "$ac_c_werror_flag" || 7302 test ! -s conftest.err 7303 } && test -s conftest.$ac_objext; then 6967 (exit $ac_status); } && 6968 { ac_try='test -z "$ac_c_werror_flag" 6969 || test ! -s conftest.err' 6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6971 (eval $ac_try) 2>&5 6972 ac_status=$? 6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6974 (exit $ac_status); }; } && 6975 { ac_try='test -s conftest.$ac_objext' 6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6977 (eval $ac_try) 2>&5 6978 ac_status=$? 6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6980 (exit $ac_status); }; }; then 7304 6981 ac_lo=$ac_mid; break 7305 6982 else … … 7307 6984 sed 's/^/| /' conftest.$ac_ext >&5 7308 6985 7309 ac_hi=`expr '(' $ac_mid ')' - 1` 7310 if test $ac_mid -le $ac_hi; then 7311 ac_lo= ac_hi= 7312 break 7313 fi 7314 ac_mid=`expr 2 '*' $ac_mid` 7315 fi 7316 7317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6986 ac_hi=`expr '(' $ac_mid ')' - 1` 6987 if test $ac_mid -le $ac_hi; then 6988 ac_lo= ac_hi= 6989 break 6990 fi 6991 ac_mid=`expr 2 '*' $ac_mid` 6992 fi 6993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7318 6994 done 7319 6995 else … … 7321 6997 sed 's/^/| /' conftest.$ac_ext >&5 7322 6998 7323 ac_lo= ac_hi= 7324 fi 7325 7326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7327 fi 7328 7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6999 ac_lo= ac_hi= 7000 fi 7001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7002 fi 7003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7330 7004 # Binary search between lo and hi bounds. 7331 7005 while test "x$ac_lo" != "x$ac_hi"; do … … 7338 7012 /* end confdefs.h. */ 7339 7013 $ac_includes_default 7340 typedef unsigned char * ac__type_sizeof_;7341 7014 int 7342 7015 main () 7343 7016 { 7344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];7017 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)]; 7345 7018 test_array [0] = 0 7346 7019 … … 7350 7023 _ACEOF 7351 7024 rm -f conftest.$ac_objext 7352 if { (ac_try="$ac_compile" 7353 case "(($ac_try" in 7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7355 *) ac_try_echo=$ac_try;; 7356 esac 7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7358 (eval "$ac_compile") 2>conftest.er1 7025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7026 (eval $ac_compile) 2>conftest.er1 7359 7027 ac_status=$? 7360 7028 grep -v '^ *+' conftest.er1 >conftest.err … … 7362 7030 cat conftest.err >&5 7363 7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7364 (exit $ac_status); } && { 7365 test -z "$ac_c_werror_flag" || 7366 test ! -s conftest.err 7367 } && test -s conftest.$ac_objext; then 7032 (exit $ac_status); } && 7033 { ac_try='test -z "$ac_c_werror_flag" 7034 || test ! -s conftest.err' 7035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7036 (eval $ac_try) 2>&5 7037 ac_status=$? 7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7039 (exit $ac_status); }; } && 7040 { ac_try='test -s conftest.$ac_objext' 7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7042 (eval $ac_try) 2>&5 7043 ac_status=$? 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); }; }; then 7368 7046 ac_hi=$ac_mid 7369 7047 else … … 7371 7049 sed 's/^/| /' conftest.$ac_ext >&5 7372 7050 7373 ac_lo=`expr '(' $ac_mid ')' + 1` 7374 fi 7375 7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7051 ac_lo=`expr '(' $ac_mid ')' + 1` 7052 fi 7053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7377 7054 done 7378 7055 case $ac_lo in 7379 7056 ?*) ac_cv_sizeof_unsigned_char_p=$ac_lo;; 7380 '') if test "$ac_cv_type_unsigned_char_p" = yes; then 7381 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *) 7057 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77 7382 7058 See \`config.log' for more details." >&5 7383 echo "$as_me: error: cannot compute sizeof (unsigned char *) 7059 echo "$as_me: error: cannot compute sizeof (unsigned char *), 77 7384 7060 See \`config.log' for more details." >&2;} 7385 { (exit 77); exit 77; }; } 7386 else 7387 ac_cv_sizeof_unsigned_char_p=0 7388 fi ;; 7061 { (exit 1); exit 1; }; } ;; 7389 7062 esac 7063 else 7064 if test "$cross_compiling" = yes; then 7065 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 7066 See \`config.log' for more details." >&5 7067 echo "$as_me: error: cannot run test program while cross compiling 7068 See \`config.log' for more details." >&2;} 7069 { (exit 1); exit 1; }; } 7390 7070 else 7391 7071 cat >conftest.$ac_ext <<_ACEOF … … 7396 7076 /* end confdefs.h. */ 7397 7077 $ac_includes_default 7398 typedef unsigned char * ac__type_sizeof_; 7399 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 7400 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 7078 long longval () { return (long) (sizeof (unsigned char *)); } 7079 unsigned long ulongval () { return (long) (sizeof (unsigned char *)); } 7401 7080 #include <stdio.h> 7402 7081 #include <stdlib.h> … … 7407 7086 FILE *f = fopen ("conftest.val", "w"); 7408 7087 if (! f) 7409 return 1;7410 if (((long int) (sizeof (ac__type_sizeof_))) < 0)7088 exit (1); 7089 if (((long) (sizeof (unsigned char *))) < 0) 7411 7090 { 7412 long i nt i= longval ();7413 if (i != ((long int) (sizeof (ac__type_sizeof_))))7414 return 1;7091 long i = longval (); 7092 if (i != ((long) (sizeof (unsigned char *)))) 7093 exit (1); 7415 7094 fprintf (f, "%ld\n", i); 7416 7095 } 7417 7096 else 7418 7097 { 7419 unsigned long i nt i= ulongval ();7420 if (i != ((long int) (sizeof (ac__type_sizeof_))))7421 return 1;7098 unsigned long i = ulongval (); 7099 if (i != ((long) (sizeof (unsigned char *)))) 7100 exit (1); 7422 7101 fprintf (f, "%lu\n", i); 7423 7102 } 7424 return ferror (f) || fclose (f) != 0;7103 exit (ferror (f) || fclose (f) != 0); 7425 7104 7426 7105 ; … … 7429 7108 _ACEOF 7430 7109 rm -f conftest$ac_exeext 7431 if { (ac_try="$ac_link" 7432 case "(($ac_try" in 7433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7434 *) ac_try_echo=$ac_try;; 7435 esac 7436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7437 (eval "$ac_link") 2>&5 7110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7111 (eval $ac_link) 2>&5 7438 7112 ac_status=$? 7439 7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7440 7114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7441 { (case "(($ac_try" in 7442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7443 *) ac_try_echo=$ac_try;; 7444 esac 7445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7446 (eval "$ac_try") 2>&5 7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7116 (eval $ac_try) 2>&5 7447 7117 ac_status=$? 7448 7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 7455 7125 7456 7126 ( exit $ac_status ) 7457 if test "$ac_cv_type_unsigned_char_p" = yes; then 7458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *) 7127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77 7459 7128 See \`config.log' for more details." >&5 7460 echo "$as_me: error: cannot compute sizeof (unsigned char *) 7129 echo "$as_me: error: cannot compute sizeof (unsigned char *), 77 7461 7130 See \`config.log' for more details." >&2;} 7462 { (exit 77); exit 77; }; } 7463 else 7464 ac_cv_sizeof_unsigned_char_p=0 7465 fi 7466 fi 7467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7131 { (exit 1); exit 1; }; } 7132 fi 7133 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7134 fi 7468 7135 fi 7469 7136 rm -f conftest.val 7470 fi 7471 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5 7472 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6; } 7473 7474 7475 7137 else 7138 ac_cv_sizeof_unsigned_char_p=0 7139 fi 7140 fi 7141 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5 7142 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6 7476 7143 cat >>confdefs.h <<_ACEOF 7477 7144 #define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p … … 7487 7154 find a local rx library and the one included with this 7488 7155 distribution doesn't work on 64-bit machines like yours" >&2;} 7489 case " $LIBOBJS " in 7156 case $LIBOBJS in 7157 "regex.$ac_objext" | \ 7158 *" regex.$ac_objext" | \ 7159 "regex.$ac_objext "* | \ 7490 7160 *" regex.$ac_objext "* ) ;; 7491 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7492 ;; 7161 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7493 7162 esac 7494 7163 7495 7164 else 7496 case " $LIBOBJS " in 7165 case $LIBOBJS in 7166 "rx.$ac_objext" | \ 7167 *" rx.$ac_objext" | \ 7168 "rx.$ac_objext "* | \ 7497 7169 *" rx.$ac_objext "* ) ;; 7498 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7499 ;; 7170 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7500 7171 esac 7501 7172 … … 7506 7177 fi 7507 7178 7508 {echo "$as_me:$LINENO: checking whether GNU readline requested" >&57509 echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6 ; }7510 7511 # Check whether --with-gnu_readline was given.7179 echo "$as_me:$LINENO: checking whether GNU readline requested" >&5 7180 echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6 7181 7182 # Check whether --with-gnu_readline or --without-gnu_readline was given. 7512 7183 if test "${with_gnu_readline+set}" = set; then 7513 withval=$with_gnu_readline; if test "$withval" = yes; then 7514 { echo "$as_me:$LINENO: result: yes" >&5 7515 echo "${ECHO_T}yes" >&6; } 7184 withval="$with_gnu_readline" 7185 if test "$withval" = yes; then 7186 echo "$as_me:$LINENO: result: yes" >&5 7187 echo "${ECHO_T}yes" >&6 7516 7188 ac_with_gnu_readline=1 7517 7189 else 7518 {echo "$as_me:$LINENO: result: no" >&57519 echo "${ECHO_T}no" >&6 ; }7190 echo "$as_me:$LINENO: result: no" >&5 7191 echo "${ECHO_T}no" >&6 7520 7192 fi 7521 7193 else 7522 { echo "$as_me:$LINENO: result: no" >&5 7523 echo "${ECHO_T}no" >&6; } 7524 fi 7525 7194 echo "$as_me:$LINENO: result: no" >&5 7195 echo "${ECHO_T}no" >&6 7196 fi; 7526 7197 7527 7198 if test -n "$ac_with_gnu_readline"; then 7528 7199 if test "${ac_cv_header_readline_readline_h+set}" = set; then 7529 {echo "$as_me:$LINENO: checking for readline/readline.h" >&57530 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 ; }7200 echo "$as_me:$LINENO: checking for readline/readline.h" >&5 7201 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 7531 7202 if test "${ac_cv_header_readline_readline_h+set}" = set; then 7532 7203 echo $ECHO_N "(cached) $ECHO_C" >&6 7533 7204 fi 7534 {echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&57535 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 ; }7205 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 7206 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 7536 7207 else 7537 7208 # Is the header compilable? 7538 {echo "$as_me:$LINENO: checking readline/readline.h usability" >&57539 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6 ; }7209 echo "$as_me:$LINENO: checking readline/readline.h usability" >&5 7210 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6 7540 7211 cat >conftest.$ac_ext <<_ACEOF 7541 7212 /* confdefs.h. */ … … 7548 7219 _ACEOF 7549 7220 rm -f conftest.$ac_objext 7550 if { (ac_try="$ac_compile" 7551 case "(($ac_try" in 7552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7553 *) ac_try_echo=$ac_try;; 7554 esac 7555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7556 (eval "$ac_compile") 2>conftest.er1 7221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7222 (eval $ac_compile) 2>conftest.er1 7557 7223 ac_status=$? 7558 7224 grep -v '^ *+' conftest.er1 >conftest.err … … 7560 7226 cat conftest.err >&5 7561 7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7562 (exit $ac_status); } && { 7563 test -z "$ac_c_werror_flag" || 7564 test ! -s conftest.err 7565 } && test -s conftest.$ac_objext; then 7228 (exit $ac_status); } && 7229 { ac_try='test -z "$ac_c_werror_flag" 7230 || test ! -s conftest.err' 7231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7232 (eval $ac_try) 2>&5 7233 ac_status=$? 7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7235 (exit $ac_status); }; } && 7236 { ac_try='test -s conftest.$ac_objext' 7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7238 (eval $ac_try) 2>&5 7239 ac_status=$? 7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7241 (exit $ac_status); }; }; then 7566 7242 ac_header_compiler=yes 7567 7243 else … … 7569 7245 sed 's/^/| /' conftest.$ac_ext >&5 7570 7246 7571 ac_header_compiler=no 7572 fi 7573 7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7575 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7576 echo "${ECHO_T}$ac_header_compiler" >&6; } 7247 ac_header_compiler=no 7248 fi 7249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7251 echo "${ECHO_T}$ac_header_compiler" >&6 7577 7252 7578 7253 # Is the header present? 7579 {echo "$as_me:$LINENO: checking readline/readline.h presence" >&57580 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6 ; }7254 echo "$as_me:$LINENO: checking readline/readline.h presence" >&5 7255 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6 7581 7256 cat >conftest.$ac_ext <<_ACEOF 7582 7257 /* confdefs.h. */ … … 7587 7262 #include <readline/readline.h> 7588 7263 _ACEOF 7589 if { (ac_try="$ac_cpp conftest.$ac_ext" 7590 case "(($ac_try" in 7591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7592 *) ac_try_echo=$ac_try;; 7593 esac 7594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7596 7266 ac_status=$? 7597 7267 grep -v '^ *+' conftest.er1 >conftest.err … … 7599 7269 cat conftest.err >&5 7600 7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7601 (exit $ac_status); } >/dev/null && { 7602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7603 test ! -s conftest.err 7604 }; then 7271 (exit $ac_status); } >/dev/null; then 7272 if test -s conftest.err; then 7273 ac_cpp_err=$ac_c_preproc_warn_flag 7274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7275 else 7276 ac_cpp_err= 7277 fi 7278 else 7279 ac_cpp_err=yes 7280 fi 7281 if test -z "$ac_cpp_err"; then 7605 7282 ac_header_preproc=yes 7606 7283 else … … 7610 7287 ac_header_preproc=no 7611 7288 fi 7612 7613 7289 rm -f conftest.err conftest.$ac_ext 7614 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57615 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7291 echo "${ECHO_T}$ac_header_preproc" >&6 7616 7292 7617 7293 # So? What about this header? … … 7637 7313 { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5 7638 7314 echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;} 7639 7315 ( 7316 cat <<\_ASBOX 7317 ## ------------------------------------------ ## 7318 ## Report this to the AC_PACKAGE_NAME lists. ## 7319 ## ------------------------------------------ ## 7320 _ASBOX 7321 ) | 7322 sed "s/^/$as_me: WARNING: /" >&2 7640 7323 ;; 7641 7324 esac 7642 {echo "$as_me:$LINENO: checking for readline/readline.h" >&57643 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 ; }7325 echo "$as_me:$LINENO: checking for readline/readline.h" >&5 7326 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 7644 7327 if test "${ac_cv_header_readline_readline_h+set}" = set; then 7645 7328 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7647 7330 ac_cv_header_readline_readline_h=$ac_header_preproc 7648 7331 fi 7649 {echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&57650 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 ; }7332 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 7333 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 7651 7334 7652 7335 fi … … 7663 7346 if test -n "$ac_mg_readline_header_found"; then 7664 7347 # first check whether we can find the readline library itself 7665 {echo "$as_me:$LINENO: checking for main in -lreadline" >&57666 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6 ; }7348 echo "$as_me:$LINENO: checking for main in -lreadline" >&5 7349 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6 7667 7350 if test "${ac_cv_lib_readline_main+set}" = set; then 7668 7351 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7681 7364 main () 7682 7365 { 7683 returnmain ();7366 main (); 7684 7367 ; 7685 7368 return 0; … … 7687 7370 _ACEOF 7688 7371 rm -f conftest.$ac_objext conftest$ac_exeext 7689 if { (ac_try="$ac_link" 7690 case "(($ac_try" in 7691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7692 *) ac_try_echo=$ac_try;; 7693 esac 7694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7695 (eval "$ac_link") 2>conftest.er1 7372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7373 (eval $ac_link) 2>conftest.er1 7696 7374 ac_status=$? 7697 7375 grep -v '^ *+' conftest.er1 >conftest.err … … 7699 7377 cat conftest.err >&5 7700 7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7701 (exit $ac_status); } && { 7702 test -z "$ac_c_werror_flag" || 7703 test ! -s conftest.err 7704 } && test -s conftest$ac_exeext && 7705 $as_test_x conftest$ac_exeext; then 7379 (exit $ac_status); } && 7380 { ac_try='test -z "$ac_c_werror_flag" 7381 || test ! -s conftest.err' 7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7383 (eval $ac_try) 2>&5 7384 ac_status=$? 7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7386 (exit $ac_status); }; } && 7387 { ac_try='test -s conftest$ac_exeext' 7388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7389 (eval $ac_try) 2>&5 7390 ac_status=$? 7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7392 (exit $ac_status); }; }; then 7706 7393 ac_cv_lib_readline_main=yes 7707 7394 else … … 7709 7396 sed 's/^/| /' conftest.$ac_ext >&5 7710 7397 7711 ac_cv_lib_readline_main=no 7712 fi 7713 7714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7398 ac_cv_lib_readline_main=no 7399 fi 7400 rm -f conftest.err conftest.$ac_objext \ 7715 7401 conftest$ac_exeext conftest.$ac_ext 7716 7402 LIBS=$ac_check_lib_save_LIBS 7717 7403 fi 7718 {echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&57719 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6 ; }7404 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5 7405 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6 7720 7406 if test $ac_cv_lib_readline_main = yes; then 7721 7407 ac_mg_readline_lib_found=1 … … 7739 7425 # by mg itself (e.g. xmalloc, xrealloc). So, if we find libcurses, 7740 7426 # we just bung it on and hope for the best. 7741 {echo "$as_me:$LINENO: checking for main in -lcurses" >&57742 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6 ; }7427 echo "$as_me:$LINENO: checking for main in -lcurses" >&5 7428 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6 7743 7429 if test "${ac_cv_lib_curses_main+set}" = set; then 7744 7430 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7757 7443 main () 7758 7444 { 7759 returnmain ();7445 main (); 7760 7446 ; 7761 7447 return 0; … … 7763 7449 _ACEOF 7764 7450 rm -f conftest.$ac_objext conftest$ac_exeext 7765 if { (ac_try="$ac_link" 7766 case "(($ac_try" in 7767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7768 *) ac_try_echo=$ac_try;; 7769 esac 7770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7771 (eval "$ac_link") 2>conftest.er1 7451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7452 (eval $ac_link) 2>conftest.er1 7772 7453 ac_status=$? 7773 7454 grep -v '^ *+' conftest.er1 >conftest.err … … 7775 7456 cat conftest.err >&5 7776 7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7777 (exit $ac_status); } && { 7778 test -z "$ac_c_werror_flag" || 7779 test ! -s conftest.err 7780 } && test -s conftest$ac_exeext && 7781 $as_test_x conftest$ac_exeext; then 7458 (exit $ac_status); } && 7459 { ac_try='test -z "$ac_c_werror_flag" 7460 || test ! -s conftest.err' 7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7462 (eval $ac_try) 2>&5 7463 ac_status=$? 7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7465 (exit $ac_status); }; } && 7466 { ac_try='test -s conftest$ac_exeext' 7467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7468 (eval $ac_try) 2>&5 7469 ac_status=$? 7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7471 (exit $ac_status); }; }; then 7782 7472 ac_cv_lib_curses_main=yes 7783 7473 else … … 7785 7475 sed 's/^/| /' conftest.$ac_ext >&5 7786 7476 7787 ac_cv_lib_curses_main=no 7788 fi 7789 7790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7477 ac_cv_lib_curses_main=no 7478 fi 7479 rm -f conftest.err conftest.$ac_objext \ 7791 7480 conftest$ac_exeext conftest.$ac_ext 7792 7481 LIBS=$ac_check_lib_save_LIBS 7793 7482 fi 7794 {echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&57795 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6 ; }7483 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5 7484 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6 7796 7485 if test $ac_cv_lib_curses_main = yes; then 7797 7486 LIBS="$LIBS -lcurses" … … 7804 7493 7805 7494 # text for endianness 7806 {echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&57807 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 ; }7495 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7496 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7808 7497 if test "${ac_cv_c_bigendian+set}" = set; then 7809 7498 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7822 7511 main () 7823 7512 { 7824 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 7825 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 7513 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7826 7514 bogus endian macros 7827 7515 #endif … … 7832 7520 _ACEOF 7833 7521 rm -f conftest.$ac_objext 7834 if { (ac_try="$ac_compile" 7835 case "(($ac_try" in 7836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7837 *) ac_try_echo=$ac_try;; 7838 esac 7839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7840 (eval "$ac_compile") 2>conftest.er1 7522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7523 (eval $ac_compile) 2>conftest.er1 7841 7524 ac_status=$? 7842 7525 grep -v '^ *+' conftest.er1 >conftest.err … … 7844 7527 cat conftest.err >&5 7845 7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7846 (exit $ac_status); } && { 7847 test -z "$ac_c_werror_flag" || 7848 test ! -s conftest.err 7849 } && test -s conftest.$ac_objext; then 7529 (exit $ac_status); } && 7530 { ac_try='test -z "$ac_c_werror_flag" 7531 || test ! -s conftest.err' 7532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7533 (eval $ac_try) 2>&5 7534 ac_status=$? 7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7536 (exit $ac_status); }; } && 7537 { ac_try='test -s conftest.$ac_objext' 7538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7539 (eval $ac_try) 2>&5 7540 ac_status=$? 7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7542 (exit $ac_status); }; }; then 7850 7543 # It does; now see whether it defined to BIG_ENDIAN or not. 7851 7544 cat >conftest.$ac_ext <<_ACEOF … … 7870 7563 _ACEOF 7871 7564 rm -f conftest.$ac_objext 7872 if { (ac_try="$ac_compile" 7873 case "(($ac_try" in 7874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7875 *) ac_try_echo=$ac_try;; 7876 esac 7877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7878 (eval "$ac_compile") 2>conftest.er1 7565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7566 (eval $ac_compile) 2>conftest.er1 7879 7567 ac_status=$? 7880 7568 grep -v '^ *+' conftest.er1 >conftest.err … … 7882 7570 cat conftest.err >&5 7883 7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7884 (exit $ac_status); } && { 7885 test -z "$ac_c_werror_flag" || 7886 test ! -s conftest.err 7887 } && test -s conftest.$ac_objext; then 7572 (exit $ac_status); } && 7573 { ac_try='test -z "$ac_c_werror_flag" 7574 || test ! -s conftest.err' 7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7576 (eval $ac_try) 2>&5 7577 ac_status=$? 7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7579 (exit $ac_status); }; } && 7580 { ac_try='test -s conftest.$ac_objext' 7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7582 (eval $ac_try) 2>&5 7583 ac_status=$? 7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7585 (exit $ac_status); }; }; then 7888 7586 ac_cv_c_bigendian=yes 7889 7587 else … … 7891 7589 sed 's/^/| /' conftest.$ac_ext >&5 7892 7590 7893 ac_cv_c_bigendian=no 7894 fi 7895 7896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7591 ac_cv_c_bigendian=no 7592 fi 7593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7897 7594 else 7898 7595 echo "$as_me: failed program was:" >&5 7899 7596 sed 's/^/| /' conftest.$ac_ext >&5 7900 7597 7901 7598 # It does not; compile a test program. 7902 7599 if test "$cross_compiling" = yes; then 7903 7600 # try to guess the endianness by grepping values into an object file … … 7909 7606 cat >>conftest.$ac_ext <<_ACEOF 7910 7607 /* end confdefs.h. */ 7911 short intascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };7912 short intascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };7608 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7609 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7913 7610 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7914 short intebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };7915 short intebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };7611 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7612 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7916 7613 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 7917 7614 int … … 7924 7621 _ACEOF 7925 7622 rm -f conftest.$ac_objext 7926 if { (ac_try="$ac_compile" 7927 case "(($ac_try" in 7928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7929 *) ac_try_echo=$ac_try;; 7930 esac 7931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7932 (eval "$ac_compile") 2>conftest.er1 7623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7624 (eval $ac_compile) 2>conftest.er1 7933 7625 ac_status=$? 7934 7626 grep -v '^ *+' conftest.er1 >conftest.err … … 7936 7628 cat conftest.err >&5 7937 7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7938 (exit $ac_status); } && { 7939 test -z "$ac_c_werror_flag" || 7940 test ! -s conftest.err 7941 } && test -s conftest.$ac_objext; then 7630 (exit $ac_status); } && 7631 { ac_try='test -z "$ac_c_werror_flag" 7632 || test ! -s conftest.err' 7633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7634 (eval $ac_try) 2>&5 7635 ac_status=$? 7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7637 (exit $ac_status); }; } && 7638 { ac_try='test -s conftest.$ac_objext' 7639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7640 (eval $ac_try) 2>&5 7641 ac_status=$? 7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7643 (exit $ac_status); }; }; then 7942 7644 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7943 7645 ac_cv_c_bigendian=yes … … 7955 7657 sed 's/^/| /' conftest.$ac_ext >&5 7956 7658 7957 7958 fi 7959 7960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7659 fi 7660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7961 7661 else 7962 7662 cat >conftest.$ac_ext <<_ACEOF … … 7966 7666 cat >>conftest.$ac_ext <<_ACEOF 7967 7667 /* end confdefs.h. */ 7968 $ac_includes_default7969 7668 int 7970 7669 main () 7971 7670 { 7972 7973 7671 /* Are we little or big endian? From Harbison&Steele. */ 7974 7672 union 7975 7673 { 7976 long intl;7977 char c[sizeof (long int)];7674 long l; 7675 char c[sizeof (long)]; 7978 7676 } u; 7979 7677 u.l = 1; 7980 return u.c[sizeof (long int) - 1] == 1; 7981 7982 ; 7983 return 0; 7678 exit (u.c[sizeof (long) - 1] == 1); 7984 7679 } 7985 7680 _ACEOF 7986 7681 rm -f conftest$ac_exeext 7987 if { (ac_try="$ac_link" 7988 case "(($ac_try" in 7989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7990 *) ac_try_echo=$ac_try;; 7991 esac 7992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7993 (eval "$ac_link") 2>&5 7682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7683 (eval $ac_link) 2>&5 7994 7684 ac_status=$? 7995 7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7996 7686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7997 { (case "(($ac_try" in 7998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7999 *) ac_try_echo=$ac_try;; 8000 esac 8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8002 (eval "$ac_try") 2>&5 7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7688 (eval $ac_try) 2>&5 8003 7689 ac_status=$? 8004 7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 8013 7699 ac_cv_c_bigendian=yes 8014 7700 fi 8015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8016 fi 8017 8018 8019 fi 8020 8021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8022 fi 8023 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8024 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 7701 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7702 fi 7703 fi 7704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7705 fi 7706 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7707 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 8025 7708 case $ac_cv_c_bigendian in 8026 7709 yes) … … 8043 7726 # --------------------------------------------------------------------------- 8044 7727 if test "$ac_cv_func_alloca" = 'no'; then 8045 case " $LIBOBJS " in 7728 case $LIBOBJS in 7729 "xmalloc.$ac_objext" | \ 7730 *" xmalloc.$ac_objext" | \ 7731 "xmalloc.$ac_objext "* | \ 8046 7732 *" xmalloc.$ac_objext "* ) ;; 8047 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8048 ;; 7733 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 8049 7734 esac 8050 7735 8051 case " $LIBOBJS " in 7736 case $LIBOBJS in 7737 "error.$ac_objext" | \ 7738 *" error.$ac_objext" | \ 7739 "error.$ac_objext "* | \ 8052 7740 *" error.$ac_objext "* ) ;; 8053 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8054 ;; 7741 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8055 7742 esac 8056 7743 … … 8060 7747 # --------------------------------------------------------------------------- 8061 7748 # see if the user wants to override use of long long 8062 # Check whether --enable-override-longlong was given.7749 # Check whether --enable-override-longlong or --disable-override-longlong was given. 8063 7750 if test "${enable_override_longlong+set}" = set; then 8064 enableval=$enable_override_longlong; cat >>confdefs.h <<\_ACEOF 7751 enableval="$enable_override_longlong" 7752 cat >>confdefs.h <<\_ACEOF 8065 7753 #define DISABLE_LONG_LONG 1 8066 7754 _ACEOF 8067 7755 8068 fi 8069 7756 fi; 8070 7757 8071 7758 8072 7759 # --------------------------------------------------------------------------- 8073 7760 8074 ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile" 8075 8076 ac_config_commands="$ac_config_commands default" 8077 7761 ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile" 7762 ac_config_commands="$ac_config_commands default" 8078 7763 cat >confcache <<\_ACEOF 8079 7764 # This file is a shell script that caches the results of configure … … 8094 7779 # The following way of writing the cache mishandles newlines in values, 8095 7780 # but we know of no workaround that is simple, portable, and efficient. 8096 # So, we kill variables containing newlines.7781 # So, don't put newlines in cache variables' values. 8097 7782 # Ultrix sh set writes to stderr and can't be redirected directly, 8098 7783 # and sets the high bit in the cache file unless we assign to the vars. 8099 ( 8100 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8101 eval ac_val=\$$ac_var 8102 case $ac_val in #( 8103 *${as_nl}*) 8104 case $ac_var in #( 8105 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 8106 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 8107 esac 8108 case $ac_var in #( 8109 _ | IFS | as_nl) ;; #( 8110 *) $as_unset $ac_var ;; 8111 esac ;; 8112 esac 8113 done 8114 7784 { 8115 7785 (set) 2>&1 | 8116 case $as_nl`(ac_space=' '; set) 2>&1` in #(8117 * ${as_nl}ac_space=\ *)7786 case `(ac_space=' '; set | grep ac_space) 2>&1` in 7787 *ac_space=\ *) 8118 7788 # `set' does not quote correctly, so add quotes (double-quote 8119 7789 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 8121 7791 "s/'/'\\\\''/g; 8122 7792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8123 ;; #(7793 ;; 8124 7794 *) 8125 7795 # `set' quotes correctly as required by POSIX, so do not add quotes. 8126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7796 sed -n \ 7797 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8127 7798 ;; 8128 esac | 8129 sort 8130 ) | 7799 esac; 7800 } | 8131 7801 sed ' 8132 /^ac_cv_env_/b end8133 7802 t clear 8134 : clear7803 : clear 8135 7804 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8136 7805 t end 8137 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8138 :end' >>confcache 8139 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8140 if test -w "$cache_file"; then 8141 test "x$cache_file" != "x/dev/null" && 8142 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 8143 echo "$as_me: updating cache $cache_file" >&6;} 7806 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7807 : end' >>confcache 7808 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7809 if test -w $cache_file; then 7810 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 8144 7811 cat confcache >$cache_file 8145 7812 else 8146 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8147 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7813 echo "not updating unwritable cache $cache_file" 8148 7814 fi 8149 7815 fi … … 8153 7819 # Let make expand exec_prefix. 8154 7820 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7821 7822 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7823 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7824 # trailing colons and then remove the whole line if VPATH becomes empty 7825 # (actually we leave an empty line to preserve line numbers). 7826 if test "x$srcdir" = x.; then 7827 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7828 s/:*\$(srcdir):*/:/; 7829 s/:*\${srcdir}:*/:/; 7830 s/:*@srcdir@:*/:/; 7831 s/^\([^=]*=[ ]*\):*/\1/; 7832 s/:*$//; 7833 s/^[^=]*=[ ]*$//; 7834 }' 7835 fi 8155 7836 8156 7837 DEFS=-DHAVE_CONFIG_H … … 8160 7841 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8161 7842 # 1. Remove the extension, and $U if already installed. 8162 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8163 ac_i=`echo "$ac_i" | sed "$ac_script"` 8164 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8165 # will be set to the directory where LIBOBJS objects are built. 8166 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8167 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7843 ac_i=`echo "$ac_i" | 7844 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7845 # 2. Add them. 7846 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7847 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8168 7848 done 8169 7849 LIBOBJS=$ac_libobjs … … 8196 7876 ## --------------------- ## 8197 7877 8198 # Be more Bourne compatible 8199 DUALCASE=1; export DUALCASE # for MKS sh 7878 # Be Bourne compatible 8200 7879 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8201 7880 emulate sh … … 8204 7883 # is contrary to our usage. Disable this feature. 8205 7884 alias -g '${1+"$@"}'='"$@"' 8206 setopt NO_GLOB_SUBST 8207 else 8208 case `(set -o) 2>/dev/null` in 8209 *posix*) set -o posix ;; 8210 esac 8211 8212 fi 8213 8214 8215 8216 8217 # PATH needs CR 7885 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7886 set -o posix 7887 fi 7888 DUALCASE=1; export DUALCASE # for MKS sh 7889 7890 # Support unset when possible. 7891 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7892 as_unset=unset 7893 else 7894 as_unset=false 7895 fi 7896 7897 7898 # Work around bugs in pre-3.0 UWIN ksh. 7899 $as_unset ENV MAIL MAILPATH 7900 PS1='$ ' 7901 PS2='> ' 7902 PS4='+ ' 7903 7904 # NLS nuisances. 7905 for as_var in \ 7906 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7907 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7908 LC_TELEPHONE LC_TIME 7909 do 7910 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7911 eval $as_var=C; export $as_var 7912 else 7913 $as_unset $as_var 7914 fi 7915 done 7916 7917 # Required to use basename. 7918 if expr a : '\(a\)' >/dev/null 2>&1; then 7919 as_expr=expr 7920 else 7921 as_expr=false 7922 fi 7923 7924 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7925 as_basename=basename 7926 else 7927 as_basename=false 7928 fi 7929 7930 7931 # Name of the executable. 7932 as_me=`$as_basename "$0" || 7933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7934 X"$0" : 'X\(//\)$' \| \ 7935 X"$0" : 'X\(/\)$' \| \ 7936 . : '\(.\)' 2>/dev/null || 7937 echo X/"$0" | 7938 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7939 /^X\/\(\/\/\)$/{ s//\1/; q; } 7940 /^X\/\(\/\).*/{ s//\1/; q; } 7941 s/.*/./; q'` 7942 7943 7944 # PATH needs CR, and LINENO needs CR and PATH. 8218 7945 # Avoid depending upon Character Ranges. 8219 7946 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8236 7963 fi 8237 7964 8238 # Support unset when possible. 8239 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8240 as_unset=unset 8241 else 8242 as_unset=false 8243 fi 8244 8245 8246 # IFS 8247 # We need space, tab and new line, in precisely that order. Quoting is 8248 # there to prevent editors from complaining about space-tab. 8249 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8250 # splitting by setting IFS to empty value.) 8251 as_nl=' 8252 ' 8253 IFS=" "" $as_nl" 8254 8255 # Find who we are. Look in the path if we contain no directory separator. 8256 case $0 in 8257 *[\\/]* ) as_myself=$0 ;; 8258 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7965 7966 as_lineno_1=$LINENO 7967 as_lineno_2=$LINENO 7968 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7969 test "x$as_lineno_1" != "x$as_lineno_2" && 7970 test "x$as_lineno_3" = "x$as_lineno_2" || { 7971 # Find who we are. Look in the path if we contain no path at all 7972 # relative or not. 7973 case $0 in 7974 *[\\/]* ) as_myself=$0 ;; 7975 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8259 7976 for as_dir in $PATH 8260 7977 do … … 8263 7980 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8264 7981 done 8265 IFS=$as_save_IFS 8266 8267 ;; 8268 esac 8269 # We did not find ourselves, most probably we were run as `sh COMMAND' 8270 # in which case we are not to be found in the path. 8271 if test "x$as_myself" = x; then 8272 as_myself=$0 8273 fi 8274 if test ! -f "$as_myself"; then 8275 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8276 { (exit 1); exit 1; } 8277 fi 8278 8279 # Work around bugs in pre-3.0 UWIN ksh. 8280 for as_var in ENV MAIL MAILPATH 8281 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8282 done 8283 PS1='$ ' 8284 PS2='> ' 8285 PS4='+ ' 8286 8287 # NLS nuisances. 8288 for as_var in \ 8289 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8290 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8291 LC_TELEPHONE LC_TIME 7982 7983 ;; 7984 esac 7985 # We did not find ourselves, most probably we were run as `sh COMMAND' 7986 # in which case we are not to be found in the path. 7987 if test "x$as_myself" = x; then 7988 as_myself=$0 7989 fi 7990 if test ! -f "$as_myself"; then 7991 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7992 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7993 { (exit 1); exit 1; }; } 7994 fi 7995 case $CONFIG_SHELL in 7996 '') 7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7998 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8292 7999 do 8293 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8294 eval $as_var=C; export $as_var 8295 else 8296 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8297 fi 8298 done 8299 8300 # Required to use basename. 8301 if expr a : '\(a\)' >/dev/null 2>&1 && 8302 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8303 as_expr=expr 8304 else 8305 as_expr=false 8306 fi 8307 8308 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8309 as_basename=basename 8310 else 8311 as_basename=false 8312 fi 8313 8314 8315 # Name of the executable. 8316 as_me=`$as_basename -- "$0" || 8317 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8318 X"$0" : 'X\(//\)$' \| \ 8319 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8320 echo X/"$0" | 8321 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8322 s//\1/ 8323 q 8324 } 8325 /^X\/\(\/\/\)$/{ 8326 s//\1/ 8327 q 8328 } 8329 /^X\/\(\/\).*/{ 8330 s//\1/ 8331 q 8332 } 8333 s/.*/./; q'` 8334 8335 # CDPATH. 8336 $as_unset CDPATH 8337 8338 8339 8000 IFS=$as_save_IFS 8001 test -z "$as_dir" && as_dir=. 8002 for as_base in sh bash ksh sh5; do 8003 case $as_dir in 8004 /*) 8005 if ("$as_dir/$as_base" -c ' 8340 8006 as_lineno_1=$LINENO 8341 8007 as_lineno_2=$LINENO 8008 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8342 8009 test "x$as_lineno_1" != "x$as_lineno_2" && 8343 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8010 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8011 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8012 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8013 CONFIG_SHELL=$as_dir/$as_base 8014 export CONFIG_SHELL 8015 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8016 fi;; 8017 esac 8018 done 8019 done 8020 ;; 8021 esac 8344 8022 8345 8023 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8346 8024 # uniformly replaced by the line number. The first 'sed' inserts a 8347 # line-number line after each line using $LINENO; the second 'sed' 8348 # does the real work. The second script uses 'N' to pair each 8349 # line-number line with the line containing $LINENO, and appends 8350 # trailing '-' during substitution so that $LINENO is not a special 8351 # case at line end. 8025 # line-number line before each line; the second 'sed' does the real 8026 # work. The second script uses 'N' to pair each line-number line 8027 # with the numbered line, and appends trailing '-' during 8028 # substitution so that $LINENO is not a special case at line end. 8352 8029 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8353 # scripts with optimization help from Paolo Bonzini. Blame Lee 8354 # E. McMahon (1931-1989) for sed's syntax. :-) 8355 sed -n ' 8356 p 8357 /[$]LINENO/= 8358 ' <$as_myself | 8030 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8031 sed '=' <$as_myself | 8359 8032 sed ' 8360 s/[$]LINENO.*/&-/8361 t lineno8362 b8363 :lineno8364 8033 N 8365 :loop 8366 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8034 s,$,-, 8035 : loop 8036 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8367 8037 t loop 8368 s/-\n.*// 8038 s,-$,, 8039 s,^['$as_cr_digits']*\n,, 8369 8040 ' >$as_me.lineno && 8370 chmod +x "$as_me.lineno" || 8371 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8041 chmod +x $as_me.lineno || 8042 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8043 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8372 8044 { (exit 1); exit 1; }; } 8373 8045 8374 8046 # Don't try to exec as it changes $[0], causing all sort of problems 8375 8047 # (the dirname of $[0] is not the place where we might find the 8376 # original and so on. Autoconf is especially sensi tive to this).8377 . "./$as_me.lineno"8048 # original and so on. Autoconf is especially sensible to this). 8049 . ./$as_me.lineno 8378 8050 # Exit status is that of the last command. 8379 8051 exit … … 8381 8053 8382 8054 8383 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8384 as_dirname=dirname 8385 else 8386 as_dirname=false 8387 fi 8388 8389 ECHO_C= ECHO_N= ECHO_T= 8390 case `echo -n x` in 8391 -n*) 8392 case `echo 'x\c'` in 8393 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8394 *) ECHO_C='\c';; 8395 esac;; 8396 *) 8397 ECHO_N='-n';; 8055 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8056 *c*,-n*) ECHO_N= ECHO_C=' 8057 ' ECHO_T=' ' ;; 8058 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8059 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8398 8060 esac 8399 8061 8400 if expr a : '\(a\)' >/dev/null 2>&1 && 8401 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8062 if expr a : '\(a\)' >/dev/null 2>&1; then 8402 8063 as_expr=expr 8403 8064 else … … 8406 8067 8407 8068 rm -f conf$$ conf$$.exe conf$$.file 8408 if test -d conf$$.dir; then8409 rm -f conf$$.dir/conf$$.file8410 else8411 rm -f conf$$.dir8412 mkdir conf$$.dir8413 fi8414 8069 echo >conf$$.file 8415 8070 if ln -s conf$$.file conf$$ 2>/dev/null; then 8416 as_ln_s='ln -s' 8417 # ... but there are two gotchas: 8418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8420 # In both cases, we have to default to `cp -p'. 8421 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8071 # We could just check for DJGPP; but this test a) works b) is more generic 8072 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8073 if test -f conf$$.exe; then 8074 # Don't use ln at all; we don't have any links 8422 8075 as_ln_s='cp -p' 8076 else 8077 as_ln_s='ln -s' 8078 fi 8423 8079 elif ln conf$$.file conf$$ 2>/dev/null; then 8424 8080 as_ln_s=ln … … 8426 8082 as_ln_s='cp -p' 8427 8083 fi 8428 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8429 rmdir conf$$.dir 2>/dev/null 8084 rm -f conf$$ conf$$.exe conf$$.file 8430 8085 8431 8086 if mkdir -p . 2>/dev/null; then … … 8436 8091 fi 8437 8092 8438 if test -x / >/dev/null 2>&1; then 8439 as_test_x='test -x' 8440 else 8441 if ls -dL / >/dev/null 2>&1; then 8442 as_ls_L_option=L 8443 else 8444 as_ls_L_option= 8445 fi 8446 as_test_x=' 8447 eval sh -c '\'' 8448 if test -d "$1"; then 8449 test -d "$1/."; 8450 else 8451 case $1 in 8452 -*)set "./$1";; 8453 esac; 8454 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8455 ???[sx]*):;;*)false;;esac;fi 8456 '\'' sh 8457 ' 8458 fi 8459 as_executable_p=$as_test_x 8093 as_executable_p="test -f" 8460 8094 8461 8095 # Sed expression to map a string onto a valid CPP name. … … 8466 8100 8467 8101 8102 # IFS 8103 # We need space, tab and new line, in precisely that order. 8104 as_nl=' 8105 ' 8106 IFS=" $as_nl" 8107 8108 # CDPATH. 8109 $as_unset CDPATH 8110 8468 8111 exec 6>&1 8469 8112 8470 # Save the log message, to keep$[0] and so on meaningful, and to8113 # Open the log real soon, to keep \$[0] and so on meaningful, and to 8471 8114 # report actual input values of CONFIG_FILES etc. instead of their 8472 # values after options handling. 8473 ac_log=" 8115 # values after options handling. Logging --version etc. is OK. 8116 exec 5>>config.log 8117 { 8118 echo 8119 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8120 ## Running $as_me. ## 8121 _ASBOX 8122 } >&5 8123 cat >&5 <<_CSEOF 8124 8474 8125 This file was extended by $as_me, which was 8475 generated by GNU Autoconf 2. 61. Invocation command line was8126 generated by GNU Autoconf 2.59. Invocation command line was 8476 8127 8477 8128 CONFIG_FILES = $CONFIG_FILES … … 8481 8132 $ $0 $@ 8482 8133 8483 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8484 " 8485 8486 _ACEOF 8487 8488 cat >>$CONFIG_STATUS <<_ACEOF 8134 _CSEOF 8135 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8136 echo >&5 8137 _ACEOF 8138 8489 8139 # Files that config.status was made for. 8490 config_files="$ac_config_files" 8491 config_headers="$ac_config_headers" 8492 config_commands="$ac_config_commands" 8493 8494 _ACEOF 8140 if test -n "$ac_config_files"; then 8141 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8142 fi 8143 8144 if test -n "$ac_config_headers"; then 8145 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8146 fi 8147 8148 if test -n "$ac_config_links"; then 8149 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8150 fi 8151 8152 if test -n "$ac_config_commands"; then 8153 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8154 fi 8495 8155 8496 8156 cat >>$CONFIG_STATUS <<\_ACEOF 8157 8497 8158 ac_cs_usage="\ 8498 8159 \`$as_me' instantiates files from templates according to the … … 8502 8163 8503 8164 -h, --help print this help, then exit 8504 -V, --version print version number and configuration settings, then exit8165 -V, --version print version number, then exit 8505 8166 -q, --quiet do not print progress messages 8506 8167 -d, --debug don't remove temporary files … … 8521 8182 8522 8183 Report bugs to <[email protected]>." 8523 8524 _ACEOF 8184 _ACEOF 8185 8525 8186 cat >>$CONFIG_STATUS <<_ACEOF 8526 8187 ac_cs_version="\\ 8527 8188 config.status 8528 configured by $0, generated by GNU Autoconf 2. 61,8529 with options \\"`echo "$ac_configure_args" | sed 's/ ^ //; s/[\\""\`\$]/\\\\&/g'`\\"8530 8531 Copyright (C) 200 6Free Software Foundation, Inc.8189 configured by $0, generated by GNU Autoconf 2.59, 8190 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8191 8192 Copyright (C) 2003 Free Software Foundation, Inc. 8532 8193 This config.status script is free software; the Free Software Foundation 8533 8194 gives unlimited permission to copy, distribute and modify it." 8534 8535 ac_pwd='$ac_pwd' 8536 srcdir='$srcdir' 8537 INSTALL='$INSTALL' 8195 srcdir=$srcdir 8196 INSTALL="$INSTALL" 8538 8197 _ACEOF 8539 8198 … … 8546 8205 case $1 in 8547 8206 --*=*) 8548 ac_option=`expr " X$1" : 'X\([^=]*\)='`8549 ac_optarg=`expr " X$1" : 'X[^=]*=\(.*\)'`8207 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8208 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8550 8209 ac_shift=: 8551 8210 ;; 8552 *)8211 -*) 8553 8212 ac_option=$1 8554 8213 ac_optarg=$2 8555 8214 ac_shift=shift 8556 8215 ;; 8216 *) # This is not an option, so the user has probably given explicit 8217 # arguments. 8218 ac_option=$1 8219 ac_need_defaults=false;; 8557 8220 esac 8558 8221 8559 8222 case $ac_option in 8560 8223 # Handling of the options. 8224 _ACEOF 8225 cat >>$CONFIG_STATUS <<\_ACEOF 8561 8226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8562 8227 ac_cs_recheck=: ;; 8563 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8564 echo "$ac_cs_version"; exit ;; 8565 --debug | --debu | --deb | --de | --d | -d ) 8228 --version | --vers* | -V ) 8229 echo "$ac_cs_version"; exit 0 ;; 8230 --he | --h) 8231 # Conflict between --help and --header 8232 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8233 Try \`$0 --help' for more information." >&5 8234 echo "$as_me: error: ambiguous option: $1 8235 Try \`$0 --help' for more information." >&2;} 8236 { (exit 1); exit 1; }; };; 8237 --help | --hel | -h ) 8238 echo "$ac_cs_usage"; exit 0 ;; 8239 --debug | --d* | -d ) 8566 8240 debug=: ;; 8567 8241 --file | --fil | --fi | --f ) … … 8573 8247 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8574 8248 ac_need_defaults=false;; 8575 --he | --h)8576 # Conflict between --help and --header8577 { echo "$as_me: error: ambiguous option: $18578 Try \`$0 --help' for more information." >&28579 { (exit 1); exit 1; }; };;8580 --help | --hel | -h )8581 echo "$ac_cs_usage"; exit ;;8582 8249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8583 8250 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 8585 8252 8586 8253 # This is an error. 8587 -*) { echo "$as_me: error: unrecognized option: $1 8588 Try \`$0 --help' for more information." >&2 8254 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8255 Try \`$0 --help' for more information." >&5 8256 echo "$as_me: error: unrecognized option: $1 8257 Try \`$0 --help' for more information." >&2;} 8589 8258 { (exit 1); exit 1; }; } ;; 8590 8259 8591 *) ac_config_targets="$ac_config_targets $1" 8592 ac_need_defaults=false ;; 8260 *) ac_config_targets="$ac_config_targets $1" ;; 8593 8261 8594 8262 esac … … 8606 8274 cat >>$CONFIG_STATUS <<_ACEOF 8607 8275 if \$ac_cs_recheck; then 8608 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8609 CONFIG_SHELL=$SHELL 8610 export CONFIG_SHELL 8611 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8612 fi 8613 8614 _ACEOF 8276 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8277 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8278 fi 8279 8280 _ACEOF 8281 8282 8283 8284 8285 8615 8286 cat >>$CONFIG_STATUS <<\_ACEOF 8616 exec 5>>config.log8617 {8618 echo8619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX8620 ## Running $as_me. ##8621 _ASBOX8622 echo "$ac_log"8623 } >&58624 8625 _ACEOF8626 cat >>$CONFIG_STATUS <<_ACEOF8627 _ACEOF8628 8629 cat >>$CONFIG_STATUS <<\_ACEOF8630 8631 # Handling of arguments.8632 8287 for ac_config_target in $ac_config_targets 8633 8288 do 8634 case $ac_config_targetin8635 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;8636 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8637 "text/Makefile") CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;8638 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;8639 "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;8640 "java/org/greenstone/mgpp/Makefile") CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;8641 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;8642 8289 case "$ac_config_target" in 8290 # Handling of arguments. 8291 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8292 "text/Makefile" ) CONFIG_FILES="$CONFIG_FILES text/Makefile" ;; 8293 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 8294 "jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;; 8295 "java/org/greenstone/mgpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;; 8296 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 8297 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8643 8298 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8644 8299 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 8646 8301 esac 8647 8302 done 8648 8649 8303 8650 8304 # If the user did not use the arguments to specify the items to instantiate, … … 8659 8313 8660 8314 # Have a temporary directory for convenience. Make it in the build tree 8661 # simply because there is no reason against havingit here, and in addition,8315 # simply because there is no reason to put it here, and in addition, 8662 8316 # creating and moving files from /tmp can sometimes cause problems. 8663 # Hook for its removal unless debugging. 8664 # Note that there is a small window in which the directory will not be cleaned: 8665 # after its creation but before its name has been assigned to `$tmp'. 8317 # Create a temporary directory, and hook for its removal unless debugging. 8666 8318 $debug || 8667 8319 { 8668 tmp= 8669 trap 'exit_status=$? 8670 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8671 ' 0 8320 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8672 8321 trap '{ (exit 1); exit 1; }' 1 2 13 15 8673 8322 } 8323 8674 8324 # Create a (secure) tmp directory for tmp files. 8675 8325 8676 8326 { 8677 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&8327 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 8678 8328 test -n "$tmp" && test -d "$tmp" 8679 8329 } || 8680 8330 { 8681 tmp=./conf $$-$RANDOM8682 (umask 077 && mkdir "$tmp")8331 tmp=./confstat$$-$RANDOM 8332 (umask 077 && mkdir $tmp) 8683 8333 } || 8684 8334 { … … 8687 8337 } 8688 8338 8339 _ACEOF 8340 8341 cat >>$CONFIG_STATUS <<_ACEOF 8342 8689 8343 # 8690 # Set up the sed scripts forCONFIG_FILES section.8344 # CONFIG_FILES section. 8691 8345 # 8692 8346 8693 8347 # No need to generate the scripts if there are no CONFIG_FILES. 8694 8348 # This happens for instance when ./config.status config.h 8695 if test -n "$CONFIG_FILES"; then 8696 8697 _ACEOF 8698 8699 8700 8701 ac_delim='%!_!# ' 8702 for ac_last_try in false false false false false :; do 8703 cat >conf$$subs.sed <<_ACEOF 8704 SHELL!$SHELL$ac_delim 8705 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8706 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8707 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8708 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8709 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8710 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8711 exec_prefix!$exec_prefix$ac_delim 8712 prefix!$prefix$ac_delim 8713 program_transform_name!$program_transform_name$ac_delim 8714 bindir!$bindir$ac_delim 8715 sbindir!$sbindir$ac_delim 8716 libexecdir!$libexecdir$ac_delim 8717 datarootdir!$datarootdir$ac_delim 8718 datadir!$datadir$ac_delim 8719 sysconfdir!$sysconfdir$ac_delim 8720 sharedstatedir!$sharedstatedir$ac_delim 8721 localstatedir!$localstatedir$ac_delim 8722 includedir!$includedir$ac_delim 8723 oldincludedir!$oldincludedir$ac_delim 8724 docdir!$docdir$ac_delim 8725 infodir!$infodir$ac_delim 8726 htmldir!$htmldir$ac_delim 8727 dvidir!$dvidir$ac_delim 8728 pdfdir!$pdfdir$ac_delim 8729 psdir!$psdir$ac_delim 8730 libdir!$libdir$ac_delim 8731 localedir!$localedir$ac_delim 8732 mandir!$mandir$ac_delim 8733 DEFS!$DEFS$ac_delim 8734 ECHO_C!$ECHO_C$ac_delim 8735 ECHO_N!$ECHO_N$ac_delim 8736 ECHO_T!$ECHO_T$ac_delim 8737 LIBS!$LIBS$ac_delim 8738 build_alias!$build_alias$ac_delim 8739 host_alias!$host_alias$ac_delim 8740 target_alias!$target_alias$ac_delim 8741 build!$build$ac_delim 8742 build_cpu!$build_cpu$ac_delim 8743 build_vendor!$build_vendor$ac_delim 8744 build_os!$build_os$ac_delim 8745 host!$host$ac_delim 8746 host_cpu!$host_cpu$ac_delim 8747 host_vendor!$host_vendor$ac_delim 8748 host_os!$host_os$ac_delim 8749 target!$target$ac_delim 8750 target_cpu!$target_cpu$ac_delim 8751 target_vendor!$target_vendor$ac_delim 8752 target_os!$target_os$ac_delim 8753 PACKAGE!$PACKAGE$ac_delim 8754 VERSION!$VERSION$ac_delim 8755 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim 8756 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim 8757 CXX!$CXX$ac_delim 8758 CXXFLAGS!$CXXFLAGS$ac_delim 8759 LDFLAGS!$LDFLAGS$ac_delim 8760 CPPFLAGS!$CPPFLAGS$ac_delim 8761 ac_ct_CXX!$ac_ct_CXX$ac_delim 8762 EXEEXT!$EXEEXT$ac_delim 8763 OBJEXT!$OBJEXT$ac_delim 8764 AWK!$AWK$ac_delim 8765 YACC!$YACC$ac_delim 8766 YFLAGS!$YFLAGS$ac_delim 8767 CC!$CC$ac_delim 8768 CFLAGS!$CFLAGS$ac_delim 8769 ac_ct_CC!$ac_ct_CC$ac_delim 8770 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8771 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8772 INSTALL_DATA!$INSTALL_DATA$ac_delim 8773 LN_S!$LN_S$ac_delim 8774 SET_MAKE!$SET_MAKE$ac_delim 8775 RANLIB!$RANLIB$ac_delim 8776 CPP!$CPP$ac_delim 8777 GREP!$GREP$ac_delim 8778 EGREP!$EGREP$ac_delim 8779 U!$U$ac_delim 8780 ANSI2KNR!$ANSI2KNR$ac_delim 8781 UNAC_DIR!$UNAC_DIR$ac_delim 8782 ALLOCA!$ALLOCA$ac_delim 8783 LIBOBJS!$LIBOBJS$ac_delim 8784 JNIINC!$JNIINC$ac_delim 8785 JNISUFFIX!$JNISUFFIX$ac_delim 8786 JNIFLAGS!$JNIFLAGS$ac_delim 8787 LTLIBOBJS!$LTLIBOBJS$ac_delim 8788 _ACEOF 8789 8790 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then 8791 break 8792 elif $ac_last_try; then 8793 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8794 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8795 { (exit 1); exit 1; }; } 8796 else 8797 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8349 if test -n "\$CONFIG_FILES"; then 8350 # Protect against being on the right side of a sed subst in config.status. 8351 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8352 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8353 s,@SHELL@,$SHELL,;t t 8354 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8355 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8356 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8357 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8358 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8359 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8360 s,@exec_prefix@,$exec_prefix,;t t 8361 s,@prefix@,$prefix,;t t 8362 s,@program_transform_name@,$program_transform_name,;t t 8363 s,@bindir@,$bindir,;t t 8364 s,@sbindir@,$sbindir,;t t 8365 s,@libexecdir@,$libexecdir,;t t 8366 s,@datadir@,$datadir,;t t 8367 s,@sysconfdir@,$sysconfdir,;t t 8368 s,@sharedstatedir@,$sharedstatedir,;t t 8369 s,@localstatedir@,$localstatedir,;t t 8370 s,@libdir@,$libdir,;t t 8371 s,@includedir@,$includedir,;t t 8372 s,@oldincludedir@,$oldincludedir,;t t 8373 s,@infodir@,$infodir,;t t 8374 s,@mandir@,$mandir,;t t 8375 s,@build_alias@,$build_alias,;t t 8376 s,@host_alias@,$host_alias,;t t 8377 s,@target_alias@,$target_alias,;t t 8378 s,@DEFS@,$DEFS,;t t 8379 s,@ECHO_C@,$ECHO_C,;t t 8380 s,@ECHO_N@,$ECHO_N,;t t 8381 s,@ECHO_T@,$ECHO_T,;t t 8382 s,@LIBS@,$LIBS,;t t 8383 s,@build@,$build,;t t 8384 s,@build_cpu@,$build_cpu,;t t 8385 s,@build_vendor@,$build_vendor,;t t 8386 s,@build_os@,$build_os,;t t 8387 s,@host@,$host,;t t 8388 s,@host_cpu@,$host_cpu,;t t 8389 s,@host_vendor@,$host_vendor,;t t 8390 s,@host_os@,$host_os,;t t 8391 s,@target@,$target,;t t 8392 s,@target_cpu@,$target_cpu,;t t 8393 s,@target_vendor@,$target_vendor,;t t 8394 s,@target_os@,$target_os,;t t 8395 s,@PACKAGE@,$PACKAGE,;t t 8396 s,@VERSION@,$VERSION,;t t 8397 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8398 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8399 s,@USE_JDBM@,$USE_JDBM,;t t 8400 s,@USE_GDBM@,$USE_GDBM,;t t 8401 s,@CXX@,$CXX,;t t 8402 s,@CXXFLAGS@,$CXXFLAGS,;t t 8403 s,@LDFLAGS@,$LDFLAGS,;t t 8404 s,@CPPFLAGS@,$CPPFLAGS,;t t 8405 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8406 s,@EXEEXT@,$EXEEXT,;t t 8407 s,@OBJEXT@,$OBJEXT,;t t 8408 s,@AWK@,$AWK,;t t 8409 s,@YACC@,$YACC,;t t 8410 s,@CC@,$CC,;t t 8411 s,@CFLAGS@,$CFLAGS,;t t 8412 s,@ac_ct_CC@,$ac_ct_CC,;t t 8413 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8414 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8415 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8416 s,@LN_S@,$LN_S,;t t 8417 s,@SET_MAKE@,$SET_MAKE,;t t 8418 s,@RANLIB@,$RANLIB,;t t 8419 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8420 s,@CPP@,$CPP,;t t 8421 s,@EGREP@,$EGREP,;t t 8422 s,@U@,$U,;t t 8423 s,@ANSI2KNR@,$ANSI2KNR,;t t 8424 s,@UNAC_DIR@,$UNAC_DIR,;t t 8425 s,@ALLOCA@,$ALLOCA,;t t 8426 s,@LIBOBJS@,$LIBOBJS,;t t 8427 s,@JNIINC@,$JNIINC,;t t 8428 s,@JNISUFFIX@,$JNISUFFIX,;t t 8429 s,@JNIFLAGS@,$JNIFLAGS,;t t 8430 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8431 CEOF 8432 8433 _ACEOF 8434 8435 cat >>$CONFIG_STATUS <<\_ACEOF 8436 # Split the substitutions into bite-sized pieces for seds with 8437 # small command number limits, like on Digital OSF/1 and HP-UX. 8438 ac_max_sed_lines=48 8439 ac_sed_frag=1 # Number of current file. 8440 ac_beg=1 # First line for current file. 8441 ac_end=$ac_max_sed_lines # Line after last line for current file. 8442 ac_more_lines=: 8443 ac_sed_cmds= 8444 while $ac_more_lines; do 8445 if test $ac_beg -gt 1; then 8446 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8447 else 8448 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8449 fi 8450 if test ! -s $tmp/subs.frag; then 8451 ac_more_lines=false 8452 else 8453 # The purpose of the label and of the branching condition is to 8454 # speed up the sed processing (if there are no `@' at all, there 8455 # is no need to browse any of the substitutions). 8456 # These are the two extra sed commands mentioned above. 8457 (echo ':t 8458 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8459 if test -z "$ac_sed_cmds"; then 8460 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8461 else 8462 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8463 fi 8464 ac_sed_frag=`expr $ac_sed_frag + 1` 8465 ac_beg=$ac_end 8466 ac_end=`expr $ac_end + $ac_max_sed_lines` 8467 fi 8468 done 8469 if test -z "$ac_sed_cmds"; then 8470 ac_sed_cmds=cat 8798 8471 fi 8799 done 8800 8801 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8802 if test -n "$ac_eof"; then 8803 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8804 ac_eof=`expr $ac_eof + 1` 8805 fi 8806 8807 cat >>$CONFIG_STATUS <<_ACEOF 8808 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8809 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8810 _ACEOF 8811 sed ' 8812 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8813 s/^/s,@/; s/!/@,|#_!!_#|/ 8814 :n 8815 t n 8816 s/'"$ac_delim"'$/,g/; t 8817 s/$/\\/; p 8818 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8819 ' >>$CONFIG_STATUS <conf$$subs.sed 8820 rm -f conf$$subs.sed 8821 cat >>$CONFIG_STATUS <<_ACEOF 8822 :end 8823 s/|#_!!_#|//g 8824 CEOF$ac_eof 8825 _ACEOF 8826 8827 8828 # VPATH may cause trouble with some makes, so we remove $(srcdir), 8829 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8830 # trailing colons and then remove the whole line if VPATH becomes empty 8831 # (actually we leave an empty line to preserve line numbers). 8832 if test "x$srcdir" = x.; then 8833 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8834 s/:*\$(srcdir):*/:/ 8835 s/:*\${srcdir}:*/:/ 8836 s/:*@srcdir@:*/:/ 8837 s/^\([^=]*=[ ]*\):*/\1/ 8838 s/:*$// 8839 s/^[^=]*=[ ]*$// 8840 }' 8841 fi 8842 8472 fi # test -n "$CONFIG_FILES" 8473 8474 _ACEOF 8843 8475 cat >>$CONFIG_STATUS <<\_ACEOF 8844 fi # test -n "$CONFIG_FILES" 8845 8846 8847 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 8848 do 8849 case $ac_tag in 8850 :[FHLC]) ac_mode=$ac_tag; continue;; 8476 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8477 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8478 case $ac_file in 8479 - | *:- | *:-:* ) # input from stdin 8480 cat >$tmp/stdin 8481 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8482 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8483 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8484 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8485 * ) ac_file_in=$ac_file.in ;; 8851 8486 esac 8852 case $ac_mode$ac_tag in 8853 :[FHL]*:*);; 8854 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8855 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 8856 { (exit 1); exit 1; }; };; 8857 :[FH]-) ac_tag=-:-;; 8858 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8859 esac 8860 ac_save_IFS=$IFS 8861 IFS=: 8862 set x $ac_tag 8863 IFS=$ac_save_IFS 8864 shift 8865 ac_file=$1 8866 shift 8867 8868 case $ac_mode in 8869 :L) ac_source=$1;; 8870 :[FH]) 8871 ac_file_inputs= 8872 for ac_f 8873 do 8874 case $ac_f in 8875 -) ac_f="$tmp/stdin";; 8876 *) # Look for the file first in the build tree, then in the source tree 8877 # (if the path is not absolute). The absolute path cannot be DOS-style, 8878 # because $ac_f cannot contain `:'. 8879 test -f "$ac_f" || 8880 case $ac_f in 8881 [\\/$]*) false;; 8882 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8883 esac || 8884 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8885 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 8886 { (exit 1); exit 1; }; };; 8887 esac 8888 ac_file_inputs="$ac_file_inputs $ac_f" 8889 done 8890 8891 # Let's still pretend it is `configure' which instantiates (i.e., don't 8892 # use $as_me), people would be surprised to read: 8893 # /* config.h. Generated by config.status. */ 8894 configure_input="Generated from "`IFS=: 8895 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8896 if test x"$ac_file" != x-; then 8897 configure_input="$ac_file. $configure_input" 8898 { echo "$as_me:$LINENO: creating $ac_file" >&5 8899 echo "$as_me: creating $ac_file" >&6;} 8900 fi 8901 8902 case $ac_tag in 8903 *:-:* | *:-) cat >"$tmp/stdin";; 8904 esac 8905 ;; 8906 esac 8907 8908 ac_dir=`$as_dirname -- "$ac_file" || 8487 8488 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8489 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8909 8490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8910 8491 X"$ac_file" : 'X\(//\)[^/]' \| \ 8911 8492 X"$ac_file" : 'X\(//\)$' \| \ 8912 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8493 X"$ac_file" : 'X\(/\)' \| \ 8494 . : '\(.\)' 2>/dev/null || 8913 8495 echo X"$ac_file" | 8914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8915 s//\1/ 8916 q 8917 } 8918 /^X\(\/\/\)[^/].*/{ 8919 s//\1/ 8920 q 8921 } 8922 /^X\(\/\/\)$/{ 8923 s//\1/ 8924 q 8925 } 8926 /^X\(\/\).*/{ 8927 s//\1/ 8928 q 8929 } 8930 s/.*/./; q'` 8931 { as_dir="$ac_dir" 8932 case $as_dir in #( 8933 -*) as_dir=./$as_dir;; 8934 esac 8935 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8497 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8498 /^X\(\/\/\)$/{ s//\1/; q; } 8499 /^X\(\/\).*/{ s//\1/; q; } 8500 s/.*/./; q'` 8501 { if $as_mkdir_p; then 8502 mkdir -p "$ac_dir" 8503 else 8504 as_dir="$ac_dir" 8936 8505 as_dirs= 8937 while :; do 8938 case $as_dir in #( 8939 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8940 *) as_qdir=$as_dir;; 8941 esac 8942 as_dirs="'$as_qdir' $as_dirs" 8943 as_dir=`$as_dirname -- "$as_dir" || 8506 while test ! -d "$as_dir"; do 8507 as_dirs="$as_dir $as_dirs" 8508 as_dir=`(dirname "$as_dir") 2>/dev/null || 8944 8509 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8945 8510 X"$as_dir" : 'X\(//\)[^/]' \| \ 8946 8511 X"$as_dir" : 'X\(//\)$' \| \ 8947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8512 X"$as_dir" : 'X\(/\)' \| \ 8513 . : '\(.\)' 2>/dev/null || 8948 8514 echo X"$as_dir" | 8949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8950 s//\1/ 8951 q 8952 } 8953 /^X\(\/\/\)[^/].*/{ 8954 s//\1/ 8955 q 8956 } 8957 /^X\(\/\/\)$/{ 8958 s//\1/ 8959 q 8960 } 8961 /^X\(\/\).*/{ 8962 s//\1/ 8963 q 8964 } 8965 s/.*/./; q'` 8966 test -d "$as_dir" && break 8515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8516 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8517 /^X\(\/\/\)$/{ s//\1/; q; } 8518 /^X\(\/\).*/{ s//\1/; q; } 8519 s/.*/./; q'` 8967 8520 done 8968 test -z "$as_dirs" || eval "mkdir $as_dirs"8969 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&58970 echo "$as_me: error: cannot create directory $as_dir" >&2;}8521 test ! -n "$as_dirs" || mkdir $as_dirs 8522 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8523 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8971 8524 { (exit 1); exit 1; }; }; } 8525 8972 8526 ac_builddir=. 8973 8527 8974 case "$ac_dir" in 8975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8528 if test "$ac_dir" != .; then 8529 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8530 # A "../" for each directory in $ac_dir_suffix. 8531 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8532 else 8533 ac_dir_suffix= ac_top_builddir= 8534 fi 8535 8536 case $srcdir in 8537 .) # No --srcdir option. We are building in place. 8538 ac_srcdir=. 8539 if test -z "$ac_top_builddir"; then 8540 ac_top_srcdir=. 8541 else 8542 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8543 fi ;; 8544 [\\/]* | ?:[\\/]* ) # Absolute path. 8545 ac_srcdir=$srcdir$ac_dir_suffix; 8546 ac_top_srcdir=$srcdir ;; 8547 *) # Relative path. 8548 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8549 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8550 esac 8551 8552 # Do not use `cd foo && pwd` to compute absolute paths, because 8553 # the directories may not exist. 8554 case `pwd` in 8555 .) ac_abs_builddir="$ac_dir";; 8976 8556 *) 8977 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8978 # A ".." for each directory in $ac_dir_suffix. 8979 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8980 case $ac_top_builddir_sub in 8981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8983 esac ;; 8557 case "$ac_dir" in 8558 .) ac_abs_builddir=`pwd`;; 8559 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8560 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8561 esac;; 8984 8562 esac 8985 ac_abs_top_builddir=$ac_pwd 8986 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8987 # for backward compatibility: 8988 ac_top_builddir=$ac_top_build_prefix 8989 8990 case $srcdir in 8991 .) # We are building in place. 8992 ac_srcdir=. 8993 ac_top_srcdir=$ac_top_builddir_sub 8994 ac_abs_top_srcdir=$ac_pwd ;; 8995 [\\/]* | ?:[\\/]* ) # Absolute name. 8996 ac_srcdir=$srcdir$ac_dir_suffix; 8997 ac_top_srcdir=$srcdir 8998 ac_abs_top_srcdir=$srcdir ;; 8999 *) # Relative name. 9000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9001 ac_top_srcdir=$ac_top_build_prefix$srcdir 9002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8563 case $ac_abs_builddir in 8564 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8565 *) 8566 case ${ac_top_builddir}. in 8567 .) ac_abs_top_builddir=$ac_abs_builddir;; 8568 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8569 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8570 esac;; 9003 8571 esac 9004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9005 9006 9007 case $ac_mode in 9008 :F) 9009 # 9010 # CONFIG_FILE 9011 # 8572 case $ac_abs_builddir in 8573 .) ac_abs_srcdir=$ac_srcdir;; 8574 *) 8575 case $ac_srcdir in 8576 .) ac_abs_srcdir=$ac_abs_builddir;; 8577 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8578 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8579 esac;; 8580 esac 8581 case $ac_abs_builddir in 8582 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8583 *) 8584 case $ac_top_srcdir in 8585 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8586 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8587 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8588 esac;; 8589 esac 8590 9012 8591 9013 8592 case $INSTALL in 9014 8593 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9015 *) ac_INSTALL=$ac_top_build _prefix$INSTALL ;;8594 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 9016 8595 esac 9017 _ACEOF 9018 9019 cat >>$CONFIG_STATUS <<\_ACEOF 9020 # If the template does not know about datarootdir, expand it. 9021 # FIXME: This hack should be removed a few years after 2.60. 9022 ac_datarootdir_hack=; ac_datarootdir_seen= 9023 9024 case `sed -n '/datarootdir/ { 9025 p 9026 q 9027 } 9028 /@datadir@/p 9029 /@docdir@/p 9030 /@infodir@/p 9031 /@localedir@/p 9032 /@mandir@/p 9033 ' $ac_file_inputs` in 9034 *datarootdir*) ac_datarootdir_seen=yes;; 9035 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9036 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9037 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9038 _ACEOF 9039 cat >>$CONFIG_STATUS <<_ACEOF 9040 ac_datarootdir_hack=' 9041 s&@datadir@&$datadir&g 9042 s&@docdir@&$docdir&g 9043 s&@infodir@&$infodir&g 9044 s&@localedir@&$localedir&g 9045 s&@mandir@&$mandir&g 9046 s&\\\${datarootdir}&$datarootdir&g' ;; 9047 esac 9048 _ACEOF 9049 9050 # Neutralize VPATH when `$srcdir' = `.'. 9051 # Shell code in configure.ac might set extrasub. 9052 # FIXME: do we really want to maintain this feature? 8596 8597 if test x"$ac_file" != x-; then 8598 { echo "$as_me:$LINENO: creating $ac_file" >&5 8599 echo "$as_me: creating $ac_file" >&6;} 8600 rm -f "$ac_file" 8601 fi 8602 # Let's still pretend it is `configure' which instantiates (i.e., don't 8603 # use $as_me), people would be surprised to read: 8604 # /* config.h. Generated by config.status. */ 8605 if test x"$ac_file" = x-; then 8606 configure_input= 8607 else 8608 configure_input="$ac_file. " 8609 fi 8610 configure_input=$configure_input"Generated from `echo $ac_file_in | 8611 sed 's,.*/,,'` by configure." 8612 8613 # First look for the input files in the build tree, otherwise in the 8614 # src tree. 8615 ac_file_inputs=`IFS=: 8616 for f in $ac_file_in; do 8617 case $f in 8618 -) echo $tmp/stdin ;; 8619 [\\/$]*) 8620 # Absolute (can't be DOS-style, as IFS=:) 8621 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8622 echo "$as_me: error: cannot find input file: $f" >&2;} 8623 { (exit 1); exit 1; }; } 8624 echo "$f";; 8625 *) # Relative 8626 if test -f "$f"; then 8627 # Build tree 8628 echo "$f" 8629 elif test -f "$srcdir/$f"; then 8630 # Source tree 8631 echo "$srcdir/$f" 8632 else 8633 # /dev/null tree 8634 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8635 echo "$as_me: error: cannot find input file: $f" >&2;} 8636 { (exit 1); exit 1; }; } 8637 fi;; 8638 esac 8639 done` || { (exit 1); exit 1; } 8640 _ACEOF 9053 8641 cat >>$CONFIG_STATUS <<_ACEOF 9054 8642 sed "$ac_vpsub … … 9058 8646 :t 9059 8647 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9060 s&@configure_input@&$configure_input&;t t 9061 s&@top_builddir@&$ac_top_builddir_sub&;t t 9062 s&@srcdir@&$ac_srcdir&;t t 9063 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9064 s&@top_srcdir@&$ac_top_srcdir&;t t 9065 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9066 s&@builddir@&$ac_builddir&;t t 9067 s&@abs_builddir@&$ac_abs_builddir&;t t 9068 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9069 s&@INSTALL@&$ac_INSTALL&;t t 9070 $ac_datarootdir_hack 9071 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 9072 9073 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9074 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9075 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9076 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9077 which seems to be undefined. Please make sure it is defined." >&5 9078 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9079 which seems to be undefined. Please make sure it is defined." >&2;} 9080 9081 rm -f "$tmp/stdin" 8648 s,@configure_input@,$configure_input,;t t 8649 s,@srcdir@,$ac_srcdir,;t t 8650 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8651 s,@top_srcdir@,$ac_top_srcdir,;t t 8652 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8653 s,@builddir@,$ac_builddir,;t t 8654 s,@abs_builddir@,$ac_abs_builddir,;t t 8655 s,@top_builddir@,$ac_top_builddir,;t t 8656 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8657 s,@INSTALL@,$ac_INSTALL,;t t 8658 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8659 rm -f $tmp/stdin 8660 if test x"$ac_file" != x-; then 8661 mv $tmp/out $ac_file 8662 else 8663 cat $tmp/out 8664 rm -f $tmp/out 8665 fi 8666 8667 done 8668 _ACEOF 8669 cat >>$CONFIG_STATUS <<\_ACEOF 8670 8671 # 8672 # CONFIG_HEADER section. 8673 # 8674 8675 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8676 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8677 # 8678 # ac_d sets the value in "#define NAME VALUE" lines. 8679 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8680 ac_dB='[ ].*$,\1#\2' 8681 ac_dC=' ' 8682 ac_dD=',;t' 8683 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8684 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8685 ac_uB='$,\1#\2define\3' 8686 ac_uC=' ' 8687 ac_uD=',;t' 8688 8689 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8690 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9082 8691 case $ac_file in 9083 -) cat "$tmp/out"; rm -f "$tmp/out";; 9084 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 8692 - | *:- | *:-:* ) # input from stdin 8693 cat >$tmp/stdin 8694 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8695 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8696 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8697 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8698 * ) ac_file_in=$ac_file.in ;; 9085 8699 esac 9086 ;; 9087 :H) 9088 # 9089 # CONFIG_HEADER 9090 # 9091 _ACEOF 9092 9093 # Transform confdefs.h into a sed script `conftest.defines', that 9094 # substitutes the proper values into config.h.in to produce config.h. 9095 rm -f conftest.defines conftest.tail 9096 # First, append a space to every undef/define line, to ease matching. 9097 echo 's/$/ /' >conftest.defines 9098 # Then, protect against being on the right side of a sed subst, or in 9099 # an unquoted here document, in config.status. If some macros were 9100 # called several times there might be several #defines for the same 9101 # symbol, which is useless. But do not sort them, since the last 9102 # AC_DEFINE must be honored. 9103 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9104 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 9105 # NAME is the cpp macro being defined, VALUE is the value it is being given. 9106 # PARAMS is the parameter list in the macro definition--in most cases, it's 9107 # just an empty string. 9108 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 9109 ac_dB='\\)[ (].*,\\1define\\2' 9110 ac_dC=' ' 9111 ac_dD=' ,' 9112 9113 uniq confdefs.h | 9114 sed -n ' 9115 t rset 9116 :rset 9117 s/^[ ]*#[ ]*define[ ][ ]*// 9118 t ok 9119 d 9120 :ok 9121 s/[\\&,]/\\&/g 9122 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 9123 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 9124 ' >>conftest.defines 9125 9126 # Remove the space that was appended to ease matching. 9127 # Then replace #undef with comments. This is necessary, for 8700 8701 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8702 echo "$as_me: creating $ac_file" >&6;} 8703 8704 # First look for the input files in the build tree, otherwise in the 8705 # src tree. 8706 ac_file_inputs=`IFS=: 8707 for f in $ac_file_in; do 8708 case $f in 8709 -) echo $tmp/stdin ;; 8710 [\\/$]*) 8711 # Absolute (can't be DOS-style, as IFS=:) 8712 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8713 echo "$as_me: error: cannot find input file: $f" >&2;} 8714 { (exit 1); exit 1; }; } 8715 # Do quote $f, to prevent DOS paths from being IFS'd. 8716 echo "$f";; 8717 *) # Relative 8718 if test -f "$f"; then 8719 # Build tree 8720 echo "$f" 8721 elif test -f "$srcdir/$f"; then 8722 # Source tree 8723 echo "$srcdir/$f" 8724 else 8725 # /dev/null tree 8726 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8727 echo "$as_me: error: cannot find input file: $f" >&2;} 8728 { (exit 1); exit 1; }; } 8729 fi;; 8730 esac 8731 done` || { (exit 1); exit 1; } 8732 # Remove the trailing spaces. 8733 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8734 8735 _ACEOF 8736 8737 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8738 # `conftest.undefs', that substitutes the proper values into 8739 # config.h.in to produce config.h. The first handles `#define' 8740 # templates, and the second `#undef' templates. 8741 # And first: Protect against being on the right side of a sed subst in 8742 # config.status. Protect against being in an unquoted here document 8743 # in config.status. 8744 rm -f conftest.defines conftest.undefs 8745 # Using a here document instead of a string reduces the quoting nightmare. 8746 # Putting comments in sed scripts is not portable. 8747 # 8748 # `end' is used to avoid that the second main sed command (meant for 8749 # 0-ary CPP macros) applies to n-ary macro definitions. 8750 # See the Autoconf documentation for `clear'. 8751 cat >confdef2sed.sed <<\_ACEOF 8752 s/[\\&,]/\\&/g 8753 s,[\\$`],\\&,g 8754 t clear 8755 : clear 8756 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8757 t end 8758 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8759 : end 8760 _ACEOF 8761 # If some macros were called several times there might be several times 8762 # the same #defines, which is useless. Nevertheless, we may not want to 8763 # sort them, since we want the *last* AC-DEFINE to be honored. 8764 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8765 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8766 rm -f confdef2sed.sed 8767 8768 # This sed command replaces #undef with comments. This is necessary, for 9128 8769 # example, in the case of _POSIX_SOURCE, which is predefined and required 9129 8770 # on some systems where configure will not decide to define it. 9130 # (The regexp can be short, since the line contains either #define or #undef.) 9131 echo 's/ $// 9132 s,^[ #]*u.*,/* & */,' >>conftest.defines 9133 9134 # Break up conftest.defines: 9135 ac_max_sed_lines=50 9136 9137 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 9138 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 9139 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 9140 # et cetera. 9141 ac_in='$ac_file_inputs' 9142 ac_out='"$tmp/out1"' 9143 ac_nxt='"$tmp/out2"' 9144 9145 while : 8771 cat >>conftest.undefs <<\_ACEOF 8772 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8773 _ACEOF 8774 8775 # Break up conftest.defines because some shells have a limit on the size 8776 # of here documents, and old seds have small limits too (100 cmds). 8777 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8778 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8779 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8780 echo ' :' >>$CONFIG_STATUS 8781 rm -f conftest.tail 8782 while grep . conftest.defines >/dev/null 9146 8783 do 9147 # Write a here document: 9148 cat >>$CONFIG_STATUS <<_ACEOF 9149 # First, check the format of the line: 9150 cat >"\$tmp/defines.sed" <<\\CEOF 9151 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 9152 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 9153 b 9154 :def 9155 _ACEOF 9156 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 8784 # Write a limited-size here document to $tmp/defines.sed. 8785 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8786 # Speed up: don't consider the non `#define' lines. 8787 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8788 # Work around the forget-to-reset-the-flag bug. 8789 echo 't clr' >>$CONFIG_STATUS 8790 echo ': clr' >>$CONFIG_STATUS 8791 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 9157 8792 echo 'CEOF 9158 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 9159 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 9160 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 9161 grep . conftest.tail >/dev/null || break 8793 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8794 rm -f $tmp/in 8795 mv $tmp/out $tmp/in 8796 ' >>$CONFIG_STATUS 8797 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 9162 8798 rm -f conftest.defines 9163 8799 mv conftest.tail conftest.defines 9164 8800 done 9165 rm -f conftest.defines conftest.tail 9166 9167 echo "ac_result=$ac_in" >>$CONFIG_STATUS 8801 rm -f conftest.defines 8802 echo ' fi # grep' >>$CONFIG_STATUS 8803 echo >>$CONFIG_STATUS 8804 8805 # Break up conftest.undefs because some shells have a limit on the size 8806 # of here documents, and old seds have small limits too (100 cmds). 8807 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8808 rm -f conftest.tail 8809 while grep . conftest.undefs >/dev/null 8810 do 8811 # Write a limited-size here document to $tmp/undefs.sed. 8812 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8813 # Speed up: don't consider the non `#undef' 8814 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8815 # Work around the forget-to-reset-the-flag bug. 8816 echo 't clr' >>$CONFIG_STATUS 8817 echo ': clr' >>$CONFIG_STATUS 8818 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8819 echo 'CEOF 8820 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8821 rm -f $tmp/in 8822 mv $tmp/out $tmp/in 8823 ' >>$CONFIG_STATUS 8824 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8825 rm -f conftest.undefs 8826 mv conftest.tail conftest.undefs 8827 done 8828 rm -f conftest.undefs 8829 9168 8830 cat >>$CONFIG_STATUS <<\_ACEOF 8831 # Let's still pretend it is `configure' which instantiates (i.e., don't 8832 # use $as_me), people would be surprised to read: 8833 # /* config.h. Generated by config.status. */ 8834 if test x"$ac_file" = x-; then 8835 echo "/* Generated by configure. */" >$tmp/config.h 8836 else 8837 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8838 fi 8839 cat $tmp/in >>$tmp/config.h 8840 rm -f $tmp/in 9169 8841 if test x"$ac_file" != x-; then 9170 echo "/* $configure_input */" >"$tmp/config.h" 9171 cat "$ac_result" >>"$tmp/config.h" 9172 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 8842 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 9173 8843 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9174 8844 echo "$as_me: $ac_file is unchanged" >&6;} 9175 8845 else 8846 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8847 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8848 X"$ac_file" : 'X\(//\)[^/]' \| \ 8849 X"$ac_file" : 'X\(//\)$' \| \ 8850 X"$ac_file" : 'X\(/\)' \| \ 8851 . : '\(.\)' 2>/dev/null || 8852 echo X"$ac_file" | 8853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8854 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8855 /^X\(\/\/\)$/{ s//\1/; q; } 8856 /^X\(\/\).*/{ s//\1/; q; } 8857 s/.*/./; q'` 8858 { if $as_mkdir_p; then 8859 mkdir -p "$ac_dir" 8860 else 8861 as_dir="$ac_dir" 8862 as_dirs= 8863 while test ! -d "$as_dir"; do 8864 as_dirs="$as_dir $as_dirs" 8865 as_dir=`(dirname "$as_dir") 2>/dev/null || 8866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8867 X"$as_dir" : 'X\(//\)[^/]' \| \ 8868 X"$as_dir" : 'X\(//\)$' \| \ 8869 X"$as_dir" : 'X\(/\)' \| \ 8870 . : '\(.\)' 2>/dev/null || 8871 echo X"$as_dir" | 8872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8873 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8874 /^X\(\/\/\)$/{ s//\1/; q; } 8875 /^X\(\/\).*/{ s//\1/; q; } 8876 s/.*/./; q'` 8877 done 8878 test ! -n "$as_dirs" || mkdir $as_dirs 8879 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8880 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8881 { (exit 1); exit 1; }; }; } 8882 9176 8883 rm -f $ac_file 9177 mv "$tmp/config.h"$ac_file8884 mv $tmp/config.h $ac_file 9178 8885 fi 9179 8886 else 9180 echo "/* $configure_input */"9181 cat "$ac_result"8887 cat $tmp/config.h 8888 rm -f $tmp/config.h 9182 8889 fi 9183 rm -f "$tmp/out12" 9184 ;; 9185 9186 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 9187 echo "$as_me: executing $ac_file commands" >&6;} 9188 ;; 8890 done 8891 _ACEOF 8892 cat >>$CONFIG_STATUS <<\_ACEOF 8893 8894 # 8895 # CONFIG_COMMANDS section. 8896 # 8897 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 8898 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 8899 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 8900 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 8901 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8902 X"$ac_dest" : 'X\(//\)[^/]' \| \ 8903 X"$ac_dest" : 'X\(//\)$' \| \ 8904 X"$ac_dest" : 'X\(/\)' \| \ 8905 . : '\(.\)' 2>/dev/null || 8906 echo X"$ac_dest" | 8907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8908 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8909 /^X\(\/\/\)$/{ s//\1/; q; } 8910 /^X\(\/\).*/{ s//\1/; q; } 8911 s/.*/./; q'` 8912 { if $as_mkdir_p; then 8913 mkdir -p "$ac_dir" 8914 else 8915 as_dir="$ac_dir" 8916 as_dirs= 8917 while test ! -d "$as_dir"; do 8918 as_dirs="$as_dir $as_dirs" 8919 as_dir=`(dirname "$as_dir") 2>/dev/null || 8920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8921 X"$as_dir" : 'X\(//\)[^/]' \| \ 8922 X"$as_dir" : 'X\(//\)$' \| \ 8923 X"$as_dir" : 'X\(/\)' \| \ 8924 . : '\(.\)' 2>/dev/null || 8925 echo X"$as_dir" | 8926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8927 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8928 /^X\(\/\/\)$/{ s//\1/; q; } 8929 /^X\(\/\).*/{ s//\1/; q; } 8930 s/.*/./; q'` 8931 done 8932 test ! -n "$as_dirs" || mkdir $as_dirs 8933 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8934 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8935 { (exit 1); exit 1; }; }; } 8936 8937 ac_builddir=. 8938 8939 if test "$ac_dir" != .; then 8940 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8941 # A "../" for each directory in $ac_dir_suffix. 8942 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8943 else 8944 ac_dir_suffix= ac_top_builddir= 8945 fi 8946 8947 case $srcdir in 8948 .) # No --srcdir option. We are building in place. 8949 ac_srcdir=. 8950 if test -z "$ac_top_builddir"; then 8951 ac_top_srcdir=. 8952 else 8953 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8954 fi ;; 8955 [\\/]* | ?:[\\/]* ) # Absolute path. 8956 ac_srcdir=$srcdir$ac_dir_suffix; 8957 ac_top_srcdir=$srcdir ;; 8958 *) # Relative path. 8959 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8960 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8961 esac 8962 8963 # Do not use `cd foo && pwd` to compute absolute paths, because 8964 # the directories may not exist. 8965 case `pwd` in 8966 .) ac_abs_builddir="$ac_dir";; 8967 *) 8968 case "$ac_dir" in 8969 .) ac_abs_builddir=`pwd`;; 8970 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8971 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8972 esac;; 8973 esac 8974 case $ac_abs_builddir in 8975 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8976 *) 8977 case ${ac_top_builddir}. in 8978 .) ac_abs_top_builddir=$ac_abs_builddir;; 8979 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8980 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8981 esac;; 8982 esac 8983 case $ac_abs_builddir in 8984 .) ac_abs_srcdir=$ac_srcdir;; 8985 *) 8986 case $ac_srcdir in 8987 .) ac_abs_srcdir=$ac_abs_builddir;; 8988 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8989 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8990 esac;; 8991 esac 8992 case $ac_abs_builddir in 8993 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8994 *) 8995 case $ac_top_srcdir in 8996 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8997 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8998 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8999 esac;; 9000 esac 9001 9002 9003 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 9004 echo "$as_me: executing $ac_dest commands" >&6;} 9005 case $ac_dest in 9006 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; 9189 9007 esac 9190 9191 9192 case $ac_file$ac_mode in 9193 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; 9194 9195 esac 9196 done # for ac_tag 9197 9008 done 9009 _ACEOF 9010 9011 cat >>$CONFIG_STATUS <<\_ACEOF 9198 9012 9199 9013 { (exit 0); exit 0; } -
main/trunk/greenstone2/common-src/indexers/mgpp/configure.in
r21446 r22058 48 48 fi 49 49 AC_SUBST(ENABLE_ACCENTFOLD) 50 51 dnl 52 dnl Set use of JDBM (enabled by default) 53 dnl 54 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes) 55 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 56 USE_JDBM=1 57 AC_DEFINE(USE_JDBM,[]) 58 else 59 USE_JDBM=0 60 fi 61 AC_SUBST(USE_JDBM) 62 63 dnl 64 dnl Set use of GDBM (enabled by default) 65 dnl 66 AC_ARG_ENABLE(gdbm, [ --disable-gdbm Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes) 67 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 68 USE_GDBM=1 69 AC_DEFINE(USE_GDBM,[]) 70 else 71 USE_GDBM=0 72 fi 73 AC_SUBST(USE_GDBM) 50 74 51 75 dnl Checks for programs. -
main/trunk/greenstone2/common-src/indexers/mgpp/jni/Makefile.in
r20847 r22058 22 22 endif 23 23 24 USE_GDBM = @USE_GDBM@ 25 ifeq ($(USE_GDBM), 1) 26 GDBM_DEFINES = -DUSE_GDBM 27 else 28 GDBM_DEFINES = 29 endif 30 31 USE_JDBM = @USE_JDBM@ 32 ifeq ($(USE_JDBM), 1) 33 JDBM_DEFINES = -DUSE_JDBM 34 else 35 JDBM_DEFINES = 36 endif 37 38 USE_SQLITE = @USE_SQLITE@ 39 ifeq ($(USE_SQLITE), 1) 40 SQLITE_DEFINES = -DUSE_SQLITE 41 else 42 SQLITE_DEFINES = 43 endif 24 44 25 45 … … 29 49 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -fPIC -ansi -DSILENT -DSHORT_SUFFIX 30 50 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ -fPIC -DSILENT -DSHORT_SUFFIX 31 DEFS = @DEFS@ 51 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 32 52 RANLIB = @RANLIB@ 33 53 INSTALL = @INSTALL@ -
main/trunk/greenstone2/common-src/indexers/mgpp/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@ … … 40 61 endif 41 62 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ -fPIC 42 DEFS = @DEFS@ 63 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 43 64 RANLIB = @RANLIB@ 44 65 … … 48 69 datadir = $(prefix)/share 49 70 localedir = $(datadir)/locale 50 71 51 72 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) 52 73 CXXCOMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CXXFLAGS) 53 74 54 75 .SUFFIXES: 55 76 .SUFFIXES: .c .o … … 63 84 ANSI2KNR = @ANSI2KNR@ 64 85 o = .@U@o 65 86 66 87 .SUFFIXES: ._c ._o 67 88 .c._c: … … 78 99 79 100 INCLUDES = -I.. -I$(srcdir) 80 101 81 102 HEADERS = \ 82 103 bitio_m_random.h local_strings.h lovinstem.h \ … … 128 149 maninstall: 129 150 manuninstall: 130 151 131 152 dist: $(DISTFILES) 132 153 for file in $(DISTFILES); do \ … … 137 158 mostlyclean: 138 159 rm -f *.o *_.o 139 160 140 161 clean: mostlyclean 141 162 rm -f libmgpplib.a 142 163 143 164 distclean: clean 144 165 rm -f Makefile 145 166 146 167 maintainer-clean: distclean 147 168 @echo "This command is intended only for maintainers to use;" … … 151 172 #Makefile: Makefile.in ../../../config.status 152 173 # cd ../../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status 153 174 154 175 # Tell versions [3.59,3.63) of GNU make not to export all variables. 155 176 # Otherwise a system limit (for SysV at least) may be exceeded. -
main/trunk/greenstone2/common-src/indexers/mgpp/text/Makefile.in
r20847 r22058 38 38 endif 39 39 40 USE_GDBM = @USE_GDBM@ 41 ifeq ($(USE_GDBM), 1) 42 GDBM_DEFINES = -DUSE_GDBM 43 else 44 GDBM_DEFINES = 45 endif 46 47 USE_JDBM = @USE_JDBM@ 48 ifeq ($(USE_JDBM), 1) 49 JDBM_DEFINES = -DUSE_JDBM 50 else 51 JDBM_DEFINES = 52 endif 53 54 USE_SQLITE = @USE_SQLITE@ 55 ifeq ($(USE_SQLITE), 1) 56 SQLITE_DEFINES = -DUSE_SQLITE 57 else 58 SQLITE_DEFINES = 59 endif 40 60 41 61 SHELL = /bin/sh … … 55 75 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -ansi -fPIC -DSILENT -DSHORT_SUFFIX $(AFFLAGS) 56 76 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ -fPIC -DSILENT -DSHORT_SUFFIX $(AFFLAGS) 57 DEFS = @DEFS@ 77 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 58 78 RANLIB = @RANLIB@ 59 79 INSTALL = @INSTALL@ -
main/trunk/greenstone2/common-src/packages/Makefile.in
r21869 r22058 25 25 ########################################################################### 26 26 27 USE_GDBM=@USE_GDBM@ 28 ifeq ($(USE_GDBM), 1) 29 GDBM_DEFINES = -DUSE_GDBM 30 else 31 GDBM_DEFINES = 32 endif 27 33 28 ENABLE_JDBM=@ENABLE_JDBM@ 29 30 ifeq ($(ENABLE_JDBM), 1) 34 USE_JDBM=@USE_JDBM@ 35 ifeq ($(USE_JDBM), 1) 31 36 JDBM_DIR = jdbm/jdbm-1.0 37 JDBM_DEFINES = -DUSE_JDBM 32 38 else 33 JDBM_DIR = 39 JDBM_DIR = 40 JDBM_DEFINES = 34 41 endif 35 42 36 43 USE_SQLITE=@USE_SQLITE@ 37 38 44 ifeq ($(USE_SQLITE), 1) 39 45 SQLITE_DIR = sqlite/sqlite-amalgamation-3.6.23.1 46 SQLITE_DEFINES = -DUSE_SQLITE 40 47 else 41 48 SQLITE_DIR = 49 SQLITE_DEFINES = 42 50 endif 51 52 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 43 53 44 54 # COMPILEDIRS contains the packages that we want to make and install. It … … 56 66 (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 57 67 done 58 ifeq ($( ENABLE_JDBM), 1)68 ifeq ($(USE_JDBM), 1) 59 69 # do 'make install' in jdbm directory to get the jar file into the right place 60 70 cd $(JDBM_DIR) && $(MAKE) $(MDEFINES) install -
main/trunk/greenstone2/common-src/packages/configure
r21873 r22058 22 22 ENVIRONMENT="" 23 23 24 # GDBM support enabled by default, can switch it off with --disable-jdbm 25 USE_GDBM=1 24 26 # JDBM support enabled by default, can switch it off with --disable-jdbm 25 ENABLE_JDBM=127 USE_JDBM=1 26 28 # SQLite support enabled by default, can switch it off with --disable-sqlite 27 29 USE_SQLITE=true … … 51 53 fi 52 54 ;; 55 --disable-gdbm) 56 USE_GDBM=0 57 ;; 53 58 --disable-jdbm) 54 ENABLE_JDBM=059 USE_JDBM=0 55 60 ;; 56 61 --disable-sqlite) … … 200 205 echo "" 201 206 echo "Configuring GDBM" 202 echo "" 203 cd "$PACKAGES/gdbm" 204 205 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 206 207 cd "$PACKAGES/gdbm/gdbm-1.8.3" && \ 208 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 209 207 if test $USE_GDBM ; 208 then 209 echo "" 210 cd "$PACKAGES/gdbm" 211 212 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 213 214 cd "$PACKAGES/gdbm/gdbm-1.8.3" && \ 215 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 216 else 217 echo " GDBM support disabled." 218 echo " add '--enable-gdbm' to the configure command to include GDBM support." 219 echo "" 220 fi 210 221 211 222 # configure JDBM 212 223 echo "" 213 224 echo "Configuring JDBM" 214 if test $ ENABLE_JDBM ;225 if test $USE_JDBM ; 215 226 then 216 227 echo "" -
main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/Makefile.in
r18224 r22058 30 30 COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages 31 31 32 USE_GDBM = @USE_GDBM@ 33 ifeq ($(USE_GDBM), 1) 34 GDBM_DEFINES = -DUSE_GDBM 35 else 36 GDBM_DEFINES = 37 endif 38 39 USE_JDBM = @USE_JDBM@ 40 ifeq ($(USE_JDBM), 1) 41 JDBM_DEFINES = -DUSE_JDBM 42 else 43 JDBM_DEFINES = 44 endif 45 46 USE_SQLITE = @USE_SQLITE@ 47 ifeq ($(USE_SQLITE), 1) 48 SQLITE_DEFINES = -DUSE_SQLITE 49 else 50 SQLITE_DEFINES = 51 endif 32 52 33 53 CXX = @CXX@ 34 54 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 35 DEFS = @DEFS@ 55 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 36 56 GSDLOS = @gsdlos@ 37 57 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmdel/Makefile.in
r18442 r22058 30 30 COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages 31 31 32 USE_GDBM = @USE_GDBM@ 33 ifeq ($(USE_GDBM), 1) 34 GDBM_DEFINES = -DUSE_GDBM 35 else 36 GDBM_DEFINES = 37 endif 38 39 USE_JDBM = @USE_JDBM@ 40 ifeq ($(USE_JDBM), 1) 41 JDBM_DEFINES = -DUSE_JDBM 42 else 43 JDBM_DEFINES = 44 endif 45 46 USE_SQLITE = @USE_SQLITE@ 47 ifeq ($(USE_SQLITE), 1) 48 SQLITE_DEFINES = -DUSE_SQLITE 49 else 50 SQLITE_DEFINES = 51 endif 32 52 33 53 CXX = @CXX@ 34 54 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 35 DEFS = @DEFS@ 55 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 36 56 GSDLOS = @gsdlos@ 37 57 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmget/Makefile.in
r18224 r22058 30 30 COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages 31 31 32 USE_GDBM = @USE_GDBM@ 33 ifeq ($(USE_GDBM), 1) 34 GDBM_DEFINES = -DUSE_GDBM 35 else 36 GDBM_DEFINES = 37 endif 38 39 USE_JDBM = @USE_JDBM@ 40 ifeq ($(USE_JDBM), 1) 41 JDBM_DEFINES = -DUSE_JDBM 42 else 43 JDBM_DEFINES = 44 endif 45 46 USE_SQLITE = @USE_SQLITE@ 47 ifeq ($(USE_SQLITE), 1) 48 SQLITE_DEFINES = -DUSE_SQLITE 49 else 50 SQLITE_DEFINES = 51 endif 32 52 33 53 CXX = @CXX@ 34 54 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 35 DEFS = @DEFS@ 55 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 36 56 GSDLOS = @gsdlos@ 37 57 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmkeys/Makefile.in
r18442 r22058 30 30 COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages 31 31 32 USE_GDBM = @USE_GDBM@ 33 ifeq ($(USE_GDBM), 1) 34 GDBM_DEFINES = -DUSE_GDBM 35 else 36 GDBM_DEFINES = 37 endif 38 39 USE_JDBM = @USE_JDBM@ 40 ifeq ($(USE_JDBM), 1) 41 JDBM_DEFINES = -DUSE_JDBM 42 else 43 JDBM_DEFINES = 44 endif 45 46 USE_SQLITE = @USE_SQLITE@ 47 ifeq ($(USE_SQLITE), 1) 48 SQLITE_DEFINES = -DUSE_SQLITE 49 else 50 SQLITE_DEFINES = 51 endif 32 52 33 53 CXX = @CXX@ 34 54 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 35 DEFS = @DEFS@ 55 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 36 56 GSDLOS = @gsdlos@ 37 57 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib -
main/trunk/greenstone2/common-src/src/gdbmedit/gdbmset/Makefile.in
r18224 r22058 30 30 COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages 31 31 32 USE_GDBM = @USE_GDBM@ 33 ifeq ($(USE_GDBM), 1) 34 GDBM_DEFINES = -DUSE_GDBM 35 else 36 GDBM_DEFINES = 37 endif 38 39 USE_JDBM = @USE_JDBM@ 40 ifeq ($(USE_JDBM), 1) 41 JDBM_DEFINES = -DUSE_JDBM 42 else 43 JDBM_DEFINES = 44 endif 45 46 USE_SQLITE = @USE_SQLITE@ 47 ifeq ($(USE_SQLITE), 1) 48 SQLITE_DEFINES = -DUSE_SQLITE 49 else 50 SQLITE_DEFINES = 51 endif 32 52 33 53 CXX = @CXX@ 34 54 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 35 DEFS = @DEFS@ 55 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 36 56 GSDLOS = @gsdlos@ 37 57 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib -
main/trunk/greenstone2/common-src/src/gdbmedit/txt2db/Makefile.in
r21325 r22058 30 30 COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages 31 31 32 USE_GDBM = @USE_GDBM@ 33 ifeq ($(USE_GDBM), 1) 34 GDBM_DEFINES = -DUSE_GDBM 35 else 36 GDBM_DEFINES = 37 endif 38 39 USE_JDBM = @USE_JDBM@ 40 ifeq ($(USE_JDBM), 1) 41 JDBM_DEFINES = -DUSE_JDBM 42 else 43 JDBM_DEFINES = 44 endif 45 46 USE_SQLITE = @USE_SQLITE@ 47 ifeq ($(USE_SQLITE), 1) 48 SQLITE_DEFINES = -DUSE_SQLITE 49 else 50 SQLITE_DEFINES = 51 endif 32 52 33 53 CXX = @CXX@ 34 54 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 35 DEFS = @DEFS@ 55 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 36 56 GSDLOS = @gsdlos@ 37 57 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib -
main/trunk/greenstone2/common-src/src/lib/Makefile.in
r22043 r22058 35 35 ifeq ($(USE_SQLITE), 1) 36 36 SQLITE_INCLUDES = -I$(COMMON_PACKAGES_DIR)/sqlite/include 37 SQLITE_SOURCES = sqlitedbclass.cpp 37 38 SQLITE_OBJECTS = sqlitedbclass.o 38 SQLITE_ SOURCES = sqlitedbclass.cpp39 SQLITE_DEFINES = -DUSE_SQLITE 39 40 else 40 41 SQLITE_INCLUDES = 42 SQLITE_SOURCES = 41 43 SQLITE_OBJECTS = 42 SQLITE_ SOURCES =44 SQLITE_DEFINES = 43 45 endif 44 46 45 ENABLE_JDBM=@ENABLE_JDBM@ 46 ifeq ($(ENABLE_JDBM), 1) 47 USE_GDBM=@USE_GDBM@ 48 ifeq ($(USE_GDBM), 1) 49 GDBM_SOURCES = gdbmclass.cpp 50 GDBM_OBJECTS = gdbmclass.o 51 GDBM_DEFINES = -DUSE_GDBM 52 else 53 GDBM_SOURCES = 54 GDBM_OBJECTS = 55 GDBM_DEFINES = 56 endif 57 58 USE_JDBM=@USE_JDBM@ 59 ifeq ($(USE_JDBM), 1) 47 60 JDBM_SOURCES = jdbmnaiveclass.cpp 48 61 JDBM_OBJECTS = jdbmnaiveclass.o 62 JDBM_DEFINES = -DUSE_JDBM 49 63 else 50 64 JDBM_SOURCES = 51 65 JDBM_OBJECTS = 66 JDBM_DEFINES = 52 67 endif 53 68 … … 55 70 CXX = @CXX@ 56 71 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 57 DEFS = @DEFS@ 72 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 58 73 INCLUDES = -I. -I$(COMMON_DIR) -I$(COMMON_PACKAGES_DIR)/gdbm/include $(SQLITE_INCLUDES) 59 74 RANLIB = @RANLIB@ … … 76 91 display.cpp \ 77 92 fileutil.cpp \ 78 gdbmclass.cpp\93 $(GDBM_SOURCES) \ 79 94 $(JDBM_SOURCES) \ 80 95 gsdlsitecfg.cpp \ … … 86 101 OIDtools.cpp \ 87 102 phrases.cpp \ 103 sqldbclass.cpp \ 104 $(SQLITE_SOURCES) \ 88 105 text_t.cpp \ 89 unitool.cpp \ 90 sqldbclass.cpp \ 91 $(SQLITE_SOURCES) 106 unitool.cpp 92 107 93 108 OBJECTS = \ … … 98 113 display.o \ 99 114 fileutil.o \ 100 gdbmclass.o\115 $(GDBM_OBJECTS) \ 101 116 $(JDBM_OBJECTS) \ 102 117 gsdlsitecfg.o \ … … 108 123 OIDtools.o \ 109 124 phrases.o \ 125 sqldbclass.o \ 126 $(SQLITE_OBJECTS) \ 110 127 text_t.o \ 111 unitool.o \ 112 sqldbclass.o \ 113 $(SQLITE_OBJECTS) 128 unitool.o 114 129 115 130 LIBRARY = gsdllib.a -
main/trunk/greenstone2/configure
r21724 r22058 312 312 ac_subdirs_all="$ac_subdirs_all build-src" 313 313 ac_subdirs_all="$ac_subdirs_all runtime-src" 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 USE_APACHE_HTTPD 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 USE_APACHE_HTTPD 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-apache-httpd Enable Apache httpd support … … 1427 1428 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 USE_JDBM=$enableval 1434 else 1435 USE_JDBM=yes 1436 fi; 1437 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1438 USE_JDBM=1 1439 cat >>confdefs.h <<\_ACEOF 1440 #define USE_JDBM 1441 _ACEOF 1442 1443 else 1444 USE_JDBM=0 1445 fi 1446 1447 1448 # Check whether --enable-gdbm or --disable-gdbm was given. 1449 if test "${enable_gdbm+set}" = set; then 1450 enableval="$enable_gdbm" 1451 USE_GDBM=$enableval 1452 else 1453 USE_GDBM=yes 1454 fi; 1455 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1456 USE_GDBM=1 1457 cat >>confdefs.h <<\_ACEOF 1458 #define USE_GDBM 1459 _ACEOF 1460 1461 else 1462 USE_GDBM=0 1463 fi 1464 1465 1429 1466 # Check whether --enable-accentfold or --disable-accentfold was given. 1430 1467 if test "${enable_accentfold+set}" = set; then … … 1442 1479 else 1443 1480 ENABLE_ACCENTFOLD=0 1444 fi1445 1446 1447 # Check whether --enable-jdbm or --disable-jdbm was given.1448 if test "${enable_jdbm+set}" = set; then1449 enableval="$enable_jdbm"1450 ENABLE_JDBM=$enableval1451 else1452 ENABLE_JDBM=yes1453 fi;1454 if test $ENABLE_JDBM = "yes" -o $ENABLE_JDBM = "1" ; then1455 ENABLE_JDBM=11456 cat >>confdefs.h <<\_ACEOF1457 #define ENABLE_JDBM1458 _ACEOF1459 1460 else1461 ENABLE_JDBM=01462 1481 fi 1463 1482 … … 8008 8027 s,@USE_Z3950@,$USE_Z3950,;t t 8009 8028 s,@USE_YAZ@,$USE_YAZ,;t t 8029 s,@USE_JDBM@,$USE_JDBM,;t t 8030 s,@USE_GDBM@,$USE_GDBM,;t t 8010 8031 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8011 s,@ENABLE_JDBM@,$ENABLE_JDBM,;t t8012 8032 s,@USE_SQLITE@,$USE_SQLITE,;t t 8013 8033 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t -
main/trunk/greenstone2/configure.in
r21446 r22058 71 71 AC_SUBST(USE_YAZ) 72 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) 96 73 97 dnl 74 98 dnl disable compilation of accent folding stuff for mgpp (and one day mg) … … 82 106 fi 83 107 AC_SUBST(ENABLE_ACCENTFOLD) 84 85 dnl86 dnl Set use of JDBM (enabled by default)87 dnl88 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], ENABLE_JDBM=$enableval, ENABLE_JDBM=yes)89 if test $ENABLE_JDBM = "yes" -o $ENABLE_JDBM = "1" ; then90 ENABLE_JDBM=191 AC_DEFINE(ENABLE_JDBM,[])92 else93 ENABLE_JDBM=094 fi95 AC_SUBST(ENABLE_JDBM)96 108 97 109 dnl -
main/trunk/greenstone2/runtime-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 USE_APACHE_HTTPD 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'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 USE_APACHE_HTTPD 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' 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 … … 1359 1361 if test "${enable_corba+set}" = set; then 1360 1362 enableval="$enable_corba" 1363 USE_CORBA=$enableval 1364 else 1365 USE_CORBA=no 1366 fi; 1367 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1361 1368 USE_CORBA=1 1369 cat >>confdefs.h <<\_ACEOF 1370 #define USE_CORBA 1371 _ACEOF 1372 1362 1373 else 1363 1374 USE_CORBA=0 1364 fi; 1365 cat >>confdefs.h <<_ACEOF 1366 #define USE_CORBA $USE_CORBA 1367 _ACEOF 1368 1375 fi 1369 1376 1370 1377 … … 1386 1393 if test "${enable_z3950+set}" = set; then 1387 1394 enableval="$enable_z3950" 1395 USE_Z3950=$enableval 1396 else 1397 USE_Z3950=no 1398 fi; 1399 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1388 1400 USE_Z3950=1 1401 cat >>confdefs.h <<\_ACEOF 1402 #define USE_Z3950 1403 _ACEOF 1404 1389 1405 else 1390 1406 USE_Z3950=0 1391 fi; 1392 if test USE_Z3950 = 1; then 1393 cat >>confdefs.h <<\_ACEOF 1394 #define USE_Z3950 $USE_Z3950 1395 _ACEOF 1396 1397 1398 fi 1407 fi 1408 1399 1409 1400 1410 # Check whether --enable-yaz or --disable-yaz was given. 1401 1411 if test "${enable_yaz+set}" = set; then 1402 1412 enableval="$enable_yaz" 1413 USE_YAZ=$enableval 1414 else 1415 USE_YAZ=yes 1416 fi; 1417 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1418 USE_YAZ=1 1419 cat >>confdefs.h <<\_ACEOF 1420 #define USE_YAZ 1421 _ACEOF 1422 1423 else 1403 1424 USE_YAZ=0 1404 else 1405 USE_YAZ=1 1425 fi 1426 1427 1428 # Check whether --enable-jdbm or --disable-jdbm was given. 1429 if test "${enable_jdbm+set}" = set; then 1430 enableval="$enable_jdbm" 1431 USE_JDBM=$enableval 1432 else 1433 USE_JDBM=yes 1406 1434 fi; 1407 cat >>confdefs.h <<\_ACEOF 1408 #define USE_YAZ $USE_YAZ 1409 _ACEOF 1410 1435 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1436 USE_JDBM=1 1437 cat >>confdefs.h <<\_ACEOF 1438 #define USE_JDBM 1439 _ACEOF 1440 1441 else 1442 USE_JDBM=0 1443 fi 1444 1445 1446 # Check whether --enable-gdbm or --disable-gdbm was given. 1447 if test "${enable_gdbm+set}" = set; then 1448 enableval="$enable_gdbm" 1449 USE_GDBM=$enableval 1450 else 1451 USE_GDBM=yes 1452 fi; 1453 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1454 USE_GDBM=1 1455 cat >>confdefs.h <<\_ACEOF 1456 #define USE_GDBM 1457 _ACEOF 1458 1459 else 1460 USE_GDBM=0 1461 fi 1411 1462 1412 1463 … … 1414 1465 if test "${enable_accentfold+set}" = set; then 1415 1466 enableval="$enable_accentfold" 1467 ENABLE_ACCENTFOLD=$enableval 1468 else 1469 ENABLE_ACCENTFOLD=yes 1470 fi; 1471 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1472 ENABLE_ACCENTFOLD=1 1473 cat >>confdefs.h <<\_ACEOF 1474 #define ENABLE_ACCENTFOLD 1475 _ACEOF 1476 1477 else 1416 1478 ENABLE_ACCENTFOLD=0 1417 else 1418 ENABLE_ACCENTFOLD=1 1419 fi; 1420 cat >>confdefs.h <<\_ACEOF 1421 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1422 _ACEOF 1423 1479 fi 1424 1480 1425 1481 … … 1427 1483 if test "${enable_sqlite+set}" = set; then 1428 1484 enableval="$enable_sqlite" 1485 USE_SQLITE=$enableval 1486 else 1487 USE_SQLITE=yes 1488 fi; 1489 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1490 USE_SQLITE=1 1491 cat >>confdefs.h <<\_ACEOF 1492 #define USE_SQLITE 1493 _ACEOF 1494 1495 else 1429 1496 USE_SQLITE=0 1430 else 1431 USE_SQLITE=1 1432 fi; 1433 cat >>confdefs.h <<\_ACEOF 1434 #define USE_SQLITE $USE_SQLITE 1435 _ACEOF 1436 1437 1438 1439 # Check whether --enable-apache-httpd or --disable-apache-httpd was given. 1497 fi 1498 1499 1500 if test -d runtime-src; then 1501 # Check whether --enable-apache-httpd or --disable-apache-httpd was given. 1440 1502 if test "${enable_apache_httpd+set}" = set; then 1441 1503 enableval="$enable_apache_httpd" 1442 USE_APACHE_HTTPD= 11443 else 1444 USE_APACHE_HTTPD= 01504 USE_APACHE_HTTPD=$enableval 1505 else 1506 USE_APACHE_HTTPD=no 1445 1507 fi; 1446 cat >>confdefs.h <<\_ACEOF 1447 #define USE_APACHE_HTTPD $USE_APACHE_HTTPD 1448 _ACEOF 1449 1450 1508 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 1509 USE_APACHE_HTTPD=1 1510 cat >>confdefs.h <<\_ACEOF 1511 #define USE_APACHE_HTTPD 1512 _ACEOF 1513 1514 else 1515 USE_APACHE_HTTPD=0 1516 fi 1517 1518 fi 1451 1519 1452 1520 # Check whether --enable-mg or --disable-mg was given. … … 7906 7974 s,@USE_Z3950@,$USE_Z3950,;t t 7907 7975 s,@USE_YAZ@,$USE_YAZ,;t t 7976 s,@USE_JDBM@,$USE_JDBM,;t t 7977 s,@USE_GDBM@,$USE_GDBM,;t t 7908 7978 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7909 7979 s,@USE_SQLITE@,$USE_SQLITE,;t t -
main/trunk/greenstone2/runtime-src/configure.in
r21446 r22058 71 71 fi 72 72 AC_SUBST(USE_YAZ) 73 74 dnl 75 dnl Set use of JDBM (enabled by default) 76 dnl 77 AC_ARG_ENABLE(jdbm, [ --disable-jdbm Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes) 78 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 79 USE_JDBM=1 80 AC_DEFINE(USE_JDBM,[]) 81 else 82 USE_JDBM=0 83 fi 84 AC_SUBST(USE_JDBM) 85 86 dnl 87 dnl Set use of GDBM (enabled by default) 88 dnl 89 AC_ARG_ENABLE(gdbm, [ --disable-gdbm Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes) 90 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 91 USE_GDBM=1 92 AC_DEFINE(USE_GDBM,[]) 93 else 94 USE_GDBM=0 95 fi 96 AC_SUBST(USE_GDBM) 73 97 74 98 dnl -
main/trunk/greenstone2/runtime-src/packages/configure
r20850 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 … … 50 54 CACHE_FILE="--cache-file=$cache_file" 51 55 fi 56 ;; 57 --disable-gdbm) 58 USE_GDBM=false 59 ;; 60 --disable-jdbm) 61 USE_JDBM=false 52 62 ;; 53 63 --disable-sqlite) -
main/trunk/greenstone2/runtime-src/src/colservr/Makefile.in
r22050 r22058 81 81 82 82 83 # Currently not configurable, and always on 84 USE_GDBM = 1 83 USE_GDBM = @USE_GDBM@ 85 84 ifeq ($(USE_GDBM), 1) 86 85 GDBM_DEFINES = -DUSE_GDBM … … 92 91 93 92 94 # Currently not configurable, and always on 95 USE_JDBM = 1 93 USE_JDBM = @USE_JDBM@ 96 94 ifeq ($(USE_JDBM), 1) 97 95 JDBM_DEFINES = -DUSE_JDBM -
main/trunk/greenstone2/runtime-src/src/corba/Makefile.in
r21442 r22058 63 63 endif 64 64 65 USE_GDBM = @USE_GDBM@ 66 ifeq ($(USE_GDBM), 1) 67 GDBM_DEFINES = -DUSE_GDBM 68 else 69 GDBM_DEFINES = 70 endif 71 72 USE_JDBM = @USE_JDBM@ 73 ifeq ($(USE_JDBM), 1) 74 JDBM_DEFINES = -DUSE_JDBM 75 else 76 JDBM_DEFINES = 77 endif 65 78 66 79 USE_SQLITE = @USE_SQLITE@ 67 80 ifeq ($(USE_SQLITE), 1) 68 81 SQLITE_LIBS = $(COMMON_PACKAGES_DIR)/sqlite/lib/libsqlite3.a -ldl -lpthread 82 SQLITE_DEFINES = -DUSE_SQLITE 69 83 else 70 84 SQLITE_LIBS = 85 SQLITE_DEFINES = 71 86 endif 72 87 … … 86 101 CC = @CC@ 87 102 CFLAGS = @CFLAGS@ 88 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER 103 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 89 104 INCLUDES = -I$(COMMON_DIR)/src/lib -I$(COLSERVR_DIR) -I$(PROTOCOL_DIR) -I$(RECPT_DIR) $(MGPP_INCLUDES) \ 90 105 $(MICO_INCLUDES) -
main/trunk/greenstone2/runtime-src/src/oaiservr/Makefile.in
r21324 r22058 62 62 endif 63 63 64 USE_GDBM = @USE_GDBM@ 65 ifeq ($(USE_GDBM), 1) 66 GDBM_DEFINES = -DUSE_GDBM 67 else 68 GDBM_DEFINES = 69 endif 70 71 USE_JDBM = @USE_JDBM@ 72 ifeq ($(USE_JDBM), 1) 73 JDBM_DEFINES = -DUSE_JDBM 74 else 75 JDBM_DEFINES = 76 endif 64 77 65 78 USE_SQLITE = @USE_SQLITE@ 66 79 ifeq ($(USE_SQLITE), 1) 80 SQLITE_DEFINES = -DUSE_SQLITE 67 81 SQLITE_LIBS = $(COMMON_PACKAGES_DIR)/sqlite/lib/libsqlite3.a -ldl -lpthread 68 82 else 69 83 SQLITE_LIBS = 84 SQLITE_DEFINES = 70 85 endif 71 86 … … 75 90 CXX = @CXX@ 76 91 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 92 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 77 93 INCLUDES = -I$(COMMON_DIR)/src/lib -I$(COLSERVR_DIR) -I$(PROTOCOL_DIR) -I$(RECPT_DIR) $(MGPP_INCLUDES) 78 94 LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@ … … 82 98 83 99 84 CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $( INCLUDES)100 CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES) 85 101 CXXLINK = $(CXX) $(LDFLAGS) -o $@ 86 102 -
main/trunk/greenstone2/runtime-src/src/protocol/Makefile.in
r21324 r22058 40 40 endif 41 41 42 USE_GDBM = @USE_GDBM@ 43 ifeq ($(USE_GDBM), 1) 44 GDBM_DEFINES = -DUSE_GDBM 45 else 46 GDBM_DEFINES = 47 endif 48 49 USE_JDBM = @USE_JDBM@ 50 ifeq ($(USE_JDBM), 1) 51 JDBM_DEFINES = -DUSE_JDBM 52 else 53 JDBM_DEFINES = 54 endif 55 56 USE_SQLITE = @USE_SQLITE@ 57 ifeq ($(USE_SQLITE), 1) 58 SQLITE_DEFINES = -DUSE_SQLITE 59 else 60 SQLITE_DEFINES = 61 endif 62 63 42 64 AR = ar 43 65 CXX = @CXX@ 44 66 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 45 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER 67 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 46 68 # Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist! 47 69 INCLUDES = -I. -I$(GSDL_DIR) -I$(COMMON_DIR)/src/lib -I$(COMMON_PACKAGES_DIR)/gdbm/include \ -
main/trunk/greenstone2/runtime-src/src/recpt/Makefile.in
r22046 r22058 81 81 endif 82 82 83 # Currently not configurable, and always on 84 USE_GDBM = 1 83 USE_GDBM = @USE_GDBM@ 85 84 ifeq ($(USE_GDBM), 1) 86 85 GDBM_DEFINES = -DUSE_GDBM … … 89 88 GDBM_DEFINES = 90 89 GDBM_INCLUDES = 90 endif 91 92 USE_JDBM = @USE_JDBM@ 93 ifeq ($(USE_JDBM), 1) 94 JDBM_DEFINES = -DUSE_JDBM 95 else 96 JDBM_DEFINES = 91 97 endif 92 98 … … 95 101 SQLITE_DEFINES = -DUSE_SQLITE 96 102 SQLITE_LIBS = $(COMMON_PACKAGES_DIR)/sqlite/lib/libsqlite3.a -ldl -lpthread 103 SQL_SOURCES = sqlqueryaction.cpp 104 SQL_OBJECTS = sqlqueryaction.o 97 105 else 98 106 SQLITE_DEFINES = 99 107 SQLITE_LIBS = 100 endif101 102 ifeq ($(USE_SQLITE), 1)103 SQL_SOURCES = sqlqueryaction.cpp104 SQL_OBJECTS = sqlqueryaction.o105 else106 108 SQL_SOURCES = 107 109 SQL_OBJECTS = … … 146 148 CXX = @CXX@ 147 149 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ 148 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DHAVE_CONFIG_H $(FASTCGI_DEFS) $(GDBM_DEFINES) $( SQLITE_DEFINES) $(Z3950_DEFS)150 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DHAVE_CONFIG_H $(FASTCGI_DEFS) $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) $(Z3950_DEFS) 149 151 INCLUDES = -I. -I$(GSDL_DIR) -I$(COMMON_DIR)/src/lib \ 150 152 -I$(COLSERVR_DIR) -I$(PROTOCOL_DIR) \ -
main/trunk/greenstone2/runtime-src/src/z3950/Makefile.in
r21361 r22058 62 62 endif 63 63 64 USE_GDBM = @USE_GDBM@ 65 ifeq ($(USE_GDBM), 1) 66 GDBM_DEFINES = -DUSE_GDBM 67 else 68 GDBM_DEFINES = 69 endif 70 71 USE_JDBM = @USE_JDBM@ 72 ifeq ($(USE_JDBM), 1) 73 JDBM_DEFINES = -DUSE_JDBM 74 else 75 JDBM_DEFINES = 76 endif 64 77 65 78 USE_SQLITE = @USE_SQLITE@ 66 79 ifeq ($(USE_SQLITE), 1) 67 80 SQLITE_LIBS = $(COMMON_PACKAGES_DIR)/sqlite/lib/libsqlite3.a -ldl -lpthread 81 SQLITE_DEFINES = -DUSE_SQLITE 68 82 else 69 83 SQLITE_LIBS = 84 SQLITE_DEFINES = 70 85 endif 71 86 … … 77 92 CFLAGS = @CFLAGS@ 78 93 CPPFLAGS = @CXXFLAGS@ 79 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER 94 DEFS = @DEFS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 80 95 GSDLOS = @gsdlos@ 81 96 # Do NOT add the "recpt" directory here: the z39.50 code should be independent of the receptionist!
Note:
See TracChangeset
for help on using the changeset viewer.