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/common-src
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • 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
    4937 if { (ac_try="$ac_compile"
    4938 case "(($ac_try" in
    4939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4940   *) ac_try_echo=$ac_try;;
    4941 esac
    4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4943   (eval "$ac_compile") 2>conftest.er1
     4411if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4412  (eval $ac_compile) 2>conftest.er1
    49444413  ac_status=$?
    49454414  grep -v '^ *+' conftest.er1 >conftest.err
     
    49474416  cat conftest.err >&5
    49484417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4949   (exit $ac_status); } && {
    4950      test -z "$ac_c_werror_flag" ||
    4951      test ! -s conftest.err
    4952        } && test -s conftest.$ac_objext; then
     4418  (exit $ac_status); } &&
     4419     { ac_try='test -z "$ac_c_werror_flag"
     4420             || test ! -s conftest.err'
     4421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4422  (eval $ac_try) 2>&5
     4423  ac_status=$?
     4424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4425  (exit $ac_status); }; } &&
     4426     { ac_try='test -s conftest.$ac_objext'
     4427  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4428  (eval $ac_try) 2>&5
     4429  ac_status=$?
     4430  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4431  (exit $ac_status); }; }; then
    49534432  :
    49544433else
     
    49564435sed 's/^/| /' conftest.$ac_ext >&5
    49574436
    4958     CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4959 fi
    4960 
    4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4962 fi
    4963 
    4964 
    4965 
    4966 { echo "$as_me:$LINENO: checking for main in -lg" >&5
    4967 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
     4437CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     4438fi
     4439rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4440fi
     4441
     4442
     4443
     4444echo "$as_me:$LINENO: checking for main in -lg" >&5
     4445echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
    49684446if test "${ac_cv_lib_g_main+set}" = set; then
    49694447  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49824460main ()
    49834461{
    4984 return main ();
     4462main ();
    49854463  ;
    49864464  return 0;
     
    49884466_ACEOF
    49894467rm -f conftest.$ac_objext conftest$ac_exeext
    4990 if { (ac_try="$ac_link"
    4991 case "(($ac_try" in
    4992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4993   *) ac_try_echo=$ac_try;;
    4994 esac
    4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4996   (eval "$ac_link") 2>conftest.er1
     4468if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4469  (eval $ac_link) 2>conftest.er1
    49974470  ac_status=$?
    49984471  grep -v '^ *+' conftest.er1 >conftest.err
     
    50004473  cat conftest.err >&5
    50014474  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5002   (exit $ac_status); } && {
    5003      test -z "$ac_c_werror_flag" ||
    5004      test ! -s conftest.err
    5005        } && test -s conftest$ac_exeext &&
    5006        $as_test_x conftest$ac_exeext; then
     4475  (exit $ac_status); } &&
     4476     { ac_try='test -z "$ac_c_werror_flag"
     4477             || test ! -s conftest.err'
     4478  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4479  (eval $ac_try) 2>&5
     4480  ac_status=$?
     4481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4482  (exit $ac_status); }; } &&
     4483     { ac_try='test -s conftest$ac_exeext'
     4484  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4485  (eval $ac_try) 2>&5
     4486  ac_status=$?
     4487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4488  (exit $ac_status); }; }; then
    50074489  ac_cv_lib_g_main=yes
    50084490else
     
    50104492sed 's/^/| /' conftest.$ac_ext >&5
    50114493
    5012     ac_cv_lib_g_main=no
    5013 fi
    5014 
    5015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4494ac_cv_lib_g_main=no
     4495fi
     4496rm -f conftest.err conftest.$ac_objext \
    50164497      conftest$ac_exeext conftest.$ac_ext
    50174498LIBS=$ac_check_lib_save_LIBS
    50184499fi
    5019 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    5020 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
     4500echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     4501echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    50214502if test $ac_cv_lib_g_main = yes; then
    50224503  cat >>confdefs.h <<_ACEOF
     
    50294510
    50304511
    5031 { echo "$as_me:$LINENO: checking for main in -lm" >&5
    5032 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
     4512echo "$as_me:$LINENO: checking for main in -lm" >&5
     4513echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    50334514if test "${ac_cv_lib_m_main+set}" = set; then
    50344515  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    50474528main ()
    50484529{
    5049 return main ();
     4530main ();
    50504531  ;
    50514532  return 0;
     
    50534534_ACEOF
    50544535rm -f conftest.$ac_objext conftest$ac_exeext
    5055 if { (ac_try="$ac_link"
    5056 case "(($ac_try" in
    5057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5058   *) ac_try_echo=$ac_try;;
    5059 esac
    5060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5061   (eval "$ac_link") 2>conftest.er1
     4536if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4537  (eval $ac_link) 2>conftest.er1
    50624538  ac_status=$?
    50634539  grep -v '^ *+' conftest.er1 >conftest.err
     
    50654541  cat conftest.err >&5
    50664542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5067   (exit $ac_status); } && {
    5068      test -z "$ac_c_werror_flag" ||
    5069      test ! -s conftest.err
    5070        } && test -s conftest$ac_exeext &&
    5071        $as_test_x conftest$ac_exeext; then
     4543  (exit $ac_status); } &&
     4544     { ac_try='test -z "$ac_c_werror_flag"
     4545             || test ! -s conftest.err'
     4546  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4547  (eval $ac_try) 2>&5
     4548  ac_status=$?
     4549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4550  (exit $ac_status); }; } &&
     4551     { ac_try='test -s conftest$ac_exeext'
     4552  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4553  (eval $ac_try) 2>&5
     4554  ac_status=$?
     4555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4556  (exit $ac_status); }; }; then
    50724557  ac_cv_lib_m_main=yes
    50734558else
     
    50754560sed 's/^/| /' conftest.$ac_ext >&5
    50764561
    5077     ac_cv_lib_m_main=no
    5078 fi
    5079 
    5080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4562ac_cv_lib_m_main=no
     4563fi
     4564rm -f conftest.err conftest.$ac_objext \
    50814565      conftest$ac_exeext conftest.$ac_ext
    50824566LIBS=$ac_check_lib_save_LIBS
    50834567fi
    5084 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5085 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
     4568echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     4569echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    50864570if test $ac_cv_lib_m_main = yes; then
    50874571  cat >>confdefs.h <<_ACEOF
     
    50944578
    50954579
    5096 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    5097 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
     4580echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     4581echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
    50984582if test "${ac_cv_lib_stdcpp_main+set}" = set; then
    50994583  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51124596main ()
    51134597{
    5114 return main ();
     4598main ();
    51154599  ;
    51164600  return 0;
     
    51184602_ACEOF
    51194603rm -f conftest.$ac_objext conftest$ac_exeext
    5120 if { (ac_try="$ac_link"
    5121 case "(($ac_try" in
    5122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5123   *) ac_try_echo=$ac_try;;
    5124 esac
    5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5126   (eval "$ac_link") 2>conftest.er1
     4604if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4605  (eval $ac_link) 2>conftest.er1
    51274606  ac_status=$?
    51284607  grep -v '^ *+' conftest.er1 >conftest.err
     
    51304609  cat conftest.err >&5
    51314610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5132   (exit $ac_status); } && {
    5133      test -z "$ac_c_werror_flag" ||
    5134      test ! -s conftest.err
    5135        } && test -s conftest$ac_exeext &&
    5136        $as_test_x conftest$ac_exeext; then
     4611  (exit $ac_status); } &&
     4612     { ac_try='test -z "$ac_c_werror_flag"
     4613             || test ! -s conftest.err'
     4614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4615  (eval $ac_try) 2>&5
     4616  ac_status=$?
     4617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4618  (exit $ac_status); }; } &&
     4619     { ac_try='test -s conftest$ac_exeext'
     4620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4621  (eval $ac_try) 2>&5
     4622  ac_status=$?
     4623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4624  (exit $ac_status); }; }; then
    51374625  ac_cv_lib_stdcpp_main=yes
    51384626else
     
    51404628sed 's/^/| /' conftest.$ac_ext >&5
    51414629
    5142     ac_cv_lib_stdcpp_main=no
    5143 fi
    5144 
    5145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4630ac_cv_lib_stdcpp_main=no
     4631fi
     4632rm -f conftest.err conftest.$ac_objext \
    51464633      conftest$ac_exeext conftest.$ac_ext
    51474634LIBS=$ac_check_lib_save_LIBS
    51484635fi
    5149 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    5150 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
     4636echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     4637echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
    51514638if test $ac_cv_lib_stdcpp_main = yes; then
    51524639  cat >>confdefs.h <<_ACEOF
     
    51594646
    51604647
    5161 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    5162 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
     4648echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     4649echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
    51634650if test "${ac_cv_lib_crypt_main+set}" = set; then
    51644651  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51774664main ()
    51784665{
    5179 return main ();
     4666main ();
    51804667  ;
    51814668  return 0;
     
    51834670_ACEOF
    51844671rm -f conftest.$ac_objext conftest$ac_exeext
    5185 if { (ac_try="$ac_link"
    5186 case "(($ac_try" in
    5187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5188   *) ac_try_echo=$ac_try;;
    5189 esac
    5190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5191   (eval "$ac_link") 2>conftest.er1
     4672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4673  (eval $ac_link) 2>conftest.er1
    51924674  ac_status=$?
    51934675  grep -v '^ *+' conftest.er1 >conftest.err
     
    51954677  cat conftest.err >&5
    51964678  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5197   (exit $ac_status); } && {
    5198      test -z "$ac_c_werror_flag" ||
    5199      test ! -s conftest.err
    5200        } && test -s conftest$ac_exeext &&
    5201        $as_test_x conftest$ac_exeext; then
     4679  (exit $ac_status); } &&
     4680     { ac_try='test -z "$ac_c_werror_flag"
     4681             || test ! -s conftest.err'
     4682  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4683  (eval $ac_try) 2>&5
     4684  ac_status=$?
     4685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4686  (exit $ac_status); }; } &&
     4687     { ac_try='test -s conftest$ac_exeext'
     4688  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4689  (eval $ac_try) 2>&5
     4690  ac_status=$?
     4691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4692  (exit $ac_status); }; }; then
    52024693  ac_cv_lib_crypt_main=yes
    52034694else
     
    52054696sed 's/^/| /' conftest.$ac_ext >&5
    52064697
    5207     ac_cv_lib_crypt_main=no
    5208 fi
    5209 
    5210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4698ac_cv_lib_crypt_main=no
     4699fi
     4700rm -f conftest.err conftest.$ac_objext \
    52114701      conftest$ac_exeext conftest.$ac_ext
    52124702LIBS=$ac_check_lib_save_LIBS
    52134703fi
    5214 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    5215 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
     4704echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     4705echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    52164706if test $ac_cv_lib_crypt_main = yes; then
    52174707  cat >>confdefs.h <<_ACEOF
     
    52364726for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    52374727  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5238 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    5239 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
    5240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4728echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     4729echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
     4730if eval "test \"\${$as_ac_Header+set}\" = set"; then
    52414731  echo $ECHO_N "(cached) $ECHO_C" >&6
    52424732else
     
    52604750_ACEOF
    52614751rm -f conftest.$ac_objext
    5262 if { (ac_try="$ac_compile"
    5263 case "(($ac_try" in
    5264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5265   *) ac_try_echo=$ac_try;;
    5266 esac
    5267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5268   (eval "$ac_compile") 2>conftest.er1
     4752if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4753  (eval $ac_compile) 2>conftest.er1
    52694754  ac_status=$?
    52704755  grep -v '^ *+' conftest.er1 >conftest.err
     
    52724757  cat conftest.err >&5
    52734758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5274   (exit $ac_status); } && {
    5275      test -z "$ac_c_werror_flag" ||
    5276      test ! -s conftest.err
    5277        } && test -s conftest.$ac_objext; then
     4759  (exit $ac_status); } &&
     4760     { ac_try='test -z "$ac_c_werror_flag"
     4761             || test ! -s conftest.err'
     4762  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4763  (eval $ac_try) 2>&5
     4764  ac_status=$?
     4765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4766  (exit $ac_status); }; } &&
     4767     { ac_try='test -s conftest.$ac_objext'
     4768  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4769  (eval $ac_try) 2>&5
     4770  ac_status=$?
     4771  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4772  (exit $ac_status); }; }; then
    52784773  eval "$as_ac_Header=yes"
    52794774else
     
    52814776sed 's/^/| /' conftest.$ac_ext >&5
    52824777
    5283     eval "$as_ac_Header=no"
    5284 fi
    5285 
    5286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5287 fi
    5288 ac_res=`eval echo '${'$as_ac_Header'}'`
    5289            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5290 echo "${ECHO_T}$ac_res" >&6; }
     4778eval "$as_ac_Header=no"
     4779fi
     4780rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4781fi
     4782echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4783echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    52914784if test `eval echo '${'$as_ac_Header'}'` = yes; then
    52924785  cat >>confdefs.h <<_ACEOF
     
    53004793# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    53014794if test $ac_header_dirent = dirent.h; then
    5302   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5303 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     4795  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4796echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    53044797if test "${ac_cv_search_opendir+set}" = set; then
    53054798  echo $ECHO_N "(cached) $ECHO_C" >&6
    53064799else
    53074800  ac_func_search_save_LIBS=$LIBS
     4801ac_cv_search_opendir=no
    53084802cat >conftest.$ac_ext <<_ACEOF
    53094803/* confdefs.h.  */
     
    53134807/* end confdefs.h.  */
    53144808
    5315 /* Override any GCC internal prototype to avoid an error.
    5316    Use char because int might match the return type of a GCC
    5317    builtin and then its argument prototype would still apply.  */
     4809/* Override any gcc2 internal prototype to avoid an error.  */
    53184810#ifdef __cplusplus
    53194811extern "C"
    53204812#endif
     4813/* We use char because int might match the return type of a gcc2
     4814   builtin and then its argument prototype would still apply.  */
    53214815char opendir ();
    53224816int
    53234817main ()
    53244818{
    5325 return opendir ();
     4819opendir ();
    53264820  ;
    53274821  return 0;
    53284822}
    53294823_ACEOF
    5330 for ac_lib in '' dir; do
    5331   if test -z "$ac_lib"; then
    5332     ac_res="none required"
    5333   else
    5334     ac_res=-l$ac_lib
    5335     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5336   fi
    5337   rm -f conftest.$ac_objext conftest$ac_exeext
    5338 if { (ac_try="$ac_link"
    5339 case "(($ac_try" in
    5340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5341   *) ac_try_echo=$ac_try;;
    5342 esac
    5343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5344   (eval "$ac_link") 2>conftest.er1
     4824rm -f conftest.$ac_objext conftest$ac_exeext
     4825if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4826  (eval $ac_link) 2>conftest.er1
    53454827  ac_status=$?
    53464828  grep -v '^ *+' conftest.er1 >conftest.err
     
    53484830  cat conftest.err >&5
    53494831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5350   (exit $ac_status); } && {
    5351      test -z "$ac_c_werror_flag" ||
    5352      test ! -s conftest.err
    5353        } && test -s conftest$ac_exeext &&
    5354        $as_test_x conftest$ac_exeext; then
    5355   ac_cv_search_opendir=$ac_res
     4832  (exit $ac_status); } &&
     4833     { ac_try='test -z "$ac_c_werror_flag"
     4834             || test ! -s conftest.err'
     4835  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4836  (eval $ac_try) 2>&5
     4837  ac_status=$?
     4838  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4839  (exit $ac_status); }; } &&
     4840     { ac_try='test -s conftest$ac_exeext'
     4841  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4842  (eval $ac_try) 2>&5
     4843  ac_status=$?
     4844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4845  (exit $ac_status); }; }; then
     4846  ac_cv_search_opendir="none required"
    53564847else
    53574848  echo "$as_me: failed program was:" >&5
    53584849sed 's/^/| /' conftest.$ac_ext >&5
    53594850
    5360 
    5361 fi
    5362 
    5363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5364       conftest$ac_exeext
    5365   if test "${ac_cv_search_opendir+set}" = set; then
    5366   break
    5367 fi
    5368 done
    5369 if test "${ac_cv_search_opendir+set}" = set; then
    5370   :
    5371 else
    5372   ac_cv_search_opendir=no
    5373 fi
    5374 rm conftest.$ac_ext
    5375 LIBS=$ac_func_search_save_LIBS
    5376 fi
    5377 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5378 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5379 ac_res=$ac_cv_search_opendir
    5380 if test "$ac_res" != no; then
    5381   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5382 
    5383 fi
    5384 
    5385 else
    5386   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5387 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    5388 if test "${ac_cv_search_opendir+set}" = set; then
    5389   echo $ECHO_N "(cached) $ECHO_C" >&6
    5390 else
    5391   ac_func_search_save_LIBS=$LIBS
    5392 cat >conftest.$ac_ext <<_ACEOF
     4851fi
     4852rm -f conftest.err conftest.$ac_objext \
     4853      conftest$ac_exeext conftest.$ac_ext
     4854if test "$ac_cv_search_opendir" = no; then
     4855  for ac_lib in dir; do
     4856    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4857    cat >conftest.$ac_ext <<_ACEOF
    53934858/* confdefs.h.  */
    53944859_ACEOF
     
    53974862/* end confdefs.h.  */
    53984863
    5399 /* Override any GCC internal prototype to avoid an error.
    5400    Use char because int might match the return type of a GCC
    5401    builtin and then its argument prototype would still apply.  */
     4864/* Override any gcc2 internal prototype to avoid an error.  */
    54024865#ifdef __cplusplus
    54034866extern "C"
    54044867#endif
     4868/* We use char because int might match the return type of a gcc2
     4869   builtin and then its argument prototype would still apply.  */
    54054870char opendir ();
    54064871int
    54074872main ()
    54084873{
    5409 return opendir ();
     4874opendir ();
    54104875  ;
    54114876  return 0;
    54124877}
    54134878_ACEOF
    5414 for ac_lib in '' x; do
    5415   if test -z "$ac_lib"; then
    5416     ac_res="none required"
    5417   else
    5418     ac_res=-l$ac_lib
    5419     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5420   fi
    5421   rm -f conftest.$ac_objext conftest$ac_exeext
    5422 if { (ac_try="$ac_link"
    5423 case "(($ac_try" in
    5424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5425   *) ac_try_echo=$ac_try;;
    5426 esac
    5427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5428   (eval "$ac_link") 2>conftest.er1
     4879rm -f conftest.$ac_objext conftest$ac_exeext
     4880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4881  (eval $ac_link) 2>conftest.er1
    54294882  ac_status=$?
    54304883  grep -v '^ *+' conftest.er1 >conftest.err
     
    54324885  cat conftest.err >&5
    54334886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5434   (exit $ac_status); } && {
    5435      test -z "$ac_c_werror_flag" ||
    5436      test ! -s conftest.err
    5437        } && test -s conftest$ac_exeext &&
    5438        $as_test_x conftest$ac_exeext; then
    5439   ac_cv_search_opendir=$ac_res
     4887  (exit $ac_status); } &&
     4888     { ac_try='test -z "$ac_c_werror_flag"
     4889             || test ! -s conftest.err'
     4890  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4891  (eval $ac_try) 2>&5
     4892  ac_status=$?
     4893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4894  (exit $ac_status); }; } &&
     4895     { ac_try='test -s conftest$ac_exeext'
     4896  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4897  (eval $ac_try) 2>&5
     4898  ac_status=$?
     4899  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4900  (exit $ac_status); }; }; then
     4901  ac_cv_search_opendir="-l$ac_lib"
     4902break
    54404903else
    54414904  echo "$as_me: failed program was:" >&5
    54424905sed 's/^/| /' conftest.$ac_ext >&5
    54434906
    5444 
    5445 fi
    5446 
    5447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5448       conftest$ac_exeext
    5449   if test "${ac_cv_search_opendir+set}" = set; then
    5450   break
    5451 fi
    5452 done
     4907fi
     4908rm -f conftest.err conftest.$ac_objext \
     4909      conftest$ac_exeext conftest.$ac_ext
     4910  done
     4911fi
     4912LIBS=$ac_func_search_save_LIBS
     4913fi
     4914echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     4915echo "${ECHO_T}$ac_cv_search_opendir" >&6
     4916if test "$ac_cv_search_opendir" != no; then
     4917  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     4918
     4919fi
     4920
     4921else
     4922  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4923echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    54534924if test "${ac_cv_search_opendir+set}" = set; then
    5454   :
    5455 else
    5456   ac_cv_search_opendir=no
    5457 fi
    5458 rm conftest.$ac_ext
     4925  echo $ECHO_N "(cached) $ECHO_C" >&6
     4926else
     4927  ac_func_search_save_LIBS=$LIBS
     4928ac_cv_search_opendir=no
     4929cat >conftest.$ac_ext <<_ACEOF
     4930/* confdefs.h.  */
     4931_ACEOF
     4932cat confdefs.h >>conftest.$ac_ext
     4933cat >>conftest.$ac_ext <<_ACEOF
     4934/* end confdefs.h.  */
     4935
     4936/* Override any gcc2 internal prototype to avoid an error.  */
     4937#ifdef __cplusplus
     4938extern "C"
     4939#endif
     4940/* We use char because int might match the return type of a gcc2
     4941   builtin and then its argument prototype would still apply.  */
     4942char opendir ();
     4943int
     4944main ()
     4945{
     4946opendir ();
     4947  ;
     4948  return 0;
     4949}
     4950_ACEOF
     4951rm -f conftest.$ac_objext conftest$ac_exeext
     4952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4953  (eval $ac_link) 2>conftest.er1
     4954  ac_status=$?
     4955  grep -v '^ *+' conftest.er1 >conftest.err
     4956  rm -f conftest.er1
     4957  cat conftest.err >&5
     4958  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4959  (exit $ac_status); } &&
     4960     { ac_try='test -z "$ac_c_werror_flag"
     4961             || test ! -s conftest.err'
     4962  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4963  (eval $ac_try) 2>&5
     4964  ac_status=$?
     4965  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4966  (exit $ac_status); }; } &&
     4967     { ac_try='test -s conftest$ac_exeext'
     4968  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4969  (eval $ac_try) 2>&5
     4970  ac_status=$?
     4971  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4972  (exit $ac_status); }; }; then
     4973  ac_cv_search_opendir="none required"
     4974else
     4975  echo "$as_me: failed program was:" >&5
     4976sed 's/^/| /' conftest.$ac_ext >&5
     4977
     4978fi
     4979rm -f conftest.err conftest.$ac_objext \
     4980      conftest$ac_exeext conftest.$ac_ext
     4981if test "$ac_cv_search_opendir" = no; then
     4982  for ac_lib in x; do
     4983    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4984    cat >conftest.$ac_ext <<_ACEOF
     4985/* confdefs.h.  */
     4986_ACEOF
     4987cat confdefs.h >>conftest.$ac_ext
     4988cat >>conftest.$ac_ext <<_ACEOF
     4989/* end confdefs.h.  */
     4990
     4991/* Override any gcc2 internal prototype to avoid an error.  */
     4992#ifdef __cplusplus
     4993extern "C"
     4994#endif
     4995/* We use char because int might match the return type of a gcc2
     4996   builtin and then its argument prototype would still apply.  */
     4997char opendir ();
     4998int
     4999main ()
     5000{
     5001opendir ();
     5002  ;
     5003  return 0;
     5004}
     5005_ACEOF
     5006rm -f conftest.$ac_objext conftest$ac_exeext
     5007if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5008  (eval $ac_link) 2>conftest.er1
     5009  ac_status=$?
     5010  grep -v '^ *+' conftest.er1 >conftest.err
     5011  rm -f conftest.er1
     5012  cat conftest.err >&5
     5013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5014  (exit $ac_status); } &&
     5015     { ac_try='test -z "$ac_c_werror_flag"
     5016             || test ! -s conftest.err'
     5017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5018  (eval $ac_try) 2>&5
     5019  ac_status=$?
     5020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5021  (exit $ac_status); }; } &&
     5022     { ac_try='test -s conftest$ac_exeext'
     5023  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5024  (eval $ac_try) 2>&5
     5025  ac_status=$?
     5026  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5027  (exit $ac_status); }; }; then
     5028  ac_cv_search_opendir="-l$ac_lib"
     5029break
     5030else
     5031  echo "$as_me: failed program was:" >&5
     5032sed 's/^/| /' conftest.$ac_ext >&5
     5033
     5034fi
     5035rm -f conftest.err conftest.$ac_objext \
     5036      conftest$ac_exeext conftest.$ac_ext
     5037  done
     5038fi
    54595039LIBS=$ac_func_search_save_LIBS
    54605040fi
    5461 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5462 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5463 ac_res=$ac_cv_search_opendir
    5464 if test "$ac_res" != no; then
    5465   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5466 
    5467 fi
    5468 
    5469 fi
    5470 
    5471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     5041echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5042echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5043if test "$ac_cv_search_opendir" != no; then
     5044  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5045
     5046fi
     5047
     5048fi
     5049
     5050echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5051echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    54735052if test "${ac_cv_header_stdc+set}" = set; then
    54745053  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    54945073_ACEOF
    54955074rm -f conftest.$ac_objext
    5496 if { (ac_try="$ac_compile"
    5497 case "(($ac_try" in
    5498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5499   *) ac_try_echo=$ac_try;;
    5500 esac
    5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5502   (eval "$ac_compile") 2>conftest.er1
     5075if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5076  (eval $ac_compile) 2>conftest.er1
    55035077  ac_status=$?
    55045078  grep -v '^ *+' conftest.er1 >conftest.err
     
    55065080  cat conftest.err >&5
    55075081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5508   (exit $ac_status); } && {
    5509      test -z "$ac_c_werror_flag" ||
    5510      test ! -s conftest.err
    5511        } && test -s conftest.$ac_objext; then
     5082  (exit $ac_status); } &&
     5083     { ac_try='test -z "$ac_c_werror_flag"
     5084             || test ! -s conftest.err'
     5085  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5086  (eval $ac_try) 2>&5
     5087  ac_status=$?
     5088  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5089  (exit $ac_status); }; } &&
     5090     { ac_try='test -s conftest.$ac_objext'
     5091  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5092  (eval $ac_try) 2>&5
     5093  ac_status=$?
     5094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5095  (exit $ac_status); }; }; then
    55125096  ac_cv_header_stdc=yes
    55135097else
     
    55155099sed 's/^/| /' conftest.$ac_ext >&5
    55165100
    5517     ac_cv_header_stdc=no
    5518 fi
    5519 
    5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5101ac_cv_header_stdc=no
     5102fi
     5103rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    55215104
    55225105if test $ac_cv_header_stdc = yes; then
     
    55745157/* end confdefs.h.  */
    55755158#include <ctype.h>
    5576 #include <stdlib.h>
    55775159#if ((' ' & 0x0FF) == 0x020)
    55785160# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    55945176    if (XOR (islower (i), ISLOWER (i))
    55955177    || toupper (i) != TOUPPER (i))
    5596       return 2;
    5597   return 0;
     5178      exit(2);
     5179  exit (0);
    55985180}
    55995181_ACEOF
    56005182rm -f conftest$ac_exeext
    5601 if { (ac_try="$ac_link"
    5602 case "(($ac_try" in
    5603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5604   *) ac_try_echo=$ac_try;;
    5605 esac
    5606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5607   (eval "$ac_link") 2>&5
     5183if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5184  (eval $ac_link) 2>&5
    56085185  ac_status=$?
    56095186  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    56105187  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5611   { (case "(($ac_try" in
    5612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5613   *) ac_try_echo=$ac_try;;
    5614 esac
    5615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5616   (eval "$ac_try") 2>&5
     5188  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5189  (eval $ac_try) 2>&5
    56175190  ac_status=$?
    56185191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    56275200ac_cv_header_stdc=no
    56285201fi
    5629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5630 fi
    5631 
    5632 
    5633 fi
    5634 fi
    5635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     5202rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5203fi
     5204fi
     5205fi
     5206echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5207echo "${ECHO_T}$ac_cv_header_stdc" >&6
    56375208if test $ac_cv_header_stdc = yes; then
    56385209
     
    56545225do
    56555226as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5657   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5227if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5228  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5229echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5230if eval "test \"\${$as_ac_Header+set}\" = set"; then
    56605231  echo $ECHO_N "(cached) $ECHO_C" >&6
    56615232fi
    5662 ac_res=`eval echo '${'$as_ac_Header'}'`
    5663            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5664 echo "${ECHO_T}$ac_res" >&6; }
     5233echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5234echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    56655235else
    56665236  # Is the header compilable?
    5667 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     5237echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5238echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    56695239cat >conftest.$ac_ext <<_ACEOF
    56705240/* confdefs.h.  */
     
    56775247_ACEOF
    56785248rm -f conftest.$ac_objext
    5679 if { (ac_try="$ac_compile"
    5680 case "(($ac_try" in
    5681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5682   *) ac_try_echo=$ac_try;;
    5683 esac
    5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5685   (eval "$ac_compile") 2>conftest.er1
     5249if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5250  (eval $ac_compile) 2>conftest.er1
    56865251  ac_status=$?
    56875252  grep -v '^ *+' conftest.er1 >conftest.err
     
    56895254  cat conftest.err >&5
    56905255  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5691   (exit $ac_status); } && {
    5692      test -z "$ac_c_werror_flag" ||
    5693      test ! -s conftest.err
    5694        } && test -s conftest.$ac_objext; then
     5256  (exit $ac_status); } &&
     5257     { ac_try='test -z "$ac_c_werror_flag"
     5258             || test ! -s conftest.err'
     5259  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5260  (eval $ac_try) 2>&5
     5261  ac_status=$?
     5262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5263  (exit $ac_status); }; } &&
     5264     { ac_try='test -s conftest.$ac_objext'
     5265  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5266  (eval $ac_try) 2>&5
     5267  ac_status=$?
     5268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5269  (exit $ac_status); }; }; then
    56955270  ac_header_compiler=yes
    56965271else
     
    56985273sed 's/^/| /' conftest.$ac_ext >&5
    56995274
    5700     ac_header_compiler=no
    5701 fi
    5702 
    5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5704 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5705 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5275ac_header_compiler=no
     5276fi
     5277rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5278echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5279echo "${ECHO_T}$ac_header_compiler" >&6
    57065280
    57075281# Is the header present?
    5708 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     5282echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5283echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    57105284cat >conftest.$ac_ext <<_ACEOF
    57115285/* confdefs.h.  */
     
    57165290#include <$ac_header>
    57175291_ACEOF
    5718 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5719 case "(($ac_try" in
    5720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5721   *) ac_try_echo=$ac_try;;
    5722 esac
    5723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5724   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5292if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5293  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    57255294  ac_status=$?
    57265295  grep -v '^ *+' conftest.er1 >conftest.err
     
    57285297  cat conftest.err >&5
    57295298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5730   (exit $ac_status); } >/dev/null && {
    5731      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5732      test ! -s conftest.err
    5733        }; then
     5299  (exit $ac_status); } >/dev/null; then
     5300  if test -s conftest.err; then
     5301    ac_cpp_err=$ac_c_preproc_warn_flag
     5302    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5303  else
     5304    ac_cpp_err=
     5305  fi
     5306else
     5307  ac_cpp_err=yes
     5308fi
     5309if test -z "$ac_cpp_err"; then
    57345310  ac_header_preproc=yes
    57355311else
     
    57395315  ac_header_preproc=no
    57405316fi
    5741 
    57425317rm -f conftest.err conftest.$ac_ext
    5743 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5744 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5318echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5319echo "${ECHO_T}$ac_header_preproc" >&6
    57455320
    57465321# So?  What about this header?
     
    57665341    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    57675342echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5768 
     5343    (
     5344      cat <<\_ASBOX
     5345## ------------------------------------------ ##
     5346## Report this to the AC_PACKAGE_NAME lists.  ##
     5347## ------------------------------------------ ##
     5348_ASBOX
     5349    ) |
     5350      sed "s/^/$as_me: WARNING:     /" >&2
    57695351    ;;
    57705352esac
    5771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5353echo "$as_me:$LINENO: checking for $ac_header" >&5
     5354echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5355if eval "test \"\${$as_ac_Header+set}\" = set"; then
    57745356  echo $ECHO_N "(cached) $ECHO_C" >&6
    57755357else
    57765358  eval "$as_ac_Header=\$ac_header_preproc"
    57775359fi
    5778 ac_res=`eval echo '${'$as_ac_Header'}'`
    5779            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5780 echo "${ECHO_T}$ac_res" >&6; }
     5360echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5361echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    57815362
    57825363fi
     
    58475428# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    58485429# for constant arguments.  Useless!
    5849 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5850 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
     5430echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5431echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
    58515432if test "${ac_cv_working_alloca_h+set}" = set; then
    58525433  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    58635444{
    58645445char *p = (char *) alloca (2 * sizeof (int));
    5865               if (p) return 0;
    58665446  ;
    58675447  return 0;
     
    58695449_ACEOF
    58705450rm -f conftest.$ac_objext conftest$ac_exeext
    5871 if { (ac_try="$ac_link"
    5872 case "(($ac_try" in
    5873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5874   *) ac_try_echo=$ac_try;;
    5875 esac
    5876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5877   (eval "$ac_link") 2>conftest.er1
     5451if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5452  (eval $ac_link) 2>conftest.er1
    58785453  ac_status=$?
    58795454  grep -v '^ *+' conftest.er1 >conftest.err
     
    58815456  cat conftest.err >&5
    58825457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5883   (exit $ac_status); } && {
    5884      test -z "$ac_c_werror_flag" ||
    5885      test ! -s conftest.err
    5886        } && test -s conftest$ac_exeext &&
    5887        $as_test_x conftest$ac_exeext; then
     5458  (exit $ac_status); } &&
     5459     { ac_try='test -z "$ac_c_werror_flag"
     5460             || test ! -s conftest.err'
     5461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5462  (eval $ac_try) 2>&5
     5463  ac_status=$?
     5464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5465  (exit $ac_status); }; } &&
     5466     { ac_try='test -s conftest$ac_exeext'
     5467  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5468  (eval $ac_try) 2>&5
     5469  ac_status=$?
     5470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5471  (exit $ac_status); }; }; then
    58885472  ac_cv_working_alloca_h=yes
    58895473else
     
    58915475sed 's/^/| /' conftest.$ac_ext >&5
    58925476
    5893     ac_cv_working_alloca_h=no
    5894 fi
    5895 
    5896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5477ac_cv_working_alloca_h=no
     5478fi
     5479rm -f conftest.err conftest.$ac_objext \
    58975480      conftest$ac_exeext conftest.$ac_ext
    58985481fi
    5899 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5900 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
     5482echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5483echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    59015484if test $ac_cv_working_alloca_h = yes; then
    59025485
     
    59075490fi
    59085491
    5909 { echo "$as_me:$LINENO: checking for alloca" >&5
    5910 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
     5492echo "$as_me:$LINENO: checking for alloca" >&5
     5493echo $ECHO_N "checking for alloca... $ECHO_C" >&6
    59115494if test "${ac_cv_func_alloca_works+set}" = set; then
    59125495  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59255508#  define alloca _alloca
    59265509# else
    5927 #  ifdef HAVE_ALLOCA_H
     5510#  if HAVE_ALLOCA_H
    59285511#   include <alloca.h>
    59295512#  else
     
    59435526{
    59445527char *p = (char *) alloca (1);
    5945                     if (p) return 0;
    59465528  ;
    59475529  return 0;
     
    59495531_ACEOF
    59505532rm -f conftest.$ac_objext conftest$ac_exeext
    5951 if { (ac_try="$ac_link"
    5952 case "(($ac_try" in
    5953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5954   *) ac_try_echo=$ac_try;;
    5955 esac
    5956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5957   (eval "$ac_link") 2>conftest.er1
     5533if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5534  (eval $ac_link) 2>conftest.er1
    59585535  ac_status=$?
    59595536  grep -v '^ *+' conftest.er1 >conftest.err
     
    59615538  cat conftest.err >&5
    59625539  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5963   (exit $ac_status); } && {
    5964      test -z "$ac_c_werror_flag" ||
    5965      test ! -s conftest.err
    5966        } && test -s conftest$ac_exeext &&
    5967        $as_test_x conftest$ac_exeext; then
     5540  (exit $ac_status); } &&
     5541     { ac_try='test -z "$ac_c_werror_flag"
     5542             || test ! -s conftest.err'
     5543  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5544  (eval $ac_try) 2>&5
     5545  ac_status=$?
     5546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5547  (exit $ac_status); }; } &&
     5548     { ac_try='test -s conftest$ac_exeext'
     5549  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5550  (eval $ac_try) 2>&5
     5551  ac_status=$?
     5552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5553  (exit $ac_status); }; }; then
    59685554  ac_cv_func_alloca_works=yes
    59695555else
     
    59715557sed 's/^/| /' conftest.$ac_ext >&5
    59725558
    5973     ac_cv_func_alloca_works=no
    5974 fi
    5975 
    5976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5559ac_cv_func_alloca_works=no
     5560fi
     5561rm -f conftest.err conftest.$ac_objext \
    59775562      conftest$ac_exeext conftest.$ac_ext
    59785563fi
    5979 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5980 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
     5564echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     5565echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    59815566
    59825567if test $ac_cv_func_alloca_works = yes; then
     
    59925577# use ar to extract alloca.o from them instead of compiling alloca.c.
    59935578
    5994 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
     5579ALLOCA=alloca.$ac_objext
    59955580
    59965581cat >>confdefs.h <<\_ACEOF
     
    59995584
    60005585
    6001 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    6002 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
     5586echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     5587echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
    60035588if test "${ac_cv_os_cray+set}" = set; then
    60045589  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    60105595cat >>conftest.$ac_ext <<_ACEOF
    60115596/* end confdefs.h.  */
    6012 #if defined CRAY && ! defined CRAY2
     5597#if defined(CRAY) && ! defined(CRAY2)
    60135598webecray
    60145599#else
     
    60265611
    60275612fi
    6028 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    6029 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
     5613echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     5614echo "${ECHO_T}$ac_cv_os_cray" >&6
    60305615if test $ac_cv_os_cray = yes; then
    60315616  for ac_func in _getb67 GETB67 getb67; do
    60325617    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     5618echo "$as_me:$LINENO: checking for $ac_func" >&5
     5619echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     5620if eval "test \"\${$as_ac_var+set}\" = set"; then
    60365621  echo $ECHO_N "(cached) $ECHO_C" >&6
    60375622else
     
    60595644#undef $ac_func
    60605645
    6061 /* Override any GCC internal prototype to avoid an error.
    6062    Use char because int might match the return type of a GCC
    6063    builtin and then its argument prototype would still apply.  */
     5646/* Override any gcc2 internal prototype to avoid an error.  */
    60645647#ifdef __cplusplus
    60655648extern "C"
     5649{
    60665650#endif
     5651/* We use char because int might match the return type of a gcc2
     5652   builtin and then its argument prototype would still apply.  */
    60675653char $ac_func ();
    60685654/* The GNU C library defines this for functions which it implements
    60695655    to always fail with ENOSYS.  Some functions are actually named
    60705656    something starting with __ and the normal name is an alias.  */
    6071 #if defined __stub_$ac_func || defined __stub___$ac_func
     5657#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    60725658choke me
     5659#else
     5660char (*f) () = $ac_func;
     5661#endif
     5662#ifdef __cplusplus
     5663}
    60735664#endif
    60745665
     
    60765667main ()
    60775668{
    6078 return $ac_func ();
     5669return f != $ac_func;
    60795670  ;
    60805671  return 0;
     
    60825673_ACEOF
    60835674rm -f conftest.$ac_objext conftest$ac_exeext
    6084 if { (ac_try="$ac_link"
    6085 case "(($ac_try" in
    6086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6087   *) ac_try_echo=$ac_try;;
    6088 esac
    6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6090   (eval "$ac_link") 2>conftest.er1
     5675if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5676  (eval $ac_link) 2>conftest.er1
    60915677  ac_status=$?
    60925678  grep -v '^ *+' conftest.er1 >conftest.err
     
    60945680  cat conftest.err >&5
    60955681  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6096   (exit $ac_status); } && {
    6097      test -z "$ac_c_werror_flag" ||
    6098      test ! -s conftest.err
    6099        } && test -s conftest$ac_exeext &&
    6100        $as_test_x conftest$ac_exeext; then
     5682  (exit $ac_status); } &&
     5683     { ac_try='test -z "$ac_c_werror_flag"
     5684             || test ! -s conftest.err'
     5685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5686  (eval $ac_try) 2>&5
     5687  ac_status=$?
     5688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5689  (exit $ac_status); }; } &&
     5690     { ac_try='test -s conftest$ac_exeext'
     5691  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5692  (eval $ac_try) 2>&5
     5693  ac_status=$?
     5694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5695  (exit $ac_status); }; }; then
    61015696  eval "$as_ac_var=yes"
    61025697else
     
    61045699sed 's/^/| /' conftest.$ac_ext >&5
    61055700
    6106     eval "$as_ac_var=no"
    6107 fi
    6108 
    6109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5701eval "$as_ac_var=no"
     5702fi
     5703rm -f conftest.err conftest.$ac_objext \
    61105704      conftest$ac_exeext conftest.$ac_ext
    61115705fi
    6112 ac_res=`eval echo '${'$as_ac_var'}'`
    6113            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6114 echo "${ECHO_T}$ac_res" >&6; }
     5706echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     5707echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    61155708if test `eval echo '${'$as_ac_var'}'` = yes; then
    61165709
     
    61255718fi
    61265719
    6127 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    6128 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
     5720echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     5721echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
    61295722if test "${ac_cv_c_stack_direction+set}" = set; then
    61305723  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    61395732cat >>conftest.$ac_ext <<_ACEOF
    61405733/* end confdefs.h.  */
    6141 $ac_includes_default
    61425734int
    61435735find_stack_direction ()
     
    61575749main ()
    61585750{
    6159   return find_stack_direction () < 0;
     5751  exit (find_stack_direction () < 0);
    61605752}
    61615753_ACEOF
    61625754rm -f conftest$ac_exeext
    6163 if { (ac_try="$ac_link"
    6164 case "(($ac_try" in
    6165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6166   *) ac_try_echo=$ac_try;;
    6167 esac
    6168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6169   (eval "$ac_link") 2>&5
     5755if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5756  (eval $ac_link) 2>&5
    61705757  ac_status=$?
    61715758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    61725759  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6173   { (case "(($ac_try" in
    6174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6175   *) ac_try_echo=$ac_try;;
    6176 esac
    6177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6178   (eval "$ac_try") 2>&5
     5760  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5761  (eval $ac_try) 2>&5
    61795762  ac_status=$?
    61805763  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    61895772ac_cv_c_stack_direction=-1
    61905773fi
    6191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6192 fi
    6193 
    6194 
    6195 fi
    6196 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    6197 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
     5774rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5775fi
     5776fi
     5777echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     5778echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
    61985779
    61995780cat >>confdefs.h <<_ACEOF
     
    62055786
    62065787if test $ac_cv_c_compiler_gnu = yes; then
    6207     { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    6208 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
     5788    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     5789echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    62095790if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    62105791  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    62475828  fi
    62485829fi
    6249 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    6250 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
     5830echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     5831echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    62515832  if test $ac_cv_prog_gcc_traditional = yes; then
    62525833    CC="$CC -traditional"
     
    62545835fi
    62555836
    6256 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    6257 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
     5837echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     5838echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    62585839if test "${ac_cv_type_signal+set}" = set; then
    62595840  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    62675848#include <sys/types.h>
    62685849#include <signal.h>
     5850#ifdef signal
     5851# undef signal
     5852#endif
     5853#ifdef __cplusplus
     5854extern "C" void (*signal (int, void (*)(int)))(int);
     5855#else
     5856void (*signal ()) ();
     5857#endif
    62695858
    62705859int
    62715860main ()
    62725861{
    6273 return *(signal (0, 0)) (0) == 1;
     5862int i;
    62745863  ;
    62755864  return 0;
     
    62775866_ACEOF
    62785867rm -f conftest.$ac_objext
    6279 if { (ac_try="$ac_compile"
    6280 case "(($ac_try" in
    6281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6282   *) ac_try_echo=$ac_try;;
    6283 esac
    6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6285   (eval "$ac_compile") 2>conftest.er1
     5868if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5869  (eval $ac_compile) 2>conftest.er1
    62865870  ac_status=$?
    62875871  grep -v '^ *+' conftest.er1 >conftest.err
     
    62895873  cat conftest.err >&5
    62905874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6291   (exit $ac_status); } && {
    6292      test -z "$ac_c_werror_flag" ||
    6293      test ! -s conftest.err
    6294        } && test -s conftest.$ac_objext; then
    6295   ac_cv_type_signal=int
     5875  (exit $ac_status); } &&
     5876     { ac_try='test -z "$ac_c_werror_flag"
     5877             || test ! -s conftest.err'
     5878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5879  (eval $ac_try) 2>&5
     5880  ac_status=$?
     5881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5882  (exit $ac_status); }; } &&
     5883     { ac_try='test -s conftest.$ac_objext'
     5884  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5885  (eval $ac_try) 2>&5
     5886  ac_status=$?
     5887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5888  (exit $ac_status); }; }; then
     5889  ac_cv_type_signal=void
    62965890else
    62975891  echo "$as_me: failed program was:" >&5
    62985892sed 's/^/| /' conftest.$ac_ext >&5
    62995893
    6300     ac_cv_type_signal=void
    6301 fi
    6302 
    6303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6304 fi
    6305 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    6306 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
     5894ac_cv_type_signal=int
     5895fi
     5896rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5897fi
     5898echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     5899echo "${ECHO_T}$ac_cv_type_signal" >&6
    63075900
    63085901cat >>confdefs.h <<_ACEOF
     
    63155908do
    63165909as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     5910echo "$as_me:$LINENO: checking for $ac_func" >&5
     5911echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     5912if eval "test \"\${$as_ac_var+set}\" = set"; then
    63205913  echo $ECHO_N "(cached) $ECHO_C" >&6
    63215914else
     
    63435936#undef $ac_func
    63445937
    6345 /* Override any GCC internal prototype to avoid an error.
    6346    Use char because int might match the return type of a GCC
    6347    builtin and then its argument prototype would still apply.  */
     5938/* Override any gcc2 internal prototype to avoid an error.  */
    63485939#ifdef __cplusplus
    63495940extern "C"
     5941{
    63505942#endif
     5943/* We use char because int might match the return type of a gcc2
     5944   builtin and then its argument prototype would still apply.  */
    63515945char $ac_func ();
    63525946/* The GNU C library defines this for functions which it implements
    63535947    to always fail with ENOSYS.  Some functions are actually named
    63545948    something starting with __ and the normal name is an alias.  */
    6355 #if defined __stub_$ac_func || defined __stub___$ac_func
     5949#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    63565950choke me
     5951#else
     5952char (*f) () = $ac_func;
     5953#endif
     5954#ifdef __cplusplus
     5955}
    63575956#endif
    63585957
     
    63605959main ()
    63615960{
    6362 return $ac_func ();
     5961return f != $ac_func;
    63635962  ;
    63645963  return 0;
     
    63665965_ACEOF
    63675966rm -f conftest.$ac_objext conftest$ac_exeext
    6368 if { (ac_try="$ac_link"
    6369 case "(($ac_try" in
    6370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6371   *) ac_try_echo=$ac_try;;
    6372 esac
    6373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6374   (eval "$ac_link") 2>conftest.er1
     5967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5968  (eval $ac_link) 2>conftest.er1
    63755969  ac_status=$?
    63765970  grep -v '^ *+' conftest.er1 >conftest.err
     
    63785972  cat conftest.err >&5
    63795973  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6380   (exit $ac_status); } && {
    6381      test -z "$ac_c_werror_flag" ||
    6382      test ! -s conftest.err
    6383        } && test -s conftest$ac_exeext &&
    6384        $as_test_x conftest$ac_exeext; then
     5974  (exit $ac_status); } &&
     5975     { ac_try='test -z "$ac_c_werror_flag"
     5976             || test ! -s conftest.err'
     5977  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5978  (eval $ac_try) 2>&5
     5979  ac_status=$?
     5980  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5981  (exit $ac_status); }; } &&
     5982     { ac_try='test -s conftest$ac_exeext'
     5983  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5984  (eval $ac_try) 2>&5
     5985  ac_status=$?
     5986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5987  (exit $ac_status); }; }; then
    63855988  eval "$as_ac_var=yes"
    63865989else
     
    63885991sed 's/^/| /' conftest.$ac_ext >&5
    63895992
    6390     eval "$as_ac_var=no"
    6391 fi
    6392 
    6393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5993eval "$as_ac_var=no"
     5994fi
     5995rm -f conftest.err conftest.$ac_objext \
    63945996      conftest$ac_exeext conftest.$ac_ext
    63955997fi
    6396 ac_res=`eval echo '${'$as_ac_var'}'`
    6397            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6398 echo "${ECHO_T}$ac_res" >&6; }
     5998echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     5999echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    63996000if test `eval echo '${'$as_ac_var'}'` = yes; then
    64006001  cat >>confdefs.h <<_ACEOF
     
    64026003_ACEOF
    64036004
    6404 { echo "$as_me:$LINENO: checking for _doprnt" >&5
    6405 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
     6005echo "$as_me:$LINENO: checking for _doprnt" >&5
     6006echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
    64066007if test "${ac_cv_func__doprnt+set}" = set; then
    64076008  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    64306031#undef _doprnt
    64316032
    6432 /* Override any GCC internal prototype to avoid an error.
    6433    Use char because int might match the return type of a GCC
    6434    builtin and then its argument prototype would still apply.  */
     6033/* Override any gcc2 internal prototype to avoid an error.  */
    64356034#ifdef __cplusplus
    64366035extern "C"
     6036{
    64376037#endif
     6038/* We use char because int might match the return type of a gcc2
     6039   builtin and then its argument prototype would still apply.  */
    64386040char _doprnt ();
    64396041/* The GNU C library defines this for functions which it implements
    64406042    to always fail with ENOSYS.  Some functions are actually named
    64416043    something starting with __ and the normal name is an alias.  */
    6442 #if defined __stub__doprnt || defined __stub____doprnt
     6044#if defined (__stub__doprnt) || defined (__stub____doprnt)
    64436045choke me
     6046#else
     6047char (*f) () = _doprnt;
     6048#endif
     6049#ifdef __cplusplus
     6050}
    64446051#endif
    64456052
     
    64476054main ()
    64486055{
    6449 return _doprnt ();
     6056return f != _doprnt;
    64506057  ;
    64516058  return 0;
     
    64536060_ACEOF
    64546061rm -f conftest.$ac_objext conftest$ac_exeext
    6455 if { (ac_try="$ac_link"
    6456 case "(($ac_try" in
    6457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6458   *) ac_try_echo=$ac_try;;
    6459 esac
    6460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6461   (eval "$ac_link") 2>conftest.er1
     6062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6063  (eval $ac_link) 2>conftest.er1
    64626064  ac_status=$?
    64636065  grep -v '^ *+' conftest.er1 >conftest.err
     
    64656067  cat conftest.err >&5
    64666068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6467   (exit $ac_status); } && {
    6468      test -z "$ac_c_werror_flag" ||
    6469      test ! -s conftest.err
    6470        } && test -s conftest$ac_exeext &&
    6471        $as_test_x conftest$ac_exeext; then
     6069  (exit $ac_status); } &&
     6070     { ac_try='test -z "$ac_c_werror_flag"
     6071             || test ! -s conftest.err'
     6072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6073  (eval $ac_try) 2>&5
     6074  ac_status=$?
     6075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6076  (exit $ac_status); }; } &&
     6077     { ac_try='test -s conftest$ac_exeext'
     6078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6079  (eval $ac_try) 2>&5
     6080  ac_status=$?
     6081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6082  (exit $ac_status); }; }; then
    64726083  ac_cv_func__doprnt=yes
    64736084else
     
    64756086sed 's/^/| /' conftest.$ac_ext >&5
    64766087
    6477     ac_cv_func__doprnt=no
    6478 fi
    6479 
    6480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6088ac_cv_func__doprnt=no
     6089fi
     6090rm -f conftest.err conftest.$ac_objext \
    64816091      conftest$ac_exeext conftest.$ac_ext
    64826092fi
    6483 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6484 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
     6093echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6094echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    64856095if test $ac_cv_func__doprnt = yes; then
    64866096
     
    65086118do
    65096119as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     6120echo "$as_me:$LINENO: checking for $ac_func" >&5
     6121echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6122if eval "test \"\${$as_ac_var+set}\" = set"; then
    65136123  echo $ECHO_N "(cached) $ECHO_C" >&6
    65146124else
     
    65366146#undef $ac_func
    65376147
    6538 /* Override any GCC internal prototype to avoid an error.
    6539    Use char because int might match the return type of a GCC
    6540    builtin and then its argument prototype would still apply.  */
     6148/* Override any gcc2 internal prototype to avoid an error.  */
    65416149#ifdef __cplusplus
    65426150extern "C"
     6151{
    65436152#endif
     6153/* We use char because int might match the return type of a gcc2
     6154   builtin and then its argument prototype would still apply.  */
    65446155char $ac_func ();
    65456156/* The GNU C library defines this for functions which it implements
    65466157    to always fail with ENOSYS.  Some functions are actually named
    65476158    something starting with __ and the normal name is an alias.  */
    6548 #if defined __stub_$ac_func || defined __stub___$ac_func
     6159#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    65496160choke me
     6161#else
     6162char (*f) () = $ac_func;
     6163#endif
     6164#ifdef __cplusplus
     6165}
    65506166#endif
    65516167
     
    65536169main ()
    65546170{
    6555 return $ac_func ();
     6171return f != $ac_func;
    65566172  ;
    65576173  return 0;
     
    65596175_ACEOF
    65606176rm -f conftest.$ac_objext conftest$ac_exeext
    6561 if { (ac_try="$ac_link"
    6562 case "(($ac_try" in
    6563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6564   *) ac_try_echo=$ac_try;;
    6565 esac
    6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6567   (eval "$ac_link") 2>conftest.er1
     6177if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6178  (eval $ac_link) 2>conftest.er1
    65686179  ac_status=$?
    65696180  grep -v '^ *+' conftest.er1 >conftest.err
     
    65716182  cat conftest.err >&5
    65726183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6573   (exit $ac_status); } && {
    6574      test -z "$ac_c_werror_flag" ||
    6575      test ! -s conftest.err
    6576        } && test -s conftest$ac_exeext &&
    6577        $as_test_x conftest$ac_exeext; then
     6184  (exit $ac_status); } &&
     6185     { ac_try='test -z "$ac_c_werror_flag"
     6186             || test ! -s conftest.err'
     6187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6188  (eval $ac_try) 2>&5
     6189  ac_status=$?
     6190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6191  (exit $ac_status); }; } &&
     6192     { ac_try='test -s conftest$ac_exeext'
     6193  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6194  (eval $ac_try) 2>&5
     6195  ac_status=$?
     6196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6197  (exit $ac_status); }; }; then
    65786198  eval "$as_ac_var=yes"
    65796199else
     
    65816201sed 's/^/| /' conftest.$ac_ext >&5
    65826202
    6583     eval "$as_ac_var=no"
    6584 fi
    6585 
    6586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6203eval "$as_ac_var=no"
     6204fi
     6205rm -f conftest.err conftest.$ac_objext \
    65876206      conftest$ac_exeext conftest.$ac_ext
    65886207fi
    6589 ac_res=`eval echo '${'$as_ac_var'}'`
    6590            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6591 echo "${ECHO_T}$ac_res" >&6; }
     6208echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6209echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    65926210if test `eval echo '${'$as_ac_var'}'` = yes; then
    65936211  cat >>confdefs.h <<_ACEOF
     
    66046222do
    66056223as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6606 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     6224echo "$as_me:$LINENO: checking for $ac_func" >&5
     6225echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6226if eval "test \"\${$as_ac_var+set}\" = set"; then
    66096227  echo $ECHO_N "(cached) $ECHO_C" >&6
    66106228else
     
    66326250#undef $ac_func
    66336251
    6634 /* Override any GCC internal prototype to avoid an error.
    6635    Use char because int might match the return type of a GCC
    6636    builtin and then its argument prototype would still apply.  */
     6252/* Override any gcc2 internal prototype to avoid an error.  */
    66376253#ifdef __cplusplus
    66386254extern "C"
     6255{
    66396256#endif
     6257/* We use char because int might match the return type of a gcc2
     6258   builtin and then its argument prototype would still apply.  */
    66406259char $ac_func ();
    66416260/* The GNU C library defines this for functions which it implements
    66426261    to always fail with ENOSYS.  Some functions are actually named
    66436262    something starting with __ and the normal name is an alias.  */
    6644 #if defined __stub_$ac_func || defined __stub___$ac_func
     6263#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    66456264choke me
     6265#else
     6266char (*f) () = $ac_func;
     6267#endif
     6268#ifdef __cplusplus
     6269}
    66466270#endif
    66476271
     
    66496273main ()
    66506274{
    6651 return $ac_func ();
     6275return f != $ac_func;
    66526276  ;
    66536277  return 0;
     
    66556279_ACEOF
    66566280rm -f conftest.$ac_objext conftest$ac_exeext
    6657 if { (ac_try="$ac_link"
    6658 case "(($ac_try" in
    6659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6660   *) ac_try_echo=$ac_try;;
    6661 esac
    6662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6663   (eval "$ac_link") 2>conftest.er1
     6281if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6282  (eval $ac_link) 2>conftest.er1
    66646283  ac_status=$?
    66656284  grep -v '^ *+' conftest.er1 >conftest.err
     
    66676286  cat conftest.err >&5
    66686287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6669   (exit $ac_status); } && {
    6670      test -z "$ac_c_werror_flag" ||
    6671      test ! -s conftest.err
    6672        } && test -s conftest$ac_exeext &&
    6673        $as_test_x conftest$ac_exeext; then
     6288  (exit $ac_status); } &&
     6289     { ac_try='test -z "$ac_c_werror_flag"
     6290             || test ! -s conftest.err'
     6291  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6292  (eval $ac_try) 2>&5
     6293  ac_status=$?
     6294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6295  (exit $ac_status); }; } &&
     6296     { ac_try='test -s conftest$ac_exeext'
     6297  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6298  (eval $ac_try) 2>&5
     6299  ac_status=$?
     6300  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6301  (exit $ac_status); }; }; then
    66746302  eval "$as_ac_var=yes"
    66756303else
     
    66776305sed 's/^/| /' conftest.$ac_ext >&5
    66786306
    6679     eval "$as_ac_var=no"
    6680 fi
    6681 
    6682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6307eval "$as_ac_var=no"
     6308fi
     6309rm -f conftest.err conftest.$ac_objext \
    66836310      conftest$ac_exeext conftest.$ac_ext
    66846311fi
    6685 ac_res=`eval echo '${'$as_ac_var'}'`
    6686            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6687 echo "${ECHO_T}$ac_res" >&6; }
     6312echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6313echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    66886314if test `eval echo '${'$as_ac_var'}'` = yes; then
    66896315  cat >>confdefs.h <<_ACEOF
     
    66926318
    66936319else
    6694   case " $LIBOBJS " in
     6320  case $LIBOBJS in
     6321    "$ac_func.$ac_objext"   | \
     6322  *" $ac_func.$ac_objext"   | \
     6323    "$ac_func.$ac_objext "* | \
    66956324  *" $ac_func.$ac_objext "* ) ;;
    6696   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
    6697  ;;
     6325  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
    66986326esac
    66996327
     
    67046332
    67056333
    6706 { echo "$as_me:$LINENO: checking for textdomain" >&5
    6707 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
     6334echo "$as_me:$LINENO: checking for textdomain" >&5
     6335echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
    67086336if test "${ac_cv_func_textdomain+set}" = set; then
    67096337  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    67326360#undef textdomain
    67336361
    6734 /* Override any GCC internal prototype to avoid an error.
    6735    Use char because int might match the return type of a GCC
    6736    builtin and then its argument prototype would still apply.  */
     6362/* Override any gcc2 internal prototype to avoid an error.  */
    67376363#ifdef __cplusplus
    67386364extern "C"
     6365{
    67396366#endif
     6367/* We use char because int might match the return type of a gcc2
     6368   builtin and then its argument prototype would still apply.  */
    67406369char textdomain ();
    67416370/* The GNU C library defines this for functions which it implements
    67426371    to always fail with ENOSYS.  Some functions are actually named
    67436372    something starting with __ and the normal name is an alias.  */
    6744 #if defined __stub_textdomain || defined __stub___textdomain
     6373#if defined (__stub_textdomain) || defined (__stub___textdomain)
    67456374choke me
     6375#else
     6376char (*f) () = textdomain;
     6377#endif
     6378#ifdef __cplusplus
     6379}
    67466380#endif
    67476381
     
    67496383main ()
    67506384{
    6751 return textdomain ();
     6385return f != textdomain;
    67526386  ;
    67536387  return 0;
     
    67556389_ACEOF
    67566390rm -f conftest.$ac_objext conftest$ac_exeext
    6757 if { (ac_try="$ac_link"
    6758 case "(($ac_try" in
    6759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6760   *) ac_try_echo=$ac_try;;
    6761 esac
    6762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6763   (eval "$ac_link") 2>conftest.er1
     6391if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6392  (eval $ac_link) 2>conftest.er1
    67646393  ac_status=$?
    67656394  grep -v '^ *+' conftest.er1 >conftest.err
     
    67676396  cat conftest.err >&5
    67686397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6769   (exit $ac_status); } && {
    6770      test -z "$ac_c_werror_flag" ||
    6771      test ! -s conftest.err
    6772        } && test -s conftest$ac_exeext &&
    6773        $as_test_x conftest$ac_exeext; then
     6398  (exit $ac_status); } &&
     6399     { ac_try='test -z "$ac_c_werror_flag"
     6400             || test ! -s conftest.err'
     6401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6402  (eval $ac_try) 2>&5
     6403  ac_status=$?
     6404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6405  (exit $ac_status); }; } &&
     6406     { ac_try='test -s conftest$ac_exeext'
     6407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6408  (eval $ac_try) 2>&5
     6409  ac_status=$?
     6410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6411  (exit $ac_status); }; }; then
    67746412  ac_cv_func_textdomain=yes
    67756413else
     
    67776415sed 's/^/| /' conftest.$ac_ext >&5
    67786416
    6779     ac_cv_func_textdomain=no
    6780 fi
    6781 
    6782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6417ac_cv_func_textdomain=no
     6418fi
     6419rm -f conftest.err conftest.$ac_objext \
    67836420      conftest$ac_exeext conftest.$ac_ext
    67846421fi
    6785 { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6786 echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
     6422echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     6423echo "${ECHO_T}$ac_cv_func_textdomain" >&6
    67876424if test $ac_cv_func_textdomain = yes; then
    67886425  cat >>confdefs.h <<\_ACEOF
     
    67966433# a non-standard Path
    67976434# is there a better way to do this??
    6798 { echo "$as_me:$LINENO: checking for OS to set JNI options" >&5
    6799 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6; }
     6435echo "$as_me:$LINENO: checking for OS to set JNI options" >&5
     6436echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6
    68006437# set defaults
    68016438JNIINC=""
     
    68046441
    68056442if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6806   { echo "$as_me:$LINENO: result: Darwin" >&5
    6807 echo "${ECHO_T}Darwin" >&6; }
     6443  echo "$as_me:$LINENO: result: Darwin" >&5
     6444echo "${ECHO_T}Darwin" >&6
    68086445  JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
    68096446  JNISUFFIX="jnilib"
     
    68116448fi
    68126449if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
    6813   { echo "$as_me:$LINENO: result: Solaris" >&5
    6814 echo "${ECHO_T}Solaris" >&6; }
     6450  echo "$as_me:$LINENO: result: Solaris" >&5
     6451echo "${ECHO_T}Solaris" >&6
    68156452  JNIINC="-I\$(JAVA_HOME)/include/solaris "
    68166453fi
    68176454if test "`(uname -s) 2> /dev/null`" = 'Linux'; then
    6818   { echo "$as_me:$LINENO: result: Linux" >&5
    6819 echo "${ECHO_T}Linux" >&6; }
     6455  echo "$as_me:$LINENO: result: Linux" >&5
     6456echo "${ECHO_T}Linux" >&6
    68206457  JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include "
    68216458fi
     
    68276464# *** Custom checking (based on GNU tar configure.in) ***
    68286465# ---------------------------------------------------------------------------
    6829 { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6830 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
     6466echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     6467echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
    68316468if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6832   { echo "$as_me:$LINENO: result: yes" >&5
    6833 echo "${ECHO_T}yes" >&6; }
    6834   case " $LIBOBJS " in
     6469  echo "$as_me:$LINENO: result: yes" >&5
     6470echo "${ECHO_T}yes" >&6
     6471  case $LIBOBJS in
     6472    "gmalloc.$ac_objext"   | \
     6473  *" gmalloc.$ac_objext"   | \
     6474    "gmalloc.$ac_objext "* | \
    68356475  *" gmalloc.$ac_objext "* ) ;;
    6836   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
    6837  ;;
     6476  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
    68386477esac
    68396478
     
    68436482
    68446483else
    6845   { echo "$as_me:$LINENO: result: no" >&5
    6846 echo "${ECHO_T}no" >&6; }
     6484  echo "$as_me:$LINENO: result: no" >&5
     6485echo "${ECHO_T}no" >&6
    68476486
    68486487for ac_func in valloc
    68496488do
    68506489as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     6490echo "$as_me:$LINENO: checking for $ac_func" >&5
     6491echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6492if eval "test \"\${$as_ac_var+set}\" = set"; then
    68546493  echo $ECHO_N "(cached) $ECHO_C" >&6
    68556494else
     
    68776516#undef $ac_func
    68786517
    6879 /* Override any GCC internal prototype to avoid an error.
    6880    Use char because int might match the return type of a GCC
    6881    builtin and then its argument prototype would still apply.  */
     6518/* Override any gcc2 internal prototype to avoid an error.  */
    68826519#ifdef __cplusplus
    68836520extern "C"
     6521{
    68846522#endif
     6523/* We use char because int might match the return type of a gcc2
     6524   builtin and then its argument prototype would still apply.  */
    68856525char $ac_func ();
    68866526/* The GNU C library defines this for functions which it implements
    68876527    to always fail with ENOSYS.  Some functions are actually named
    68886528    something starting with __ and the normal name is an alias.  */
    6889 #if defined __stub_$ac_func || defined __stub___$ac_func
     6529#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    68906530choke me
     6531#else
     6532char (*f) () = $ac_func;
     6533#endif
     6534#ifdef __cplusplus
     6535}
    68916536#endif
    68926537
     
    68946539main ()
    68956540{
    6896 return $ac_func ();
     6541return f != $ac_func;
    68976542  ;
    68986543  return 0;
     
    69006545_ACEOF
    69016546rm -f conftest.$ac_objext conftest$ac_exeext
    6902 if { (ac_try="$ac_link"
    6903 case "(($ac_try" in
    6904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6905   *) ac_try_echo=$ac_try;;
    6906 esac
    6907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6908   (eval "$ac_link") 2>conftest.er1
     6547if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6548  (eval $ac_link) 2>conftest.er1
    69096549  ac_status=$?
    69106550  grep -v '^ *+' conftest.er1 >conftest.err
     
    69126552  cat conftest.err >&5
    69136553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6914   (exit $ac_status); } && {
    6915      test -z "$ac_c_werror_flag" ||
    6916      test ! -s conftest.err
    6917        } && test -s conftest$ac_exeext &&
    6918        $as_test_x conftest$ac_exeext; then
     6554  (exit $ac_status); } &&
     6555     { ac_try='test -z "$ac_c_werror_flag"
     6556             || test ! -s conftest.err'
     6557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6558  (eval $ac_try) 2>&5
     6559  ac_status=$?
     6560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6561  (exit $ac_status); }; } &&
     6562     { ac_try='test -s conftest$ac_exeext'
     6563  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6564  (eval $ac_try) 2>&5
     6565  ac_status=$?
     6566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6567  (exit $ac_status); }; }; then
    69196568  eval "$as_ac_var=yes"
    69206569else
     
    69226571sed 's/^/| /' conftest.$ac_ext >&5
    69236572
    6924     eval "$as_ac_var=no"
    6925 fi
    6926 
    6927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6573eval "$as_ac_var=no"
     6574fi
     6575rm -f conftest.err conftest.$ac_objext \
    69286576      conftest$ac_exeext conftest.$ac_ext
    69296577fi
    6930 ac_res=`eval echo '${'$as_ac_var'}'`
    6931            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6932 echo "${ECHO_T}$ac_res" >&6; }
     6578echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6579echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    69336580if test `eval echo '${'$as_ac_var'}'` = yes; then
    69346581  cat >>confdefs.h <<_ACEOF
     
    69416588fi
    69426589
    6943 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6944 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
    6945 
    6946 # Check whether --with-dmalloc was given.
     6590echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     6591echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
     6592
     6593# Check whether --with-dmalloc or --without-dmalloc was given.
    69476594if test "${with_dmalloc+set}" = set; then
    6948   withval=$with_dmalloc; if test "$withval" = yes; then
    6949   { echo "$as_me:$LINENO: result: yes" >&5
    6950 echo "${ECHO_T}yes" >&6; }
     6595  withval="$with_dmalloc"
     6596  if test "$withval" = yes; then
     6597  echo "$as_me:$LINENO: result: yes" >&5
     6598echo "${ECHO_T}yes" >&6
    69516599  cat >>confdefs.h <<\_ACEOF
    69526600#define WITH_DMALLOC 1
     
    69566604  LDFLAGS="$LDFLAGS -g"
    69576605else
    6958   { echo "$as_me:$LINENO: result: no" >&5
    6959 echo "${ECHO_T}no" >&6; }
    6960 fi
    6961 else
    6962   { echo "$as_me:$LINENO: result: no" >&5
    6963 echo "${ECHO_T}no" >&6; }
    6964 fi
    6965 
    6966 
    6967 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6968 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
    6969 
    6970 # Check whether --with-regex was given.
     6606  echo "$as_me:$LINENO: result: no" >&5
     6607echo "${ECHO_T}no" >&6
     6608fi
     6609else
     6610  echo "$as_me:$LINENO: result: no" >&5
     6611echo "${ECHO_T}no" >&6
     6612fi;
     6613
     6614echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     6615echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
     6616
     6617# Check whether --with-regex or --without-regex was given.
    69716618if test "${with_regex+set}" = set; then
    6972   withval=$with_regex; if test "$withval" = yes; then
     6619  withval="$with_regex"
     6620  if test "$withval" = yes; then
    69736621  ac_with_regex=1
    6974   { echo "$as_me:$LINENO: result: regex" >&5
    6975 echo "${ECHO_T}regex" >&6; }
     6622  echo "$as_me:$LINENO: result: regex" >&5
     6623echo "${ECHO_T}regex" >&6
    69766624  cat >>confdefs.h <<\_ACEOF
    69776625#define WITH_REGEX 1
    69786626_ACEOF
    69796627
    6980   case " $LIBOBJS " in
     6628  case $LIBOBJS in
     6629    "regex.$ac_objext"   | \
     6630  *" regex.$ac_objext"   | \
     6631    "regex.$ac_objext "* | \
    69816632  *" regex.$ac_objext "* ) ;;
    6982   *) LIBOBJS="$LIBOBJS regex.$ac_objext"
    6983  ;;
     6633  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    69846634esac
    69856635
    69866636fi
    6987 fi
    6988 
     6637fi;
    69896638if test -z "$ac_with_regex"; then
    6990   { echo "$as_me:$LINENO: result: rx" >&5
    6991 echo "${ECHO_T}rx" >&6; }
    6992   { echo "$as_me:$LINENO: checking for re_rx_search" >&5
    6993 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
     6639  echo "$as_me:$LINENO: result: rx" >&5
     6640echo "${ECHO_T}rx" >&6
     6641  echo "$as_me:$LINENO: checking for re_rx_search" >&5
     6642echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
    69946643if test "${ac_cv_func_re_rx_search+set}" = set; then
    69956644  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    70186667#undef re_rx_search
    70196668
    7020 /* Override any GCC internal prototype to avoid an error.
    7021    Use char because int might match the return type of a GCC
    7022    builtin and then its argument prototype would still apply.  */
     6669/* Override any gcc2 internal prototype to avoid an error.  */
    70236670#ifdef __cplusplus
    70246671extern "C"
     6672{
    70256673#endif
     6674/* We use char because int might match the return type of a gcc2
     6675   builtin and then its argument prototype would still apply.  */
    70266676char re_rx_search ();
    70276677/* The GNU C library defines this for functions which it implements
    70286678    to always fail with ENOSYS.  Some functions are actually named
    70296679    something starting with __ and the normal name is an alias.  */
    7030 #if defined __stub_re_rx_search || defined __stub___re_rx_search
     6680#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
    70316681choke me
     6682#else
     6683char (*f) () = re_rx_search;
     6684#endif
     6685#ifdef __cplusplus
     6686}
    70326687#endif
    70336688
     
    70356690main ()
    70366691{
    7037 return re_rx_search ();
     6692return f != re_rx_search;
    70386693  ;
    70396694  return 0;
     
    70416696_ACEOF
    70426697rm -f conftest.$ac_objext conftest$ac_exeext
    7043 if { (ac_try="$ac_link"
    7044 case "(($ac_try" in
    7045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7046   *) ac_try_echo=$ac_try;;
    7047 esac
    7048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7049   (eval "$ac_link") 2>conftest.er1
     6698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6699  (eval $ac_link) 2>conftest.er1
    70506700  ac_status=$?
    70516701  grep -v '^ *+' conftest.er1 >conftest.err
     
    70536703  cat conftest.err >&5
    70546704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7055   (exit $ac_status); } && {
    7056      test -z "$ac_c_werror_flag" ||
    7057      test ! -s conftest.err
    7058        } && test -s conftest$ac_exeext &&
    7059        $as_test_x conftest$ac_exeext; then
     6705  (exit $ac_status); } &&
     6706     { ac_try='test -z "$ac_c_werror_flag"
     6707             || test ! -s conftest.err'
     6708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6709  (eval $ac_try) 2>&5
     6710  ac_status=$?
     6711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6712  (exit $ac_status); }; } &&
     6713     { ac_try='test -s conftest$ac_exeext'
     6714  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6715  (eval $ac_try) 2>&5
     6716  ac_status=$?
     6717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6718  (exit $ac_status); }; }; then
    70606719  ac_cv_func_re_rx_search=yes
    70616720else
     
    70636722sed 's/^/| /' conftest.$ac_ext >&5
    70646723
    7065     ac_cv_func_re_rx_search=no
    7066 fi
    7067 
    7068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6724ac_cv_func_re_rx_search=no
     6725fi
     6726rm -f conftest.err conftest.$ac_objext \
    70696727      conftest$ac_exeext conftest.$ac_ext
    70706728fi
    7071 { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    7072 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
     6729echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     6730echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
    70736731if test $ac_cv_func_re_rx_search = yes; then
    70746732  :
    70756733else
    7076   { echo "$as_me:$LINENO: checking for unsigned char *" >&5
    7077 echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6; }
     6734  echo "$as_me:$LINENO: checking for unsigned char *" >&5
     6735echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6
    70786736if test "${ac_cv_type_unsigned_char_p+set}" = set; then
    70796737  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    70866744/* end confdefs.h.  */
    70876745$ac_includes_default
    7088 typedef unsigned char * ac__type_new_;
    70896746int
    70906747main ()
    70916748{
    7092 if ((ac__type_new_ *) 0)
     6749if ((unsigned char * *) 0)
    70936750  return 0;
    7094 if (sizeof (ac__type_new_))
     6751if (sizeof (unsigned char *))
    70956752  return 0;
    70966753  ;
     
    70996756_ACEOF
    71006757rm -f conftest.$ac_objext
    7101 if { (ac_try="$ac_compile"
    7102 case "(($ac_try" in
    7103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7104   *) ac_try_echo=$ac_try;;
    7105 esac
    7106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7107   (eval "$ac_compile") 2>conftest.er1
     6758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6759  (eval $ac_compile) 2>conftest.er1
    71086760  ac_status=$?
    71096761  grep -v '^ *+' conftest.er1 >conftest.err
     
    71116763  cat conftest.err >&5
    71126764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7113   (exit $ac_status); } && {
    7114      test -z "$ac_c_werror_flag" ||
    7115      test ! -s conftest.err
    7116        } && test -s conftest.$ac_objext; then
     6765  (exit $ac_status); } &&
     6766     { ac_try='test -z "$ac_c_werror_flag"
     6767             || test ! -s conftest.err'
     6768  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6769  (eval $ac_try) 2>&5
     6770  ac_status=$?
     6771  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6772  (exit $ac_status); }; } &&
     6773     { ac_try='test -s conftest.$ac_objext'
     6774  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6775  (eval $ac_try) 2>&5
     6776  ac_status=$?
     6777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6778  (exit $ac_status); }; }; then
    71176779  ac_cv_type_unsigned_char_p=yes
    71186780else
     
    71206782sed 's/^/| /' conftest.$ac_ext >&5
    71216783
    7122     ac_cv_type_unsigned_char_p=no
    7123 fi
    7124 
    7125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7126 fi
    7127 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5
    7128 echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6; }
    7129 
    7130 # The cast to long int works around a bug in the HP C Compiler
    7131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    7132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    7133 # This bug is HP SR number 8606223364.
    7134 { echo "$as_me:$LINENO: checking size of unsigned char *" >&5
    7135 echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6; }
     6784ac_cv_type_unsigned_char_p=no
     6785fi
     6786rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6787fi
     6788echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5
     6789echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6
     6790
     6791echo "$as_me:$LINENO: checking size of unsigned char *" >&5
     6792echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6
    71366793if test "${ac_cv_sizeof_unsigned_char_p+set}" = set; then
    71376794  echo $ECHO_N "(cached) $ECHO_C" >&6
    71386795else
     6796  if test "$ac_cv_type_unsigned_char_p" = yes; then
     6797  # The cast to unsigned long works around a bug in the HP C Compiler
     6798  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     6799  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     6800  # This bug is HP SR number 8606223364.
    71396801  if test "$cross_compiling" = yes; then
    71406802  # Depending upon the size, compute the lo and hi bounds.
     
    71466808/* end confdefs.h.  */
    71476809$ac_includes_default
    7148    typedef unsigned char * ac__type_sizeof_;
    71496810int
    71506811main ()
    71516812{
    7152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
     6813static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= 0)];
    71536814test_array [0] = 0
    71546815
     
    71586819_ACEOF
    71596820rm -f conftest.$ac_objext
    7160 if { (ac_try="$ac_compile"
    7161 case "(($ac_try" in
    7162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7163   *) ac_try_echo=$ac_try;;
    7164 esac
    7165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7166   (eval "$ac_compile") 2>conftest.er1
     6821if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6822  (eval $ac_compile) 2>conftest.er1
    71676823  ac_status=$?
    71686824  grep -v '^ *+' conftest.er1 >conftest.err
     
    71706826  cat conftest.err >&5
    71716827  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7172   (exit $ac_status); } && {
    7173      test -z "$ac_c_werror_flag" ||
    7174      test ! -s conftest.err
    7175        } && test -s conftest.$ac_objext; then
     6828  (exit $ac_status); } &&
     6829     { ac_try='test -z "$ac_c_werror_flag"
     6830             || test ! -s conftest.err'
     6831  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6832  (eval $ac_try) 2>&5
     6833  ac_status=$?
     6834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6835  (exit $ac_status); }; } &&
     6836     { ac_try='test -s conftest.$ac_objext'
     6837  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6838  (eval $ac_try) 2>&5
     6839  ac_status=$?
     6840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6841  (exit $ac_status); }; }; then
    71766842  ac_lo=0 ac_mid=0
    71776843  while :; do
     
    71836849/* end confdefs.h.  */
    71846850$ac_includes_default
    7185    typedef unsigned char * ac__type_sizeof_;
    71866851int
    71876852main ()
    71886853{
    7189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
     6854static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)];
    71906855test_array [0] = 0
    71916856
     
    71956860_ACEOF
    71966861rm -f conftest.$ac_objext
    7197 if { (ac_try="$ac_compile"
    7198 case "(($ac_try" in
    7199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7200   *) ac_try_echo=$ac_try;;
    7201 esac
    7202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7203   (eval "$ac_compile") 2>conftest.er1
     6862if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6863  (eval $ac_compile) 2>conftest.er1
    72046864  ac_status=$?
    72056865  grep -v '^ *+' conftest.er1 >conftest.err
     
    72076867  cat conftest.err >&5
    72086868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7209   (exit $ac_status); } && {
    7210      test -z "$ac_c_werror_flag" ||
    7211      test ! -s conftest.err
    7212        } && test -s conftest.$ac_objext; then
     6869  (exit $ac_status); } &&
     6870     { ac_try='test -z "$ac_c_werror_flag"
     6871             || test ! -s conftest.err'
     6872  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6873  (eval $ac_try) 2>&5
     6874  ac_status=$?
     6875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6876  (exit $ac_status); }; } &&
     6877     { ac_try='test -s conftest.$ac_objext'
     6878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6879  (eval $ac_try) 2>&5
     6880  ac_status=$?
     6881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6882  (exit $ac_status); }; }; then
    72136883  ac_hi=$ac_mid; break
    72146884else
     
    72166886sed 's/^/| /' conftest.$ac_ext >&5
    72176887
    7218     ac_lo=`expr $ac_mid + 1`
    7219             if test $ac_lo -le $ac_mid; then
    7220               ac_lo= ac_hi=
    7221               break
    7222             fi
    7223             ac_mid=`expr 2 '*' $ac_mid + 1`
    7224 fi
    7225 
    7226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6888ac_lo=`expr $ac_mid + 1`
     6889            if test $ac_lo -le $ac_mid; then
     6890              ac_lo= ac_hi=
     6891              break
     6892            fi
     6893            ac_mid=`expr 2 '*' $ac_mid + 1`
     6894fi
     6895rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    72276896  done
    72286897else
     
    72306899sed 's/^/| /' conftest.$ac_ext >&5
    72316900
    7232     cat >conftest.$ac_ext <<_ACEOF
     6901cat >conftest.$ac_ext <<_ACEOF
    72336902/* confdefs.h.  */
    72346903_ACEOF
     
    72376906/* end confdefs.h.  */
    72386907$ac_includes_default
    7239    typedef unsigned char * ac__type_sizeof_;
    72406908int
    72416909main ()
    72426910{
    7243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
     6911static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) < 0)];
    72446912test_array [0] = 0
    72456913
     
    72496917_ACEOF
    72506918rm -f conftest.$ac_objext
    7251 if { (ac_try="$ac_compile"
    7252 case "(($ac_try" in
    7253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7254   *) ac_try_echo=$ac_try;;
    7255 esac
    7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7257   (eval "$ac_compile") 2>conftest.er1
     6919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6920  (eval $ac_compile) 2>conftest.er1
    72586921  ac_status=$?
    72596922  grep -v '^ *+' conftest.er1 >conftest.err
     
    72616924  cat conftest.err >&5
    72626925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7263   (exit $ac_status); } && {
    7264      test -z "$ac_c_werror_flag" ||
    7265      test ! -s conftest.err
    7266        } && test -s conftest.$ac_objext; then
     6926  (exit $ac_status); } &&
     6927     { ac_try='test -z "$ac_c_werror_flag"
     6928             || test ! -s conftest.err'
     6929  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6930  (eval $ac_try) 2>&5
     6931  ac_status=$?
     6932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6933  (exit $ac_status); }; } &&
     6934     { ac_try='test -s conftest.$ac_objext'
     6935  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6936  (eval $ac_try) 2>&5
     6937  ac_status=$?
     6938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6939  (exit $ac_status); }; }; then
    72676940  ac_hi=-1 ac_mid=-1
    72686941  while :; do
     
    72746947/* end confdefs.h.  */
    72756948$ac_includes_default
    7276    typedef unsigned char * ac__type_sizeof_;
    72776949int
    72786950main ()
    72796951{
    7280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
     6952static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= $ac_mid)];
    72816953test_array [0] = 0
    72826954
     
    72866958_ACEOF
    72876959rm -f conftest.$ac_objext
    7288 if { (ac_try="$ac_compile"
    7289 case "(($ac_try" in
    7290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7291   *) ac_try_echo=$ac_try;;
    7292 esac
    7293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7294   (eval "$ac_compile") 2>conftest.er1
     6960if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6961  (eval $ac_compile) 2>conftest.er1
    72956962  ac_status=$?
    72966963  grep -v '^ *+' conftest.er1 >conftest.err
     
    72986965  cat conftest.err >&5
    72996966  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7300   (exit $ac_status); } && {
    7301      test -z "$ac_c_werror_flag" ||
    7302      test ! -s conftest.err
    7303        } && test -s conftest.$ac_objext; then
     6967  (exit $ac_status); } &&
     6968     { ac_try='test -z "$ac_c_werror_flag"
     6969             || test ! -s conftest.err'
     6970  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6971  (eval $ac_try) 2>&5
     6972  ac_status=$?
     6973  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6974  (exit $ac_status); }; } &&
     6975     { ac_try='test -s conftest.$ac_objext'
     6976  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6977  (eval $ac_try) 2>&5
     6978  ac_status=$?
     6979  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6980  (exit $ac_status); }; }; then
    73046981  ac_lo=$ac_mid; break
    73056982else
     
    73076984sed 's/^/| /' conftest.$ac_ext >&5
    73086985
    7309     ac_hi=`expr '(' $ac_mid ')' - 1`
    7310             if test $ac_mid -le $ac_hi; then
    7311               ac_lo= ac_hi=
    7312               break
    7313             fi
    7314             ac_mid=`expr 2 '*' $ac_mid`
    7315 fi
    7316 
    7317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6986ac_hi=`expr '(' $ac_mid ')' - 1`
     6987               if test $ac_mid -le $ac_hi; then
     6988             ac_lo= ac_hi=
     6989             break
     6990               fi
     6991               ac_mid=`expr 2 '*' $ac_mid`
     6992fi
     6993rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    73186994  done
    73196995else
     
    73216997sed 's/^/| /' conftest.$ac_ext >&5
    73226998
    7323     ac_lo= ac_hi=
    7324 fi
    7325 
    7326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7327 fi
    7328 
    7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6999ac_lo= ac_hi=
     7000fi
     7001rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7002fi
     7003rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    73307004# Binary search between lo and hi bounds.
    73317005while test "x$ac_lo" != "x$ac_hi"; do
     
    73387012/* end confdefs.h.  */
    73397013$ac_includes_default
    7340    typedef unsigned char * ac__type_sizeof_;
    73417014int
    73427015main ()
    73437016{
    7344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
     7017static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)];
    73457018test_array [0] = 0
    73467019
     
    73507023_ACEOF
    73517024rm -f conftest.$ac_objext
    7352 if { (ac_try="$ac_compile"
    7353 case "(($ac_try" in
    7354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7355   *) ac_try_echo=$ac_try;;
    7356 esac
    7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7358   (eval "$ac_compile") 2>conftest.er1
     7025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7026  (eval $ac_compile) 2>conftest.er1
    73597027  ac_status=$?
    73607028  grep -v '^ *+' conftest.er1 >conftest.err
     
    73627030  cat conftest.err >&5
    73637031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7364   (exit $ac_status); } && {
    7365      test -z "$ac_c_werror_flag" ||
    7366      test ! -s conftest.err
    7367        } && test -s conftest.$ac_objext; then
     7032  (exit $ac_status); } &&
     7033     { ac_try='test -z "$ac_c_werror_flag"
     7034             || test ! -s conftest.err'
     7035  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7036  (eval $ac_try) 2>&5
     7037  ac_status=$?
     7038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7039  (exit $ac_status); }; } &&
     7040     { ac_try='test -s conftest.$ac_objext'
     7041  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7042  (eval $ac_try) 2>&5
     7043  ac_status=$?
     7044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7045  (exit $ac_status); }; }; then
    73687046  ac_hi=$ac_mid
    73697047else
     
    73717049sed 's/^/| /' conftest.$ac_ext >&5
    73727050
    7373     ac_lo=`expr '(' $ac_mid ')' + 1`
    7374 fi
    7375 
    7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7051ac_lo=`expr '(' $ac_mid ')' + 1`
     7052fi
     7053rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    73777054done
    73787055case $ac_lo in
    73797056?*) ac_cv_sizeof_unsigned_char_p=$ac_lo;;
    7380 '') if test "$ac_cv_type_unsigned_char_p" = yes; then
    7381      { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *)
     7057'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77
    73827058See \`config.log' for more details." >&5
    7383 echo "$as_me: error: cannot compute sizeof (unsigned char *)
     7059echo "$as_me: error: cannot compute sizeof (unsigned char *), 77
    73847060See \`config.log' for more details." >&2;}
    7385    { (exit 77); exit 77; }; }
    7386    else
    7387      ac_cv_sizeof_unsigned_char_p=0
    7388    fi ;;
     7061   { (exit 1); exit 1; }; } ;;
    73897062esac
     7063else
     7064  if test "$cross_compiling" = yes; then
     7065  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
     7066See \`config.log' for more details." >&5
     7067echo "$as_me: error: cannot run test program while cross compiling
     7068See \`config.log' for more details." >&2;}
     7069   { (exit 1); exit 1; }; }
    73907070else
    73917071  cat >conftest.$ac_ext <<_ACEOF
     
    73967076/* end confdefs.h.  */
    73977077$ac_includes_default
    7398    typedef unsigned char * ac__type_sizeof_;
    7399 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
    7400 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
     7078long longval () { return (long) (sizeof (unsigned char *)); }
     7079unsigned long ulongval () { return (long) (sizeof (unsigned char *)); }
    74017080#include <stdio.h>
    74027081#include <stdlib.h>
     
    74077086  FILE *f = fopen ("conftest.val", "w");
    74087087  if (! f)
    7409     return 1;
    7410   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
     7088    exit (1);
     7089  if (((long) (sizeof (unsigned char *))) < 0)
    74117090    {
    7412       long int i = longval ();
    7413       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    7414     return 1;
     7091      long i = longval ();
     7092      if (i != ((long) (sizeof (unsigned char *))))
     7093    exit (1);
    74157094      fprintf (f, "%ld\n", i);
    74167095    }
    74177096  else
    74187097    {
    7419       unsigned long int i = ulongval ();
    7420       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    7421     return 1;
     7098      unsigned long i = ulongval ();
     7099      if (i != ((long) (sizeof (unsigned char *))))
     7100    exit (1);
    74227101      fprintf (f, "%lu\n", i);
    74237102    }
    7424   return ferror (f) || fclose (f) != 0;
     7103  exit (ferror (f) || fclose (f) != 0);
    74257104
    74267105  ;
     
    74297108_ACEOF
    74307109rm -f conftest$ac_exeext
    7431 if { (ac_try="$ac_link"
    7432 case "(($ac_try" in
    7433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7434   *) ac_try_echo=$ac_try;;
    7435 esac
    7436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7437   (eval "$ac_link") 2>&5
     7110if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7111  (eval $ac_link) 2>&5
    74387112  ac_status=$?
    74397113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    74407114  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7441   { (case "(($ac_try" in
    7442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7443   *) ac_try_echo=$ac_try;;
    7444 esac
    7445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7446   (eval "$ac_try") 2>&5
     7115  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7116  (eval $ac_try) 2>&5
    74477117  ac_status=$?
    74487118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    74557125
    74567126( exit $ac_status )
    7457 if test "$ac_cv_type_unsigned_char_p" = yes; then
    7458      { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *)
     7127{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77
    74597128See \`config.log' for more details." >&5
    7460 echo "$as_me: error: cannot compute sizeof (unsigned char *)
     7129echo "$as_me: error: cannot compute sizeof (unsigned char *), 77
    74617130See \`config.log' for more details." >&2;}
    7462    { (exit 77); exit 77; }; }
    7463    else
    7464      ac_cv_sizeof_unsigned_char_p=0
    7465    fi
    7466 fi
    7467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7131   { (exit 1); exit 1; }; }
     7132fi
     7133rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7134fi
    74687135fi
    74697136rm -f conftest.val
    7470 fi
    7471 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5
    7472 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6; }
    7473 
    7474 
    7475 
     7137else
     7138  ac_cv_sizeof_unsigned_char_p=0
     7139fi
     7140fi
     7141echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5
     7142echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6
    74767143cat >>confdefs.h <<_ACEOF
    74777144#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
     
    74877154        find a local rx library and the one included with this
    74887155        distribution doesn't work on 64-bit machines like yours" >&2;}
    7489       case " $LIBOBJS " in
     7156      case $LIBOBJS in
     7157    "regex.$ac_objext"   | \
     7158  *" regex.$ac_objext"   | \
     7159    "regex.$ac_objext "* | \
    74907160  *" regex.$ac_objext "* ) ;;
    7491   *) LIBOBJS="$LIBOBJS regex.$ac_objext"
    7492  ;;
     7161  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    74937162esac
    74947163
    74957164    else
    7496       case " $LIBOBJS " in
     7165      case $LIBOBJS in
     7166    "rx.$ac_objext"   | \
     7167  *" rx.$ac_objext"   | \
     7168    "rx.$ac_objext "* | \
    74977169  *" rx.$ac_objext "* ) ;;
    7498   *) LIBOBJS="$LIBOBJS rx.$ac_objext"
    7499  ;;
     7170  *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
    75007171esac
    75017172
     
    75067177fi
    75077178
    7508 { echo "$as_me:$LINENO: checking whether GNU readline requested" >&5
    7509 echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6; }
    7510 
    7511 # Check whether --with-gnu_readline was given.
     7179echo "$as_me:$LINENO: checking whether GNU readline requested" >&5
     7180echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6
     7181
     7182# Check whether --with-gnu_readline or --without-gnu_readline was given.
    75127183if test "${with_gnu_readline+set}" = set; then
    7513   withval=$with_gnu_readline; if test "$withval" = yes; then
    7514       { echo "$as_me:$LINENO: result: yes" >&5
    7515 echo "${ECHO_T}yes" >&6; }
     7184  withval="$with_gnu_readline"
     7185  if test "$withval" = yes; then
     7186      echo "$as_me:$LINENO: result: yes" >&5
     7187echo "${ECHO_T}yes" >&6
    75167188      ac_with_gnu_readline=1
    75177189    else
    7518       { echo "$as_me:$LINENO: result: no" >&5
    7519 echo "${ECHO_T}no" >&6; }
     7190      echo "$as_me:$LINENO: result: no" >&5
     7191echo "${ECHO_T}no" >&6
    75207192    fi
    75217193else
    7522   { echo "$as_me:$LINENO: result: no" >&5
    7523 echo "${ECHO_T}no" >&6; }
    7524 fi
    7525 
     7194  echo "$as_me:$LINENO: result: no" >&5
     7195echo "${ECHO_T}no" >&6
     7196fi;
    75267197
    75277198  if test -n "$ac_with_gnu_readline"; then
    75287199    if test "${ac_cv_header_readline_readline_h+set}" = set; then
    7529   { echo "$as_me:$LINENO: checking for readline/readline.h" >&5
    7530 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
     7200  echo "$as_me:$LINENO: checking for readline/readline.h" >&5
     7201echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
    75317202if test "${ac_cv_header_readline_readline_h+set}" = set; then
    75327203  echo $ECHO_N "(cached) $ECHO_C" >&6
    75337204fi
    7534 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
    7535 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
     7205echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
     7206echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
    75367207else
    75377208  # Is the header compilable?
    7538 { echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
    7539 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6; }
     7209echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
     7210echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6
    75407211cat >conftest.$ac_ext <<_ACEOF
    75417212/* confdefs.h.  */
     
    75487219_ACEOF
    75497220rm -f conftest.$ac_objext
    7550 if { (ac_try="$ac_compile"
    7551 case "(($ac_try" in
    7552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7553   *) ac_try_echo=$ac_try;;
    7554 esac
    7555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7556   (eval "$ac_compile") 2>conftest.er1
     7221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7222  (eval $ac_compile) 2>conftest.er1
    75577223  ac_status=$?
    75587224  grep -v '^ *+' conftest.er1 >conftest.err
     
    75607226  cat conftest.err >&5
    75617227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7562   (exit $ac_status); } && {
    7563      test -z "$ac_c_werror_flag" ||
    7564      test ! -s conftest.err
    7565        } && test -s conftest.$ac_objext; then
     7228  (exit $ac_status); } &&
     7229     { ac_try='test -z "$ac_c_werror_flag"
     7230             || test ! -s conftest.err'
     7231  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7232  (eval $ac_try) 2>&5
     7233  ac_status=$?
     7234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7235  (exit $ac_status); }; } &&
     7236     { ac_try='test -s conftest.$ac_objext'
     7237  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7238  (eval $ac_try) 2>&5
     7239  ac_status=$?
     7240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7241  (exit $ac_status); }; }; then
    75667242  ac_header_compiler=yes
    75677243else
     
    75697245sed 's/^/| /' conftest.$ac_ext >&5
    75707246
    7571     ac_header_compiler=no
    7572 fi
    7573 
    7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7575 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7576 echo "${ECHO_T}$ac_header_compiler" >&6; }
     7247ac_header_compiler=no
     7248fi
     7249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7250echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7251echo "${ECHO_T}$ac_header_compiler" >&6
    75777252
    75787253# Is the header present?
    7579 { echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
    7580 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6; }
     7254echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
     7255echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6
    75817256cat >conftest.$ac_ext <<_ACEOF
    75827257/* confdefs.h.  */
     
    75877262#include <readline/readline.h>
    75887263_ACEOF
    7589 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7590 case "(($ac_try" in
    7591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7592   *) ac_try_echo=$ac_try;;
    7593 esac
    7594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7595   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7264if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     7265  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    75967266  ac_status=$?
    75977267  grep -v '^ *+' conftest.er1 >conftest.err
     
    75997269  cat conftest.err >&5
    76007270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7601   (exit $ac_status); } >/dev/null && {
    7602      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7603      test ! -s conftest.err
    7604        }; then
     7271  (exit $ac_status); } >/dev/null; then
     7272  if test -s conftest.err; then
     7273    ac_cpp_err=$ac_c_preproc_warn_flag
     7274    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     7275  else
     7276    ac_cpp_err=
     7277  fi
     7278else
     7279  ac_cpp_err=yes
     7280fi
     7281if test -z "$ac_cpp_err"; then
    76057282  ac_header_preproc=yes
    76067283else
     
    76107287  ac_header_preproc=no
    76117288fi
    7612 
    76137289rm -f conftest.err conftest.$ac_ext
    7614 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7615 echo "${ECHO_T}$ac_header_preproc" >&6; }
     7290echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7291echo "${ECHO_T}$ac_header_preproc" >&6
    76167292
    76177293# So?  What about this header?
     
    76377313    { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
    76387314echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
    7639 
     7315    (
     7316      cat <<\_ASBOX
     7317## ------------------------------------------ ##
     7318## Report this to the AC_PACKAGE_NAME lists.  ##
     7319## ------------------------------------------ ##
     7320_ASBOX
     7321    ) |
     7322      sed "s/^/$as_me: WARNING:     /" >&2
    76407323    ;;
    76417324esac
    7642 { echo "$as_me:$LINENO: checking for readline/readline.h" >&5
    7643 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
     7325echo "$as_me:$LINENO: checking for readline/readline.h" >&5
     7326echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
    76447327if test "${ac_cv_header_readline_readline_h+set}" = set; then
    76457328  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    76477330  ac_cv_header_readline_readline_h=$ac_header_preproc
    76487331fi
    7649 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
    7650 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
     7332echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
     7333echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
    76517334
    76527335fi
     
    76637346    if test -n "$ac_mg_readline_header_found"; then
    76647347      # first check whether we can find the readline library itself
    7665       { echo "$as_me:$LINENO: checking for main in -lreadline" >&5
    7666 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6; }
     7348      echo "$as_me:$LINENO: checking for main in -lreadline" >&5
     7349echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6
    76677350if test "${ac_cv_lib_readline_main+set}" = set; then
    76687351  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    76817364main ()
    76827365{
    7683 return main ();
     7366main ();
    76847367  ;
    76857368  return 0;
     
    76877370_ACEOF
    76887371rm -f conftest.$ac_objext conftest$ac_exeext
    7689 if { (ac_try="$ac_link"
    7690 case "(($ac_try" in
    7691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7692   *) ac_try_echo=$ac_try;;
    7693 esac
    7694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7695   (eval "$ac_link") 2>conftest.er1
     7372if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7373  (eval $ac_link) 2>conftest.er1
    76967374  ac_status=$?
    76977375  grep -v '^ *+' conftest.er1 >conftest.err
     
    76997377  cat conftest.err >&5
    77007378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7701   (exit $ac_status); } && {
    7702      test -z "$ac_c_werror_flag" ||
    7703      test ! -s conftest.err
    7704        } && test -s conftest$ac_exeext &&
    7705        $as_test_x conftest$ac_exeext; then
     7379  (exit $ac_status); } &&
     7380     { ac_try='test -z "$ac_c_werror_flag"
     7381             || test ! -s conftest.err'
     7382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7383  (eval $ac_try) 2>&5
     7384  ac_status=$?
     7385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7386  (exit $ac_status); }; } &&
     7387     { ac_try='test -s conftest$ac_exeext'
     7388  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7389  (eval $ac_try) 2>&5
     7390  ac_status=$?
     7391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7392  (exit $ac_status); }; }; then
    77067393  ac_cv_lib_readline_main=yes
    77077394else
     
    77097396sed 's/^/| /' conftest.$ac_ext >&5
    77107397
    7711     ac_cv_lib_readline_main=no
    7712 fi
    7713 
    7714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     7398ac_cv_lib_readline_main=no
     7399fi
     7400rm -f conftest.err conftest.$ac_objext \
    77157401      conftest$ac_exeext conftest.$ac_ext
    77167402LIBS=$ac_check_lib_save_LIBS
    77177403fi
    7718 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
    7719 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6; }
     7404echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
     7405echo "${ECHO_T}$ac_cv_lib_readline_main" >&6
    77207406if test $ac_cv_lib_readline_main = yes; then
    77217407  ac_mg_readline_lib_found=1
     
    77397425    #  by mg itself (e.g. xmalloc, xrealloc).  So, if we find libcurses,
    77407426    #  we just bung it on and hope for the best.
    7741     { echo "$as_me:$LINENO: checking for main in -lcurses" >&5
    7742 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6; }
     7427    echo "$as_me:$LINENO: checking for main in -lcurses" >&5
     7428echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6
    77437429if test "${ac_cv_lib_curses_main+set}" = set; then
    77447430  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    77577443main ()
    77587444{
    7759 return main ();
     7445main ();
    77607446  ;
    77617447  return 0;
     
    77637449_ACEOF
    77647450rm -f conftest.$ac_objext conftest$ac_exeext
    7765 if { (ac_try="$ac_link"
    7766 case "(($ac_try" in
    7767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7768   *) ac_try_echo=$ac_try;;
    7769 esac
    7770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7771   (eval "$ac_link") 2>conftest.er1
     7451if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7452  (eval $ac_link) 2>conftest.er1
    77727453  ac_status=$?
    77737454  grep -v '^ *+' conftest.er1 >conftest.err
     
    77757456  cat conftest.err >&5
    77767457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7777   (exit $ac_status); } && {
    7778      test -z "$ac_c_werror_flag" ||
    7779      test ! -s conftest.err
    7780        } && test -s conftest$ac_exeext &&
    7781        $as_test_x conftest$ac_exeext; then
     7458  (exit $ac_status); } &&
     7459     { ac_try='test -z "$ac_c_werror_flag"
     7460             || test ! -s conftest.err'
     7461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7462  (eval $ac_try) 2>&5
     7463  ac_status=$?
     7464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7465  (exit $ac_status); }; } &&
     7466     { ac_try='test -s conftest$ac_exeext'
     7467  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7468  (eval $ac_try) 2>&5
     7469  ac_status=$?
     7470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7471  (exit $ac_status); }; }; then
    77827472  ac_cv_lib_curses_main=yes
    77837473else
     
    77857475sed 's/^/| /' conftest.$ac_ext >&5
    77867476
    7787     ac_cv_lib_curses_main=no
    7788 fi
    7789 
    7790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     7477ac_cv_lib_curses_main=no
     7478fi
     7479rm -f conftest.err conftest.$ac_objext \
    77917480      conftest$ac_exeext conftest.$ac_ext
    77927481LIBS=$ac_check_lib_save_LIBS
    77937482fi
    7794 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
    7795 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6; }
     7483echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
     7484echo "${ECHO_T}$ac_cv_lib_curses_main" >&6
    77967485if test $ac_cv_lib_curses_main = yes; then
    77977486  LIBS="$LIBS -lcurses"
     
    78047493
    78057494# text for endianness
    7806 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7807 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
     7495echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7496echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
    78087497if test "${ac_cv_c_bigendian+set}" = set; then
    78097498  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    78227511main ()
    78237512{
    7824 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
    7825     && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
     7513#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    78267514 bogus endian macros
    78277515#endif
     
    78327520_ACEOF
    78337521rm -f conftest.$ac_objext
    7834 if { (ac_try="$ac_compile"
    7835 case "(($ac_try" in
    7836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7837   *) ac_try_echo=$ac_try;;
    7838 esac
    7839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7840   (eval "$ac_compile") 2>conftest.er1
     7522if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7523  (eval $ac_compile) 2>conftest.er1
    78417524  ac_status=$?
    78427525  grep -v '^ *+' conftest.er1 >conftest.err
     
    78447527  cat conftest.err >&5
    78457528  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7846   (exit $ac_status); } && {
    7847      test -z "$ac_c_werror_flag" ||
    7848      test ! -s conftest.err
    7849        } && test -s conftest.$ac_objext; then
     7529  (exit $ac_status); } &&
     7530     { ac_try='test -z "$ac_c_werror_flag"
     7531             || test ! -s conftest.err'
     7532  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7533  (eval $ac_try) 2>&5
     7534  ac_status=$?
     7535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7536  (exit $ac_status); }; } &&
     7537     { ac_try='test -s conftest.$ac_objext'
     7538  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7539  (eval $ac_try) 2>&5
     7540  ac_status=$?
     7541  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7542  (exit $ac_status); }; }; then
    78507543  # It does; now see whether it defined to BIG_ENDIAN or not.
    78517544cat >conftest.$ac_ext <<_ACEOF
     
    78707563_ACEOF
    78717564rm -f conftest.$ac_objext
    7872 if { (ac_try="$ac_compile"
    7873 case "(($ac_try" in
    7874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7875   *) ac_try_echo=$ac_try;;
    7876 esac
    7877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7878   (eval "$ac_compile") 2>conftest.er1
     7565if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7566  (eval $ac_compile) 2>conftest.er1
    78797567  ac_status=$?
    78807568  grep -v '^ *+' conftest.er1 >conftest.err
     
    78827570  cat conftest.err >&5
    78837571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7884   (exit $ac_status); } && {
    7885      test -z "$ac_c_werror_flag" ||
    7886      test ! -s conftest.err
    7887        } && test -s conftest.$ac_objext; then
     7572  (exit $ac_status); } &&
     7573     { ac_try='test -z "$ac_c_werror_flag"
     7574             || test ! -s conftest.err'
     7575  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7576  (eval $ac_try) 2>&5
     7577  ac_status=$?
     7578  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7579  (exit $ac_status); }; } &&
     7580     { ac_try='test -s conftest.$ac_objext'
     7581  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7582  (eval $ac_try) 2>&5
     7583  ac_status=$?
     7584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7585  (exit $ac_status); }; }; then
    78887586  ac_cv_c_bigendian=yes
    78897587else
     
    78917589sed 's/^/| /' conftest.$ac_ext >&5
    78927590
    7893     ac_cv_c_bigendian=no
    7894 fi
    7895 
    7896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7591ac_cv_c_bigendian=no
     7592fi
     7593rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    78977594else
    78987595  echo "$as_me: failed program was:" >&5
    78997596sed 's/^/| /' conftest.$ac_ext >&5
    79007597
    7901     # It does not; compile a test program.
     7598# It does not; compile a test program.
    79027599if test "$cross_compiling" = yes; then
    79037600  # try to guess the endianness by grepping values into an object file
     
    79097606cat >>conftest.$ac_ext <<_ACEOF
    79107607/* end confdefs.h.  */
    7911 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7912 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7608short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7609short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    79137610void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7914 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7915 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7611short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7612short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    79167613void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    79177614int
     
    79247621_ACEOF
    79257622rm -f conftest.$ac_objext
    7926 if { (ac_try="$ac_compile"
    7927 case "(($ac_try" in
    7928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7929   *) ac_try_echo=$ac_try;;
    7930 esac
    7931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7932   (eval "$ac_compile") 2>conftest.er1
     7623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7624  (eval $ac_compile) 2>conftest.er1
    79337625  ac_status=$?
    79347626  grep -v '^ *+' conftest.er1 >conftest.err
     
    79367628  cat conftest.err >&5
    79377629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7938   (exit $ac_status); } && {
    7939      test -z "$ac_c_werror_flag" ||
    7940      test ! -s conftest.err
    7941        } && test -s conftest.$ac_objext; then
     7630  (exit $ac_status); } &&
     7631     { ac_try='test -z "$ac_c_werror_flag"
     7632             || test ! -s conftest.err'
     7633  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7634  (eval $ac_try) 2>&5
     7635  ac_status=$?
     7636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7637  (exit $ac_status); }; } &&
     7638     { ac_try='test -s conftest.$ac_objext'
     7639  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7640  (eval $ac_try) 2>&5
     7641  ac_status=$?
     7642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7643  (exit $ac_status); }; }; then
    79427644  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    79437645  ac_cv_c_bigendian=yes
     
    79557657sed 's/^/| /' conftest.$ac_ext >&5
    79567658
    7957 
    7958 fi
    7959 
    7960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7659fi
     7660rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    79617661else
    79627662  cat >conftest.$ac_ext <<_ACEOF
     
    79667666cat >>conftest.$ac_ext <<_ACEOF
    79677667/* end confdefs.h.  */
    7968 $ac_includes_default
    79697668int
    79707669main ()
    79717670{
    7972 
    79737671  /* Are we little or big endian?  From Harbison&Steele.  */
    79747672  union
    79757673  {
    7976     long int l;
    7977     char c[sizeof (long int)];
     7674    long l;
     7675    char c[sizeof (long)];
    79787676  } u;
    79797677  u.l = 1;
    7980   return u.c[sizeof (long int) - 1] == 1;
    7981 
    7982   ;
    7983   return 0;
     7678  exit (u.c[sizeof (long) - 1] == 1);
    79847679}
    79857680_ACEOF
    79867681rm -f conftest$ac_exeext
    7987 if { (ac_try="$ac_link"
    7988 case "(($ac_try" in
    7989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7990   *) ac_try_echo=$ac_try;;
    7991 esac
    7992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7993   (eval "$ac_link") 2>&5
     7682if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7683  (eval $ac_link) 2>&5
    79947684  ac_status=$?
    79957685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    79967686  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7997   { (case "(($ac_try" in
    7998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7999   *) ac_try_echo=$ac_try;;
    8000 esac
    8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8002   (eval "$ac_try") 2>&5
     7687  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7688  (eval $ac_try) 2>&5
    80037689  ac_status=$?
    80047690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    80137699ac_cv_c_bigendian=yes
    80147700fi
    8015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    8016 fi
    8017 
    8018 
    8019 fi
    8020 
    8021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8022 fi
    8023 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    8024 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
     7701rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7702fi
     7703fi
     7704rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7705fi
     7706echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7707echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    80257708case $ac_cv_c_bigendian in
    80267709  yes)
     
    80437726# ---------------------------------------------------------------------------
    80447727if test "$ac_cv_func_alloca" = 'no'; then
    8045   case " $LIBOBJS " in
     7728  case $LIBOBJS in
     7729    "xmalloc.$ac_objext"   | \
     7730  *" xmalloc.$ac_objext"   | \
     7731    "xmalloc.$ac_objext "* | \
    80467732  *" xmalloc.$ac_objext "* ) ;;
    8047   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
    8048  ;;
     7733  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    80497734esac
    80507735
    8051   case " $LIBOBJS " in
     7736  case $LIBOBJS in
     7737    "error.$ac_objext"   | \
     7738  *" error.$ac_objext"   | \
     7739    "error.$ac_objext "* | \
    80527740  *" error.$ac_objext "* ) ;;
    8053   *) LIBOBJS="$LIBOBJS error.$ac_objext"
    8054  ;;
     7741  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
    80557742esac
    80567743
     
    80607747# ---------------------------------------------------------------------------
    80617748# see if the user wants to override use of long long
    8062 # Check whether --enable-override-longlong was given.
     7749# Check whether --enable-override-longlong or --disable-override-longlong was given.
    80637750if test "${enable_override_longlong+set}" = set; then
    8064   enableval=$enable_override_longlong; cat >>confdefs.h <<\_ACEOF
     7751  enableval="$enable_override_longlong"
     7752  cat >>confdefs.h <<\_ACEOF
    80657753#define DISABLE_LONG_LONG 1
    80667754_ACEOF
    80677755
    8068 fi
    8069 
     7756fi;
    80707757
    80717758
    80727759# ---------------------------------------------------------------------------
    80737760
    8074 ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile"
    8075 
    8076 ac_config_commands="$ac_config_commands default"
    8077 
     7761                                                  ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile"
     7762          ac_config_commands="$ac_config_commands default"
    80787763cat >confcache <<\_ACEOF
    80797764# This file is a shell script that caches the results of configure
     
    80947779# The following way of writing the cache mishandles newlines in values,
    80957780# but we know of no workaround that is simple, portable, and efficient.
    8096 # So, we kill variables containing newlines.
     7781# So, don't put newlines in cache variables' values.
    80977782# Ultrix sh set writes to stderr and can't be redirected directly,
    80987783# and sets the high bit in the cache file unless we assign to the vars.
    8099 (
    8100   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    8101     eval ac_val=\$$ac_var
    8102     case $ac_val in #(
    8103     *${as_nl}*)
    8104       case $ac_var in #(
    8105       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    8106 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    8107       esac
    8108       case $ac_var in #(
    8109       _ | IFS | as_nl) ;; #(
    8110       *) $as_unset $ac_var ;;
    8111       esac ;;
    8112     esac
    8113   done
    8114 
     7784{
    81157785  (set) 2>&1 |
    8116     case $as_nl`(ac_space=' '; set) 2>&1` in #(
    8117     *${as_nl}ac_space=\ *)
     7786    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     7787    *ac_space=\ *)
    81187788      # `set' does not quote correctly, so add quotes (double-quote
    81197789      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    81217791    "s/'/'\\\\''/g;
    81227792      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    8123       ;; #(
     7793      ;;
    81247794    *)
    81257795      # `set' quotes correctly as required by POSIX, so do not add quotes.
    8126       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     7796      sed -n \
     7797    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    81277798      ;;
    8128     esac |
    8129     sort
    8130 ) |
     7799    esac;
     7800} |
    81317801  sed '
    8132      /^ac_cv_env_/b end
    81337802     t clear
    8134      :clear
     7803     : clear
    81357804     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    81367805     t end
    8137      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    8138      :end' >>confcache
    8139 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    8140   if test -w "$cache_file"; then
    8141     test "x$cache_file" != "x/dev/null" &&
    8142       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    8143 echo "$as_me: updating cache $cache_file" >&6;}
     7806     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     7807     : end' >>confcache
     7808if diff $cache_file confcache >/dev/null 2>&1; then :; else
     7809  if test -w $cache_file; then
     7810    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    81447811    cat confcache >$cache_file
    81457812  else
    8146     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    8147 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     7813    echo "not updating unwritable cache $cache_file"
    81487814  fi
    81497815fi
     
    81537819# Let make expand exec_prefix.
    81547820test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     7821
     7822# VPATH may cause trouble with some makes, so we remove $(srcdir),
     7823# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     7824# trailing colons and then remove the whole line if VPATH becomes empty
     7825# (actually we leave an empty line to preserve line numbers).
     7826if test "x$srcdir" = x.; then
     7827  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     7828s/:*\$(srcdir):*/:/;
     7829s/:*\${srcdir}:*/:/;
     7830s/:*@srcdir@:*/:/;
     7831s/^\([^=]*=[     ]*\):*/\1/;
     7832s/:*$//;
     7833s/^[^=]*=[   ]*$//;
     7834}'
     7835fi
    81557836
    81567837DEFS=-DHAVE_CONFIG_H
     
    81607841for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    81617842  # 1. Remove the extension, and $U if already installed.
    8162   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    8163   ac_i=`echo "$ac_i" | sed "$ac_script"`
    8164   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    8165   #    will be set to the directory where LIBOBJS objects are built.
    8166   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    8167   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     7843  ac_i=`echo "$ac_i" |
     7844     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     7845  # 2. Add them.
     7846  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     7847  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    81687848done
    81697849LIBOBJS=$ac_libobjs
     
    81967876## --------------------- ##
    81977877
    8198 # Be more Bourne compatible
    8199 DUALCASE=1; export DUALCASE # for MKS sh
     7878# Be Bourne compatible
    82007879if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    82017880  emulate sh
     
    82047883  # is contrary to our usage.  Disable this feature.
    82057884  alias -g '${1+"$@"}'='"$@"'
    8206   setopt NO_GLOB_SUBST
    8207 else
    8208   case `(set -o) 2>/dev/null` in
    8209   *posix*) set -o posix ;;
    8210 esac
    8211 
    8212 fi
    8213 
    8214 
    8215 
    8216 
    8217 # PATH needs CR
     7885elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     7886  set -o posix
     7887fi
     7888DUALCASE=1; export DUALCASE # for MKS sh
     7889
     7890# Support unset when possible.
     7891if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7892  as_unset=unset
     7893else
     7894  as_unset=false
     7895fi
     7896
     7897
     7898# Work around bugs in pre-3.0 UWIN ksh.
     7899$as_unset ENV MAIL MAILPATH
     7900PS1='$ '
     7901PS2='> '
     7902PS4='+ '
     7903
     7904# NLS nuisances.
     7905for as_var in \
     7906  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     7907  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     7908  LC_TELEPHONE LC_TIME
     7909do
     7910  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7911    eval $as_var=C; export $as_var
     7912  else
     7913    $as_unset $as_var
     7914  fi
     7915done
     7916
     7917# Required to use basename.
     7918if expr a : '\(a\)' >/dev/null 2>&1; then
     7919  as_expr=expr
     7920else
     7921  as_expr=false
     7922fi
     7923
     7924if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     7925  as_basename=basename
     7926else
     7927  as_basename=false
     7928fi
     7929
     7930
     7931# Name of the executable.
     7932as_me=`$as_basename "$0" ||
     7933$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     7934     X"$0" : 'X\(//\)$' \| \
     7935     X"$0" : 'X\(/\)$' \| \
     7936     .     : '\(.\)' 2>/dev/null ||
     7937echo X/"$0" |
     7938    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     7939      /^X\/\(\/\/\)$/{ s//\1/; q; }
     7940      /^X\/\(\/\).*/{ s//\1/; q; }
     7941      s/.*/./; q'`
     7942
     7943
     7944# PATH needs CR, and LINENO needs CR and PATH.
    82187945# Avoid depending upon Character Ranges.
    82197946as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    82367963fi
    82377964
    8238 # Support unset when possible.
    8239 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    8240   as_unset=unset
    8241 else
    8242   as_unset=false
    8243 fi
    8244 
    8245 
    8246 # IFS
    8247 # We need space, tab and new line, in precisely that order.  Quoting is
    8248 # there to prevent editors from complaining about space-tab.
    8249 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    8250 # splitting by setting IFS to empty value.)
    8251 as_nl='
    8252 '
    8253 IFS=" ""    $as_nl"
    8254 
    8255 # Find who we are.  Look in the path if we contain no directory separator.
    8256 case $0 in
    8257   *[\\/]* ) as_myself=$0 ;;
    8258   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7965
     7966  as_lineno_1=$LINENO
     7967  as_lineno_2=$LINENO
     7968  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     7969  test "x$as_lineno_1" != "x$as_lineno_2" &&
     7970  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     7971  # Find who we are.  Look in the path if we contain no path at all
     7972  # relative or not.
     7973  case $0 in
     7974    *[\\/]* ) as_myself=$0 ;;
     7975    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    82597976for as_dir in $PATH
    82607977do
     
    82637980  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    82647981done
    8265 IFS=$as_save_IFS
    8266 
    8267      ;;
    8268 esac
    8269 # We did not find ourselves, most probably we were run as `sh COMMAND'
    8270 # in which case we are not to be found in the path.
    8271 if test "x$as_myself" = x; then
    8272   as_myself=$0
    8273 fi
    8274 if test ! -f "$as_myself"; then
    8275   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    8276   { (exit 1); exit 1; }
    8277 fi
    8278 
    8279 # Work around bugs in pre-3.0 UWIN ksh.
    8280 for as_var in ENV MAIL MAILPATH
    8281 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    8282 done
    8283 PS1='$ '
    8284 PS2='> '
    8285 PS4='+ '
    8286 
    8287 # NLS nuisances.
    8288 for as_var in \
    8289   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    8290   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    8291   LC_TELEPHONE LC_TIME
     7982
     7983       ;;
     7984  esac
     7985  # We did not find ourselves, most probably we were run as `sh COMMAND'
     7986  # in which case we are not to be found in the path.
     7987  if test "x$as_myself" = x; then
     7988    as_myself=$0
     7989  fi
     7990  if test ! -f "$as_myself"; then
     7991    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     7992echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     7993   { (exit 1); exit 1; }; }
     7994  fi
     7995  case $CONFIG_SHELL in
     7996  '')
     7997    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7998for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    82927999do
    8293   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    8294     eval $as_var=C; export $as_var
    8295   else
    8296     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    8297   fi
    8298 done
    8299 
    8300 # Required to use basename.
    8301 if expr a : '\(a\)' >/dev/null 2>&1 &&
    8302    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    8303   as_expr=expr
    8304 else
    8305   as_expr=false
    8306 fi
    8307 
    8308 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    8309   as_basename=basename
    8310 else
    8311   as_basename=false
    8312 fi
    8313 
    8314 
    8315 # Name of the executable.
    8316 as_me=`$as_basename -- "$0" ||
    8317 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    8318      X"$0" : 'X\(//\)$' \| \
    8319      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    8320 echo X/"$0" |
    8321     sed '/^.*\/\([^/][^/]*\)\/*$/{
    8322         s//\1/
    8323         q
    8324       }
    8325       /^X\/\(\/\/\)$/{
    8326         s//\1/
    8327         q
    8328       }
    8329       /^X\/\(\/\).*/{
    8330         s//\1/
    8331         q
    8332       }
    8333       s/.*/./; q'`
    8334 
    8335 # CDPATH.
    8336 $as_unset CDPATH
    8337 
    8338 
    8339 
     8000  IFS=$as_save_IFS
     8001  test -z "$as_dir" && as_dir=.
     8002  for as_base in sh bash ksh sh5; do
     8003     case $as_dir in
     8004     /*)
     8005       if ("$as_dir/$as_base" -c '
    83408006  as_lineno_1=$LINENO
    83418007  as_lineno_2=$LINENO
     8008  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    83428009  test "x$as_lineno_1" != "x$as_lineno_2" &&
    8343   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     8010  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     8011         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     8012         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     8013         CONFIG_SHELL=$as_dir/$as_base
     8014         export CONFIG_SHELL
     8015         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     8016       fi;;
     8017     esac
     8018       done
     8019done
     8020;;
     8021  esac
    83448022
    83458023  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    83468024  # uniformly replaced by the line number.  The first 'sed' inserts a
    8347   # line-number line after each line using $LINENO; the second 'sed'
    8348   # does the real work.  The second script uses 'N' to pair each
    8349   # line-number line with the line containing $LINENO, and appends
    8350   # trailing '-' during substitution so that $LINENO is not a special
    8351   # case at line end.
     8025  # line-number line before each line; the second 'sed' does the real
     8026  # work.  The second script uses 'N' to pair each line-number line
     8027  # with the numbered line, and appends trailing '-' during
     8028  # substitution so that $LINENO is not a special case at line end.
    83528029  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    8353   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    8354   # E. McMahon (1931-1989) for sed's syntax.  :-)
    8355   sed -n '
    8356     p
    8357     /[$]LINENO/=
    8358   ' <$as_myself |
     8030  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     8031  sed '=' <$as_myself |
    83598032    sed '
    8360       s/[$]LINENO.*/&-/
    8361       t lineno
    8362       b
    8363       :lineno
    83648033      N
    8365       :loop
    8366       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     8034      s,$,-,
     8035      : loop
     8036      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    83678037      t loop
    8368       s/-\n.*//
     8038      s,-$,,
     8039      s,^['$as_cr_digits']*\n,,
    83698040    ' >$as_me.lineno &&
    8370   chmod +x "$as_me.lineno" ||
    8371     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     8041  chmod +x $as_me.lineno ||
     8042    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     8043echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    83728044   { (exit 1); exit 1; }; }
    83738045
    83748046  # Don't try to exec as it changes $[0], causing all sort of problems
    83758047  # (the dirname of $[0] is not the place where we might find the
    8376   # original and so on.  Autoconf is especially sensitive to this).
    8377   . "./$as_me.lineno"
     8048  # original and so on.  Autoconf is especially sensible to this).
     8049  . ./$as_me.lineno
    83788050  # Exit status is that of the last command.
    83798051  exit
     
    83818053
    83828054
    8383 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    8384   as_dirname=dirname
    8385 else
    8386   as_dirname=false
    8387 fi
    8388 
    8389 ECHO_C= ECHO_N= ECHO_T=
    8390 case `echo -n x` in
    8391 -n*)
    8392   case `echo 'x\c'` in
    8393   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    8394   *)   ECHO_C='\c';;
    8395   esac;;
    8396 *)
    8397   ECHO_N='-n';;
     8055case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     8056  *c*,-n*) ECHO_N= ECHO_C='
     8057' ECHO_T='  ' ;;
     8058  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     8059  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    83988060esac
    83998061
    8400 if expr a : '\(a\)' >/dev/null 2>&1 &&
    8401    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     8062if expr a : '\(a\)' >/dev/null 2>&1; then
    84028063  as_expr=expr
    84038064else
     
    84068067
    84078068rm -f conf$$ conf$$.exe conf$$.file
    8408 if test -d conf$$.dir; then
    8409   rm -f conf$$.dir/conf$$.file
    8410 else
    8411   rm -f conf$$.dir
    8412   mkdir conf$$.dir
    8413 fi
    84148069echo >conf$$.file
    84158070if ln -s conf$$.file conf$$ 2>/dev/null; then
    8416   as_ln_s='ln -s'
    8417   # ... but there are two gotchas:
    8418   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    8419   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    8420   # In both cases, we have to default to `cp -p'.
    8421   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     8071  # We could just check for DJGPP; but this test a) works b) is more generic
     8072  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     8073  if test -f conf$$.exe; then
     8074    # Don't use ln at all; we don't have any links
    84228075    as_ln_s='cp -p'
     8076  else
     8077    as_ln_s='ln -s'
     8078  fi
    84238079elif ln conf$$.file conf$$ 2>/dev/null; then
    84248080  as_ln_s=ln
     
    84268082  as_ln_s='cp -p'
    84278083fi
    8428 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    8429 rmdir conf$$.dir 2>/dev/null
     8084rm -f conf$$ conf$$.exe conf$$.file
    84308085
    84318086if mkdir -p . 2>/dev/null; then
     
    84368091fi
    84378092
    8438 if test -x / >/dev/null 2>&1; then
    8439   as_test_x='test -x'
    8440 else
    8441   if ls -dL / >/dev/null 2>&1; then
    8442     as_ls_L_option=L
    8443   else
    8444     as_ls_L_option=
    8445   fi
    8446   as_test_x='
    8447     eval sh -c '\''
    8448       if test -d "$1"; then
    8449         test -d "$1/.";
    8450       else
    8451     case $1 in
    8452         -*)set "./$1";;
    8453     esac;
    8454     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    8455     ???[sx]*):;;*)false;;esac;fi
    8456     '\'' sh
    8457   '
    8458 fi
    8459 as_executable_p=$as_test_x
     8093as_executable_p="test -f"
    84608094
    84618095# Sed expression to map a string onto a valid CPP name.
     
    84668100
    84678101
     8102# IFS
     8103# We need space, tab and new line, in precisely that order.
     8104as_nl='
     8105'
     8106IFS="   $as_nl"
     8107
     8108# CDPATH.
     8109$as_unset CDPATH
     8110
    84688111exec 6>&1
    84698112
    8470 # Save the log message, to keep $[0] and so on meaningful, and to
     8113# Open the log real soon, to keep \$[0] and so on meaningful, and to
    84718114# report actual input values of CONFIG_FILES etc. instead of their
    8472 # values after options handling.
    8473 ac_log="
     8115# values after options handling.  Logging --version etc. is OK.
     8116exec 5>>config.log
     8117{
     8118  echo
     8119  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     8120## Running $as_me. ##
     8121_ASBOX
     8122} >&5
     8123cat >&5 <<_CSEOF
     8124
    84748125This file was extended by $as_me, which was
    8475 generated by GNU Autoconf 2.61.  Invocation command line was
     8126generated by GNU Autoconf 2.59.  Invocation command line was
    84768127
    84778128  CONFIG_FILES    = $CONFIG_FILES
     
    84818132  $ $0 $@
    84828133
    8483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    8484 "
    8485 
    8486 _ACEOF
    8487 
    8488 cat >>$CONFIG_STATUS <<_ACEOF
     8134_CSEOF
     8135echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     8136echo >&5
     8137_ACEOF
     8138
    84898139# Files that config.status was made for.
    8490 config_files="$ac_config_files"
    8491 config_headers="$ac_config_headers"
    8492 config_commands="$ac_config_commands"
    8493 
    8494 _ACEOF
     8140if test -n "$ac_config_files"; then
     8141  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     8142fi
     8143
     8144if test -n "$ac_config_headers"; then
     8145  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     8146fi
     8147
     8148if test -n "$ac_config_links"; then
     8149  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     8150fi
     8151
     8152if test -n "$ac_config_commands"; then
     8153  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     8154fi
    84958155
    84968156cat >>$CONFIG_STATUS <<\_ACEOF
     8157
    84978158ac_cs_usage="\
    84988159\`$as_me' instantiates files from templates according to the
     
    85028163
    85038164  -h, --help       print this help, then exit
    8504   -V, --version    print version number and configuration settings, then exit
     8165  -V, --version    print version number, then exit
    85058166  -q, --quiet      do not print progress messages
    85068167  -d, --debug      don't remove temporary files
     
    85218182
    85228183Report bugs to <[email protected]>."
    8523 
    8524 _ACEOF
     8184_ACEOF
     8185
    85258186cat >>$CONFIG_STATUS <<_ACEOF
    85268187ac_cs_version="\\
    85278188config.status
    8528 configured by $0, generated by GNU Autoconf 2.61,
    8529   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    8530 
    8531 Copyright (C) 2006 Free Software Foundation, Inc.
     8189configured by $0, generated by GNU Autoconf 2.59,
     8190  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     8191
     8192Copyright (C) 2003 Free Software Foundation, Inc.
    85328193This config.status script is free software; the Free Software Foundation
    85338194gives unlimited permission to copy, distribute and modify it."
    8534 
    8535 ac_pwd='$ac_pwd'
    8536 srcdir='$srcdir'
    8537 INSTALL='$INSTALL'
     8195srcdir=$srcdir
     8196INSTALL="$INSTALL"
    85388197_ACEOF
    85398198
     
    85468205  case $1 in
    85478206  --*=*)
    8548     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    8549     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     8207    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     8208    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    85508209    ac_shift=:
    85518210    ;;
    8552   *)
     8211  -*)
    85538212    ac_option=$1
    85548213    ac_optarg=$2
    85558214    ac_shift=shift
    85568215    ;;
     8216  *) # This is not an option, so the user has probably given explicit
     8217     # arguments.
     8218     ac_option=$1
     8219     ac_need_defaults=false;;
    85578220  esac
    85588221
    85598222  case $ac_option in
    85608223  # Handling of the options.
     8224_ACEOF
     8225cat >>$CONFIG_STATUS <<\_ACEOF
    85618226  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    85628227    ac_cs_recheck=: ;;
    8563   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    8564     echo "$ac_cs_version"; exit ;;
    8565   --debug | --debu | --deb | --de | --d | -d )
     8228  --version | --vers* | -V )
     8229    echo "$ac_cs_version"; exit 0 ;;
     8230  --he | --h)
     8231    # Conflict between --help and --header
     8232    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     8233Try \`$0 --help' for more information." >&5
     8234echo "$as_me: error: ambiguous option: $1
     8235Try \`$0 --help' for more information." >&2;}
     8236   { (exit 1); exit 1; }; };;
     8237  --help | --hel | -h )
     8238    echo "$ac_cs_usage"; exit 0 ;;
     8239  --debug | --d* | -d )
    85668240    debug=: ;;
    85678241  --file | --fil | --fi | --f )
     
    85738247    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    85748248    ac_need_defaults=false;;
    8575   --he | --h)
    8576     # Conflict between --help and --header
    8577     { echo "$as_me: error: ambiguous option: $1
    8578 Try \`$0 --help' for more information." >&2
    8579    { (exit 1); exit 1; }; };;
    8580   --help | --hel | -h )
    8581     echo "$ac_cs_usage"; exit ;;
    85828249  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    85838250  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    85858252
    85868253  # This is an error.
    8587   -*) { echo "$as_me: error: unrecognized option: $1
    8588 Try \`$0 --help' for more information." >&2
     8254  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     8255Try \`$0 --help' for more information." >&5
     8256echo "$as_me: error: unrecognized option: $1
     8257Try \`$0 --help' for more information." >&2;}
    85898258   { (exit 1); exit 1; }; } ;;
    85908259
    8591   *) ac_config_targets="$ac_config_targets $1"
    8592      ac_need_defaults=false ;;
     8260  *) ac_config_targets="$ac_config_targets $1" ;;
    85938261
    85948262  esac
     
    86068274cat >>$CONFIG_STATUS <<_ACEOF
    86078275if \$ac_cs_recheck; then
    8608   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    8609   CONFIG_SHELL=$SHELL
    8610   export CONFIG_SHELL
    8611   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    8612 fi
    8613 
    8614 _ACEOF
     8276  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     8277  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     8278fi
     8279
     8280_ACEOF
     8281
     8282
     8283
     8284
     8285
    86158286cat >>$CONFIG_STATUS <<\_ACEOF
    8616 exec 5>>config.log
    8617 {
    8618   echo
    8619   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    8620 ## Running $as_me. ##
    8621 _ASBOX
    8622   echo "$ac_log"
    8623 } >&5
    8624 
    8625 _ACEOF
    8626 cat >>$CONFIG_STATUS <<_ACEOF
    8627 _ACEOF
    8628 
    8629 cat >>$CONFIG_STATUS <<\_ACEOF
    8630 
    8631 # Handling of arguments.
    86328287for ac_config_target in $ac_config_targets
    86338288do
    8634   case $ac_config_target in
    8635     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    8636     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    8637     "text/Makefile") CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;
    8638     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
    8639     "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
    8640     "java/org/greenstone/mgpp/Makefile") CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;
    8641     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    8642 
     8289  case "$ac_config_target" in
     8290  # Handling of arguments.
     8291  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     8292  "text/Makefile" ) CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;
     8293  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
     8294  "jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
     8295  "java/org/greenstone/mgpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;
     8296  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
     8297  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    86438298  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    86448299echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    86468301  esac
    86478302done
    8648 
    86498303
    86508304# If the user did not use the arguments to specify the items to instantiate,
     
    86598313
    86608314# Have a temporary directory for convenience.  Make it in the build tree
    8661 # simply because there is no reason against having it here, and in addition,
     8315# simply because there is no reason to put it here, and in addition,
    86628316# creating and moving files from /tmp can sometimes cause problems.
    8663 # Hook for its removal unless debugging.
    8664 # Note that there is a small window in which the directory will not be cleaned:
    8665 # after its creation but before its name has been assigned to `$tmp'.
     8317# Create a temporary directory, and hook for its removal unless debugging.
    86668318$debug ||
    86678319{
    8668   tmp=
    8669   trap 'exit_status=$?
    8670   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    8671 ' 0
     8320  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    86728321  trap '{ (exit 1); exit 1; }' 1 2 13 15
    86738322}
     8323
    86748324# Create a (secure) tmp directory for tmp files.
    86758325
    86768326{
    8677   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     8327  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    86788328  test -n "$tmp" && test -d "$tmp"
    86798329}  ||
    86808330{
    8681   tmp=./conf$$-$RANDOM
    8682   (umask 077 && mkdir "$tmp")
     8331  tmp=./confstat$$-$RANDOM
     8332  (umask 077 && mkdir $tmp)
    86838333} ||
    86848334{
     
    86878337}
    86888338
     8339_ACEOF
     8340
     8341cat >>$CONFIG_STATUS <<_ACEOF
     8342
    86898343#
    8690 # Set up the sed scripts for CONFIG_FILES section.
     8344# CONFIG_FILES section.
    86918345#
    86928346
    86938347# No need to generate the scripts if there are no CONFIG_FILES.
    86948348# This happens for instance when ./config.status config.h
    8695 if test -n "$CONFIG_FILES"; then
    8696 
    8697 _ACEOF
    8698 
    8699 
    8700 
    8701 ac_delim='%!_!# '
    8702 for ac_last_try in false false false false false :; do
    8703   cat >conf$$subs.sed <<_ACEOF
    8704 SHELL!$SHELL$ac_delim
    8705 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    8706 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    8707 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    8708 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    8709 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    8710 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    8711 exec_prefix!$exec_prefix$ac_delim
    8712 prefix!$prefix$ac_delim
    8713 program_transform_name!$program_transform_name$ac_delim
    8714 bindir!$bindir$ac_delim
    8715 sbindir!$sbindir$ac_delim
    8716 libexecdir!$libexecdir$ac_delim
    8717 datarootdir!$datarootdir$ac_delim
    8718 datadir!$datadir$ac_delim
    8719 sysconfdir!$sysconfdir$ac_delim
    8720 sharedstatedir!$sharedstatedir$ac_delim
    8721 localstatedir!$localstatedir$ac_delim
    8722 includedir!$includedir$ac_delim
    8723 oldincludedir!$oldincludedir$ac_delim
    8724 docdir!$docdir$ac_delim
    8725 infodir!$infodir$ac_delim
    8726 htmldir!$htmldir$ac_delim
    8727 dvidir!$dvidir$ac_delim
    8728 pdfdir!$pdfdir$ac_delim
    8729 psdir!$psdir$ac_delim
    8730 libdir!$libdir$ac_delim
    8731 localedir!$localedir$ac_delim
    8732 mandir!$mandir$ac_delim
    8733 DEFS!$DEFS$ac_delim
    8734 ECHO_C!$ECHO_C$ac_delim
    8735 ECHO_N!$ECHO_N$ac_delim
    8736 ECHO_T!$ECHO_T$ac_delim
    8737 LIBS!$LIBS$ac_delim
    8738 build_alias!$build_alias$ac_delim
    8739 host_alias!$host_alias$ac_delim
    8740 target_alias!$target_alias$ac_delim
    8741 build!$build$ac_delim
    8742 build_cpu!$build_cpu$ac_delim
    8743 build_vendor!$build_vendor$ac_delim
    8744 build_os!$build_os$ac_delim
    8745 host!$host$ac_delim
    8746 host_cpu!$host_cpu$ac_delim
    8747 host_vendor!$host_vendor$ac_delim
    8748 host_os!$host_os$ac_delim
    8749 target!$target$ac_delim
    8750 target_cpu!$target_cpu$ac_delim
    8751 target_vendor!$target_vendor$ac_delim
    8752 target_os!$target_os$ac_delim
    8753 PACKAGE!$PACKAGE$ac_delim
    8754 VERSION!$VERSION$ac_delim
    8755 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
    8756 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
    8757 CXX!$CXX$ac_delim
    8758 CXXFLAGS!$CXXFLAGS$ac_delim
    8759 LDFLAGS!$LDFLAGS$ac_delim
    8760 CPPFLAGS!$CPPFLAGS$ac_delim
    8761 ac_ct_CXX!$ac_ct_CXX$ac_delim
    8762 EXEEXT!$EXEEXT$ac_delim
    8763 OBJEXT!$OBJEXT$ac_delim
    8764 AWK!$AWK$ac_delim
    8765 YACC!$YACC$ac_delim
    8766 YFLAGS!$YFLAGS$ac_delim
    8767 CC!$CC$ac_delim
    8768 CFLAGS!$CFLAGS$ac_delim
    8769 ac_ct_CC!$ac_ct_CC$ac_delim
    8770 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
    8771 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
    8772 INSTALL_DATA!$INSTALL_DATA$ac_delim
    8773 LN_S!$LN_S$ac_delim
    8774 SET_MAKE!$SET_MAKE$ac_delim
    8775 RANLIB!$RANLIB$ac_delim
    8776 CPP!$CPP$ac_delim
    8777 GREP!$GREP$ac_delim
    8778 EGREP!$EGREP$ac_delim
    8779 U!$U$ac_delim
    8780 ANSI2KNR!$ANSI2KNR$ac_delim
    8781 UNAC_DIR!$UNAC_DIR$ac_delim
    8782 ALLOCA!$ALLOCA$ac_delim
    8783 LIBOBJS!$LIBOBJS$ac_delim
    8784 JNIINC!$JNIINC$ac_delim
    8785 JNISUFFIX!$JNISUFFIX$ac_delim
    8786 JNIFLAGS!$JNIFLAGS$ac_delim
    8787 LTLIBOBJS!$LTLIBOBJS$ac_delim
    8788 _ACEOF
    8789 
    8790   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
    8791     break
    8792   elif $ac_last_try; then
    8793     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    8794 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    8795    { (exit 1); exit 1; }; }
    8796   else
    8797     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     8349if test -n "\$CONFIG_FILES"; then
     8350  # Protect against being on the right side of a sed subst in config.status.
     8351  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     8352   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     8353s,@SHELL@,$SHELL,;t t
     8354s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     8355s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     8356s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     8357s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     8358s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     8359s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     8360s,@exec_prefix@,$exec_prefix,;t t
     8361s,@prefix@,$prefix,;t t
     8362s,@program_transform_name@,$program_transform_name,;t t
     8363s,@bindir@,$bindir,;t t
     8364s,@sbindir@,$sbindir,;t t
     8365s,@libexecdir@,$libexecdir,;t t
     8366s,@datadir@,$datadir,;t t
     8367s,@sysconfdir@,$sysconfdir,;t t
     8368s,@sharedstatedir@,$sharedstatedir,;t t
     8369s,@localstatedir@,$localstatedir,;t t
     8370s,@libdir@,$libdir,;t t
     8371s,@includedir@,$includedir,;t t
     8372s,@oldincludedir@,$oldincludedir,;t t
     8373s,@infodir@,$infodir,;t t
     8374s,@mandir@,$mandir,;t t
     8375s,@build_alias@,$build_alias,;t t
     8376s,@host_alias@,$host_alias,;t t
     8377s,@target_alias@,$target_alias,;t t
     8378s,@DEFS@,$DEFS,;t t
     8379s,@ECHO_C@,$ECHO_C,;t t
     8380s,@ECHO_N@,$ECHO_N,;t t
     8381s,@ECHO_T@,$ECHO_T,;t t
     8382s,@LIBS@,$LIBS,;t t
     8383s,@build@,$build,;t t
     8384s,@build_cpu@,$build_cpu,;t t
     8385s,@build_vendor@,$build_vendor,;t t
     8386s,@build_os@,$build_os,;t t
     8387s,@host@,$host,;t t
     8388s,@host_cpu@,$host_cpu,;t t
     8389s,@host_vendor@,$host_vendor,;t t
     8390s,@host_os@,$host_os,;t t
     8391s,@target@,$target,;t t
     8392s,@target_cpu@,$target_cpu,;t t
     8393s,@target_vendor@,$target_vendor,;t t
     8394s,@target_os@,$target_os,;t t
     8395s,@PACKAGE@,$PACKAGE,;t t
     8396s,@VERSION@,$VERSION,;t t
     8397s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
     8398s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
     8399s,@USE_JDBM@,$USE_JDBM,;t t
     8400s,@USE_GDBM@,$USE_GDBM,;t t
     8401s,@CXX@,$CXX,;t t
     8402s,@CXXFLAGS@,$CXXFLAGS,;t t
     8403s,@LDFLAGS@,$LDFLAGS,;t t
     8404s,@CPPFLAGS@,$CPPFLAGS,;t t
     8405s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     8406s,@EXEEXT@,$EXEEXT,;t t
     8407s,@OBJEXT@,$OBJEXT,;t t
     8408s,@AWK@,$AWK,;t t
     8409s,@YACC@,$YACC,;t t
     8410s,@CC@,$CC,;t t
     8411s,@CFLAGS@,$CFLAGS,;t t
     8412s,@ac_ct_CC@,$ac_ct_CC,;t t
     8413s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     8414s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     8415s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     8416s,@LN_S@,$LN_S,;t t
     8417s,@SET_MAKE@,$SET_MAKE,;t t
     8418s,@RANLIB@,$RANLIB,;t t
     8419s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
     8420s,@CPP@,$CPP,;t t
     8421s,@EGREP@,$EGREP,;t t
     8422s,@U@,$U,;t t
     8423s,@ANSI2KNR@,$ANSI2KNR,;t t
     8424s,@UNAC_DIR@,$UNAC_DIR,;t t
     8425s,@ALLOCA@,$ALLOCA,;t t
     8426s,@LIBOBJS@,$LIBOBJS,;t t
     8427s,@JNIINC@,$JNIINC,;t t
     8428s,@JNISUFFIX@,$JNISUFFIX,;t t
     8429s,@JNIFLAGS@,$JNIFLAGS,;t t
     8430s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     8431CEOF
     8432
     8433_ACEOF
     8434
     8435  cat >>$CONFIG_STATUS <<\_ACEOF
     8436  # Split the substitutions into bite-sized pieces for seds with
     8437  # small command number limits, like on Digital OSF/1 and HP-UX.
     8438  ac_max_sed_lines=48
     8439  ac_sed_frag=1 # Number of current file.
     8440  ac_beg=1 # First line for current file.
     8441  ac_end=$ac_max_sed_lines # Line after last line for current file.
     8442  ac_more_lines=:
     8443  ac_sed_cmds=
     8444  while $ac_more_lines; do
     8445    if test $ac_beg -gt 1; then
     8446      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8447    else
     8448      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8449    fi
     8450    if test ! -s $tmp/subs.frag; then
     8451      ac_more_lines=false
     8452    else
     8453      # The purpose of the label and of the branching condition is to
     8454      # speed up the sed processing (if there are no `@' at all, there
     8455      # is no need to browse any of the substitutions).
     8456      # These are the two extra sed commands mentioned above.
     8457      (echo ':t
     8458  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     8459      if test -z "$ac_sed_cmds"; then
     8460    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     8461      else
     8462    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     8463      fi
     8464      ac_sed_frag=`expr $ac_sed_frag + 1`
     8465      ac_beg=$ac_end
     8466      ac_end=`expr $ac_end + $ac_max_sed_lines`
     8467    fi
     8468  done
     8469  if test -z "$ac_sed_cmds"; then
     8470    ac_sed_cmds=cat
    87988471  fi
    8799 done
    8800 
    8801 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    8802 if test -n "$ac_eof"; then
    8803   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    8804   ac_eof=`expr $ac_eof + 1`
    8805 fi
    8806 
    8807 cat >>$CONFIG_STATUS <<_ACEOF
    8808 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    8809 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
    8810 _ACEOF
    8811 sed '
    8812 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    8813 s/^/s,@/; s/!/@,|#_!!_#|/
    8814 :n
    8815 t n
    8816 s/'"$ac_delim"'$/,g/; t
    8817 s/$/\\/; p
    8818 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    8819 ' >>$CONFIG_STATUS <conf$$subs.sed
    8820 rm -f conf$$subs.sed
    8821 cat >>$CONFIG_STATUS <<_ACEOF
    8822 :end
    8823 s/|#_!!_#|//g
    8824 CEOF$ac_eof
    8825 _ACEOF
    8826 
    8827 
    8828 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    8829 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    8830 # trailing colons and then remove the whole line if VPATH becomes empty
    8831 # (actually we leave an empty line to preserve line numbers).
    8832 if test "x$srcdir" = x.; then
    8833   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    8834 s/:*\$(srcdir):*/:/
    8835 s/:*\${srcdir}:*/:/
    8836 s/:*@srcdir@:*/:/
    8837 s/^\([^=]*=[     ]*\):*/\1/
    8838 s/:*$//
    8839 s/^[^=]*=[   ]*$//
    8840 }'
    8841 fi
    8842 
     8472fi # test -n "$CONFIG_FILES"
     8473
     8474_ACEOF
    88438475cat >>$CONFIG_STATUS <<\_ACEOF
    8844 fi # test -n "$CONFIG_FILES"
    8845 
    8846 
    8847 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
    8848 do
    8849   case $ac_tag in
    8850   :[FHLC]) ac_mode=$ac_tag; continue;;
     8476for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     8477  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     8478  case $ac_file in
     8479  - | *:- | *:-:* ) # input from stdin
     8480    cat >$tmp/stdin
     8481    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8482    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8483  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8484    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8485  * )   ac_file_in=$ac_file.in ;;
    88518486  esac
    8852   case $ac_mode$ac_tag in
    8853   :[FHL]*:*);;
    8854   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    8855 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    8856    { (exit 1); exit 1; }; };;
    8857   :[FH]-) ac_tag=-:-;;
    8858   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    8859   esac
    8860   ac_save_IFS=$IFS
    8861   IFS=:
    8862   set x $ac_tag
    8863   IFS=$ac_save_IFS
    8864   shift
    8865   ac_file=$1
    8866   shift
    8867 
    8868   case $ac_mode in
    8869   :L) ac_source=$1;;
    8870   :[FH])
    8871     ac_file_inputs=
    8872     for ac_f
    8873     do
    8874       case $ac_f in
    8875       -) ac_f="$tmp/stdin";;
    8876       *) # Look for the file first in the build tree, then in the source tree
    8877      # (if the path is not absolute).  The absolute path cannot be DOS-style,
    8878      # because $ac_f cannot contain `:'.
    8879      test -f "$ac_f" ||
    8880        case $ac_f in
    8881        [\\/$]*) false;;
    8882        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    8883        esac ||
    8884        { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    8885 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    8886    { (exit 1); exit 1; }; };;
    8887       esac
    8888       ac_file_inputs="$ac_file_inputs $ac_f"
    8889     done
    8890 
    8891     # Let's still pretend it is `configure' which instantiates (i.e., don't
    8892     # use $as_me), people would be surprised to read:
    8893     #    /* config.h.  Generated by config.status.  */
    8894     configure_input="Generated from "`IFS=:
    8895       echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    8896     if test x"$ac_file" != x-; then
    8897       configure_input="$ac_file.  $configure_input"
    8898       { echo "$as_me:$LINENO: creating $ac_file" >&5
    8899 echo "$as_me: creating $ac_file" >&6;}
    8900     fi
    8901 
    8902     case $ac_tag in
    8903     *:-:* | *:-) cat >"$tmp/stdin";;
    8904     esac
    8905     ;;
    8906   esac
    8907 
    8908   ac_dir=`$as_dirname -- "$ac_file" ||
     8487
     8488  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     8489  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    89098490$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    89108491     X"$ac_file" : 'X\(//\)[^/]' \| \
    89118492     X"$ac_file" : 'X\(//\)$' \| \
    8912      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     8493     X"$ac_file" : 'X\(/\)' \| \
     8494     .     : '\(.\)' 2>/dev/null ||
    89138495echo X"$ac_file" |
    8914     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    8915         s//\1/
    8916         q
    8917       }
    8918       /^X\(\/\/\)[^/].*/{
    8919         s//\1/
    8920         q
    8921       }
    8922       /^X\(\/\/\)$/{
    8923         s//\1/
    8924         q
    8925       }
    8926       /^X\(\/\).*/{
    8927         s//\1/
    8928         q
    8929       }
    8930       s/.*/./; q'`
    8931   { as_dir="$ac_dir"
    8932   case $as_dir in #(
    8933   -*) as_dir=./$as_dir;;
    8934   esac
    8935   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     8496    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8497      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8498      /^X\(\/\/\)$/{ s//\1/; q; }
     8499      /^X\(\/\).*/{ s//\1/; q; }
     8500      s/.*/./; q'`
     8501  { if $as_mkdir_p; then
     8502    mkdir -p "$ac_dir"
     8503  else
     8504    as_dir="$ac_dir"
    89368505    as_dirs=
    8937     while :; do
    8938       case $as_dir in #(
    8939       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    8940       *) as_qdir=$as_dir;;
    8941       esac
    8942       as_dirs="'$as_qdir' $as_dirs"
    8943       as_dir=`$as_dirname -- "$as_dir" ||
     8506    while test ! -d "$as_dir"; do
     8507      as_dirs="$as_dir $as_dirs"
     8508      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    89448509$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    89458510     X"$as_dir" : 'X\(//\)[^/]' \| \
    89468511     X"$as_dir" : 'X\(//\)$' \| \
    8947      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     8512     X"$as_dir" : 'X\(/\)' \| \
     8513     .     : '\(.\)' 2>/dev/null ||
    89488514echo X"$as_dir" |
    8949     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    8950         s//\1/
    8951         q
    8952       }
    8953       /^X\(\/\/\)[^/].*/{
    8954         s//\1/
    8955         q
    8956       }
    8957       /^X\(\/\/\)$/{
    8958         s//\1/
    8959         q
    8960       }
    8961       /^X\(\/\).*/{
    8962         s//\1/
    8963         q
    8964       }
    8965       s/.*/./; q'`
    8966       test -d "$as_dir" && break
     8515    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8516      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8517      /^X\(\/\/\)$/{ s//\1/; q; }
     8518      /^X\(\/\).*/{ s//\1/; q; }
     8519      s/.*/./; q'`
    89678520    done
    8968     test -z "$as_dirs" || eval "mkdir $as_dirs"
    8969   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    8970 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     8521    test ! -n "$as_dirs" || mkdir $as_dirs
     8522  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8523echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    89718524   { (exit 1); exit 1; }; }; }
     8525
    89728526  ac_builddir=.
    89738527
    8974 case "$ac_dir" in
    8975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8528if test "$ac_dir" != .; then
     8529  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8530  # A "../" for each directory in $ac_dir_suffix.
     8531  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8532else
     8533  ac_dir_suffix= ac_top_builddir=
     8534fi
     8535
     8536case $srcdir in
     8537  .)  # No --srcdir option.  We are building in place.
     8538    ac_srcdir=.
     8539    if test -z "$ac_top_builddir"; then
     8540       ac_top_srcdir=.
     8541    else
     8542       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8543    fi ;;
     8544  [\\/]* | ?:[\\/]* )  # Absolute path.
     8545    ac_srcdir=$srcdir$ac_dir_suffix;
     8546    ac_top_srcdir=$srcdir ;;
     8547  *) # Relative path.
     8548    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8549    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8550esac
     8551
     8552# Do not use `cd foo && pwd` to compute absolute paths, because
     8553# the directories may not exist.
     8554case `pwd` in
     8555.) ac_abs_builddir="$ac_dir";;
    89768556*)
    8977   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8978   # A ".." for each directory in $ac_dir_suffix.
    8979   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    8980   case $ac_top_builddir_sub in
    8981   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    8982   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    8983   esac ;;
     8557  case "$ac_dir" in
     8558  .) ac_abs_builddir=`pwd`;;
     8559  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8560  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8561  esac;;
    89848562esac
    8985 ac_abs_top_builddir=$ac_pwd
    8986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    8987 # for backward compatibility:
    8988 ac_top_builddir=$ac_top_build_prefix
    8989 
    8990 case $srcdir in
    8991   .)  # We are building in place.
    8992     ac_srcdir=.
    8993     ac_top_srcdir=$ac_top_builddir_sub
    8994     ac_abs_top_srcdir=$ac_pwd ;;
    8995   [\\/]* | ?:[\\/]* )  # Absolute name.
    8996     ac_srcdir=$srcdir$ac_dir_suffix;
    8997     ac_top_srcdir=$srcdir
    8998     ac_abs_top_srcdir=$srcdir ;;
    8999   *) # Relative name.
    9000     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    9001     ac_top_srcdir=$ac_top_build_prefix$srcdir
    9002     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8563case $ac_abs_builddir in
     8564.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8565*)
     8566  case ${ac_top_builddir}. in
     8567  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8568  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8569  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8570  esac;;
    90038571esac
    9004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    9005 
    9006 
    9007   case $ac_mode in
    9008   :F)
    9009   #
    9010   # CONFIG_FILE
    9011   #
     8572case $ac_abs_builddir in
     8573.) ac_abs_srcdir=$ac_srcdir;;
     8574*)
     8575  case $ac_srcdir in
     8576  .) ac_abs_srcdir=$ac_abs_builddir;;
     8577  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8578  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8579  esac;;
     8580esac
     8581case $ac_abs_builddir in
     8582.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8583*)
     8584  case $ac_top_srcdir in
     8585  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8586  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8587  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8588  esac;;
     8589esac
     8590
    90128591
    90138592  case $INSTALL in
    90148593  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    9015   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
     8594  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    90168595  esac
    9017 _ACEOF
    9018 
    9019 cat >>$CONFIG_STATUS <<\_ACEOF
    9020 # If the template does not know about datarootdir, expand it.
    9021 # FIXME: This hack should be removed a few years after 2.60.
    9022 ac_datarootdir_hack=; ac_datarootdir_seen=
    9023 
    9024 case `sed -n '/datarootdir/ {
    9025   p
    9026   q
    9027 }
    9028 /@datadir@/p
    9029 /@docdir@/p
    9030 /@infodir@/p
    9031 /@localedir@/p
    9032 /@mandir@/p
    9033 ' $ac_file_inputs` in
    9034 *datarootdir*) ac_datarootdir_seen=yes;;
    9035 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    9036   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    9037 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    9038 _ACEOF
    9039 cat >>$CONFIG_STATUS <<_ACEOF
    9040   ac_datarootdir_hack='
    9041   s&@datadir@&$datadir&g
    9042   s&@docdir@&$docdir&g
    9043   s&@infodir@&$infodir&g
    9044   s&@localedir@&$localedir&g
    9045   s&@mandir@&$mandir&g
    9046     s&\\\${datarootdir}&$datarootdir&g' ;;
    9047 esac
    9048 _ACEOF
    9049 
    9050 # Neutralize VPATH when `$srcdir' = `.'.
    9051 # Shell code in configure.ac might set extrasub.
    9052 # FIXME: do we really want to maintain this feature?
     8596
     8597  if test x"$ac_file" != x-; then
     8598    { echo "$as_me:$LINENO: creating $ac_file" >&5
     8599echo "$as_me: creating $ac_file" >&6;}
     8600    rm -f "$ac_file"
     8601  fi
     8602  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8603  # use $as_me), people would be surprised to read:
     8604  #    /* config.h.  Generated by config.status.  */
     8605  if test x"$ac_file" = x-; then
     8606    configure_input=
     8607  else
     8608    configure_input="$ac_file.  "
     8609  fi
     8610  configure_input=$configure_input"Generated from `echo $ac_file_in |
     8611                     sed 's,.*/,,'` by configure."
     8612
     8613  # First look for the input files in the build tree, otherwise in the
     8614  # src tree.
     8615  ac_file_inputs=`IFS=:
     8616    for f in $ac_file_in; do
     8617      case $f in
     8618      -) echo $tmp/stdin ;;
     8619      [\\/$]*)
     8620     # Absolute (can't be DOS-style, as IFS=:)
     8621     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8622echo "$as_me: error: cannot find input file: $f" >&2;}
     8623   { (exit 1); exit 1; }; }
     8624     echo "$f";;
     8625      *) # Relative
     8626     if test -f "$f"; then
     8627       # Build tree
     8628       echo "$f"
     8629     elif test -f "$srcdir/$f"; then
     8630       # Source tree
     8631       echo "$srcdir/$f"
     8632     else
     8633       # /dev/null tree
     8634       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8635echo "$as_me: error: cannot find input file: $f" >&2;}
     8636   { (exit 1); exit 1; }; }
     8637     fi;;
     8638      esac
     8639    done` || { (exit 1); exit 1; }
     8640_ACEOF
    90538641cat >>$CONFIG_STATUS <<_ACEOF
    90548642  sed "$ac_vpsub
     
    90588646:t
    90598647/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    9060 s&@configure_input@&$configure_input&;t t
    9061 s&@top_builddir@&$ac_top_builddir_sub&;t t
    9062 s&@srcdir@&$ac_srcdir&;t t
    9063 s&@abs_srcdir@&$ac_abs_srcdir&;t t
    9064 s&@top_srcdir@&$ac_top_srcdir&;t t
    9065 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
    9066 s&@builddir@&$ac_builddir&;t t
    9067 s&@abs_builddir@&$ac_abs_builddir&;t t
    9068 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    9069 s&@INSTALL@&$ac_INSTALL&;t t
    9070 $ac_datarootdir_hack
    9071 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
    9072 
    9073 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    9074   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    9075   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    9076   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9077 which seems to be undefined.  Please make sure it is defined." >&5
    9078 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9079 which seems to be undefined.  Please make sure it is defined." >&2;}
    9080 
    9081   rm -f "$tmp/stdin"
     8648s,@configure_input@,$configure_input,;t t
     8649s,@srcdir@,$ac_srcdir,;t t
     8650s,@abs_srcdir@,$ac_abs_srcdir,;t t
     8651s,@top_srcdir@,$ac_top_srcdir,;t t
     8652s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     8653s,@builddir@,$ac_builddir,;t t
     8654s,@abs_builddir@,$ac_abs_builddir,;t t
     8655s,@top_builddir@,$ac_top_builddir,;t t
     8656s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     8657s,@INSTALL@,$ac_INSTALL,;t t
     8658" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     8659  rm -f $tmp/stdin
     8660  if test x"$ac_file" != x-; then
     8661    mv $tmp/out $ac_file
     8662  else
     8663    cat $tmp/out
     8664    rm -f $tmp/out
     8665  fi
     8666
     8667done
     8668_ACEOF
     8669cat >>$CONFIG_STATUS <<\_ACEOF
     8670
     8671#
     8672# CONFIG_HEADER section.
     8673#
     8674
     8675# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     8676# NAME is the cpp macro being defined and VALUE is the value it is being given.
     8677#
     8678# ac_d sets the value in "#define NAME VALUE" lines.
     8679ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
     8680ac_dB='[     ].*$,\1#\2'
     8681ac_dC=' '
     8682ac_dD=',;t'
     8683# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     8684ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
     8685ac_uB='$,\1#\2define\3'
     8686ac_uC=' '
     8687ac_uD=',;t'
     8688
     8689for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     8690  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    90828691  case $ac_file in
    9083   -) cat "$tmp/out"; rm -f "$tmp/out";;
    9084   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     8692  - | *:- | *:-:* ) # input from stdin
     8693    cat >$tmp/stdin
     8694    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8695    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8696  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8697    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8698  * )   ac_file_in=$ac_file.in ;;
    90858699  esac
    9086  ;;
    9087   :H)
    9088   #
    9089   # CONFIG_HEADER
    9090   #
    9091 _ACEOF
    9092 
    9093 # Transform confdefs.h into a sed script `conftest.defines', that
    9094 # substitutes the proper values into config.h.in to produce config.h.
    9095 rm -f conftest.defines conftest.tail
    9096 # First, append a space to every undef/define line, to ease matching.
    9097 echo 's/$/ /' >conftest.defines
    9098 # Then, protect against being on the right side of a sed subst, or in
    9099 # an unquoted here document, in config.status.  If some macros were
    9100 # called several times there might be several #defines for the same
    9101 # symbol, which is useless.  But do not sort them, since the last
    9102 # AC_DEFINE must be honored.
    9103 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    9104 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
    9105 # NAME is the cpp macro being defined, VALUE is the value it is being given.
    9106 # PARAMS is the parameter list in the macro definition--in most cases, it's
    9107 # just an empty string.
    9108 ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
    9109 ac_dB='\\)[  (].*,\\1define\\2'
    9110 ac_dC=' '
    9111 ac_dD=' ,'
    9112 
    9113 uniq confdefs.h |
    9114   sed -n '
    9115     t rset
    9116     :rset
    9117     s/^[     ]*#[    ]*define[   ][  ]*//
    9118     t ok
    9119     d
    9120     :ok
    9121     s/[\\&,]/\\&/g
    9122     s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
    9123     s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
    9124   ' >>conftest.defines
    9125 
    9126 # Remove the space that was appended to ease matching.
    9127 # Then replace #undef with comments.  This is necessary, for
     8700
     8701  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
     8702echo "$as_me: creating $ac_file" >&6;}
     8703
     8704  # First look for the input files in the build tree, otherwise in the
     8705  # src tree.
     8706  ac_file_inputs=`IFS=:
     8707    for f in $ac_file_in; do
     8708      case $f in
     8709      -) echo $tmp/stdin ;;
     8710      [\\/$]*)
     8711     # Absolute (can't be DOS-style, as IFS=:)
     8712     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8713echo "$as_me: error: cannot find input file: $f" >&2;}
     8714   { (exit 1); exit 1; }; }
     8715     # Do quote $f, to prevent DOS paths from being IFS'd.
     8716     echo "$f";;
     8717      *) # Relative
     8718     if test -f "$f"; then
     8719       # Build tree
     8720       echo "$f"
     8721     elif test -f "$srcdir/$f"; then
     8722       # Source tree
     8723       echo "$srcdir/$f"
     8724     else
     8725       # /dev/null tree
     8726       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8727echo "$as_me: error: cannot find input file: $f" >&2;}
     8728   { (exit 1); exit 1; }; }
     8729     fi;;
     8730      esac
     8731    done` || { (exit 1); exit 1; }
     8732  # Remove the trailing spaces.
     8733  sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
     8734
     8735_ACEOF
     8736
     8737# Transform confdefs.h into two sed scripts, `conftest.defines' and
     8738# `conftest.undefs', that substitutes the proper values into
     8739# config.h.in to produce config.h.  The first handles `#define'
     8740# templates, and the second `#undef' templates.
     8741# And first: Protect against being on the right side of a sed subst in
     8742# config.status.  Protect against being in an unquoted here document
     8743# in config.status.
     8744rm -f conftest.defines conftest.undefs
     8745# Using a here document instead of a string reduces the quoting nightmare.
     8746# Putting comments in sed scripts is not portable.
     8747#
     8748# `end' is used to avoid that the second main sed command (meant for
     8749# 0-ary CPP macros) applies to n-ary macro definitions.
     8750# See the Autoconf documentation for `clear'.
     8751cat >confdef2sed.sed <<\_ACEOF
     8752s/[\\&,]/\\&/g
     8753s,[\\$`],\\&,g
     8754t clear
     8755: clear
     8756s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     8757t end
     8758s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     8759: end
     8760_ACEOF
     8761# If some macros were called several times there might be several times
     8762# the same #defines, which is useless.  Nevertheless, we may not want to
     8763# sort them, since we want the *last* AC-DEFINE to be honored.
     8764uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
     8765sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
     8766rm -f confdef2sed.sed
     8767
     8768# This sed command replaces #undef with comments.  This is necessary, for
    91288769# example, in the case of _POSIX_SOURCE, which is predefined and required
    91298770# on some systems where configure will not decide to define it.
    9130 # (The regexp can be short, since the line contains either #define or #undef.)
    9131 echo 's/ $//
    9132 s,^[     #]*u.*,/* & */,' >>conftest.defines
    9133 
    9134 # Break up conftest.defines:
    9135 ac_max_sed_lines=50
    9136 
    9137 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
    9138 # Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
    9139 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
    9140 # et cetera.
    9141 ac_in='$ac_file_inputs'
    9142 ac_out='"$tmp/out1"'
    9143 ac_nxt='"$tmp/out2"'
    9144 
    9145 while :
     8771cat >>conftest.undefs <<\_ACEOF
     8772s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     8773_ACEOF
     8774
     8775# Break up conftest.defines because some shells have a limit on the size
     8776# of here documents, and old seds have small limits too (100 cmds).
     8777echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
     8778echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     8779echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
     8780echo '  :' >>$CONFIG_STATUS
     8781rm -f conftest.tail
     8782while grep . conftest.defines >/dev/null
    91468783do
    9147   # Write a here document:
    9148     cat >>$CONFIG_STATUS <<_ACEOF
    9149     # First, check the format of the line:
    9150     cat >"\$tmp/defines.sed" <<\\CEOF
    9151 /^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
    9152 /^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
    9153 b
    9154 :def
    9155 _ACEOF
    9156   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
     8784  # Write a limited-size here document to $tmp/defines.sed.
     8785  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
     8786  # Speed up: don't consider the non `#define' lines.
     8787  echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
     8788  # Work around the forget-to-reset-the-flag bug.
     8789  echo 't clr' >>$CONFIG_STATUS
     8790  echo ': clr' >>$CONFIG_STATUS
     8791  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    91578792  echo 'CEOF
    9158     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
    9159   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
    9160   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
    9161   grep . conftest.tail >/dev/null || break
     8793  sed -f $tmp/defines.sed $tmp/in >$tmp/out
     8794  rm -f $tmp/in
     8795  mv $tmp/out $tmp/in
     8796' >>$CONFIG_STATUS
     8797  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    91628798  rm -f conftest.defines
    91638799  mv conftest.tail conftest.defines
    91648800done
    9165 rm -f conftest.defines conftest.tail
    9166 
    9167 echo "ac_result=$ac_in" >>$CONFIG_STATUS
     8801rm -f conftest.defines
     8802echo '  fi # grep' >>$CONFIG_STATUS
     8803echo >>$CONFIG_STATUS
     8804
     8805# Break up conftest.undefs because some shells have a limit on the size
     8806# of here documents, and old seds have small limits too (100 cmds).
     8807echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
     8808rm -f conftest.tail
     8809while grep . conftest.undefs >/dev/null
     8810do
     8811  # Write a limited-size here document to $tmp/undefs.sed.
     8812  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
     8813  # Speed up: don't consider the non `#undef'
     8814  echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     8815  # Work around the forget-to-reset-the-flag bug.
     8816  echo 't clr' >>$CONFIG_STATUS
     8817  echo ': clr' >>$CONFIG_STATUS
     8818  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
     8819  echo 'CEOF
     8820  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
     8821  rm -f $tmp/in
     8822  mv $tmp/out $tmp/in
     8823' >>$CONFIG_STATUS
     8824  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
     8825  rm -f conftest.undefs
     8826  mv conftest.tail conftest.undefs
     8827done
     8828rm -f conftest.undefs
     8829
    91688830cat >>$CONFIG_STATUS <<\_ACEOF
     8831  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8832  # use $as_me), people would be surprised to read:
     8833  #    /* config.h.  Generated by config.status.  */
     8834  if test x"$ac_file" = x-; then
     8835    echo "/* Generated by configure.  */" >$tmp/config.h
     8836  else
     8837    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     8838  fi
     8839  cat $tmp/in >>$tmp/config.h
     8840  rm -f $tmp/in
    91698841  if test x"$ac_file" != x-; then
    9170     echo "/* $configure_input  */" >"$tmp/config.h"
    9171     cat "$ac_result" >>"$tmp/config.h"
    9172     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
     8842    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    91738843      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    91748844echo "$as_me: $ac_file is unchanged" >&6;}
    91758845    else
     8846      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8847$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8848     X"$ac_file" : 'X\(//\)[^/]' \| \
     8849     X"$ac_file" : 'X\(//\)$' \| \
     8850     X"$ac_file" : 'X\(/\)' \| \
     8851     .     : '\(.\)' 2>/dev/null ||
     8852echo X"$ac_file" |
     8853    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8854      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8855      /^X\(\/\/\)$/{ s//\1/; q; }
     8856      /^X\(\/\).*/{ s//\1/; q; }
     8857      s/.*/./; q'`
     8858      { if $as_mkdir_p; then
     8859    mkdir -p "$ac_dir"
     8860  else
     8861    as_dir="$ac_dir"
     8862    as_dirs=
     8863    while test ! -d "$as_dir"; do
     8864      as_dirs="$as_dir $as_dirs"
     8865      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8866$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8867     X"$as_dir" : 'X\(//\)[^/]' \| \
     8868     X"$as_dir" : 'X\(//\)$' \| \
     8869     X"$as_dir" : 'X\(/\)' \| \
     8870     .     : '\(.\)' 2>/dev/null ||
     8871echo X"$as_dir" |
     8872    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8873      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8874      /^X\(\/\/\)$/{ s//\1/; q; }
     8875      /^X\(\/\).*/{ s//\1/; q; }
     8876      s/.*/./; q'`
     8877    done
     8878    test ! -n "$as_dirs" || mkdir $as_dirs
     8879  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8880echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8881   { (exit 1); exit 1; }; }; }
     8882
    91768883      rm -f $ac_file
    9177       mv "$tmp/config.h" $ac_file
     8884      mv $tmp/config.h $ac_file
    91788885    fi
    91798886  else
    9180     echo "/* $configure_input  */"
    9181     cat "$ac_result"
     8887    cat $tmp/config.h
     8888    rm -f $tmp/config.h
    91828889  fi
    9183   rm -f "$tmp/out12"
    9184  ;;
    9185 
    9186   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
    9187 echo "$as_me: executing $ac_file commands" >&6;}
    9188  ;;
     8890done
     8891_ACEOF
     8892cat >>$CONFIG_STATUS <<\_ACEOF
     8893
     8894#
     8895# CONFIG_COMMANDS section.
     8896#
     8897for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
     8898  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
     8899  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8900  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
     8901$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8902     X"$ac_dest" : 'X\(//\)[^/]' \| \
     8903     X"$ac_dest" : 'X\(//\)$' \| \
     8904     X"$ac_dest" : 'X\(/\)' \| \
     8905     .     : '\(.\)' 2>/dev/null ||
     8906echo X"$ac_dest" |
     8907    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8908      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8909      /^X\(\/\/\)$/{ s//\1/; q; }
     8910      /^X\(\/\).*/{ s//\1/; q; }
     8911      s/.*/./; q'`
     8912  { if $as_mkdir_p; then
     8913    mkdir -p "$ac_dir"
     8914  else
     8915    as_dir="$ac_dir"
     8916    as_dirs=
     8917    while test ! -d "$as_dir"; do
     8918      as_dirs="$as_dir $as_dirs"
     8919      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8920$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8921     X"$as_dir" : 'X\(//\)[^/]' \| \
     8922     X"$as_dir" : 'X\(//\)$' \| \
     8923     X"$as_dir" : 'X\(/\)' \| \
     8924     .     : '\(.\)' 2>/dev/null ||
     8925echo X"$as_dir" |
     8926    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8927      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8928      /^X\(\/\/\)$/{ s//\1/; q; }
     8929      /^X\(\/\).*/{ s//\1/; q; }
     8930      s/.*/./; q'`
     8931    done
     8932    test ! -n "$as_dirs" || mkdir $as_dirs
     8933  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8934echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8935   { (exit 1); exit 1; }; }; }
     8936
     8937  ac_builddir=.
     8938
     8939if test "$ac_dir" != .; then
     8940  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8941  # A "../" for each directory in $ac_dir_suffix.
     8942  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8943else
     8944  ac_dir_suffix= ac_top_builddir=
     8945fi
     8946
     8947case $srcdir in
     8948  .)  # No --srcdir option.  We are building in place.
     8949    ac_srcdir=.
     8950    if test -z "$ac_top_builddir"; then
     8951       ac_top_srcdir=.
     8952    else
     8953       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8954    fi ;;
     8955  [\\/]* | ?:[\\/]* )  # Absolute path.
     8956    ac_srcdir=$srcdir$ac_dir_suffix;
     8957    ac_top_srcdir=$srcdir ;;
     8958  *) # Relative path.
     8959    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8960    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8961esac
     8962
     8963# Do not use `cd foo && pwd` to compute absolute paths, because
     8964# the directories may not exist.
     8965case `pwd` in
     8966.) ac_abs_builddir="$ac_dir";;
     8967*)
     8968  case "$ac_dir" in
     8969  .) ac_abs_builddir=`pwd`;;
     8970  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8971  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8972  esac;;
     8973esac
     8974case $ac_abs_builddir in
     8975.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8976*)
     8977  case ${ac_top_builddir}. in
     8978  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8979  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8980  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8981  esac;;
     8982esac
     8983case $ac_abs_builddir in
     8984.) ac_abs_srcdir=$ac_srcdir;;
     8985*)
     8986  case $ac_srcdir in
     8987  .) ac_abs_srcdir=$ac_abs_builddir;;
     8988  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8989  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8990  esac;;
     8991esac
     8992case $ac_abs_builddir in
     8993.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8994*)
     8995  case $ac_top_srcdir in
     8996  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8997  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8998  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8999  esac;;
     9000esac
     9001
     9002
     9003  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
     9004echo "$as_me: executing $ac_dest commands" >&6;}
     9005  case $ac_dest in
     9006    default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
    91899007  esac
    9190 
    9191 
    9192   case $ac_file$ac_mode in
    9193     "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
    9194 
    9195   esac
    9196 done # for ac_tag
    9197 
     9008done
     9009_ACEOF
     9010
     9011cat >>$CONFIG_STATUS <<\_ACEOF
    91989012
    91999013{ (exit 0); exit 0; }
  • main/trunk/greenstone2/common-src/indexers/mgpp/configure.in

    r21446 r22058  
    4848fi
    4949AC_SUBST(ENABLE_ACCENTFOLD)
     50
     51dnl
     52dnl Set use of JDBM (enabled by default)
     53dnl
     54AC_ARG_ENABLE(jdbm, [  --disable-jdbm        Disable JDBM compilation], USE_JDBM=$enableval, USE_JDBM=yes)
     55if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then
     56  USE_JDBM=1
     57  AC_DEFINE(USE_JDBM,[])
     58else
     59  USE_JDBM=0
     60fi
     61AC_SUBST(USE_JDBM)
     62
     63dnl
     64dnl Set use of GDBM (enabled by default)
     65dnl
     66AC_ARG_ENABLE(gdbm, [  --disable-gdbm        Disable GDBM compilation], USE_GDBM=$enableval, USE_GDBM=yes)
     67if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
     68  USE_GDBM=1
     69  AC_DEFINE(USE_GDBM,[])
     70else
     71  USE_GDBM=0
     72fi
     73AC_SUBST(USE_GDBM)
    5074
    5175dnl Checks for programs.
  • main/trunk/greenstone2/common-src/indexers/mgpp/jni/Makefile.in

    r20847 r22058  
    2222endif
    2323
     24USE_GDBM = @USE_GDBM@
     25ifeq ($(USE_GDBM), 1)
     26GDBM_DEFINES = -DUSE_GDBM
     27else
     28GDBM_DEFINES =
     29endif
     30
     31USE_JDBM = @USE_JDBM@
     32ifeq ($(USE_JDBM), 1)
     33JDBM_DEFINES = -DUSE_JDBM
     34else
     35JDBM_DEFINES =
     36endif
     37
     38USE_SQLITE = @USE_SQLITE@
     39ifeq ($(USE_SQLITE), 1)
     40SQLITE_DEFINES = -DUSE_SQLITE
     41else
     42SQLITE_DEFINES =
     43endif
    2444
    2545
     
    2949CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -fPIC -ansi -DSILENT -DSHORT_SUFFIX
    3050CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ -fPIC -DSILENT -DSHORT_SUFFIX
    31 DEFS = @DEFS@
     51DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3252RANLIB = @RANLIB@
    3353INSTALL = @INSTALL@
  • main/trunk/greenstone2/common-src/indexers/mgpp/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@
     
    4061endif
    4162CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ -fPIC
    42 DEFS = @DEFS@
     63DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    4364RANLIB = @RANLIB@
    4465
     
    4869datadir = $(prefix)/share
    4970localedir = $(datadir)/locale
    50  
     71
    5172COMPILE = $(CC) -c $(DEFS) $(INCLUDES)  $(CFLAGS)
    5273CXXCOMPILE = $(CXX) -c $(DEFS) $(INCLUDES) $(CXXFLAGS)
    53  
     74
    5475.SUFFIXES:
    5576.SUFFIXES: .c .o
     
    6384ANSI2KNR = @ANSI2KNR@
    6485o = .@U@o
    65  
     86
    6687.SUFFIXES: ._c ._o
    6788.c._c:
     
    7899
    79100INCLUDES = -I.. -I$(srcdir)
    80  
     101
    81102HEADERS = \
    82103    bitio_m_random.h   local_strings.h    lovinstem.h \
     
    128149maninstall:
    129150manuninstall:
    130  
     151
    131152dist: $(DISTFILES)
    132153    for file in $(DISTFILES); do \
     
    137158mostlyclean:
    138159    rm -f *.o *_.o
    139  
     160
    140161clean: mostlyclean
    141162    rm -f libmgpplib.a
    142  
     163
    143164distclean: clean
    144165    rm -f Makefile
    145  
     166
    146167maintainer-clean: distclean
    147168    @echo "This command is intended only for maintainers to use;"
     
    151172#Makefile: Makefile.in ../../../config.status
    152173#   cd ../../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
    153  
     174
    154175# Tell versions [3.59,3.63) of GNU make not to export all variables.
    155176# Otherwise a system limit (for SysV at least) may be exceeded.
  • main/trunk/greenstone2/common-src/indexers/mgpp/text/Makefile.in

    r20847 r22058  
    3838endif
    3939
     40USE_GDBM = @USE_GDBM@
     41ifeq ($(USE_GDBM), 1)
     42GDBM_DEFINES = -DUSE_GDBM
     43else
     44GDBM_DEFINES =
     45endif
     46
     47USE_JDBM = @USE_JDBM@
     48ifeq ($(USE_JDBM), 1)
     49JDBM_DEFINES = -DUSE_JDBM
     50else
     51JDBM_DEFINES =
     52endif
     53
     54USE_SQLITE = @USE_SQLITE@
     55ifeq ($(USE_SQLITE), 1)
     56SQLITE_DEFINES = -DUSE_SQLITE
     57else
     58SQLITE_DEFINES =
     59endif
    4060
    4161SHELL = /bin/sh
     
    5575CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ -ansi -fPIC -DSILENT -DSHORT_SUFFIX $(AFFLAGS)
    5676CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@ -fPIC -DSILENT -DSHORT_SUFFIX $(AFFLAGS)
    57 DEFS = @DEFS@
     77DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    5878RANLIB = @RANLIB@
    5979INSTALL = @INSTALL@
  • main/trunk/greenstone2/common-src/packages/Makefile.in

    r21869 r22058  
    2525###########################################################################
    2626
     27USE_GDBM=@USE_GDBM@
     28ifeq ($(USE_GDBM), 1)
     29GDBM_DEFINES = -DUSE_GDBM
     30else
     31GDBM_DEFINES =
     32endif
    2733
    28 ENABLE_JDBM=@ENABLE_JDBM@
    29 
    30 ifeq ($(ENABLE_JDBM), 1)
     34USE_JDBM=@USE_JDBM@
     35ifeq ($(USE_JDBM), 1)
    3136JDBM_DIR = jdbm/jdbm-1.0
     37JDBM_DEFINES = -DUSE_JDBM
    3238else
    33 JDBM_DIR =
     39JDBM_DIR =
     40JDBM_DEFINES =
    3441endif
    3542
    3643USE_SQLITE=@USE_SQLITE@
    37 
    3844ifeq ($(USE_SQLITE), 1)
    3945SQLITE_DIR = sqlite/sqlite-amalgamation-3.6.23.1
     46SQLITE_DEFINES = -DUSE_SQLITE
    4047else
    4148SQLITE_DIR =
     49SQLITE_DEFINES =
    4250endif
     51
     52DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    4353
    4454# COMPILEDIRS contains the packages that we want to make and install.  It
     
    5666          (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    5767        done
    58 ifeq ($(ENABLE_JDBM), 1)
     68ifeq ($(USE_JDBM), 1)
    5969# do 'make install' in jdbm directory to get the jar file into the right place
    6070    cd $(JDBM_DIR) && $(MAKE) $(MDEFINES) install
  • main/trunk/greenstone2/common-src/packages/configure

    r21873 r22058  
    2222ENVIRONMENT=""
    2323
     24# GDBM support enabled by default, can switch it off with --disable-jdbm
     25USE_GDBM=1
    2426# JDBM support enabled by default, can switch it off with --disable-jdbm
    25 ENABLE_JDBM=1
     27USE_JDBM=1
    2628# SQLite support enabled by default, can switch it off with --disable-sqlite
    2729USE_SQLITE=true
     
    5153        fi
    5254        ;;
     55    --disable-gdbm)
     56        USE_GDBM=0
     57        ;;
    5358    --disable-jdbm)
    54         ENABLE_JDBM=0
     59        USE_JDBM=0
    5560        ;;
    5661    --disable-sqlite)
     
    200205echo ""
    201206echo "Configuring GDBM"
    202 echo ""
    203 cd "$PACKAGES/gdbm"
    204 
    205 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT
    206 
    207 cd "$PACKAGES/gdbm/gdbm-1.8.3" && \
    208 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT
    209 
     207if test $USE_GDBM  ;
     208then
     209    echo ""
     210    cd "$PACKAGES/gdbm"
     211
     212    echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT
     213
     214    cd "$PACKAGES/gdbm/gdbm-1.8.3" && \
     215    CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT
     216else
     217  echo " GDBM support disabled."
     218  echo "  add '--enable-gdbm' to the configure command to include GDBM support."
     219  echo ""
     220fi
    210221
    211222# configure JDBM
    212223echo ""
    213224echo "Configuring JDBM"
    214 if test $ENABLE_JDBM  ;
     225if test $USE_JDBM  ;
    215226then
    216227  echo ""
  • main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/Makefile.in

    r18224 r22058  
    3030COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages
    3131
     32USE_GDBM = @USE_GDBM@
     33ifeq ($(USE_GDBM), 1)
     34GDBM_DEFINES = -DUSE_GDBM
     35else
     36GDBM_DEFINES =
     37endif
     38
     39USE_JDBM = @USE_JDBM@
     40ifeq ($(USE_JDBM), 1)
     41JDBM_DEFINES = -DUSE_JDBM
     42else
     43JDBM_DEFINES =
     44endif
     45
     46USE_SQLITE = @USE_SQLITE@
     47ifeq ($(USE_SQLITE), 1)
     48SQLITE_DEFINES = -DUSE_SQLITE
     49else
     50SQLITE_DEFINES =
     51endif
    3252
    3353CXX = @CXX@
    3454CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    35 DEFS = @DEFS@
     55DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3656GSDLOS = @gsdlos@
    3757INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib
  • main/trunk/greenstone2/common-src/src/gdbmedit/gdbmdel/Makefile.in

    r18442 r22058  
    3030COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages
    3131
     32USE_GDBM = @USE_GDBM@
     33ifeq ($(USE_GDBM), 1)
     34GDBM_DEFINES = -DUSE_GDBM
     35else
     36GDBM_DEFINES =
     37endif
     38
     39USE_JDBM = @USE_JDBM@
     40ifeq ($(USE_JDBM), 1)
     41JDBM_DEFINES = -DUSE_JDBM
     42else
     43JDBM_DEFINES =
     44endif
     45
     46USE_SQLITE = @USE_SQLITE@
     47ifeq ($(USE_SQLITE), 1)
     48SQLITE_DEFINES = -DUSE_SQLITE
     49else
     50SQLITE_DEFINES =
     51endif
    3252
    3353CXX = @CXX@
    3454CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    35 DEFS = @DEFS@
     55DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3656GSDLOS = @gsdlos@
    3757INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib
  • main/trunk/greenstone2/common-src/src/gdbmedit/gdbmget/Makefile.in

    r18224 r22058  
    3030COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages
    3131
     32USE_GDBM = @USE_GDBM@
     33ifeq ($(USE_GDBM), 1)
     34GDBM_DEFINES = -DUSE_GDBM
     35else
     36GDBM_DEFINES =
     37endif
     38
     39USE_JDBM = @USE_JDBM@
     40ifeq ($(USE_JDBM), 1)
     41JDBM_DEFINES = -DUSE_JDBM
     42else
     43JDBM_DEFINES =
     44endif
     45
     46USE_SQLITE = @USE_SQLITE@
     47ifeq ($(USE_SQLITE), 1)
     48SQLITE_DEFINES = -DUSE_SQLITE
     49else
     50SQLITE_DEFINES =
     51endif
    3252
    3353CXX = @CXX@
    3454CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    35 DEFS = @DEFS@
     55DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3656GSDLOS = @gsdlos@
    3757INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib
  • main/trunk/greenstone2/common-src/src/gdbmedit/gdbmkeys/Makefile.in

    r18442 r22058  
    3030COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages
    3131
     32USE_GDBM = @USE_GDBM@
     33ifeq ($(USE_GDBM), 1)
     34GDBM_DEFINES = -DUSE_GDBM
     35else
     36GDBM_DEFINES =
     37endif
     38
     39USE_JDBM = @USE_JDBM@
     40ifeq ($(USE_JDBM), 1)
     41JDBM_DEFINES = -DUSE_JDBM
     42else
     43JDBM_DEFINES =
     44endif
     45
     46USE_SQLITE = @USE_SQLITE@
     47ifeq ($(USE_SQLITE), 1)
     48SQLITE_DEFINES = -DUSE_SQLITE
     49else
     50SQLITE_DEFINES =
     51endif
    3252
    3353CXX = @CXX@
    3454CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    35 DEFS = @DEFS@
     55DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3656GSDLOS = @gsdlos@
    3757INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib
  • main/trunk/greenstone2/common-src/src/gdbmedit/gdbmset/Makefile.in

    r18224 r22058  
    3030COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages
    3131
     32USE_GDBM = @USE_GDBM@
     33ifeq ($(USE_GDBM), 1)
     34GDBM_DEFINES = -DUSE_GDBM
     35else
     36GDBM_DEFINES =
     37endif
     38
     39USE_JDBM = @USE_JDBM@
     40ifeq ($(USE_JDBM), 1)
     41JDBM_DEFINES = -DUSE_JDBM
     42else
     43JDBM_DEFINES =
     44endif
     45
     46USE_SQLITE = @USE_SQLITE@
     47ifeq ($(USE_SQLITE), 1)
     48SQLITE_DEFINES = -DUSE_SQLITE
     49else
     50SQLITE_DEFINES =
     51endif
    3252
    3353CXX = @CXX@
    3454CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    35 DEFS = @DEFS@
     55DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3656GSDLOS = @gsdlos@
    3757INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib
  • main/trunk/greenstone2/common-src/src/gdbmedit/txt2db/Makefile.in

    r21325 r22058  
    3030COMMON_PACKAGES_DIR = $(COMMON_DIR)/packages
    3131
     32USE_GDBM = @USE_GDBM@
     33ifeq ($(USE_GDBM), 1)
     34GDBM_DEFINES = -DUSE_GDBM
     35else
     36GDBM_DEFINES =
     37endif
     38
     39USE_JDBM = @USE_JDBM@
     40ifeq ($(USE_JDBM), 1)
     41JDBM_DEFINES = -DUSE_JDBM
     42else
     43JDBM_DEFINES =
     44endif
     45
     46USE_SQLITE = @USE_SQLITE@
     47ifeq ($(USE_SQLITE), 1)
     48SQLITE_DEFINES = -DUSE_SQLITE
     49else
     50SQLITE_DEFINES =
     51endif
    3252
    3353CXX = @CXX@
    3454CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    35 DEFS = @DEFS@
     55DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    3656GSDLOS = @gsdlos@
    3757INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib
  • main/trunk/greenstone2/common-src/src/lib/Makefile.in

    r22043 r22058  
    3535ifeq ($(USE_SQLITE), 1)
    3636SQLITE_INCLUDES = -I$(COMMON_PACKAGES_DIR)/sqlite/include
     37SQLITE_SOURCES = sqlitedbclass.cpp
    3738SQLITE_OBJECTS = sqlitedbclass.o
    38 SQLITE_SOURCES = sqlitedbclass.cpp
     39SQLITE_DEFINES = -DUSE_SQLITE
    3940else
    4041SQLITE_INCLUDES =
     42SQLITE_SOURCES =
    4143SQLITE_OBJECTS =
    42 SQLITE_SOURCES =
     44SQLITE_DEFINES =
    4345endif
    4446
    45 ENABLE_JDBM=@ENABLE_JDBM@
    46 ifeq ($(ENABLE_JDBM), 1)
     47USE_GDBM=@USE_GDBM@
     48ifeq ($(USE_GDBM), 1)
     49GDBM_SOURCES = gdbmclass.cpp
     50GDBM_OBJECTS = gdbmclass.o
     51GDBM_DEFINES = -DUSE_GDBM
     52else
     53GDBM_SOURCES =
     54GDBM_OBJECTS =
     55GDBM_DEFINES =
     56endif
     57
     58USE_JDBM=@USE_JDBM@
     59ifeq ($(USE_JDBM), 1)
    4760JDBM_SOURCES = jdbmnaiveclass.cpp
    4861JDBM_OBJECTS = jdbmnaiveclass.o
     62JDBM_DEFINES = -DUSE_JDBM
    4963else
    5064JDBM_SOURCES =
    5165JDBM_OBJECTS =
     66JDBM_DEFINES =
    5267endif
    5368
     
    5570CXX = @CXX@
    5671CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@
    57 DEFS = @DEFS@
     72DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES)
    5873INCLUDES = -I. -I$(COMMON_DIR) -I$(COMMON_PACKAGES_DIR)/gdbm/include $(SQLITE_INCLUDES)
    5974RANLIB = @RANLIB@
     
    7691    display.cpp \
    7792    fileutil.cpp \
    78     gdbmclass.cpp \
     93    $(GDBM_SOURCES) \
    7994    $(JDBM_SOURCES) \
    8095    gsdlsitecfg.cpp \
     
    86101    OIDtools.cpp \
    87102    phrases.cpp \
     103    sqldbclass.cpp \
     104    $(SQLITE_SOURCES) \
    88105    text_t.cpp \
    89     unitool.cpp \
    90     sqldbclass.cpp \
    91     $(SQLITE_SOURCES)
     106    unitool.cpp
    92107
    93108OBJECTS = \
     
    98113    display.o \
    99114    fileutil.o \
    100     gdbmclass.o \
     115    $(GDBM_OBJECTS) \
    101116    $(JDBM_OBJECTS) \
    102117    gsdlsitecfg.o \
     
    108123    OIDtools.o \
    109124    phrases.o \
     125    sqldbclass.o \
     126    $(SQLITE_OBJECTS) \
    110127    text_t.o \
    111     unitool.o \
    112     sqldbclass.o \
    113     $(SQLITE_OBJECTS)
     128    unitool.o
    114129
    115130LIBRARY = gsdllib.a
Note: See TracChangeset for help on using the changeset viewer.