Changeset 22058


Ignore:
Timestamp:
2010-05-06T21:23:54+12:00 (14 years ago)
Author:
ak19
Message:

Changes to makefiles to 1. incorporate USE_GDBM and USE_JDBM flags (and USE_SQLITE) in most places so that the DEFINES variable is set at all times. This is necessary to ensure that all classes that contain objects with gdbm and jdbm members are of a consistent size. Else we've had experience with Greenstone crashing with memory errors (to do with the similar ENABLE_indexer flags). 2. ENABLE_JDBM is now USE_JDBM. 3. Not everything works now. It still compiles the default way, but the disable-gdbm flag is causing trouble when compiling argdb in recpt since it uses that.

Location:
main/trunk/greenstone2
Files:
40 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/configure

    r21440 r22058  
    310310
    311311ac_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'
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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'
    313313ac_subst_files=''
    314314
     
    857857  --enable-z3950          Enable Z39.50 client support
    858858  --disable-yaz           Disable YAZ compilation
     859  --disable-jdbm        Disable JDBM compilation
     860  --disable-gdbm        Disable GDBM compilation
    859861  --disable-accentfold    Disable Accent Folding for MGPP
    860862  --disable-sqlite        Disable SQLite support
     
    13541356if test "${enable_corba+set}" = set; then
    13551357  enableval="$enable_corba"
     1358  USE_CORBA=$enableval
     1359else
     1360  USE_CORBA=no
     1361fi;
     1362if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    13561363  USE_CORBA=1
     1364  cat >>confdefs.h <<\_ACEOF
     1365#define USE_CORBA
     1366_ACEOF
     1367
    13571368else
    13581369  USE_CORBA=0
    1359 fi;
    1360 cat >>confdefs.h <<_ACEOF
    1361 #define USE_CORBA $USE_CORBA
    1362 _ACEOF
    1363 
     1370fi
    13641371
    13651372
     
    13811388if test "${enable_z3950+set}" = set; then
    13821389  enableval="$enable_z3950"
     1390  USE_Z3950=$enableval
     1391else
     1392  USE_Z3950=no
     1393fi;
     1394if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    13831395  USE_Z3950=1
     1396  cat >>confdefs.h <<\_ACEOF
     1397#define USE_Z3950
     1398_ACEOF
     1399
    13841400else
    13851401  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
     1402fi
     1403
    13941404
    13951405# Check whether --enable-yaz or --disable-yaz was given.
    13961406if test "${enable_yaz+set}" = set; then
    13971407  enableval="$enable_yaz"
     1408  USE_YAZ=$enableval
     1409else
     1410  USE_YAZ=yes
     1411fi;
     1412if 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
     1418else
    13981419  USE_YAZ=0
    1399 else
    1400   USE_YAZ=1
     1420fi
     1421
     1422
     1423# Check whether --enable-jdbm or --disable-jdbm was given.
     1424if test "${enable_jdbm+set}" = set; then
     1425  enableval="$enable_jdbm"
     1426  USE_JDBM=$enableval
     1427else
     1428  USE_JDBM=yes
    14011429fi;
    1402 cat >>confdefs.h <<\_ACEOF
    1403 #define USE_YAZ $USE_YAZ
    1404 _ACEOF
    1405 
     1430if 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
     1436else
     1437  USE_JDBM=0
     1438fi
     1439
     1440
     1441# Check whether --enable-gdbm or --disable-gdbm was given.
     1442if test "${enable_gdbm+set}" = set; then
     1443  enableval="$enable_gdbm"
     1444  USE_GDBM=$enableval
     1445else
     1446  USE_GDBM=yes
     1447fi;
     1448if 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
     1454else
     1455  USE_GDBM=0
     1456fi
    14061457
    14071458
     
    14091460if test "${enable_accentfold+set}" = set; then
    14101461  enableval="$enable_accentfold"
     1462  ENABLE_ACCENTFOLD=$enableval
     1463else
     1464  ENABLE_ACCENTFOLD=yes
     1465fi;
     1466if 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
     1472else
    14111473  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 
     1474fi
    14191475
    14201476
     
    14221478if test "${enable_sqlite+set}" = set; then
    14231479  enableval="$enable_sqlite"
     1480  USE_SQLITE=$enableval
     1481else
     1482  USE_SQLITE=yes
     1483fi;
     1484if 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
     1490else
    14241491  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 
     1492fi
    14321493
    14331494
     
    79177978s,@USE_Z3950@,$USE_Z3950,;t t
    79187979s,@USE_YAZ@,$USE_YAZ,;t t
     7980s,@USE_JDBM@,$USE_JDBM,;t t
     7981s,@USE_GDBM@,$USE_GDBM,;t t
    79197982s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    79207983s,@USE_SQLITE@,$USE_SQLITE,;t t
  • main/trunk/greenstone2/build-src/configure.in

    r21446 r22058  
    7070fi
    7171AC_SUBST(USE_YAZ)
     72
     73dnl
     74dnl Set use of JDBM (enabled by default)
     75dnl
     76AC_ARG_ENABLE(jdbm, [  --disable-jdbm        Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes)
     77if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then
     78  USE_JDBM=1
     79  AC_DEFINE(USE_JDBM,[])
     80else
     81  USE_JDBM=0
     82fi
     83AC_SUBST(USE_JDBM)
     84
     85dnl
     86dnl Set use of GDBM (enabled by default)
     87dnl
     88AC_ARG_ENABLE(gdbm, [  --disable-gdbm        Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes)
     89if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
     90  USE_GDBM=1
     91  AC_DEFINE(USE_GDBM,[])
     92else
     93  USE_GDBM=0
     94fi
     95AC_SUBST(USE_GDBM)
    7296
    7397dnl
  • main/trunk/greenstone2/build-src/packages/configure

    r18244 r22058  
    2222ENVIRONMENT=""
    2323
     24# GDBM compilation enabled by default, can switch it off with --disable-gdbm
     25USE_GDBM=true
     26# JDBM compilation enabled by default, can switch it off with --disable-jdbm
     27USE_JDBM=true
    2428# SQLite support enabled by default, can switch it off with --disable-sqlite
    2529USE_SQLITE=true
     
    4852        CACHE_FILE="--cache-file=$cache_file"
    4953        fi
     54        ;;
     55    --disable-gdbm)
     56        USE_GDBM=false
     57        ;;
     58    --disable-jdbm)
     59        USE_JDBM=false
    5060        ;;
    5161    --disable-sqlite)
  • main/trunk/greenstone2/common-src/Makefile.in

    r21427 r22058  
    5151
    5252# 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
     53COMPILEDIRS = packages src/lib src/getpw
    5754
    5855# a subset of the directories get installed
    59 INSTALLDIRS = packages src/gdbmedit/db2txt src/gdbmedit/txt2db \
     56INSTALLDIRS = packages src/getpw
     57
     58
     59USE_GDBM=@USE_GDBM@
     60ifeq ($(USE_GDBM), 1)
     61COMPILEDIRS += src/gdbmedit/txt2db src/gdbmedit/db2txt \
    6062  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
     64INSTALLDIRS += src/gdbmedit/db2txt src/gdbmedit/txt2db \
     65  src/gdbmedit/gdbmget src/gdbmedit/gdbmset \
     66  src/gdbmedit/gdbmkeys src/gdbmedit/gdbmdel
     67GDBM_DEFINES = -DUSE_GDBM
     68else
     69GDBM_DEFINES =
    6970endif
    7071
     72USE_JDBM=@USE_JDBM@
     73ifeq ($(USE_JDBM), 1)
     74COMPILEDIRS += src/jdbmedit
     75INSTALLDIRS += src/jdbmedit
     76JDBM_DEFINES = -DUSE_JDBM
     77else
     78JDBM_DEFINES =
     79endif
     80
     81USE_SQLITE = @USE_SQLITE@
     82ifeq ($(USE_SQLITE), 1)
     83SQLITE_DEFINES = -DUSE_SQLITE
     84else
     85SQLITE_DEFINES =
     86endif
    7187
    7288MODULEDIRS = @MODULEDIRS@
    73 
     89DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    7490
    7591with-jni without-jni:
  • main/trunk/greenstone2/common-src/configure

    r21440 r22058  
    312312ac_subdirs_all="$ac_subdirs_all packages"
    313313ac_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_JDBM 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'
     314ac_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'
    315315ac_subst_files=''
    316316
     
    859859  --enable-z3950          Enable Z39.50 client support
    860860  --disable-yaz           Disable YAZ compilation
     861  --disable-jdbm        Disable JDBM compilation
     862  --disable-gdbm        Disable GDBM compilation
    861863  --disable-accentfold    Disable Accent Folding for MGPP
    862   --disable-jdbm        Disable JDBM compilation
    863864  --disable-sqlite        Disable SQLite support
    864865  --enable-jni    Enable JNI compilation
     
    13631364if test "${enable_corba+set}" = set; then
    13641365  enableval="$enable_corba"
     1366  USE_CORBA=$enableval
     1367else
     1368  USE_CORBA=no
     1369fi;
     1370if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    13651371  USE_CORBA=1
     1372  cat >>confdefs.h <<\_ACEOF
     1373#define USE_CORBA
     1374_ACEOF
     1375
    13661376else
    13671377  USE_CORBA=0
    1368 fi;
    1369 cat >>confdefs.h <<_ACEOF
    1370 #define USE_CORBA $USE_CORBA
    1371 _ACEOF
    1372 
     1378fi
    13731379
    13741380
     
    13901396if test "${enable_z3950+set}" = set; then
    13911397  enableval="$enable_z3950"
     1398  USE_Z3950=$enableval
     1399else
     1400  USE_Z3950=no
     1401fi;
     1402if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    13921403  USE_Z3950=1
     1404  cat >>confdefs.h <<\_ACEOF
     1405#define USE_Z3950
     1406_ACEOF
     1407
    13931408else
    13941409  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
     1410fi
     1411
    14031412
    14041413# Check whether --enable-yaz or --disable-yaz was given.
    14051414if test "${enable_yaz+set}" = set; then
    14061415  enableval="$enable_yaz"
     1416  USE_YAZ=$enableval
     1417else
     1418  USE_YAZ=yes
     1419fi;
     1420if 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
     1426else
    14071427  USE_YAZ=0
    1408 else
    1409   USE_YAZ=1
     1428fi
     1429
     1430
     1431# Check whether --enable-jdbm or --disable-jdbm was given.
     1432if test "${enable_jdbm+set}" = set; then
     1433  enableval="$enable_jdbm"
     1434  USE_JDBM=$enableval
     1435else
     1436  USE_JDBM=yes
    14101437fi;
    1411 cat >>confdefs.h <<\_ACEOF
    1412 #define USE_YAZ $USE_YAZ
    1413 _ACEOF
    1414 
     1438if 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
     1444else
     1445  USE_JDBM=0
     1446fi
     1447
     1448
     1449# Check whether --enable-gdbm or --disable-gdbm was given.
     1450if test "${enable_gdbm+set}" = set; then
     1451  enableval="$enable_gdbm"
     1452  USE_GDBM=$enableval
     1453else
     1454  USE_GDBM=yes
     1455fi;
     1456if 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
     1462else
     1463  USE_GDBM=0
     1464fi
    14151465
    14161466
     
    14181468if test "${enable_accentfold+set}" = set; then
    14191469  enableval="$enable_accentfold"
     1470  ENABLE_ACCENTFOLD=$enableval
     1471else
     1472  ENABLE_ACCENTFOLD=yes
     1473fi;
     1474if 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
     1480else
    14201481  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
     1482fi
     1483
    14461484
    14471485
     
    14491487if test "${enable_sqlite+set}" = set; then
    14501488  enableval="$enable_sqlite"
     1489  USE_SQLITE=$enableval
     1490else
     1491  USE_SQLITE=yes
     1492fi;
     1493if 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
     1499else
    14511500  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 
     1501fi
    14591502
    14601503
     
    79317974s,@USE_Z3950@,$USE_Z3950,;t t
    79327975s,@USE_YAZ@,$USE_YAZ,;t t
     7976s,@USE_JDBM@,$USE_JDBM,;t t
     7977s,@USE_GDBM@,$USE_GDBM,;t t
    79337978s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    7934 s,@ENABLE_JDBM@,$ENABLE_JDBM,;t t
    79357979s,@USE_SQLITE@,$USE_SQLITE,;t t
    79367980s,@ENABLE_JNI@,$ENABLE_JNI,;t t
  • main/trunk/greenstone2/common-src/configure.in

    r21446 r22058  
    7373AC_SUBST(USE_YAZ)
    7474
     75dnl
     76dnl Set use of JDBM (enabled by default)
     77dnl
     78AC_ARG_ENABLE(jdbm, [  --disable-jdbm        Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes)
     79if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then
     80  USE_JDBM=1
     81  AC_DEFINE(USE_JDBM,[])
     82else
     83  USE_JDBM=0
     84fi
     85AC_SUBST(USE_JDBM)
     86
     87dnl
     88dnl Set use of GDBM (enabled by default)
     89dnl
     90AC_ARG_ENABLE(gdbm, [  --disable-gdbm        Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes)
     91if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
     92  USE_GDBM=1
     93  AC_DEFINE(USE_GDBM,[])
     94else
     95  USE_GDBM=0
     96fi
     97AC_SUBST(USE_GDBM)
     98
    7599dnl
    76100dnl disable compilation of accent folding stuff for mgpp (and one day mg)
     
    85109AC_SUBST(ENABLE_ACCENTFOLD)
    86110
    87 dnl
    88 dnl Set use of JDBM (enabled by default)
    89 dnl
    90 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" ; then
    92   ENABLE_JDBM=1
    93   AC_DEFINE(ENABLE_JDBM,[])
    94 else
    95   ENABLE_JDBM=0
    96 fi
    97 AC_SUBST(ENABLE_JDBM)
    98111
    99112dnl
  • main/trunk/greenstone2/common-src/indexers/Makefile.in

    r21364 r22058  
    5858endif
    5959
     60USE_GDBM = @USE_GDBM@
     61ifeq ($(USE_GDBM), 1)
     62GDBM_DEFINES = -DUSE_GDBM
     63else
     64GDBM_DEFINES =
     65endif
     66
     67USE_JDBM = @USE_JDBM@
     68ifeq ($(USE_JDBM), 1)
     69JDBM_DEFINES = -DUSE_JDBM
     70else
     71JDBM_DEFINES =
     72endif
     73
     74USE_SQLITE = @USE_SQLITE@
     75ifeq ($(USE_SQLITE), 1)
     76USE_SQLITE = -DUSE_SQLITE
     77else
     78USE_SQLITE =
     79endif
     80
    6081INDEXERDIRS = $(UNAC) $(MG) $(MGPP) $(LUCENE)
    61 
     82DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    6283
    6384clean:
  • main/trunk/greenstone2/common-src/indexers/configure

    r21364 r22058  
    275275ac_subdirs_all="$ac_subdirs_all mg"
    276276ac_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'
     277ac_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'
    278278ac_subst_files=''
    279279
     
    786786  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    787787  --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
    789791  --enable-jni    Enable JNI compilation
    790792  --disable-mg        Disable MG compilation
     
    12331235
    12341236
    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.
     1239if test "${enable_jdbm+set}" = set; then
     1240  enableval="$enable_jdbm"
     1241  USE_JDBM=$enableval
     1242else
     1243  USE_JDBM=yes
     1244fi;
     1245if 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
     1251else
     1252  USE_JDBM=0
     1253fi
     1254
     1255
     1256# Check whether --enable-gdbm or --disable-gdbm was given.
     1257if test "${enable_gdbm+set}" = set; then
     1258  enableval="$enable_gdbm"
     1259  USE_GDBM=$enableval
     1260else
     1261  USE_GDBM=yes
     1262fi;
     1263if 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
     1269else
     1270  USE_GDBM=0
     1271fi
     1272
     1273
     1274
     1275# Check whether --enable-accentfold or --disable-accentfold was given.
     1276if test "${enable_accentfold+set}" = set; then
     1277  enableval="$enable_accentfold"
     1278  ENABLE_ACCENTFOLD=$enableval
     1279else
     1280  ENABLE_ACCENTFOLD=yes
     1281fi;
     1282if 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
     1288else
    12381289  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 
     1290fi
    12461291
    12471292
     
    14281473CLASS_TEST=Test.class
    14291474cat << \EOF > $JAVA_TEST
    1430 /* #line 1430 "configure" */
     1475/* #line 1475 "configure" */
    14311476public class Test {
    14321477}
     
    15981643        ac_cv_prog_uudecode_base64=yes
    15991644else
    1600         echo "configure: 1600: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     1645        echo "configure: 1645: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    16011646        echo "configure: failed file was:" >&5
    16021647        cat Test.uue >&5
     
    17161761CLASS_TEST=Test.class
    17171762cat << \EOF > $JAVA_TEST
    1718 /* #line 1718 "configure" */
     1763/* #line 1763 "configure" */
    17191764public class Test {
    17201765}
     
    17531798TEST=Test
    17541799cat << \EOF > $JAVA_TEST
    1755 /* [#]line 1755 "configure" */
     1800/* [#]line 1800 "configure" */
    17561801public class Test {
    17571802public static void main (String args[]) {
     
    25092554s,@ECHO_T@,$ECHO_T,;t t
    25102555s,@LIBS@,$LIBS,;t t
     2556s,@USE_JDBM@,$USE_JDBM,;t t
     2557s,@USE_GDBM@,$USE_GDBM,;t t
    25112558s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    25122559s,@ENABLE_JNI@,$ENABLE_JNI,;t t
  • main/trunk/greenstone2/common-src/indexers/configure.ac

    r21446 r22058  
    1 dnl
    2 dnl Disable accent folding
    3 dnl
    41
    52dnl AC_INIT(mgpp/text/MGQuery.cpp)
    63dnl http://www.gnu.org/software/hello/manual/autoconf/Initializing-configure.html
    74AC_INIT()
     5
     6dnl
     7dnl Set use of JDBM (enabled by default)
     8dnl
     9AC_ARG_ENABLE(jdbm, [  --disable-jdbm        Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes)
     10if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then
     11  USE_JDBM=1
     12  AC_DEFINE(USE_JDBM,[])
     13else
     14  USE_JDBM=0
     15fi
     16AC_SUBST(USE_JDBM)
     17
     18dnl
     19dnl Set use of GDBM (enabled by default)
     20dnl
     21AC_ARG_ENABLE(gdbm, [  --disable-gdbm        Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes)
     22if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
     23  USE_GDBM=1
     24  AC_DEFINE(USE_GDBM,[])
     25else
     26  USE_GDBM=0
     27fi
     28AC_SUBST(USE_GDBM)
     29
     30
     31dnl
     32dnl Disable accent folding
     33dnl
    834AC_ARG_ENABLE(accentfold, [  --disable-accentfold    Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=$enableval, ENABLE_ACCENTFOLD=yes)
    935if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
  • main/trunk/greenstone2/common-src/indexers/mg/Makefile.in

    r16583 r22058  
    11# Main Makefile for MG
    22# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    3  
     3
    44# This program is free software; you can redistribute it and/or modify
    55# it under the terms of the GNU General Public License as published by
    66# the Free Software Foundation; either version 2, or (at your option)
    77# any later version.
    8  
     8
    99# This program is distributed in the hope that it will be useful,
    1010# but WITHOUT ANY WARRANTY; without even the implied warranty of
    1111# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1212# GNU General Public License for more details.
    13  
     13
    1414# You should have received a copy of the GNU General Public License
    1515# along with this program; if not, write to the Free Software
    1616# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    17  
     17
    1818PACKAGE = @PACKAGE@
    1919VERSION = @VERSION@
    20  
     20
    2121@SET_MAKE@
    2222SHELL = /bin/sh
     
    2525prefix = @prefix@
    2626srcdir = @srcdir@
    27  
     27
    2828
    2929CC = @CC@
     
    3535LIBS = @LIBS@ 
    3636TOUCH = echo timestamp >
    37  
     37
    3838bindir = $(exec_prefix)/bin
    3939infodir = $(prefix)/info
    4040libexecdir = $(exec_prefix)/libexec
    41  
     41
    4242MDEFINES =
    4343#CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
  • main/trunk/greenstone2/common-src/indexers/mg/configure

    r19835 r22058  
    310310#endif"
    311311
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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'
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS 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'
    313313ac_subst_files=''
    314314
     
    855855
    856856  cat <<\_ACEOF
     857
     858Optional 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
    857863
    858864Optional Packages:
     
    14711477  fi
    14721478fi
     1479
     1480
     1481
     1482# Check whether --enable-jdbm or --disable-jdbm was given.
     1483if test "${enable_jdbm+set}" = set; then
     1484  enableval="$enable_jdbm"
     1485  USE_JDBM=$enableval
     1486else
     1487  USE_JDBM=yes
     1488fi;
     1489if 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
     1495else
     1496  USE_JDBM=0
     1497fi
     1498
     1499
     1500# Check whether --enable-gdbm or --disable-gdbm was given.
     1501if test "${enable_gdbm+set}" = set; then
     1502  enableval="$enable_gdbm"
     1503  USE_GDBM=$enableval
     1504else
     1505  USE_GDBM=yes
     1506fi;
     1507if 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
     1513else
     1514  USE_GDBM=0
     1515fi
     1516
    14731517
    14741518
     
    72457289s,@VERSION@,$VERSION,;t t
    72467290s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
     7291s,@USE_JDBM@,$USE_JDBM,;t t
     7292s,@USE_GDBM@,$USE_GDBM,;t t
    72477293s,@CXX@,$CXX,;t t
    72487294s,@CXXFLAGS@,$CXXFLAGS,;t t
  • main/trunk/greenstone2/common-src/indexers/mg/configure.in

    r19835 r22058  
    3636fi
    3737AC_SUBST(COMPAT32BITFLAGS)
     38
     39
     40dnl
     41dnl Set use of JDBM (enabled by default)
     42dnl
     43AC_ARG_ENABLE(jdbm, [  --disable-jdbm        Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes)
     44if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then
     45  USE_JDBM=1
     46  AC_DEFINE(USE_JDBM,[])
     47else
     48  USE_JDBM=0
     49fi
     50AC_SUBST(USE_JDBM)
     51
     52dnl
     53dnl Set use of GDBM (enabled by default)
     54dnl
     55AC_ARG_ENABLE(gdbm, [  --disable-gdbm        Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes)
     56if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
     57  USE_GDBM=1
     58  AC_DEFINE(USE_GDBM,[])
     59else
     60  USE_GDBM=0
     61fi
     62AC_SUBST(USE_GDBM)
     63
    3864
    3965dnl Checks for programs.
  • main/trunk/greenstone2/common-src/indexers/mg/jni/Makefile.in

    r18445 r22058  
    1111transform = @program_transform_name@
    1212
     13USE_GDBM = @USE_GDBM@
     14ifeq ($(USE_GDBM), 1)
     15GDBM_DEFINES = -DUSE_GDBM
     16else
     17GDBM_DEFINES =
     18endif
     19
     20USE_JDBM = @USE_JDBM@
     21ifeq ($(USE_JDBM), 1)
     22JDBM_DEFINES = -DUSE_JDBM
     23else
     24JDBM_DEFINES =
     25endif
     26
     27USE_SQLITE = @USE_SQLITE@
     28ifeq ($(USE_SQLITE), 1)
     29SQLITE_DEFINES = -DUSE_SQLITE
     30else
     31SQLITE_DEFINES =
     32endif
     33
    1334AR = ar
    1435CC = @CC@
    1536CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -ansi -fpic -DSILENT -DSHORT_SUFFIX -DNZDL -DQUIET -DPARADOCNUM
    16 DEFS = @DEFS@
     37DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    1738RANLIB = @RANLIB@
    1839INSTALL = @INSTALL@
  • main/trunk/greenstone2/common-src/indexers/mg/lib/Makefile.in

    r16583 r22058  
    2525PACKAGE = @PACKAGE@
    2626VERSION = @VERSION@
    27  
     27
    2828SHELL = /bin/sh
    2929srcdir = @srcdir@
    3030subdir = lib
    3131VPATH = @srcdir@
    32  
     32
     33USE_GDBM = @USE_GDBM@
     34ifeq ($(USE_GDBM), 1)
     35GDBM_DEFINES = -DUSE_GDBM
     36else
     37GDBM_DEFINES =
     38endif
     39
     40USE_JDBM = @USE_JDBM@
     41ifeq ($(USE_JDBM), 1)
     42JDBM_DEFINES = -DUSE_JDBM
     43else
     44JDBM_DEFINES =
     45endif
     46
     47USE_SQLITE = @USE_SQLITE@
     48ifeq ($(USE_SQLITE), 1)
     49SQLITE_DEFINES = -DUSE_SQLITE
     50else
     51SQLITE_DEFINES =
     52endif
     53
    3354AR = ar
    3455CC = @CC@
    3556CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -fpic
    36 DEFS = @DEFS@
     57DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3758RANLIB = @RANLIB@
    3859
     
    4364##########################################
    4465
    45  
     66
    4667prefix = @prefix@
    4768datadir = $(prefix)/share
    4869localedir = $(datadir)/locale
    49  
     70
    5071COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
    51  
     72
    5273.SUFFIXES:
    5374.SUFFIXES: .c .o
     
    5778ANSI2KNR = @ANSI2KNR@
    5879o = .@U@o
    59  
     80
    6081.SUFFIXES: ._c ._o
    6182.c._c:
     
    7192    @ln $*._c _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c
    7293
    73  
     94
    7495INCLUDES = -I../../.. -I.. -I$(srcdir)
    75  
     96
    7697HEADERS = \
    7798    bitio_m_random.h   filestats.h        local_strings.h    lovinstem.h \
     
    123144
    124145DISTFILES = Makefile.in $(HEADERS) $(SOURCES)
    125  
     146
    126147all : libmglib.a gsdllibmg.a
    127148
     
    137158    $(AR) cru gsdllibmg.a $(LIB_OBJECTS)
    138159    $(RANLIB) gsdllibmg.a
    139  
     160
    140161
    141162install:
     
    146167maninstall:
    147168manuninstall:
    148  
     169
    149170dist: $(DISTFILES)
    150171    for file in $(DISTFILES); do \
     
    155176mostlyclean:
    156177    rm -f *.o *_.o
    157  
     178
    158179clean: mostlyclean
    159180    rm -f libmglib.a gsdllibmg.a
    160  
     181
    161182distclean: clean
    162183    rm -f Makefile
    163  
     184
    164185maintainer-clean: distclean
    165186    @echo "This command is intended only for maintainers to use;"
     
    168189#Makefile: Makefile.in ../../../config.status
    169190#   cd ../../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
    170  
     191
    171192# Tell versions [3.59,3.63) of GNU make not to export all variables.
    172193# Otherwise a system limit (for SysV at least) may be exceeded.
  • main/trunk/greenstone2/common-src/indexers/mg/src/text/Makefile.in

    r16583 r22058  
    2424PACKAGE = @PACKAGE@
    2525VERSION = @VERSION@
    26  
     26
    2727SHELL = /bin/sh
    2828VPATH = @srcdir@
     
    3535transform = @program_transform_name@
    3636
     37USE_GDBM = @USE_GDBM@
     38ifeq ($(USE_GDBM), 1)
     39GDBM_DEFINES = -DUSE_GDBM
     40else
     41GDBM_DEFINES =
     42endif
     43
     44USE_JDBM = @USE_JDBM@
     45ifeq ($(USE_JDBM), 1)
     46JDBM_DEFINES = -DUSE_JDBM
     47else
     48JDBM_DEFINES =
     49endif
     50
     51USE_SQLITE = @USE_SQLITE@
     52ifeq ($(USE_SQLITE), 1)
     53SQLITE_DEFINES = -DUSE_SQLITE
     54else
     55SQLITE_DEFINES =
     56endif
     57
    3758AR = ar
    3859CC = @CC@
    3960CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -fpic
    40 DEFS = @DEFS@
     61DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    4162RANLIB = @RANLIB@
    4263INSTALL = @INSTALL@
     
    5980localedir = $(datadir)/locale
    6081mandir = $(prefix)/man/man1
    61  
     82
    6283COMPILE = $(CC) -c $(DEFS) $(TREC_MODE) $(READLINE) $(INCLUDES) $(CFLAGS)
    6384LINK = $(CC) $(LDFLAGS) -o $@
     
    6788.c.o:
    6889    $(COMPILE) $<
    69  
     90
    7091
    7192ANSI2KNR = @ANSI2KNR@
    7293o = .@U@o
    73  
     94
    7495.SUFFIXES: ._c ._o
    7596.c._c:
     
    84105    @rm -f _$*.c
    85106    @ln $*._c _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c
    86  
     107
    87108INCLUDES = -I../../../.. -I../.. -I../../lib -I.
    88109
     
    360381mostlyclean:
    361382    rm -f *$o _*.c _*.o *._c *._o core core.*
    362  
     383
    363384clean: mostlyclean
    364385    rm -f $(EXEC) libmgtext.a libmgpass.a
    365  
     386
    366387distclean: clean
    367388    rm -f ansi2knr
    368389    rm -f Makefile
    369  
     390
    370391maintainer-clean: distclean
    371392    @echo "This command is intended only for maintainers to use;"
    372393    @echo "rebuilding the deleted files may require special tools."
    373  
     394
    374395dist: $(DISTFILES)
    375396    for file in $(DISTFILES); do \
     
    377398      || cp -p $(srcdir)/$$file $(distdir); \
    378399    done
    379  
     400
    380401# Tell versions [3.59,3.63) of GNU make not to export all variables.
    381402# Otherwise a system limit (for SysV at least) may be exc
  • main/trunk/greenstone2/common-src/indexers/mgpp/configure

    r20845 r22058  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61.
     3# Generated by GNU Autoconf 2.59.
    44#
    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.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
     
    1110## --------------------- ##
    1211
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
     12# Be Bourne compatible
    1513if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1614  emulate sh
     
    1917  # is contrary to our usage.  Disable this feature.
    2018  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
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  set -o posix
     21fi
     22DUALCASE=1; export DUALCASE # for MKS sh
     23
     24# Support unset when possible.
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  as_unset=unset
     27else
     28  as_unset=false
     29fi
     30
     31
     32# Work around bugs in pre-3.0 UWIN ksh.
     33$as_unset ENV MAIL MAILPATH
     34PS1='$ '
     35PS2='> '
     36PS4='+ '
     37
     38# NLS nuisances.
     39for 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
     43do
     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
     49done
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
     53  as_expr=expr
     54else
     55  as_expr=false
     56fi
     57
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59  as_basename=basename
     60else
     61  as_basename=false
     62fi
     63
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68     X"$0" : 'X\(//\)$' \| \
     69     X"$0" : 'X\(/\)$' \| \
     70     .     : '\(.\)' 2>/dev/null ||
     71echo 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.
    3379# Avoid depending upon Character Ranges.
    3480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    5197fi
    5298
    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
    74110for as_dir in $PATH
    75111do
     
    78114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79115done
    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
    112123  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  '')
    221130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    224133  IFS=$as_save_IFS
    225134  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
    227137     /*)
    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 '
    328139  as_lineno_1=$LINENO
    329140  as_lineno_2=$LINENO
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    330142  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
     152done
     153;;
     154  esac
    427155
    428156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429157  # 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.
    435162  # (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 |
    442165    sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447166      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,
    450170      t loop
    451       s/-\n.*//
     171      s,-$,,
     172      s,^['$as_cr_digits']*\n,,
    452173    ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
     174  chmod +x $as_me.lineno ||
    454175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455176   { (exit 1); exit 1; }; }
     
    457178  # Don't try to exec as it changes $[0], causing all sort of problems
    458179  # (the dirname of $[0] is not the place where we might find the
    459   # original and so on.  Autoconf is especially sensitive to this).
    460   . "./$as_me.lineno"
     180  # original and so on.  Autoconf is especially sensible to this).
     181  . ./$as_me.lineno
    461182  # Exit status is that of the last command.
    462183  exit
     
    464185
    465186
    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';;
     187case `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= ;;
    481192esac
    482193
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     194if expr a : '\(a\)' >/dev/null 2>&1; then
    485195  as_expr=expr
    486196else
     
    489199
    490200rm -f conf$$ conf$$.exe conf$$.file
    491 if test -d conf$$.dir; then
    492   rm -f conf$$.dir/conf$$.file
    493 else
    494   rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497201echo >conf$$.file
    498202if 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
    505207    as_ln_s='cp -p'
     208  else
     209    as_ln_s='ln -s'
     210  fi
    506211elif ln conf$$.file conf$$ 2>/dev/null; then
    507212  as_ln_s=ln
     
    509214  as_ln_s='cp -p'
    510215fi
    511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    512 rmdir conf$$.dir 2>/dev/null
     216rm -f conf$$ conf$$.exe conf$$.file
    513217
    514218if mkdir -p . 2>/dev/null; then
     
    519223fi
    520224
    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
     225as_executable_p="test -f"
    543226
    544227# Sed expression to map a string onto a valid CPP name.
     
    549232
    550233
    551 
    552 exec 7<&0 </dev/null 6>&1
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
    553243
    554244# Name of the host.
     
    557247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558248
     249exec 6>&1
     250
    559251#
    560252# Initializations.
    561253#
    562254ac_default_prefix=/usr/local
    563 ac_clean_files=
    564255ac_config_libobj_dir=.
    565 LIBOBJS=
    566256cross_compiling=no
    567257subdirs=
     
    569259MAKEFLAGS=
    570260SHELL=${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}
    571266
    572267# Identity of this package.
     
    581276ac_includes_default="\
    582277#include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
     278#if HAVE_SYS_TYPES_H
    584279# include <sys/types.h>
    585280#endif
    586 #ifdef HAVE_SYS_STAT_H
     281#if HAVE_SYS_STAT_H
    587282# include <sys/stat.h>
    588283#endif
    589 #ifdef STDC_HEADERS
     284#if STDC_HEADERS
    590285# include <stdlib.h>
    591286# include <stddef.h>
    592287#else
    593 # ifdef HAVE_STDLIB_H
     288# if HAVE_STDLIB_H
    594289#  include <stdlib.h>
    595290# endif
    596291#endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     292#if HAVE_STRING_H
     293# if !STDC_HEADERS && HAVE_MEMORY_H
    599294#  include <memory.h>
    600295# endif
    601296# include <string.h>
    602297#endif
    603 #ifdef HAVE_STRINGS_H
     298#if HAVE_STRINGS_H
    604299# include <strings.h>
    605300#endif
    606 #ifdef HAVE_INTTYPES_H
     301#if HAVE_INTTYPES_H
    607302# include <inttypes.h>
     303#else
     304# if HAVE_STDINT_H
     305#  include <stdint.h>
     306# endif
    608307#endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
     308#if HAVE_UNISTD_H
    613309# include <unistd.h>
    614310#endif"
    615311
    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'
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS ENABLE_ACCENTFOLD 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'
    700313ac_subst_files=''
    701       ac_precious_vars='build_alias
    702 host_alias
    703 target_alias
    704 CXX
    705 CXXFLAGS
    706 LDFLAGS
    707 LIBS
    708 CPPFLAGS
    709 CCC
    710 YACC
    711 YFLAGS
    712 CC
    713 CFLAGS
    714 CPP'
    715 
    716314
    717315# Initialize some variables set by options.
     
    740338# by default will actually change.
    741339# Use braces instead of parens because sh, perl, etc. also accept them.
    742 # (The list follows the same order as the GNU Coding Standards.)
    743340bindir='${exec_prefix}/bin'
    744341sbindir='${exec_prefix}/sbin'
    745342libexecdir='${exec_prefix}/libexec'
    746 datarootdir='${prefix}/share'
    747 datadir='${datarootdir}'
     343datadir='${prefix}/share'
    748344sysconfdir='${prefix}/etc'
    749345sharedstatedir='${prefix}/com'
    750346localstatedir='${prefix}/var'
     347libdir='${exec_prefix}/lib'
    751348includedir='${prefix}/include'
    752349oldincludedir='/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'
     350infodir='${prefix}/info'
     351mandir='${prefix}/man'
    762352
    763353ac_prev=
    764 ac_dashdash=
    765354for ac_option
    766355do
    767356  # If the previous option needs an argument, assign it.
    768357  if test -n "$ac_prev"; then
    769     eval $ac_prev=\$ac_option
     358    eval "$ac_prev=\$ac_option"
    770359    ac_prev=
    771360    continue
    772361  fi
    773362
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     364
     365  # Accept the important Cygnus configure options, so we can diagnose typos.
     366
    774367  case $ac_option in
    775   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    776   *)    ac_optarg=yes ;;
    777   esac
    778 
    779   # Accept the important Cygnus configure options, so we can diagnose typos.
    780 
    781   case $ac_dashdash$ac_option in
    782   --)
    783     ac_dashdash=yes ;;
    784368
    785369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    803387    cache_file=config.cache ;;
    804388
    805   -datadir | --datadir | --datadi | --datad)
     389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    806390    ac_prev=datadir ;;
    807   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     392  | --da=*)
    808393    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 ;;
    816394
    817395  -disable-* | --disable-*)
    818396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    819397    # 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 &&
    821399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    822400   { (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" ;;
    835403
    836404  -enable-* | --enable-*)
    837405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    838406    # 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 &&
    840408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    841409   { (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'" ;;
    844416
    845417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    868440    host_alias=$ac_optarg ;;
    869441
    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 
    876442  -includedir | --includedir | --includedi | --included | --include \
    877443  | --includ | --inclu | --incl | --inc)
     
    898464    libexecdir=$ac_optarg ;;
    899465
    900   -localedir | --localedir | --localedi | --localed | --locale)
    901     ac_prev=localedir ;;
    902   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    903     localedir=$ac_optarg ;;
    904 
    905466  -localstatedir | --localstatedir | --localstatedi | --localstated \
    906   | --localstate | --localstat | --localsta | --localst | --locals)
     467  | --localstate | --localstat | --localsta | --localst \
     468  | --locals | --local | --loca | --loc | --lo)
    907469    ac_prev=localstatedir ;;
    908470  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    909   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    910473    localstatedir=$ac_optarg ;;
    911474
     
    972535    program_transform_name=$ac_optarg ;;
    973536
    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 
    984537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    985538  | -silent | --silent | --silen | --sile | --sil)
     
    1034587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1035588    # 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 &&
    1037590      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1038591   { (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'" ;;
    1041598
    1042599  -without-* | --without-*)
    1043600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1044601    # 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 &&
    1046603      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1047604   { (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" ;;
    1050607
    1051608  --x)
     
    1078635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1079636   { (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'"
    1081639    export $ac_envvar ;;
    1082640
     
    1098656fi
    1099657
    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.
     659for ac_var in exec_prefix prefix
    1105660do
    1106   eval ac_val=\$$ac_var
     661  eval ac_val=$`echo $ac_var`
    1107662  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; }; };;
    1110666  esac
    1111   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1112    { (exit 1); exit 1; }; }
     667done
     668
     669# Be sure to have absolute paths.
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     671          localstatedir libdir includedir oldincludedir infodir mandir
     672do
     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
    1113679done
    1114680
     
    1137703
    1138704
    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" >&2
    1143    { (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" >&2
    1146    { (exit 1); exit 1; }; }
    1147 
    1148 
    1149705# Find the source files, if location was not specified.
    1150706if test -z "$srcdir"; then
    1151707  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 ||
    1154710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1155711     X"$0" : 'X\(//\)[^/]' \| \
    1156712     X"$0" : 'X\(//\)$' \| \
    1157      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     713     X"$0" : 'X\(/\)' \| \
     714     .     : '\(.\)' 2>/dev/null ||
    1158715echo 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'`
    1176721  srcdir=$ac_confdir
    1177   if test ! -r "$srcdir/$ac_unique_file"; then
     722  if test ! -r $srcdir/$ac_unique_file; then
    1178723    srcdir=..
    1179724  fi
     
    1181726  ac_srcdir_defaulted=no
    1182727fi
    1183 if test ! -r "$srcdir/$ac_unique_file"; then
    1184   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1185   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     728if 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
    1186731   { (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
    1191734   { (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
     736fi
     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; }; }
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     741ac_env_build_alias_set=${build_alias+set}
     742ac_env_build_alias_value=$build_alias
     743ac_cv_env_build_alias_set=${build_alias+set}
     744ac_cv_env_build_alias_value=$build_alias
     745ac_env_host_alias_set=${host_alias+set}
     746ac_env_host_alias_value=$host_alias
     747ac_cv_env_host_alias_set=${host_alias+set}
     748ac_cv_env_host_alias_value=$host_alias
     749ac_env_target_alias_set=${target_alias+set}
     750ac_env_target_alias_value=$target_alias
     751ac_cv_env_target_alias_set=${target_alias+set}
     752ac_cv_env_target_alias_value=$target_alias
     753ac_env_CXX_set=${CXX+set}
     754ac_env_CXX_value=$CXX
     755ac_cv_env_CXX_set=${CXX+set}
     756ac_cv_env_CXX_value=$CXX
     757ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     758ac_env_CXXFLAGS_value=$CXXFLAGS
     759ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     760ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     761ac_env_LDFLAGS_set=${LDFLAGS+set}
     762ac_env_LDFLAGS_value=$LDFLAGS
     763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_cv_env_LDFLAGS_value=$LDFLAGS
     765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     766ac_env_CPPFLAGS_value=$CPPFLAGS
     767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     769ac_env_CC_set=${CC+set}
     770ac_env_CC_value=$CC
     771ac_cv_env_CC_set=${CC+set}
     772ac_cv_env_CC_value=$CC
     773ac_env_CFLAGS_set=${CFLAGS+set}
     774ac_env_CFLAGS_value=$CFLAGS
     775ac_cv_env_CFLAGS_set=${CFLAGS+set}
     776ac_cv_env_CFLAGS_value=$CFLAGS
     777ac_env_CPP_set=${CPP+set}
     778ac_env_CPP_value=$CPP
     779ac_cv_env_CPP_set=${CPP+set}
     780ac_cv_env_CPP_value=$CPP
    1209781
    1210782#
     
    1235807      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1236808
     809_ACEOF
     810
     811  cat <<_ACEOF
    1237812Installation directories:
    1238813  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    1252827  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1253828  --libexecdir=DIR       program executables [EPREFIX/libexec]
     829  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1254830  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1255831  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    1258834  --includedir=DIR       C header files [PREFIX/include]
    1259835  --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]
    1270838_ACEOF
    1271839
     
    1291859  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1292860  --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
    1294864  --enable-override-longlong
    1295865                          overide use of long long with GCC
     
    1309879  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1310880              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>
    1319883  CC          C compiler command
    1320884  CFLAGS      C compiler flags
     
    1325889
    1326890_ACEOF
    1327 ac_status=$?
    1328891fi
    1329892
    1330893if test "$ac_init_help" = "recursive"; then
    1331894  # If there are subdirs, report their specific --help.
     895  ac_popdir=`pwd`
    1332896  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1333     test -d "$ac_dir" || continue
     897    test -d $ac_dir || continue
    1334898    ac_builddir=.
    1335899
    1336 case "$ac_dir" in
    1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     900if 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'`
     904else
     905  ac_dir_suffix= ac_top_builddir=
     906fi
     907
     908case $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 ;;
     922esac
     923
     924# Do not use `cd foo && pwd` to compute absolute paths, because
     925# the directories may not exist.
     926case `pwd` in
     927.) ac_abs_builddir="$ac_dir";;
    1338928*)
    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;;
    1346934esac
    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 ;;
     935case $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;;
    1365943esac
    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
     944case $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;;
     952esac
     953case $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;;
     961esac
     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
    1376975    else
    1377976      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
    1380979  done
    1381980fi
    1382981
    1383 test -n "$ac_init_help" && exit $ac_status
     982test -n "$ac_init_help" && exit 0
    1384983if $ac_init_version; then
    1385984  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
     986Copyright (C) 2003 Free Software Foundation, Inc.
    1391987This configure script is free software; the Free Software Foundation
    1392988gives unlimited permission to copy, distribute and modify it.
    1393989_ACEOF
    1394   exit
    1395 fi
    1396 cat >config.log <<_ACEOF
     990  exit 0
     991fi
     992exec 5>config.log
     993cat >&5 <<_ACEOF
    1397994This file contains any messages produced by compilers while
    1398995running configure, to aid debugging if configure makes a mistake.
    1399996
    1400997It was created by $as_me, which was
    1401 generated by GNU Autoconf 2.61.  Invocation command line was
     998generated by GNU Autoconf 2.59.  Invocation command line was
    1402999
    14031000  $ $0 $@
    14041001
    14051002_ACEOF
    1406 exec 5>>config.log
    14071003{
    14081004cat <<_ASUNAME
     
    14231019/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    14241020/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1425 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1021hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    14261022/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    14271023/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    14371033  echo "PATH: $as_dir"
    14381034done
    1439 IFS=$as_save_IFS
    14401035
    14411036} >&5
     
    14591054ac_configure_args0=
    14601055ac_configure_args1=
     1056ac_sep=
    14611057ac_must_keep_next=false
    14621058for ac_pass in 1 2
     
    14691065    | -silent | --silent | --silen | --sile | --sil)
    14701066      continue ;;
    1471     *\'*)
     1067    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    14721068      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    14731069    esac
     
    14911087    esac
    14921088      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=" "
    14941092      ;;
    14951093    esac
     
    15021100# config.log.  We remove comments because anyway the quotes in there
    15031101# 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.
    15061104trap 'exit_status=$?
    15071105  # Save into config.log some information that might help in debugging.
     
    15161114    echo
    15171115    # 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{
    15331117  (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=\ *)
    15361120      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      ;;
    15401124    *)
    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"
    15421127      ;;
    1543     esac |
    1544     sort
    1545 )
     1128    esac;
     1129}
    15461130    echo
    15471131
     
    15541138    for ac_var in $ac_subst_vars
    15551139    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'"'"'"
    15611142    done | sort
    15621143    echo
     
    15641145    if test -n "$ac_subst_files"; then
    15651146      cat <<\_ASBOX
    1566 ## ------------------- ##
    1567 ## File substitutions. ##
    1568 ## ------------------- ##
     1147## ------------- ##
     1148## Output files. ##
     1149## ------------- ##
    15691150_ASBOX
    15701151      echo
    15711152      for ac_var in $ac_subst_files
    15721153      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'"'"'"
    15781156      done | sort
    15791157      echo
     
    15871165_ASBOX
    15881166      echo
    1589       cat confdefs.h
     1167      sed "/^$/d" confdefs.h | sort
    15901168      echo
    15911169    fi
     
    15941172    echo "$as_me: exit $exit_status"
    15951173  } >&5
    1596   rm -f core *.core core.conftest.* &&
    1597     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1174  rm -f core *.core &&
     1175  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    15981176    exit $exit_status
    1599 ' 0
     1177     ' 0
    16001178for ac_signal in 1 2 13 15; do
    16011179  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    16041182
    16051183# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1606 rm -f -r conftest* confdefs.h
     1184rm -rf conftest* confdefs.h
     1185# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1186echo >confdefs.h
    16071187
    16081188# Predefined preprocessor variables.
     
    16351215# Let the site file select an alternate cache file if it wants to.
    16361216# 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
     1217if 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
     1223fi
     1224for ac_site_file in $CONFIG_SITE; do
    16481225  if test -r "$ac_site_file"; then
    16491226    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    16611238echo "$as_me: loading cache $cache_file" >&6;}
    16621239    case $cache_file in
    1663       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    1664       *)                      . "./$cache_file";;
     1240      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1241      *)                      . ./$cache_file;;
    16651242    esac
    16661243  fi
     
    16741251# value.
    16751252ac_cache_corrupted=false
    1676 for ac_var in $ac_precious_vars; do
     1253for ac_var in `(set) 2>&1 |
     1254           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    16771255  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    16781256  eval ac_new_set=\$ac_env_${ac_var}_set
    1679   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    1680   eval ac_new_val=\$ac_env_${ac_var}_value
     1257  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1258  eval ac_new_val="\$ac_env_${ac_var}_value"
    16811259  case $ac_old_set,$ac_new_set in
    16821260    set,)
     
    17031281  if test "$ac_new_set" = set; then
    17041282    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"` ;;
    17061285    *) ac_arg=$ac_var=$ac_new_val ;;
    17071286    esac
     
    17201299fi
    17211300
    1722 
    1723 
    1724 
    1725 
    1726 
    1727 
    1728 
    1729 
    1730 
    1731 
    1732 
    1733 
    1734 
    1735 
    1736 
    1737 
    17381301ac_ext=c
    17391302ac_cpp='$CPP $CPPFLAGS'
     
    17431306
    17441307
    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"
    17461326
    17471327
    17481328ac_aux_dir=
    1749 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    1750   if test -f "$ac_dir/install-sh"; then
     1329for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     1330  if test -f $ac_dir/install-sh; then
    17511331    ac_aux_dir=$ac_dir
    17521332    ac_install_sh="$ac_aux_dir/install-sh -c"
    17531333    break
    1754   elif test -f "$ac_dir/install.sh"; then
     1334  elif test -f $ac_dir/install.sh; then
    17551335    ac_aux_dir=$ac_dir
    17561336    ac_install_sh="$ac_aux_dir/install.sh -c"
    17571337    break
    1758   elif test -f "$ac_dir/shtool"; then
     1338  elif test -f $ac_dir/shtool; then
    17591339    ac_aux_dir=$ac_dir
    17601340    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    17631343done
    17641344if test -z "$ac_aux_dir"; then
    1765   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    1766 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
     1346echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    17671347   { (exit 1); exit 1; }; }
    17681348fi
    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 
     1349ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1350ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1351ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    17781352
    17791353# 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" >&5
    1782 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
     1356echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    17831357   { (exit 1); exit 1; }; }
    17841358
    1785 { echo "$as_me:$LINENO: checking build system type" >&5
    1786 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
     1359echo "$as_me:$LINENO: checking build system type" >&5
     1360echo $ECHO_N "checking build system type... $ECHO_C" >&6
    17871361if test "${ac_cv_build+set}" = set; then
    17881362  echo $ECHO_N "(cached) $ECHO_C" >&6
    17891363else
    1790   ac_build_alias=$build_alias
    1791 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
     1365test -z "$ac_cv_build_alias" &&
     1366  ac_cv_build_alias=`$ac_config_guess`
     1367test -z "$ac_cv_build_alias" &&
    17941368  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    17951369echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    17961370   { (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" >&5
    1799 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
     1371ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     1372  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     1373echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    18001374   { (exit 1); exit 1; }; }
    18011375
    18021376fi
    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
     1377echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     1378echo "${ECHO_T}$ac_cv_build" >&6
    18111379build=$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; }
     1380build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1381build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1382build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1383
     1384
     1385echo "$as_me:$LINENO: checking host system type" >&5
     1386echo $ECHO_N "checking host system type... $ECHO_C" >&6
    18271387if test "${ac_cv_host+set}" = set; then
    18281388  echo $ECHO_N "(cached) $ECHO_C" >&6
    18291389else
    1830   if test "x$host_alias" = x; then
    1831   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" >&5
    1835 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
     1390  ac_cv_host_alias=$host_alias
     1391test -z "$ac_cv_host_alias" &&
     1392  ac_cv_host_alias=$ac_cv_build_alias
     1393ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     1394  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     1395echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    18361396   { (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
     1398fi
     1399echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     1400echo "${ECHO_T}$ac_cv_host" >&6
    18481401host=$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; }
     1402host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1403host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1404host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1405
     1406
     1407echo "$as_me:$LINENO: checking target system type" >&5
     1408echo $ECHO_N "checking target system type... $ECHO_C" >&6
    18641409if test "${ac_cv_target+set}" = set; then
    18651410  echo $ECHO_N "(cached) $ECHO_C" >&6
    18661411else
    1867   if test "x$target_alias" = x; then
    1868   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" >&5
    1872 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
     1412  ac_cv_target_alias=$target_alias
     1413test "x$ac_cv_target_alias" = "x" &&
     1414  ac_cv_target_alias=$ac_cv_host_alias
     1415ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     1416  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     1417echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    18731418   { (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
     1420fi
     1421echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     1422echo "${ECHO_T}$ac_cv_target" >&6
    18851423target=$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
     1424target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1425target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1426target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    18971427
    18981428
     
    19041434  program_prefix=${target_alias}-
    19051435test "$program_prefix" != NONE &&
    1906   program_transform_name="s&^&$program_prefix&;$program_transform_name"
     1436  program_transform_name="s,^,$program_prefix,;$program_transform_name"
    19071437# Use a double $ so make ignores it.
    19081438test "$program_suffix" != NONE &&
    1909   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
     1439  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
    19101440# Double any \ or $.  echo might interpret backslashes.
    19111441# By default was `s,x,x', remove it if useless.
     
    19141444_ACEOF
    19151445program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    1916 rm -f conftest.sed
     1446rm conftest.sed
    19171447
    19181448
     
    19321462
    19331463
    1934 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    1935 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
     1464echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     1465echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    19361466arch_64bit=no
    19371467case "$host_cpu" in
     
    19401470
    19411471if test "$arch_64bit" = yes; then
    1942   { echo "$as_me:$LINENO: result: yes" >&5
    1943 echo "${ECHO_T}yes" >&6; }
     1472  echo "$as_me:$LINENO: result: yes" >&5
     1473echo "${ECHO_T}yes" >&6
    19441474  if test -z "$COMPAT32BITFLAGS" ; then
    19451475    COMPAT32BITFLAGS="-m32"
    19461476  fi
    19471477else
    1948   { echo "$as_me:$LINENO: result: no" >&5
    1949 echo "${ECHO_T}no" >&6; }
     1478  echo "$as_me:$LINENO: result: no" >&5
     1479echo "${ECHO_T}no" >&6
    19501480  if test -z "$COMPAT32BITFLAGS" ; then
    19511481    COMPAT32BITFLAGS=
     
    19541484
    19551485
    1956 # Check whether --enable-accentfold was given.
     1486# Check whether --enable-accentfold or --disable-accentfold was given.
    19571487if test "${enable_accentfold+set}" = set; then
    1958   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    1959 else
     1488  enableval="$enable_accentfold"
     1489  ENABLE_ACCENTFOLD=$enableval
     1490else
     1491  ENABLE_ACCENTFOLD=yes
     1492fi;
     1493if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    19601494  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
     1499else
     1500  ENABLE_ACCENTFOLD=0
     1501fi
     1502
     1503
     1504# Check whether --enable-jdbm or --disable-jdbm was given.
     1505if test "${enable_jdbm+set}" = set; then
     1506  enableval="$enable_jdbm"
     1507  USE_JDBM=$enableval
     1508else
     1509  USE_JDBM=yes
     1510fi;
     1511if 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
     1517else
     1518  USE_JDBM=0
     1519fi
     1520
     1521
     1522# Check whether --enable-gdbm or --disable-gdbm was given.
     1523if test "${enable_gdbm+set}" = set; then
     1524  enableval="$enable_gdbm"
     1525  USE_GDBM=$enableval
     1526else
     1527  USE_GDBM=yes
     1528fi;
     1529if 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
     1535else
     1536  USE_GDBM=0
     1537fi
     1538
     1539
     1540ac_ext=cc
    19701541ac_cpp='$CXXCPP $CPPFLAGS'
    19711542ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    19721543ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    19731544ac_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
     1545if 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
    19801547  do
    19811548    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    19821549set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1550echo "$as_me:$LINENO: checking for $ac_word" >&5
     1551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19851552if test "${ac_cv_prog_CXX+set}" = set; then
    19861553  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19951562  test -z "$as_dir" && as_dir=.
    19961563  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"; }; then
     1564  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19981565    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    19991566    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20021569done
    20031570done
    2004 IFS=$as_save_IFS
    20051571
    20061572fi
     
    20081574CXX=$ac_cv_prog_CXX
    20091575if 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
     1577echo "${ECHO_T}$CXX" >&6
     1578else
     1579  echo "$as_me:$LINENO: result: no" >&5
     1580echo "${ECHO_T}no" >&6
     1581fi
    20171582
    20181583    test -n "$CXX" && break
     
    20211586if test -z "$CXX"; then
    20221587  ac_ct_CXX=$CXX
    2023   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     1588  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    20241589do
    20251590  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20261591set dummy $ac_prog; ac_word=$2
    2027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1592echo "$as_me:$LINENO: checking for $ac_word" >&5
     1593echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20291594if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    20301595  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20391604  test -z "$as_dir" && as_dir=.
    20401605  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"; }; then
     1606  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20421607    ac_cv_prog_ac_ct_CXX="$ac_prog"
    20431608    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20461611done
    20471612done
    2048 IFS=$as_save_IFS
    20491613
    20501614fi
     
    20521616ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    20531617if 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
     1619echo "${ECHO_T}$ac_ct_CXX" >&6
     1620else
     1621  echo "$as_me:$LINENO: result: no" >&5
     1622echo "${ECHO_T}no" >&6
     1623fi
    20611624
    20621625  test -n "$ac_ct_CXX" && break
    20631626done
    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
     1627test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     1628
     1629  CXX=$ac_ct_CXX
     1630fi
     1631
     1632
    20841633# Provide some information about the compiler.
    2085 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     1634echo "$as_me:$LINENO:" \
     1635     "checking for C++ compiler version" >&5
    20861636ac_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
    20941639  ac_status=$?
    20951640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20961641  (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
    21041644  ac_status=$?
    21051645  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21061646  (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
    21141649  ac_status=$?
    21151650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    21361671# It will help us diagnose broken compilers, and finding out an intuition
    21371672# of exeext.
    2138 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
    2139 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
     1673echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
     1674echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
    21401675ac_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
     1676if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1677  (eval $ac_link_default) 2>&5
    21671678  ac_status=$?
    21681679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21691680  (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.
     1687ac_cv_exeext=
     1688# b.out is created by i960 compilers.
     1689for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    21761690do
    21771691  test -f "$ac_file" || continue
    21781692  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.
    21801697    ;;
    21811698    [ab].out )
     
    21841701    break;;
    21851702    *.* )
    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
    21951708    break;;
    21961709    * )
     
    21981711  esac
    21991712done
    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
     1713else
    22091714  echo "$as_me: failed program was:" >&5
    22101715sed 's/^/| /' conftest.$ac_ext >&5
     
    22181723
    22191724ac_exeext=$ac_cv_exeext
    2220 
    2221 # Check that the compiler produces executables we can run.  If not, either
     1725echo "$as_me:$LINENO: result: $ac_file" >&5
     1726echo "${ECHO_T}$ac_file" >&6
     1727
     1728# Check the compiler produces executables we can run.  If not, either
    22221729# the compiler is broken, or we cross compile.
    2223 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
    2224 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
     1730echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
     1731echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
    22251732# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    22261733# If not cross compiling, check that we can run a simple program.
    22271734if test "$cross_compiling" != yes; then
    22281735  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
    22351738  ac_status=$?
    22361739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    22511754  fi
    22521755fi
    2253 { echo "$as_me:$LINENO: result: yes" >&5
    2254 echo "${ECHO_T}yes" >&6; }
     1756echo "$as_me:$LINENO: result: yes" >&5
     1757echo "${ECHO_T}yes" >&6
    22551758
    22561759rm -f a.out a.exe conftest$ac_cv_exeext b.out
    22571760ac_clean_files=$ac_clean_files_save
    2258 # Check that the compiler produces executables we can run.  If not, either
     1761# Check the compiler produces executables we can run.  If not, either
    22591762# 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
     1763echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1764echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1765echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1766echo "${ECHO_T}$cross_compiling" >&6
     1767
     1768echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1769echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1770if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1771  (eval $ac_link) 2>&5
    22741772  ac_status=$?
    22751773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    22821780  test -f "$ac_file" || continue
    22831781  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 ) ;;
    22851783    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1784      export ac_cv_exeext
    22861785      break;;
    22871786    * ) break;;
     
    22971796
    22981797rm -f conftest$ac_cv_exeext
    2299 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2300 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     1798echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1799echo "${ECHO_T}$ac_cv_exeext" >&6
    23011800
    23021801rm -f conftest.$ac_ext
    23031802EXEEXT=$ac_cv_exeext
    23041803ac_exeext=$EXEEXT
    2305 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
     1804echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1805echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    23071806if test "${ac_cv_objext+set}" = set; then
    23081807  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23241823_ACEOF
    23251824rm -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
     1825if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1826  (eval $ac_compile) 2>&5
    23331827  ac_status=$?
    23341828  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23351829  (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
    23381831  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 ) ;;
    23401833    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    23411834       break;;
     
    23551848rm -f conftest.$ac_cv_objext conftest.$ac_ext
    23561849fi
    2357 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2358 echo "${ECHO_T}$ac_cv_objext" >&6; }
     1850echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     1851echo "${ECHO_T}$ac_cv_objext" >&6
    23591852OBJEXT=$ac_cv_objext
    23601853ac_objext=$OBJEXT
    2361 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2362 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
     1854echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     1855echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    23631856if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    23641857  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23831876_ACEOF
    23841877rm -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
     1878if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1879  (eval $ac_compile) 2>conftest.er1
    23921880  ac_status=$?
    23931881  grep -v '^ *+' conftest.er1 >conftest.err
     
    23951883  cat conftest.err >&5
    23961884  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
    24011899  ac_compiler_gnu=yes
    24021900else
     
    24041902sed 's/^/| /' conftest.$ac_ext >&5
    24051903
    2406     ac_compiler_gnu=no
    2407 fi
    2408 
    2409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1904ac_compiler_gnu=no
     1905fi
     1906rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24101907ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    24111908
    24121909fi
    2413 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2414 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
     1910echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     1911echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    24151912GXX=`test $ac_compiler_gnu = yes && echo yes`
    24161913ac_test_CXXFLAGS=${CXXFLAGS+set}
    24171914ac_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; }
     1915CXXFLAGS="-g"
     1916echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     1917echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    24201918if test "${ac_cv_prog_cxx_g+set}" = set; then
    24211919  echo $ECHO_N "(cached) $ECHO_C" >&6
    24221920else
    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
    24281922/* confdefs.h.  */
    24291923_ACEOF
     
    24411935_ACEOF
    24421936rm -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
     1937if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1938  (eval $ac_compile) 2>conftest.er1
    24501939  ac_status=$?
    24511940  grep -v '^ *+' conftest.er1 >conftest.err
     
    24531942  cat conftest.err >&5
    24541943  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
    24591958  ac_cv_prog_cxx_g=yes
    24601959else
     
    24621961sed 's/^/| /' conftest.$ac_ext >&5
    24631962
    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; }
     1963ac_cv_prog_cxx_g=no
     1964fi
     1965rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1966fi
     1967echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     1968echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    25551969if test "$ac_test_CXXFLAGS" = set; then
    25561970  CXXFLAGS=$ac_save_CXXFLAGS
     
    25681982  fi
    25691983fi
     1984for 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);'
     1991do
     1992  cat >conftest.$ac_ext <<_ACEOF
     1993/* confdefs.h.  */
     1994_ACEOF
     1995cat confdefs.h >>conftest.$ac_ext
     1996cat >>conftest.$ac_ext <<_ACEOF
     1997/* end confdefs.h.  */
     1998$ac_declaration
     1999#include <stdlib.h>
     2000int
     2001main ()
     2002{
     2003exit (42);
     2004  ;
     2005  return 0;
     2006}
     2007_ACEOF
     2008rm -f conftest.$ac_objext
     2009if { (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  :
     2031else
     2032  echo "$as_me: failed program was:" >&5
     2033sed 's/^/| /' conftest.$ac_ext >&5
     2034
     2035continue
     2036fi
     2037rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2038  cat >conftest.$ac_ext <<_ACEOF
     2039/* confdefs.h.  */
     2040_ACEOF
     2041cat confdefs.h >>conftest.$ac_ext
     2042cat >>conftest.$ac_ext <<_ACEOF
     2043/* end confdefs.h.  */
     2044$ac_declaration
     2045int
     2046main ()
     2047{
     2048exit (42);
     2049  ;
     2050  return 0;
     2051}
     2052_ACEOF
     2053rm -f conftest.$ac_objext
     2054if { (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
     2076else
     2077  echo "$as_me: failed program was:" >&5
     2078sed 's/^/| /' conftest.$ac_ext >&5
     2079
     2080fi
     2081rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2082done
     2083rm -f conftest*
     2084if test -n "$ac_declaration"; then
     2085  echo '#ifdef __cplusplus' >>confdefs.h
     2086  echo $ac_declaration      >>confdefs.h
     2087  echo '#endif'             >>confdefs.h
     2088fi
     2089
    25702090ac_ext=c
    25712091ac_cpp='$CPP $CPPFLAGS'
     
    25782098  # Extract the first word of "$ac_prog", so it can be a program name with args.
    25792099set dummy $ac_prog; ac_word=$2
    2580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2100echo "$as_me:$LINENO: checking for $ac_word" >&5
     2101echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    25822102if test "${ac_cv_prog_AWK+set}" = set; then
    25832103  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25922112  test -z "$as_dir" && as_dir=.
    25932113  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"; }; then
     2114  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25952115    ac_cv_prog_AWK="$ac_prog"
    25962116    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    25992119done
    26002120done
    2601 IFS=$as_save_IFS
    26022121
    26032122fi
     
    26052124AWK=$ac_cv_prog_AWK
    26062125if 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
     2127echo "${ECHO_T}$AWK" >&6
     2128else
     2129  echo "$as_me:$LINENO: result: no" >&5
     2130echo "${ECHO_T}no" >&6
     2131fi
    26142132
    26152133  test -n "$AWK" && break
     
    26202138  # Extract the first word of "$ac_prog", so it can be a program name with args.
    26212139set dummy $ac_prog; ac_word=$2
    2622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2140echo "$as_me:$LINENO: checking for $ac_word" >&5
     2141echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    26242142if test "${ac_cv_prog_YACC+set}" = set; then
    26252143  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    26342152  test -z "$as_dir" && as_dir=.
    26352153  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"; }; then
     2154  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26372155    ac_cv_prog_YACC="$ac_prog"
    26382156    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    26412159done
    26422160done
    2643 IFS=$as_save_IFS
    26442161
    26452162fi
     
    26472164YACC=$ac_cv_prog_YACC
    26482165if 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
     2167echo "${ECHO_T}$YACC" >&6
     2168else
     2169  echo "$as_me:$LINENO: result: no" >&5
     2170echo "${ECHO_T}no" >&6
     2171fi
    26562172
    26572173  test -n "$YACC" && break
     
    26672183  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    26682184set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2185echo "$as_me:$LINENO: checking for $ac_word" >&5
     2186echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    26712187if test "${ac_cv_prog_CC+set}" = set; then
    26722188  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    26812197  test -z "$as_dir" && as_dir=.
    26822198  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"; }; then
     2199  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26842200    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    26852201    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    26882204done
    26892205done
    2690 IFS=$as_save_IFS
    26912206
    26922207fi
     
    26942209CC=$ac_cv_prog_CC
    26952210if 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
     2212echo "${ECHO_T}$CC" >&6
     2213else
     2214  echo "$as_me:$LINENO: result: no" >&5
     2215echo "${ECHO_T}no" >&6
     2216fi
    27032217
    27042218fi
     
    27072221  # Extract the first word of "gcc", so it can be a program name with args.
    27082222set dummy gcc; ac_word=$2
    2709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2223echo "$as_me:$LINENO: checking for $ac_word" >&5
     2224echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    27112225if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    27122226  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27212235  test -z "$as_dir" && as_dir=.
    27222236  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"; }; then
     2237  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27242238    ac_cv_prog_ac_ct_CC="gcc"
    27252239    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27282242done
    27292243done
    2730 IFS=$as_save_IFS
    27312244
    27322245fi
     
    27342247ac_ct_CC=$ac_cv_prog_ac_ct_CC
    27352248if 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
     2250echo "${ECHO_T}$ac_ct_CC" >&6
     2251else
     2252  echo "$as_me:$LINENO: result: no" >&5
     2253echo "${ECHO_T}no" >&6
     2254fi
     2255
     2256  CC=$ac_ct_CC
    27582257else
    27592258  CC="$ac_cv_prog_CC"
     
    27612260
    27622261if test -z "$CC"; then
    2763           if test -n "$ac_tool_prefix"; then
    2764     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     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.
    27652264set dummy ${ac_tool_prefix}cc; ac_word=$2
    2766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2265echo "$as_me:$LINENO: checking for $ac_word" >&5
     2266echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    27682267if test "${ac_cv_prog_CC+set}" = set; then
    27692268  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27782277  test -z "$as_dir" && as_dir=.
    27792278  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"; }; then
     2279  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27812280    ac_cv_prog_CC="${ac_tool_prefix}cc"
    27822281    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27852284done
    27862285done
    2787 IFS=$as_save_IFS
    27882286
    27892287fi
     
    27912289CC=$ac_cv_prog_CC
    27922290if 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
     2292echo "${ECHO_T}$CC" >&6
     2293else
     2294  echo "$as_me:$LINENO: result: no" >&5
     2295echo "${ECHO_T}no" >&6
     2296fi
     2297
     2298fi
     2299if 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.
     2302set dummy cc; ac_word=$2
     2303echo "$as_me:$LINENO: checking for $ac_word" >&5
     2304echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2305if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2306  echo $ECHO_N "(cached) $ECHO_C" >&6
     2307else
     2308  if test -n "$ac_ct_CC"; then
     2309  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     2310else
     2311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2312for as_dir in $PATH
     2313do
     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
    28012321  fi
     2322done
     2323done
     2324
     2325fi
     2326fi
     2327ac_ct_CC=$ac_cv_prog_ac_ct_CC
     2328if test -n "$ac_ct_CC"; then
     2329  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2330echo "${ECHO_T}$ac_ct_CC" >&6
     2331else
     2332  echo "$as_me:$LINENO: result: no" >&5
     2333echo "${ECHO_T}no" >&6
     2334fi
     2335
     2336  CC=$ac_ct_CC
     2337else
     2338  CC="$ac_cv_prog_CC"
     2339fi
     2340
    28022341fi
    28032342if test -z "$CC"; then
    28042343  # Extract the first word of "cc", so it can be a program name with args.
    28052344set dummy cc; ac_word=$2
    2806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2345echo "$as_me:$LINENO: checking for $ac_word" >&5
     2346echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28082347if test "${ac_cv_prog_CC+set}" = set; then
    28092348  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28192358  test -z "$as_dir" && as_dir=.
    28202359  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"; }; then
     2360  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28222361    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    28232362       ac_prog_rejected=yes
     
    28302369done
    28312370done
    2832 IFS=$as_save_IFS
    28332371
    28342372if test $ac_prog_rejected = yes; then
     
    28482386CC=$ac_cv_prog_CC
    28492387if 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
     2389echo "${ECHO_T}$CC" >&6
     2390else
     2391  echo "$as_me:$LINENO: result: no" >&5
     2392echo "${ECHO_T}no" >&6
     2393fi
    28572394
    28582395fi
    28592396if test -z "$CC"; then
    28602397  if test -n "$ac_tool_prefix"; then
    2861   for ac_prog in cl.exe
     2398  for ac_prog in cl
    28622399  do
    28632400    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    28642401set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2402echo "$as_me:$LINENO: checking for $ac_word" >&5
     2403echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28672404if test "${ac_cv_prog_CC+set}" = set; then
    28682405  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28772414  test -z "$as_dir" && as_dir=.
    28782415  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"; }; then
     2416  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28802417    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    28812418    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28842421done
    28852422done
    2886 IFS=$as_save_IFS
    28872423
    28882424fi
     
    28902426CC=$ac_cv_prog_CC
    28912427if 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
     2429echo "${ECHO_T}$CC" >&6
     2430else
     2431  echo "$as_me:$LINENO: result: no" >&5
     2432echo "${ECHO_T}no" >&6
     2433fi
    28992434
    29002435    test -n "$CC" && break
     
    29032438if test -z "$CC"; then
    29042439  ac_ct_CC=$CC
    2905   for ac_prog in cl.exe
     2440  for ac_prog in cl
    29062441do
    29072442  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29082443set dummy $ac_prog; ac_word=$2
    2909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2444echo "$as_me:$LINENO: checking for $ac_word" >&5
     2445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    29112446if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    29122447  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29212456  test -z "$as_dir" && as_dir=.
    29222457  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"; }; then
     2458  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    29242459    ac_cv_prog_ac_ct_CC="$ac_prog"
    29252460    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29282463done
    29292464done
    2930 IFS=$as_save_IFS
    29312465
    29322466fi
     
    29342468ac_ct_CC=$ac_cv_prog_ac_ct_CC
    29352469if 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
     2471echo "${ECHO_T}$ac_ct_CC" >&6
     2472else
     2473  echo "$as_me:$LINENO: result: no" >&5
     2474echo "${ECHO_T}no" >&6
     2475fi
    29432476
    29442477  test -n "$ac_ct_CC" && break
    29452478done
    29462479
    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
    29622481fi
    29632482
     
    29722491
    29732492# Provide some information about the compiler.
    2974 echo "$as_me:$LINENO: checking for C compiler version" >&5
     2493echo "$as_me:$LINENO:" \
     2494     "checking for C compiler version" >&5
    29752495ac_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
    29832498  ac_status=$?
    29842499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29852500  (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
    29932503  ac_status=$?
    29942504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29952505  (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
    30032508  ac_status=$?
    30042509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30052510  (exit $ac_status); }
    30062511
    3007 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    3008 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
     2512echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2513echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    30092514if test "${ac_cv_c_compiler_gnu+set}" = set; then
    30102515  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30292534_ACEOF
    30302535rm -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
     2536if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2537  (eval $ac_compile) 2>conftest.er1
    30382538  ac_status=$?
    30392539  grep -v '^ *+' conftest.er1 >conftest.err
     
    30412541  cat conftest.err >&5
    30422542  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
    30472557  ac_compiler_gnu=yes
    30482558else
     
    30502560sed 's/^/| /' conftest.$ac_ext >&5
    30512561
    3052     ac_compiler_gnu=no
    3053 fi
    3054 
    3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2562ac_compiler_gnu=no
     2563fi
     2564rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    30562565ac_cv_c_compiler_gnu=$ac_compiler_gnu
    30572566
    30582567fi
    3059 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    3060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
     2568echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2569echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    30612570GCC=`test $ac_compiler_gnu = yes && echo yes`
    30622571ac_test_CFLAGS=${CFLAGS+set}
    30632572ac_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; }
     2573CFLAGS="-g"
     2574echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2575echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    30662576if test "${ac_cv_prog_cc_g+set}" = set; then
    30672577  echo $ECHO_N "(cached) $ECHO_C" >&6
    30682578else
    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
    30742580/* confdefs.h.  */
    30752581_ACEOF
     
    30872593_ACEOF
    30882594rm -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
     2595if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2596  (eval $ac_compile) 2>conftest.er1
    30962597  ac_status=$?
    30972598  grep -v '^ *+' conftest.er1 >conftest.err
     
    30992600  cat conftest.err >&5
    31002601  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
    31052616  ac_cv_prog_cc_g=yes
    31062617else
     
    31082619sed 's/^/| /' conftest.$ac_ext >&5
    31092620
    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; }
     2621ac_cv_prog_cc_g=no
     2622fi
     2623rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2624fi
     2625echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2626echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    32012627if test "$ac_test_CFLAGS" = set; then
    32022628  CFLAGS=$ac_save_CFLAGS
     
    32142640  fi
    32152641fi
    3216 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    3217 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    3218 if test "${ac_cv_prog_cc_c89+set}" = set; then
     2642echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2643echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2644if test "${ac_cv_prog_cc_stdc+set}" = set; then
    32192645  echo $ECHO_N "(cached) $ECHO_C" >&6
    32202646else
    3221   ac_cv_prog_cc_c89=no
     2647  ac_cv_prog_cc_stdc=no
    32222648ac_save_CC=$CC
    32232649cat >conftest.$ac_ext <<_ACEOF
     
    32532679   function prototypes and stuff, but not '\xHH' hex character constants.
    32542680   These don't provoke an error unfortunately, instead are silently treated
    3255    as 'x'.  The following induces an error, until -std is added to get
     2681   as 'x'.  The following induces an error, until -std1 is added to get
    32562682   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    32572683   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.  */
    32592685int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3260 
    3261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3262    inside strings and character constants.  */
    3263 #define FOO(x) 'x'
    3264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    32652686
    32662687int test (int i, double x);
     
    32782699}
    32792700_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__
     2708for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    32822709do
    32832710  CC="$ac_save_CC $ac_arg"
    32842711  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
     2712if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2713  (eval $ac_compile) 2>conftest.er1
    32922714  ac_status=$?
    32932715  grep -v '^ *+' conftest.er1 >conftest.err
     
    32952717  cat conftest.err >&5
    32962718  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
     2734break
    33022735else
    33032736  echo "$as_me: failed program was:" >&5
    33042737sed 's/^/| /' conftest.$ac_ext >&5
    33052738
    3306 
    3307 fi
    3308 
    3309 rm -f core conftest.err conftest.$ac_objext
    3310   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2739fi
     2740rm -f conftest.err conftest.$ac_objext
    33112741done
    3312 rm -f conftest.$ac_ext
     2742rm -f conftest.$ac_ext conftest.$ac_objext
    33132743CC=$ac_save_CC
    33142744
    33152745fi
    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
     2747case "x$ac_cv_prog_cc_stdc" in
     2748  x|xno)
     2749    echo "$as_me:$LINENO: result: none needed" >&5
     2750echo "${ECHO_T}none needed" >&6 ;;
    33242751  *)
    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
     2753echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2754    CC="$CC $ac_cv_prog_cc_stdc" ;;
    33282755esac
    33292756
    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.
     2761cat >conftest.$ac_ext <<_ACEOF
     2762#ifndef __cplusplus
     2763  choke me
     2764#endif
     2765_ACEOF
     2766rm -f conftest.$ac_objext
     2767if { (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);'
     2795do
     2796  cat >conftest.$ac_ext <<_ACEOF
     2797/* confdefs.h.  */
     2798_ACEOF
     2799cat confdefs.h >>conftest.$ac_ext
     2800cat >>conftest.$ac_ext <<_ACEOF
     2801/* end confdefs.h.  */
     2802$ac_declaration
     2803#include <stdlib.h>
     2804int
     2805main ()
     2806{
     2807exit (42);
     2808  ;
     2809  return 0;
     2810}
     2811_ACEOF
     2812rm -f conftest.$ac_objext
     2813if { (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  :
     2835else
     2836  echo "$as_me: failed program was:" >&5
     2837sed 's/^/| /' conftest.$ac_ext >&5
     2838
     2839continue
     2840fi
     2841rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2842  cat >conftest.$ac_ext <<_ACEOF
     2843/* confdefs.h.  */
     2844_ACEOF
     2845cat confdefs.h >>conftest.$ac_ext
     2846cat >>conftest.$ac_ext <<_ACEOF
     2847/* end confdefs.h.  */
     2848$ac_declaration
     2849int
     2850main ()
     2851{
     2852exit (42);
     2853  ;
     2854  return 0;
     2855}
     2856_ACEOF
     2857rm -f conftest.$ac_objext
     2858if { (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
     2880else
     2881  echo "$as_me: failed program was:" >&5
     2882sed 's/^/| /' conftest.$ac_ext >&5
     2883
     2884fi
     2885rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2886done
     2887rm -f conftest*
     2888if test -n "$ac_declaration"; then
     2889  echo '#ifdef __cplusplus' >>confdefs.h
     2890  echo $ac_declaration      >>confdefs.h
     2891  echo '#endif'             >>confdefs.h
     2892fi
     2893
     2894else
     2895  echo "$as_me: failed program was:" >&5
     2896sed 's/^/| /' conftest.$ac_ext >&5
     2897
     2898fi
     2899rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    33312900ac_ext=c
    33322901ac_cpp='$CPP $CPPFLAGS'
     
    33482917# OS/2's system install, which has a completely different semantic
    33492918# ./install, which can be erroneously created by make from ./install.sh.
    3350 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3351 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     2919echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2920echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    33522921if test -z "$INSTALL"; then
    33532922if test "${ac_cv_path_install+set}" = set; then
     
    33712940    for ac_prog in ginstall scoinst install; do
    33722941      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"; }; then
     2942    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    33742943      if test $ac_prog = install &&
    33752944        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    33902959esac
    33912960done
    3392 IFS=$as_save_IFS
    33932961
    33942962
     
    33972965    INSTALL=$ac_cv_path_install
    33982966  else
    3399     # As a last resort, use the slow shell script.  Don't cache a
    3400     # value for INSTALL within a source directory, because that will
     2967    # 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
    34012969    # 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.
    34032971    INSTALL=$ac_install_sh
    34042972  fi
    34052973fi
    3406 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    3407 echo "${ECHO_T}$INSTALL" >&6; }
     2974echo "$as_me:$LINENO: result: $INSTALL" >&5
     2975echo "${ECHO_T}$INSTALL" >&6
    34082976
    34092977# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    34152983test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    34162984
    3417 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3418 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     2985echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2986echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    34192987LN_S=$as_ln_s
    34202988if test "$LN_S" = "ln -s"; then
    3421   { echo "$as_me:$LINENO: result: yes" >&5
    3422 echo "${ECHO_T}yes" >&6; }
    3423 else
    3424   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3425 echo "${ECHO_T}no, using $LN_S" >&6; }
    3426 fi
    3427 
    3428 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3429 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"; }; then
     2989  echo "$as_me:$LINENO: result: yes" >&5
     2990echo "${ECHO_T}yes" >&6
     2991else
     2992  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     2993echo "${ECHO_T}no, using $LN_S" >&6
     2994fi
     2995
     2996echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     2997echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     2998set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     2999if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    34323000  echo $ECHO_N "(cached) $ECHO_C" >&6
    34333001else
    34343002  cat >conftest.make <<\_ACEOF
    3435 SHELL = /bin/sh
    34363003all:
    3437     @echo '@@@%%%=$(MAKE)=@@@%%%'
     3004    @echo 'ac_maketemp="$(MAKE)"'
    34383005_ACEOF
    34393006# 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
     3007eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3008if test -n "$ac_maketemp"; then
     3009  eval ac_cv_prog_make_${ac_make}_set=yes
     3010else
     3011  eval ac_cv_prog_make_${ac_make}_set=no
     3012fi
    34463013rm -f conftest.make
    34473014fi
    3448 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3449   { echo "$as_me:$LINENO: result: yes" >&5
    3450 echo "${ECHO_T}yes" >&6; }
     3015if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3016  echo "$as_me:$LINENO: result: yes" >&5
     3017echo "${ECHO_T}yes" >&6
    34513018  SET_MAKE=
    34523019else
    3453   { echo "$as_me:$LINENO: result: no" >&5
    3454 echo "${ECHO_T}no" >&6; }
     3020  echo "$as_me:$LINENO: result: no" >&5
     3021echo "${ECHO_T}no" >&6
    34553022  SET_MAKE="MAKE=${MAKE-make}"
    34563023fi
     
    34593026  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    34603027set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3028echo "$as_me:$LINENO: checking for $ac_word" >&5
     3029echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    34633030if test "${ac_cv_prog_RANLIB+set}" = set; then
    34643031  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    34733040  test -z "$as_dir" && as_dir=.
    34743041  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"; }; then
     3042  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34763043    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    34773044    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    34803047done
    34813048done
    3482 IFS=$as_save_IFS
    34833049
    34843050fi
     
    34863052RANLIB=$ac_cv_prog_RANLIB
    34873053if 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
     3055echo "${ECHO_T}$RANLIB" >&6
     3056else
     3057  echo "$as_me:$LINENO: result: no" >&5
     3058echo "${ECHO_T}no" >&6
     3059fi
    34953060
    34963061fi
     
    34993064  # Extract the first word of "ranlib", so it can be a program name with args.
    35003065set dummy ranlib; ac_word=$2
    3501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3066echo "$as_me:$LINENO: checking for $ac_word" >&5
     3067echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    35033068if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    35043069  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35133078  test -z "$as_dir" && as_dir=.
    35143079  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"; }; then
     3080  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35163081    ac_cv_prog_ac_ct_RANLIB="ranlib"
    35173082    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35203085done
    35213086done
    3522 IFS=$as_save_IFS
    3523 
     3087
     3088  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    35243089fi
    35253090fi
    35263091ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    35273092if 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
     3094echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3095else
     3096  echo "$as_me:$LINENO: result: no" >&5
     3097echo "${ECHO_T}no" >&6
     3098fi
     3099
     3100  RANLIB=$ac_ct_RANLIB
    35503101else
    35513102  RANLIB="$ac_cv_prog_RANLIB"
     
    35593110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35603111ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3561 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3562 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     3112echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3113echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    35633114# On Suns, sometimes $CPP names a directory.
    35643115if test -n "$CPP" && test -d "$CPP"; then
     
    35943145             Syntax error
    35953146_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
     3147if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3148  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    36033149  ac_status=$?
    36043150  grep -v '^ *+' conftest.er1 >conftest.err
     
    36063152  cat conftest.err >&5
    36073153  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
     3161else
     3162  ac_cpp_err=yes
     3163fi
     3164if test -z "$ac_cpp_err"; then
    36123165  :
    36133166else
     
    36183171continue
    36193172fi
    3620 
    36213173rm -f conftest.err conftest.$ac_ext
    36223174
    3623   # OK, works on sane cases.  Now check whether nonexistent headers
     3175  # OK, works on sane cases.  Now check whether non-existent headers
    36243176  # can be detected and how.
    36253177  cat >conftest.$ac_ext <<_ACEOF
     
    36313183#include <ac_nonexistent.h>
    36323184_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
     3185if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3186  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    36403187  ac_status=$?
    36413188  grep -v '^ *+' conftest.er1 >conftest.err
     
    36433190  cat conftest.err >&5
    36443191  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
     3199else
     3200  ac_cpp_err=yes
     3201fi
     3202if test -z "$ac_cpp_err"; then
    36493203  # Broken: success on invalid input.
    36503204continue
     
    36573211break
    36583212fi
    3659 
    36603213rm -f conftest.err conftest.$ac_ext
    36613214
     
    36753228  ac_cv_prog_CPP=$CPP
    36763229fi
    3677 { echo "$as_me:$LINENO: result: $CPP" >&5
    3678 echo "${ECHO_T}$CPP" >&6; }
     3230echo "$as_me:$LINENO: result: $CPP" >&5
     3231echo "${ECHO_T}$CPP" >&6
    36793232ac_preproc_ok=false
    36803233for ac_c_preproc_warn_flag in '' yes
     
    36993252             Syntax error
    37003253_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
     3254if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3255  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37083256  ac_status=$?
    37093257  grep -v '^ *+' conftest.er1 >conftest.err
     
    37113259  cat conftest.err >&5
    37123260  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
     3268else
     3269  ac_cpp_err=yes
     3270fi
     3271if test -z "$ac_cpp_err"; then
    37173272  :
    37183273else
     
    37233278continue
    37243279fi
    3725 
    37263280rm -f conftest.err conftest.$ac_ext
    37273281
    3728   # OK, works on sane cases.  Now check whether nonexistent headers
     3282  # OK, works on sane cases.  Now check whether non-existent headers
    37293283  # can be detected and how.
    37303284  cat >conftest.$ac_ext <<_ACEOF
     
    37363290#include <ac_nonexistent.h>
    37373291_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
     3292if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3293  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37453294  ac_status=$?
    37463295  grep -v '^ *+' conftest.er1 >conftest.err
     
    37483297  cat conftest.err >&5
    37493298  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
     3306else
     3307  ac_cpp_err=yes
     3308fi
     3309if test -z "$ac_cpp_err"; then
    37543310  # Broken: success on invalid input.
    37553311continue
     
    37623318break
    37633319fi
    3764 
    37653320rm -f conftest.err conftest.$ac_ext
    37663321
     
    37853340
    37863341
    3787 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    3788 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    3789 if test "${ac_cv_path_GREP+set}" = set; then
     3342echo "$as_me:$LINENO: checking for egrep" >&5
     3343echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3344if test "${ac_cv_prog_egrep+set}" = set; then
    37903345  echo $ECHO_N "(cached) $ECHO_C" >&6
    37913346else
    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'
    38303350    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; }
     3351fi
     3352echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3353echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3354 EGREP=$ac_cv_prog_egrep
     3355
     3356
     3357
     3358echo "$as_me:$LINENO: checking for AIX" >&5
     3359echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    39523360cat >conftest.$ac_ext <<_ACEOF
    39533361/* confdefs.h.  */
     
    39633371if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    39643372  $EGREP "yes" >/dev/null 2>&1; then
    3965   { echo "$as_me:$LINENO: result: yes" >&5
    3966 echo "${ECHO_T}yes" >&6; }
     3373  echo "$as_me:$LINENO: result: yes" >&5
     3374echo "${ECHO_T}yes" >&6
    39673375cat >>confdefs.h <<\_ACEOF
    39683376#define _ALL_SOURCE 1
     
    39703378
    39713379else
    3972   { echo "$as_me:$LINENO: result: no" >&5
    3973 echo "${ECHO_T}no" >&6; }
     3380  echo "$as_me:$LINENO: result: no" >&5
     3381echo "${ECHO_T}no" >&6
    39743382fi
    39753383rm -f conftest*
    39763384
    39773385
    3978 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3979 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
     3386echo "$as_me:$LINENO: checking for library containing strerror" >&5
     3387echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    39803388if test "${ac_cv_search_strerror+set}" = set; then
    39813389  echo $ECHO_N "(cached) $ECHO_C" >&6
    39823390else
    39833391  ac_func_search_save_LIBS=$LIBS
     3392ac_cv_search_strerror=no
    39843393cat >conftest.$ac_ext <<_ACEOF
    39853394/* confdefs.h.  */
     
    39893398/* end confdefs.h.  */
    39903399
    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.  */
    39943401#ifdef __cplusplus
    39953402extern "C"
    39963403#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.  */
    39973406char strerror ();
    39983407int
    39993408main ()
    40003409{
    4001 return strerror ();
     3410strerror ();
    40023411  ;
    40033412  return 0;
    40043413}
    40053414_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
     3415rm -f conftest.$ac_objext conftest$ac_exeext
     3416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3417  (eval $ac_link) 2>conftest.er1
    40213418  ac_status=$?
    40223419  grep -v '^ *+' conftest.er1 >conftest.err
     
    40243421  cat conftest.err >&5
    40253422  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"
    40323438else
    40333439  echo "$as_me: failed program was:" >&5
    40343440sed 's/^/| /' conftest.$ac_ext >&5
    40353441
    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
     3442fi
     3443rm -f conftest.err conftest.$ac_objext \
     3444      conftest$ac_exeext conftest.$ac_ext
     3445if 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
     3451cat confdefs.h >>conftest.$ac_ext
     3452cat >>conftest.$ac_ext <<_ACEOF
     3453/* end confdefs.h.  */
     3454
     3455/* Override any gcc2 internal prototype to avoid an error.  */
     3456#ifdef __cplusplus
     3457extern "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.  */
     3461char strerror ();
     3462int
     3463main ()
     3464{
     3465strerror ();
     3466  ;
     3467  return 0;
     3468}
     3469_ACEOF
     3470rm -f conftest.$ac_objext conftest$ac_exeext
     3471if { (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"
     3493break
     3494else
     3495  echo "$as_me: failed program was:" >&5
     3496sed 's/^/| /' conftest.$ac_ext >&5
     3497
     3498fi
     3499rm -f conftest.err conftest.$ac_objext \
     3500      conftest$ac_exeext conftest.$ac_ext
     3501  done
     3502fi
    40513503LIBS=$ac_func_search_save_LIBS
    40523504fi
    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; }
     3505echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     3506echo "${ECHO_T}$ac_cv_search_strerror" >&6
     3507if test "$ac_cv_search_strerror" != no; then
     3508  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     3509
     3510fi
     3511
     3512echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3513echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    40633514if test "${ac_cv_header_stdc+set}" = set; then
    40643515  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40843535_ACEOF
    40853536rm -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
     3537if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3538  (eval $ac_compile) 2>conftest.er1
    40933539  ac_status=$?
    40943540  grep -v '^ *+' conftest.er1 >conftest.err
     
    40963542  cat conftest.err >&5
    40973543  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
    41023558  ac_cv_header_stdc=yes
    41033559else
     
    41053561sed 's/^/| /' conftest.$ac_ext >&5
    41063562
    4107     ac_cv_header_stdc=no
    4108 fi
    4109 
    4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3563ac_cv_header_stdc=no
     3564fi
     3565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    41113566
    41123567if test $ac_cv_header_stdc = yes; then
     
    41643619/* end confdefs.h.  */
    41653620#include <ctype.h>
    4166 #include <stdlib.h>
    41673621#if ((' ' & 0x0FF) == 0x020)
    41683622# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    41843638    if (XOR (islower (i), ISLOWER (i))
    41853639    || toupper (i) != TOUPPER (i))
    4186       return 2;
    4187   return 0;
     3640      exit(2);
     3641  exit (0);
    41883642}
    41893643_ACEOF
    41903644rm -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
     3645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3646  (eval $ac_link) 2>&5
    41983647  ac_status=$?
    41993648  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42003649  (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
    42073652  ac_status=$?
    42083653  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    42173662ac_cv_header_stdc=no
    42183663fi
    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; }
     3664rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3665fi
     3666fi
     3667fi
     3668echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3669echo "${ECHO_T}$ac_cv_header_stdc" >&6
    42273670if test $ac_cv_header_stdc = yes; then
    42283671
     
    42473690do
    42483691as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3692echo "$as_me:$LINENO: checking for $ac_header" >&5
     3693echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3694if eval "test \"\${$as_ac_Header+set}\" = set"; then
    42523695  echo $ECHO_N "(cached) $ECHO_C" >&6
    42533696else
     
    42633706_ACEOF
    42643707rm -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
     3708if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3709  (eval $ac_compile) 2>conftest.er1
    42723710  ac_status=$?
    42733711  grep -v '^ *+' conftest.er1 >conftest.err
     
    42753713  cat conftest.err >&5
    42763714  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
    42813729  eval "$as_ac_Header=yes"
    42823730else
     
    42843732sed 's/^/| /' conftest.$ac_ext >&5
    42853733
    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; }
     3734eval "$as_ac_Header=no"
     3735fi
     3736rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3737fi
     3738echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3739echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    42943740if test `eval echo '${'$as_ac_Header'}'` = yes; then
    42953741  cat >>confdefs.h <<_ACEOF
     
    43033749
    43043750if test "${ac_cv_header_minix_config_h+set}" = set; then
    4305   { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4306 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     3751  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3752echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    43073753if test "${ac_cv_header_minix_config_h+set}" = set; then
    43083754  echo $ECHO_N "(cached) $ECHO_C" >&6
    43093755fi
    4310 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4311 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     3756echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3757echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    43123758else
    43133759  # Is the header compilable?
    4314 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    4315 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
     3760echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     3761echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
    43163762cat >conftest.$ac_ext <<_ACEOF
    43173763/* confdefs.h.  */
     
    43243770_ACEOF
    43253771rm -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
     3772if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3773  (eval $ac_compile) 2>conftest.er1
    43333774  ac_status=$?
    43343775  grep -v '^ *+' conftest.er1 >conftest.err
     
    43363777  cat conftest.err >&5
    43373778  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
    43423793  ac_header_compiler=yes
    43433794else
     
    43453796sed 's/^/| /' conftest.$ac_ext >&5
    43463797
    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; }
     3798ac_header_compiler=no
     3799fi
     3800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3801echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3802echo "${ECHO_T}$ac_header_compiler" >&6
    43533803
    43543804# Is the header present?
    4355 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    4356 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
     3805echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     3806echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
    43573807cat >conftest.$ac_ext <<_ACEOF
    43583808/* confdefs.h.  */
     
    43633813#include <minix/config.h>
    43643814_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
     3815if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3816  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    43723817  ac_status=$?
    43733818  grep -v '^ *+' conftest.er1 >conftest.err
     
    43753820  cat conftest.err >&5
    43763821  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
     3829else
     3830  ac_cpp_err=yes
     3831fi
     3832if test -z "$ac_cpp_err"; then
    43813833  ac_header_preproc=yes
    43823834else
     
    43863838  ac_header_preproc=no
    43873839fi
    4388 
    43893840rm -f conftest.err conftest.$ac_ext
    4390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4391 echo "${ECHO_T}$ac_header_preproc" >&6; }
     3841echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3842echo "${ECHO_T}$ac_header_preproc" >&6
    43923843
    43933844# So?  What about this header?
     
    44133864    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    44143865echo "$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
    44163874    ;;
    44173875esac
    4418 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4419 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     3876echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3877echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    44203878if test "${ac_cv_header_minix_config_h+set}" = set; then
    44213879  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44233881  ac_cv_header_minix_config_h=$ac_header_preproc
    44243882fi
    4425 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4426 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     3883echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3884echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    44273885
    44283886fi
     
    44523910fi
    44533911
    4454 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4455 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
     3912echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     3913echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
    44563914if test "${ac_cv_prog_cc_stdc+set}" = set; then
    44573915  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44893947_ACEOF
    44903948rm -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
     3949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3950  (eval $ac_compile) 2>conftest.er1
    44983951  ac_status=$?
    44993952  grep -v '^ *+' conftest.er1 >conftest.err
     
    45013954  cat conftest.err >&5
    45023955  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
    45073970  ac_cv_prog_cc_stdc="$ac_arg"; break
    45083971else
     
    45103973sed 's/^/| /' conftest.$ac_ext >&5
    45113974
    4512 
    4513 fi
    4514 
    4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3975fi
     3976rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    45163977done
    45173978CFLAGS="$ac_save_CFLAGS"
     
    45193980fi
    45203981
    4521 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4522 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
     3982echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     3983echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    45233984case "x$ac_cv_prog_cc_stdc" in
    45243985  x|xno) ;;
     
    45273988
    45283989
    4529 { echo "$as_me:$LINENO: checking for function prototypes" >&5
    4530 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
     3990echo "$as_me:$LINENO: checking for function prototypes" >&5
     3991echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
    45313992if test "$ac_cv_prog_cc_stdc" != no; then
    4532   { echo "$as_me:$LINENO: result: yes" >&5
    4533 echo "${ECHO_T}yes" >&6; }
     3993  echo "$as_me:$LINENO: result: yes" >&5
     3994echo "${ECHO_T}yes" >&6
    45343995  cat >>confdefs.h <<\_ACEOF
    45353996#define PROTOTYPES 1
     
    45383999  U= ANSI2KNR=
    45394000else
    4540   { echo "$as_me:$LINENO: result: no" >&5
    4541 echo "${ECHO_T}no" >&6; }
     4001  echo "$as_me:$LINENO: result: no" >&5
     4002echo "${ECHO_T}no" >&6
    45424003  U=_ ANSI2KNR=ansi2knr
    45434004fi
    45444005
    4545 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4546 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
     4006echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4007echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    45474008if test "${ac_cv_c_const+set}" = set; then
    45484009  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45624023  /* Ultrix mips cc rejects this.  */
    45634024  typedef int charset[2];
    4564   const charset cs;
     4025  const charset x;
    45654026  /* SunOS 4.1.1 cc rejects this.  */
    4566   char const *const *pcpcc;
    4567   char **ppc;
     4027  char const *const *ccp;
     4028  char **p;
    45684029  /* NEC SVR4.0.2 mips cc rejects this.  */
    45694030  struct point {int x, y;};
     
    45744035     expression */
    45754036  const char *g = "string";
    4576   pcpcc = &g + (g ? g-g : 0);
     4037  ccp = &g + (g ? g-g : 0);
    45774038  /* HPUX 7.0 cc rejects these. */
    4578   ++pcpcc;
    4579   ppc = (char**) pcpcc;
    4580   pcpcc = (char const *const *) ppc;
     4039  ++ccp;
     4040  p = (char**) ccp;
     4041  ccp = (char const *const *) p;
    45814042  { /* SCO 3.2v4 cc rejects this.  */
    45824043    char *t;
     
    45844045
    45854046    *t++ = 0;
    4586     if (s) return 0;
    45874047  }
    45884048  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    46034063  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    46044064    const int foo = 10;
    4605     if (!foo) return 0;
    46064065  }
    4607   return !cs[0] && !zero.x;
    46084066#endif
    46094067
     
    46134071_ACEOF
    46144072rm -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
     4073if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4074  (eval $ac_compile) 2>conftest.er1
    46224075  ac_status=$?
    46234076  grep -v '^ *+' conftest.er1 >conftest.err
     
    46254078  cat conftest.err >&5
    46264079  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
    46314094  ac_cv_c_const=yes
    46324095else
     
    46344097sed 's/^/| /' conftest.$ac_ext >&5
    46354098
    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; }
     4099ac_cv_c_const=no
     4100fi
     4101rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4102fi
     4103echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4104echo "${ECHO_T}$ac_cv_c_const" >&6
    46434105if test $ac_cv_c_const = no; then
    46444106
     
    46494111fi
    46504112
    4651 { echo "$as_me:$LINENO: checking for off_t" >&5
    4652 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
     4113echo "$as_me:$LINENO: checking for off_t" >&5
     4114echo $ECHO_N "checking for off_t... $ECHO_C" >&6
    46534115if test "${ac_cv_type_off_t+set}" = set; then
    46544116  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46614123/* end confdefs.h.  */
    46624124$ac_includes_default
    4663 typedef off_t ac__type_new_;
    46644125int
    46654126main ()
    46664127{
    4667 if ((ac__type_new_ *) 0)
     4128if ((off_t *) 0)
    46684129  return 0;
    4669 if (sizeof (ac__type_new_))
     4130if (sizeof (off_t))
    46704131  return 0;
    46714132  ;
     
    46744135_ACEOF
    46754136rm -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
     4137if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4138  (eval $ac_compile) 2>conftest.er1
    46834139  ac_status=$?
    46844140  grep -v '^ *+' conftest.er1 >conftest.err
     
    46864142  cat conftest.err >&5
    46874143  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
    46924158  ac_cv_type_off_t=yes
    46934159else
     
    46954161sed 's/^/| /' conftest.$ac_ext >&5
    46964162
    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; }
     4163ac_cv_type_off_t=no
     4164fi
     4165rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4166fi
     4167echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4168echo "${ECHO_T}$ac_cv_type_off_t" >&6
    47044169if test $ac_cv_type_off_t = yes; then
    47054170  :
     
    47074172
    47084173cat >>confdefs.h <<_ACEOF
    4709 #define off_t long int
    4710 _ACEOF
    4711 
    4712 fi
    4713 
    4714 { echo "$as_me:$LINENO: checking for size_t" >&5
    4715 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
     4174#define off_t long
     4175_ACEOF
     4176
     4177fi
     4178
     4179echo "$as_me:$LINENO: checking for size_t" >&5
     4180echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    47164181if test "${ac_cv_type_size_t+set}" = set; then
    47174182  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47244189/* end confdefs.h.  */
    47254190$ac_includes_default
    4726 typedef size_t ac__type_new_;
    47274191int
    47284192main ()
    47294193{
    4730 if ((ac__type_new_ *) 0)
     4194if ((size_t *) 0)
    47314195  return 0;
    4732 if (sizeof (ac__type_new_))
     4196if (sizeof (size_t))
    47334197  return 0;
    47344198  ;
     
    47374201_ACEOF
    47384202rm -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
     4203if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4204  (eval $ac_compile) 2>conftest.er1
    47464205  ac_status=$?
    47474206  grep -v '^ *+' conftest.er1 >conftest.err
     
    47494208  cat conftest.err >&5
    47504209  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
    47554224  ac_cv_type_size_t=yes
    47564225else
     
    47584227sed 's/^/| /' conftest.$ac_ext >&5
    47594228
    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; }
     4229ac_cv_type_size_t=no
     4230fi
     4231rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4232fi
     4233echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4234echo "${ECHO_T}$ac_cv_type_size_t" >&6
    47674235if test $ac_cv_type_size_t = yes; then
    47684236  :
     
    47704238
    47714239cat >>confdefs.h <<_ACEOF
    4772 #define size_t unsigned int
    4773 _ACEOF
    4774 
    4775 fi
    4776 
    4777 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4778 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
     4243fi
     4244
     4245echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4246echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    47794247if test "${ac_cv_header_time+set}" = set; then
    47804248  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48004268_ACEOF
    48014269rm -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
     4270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4271  (eval $ac_compile) 2>conftest.er1
    48094272  ac_status=$?
    48104273  grep -v '^ *+' conftest.er1 >conftest.err
     
    48124275  cat conftest.err >&5
    48134276  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
    48184291  ac_cv_header_time=yes
    48194292else
     
    48214294sed 's/^/| /' conftest.$ac_ext >&5
    48224295
    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; }
     4296ac_cv_header_time=no
     4297fi
     4298rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4299fi
     4300echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4301echo "${ECHO_T}$ac_cv_header_time" >&6
    48304302if test $ac_cv_header_time = yes; then
    48314303
     
    48364308fi
    48374309
    4838 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4839 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
     4310echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4311echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    48404312if test "${ac_cv_struct_tm+set}" = set; then
    48414313  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48534325main ()
    48544326{
    4855 struct tm tm;
    4856                      int *p = &tm.tm_sec;
    4857                      return !p;
     4327struct tm *tp; tp->tm_sec;
    48584328  ;
    48594329  return 0;
     
    48614331_ACEOF
    48624332rm -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
     4333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4334  (eval $ac_compile) 2>conftest.er1
    48704335  ac_status=$?
    48714336  grep -v '^ *+' conftest.er1 >conftest.err
     
    48734338  cat conftest.err >&5
    48744339  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
    48794354  ac_cv_struct_tm=time.h
    48804355else
     
    48824357sed 's/^/| /' conftest.$ac_ext >&5
    48834358
    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; }
     4359ac_cv_struct_tm=sys/time.h
     4360fi
     4361rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4362fi
     4363echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     4364echo "${ECHO_T}$ac_cv_struct_tm" >&6
    48914365if test $ac_cv_struct_tm = sys/time.h; then
    48924366
     
    48994373
    49004374
    4901 # Check whether --with-unac was given.
     4375# Check whether --with-unac or --without-unac was given.
    49024376if test "${with_unac+set}" = set; then
    4903   withval=$with_unac; UNAC_DIR=$withval
     4377  withval="$with_unac"
     4378  UNAC_DIR=$withval
    49044379else
    49054380  UNAC_DIR="`pwd`/../packages/unac"
    4906 fi
    4907 
     4381fi;
    49084382cat >>confdefs.h <<_ACEOF
    49094383#define UNAC_DIR "$UNAC_DIR"
     
    49354409_ACEOF
    49364410rm -f conftest.$ac_objext