Changeset 4912 for branches/r9
- Timestamp:
- Jan 1, 2015, 1:37:14 PM (10 years ago)
- Location:
- branches/r9
- Files:
-
- 12 added
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/r9/Makefile.in
r4910 r4912 972 972 973 973 define clean_packages 974 $( MAKE) -C $(packages) clean974 $(RM) -r $(packages) 975 975 endef 976 976 define fetch_packages 977 977 endef 978 978 define configure_packages 979 $(MKDIR_P) $(packages) 980 cd $(packages); $(srcdir)/$(packages)/configure $(packages_flags) 979 981 endef 980 982 define build_packages -
branches/r9/configure
r4909 r4912 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for Rappture 1. 4.3 # Generated by GNU Autoconf 2.69 for Rappture 1.5. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. … … 581 581 PACKAGE_NAME='Rappture' 582 582 PACKAGE_TARNAME='rappture' 583 PACKAGE_VERSION='1. 4'584 PACKAGE_STRING='Rappture 1. 4'583 PACKAGE_VERSION='1.5' 584 PACKAGE_STRING='Rappture 1.5' 585 585 PACKAGE_BUGREPORT='rappture@nanohub.org' 586 586 PACKAGE_URL='' … … 650 650 TK_LIB_SPEC 651 651 TK_INC_SPEC 652 TCL_VERSION653 652 TCL_SHLIB_SUFFIX 654 653 TCL_SHLIB_LDFLAGS … … 1342 1341 # This message is too long to be a string in the A/UX 3.1 sh. 1343 1342 cat <<_ACEOF 1344 \`configure' configures Rappture 1. 4to adapt to many kinds of systems.1343 \`configure' configures Rappture 1.5 to adapt to many kinds of systems. 1345 1344 1346 1345 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1407 1406 if test -n "$ac_init_help"; then 1408 1407 case $ac_init_help in 1409 short | recursive ) echo "Configuration of Rappture 1. 4:";;1408 short | recursive ) echo "Configuration of Rappture 1.5:";; 1410 1409 esac 1411 1410 cat <<\_ACEOF … … 1524 1523 if $ac_init_version; then 1525 1524 cat <<\_ACEOF 1526 Rappture configure 1. 41525 Rappture configure 1.5 1527 1526 generated by GNU Autoconf 2.69 1528 1527 … … 2344 2343 running configure, to aid debugging if configure makes a mistake. 2345 2344 2346 It was created by Rappture $as_me 1. 4, which was2345 It was created by Rappture $as_me 1.5, which was 2347 2346 generated by GNU Autoconf 2.69. Invocation command line was 2348 2347 … … 2724 2723 2725 2724 2725 RAPPTURE_MAJOR_VERSION=1 2726 RAPPTURE_MINOR_VERSION=5 2727 RAPPTURE_RELEASE_SERIAL=0 2728 RAPPTURE_VERSION=1.5 2729 2726 2730 WITH_R=yes 2727 2731 WITH_JAVA=yes … … 6144 6148 # option. 6145 6149 #-------------------------------------------------------------------- 6146 6147 TCL_VERSION="8.5"6148 TK_VERSION="8.5"6149 6150 6150 6151 … … 8077 8078 8078 8079 8079 8080 8080 ac_config_files="$ac_config_files Makefile fixrunpaths.tcl apps/Makefile apps/about apps/copy_rappture_examples apps/encodedata apps/rappture apps/rappture-csh.env apps/rappture.env apps/rappture.use apps/rerun apps/simsim apps/xmldiff lib/Makefile lib/objects/Makefile lib/objects/RpHash.h lib/rappture/Makefile lib/rappture2/Makefile lib/rapptureConfig.sh pkgs/DicomToVtk/Makefile pkgs/DicomToVtk/pkgIndex.tcl pkgs/DxToVtk/Makefile pkgs/DxToVtk/pkgIndex.tcl pkgs/Makefile pkgs/PdbToVtk/Makefile pkgs/PdbToVtk/pkgIndex.tcl pkgs/builder/Makefile pkgs/builder/pkgIndex.tcl pkgs/builder/scripts/Makefile pkgs/diffview/Makefile pkgs/diffview/pkgIndex.tcl pkgs/hotspot/Makefile pkgs/hotspot/pkgIndex.tcl pkgs/listbox/Makefile pkgs/listbox/pkgIndex.tcl pkgs/objects/Makefile pkgs/p2p/Makefile pkgs/placard/Makefile pkgs/placard/pkgIndex.tcl pkgs/readpoints/Makefile pkgs/readpoints/pkgIndex.tcl pkgs/runner/Makefile pkgs/runner/pkgIndex.tcl pkgs/runner/scripts/Makefile pkgs/squeezer/Makefile pkgs/squeezer/pkgIndex.tcl pkgs/system/Makefile pkgs/system/pkgIndex.tcl pkgs/tester/Makefile pkgs/tester/pkgIndex.tcl pkgs/tester/scripts/Makefile" 8081 8081 … … 8587 8587 # values after options handling. 8588 8588 ac_log=" 8589 This file was extended by Rappture $as_me 1. 4, which was8589 This file was extended by Rappture $as_me 1.5, which was 8590 8590 generated by GNU Autoconf 2.69. Invocation command line was 8591 8591 … … 8649 8649 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8650 8650 ac_cs_version="\\ 8651 Rappture config.status 1. 48651 Rappture config.status 1.5 8652 8652 configured by $0, generated by GNU Autoconf 2.69, 8653 8653 with options \\"\$ac_cs_config\\" -
branches/r9/configure.in
r4909 r4912 1 RAPPTURE_MAJOR_VERSION=1 2 RAPPTURE_MINOR_VERSION=4 3 RAPPTURE_RELEASE_SERIAL=0 4 RAPPTURE_VERSION=${RAPPTURE_MAJOR_VERSION}.${RAPPTURE_MINOR_VERSION} 5 6 AC_INIT([Rappture],[ 1.4],[rappture@nanohub.org])1 define(Major_Version, [1]) 2 define(Minor_Version, [5]) 3 define(Release_Serial, [0]) 4 5 define(Version, [Major_Version].[Minor_Version]) 6 AC_INIT([Rappture],[Version],[rappture@nanohub.org]) 7 7 AC_CONFIG_AUX_DIR(cf) 8 8 AC_CONFIG_HEADER(lib/rappture/config.h) 9 10 RAPPTURE_MAJOR_VERSION=Major_Version 11 RAPPTURE_MINOR_VERSION=Minor_Version 12 RAPPTURE_RELEASE_SERIAL=Release_Serial 13 RAPPTURE_VERSION=Version 9 14 10 15 WITH_R=yes … … 258 263 # option. 259 264 #-------------------------------------------------------------------- 260 261 TCL_VERSION="8.5"262 TK_VERSION="8.5"263 265 264 266 SC_CONFIG_CFLAGS … … 294 296 AC_SUBST(TCL_SHLIB_LDFLAGS) 295 297 AC_SUBST(TCL_SHLIB_SUFFIX) 296 AC_SUBST(TCL_VERSION)297 AC_SUBST(TCL_VERSION)298 298 AC_SUBST(TK_INC_SPEC) 299 299 AC_SUBST(TK_LIB_SPEC) … … 328 328 AC_SUBST(WITH_RUBY_SITELIBDIR) 329 329 AC_SUBST(WITH_TCL) 330 AC_SUBST(WITH_VTK) 330 331 331 332 dnl read Makefile.in and write Makefile … … 350 351 lib/rappture2/Makefile 351 352 lib/rapptureConfig.sh 352 pkgs/DicomToVtk/Makefile353 pkgs/DicomToVtk/pkgIndex.tcl354 pkgs/DxToVtk/Makefile355 pkgs/DxToVtk/pkgIndex.tcl356 pkgs/Makefile357 pkgs/PdbToVtk/Makefile358 pkgs/PdbToVtk/pkgIndex.tcl359 pkgs/builder/Makefile360 pkgs/builder/pkgIndex.tcl361 pkgs/builder/scripts/Makefile362 pkgs/diffview/Makefile363 pkgs/diffview/pkgIndex.tcl364 pkgs/hotspot/Makefile365 pkgs/hotspot/pkgIndex.tcl366 pkgs/listbox/Makefile367 pkgs/listbox/pkgIndex.tcl368 pkgs/objects/Makefile369 pkgs/p2p/Makefile370 pkgs/placard/Makefile371 pkgs/placard/pkgIndex.tcl372 pkgs/readpoints/Makefile373 pkgs/readpoints/pkgIndex.tcl374 pkgs/runner/Makefile375 pkgs/runner/pkgIndex.tcl376 pkgs/runner/scripts/Makefile377 pkgs/squeezer/Makefile378 pkgs/squeezer/pkgIndex.tcl379 pkgs/system/Makefile380 pkgs/system/pkgIndex.tcl381 pkgs/tester/Makefile382 pkgs/tester/pkgIndex.tcl383 pkgs/tester/scripts/Makefile384 353 ]) 385 354 AC_OUTPUT -
branches/r9/lib/rapptureConfig.sh.in
r4909 r4912 14 14 RAPPTURE_RELEASE_SERIAL=@RAPPTURE_RELEASE_SERIAL@ 15 15 RAPPTURE_VERSION="${RAPPTURE_MAJOR_VERSION}.${RAPPTURE_MINOR_VERSION}" 16 SVN_VERSION="@SVN_VERSION@" 16 17 17 18 WITH_R=@WITH_R@ … … 26 27 WITH_RUBY_SITELIBDIR=@WITH_RUBY_SITELIBDIR@ 27 28 WITH_TCL=@WITH_TCL@ 29 WITH_VTK=@WITH_VTK@ 30 -
branches/r9/pkgs/DicomToVtk/Makefile.in
r4852 r4912 14 14 MKDIR_P = @MKDIR_P@ 15 15 16 CC = @CC@ 17 CFLAGS = @CFLAGS@ -fPIC 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 20 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 16 21 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@20 S TLIB_LD = @STLIB_LD@22 LIB_RUNTIME_DIR = $(libdir) 23 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 24 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 25 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 26 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 27 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 28 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 29 STLIB_LD = @STLIB_LD@ 29 30 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 31 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@32 LIB_RUNTIME_DIR = $(libdir)33 32 34 33 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 44 43 $(TK_LIB_SPEC) \ 45 44 46 version = @ PACKAGE_VERSION@47 DEFINES = -D PACKAGE_VERSION=\"$(version)\"45 version = @RAPPTURE_VERSION@ 46 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 48 47 49 48 RANLIB = @RANLIB@ -
branches/r9/pkgs/DicomToVtk/pkgIndex.tcl.in
r4843 r4912 1 package ifneeded Rappture Video@PACKAGE_VERSION@ [format {1 package ifneeded RapptureDicomToVtk @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "Rappture Video${version}${ext}"] RpVideo6 package provide Rappture Video$version5 load [file join $dir "RapptureDicomToVtk${version}${ext}"] RpDicomToVtk 6 package provide RapptureDicomToVtk $version 7 7 } $dir] -
branches/r9/pkgs/DxToVtk/Makefile.in
r4859 r4912 26 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@29 28 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 29 TK_LIB_SPEC = @TK_LIB_SPEC@ … … 43 42 $(TK_LIB_SPEC) \ 44 43 45 version = @PACKAGE_VERSION@ 46 DEFINES = -DPACKAGE_VERSION=\"$(version)\" 44 version = @RAPPTURE_VERSION@ 45 bindir = @bindir@ 46 datadir = @datadir@ 47 datarootdir = @datarootdir@ 48 exec_prefix = @exec_prefix@ 49 includedir = @includedir@ 50 libdir = @libdir@ 51 mandir = @mandir@ 52 prefix = @prefix@ 53 srcdir = @srcdir@ 54 55 SHELL = @SHELL@ 56 INSTALL = @INSTALL@ 57 MKDIR_P = @MKDIR_P@ 58 59 CC = @CC@ 60 CFLAGS = @CFLAGS@ -fPIC 61 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 62 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 63 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 64 CXX = @CXX@ 65 HAVE_NCURSES = @HAVE_LIBNCURSES@ 66 LIB_RUNTIME_DIR = $(libdir) 67 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 68 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 69 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 70 SHLIB_LD = @SHLIB_LD@ 71 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 72 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 73 STLIB_LD = @STLIB_LD@ 74 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 75 TK_LIB_SPEC = @TK_LIB_SPEC@ 76 77 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 78 CXX_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) 79 80 INCLUDES = \ 81 -I$(srcdir) \ 82 -I$(includedir) 83 84 LIBS = \ 85 $(TCL_LIB_SPEC) 86 87 version = @RAPPTURE_VERSION@ 88 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 89 90 RANLIB = @RANLIB@ 91 AR = ar 92 VPATH = $(srcdir) 93 RM = rm -f 94 95 CDEBUGFLAGS = -g -Wall 96 97 OBJS = \ 98 RpDxToVtk.o 99 100 name = RapptureDxToVtk$(version) 101 libname = $(name) 102 lib = $(libname)$(SHLIB_SUFFIX) 103 destdir = $(libdir)/$(name) 104 105 .PHONY: all install clean distclean 106 107 all: $(lib) 108 109 $(lib): $(OBJS) 110 $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) \ 111 $(LIB_SEARCH_DIRS) $(LIBS) 112 113 install: $(lib) 114 $(MKDIR_P) -m 0755 $(destdir) 115 $(INSTALL) -m 0555 $(lib) $(destdir) 116 $(INSTALL) -m 0444 pkgIndex.tcl $(destdir) 117 118 .cpp.o: 119 $(CXX) $(CXX_SWITCHES) -c $? 120 .c.o: 121 $(CC) $(CC_SWITCHES) -c $? 122 123 clean: 124 $(RM) $(OBJS) $(lib) 125 126 distclean: clean 127 $(RM) Makefile pkgIndex.tcl *~ 128 129 ES = -DRAPPTURE_VERSION=\"$(version)\" 47 130 48 131 RANLIB = @RANLIB@ -
branches/r9/pkgs/DxToVtk/pkgIndex.tcl.in
r4843 r4912 1 package ifneeded Rappture Video@PACKAGE_VERSION@ [format {1 package ifneeded RapptureDxToVtk @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "Rappture Video${version}${ext}"] RpVideo6 package provide Rappture Video$version5 load [file join $dir "RapptureDxToVtk${version}${ext}"] RpDxToVtk 6 package provide RapptureDxToVtk $version 7 7 } $dir] -
branches/r9/pkgs/PdbToVtk/Makefile.in
r4859 r4912 14 14 MKDIR_P = @MKDIR_P@ 15 15 16 CC = @CC@ 17 CFLAGS = @CFLAGS@ -fPIC 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 20 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 16 21 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@20 S TLIB_LD = @STLIB_LD@22 LIB_RUNTIME_DIR = $(libdir) 23 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 24 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 25 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 26 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 27 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 28 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 29 STLIB_LD = @STLIB_LD@ 29 30 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 31 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@32 LIB_RUNTIME_DIR = $(libdir)33 32 34 33 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 43 42 $(TK_LIB_SPEC) \ 44 43 45 version = @ PACKAGE_VERSION@46 DEFINES = -D PACKAGE_VERSION=\"$(version)\"44 version = @RAPPTURE_VERSION@ 45 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 47 46 48 47 RANLIB = @RANLIB@ -
branches/r9/pkgs/PdbToVtk/pkgIndex.tcl.in
r4843 r4912 1 package ifneeded Rappture Video@PACKAGE_VERSION@ [format {1 package ifneeded RappturePdbToVtk @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "Rappture Video${version}${ext}"] RpVideo6 package provide Rappture Video$version5 load [file join $dir "RappturePdbToVtk${version}${ext}"] RpPdbToVtk 6 package provide RappturePdbToVtk $version 7 7 } $dir] -
branches/r9/pkgs/builder/Makefile.in
r4867 r4912 19 19 INSTALL = @INSTALL@ 20 20 MKDIR_P = @MKDIR_P@ 21 PACKAGE_VERSION = @PACKAGE_VERSION@21 RAPPTURE_VERSION= @RAPPTURE_VERSION@ 22 22 TCLSH = $(bindir)/tclsh 23 23 24 version = $( PACKAGE_VERSION)24 version = $(RAPPTURE_VERSION) 25 25 name = RapptureBuilder$(version) 26 26 -
branches/r9/pkgs/builder/scripts/Makefile.in
r4870 r4912 12 12 INSTALL = @INSTALL@ 13 13 MKDIR_P = @MKDIR_P@ 14 PACKAGE_VERSION = @PACKAGE_VERSION@14 RAPPTURE_VERSION = @RAPPTURE_VERSION@ 15 15 SHELL = @SHELL@ 16 16 TCLSH = $(bindir)/tclsh … … 40 40 $(srcdir)/templates/tcl.tl 41 41 42 version = $( PACKAGE_VERSION)42 version = $(RAPPTURE_VERSION) 43 43 name = RapptureBuilder$(version) 44 44 -
branches/r9/pkgs/diffview/Makefile.in
r4859 r4912 14 14 MKDIR_P = @MKDIR_P@ 15 15 16 CC = @CC@ 17 CFLAGS = @CFLAGS@ -fPIC 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 20 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 16 21 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@20 S TLIB_LD = @STLIB_LD@22 LIB_RUNTIME_DIR = $(libdir) 23 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 24 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 25 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 26 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 27 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 28 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 29 STLIB_LD = @STLIB_LD@ 29 30 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 31 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@32 LIB_RUNTIME_DIR = $(libdir)33 32 34 33 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 43 42 $(TK_LIB_SPEC) \ 44 43 45 version = @ PACKAGE_VERSION@46 DEFINES = -D PACKAGE_VERSION=\"$(version)\"44 version = @RAPPTURE_VERSION@ 45 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 47 46 48 47 RANLIB = @RANLIB@ -
branches/r9/pkgs/diffview/pkgIndex.tcl.in
r4843 r4912 1 package ifneeded Rappture Video@PACKAGE_VERSION@ [format {1 package ifneeded RapptureDiffView @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "RapptureVideo${version}${ext}"] RpVideo 6 package provide RapptureVideo $version 5 load [file join $dir "RapptureDiffView${version}${ext}"] \ 6 RapptureDiffView_Init 7 package provide RapptureDiffView $version 7 8 } $dir] -
branches/r9/pkgs/hotspot/Makefile.in
r4859 r4912 14 14 MKDIR_P = @MKDIR_P@ 15 15 16 CC = @CC@ 17 CFLAGS = @CFLAGS@ -fPIC 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 20 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 16 21 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@20 S TLIB_LD = @STLIB_LD@22 LIB_RUNTIME_DIR = $(libdir) 23 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 24 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 25 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 26 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 27 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 28 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 29 STLIB_LD = @STLIB_LD@ 29 30 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 31 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@32 LIB_RUNTIME_DIR = $(libdir)33 32 34 33 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 43 42 $(TK_LIB_SPEC) \ 44 43 45 version = @ PACKAGE_VERSION@46 DEFINES = -D PACKAGE_VERSION=\"$(version)\"44 version = @RAPPTURE_VERSION@ 45 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 47 46 48 47 RANLIB = @RANLIB@ -
branches/r9/pkgs/listbox/Makefile.in
r4859 r4912 14 14 MKDIR_P = @MKDIR_P@ 15 15 16 CC = @CC@ 17 CFLAGS = @CFLAGS@ -fPIC 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 20 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 16 21 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@20 S TLIB_LD = @STLIB_LD@22 LIB_RUNTIME_DIR = $(libdir) 23 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 24 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 25 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 26 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 27 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 28 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 29 STLIB_LD = @STLIB_LD@ 29 30 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 31 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@32 LIB_RUNTIME_DIR = $(libdir)33 32 34 33 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 43 42 $(TK_LIB_SPEC) \ 44 43 45 version = @ PACKAGE_VERSION@46 DEFINES = -D PACKAGE_VERSION=\"$(version)\"44 version = @RAPPTURE_VERSION@ 45 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 47 46 48 47 RANLIB = @RANLIB@ -
branches/r9/pkgs/listbox/pkgIndex.tcl.in
r4843 r4912 1 package ifneeded Rappture Video@PACKAGE_VERSION@ [format {1 package ifneeded RapptureListbox @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "Rappture Video${version}${ext}"] RpVideo6 package provide Rappture Video$version5 load [file join $dir "RapptureListbox${version}${ext}"] RpListbox_Init 6 package provide RapptureListbox $version 7 7 } $dir] -
branches/r9/pkgs/objects/Makefile.in
r4870 r4912 15 15 INSTALL_SCRIPT = ${INSTALL} 16 16 TCLSH = $(bindir)/tclsh 17 VERSION = @ PACKAGE_VERSION@17 VERSION = @RAPPTURE_VERSION@ 18 18 VPATH = $(srcdir) 19 19 -
branches/r9/pkgs/optimizer/configure
r4868 r4912 1920 1920 . ${libdir}/tclConfig.sh 1921 1921 1922 # Copy vtk from the srcdir and patch it with our hubzero patch.1923 1922 rm -rf * 1924 1923 tar -C ${srcdir}/src -clf - . | tar -xpf - 1925 1924 1926 tclsh=${bindir}/tclsh ${TCL_VERSION}1925 tclsh=${bindir}/tclsh 1927 1926 1928 1927 ./configure \ -
branches/r9/pkgs/optimizer/configure.in
r4868 r4912 15 15 . ${libdir}/tclConfig.sh 16 16 17 # Copy vtk from the srcdir and patch it with our hubzero patch.18 17 rm -rf * 19 18 tar -C ${srcdir}/src -clf - . | tar -xpf - 20 19 21 tclsh=${bindir}/tclsh ${TCL_VERSION}20 tclsh=${bindir}/tclsh 22 21 23 22 ./configure \ -
branches/r9/pkgs/optimizer/src/Makefile.in
r1052 r4912 81 81 DESTDIR = 82 82 83 PKG_DIR = $( PACKAGE_NAME)$(PACKAGE_VERSION)83 PKG_DIR = $(name)$(RAPPTURE_VERSION) 84 84 pkgdatadir = $(datadir)/$(PKG_DIR) 85 85 pkglibdir = $(libdir)/$(PKG_DIR) … … 87 87 88 88 top_builddir = . 89 name = RapptureOptimizer 89 90 90 91 CC = @CC@ … … 104 105 MAKE_STUB_LIB = @MAKE_STUB_LIB@ 105 106 OBJEXT = @OBJEXT@ 106 PACKAGE_NAME = @PACKAGE_NAME@ 107 PACKAGE_VERSION = @PACKAGE_VERSION@ 107 RAPPTURE_VERSION= @RAPPTURE_VERSION@ 108 108 RANLIB = @RANLIB@ 109 109 RANLIB_STUB = @RANLIB_STUB@ -
branches/r9/pkgs/optimizer/src/configure
r1052 r4912 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 2for RapptureOptimizer 1.0.3 # Generated by GNU Autoconf 2.69 for RapptureOptimizer 1.0. 4 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 7 9 # This configure script is free software; the Free Software Foundation 8 10 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 12 14 13 15 # Be more Bourne compatible 14 16 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 18 emulate sh 17 19 NULLCMD=: … … 21 23 setopt NO_GLOB_SUBST 22 24 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 25 30 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 31 fi 32 39 33 40 34 as_nl=' … … 45 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 48 as_echo='printf %s\n' 49 49 as_echo_n='printf %s' … … 56 56 as_echo_n_body='eval 57 57 arg=$1; 58 case $arg in 58 case $arg in #( 59 59 *"$as_nl"*) 60 60 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 79 79 fi 80 80 81 # Support unset when possible.82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then83 as_unset=unset84 else85 as_unset=false86 fi87 88 81 89 82 # IFS … … 95 88 96 89 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 90 as_myself= 91 case $0 in #(( 98 92 *[\\/]* ) as_myself=$0 ;; 99 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 102 96 IFS=$as_save_IFS 103 97 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break105 done98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 106 100 IFS=$as_save_IFS 107 101 … … 115 109 if test ! -f "$as_myself"; then 116 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 121 done 124 122 PS1='$ ' … … 132 130 export LANGUAGE 133 131 134 # Required to use basename. 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202 else 203 as_have_required=no 204 fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207 else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209 as_found=false 210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211 do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225 fi 226 fi 227 done;; 228 esac 229 as_found=false 230 done 231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234 fi; } 235 IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241 # neutralization value for shells without unset; and this also 242 # works around shells that cannot unset nonexistent variables. 243 # Preserve -v and -x to the replacement shell. 244 BASH_ENV=/dev/null 245 ENV=/dev/null 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247 case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252 esac 253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254 # Admittedly, this is quite paranoid, since all the known shells bail 255 # out after a failed `exec'. 256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257 exit 255 258 fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268 $0: including any error possibly output before this 269 $0: message. Then install a modern shell, or manually run 270 $0: the script under such a shell if you do have one." 271 fi 272 exit 1 273 fi 274 fi 275 fi 276 SHELL=${CONFIG_SHELL-/bin/sh} 277 export SHELL 278 # Unset more variables known to interfere with behavior of common tools. 279 CLICOLOR_FORCE= GREP_OPTIONS= 280 unset CLICOLOR_FORCE GREP_OPTIONS 281 282 ## --------------------- ## 283 ## M4sh Shell Functions. ## 284 ## --------------------- ## 285 # as_fn_unset VAR 286 # --------------- 287 # Portably unset VAR. 288 as_fn_unset () 289 { 290 { eval $1=; unset $1;} 291 } 292 as_unset=as_fn_unset 293 294 # as_fn_set_status STATUS 295 # ----------------------- 296 # Set $? to STATUS, without forking. 297 as_fn_set_status () 298 { 299 return $1 300 } # as_fn_set_status 301 302 # as_fn_exit STATUS 303 # ----------------- 304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305 as_fn_exit () 306 { 307 set +e 308 as_fn_set_status $1 309 exit $1 310 } # as_fn_exit 311 312 # as_fn_mkdir_p 313 # ------------- 314 # Create "$as_dir" as a directory, including parents if necessary. 315 as_fn_mkdir_p () 316 { 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334 $as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358 } # as_fn_mkdir_p 359 360 # as_fn_executable_p FILE 361 # ----------------------- 362 # Test if FILE is an executable regular file. 363 as_fn_executable_p () 364 { 365 test -f "$1" && test -x "$1" 366 } # as_fn_executable_p 367 # as_fn_append VAR VALUE 368 # ---------------------- 369 # Append the text in VALUE to the end of the definition contained in VAR. Take 370 # advantage of any shell optimizations that allow amortized linear growth over 371 # repeated appends, instead of the typical quadratic growth present in naive 372 # implementations. 373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378 else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383 fi # as_fn_append 384 385 # as_fn_arith ARG... 386 # ------------------ 387 # Perform arithmetic evaluation on the ARGs, and store the result in the 388 # global $as_val. Take advantage of shells that can avoid forks. The arguments 389 # must be portable across $(()) and expr. 390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395 else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400 fi # as_fn_arith 401 402 403 # as_fn_error STATUS ERROR [LINENO LOG_FD] 404 # ---------------------------------------- 405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407 # script with STATUS, using 1 if that was 0. 408 as_fn_error () 409 { 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417 } # as_fn_error 418 135 419 if expr a : '\(a\)' >/dev/null 2>&1 && 136 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 146 430 fi 147 431 148 149 # Name of the executable. 432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434 else 435 as_dirname=false 436 fi 437 150 438 as_me=`$as_basename -- "$0" || 151 439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 167 455 s/.*/./; q'` 168 456 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 242 do 243 IFS=$as_save_IFS 244 test -z "$as_dir" && as_dir=. 245 case $as_dir in 246 /*) 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 347 as_lineno_1=$LINENO 348 as_lineno_2=$LINENO 349 test "x$as_lineno_1" != "x$as_lineno_2" && 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell bug-autoconf@gnu.org about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 447 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 449 # uniformly replaced by the line number. The first 'sed' inserts a 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 457 # Avoid depending upon Character Ranges. 458 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461 as_cr_digits='0123456789' 462 as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 458 470 sed -n ' 459 471 p … … 472 484 ' >$as_me.lineno && 473 485 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 476 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 477 492 # Don't try to exec as it changes $[0], causing all sort of problems 478 493 # (the dirname of $[0] is not the place where we might find the … … 483 498 } 484 499 485 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then487 as_dirname=dirname488 else489 as_dirname=false490 fi491 492 500 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 501 case `echo -n x` in #((((( 494 502 -n*) 495 case `echo 'x \c'` in503 case `echo 'xy\c'` in 496 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 498 508 esac;; 499 509 *) 500 510 ECHO_N='-n';; 501 511 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 &&503 test "X`expr 00001 : '.*\(...\)'`" = X001; then504 as_expr=expr505 else506 as_expr=false507 fi508 512 509 513 rm -f conf$$ conf$$.exe conf$$.file … … 520 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p '.526 # In both cases, we have to default to `cp -pR'. 523 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p '528 as_ln_s='cp -pR' 525 529 elif ln conf$$.file conf$$ 2>/dev/null; then 526 530 as_ln_s=ln 527 531 else 528 as_ln_s='cp -p '532 as_ln_s='cp -pR' 529 533 fi 530 534 else 531 as_ln_s='cp -p '535 as_ln_s='cp -pR' 532 536 fi 533 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 535 539 536 540 if mkdir -p . 2>/dev/null; then 537 as_mkdir_p= :541 as_mkdir_p='mkdir -p "$as_dir"' 538 542 else 539 543 test -d ./-p && rmdir ./-p … … 541 545 fi 542 546 543 if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545 else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563 fi 564 as_executable_p=$as_test_x 547 as_test_x='test -x' 548 as_executable_p=as_fn_executable_p 565 549 566 550 # Sed expression to map a string onto a valid CPP name. … … 571 555 572 556 573 574 exec 7<&0 </dev/null6>&1557 test -n "$DJDIR" || exec 7<&0 </dev/null 558 exec 6>&1 575 559 576 560 # Name of the host. 577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 578 562 # so uname gets run too. 579 563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 590 574 MFLAGS= 591 575 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh}593 576 594 577 # Identity of this package. 595 578 PACKAGE_NAME='RapptureOptimizer' 596 579 PACKAGE_TARNAME='rapptureoptimizer' 597 PACKAGE_VERSION='1. 1'580 PACKAGE_VERSION='1.0' 598 581 PACKAGE_STRING='RapptureOptimizer 1.0' 599 582 PACKAGE_BUGREPORT='' 583 PACKAGE_URL='' 600 584 601 585 # Factoring default headers for most tests. … … 636 620 637 621 enable_option_checking=no 638 ac_subst_vars='SHELL 622 ac_subst_vars='LTLIBOBJS 623 subdirs 624 RAPPTURE_VERSION 625 NODOT_VERSION 626 EXACT_VERSION 627 PATCHLEVEL 628 TCLSH_PROG 629 RANLIB_STUB 630 MAKE_STUB_LIB 631 MAKE_STATIC_LIB 632 MAKE_SHARED_LIB 633 MAKE_LIB 634 LDFLAGS_DEFAULT 635 CFLAGS_DEFAULT 636 TCL_DBGX 637 LD_LIBRARY_PATH_VAR 638 SHLIB_CFLAGS 639 SHLIB_LD_LIBS 640 SHLIB_LD 641 STLIB_LD 642 CFLAGS_WARNING 643 CFLAGS_OPTIMIZE 644 CFLAGS_DEBUG 645 DL_LIBS 646 LIBOBJS 647 CELIB_DIR 648 AR 649 SHARED_BUILD 650 TCL_THREADS 651 TCL_INCLUDES 652 CLEANFILES 653 PKG_OBJECTS 654 PKG_SOURCES 655 ac_ct_F77 656 FFLAGS 657 F77 658 MATH_LIBS 659 EGREP 660 GREP 661 RANLIB 662 SET_MAKE 663 INSTALL_DATA 664 INSTALL_SCRIPT 665 INSTALL_PROGRAM 666 CPP 667 ac_ct_CXX 668 CXXFLAGS 669 CXX 670 OBJEXT 671 ac_ct_CC 672 CPPFLAGS 673 LDFLAGS 674 CFLAGS 675 CC 676 TCL_SHLIB_LD_LIBS 677 TCL_LD_FLAGS 678 TCL_EXTRA_CFLAGS 679 TCL_DEFS 680 TCL_LIBS 681 TCL_STUB_LIB_SPEC 682 TCL_STUB_LIB_FLAG 683 TCL_STUB_LIB_FILE 684 TCL_LIB_SPEC 685 TCL_LIB_FLAG 686 TCL_LIB_FILE 687 TCL_SRC_DIR 688 TCL_BIN_DIR 689 TCL_VERSION 690 PKG_CFLAGS 691 PKG_LIBS 692 PKG_INCLUDES 693 PKG_HEADERS 694 PKG_TCL_SOURCES 695 PKG_STUB_OBJECTS 696 PKG_STUB_SOURCES 697 PKG_STUB_LIB_FILE 698 PKG_LIB_FILE 699 EXEEXT 700 CYGPATH 701 target_alias 702 host_alias 703 build_alias 704 LIBS 705 ECHO_T 706 ECHO_N 707 ECHO_C 708 DEFS 709 mandir 710 localedir 711 libdir 712 psdir 713 pdfdir 714 dvidir 715 htmldir 716 infodir 717 docdir 718 oldincludedir 719 includedir 720 localstatedir 721 sharedstatedir 722 sysconfdir 723 datadir 724 datarootdir 725 libexecdir 726 sbindir 727 bindir 728 program_transform_name 729 prefix 730 exec_prefix 731 PACKAGE_URL 732 PACKAGE_BUGREPORT 733 PACKAGE_STRING 734 PACKAGE_VERSION 735 PACKAGE_TARNAME 736 PACKAGE_NAME 639 737 PATH_SEPARATOR 640 PACKAGE_NAME 641 PACKAGE_TARNAME 642 PACKAGE_VERSION 643 PACKAGE_STRING 644 PACKAGE_BUGREPORT 645 exec_prefix 646 prefix 647 program_transform_name 648 bindir 649 sbindir 650 libexecdir 651 datarootdir 652 datadir 653 sysconfdir 654 sharedstatedir 655 localstatedir 656 includedir 657 oldincludedir 658 docdir 659 infodir 660 htmldir 661 dvidir 662 pdfdir 663 psdir 664 libdir 665 localedir 666 mandir 667 DEFS 668 ECHO_C 669 ECHO_N 670 ECHO_T 671 LIBS 672 build_alias 673 host_alias 674 target_alias 675 CYGPATH 676 EXEEXT 677 PKG_LIB_FILE 678 PKG_STUB_LIB_FILE 679 PKG_STUB_SOURCES 680 PKG_STUB_OBJECTS 681 PKG_TCL_SOURCES 682 PKG_HEADERS 683 PKG_INCLUDES 684 PKG_LIBS 685 PKG_CFLAGS 686 TCL_VERSION 687 TCL_BIN_DIR 688 TCL_SRC_DIR 689 TCL_LIB_FILE 690 TCL_LIB_FLAG 691 TCL_LIB_SPEC 692 TCL_STUB_LIB_FILE 693 TCL_STUB_LIB_FLAG 694 TCL_STUB_LIB_SPEC 695 TCL_LIBS 696 TCL_DEFS 697 TCL_EXTRA_CFLAGS 698 TCL_LD_FLAGS 699 TCL_SHLIB_LD_LIBS 700 CC 701 CFLAGS 702 LDFLAGS 703 CPPFLAGS 704 ac_ct_CC 705 OBJEXT 706 CXX 707 CXXFLAGS 708 ac_ct_CXX 709 CPP 710 INSTALL_PROGRAM 711 INSTALL_SCRIPT 712 INSTALL_DATA 713 SET_MAKE 714 RANLIB 715 GREP 716 EGREP 717 MATH_LIBS 718 F77 719 FFLAGS 720 ac_ct_F77 721 PKG_SOURCES 722 PKG_OBJECTS 723 CLEANFILES 724 TCL_INCLUDES 725 TCL_THREADS 726 SHARED_BUILD 727 AR 728 CELIB_DIR 729 LIBOBJS 730 DL_LIBS 731 CFLAGS_DEBUG 732 CFLAGS_OPTIMIZE 733 CFLAGS_WARNING 734 STLIB_LD 735 SHLIB_LD 736 SHLIB_LD_LIBS 737 SHLIB_CFLAGS 738 LD_LIBRARY_PATH_VAR 739 TCL_DBGX 740 CFLAGS_DEFAULT 741 LDFLAGS_DEFAULT 742 MAKE_LIB 743 MAKE_SHARED_LIB 744 MAKE_STATIC_LIB 745 MAKE_STUB_LIB 746 RANLIB_STUB 747 TCLSH_PROG 748 PATCHLEVEL 749 EXACT_VERSION 750 NODOT_VERSION 751 subdirs 752 LTLIBOBJS' 738 SHELL' 753 739 ac_subst_files='' 754 740 ac_user_opts=' … … 841 827 842 828 case $ac_option in 843 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 844 *) ac_optarg=yes ;; 829 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 830 *=) ac_optarg= ;; 831 *) ac_optarg=yes ;; 845 832 esac 846 833 … … 887 874 # Reject names that are not valid shell variable names. 888 875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 889 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 890 { (exit 1); exit 1; }; } 876 as_fn_error $? "invalid feature name: $ac_useropt" 891 877 ac_useropt_orig=$ac_useropt 892 878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 914 900 # Reject names that are not valid shell variable names. 915 901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 916 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 917 { (exit 1); exit 1; }; } 902 as_fn_error $? "invalid feature name: $ac_useropt" 918 903 ac_useropt_orig=$ac_useropt 919 904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1119 1104 # Reject names that are not valid shell variable names. 1120 1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1121 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1122 { (exit 1); exit 1; }; } 1106 as_fn_error $? "invalid package name: $ac_useropt" 1123 1107 ac_useropt_orig=$ac_useropt 1124 1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1136 1120 # Reject names that are not valid shell variable names. 1137 1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1139 { (exit 1); exit 1; }; } 1122 as_fn_error $? "invalid package name: $ac_useropt" 1140 1123 ac_useropt_orig=$ac_useropt 1141 1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1167 1150 x_libraries=$ac_optarg ;; 1168 1151 1169 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1170 Try \`$0 --help' for more information." >&2 1171 { (exit 1); exit 1; }; } 1152 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1153 Try \`$0 --help' for more information" 1172 1154 ;; 1173 1155 … … 1175 1157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1176 1158 # Reject names that are not valid shell variable names. 1177 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1178 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1179 { (exit 1); exit 1; }; } 1159 case $ac_envvar in #( 1160 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1161 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1162 esac 1180 1163 eval $ac_envvar=\$ac_optarg 1181 1164 export $ac_envvar ;; … … 1186 1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1187 1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1188 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1171 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1189 1172 ;; 1190 1173 … … 1194 1177 if test -n "$ac_prev"; then 1195 1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1196 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1197 { (exit 1); exit 1; }; } 1179 as_fn_error $? "missing argument to $ac_option" 1198 1180 fi 1199 1181 … … 1201 1183 case $enable_option_checking in 1202 1184 no) ;; 1203 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1204 { (exit 1); exit 1; }; } ;; 1205 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1185 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1206 1187 esac 1207 1188 fi … … 1225 1206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1226 1207 esac 1227 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1228 { (exit 1); exit 1; }; } 1208 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1229 1209 done 1230 1210 … … 1240 1220 if test "x$build_alias" = x; then 1241 1221 cross_compiling=maybe 1242 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1243 If a cross compiler is detected then cross compile mode will be used." >&21244 1222 elif test "x$build_alias" != "x$host_alias"; then 1245 1223 cross_compiling=yes … … 1256 1234 ac_ls_di=`ls -di .` && 1257 1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1258 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1259 { (exit 1); exit 1; }; } 1236 as_fn_error $? "working directory cannot be determined" 1260 1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1261 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1262 { (exit 1); exit 1; }; } 1238 as_fn_error $? "pwd does not report name of working directory" 1263 1239 1264 1240 … … 1299 1275 if test ! -r "$srcdir/$ac_unique_file"; then 1300 1276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1301 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1302 { (exit 1); exit 1; }; } 1277 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1303 1278 fi 1304 1279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1305 1280 ac_abs_confdir=`( 1306 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1307 { (exit 1); exit 1; }; } 1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1308 1282 pwd)` 1309 1283 # When building in place, set srcdir=. … … 1345 1319 --help=recursive display the short help of all the included packages 1346 1320 -V, --version display version information and exit 1347 -q, --quiet, --silent do not print \`checking ...' messages1321 -q, --quiet, --silent do not print \`checking ...' messages 1348 1322 --cache-file=FILE cache test results in FILE [disabled] 1349 1323 -C, --config-cache alias for \`--cache-file=config.cache' … … 1424 1398 nonstandard directory <lib dir> 1425 1399 LIBS libraries to pass to the linker, e.g. -l<library> 1426 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1400 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1427 1401 you have headers in a nonstandard directory <include dir> 1428 1402 CXX C++ compiler command … … 1435 1409 it to find libraries and programs with nonstandard names/locations. 1436 1410 1411 Report bugs to the package provider. 1437 1412 _ACEOF 1438 1413 ac_status=$? … … 1498 1473 cat <<\_ACEOF 1499 1474 RapptureOptimizer configure 1.0 1500 generated by GNU Autoconf 2.62 1501 1502 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1503 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1475 generated by GNU Autoconf 2.69 1476 1477 Copyright (C) 2012 Free Software Foundation, Inc. 1504 1478 This configure script is free software; the Free Software Foundation 1505 1479 gives unlimited permission to copy, distribute and modify it. … … 1507 1481 exit 1508 1482 fi 1483 1484 ## ------------------------ ## 1485 ## Autoconf initialization. ## 1486 ## ------------------------ ## 1487 1488 # ac_fn_c_try_compile LINENO 1489 # -------------------------- 1490 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1491 ac_fn_c_try_compile () 1492 { 1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1494 rm -f conftest.$ac_objext 1495 if { { ac_try="$ac_compile" 1496 case "(($ac_try" in 1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1498 *) ac_try_echo=$ac_try;; 1499 esac 1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1501 $as_echo "$ac_try_echo"; } >&5 1502 (eval "$ac_compile") 2>conftest.err 1503 ac_status=$? 1504 if test -s conftest.err; then 1505 grep -v '^ *+' conftest.err >conftest.er1 1506 cat conftest.er1 >&5 1507 mv -f conftest.er1 conftest.err 1508 fi 1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1510 test $ac_status = 0; } && { 1511 test -z "$ac_c_werror_flag" || 1512 test ! -s conftest.err 1513 } && test -s conftest.$ac_objext; then : 1514 ac_retval=0 1515 else 1516 $as_echo "$as_me: failed program was:" >&5 1517 sed 's/^/| /' conftest.$ac_ext >&5 1518 1519 ac_retval=1 1520 fi 1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1522 as_fn_set_status $ac_retval 1523 1524 } # ac_fn_c_try_compile 1525 1526 # ac_fn_cxx_try_compile LINENO 1527 # ---------------------------- 1528 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1529 ac_fn_cxx_try_compile () 1530 { 1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1532 rm -f conftest.$ac_objext 1533 if { { ac_try="$ac_compile" 1534 case "(($ac_try" in 1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1536 *) ac_try_echo=$ac_try;; 1537 esac 1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1539 $as_echo "$ac_try_echo"; } >&5 1540 (eval "$ac_compile") 2>conftest.err 1541 ac_status=$? 1542 if test -s conftest.err; then 1543 grep -v '^ *+' conftest.err >conftest.er1 1544 cat conftest.er1 >&5 1545 mv -f conftest.er1 conftest.err 1546 fi 1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1548 test $ac_status = 0; } && { 1549 test -z "$ac_cxx_werror_flag" || 1550 test ! -s conftest.err 1551 } && test -s conftest.$ac_objext; then : 1552 ac_retval=0 1553 else 1554 $as_echo "$as_me: failed program was:" >&5 1555 sed 's/^/| /' conftest.$ac_ext >&5 1556 1557 ac_retval=1 1558 fi 1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1560 as_fn_set_status $ac_retval 1561 1562 } # ac_fn_cxx_try_compile 1563 1564 # ac_fn_c_try_cpp LINENO 1565 # ---------------------- 1566 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1567 ac_fn_c_try_cpp () 1568 { 1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1570 if { { ac_try="$ac_cpp conftest.$ac_ext" 1571 case "(($ac_try" in 1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1573 *) ac_try_echo=$ac_try;; 1574 esac 1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1576 $as_echo "$ac_try_echo"; } >&5 1577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1578 ac_status=$? 1579 if test -s conftest.err; then 1580 grep -v '^ *+' conftest.err >conftest.er1 1581 cat conftest.er1 >&5 1582 mv -f conftest.er1 conftest.err 1583 fi 1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1585 test $ac_status = 0; } > conftest.i && { 1586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1587 test ! -s conftest.err 1588 }; then : 1589 ac_retval=0 1590 else 1591 $as_echo "$as_me: failed program was:" >&5 1592 sed 's/^/| /' conftest.$ac_ext >&5 1593 1594 ac_retval=1 1595 fi 1596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1597 as_fn_set_status $ac_retval 1598 1599 } # ac_fn_c_try_cpp 1600 1601 # ac_fn_c_try_run LINENO 1602 # ---------------------- 1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1604 # that executables *can* be run. 1605 ac_fn_c_try_run () 1606 { 1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1608 if { { ac_try="$ac_link" 1609 case "(($ac_try" in 1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1611 *) ac_try_echo=$ac_try;; 1612 esac 1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1614 $as_echo "$ac_try_echo"; } >&5 1615 (eval "$ac_link") 2>&5 1616 ac_status=$? 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1619 { { case "(($ac_try" in 1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1621 *) ac_try_echo=$ac_try;; 1622 esac 1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1624 $as_echo "$ac_try_echo"; } >&5 1625 (eval "$ac_try") 2>&5 1626 ac_status=$? 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; }; }; then : 1629 ac_retval=0 1630 else 1631 $as_echo "$as_me: program exited with status $ac_status" >&5 1632 $as_echo "$as_me: failed program was:" >&5 1633 sed 's/^/| /' conftest.$ac_ext >&5 1634 1635 ac_retval=$ac_status 1636 fi 1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1639 as_fn_set_status $ac_retval 1640 1641 } # ac_fn_c_try_run 1642 1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1644 # ------------------------------------------------------- 1645 # Tests whether HEADER exists and can be compiled using the include files in 1646 # INCLUDES, setting the cache variable VAR accordingly. 1647 ac_fn_c_check_header_compile () 1648 { 1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1651 $as_echo_n "checking for $2... " >&6; } 1652 if eval \${$3+:} false; then : 1653 $as_echo_n "(cached) " >&6 1654 else 1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1656 /* end confdefs.h. */ 1657 $4 1658 #include <$2> 1659 _ACEOF 1660 if ac_fn_c_try_compile "$LINENO"; then : 1661 eval "$3=yes" 1662 else 1663 eval "$3=no" 1664 fi 1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1666 fi 1667 eval ac_res=\$$3 1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1669 $as_echo "$ac_res" >&6; } 1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1671 1672 } # ac_fn_c_check_header_compile 1673 1674 # ac_fn_c_try_link LINENO 1675 # ----------------------- 1676 # Try to link conftest.$ac_ext, and return whether this succeeded. 1677 ac_fn_c_try_link () 1678 { 1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1680 rm -f conftest.$ac_objext conftest$ac_exeext 1681 if { { ac_try="$ac_link" 1682 case "(($ac_try" in 1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1684 *) ac_try_echo=$ac_try;; 1685 esac 1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1687 $as_echo "$ac_try_echo"; } >&5 1688 (eval "$ac_link") 2>conftest.err 1689 ac_status=$? 1690 if test -s conftest.err; then 1691 grep -v '^ *+' conftest.err >conftest.er1 1692 cat conftest.er1 >&5 1693 mv -f conftest.er1 conftest.err 1694 fi 1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1696 test $ac_status = 0; } && { 1697 test -z "$ac_c_werror_flag" || 1698 test ! -s conftest.err 1699 } && test -s conftest$ac_exeext && { 1700 test "$cross_compiling" = yes || 1701 test -x conftest$ac_exeext 1702 }; then : 1703 ac_retval=0 1704 else 1705 $as_echo "$as_me: failed program was:" >&5 1706 sed 's/^/| /' conftest.$ac_ext >&5 1707 1708 ac_retval=1 1709 fi 1710 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1711 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1712 # interfere with the next link command; also delete a directory that is 1713 # left behind by Apple's compiler. We do this before executing the actions. 1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1716 as_fn_set_status $ac_retval 1717 1718 } # ac_fn_c_try_link 1719 1720 # ac_fn_c_check_func LINENO FUNC VAR 1721 # ---------------------------------- 1722 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1723 ac_fn_c_check_func () 1724 { 1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1727 $as_echo_n "checking for $2... " >&6; } 1728 if eval \${$3+:} false; then : 1729 $as_echo_n "(cached) " >&6 1730 else 1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1732 /* end confdefs.h. */ 1733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1734 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1735 #define $2 innocuous_$2 1736 1737 /* System header to define __stub macros and hopefully few prototypes, 1738 which can conflict with char $2 (); below. 1739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1740 <limits.h> exists even on freestanding compilers. */ 1741 1742 #ifdef __STDC__ 1743 # include <limits.h> 1744 #else 1745 # include <assert.h> 1746 #endif 1747 1748 #undef $2 1749 1750 /* Override any GCC internal prototype to avoid an error. 1751 Use char because int might match the return type of a GCC 1752 builtin and then its argument prototype would still apply. */ 1753 #ifdef __cplusplus 1754 extern "C" 1755 #endif 1756 char $2 (); 1757 /* The GNU C library defines this for functions which it implements 1758 to always fail with ENOSYS. Some functions are actually named 1759 something starting with __ and the normal name is an alias. */ 1760 #if defined __stub_$2 || defined __stub___$2 1761 choke me 1762 #endif 1763 1764 int 1765 main () 1766 { 1767 return $2 (); 1768 ; 1769 return 0; 1770 } 1771 _ACEOF 1772 if ac_fn_c_try_link "$LINENO"; then : 1773 eval "$3=yes" 1774 else 1775 eval "$3=no" 1776 fi 1777 rm -f core conftest.err conftest.$ac_objext \ 1778 conftest$ac_exeext conftest.$ac_ext 1779 fi 1780 eval ac_res=\$$3 1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1782 $as_echo "$ac_res" >&6; } 1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1784 1785 } # ac_fn_c_check_func 1786 1787 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1788 # ------------------------------------------------------- 1789 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1790 # the include files in INCLUDES and setting the cache variable VAR 1791 # accordingly. 1792 ac_fn_c_check_header_mongrel () 1793 { 1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1795 if eval \${$3+:} false; then : 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1797 $as_echo_n "checking for $2... " >&6; } 1798 if eval \${$3+:} false; then : 1799 $as_echo_n "(cached) " >&6 1800 fi 1801 eval ac_res=\$$3 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1803 $as_echo "$ac_res" >&6; } 1804 else 1805 # Is the header compilable? 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1807 $as_echo_n "checking $2 usability... " >&6; } 1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1809 /* end confdefs.h. */ 1810 $4 1811 #include <$2> 1812 _ACEOF 1813 if ac_fn_c_try_compile "$LINENO"; then : 1814 ac_header_compiler=yes 1815 else 1816 ac_header_compiler=no 1817 fi 1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1820 $as_echo "$ac_header_compiler" >&6; } 1821 1822 # Is the header present? 1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1824 $as_echo_n "checking $2 presence... " >&6; } 1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1826 /* end confdefs.h. */ 1827 #include <$2> 1828 _ACEOF 1829 if ac_fn_c_try_cpp "$LINENO"; then : 1830 ac_header_preproc=yes 1831 else 1832 ac_header_preproc=no 1833 fi 1834 rm -f conftest.err conftest.i conftest.$ac_ext 1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1836 $as_echo "$ac_header_preproc" >&6; } 1837 1838 # So? What about this header? 1839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1840 yes:no: ) 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1842 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1844 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1845 ;; 1846 no:yes:* ) 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1848 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1850 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1852 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1854 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1856 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1857 ;; 1858 esac 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1860 $as_echo_n "checking for $2... " >&6; } 1861 if eval \${$3+:} false; then : 1862 $as_echo_n "(cached) " >&6 1863 else 1864 eval "$3=\$ac_header_compiler" 1865 fi 1866 eval ac_res=\$$3 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1868 $as_echo "$ac_res" >&6; } 1869 fi 1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1871 1872 } # ac_fn_c_check_header_mongrel 1873 1874 # ac_fn_f77_try_compile LINENO 1875 # ---------------------------- 1876 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1877 ac_fn_f77_try_compile () 1878 { 1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1880 rm -f conftest.$ac_objext 1881 if { { ac_try="$ac_compile" 1882 case "(($ac_try" in 1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1884 *) ac_try_echo=$ac_try;; 1885 esac 1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1887 $as_echo "$ac_try_echo"; } >&5 1888 (eval "$ac_compile") 2>conftest.err 1889 ac_status=$? 1890 if test -s conftest.err; then 1891 grep -v '^ *+' conftest.err >conftest.er1 1892 cat conftest.er1 >&5 1893 mv -f conftest.er1 conftest.err 1894 fi 1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1896 test $ac_status = 0; } && { 1897 test -z "$ac_f77_werror_flag" || 1898 test ! -s conftest.err 1899 } && test -s conftest.$ac_objext; then : 1900 ac_retval=0 1901 else 1902 $as_echo "$as_me: failed program was:" >&5 1903 sed 's/^/| /' conftest.$ac_ext >&5 1904 1905 ac_retval=1 1906 fi 1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1908 as_fn_set_status $ac_retval 1909 1910 } # ac_fn_f77_try_compile 1509 1911 cat >config.log <<_ACEOF 1510 1912 This file contains any messages produced by compilers while … … 1512 1914 1513 1915 It was created by RapptureOptimizer $as_me 1.0, which was 1514 generated by GNU Autoconf 2.6 2. Invocation command line was1916 generated by GNU Autoconf 2.69. Invocation command line was 1515 1917 1516 1918 $ $0 $@ … … 1548 1950 IFS=$as_save_IFS 1549 1951 test -z "$as_dir" && as_dir=. 1550 $as_echo "PATH: $as_dir"1551 done1952 $as_echo "PATH: $as_dir" 1953 done 1552 1954 IFS=$as_save_IFS 1553 1955 … … 1586 1988 esac 1587 1989 case $ac_pass in 1588 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1990 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1589 1991 2) 1590 a c_configure_args1="$ac_configure_args1'$ac_arg'"1992 as_fn_append ac_configure_args1 " '$ac_arg'" 1591 1993 if test $ac_must_keep_next = true; then 1592 1994 ac_must_keep_next=false # Got value, back to normal. … … 1604 2006 esac 1605 2007 fi 1606 a c_configure_args="$ac_configure_args'$ac_arg'"2008 as_fn_append ac_configure_args " '$ac_arg'" 1607 2009 ;; 1608 2010 esac 1609 2011 done 1610 2012 done 1611 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1612 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2013 { ac_configure_args0=; unset ac_configure_args0;} 2014 { ac_configure_args1=; unset ac_configure_args1;} 1613 2015 1614 2016 # When interrupted or exit'd, cleanup temporary files, and complete … … 1622 2024 echo 1623 2025 1624 cat <<\_ASBOX 1625 ## ---------------- ## 2026 $as_echo "## ---------------- ## 1626 2027 ## Cache variables. ## 1627 ## ---------------- ## 1628 _ASBOX 2028 ## ---------------- ##" 1629 2029 echo 1630 2030 # The following way of writing the cache mishandles newlines in values, … … 1635 2035 *${as_nl}*) 1636 2036 case $ac_var in #( 1637 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: Cache variable $ac_var contains a newline." >&51638 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2037 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1639 2039 esac 1640 2040 case $ac_var in #( 1641 2041 _ | IFS | as_nl) ;; #( 1642 2042 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1643 *) $as_unset $ac_var;;2043 *) { eval $ac_var=; unset $ac_var;} ;; 1644 2044 esac ;; 1645 2045 esac … … 1660 2060 echo 1661 2061 1662 cat <<\_ASBOX 1663 ## ----------------- ## 2062 $as_echo "## ----------------- ## 1664 2063 ## Output variables. ## 1665 ## ----------------- ## 1666 _ASBOX 2064 ## ----------------- ##" 1667 2065 echo 1668 2066 for ac_var in $ac_subst_vars … … 1677 2075 1678 2076 if test -n "$ac_subst_files"; then 1679 cat <<\_ASBOX 1680 ## ------------------- ## 2077 $as_echo "## ------------------- ## 1681 2078 ## File substitutions. ## 1682 ## ------------------- ## 1683 _ASBOX 2079 ## ------------------- ##" 1684 2080 echo 1685 2081 for ac_var in $ac_subst_files … … 1695 2091 1696 2092 if test -s confdefs.h; then 1697 cat <<\_ASBOX 1698 ## ----------- ## 2093 $as_echo "## ----------- ## 1699 2094 ## confdefs.h. ## 1700 ## ----------- ## 1701 _ASBOX 2095 ## ----------- ##" 1702 2096 echo 1703 2097 cat confdefs.h … … 1713 2107 ' 0 1714 2108 for ac_signal in 1 2 13 15; do 1715 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2109 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1716 2110 done 1717 2111 ac_signal=0 … … 1720 2114 rm -f -r conftest* confdefs.h 1721 2115 2116 $as_echo "/* confdefs.h */" > confdefs.h 2117 1722 2118 # Predefined preprocessor variables. 1723 2119 … … 1726 2122 _ACEOF 1727 2123 1728 1729 2124 cat >>confdefs.h <<_ACEOF 1730 2125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1731 2126 _ACEOF 1732 2127 1733 1734 2128 cat >>confdefs.h <<_ACEOF 1735 2129 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1736 2130 _ACEOF 1737 2131 1738 1739 2132 cat >>confdefs.h <<_ACEOF 1740 2133 #define PACKAGE_STRING "$PACKAGE_STRING" 1741 2134 _ACEOF 1742 2135 1743 1744 2136 cat >>confdefs.h <<_ACEOF 1745 2137 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2138 _ACEOF 2139 2140 cat >>confdefs.h <<_ACEOF 2141 #define PACKAGE_URL "$PACKAGE_URL" 1746 2142 _ACEOF 1747 2143 … … 1752 2148 ac_site_file2=NONE 1753 2149 if test -n "$CONFIG_SITE"; then 1754 ac_site_file1=$CONFIG_SITE 2150 # We do not want a PATH search for config.site. 2151 case $CONFIG_SITE in #(( 2152 -*) ac_site_file1=./$CONFIG_SITE;; 2153 */*) ac_site_file1=$CONFIG_SITE;; 2154 *) ac_site_file1=./$CONFIG_SITE;; 2155 esac 1755 2156 elif test "x$prefix" != xNONE; then 1756 2157 ac_site_file1=$prefix/share/config.site … … 1763 2164 do 1764 2165 test "x$ac_site_file" = xNONE && continue 1765 if test -r "$ac_site_file"; then1766 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52166 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1767 2168 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1768 2169 sed 's/^/| /' "$ac_site_file" >&5 1769 . "$ac_site_file" 2170 . "$ac_site_file" \ 2171 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2173 as_fn_error $? "failed to load site script $ac_site_file 2174 See \`config.log' for more details" "$LINENO" 5; } 1770 2175 fi 1771 2176 done 1772 2177 1773 2178 if test -r "$cache_file"; then 1774 # Some versions of bash will fail to source /dev/null (special 1775 # files actually), so we avoid doing that.1776 if test -f "$cache_file"; then1777 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52179 # Some versions of bash will fail to source /dev/null (special files 2180 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2181 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2182 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1778 2183 $as_echo "$as_me: loading cache $cache_file" >&6;} 1779 2184 case $cache_file in … … 1783 2188 fi 1784 2189 else 1785 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52190 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1786 2191 $as_echo "$as_me: creating cache $cache_file" >&6;} 1787 2192 >$cache_file … … 1798 2203 case $ac_old_set,$ac_new_set in 1799 2204 set,) 1800 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1801 2206 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1802 2207 ac_cache_corrupted=: ;; 1803 2208 ,set) 1804 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1805 2210 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1806 2211 ac_cache_corrupted=: ;; … … 1812 2217 ac_new_val_w=`echo x $ac_new_val` 1813 2218 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1814 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1815 2220 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1816 2221 ac_cache_corrupted=: 1817 2222 else 1818 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52223 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1819 2224 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1820 2225 eval $ac_var=\$ac_old_val 1821 2226 fi 1822 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52227 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1823 2228 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1824 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52229 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1825 2230 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1826 2231 fi;; … … 1834 2239 case " $ac_configure_args " in 1835 2240 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1836 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2241 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1837 2242 esac 1838 2243 fi 1839 2244 done 1840 2245 if $ac_cache_corrupted; then 1841 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1842 2249 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1843 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1844 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1845 { (exit 1); exit 1; }; } 1846 fi 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 2250 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2251 fi 2252 ## -------------------- ## 2253 ## Main body of script. ## 2254 ## -------------------- ## 1871 2255 1872 2256 ac_ext=c … … 1878 2262 1879 2263 2264 . ${exec_prefix}/lib/rapptureConfig.sh 2265 PACKAGE_VERSION=$RAPPTURE_VERSION 2266 PACKAGE_NAME=RapptureOptimzier 2267 1880 2268 #-------------------------------------------------------------------- 1881 2269 # Call TEA_INIT as the first TEA_ macro to set up initial vars. … … 1889 2277 TEA_VERSION="3.5" 1890 2278 1891 { $as_echo "$as_me:$ LINENO: checking for correct TEA configuration" >&52279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct TEA configuration" >&5 1892 2280 $as_echo_n "checking for correct TEA configuration... " >&6; } 1893 2281 if test x"${PACKAGE_NAME}" = x ; then 1894 { { $as_echo "$as_me:$LINENO: error: 1895 The PACKAGE_NAME variable must be defined by your TEA configure.in" >&5 1896 $as_echo "$as_me: error: 1897 The PACKAGE_NAME variable must be defined by your TEA configure.in" >&2;} 1898 { (exit 1); exit 1; }; } 2282 as_fn_error $? " 2283 The PACKAGE_NAME variable must be defined by your TEA configure.in" "$LINENO" 5 1899 2284 fi 1900 2285 if test x"3.5" = x ; then 1901 { { $as_echo "$as_me:$LINENO: error: 1902 TEA version not specified." >&5 1903 $as_echo "$as_me: error: 1904 TEA version not specified." >&2;} 1905 { (exit 1); exit 1; }; } 2286 as_fn_error $? " 2287 TEA version not specified." "$LINENO" 5 1906 2288 elif test "3.5" != "${TEA_VERSION}" ; then 1907 { $as_echo "$as_me:$ LINENO: result: warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&52289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&5 1908 2290 $as_echo "warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&6; } 1909 2291 else 1910 { $as_echo "$as_me:$ LINENO: result: ok (TEA ${TEA_VERSION})" >&52292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (TEA ${TEA_VERSION})" >&5 1911 2293 $as_echo "ok (TEA ${TEA_VERSION})" >&6; } 1912 2294 fi … … 1915 2297 # Extract the first word of "cygpath", so it can be a program name with args. 1916 2298 set dummy cygpath; ac_word=$2 1917 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1918 2300 $as_echo_n "checking for $ac_word... " >&6; } 1919 if test "${ac_cv_prog_CYGPATH+set}" = set; then2301 if ${ac_cv_prog_CYGPATH+:} false; then : 1920 2302 $as_echo_n "(cached) " >&6 1921 2303 else … … 1928 2310 IFS=$as_save_IFS 1929 2311 test -z "$as_dir" && as_dir=. 1930 for ac_exec_ext in '' $ac_executable_extensions; do1931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2312 for ac_exec_ext in '' $ac_executable_extensions; do 2313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1932 2314 ac_cv_prog_CYGPATH="cygpath -w" 1933 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1934 2316 break 2 1935 2317 fi 1936 2318 done 1937 done2319 done 1938 2320 IFS=$as_save_IFS 1939 2321 … … 1943 2325 CYGPATH=$ac_cv_prog_CYGPATH 1944 2326 if test -n "$CYGPATH"; then 1945 { $as_echo "$as_me:$ LINENO: result: $CYGPATH" >&52327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5 1946 2328 $as_echo "$CYGPATH" >&6; } 1947 2329 else 1948 { $as_echo "$as_me:$ LINENO: result: no" >&52330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1949 2331 $as_echo "no" >&6; } 1950 2332 fi … … 2006 2388 done 2007 2389 if test -z "$ac_aux_dir"; then 2008 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&5 2009 $as_echo "$as_me: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&2;} 2010 { (exit 1); exit 1; }; } 2390 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tclconfig \"$srcdir\"/tclconfig" "$LINENO" 5 2011 2391 fi 2012 2392 … … 2038 2418 2039 2419 # Check whether --with-tcl was given. 2040 if test "${with_tcl+set}" = set; then 2420 if test "${with_tcl+set}" = set; then : 2041 2421 withval=$with_tcl; with_tclconfig=${withval} 2042 2422 fi 2043 2423 2044 { $as_echo "$as_me:$ LINENO: checking for Tcl configuration" >&52424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5 2045 2425 $as_echo_n "checking for Tcl configuration... " >&6; } 2046 if test "${ac_cv_c_tclconfig+set}" = set; then2426 if ${ac_cv_c_tclconfig+:} false; then : 2047 2427 $as_echo_n "(cached) " >&6 2048 2428 else … … 2054 2434 */tclConfig.sh ) 2055 2435 if test -f ${with_tclconfig}; then 2056 { $as_echo "$as_me:$ LINENO: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&52436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5 2057 2437 $as_echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;} 2058 2438 with_tclconfig=`echo ${with_tclconfig} | sed 's!/tclConfig\.sh$!!'` … … 2062 2442 ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)` 2063 2443 else 2064 { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5 2065 $as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;} 2066 { (exit 1); exit 1; }; } 2444 as_fn_error $? "${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5 2067 2445 fi 2068 2446 fi … … 2152 2530 if test x"${ac_cv_c_tclconfig}" = x ; then 2153 2531 TCL_BIN_DIR="# no Tcl configs found" 2154 { $as_echo "$as_me:$ LINENO: WARNING: Can't find Tcl configuration definitions" >&52532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5 2155 2533 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;} 2156 2534 exit 0 … … 2158 2536 no_tcl= 2159 2537 TCL_BIN_DIR=${ac_cv_c_tclconfig} 2160 { $as_echo "$as_me:$ LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&52538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5 2161 2539 $as_echo "found ${TCL_BIN_DIR}/tclConfig.sh" >&6; } 2162 2540 fi … … 2164 2542 2165 2543 2166 { $as_echo "$as_me:$ LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&52544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5 2167 2545 $as_echo_n "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... " >&6; } 2168 2546 2169 2547 if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then 2170 { $as_echo "$as_me:$ LINENO: result: loading" >&52548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5 2171 2549 $as_echo "loading" >&6; } 2172 2550 . ${TCL_BIN_DIR}/tclConfig.sh 2173 2551 else 2174 { $as_echo "$as_me:$ LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&52552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5 2175 2553 $as_echo "could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; } 2176 2554 fi … … 2254 2632 prefix_default=yes 2255 2633 if test x"${TCL_PREFIX}" != x; then 2256 { $as_echo "$as_me:$ LINENO: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&52634 { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&5 2257 2635 $as_echo "$as_me: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&6;} 2258 2636 prefix=${TCL_PREFIX} 2259 2637 else 2260 { $as_echo "$as_me:$ LINENO: --prefix defaulting to /usr/local" >&52638 { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to /usr/local" >&5 2261 2639 $as_echo "$as_me: --prefix defaulting to /usr/local" >&6;} 2262 2640 prefix=/usr/local … … 2266 2644 -o x"${exec_prefix_default}" = x"yes" ; then 2267 2645 if test x"${TCL_EXEC_PREFIX}" != x; then 2268 { $as_echo "$as_me:$ LINENO: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&52646 { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&5 2269 2647 $as_echo "$as_me: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&6;} 2270 2648 exec_prefix=${TCL_EXEC_PREFIX} 2271 2649 else 2272 { $as_echo "$as_me:$ LINENO: --exec-prefix defaulting to ${prefix}" >&52650 { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to ${prefix}" >&5 2273 2651 $as_echo "$as_me: --exec-prefix defaulting to ${prefix}" >&6;} 2274 2652 exec_prefix=$prefix … … 2284 2662 #----------------------------------------------------------------------- 2285 2663 2286 2287 # Don't put any macros that use the compiler (e.g. AC_TRY_COMPILE) 2288 # in this macro, they need to go into TEA_SETUP_COMPILER instead. 2289 2290 # If the user did not set CFLAGS, set it now to keep 2291 # the AC_PROG_CC macro from adding "-g -O2". 2292 if test "${CFLAGS+set}" != "set" ; then 2293 CFLAGS="" 2294 fi 2295 2296 ac_ext=c 2297 ac_cpp='$CPP $CPPFLAGS' 2298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2301 if test -n "$ac_tool_prefix"; then 2302 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2303 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2305 $as_echo_n "checking for $ac_word... " >&6; } 2306 if test "${ac_cv_prog_CC+set}" = set; then 2307 $as_echo_n "(cached) " >&6 2308 else 2309 if test -n "$CC"; then 2310 ac_cv_prog_CC="$CC" # Let the user override the test. 2311 else 2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2313 for as_dir in $PATH 2314 do 2315 IFS=$as_save_IFS 2316 test -z "$as_dir" && as_dir=. 2317 for ac_exec_ext in '' $ac_executable_extensions; do 2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2319 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2320 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2321 break 2 2322 fi 2323 done 2324 done 2325 IFS=$as_save_IFS 2326 2327 fi 2328 fi 2329 CC=$ac_cv_prog_CC 2330 if test -n "$CC"; then 2331 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2332 $as_echo "$CC" >&6; } 2333 else 2334 { $as_echo "$as_me:$LINENO: result: no" >&5 2335 $as_echo "no" >&6; } 2336 fi 2337 2338 2339 fi 2340 if test -z "$ac_cv_prog_CC"; then 2341 ac_ct_CC=$CC 2342 # Extract the first word of "gcc", so it can be a program name with args. 2343 set dummy gcc; ac_word=$2 2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2345 $as_echo_n "checking for $ac_word... " >&6; } 2346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2347 $as_echo_n "(cached) " >&6 2348 else 2349 if test -n "$ac_ct_CC"; then 2350 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2351 else 2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2353 for as_dir in $PATH 2354 do 2355 IFS=$as_save_IFS 2356 test -z "$as_dir" && as_dir=. 2357 for ac_exec_ext in '' $ac_executable_extensions; do 2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2359 ac_cv_prog_ac_ct_CC="gcc" 2360 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2361 break 2 2362 fi 2363 done 2364 done 2365 IFS=$as_save_IFS 2366 2367 fi 2368 fi 2369 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2370 if test -n "$ac_ct_CC"; then 2371 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2372 $as_echo "$ac_ct_CC" >&6; } 2373 else 2374 { $as_echo "$as_me:$LINENO: result: no" >&5 2375 $as_echo "no" >&6; } 2376 fi 2377 2378 if test "x$ac_ct_CC" = x; then 2379 CC="" 2380 else 2381 case $cross_compiling:$ac_tool_warned in 2382 yes:) 2383 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2384 whose name does not start with the host triplet. If you think this 2385 configuration is useful to you, please write to autoconf@gnu.org." >&5 2386 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2387 whose name does not start with the host triplet. If you think this 2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2389 ac_tool_warned=yes ;; 2390 esac 2391 CC=$ac_ct_CC 2392 fi 2393 else 2394 CC="$ac_cv_prog_CC" 2395 fi 2396 2397 if test -z "$CC"; then 2398 if test -n "$ac_tool_prefix"; then 2399 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2400 set dummy ${ac_tool_prefix}cc; ac_word=$2 2401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2402 $as_echo_n "checking for $ac_word... " >&6; } 2403 if test "${ac_cv_prog_CC+set}" = set; then 2404 $as_echo_n "(cached) " >&6 2405 else 2406 if test -n "$CC"; then 2407 ac_cv_prog_CC="$CC" # Let the user override the test. 2408 else 2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2410 for as_dir in $PATH 2411 do 2412 IFS=$as_save_IFS 2413 test -z "$as_dir" && as_dir=. 2414 for ac_exec_ext in '' $ac_executable_extensions; do 2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2416 ac_cv_prog_CC="${ac_tool_prefix}cc" 2417 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2418 break 2 2419 fi 2420 done 2421 done 2422 IFS=$as_save_IFS 2423 2424 fi 2425 fi 2426 CC=$ac_cv_prog_CC 2427 if test -n "$CC"; then 2428 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2429 $as_echo "$CC" >&6; } 2430 else 2431 { $as_echo "$as_me:$LINENO: result: no" >&5 2432 $as_echo "no" >&6; } 2433 fi 2434 2435 2436 fi 2437 fi 2438 if test -z "$CC"; then 2439 # Extract the first word of "cc", so it can be a program name with args. 2440 set dummy cc; ac_word=$2 2441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2442 $as_echo_n "checking for $ac_word... " >&6; } 2443 if test "${ac_cv_prog_CC+set}" = set; then 2444 $as_echo_n "(cached) " >&6 2445 else 2446 if test -n "$CC"; then 2447 ac_cv_prog_CC="$CC" # Let the user override the test. 2448 else 2449 ac_prog_rejected=no 2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2451 for as_dir in $PATH 2452 do 2453 IFS=$as_save_IFS 2454 test -z "$as_dir" && as_dir=. 2455 for ac_exec_ext in '' $ac_executable_extensions; do 2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2457 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2458 ac_prog_rejected=yes 2459 continue 2460 fi 2461 ac_cv_prog_CC="cc" 2462 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2463 break 2 2464 fi 2465 done 2466 done 2467 IFS=$as_save_IFS 2468 2469 if test $ac_prog_rejected = yes; then 2470 # We found a bogon in the path, so make sure we never use it. 2471 set dummy $ac_cv_prog_CC 2472 shift 2473 if test $# != 0; then 2474 # We chose a different compiler from the bogus one. 2475 # However, it has the same basename, so the bogon will be chosen 2476 # first if we set CC to just the basename; use the full file name. 2477 shift 2478 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2479 fi 2480 fi 2481 fi 2482 fi 2483 CC=$ac_cv_prog_CC 2484 if test -n "$CC"; then 2485 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2486 $as_echo "$CC" >&6; } 2487 else 2488 { $as_echo "$as_me:$LINENO: result: no" >&5 2489 $as_echo "no" >&6; } 2490 fi 2491 2492 2493 fi 2494 if test -z "$CC"; then 2495 if test -n "$ac_tool_prefix"; then 2496 for ac_prog in cl.exe 2497 do 2498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2500 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2501 $as_echo_n "checking for $ac_word... " >&6; } 2502 if test "${ac_cv_prog_CC+set}" = set; then 2503 $as_echo_n "(cached) " >&6 2504 else 2505 if test -n "$CC"; then 2506 ac_cv_prog_CC="$CC" # Let the user override the test. 2507 else 2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2509 for as_dir in $PATH 2510 do 2511 IFS=$as_save_IFS 2512 test -z "$as_dir" && as_dir=. 2513 for ac_exec_ext in '' $ac_executable_extensions; do 2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2515 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2516 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2517 break 2 2518 fi 2519 done 2520 done 2521 IFS=$as_save_IFS 2522 2523 fi 2524 fi 2525 CC=$ac_cv_prog_CC 2526 if test -n "$CC"; then 2527 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2528 $as_echo "$CC" >&6; } 2529 else 2530 { $as_echo "$as_me:$LINENO: result: no" >&5 2531 $as_echo "no" >&6; } 2532 fi 2533 2534 2535 test -n "$CC" && break 2536 done 2537 fi 2538 if test -z "$CC"; then 2539 ac_ct_CC=$CC 2540 for ac_prog in cl.exe 2541 do 2542 # Extract the first word of "$ac_prog", so it can be a program name with args. 2543 set dummy $ac_prog; ac_word=$2 2544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2545 $as_echo_n "checking for $ac_word... " >&6; } 2546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2547 $as_echo_n "(cached) " >&6 2548 else 2549 if test -n "$ac_ct_CC"; then 2550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2551 else 2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2553 for as_dir in $PATH 2554 do 2555 IFS=$as_save_IFS 2556 test -z "$as_dir" && as_dir=. 2557 for ac_exec_ext in '' $ac_executable_extensions; do 2558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2559 ac_cv_prog_ac_ct_CC="$ac_prog" 2560 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2561 break 2 2562 fi 2563 done 2564 done 2565 IFS=$as_save_IFS 2566 2567 fi 2568 fi 2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2570 if test -n "$ac_ct_CC"; then 2571 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2572 $as_echo "$ac_ct_CC" >&6; } 2573 else 2574 { $as_echo "$as_me:$LINENO: result: no" >&5 2575 $as_echo "no" >&6; } 2576 fi 2577 2578 2579 test -n "$ac_ct_CC" && break 2580 done 2581 2582 if test "x$ac_ct_CC" = x; then 2583 CC="" 2584 else 2585 case $cross_compiling:$ac_tool_warned in 2586 yes:) 2587 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2588 whose name does not start with the host triplet. If you think this 2589 configuration is useful to you, please write to autoconf@gnu.org." >&5 2590 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2591 whose name does not start with the host triplet. If you think this 2592 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2593 ac_tool_warned=yes ;; 2594 esac 2595 CC=$ac_ct_CC 2596 fi 2597 fi 2598 2599 fi 2600 2601 2602 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2603 See \`config.log' for more details." >&5 2604 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2605 See \`config.log' for more details." >&2;} 2606 { (exit 1); exit 1; }; } 2607 2608 # Provide some information about the compiler. 2609 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2610 set X $ac_compile 2611 ac_compiler=$2 2612 { (ac_try="$ac_compiler --version >&5" 2613 case "(($ac_try" in 2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2615 *) ac_try_echo=$ac_try;; 2616 esac 2617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2618 $as_echo "$ac_try_echo") >&5 2619 (eval "$ac_compiler --version >&5") 2>&5 2620 ac_status=$? 2621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2622 (exit $ac_status); } 2623 { (ac_try="$ac_compiler -v >&5" 2624 case "(($ac_try" in 2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2626 *) ac_try_echo=$ac_try;; 2627 esac 2628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2629 $as_echo "$ac_try_echo") >&5 2630 (eval "$ac_compiler -v >&5") 2>&5 2631 ac_status=$? 2632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2633 (exit $ac_status); } 2634 { (ac_try="$ac_compiler -V >&5" 2635 case "(($ac_try" in 2636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2637 *) ac_try_echo=$ac_try;; 2638 esac 2639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2640 $as_echo "$ac_try_echo") >&5 2641 (eval "$ac_compiler -V >&5") 2>&5 2642 ac_status=$? 2643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2644 (exit $ac_status); } 2645 2646 cat >conftest.$ac_ext <<_ACEOF 2647 /* confdefs.h. */ 2648 _ACEOF 2649 cat confdefs.h >>conftest.$ac_ext 2650 cat >>conftest.$ac_ext <<_ACEOF 2651 /* end confdefs.h. */ 2652 2653 int 2654 main () 2655 { 2656 2657 ; 2658 return 0; 2659 } 2660 _ACEOF 2661 ac_clean_files_save=$ac_clean_files 2662 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2663 # Try to create an executable without -o first, disregard a.out. 2664 # It will help us diagnose broken compilers, and finding out an intuition 2665 # of exeext. 2666 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2667 $as_echo_n "checking for C compiler default output file name... " >&6; } 2668 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2669 2670 # The possible output files: 2671 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2672 2673 ac_rmfiles= 2674 for ac_file in $ac_files 2675 do 2676 case $ac_file in 2677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2678 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2679 esac 2680 done 2681 rm -f $ac_rmfiles 2682 2683 if { (ac_try="$ac_link_default" 2684 case "(($ac_try" in 2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2686 *) ac_try_echo=$ac_try;; 2687 esac 2688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2689 $as_echo "$ac_try_echo") >&5 2690 (eval "$ac_link_default") 2>&5 2691 ac_status=$? 2692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); }; then 2694 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2695 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2696 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2697 # so that the user can short-circuit this test for compilers unknown to 2698 # Autoconf. 2699 for ac_file in $ac_files '' 2700 do 2701 test -f "$ac_file" || continue 2702 case $ac_file in 2703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2704 ;; 2705 [ab].out ) 2706 # We found the default executable, but exeext='' is most 2707 # certainly right. 2708 break;; 2709 *.* ) 2710 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2711 then :; else 2712 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2713 fi 2714 # We set ac_cv_exeext here because the later test for it is not 2715 # safe: cross compilers may not add the suffix if given an `-o' 2716 # argument, so we may need to know it at that point already. 2717 # Even if this section looks crufty: it has the advantage of 2718 # actually working. 2719 break;; 2720 * ) 2721 break;; 2722 esac 2723 done 2724 test "$ac_cv_exeext" = no && ac_cv_exeext= 2725 2726 else 2727 ac_file='' 2728 fi 2729 2730 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2731 $as_echo "$ac_file" >&6; } 2732 if test -z "$ac_file"; then 2733 $as_echo "$as_me: failed program was:" >&5 2734 sed 's/^/| /' conftest.$ac_ext >&5 2735 2736 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2737 See \`config.log' for more details." >&5 2738 $as_echo "$as_me: error: C compiler cannot create executables 2739 See \`config.log' for more details." >&2;} 2740 { (exit 77); exit 77; }; } 2741 fi 2742 2743 ac_exeext=$ac_cv_exeext 2744 2745 # Check that the compiler produces executables we can run. If not, either 2746 # the compiler is broken, or we cross compile. 2747 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2748 $as_echo_n "checking whether the C compiler works... " >&6; } 2749 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2750 # If not cross compiling, check that we can run a simple program. 2751 if test "$cross_compiling" != yes; then 2752 if { ac_try='./$ac_file' 2753 { (case "(($ac_try" in 2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2755 *) ac_try_echo=$ac_try;; 2756 esac 2757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2758 $as_echo "$ac_try_echo") >&5 2759 (eval "$ac_try") 2>&5 2760 ac_status=$? 2761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2762 (exit $ac_status); }; }; then 2763 cross_compiling=no 2764 else 2765 if test "$cross_compiling" = maybe; then 2766 cross_compiling=yes 2767 else 2768 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2769 If you meant to cross compile, use \`--host'. 2770 See \`config.log' for more details." >&5 2771 $as_echo "$as_me: error: cannot run C compiled programs. 2772 If you meant to cross compile, use \`--host'. 2773 See \`config.log' for more details." >&2;} 2774 { (exit 1); exit 1; }; } 2775 fi 2776 fi 2777 fi 2778 { $as_echo "$as_me:$LINENO: result: yes" >&5 2779 $as_echo "yes" >&6; } 2780 2781 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2782 ac_clean_files=$ac_clean_files_save 2783 # Check that the compiler produces executables we can run. If not, either 2784 # the compiler is broken, or we cross compile. 2785 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2786 $as_echo_n "checking whether we are cross compiling... " >&6; } 2787 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2788 $as_echo "$cross_compiling" >&6; } 2789 2790 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2791 $as_echo_n "checking for suffix of executables... " >&6; } 2792 if { (ac_try="$ac_link" 2793 case "(($ac_try" in 2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2795 *) ac_try_echo=$ac_try;; 2796 esac 2797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2798 $as_echo "$ac_try_echo") >&5 2799 (eval "$ac_link") 2>&5 2800 ac_status=$? 2801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2802 (exit $ac_status); }; then 2803 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2804 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2805 # work properly (i.e., refer to `conftest.exe'), while it won't with 2806 # `rm'. 2807 for ac_file in conftest.exe conftest conftest.*; do 2808 test -f "$ac_file" || continue 2809 case $ac_file in 2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2811 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2812 break;; 2813 * ) break;; 2814 esac 2815 done 2816 else 2817 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2818 See \`config.log' for more details." >&5 2819 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2820 See \`config.log' for more details." >&2;} 2821 { (exit 1); exit 1; }; } 2822 fi 2823 2824 rm -f conftest$ac_cv_exeext 2825 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2826 $as_echo "$ac_cv_exeext" >&6; } 2827 2828 rm -f conftest.$ac_ext 2829 EXEEXT=$ac_cv_exeext 2830 ac_exeext=$EXEEXT 2831 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2832 $as_echo_n "checking for suffix of object files... " >&6; } 2833 if test "${ac_cv_objext+set}" = set; then 2834 $as_echo_n "(cached) " >&6 2835 else 2836 cat >conftest.$ac_ext <<_ACEOF 2837 /* confdefs.h. */ 2838 _ACEOF 2839 cat confdefs.h >>conftest.$ac_ext 2840 cat >>conftest.$ac_ext <<_ACEOF 2841 /* end confdefs.h. */ 2842 2843 int 2844 main () 2845 { 2846 2847 ; 2848 return 0; 2849 } 2850 _ACEOF 2851 rm -f conftest.o conftest.obj 2852 if { (ac_try="$ac_compile" 2853 case "(($ac_try" in 2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2855 *) ac_try_echo=$ac_try;; 2856 esac 2857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2858 $as_echo "$ac_try_echo") >&5 2859 (eval "$ac_compile") 2>&5 2860 ac_status=$? 2861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2862 (exit $ac_status); }; then 2863 for ac_file in conftest.o conftest.obj conftest.*; do 2864 test -f "$ac_file" || continue; 2865 case $ac_file in 2866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2867 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2868 break;; 2869 esac 2870 done 2871 else 2872 $as_echo "$as_me: failed program was:" >&5 2873 sed 's/^/| /' conftest.$ac_ext >&5 2874 2875 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2876 See \`config.log' for more details." >&5 2877 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2878 See \`config.log' for more details." >&2;} 2879 { (exit 1); exit 1; }; } 2880 fi 2881 2882 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2883 fi 2884 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2885 $as_echo "$ac_cv_objext" >&6; } 2886 OBJEXT=$ac_cv_objext 2887 ac_objext=$OBJEXT 2888 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2889 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2890 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2891 $as_echo_n "(cached) " >&6 2892 else 2893 cat >conftest.$ac_ext <<_ACEOF 2894 /* confdefs.h. */ 2895 _ACEOF 2896 cat confdefs.h >>conftest.$ac_ext 2897 cat >>conftest.$ac_ext <<_ACEOF 2898 /* end confdefs.h. */ 2899 2900 int 2901 main () 2902 { 2903 #ifndef __GNUC__ 2904 choke me 2905 #endif 2906 2907 ; 2908 return 0; 2909 } 2910 _ACEOF 2911 rm -f conftest.$ac_objext 2912 if { (ac_try="$ac_compile" 2913 case "(($ac_try" in 2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *) ac_try_echo=$ac_try;; 2916 esac 2917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2918 $as_echo "$ac_try_echo") >&5 2919 (eval "$ac_compile") 2>conftest.er1 2920 ac_status=$? 2921 grep -v '^ *+' conftest.er1 >conftest.err 2922 rm -f conftest.er1 2923 cat conftest.err >&5 2924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2925 (exit $ac_status); } && { 2926 test -z "$ac_c_werror_flag" || 2927 test ! -s conftest.err 2928 } && test -s conftest.$ac_objext; then 2929 ac_compiler_gnu=yes 2930 else 2931 $as_echo "$as_me: failed program was:" >&5 2932 sed 's/^/| /' conftest.$ac_ext >&5 2933 2934 ac_compiler_gnu=no 2935 fi 2936 2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2938 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2939 2940 fi 2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2942 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2943 if test $ac_compiler_gnu = yes; then 2944 GCC=yes 2945 else 2946 GCC= 2947 fi 2948 ac_test_CFLAGS=${CFLAGS+set} 2949 ac_save_CFLAGS=$CFLAGS 2950 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2951 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2952 if test "${ac_cv_prog_cc_g+set}" = set; then 2953 $as_echo_n "(cached) " >&6 2954 else 2955 ac_save_c_werror_flag=$ac_c_werror_flag 2956 ac_c_werror_flag=yes 2957 ac_cv_prog_cc_g=no 2958 CFLAGS="-g" 2959 cat >conftest.$ac_ext <<_ACEOF 2960 /* confdefs.h. */ 2961 _ACEOF 2962 cat confdefs.h >>conftest.$ac_ext 2963 cat >>conftest.$ac_ext <<_ACEOF 2964 /* end confdefs.h. */ 2965 2966 int 2967 main () 2968 { 2969 2970 ; 2971 return 0; 2972 } 2973 _ACEOF 2974 rm -f conftest.$ac_objext 2975 if { (ac_try="$ac_compile" 2976 case "(($ac_try" in 2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2978 *) ac_try_echo=$ac_try;; 2979 esac 2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2981 $as_echo "$ac_try_echo") >&5 2982 (eval "$ac_compile") 2>conftest.er1 2983 ac_status=$? 2984 grep -v '^ *+' conftest.er1 >conftest.err 2985 rm -f conftest.er1 2986 cat conftest.err >&5 2987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2988 (exit $ac_status); } && { 2989 test -z "$ac_c_werror_flag" || 2990 test ! -s conftest.err 2991 } && test -s conftest.$ac_objext; then 2992 ac_cv_prog_cc_g=yes 2993 else 2994 $as_echo "$as_me: failed program was:" >&5 2995 sed 's/^/| /' conftest.$ac_ext >&5 2996 2997 CFLAGS="" 2998 cat >conftest.$ac_ext <<_ACEOF 2999 /* confdefs.h. */ 3000 _ACEOF 3001 cat confdefs.h >>conftest.$ac_ext 3002 cat >>conftest.$ac_ext <<_ACEOF 3003 /* end confdefs.h. */ 3004 3005 int 3006 main () 3007 { 3008 3009 ; 3010 return 0; 3011 } 3012 _ACEOF 3013 rm -f conftest.$ac_objext 3014 if { (ac_try="$ac_compile" 3015 case "(($ac_try" in 3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3017 *) ac_try_echo=$ac_try;; 3018 esac 3019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3020 $as_echo "$ac_try_echo") >&5 3021 (eval "$ac_compile") 2>conftest.er1 3022 ac_status=$? 3023 grep -v '^ *+' conftest.er1 >conftest.err 3024 rm -f conftest.er1 3025 cat conftest.err >&5 3026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3027 (exit $ac_status); } && { 3028 test -z "$ac_c_werror_flag" || 3029 test ! -s conftest.err 3030 } && test -s conftest.$ac_objext; then 3031 : 3032 else 3033 $as_echo "$as_me: failed program was:" >&5 3034 sed 's/^/| /' conftest.$ac_ext >&5 3035 3036 ac_c_werror_flag=$ac_save_c_werror_flag 3037 CFLAGS="-g" 3038 cat >conftest.$ac_ext <<_ACEOF 3039 /* confdefs.h. */ 3040 _ACEOF 3041 cat confdefs.h >>conftest.$ac_ext 3042 cat >>conftest.$ac_ext <<_ACEOF 3043 /* end confdefs.h. */ 3044 3045 int 3046 main () 3047 { 3048 3049 ; 3050 return 0; 3051 } 3052 _ACEOF 3053 rm -f conftest.$ac_objext 3054 if { (ac_try="$ac_compile" 3055 case "(($ac_try" in 3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3057 *) ac_try_echo=$ac_try;; 3058 esac 3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3060 $as_echo "$ac_try_echo") >&5 3061 (eval "$ac_compile") 2>conftest.er1 3062 ac_status=$? 3063 grep -v '^ *+' conftest.er1 >conftest.err 3064 rm -f conftest.er1 3065 cat conftest.err >&5 3066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3067 (exit $ac_status); } && { 3068 test -z "$ac_c_werror_flag" || 3069 test ! -s conftest.err 3070 } && test -s conftest.$ac_objext; then 3071 ac_cv_prog_cc_g=yes 3072 else 3073 $as_echo "$as_me: failed program was:" >&5 3074 sed 's/^/| /' conftest.$ac_ext >&5 3075 3076 3077 fi 3078 3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3080 fi 3081 3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3083 fi 3084 3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3086 ac_c_werror_flag=$ac_save_c_werror_flag 3087 fi 3088 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3089 $as_echo "$ac_cv_prog_cc_g" >&6; } 3090 if test "$ac_test_CFLAGS" = set; then 3091 CFLAGS=$ac_save_CFLAGS 3092 elif test $ac_cv_prog_cc_g = yes; then 3093 if test "$GCC" = yes; then 3094 CFLAGS="-g -O2" 3095 else 3096 CFLAGS="-g" 3097 fi 3098 else 3099 if test "$GCC" = yes; then 3100 CFLAGS="-O2" 3101 else 3102 CFLAGS= 3103 fi 3104 fi 3105 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3106 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3107 if test "${ac_cv_prog_cc_c89+set}" = set; then 3108 $as_echo_n "(cached) " >&6 3109 else 3110 ac_cv_prog_cc_c89=no 3111 ac_save_CC=$CC 3112 cat >conftest.$ac_ext <<_ACEOF 3113 /* confdefs.h. */ 3114 _ACEOF 3115 cat confdefs.h >>conftest.$ac_ext 3116 cat >>conftest.$ac_ext <<_ACEOF 3117 /* end confdefs.h. */ 3118 #include <stdarg.h> 3119 #include <stdio.h> 3120 #include <sys/types.h> 3121 #include <sys/stat.h> 3122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3123 struct buf { int x; }; 3124 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3125 static char *e (p, i) 3126 char **p; 3127 int i; 3128 { 3129 return p[i]; 3130 } 3131 static char *f (char * (*g) (char **, int), char **p, ...) 3132 { 3133 char *s; 3134 va_list v; 3135 va_start (v,p); 3136 s = g (p, va_arg (v,int)); 3137 va_end (v); 3138 return s; 3139 } 3140 3141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3142 function prototypes and stuff, but not '\xHH' hex character constants. 3143 These don't provoke an error unfortunately, instead are silently treated 3144 as 'x'. The following induces an error, until -std is added to get 3145 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3146 array size at least. It's necessary to write '\x00'==0 to get something 3147 that's true only with -std. */ 3148 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3149 3150 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3151 inside strings and character constants. */ 3152 #define FOO(x) 'x' 3153 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3154 3155 int test (int i, double x); 3156 struct s1 {int (*f) (int a);}; 3157 struct s2 {int (*f) (double a);}; 3158 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3159 int argc; 3160 char **argv; 3161 int 3162 main () 3163 { 3164 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3165 ; 3166 return 0; 3167 } 3168 _ACEOF 3169 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3170 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3171 do 3172 CC="$ac_save_CC $ac_arg" 3173 rm -f conftest.$ac_objext 3174 if { (ac_try="$ac_compile" 3175 case "(($ac_try" in 3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3177 *) ac_try_echo=$ac_try;; 3178 esac 3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3180 $as_echo "$ac_try_echo") >&5 3181 (eval "$ac_compile") 2>conftest.er1 3182 ac_status=$? 3183 grep -v '^ *+' conftest.er1 >conftest.err 3184 rm -f conftest.er1 3185 cat conftest.err >&5 3186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3187 (exit $ac_status); } && { 3188 test -z "$ac_c_werror_flag" || 3189 test ! -s conftest.err 3190 } && test -s conftest.$ac_objext; then 3191 ac_cv_prog_cc_c89=$ac_arg 3192 else 3193 $as_echo "$as_me: failed program was:" >&5 3194 sed 's/^/| /' conftest.$ac_ext >&5 3195 3196 3197 fi 3198 3199 rm -f core conftest.err conftest.$ac_objext 3200 test "x$ac_cv_prog_cc_c89" != "xno" && break 3201 done 3202 rm -f conftest.$ac_ext 3203 CC=$ac_save_CC 3204 3205 fi 3206 # AC_CACHE_VAL 3207 case "x$ac_cv_prog_cc_c89" in 3208 x) 3209 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3210 $as_echo "none needed" >&6; } ;; 3211 xno) 3212 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3213 $as_echo "unsupported" >&6; } ;; 3214 *) 3215 CC="$CC $ac_cv_prog_cc_c89" 3216 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3217 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3218 esac 3219 3220 3221 ac_ext=c 3222 ac_cpp='$CPP $CPPFLAGS' 3223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3225 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3226 3227 ac_ext=cpp 3228 ac_cpp='$CXXCPP $CPPFLAGS' 3229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3232 if test -z "$CXX"; then 3233 if test -n "$CCC"; then 3234 CXX=$CCC 3235 else 3236 if test -n "$ac_tool_prefix"; then 3237 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3238 do 3239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3242 $as_echo_n "checking for $ac_word... " >&6; } 3243 if test "${ac_cv_prog_CXX+set}" = set; then 3244 $as_echo_n "(cached) " >&6 3245 else 3246 if test -n "$CXX"; then 3247 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3248 else 3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3250 for as_dir in $PATH 3251 do 3252 IFS=$as_save_IFS 3253 test -z "$as_dir" && as_dir=. 3254 for ac_exec_ext in '' $ac_executable_extensions; do 3255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3256 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3257 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3258 break 2 3259 fi 3260 done 3261 done 3262 IFS=$as_save_IFS 3263 3264 fi 3265 fi 3266 CXX=$ac_cv_prog_CXX 3267 if test -n "$CXX"; then 3268 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 3269 $as_echo "$CXX" >&6; } 3270 else 3271 { $as_echo "$as_me:$LINENO: result: no" >&5 3272 $as_echo "no" >&6; } 3273 fi 3274 3275 3276 test -n "$CXX" && break 3277 done 3278 fi 3279 if test -z "$CXX"; then 3280 ac_ct_CXX=$CXX 3281 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3282 do 3283 # Extract the first word of "$ac_prog", so it can be a program name with args. 3284 set dummy $ac_prog; ac_word=$2 3285 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3286 $as_echo_n "checking for $ac_word... " >&6; } 3287 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3288 $as_echo_n "(cached) " >&6 3289 else 3290 if test -n "$ac_ct_CXX"; then 3291 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3292 else 3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3294 for as_dir in $PATH 3295 do 3296 IFS=$as_save_IFS 3297 test -z "$as_dir" && as_dir=. 3298 for ac_exec_ext in '' $ac_executable_extensions; do 3299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3300 ac_cv_prog_ac_ct_CXX="$ac_prog" 3301 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3302 break 2 3303 fi 3304 done 3305 done 3306 IFS=$as_save_IFS 3307 3308 fi 3309 fi 3310 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3311 if test -n "$ac_ct_CXX"; then 3312 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3313 $as_echo "$ac_ct_CXX" >&6; } 3314 else 3315 { $as_echo "$as_me:$LINENO: result: no" >&5 3316 $as_echo "no" >&6; } 3317 fi 3318 3319 3320 test -n "$ac_ct_CXX" && break 3321 done 3322 3323 if test "x$ac_ct_CXX" = x; then 3324 CXX="g++" 3325 else 3326 case $cross_compiling:$ac_tool_warned in 3327 yes:) 3328 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3329 whose name does not start with the host triplet. If you think this 3330 configuration is useful to you, please write to autoconf@gnu.org." >&5 3331 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3332 whose name does not start with the host triplet. If you think this 3333 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3334 ac_tool_warned=yes ;; 3335 esac 3336 CXX=$ac_ct_CXX 3337 fi 3338 fi 3339 3340 fi 3341 fi 3342 # Provide some information about the compiler. 3343 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3344 set X $ac_compile 3345 ac_compiler=$2 3346 { (ac_try="$ac_compiler --version >&5" 3347 case "(($ac_try" in 3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3349 *) ac_try_echo=$ac_try;; 3350 esac 3351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3352 $as_echo "$ac_try_echo") >&5 3353 (eval "$ac_compiler --version >&5") 2>&5 3354 ac_status=$? 3355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3356 (exit $ac_status); } 3357 { (ac_try="$ac_compiler -v >&5" 3358 case "(($ac_try" in 3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3360 *) ac_try_echo=$ac_try;; 3361 esac 3362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3363 $as_echo "$ac_try_echo") >&5 3364 (eval "$ac_compiler -v >&5") 2>&5 3365 ac_status=$? 3366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3367 (exit $ac_status); } 3368 { (ac_try="$ac_compiler -V >&5" 3369 case "(($ac_try" in 3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3371 *) ac_try_echo=$ac_try;; 3372 esac 3373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3374 $as_echo "$ac_try_echo") >&5 3375 (eval "$ac_compiler -V >&5") 2>&5 3376 ac_status=$? 3377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3378 (exit $ac_status); } 3379 3380 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3381 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3382 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3383 $as_echo_n "(cached) " >&6 3384 else 3385 cat >conftest.$ac_ext <<_ACEOF 3386 /* confdefs.h. */ 3387 _ACEOF 3388 cat confdefs.h >>conftest.$ac_ext 3389 cat >>conftest.$ac_ext <<_ACEOF 3390 /* end confdefs.h. */ 3391 3392 int 3393 main () 3394 { 3395 #ifndef __GNUC__ 3396 choke me 3397 #endif 3398 3399 ; 3400 return 0; 3401 } 3402 _ACEOF 3403 rm -f conftest.$ac_objext 3404 if { (ac_try="$ac_compile" 3405 case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo") >&5 3411 (eval "$ac_compile") 2>conftest.er1 3412 ac_status=$? 3413 grep -v '^ *+' conftest.er1 >conftest.err 3414 rm -f conftest.er1 3415 cat conftest.err >&5 3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3417 (exit $ac_status); } && { 3418 test -z "$ac_cxx_werror_flag" || 3419 test ! -s conftest.err 3420 } && test -s conftest.$ac_objext; then 3421 ac_compiler_gnu=yes 3422 else 3423 $as_echo "$as_me: failed program was:" >&5 3424 sed 's/^/| /' conftest.$ac_ext >&5 3425 3426 ac_compiler_gnu=no 3427 fi 3428 3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3430 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3431 3432 fi 3433 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3434 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3435 if test $ac_compiler_gnu = yes; then 3436 GXX=yes 3437 else 3438 GXX= 3439 fi 3440 ac_test_CXXFLAGS=${CXXFLAGS+set} 3441 ac_save_CXXFLAGS=$CXXFLAGS 3442 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3443 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3444 if test "${ac_cv_prog_cxx_g+set}" = set; then 3445 $as_echo_n "(cached) " >&6 3446 else 3447 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3448 ac_cxx_werror_flag=yes 3449 ac_cv_prog_cxx_g=no 3450 CXXFLAGS="-g" 3451 cat >conftest.$ac_ext <<_ACEOF 3452 /* confdefs.h. */ 3453 _ACEOF 3454 cat confdefs.h >>conftest.$ac_ext 3455 cat >>conftest.$ac_ext <<_ACEOF 3456 /* end confdefs.h. */ 3457 3458 int 3459 main () 3460 { 3461 3462 ; 3463 return 0; 3464 } 3465 _ACEOF 3466 rm -f conftest.$ac_objext 3467 if { (ac_try="$ac_compile" 3468 case "(($ac_try" in 3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3470 *) ac_try_echo=$ac_try;; 3471 esac 3472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3473 $as_echo "$ac_try_echo") >&5 3474 (eval "$ac_compile") 2>conftest.er1 3475 ac_status=$? 3476 grep -v '^ *+' conftest.er1 >conftest.err 3477 rm -f conftest.er1 3478 cat conftest.err >&5 3479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3480 (exit $ac_status); } && { 3481 test -z "$ac_cxx_werror_flag" || 3482 test ! -s conftest.err 3483 } && test -s conftest.$ac_objext; then 3484 ac_cv_prog_cxx_g=yes 3485 else 3486 $as_echo "$as_me: failed program was:" >&5 3487 sed 's/^/| /' conftest.$ac_ext >&5 3488 3489 CXXFLAGS="" 3490 cat >conftest.$ac_ext <<_ACEOF 3491 /* confdefs.h. */ 3492 _ACEOF 3493 cat confdefs.h >>conftest.$ac_ext 3494 cat >>conftest.$ac_ext <<_ACEOF 3495 /* end confdefs.h. */ 3496 3497 int 3498 main () 3499 { 3500 3501 ; 3502 return 0; 3503 } 3504 _ACEOF 3505 rm -f conftest.$ac_objext 3506 if { (ac_try="$ac_compile" 3507 case "(($ac_try" in 3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3509 *) ac_try_echo=$ac_try;; 3510 esac 3511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3512 $as_echo "$ac_try_echo") >&5 3513 (eval "$ac_compile") 2>conftest.er1 3514 ac_status=$? 3515 grep -v '^ *+' conftest.er1 >conftest.err 3516 rm -f conftest.er1 3517 cat conftest.err >&5 3518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3519 (exit $ac_status); } && { 3520 test -z "$ac_cxx_werror_flag" || 3521 test ! -s conftest.err 3522 } && test -s conftest.$ac_objext; then 3523 : 3524 else 3525 $as_echo "$as_me: failed program was:" >&5 3526 sed 's/^/| /' conftest.$ac_ext >&5 3527 3528 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3529 CXXFLAGS="-g" 3530 cat >conftest.$ac_ext <<_ACEOF 3531 /* confdefs.h. */ 3532 _ACEOF 3533 cat confdefs.h >>conftest.$ac_ext 3534 cat >>conftest.$ac_ext <<_ACEOF 3535 /* end confdefs.h. */ 3536 3537 int 3538 main () 3539 { 3540 3541 ; 3542 return 0; 3543 } 3544 _ACEOF 3545 rm -f conftest.$ac_objext 3546 if { (ac_try="$ac_compile" 3547 case "(($ac_try" in 3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3549 *) ac_try_echo=$ac_try;; 3550 esac 3551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3552 $as_echo "$ac_try_echo") >&5 3553 (eval "$ac_compile") 2>conftest.er1 3554 ac_status=$? 3555 grep -v '^ *+' conftest.er1 >conftest.err 3556 rm -f conftest.er1 3557 cat conftest.err >&5 3558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3559 (exit $ac_status); } && { 3560 test -z "$ac_cxx_werror_flag" || 3561 test ! -s conftest.err 3562 } && test -s conftest.$ac_objext; then 3563 ac_cv_prog_cxx_g=yes 3564 else 3565 $as_echo "$as_me: failed program was:" >&5 3566 sed 's/^/| /' conftest.$ac_ext >&5 3567 3568 3569 fi 3570 3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3572 fi 3573 3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3575 fi 3576 3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3578 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3579 fi 3580 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3581 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3582 if test "$ac_test_CXXFLAGS" = set; then 3583 CXXFLAGS=$ac_save_CXXFLAGS 3584 elif test $ac_cv_prog_cxx_g = yes; then 3585 if test "$GXX" = yes; then 3586 CXXFLAGS="-g -O2" 3587 else 3588 CXXFLAGS="-g" 3589 fi 3590 else 3591 if test "$GXX" = yes; then 3592 CXXFLAGS="-O2" 3593 else 3594 CXXFLAGS= 3595 fi 3596 fi 3597 ac_ext=c 3598 ac_cpp='$CPP $CPPFLAGS' 3599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3601 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3602 3603 ac_ext=c 3604 ac_cpp='$CPP $CPPFLAGS' 3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3608 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3609 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3610 # On Suns, sometimes $CPP names a directory. 3611 if test -n "$CPP" && test -d "$CPP"; then 3612 CPP= 3613 fi 3614 if test -z "$CPP"; then 3615 if test "${ac_cv_prog_CPP+set}" = set; then 3616 $as_echo_n "(cached) " >&6 3617 else 3618 # Double quotes because CPP needs to be expanded 3619 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3620 do 3621 ac_preproc_ok=false 3622 for ac_c_preproc_warn_flag in '' yes 3623 do 3624 # Use a header file that comes with gcc, so configuring glibc 3625 # with a fresh cross-compiler works. 3626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3627 # <limits.h> exists even on freestanding compilers. 3628 # On the NeXT, cc -E runs the code through the compiler's parser, 3629 # not just through cpp. "Syntax error" is here to catch this case. 3630 cat >conftest.$ac_ext <<_ACEOF 3631 /* confdefs.h. */ 3632 _ACEOF 3633 cat confdefs.h >>conftest.$ac_ext 3634 cat >>conftest.$ac_ext <<_ACEOF 3635 /* end confdefs.h. */ 3636 #ifdef __STDC__ 3637 # include <limits.h> 3638 #else 3639 # include <assert.h> 3640 #endif 3641 Syntax error 3642 _ACEOF 3643 if { (ac_try="$ac_cpp conftest.$ac_ext" 3644 case "(($ac_try" in 3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3646 *) ac_try_echo=$ac_try;; 3647 esac 3648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3649 $as_echo "$ac_try_echo") >&5 3650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3651 ac_status=$? 3652 grep -v '^ *+' conftest.er1 >conftest.err 3653 rm -f conftest.er1 3654 cat conftest.err >&5 3655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3656 (exit $ac_status); } >/dev/null && { 3657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3658 test ! -s conftest.err 3659 }; then 3660 : 3661 else 3662 $as_echo "$as_me: failed program was:" >&5 3663 sed 's/^/| /' conftest.$ac_ext >&5 3664 3665 # Broken: fails on valid input. 3666 continue 3667 fi 3668 3669 rm -f conftest.err conftest.$ac_ext 3670 3671 # OK, works on sane cases. Now check whether nonexistent headers 3672 # can be detected and how. 3673 cat >conftest.$ac_ext <<_ACEOF 3674 /* confdefs.h. */ 3675 _ACEOF 3676 cat confdefs.h >>conftest.$ac_ext 3677 cat >>conftest.$ac_ext <<_ACEOF 3678 /* end confdefs.h. */ 3679 #include <ac_nonexistent.h> 3680 _ACEOF 3681 if { (ac_try="$ac_cpp conftest.$ac_ext" 3682 case "(($ac_try" in 3683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3684 *) ac_try_echo=$ac_try;; 3685 esac 3686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3687 $as_echo "$ac_try_echo") >&5 3688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3689 ac_status=$? 3690 grep -v '^ *+' conftest.er1 >conftest.err 3691 rm -f conftest.er1 3692 cat conftest.err >&5 3693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3694 (exit $ac_status); } >/dev/null && { 3695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3696 test ! -s conftest.err 3697 }; then 3698 # Broken: success on invalid input. 3699 continue 3700 else 3701 $as_echo "$as_me: failed program was:" >&5 3702 sed 's/^/| /' conftest.$ac_ext >&5 3703 3704 # Passes both tests. 3705 ac_preproc_ok=: 3706 break 3707 fi 3708 3709 rm -f conftest.err conftest.$ac_ext 3710 3711 done 3712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3713 rm -f conftest.err conftest.$ac_ext 3714 if $ac_preproc_ok; then 3715 break 3716 fi 3717 3718 done 3719 ac_cv_prog_CPP=$CPP 3720 3721 fi 3722 CPP=$ac_cv_prog_CPP 3723 else 3724 ac_cv_prog_CPP=$CPP 3725 fi 3726 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3727 $as_echo "$CPP" >&6; } 3728 ac_preproc_ok=false 3729 for ac_c_preproc_warn_flag in '' yes 3730 do 3731 # Use a header file that comes with gcc, so configuring glibc 3732 # with a fresh cross-compiler works. 3733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3734 # <limits.h> exists even on freestanding compilers. 3735 # On the NeXT, cc -E runs the code through the compiler's parser, 3736 # not just through cpp. "Syntax error" is here to catch this case. 3737 cat >conftest.$ac_ext <<_ACEOF 3738 /* confdefs.h. */ 3739 _ACEOF 3740 cat confdefs.h >>conftest.$ac_ext 3741 cat >>conftest.$ac_ext <<_ACEOF 3742 /* end confdefs.h. */ 3743 #ifdef __STDC__ 3744 # include <limits.h> 3745 #else 3746 # include <assert.h> 3747 #endif 3748 Syntax error 3749 _ACEOF 3750 if { (ac_try="$ac_cpp conftest.$ac_ext" 3751 case "(($ac_try" in 3752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3753 *) ac_try_echo=$ac_try;; 3754 esac 3755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3756 $as_echo "$ac_try_echo") >&5 3757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3758 ac_status=$? 3759 grep -v '^ *+' conftest.er1 >conftest.err 3760 rm -f conftest.er1 3761 cat conftest.err >&5 3762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3763 (exit $ac_status); } >/dev/null && { 3764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3765 test ! -s conftest.err 3766 }; then 3767 : 3768 else 3769 $as_echo "$as_me: failed program was:" >&5 3770 sed 's/^/| /' conftest.$ac_ext >&5 3771 3772 # Broken: fails on valid input. 3773 continue 3774 fi 3775 3776 rm -f conftest.err conftest.$ac_ext 3777 3778 # OK, works on sane cases. Now check whether nonexistent headers 3779 # can be detected and how. 3780 cat >conftest.$ac_ext <<_ACEOF 3781 /* confdefs.h. */ 3782 _ACEOF 3783 cat confdefs.h >>conftest.$ac_ext 3784 cat >>conftest.$ac_ext <<_ACEOF 3785 /* end confdefs.h. */ 3786 #include <ac_nonexistent.h> 3787 _ACEOF 3788 if { (ac_try="$ac_cpp conftest.$ac_ext" 3789 case "(($ac_try" in 3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3791 *) ac_try_echo=$ac_try;; 3792 esac 3793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3794 $as_echo "$ac_try_echo") >&5 3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3796 ac_status=$? 3797 grep -v '^ *+' conftest.er1 >conftest.err 3798 rm -f conftest.er1 3799 cat conftest.err >&5 3800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3801 (exit $ac_status); } >/dev/null && { 3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3803 test ! -s conftest.err 3804 }; then 3805 # Broken: success on invalid input. 3806 continue 3807 else 3808 $as_echo "$as_me: failed program was:" >&5 3809 sed 's/^/| /' conftest.$ac_ext >&5 3810 3811 # Passes both tests. 3812 ac_preproc_ok=: 3813 break 3814 fi 3815 3816 rm -f conftest.err conftest.$ac_ext 3817 3818 done 3819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3820 rm -f conftest.err conftest.$ac_ext 3821 if $ac_preproc_ok; then 3822 : 3823 else 3824 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3825 See \`config.log' for more details." >&5 3826 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3827 See \`config.log' for more details." >&2;} 3828 { (exit 1); exit 1; }; } 3829 fi 3830 3831 ac_ext=c 3832 ac_cpp='$CPP $CPPFLAGS' 3833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3835 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3836 3837 3838 # Find a good install program. We prefer a C program (faster), 2664 # Find a good install program. We prefer a C program (faster), 3839 2665 # so one script is as good as another. But avoid the broken or 3840 2666 # incompatible versions: … … 3850 2676 # ./install, which can be erroneously created by make from ./install.sh. 3851 2677 # Reject install programs that cannot install multiple files. 3852 { $as_echo "$as_me:$ LINENO: checking for a BSD-compatible install" >&52678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3853 2679 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3854 2680 if test -z "$INSTALL"; then 3855 if test "${ac_cv_path_install+set}" = set; then2681 if ${ac_cv_path_install+:} false; then : 3856 2682 $as_echo_n "(cached) " >&6 3857 2683 else … … 3861 2687 IFS=$as_save_IFS 3862 2688 test -z "$as_dir" && as_dir=. 3863 # Account for people who put trailing slashes in PATH elements.3864 case $as_dir/ in 3865 ./ | .// | / cC/* | \2689 # Account for people who put trailing slashes in PATH elements. 2690 case $as_dir/ in #(( 2691 ./ | .// | /[cC]/* | \ 3866 2692 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3867 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2693 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3868 2694 /usr/ucb/* ) ;; 3869 2695 *) … … 3873 2699 for ac_prog in ginstall scoinst install; do 3874 2700 for ac_exec_ext in '' $ac_executable_extensions; do 3875 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2701 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3876 2702 if test $ac_prog = install && 3877 2703 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3902 2728 esac 3903 2729 3904 done2730 done 3905 2731 IFS=$as_save_IFS 3906 2732 … … 3918 2744 fi 3919 2745 fi 3920 { $as_echo "$as_me:$ LINENO: result: $INSTALL" >&52746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3921 2747 $as_echo "$INSTALL" >&6; } 3922 2748 … … 3930 2756 3931 2757 3932 #-------------------------------------------------------------------- 3933 # Checks to see if the make program sets the $MAKE variable. 3934 #-------------------------------------------------------------------- 3935 3936 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3937 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3938 set x ${MAKE-make} 3939 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3940 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3941 $as_echo_n "(cached) " >&6 3942 else 3943 cat >conftest.make <<\_ACEOF 3944 SHELL = /bin/sh 3945 all: 3946 @echo '@@@%%%=$(MAKE)=@@@%%%' 3947 _ACEOF 3948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3949 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3950 *@@@%%%=?*=@@@%%%*) 3951 eval ac_cv_prog_make_${ac_make}_set=yes;; 3952 *) 3953 eval ac_cv_prog_make_${ac_make}_set=no;; 3954 esac 3955 rm -f conftest.make 3956 fi 3957 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3958 { $as_echo "$as_me:$LINENO: result: yes" >&5 3959 $as_echo "yes" >&6; } 3960 SET_MAKE= 3961 else 3962 { $as_echo "$as_me:$LINENO: result: no" >&5 3963 $as_echo "no" >&6; } 3964 SET_MAKE="MAKE=${MAKE-make}" 3965 fi 3966 3967 3968 #-------------------------------------------------------------------- 3969 # Find ranlib 3970 #-------------------------------------------------------------------- 3971 3972 if test -n "$ac_tool_prefix"; then 3973 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3974 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3976 $as_echo_n "checking for $ac_word... " >&6; } 3977 if test "${ac_cv_prog_RANLIB+set}" = set; then 3978 $as_echo_n "(cached) " >&6 3979 else 3980 if test -n "$RANLIB"; then 3981 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3982 else 3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3984 for as_dir in $PATH 3985 do 3986 IFS=$as_save_IFS 3987 test -z "$as_dir" && as_dir=. 3988 for ac_exec_ext in '' $ac_executable_extensions; do 3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3990 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3991 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3992 break 2 3993 fi 3994 done 3995 done 3996 IFS=$as_save_IFS 3997 3998 fi 3999 fi 4000 RANLIB=$ac_cv_prog_RANLIB 4001 if test -n "$RANLIB"; then 4002 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 4003 $as_echo "$RANLIB" >&6; } 4004 else 4005 { $as_echo "$as_me:$LINENO: result: no" >&5 4006 $as_echo "no" >&6; } 4007 fi 4008 4009 4010 fi 4011 if test -z "$ac_cv_prog_RANLIB"; then 4012 ac_ct_RANLIB=$RANLIB 4013 # Extract the first word of "ranlib", so it can be a program name with args. 4014 set dummy ranlib; ac_word=$2 4015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4016 $as_echo_n "checking for $ac_word... " >&6; } 4017 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4018 $as_echo_n "(cached) " >&6 4019 else 4020 if test -n "$ac_ct_RANLIB"; then 4021 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4022 else 4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4024 for as_dir in $PATH 4025 do 4026 IFS=$as_save_IFS 4027 test -z "$as_dir" && as_dir=. 4028 for ac_exec_ext in '' $ac_executable_extensions; do 4029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4030 ac_cv_prog_ac_ct_RANLIB="ranlib" 4031 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4032 break 2 4033 fi 4034 done 4035 done 4036 IFS=$as_save_IFS 4037 4038 fi 4039 fi 4040 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4041 if test -n "$ac_ct_RANLIB"; then 4042 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4043 $as_echo "$ac_ct_RANLIB" >&6; } 4044 else 4045 { $as_echo "$as_me:$LINENO: result: no" >&5 4046 $as_echo "no" >&6; } 4047 fi 4048 4049 if test "x$ac_ct_RANLIB" = x; then 4050 RANLIB=":" 4051 else 4052 case $cross_compiling:$ac_tool_warned in 4053 yes:) 4054 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4055 whose name does not start with the host triplet. If you think this 4056 configuration is useful to you, please write to autoconf@gnu.org." >&5 4057 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4058 whose name does not start with the host triplet. If you think this 4059 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4060 ac_tool_warned=yes ;; 4061 esac 4062 RANLIB=$ac_ct_RANLIB 4063 fi 4064 else 4065 RANLIB="$ac_cv_prog_RANLIB" 4066 fi 4067 4068 4069 #-------------------------------------------------------------------- 4070 # Determines the correct binary file extension (.o, .obj, .exe etc.) 4071 #-------------------------------------------------------------------- 4072 4073 4074 4075 4076 4077 4078 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4079 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4080 if test "${ac_cv_path_GREP+set}" = set; then 4081 $as_echo_n "(cached) " >&6 4082 else 4083 if test -z "$GREP"; then 4084 ac_path_GREP_found=false 4085 # Loop through the user's path and test for each of PROGNAME-LIST 4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4088 do 4089 IFS=$as_save_IFS 4090 test -z "$as_dir" && as_dir=. 4091 for ac_prog in grep ggrep; do 4092 for ac_exec_ext in '' $ac_executable_extensions; do 4093 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4094 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4095 # Check for GNU ac_path_GREP and select it if it is found. 4096 # Check for GNU $ac_path_GREP 4097 case `"$ac_path_GREP" --version 2>&1` in 4098 *GNU*) 4099 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4100 *) 4101 ac_count=0 4102 $as_echo_n 0123456789 >"conftest.in" 4103 while : 4104 do 4105 cat "conftest.in" "conftest.in" >"conftest.tmp" 4106 mv "conftest.tmp" "conftest.in" 4107 cp "conftest.in" "conftest.nl" 4108 $as_echo 'GREP' >> "conftest.nl" 4109 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4110 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4111 ac_count=`expr $ac_count + 1` 4112 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4113 # Best one so far, save it but keep looking for a better one 4114 ac_cv_path_GREP="$ac_path_GREP" 4115 ac_path_GREP_max=$ac_count 2758 # Don't put any macros that use the compiler (e.g. AC_TRY_COMPILE) 2759 # in this macro, they need to go into TEA_SETUP_COMPILER instead. 2760 2761 # If the user did not set CFLAGS, set it now to keep 2762 # the AC_PROG_CC macro from adding "-g -O2". 2763 if test "${CFLAGS+set}" != "set" ; then 2764 CFLAGS="" 4116 2765 fi 4117 # 10*(2^10) chars as input seems more than enough 4118 test $ac_count -gt 10 && break 4119 done 4120 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4121 esac 4122 4123 $ac_path_GREP_found && break 3 4124 done 4125 done 4126 done 4127 IFS=$as_save_IFS 4128 if test -z "$ac_cv_path_GREP"; then 4129 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4130 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4131 { (exit 1); exit 1; }; } 4132 fi 4133 else 4134 ac_cv_path_GREP=$GREP 4135 fi 4136 4137 fi 4138 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4139 $as_echo "$ac_cv_path_GREP" >&6; } 4140 GREP="$ac_cv_path_GREP" 4141 4142 4143 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4144 $as_echo_n "checking for egrep... " >&6; } 4145 if test "${ac_cv_path_EGREP+set}" = set; then 4146 $as_echo_n "(cached) " >&6 4147 else 4148 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4149 then ac_cv_path_EGREP="$GREP -E" 4150 else 4151 if test -z "$EGREP"; then 4152 ac_path_EGREP_found=false 4153 # Loop through the user's path and test for each of PROGNAME-LIST 4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4156 do 4157 IFS=$as_save_IFS 4158 test -z "$as_dir" && as_dir=. 4159 for ac_prog in egrep; do 4160 for ac_exec_ext in '' $ac_executable_extensions; do 4161 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4162 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4163 # Check for GNU ac_path_EGREP and select it if it is found. 4164 # Check for GNU $ac_path_EGREP 4165 case `"$ac_path_EGREP" --version 2>&1` in 4166 *GNU*) 4167 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4168 *) 4169 ac_count=0 4170 $as_echo_n 0123456789 >"conftest.in" 4171 while : 4172 do 4173 cat "conftest.in" "conftest.in" >"conftest.tmp" 4174 mv "conftest.tmp" "conftest.in" 4175 cp "conftest.in" "conftest.nl" 4176 $as_echo 'EGREP' >> "conftest.nl" 4177 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4179 ac_count=`expr $ac_count + 1` 4180 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4181 # Best one so far, save it but keep looking for a better one 4182 ac_cv_path_EGREP="$ac_path_EGREP" 4183 ac_path_EGREP_max=$ac_count 4184 fi 4185 # 10*(2^10) chars as input seems more than enough 4186 test $ac_count -gt 10 && break 4187 done 4188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4189 esac 4190 4191 $ac_path_EGREP_found && break 3 4192 done 4193 done 4194 done 4195 IFS=$as_save_IFS 4196 if test -z "$ac_cv_path_EGREP"; then 4197 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4198 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4199 { (exit 1); exit 1; }; } 4200 fi 4201 else 4202 ac_cv_path_EGREP=$EGREP 4203 fi 4204 4205 fi 4206 fi 4207 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4208 $as_echo "$ac_cv_path_EGREP" >&6; } 4209 EGREP="$ac_cv_path_EGREP" 4210 4211 4212 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4213 $as_echo_n "checking for ANSI C header files... " >&6; } 4214 if test "${ac_cv_header_stdc+set}" = set; then 4215 $as_echo_n "(cached) " >&6 4216 else 4217 cat >conftest.$ac_ext <<_ACEOF 4218 /* confdefs.h. */ 4219 _ACEOF 4220 cat confdefs.h >>conftest.$ac_ext 4221 cat >>conftest.$ac_ext <<_ACEOF 4222 /* end confdefs.h. */ 4223 #include <stdlib.h> 4224 #include <stdarg.h> 4225 #include <string.h> 4226 #include <float.h> 4227 4228 int 4229 main () 4230 { 4231 4232 ; 4233 return 0; 4234 } 4235 _ACEOF 4236 rm -f conftest.$ac_objext 4237 if { (ac_try="$ac_compile" 4238 case "(($ac_try" in 4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4240 *) ac_try_echo=$ac_try;; 4241 esac 4242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4243 $as_echo "$ac_try_echo") >&5 4244 (eval "$ac_compile") 2>conftest.er1 4245 ac_status=$? 4246 grep -v '^ *+' conftest.er1 >conftest.err 4247 rm -f conftest.er1 4248 cat conftest.err >&5 4249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4250 (exit $ac_status); } && { 4251 test -z "$ac_c_werror_flag" || 4252 test ! -s conftest.err 4253 } && test -s conftest.$ac_objext; then 4254 ac_cv_header_stdc=yes 4255 else 4256 $as_echo "$as_me: failed program was:" >&5 4257 sed 's/^/| /' conftest.$ac_ext >&5 4258 4259 ac_cv_header_stdc=no 4260 fi 4261 4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4263 4264 if test $ac_cv_header_stdc = yes; then 4265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4266 cat >conftest.$ac_ext <<_ACEOF 4267 /* confdefs.h. */ 4268 _ACEOF 4269 cat confdefs.h >>conftest.$ac_ext 4270 cat >>conftest.$ac_ext <<_ACEOF 4271 /* end confdefs.h. */ 4272 #include <string.h> 4273 4274 _ACEOF 4275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4276 $EGREP "memchr" >/dev/null 2>&1; then 4277 : 4278 else 4279 ac_cv_header_stdc=no 4280 fi 4281 rm -f conftest* 4282 4283 fi 4284 4285 if test $ac_cv_header_stdc = yes; then 4286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4287 cat >conftest.$ac_ext <<_ACEOF 4288 /* confdefs.h. */ 4289 _ACEOF 4290 cat confdefs.h >>conftest.$ac_ext 4291 cat >>conftest.$ac_ext <<_ACEOF 4292 /* end confdefs.h. */ 4293 #include <stdlib.h> 4294 4295 _ACEOF 4296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4297 $EGREP "free" >/dev/null 2>&1; then 4298 : 4299 else 4300 ac_cv_header_stdc=no 4301 fi 4302 rm -f conftest* 4303 4304 fi 4305 4306 if test $ac_cv_header_stdc = yes; then 4307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4308 if test "$cross_compiling" = yes; then 4309 : 4310 else 4311 cat >conftest.$ac_ext <<_ACEOF 4312 /* confdefs.h. */ 4313 _ACEOF 4314 cat confdefs.h >>conftest.$ac_ext 4315 cat >>conftest.$ac_ext <<_ACEOF 4316 /* end confdefs.h. */ 4317 #include <ctype.h> 4318 #include <stdlib.h> 4319 #if ((' ' & 0x0FF) == 0x020) 4320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4322 #else 4323 # define ISLOWER(c) \ 4324 (('a' <= (c) && (c) <= 'i') \ 4325 || ('j' <= (c) && (c) <= 'r') \ 4326 || ('s' <= (c) && (c) <= 'z')) 4327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4328 #endif 4329 4330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4331 int 4332 main () 4333 { 4334 int i; 4335 for (i = 0; i < 256; i++) 4336 if (XOR (islower (i), ISLOWER (i)) 4337 || toupper (i) != TOUPPER (i)) 4338 return 2; 4339 return 0; 4340 } 4341 _ACEOF 4342 rm -f conftest$ac_exeext 4343 if { (ac_try="$ac_link" 4344 case "(($ac_try" in 4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4346 *) ac_try_echo=$ac_try;; 4347 esac 4348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4349 $as_echo "$ac_try_echo") >&5 4350 (eval "$ac_link") 2>&5 4351 ac_status=$? 4352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4354 { (case "(($ac_try" in 4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4356 *) ac_try_echo=$ac_try;; 4357 esac 4358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4359 $as_echo "$ac_try_echo") >&5 4360 (eval "$ac_try") 2>&5 4361 ac_status=$? 4362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4363 (exit $ac_status); }; }; then 4364 : 4365 else 4366 $as_echo "$as_me: program exited with status $ac_status" >&5 4367 $as_echo "$as_me: failed program was:" >&5 4368 sed 's/^/| /' conftest.$ac_ext >&5 4369 4370 ( exit $ac_status ) 4371 ac_cv_header_stdc=no 4372 fi 4373 rm -rf conftest.dSYM 4374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4375 fi 4376 4377 4378 fi 4379 fi 4380 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4381 $as_echo "$ac_cv_header_stdc" >&6; } 4382 if test $ac_cv_header_stdc = yes; then 4383 4384 cat >>confdefs.h <<\_ACEOF 4385 #define STDC_HEADERS 1 4386 _ACEOF 4387 4388 fi 4389 4390 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4401 inttypes.h stdint.h unistd.h 4402 do 4403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4404 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4405 $as_echo_n "checking for $ac_header... " >&6; } 4406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4407 $as_echo_n "(cached) " >&6 4408 else 4409 cat >conftest.$ac_ext <<_ACEOF 4410 /* confdefs.h. */ 4411 _ACEOF 4412 cat confdefs.h >>conftest.$ac_ext 4413 cat >>conftest.$ac_ext <<_ACEOF 4414 /* end confdefs.h. */ 4415 $ac_includes_default 4416 4417 #include <$ac_header> 4418 _ACEOF 4419 rm -f conftest.$ac_objext 4420 if { (ac_try="$ac_compile" 4421 case "(($ac_try" in 4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4423 *) ac_try_echo=$ac_try;; 4424 esac 4425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4426 $as_echo "$ac_try_echo") >&5 4427 (eval "$ac_compile") 2>conftest.er1 4428 ac_status=$? 4429 grep -v '^ *+' conftest.er1 >conftest.err 4430 rm -f conftest.er1 4431 cat conftest.err >&5 4432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4433 (exit $ac_status); } && { 4434 test -z "$ac_c_werror_flag" || 4435 test ! -s conftest.err 4436 } && test -s conftest.$ac_objext; then 4437 eval "$as_ac_Header=yes" 4438 else 4439 $as_echo "$as_me: failed program was:" >&5 4440 sed 's/^/| /' conftest.$ac_ext >&5 4441 4442 eval "$as_ac_Header=no" 4443 fi 4444 4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4446 fi 4447 ac_res=`eval 'as_val=${'$as_ac_Header'} 4448 $as_echo "$as_val"'` 4449 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4450 $as_echo "$ac_res" >&6; } 4451 if test `eval 'as_val=${'$as_ac_Header'} 4452 $as_echo "$as_val"'` = yes; then 4453 cat >>confdefs.h <<_ACEOF 4454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4455 _ACEOF 4456 4457 fi 4458 4459 done 4460 4461 4462 4463 # Any macros that use the compiler (e.g. AC_TRY_COMPILE) have to go here. 4464 4465 4466 #------------------------------------------------------------------------ 4467 # If we're using GCC, see if the compiler understands -pipe. If so, use it. 4468 # It makes compiling go faster. (This is only a performance feature.) 4469 #------------------------------------------------------------------------ 4470 4471 if test -z "$no_pipe" -a -n "$GCC"; then 4472 { $as_echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5 4473 $as_echo_n "checking if the compiler understands -pipe... " >&6; } 4474 OLDCC="$CC" 4475 CC="$CC -pipe" 4476 cat >conftest.$ac_ext <<_ACEOF 4477 /* confdefs.h. */ 4478 _ACEOF 4479 cat confdefs.h >>conftest.$ac_ext 4480 cat >>conftest.$ac_ext <<_ACEOF 4481 /* end confdefs.h. */ 4482 4483 int 4484 main () 4485 { 4486 4487 ; 4488 return 0; 4489 } 4490 _ACEOF 4491 rm -f conftest.$ac_objext 4492 if { (ac_try="$ac_compile" 4493 case "(($ac_try" in 4494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4495 *) ac_try_echo=$ac_try;; 4496 esac 4497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4498 $as_echo "$ac_try_echo") >&5 4499 (eval "$ac_compile") 2>conftest.er1 4500 ac_status=$? 4501 grep -v '^ *+' conftest.er1 >conftest.err 4502 rm -f conftest.er1 4503 cat conftest.err >&5 4504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4505 (exit $ac_status); } && { 4506 test -z "$ac_c_werror_flag" || 4507 test ! -s conftest.err 4508 } && test -s conftest.$ac_objext; then 4509 { $as_echo "$as_me:$LINENO: result: yes" >&5 4510 $as_echo "yes" >&6; } 4511 else 4512 $as_echo "$as_me: failed program was:" >&5 4513 sed 's/^/| /' conftest.$ac_ext >&5 4514 4515 CC="$OLDCC" 4516 { $as_echo "$as_me:$LINENO: result: no" >&5 4517 $as_echo "no" >&6; } 4518 fi 4519 4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4521 fi 4522 4523 #-------------------------------------------------------------------- 4524 # Common compiler flag setup 4525 #-------------------------------------------------------------------- 4526 4527 4528 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4529 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4530 if test "${ac_cv_c_bigendian+set}" = set; then 4531 $as_echo_n "(cached) " >&6 4532 else 4533 ac_cv_c_bigendian=unknown 4534 4535 if test $ac_cv_c_bigendian = unknown; then 4536 # See if sys/param.h defines the BYTE_ORDER macro. 4537 cat >conftest.$ac_ext <<_ACEOF 4538 /* confdefs.h. */ 4539 _ACEOF 4540 cat confdefs.h >>conftest.$ac_ext 4541 cat >>conftest.$ac_ext <<_ACEOF 4542 /* end confdefs.h. */ 4543 #include <sys/types.h> 4544 #include <sys/param.h> 4545 4546 int 4547 main () 4548 { 4549 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4550 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4551 && LITTLE_ENDIAN) 4552 bogus endian macros 4553 #endif 4554 4555 ; 4556 return 0; 4557 } 4558 _ACEOF 4559 rm -f conftest.$ac_objext 4560 if { (ac_try="$ac_compile" 4561 case "(($ac_try" in 4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4563 *) ac_try_echo=$ac_try;; 4564 esac 4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4566 $as_echo "$ac_try_echo") >&5 4567 (eval "$ac_compile") 2>conftest.er1 4568 ac_status=$? 4569 grep -v '^ *+' conftest.er1 >conftest.err 4570 rm -f conftest.er1 4571 cat conftest.err >&5 4572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4573 (exit $ac_status); } && { 4574 test -z "$ac_c_werror_flag" || 4575 test ! -s conftest.err 4576 } && test -s conftest.$ac_objext; then 4577 # It does; now see whether it defined to BIG_ENDIAN or not. 4578 cat >conftest.$ac_ext <<_ACEOF 4579 /* confdefs.h. */ 4580 _ACEOF 4581 cat confdefs.h >>conftest.$ac_ext 4582 cat >>conftest.$ac_ext <<_ACEOF 4583 /* end confdefs.h. */ 4584 #include <sys/types.h> 4585 #include <sys/param.h> 4586 4587 int 4588 main () 4589 { 4590 #if BYTE_ORDER != BIG_ENDIAN 4591 not big endian 4592 #endif 4593 4594 ; 4595 return 0; 4596 } 4597 _ACEOF 4598 rm -f conftest.$ac_objext 4599 if { (ac_try="$ac_compile" 4600 case "(($ac_try" in 4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4602 *) ac_try_echo=$ac_try;; 4603 esac 4604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4605 $as_echo "$ac_try_echo") >&5 4606 (eval "$ac_compile") 2>conftest.er1 4607 ac_status=$? 4608 grep -v '^ *+' conftest.er1 >conftest.err 4609 rm -f conftest.er1 4610 cat conftest.err >&5 4611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4612 (exit $ac_status); } && { 4613 test -z "$ac_c_werror_flag" || 4614 test ! -s conftest.err 4615 } && test -s conftest.$ac_objext; then 4616 ac_cv_c_bigendian=yes 4617 else 4618 $as_echo "$as_me: failed program was:" >&5 4619 sed 's/^/| /' conftest.$ac_ext >&5 4620 4621 ac_cv_c_bigendian=no 4622 fi 4623 4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4625 else 4626 $as_echo "$as_me: failed program was:" >&5 4627 sed 's/^/| /' conftest.$ac_ext >&5 4628 4629 4630 fi 4631 4632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4633 fi 4634 if test $ac_cv_c_bigendian = unknown; then 4635 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4636 cat >conftest.$ac_ext <<_ACEOF 4637 /* confdefs.h. */ 4638 _ACEOF 4639 cat confdefs.h >>conftest.$ac_ext 4640 cat >>conftest.$ac_ext <<_ACEOF 4641 /* end confdefs.h. */ 4642 #include <limits.h> 4643 4644 int 4645 main () 4646 { 4647 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4648 bogus endian macros 4649 #endif 4650 4651 ; 4652 return 0; 4653 } 4654 _ACEOF 4655 rm -f conftest.$ac_objext 4656 if { (ac_try="$ac_compile" 4657 case "(($ac_try" in 4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4659 *) ac_try_echo=$ac_try;; 4660 esac 4661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4662 $as_echo "$ac_try_echo") >&5 4663 (eval "$ac_compile") 2>conftest.er1 4664 ac_status=$? 4665 grep -v '^ *+' conftest.er1 >conftest.err 4666 rm -f conftest.er1 4667 cat conftest.err >&5 4668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4669 (exit $ac_status); } && { 4670 test -z "$ac_c_werror_flag" || 4671 test ! -s conftest.err 4672 } && test -s conftest.$ac_objext; then 4673 # It does; now see whether it defined to _BIG_ENDIAN or not. 4674 cat >conftest.$ac_ext <<_ACEOF 4675 /* confdefs.h. */ 4676 _ACEOF 4677 cat confdefs.h >>conftest.$ac_ext 4678 cat >>conftest.$ac_ext <<_ACEOF 4679 /* end confdefs.h. */ 4680 #include <limits.h> 4681 4682 int 4683 main () 4684 { 4685 #ifndef _BIG_ENDIAN 4686 not big endian 4687 #endif 4688 4689 ; 4690 return 0; 4691 } 4692 _ACEOF 4693 rm -f conftest.$ac_objext 4694 if { (ac_try="$ac_compile" 4695 case "(($ac_try" in 4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4697 *) ac_try_echo=$ac_try;; 4698 esac 4699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4700 $as_echo "$ac_try_echo") >&5 4701 (eval "$ac_compile") 2>conftest.er1 4702 ac_status=$? 4703 grep -v '^ *+' conftest.er1 >conftest.err 4704 rm -f conftest.er1 4705 cat conftest.err >&5 4706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4707 (exit $ac_status); } && { 4708 test -z "$ac_c_werror_flag" || 4709 test ! -s conftest.err 4710 } && test -s conftest.$ac_objext; then 4711 ac_cv_c_bigendian=yes 4712 else 4713 $as_echo "$as_me: failed program was:" >&5 4714 sed 's/^/| /' conftest.$ac_ext >&5 4715 4716 ac_cv_c_bigendian=no 4717 fi 4718 4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4720 else 4721 $as_echo "$as_me: failed program was:" >&5 4722 sed 's/^/| /' conftest.$ac_ext >&5 4723 4724 4725 fi 4726 4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4728 fi 4729 if test $ac_cv_c_bigendian = unknown; then 4730 # Compile a test program. 4731 if test "$cross_compiling" = yes; then 4732 # Try to guess by grepping values from an object file. 4733 cat >conftest.$ac_ext <<_ACEOF 4734 /* confdefs.h. */ 4735 _ACEOF 4736 cat confdefs.h >>conftest.$ac_ext 4737 cat >>conftest.$ac_ext <<_ACEOF 4738 /* end confdefs.h. */ 4739 short int ascii_mm[] = 4740 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4741 short int ascii_ii[] = 4742 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4743 int use_ascii (int i) { 4744 return ascii_mm[i] + ascii_ii[i]; 4745 } 4746 short int ebcdic_ii[] = 4747 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4748 short int ebcdic_mm[] = 4749 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4750 int use_ebcdic (int i) { 4751 return ebcdic_mm[i] + ebcdic_ii[i]; 4752 } 4753 extern int foo; 4754 4755 int 4756 main () 4757 { 4758 return use_ascii (foo) == use_ebcdic (foo); 4759 ; 4760 return 0; 4761 } 4762 _ACEOF 4763 rm -f conftest.$ac_objext 4764 if { (ac_try="$ac_compile" 4765 case "(($ac_try" in 4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4767 *) ac_try_echo=$ac_try;; 4768 esac 4769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4770 $as_echo "$ac_try_echo") >&5 4771 (eval "$ac_compile") 2>conftest.er1 4772 ac_status=$? 4773 grep -v '^ *+' conftest.er1 >conftest.err 4774 rm -f conftest.er1 4775 cat conftest.err >&5 4776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4777 (exit $ac_status); } && { 4778 test -z "$ac_c_werror_flag" || 4779 test ! -s conftest.err 4780 } && test -s conftest.$ac_objext; then 4781 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4782 ac_cv_c_bigendian=yes 4783 fi 4784 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4785 if test "$ac_cv_c_bigendian" = unknown; then 4786 ac_cv_c_bigendian=no 4787 else 4788 # finding both strings is unlikely to happen, but who knows? 4789 ac_cv_c_bigendian=unknown 4790 fi 4791 fi 4792 else 4793 $as_echo "$as_me: failed program was:" >&5 4794 sed 's/^/| /' conftest.$ac_ext >&5 4795 4796 4797 fi 4798 4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4800 else 4801 cat >conftest.$ac_ext <<_ACEOF 4802 /* confdefs.h. */ 4803 _ACEOF 4804 cat confdefs.h >>conftest.$ac_ext 4805 cat >>conftest.$ac_ext <<_ACEOF 4806 /* end confdefs.h. */ 4807 $ac_includes_default 4808 int 4809 main () 4810 { 4811 4812 /* Are we little or big endian? From Harbison&Steele. */ 4813 union 4814 { 4815 long int l; 4816 char c[sizeof (long int)]; 4817 } u; 4818 u.l = 1; 4819 return u.c[sizeof (long int) - 1] == 1; 4820 4821 ; 4822 return 0; 4823 } 4824 _ACEOF 4825 rm -f conftest$ac_exeext 4826 if { (ac_try="$ac_link" 4827 case "(($ac_try" in 4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4829 *) ac_try_echo=$ac_try;; 4830 esac 4831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4832 $as_echo "$ac_try_echo") >&5 4833 (eval "$ac_link") 2>&5 4834 ac_status=$? 4835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4837 { (case "(($ac_try" in 4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4839 *) ac_try_echo=$ac_try;; 4840 esac 4841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4842 $as_echo "$ac_try_echo") >&5 4843 (eval "$ac_try") 2>&5 4844 ac_status=$? 4845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4846 (exit $ac_status); }; }; then 4847 ac_cv_c_bigendian=no 4848 else 4849 $as_echo "$as_me: program exited with status $ac_status" >&5 4850 $as_echo "$as_me: failed program was:" >&5 4851 sed 's/^/| /' conftest.$ac_ext >&5 4852 4853 ( exit $ac_status ) 4854 ac_cv_c_bigendian=yes 4855 fi 4856 rm -rf conftest.dSYM 4857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4858 fi 4859 4860 4861 fi 4862 fi 4863 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4864 $as_echo "$ac_cv_c_bigendian" >&6; } 4865 case $ac_cv_c_bigendian in #( 4866 yes) 4867 cat >>confdefs.h <<\_ACEOF 4868 #define WORDS_BIGENDIAN 1 4869 _ACEOF 4870 ;; #( 4871 no) 4872 ;; #( 4873 universal) 4874 ;; #( 4875 *) 4876 { { $as_echo "$as_me:$LINENO: error: unknown endianness 4877 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4878 $as_echo "$as_me: error: unknown endianness 4879 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4880 { (exit 1); exit 1; }; } ;; 4881 esac 4882 4883 if test "${TEA_PLATFORM}" = "unix" ; then 4884 4885 #-------------------------------------------------------------------- 4886 # On a few very rare systems, all of the libm.a stuff is 4887 # already in libc.a. Set compiler flags accordingly. 4888 # Also, Linux requires the "ieee" library for math to work 4889 # right (and it must appear before "-lm"). 4890 #-------------------------------------------------------------------- 4891 4892 { $as_echo "$as_me:$LINENO: checking for sin" >&5 4893 $as_echo_n "checking for sin... " >&6; } 4894 if test "${ac_cv_func_sin+set}" = set; then 4895 $as_echo_n "(cached) " >&6 4896 else 4897 cat >conftest.$ac_ext <<_ACEOF 4898 /* confdefs.h. */ 4899 _ACEOF 4900 cat confdefs.h >>conftest.$ac_ext 4901 cat >>conftest.$ac_ext <<_ACEOF 4902 /* end confdefs.h. */ 4903 /* Define sin to an innocuous variant, in case <limits.h> declares sin. 4904 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4905 #define sin innocuous_sin 4906 4907 /* System header to define __stub macros and hopefully few prototypes, 4908 which can conflict with char sin (); below. 4909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4910 <limits.h> exists even on freestanding compilers. */ 4911 4912 #ifdef __STDC__ 4913 # include <limits.h> 4914 #else 4915 # include <assert.h> 4916 #endif 4917 4918 #undef sin 4919 4920 /* Override any GCC internal prototype to avoid an error. 4921 Use char because int might match the return type of a GCC 4922 builtin and then its argument prototype would still apply. */ 4923 #ifdef __cplusplus 4924 extern "C" 4925 #endif 4926 char sin (); 4927 /* The GNU C library defines this for functions which it implements 4928 to always fail with ENOSYS. Some functions are actually named 4929 something starting with __ and the normal name is an alias. */ 4930 #if defined __stub_sin || defined __stub___sin 4931 choke me 4932 #endif 4933 4934 int 4935 main () 4936 { 4937 return sin (); 4938 ; 4939 return 0; 4940 } 4941 _ACEOF 4942 rm -f conftest.$ac_objext conftest$ac_exeext 4943 if { (ac_try="$ac_link" 4944 case "(($ac_try" in 4945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4946 *) ac_try_echo=$ac_try;; 4947 esac 4948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4949 $as_echo "$ac_try_echo") >&5 4950 (eval "$ac_link") 2>conftest.er1 4951 ac_status=$? 4952 grep -v '^ *+' conftest.er1 >conftest.err 4953 rm -f conftest.er1 4954 cat conftest.err >&5 4955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4956 (exit $ac_status); } && { 4957 test -z "$ac_c_werror_flag" || 4958 test ! -s conftest.err 4959 } && test -s conftest$ac_exeext && { 4960 test "$cross_compiling" = yes || 4961 $as_test_x conftest$ac_exeext 4962 }; then 4963 ac_cv_func_sin=yes 4964 else 4965 $as_echo "$as_me: failed program was:" >&5 4966 sed 's/^/| /' conftest.$ac_ext >&5 4967 4968 ac_cv_func_sin=no 4969 fi 4970 4971 rm -rf conftest.dSYM 4972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4973 conftest$ac_exeext conftest.$ac_ext 4974 fi 4975 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5 4976 $as_echo "$ac_cv_func_sin" >&6; } 4977 if test $ac_cv_func_sin = yes; then 4978 MATH_LIBS="" 4979 else 4980 MATH_LIBS="-lm" 4981 fi 4982 4983 { $as_echo "$as_me:$LINENO: checking for main in -lieee" >&5 4984 $as_echo_n "checking for main in -lieee... " >&6; } 4985 if test "${ac_cv_lib_ieee_main+set}" = set; then 4986 $as_echo_n "(cached) " >&6 4987 else 4988 ac_check_lib_save_LIBS=$LIBS 4989 LIBS="-lieee $LIBS" 4990 cat >conftest.$ac_ext <<_ACEOF 4991 /* confdefs.h. */ 4992 _ACEOF 4993 cat confdefs.h >>conftest.$ac_ext 4994 cat >>conftest.$ac_ext <<_ACEOF 4995 /* end confdefs.h. */ 4996 4997 4998 int 4999 main () 5000 { 5001 return main (); 5002 ; 5003 return 0; 5004 } 5005 _ACEOF 5006 rm -f conftest.$ac_objext conftest$ac_exeext 5007 if { (ac_try="$ac_link" 5008 case "(($ac_try" in 5009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5010 *) ac_try_echo=$ac_try;; 5011 esac 5012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5013 $as_echo "$ac_try_echo") >&5 5014 (eval "$ac_link") 2>conftest.er1 5015 ac_status=$? 5016 grep -v '^ *+' conftest.er1 >conftest.err 5017 rm -f conftest.er1 5018 cat conftest.err >&5 5019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5020 (exit $ac_status); } && { 5021 test -z "$ac_c_werror_flag" || 5022 test ! -s conftest.err 5023 } && test -s conftest$ac_exeext && { 5024 test "$cross_compiling" = yes || 5025 $as_test_x conftest$ac_exeext 5026 }; then 5027 ac_cv_lib_ieee_main=yes 5028 else 5029 $as_echo "$as_me: failed program was:" >&5 5030 sed 's/^/| /' conftest.$ac_ext >&5 5031 5032 ac_cv_lib_ieee_main=no 5033 fi 5034 5035 rm -rf conftest.dSYM 5036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5037 conftest$ac_exeext conftest.$ac_ext 5038 LIBS=$ac_check_lib_save_LIBS 5039 fi 5040 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5 5041 $as_echo "$ac_cv_lib_ieee_main" >&6; } 5042 if test $ac_cv_lib_ieee_main = yes; then 5043 MATH_LIBS="-lieee $MATH_LIBS" 5044 fi 5045 5046 5047 #-------------------------------------------------------------------- 5048 # Interactive UNIX requires -linet instead of -lsocket, plus it 5049 # needs net/errno.h to define the socket-related error codes. 5050 #-------------------------------------------------------------------- 5051 5052 { $as_echo "$as_me:$LINENO: checking for main in -linet" >&5 5053 $as_echo_n "checking for main in -linet... " >&6; } 5054 if test "${ac_cv_lib_inet_main+set}" = set; then 5055 $as_echo_n "(cached) " >&6 5056 else 5057 ac_check_lib_save_LIBS=$LIBS 5058 LIBS="-linet $LIBS" 5059 cat >conftest.$ac_ext <<_ACEOF 5060 /* confdefs.h. */ 5061 _ACEOF 5062 cat confdefs.h >>conftest.$ac_ext 5063 cat >>conftest.$ac_ext <<_ACEOF 5064 /* end confdefs.h. */ 5065 5066 5067 int 5068 main () 5069 { 5070 return main (); 5071 ; 5072 return 0; 5073 } 5074 _ACEOF 5075 rm -f conftest.$ac_objext conftest$ac_exeext 5076 if { (ac_try="$ac_link" 5077 case "(($ac_try" in 5078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5079 *) ac_try_echo=$ac_try;; 5080 esac 5081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5082 $as_echo "$ac_try_echo") >&5 5083 (eval "$ac_link") 2>conftest.er1 5084 ac_status=$? 5085 grep -v '^ *+' conftest.er1 >conftest.err 5086 rm -f conftest.er1 5087 cat conftest.err >&5 5088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5089 (exit $ac_status); } && { 5090 test -z "$ac_c_werror_flag" || 5091 test ! -s conftest.err 5092 } && test -s conftest$ac_exeext && { 5093 test "$cross_compiling" = yes || 5094 $as_test_x conftest$ac_exeext 5095 }; then 5096 ac_cv_lib_inet_main=yes 5097 else 5098 $as_echo "$as_me: failed program was:" >&5 5099 sed 's/^/| /' conftest.$ac_ext >&5 5100 5101 ac_cv_lib_inet_main=no 5102 fi 5103 5104 rm -rf conftest.dSYM 5105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5106 conftest$ac_exeext conftest.$ac_ext 5107 LIBS=$ac_check_lib_save_LIBS 5108 fi 5109 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5 5110 $as_echo "$ac_cv_lib_inet_main" >&6; } 5111 if test $ac_cv_lib_inet_main = yes; then 5112 LIBS="$LIBS -linet" 5113 fi 5114 5115 if test "${ac_cv_header_net_errno_h+set}" = set; then 5116 { $as_echo "$as_me:$LINENO: checking for net/errno.h" >&5 5117 $as_echo_n "checking for net/errno.h... " >&6; } 5118 if test "${ac_cv_header_net_errno_h+set}" = set; then 5119 $as_echo_n "(cached) " >&6 5120 fi 5121 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5 5122 $as_echo "$ac_cv_header_net_errno_h" >&6; } 5123 else 5124 # Is the header compilable? 5125 { $as_echo "$as_me:$LINENO: checking net/errno.h usability" >&5 5126 $as_echo_n "checking net/errno.h usability... " >&6; } 5127 cat >conftest.$ac_ext <<_ACEOF 5128 /* confdefs.h. */ 5129 _ACEOF 5130 cat confdefs.h >>conftest.$ac_ext 5131 cat >>conftest.$ac_ext <<_ACEOF 5132 /* end confdefs.h. */ 5133 $ac_includes_default 5134 #include <net/errno.h> 5135 _ACEOF 5136 rm -f conftest.$ac_objext 5137 if { (ac_try="$ac_compile" 5138 case "(($ac_try" in 5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5140 *) ac_try_echo=$ac_try;; 5141 esac 5142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5143 $as_echo "$ac_try_echo") >&5 5144 (eval "$ac_compile") 2>conftest.er1 5145 ac_status=$? 5146 grep -v '^ *+' conftest.er1 >conftest.err 5147 rm -f conftest.er1 5148 cat conftest.err >&5 5149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 (exit $ac_status); } && { 5151 test -z "$ac_c_werror_flag" || 5152 test ! -s conftest.err 5153 } && test -s conftest.$ac_objext; then 5154 ac_header_compiler=yes 5155 else 5156 $as_echo "$as_me: failed program was:" >&5 5157 sed 's/^/| /' conftest.$ac_ext >&5 5158 5159 ac_header_compiler=no 5160 fi 5161 5162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5163 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5164 $as_echo "$ac_header_compiler" >&6; } 5165 5166 # Is the header present? 5167 { $as_echo "$as_me:$LINENO: checking net/errno.h presence" >&5 5168 $as_echo_n "checking net/errno.h presence... " >&6; } 5169 cat >conftest.$ac_ext <<_ACEOF 5170 /* confdefs.h. */ 5171 _ACEOF 5172 cat confdefs.h >>conftest.$ac_ext 5173 cat >>conftest.$ac_ext <<_ACEOF 5174 /* end confdefs.h. */ 5175 #include <net/errno.h> 5176 _ACEOF 5177 if { (ac_try="$ac_cpp conftest.$ac_ext" 5178 case "(($ac_try" in 5179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5180 *) ac_try_echo=$ac_try;; 5181 esac 5182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5183 $as_echo "$ac_try_echo") >&5 5184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5185 ac_status=$? 5186 grep -v '^ *+' conftest.er1 >conftest.err 5187 rm -f conftest.er1 5188 cat conftest.err >&5 5189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5190 (exit $ac_status); } >/dev/null && { 5191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5192 test ! -s conftest.err 5193 }; then 5194 ac_header_preproc=yes 5195 else 5196 $as_echo "$as_me: failed program was:" >&5 5197 sed 's/^/| /' conftest.$ac_ext >&5 5198 5199 ac_header_preproc=no 5200 fi 5201 5202 rm -f conftest.err conftest.$ac_ext 5203 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5204 $as_echo "$ac_header_preproc" >&6; } 5205 5206 # So? What about this header? 5207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5208 yes:no: ) 5209 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5210 $as_echo "$as_me: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5211 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the compiler's result" >&5 5212 $as_echo "$as_me: WARNING: net/errno.h: proceeding with the compiler's result" >&2;} 5213 ac_header_preproc=yes 5214 ;; 5215 no:yes:* ) 5216 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: present but cannot be compiled" >&5 5217 $as_echo "$as_me: WARNING: net/errno.h: present but cannot be compiled" >&2;} 5218 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: check for missing prerequisite headers?" >&5 5219 $as_echo "$as_me: WARNING: net/errno.h: check for missing prerequisite headers?" >&2;} 5220 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: see the Autoconf documentation" >&5 5221 $as_echo "$as_me: WARNING: net/errno.h: see the Autoconf documentation" >&2;} 5222 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: section \"Present But Cannot Be Compiled\"" >&5 5223 $as_echo "$as_me: WARNING: net/errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5224 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the preprocessor's result" >&5 5225 $as_echo "$as_me: WARNING: net/errno.h: proceeding with the preprocessor's result" >&2;} 5226 { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: in the future, the compiler will take precedence" >&5 5227 $as_echo "$as_me: WARNING: net/errno.h: in the future, the compiler will take precedence" >&2;} 5228 5229 ;; 5230 esac 5231 { $as_echo "$as_me:$LINENO: checking for net/errno.h" >&5 5232 $as_echo_n "checking for net/errno.h... " >&6; } 5233 if test "${ac_cv_header_net_errno_h+set}" = set; then 5234 $as_echo_n "(cached) " >&6 5235 else 5236 ac_cv_header_net_errno_h=$ac_header_preproc 5237 fi 5238 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5 5239 $as_echo "$ac_cv_header_net_errno_h" >&6; } 5240 5241 fi 5242 if test $ac_cv_header_net_errno_h = yes; then 5243 5244 5245 cat >>confdefs.h <<\_ACEOF 5246 #define HAVE_NET_ERRNO_H 1 5247 _ACEOF 5248 5249 fi 5250 5251 5252 5253 #-------------------------------------------------------------------- 5254 # Check for the existence of the -lsocket and -lnsl libraries. 5255 # The order here is important, so that they end up in the right 5256 # order in the command line generated by make. Here are some 5257 # special considerations: 5258 # 1. Use "connect" and "accept" to check for -lsocket, and 5259 # "gethostbyname" to check for -lnsl. 5260 # 2. Use each function name only once: can't redo a check because 5261 # autoconf caches the results of the last check and won't redo it. 5262 # 3. Use -lnsl and -lsocket only if they supply procedures that 5263 # aren't already present in the normal libraries. This is because 5264 # IRIX 5.2 has libraries, but they aren't needed and they're 5265 # bogus: they goof up name resolution if used. 5266 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too. 5267 # To get around this problem, check for both libraries together 5268 # if -lsocket doesn't work by itself. 5269 #-------------------------------------------------------------------- 5270 5271 tcl_checkBoth=0 5272 { $as_echo "$as_me:$LINENO: checking for connect" >&5 5273 $as_echo_n "checking for connect... " >&6; } 5274 if test "${ac_cv_func_connect+set}" = set; then 5275 $as_echo_n "(cached) " >&6 5276 else 5277 cat >conftest.$ac_ext <<_ACEOF 5278 /* confdefs.h. */ 5279 _ACEOF 5280 cat confdefs.h >>conftest.$ac_ext 5281 cat >>conftest.$ac_ext <<_ACEOF 5282 /* end confdefs.h. */ 5283 /* Define connect to an innocuous variant, in case <limits.h> declares connect. 5284 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5285 #define connect innocuous_connect 5286 5287 /* System header to define __stub macros and hopefully few prototypes, 5288 which can conflict with char connect (); below. 5289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5290 <limits.h> exists even on freestanding compilers. */ 5291 5292 #ifdef __STDC__ 5293 # include <limits.h> 5294 #else 5295 # include <assert.h> 5296 #endif 5297 5298 #undef connect 5299 5300 /* Override any GCC internal prototype to avoid an error. 5301 Use char because int might match the return type of a GCC 5302 builtin and then its argument prototype would still apply. */ 5303 #ifdef __cplusplus 5304 extern "C" 5305 #endif 5306 char connect (); 5307 /* The GNU C library defines this for functions which it implements 5308 to always fail with ENOSYS. Some functions are actually named 5309 something starting with __ and the normal name is an alias. */ 5310 #if defined __stub_connect || defined __stub___connect 5311 choke me 5312 #endif 5313 5314 int 5315 main () 5316 { 5317 return connect (); 5318 ; 5319 return 0; 5320 } 5321 _ACEOF 5322 rm -f conftest.$ac_objext conftest$ac_exeext 5323 if { (ac_try="$ac_link" 5324 case "(($ac_try" in 5325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5326 *) ac_try_echo=$ac_try;; 5327 esac 5328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5329 $as_echo "$ac_try_echo") >&5 5330 (eval "$ac_link") 2>conftest.er1 5331 ac_status=$? 5332 grep -v '^ *+' conftest.er1 >conftest.err 5333 rm -f conftest.er1 5334 cat conftest.err >&5 5335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5336 (exit $ac_status); } && { 5337 test -z "$ac_c_werror_flag" || 5338 test ! -s conftest.err 5339 } && test -s conftest$ac_exeext && { 5340 test "$cross_compiling" = yes || 5341 $as_test_x conftest$ac_exeext 5342 }; then 5343 ac_cv_func_connect=yes 5344 else 5345 $as_echo "$as_me: failed program was:" >&5 5346 sed 's/^/| /' conftest.$ac_ext >&5 5347 5348 ac_cv_func_connect=no 5349 fi 5350 5351 rm -rf conftest.dSYM 5352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5353 conftest$ac_exeext conftest.$ac_ext 5354 fi 5355 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 5356 $as_echo "$ac_cv_func_connect" >&6; } 5357 if test $ac_cv_func_connect = yes; then 5358 tcl_checkSocket=0 5359 else 5360 tcl_checkSocket=1 5361 fi 5362 5363 if test "$tcl_checkSocket" = 1; then 5364 { $as_echo "$as_me:$LINENO: checking for setsockopt" >&5 5365 $as_echo_n "checking for setsockopt... " >&6; } 5366 if test "${ac_cv_func_setsockopt+set}" = set; then 5367 $as_echo_n "(cached) " >&6 5368 else 5369 cat >conftest.$ac_ext <<_ACEOF 5370 /* confdefs.h. */ 5371 _ACEOF 5372 cat confdefs.h >>conftest.$ac_ext 5373 cat >>conftest.$ac_ext <<_ACEOF 5374 /* end confdefs.h. */ 5375 /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt. 5376 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5377 #define setsockopt innocuous_setsockopt 5378 5379 /* System header to define __stub macros and hopefully few prototypes, 5380 which can conflict with char setsockopt (); below. 5381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5382 <limits.h> exists even on freestanding compilers. */ 5383 5384 #ifdef __STDC__ 5385 # include <limits.h> 5386 #else 5387 # include <assert.h> 5388 #endif 5389 5390 #undef setsockopt 5391 5392 /* Override any GCC internal prototype to avoid an error. 5393 Use char because int might match the return type of a GCC 5394 builtin and then its argument prototype would still apply. */ 5395 #ifdef __cplusplus 5396 extern "C" 5397 #endif 5398 char setsockopt (); 5399 /* The GNU C library defines this for functions which it implements 5400 to always fail with ENOSYS. Some functions are actually named 5401 something starting with __ and the normal name is an alias. */ 5402 #if defined __stub_setsockopt || defined __stub___setsockopt 5403 choke me 5404 #endif 5405 5406 int 5407 main () 5408 { 5409 return setsockopt (); 5410 ; 5411 return 0; 5412 } 5413 _ACEOF 5414 rm -f conftest.$ac_objext conftest$ac_exeext 5415 if { (ac_try="$ac_link" 5416 case "(($ac_try" in 5417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5418 *) ac_try_echo=$ac_try;; 5419 esac 5420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5421 $as_echo "$ac_try_echo") >&5 5422 (eval "$ac_link") 2>conftest.er1 5423 ac_status=$? 5424 grep -v '^ *+' conftest.er1 >conftest.err 5425 rm -f conftest.er1 5426 cat conftest.err >&5 5427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5428 (exit $ac_status); } && { 5429 test -z "$ac_c_werror_flag" || 5430 test ! -s conftest.err 5431 } && test -s conftest$ac_exeext && { 5432 test "$cross_compiling" = yes || 5433 $as_test_x conftest$ac_exeext 5434 }; then 5435 ac_cv_func_setsockopt=yes 5436 else 5437 $as_echo "$as_me: failed program was:" >&5 5438 sed 's/^/| /' conftest.$ac_ext >&5 5439 5440 ac_cv_func_setsockopt=no 5441 fi 5442 5443 rm -rf conftest.dSYM 5444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5445 conftest$ac_exeext conftest.$ac_ext 5446 fi 5447 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 5448 $as_echo "$ac_cv_func_setsockopt" >&6; } 5449 if test $ac_cv_func_setsockopt = yes; then 5450 : 5451 else 5452 { $as_echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 5453 $as_echo_n "checking for setsockopt in -lsocket... " >&6; } 5454 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then 5455 $as_echo_n "(cached) " >&6 5456 else 5457 ac_check_lib_save_LIBS=$LIBS 5458 LIBS="-lsocket $LIBS" 5459 cat >conftest.$ac_ext <<_ACEOF 5460 /* confdefs.h. */ 5461 _ACEOF 5462 cat confdefs.h >>conftest.$ac_ext 5463 cat >>conftest.$ac_ext <<_ACEOF 5464 /* end confdefs.h. */ 5465 5466 /* Override any GCC internal prototype to avoid an error. 5467 Use char because int might match the return type of a GCC 5468 builtin and then its argument prototype would still apply. */ 5469 #ifdef __cplusplus 5470 extern "C" 5471 #endif 5472 char setsockopt (); 5473 int 5474 main () 5475 { 5476 return setsockopt (); 5477 ; 5478 return 0; 5479 } 5480 _ACEOF 5481 rm -f conftest.$ac_objext conftest$ac_exeext 5482 if { (ac_try="$ac_link" 5483 case "(($ac_try" in 5484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5485 *) ac_try_echo=$ac_try;; 5486 esac 5487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5488 $as_echo "$ac_try_echo") >&5 5489 (eval "$ac_link") 2>conftest.er1 5490 ac_status=$? 5491 grep -v '^ *+' conftest.er1 >conftest.err 5492 rm -f conftest.er1 5493 cat conftest.err >&5 5494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5495 (exit $ac_status); } && { 5496 test -z "$ac_c_werror_flag" || 5497 test ! -s conftest.err 5498 } && test -s conftest$ac_exeext && { 5499 test "$cross_compiling" = yes || 5500 $as_test_x conftest$ac_exeext 5501 }; then 5502 ac_cv_lib_socket_setsockopt=yes 5503 else 5504 $as_echo "$as_me: failed program was:" >&5 5505 sed 's/^/| /' conftest.$ac_ext >&5 5506 5507 ac_cv_lib_socket_setsockopt=no 5508 fi 5509 5510 rm -rf conftest.dSYM 5511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5512 conftest$ac_exeext conftest.$ac_ext 5513 LIBS=$ac_check_lib_save_LIBS 5514 fi 5515 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 5516 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; } 5517 if test $ac_cv_lib_socket_setsockopt = yes; then 5518 LIBS="$LIBS -lsocket" 5519 else 5520 tcl_checkBoth=1 5521 fi 5522 5523 fi 5524 5525 fi 5526 if test "$tcl_checkBoth" = 1; then 5527 tk_oldLibs=$LIBS 5528 LIBS="$LIBS -lsocket -lnsl" 5529 { $as_echo "$as_me:$LINENO: checking for accept" >&5 5530 $as_echo_n "checking for accept... " >&6; } 5531 if test "${ac_cv_func_accept+set}" = set; then 5532 $as_echo_n "(cached) " >&6 5533 else 5534 cat >conftest.$ac_ext <<_ACEOF 5535 /* confdefs.h. */ 5536 _ACEOF 5537 cat confdefs.h >>conftest.$ac_ext 5538 cat >>conftest.$ac_ext <<_ACEOF 5539 /* end confdefs.h. */ 5540 /* Define accept to an innocuous variant, in case <limits.h> declares accept. 5541 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5542 #define accept innocuous_accept 5543 5544 /* System header to define __stub macros and hopefully few prototypes, 5545 which can conflict with char accept (); below. 5546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5547 <limits.h> exists even on freestanding compilers. */ 5548 5549 #ifdef __STDC__ 5550 # include <limits.h> 5551 #else 5552 # include <assert.h> 5553 #endif 5554 5555 #undef accept 5556 5557 /* Override any GCC internal prototype to avoid an error. 5558 Use char because int might match the return type of a GCC 5559 builtin and then its argument prototype would still apply. */ 5560 #ifdef __cplusplus 5561 extern "C" 5562 #endif 5563 char accept (); 5564 /* The GNU C library defines this for functions which it implements 5565 to always fail with ENOSYS. Some functions are actually named 5566 something starting with __ and the normal name is an alias. */ 5567 #if defined __stub_accept || defined __stub___accept 5568 choke me 5569 #endif 5570 5571 int 5572 main () 5573 { 5574 return accept (); 5575 ; 5576 return 0; 5577 } 5578 _ACEOF 5579 rm -f conftest.$ac_objext conftest$ac_exeext 5580 if { (ac_try="$ac_link" 5581 case "(($ac_try" in 5582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5583 *) ac_try_echo=$ac_try;; 5584 esac 5585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5586 $as_echo "$ac_try_echo") >&5 5587 (eval "$ac_link") 2>conftest.er1 5588 ac_status=$? 5589 grep -v '^ *+' conftest.er1 >conftest.err 5590 rm -f conftest.er1 5591 cat conftest.err >&5 5592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5593 (exit $ac_status); } && { 5594 test -z "$ac_c_werror_flag" || 5595 test ! -s conftest.err 5596 } && test -s conftest$ac_exeext && { 5597 test "$cross_compiling" = yes || 5598 $as_test_x conftest$ac_exeext 5599 }; then 5600 ac_cv_func_accept=yes 5601 else 5602 $as_echo "$as_me: failed program was:" >&5 5603 sed 's/^/| /' conftest.$ac_ext >&5 5604 5605 ac_cv_func_accept=no 5606 fi 5607 5608 rm -rf conftest.dSYM 5609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5610 conftest$ac_exeext conftest.$ac_ext 5611 fi 5612 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5 5613 $as_echo "$ac_cv_func_accept" >&6; } 5614 if test $ac_cv_func_accept = yes; then 5615 tcl_checkNsl=0 5616 else 5617 LIBS=$tk_oldLibs 5618 fi 5619 5620 fi 5621 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 5622 $as_echo_n "checking for gethostbyname... " >&6; } 5623 if test "${ac_cv_func_gethostbyname+set}" = set; then 5624 $as_echo_n "(cached) " >&6 5625 else 5626 cat >conftest.$ac_ext <<_ACEOF 5627 /* confdefs.h. */ 5628 _ACEOF 5629 cat confdefs.h >>conftest.$ac_ext 5630 cat >>conftest.$ac_ext <<_ACEOF 5631 /* end confdefs.h. */ 5632 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. 5633 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5634 #define gethostbyname innocuous_gethostbyname 5635 5636 /* System header to define __stub macros and hopefully few prototypes, 5637 which can conflict with char gethostbyname (); below. 5638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5639 <limits.h> exists even on freestanding compilers. */ 5640 5641 #ifdef __STDC__ 5642 # include <limits.h> 5643 #else 5644 # include <assert.h> 5645 #endif 5646 5647 #undef gethostbyname 5648 5649 /* Override any GCC internal prototype to avoid an error. 5650 Use char because int might match the return type of a GCC 5651 builtin and then its argument prototype would still apply. */ 5652 #ifdef __cplusplus 5653 extern "C" 5654 #endif 5655 char gethostbyname (); 5656 /* The GNU C library defines this for functions which it implements 5657 to always fail with ENOSYS. Some functions are actually named 5658 something starting with __ and the normal name is an alias. */ 5659 #if defined __stub_gethostbyname || defined __stub___gethostbyname 5660 choke me 5661 #endif 5662 5663 int 5664 main () 5665 { 5666 return gethostbyname (); 5667 ; 5668 return 0; 5669 } 5670 _ACEOF 5671 rm -f conftest.$ac_objext conftest$ac_exeext 5672 if { (ac_try="$ac_link" 5673 case "(($ac_try" in 5674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5675 *) ac_try_echo=$ac_try;; 5676 esac 5677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5678 $as_echo "$ac_try_echo") >&5 5679 (eval "$ac_link") 2>conftest.er1 5680 ac_status=$? 5681 grep -v '^ *+' conftest.er1 >conftest.err 5682 rm -f conftest.er1 5683 cat conftest.err >&5 5684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5685 (exit $ac_status); } && { 5686 test -z "$ac_c_werror_flag" || 5687 test ! -s conftest.err 5688 } && test -s conftest$ac_exeext && { 5689 test "$cross_compiling" = yes || 5690 $as_test_x conftest$ac_exeext 5691 }; then 5692 ac_cv_func_gethostbyname=yes 5693 else 5694 $as_echo "$as_me: failed program was:" >&5 5695 sed 's/^/| /' conftest.$ac_ext >&5 5696 5697 ac_cv_func_gethostbyname=no 5698 fi 5699 5700 rm -rf conftest.dSYM 5701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5702 conftest$ac_exeext conftest.$ac_ext 5703 fi 5704 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 5705 $as_echo "$ac_cv_func_gethostbyname" >&6; } 5706 if test $ac_cv_func_gethostbyname = yes; then 5707 : 5708 else 5709 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 5710 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 5711 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 5712 $as_echo_n "(cached) " >&6 5713 else 5714 ac_check_lib_save_LIBS=$LIBS 5715 LIBS="-lnsl $LIBS" 5716 cat >conftest.$ac_ext <<_ACEOF 5717 /* confdefs.h. */ 5718 _ACEOF 5719 cat confdefs.h >>conftest.$ac_ext 5720 cat >>conftest.$ac_ext <<_ACEOF 5721 /* end confdefs.h. */ 5722 5723 /* Override any GCC internal prototype to avoid an error. 5724 Use char because int might match the return type of a GCC 5725 builtin and then its argument prototype would still apply. */ 5726 #ifdef __cplusplus 5727 extern "C" 5728 #endif 5729 char gethostbyname (); 5730 int 5731 main () 5732 { 5733 return gethostbyname (); 5734 ; 5735 return 0; 5736 } 5737 _ACEOF 5738 rm -f conftest.$ac_objext conftest$ac_exeext 5739 if { (ac_try="$ac_link" 5740 case "(($ac_try" in 5741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5742 *) ac_try_echo=$ac_try;; 5743 esac 5744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5745 $as_echo "$ac_try_echo") >&5 5746 (eval "$ac_link") 2>conftest.er1 5747 ac_status=$? 5748 grep -v '^ *+' conftest.er1 >conftest.err 5749 rm -f conftest.er1 5750 cat conftest.err >&5 5751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5752 (exit $ac_status); } && { 5753 test -z "$ac_c_werror_flag" || 5754 test ! -s conftest.err 5755 } && test -s conftest$ac_exeext && { 5756 test "$cross_compiling" = yes || 5757 $as_test_x conftest$ac_exeext 5758 }; then 5759 ac_cv_lib_nsl_gethostbyname=yes 5760 else 5761 $as_echo "$as_me: failed program was:" >&5 5762 sed 's/^/| /' conftest.$ac_ext >&5 5763 5764 ac_cv_lib_nsl_gethostbyname=no 5765 fi 5766 5767 rm -rf conftest.dSYM 5768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5769 conftest$ac_exeext conftest.$ac_ext 5770 LIBS=$ac_check_lib_save_LIBS 5771 fi 5772 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 5773 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 5774 if test $ac_cv_lib_nsl_gethostbyname = yes; then 5775 LIBS="$LIBS -lnsl" 5776 fi 5777 5778 fi 5779 5780 5781 # Don't perform the eval of the libraries here because DL_LIBS 5782 # won't be set until we call TEA_CONFIG_CFLAGS 5783 5784 TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}' 5785 5786 5787 5788 5789 { $as_echo "$as_me:$LINENO: checking dirent.h" >&5 5790 $as_echo_n "checking dirent.h... " >&6; } 5791 if test "${tcl_cv_dirent_h+set}" = set; then 5792 $as_echo_n "(cached) " >&6 5793 else 5794 cat >conftest.$ac_ext <<_ACEOF 5795 /* confdefs.h. */ 5796 _ACEOF 5797 cat confdefs.h >>conftest.$ac_ext 5798 cat >>conftest.$ac_ext <<_ACEOF 5799 /* end confdefs.h. */ 5800 #include <sys/types.h> 5801 #include <dirent.h> 5802 int 5803 main () 5804 { 5805 5806 #ifndef _POSIX_SOURCE 5807 # ifdef __Lynx__ 5808 /* 5809 * Generate compilation error to make the test fail: Lynx headers 5810 * are only valid if really in the POSIX environment. 5811 */ 5812 5813 missing_procedure(); 5814 # endif 5815 #endif 5816 DIR *d; 5817 struct dirent *entryPtr; 5818 char *p; 5819 d = opendir("foobar"); 5820 entryPtr = readdir(d); 5821 p = entryPtr->d_name; 5822 closedir(d); 5823 5824 ; 5825 return 0; 5826 } 5827 _ACEOF 5828 rm -f conftest.$ac_objext conftest$ac_exeext 5829 if { (ac_try="$ac_link" 5830 case "(($ac_try" in 5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5832 *) ac_try_echo=$ac_try;; 5833 esac 5834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5835 $as_echo "$ac_try_echo") >&5 5836 (eval "$ac_link") 2>conftest.er1 5837 ac_status=$? 5838 grep -v '^ *+' conftest.er1 >conftest.err 5839 rm -f conftest.er1 5840 cat conftest.err >&5 5841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5842 (exit $ac_status); } && { 5843 test -z "$ac_c_werror_flag" || 5844 test ! -s conftest.err 5845 } && test -s conftest$ac_exeext && { 5846 test "$cross_compiling" = yes || 5847 $as_test_x conftest$ac_exeext 5848 }; then 5849 tcl_cv_dirent_h=yes 5850 else 5851 $as_echo "$as_me: failed program was:" >&5 5852 sed 's/^/| /' conftest.$ac_ext >&5 5853 5854 tcl_cv_dirent_h=no 5855 fi 5856 5857 rm -rf conftest.dSYM 5858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5859 conftest$ac_exeext conftest.$ac_ext 5860 fi 5861 { $as_echo "$as_me:$LINENO: result: $tcl_cv_dirent_h" >&5 5862 $as_echo "$tcl_cv_dirent_h" >&6; } 5863 5864 if test $tcl_cv_dirent_h = no; then 5865 5866 cat >>confdefs.h <<\_ACEOF 5867 #define NO_DIRENT_H 1 5868 _ACEOF 5869 5870 fi 5871 5872 if test "${ac_cv_header_errno_h+set}" = set; then 5873 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 5874 $as_echo_n "checking for errno.h... " >&6; } 5875 if test "${ac_cv_header_errno_h+set}" = set; then 5876 $as_echo_n "(cached) " >&6 5877 fi 5878 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5879 $as_echo "$ac_cv_header_errno_h" >&6; } 5880 else 5881 # Is the header compilable? 5882 { $as_echo "$as_me:$LINENO: checking errno.h usability" >&5 5883 $as_echo_n "checking errno.h usability... " >&6; } 5884 cat >conftest.$ac_ext <<_ACEOF 5885 /* confdefs.h. */ 5886 _ACEOF 5887 cat confdefs.h >>conftest.$ac_ext 5888 cat >>conftest.$ac_ext <<_ACEOF 5889 /* end confdefs.h. */ 5890 $ac_includes_default 5891 #include <errno.h> 5892 _ACEOF 5893 rm -f conftest.$ac_objext 5894 if { (ac_try="$ac_compile" 5895 case "(($ac_try" in 5896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5897 *) ac_try_echo=$ac_try;; 5898 esac 5899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5900 $as_echo "$ac_try_echo") >&5 5901 (eval "$ac_compile") 2>conftest.er1 5902 ac_status=$? 5903 grep -v '^ *+' conftest.er1 >conftest.err 5904 rm -f conftest.er1 5905 cat conftest.err >&5 5906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5907 (exit $ac_status); } && { 5908 test -z "$ac_c_werror_flag" || 5909 test ! -s conftest.err 5910 } && test -s conftest.$ac_objext; then 5911 ac_header_compiler=yes 5912 else 5913 $as_echo "$as_me: failed program was:" >&5 5914 sed 's/^/| /' conftest.$ac_ext >&5 5915 5916 ac_header_compiler=no 5917 fi 5918 5919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5920 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5921 $as_echo "$ac_header_compiler" >&6; } 5922 5923 # Is the header present? 5924 { $as_echo "$as_me:$LINENO: checking errno.h presence" >&5 5925 $as_echo_n "checking errno.h presence... " >&6; } 5926 cat >conftest.$ac_ext <<_ACEOF 5927 /* confdefs.h. */ 5928 _ACEOF 5929 cat confdefs.h >>conftest.$ac_ext 5930 cat >>conftest.$ac_ext <<_ACEOF 5931 /* end confdefs.h. */ 5932 #include <errno.h> 5933 _ACEOF 5934 if { (ac_try="$ac_cpp conftest.$ac_ext" 5935 case "(($ac_try" in 5936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5937 *) ac_try_echo=$ac_try;; 5938 esac 5939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5940 $as_echo "$ac_try_echo") >&5 5941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5942 ac_status=$? 5943 grep -v '^ *+' conftest.er1 >conftest.err 5944 rm -f conftest.er1 5945 cat conftest.err >&5 5946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5947 (exit $ac_status); } >/dev/null && { 5948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5949 test ! -s conftest.err 5950 }; then 5951 ac_header_preproc=yes 5952 else 5953 $as_echo "$as_me: failed program was:" >&5 5954 sed 's/^/| /' conftest.$ac_ext >&5 5955 5956 ac_header_preproc=no 5957 fi 5958 5959 rm -f conftest.err conftest.$ac_ext 5960 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5961 $as_echo "$ac_header_preproc" >&6; } 5962 5963 # So? What about this header? 5964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5965 yes:no: ) 5966 { $as_echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5967 $as_echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5968 { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5969 $as_echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5970 ac_header_preproc=yes 5971 ;; 5972 no:yes:* ) 5973 { $as_echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5974 $as_echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5975 { $as_echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5976 $as_echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5977 { $as_echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5978 $as_echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5979 { $as_echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5980 $as_echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5981 { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5982 $as_echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5983 { $as_echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5984 $as_echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5985 5986 ;; 5987 esac 5988 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 5989 $as_echo_n "checking for errno.h... " >&6; } 5990 if test "${ac_cv_header_errno_h+set}" = set; then 5991 $as_echo_n "(cached) " >&6 5992 else 5993 ac_cv_header_errno_h=$ac_header_preproc 5994 fi 5995 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5996 $as_echo "$ac_cv_header_errno_h" >&6; } 5997 5998 fi 5999 if test $ac_cv_header_errno_h = yes; then 6000 : 6001 else 6002 6003 cat >>confdefs.h <<\_ACEOF 6004 #define NO_ERRNO_H 1 6005 _ACEOF 6006 6007 fi 6008 6009 6010 if test "${ac_cv_header_float_h+set}" = set; then 6011 { $as_echo "$as_me:$LINENO: checking for float.h" >&5 6012 $as_echo_n "checking for float.h... " >&6; } 6013 if test "${ac_cv_header_float_h+set}" = set; then 6014 $as_echo_n "(cached) " >&6 6015 fi 6016 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5 6017 $as_echo "$ac_cv_header_float_h" >&6; } 6018 else 6019 # Is the header compilable? 6020 { $as_echo "$as_me:$LINENO: checking float.h usability" >&5 6021 $as_echo_n "checking float.h usability... " >&6; } 6022 cat >conftest.$ac_ext <<_ACEOF 6023 /* confdefs.h. */ 6024 _ACEOF 6025 cat confdefs.h >>conftest.$ac_ext 6026 cat >>conftest.$ac_ext <<_ACEOF 6027 /* end confdefs.h. */ 6028 $ac_includes_default 6029 #include <float.h> 6030 _ACEOF 6031 rm -f conftest.$ac_objext 6032 if { (ac_try="$ac_compile" 6033 case "(($ac_try" in 6034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6035 *) ac_try_echo=$ac_try;; 6036 esac 6037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6038 $as_echo "$ac_try_echo") >&5 6039 (eval "$ac_compile") 2>conftest.er1 6040 ac_status=$? 6041 grep -v '^ *+' conftest.er1 >conftest.err 6042 rm -f conftest.er1 6043 cat conftest.err >&5 6044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6045 (exit $ac_status); } && { 6046 test -z "$ac_c_werror_flag" || 6047 test ! -s conftest.err 6048 } && test -s conftest.$ac_objext; then 6049 ac_header_compiler=yes 6050 else 6051 $as_echo "$as_me: failed program was:" >&5 6052 sed 's/^/| /' conftest.$ac_ext >&5 6053 6054 ac_header_compiler=no 6055 fi 6056 6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6058 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6059 $as_echo "$ac_header_compiler" >&6; } 6060 6061 # Is the header present? 6062 { $as_echo "$as_me:$LINENO: checking float.h presence" >&5 6063 $as_echo_n "checking float.h presence... " >&6; } 6064 cat >conftest.$ac_ext <<_ACEOF 6065 /* confdefs.h. */ 6066 _ACEOF 6067 cat confdefs.h >>conftest.$ac_ext 6068 cat >>conftest.$ac_ext <<_ACEOF 6069 /* end confdefs.h. */ 6070 #include <float.h> 6071 _ACEOF 6072 if { (ac_try="$ac_cpp conftest.$ac_ext" 6073 case "(($ac_try" in 6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6075 *) ac_try_echo=$ac_try;; 6076 esac 6077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6078 $as_echo "$ac_try_echo") >&5 6079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6080 ac_status=$? 6081 grep -v '^ *+' conftest.er1 >conftest.err 6082 rm -f conftest.er1 6083 cat conftest.err >&5 6084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6085 (exit $ac_status); } >/dev/null && { 6086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6087 test ! -s conftest.err 6088 }; then 6089 ac_header_preproc=yes 6090 else 6091 $as_echo "$as_me: failed program was:" >&5 6092 sed 's/^/| /' conftest.$ac_ext >&5 6093 6094 ac_header_preproc=no 6095 fi 6096 6097 rm -f conftest.err conftest.$ac_ext 6098 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6099 $as_echo "$ac_header_preproc" >&6; } 6100 6101 # So? What about this header? 6102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6103 yes:no: ) 6104 { $as_echo "$as_me:$LINENO: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&5 6105 $as_echo "$as_me: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6106 { $as_echo "$as_me:$LINENO: WARNING: float.h: proceeding with the compiler's result" >&5 6107 $as_echo "$as_me: WARNING: float.h: proceeding with the compiler's result" >&2;} 6108 ac_header_preproc=yes 6109 ;; 6110 no:yes:* ) 6111 { $as_echo "$as_me:$LINENO: WARNING: float.h: present but cannot be compiled" >&5 6112 $as_echo "$as_me: WARNING: float.h: present but cannot be compiled" >&2;} 6113 { $as_echo "$as_me:$LINENO: WARNING: float.h: check for missing prerequisite headers?" >&5 6114 $as_echo "$as_me: WARNING: float.h: check for missing prerequisite headers?" >&2;} 6115 { $as_echo "$as_me:$LINENO: WARNING: float.h: see the Autoconf documentation" >&5 6116 $as_echo "$as_me: WARNING: float.h: see the Autoconf documentation" >&2;} 6117 { $as_echo "$as_me:$LINENO: WARNING: float.h: section \"Present But Cannot Be Compiled\"" >&5 6118 $as_echo "$as_me: WARNING: float.h: section \"Present But Cannot Be Compiled\"" >&2;} 6119 { $as_echo "$as_me:$LINENO: WARNING: float.h: proceeding with the preprocessor's result" >&5 6120 $as_echo "$as_me: WARNING: float.h: proceeding with the preprocessor's result" >&2;} 6121 { $as_echo "$as_me:$LINENO: WARNING: float.h: in the future, the compiler will take precedence" >&5 6122 $as_echo "$as_me: WARNING: float.h: in the future, the compiler will take precedence" >&2;} 6123 6124 ;; 6125 esac 6126 { $as_echo "$as_me:$LINENO: checking for float.h" >&5 6127 $as_echo_n "checking for float.h... " >&6; } 6128 if test "${ac_cv_header_float_h+set}" = set; then 6129 $as_echo_n "(cached) " >&6 6130 else 6131 ac_cv_header_float_h=$ac_header_preproc 6132 fi 6133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5 6134 $as_echo "$ac_cv_header_float_h" >&6; } 6135 6136 fi 6137 if test $ac_cv_header_float_h = yes; then 6138 : 6139 else 6140 6141 cat >>confdefs.h <<\_ACEOF 6142 #define NO_FLOAT_H 1 6143 _ACEOF 6144 6145 fi 6146 6147 6148 if test "${ac_cv_header_values_h+set}" = set; then 6149 { $as_echo "$as_me:$LINENO: checking for values.h" >&5 6150 $as_echo_n "checking for values.h... " >&6; } 6151 if test "${ac_cv_header_values_h+set}" = set; then 6152 $as_echo_n "(cached) " >&6 6153 fi 6154 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5 6155 $as_echo "$ac_cv_header_values_h" >&6; } 6156 else 6157 # Is the header compilable? 6158 { $as_echo "$as_me:$LINENO: checking values.h usability" >&5 6159 $as_echo_n "checking values.h usability... " >&6; } 6160 cat >conftest.$ac_ext <<_ACEOF 6161 /* confdefs.h. */ 6162 _ACEOF 6163 cat confdefs.h >>conftest.$ac_ext 6164 cat >>conftest.$ac_ext <<_ACEOF 6165 /* end confdefs.h. */ 6166 $ac_includes_default 6167 #include <values.h> 6168 _ACEOF 6169 rm -f conftest.$ac_objext 6170 if { (ac_try="$ac_compile" 6171 case "(($ac_try" in 6172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6173 *) ac_try_echo=$ac_try;; 6174 esac 6175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6176 $as_echo "$ac_try_echo") >&5 6177 (eval "$ac_compile") 2>conftest.er1 6178 ac_status=$? 6179 grep -v '^ *+' conftest.er1 >conftest.err 6180 rm -f conftest.er1 6181 cat conftest.err >&5 6182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6183 (exit $ac_status); } && { 6184 test -z "$ac_c_werror_flag" || 6185 test ! -s conftest.err 6186 } && test -s conftest.$ac_objext; then 6187 ac_header_compiler=yes 6188 else 6189 $as_echo "$as_me: failed program was:" >&5 6190 sed 's/^/| /' conftest.$ac_ext >&5 6191 6192 ac_header_compiler=no 6193 fi 6194 6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6196 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6197 $as_echo "$ac_header_compiler" >&6; } 6198 6199 # Is the header present? 6200 { $as_echo "$as_me:$LINENO: checking values.h presence" >&5 6201 $as_echo_n "checking values.h presence... " >&6; } 6202 cat >conftest.$ac_ext <<_ACEOF 6203 /* confdefs.h. */ 6204 _ACEOF 6205 cat confdefs.h >>conftest.$ac_ext 6206 cat >>conftest.$ac_ext <<_ACEOF 6207 /* end confdefs.h. */ 6208 #include <values.h> 6209 _ACEOF 6210 if { (ac_try="$ac_cpp conftest.$ac_ext" 6211 case "(($ac_try" in 6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6213 *) ac_try_echo=$ac_try;; 6214 esac 6215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6216 $as_echo "$ac_try_echo") >&5 6217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6218 ac_status=$? 6219 grep -v '^ *+' conftest.er1 >conftest.err 6220 rm -f conftest.er1 6221 cat conftest.err >&5 6222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6223 (exit $ac_status); } >/dev/null && { 6224 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6225 test ! -s conftest.err 6226 }; then 6227 ac_header_preproc=yes 6228 else 6229 $as_echo "$as_me: failed program was:" >&5 6230 sed 's/^/| /' conftest.$ac_ext >&5 6231 6232 ac_header_preproc=no 6233 fi 6234 6235 rm -f conftest.err conftest.$ac_ext 6236 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6237 $as_echo "$ac_header_preproc" >&6; } 6238 6239 # So? What about this header? 6240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6241 yes:no: ) 6242 { $as_echo "$as_me:$LINENO: WARNING: values.h: accepted by the compiler, rejected by the preprocessor!" >&5 6243 $as_echo "$as_me: WARNING: values.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6244 { $as_echo "$as_me:$LINENO: WARNING: values.h: proceeding with the compiler's result" >&5 6245 $as_echo "$as_me: WARNING: values.h: proceeding with the compiler's result" >&2;} 6246 ac_header_preproc=yes 6247 ;; 6248 no:yes:* ) 6249 { $as_echo "$as_me:$LINENO: WARNING: values.h: present but cannot be compiled" >&5 6250 $as_echo "$as_me: WARNING: values.h: present but cannot be compiled" >&2;} 6251 { $as_echo "$as_me:$LINENO: WARNING: values.h: check for missing prerequisite headers?" >&5 6252 $as_echo "$as_me: WARNING: values.h: check for missing prerequisite headers?" >&2;} 6253 { $as_echo "$as_me:$LINENO: WARNING: values.h: see the Autoconf documentation" >&5 6254 $as_echo "$as_me: WARNING: values.h: see the Autoconf documentation" >&2;} 6255 { $as_echo "$as_me:$LINENO: WARNING: values.h: section \"Present But Cannot Be Compiled\"" >&5 6256 $as_echo "$as_me: WARNING: values.h: section \"Present But Cannot Be Compiled\"" >&2;} 6257 { $as_echo "$as_me:$LINENO: WARNING: values.h: proceeding with the preprocessor's result" >&5 6258 $as_echo "$as_me: WARNING: values.h: proceeding with the preprocessor's result" >&2;} 6259 { $as_echo "$as_me:$LINENO: WARNING: values.h: in the future, the compiler will take precedence" >&5 6260 $as_echo "$as_me: WARNING: values.h: in the future, the compiler will take precedence" >&2;} 6261 6262 ;; 6263 esac 6264 { $as_echo "$as_me:$LINENO: checking for values.h" >&5 6265 $as_echo_n "checking for values.h... " >&6; } 6266 if test "${ac_cv_header_values_h+set}" = set; then 6267 $as_echo_n "(cached) " >&6 6268 else 6269 ac_cv_header_values_h=$ac_header_preproc 6270 fi 6271 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5 6272 $as_echo "$ac_cv_header_values_h" >&6; } 6273 6274 fi 6275 if test $ac_cv_header_values_h = yes; then 6276 : 6277 else 6278 6279 cat >>confdefs.h <<\_ACEOF 6280 #define NO_VALUES_H 1 6281 _ACEOF 6282 6283 fi 6284 6285 6286 if test "${ac_cv_header_limits_h+set}" = set; then 6287 { $as_echo "$as_me:$LINENO: checking for limits.h" >&5 6288 $as_echo_n "checking for limits.h... " >&6; } 6289 if test "${ac_cv_header_limits_h+set}" = set; then 6290 $as_echo_n "(cached) " >&6 6291 fi 6292 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 6293 $as_echo "$ac_cv_header_limits_h" >&6; } 6294 else 6295 # Is the header compilable? 6296 { $as_echo "$as_me:$LINENO: checking limits.h usability" >&5 6297 $as_echo_n "checking limits.h usability... " >&6; } 6298 cat >conftest.$ac_ext <<_ACEOF 6299 /* confdefs.h. */ 6300 _ACEOF 6301 cat confdefs.h >>conftest.$ac_ext 6302 cat >>conftest.$ac_ext <<_ACEOF 6303 /* end confdefs.h. */ 6304 $ac_includes_default 6305 #include <limits.h> 6306 _ACEOF 6307 rm -f conftest.$ac_objext 6308 if { (ac_try="$ac_compile" 6309 case "(($ac_try" in 6310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6311 *) ac_try_echo=$ac_try;; 6312 esac 6313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6314 $as_echo "$ac_try_echo") >&5 6315 (eval "$ac_compile") 2>conftest.er1 6316 ac_status=$? 6317 grep -v '^ *+' conftest.er1 >conftest.err 6318 rm -f conftest.er1 6319 cat conftest.err >&5 6320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6321 (exit $ac_status); } && { 6322 test -z "$ac_c_werror_flag" || 6323 test ! -s conftest.err 6324 } && test -s conftest.$ac_objext; then 6325 ac_header_compiler=yes 6326 else 6327 $as_echo "$as_me: failed program was:" >&5 6328 sed 's/^/| /' conftest.$ac_ext >&5 6329 6330 ac_header_compiler=no 6331 fi 6332 6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6334 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6335 $as_echo "$ac_header_compiler" >&6; } 6336 6337 # Is the header present? 6338 { $as_echo "$as_me:$LINENO: checking limits.h presence" >&5 6339 $as_echo_n "checking limits.h presence... " >&6; } 6340 cat >conftest.$ac_ext <<_ACEOF 6341 /* confdefs.h. */ 6342 _ACEOF 6343 cat confdefs.h >>conftest.$ac_ext 6344 cat >>conftest.$ac_ext <<_ACEOF 6345 /* end confdefs.h. */ 6346 #include <limits.h> 6347 _ACEOF 6348 if { (ac_try="$ac_cpp conftest.$ac_ext" 6349 case "(($ac_try" in 6350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6351 *) ac_try_echo=$ac_try;; 6352 esac 6353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6354 $as_echo "$ac_try_echo") >&5 6355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6356 ac_status=$? 6357 grep -v '^ *+' conftest.er1 >conftest.err 6358 rm -f conftest.er1 6359 cat conftest.err >&5 6360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6361 (exit $ac_status); } >/dev/null && { 6362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6363 test ! -s conftest.err 6364 }; then 6365 ac_header_preproc=yes 6366 else 6367 $as_echo "$as_me: failed program was:" >&5 6368 sed 's/^/| /' conftest.$ac_ext >&5 6369 6370 ac_header_preproc=no 6371 fi 6372 6373 rm -f conftest.err conftest.$ac_ext 6374 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6375 $as_echo "$ac_header_preproc" >&6; } 6376 6377 # So? What about this header? 6378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6379 yes:no: ) 6380 { $as_echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 6381 $as_echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6382 { $as_echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 6383 $as_echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 6384 ac_header_preproc=yes 6385 ;; 6386 no:yes:* ) 6387 { $as_echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 6388 $as_echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 6389 { $as_echo "$as_me:$LINENO: WARNING: limits.h: check for missing prerequisite headers?" >&5 6390 $as_echo "$as_me: WARNING: limits.h: check for missing prerequisite headers?" >&2;} 6391 { $as_echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 6392 $as_echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 6393 { $as_echo "$as_me:$LINENO: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&5 6394 $as_echo "$as_me: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&2;} 6395 { $as_echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 6396 $as_echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 6397 { $as_echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 6398 $as_echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 6399 6400 ;; 6401 esac 6402 { $as_echo "$as_me:$LINENO: checking for limits.h" >&5 6403 $as_echo_n "checking for limits.h... " >&6; } 6404 if test "${ac_cv_header_limits_h+set}" = set; then 6405 $as_echo_n "(cached) " >&6 6406 else 6407 ac_cv_header_limits_h=$ac_header_preproc 6408 fi 6409 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 6410 $as_echo "$ac_cv_header_limits_h" >&6; } 6411 6412 fi 6413 if test $ac_cv_header_limits_h = yes; then 6414 6415 cat >>confdefs.h <<\_ACEOF 6416 #define HAVE_LIMITS_H 1 6417 _ACEOF 6418 6419 else 6420 6421 cat >>confdefs.h <<\_ACEOF 6422 #define NO_LIMITS_H 1 6423 _ACEOF 6424 6425 fi 6426 6427 6428 if test "${ac_cv_header_stdlib_h+set}" = set; then 6429 { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5 6430 $as_echo_n "checking for stdlib.h... " >&6; } 6431 if test "${ac_cv_header_stdlib_h+set}" = set; then 6432 $as_echo_n "(cached) " >&6 6433 fi 6434 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 6435 $as_echo "$ac_cv_header_stdlib_h" >&6; } 6436 else 6437 # Is the header compilable? 6438 { $as_echo "$as_me:$LINENO: checking stdlib.h usability" >&5 6439 $as_echo_n "checking stdlib.h usability... " >&6; } 6440 cat >conftest.$ac_ext <<_ACEOF 6441 /* confdefs.h. */ 6442 _ACEOF 6443 cat confdefs.h >>conftest.$ac_ext 6444 cat >>conftest.$ac_ext <<_ACEOF 6445 /* end confdefs.h. */ 6446 $ac_includes_default 6447 #include <stdlib.h> 6448 _ACEOF 6449 rm -f conftest.$ac_objext 6450 if { (ac_try="$ac_compile" 6451 case "(($ac_try" in 6452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6453 *) ac_try_echo=$ac_try;; 6454 esac 6455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6456 $as_echo "$ac_try_echo") >&5 6457 (eval "$ac_compile") 2>conftest.er1 6458 ac_status=$? 6459 grep -v '^ *+' conftest.er1 >conftest.err 6460 rm -f conftest.er1 6461 cat conftest.err >&5 6462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6463 (exit $ac_status); } && { 6464 test -z "$ac_c_werror_flag" || 6465 test ! -s conftest.err 6466 } && test -s conftest.$ac_objext; then 6467 ac_header_compiler=yes 6468 else 6469 $as_echo "$as_me: failed program was:" >&5 6470 sed 's/^/| /' conftest.$ac_ext >&5 6471 6472 ac_header_compiler=no 6473 fi 6474 6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6476 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6477 $as_echo "$ac_header_compiler" >&6; } 6478 6479 # Is the header present? 6480 { $as_echo "$as_me:$LINENO: checking stdlib.h presence" >&5 6481 $as_echo_n "checking stdlib.h presence... " >&6; } 6482 cat >conftest.$ac_ext <<_ACEOF 6483 /* confdefs.h. */ 6484 _ACEOF 6485 cat confdefs.h >>conftest.$ac_ext 6486 cat >>conftest.$ac_ext <<_ACEOF 6487 /* end confdefs.h. */ 6488 #include <stdlib.h> 6489 _ACEOF 6490 if { (ac_try="$ac_cpp conftest.$ac_ext" 6491 case "(($ac_try" in 6492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6493 *) ac_try_echo=$ac_try;; 6494 esac 6495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6496 $as_echo "$ac_try_echo") >&5 6497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6498 ac_status=$? 6499 grep -v '^ *+' conftest.er1 >conftest.err 6500 rm -f conftest.er1 6501 cat conftest.err >&5 6502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6503 (exit $ac_status); } >/dev/null && { 6504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6505 test ! -s conftest.err 6506 }; then 6507 ac_header_preproc=yes 6508 else 6509 $as_echo "$as_me: failed program was:" >&5 6510 sed 's/^/| /' conftest.$ac_ext >&5 6511 6512 ac_header_preproc=no 6513 fi 6514 6515 rm -f conftest.err conftest.$ac_ext 6516 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6517 $as_echo "$ac_header_preproc" >&6; } 6518 6519 # So? What about this header? 6520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6521 yes:no: ) 6522 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 6523 $as_echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6524 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 6525 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 6526 ac_header_preproc=yes 6527 ;; 6528 no:yes:* ) 6529 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 6530 $as_echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 6531 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 6532 $as_echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 6533 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 6534 $as_echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 6535 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 6536 $as_echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 6537 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 6538 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 6539 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 6540 $as_echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 6541 6542 ;; 6543 esac 6544 { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5 6545 $as_echo_n "checking for stdlib.h... " >&6; } 6546 if test "${ac_cv_header_stdlib_h+set}" = set; then 6547 $as_echo_n "(cached) " >&6 6548 else 6549 ac_cv_header_stdlib_h=$ac_header_preproc 6550 fi 6551 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 6552 $as_echo "$ac_cv_header_stdlib_h" >&6; } 6553 6554 fi 6555 if test $ac_cv_header_stdlib_h = yes; then 6556 tcl_ok=1 6557 else 6558 tcl_ok=0 6559 fi 6560 6561 6562 cat >conftest.$ac_ext <<_ACEOF 6563 /* confdefs.h. */ 6564 _ACEOF 6565 cat confdefs.h >>conftest.$ac_ext 6566 cat >>conftest.$ac_ext <<_ACEOF 6567 /* end confdefs.h. */ 6568 #include <stdlib.h> 6569 6570 _ACEOF 6571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6572 $EGREP "strtol" >/dev/null 2>&1; then 6573 : 6574 else 6575 tcl_ok=0 6576 fi 6577 rm -f conftest* 6578 6579 cat >conftest.$ac_ext <<_ACEOF 6580 /* confdefs.h. */ 6581 _ACEOF 6582 cat confdefs.h >>conftest.$ac_ext 6583 cat >>conftest.$ac_ext <<_ACEOF 6584 /* end confdefs.h. */ 6585 #include <stdlib.h> 6586 6587 _ACEOF 6588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6589 $EGREP "strtoul" >/dev/null 2>&1; then 6590 : 6591 else 6592 tcl_ok=0 6593 fi 6594 rm -f conftest* 6595 6596 cat >conftest.$ac_ext <<_ACEOF 6597 /* confdefs.h. */ 6598 _ACEOF 6599 cat confdefs.h >>conftest.$ac_ext 6600 cat >>conftest.$ac_ext <<_ACEOF 6601 /* end confdefs.h. */ 6602 #include <stdlib.h> 6603 6604 _ACEOF 6605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6606 $EGREP "strtod" >/dev/null 2>&1; then 6607 : 6608 else 6609 tcl_ok=0 6610 fi 6611 rm -f conftest* 6612 6613 if test $tcl_ok = 0; then 6614 6615 cat >>confdefs.h <<\_ACEOF 6616 #define NO_STDLIB_H 1 6617 _ACEOF 6618 6619 fi 6620 if test "${ac_cv_header_string_h+set}" = set; then 6621 { $as_echo "$as_me:$LINENO: checking for string.h" >&5 6622 $as_echo_n "checking for string.h... " >&6; } 6623 if test "${ac_cv_header_string_h+set}" = set; then 6624 $as_echo_n "(cached) " >&6 6625 fi 6626 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 6627 $as_echo "$ac_cv_header_string_h" >&6; } 6628 else 6629 # Is the header compilable? 6630 { $as_echo "$as_me:$LINENO: checking string.h usability" >&5 6631 $as_echo_n "checking string.h usability... " >&6; } 6632 cat >conftest.$ac_ext <<_ACEOF 6633 /* confdefs.h. */ 6634 _ACEOF 6635 cat confdefs.h >>conftest.$ac_ext 6636 cat >>conftest.$ac_ext <<_ACEOF 6637 /* end confdefs.h. */ 6638 $ac_includes_default 6639 #include <string.h> 6640 _ACEOF 6641 rm -f conftest.$ac_objext 6642 if { (ac_try="$ac_compile" 6643 case "(($ac_try" in 6644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6645 *) ac_try_echo=$ac_try;; 6646 esac 6647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6648 $as_echo "$ac_try_echo") >&5 6649 (eval "$ac_compile") 2>conftest.er1 6650 ac_status=$? 6651 grep -v '^ *+' conftest.er1 >conftest.err 6652 rm -f conftest.er1 6653 cat conftest.err >&5 6654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6655 (exit $ac_status); } && { 6656 test -z "$ac_c_werror_flag" || 6657 test ! -s conftest.err 6658 } && test -s conftest.$ac_objext; then 6659 ac_header_compiler=yes 6660 else 6661 $as_echo "$as_me: failed program was:" >&5 6662 sed 's/^/| /' conftest.$ac_ext >&5 6663 6664 ac_header_compiler=no 6665 fi 6666 6667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6668 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6669 $as_echo "$ac_header_compiler" >&6; } 6670 6671 # Is the header present? 6672 { $as_echo "$as_me:$LINENO: checking string.h presence" >&5 6673 $as_echo_n "checking string.h presence... " >&6; } 6674 cat >conftest.$ac_ext <<_ACEOF 6675 /* confdefs.h. */ 6676 _ACEOF 6677 cat confdefs.h >>conftest.$ac_ext 6678 cat >>conftest.$ac_ext <<_ACEOF 6679 /* end confdefs.h. */ 6680 #include <string.h> 6681 _ACEOF 6682 if { (ac_try="$ac_cpp conftest.$ac_ext" 6683 case "(($ac_try" in 6684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6685 *) ac_try_echo=$ac_try;; 6686 esac 6687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6688 $as_echo "$ac_try_echo") >&5 6689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6690 ac_status=$? 6691 grep -v '^ *+' conftest.er1 >conftest.err 6692 rm -f conftest.er1 6693 cat conftest.err >&5 6694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6695 (exit $ac_status); } >/dev/null && { 6696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6697 test ! -s conftest.err 6698 }; then 6699 ac_header_preproc=yes 6700 else 6701 $as_echo "$as_me: failed program was:" >&5 6702 sed 's/^/| /' conftest.$ac_ext >&5 6703 6704 ac_header_preproc=no 6705 fi 6706 6707 rm -f conftest.err conftest.$ac_ext 6708 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6709 $as_echo "$ac_header_preproc" >&6; } 6710 6711 # So? What about this header? 6712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6713 yes:no: ) 6714 { $as_echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 6715 $as_echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6716 { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 6717 $as_echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 6718 ac_header_preproc=yes 6719 ;; 6720 no:yes:* ) 6721 { $as_echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 6722 $as_echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 6723 { $as_echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 6724 $as_echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 6725 { $as_echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 6726 $as_echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 6727 { $as_echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 6728 $as_echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 6729 { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 6730 $as_echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 6731 { $as_echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 6732 $as_echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 6733 6734 ;; 6735 esac 6736 { $as_echo "$as_me:$LINENO: checking for string.h" >&5 6737 $as_echo_n "checking for string.h... " >&6; } 6738 if test "${ac_cv_header_string_h+set}" = set; then 6739 $as_echo_n "(cached) " >&6 6740 else 6741 ac_cv_header_string_h=$ac_header_preproc 6742 fi 6743 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 6744 $as_echo "$ac_cv_header_string_h" >&6; } 6745 6746 fi 6747 if test $ac_cv_header_string_h = yes; then 6748 tcl_ok=1 6749 else 6750 tcl_ok=0 6751 fi 6752 6753 6754 cat >conftest.$ac_ext <<_ACEOF 6755 /* confdefs.h. */ 6756 _ACEOF 6757 cat confdefs.h >>conftest.$ac_ext 6758 cat >>conftest.$ac_ext <<_ACEOF 6759 /* end confdefs.h. */ 6760 #include <string.h> 6761 6762 _ACEOF 6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6764 $EGREP "strstr" >/dev/null 2>&1; then 6765 : 6766 else 6767 tcl_ok=0 6768 fi 6769 rm -f conftest* 6770 6771 cat >conftest.$ac_ext <<_ACEOF 6772 /* confdefs.h. */ 6773 _ACEOF 6774 cat confdefs.h >>conftest.$ac_ext 6775 cat >>conftest.$ac_ext <<_ACEOF 6776 /* end confdefs.h. */ 6777 #include <string.h> 6778 6779 _ACEOF 6780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6781 $EGREP "strerror" >/dev/null 2>&1; then 6782 : 6783 else 6784 tcl_ok=0 6785 fi 6786 rm -f conftest* 6787 6788 6789 # See also memmove check below for a place where NO_STRING_H can be 6790 # set and why. 6791 6792 if test $tcl_ok = 0; then 6793 6794 cat >>confdefs.h <<\_ACEOF 6795 #define NO_STRING_H 1 6796 _ACEOF 6797 6798 fi 6799 6800 if test "${ac_cv_header_sys_wait_h+set}" = set; then 6801 { $as_echo "$as_me:$LINENO: checking for sys/wait.h" >&5 6802 $as_echo_n "checking for sys/wait.h... " >&6; } 6803 if test "${ac_cv_header_sys_wait_h+set}" = set; then 6804 $as_echo_n "(cached) " >&6 6805 fi 6806 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 6807 $as_echo "$ac_cv_header_sys_wait_h" >&6; } 6808 else 6809 # Is the header compilable? 6810 { $as_echo "$as_me:$LINENO: checking sys/wait.h usability" >&5 6811 $as_echo_n "checking sys/wait.h usability... " >&6; } 6812 cat >conftest.$ac_ext <<_ACEOF 6813 /* confdefs.h. */ 6814 _ACEOF 6815 cat confdefs.h >>conftest.$ac_ext 6816 cat >>conftest.$ac_ext <<_ACEOF 6817 /* end confdefs.h. */ 6818 $ac_includes_default 6819 #include <sys/wait.h> 6820 _ACEOF 6821 rm -f conftest.$ac_objext 6822 if { (ac_try="$ac_compile" 6823 case "(($ac_try" in 6824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6825 *) ac_try_echo=$ac_try;; 6826 esac 6827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6828 $as_echo "$ac_try_echo") >&5 6829 (eval "$ac_compile") 2>conftest.er1 6830 ac_status=$? 6831 grep -v '^ *+' conftest.er1 >conftest.err 6832 rm -f conftest.er1 6833 cat conftest.err >&5 6834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6835 (exit $ac_status); } && { 6836 test -z "$ac_c_werror_flag" || 6837 test ! -s conftest.err 6838 } && test -s conftest.$ac_objext; then 6839 ac_header_compiler=yes 6840 else 6841 $as_echo "$as_me: failed program was:" >&5 6842 sed 's/^/| /' conftest.$ac_ext >&5 6843 6844 ac_header_compiler=no 6845 fi 6846 6847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6848 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6849 $as_echo "$ac_header_compiler" >&6; } 6850 6851 # Is the header present? 6852 { $as_echo "$as_me:$LINENO: checking sys/wait.h presence" >&5 6853 $as_echo_n "checking sys/wait.h presence... " >&6; } 6854 cat >conftest.$ac_ext <<_ACEOF 6855 /* confdefs.h. */ 6856 _ACEOF 6857 cat confdefs.h >>conftest.$ac_ext 6858 cat >>conftest.$ac_ext <<_ACEOF 6859 /* end confdefs.h. */ 6860 #include <sys/wait.h> 6861 _ACEOF 6862 if { (ac_try="$ac_cpp conftest.$ac_ext" 6863 case "(($ac_try" in 6864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6865 *) ac_try_echo=$ac_try;; 6866 esac 6867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6868 $as_echo "$ac_try_echo") >&5 6869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6870 ac_status=$? 6871 grep -v '^ *+' conftest.er1 >conftest.err 6872 rm -f conftest.er1 6873 cat conftest.err >&5 6874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6875 (exit $ac_status); } >/dev/null && { 6876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6877 test ! -s conftest.err 6878 }; then 6879 ac_header_preproc=yes 6880 else 6881 $as_echo "$as_me: failed program was:" >&5 6882 sed 's/^/| /' conftest.$ac_ext >&5 6883 6884 ac_header_preproc=no 6885 fi 6886 6887 rm -f conftest.err conftest.$ac_ext 6888 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6889 $as_echo "$ac_header_preproc" >&6; } 6890 6891 # So? What about this header? 6892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6893 yes:no: ) 6894 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: accepted by the compiler, rejected by the preprocessor!" >&5 6895 $as_echo "$as_me: WARNING: sys/wait.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6896 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: proceeding with the compiler's result" >&5 6897 $as_echo "$as_me: WARNING: sys/wait.h: proceeding with the compiler's result" >&2;} 6898 ac_header_preproc=yes 6899 ;; 6900 no:yes:* ) 6901 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: present but cannot be compiled" >&5 6902 $as_echo "$as_me: WARNING: sys/wait.h: present but cannot be compiled" >&2;} 6903 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: check for missing prerequisite headers?" >&5 6904 $as_echo "$as_me: WARNING: sys/wait.h: check for missing prerequisite headers?" >&2;} 6905 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: see the Autoconf documentation" >&5 6906 $as_echo "$as_me: WARNING: sys/wait.h: see the Autoconf documentation" >&2;} 6907 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: section \"Present But Cannot Be Compiled\"" >&5 6908 $as_echo "$as_me: WARNING: sys/wait.h: section \"Present But Cannot Be Compiled\"" >&2;} 6909 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&5 6910 $as_echo "$as_me: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&2;} 6911 { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&5 6912 $as_echo "$as_me: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&2;} 6913 6914 ;; 6915 esac 6916 { $as_echo "$as_me:$LINENO: checking for sys/wait.h" >&5 6917 $as_echo_n "checking for sys/wait.h... " >&6; } 6918 if test "${ac_cv_header_sys_wait_h+set}" = set; then 6919 $as_echo_n "(cached) " >&6 6920 else 6921 ac_cv_header_sys_wait_h=$ac_header_preproc 6922 fi 6923 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 6924 $as_echo "$ac_cv_header_sys_wait_h" >&6; } 6925 6926 fi 6927 if test $ac_cv_header_sys_wait_h = yes; then 6928 : 6929 else 6930 6931 cat >>confdefs.h <<\_ACEOF 6932 #define NO_SYS_WAIT_H 1 6933 _ACEOF 6934 6935 fi 6936 6937 6938 if test "${ac_cv_header_dlfcn_h+set}" = set; then 6939 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 6940 $as_echo_n "checking for dlfcn.h... " >&6; } 6941 if test "${ac_cv_header_dlfcn_h+set}" = set; then 6942 $as_echo_n "(cached) " >&6 6943 fi 6944 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 6945 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 6946 else 6947 # Is the header compilable? 6948 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 6949 $as_echo_n "checking dlfcn.h usability... " >&6; } 6950 cat >conftest.$ac_ext <<_ACEOF 6951 /* confdefs.h. */ 6952 _ACEOF 6953 cat confdefs.h >>conftest.$ac_ext 6954 cat >>conftest.$ac_ext <<_ACEOF 6955 /* end confdefs.h. */ 6956 $ac_includes_default 6957 #include <dlfcn.h> 6958 _ACEOF 6959 rm -f conftest.$ac_objext 6960 if { (ac_try="$ac_compile" 6961 case "(($ac_try" in 6962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6963 *) ac_try_echo=$ac_try;; 6964 esac 6965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6966 $as_echo "$ac_try_echo") >&5 6967 (eval "$ac_compile") 2>conftest.er1 6968 ac_status=$? 6969 grep -v '^ *+' conftest.er1 >conftest.err 6970 rm -f conftest.er1 6971 cat conftest.err >&5 6972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6973 (exit $ac_status); } && { 6974 test -z "$ac_c_werror_flag" || 6975 test ! -s conftest.err 6976 } && test -s conftest.$ac_objext; then 6977 ac_header_compiler=yes 6978 else 6979 $as_echo "$as_me: failed program was:" >&5 6980 sed 's/^/| /' conftest.$ac_ext >&5 6981 6982 ac_header_compiler=no 6983 fi 6984 6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6986 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6987 $as_echo "$ac_header_compiler" >&6; } 6988 6989 # Is the header present? 6990 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 6991 $as_echo_n "checking dlfcn.h presence... " >&6; } 6992 cat >conftest.$ac_ext <<_ACEOF 6993 /* confdefs.h. */ 6994 _ACEOF 6995 cat confdefs.h >>conftest.$ac_ext 6996 cat >>conftest.$ac_ext <<_ACEOF 6997 /* end confdefs.h. */ 6998 #include <dlfcn.h> 6999 _ACEOF 7000 if { (ac_try="$ac_cpp conftest.$ac_ext" 7001 case "(($ac_try" in 7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7003 *) ac_try_echo=$ac_try;; 7004 esac 7005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7006 $as_echo "$ac_try_echo") >&5 7007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7008 ac_status=$? 7009 grep -v '^ *+' conftest.er1 >conftest.err 7010 rm -f conftest.er1 7011 cat conftest.err >&5 7012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7013 (exit $ac_status); } >/dev/null && { 7014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7015 test ! -s conftest.err 7016 }; then 7017 ac_header_preproc=yes 7018 else 7019 $as_echo "$as_me: failed program was:" >&5 7020 sed 's/^/| /' conftest.$ac_ext >&5 7021 7022 ac_header_preproc=no 7023 fi 7024 7025 rm -f conftest.err conftest.$ac_ext 7026 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7027 $as_echo "$ac_header_preproc" >&6; } 7028 7029 # So? What about this header? 7030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7031 yes:no: ) 7032 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 7033 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7034 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 7035 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 7036 ac_header_preproc=yes 7037 ;; 7038 no:yes:* ) 7039 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 7040 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 7041 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 7042 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 7043 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 7044 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 7045 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 7046 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 7047 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 7048 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 7049 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 7050 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 7051 7052 ;; 7053 esac 7054 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5 7055 $as_echo_n "checking for dlfcn.h... " >&6; } 7056 if test "${ac_cv_header_dlfcn_h+set}" = set; then 7057 $as_echo_n "(cached) " >&6 7058 else 7059 ac_cv_header_dlfcn_h=$ac_header_preproc 7060 fi 7061 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 7062 $as_echo "$ac_cv_header_dlfcn_h" >&6; } 7063 7064 fi 7065 if test $ac_cv_header_dlfcn_h = yes; then 7066 : 7067 else 7068 7069 cat >>confdefs.h <<\_ACEOF 7070 #define NO_DLFCN_H 1 7071 _ACEOF 7072 7073 fi 7074 7075 7076 7077 # OS/390 lacks sys/param.h (and doesn't need it, by chance). 7078 7079 for ac_header in sys/param.h 7080 do 7081 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7083 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7084 $as_echo_n "checking for $ac_header... " >&6; } 7085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7086 $as_echo_n "(cached) " >&6 7087 fi 7088 ac_res=`eval 'as_val=${'$as_ac_Header'} 7089 $as_echo "$as_val"'` 7090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7091 $as_echo "$ac_res" >&6; } 7092 else 7093 # Is the header compilable? 7094 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7095 $as_echo_n "checking $ac_header usability... " >&6; } 7096 cat >conftest.$ac_ext <<_ACEOF 7097 /* confdefs.h. */ 7098 _ACEOF 7099 cat confdefs.h >>conftest.$ac_ext 7100 cat >>conftest.$ac_ext <<_ACEOF 7101 /* end confdefs.h. */ 7102 $ac_includes_default 7103 #include <$ac_header> 7104 _ACEOF 7105 rm -f conftest.$ac_objext 7106 if { (ac_try="$ac_compile" 7107 case "(($ac_try" in 7108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7109 *) ac_try_echo=$ac_try;; 7110 esac 7111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7112 $as_echo "$ac_try_echo") >&5 7113 (eval "$ac_compile") 2>conftest.er1 7114 ac_status=$? 7115 grep -v '^ *+' conftest.er1 >conftest.err 7116 rm -f conftest.er1 7117 cat conftest.err >&5 7118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7119 (exit $ac_status); } && { 7120 test -z "$ac_c_werror_flag" || 7121 test ! -s conftest.err 7122 } && test -s conftest.$ac_objext; then 7123 ac_header_compiler=yes 7124 else 7125 $as_echo "$as_me: failed program was:" >&5 7126 sed 's/^/| /' conftest.$ac_ext >&5 7127 7128 ac_header_compiler=no 7129 fi 7130 7131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7132 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7133 $as_echo "$ac_header_compiler" >&6; } 7134 7135 # Is the header present? 7136 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7137 $as_echo_n "checking $ac_header presence... " >&6; } 7138 cat >conftest.$ac_ext <<_ACEOF 7139 /* confdefs.h. */ 7140 _ACEOF 7141 cat confdefs.h >>conftest.$ac_ext 7142 cat >>conftest.$ac_ext <<_ACEOF 7143 /* end confdefs.h. */ 7144 #include <$ac_header> 7145 _ACEOF 7146 if { (ac_try="$ac_cpp conftest.$ac_ext" 7147 case "(($ac_try" in 7148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7149 *) ac_try_echo=$ac_try;; 7150 esac 7151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7152 $as_echo "$ac_try_echo") >&5 7153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7154 ac_status=$? 7155 grep -v '^ *+' conftest.er1 >conftest.err 7156 rm -f conftest.er1 7157 cat conftest.err >&5 7158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7159 (exit $ac_status); } >/dev/null && { 7160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7161 test ! -s conftest.err 7162 }; then 7163 ac_header_preproc=yes 7164 else 7165 $as_echo "$as_me: failed program was:" >&5 7166 sed 's/^/| /' conftest.$ac_ext >&5 7167 7168 ac_header_preproc=no 7169 fi 7170 7171 rm -f conftest.err conftest.$ac_ext 7172 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7173 $as_echo "$ac_header_preproc" >&6; } 7174 7175 # So? What about this header? 7176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7177 yes:no: ) 7178 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7179 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7180 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7181 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7182 ac_header_preproc=yes 7183 ;; 7184 no:yes:* ) 7185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7186 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7188 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7190 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7192 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7194 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7196 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7197 7198 ;; 7199 esac 7200 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7201 $as_echo_n "checking for $ac_header... " >&6; } 7202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7203 $as_echo_n "(cached) " >&6 7204 else 7205 eval "$as_ac_Header=\$ac_header_preproc" 7206 fi 7207 ac_res=`eval 'as_val=${'$as_ac_Header'} 7208 $as_echo "$as_val"'` 7209 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7210 $as_echo "$ac_res" >&6; } 7211 7212 fi 7213 if test `eval 'as_val=${'$as_ac_Header'} 7214 $as_echo "$as_val"'` = yes; then 7215 cat >>confdefs.h <<_ACEOF 7216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7217 _ACEOF 7218 7219 fi 7220 7221 done 7222 7223 7224 # Let the user call this, because if it triggers, they will 7225 # need a compat/strtod.c that is correct. Users can also 7226 # use Tcl_GetDouble(FromObj) instead. 7227 #TEA_BUGGY_STRTOD 7228 fi 7229 7230 ac_ext=f 7231 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 7232 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7233 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 7234 if test -n "$ac_tool_prefix"; then 7235 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 7236 do 7237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7239 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7240 $as_echo_n "checking for $ac_word... " >&6; } 7241 if test "${ac_cv_prog_F77+set}" = set; then 7242 $as_echo_n "(cached) " >&6 7243 else 7244 if test -n "$F77"; then 7245 ac_cv_prog_F77="$F77" # Let the user override the test. 7246 else 7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7248 for as_dir in $PATH 7249 do 7250 IFS=$as_save_IFS 7251 test -z "$as_dir" && as_dir=. 7252 for ac_exec_ext in '' $ac_executable_extensions; do 7253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7254 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 7255 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7256 break 2 7257 fi 7258 done 7259 done 7260 IFS=$as_save_IFS 7261 7262 fi 7263 fi 7264 F77=$ac_cv_prog_F77 7265 if test -n "$F77"; then 7266 { $as_echo "$as_me:$LINENO: result: $F77" >&5 7267 $as_echo "$F77" >&6; } 7268 else 7269 { $as_echo "$as_me:$LINENO: result: no" >&5 7270 $as_echo "no" >&6; } 7271 fi 7272 7273 7274 test -n "$F77" && break 7275 done 7276 fi 7277 if test -z "$F77"; then 7278 ac_ct_F77=$F77 7279 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 7280 do 7281 # Extract the first word of "$ac_prog", so it can be a program name with args. 7282 set dummy $ac_prog; ac_word=$2 7283 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7284 $as_echo_n "checking for $ac_word... " >&6; } 7285 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 7286 $as_echo_n "(cached) " >&6 7287 else 7288 if test -n "$ac_ct_F77"; then 7289 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 7290 else 7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7292 for as_dir in $PATH 7293 do 7294 IFS=$as_save_IFS 7295 test -z "$as_dir" && as_dir=. 7296 for ac_exec_ext in '' $ac_executable_extensions; do 7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7298 ac_cv_prog_ac_ct_F77="$ac_prog" 7299 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7300 break 2 7301 fi 7302 done 7303 done 7304 IFS=$as_save_IFS 7305 7306 fi 7307 fi 7308 ac_ct_F77=$ac_cv_prog_ac_ct_F77 7309 if test -n "$ac_ct_F77"; then 7310 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 7311 $as_echo "$ac_ct_F77" >&6; } 7312 else 7313 { $as_echo "$as_me:$LINENO: result: no" >&5 7314 $as_echo "no" >&6; } 7315 fi 7316 7317 7318 test -n "$ac_ct_F77" && break 7319 done 7320 7321 if test "x$ac_ct_F77" = x; then 7322 F77="" 7323 else 7324 case $cross_compiling:$ac_tool_warned in 7325 yes:) 7326 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7327 whose name does not start with the host triplet. If you think this 7328 configuration is useful to you, please write to autoconf@gnu.org." >&5 7329 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7330 whose name does not start with the host triplet. If you think this 7331 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7332 ac_tool_warned=yes ;; 7333 esac 7334 F77=$ac_ct_F77 7335 fi 7336 fi 7337 7338 7339 # Provide some information about the compiler. 7340 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 7341 set X $ac_compile 7342 ac_compiler=$2 7343 { (ac_try="$ac_compiler --version >&5" 7344 case "(($ac_try" in 7345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7346 *) ac_try_echo=$ac_try;; 7347 esac 7348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7349 $as_echo "$ac_try_echo") >&5 7350 (eval "$ac_compiler --version >&5") 2>&5 7351 ac_status=$? 7352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7353 (exit $ac_status); } 7354 { (ac_try="$ac_compiler -v >&5" 7355 case "(($ac_try" in 7356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7357 *) ac_try_echo=$ac_try;; 7358 esac 7359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7360 $as_echo "$ac_try_echo") >&5 7361 (eval "$ac_compiler -v >&5") 2>&5 7362 ac_status=$? 7363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7364 (exit $ac_status); } 7365 { (ac_try="$ac_compiler -V >&5" 7366 case "(($ac_try" in 7367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7368 *) ac_try_echo=$ac_try;; 7369 esac 7370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7371 $as_echo "$ac_try_echo") >&5 7372 (eval "$ac_compiler -V >&5") 2>&5 7373 ac_status=$? 7374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7375 (exit $ac_status); } 7376 rm -f a.out 7377 7378 # If we don't use `.F' as extension, the preprocessor is not run on the 7379 # input file. (Note that this only needs to work for GNU compilers.) 7380 ac_save_ext=$ac_ext 7381 ac_ext=F 7382 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 7383 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 7384 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 7385 $as_echo_n "(cached) " >&6 7386 else 7387 cat >conftest.$ac_ext <<_ACEOF 7388 program main 7389 #ifndef __GNUC__ 7390 choke me 7391 #endif 7392 7393 end 7394 _ACEOF 7395 rm -f conftest.$ac_objext 7396 if { (ac_try="$ac_compile" 7397 case "(($ac_try" in 7398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7399 *) ac_try_echo=$ac_try;; 7400 esac 7401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7402 $as_echo "$ac_try_echo") >&5 7403 (eval "$ac_compile") 2>conftest.er1 7404 ac_status=$? 7405 grep -v '^ *+' conftest.er1 >conftest.err 7406 rm -f conftest.er1 7407 cat conftest.err >&5 7408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7409 (exit $ac_status); } && { 7410 test -z "$ac_f77_werror_flag" || 7411 test ! -s conftest.err 7412 } && test -s conftest.$ac_objext; then 7413 ac_compiler_gnu=yes 7414 else 7415 $as_echo "$as_me: failed program was:" >&5 7416 sed 's/^/| /' conftest.$ac_ext >&5 7417 7418 ac_compiler_gnu=no 7419 fi 7420 7421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7422 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 7423 7424 fi 7425 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 7426 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 7427 ac_ext=$ac_save_ext 7428 ac_test_FFLAGS=${FFLAGS+set} 7429 ac_save_FFLAGS=$FFLAGS 7430 FFLAGS= 7431 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 7432 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 7433 if test "${ac_cv_prog_f77_g+set}" = set; then 7434 $as_echo_n "(cached) " >&6 7435 else 7436 FFLAGS=-g 7437 cat >conftest.$ac_ext <<_ACEOF 7438 program main 7439 7440 end 7441 _ACEOF 7442 rm -f conftest.$ac_objext 7443 if { (ac_try="$ac_compile" 7444 case "(($ac_try" in 7445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7446 *) ac_try_echo=$ac_try;; 7447 esac 7448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7449 $as_echo "$ac_try_echo") >&5 7450 (eval "$ac_compile") 2>conftest.er1 7451 ac_status=$? 7452 grep -v '^ *+' conftest.er1 >conftest.err 7453 rm -f conftest.er1 7454 cat conftest.err >&5 7455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 (exit $ac_status); } && { 7457 test -z "$ac_f77_werror_flag" || 7458 test ! -s conftest.err 7459 } && test -s conftest.$ac_objext; then 7460 ac_cv_prog_f77_g=yes 7461 else 7462 $as_echo "$as_me: failed program was:" >&5 7463 sed 's/^/| /' conftest.$ac_ext >&5 7464 7465 ac_cv_prog_f77_g=no 7466 fi 7467 7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7469 7470 fi 7471 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 7472 $as_echo "$ac_cv_prog_f77_g" >&6; } 7473 if test "$ac_test_FFLAGS" = set; then 7474 FFLAGS=$ac_save_FFLAGS 7475 elif test $ac_cv_prog_f77_g = yes; then 7476 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 7477 FFLAGS="-g -O2" 7478 else 7479 FFLAGS="-g" 7480 fi 7481 else 7482 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 7483 FFLAGS="-O2" 7484 else 7485 FFLAGS= 7486 fi 7487 fi 7488 7489 if test $ac_compiler_gnu = yes; then 7490 G77=yes 7491 else 7492 G77= 7493 fi 7494 ac_ext=c 7495 ac_cpp='$CPP $CPPFLAGS' 7496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7498 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7499 7500 ac_ext=c 2766 2767 ac_ext=c 7501 2768 ac_cpp='$CPP $CPPFLAGS' 7502 2769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7506 2773 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 7507 2774 set dummy ${ac_tool_prefix}gcc; ac_word=$2 7508 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7509 2776 $as_echo_n "checking for $ac_word... " >&6; } 7510 if test "${ac_cv_prog_CC+set}" = set; then2777 if ${ac_cv_prog_CC+:} false; then : 7511 2778 $as_echo_n "(cached) " >&6 7512 2779 else … … 7519 2786 IFS=$as_save_IFS 7520 2787 test -z "$as_dir" && as_dir=. 7521 for ac_exec_ext in '' $ac_executable_extensions; do7522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2788 for ac_exec_ext in '' $ac_executable_extensions; do 2789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7523 2790 ac_cv_prog_CC="${ac_tool_prefix}gcc" 7524 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7525 2792 break 2 7526 2793 fi 7527 2794 done 7528 done2795 done 7529 2796 IFS=$as_save_IFS 7530 2797 … … 7533 2800 CC=$ac_cv_prog_CC 7534 2801 if test -n "$CC"; then 7535 { $as_echo "$as_me:$ LINENO: result: $CC" >&52802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7536 2803 $as_echo "$CC" >&6; } 7537 2804 else 7538 { $as_echo "$as_me:$ LINENO: result: no" >&52805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7539 2806 $as_echo "no" >&6; } 7540 2807 fi … … 7546 2813 # Extract the first word of "gcc", so it can be a program name with args. 7547 2814 set dummy gcc; ac_word=$2 7548 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7549 2816 $as_echo_n "checking for $ac_word... " >&6; } 7550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2817 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7551 2818 $as_echo_n "(cached) " >&6 7552 2819 else … … 7559 2826 IFS=$as_save_IFS 7560 2827 test -z "$as_dir" && as_dir=. 7561 for ac_exec_ext in '' $ac_executable_extensions; do7562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2828 for ac_exec_ext in '' $ac_executable_extensions; do 2829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7563 2830 ac_cv_prog_ac_ct_CC="gcc" 7564 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7565 2832 break 2 7566 2833 fi 7567 2834 done 7568 done2835 done 7569 2836 IFS=$as_save_IFS 7570 2837 … … 7573 2840 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7574 2841 if test -n "$ac_ct_CC"; then 7575 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7576 2843 $as_echo "$ac_ct_CC" >&6; } 7577 2844 else 7578 { $as_echo "$as_me:$ LINENO: result: no" >&52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7579 2846 $as_echo "no" >&6; } 7580 2847 fi … … 7585 2852 case $cross_compiling:$ac_tool_warned in 7586 2853 yes:) 7587 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7588 whose name does not start with the host triplet. If you think this 7589 configuration is useful to you, please write to autoconf@gnu.org." >&5 7590 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7591 whose name does not start with the host triplet. If you think this 7592 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7593 2856 ac_tool_warned=yes ;; 7594 2857 esac … … 7603 2866 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 7604 2867 set dummy ${ac_tool_prefix}cc; ac_word=$2 7605 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7606 2869 $as_echo_n "checking for $ac_word... " >&6; } 7607 if test "${ac_cv_prog_CC+set}" = set; then2870 if ${ac_cv_prog_CC+:} false; then : 7608 2871 $as_echo_n "(cached) " >&6 7609 2872 else … … 7616 2879 IFS=$as_save_IFS 7617 2880 test -z "$as_dir" && as_dir=. 7618 for ac_exec_ext in '' $ac_executable_extensions; do7619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2881 for ac_exec_ext in '' $ac_executable_extensions; do 2882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7620 2883 ac_cv_prog_CC="${ac_tool_prefix}cc" 7621 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7622 2885 break 2 7623 2886 fi 7624 2887 done 7625 done2888 done 7626 2889 IFS=$as_save_IFS 7627 2890 … … 7630 2893 CC=$ac_cv_prog_CC 7631 2894 if test -n "$CC"; then 7632 { $as_echo "$as_me:$ LINENO: result: $CC" >&52895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7633 2896 $as_echo "$CC" >&6; } 7634 2897 else 7635 { $as_echo "$as_me:$ LINENO: result: no" >&52898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7636 2899 $as_echo "no" >&6; } 7637 2900 fi … … 7643 2906 # Extract the first word of "cc", so it can be a program name with args. 7644 2907 set dummy cc; ac_word=$2 7645 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7646 2909 $as_echo_n "checking for $ac_word... " >&6; } 7647 if test "${ac_cv_prog_CC+set}" = set; then2910 if ${ac_cv_prog_CC+:} false; then : 7648 2911 $as_echo_n "(cached) " >&6 7649 2912 else … … 7657 2920 IFS=$as_save_IFS 7658 2921 test -z "$as_dir" && as_dir=. 7659 for ac_exec_ext in '' $ac_executable_extensions; do7660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2922 for ac_exec_ext in '' $ac_executable_extensions; do 2923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7661 2924 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 7662 2925 ac_prog_rejected=yes … … 7664 2927 fi 7665 2928 ac_cv_prog_CC="cc" 7666 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7667 2930 break 2 7668 2931 fi 7669 2932 done 7670 done2933 done 7671 2934 IFS=$as_save_IFS 7672 2935 … … 7687 2950 CC=$ac_cv_prog_CC 7688 2951 if test -n "$CC"; then 7689 { $as_echo "$as_me:$ LINENO: result: $CC" >&52952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7690 2953 $as_echo "$CC" >&6; } 7691 2954 else 7692 { $as_echo "$as_me:$ LINENO: result: no" >&52955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7693 2956 $as_echo "no" >&6; } 7694 2957 fi … … 7702 2965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7703 2966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7704 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7705 2968 $as_echo_n "checking for $ac_word... " >&6; } 7706 if test "${ac_cv_prog_CC+set}" = set; then2969 if ${ac_cv_prog_CC+:} false; then : 7707 2970 $as_echo_n "(cached) " >&6 7708 2971 else … … 7715 2978 IFS=$as_save_IFS 7716 2979 test -z "$as_dir" && as_dir=. 7717 for ac_exec_ext in '' $ac_executable_extensions; do7718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2980 for ac_exec_ext in '' $ac_executable_extensions; do 2981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7719 2982 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 7720 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7721 2984 break 2 7722 2985 fi 7723 2986 done 7724 done2987 done 7725 2988 IFS=$as_save_IFS 7726 2989 … … 7729 2992 CC=$ac_cv_prog_CC 7730 2993 if test -n "$CC"; then 7731 { $as_echo "$as_me:$ LINENO: result: $CC" >&52994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 7732 2995 $as_echo "$CC" >&6; } 7733 2996 else 7734 { $as_echo "$as_me:$ LINENO: result: no" >&52997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7735 2998 $as_echo "no" >&6; } 7736 2999 fi … … 7746 3009 # Extract the first word of "$ac_prog", so it can be a program name with args. 7747 3010 set dummy $ac_prog; ac_word=$2 7748 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7749 3012 $as_echo_n "checking for $ac_word... " >&6; } 7750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3013 if ${ac_cv_prog_ac_ct_CC+:} false; then : 7751 3014 $as_echo_n "(cached) " >&6 7752 3015 else … … 7759 3022 IFS=$as_save_IFS 7760 3023 test -z "$as_dir" && as_dir=. 7761 for ac_exec_ext in '' $ac_executable_extensions; do7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3024 for ac_exec_ext in '' $ac_executable_extensions; do 3025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7763 3026 ac_cv_prog_ac_ct_CC="$ac_prog" 7764 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7765 3028 break 2 7766 3029 fi 7767 3030 done 7768 done3031 done 7769 3032 IFS=$as_save_IFS 7770 3033 … … 7773 3036 ac_ct_CC=$ac_cv_prog_ac_ct_CC 7774 3037 if test -n "$ac_ct_CC"; then 7775 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&53038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 7776 3039 $as_echo "$ac_ct_CC" >&6; } 7777 3040 else 7778 { $as_echo "$as_me:$ LINENO: result: no" >&53041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7779 3042 $as_echo "no" >&6; } 7780 3043 fi … … 7789 3052 case $cross_compiling:$ac_tool_warned in 7790 3053 yes:) 7791 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7792 whose name does not start with the host triplet. If you think this 7793 configuration is useful to you, please write to autoconf@gnu.org." >&5 7794 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7795 whose name does not start with the host triplet. If you think this 7796 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7797 3056 ac_tool_warned=yes ;; 7798 3057 esac … … 7804 3063 7805 3064 7806 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 7807 See \`config.log' for more details." >&5 7808 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 7809 See \`config.log' for more details." >&2;} 7810 { (exit 1); exit 1; }; } 3065 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3067 as_fn_error $? "no acceptable C compiler found in \$PATH 3068 See \`config.log' for more details" "$LINENO" 5; } 7811 3069 7812 3070 # Provide some information about the compiler. 7813 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&53071 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 7814 3072 set X $ac_compile 7815 3073 ac_compiler=$2 7816 { (ac_try="$ac_compiler --version >&5" 3074 for ac_option in --version -v -V -qversion; do 3075 { { ac_try="$ac_compiler $ac_option >&5" 7817 3076 case "(($ac_try" in 7818 3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7819 3078 *) ac_try_echo=$ac_try;; 7820 3079 esac 7821 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7822 $as_echo "$ac_try_echo" )>&57823 (eval "$ac_compiler --version >&5") 2>&53080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3081 $as_echo "$ac_try_echo"; } >&5 3082 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 7824 3083 ac_status=$? 7825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7826 (exit $ac_status); } 7827 { (ac_try="$ac_compiler -v >&5" 3084 if test -s conftest.err; then 3085 sed '10a\ 3086 ... rest of stderr output deleted ... 3087 10q' conftest.err >conftest.er1 3088 cat conftest.er1 >&5 3089 fi 3090 rm -f conftest.er1 conftest.err 3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3092 test $ac_status = 0; } 3093 done 3094 3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3096 /* end confdefs.h. */ 3097 3098 int 3099 main () 3100 { 3101 3102 ; 3103 return 0; 3104 } 3105 _ACEOF 3106 ac_clean_files_save=$ac_clean_files 3107 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3108 # Try to create an executable without -o first, disregard a.out. 3109 # It will help us diagnose broken compilers, and finding out an intuition 3110 # of exeext. 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3112 $as_echo_n "checking whether the C compiler works... " >&6; } 3113 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3114 3115 # The possible output files: 3116 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3117 3118 ac_rmfiles= 3119 for ac_file in $ac_files 3120 do 3121 case $ac_file in 3122 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3123 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3124 esac 3125 done 3126 rm -f $ac_rmfiles 3127 3128 if { { ac_try="$ac_link_default" 7828 3129 case "(($ac_try" in 7829 3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7830 3131 *) ac_try_echo=$ac_try;; 7831 3132 esac 7832 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7833 $as_echo "$ac_try_echo" )>&57834 (eval "$ac_ compiler -v >&5") 2>&53133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3134 $as_echo "$ac_try_echo"; } >&5 3135 (eval "$ac_link_default") 2>&5 7835 3136 ac_status=$? 7836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7837 (exit $ac_status); } 7838 { (ac_try="$ac_compiler -V >&5" 3137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3138 test $ac_status = 0; }; then : 3139 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3140 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3141 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3142 # so that the user can short-circuit this test for compilers unknown to 3143 # Autoconf. 3144 for ac_file in $ac_files '' 3145 do 3146 test -f "$ac_file" || continue 3147 case $ac_file in 3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3149 ;; 3150 [ab].out ) 3151 # We found the default executable, but exeext='' is most 3152 # certainly right. 3153 break;; 3154 *.* ) 3155 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3156 then :; else 3157 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3158 fi 3159 # We set ac_cv_exeext here because the later test for it is not 3160 # safe: cross compilers may not add the suffix if given an `-o' 3161 # argument, so we may need to know it at that point already. 3162 # Even if this section looks crufty: it has the advantage of 3163 # actually working. 3164 break;; 3165 * ) 3166 break;; 3167 esac 3168 done 3169 test "$ac_cv_exeext" = no && ac_cv_exeext= 3170 3171 else 3172 ac_file='' 3173 fi 3174 if test -z "$ac_file"; then : 3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3176 $as_echo "no" >&6; } 3177 $as_echo "$as_me: failed program was:" >&5 3178 sed 's/^/| /' conftest.$ac_ext >&5 3179 3180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3182 as_fn_error 77 "C compiler cannot create executables 3183 See \`config.log' for more details" "$LINENO" 5; } 3184 else 3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3186 $as_echo "yes" >&6; } 3187 fi 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3189 $as_echo_n "checking for C compiler default output file name... " >&6; } 3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3191 $as_echo "$ac_file" >&6; } 3192 ac_exeext=$ac_cv_exeext 3193 3194 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3195 ac_clean_files=$ac_clean_files_save 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3197 $as_echo_n "checking for suffix of executables... " >&6; } 3198 if { { ac_try="$ac_link" 7839 3199 case "(($ac_try" in 7840 3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7841 3201 *) ac_try_echo=$ac_try;; 7842 3202 esac 7843 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""7844 $as_echo "$ac_try_echo" )>&57845 (eval "$ac_ compiler -V >&5") 2>&53203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3204 $as_echo "$ac_try_echo"; } >&5 3205 (eval "$ac_link") 2>&5 7846 3206 ac_status=$? 7847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7848 (exit $ac_status); } 7849 7850 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3208 test $ac_status = 0; }; then : 3209 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3210 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3211 # work properly (i.e., refer to `conftest.exe'), while it won't with 3212 # `rm'. 3213 for ac_file in conftest.exe conftest conftest.*; do 3214 test -f "$ac_file" || continue 3215 case $ac_file in 3216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3217 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3218 break;; 3219 * ) break;; 3220 esac 3221 done 3222 else 3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3225 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3226 See \`config.log' for more details" "$LINENO" 5; } 3227 fi 3228 rm -f conftest conftest$ac_cv_exeext 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3230 $as_echo "$ac_cv_exeext" >&6; } 3231 3232 rm -f conftest.$ac_ext 3233 EXEEXT=$ac_cv_exeext 3234 ac_exeext=$EXEEXT 3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3236 /* end confdefs.h. */ 3237 #include <stdio.h> 3238 int 3239 main () 3240 { 3241 FILE *f = fopen ("conftest.out", "w"); 3242 return ferror (f) || fclose (f) != 0; 3243 3244 ; 3245 return 0; 3246 } 3247 _ACEOF 3248 ac_clean_files="$ac_clean_files conftest.out" 3249 # Check that the compiler produces executables we can run. If not, either 3250 # the compiler is broken, or we cross compile. 3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3252 $as_echo_n "checking whether we are cross compiling... " >&6; } 3253 if test "$cross_compiling" != yes; then 3254 { { ac_try="$ac_link" 3255 case "(($ac_try" in 3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3257 *) ac_try_echo=$ac_try;; 3258 esac 3259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3260 $as_echo "$ac_try_echo"; } >&5 3261 (eval "$ac_link") 2>&5 3262 ac_status=$? 3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3264 test $ac_status = 0; } 3265 if { ac_try='./conftest$ac_cv_exeext' 3266 { { case "(($ac_try" in 3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3268 *) ac_try_echo=$ac_try;; 3269 esac 3270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3271 $as_echo "$ac_try_echo"; } >&5 3272 (eval "$ac_try") 2>&5 3273 ac_status=$? 3274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3275 test $ac_status = 0; }; }; then 3276 cross_compiling=no 3277 else 3278 if test "$cross_compiling" = maybe; then 3279 cross_compiling=yes 3280 else 3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3283 as_fn_error $? "cannot run C compiled programs. 3284 If you meant to cross compile, use \`--host'. 3285 See \`config.log' for more details" "$LINENO" 5; } 3286 fi 3287 fi 3288 fi 3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3290 $as_echo "$cross_compiling" >&6; } 3291 3292 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3293 ac_clean_files=$ac_clean_files_save 3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3295 $as_echo_n "checking for suffix of object files... " >&6; } 3296 if ${ac_cv_objext+:} false; then : 3297 $as_echo_n "(cached) " >&6 3298 else 3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3300 /* end confdefs.h. */ 3301 3302 int 3303 main () 3304 { 3305 3306 ; 3307 return 0; 3308 } 3309 _ACEOF 3310 rm -f conftest.o conftest.obj 3311 if { { ac_try="$ac_compile" 3312 case "(($ac_try" in 3313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3314 *) ac_try_echo=$ac_try;; 3315 esac 3316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3317 $as_echo "$ac_try_echo"; } >&5 3318 (eval "$ac_compile") 2>&5 3319 ac_status=$? 3320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3321 test $ac_status = 0; }; then : 3322 for ac_file in conftest.o conftest.obj conftest.*; do 3323 test -f "$ac_file" || continue; 3324 case $ac_file in 3325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3326 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3327 break;; 3328 esac 3329 done 3330 else 3331 $as_echo "$as_me: failed program was:" >&5 3332 sed 's/^/| /' conftest.$ac_ext >&5 3333 3334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3336 as_fn_error $? "cannot compute suffix of object files: cannot compile 3337 See \`config.log' for more details" "$LINENO" 5; } 3338 fi 3339 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3340 fi 3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3342 $as_echo "$ac_cv_objext" >&6; } 3343 OBJEXT=$ac_cv_objext 3344 ac_objext=$OBJEXT 3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7851 3346 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 7852 if test "${ac_cv_c_compiler_gnu+set}" = set; then3347 if ${ac_cv_c_compiler_gnu+:} false; then : 7853 3348 $as_echo_n "(cached) " >&6 7854 3349 else 7855 cat >conftest.$ac_ext <<_ACEOF 7856 /* confdefs.h. */ 7857 _ACEOF 7858 cat confdefs.h >>conftest.$ac_ext 7859 cat >>conftest.$ac_ext <<_ACEOF 3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7860 3351 /* end confdefs.h. */ 7861 3352 … … 7871 3362 } 7872 3363 _ACEOF 7873 rm -f conftest.$ac_objext 7874 if { (ac_try="$ac_compile" 7875 case "(($ac_try" in 7876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7877 *) ac_try_echo=$ac_try;; 7878 esac 7879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7880 $as_echo "$ac_try_echo") >&5 7881 (eval "$ac_compile") 2>conftest.er1 7882 ac_status=$? 7883 grep -v '^ *+' conftest.er1 >conftest.err 7884 rm -f conftest.er1 7885 cat conftest.err >&5 7886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7887 (exit $ac_status); } && { 7888 test -z "$ac_c_werror_flag" || 7889 test ! -s conftest.err 7890 } && test -s conftest.$ac_objext; then 3364 if ac_fn_c_try_compile "$LINENO"; then : 7891 3365 ac_compiler_gnu=yes 7892 3366 else 7893 $as_echo "$as_me: failed program was:" >&5 7894 sed 's/^/| /' conftest.$ac_ext >&5 7895 7896 ac_compiler_gnu=no 7897 fi 7898 3367 ac_compiler_gnu=no 3368 fi 7899 3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7900 3370 ac_cv_c_compiler_gnu=$ac_compiler_gnu 7901 3371 7902 3372 fi 7903 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&53373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 7904 3374 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 7905 3375 if test $ac_compiler_gnu = yes; then … … 7910 3380 ac_test_CFLAGS=${CFLAGS+set} 7911 3381 ac_save_CFLAGS=$CFLAGS 7912 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&53382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 7913 3383 $as_echo_n "checking whether $CC accepts -g... " >&6; } 7914 if test "${ac_cv_prog_cc_g+set}" = set; then3384 if ${ac_cv_prog_cc_g+:} false; then : 7915 3385 $as_echo_n "(cached) " >&6 7916 3386 else … … 7919 3389 ac_cv_prog_cc_g=no 7920 3390 CFLAGS="-g" 7921 cat >conftest.$ac_ext <<_ACEOF 7922 /* confdefs.h. */ 7923 _ACEOF 7924 cat confdefs.h >>conftest.$ac_ext 7925 cat >>conftest.$ac_ext <<_ACEOF 3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7926 3392 /* end confdefs.h. */ 7927 3393 … … 7934 3400 } 7935 3401 _ACEOF 7936 rm -f conftest.$ac_objext 7937 if { (ac_try="$ac_compile" 7938 case "(($ac_try" in 7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7940 *) ac_try_echo=$ac_try;; 7941 esac 7942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7943 $as_echo "$ac_try_echo") >&5 7944 (eval "$ac_compile") 2>conftest.er1 7945 ac_status=$? 7946 grep -v '^ *+' conftest.er1 >conftest.err 7947 rm -f conftest.er1 7948 cat conftest.err >&5 7949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7950 (exit $ac_status); } && { 7951 test -z "$ac_c_werror_flag" || 7952 test ! -s conftest.err 7953 } && test -s conftest.$ac_objext; then 3402 if ac_fn_c_try_compile "$LINENO"; then : 7954 3403 ac_cv_prog_cc_g=yes 7955 3404 else 7956 $as_echo "$as_me: failed program was:" >&5 7957 sed 's/^/| /' conftest.$ac_ext >&5 7958 7959 CFLAGS="" 7960 cat >conftest.$ac_ext <<_ACEOF 7961 /* confdefs.h. */ 7962 _ACEOF 7963 cat confdefs.h >>conftest.$ac_ext 7964 cat >>conftest.$ac_ext <<_ACEOF 3405 CFLAGS="" 3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7965 3407 /* end confdefs.h. */ 7966 3408 … … 7973 3415 } 7974 3416 _ACEOF 7975 rm -f conftest.$ac_objext 7976 if { (ac_try="$ac_compile" 7977 case "(($ac_try" in 7978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7979 *) ac_try_echo=$ac_try;; 7980 esac 7981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7982 $as_echo "$ac_try_echo") >&5 7983 (eval "$ac_compile") 2>conftest.er1 7984 ac_status=$? 7985 grep -v '^ *+' conftest.er1 >conftest.err 7986 rm -f conftest.er1 7987 cat conftest.err >&5 7988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7989 (exit $ac_status); } && { 7990 test -z "$ac_c_werror_flag" || 7991 test ! -s conftest.err 7992 } && test -s conftest.$ac_objext; then 7993 : 7994 else 7995 $as_echo "$as_me: failed program was:" >&5 7996 sed 's/^/| /' conftest.$ac_ext >&5 7997 7998 ac_c_werror_flag=$ac_save_c_werror_flag 3417 if ac_fn_c_try_compile "$LINENO"; then : 3418 3419 else 3420 ac_c_werror_flag=$ac_save_c_werror_flag 7999 3421 CFLAGS="-g" 8000 cat >conftest.$ac_ext <<_ACEOF 8001 /* confdefs.h. */ 8002 _ACEOF 8003 cat confdefs.h >>conftest.$ac_ext 8004 cat >>conftest.$ac_ext <<_ACEOF 3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8005 3423 /* end confdefs.h. */ 8006 3424 … … 8013 3431 } 8014 3432 _ACEOF 8015 rm -f conftest.$ac_objext 8016 if { (ac_try="$ac_compile" 8017 case "(($ac_try" in 8018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8019 *) ac_try_echo=$ac_try;; 8020 esac 8021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8022 $as_echo "$ac_try_echo") >&5 8023 (eval "$ac_compile") 2>conftest.er1 8024 ac_status=$? 8025 grep -v '^ *+' conftest.er1 >conftest.err 8026 rm -f conftest.er1 8027 cat conftest.err >&5 8028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8029 (exit $ac_status); } && { 8030 test -z "$ac_c_werror_flag" || 8031 test ! -s conftest.err 8032 } && test -s conftest.$ac_objext; then 3433 if ac_fn_c_try_compile "$LINENO"; then : 8033 3434 ac_cv_prog_cc_g=yes 8034 else 8035 $as_echo "$as_me: failed program was:" >&5 8036 sed 's/^/| /' conftest.$ac_ext >&5 8037 8038 8039 fi 8040 3435 fi 8041 3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8042 3437 fi 8043 8044 3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8045 3439 fi 8046 8047 3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8048 3441 ac_c_werror_flag=$ac_save_c_werror_flag 8049 3442 fi 8050 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&53443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 8051 3444 $as_echo "$ac_cv_prog_cc_g" >&6; } 8052 3445 if test "$ac_test_CFLAGS" = set; then … … 8065 3458 fi 8066 3459 fi 8067 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&53460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 8068 3461 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 8069 if test "${ac_cv_prog_cc_c89+set}" = set; then3462 if ${ac_cv_prog_cc_c89+:} false; then : 8070 3463 $as_echo_n "(cached) " >&6 8071 3464 else 8072 3465 ac_cv_prog_cc_c89=no 8073 3466 ac_save_CC=$CC 8074 cat >conftest.$ac_ext <<_ACEOF 8075 /* confdefs.h. */ 8076 _ACEOF 8077 cat confdefs.h >>conftest.$ac_ext 8078 cat >>conftest.$ac_ext <<_ACEOF 3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8079 3468 /* end confdefs.h. */ 8080 3469 #include <stdarg.h> 8081 3470 #include <stdio.h> 8082 #include <sys/types.h> 8083 #include <sys/stat.h> 3471 struct stat; 8084 3472 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 8085 3473 struct buf { int x; }; … … 8133 3521 do 8134 3522 CC="$ac_save_CC $ac_arg" 8135 rm -f conftest.$ac_objext 8136 if { (ac_try="$ac_compile" 8137 case "(($ac_try" in 8138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8139 *) ac_try_echo=$ac_try;; 8140 esac 8141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8142 $as_echo "$ac_try_echo") >&5 8143 (eval "$ac_compile") 2>conftest.er1 8144 ac_status=$? 8145 grep -v '^ *+' conftest.er1 >conftest.err 8146 rm -f conftest.er1 8147 cat conftest.err >&5 8148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8149 (exit $ac_status); } && { 8150 test -z "$ac_c_werror_flag" || 8151 test ! -s conftest.err 8152 } && test -s conftest.$ac_objext; then 3523 if ac_fn_c_try_compile "$LINENO"; then : 8153 3524 ac_cv_prog_cc_c89=$ac_arg 8154 else 8155 $as_echo "$as_me: failed program was:" >&5 8156 sed 's/^/| /' conftest.$ac_ext >&5 8157 8158 8159 fi 8160 3525 fi 8161 3526 rm -f core conftest.err conftest.$ac_objext 8162 3527 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 8169 3534 case "x$ac_cv_prog_cc_c89" in 8170 3535 x) 8171 { $as_echo "$as_me:$ LINENO: result: none needed" >&53536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 8172 3537 $as_echo "none needed" >&6; } ;; 8173 3538 xno) 8174 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 8175 3540 $as_echo "unsupported" >&6; } ;; 8176 3541 *) 8177 3542 CC="$CC $ac_cv_prog_cc_c89" 8178 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 8179 3544 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 8180 3545 esac 8181 3546 if test "x$ac_cv_prog_cc_c89" != xno; then : 3547 3548 fi 8182 3549 8183 3550 ac_ext=c … … 8187 3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8188 3555 3556 ac_ext=cpp 3557 ac_cpp='$CXXCPP $CPPFLAGS' 3558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3561 if test -z "$CXX"; then 3562 if test -n "$CCC"; then 3563 CXX=$CCC 3564 else 3565 if test -n "$ac_tool_prefix"; then 3566 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3567 do 3568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3571 $as_echo_n "checking for $ac_word... " >&6; } 3572 if ${ac_cv_prog_CXX+:} false; then : 3573 $as_echo_n "(cached) " >&6 3574 else 3575 if test -n "$CXX"; then 3576 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3577 else 3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3579 for as_dir in $PATH 3580 do 3581 IFS=$as_save_IFS 3582 test -z "$as_dir" && as_dir=. 3583 for ac_exec_ext in '' $ac_executable_extensions; do 3584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3585 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3587 break 2 3588 fi 3589 done 3590 done 3591 IFS=$as_save_IFS 3592 3593 fi 3594 fi 3595 CXX=$ac_cv_prog_CXX 3596 if test -n "$CXX"; then 3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3598 $as_echo "$CXX" >&6; } 3599 else 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3601 $as_echo "no" >&6; } 3602 fi 3603 3604 3605 test -n "$CXX" && break 3606 done 3607 fi 3608 if test -z "$CXX"; then 3609 ac_ct_CXX=$CXX 3610 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3611 do 3612 # Extract the first word of "$ac_prog", so it can be a program name with args. 3613 set dummy $ac_prog; ac_word=$2 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3615 $as_echo_n "checking for $ac_word... " >&6; } 3616 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3617 $as_echo_n "(cached) " >&6 3618 else 3619 if test -n "$ac_ct_CXX"; then 3620 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3621 else 3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3623 for as_dir in $PATH 3624 do 3625 IFS=$as_save_IFS 3626 test -z "$as_dir" && as_dir=. 3627 for ac_exec_ext in '' $ac_executable_extensions; do 3628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3629 ac_cv_prog_ac_ct_CXX="$ac_prog" 3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3631 break 2 3632 fi 3633 done 3634 done 3635 IFS=$as_save_IFS 3636 3637 fi 3638 fi 3639 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3640 if test -n "$ac_ct_CXX"; then 3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3642 $as_echo "$ac_ct_CXX" >&6; } 3643 else 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3645 $as_echo "no" >&6; } 3646 fi 3647 3648 3649 test -n "$ac_ct_CXX" && break 3650 done 3651 3652 if test "x$ac_ct_CXX" = x; then 3653 CXX="g++" 3654 else 3655 case $cross_compiling:$ac_tool_warned in 3656 yes:) 3657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3659 ac_tool_warned=yes ;; 3660 esac 3661 CXX=$ac_ct_CXX 3662 fi 3663 fi 3664 3665 fi 3666 fi 3667 # Provide some information about the compiler. 3668 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3669 set X $ac_compile 3670 ac_compiler=$2 3671 for ac_option in --version -v -V -qversion; do 3672 { { ac_try="$ac_compiler $ac_option >&5" 3673 case "(($ac_try" in 3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3675 *) ac_try_echo=$ac_try;; 3676 esac 3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3678 $as_echo "$ac_try_echo"; } >&5 3679 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3680 ac_status=$? 3681 if test -s conftest.err; then 3682 sed '10a\ 3683 ... rest of stderr output deleted ... 3684 10q' conftest.err >conftest.er1 3685 cat conftest.er1 >&5 3686 fi 3687 rm -f conftest.er1 conftest.err 3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3689 test $ac_status = 0; } 3690 done 3691 3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3693 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3694 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3695 $as_echo_n "(cached) " >&6 3696 else 3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3698 /* end confdefs.h. */ 3699 3700 int 3701 main () 3702 { 3703 #ifndef __GNUC__ 3704 choke me 3705 #endif 3706 3707 ; 3708 return 0; 3709 } 3710 _ACEOF 3711 if ac_fn_cxx_try_compile "$LINENO"; then : 3712 ac_compiler_gnu=yes 3713 else 3714 ac_compiler_gnu=no 3715 fi 3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3717 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3718 3719 fi 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3721 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3722 if test $ac_compiler_gnu = yes; then 3723 GXX=yes 3724 else 3725 GXX= 3726 fi 3727 ac_test_CXXFLAGS=${CXXFLAGS+set} 3728 ac_save_CXXFLAGS=$CXXFLAGS 3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3730 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3731 if ${ac_cv_prog_cxx_g+:} false; then : 3732 $as_echo_n "(cached) " >&6 3733 else 3734 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3735 ac_cxx_werror_flag=yes 3736 ac_cv_prog_cxx_g=no 3737 CXXFLAGS="-g" 3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3739 /* end confdefs.h. */ 3740 3741 int 3742 main () 3743 { 3744 3745 ; 3746 return 0; 3747 } 3748 _ACEOF 3749 if ac_fn_cxx_try_compile "$LINENO"; then : 3750 ac_cv_prog_cxx_g=yes 3751 else 3752 CXXFLAGS="" 3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3754 /* end confdefs.h. */ 3755 3756 int 3757 main () 3758 { 3759 3760 ; 3761 return 0; 3762 } 3763 _ACEOF 3764 if ac_fn_cxx_try_compile "$LINENO"; then : 3765 3766 else 3767 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3768 CXXFLAGS="-g" 3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3770 /* end confdefs.h. */ 3771 3772 int 3773 main () 3774 { 3775 3776 ; 3777 return 0; 3778 } 3779 _ACEOF 3780 if ac_fn_cxx_try_compile "$LINENO"; then : 3781 ac_cv_prog_cxx_g=yes 3782 fi 3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3784 fi 3785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3786 fi 3787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3788 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3789 fi 3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3791 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3792 if test "$ac_test_CXXFLAGS" = set; then 3793 CXXFLAGS=$ac_save_CXXFLAGS 3794 elif test $ac_cv_prog_cxx_g = yes; then 3795 if test "$GXX" = yes; then 3796 CXXFLAGS="-g -O2" 3797 else 3798 CXXFLAGS="-g" 3799 fi 3800 else 3801 if test "$GXX" = yes; then 3802 CXXFLAGS="-O2" 3803 else 3804 CXXFLAGS= 3805 fi 3806 fi 8189 3807 ac_ext=c 8190 3808 ac_cpp='$CPP $CPPFLAGS' … … 8192 3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8193 3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8194 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3812 3813 ac_ext=c 3814 ac_cpp='$CPP $CPPFLAGS' 3815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3817 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8195 3819 $as_echo_n "checking how to run the C preprocessor... " >&6; } 8196 3820 # On Suns, sometimes $CPP names a directory. … … 8199 3823 fi 8200 3824 if test -z "$CPP"; then 8201 if test "${ac_cv_prog_CPP+set}" = set; then3825 if ${ac_cv_prog_CPP+:} false; then : 8202 3826 $as_echo_n "(cached) " >&6 8203 3827 else … … 8214 3838 # On the NeXT, cc -E runs the code through the compiler's parser, 8215 3839 # not just through cpp. "Syntax error" is here to catch this case. 8216 cat >conftest.$ac_ext <<_ACEOF 8217 /* confdefs.h. */ 8218 _ACEOF 8219 cat confdefs.h >>conftest.$ac_ext 8220 cat >>conftest.$ac_ext <<_ACEOF 3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8221 3841 /* end confdefs.h. */ 8222 3842 #ifdef __STDC__ … … 8227 3847 Syntax error 8228 3848 _ACEOF 8229 if { (ac_try="$ac_cpp conftest.$ac_ext" 8230 case "(($ac_try" in 8231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8232 *) ac_try_echo=$ac_try;; 8233 esac 8234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8235 $as_echo "$ac_try_echo") >&5 8236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8237 ac_status=$? 8238 grep -v '^ *+' conftest.er1 >conftest.err 8239 rm -f conftest.er1 8240 cat conftest.err >&5 8241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8242 (exit $ac_status); } >/dev/null && { 8243 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8244 test ! -s conftest.err 8245 }; then 8246 : 8247 else 8248 $as_echo "$as_me: failed program was:" >&5 8249 sed 's/^/| /' conftest.$ac_ext >&5 8250 3849 if ac_fn_c_try_cpp "$LINENO"; then : 3850 3851 else 8251 3852 # Broken: fails on valid input. 8252 3853 continue 8253 3854 fi 8254 8255 rm -f conftest.err conftest.$ac_ext 3855 rm -f conftest.err conftest.i conftest.$ac_ext 8256 3856 8257 3857 # OK, works on sane cases. Now check whether nonexistent headers 8258 3858 # can be detected and how. 8259 cat >conftest.$ac_ext <<_ACEOF 8260 /* confdefs.h. */ 8261 _ACEOF 8262 cat confdefs.h >>conftest.$ac_ext 8263 cat >>conftest.$ac_ext <<_ACEOF 3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8264 3860 /* end confdefs.h. */ 8265 3861 #include <ac_nonexistent.h> 8266 3862 _ACEOF 8267 if { (ac_try="$ac_cpp conftest.$ac_ext" 8268 case "(($ac_try" in 8269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8270 *) ac_try_echo=$ac_try;; 8271 esac 8272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8273 $as_echo "$ac_try_echo") >&5 8274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8275 ac_status=$? 8276 grep -v '^ *+' conftest.er1 >conftest.err 8277 rm -f conftest.er1 8278 cat conftest.err >&5 8279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8280 (exit $ac_status); } >/dev/null && { 8281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8282 test ! -s conftest.err 8283 }; then 3863 if ac_fn_c_try_cpp "$LINENO"; then : 8284 3864 # Broken: success on invalid input. 8285 3865 continue 8286 3866 else 8287 $as_echo "$as_me: failed program was:" >&58288 sed 's/^/| /' conftest.$ac_ext >&58289 8290 3867 # Passes both tests. 8291 3868 ac_preproc_ok=: 8292 3869 break 8293 3870 fi 8294 8295 rm -f conftest.err conftest.$ac_ext 3871 rm -f conftest.err conftest.i conftest.$ac_ext 8296 3872 8297 3873 done 8298 3874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8299 rm -f conftest. err conftest.$ac_ext8300 if $ac_preproc_ok; then 3875 rm -f conftest.i conftest.err conftest.$ac_ext 3876 if $ac_preproc_ok; then : 8301 3877 break 8302 3878 fi … … 8310 3886 ac_cv_prog_CPP=$CPP 8311 3887 fi 8312 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8313 3889 $as_echo "$CPP" >&6; } 8314 3890 ac_preproc_ok=false … … 8321 3897 # On the NeXT, cc -E runs the code through the compiler's parser, 8322 3898 # not just through cpp. "Syntax error" is here to catch this case. 8323 cat >conftest.$ac_ext <<_ACEOF 8324 /* confdefs.h. */ 8325 _ACEOF 8326 cat confdefs.h >>conftest.$ac_ext 8327 cat >>conftest.$ac_ext <<_ACEOF 3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8328 3900 /* end confdefs.h. */ 8329 3901 #ifdef __STDC__ … … 8334 3906 Syntax error 8335 3907 _ACEOF 8336 if { (ac_try="$ac_cpp conftest.$ac_ext" 3908 if ac_fn_c_try_cpp "$LINENO"; then : 3909 3910 else 3911 # Broken: fails on valid input. 3912 continue 3913 fi 3914 rm -f conftest.err conftest.i conftest.$ac_ext 3915 3916 # OK, works on sane cases. Now check whether nonexistent headers 3917 # can be detected and how. 3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3919 /* end confdefs.h. */ 3920 #include <ac_nonexistent.h> 3921 _ACEOF 3922 if ac_fn_c_try_cpp "$LINENO"; then : 3923 # Broken: success on invalid input. 3924 continue 3925 else 3926 # Passes both tests. 3927 ac_preproc_ok=: 3928 break 3929 fi 3930 rm -f conftest.err conftest.i conftest.$ac_ext 3931 3932 done 3933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3934 rm -f conftest.i conftest.err conftest.$ac_ext 3935 if $ac_preproc_ok; then : 3936 3937 else 3938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3940 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3941 See \`config.log' for more details" "$LINENO" 5; } 3942 fi 3943 3944 ac_ext=c 3945 ac_cpp='$CPP $CPPFLAGS' 3946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3948 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3949 3950 3951 3952 3953 #-------------------------------------------------------------------- 3954 # Checks to see if the make program sets the $MAKE variable. 3955 #-------------------------------------------------------------------- 3956 3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3958 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3959 set x ${MAKE-make} 3960 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3961 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3962 $as_echo_n "(cached) " >&6 3963 else 3964 cat >conftest.make <<\_ACEOF 3965 SHELL = /bin/sh 3966 all: 3967 @echo '@@@%%%=$(MAKE)=@@@%%%' 3968 _ACEOF 3969 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3970 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3971 *@@@%%%=?*=@@@%%%*) 3972 eval ac_cv_prog_make_${ac_make}_set=yes;; 3973 *) 3974 eval ac_cv_prog_make_${ac_make}_set=no;; 3975 esac 3976 rm -f conftest.make 3977 fi 3978 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3980 $as_echo "yes" >&6; } 3981 SET_MAKE= 3982 else 3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3984 $as_echo "no" >&6; } 3985 SET_MAKE="MAKE=${MAKE-make}" 3986 fi 3987 3988 3989 #-------------------------------------------------------------------- 3990 # Find ranlib 3991 #-------------------------------------------------------------------- 3992 3993 if test -n "$ac_tool_prefix"; then 3994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3995 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3997 $as_echo_n "checking for $ac_word... " >&6; } 3998 if ${ac_cv_prog_RANLIB+:} false; then : 3999 $as_echo_n "(cached) " >&6 4000 else 4001 if test -n "$RANLIB"; then 4002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4003 else 4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4005 for as_dir in $PATH 4006 do 4007 IFS=$as_save_IFS 4008 test -z "$as_dir" && as_dir=. 4009 for ac_exec_ext in '' $ac_executable_extensions; do 4010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4011 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4013 break 2 4014 fi 4015 done 4016 done 4017 IFS=$as_save_IFS 4018 4019 fi 4020 fi 4021 RANLIB=$ac_cv_prog_RANLIB 4022 if test -n "$RANLIB"; then 4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4024 $as_echo "$RANLIB" >&6; } 4025 else 4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4027 $as_echo "no" >&6; } 4028 fi 4029 4030 4031 fi 4032 if test -z "$ac_cv_prog_RANLIB"; then 4033 ac_ct_RANLIB=$RANLIB 4034 # Extract the first word of "ranlib", so it can be a program name with args. 4035 set dummy ranlib; ac_word=$2 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4037 $as_echo_n "checking for $ac_word... " >&6; } 4038 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4039 $as_echo_n "(cached) " >&6 4040 else 4041 if test -n "$ac_ct_RANLIB"; then 4042 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4043 else 4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4045 for as_dir in $PATH 4046 do 4047 IFS=$as_save_IFS 4048 test -z "$as_dir" && as_dir=. 4049 for ac_exec_ext in '' $ac_executable_extensions; do 4050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4051 ac_cv_prog_ac_ct_RANLIB="ranlib" 4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4053 break 2 4054 fi 4055 done 4056 done 4057 IFS=$as_save_IFS 4058 4059 fi 4060 fi 4061 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4062 if test -n "$ac_ct_RANLIB"; then 4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4064 $as_echo "$ac_ct_RANLIB" >&6; } 4065 else 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4067 $as_echo "no" >&6; } 4068 fi 4069 4070 if test "x$ac_ct_RANLIB" = x; then 4071 RANLIB=":" 4072 else 4073 case $cross_compiling:$ac_tool_warned in 4074 yes:) 4075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4077 ac_tool_warned=yes ;; 4078 esac 4079 RANLIB=$ac_ct_RANLIB 4080 fi 4081 else 4082 RANLIB="$ac_cv_prog_RANLIB" 4083 fi 4084 4085 4086 #-------------------------------------------------------------------- 4087 # Determines the correct binary file extension (.o, .obj, .exe etc.) 4088 #-------------------------------------------------------------------- 4089 4090 4091 4092 4093 4094 4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4096 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4097 if ${ac_cv_path_GREP+:} false; then : 4098 $as_echo_n "(cached) " >&6 4099 else 4100 if test -z "$GREP"; then 4101 ac_path_GREP_found=false 4102 # Loop through the user's path and test for each of PROGNAME-LIST 4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4104 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4105 do 4106 IFS=$as_save_IFS 4107 test -z "$as_dir" && as_dir=. 4108 for ac_prog in grep ggrep; do 4109 for ac_exec_ext in '' $ac_executable_extensions; do 4110 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4111 as_fn_executable_p "$ac_path_GREP" || continue 4112 # Check for GNU ac_path_GREP and select it if it is found. 4113 # Check for GNU $ac_path_GREP 4114 case `"$ac_path_GREP" --version 2>&1` in 4115 *GNU*) 4116 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4117 *) 4118 ac_count=0 4119 $as_echo_n 0123456789 >"conftest.in" 4120 while : 4121 do 4122 cat "conftest.in" "conftest.in" >"conftest.tmp" 4123 mv "conftest.tmp" "conftest.in" 4124 cp "conftest.in" "conftest.nl" 4125 $as_echo 'GREP' >> "conftest.nl" 4126 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4127 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4128 as_fn_arith $ac_count + 1 && ac_count=$as_val 4129 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4130 # Best one so far, save it but keep looking for a better one 4131 ac_cv_path_GREP="$ac_path_GREP" 4132 ac_path_GREP_max=$ac_count 4133 fi 4134 # 10*(2^10) chars as input seems more than enough 4135 test $ac_count -gt 10 && break 4136 done 4137 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4138 esac 4139 4140 $ac_path_GREP_found && break 3 4141 done 4142 done 4143 done 4144 IFS=$as_save_IFS 4145 if test -z "$ac_cv_path_GREP"; then 4146 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4147 fi 4148 else 4149 ac_cv_path_GREP=$GREP 4150 fi 4151 4152 fi 4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4154 $as_echo "$ac_cv_path_GREP" >&6; } 4155 GREP="$ac_cv_path_GREP" 4156 4157 4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4159 $as_echo_n "checking for egrep... " >&6; } 4160 if ${ac_cv_path_EGREP+:} false; then : 4161 $as_echo_n "(cached) " >&6 4162 else 4163 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4164 then ac_cv_path_EGREP="$GREP -E" 4165 else 4166 if test -z "$EGREP"; then 4167 ac_path_EGREP_found=false 4168 # Loop through the user's path and test for each of PROGNAME-LIST 4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4171 do 4172 IFS=$as_save_IFS 4173 test -z "$as_dir" && as_dir=. 4174 for ac_prog in egrep; do 4175 for ac_exec_ext in '' $ac_executable_extensions; do 4176 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4177 as_fn_executable_p "$ac_path_EGREP" || continue 4178 # Check for GNU ac_path_EGREP and select it if it is found. 4179 # Check for GNU $ac_path_EGREP 4180 case `"$ac_path_EGREP" --version 2>&1` in 4181 *GNU*) 4182 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4183 *) 4184 ac_count=0 4185 $as_echo_n 0123456789 >"conftest.in" 4186 while : 4187 do 4188 cat "conftest.in" "conftest.in" >"conftest.tmp" 4189 mv "conftest.tmp" "conftest.in" 4190 cp "conftest.in" "conftest.nl" 4191 $as_echo 'EGREP' >> "conftest.nl" 4192 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4193 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4194 as_fn_arith $ac_count + 1 && ac_count=$as_val 4195 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4196 # Best one so far, save it but keep looking for a better one 4197 ac_cv_path_EGREP="$ac_path_EGREP" 4198 ac_path_EGREP_max=$ac_count 4199 fi 4200 # 10*(2^10) chars as input seems more than enough 4201 test $ac_count -gt 10 && break 4202 done 4203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4204 esac 4205 4206 $ac_path_EGREP_found && break 3 4207 done 4208 done 4209 done 4210 IFS=$as_save_IFS 4211 if test -z "$ac_cv_path_EGREP"; then 4212 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4213 fi 4214 else 4215 ac_cv_path_EGREP=$EGREP 4216 fi 4217 4218 fi 4219 fi 4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4221 $as_echo "$ac_cv_path_EGREP" >&6; } 4222 EGREP="$ac_cv_path_EGREP" 4223 4224 4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4226 $as_echo_n "checking for ANSI C header files... " >&6; } 4227 if ${ac_cv_header_stdc+:} false; then : 4228 $as_echo_n "(cached) " >&6 4229 else 4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231 /* end confdefs.h. */ 4232 #include <stdlib.h> 4233 #include <stdarg.h> 4234 #include <string.h> 4235 #include <float.h> 4236 4237 int 4238 main () 4239 { 4240 4241 ; 4242 return 0; 4243 } 4244 _ACEOF 4245 if ac_fn_c_try_compile "$LINENO"; then : 4246 ac_cv_header_stdc=yes 4247 else 4248 ac_cv_header_stdc=no 4249 fi 4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4251 4252 if test $ac_cv_header_stdc = yes; then 4253 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4255 /* end confdefs.h. */ 4256 #include <string.h> 4257 4258 _ACEOF 4259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4260 $EGREP "memchr" >/dev/null 2>&1; then : 4261 4262 else 4263 ac_cv_header_stdc=no 4264 fi 4265 rm -f conftest* 4266 4267 fi 4268 4269 if test $ac_cv_header_stdc = yes; then 4270 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4272 /* end confdefs.h. */ 4273 #include <stdlib.h> 4274 4275 _ACEOF 4276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4277 $EGREP "free" >/dev/null 2>&1; then : 4278 4279 else 4280 ac_cv_header_stdc=no 4281 fi 4282 rm -f conftest* 4283 4284 fi 4285 4286 if test $ac_cv_header_stdc = yes; then 4287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4288 if test "$cross_compiling" = yes; then : 4289 : 4290 else 4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4292 /* end confdefs.h. */ 4293 #include <ctype.h> 4294 #include <stdlib.h> 4295 #if ((' ' & 0x0FF) == 0x020) 4296 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4297 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4298 #else 4299 # define ISLOWER(c) \ 4300 (('a' <= (c) && (c) <= 'i') \ 4301 || ('j' <= (c) && (c) <= 'r') \ 4302 || ('s' <= (c) && (c) <= 'z')) 4303 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4304 #endif 4305 4306 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4307 int 4308 main () 4309 { 4310 int i; 4311 for (i = 0; i < 256; i++) 4312 if (XOR (islower (i), ISLOWER (i)) 4313 || toupper (i) != TOUPPER (i)) 4314 return 2; 4315 return 0; 4316 } 4317 _ACEOF 4318 if ac_fn_c_try_run "$LINENO"; then : 4319 4320 else 4321 ac_cv_header_stdc=no 4322 fi 4323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4324 conftest.$ac_objext conftest.beam conftest.$ac_ext 4325 fi 4326 4327 fi 4328 fi 4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4330 $as_echo "$ac_cv_header_stdc" >&6; } 4331 if test $ac_cv_header_stdc = yes; then 4332 4333 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4334 4335 fi 4336 4337 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4338 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4339 inttypes.h stdint.h unistd.h 4340 do : 4341 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4342 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4343 " 4344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4345 cat >>confdefs.h <<_ACEOF 4346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4347 _ACEOF 4348 4349 fi 4350 4351 done 4352 4353 4354 4355 # Any macros that use the compiler (e.g. AC_TRY_COMPILE) have to go here. 4356 4357 4358 #------------------------------------------------------------------------ 4359 # If we're using GCC, see if the compiler understands -pipe. If so, use it. 4360 # It makes compiling go faster. (This is only a performance feature.) 4361 #------------------------------------------------------------------------ 4362 4363 if test -z "$no_pipe" -a -n "$GCC"; then 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler understands -pipe" >&5 4365 $as_echo_n "checking if the compiler understands -pipe... " >&6; } 4366 OLDCC="$CC" 4367 CC="$CC -pipe" 4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4369 /* end confdefs.h. */ 4370 4371 int 4372 main () 4373 { 4374 4375 ; 4376 return 0; 4377 } 4378 _ACEOF 4379 if ac_fn_c_try_compile "$LINENO"; then : 4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4381 $as_echo "yes" >&6; } 4382 else 4383 CC="$OLDCC" 4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4385 $as_echo "no" >&6; } 4386 fi 4387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4388 fi 4389 4390 #-------------------------------------------------------------------- 4391 # Common compiler flag setup 4392 #-------------------------------------------------------------------- 4393 4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4395 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4396 if ${ac_cv_c_bigendian+:} false; then : 4397 $as_echo_n "(cached) " >&6 4398 else 4399 ac_cv_c_bigendian=unknown 4400 # See if we're dealing with a universal compiler. 4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4402 /* end confdefs.h. */ 4403 #ifndef __APPLE_CC__ 4404 not a universal capable compiler 4405 #endif 4406 typedef int dummy; 4407 4408 _ACEOF 4409 if ac_fn_c_try_compile "$LINENO"; then : 4410 4411 # Check for potential -arch flags. It is not universal unless 4412 # there are at least two -arch flags with different values. 4413 ac_arch= 4414 ac_prev= 4415 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4416 if test -n "$ac_prev"; then 4417 case $ac_word in 4418 i?86 | x86_64 | ppc | ppc64) 4419 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4420 ac_arch=$ac_word 4421 else 4422 ac_cv_c_bigendian=universal 4423 break 4424 fi 4425 ;; 4426 esac 4427 ac_prev= 4428 elif test "x$ac_word" = "x-arch"; then 4429 ac_prev=arch 4430 fi 4431 done 4432 fi 4433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4434 if test $ac_cv_c_bigendian = unknown; then 4435 # See if sys/param.h defines the BYTE_ORDER macro. 4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4437 /* end confdefs.h. */ 4438 #include <sys/types.h> 4439 #include <sys/param.h> 4440 4441 int 4442 main () 4443 { 4444 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4445 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4446 && LITTLE_ENDIAN) 4447 bogus endian macros 4448 #endif 4449 4450 ; 4451 return 0; 4452 } 4453 _ACEOF 4454 if ac_fn_c_try_compile "$LINENO"; then : 4455 # It does; now see whether it defined to BIG_ENDIAN or not. 4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4457 /* end confdefs.h. */ 4458 #include <sys/types.h> 4459 #include <sys/param.h> 4460 4461 int 4462 main () 4463 { 4464 #if BYTE_ORDER != BIG_ENDIAN 4465 not big endian 4466 #endif 4467 4468 ; 4469 return 0; 4470 } 4471 _ACEOF 4472 if ac_fn_c_try_compile "$LINENO"; then : 4473 ac_cv_c_bigendian=yes 4474 else 4475 ac_cv_c_bigendian=no 4476 fi 4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4478 fi 4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4480 fi 4481 if test $ac_cv_c_bigendian = unknown; then 4482 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4484 /* end confdefs.h. */ 4485 #include <limits.h> 4486 4487 int 4488 main () 4489 { 4490 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4491 bogus endian macros 4492 #endif 4493 4494 ; 4495 return 0; 4496 } 4497 _ACEOF 4498 if ac_fn_c_try_compile "$LINENO"; then : 4499 # It does; now see whether it defined to _BIG_ENDIAN or not. 4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4501 /* end confdefs.h. */ 4502 #include <limits.h> 4503 4504 int 4505 main () 4506 { 4507 #ifndef _BIG_ENDIAN 4508 not big endian 4509 #endif 4510 4511 ; 4512 return 0; 4513 } 4514 _ACEOF 4515 if ac_fn_c_try_compile "$LINENO"; then : 4516 ac_cv_c_bigendian=yes 4517 else 4518 ac_cv_c_bigendian=no 4519 fi 4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4521 fi 4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4523 fi 4524 if test $ac_cv_c_bigendian = unknown; then 4525 # Compile a test program. 4526 if test "$cross_compiling" = yes; then : 4527 # Try to guess by grepping values from an object file. 4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4529 /* end confdefs.h. */ 4530 short int ascii_mm[] = 4531 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4532 short int ascii_ii[] = 4533 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4534 int use_ascii (int i) { 4535 return ascii_mm[i] + ascii_ii[i]; 4536 } 4537 short int ebcdic_ii[] = 4538 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4539 short int ebcdic_mm[] = 4540 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4541 int use_ebcdic (int i) { 4542 return ebcdic_mm[i] + ebcdic_ii[i]; 4543 } 4544 extern int foo; 4545 4546 int 4547 main () 4548 { 4549 return use_ascii (foo) == use_ebcdic (foo); 4550 ; 4551 return 0; 4552 } 4553 _ACEOF 4554 if ac_fn_c_try_compile "$LINENO"; then : 4555 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4556 ac_cv_c_bigendian=yes 4557 fi 4558 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4559 if test "$ac_cv_c_bigendian" = unknown; then 4560 ac_cv_c_bigendian=no 4561 else 4562 # finding both strings is unlikely to happen, but who knows? 4563 ac_cv_c_bigendian=unknown 4564 fi 4565 fi 4566 fi 4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4568 else 4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4570 /* end confdefs.h. */ 4571 $ac_includes_default 4572 int 4573 main () 4574 { 4575 4576 /* Are we little or big endian? From Harbison&Steele. */ 4577 union 4578 { 4579 long int l; 4580 char c[sizeof (long int)]; 4581 } u; 4582 u.l = 1; 4583 return u.c[sizeof (long int) - 1] == 1; 4584 4585 ; 4586 return 0; 4587 } 4588 _ACEOF 4589 if ac_fn_c_try_run "$LINENO"; then : 4590 ac_cv_c_bigendian=no 4591 else 4592 ac_cv_c_bigendian=yes 4593 fi 4594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4595 conftest.$ac_objext conftest.beam conftest.$ac_ext 4596 fi 4597 4598 fi 4599 fi 4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4601 $as_echo "$ac_cv_c_bigendian" >&6; } 4602 case $ac_cv_c_bigendian in #( 4603 yes) 4604 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4605 ;; #( 4606 no) 4607 ;; #( 4608 universal) 4609 4610 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4611 4612 ;; #( 4613 *) 4614 as_fn_error $? "unknown endianness 4615 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4616 esac 4617 4618 if test "${TEA_PLATFORM}" = "unix" ; then 4619 4620 #-------------------------------------------------------------------- 4621 # On a few very rare systems, all of the libm.a stuff is 4622 # already in libc.a. Set compiler flags accordingly. 4623 # Also, Linux requires the "ieee" library for math to work 4624 # right (and it must appear before "-lm"). 4625 #-------------------------------------------------------------------- 4626 4627 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin" 4628 if test "x$ac_cv_func_sin" = xyes; then : 4629 MATH_LIBS="" 4630 else 4631 MATH_LIBS="-lm" 4632 fi 4633 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lieee" >&5 4635 $as_echo_n "checking for main in -lieee... " >&6; } 4636 if ${ac_cv_lib_ieee_main+:} false; then : 4637 $as_echo_n "(cached) " >&6 4638 else 4639 ac_check_lib_save_LIBS=$LIBS 4640 LIBS="-lieee $LIBS" 4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4642 /* end confdefs.h. */ 4643 4644 4645 int 4646 main () 4647 { 4648 return main (); 4649 ; 4650 return 0; 4651 } 4652 _ACEOF 4653 if ac_fn_c_try_link "$LINENO"; then : 4654 ac_cv_lib_ieee_main=yes 4655 else 4656 ac_cv_lib_ieee_main=no 4657 fi 4658 rm -f core conftest.err conftest.$ac_objext \ 4659 conftest$ac_exeext conftest.$ac_ext 4660 LIBS=$ac_check_lib_save_LIBS 4661 fi 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee_main" >&5 4663 $as_echo "$ac_cv_lib_ieee_main" >&6; } 4664 if test "x$ac_cv_lib_ieee_main" = xyes; then : 4665 MATH_LIBS="-lieee $MATH_LIBS" 4666 fi 4667 4668 4669 #-------------------------------------------------------------------- 4670 # Interactive UNIX requires -linet instead of -lsocket, plus it 4671 # needs net/errno.h to define the socket-related error codes. 4672 #-------------------------------------------------------------------- 4673 4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -linet" >&5 4675 $as_echo_n "checking for main in -linet... " >&6; } 4676 if ${ac_cv_lib_inet_main+:} false; then : 4677 $as_echo_n "(cached) " >&6 4678 else 4679 ac_check_lib_save_LIBS=$LIBS 4680 LIBS="-linet $LIBS" 4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4682 /* end confdefs.h. */ 4683 4684 4685 int 4686 main () 4687 { 4688 return main (); 4689 ; 4690 return 0; 4691 } 4692 _ACEOF 4693 if ac_fn_c_try_link "$LINENO"; then : 4694 ac_cv_lib_inet_main=yes 4695 else 4696 ac_cv_lib_inet_main=no 4697 fi 4698 rm -f core conftest.err conftest.$ac_objext \ 4699 conftest$ac_exeext conftest.$ac_ext 4700 LIBS=$ac_check_lib_save_LIBS 4701 fi 4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_main" >&5 4703 $as_echo "$ac_cv_lib_inet_main" >&6; } 4704 if test "x$ac_cv_lib_inet_main" = xyes; then : 4705 LIBS="$LIBS -linet" 4706 fi 4707 4708 ac_fn_c_check_header_mongrel "$LINENO" "net/errno.h" "ac_cv_header_net_errno_h" "$ac_includes_default" 4709 if test "x$ac_cv_header_net_errno_h" = xyes; then : 4710 4711 4712 $as_echo "#define HAVE_NET_ERRNO_H 1" >>confdefs.h 4713 4714 fi 4715 4716 4717 4718 #-------------------------------------------------------------------- 4719 # Check for the existence of the -lsocket and -lnsl libraries. 4720 # The order here is important, so that they end up in the right 4721 # order in the command line generated by make. Here are some 4722 # special considerations: 4723 # 1. Use "connect" and "accept" to check for -lsocket, and 4724 # "gethostbyname" to check for -lnsl. 4725 # 2. Use each function name only once: can't redo a check because 4726 # autoconf caches the results of the last check and won't redo it. 4727 # 3. Use -lnsl and -lsocket only if they supply procedures that 4728 # aren't already present in the normal libraries. This is because 4729 # IRIX 5.2 has libraries, but they aren't needed and they're 4730 # bogus: they goof up name resolution if used. 4731 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too. 4732 # To get around this problem, check for both libraries together 4733 # if -lsocket doesn't work by itself. 4734 #-------------------------------------------------------------------- 4735 4736 tcl_checkBoth=0 4737 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 4738 if test "x$ac_cv_func_connect" = xyes; then : 4739 tcl_checkSocket=0 4740 else 4741 tcl_checkSocket=1 4742 fi 4743 4744 if test "$tcl_checkSocket" = 1; then 4745 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" 4746 if test "x$ac_cv_func_setsockopt" = xyes; then : 4747 4748 else 4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 4750 $as_echo_n "checking for setsockopt in -lsocket... " >&6; } 4751 if ${ac_cv_lib_socket_setsockopt+:} false; then : 4752 $as_echo_n "(cached) " >&6 4753 else 4754 ac_check_lib_save_LIBS=$LIBS 4755 LIBS="-lsocket $LIBS" 4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4757 /* end confdefs.h. */ 4758 4759 /* Override any GCC internal prototype to avoid an error. 4760 Use char because int might match the return type of a GCC 4761 builtin and then its argument prototype would still apply. */ 4762 #ifdef __cplusplus 4763 extern "C" 4764 #endif 4765 char setsockopt (); 4766 int 4767 main () 4768 { 4769 return setsockopt (); 4770 ; 4771 return 0; 4772 } 4773 _ACEOF 4774 if ac_fn_c_try_link "$LINENO"; then : 4775 ac_cv_lib_socket_setsockopt=yes 4776 else 4777 ac_cv_lib_socket_setsockopt=no 4778 fi 4779 rm -f core conftest.err conftest.$ac_objext \ 4780 conftest$ac_exeext conftest.$ac_ext 4781 LIBS=$ac_check_lib_save_LIBS 4782 fi 4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 4784 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; } 4785 if test "x$ac_cv_lib_socket_setsockopt" = xyes; then : 4786 LIBS="$LIBS -lsocket" 4787 else 4788 tcl_checkBoth=1 4789 fi 4790 4791 fi 4792 4793 fi 4794 if test "$tcl_checkBoth" = 1; then 4795 tk_oldLibs=$LIBS 4796 LIBS="$LIBS -lsocket -lnsl" 4797 ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept" 4798 if test "x$ac_cv_func_accept" = xyes; then : 4799 tcl_checkNsl=0 4800 else 4801 LIBS=$tk_oldLibs 4802 fi 4803 4804 fi 4805 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 4806 if test "x$ac_cv_func_gethostbyname" = xyes; then : 4807 4808 else 4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 4810 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 4811 if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 4812 $as_echo_n "(cached) " >&6 4813 else 4814 ac_check_lib_save_LIBS=$LIBS 4815 LIBS="-lnsl $LIBS" 4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4817 /* end confdefs.h. */ 4818 4819 /* Override any GCC internal prototype to avoid an error. 4820 Use char because int might match the return type of a GCC 4821 builtin and then its argument prototype would still apply. */ 4822 #ifdef __cplusplus 4823 extern "C" 4824 #endif 4825 char gethostbyname (); 4826 int 4827 main () 4828 { 4829 return gethostbyname (); 4830 ; 4831 return 0; 4832 } 4833 _ACEOF 4834 if ac_fn_c_try_link "$LINENO"; then : 4835 ac_cv_lib_nsl_gethostbyname=yes 4836 else 4837 ac_cv_lib_nsl_gethostbyname=no 4838 fi 4839 rm -f core conftest.err conftest.$ac_objext \ 4840 conftest$ac_exeext conftest.$ac_ext 4841 LIBS=$ac_check_lib_save_LIBS 4842 fi 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 4844 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 4845 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 4846 LIBS="$LIBS -lnsl" 4847 fi 4848 4849 fi 4850 4851 4852 # Don't perform the eval of the libraries here because DL_LIBS 4853 # won't be set until we call TEA_CONFIG_CFLAGS 4854 4855 TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}' 4856 4857 4858 4859 4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dirent.h" >&5 4861 $as_echo_n "checking dirent.h... " >&6; } 4862 if ${tcl_cv_dirent_h+:} false; then : 4863 $as_echo_n "(cached) " >&6 4864 else 4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4866 /* end confdefs.h. */ 4867 #include <sys/types.h> 4868 #include <dirent.h> 4869 int 4870 main () 4871 { 4872 4873 #ifndef _POSIX_SOURCE 4874 # ifdef __Lynx__ 4875 /* 4876 * Generate compilation error to make the test fail: Lynx headers 4877 * are only valid if really in the POSIX environment. 4878 */ 4879 4880 missing_procedure(); 4881 # endif 4882 #endif 4883 DIR *d; 4884 struct dirent *entryPtr; 4885 char *p; 4886 d = opendir("foobar"); 4887 entryPtr = readdir(d); 4888 p = entryPtr->d_name; 4889 closedir(d); 4890 4891 ; 4892 return 0; 4893 } 4894 _ACEOF 4895 if ac_fn_c_try_link "$LINENO"; then : 4896 tcl_cv_dirent_h=yes 4897 else 4898 tcl_cv_dirent_h=no 4899 fi 4900 rm -f core conftest.err conftest.$ac_objext \ 4901 conftest$ac_exeext conftest.$ac_ext 4902 fi 4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_dirent_h" >&5 4904 $as_echo "$tcl_cv_dirent_h" >&6; } 4905 4906 if test $tcl_cv_dirent_h = no; then 4907 4908 $as_echo "#define NO_DIRENT_H 1" >>confdefs.h 4909 4910 fi 4911 4912 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4913 if test "x$ac_cv_header_errno_h" = xyes; then : 4914 4915 else 4916 4917 $as_echo "#define NO_ERRNO_H 1" >>confdefs.h 4918 4919 fi 4920 4921 4922 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 4923 if test "x$ac_cv_header_float_h" = xyes; then : 4924 4925 else 4926 4927 $as_echo "#define NO_FLOAT_H 1" >>confdefs.h 4928 4929 fi 4930 4931 4932 ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default" 4933 if test "x$ac_cv_header_values_h" = xyes; then : 4934 4935 else 4936 4937 $as_echo "#define NO_VALUES_H 1" >>confdefs.h 4938 4939 fi 4940 4941 4942 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 4943 if test "x$ac_cv_header_limits_h" = xyes; then : 4944 4945 $as_echo "#define HAVE_LIMITS_H 1" >>confdefs.h 4946 4947 else 4948 4949 $as_echo "#define NO_LIMITS_H 1" >>confdefs.h 4950 4951 fi 4952 4953 4954 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4955 if test "x$ac_cv_header_stdlib_h" = xyes; then : 4956 tcl_ok=1 4957 else 4958 tcl_ok=0 4959 fi 4960 4961 4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4963 /* end confdefs.h. */ 4964 #include <stdlib.h> 4965 4966 _ACEOF 4967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4968 $EGREP "strtol" >/dev/null 2>&1; then : 4969 4970 else 4971 tcl_ok=0 4972 fi 4973 rm -f conftest* 4974 4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4976 /* end confdefs.h. */ 4977 #include <stdlib.h> 4978 4979 _ACEOF 4980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4981 $EGREP "strtoul" >/dev/null 2>&1; then : 4982 4983 else 4984 tcl_ok=0 4985 fi 4986 rm -f conftest* 4987 4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4989 /* end confdefs.h. */ 4990 #include <stdlib.h> 4991 4992 _ACEOF 4993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4994 $EGREP "strtod" >/dev/null 2>&1; then : 4995 4996 else 4997 tcl_ok=0 4998 fi 4999 rm -f conftest* 5000 5001 if test $tcl_ok = 0; then 5002 5003 $as_echo "#define NO_STDLIB_H 1" >>confdefs.h 5004 5005 fi 5006 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 5007 if test "x$ac_cv_header_string_h" = xyes; then : 5008 tcl_ok=1 5009 else 5010 tcl_ok=0 5011 fi 5012 5013 5014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5015 /* end confdefs.h. */ 5016 #include <string.h> 5017 5018 _ACEOF 5019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5020 $EGREP "strstr" >/dev/null 2>&1; then : 5021 5022 else 5023 tcl_ok=0 5024 fi 5025 rm -f conftest* 5026 5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5028 /* end confdefs.h. */ 5029 #include <string.h> 5030 5031 _ACEOF 5032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5033 $EGREP "strerror" >/dev/null 2>&1; then : 5034 5035 else 5036 tcl_ok=0 5037 fi 5038 rm -f conftest* 5039 5040 5041 # See also memmove check below for a place where NO_STRING_H can be 5042 # set and why. 5043 5044 if test $tcl_ok = 0; then 5045 5046 $as_echo "#define NO_STRING_H 1" >>confdefs.h 5047 5048 fi 5049 5050 ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default" 5051 if test "x$ac_cv_header_sys_wait_h" = xyes; then : 5052 5053 else 5054 5055 $as_echo "#define NO_SYS_WAIT_H 1" >>confdefs.h 5056 5057 fi 5058 5059 5060 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 5061 if test "x$ac_cv_header_dlfcn_h" = xyes; then : 5062 5063 else 5064 5065 $as_echo "#define NO_DLFCN_H 1" >>confdefs.h 5066 5067 fi 5068 5069 5070 5071 # OS/390 lacks sys/param.h (and doesn't need it, by chance). 5072 for ac_header in sys/param.h 5073 do : 5074 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" 5075 if test "x$ac_cv_header_sys_param_h" = xyes; then : 5076 cat >>confdefs.h <<_ACEOF 5077 #define HAVE_SYS_PARAM_H 1 5078 _ACEOF 5079 5080 fi 5081 5082 done 5083 5084 5085 # Let the user call this, because if it triggers, they will 5086 # need a compat/strtod.c that is correct. Users can also 5087 # use Tcl_GetDouble(FromObj) instead. 5088 #TEA_BUGGY_STRTOD 5089 fi 5090 5091 ac_ext=f 5092 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 5093 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5094 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 5095 if test -n "$ac_tool_prefix"; then 5096 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor 5097 do 5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5101 $as_echo_n "checking for $ac_word... " >&6; } 5102 if ${ac_cv_prog_F77+:} false; then : 5103 $as_echo_n "(cached) " >&6 5104 else 5105 if test -n "$F77"; then 5106 ac_cv_prog_F77="$F77" # Let the user override the test. 5107 else 5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5109 for as_dir in $PATH 5110 do 5111 IFS=$as_save_IFS 5112 test -z "$as_dir" && as_dir=. 5113 for ac_exec_ext in '' $ac_executable_extensions; do 5114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5115 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5117 break 2 5118 fi 5119 done 5120 done 5121 IFS=$as_save_IFS 5122 5123 fi 5124 fi 5125 F77=$ac_cv_prog_F77 5126 if test -n "$F77"; then 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 5128 $as_echo "$F77" >&6; } 5129 else 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5131 $as_echo "no" >&6; } 5132 fi 5133 5134 5135 test -n "$F77" && break 5136 done 5137 fi 5138 if test -z "$F77"; then 5139 ac_ct_F77=$F77 5140 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor 5141 do 5142 # Extract the first word of "$ac_prog", so it can be a program name with args. 5143 set dummy $ac_prog; ac_word=$2 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5145 $as_echo_n "checking for $ac_word... " >&6; } 5146 if ${ac_cv_prog_ac_ct_F77+:} false; then : 5147 $as_echo_n "(cached) " >&6 5148 else 5149 if test -n "$ac_ct_F77"; then 5150 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 5151 else 5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5153 for as_dir in $PATH 5154 do 5155 IFS=$as_save_IFS 5156 test -z "$as_dir" && as_dir=. 5157 for ac_exec_ext in '' $ac_executable_extensions; do 5158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5159 ac_cv_prog_ac_ct_F77="$ac_prog" 5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5161 break 2 5162 fi 5163 done 5164 done 5165 IFS=$as_save_IFS 5166 5167 fi 5168 fi 5169 ac_ct_F77=$ac_cv_prog_ac_ct_F77 5170 if test -n "$ac_ct_F77"; then 5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 5172 $as_echo "$ac_ct_F77" >&6; } 5173 else 5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5175 $as_echo "no" >&6; } 5176 fi 5177 5178 5179 test -n "$ac_ct_F77" && break 5180 done 5181 5182 if test "x$ac_ct_F77" = x; then 5183 F77="" 5184 else 5185 case $cross_compiling:$ac_tool_warned in 5186 yes:) 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5189 ac_tool_warned=yes ;; 5190 esac 5191 F77=$ac_ct_F77 5192 fi 5193 fi 5194 5195 5196 # Provide some information about the compiler. 5197 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 5198 set X $ac_compile 5199 ac_compiler=$2 5200 for ac_option in --version -v -V -qversion; do 5201 { { ac_try="$ac_compiler $ac_option >&5" 8337 5202 case "(($ac_try" in 8338 5203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8339 5204 *) ac_try_echo=$ac_try;; 8340 5205 esac 8341 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8342 $as_echo "$ac_try_echo" )>&58343 (eval "$ac_c pp conftest.$ac_ext") 2>conftest.er15206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5207 $as_echo "$ac_try_echo"; } >&5 5208 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8344 5209 ac_status=$? 8345 grep -v '^ *+' conftest.er1 >conftest.err 8346 rm -f conftest.er1 8347 cat conftest.err >&5 8348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8349 (exit $ac_status); } >/dev/null && { 8350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8351 test ! -s conftest.err 8352 }; then 8353 : 8354 else 8355 $as_echo "$as_me: failed program was:" >&5 8356 sed 's/^/| /' conftest.$ac_ext >&5 8357 8358 # Broken: fails on valid input. 8359 continue 8360 fi 8361 8362 rm -f conftest.err conftest.$ac_ext 8363 8364 # OK, works on sane cases. Now check whether nonexistent headers 8365 # can be detected and how. 8366 cat >conftest.$ac_ext <<_ACEOF 8367 /* confdefs.h. */ 8368 _ACEOF 8369 cat confdefs.h >>conftest.$ac_ext 8370 cat >>conftest.$ac_ext <<_ACEOF 8371 /* end confdefs.h. */ 8372 #include <ac_nonexistent.h> 8373 _ACEOF 8374 if { (ac_try="$ac_cpp conftest.$ac_ext" 5210 if test -s conftest.err; then 5211 sed '10a\ 5212 ... rest of stderr output deleted ... 5213 10q' conftest.err >conftest.er1 5214 cat conftest.er1 >&5 5215 fi 5216 rm -f conftest.er1 conftest.err 5217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5218 test $ac_status = 0; } 5219 done 5220 rm -f a.out 5221 5222 # If we don't use `.F' as extension, the preprocessor is not run on the 5223 # input file. (Note that this only needs to work for GNU compilers.) 5224 ac_save_ext=$ac_ext 5225 ac_ext=F 5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 5227 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 5228 if ${ac_cv_f77_compiler_gnu+:} false; then : 5229 $as_echo_n "(cached) " >&6 5230 else 5231 cat > conftest.$ac_ext <<_ACEOF 5232 program main 5233 #ifndef __GNUC__ 5234 choke me 5235 #endif 5236 5237 end 5238 _ACEOF 5239 if ac_fn_f77_try_compile "$LINENO"; then : 5240 ac_compiler_gnu=yes 5241 else 5242 ac_compiler_gnu=no 5243 fi 5244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5245 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 5246 5247 fi 5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 5249 $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 5250 ac_ext=$ac_save_ext 5251 ac_test_FFLAGS=${FFLAGS+set} 5252 ac_save_FFLAGS=$FFLAGS 5253 FFLAGS= 5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 5255 $as_echo_n "checking whether $F77 accepts -g... " >&6; } 5256 if ${ac_cv_prog_f77_g+:} false; then : 5257 $as_echo_n "(cached) " >&6 5258 else 5259 FFLAGS=-g 5260 cat > conftest.$ac_ext <<_ACEOF 5261 program main 5262 5263 end 5264 _ACEOF 5265 if ac_fn_f77_try_compile "$LINENO"; then : 5266 ac_cv_prog_f77_g=yes 5267 else 5268 ac_cv_prog_f77_g=no 5269 fi 5270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5271 5272 fi 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 5274 $as_echo "$ac_cv_prog_f77_g" >&6; } 5275 if test "$ac_test_FFLAGS" = set; then 5276 FFLAGS=$ac_save_FFLAGS 5277 elif test $ac_cv_prog_f77_g = yes; then 5278 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 5279 FFLAGS="-g -O2" 5280 else 5281 FFLAGS="-g" 5282 fi 5283 else 5284 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 5285 FFLAGS="-O2" 5286 else 5287 FFLAGS= 5288 fi 5289 fi 5290 5291 if test $ac_compiler_gnu = yes; then 5292 G77=yes 5293 else 5294 G77= 5295 fi 5296 ac_ext=c 5297 ac_cpp='$CPP $CPPFLAGS' 5298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5300 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5301 5302 ac_ext=c 5303 ac_cpp='$CPP $CPPFLAGS' 5304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5306 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5307 if test -n "$ac_tool_prefix"; then 5308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5309 set dummy ${ac_tool_prefix}gcc; ac_word=$2 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5311 $as_echo_n "checking for $ac_word... " >&6; } 5312 if ${ac_cv_prog_CC+:} false; then : 5313 $as_echo_n "(cached) " >&6 5314 else 5315 if test -n "$CC"; then 5316 ac_cv_prog_CC="$CC" # Let the user override the test. 5317 else 5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5319 for as_dir in $PATH 5320 do 5321 IFS=$as_save_IFS 5322 test -z "$as_dir" && as_dir=. 5323 for ac_exec_ext in '' $ac_executable_extensions; do 5324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5325 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5327 break 2 5328 fi 5329 done 5330 done 5331 IFS=$as_save_IFS 5332 5333 fi 5334 fi 5335 CC=$ac_cv_prog_CC 5336 if test -n "$CC"; then 5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5338 $as_echo "$CC" >&6; } 5339 else 5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5341 $as_echo "no" >&6; } 5342 fi 5343 5344 5345 fi 5346 if test -z "$ac_cv_prog_CC"; then 5347 ac_ct_CC=$CC 5348 # Extract the first word of "gcc", so it can be a program name with args. 5349 set dummy gcc; ac_word=$2 5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5351 $as_echo_n "checking for $ac_word... " >&6; } 5352 if ${ac_cv_prog_ac_ct_CC+:} false; then : 5353 $as_echo_n "(cached) " >&6 5354 else 5355 if test -n "$ac_ct_CC"; then 5356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5357 else 5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5359 for as_dir in $PATH 5360 do 5361 IFS=$as_save_IFS 5362 test -z "$as_dir" && as_dir=. 5363 for ac_exec_ext in '' $ac_executable_extensions; do 5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5365 ac_cv_prog_ac_ct_CC="gcc" 5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5367 break 2 5368 fi 5369 done 5370 done 5371 IFS=$as_save_IFS 5372 5373 fi 5374 fi 5375 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5376 if test -n "$ac_ct_CC"; then 5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5378 $as_echo "$ac_ct_CC" >&6; } 5379 else 5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5381 $as_echo "no" >&6; } 5382 fi 5383 5384 if test "x$ac_ct_CC" = x; then 5385 CC="" 5386 else 5387 case $cross_compiling:$ac_tool_warned in 5388 yes:) 5389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5391 ac_tool_warned=yes ;; 5392 esac 5393 CC=$ac_ct_CC 5394 fi 5395 else 5396 CC="$ac_cv_prog_CC" 5397 fi 5398 5399 if test -z "$CC"; then 5400 if test -n "$ac_tool_prefix"; then 5401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5402 set dummy ${ac_tool_prefix}cc; ac_word=$2 5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5404 $as_echo_n "checking for $ac_word... " >&6; } 5405 if ${ac_cv_prog_CC+:} false; then : 5406 $as_echo_n "(cached) " >&6 5407 else 5408 if test -n "$CC"; then 5409 ac_cv_prog_CC="$CC" # Let the user override the test. 5410 else 5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5412 for as_dir in $PATH 5413 do 5414 IFS=$as_save_IFS 5415 test -z "$as_dir" && as_dir=. 5416 for ac_exec_ext in '' $ac_executable_extensions; do 5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5418 ac_cv_prog_CC="${ac_tool_prefix}cc" 5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5420 break 2 5421 fi 5422 done 5423 done 5424 IFS=$as_save_IFS 5425 5426 fi 5427 fi 5428 CC=$ac_cv_prog_CC 5429 if test -n "$CC"; then 5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5431 $as_echo "$CC" >&6; } 5432 else 5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5434 $as_echo "no" >&6; } 5435 fi 5436 5437 5438 fi 5439 fi 5440 if test -z "$CC"; then 5441 # Extract the first word of "cc", so it can be a program name with args. 5442 set dummy cc; ac_word=$2 5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5444 $as_echo_n "checking for $ac_word... " >&6; } 5445 if ${ac_cv_prog_CC+:} false; then : 5446 $as_echo_n "(cached) " >&6 5447 else 5448 if test -n "$CC"; then 5449 ac_cv_prog_CC="$CC" # Let the user override the test. 5450 else 5451 ac_prog_rejected=no 5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5453 for as_dir in $PATH 5454 do 5455 IFS=$as_save_IFS 5456 test -z "$as_dir" && as_dir=. 5457 for ac_exec_ext in '' $ac_executable_extensions; do 5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5460 ac_prog_rejected=yes 5461 continue 5462 fi 5463 ac_cv_prog_CC="cc" 5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5465 break 2 5466 fi 5467 done 5468 done 5469 IFS=$as_save_IFS 5470 5471 if test $ac_prog_rejected = yes; then 5472 # We found a bogon in the path, so make sure we never use it. 5473 set dummy $ac_cv_prog_CC 5474 shift 5475 if test $# != 0; then 5476 # We chose a different compiler from the bogus one. 5477 # However, it has the same basename, so the bogon will be chosen 5478 # first if we set CC to just the basename; use the full file name. 5479 shift 5480 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5481 fi 5482 fi 5483 fi 5484 fi 5485 CC=$ac_cv_prog_CC 5486 if test -n "$CC"; then 5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5488 $as_echo "$CC" >&6; } 5489 else 5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5491 $as_echo "no" >&6; } 5492 fi 5493 5494 5495 fi 5496 if test -z "$CC"; then 5497 if test -n "$ac_tool_prefix"; then 5498 for ac_prog in cl.exe 5499 do 5500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5503 $as_echo_n "checking for $ac_word... " >&6; } 5504 if ${ac_cv_prog_CC+:} false; then : 5505 $as_echo_n "(cached) " >&6 5506 else 5507 if test -n "$CC"; then 5508 ac_cv_prog_CC="$CC" # Let the user override the test. 5509 else 5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5511 for as_dir in $PATH 5512 do 5513 IFS=$as_save_IFS 5514 test -z "$as_dir" && as_dir=. 5515 for ac_exec_ext in '' $ac_executable_extensions; do 5516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5519 break 2 5520 fi 5521 done 5522 done 5523 IFS=$as_save_IFS 5524 5525 fi 5526 fi 5527 CC=$ac_cv_prog_CC 5528 if test -n "$CC"; then 5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5530 $as_echo "$CC" >&6; } 5531 else 5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5533 $as_echo "no" >&6; } 5534 fi 5535 5536 5537 test -n "$CC" && break 5538 done 5539 fi 5540 if test -z "$CC"; then 5541 ac_ct_CC=$CC 5542 for ac_prog in cl.exe 5543 do 5544 # Extract the first word of "$ac_prog", so it can be a program name with args. 5545 set dummy $ac_prog; ac_word=$2 5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5547 $as_echo_n "checking for $ac_word... " >&6; } 5548 if ${ac_cv_prog_ac_ct_CC+:} false; then : 5549 $as_echo_n "(cached) " >&6 5550 else 5551 if test -n "$ac_ct_CC"; then 5552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5553 else 5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5555 for as_dir in $PATH 5556 do 5557 IFS=$as_save_IFS 5558 test -z "$as_dir" && as_dir=. 5559 for ac_exec_ext in '' $ac_executable_extensions; do 5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5561 ac_cv_prog_ac_ct_CC="$ac_prog" 5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5563 break 2 5564 fi 5565 done 5566 done 5567 IFS=$as_save_IFS 5568 5569 fi 5570 fi 5571 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5572 if test -n "$ac_ct_CC"; then 5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5574 $as_echo "$ac_ct_CC" >&6; } 5575 else 5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5577 $as_echo "no" >&6; } 5578 fi 5579 5580 5581 test -n "$ac_ct_CC" && break 5582 done 5583 5584 if test "x$ac_ct_CC" = x; then 5585 CC="" 5586 else 5587 case $cross_compiling:$ac_tool_warned in 5588 yes:) 5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5591 ac_tool_warned=yes ;; 5592 esac 5593 CC=$ac_ct_CC 5594 fi 5595 fi 5596 5597 fi 5598 5599 5600 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5602 as_fn_error $? "no acceptable C compiler found in \$PATH 5603 See \`config.log' for more details" "$LINENO" 5; } 5604 5605 # Provide some information about the compiler. 5606 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5607 set X $ac_compile 5608 ac_compiler=$2 5609 for ac_option in --version -v -V -qversion; do 5610 { { ac_try="$ac_compiler $ac_option >&5" 8375 5611 case "(($ac_try" in 8376 5612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8377 5613 *) ac_try_echo=$ac_try;; 8378 5614 esac 8379 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8380 $as_echo "$ac_try_echo" )>&58381 (eval "$ac_c pp conftest.$ac_ext") 2>conftest.er15615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5616 $as_echo "$ac_try_echo"; } >&5 5617 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8382 5618 ac_status=$? 8383 grep -v '^ *+' conftest.er1 >conftest.err 8384 rm -f conftest.er1 8385 cat conftest.err >&5 8386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8387 (exit $ac_status); } >/dev/null && { 8388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8389 test ! -s conftest.err 8390 }; then 5619 if test -s conftest.err; then 5620 sed '10a\ 5621 ... rest of stderr output deleted ... 5622 10q' conftest.err >conftest.er1 5623 cat conftest.er1 >&5 5624 fi 5625 rm -f conftest.er1 conftest.err 5626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5627 test $ac_status = 0; } 5628 done 5629 5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5631 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5632 if ${ac_cv_c_compiler_gnu+:} false; then : 5633 $as_echo_n "(cached) " >&6 5634 else 5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5636 /* end confdefs.h. */ 5637 5638 int 5639 main () 5640 { 5641 #ifndef __GNUC__ 5642 choke me 5643 #endif 5644 5645 ; 5646 return 0; 5647 } 5648 _ACEOF 5649 if ac_fn_c_try_compile "$LINENO"; then : 5650 ac_compiler_gnu=yes 5651 else 5652 ac_compiler_gnu=no 5653 fi 5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5655 ac_cv_c_compiler_gnu=$ac_compiler_gnu 5656 5657 fi 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5659 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 5660 if test $ac_compiler_gnu = yes; then 5661 GCC=yes 5662 else 5663 GCC= 5664 fi 5665 ac_test_CFLAGS=${CFLAGS+set} 5666 ac_save_CFLAGS=$CFLAGS 5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5668 $as_echo_n "checking whether $CC accepts -g... " >&6; } 5669 if ${ac_cv_prog_cc_g+:} false; then : 5670 $as_echo_n "(cached) " >&6 5671 else 5672 ac_save_c_werror_flag=$ac_c_werror_flag 5673 ac_c_werror_flag=yes 5674 ac_cv_prog_cc_g=no 5675 CFLAGS="-g" 5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5677 /* end confdefs.h. */ 5678 5679 int 5680 main () 5681 { 5682 5683 ; 5684 return 0; 5685 } 5686 _ACEOF 5687 if ac_fn_c_try_compile "$LINENO"; then : 5688 ac_cv_prog_cc_g=yes 5689 else 5690 CFLAGS="" 5691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5692 /* end confdefs.h. */ 5693 5694 int 5695 main () 5696 { 5697 5698 ; 5699 return 0; 5700 } 5701 _ACEOF 5702 if ac_fn_c_try_compile "$LINENO"; then : 5703 5704 else 5705 ac_c_werror_flag=$ac_save_c_werror_flag 5706 CFLAGS="-g" 5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5708 /* end confdefs.h. */ 5709 5710 int 5711 main () 5712 { 5713 5714 ; 5715 return 0; 5716 } 5717 _ACEOF 5718 if ac_fn_c_try_compile "$LINENO"; then : 5719 ac_cv_prog_cc_g=yes 5720 fi 5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5722 fi 5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5724 fi 5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5726 ac_c_werror_flag=$ac_save_c_werror_flag 5727 fi 5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5729 $as_echo "$ac_cv_prog_cc_g" >&6; } 5730 if test "$ac_test_CFLAGS" = set; then 5731 CFLAGS=$ac_save_CFLAGS 5732 elif test $ac_cv_prog_cc_g = yes; then 5733 if test "$GCC" = yes; then 5734 CFLAGS="-g -O2" 5735 else 5736 CFLAGS="-g" 5737 fi 5738 else 5739 if test "$GCC" = yes; then 5740 CFLAGS="-O2" 5741 else 5742 CFLAGS= 5743 fi 5744 fi 5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5746 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5747 if ${ac_cv_prog_cc_c89+:} false; then : 5748 $as_echo_n "(cached) " >&6 5749 else 5750 ac_cv_prog_cc_c89=no 5751 ac_save_CC=$CC 5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5753 /* end confdefs.h. */ 5754 #include <stdarg.h> 5755 #include <stdio.h> 5756 struct stat; 5757 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5758 struct buf { int x; }; 5759 FILE * (*rcsopen) (struct buf *, struct stat *, int); 5760 static char *e (p, i) 5761 char **p; 5762 int i; 5763 { 5764 return p[i]; 5765 } 5766 static char *f (char * (*g) (char **, int), char **p, ...) 5767 { 5768 char *s; 5769 va_list v; 5770 va_start (v,p); 5771 s = g (p, va_arg (v,int)); 5772 va_end (v); 5773 return s; 5774 } 5775 5776 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5777 function prototypes and stuff, but not '\xHH' hex character constants. 5778 These don't provoke an error unfortunately, instead are silently treated 5779 as 'x'. The following induces an error, until -std is added to get 5780 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5781 array size at least. It's necessary to write '\x00'==0 to get something 5782 that's true only with -std. */ 5783 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5784 5785 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5786 inside strings and character constants. */ 5787 #define FOO(x) 'x' 5788 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5789 5790 int test (int i, double x); 5791 struct s1 {int (*f) (int a);}; 5792 struct s2 {int (*f) (double a);}; 5793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5794 int argc; 5795 char **argv; 5796 int 5797 main () 5798 { 5799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5800 ; 5801 return 0; 5802 } 5803 _ACEOF 5804 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5805 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5806 do 5807 CC="$ac_save_CC $ac_arg" 5808 if ac_fn_c_try_compile "$LINENO"; then : 5809 ac_cv_prog_cc_c89=$ac_arg 5810 fi 5811 rm -f core conftest.err conftest.$ac_objext 5812 test "x$ac_cv_prog_cc_c89" != "xno" && break 5813 done 5814 rm -f conftest.$ac_ext 5815 CC=$ac_save_CC 5816 5817 fi 5818 # AC_CACHE_VAL 5819 case "x$ac_cv_prog_cc_c89" in 5820 x) 5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5822 $as_echo "none needed" >&6; } ;; 5823 xno) 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5825 $as_echo "unsupported" >&6; } ;; 5826 *) 5827 CC="$CC $ac_cv_prog_cc_c89" 5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5829 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5830 esac 5831 if test "x$ac_cv_prog_cc_c89" != xno; then : 5832 5833 fi 5834 5835 ac_ext=c 5836 ac_cpp='$CPP $CPPFLAGS' 5837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5839 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5840 5841 ac_ext=c 5842 ac_cpp='$CPP $CPPFLAGS' 5843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5845 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5847 $as_echo_n "checking how to run the C preprocessor... " >&6; } 5848 # On Suns, sometimes $CPP names a directory. 5849 if test -n "$CPP" && test -d "$CPP"; then 5850 CPP= 5851 fi 5852 if test -z "$CPP"; then 5853 if ${ac_cv_prog_CPP+:} false; then : 5854 $as_echo_n "(cached) " >&6 5855 else 5856 # Double quotes because CPP needs to be expanded 5857 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5858 do 5859 ac_preproc_ok=false 5860 for ac_c_preproc_warn_flag in '' yes 5861 do 5862 # Use a header file that comes with gcc, so configuring glibc 5863 # with a fresh cross-compiler works. 5864 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5865 # <limits.h> exists even on freestanding compilers. 5866 # On the NeXT, cc -E runs the code through the compiler's parser, 5867 # not just through cpp. "Syntax error" is here to catch this case. 5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5869 /* end confdefs.h. */ 5870 #ifdef __STDC__ 5871 # include <limits.h> 5872 #else 5873 # include <assert.h> 5874 #endif 5875 Syntax error 5876 _ACEOF 5877 if ac_fn_c_try_cpp "$LINENO"; then : 5878 5879 else 5880 # Broken: fails on valid input. 5881 continue 5882 fi 5883 rm -f conftest.err conftest.i conftest.$ac_ext 5884 5885 # OK, works on sane cases. Now check whether nonexistent headers 5886 # can be detected and how. 5887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5888 /* end confdefs.h. */ 5889 #include <ac_nonexistent.h> 5890 _ACEOF 5891 if ac_fn_c_try_cpp "$LINENO"; then : 8391 5892 # Broken: success on invalid input. 8392 5893 continue 8393 5894 else 8394 $as_echo "$as_me: failed program was:" >&58395 sed 's/^/| /' conftest.$ac_ext >&58396 8397 5895 # Passes both tests. 8398 5896 ac_preproc_ok=: 8399 5897 break 8400 5898 fi 8401 8402 rm -f conftest.err conftest.$ac_ext 5899 rm -f conftest.err conftest.i conftest.$ac_ext 8403 5900 8404 5901 done 8405 5902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8406 rm -f conftest.err conftest.$ac_ext 8407 if $ac_preproc_ok; then 8408 : 8409 else 8410 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 8411 See \`config.log' for more details." >&5 8412 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 8413 See \`config.log' for more details." >&2;} 8414 { (exit 1); exit 1; }; } 5903 rm -f conftest.i conftest.err conftest.$ac_ext 5904 if $ac_preproc_ok; then : 5905 break 5906 fi 5907 5908 done 5909 ac_cv_prog_CPP=$CPP 5910 5911 fi 5912 CPP=$ac_cv_prog_CPP 5913 else 5914 ac_cv_prog_CPP=$CPP 5915 fi 5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5917 $as_echo "$CPP" >&6; } 5918 ac_preproc_ok=false 5919 for ac_c_preproc_warn_flag in '' yes 5920 do 5921 # Use a header file that comes with gcc, so configuring glibc 5922 # with a fresh cross-compiler works. 5923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5924 # <limits.h> exists even on freestanding compilers. 5925 # On the NeXT, cc -E runs the code through the compiler's parser, 5926 # not just through cpp. "Syntax error" is here to catch this case. 5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5928 /* end confdefs.h. */ 5929 #ifdef __STDC__ 5930 # include <limits.h> 5931 #else 5932 # include <assert.h> 5933 #endif 5934 Syntax error 5935 _ACEOF 5936 if ac_fn_c_try_cpp "$LINENO"; then : 5937 5938 else 5939 # Broken: fails on valid input. 5940 continue 5941 fi 5942 rm -f conftest.err conftest.i conftest.$ac_ext 5943 5944 # OK, works on sane cases. Now check whether nonexistent headers 5945 # can be detected and how. 5946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5947 /* end confdefs.h. */ 5948 #include <ac_nonexistent.h> 5949 _ACEOF 5950 if ac_fn_c_try_cpp "$LINENO"; then : 5951 # Broken: success on invalid input. 5952 continue 5953 else 5954 # Passes both tests. 5955 ac_preproc_ok=: 5956 break 5957 fi 5958 rm -f conftest.err conftest.i conftest.$ac_ext 5959 5960 done 5961 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5962 rm -f conftest.i conftest.err conftest.$ac_ext 5963 if $ac_preproc_ok; then : 5964 5965 else 5966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5968 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5969 See \`config.log' for more details" "$LINENO" 5; } 8415 5970 fi 8416 5971 … … 8435 5990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8436 5991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8437 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&55992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8438 5993 $as_echo_n "checking for $ac_word... " >&6; } 8439 if test "${ac_cv_prog_CXX+set}" = set; then5994 if ${ac_cv_prog_CXX+:} false; then : 8440 5995 $as_echo_n "(cached) " >&6 8441 5996 else … … 8448 6003 IFS=$as_save_IFS 8449 6004 test -z "$as_dir" && as_dir=. 8450 for ac_exec_ext in '' $ac_executable_extensions; do8451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6005 for ac_exec_ext in '' $ac_executable_extensions; do 6006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8452 6007 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 8453 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8454 6009 break 2 8455 6010 fi 8456 6011 done 8457 done6012 done 8458 6013 IFS=$as_save_IFS 8459 6014 … … 8462 6017 CXX=$ac_cv_prog_CXX 8463 6018 if test -n "$CXX"; then 8464 { $as_echo "$as_me:$ LINENO: result: $CXX" >&56019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 8465 6020 $as_echo "$CXX" >&6; } 8466 6021 else 8467 { $as_echo "$as_me:$ LINENO: result: no" >&56022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8468 6023 $as_echo "no" >&6; } 8469 6024 fi … … 8479 6034 # Extract the first word of "$ac_prog", so it can be a program name with args. 8480 6035 set dummy $ac_prog; ac_word=$2 8481 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&56036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8482 6037 $as_echo_n "checking for $ac_word... " >&6; } 8483 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then6038 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 8484 6039 $as_echo_n "(cached) " >&6 8485 6040 else … … 8492 6047 IFS=$as_save_IFS 8493 6048 test -z "$as_dir" && as_dir=. 8494 for ac_exec_ext in '' $ac_executable_extensions; do8495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6049 for ac_exec_ext in '' $ac_executable_extensions; do 6050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8496 6051 ac_cv_prog_ac_ct_CXX="$ac_prog" 8497 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&56052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8498 6053 break 2 8499 6054 fi 8500 6055 done 8501 done6056 done 8502 6057 IFS=$as_save_IFS 8503 6058 … … 8506 6061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 8507 6062 if test -n "$ac_ct_CXX"; then 8508 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&56063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 8509 6064 $as_echo "$ac_ct_CXX" >&6; } 8510 6065 else 8511 { $as_echo "$as_me:$ LINENO: result: no" >&56066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8512 6067 $as_echo "no" >&6; } 8513 6068 fi … … 8522 6077 case $cross_compiling:$ac_tool_warned in 8523 6078 yes:) 8524 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 8525 whose name does not start with the host triplet. If you think this 8526 configuration is useful to you, please write to autoconf@gnu.org." >&5 8527 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 8528 whose name does not start with the host triplet. If you think this 8529 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8530 6081 ac_tool_warned=yes ;; 8531 6082 esac … … 8537 6088 fi 8538 6089 # Provide some information about the compiler. 8539 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&56090 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 8540 6091 set X $ac_compile 8541 6092 ac_compiler=$2 8542 { (ac_try="$ac_compiler --version >&5" 6093 for ac_option in --version -v -V -qversion; do 6094 { { ac_try="$ac_compiler $ac_option >&5" 8543 6095 case "(($ac_try" in 8544 6096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8545 6097 *) ac_try_echo=$ac_try;; 8546 6098 esac 8547 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""8548 $as_echo "$ac_try_echo" )>&58549 (eval "$ac_compiler --version >&5") 2>&56099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6100 $as_echo "$ac_try_echo"; } >&5 6101 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 8550 6102 ac_status=$? 8551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8552 (exit $ac_status); } 8553 { (ac_try="$ac_compiler -v >&5" 8554 case "(($ac_try" in 8555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8556 *) ac_try_echo=$ac_try;; 8557 esac 8558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8559 $as_echo "$ac_try_echo") >&5 8560 (eval "$ac_compiler -v >&5") 2>&5 8561 ac_status=$? 8562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8563 (exit $ac_status); } 8564 { (ac_try="$ac_compiler -V >&5" 8565 case "(($ac_try" in 8566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8567 *) ac_try_echo=$ac_try;; 8568 esac 8569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8570 $as_echo "$ac_try_echo") >&5 8571 (eval "$ac_compiler -V >&5") 2>&5 8572 ac_status=$? 8573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8574 (exit $ac_status); } 8575 8576 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 6103 if test -s conftest.err; then 6104 sed '10a\ 6105 ... rest of stderr output deleted ... 6106 10q' conftest.err >conftest.er1 6107 cat conftest.er1 >&5 6108 fi 6109 rm -f conftest.er1 conftest.err 6110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6111 test $ac_status = 0; } 6112 done 6113 6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 8577 6115 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 8578 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then6116 if ${ac_cv_cxx_compiler_gnu+:} false; then : 8579 6117 $as_echo_n "(cached) " >&6 8580 6118 else 8581 cat >conftest.$ac_ext <<_ACEOF 8582 /* confdefs.h. */ 8583 _ACEOF 8584 cat confdefs.h >>conftest.$ac_ext 8585 cat >>conftest.$ac_ext <<_ACEOF 6119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8586 6120 /* end confdefs.h. */ 8587 6121 … … 8597 6131 } 8598 6132 _ACEOF 8599 rm -f conftest.$ac_objext 8600 if { (ac_try="$ac_compile" 8601 case "(($ac_try" in 8602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8603 *) ac_try_echo=$ac_try;; 8604 esac 8605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8606 $as_echo "$ac_try_echo") >&5 8607 (eval "$ac_compile") 2>conftest.er1 8608 ac_status=$? 8609 grep -v '^ *+' conftest.er1 >conftest.err 8610 rm -f conftest.er1 8611 cat conftest.err >&5 8612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8613 (exit $ac_status); } && { 8614 test -z "$ac_cxx_werror_flag" || 8615 test ! -s conftest.err 8616 } && test -s conftest.$ac_objext; then 6133 if ac_fn_cxx_try_compile "$LINENO"; then : 8617 6134 ac_compiler_gnu=yes 8618 6135 else 8619 $as_echo "$as_me: failed program was:" >&5 8620 sed 's/^/| /' conftest.$ac_ext >&5 8621 8622 ac_compiler_gnu=no 8623 fi 8624 6136 ac_compiler_gnu=no 6137 fi 8625 6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8626 6139 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 8627 6140 8628 6141 fi 8629 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&56142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 8630 6143 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 8631 6144 if test $ac_compiler_gnu = yes; then … … 8636 6149 ac_test_CXXFLAGS=${CXXFLAGS+set} 8637 6150 ac_save_CXXFLAGS=$CXXFLAGS 8638 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&56151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 8639 6152 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 8640 if test "${ac_cv_prog_cxx_g+set}" = set; then6153 if ${ac_cv_prog_cxx_g+:} false; then : 8641 6154 $as_echo_n "(cached) " >&6 8642 6155 else … … 8645 6158 ac_cv_prog_cxx_g=no 8646 6159 CXXFLAGS="-g" 8647 cat >conftest.$ac_ext <<_ACEOF 8648 /* confdefs.h. */ 8649 _ACEOF 8650 cat confdefs.h >>conftest.$ac_ext 8651 cat >>conftest.$ac_ext <<_ACEOF 6160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8652 6161 /* end confdefs.h. */ 8653 6162 … … 8660 6169 } 8661 6170 _ACEOF 8662 rm -f conftest.$ac_objext 8663 if { (ac_try="$ac_compile" 8664 case "(($ac_try" in 8665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8666 *) ac_try_echo=$ac_try;; 8667 esac 8668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8669 $as_echo "$ac_try_echo") >&5 8670 (eval "$ac_compile") 2>conftest.er1 8671 ac_status=$? 8672 grep -v '^ *+' conftest.er1 >conftest.err 8673 rm -f conftest.er1 8674 cat conftest.err >&5 8675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8676 (exit $ac_status); } && { 8677 test -z "$ac_cxx_werror_flag" || 8678 test ! -s conftest.err 8679 } && test -s conftest.$ac_objext; then 6171 if ac_fn_cxx_try_compile "$LINENO"; then : 8680 6172 ac_cv_prog_cxx_g=yes 8681 6173 else 8682 $as_echo "$as_me: failed program was:" >&5 8683 sed 's/^/| /' conftest.$ac_ext >&5 8684 8685 CXXFLAGS="" 8686 cat >conftest.$ac_ext <<_ACEOF 8687 /* confdefs.h. */ 8688 _ACEOF 8689 cat confdefs.h >>conftest.$ac_ext 8690 cat >>conftest.$ac_ext <<_ACEOF 6174 CXXFLAGS="" 6175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8691 6176 /* end confdefs.h. */ 8692 6177 … … 8699 6184 } 8700 6185 _ACEOF 8701 rm -f conftest.$ac_objext 8702 if { (ac_try="$ac_compile" 8703 case "(($ac_try" in 8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8705 *) ac_try_echo=$ac_try;; 8706 esac 8707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8708 $as_echo "$ac_try_echo") >&5 8709 (eval "$ac_compile") 2>conftest.er1 8710 ac_status=$? 8711 grep -v '^ *+' conftest.er1 >conftest.err 8712 rm -f conftest.er1 8713 cat conftest.err >&5 8714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8715 (exit $ac_status); } && { 8716 test -z "$ac_cxx_werror_flag" || 8717 test ! -s conftest.err 8718 } && test -s conftest.$ac_objext; then 8719 : 8720 else 8721 $as_echo "$as_me: failed program was:" >&5 8722 sed 's/^/| /' conftest.$ac_ext >&5 8723 8724 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 6186 if ac_fn_cxx_try_compile "$LINENO"; then : 6187 6188 else 6189 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8725 6190 CXXFLAGS="-g" 8726 cat >conftest.$ac_ext <<_ACEOF 8727 /* confdefs.h. */ 8728 _ACEOF 8729 cat confdefs.h >>conftest.$ac_ext 8730 cat >>conftest.$ac_ext <<_ACEOF 6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8731 6192 /* end confdefs.h. */ 8732 6193 … … 8739 6200 } 8740 6201 _ACEOF 8741 rm -f conftest.$ac_objext 8742 if { (ac_try="$ac_compile" 8743 case "(($ac_try" in 8744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8745 *) ac_try_echo=$ac_try;; 8746 esac 8747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8748 $as_echo "$ac_try_echo") >&5 8749 (eval "$ac_compile") 2>conftest.er1 8750 ac_status=$? 8751 grep -v '^ *+' conftest.er1 >conftest.err 8752 rm -f conftest.er1 8753 cat conftest.err >&5 8754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8755 (exit $ac_status); } && { 8756 test -z "$ac_cxx_werror_flag" || 8757 test ! -s conftest.err 8758 } && test -s conftest.$ac_objext; then 6202 if ac_fn_cxx_try_compile "$LINENO"; then : 8759 6203 ac_cv_prog_cxx_g=yes 8760 else 8761 $as_echo "$as_me: failed program was:" >&5 8762 sed 's/^/| /' conftest.$ac_ext >&5 8763 8764 8765 fi 8766 6204 fi 8767 6205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8768 6206 fi 8769 8770 6207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8771 6208 fi 8772 8773 6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8774 6210 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 8775 6211 fi 8776 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&56212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 8777 6213 $as_echo "$ac_cv_prog_cxx_g" >&6; } 8778 6214 if test "$ac_test_CXXFLAGS" = set; then … … 8821 6257 -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \ 8822 6258 ; then 8823 { { $as_echo "$as_me:$LINENO: error: could not find source file '$i'" >&5 8824 $as_echo "$as_me: error: could not find source file '$i'" >&2;} 8825 { (exit 1); exit 1; }; } 6259 as_fn_error $? "could not find source file '$i'" "$LINENO" 5 8826 6260 fi 8827 6261 PKG_SOURCES="$PKG_SOURCES $i" … … 8846 6280 # check for existence, be strict because it is installed 8847 6281 if test ! -f "${srcdir}/$i" ; then 8848 { { $as_echo "$as_me:$LINENO: error: could not find header file '${srcdir}/$i'" >&5 8849 $as_echo "$as_me: error: could not find header file '${srcdir}/$i'" >&2;} 8850 { (exit 1); exit 1; }; } 6282 as_fn_error $? "could not find header file '${srcdir}/$i'" "$LINENO" 5 8851 6283 fi 8852 6284 PKG_HEADERS="$PKG_HEADERS $i" … … 8872 6304 -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \ 8873 6305 ; then 8874 { { $as_echo "$as_me:$LINENO: error: could not find stub source file '$i'" >&5 8875 $as_echo "$as_me: error: could not find stub source file '$i'" >&2;} 8876 { (exit 1); exit 1; }; } 6306 as_fn_error $? "could not find stub source file '$i'" "$LINENO" 5 8877 6307 fi 8878 6308 PKG_STUB_SOURCES="$PKG_STUB_SOURCES $i" … … 8898 6328 # check for existence, be strict because it is installed 8899 6329 if test ! -f "${srcdir}/$i" ; then 8900 { { $as_echo "$as_me:$LINENO: error: could not find tcl source file '${srcdir}/$i'" >&5 8901 $as_echo "$as_me: error: could not find tcl source file '${srcdir}/$i'" >&2;} 8902 { (exit 1); exit 1; }; } 6330 as_fn_error $? "could not find tcl source file '${srcdir}/$i'" "$LINENO" 5 8903 6331 fi 8904 6332 PKG_TCL_SOURCES="$PKG_TCL_SOURCES $i" … … 8934 6362 if test "${TEA_PLATFORM}" = "windows" ; then 8935 6363 8936 cat >>confdefs.h <<\_ACEOF 8937 #define BUILD_rappture 1 8938 _ACEOF 6364 $as_echo "#define BUILD_rappture 1" >>confdefs.h 8939 6365 8940 6366 CLEANFILES="*.lib *.dll *.exp *.ilk *.pdb vc*.pch" … … 8992 6418 8993 6419 8994 { $as_echo "$as_me:$ LINENO: checking for Tcl public headers" >&56420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl public headers" >&5 8995 6421 $as_echo_n "checking for Tcl public headers... " >&6; } 8996 6422 8997 6423 8998 6424 # Check whether --with-tclinclude was given. 8999 if test "${with_tclinclude+set}" = set; then 6425 if test "${with_tclinclude+set}" = set; then : 9000 6426 withval=$with_tclinclude; with_tclinclude=${withval} 9001 6427 fi 9002 6428 9003 6429 9004 if test "${ac_cv_c_tclh+set}" = set; then6430 if ${ac_cv_c_tclh+:} false; then : 9005 6431 $as_echo_n "(cached) " >&6 9006 6432 else … … 9012 6438 ac_cv_c_tclh=${with_tclinclude} 9013 6439 else 9014 { { $as_echo "$as_me:$LINENO: error: ${with_tclinclude} directory does not contain tcl.h" >&5 9015 $as_echo "$as_me: error: ${with_tclinclude} directory does not contain tcl.h" >&2;} 9016 { (exit 1); exit 1; }; } 6440 as_fn_error $? "${with_tclinclude} directory does not contain tcl.h" "$LINENO" 5 9017 6441 fi 9018 6442 else … … 9062 6486 9063 6487 if test x"${ac_cv_c_tclh}" = x ; then 9064 { { $as_echo "$as_me:$LINENO: error: tcl.h not found. Please specify its location with --with-tclinclude" >&5 9065 $as_echo "$as_me: error: tcl.h not found. Please specify its location with --with-tclinclude" >&2;} 9066 { (exit 1); exit 1; }; } 6488 as_fn_error $? "tcl.h not found. Please specify its location with --with-tclinclude" "$LINENO" 5 9067 6489 else 9068 { $as_echo "$as_me:$ LINENO: result: ${ac_cv_c_tclh}" >&56490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_c_tclh}" >&5 9069 6491 $as_echo "${ac_cv_c_tclh}" >&6; } 9070 6492 fi … … 9091 6513 9092 6514 # Check whether --enable-threads was given. 9093 if test "${enable_threads+set}" = set; then 6515 if test "${enable_threads+set}" = set; then : 9094 6516 enableval=$enable_threads; tcl_ok=$enableval 9095 6517 else … … 9114 6536 # allocator that significantly reduces lock contention 9115 6537 9116 cat >>confdefs.h <<\_ACEOF 9117 #define USE_THREAD_ALLOC 1 9118 _ACEOF 9119 9120 9121 cat >>confdefs.h <<\_ACEOF 9122 #define _REENTRANT 1 9123 _ACEOF 6538 $as_echo "#define USE_THREAD_ALLOC 1" >>confdefs.h 6539 6540 6541 $as_echo "#define _REENTRANT 1" >>confdefs.h 9124 6542 9125 6543 if test "`uname -s`" = "SunOS" ; then 9126 6544 9127 cat >>confdefs.h <<\_ACEOF 9128 #define _POSIX_PTHREAD_SEMANTICS 1 9129 _ACEOF 6545 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 9130 6546 9131 6547 fi 9132 6548 9133 cat >>confdefs.h <<\_ACEOF 9134 #define _THREAD_SAFE 1 9135 _ACEOF 9136 9137 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5 6549 $as_echo "#define _THREAD_SAFE 1" >>confdefs.h 6550 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 9138 6552 $as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 9139 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then6553 if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 9140 6554 $as_echo_n "(cached) " >&6 9141 6555 else 9142 6556 ac_check_lib_save_LIBS=$LIBS 9143 6557 LIBS="-lpthread $LIBS" 9144 cat >conftest.$ac_ext <<_ACEOF 9145 /* confdefs.h. */ 9146 _ACEOF 9147 cat confdefs.h >>conftest.$ac_ext 9148 cat >>conftest.$ac_ext <<_ACEOF 6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9149 6559 /* end confdefs.h. */ 9150 6560 … … 9164 6574 } 9165 6575 _ACEOF 9166 rm -f conftest.$ac_objext conftest$ac_exeext 9167 if { (ac_try="$ac_link" 9168 case "(($ac_try" in 9169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9170 *) ac_try_echo=$ac_try;; 9171 esac 9172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9173 $as_echo "$ac_try_echo") >&5 9174 (eval "$ac_link") 2>conftest.er1 9175 ac_status=$? 9176 grep -v '^ *+' conftest.er1 >conftest.err 9177 rm -f conftest.er1 9178 cat conftest.err >&5 9179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9180 (exit $ac_status); } && { 9181 test -z "$ac_c_werror_flag" || 9182 test ! -s conftest.err 9183 } && test -s conftest$ac_exeext && { 9184 test "$cross_compiling" = yes || 9185 $as_test_x conftest$ac_exeext 9186 }; then 6576 if ac_fn_c_try_link "$LINENO"; then : 9187 6577 ac_cv_lib_pthread_pthread_mutex_init=yes 9188 6578 else 9189 $as_echo "$as_me: failed program was:" >&5 9190 sed 's/^/| /' conftest.$ac_ext >&5 9191 9192 ac_cv_lib_pthread_pthread_mutex_init=no 9193 fi 9194 9195 rm -rf conftest.dSYM 9196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9197 conftest$ac_exeext conftest.$ac_ext 6579 ac_cv_lib_pthread_pthread_mutex_init=no 6580 fi 6581 rm -f core conftest.err conftest.$ac_objext \ 6582 conftest$ac_exeext conftest.$ac_ext 9198 6583 LIBS=$ac_check_lib_save_LIBS 9199 6584 fi 9200 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&56585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 9201 6586 $as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 9202 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then6587 if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 9203 6588 tcl_ok=yes 9204 6589 else … … 9212 6597 # pthread.h, but that will work with libpthread really doesn't 9213 6598 # exist, like AIX 4.2. [Bug: 4359] 9214 { $as_echo "$as_me:$ LINENO: checking for __pthread_mutex_init in -lpthread" >&56599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_mutex_init in -lpthread" >&5 9215 6600 $as_echo_n "checking for __pthread_mutex_init in -lpthread... " >&6; } 9216 if test "${ac_cv_lib_pthread___pthread_mutex_init+set}" = set; then6601 if ${ac_cv_lib_pthread___pthread_mutex_init+:} false; then : 9217 6602 $as_echo_n "(cached) " >&6 9218 6603 else 9219 6604 ac_check_lib_save_LIBS=$LIBS 9220 6605 LIBS="-lpthread $LIBS" 9221 cat >conftest.$ac_ext <<_ACEOF 9222 /* confdefs.h. */ 9223 _ACEOF 9224 cat confdefs.h >>conftest.$ac_ext 9225 cat >>conftest.$ac_ext <<_ACEOF 6606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9226 6607 /* end confdefs.h. */ 9227 6608 … … 9241 6622 } 9242 6623 _ACEOF 9243 rm -f conftest.$ac_objext conftest$ac_exeext 9244 if { (ac_try="$ac_link" 9245 case "(($ac_try" in 9246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9247 *) ac_try_echo=$ac_try;; 9248 esac 9249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9250 $as_echo "$ac_try_echo") >&5 9251 (eval "$ac_link") 2>conftest.er1 9252 ac_status=$? 9253 grep -v '^ *+' conftest.er1 >conftest.err 9254 rm -f conftest.er1 9255 cat conftest.err >&5 9256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9257 (exit $ac_status); } && { 9258 test -z "$ac_c_werror_flag" || 9259 test ! -s conftest.err 9260 } && test -s conftest$ac_exeext && { 9261 test "$cross_compiling" = yes || 9262 $as_test_x conftest$ac_exeext 9263 }; then 6624 if ac_fn_c_try_link "$LINENO"; then : 9264 6625 ac_cv_lib_pthread___pthread_mutex_init=yes 9265 6626 else 9266 $as_echo "$as_me: failed program was:" >&5 9267 sed 's/^/| /' conftest.$ac_ext >&5 9268 9269 ac_cv_lib_pthread___pthread_mutex_init=no 9270 fi 9271 9272 rm -rf conftest.dSYM 9273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9274 conftest$ac_exeext conftest.$ac_ext 6627 ac_cv_lib_pthread___pthread_mutex_init=no 6628 fi 6629 rm -f core conftest.err conftest.$ac_objext \ 6630 conftest$ac_exeext conftest.$ac_ext 9275 6631 LIBS=$ac_check_lib_save_LIBS 9276 6632 fi 9277 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&56633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5 9278 6634 $as_echo "$ac_cv_lib_pthread___pthread_mutex_init" >&6; } 9279 if test $ac_cv_lib_pthread___pthread_mutex_init = yes; then6635 if test "x$ac_cv_lib_pthread___pthread_mutex_init" = xyes; then : 9280 6636 tcl_ok=yes 9281 6637 else … … 9289 6645 THREADS_LIBS=" -lpthread" 9290 6646 else 9291 { $as_echo "$as_me:$ LINENO: checking for pthread_mutex_init in -lpthreads" >&56647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthreads" >&5 9292 6648 $as_echo_n "checking for pthread_mutex_init in -lpthreads... " >&6; } 9293 if test "${ac_cv_lib_pthreads_pthread_mutex_init+set}" = set; then6649 if ${ac_cv_lib_pthreads_pthread_mutex_init+:} false; then : 9294 6650 $as_echo_n "(cached) " >&6 9295 6651 else 9296 6652 ac_check_lib_save_LIBS=$LIBS 9297 6653 LIBS="-lpthreads $LIBS" 9298 cat >conftest.$ac_ext <<_ACEOF 9299 /* confdefs.h. */ 9300 _ACEOF 9301 cat confdefs.h >>conftest.$ac_ext 9302 cat >>conftest.$ac_ext <<_ACEOF 6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9303 6655 /* end confdefs.h. */ 9304 6656 … … 9318 6670 } 9319 6671 _ACEOF 9320 rm -f conftest.$ac_objext conftest$ac_exeext 9321 if { (ac_try="$ac_link" 9322 case "(($ac_try" in 9323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9324 *) ac_try_echo=$ac_try;; 9325 esac 9326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9327 $as_echo "$ac_try_echo") >&5 9328 (eval "$ac_link") 2>conftest.er1 9329 ac_status=$? 9330 grep -v '^ *+' conftest.er1 >conftest.err 9331 rm -f conftest.er1 9332 cat conftest.err >&5 9333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9334 (exit $ac_status); } && { 9335 test -z "$ac_c_werror_flag" || 9336 test ! -s conftest.err 9337 } && test -s conftest$ac_exeext && { 9338 test "$cross_compiling" = yes || 9339 $as_test_x conftest$ac_exeext 9340 }; then 6672 if ac_fn_c_try_link "$LINENO"; then : 9341 6673 ac_cv_lib_pthreads_pthread_mutex_init=yes 9342 6674 else 9343 $as_echo "$as_me: failed program was:" >&5 9344 sed 's/^/| /' conftest.$ac_ext >&5 9345 9346 ac_cv_lib_pthreads_pthread_mutex_init=no 9347 fi 9348 9349 rm -rf conftest.dSYM 9350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9351 conftest$ac_exeext conftest.$ac_ext 6675 ac_cv_lib_pthreads_pthread_mutex_init=no 6676 fi 6677 rm -f core conftest.err conftest.$ac_objext \ 6678 conftest$ac_exeext conftest.$ac_ext 9352 6679 LIBS=$ac_check_lib_save_LIBS 9353 6680 fi 9354 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&56681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5 9355 6682 $as_echo "$ac_cv_lib_pthreads_pthread_mutex_init" >&6; } 9356 if test $ac_cv_lib_pthreads_pthread_mutex_init = yes; then6683 if test "x$ac_cv_lib_pthreads_pthread_mutex_init" = xyes; then : 9357 6684 tcl_ok=yes 9358 6685 else … … 9364 6691 THREADS_LIBS=" -lpthreads" 9365 6692 else 9366 { $as_echo "$as_me:$ LINENO: checking for pthread_mutex_init in -lc" >&56693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5 9367 6694 $as_echo_n "checking for pthread_mutex_init in -lc... " >&6; } 9368 if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then6695 if ${ac_cv_lib_c_pthread_mutex_init+:} false; then : 9369 6696 $as_echo_n "(cached) " >&6 9370 6697 else 9371 6698 ac_check_lib_save_LIBS=$LIBS 9372 6699 LIBS="-lc $LIBS" 9373 cat >conftest.$ac_ext <<_ACEOF 9374 /* confdefs.h. */ 9375 _ACEOF 9376 cat confdefs.h >>conftest.$ac_ext 9377 cat >>conftest.$ac_ext <<_ACEOF 6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9378 6701 /* end confdefs.h. */ 9379 6702 … … 9393 6716 } 9394 6717 _ACEOF 9395 rm -f conftest.$ac_objext conftest$ac_exeext 9396 if { (ac_try="$ac_link" 9397 case "(($ac_try" in 9398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9399 *) ac_try_echo=$ac_try;; 9400 esac 9401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9402 $as_echo "$ac_try_echo") >&5 9403 (eval "$ac_link") 2>conftest.er1 9404 ac_status=$? 9405 grep -v '^ *+' conftest.er1 >conftest.err 9406 rm -f conftest.er1 9407 cat conftest.err >&5 9408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9409 (exit $ac_status); } && { 9410 test -z "$ac_c_werror_flag" || 9411 test ! -s conftest.err 9412 } && test -s conftest$ac_exeext && { 9413 test "$cross_compiling" = yes || 9414 $as_test_x conftest$ac_exeext 9415 }; then 6718 if ac_fn_c_try_link "$LINENO"; then : 9416 6719 ac_cv_lib_c_pthread_mutex_init=yes 9417 6720 else 9418 $as_echo "$as_me: failed program was:" >&5 9419 sed 's/^/| /' conftest.$ac_ext >&5 9420 9421 ac_cv_lib_c_pthread_mutex_init=no 9422 fi 9423 9424 rm -rf conftest.dSYM 9425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9426 conftest$ac_exeext conftest.$ac_ext 6721 ac_cv_lib_c_pthread_mutex_init=no 6722 fi 6723 rm -f core conftest.err conftest.$ac_objext \ 6724 conftest$ac_exeext conftest.$ac_ext 9427 6725 LIBS=$ac_check_lib_save_LIBS 9428 6726 fi 9429 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&56727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5 9430 6728 $as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; } 9431 if test $ac_cv_lib_c_pthread_mutex_init = yes; then6729 if test "x$ac_cv_lib_c_pthread_mutex_init" = xyes; then : 9432 6730 tcl_ok=yes 9433 6731 else … … 9436 6734 9437 6735 if test "$tcl_ok" = "no"; then 9438 { $as_echo "$as_me:$ LINENO: checking for pthread_mutex_init in -lc_r" >&56736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc_r" >&5 9439 6737 $as_echo_n "checking for pthread_mutex_init in -lc_r... " >&6; } 9440 if test "${ac_cv_lib_c_r_pthread_mutex_init+set}" = set; then6738 if ${ac_cv_lib_c_r_pthread_mutex_init+:} false; then : 9441 6739 $as_echo_n "(cached) " >&6 9442 6740 else 9443 6741 ac_check_lib_save_LIBS=$LIBS 9444 6742 LIBS="-lc_r $LIBS" 9445 cat >conftest.$ac_ext <<_ACEOF 9446 /* confdefs.h. */ 9447 _ACEOF 9448 cat confdefs.h >>conftest.$ac_ext 9449 cat >>conftest.$ac_ext <<_ACEOF 6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9450 6744 /* end confdefs.h. */ 9451 6745 … … 9465 6759 } 9466 6760 _ACEOF 9467 rm -f conftest.$ac_objext conftest$ac_exeext 9468 if { (ac_try="$ac_link" 9469 case "(($ac_try" in 9470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9471 *) ac_try_echo=$ac_try;; 9472 esac 9473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9474 $as_echo "$ac_try_echo") >&5 9475 (eval "$ac_link") 2>conftest.er1 9476 ac_status=$? 9477 grep -v '^ *+' conftest.er1 >conftest.err 9478 rm -f conftest.er1 9479 cat conftest.err >&5 9480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9481 (exit $ac_status); } && { 9482 test -z "$ac_c_werror_flag" || 9483 test ! -s conftest.err 9484 } && test -s conftest$ac_exeext && { 9485 test "$cross_compiling" = yes || 9486 $as_test_x conftest$ac_exeext 9487 }; then 6761 if ac_fn_c_try_link "$LINENO"; then : 9488 6762 ac_cv_lib_c_r_pthread_mutex_init=yes 9489 6763 else 9490 $as_echo "$as_me: failed program was:" >&5 9491 sed 's/^/| /' conftest.$ac_ext >&5 9492 9493 ac_cv_lib_c_r_pthread_mutex_init=no 9494 fi 9495 9496 rm -rf conftest.dSYM 9497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9498 conftest$ac_exeext conftest.$ac_ext 6764 ac_cv_lib_c_r_pthread_mutex_init=no 6765 fi 6766 rm -f core conftest.err conftest.$ac_objext \ 6767 conftest$ac_exeext conftest.$ac_ext 9499 6768 LIBS=$ac_check_lib_save_LIBS 9500 6769 fi 9501 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&56770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5 9502 6771 $as_echo "$ac_cv_lib_c_r_pthread_mutex_init" >&6; } 9503 if test $ac_cv_lib_c_r_pthread_mutex_init = yes; then6772 if test "x$ac_cv_lib_c_r_pthread_mutex_init" = xyes; then : 9504 6773 tcl_ok=yes 9505 6774 else … … 9512 6781 else 9513 6782 TCL_THREADS=0 9514 { $as_echo "$as_me:$ LINENO: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&56783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&5 9515 6784 $as_echo "$as_me: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&2;} 9516 6785 fi … … 9523 6792 fi 9524 6793 # Do checking message here to not mess up interleaved configure output 9525 { $as_echo "$as_me:$ LINENO: checking for building with threads" >&56794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for building with threads" >&5 9526 6795 $as_echo_n "checking for building with threads... " >&6; } 9527 6796 if test "${TCL_THREADS}" = 1; then 9528 6797 9529 cat >>confdefs.h <<\_ACEOF 9530 #define TCL_THREADS 1 9531 _ACEOF 9532 9533 { $as_echo "$as_me:$LINENO: result: yes (default)" >&5 6798 $as_echo "#define TCL_THREADS 1" >>confdefs.h 6799 6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5 9534 6801 $as_echo "yes (default)" >&6; } 9535 6802 else 9536 { $as_echo "$as_me:$ LINENO: result: no" >&56803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9537 6804 $as_echo "no" >&6; } 9538 6805 fi … … 9542 6809 *THREADS=1*) 9543 6810 if test "${TCL_THREADS}" = "0"; then 9544 { $as_echo "$as_me:$ LINENO: WARNING:6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 9545 6812 Building ${PACKAGE_NAME} without threads enabled, but building against Tcl 9546 6813 that IS thread-enabled. It is recommended to use --enable-threads." >&5 … … 9552 6819 *) 9553 6820 if test "${TCL_THREADS}" = "1"; then 9554 { $as_echo "$as_me:$ LINENO: WARNING:6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 9555 6822 --enable-threads requested, but building against a Tcl that is NOT 9556 6823 thread-enabled. This is an OK configuration that will also run in … … 9572 6839 9573 6840 9574 { $as_echo "$as_me:$ LINENO: checking how to build libraries" >&56841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 9575 6842 $as_echo_n "checking how to build libraries... " >&6; } 9576 6843 # Check whether --enable-shared was given. 9577 if test "${enable_shared+set}" = set; then 6844 if test "${enable_shared+set}" = set; then : 9578 6845 enableval=$enable_shared; tcl_ok=$enableval 9579 6846 else … … 9590 6857 9591 6858 if test "$tcl_ok" = "yes" ; then 9592 { $as_echo "$as_me:$ LINENO: result: shared" >&56859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 9593 6860 $as_echo "shared" >&6; } 9594 6861 SHARED_BUILD=1 9595 6862 else 9596 { $as_echo "$as_me:$ LINENO: result: static" >&56863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 9597 6864 $as_echo "static" >&6; } 9598 6865 SHARED_BUILD=0 9599 6866 9600 cat >>confdefs.h <<\_ACEOF 9601 #define STATIC_BUILD 1 9602 _ACEOF 6867 $as_echo "#define STATIC_BUILD 1" >>confdefs.h 9603 6868 9604 6869 fi … … 9617 6882 # Step 0.a: Enable 64 bit support? 9618 6883 9619 { $as_echo "$as_me:$ LINENO: checking if 64bit support is requested" >&56884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 9620 6885 $as_echo_n "checking if 64bit support is requested... " >&6; } 9621 6886 # Check whether --enable-64bit was given. 9622 if test "${enable_64bit+set}" = set; then 6887 if test "${enable_64bit+set}" = set; then : 9623 6888 enableval=$enable_64bit; do64bit=$enableval 9624 6889 else … … 9626 6891 fi 9627 6892 9628 { $as_echo "$as_me:$ LINENO: result: $do64bit" >&56893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 9629 6894 $as_echo "$do64bit" >&6; } 9630 6895 9631 6896 # Step 0.b: Enable Solaris 64 bit VIS support? 9632 6897 9633 { $as_echo "$as_me:$ LINENO: checking if 64bit Sparc VIS support is requested" >&56898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 9634 6899 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } 9635 6900 # Check whether --enable-64bit-vis was given. 9636 if test "${enable_64bit_vis+set}" = set; then 6901 if test "${enable_64bit_vis+set}" = set; then : 9637 6902 enableval=$enable_64bit_vis; do64bitVIS=$enableval 9638 6903 else … … 9640 6905 fi 9641 6906 9642 { $as_echo "$as_me:$ LINENO: result: $do64bitVIS" >&56907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 9643 6908 $as_echo "$do64bitVIS" >&6; } 9644 6909 … … 9651 6916 9652 6917 if test "${TEA_PLATFORM}" = "windows" ; then 9653 { $as_echo "$as_me:$ LINENO: checking if Windows/CE build is requested" >&56918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Windows/CE build is requested" >&5 9654 6919 $as_echo_n "checking if Windows/CE build is requested... " >&6; } 9655 6920 # Check whether --enable-wince was given. 9656 if test "${enable_wince+set}" = set; then 6921 if test "${enable_wince+set}" = set; then : 9657 6922 enableval=$enable_wince; doWince=$enableval 9658 6923 else … … 9660 6925 fi 9661 6926 9662 { $as_echo "$as_me:$ LINENO: result: $doWince" >&56927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doWince" >&5 9663 6928 $as_echo "$doWince" >&6; } 9664 6929 fi … … 9668 6933 9669 6934 9670 { $as_echo "$as_me:$ LINENO: checking system version" >&56935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 9671 6936 $as_echo_n "checking system version... " >&6; } 9672 if test "${tcl_cv_sys_version+set}" = set; then6937 if ${tcl_cv_sys_version+:} false; then : 9673 6938 $as_echo_n "(cached) " >&6 9674 6939 else … … 9681 6946 tcl_cv_sys_version=`uname -s`-`uname -r` 9682 6947 if test "$?" -ne 0 ; then 9683 { $as_echo "$as_me:$ LINENO: WARNING: can't find uname command" >&56948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 9684 6949 $as_echo "$as_me: WARNING: can't find uname command" >&2;} 9685 6950 tcl_cv_sys_version=unknown … … 9698 6963 9699 6964 fi 9700 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_sys_version" >&56965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 9701 6966 $as_echo "$tcl_cv_sys_version" >&6; } 9702 6967 system=$tcl_cv_sys_version … … 9706 6971 # Linux can use either -ldl or -ldld for dynamic loading. 9707 6972 9708 { $as_echo "$as_me:$ LINENO: checking for dlopen in -ldl" >&56973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9709 6974 $as_echo_n "checking for dlopen in -ldl... " >&6; } 9710 if test "${ac_cv_lib_dl_dlopen+set}" = set; then6975 if ${ac_cv_lib_dl_dlopen+:} false; then : 9711 6976 $as_echo_n "(cached) " >&6 9712 6977 else 9713 6978 ac_check_lib_save_LIBS=$LIBS 9714 6979 LIBS="-ldl $LIBS" 9715 cat >conftest.$ac_ext <<_ACEOF 9716 /* confdefs.h. */ 9717 _ACEOF 9718 cat confdefs.h >>conftest.$ac_ext 9719 cat >>conftest.$ac_ext <<_ACEOF 6980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9720 6981 /* end confdefs.h. */ 9721 6982 … … 9735 6996 } 9736 6997 _ACEOF 9737 rm -f conftest.$ac_objext conftest$ac_exeext 9738 if { (ac_try="$ac_link" 9739 case "(($ac_try" in 9740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9741 *) ac_try_echo=$ac_try;; 9742 esac 9743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9744 $as_echo "$ac_try_echo") >&5 9745 (eval "$ac_link") 2>conftest.er1 9746 ac_status=$? 9747 grep -v '^ *+' conftest.er1 >conftest.err 9748 rm -f conftest.er1 9749 cat conftest.err >&5 9750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9751 (exit $ac_status); } && { 9752 test -z "$ac_c_werror_flag" || 9753 test ! -s conftest.err 9754 } && test -s conftest$ac_exeext && { 9755 test "$cross_compiling" = yes || 9756 $as_test_x conftest$ac_exeext 9757 }; then 6998 if ac_fn_c_try_link "$LINENO"; then : 9758 6999 ac_cv_lib_dl_dlopen=yes 9759 7000 else 9760 $as_echo "$as_me: failed program was:" >&5 9761 sed 's/^/| /' conftest.$ac_ext >&5 9762 9763 ac_cv_lib_dl_dlopen=no 9764 fi 9765 9766 rm -rf conftest.dSYM 9767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9768 conftest$ac_exeext conftest.$ac_ext 7001 ac_cv_lib_dl_dlopen=no 7002 fi 7003 rm -f core conftest.err conftest.$ac_objext \ 7004 conftest$ac_exeext conftest.$ac_ext 9769 7005 LIBS=$ac_check_lib_save_LIBS 9770 7006 fi 9771 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dl_dlopen" >&57007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 9772 7008 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 9773 if test $ac_cv_lib_dl_dlopen = yes; then7009 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 9774 7010 have_dl=yes 9775 7011 else … … 9810 7046 # Extract the first word of "ar", so it can be a program name with args. 9811 7047 set dummy ar; ac_word=$2 9812 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&57048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9813 7049 $as_echo_n "checking for $ac_word... " >&6; } 9814 if test "${ac_cv_prog_AR+set}" = set; then7050 if ${ac_cv_prog_AR+:} false; then : 9815 7051 $as_echo_n "(cached) " >&6 9816 7052 else … … 9823 7059 IFS=$as_save_IFS 9824 7060 test -z "$as_dir" && as_dir=. 9825 for ac_exec_ext in '' $ac_executable_extensions; do9826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7061 for ac_exec_ext in '' $ac_executable_extensions; do 7062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9827 7063 ac_cv_prog_AR="ar" 9828 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&57064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9829 7065 break 2 9830 7066 fi 9831 7067 done 9832 done7068 done 9833 7069 IFS=$as_save_IFS 9834 7070 … … 9837 7073 AR=$ac_cv_prog_AR 9838 7074 if test -n "$AR"; then 9839 { $as_echo "$as_me:$ LINENO: result: $AR" >&57075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 9840 7076 $as_echo "$AR" >&6; } 9841 7077 else 9842 { $as_echo "$as_me:$ LINENO: result: no" >&57078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9843 7079 $as_echo "no" >&6; } 9844 7080 fi … … 9872 7108 esac 9873 7109 if test ! -d "${PATH64}" ; then 9874 { $as_echo "$as_me:$ LINENO: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&57110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&5 9875 7111 $as_echo "$as_me: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&2;} 9876 { $as_echo "$as_me:$ LINENO: WARNING: Ensure latest Platform SDK is installed" >&57112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ensure latest Platform SDK is installed" >&5 9877 7113 $as_echo "$as_me: WARNING: Ensure latest Platform SDK is installed" >&2;} 9878 7114 do64bit="no" 9879 7115 else 9880 { $as_echo "$as_me:$ LINENO: result: Using 64-bit $MACHINE mode" >&57116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using 64-bit $MACHINE mode" >&5 9881 7117 $as_echo " Using 64-bit $MACHINE mode" >&6; } 9882 7118 do64bit_ok="yes" … … 9886 7122 if test "$doWince" != "no" ; then 9887 7123 if test "$do64bit" != "no" ; then 9888 { { $as_echo "$as_me:$LINENO: error: Windows/CE and 64-bit builds incompatible" >&5 9889 $as_echo "$as_me: error: Windows/CE and 64-bit builds incompatible" >&2;} 9890 { (exit 1); exit 1; }; } 7124 as_fn_error $? "Windows/CE and 64-bit builds incompatible" "$LINENO" 5 9891 7125 fi 9892 7126 if test "$GCC" = "yes" ; then 9893 { { $as_echo "$as_me:$LINENO: error: Windows/CE and GCC builds incompatible" >&5 9894 $as_echo "$as_me: error: Windows/CE and GCC builds incompatible" >&2;} 9895 { (exit 1); exit 1; }; } 7127 as_fn_error $? "Windows/CE and GCC builds incompatible" "$LINENO" 5 9896 7128 fi 9897 7129 … … 9904 7136 9905 7137 # Check whether --with-celib was given. 9906 if test "${with_celib+set}" = set; then 7138 if test "${with_celib+set}" = set; then : 9907 7139 withval=$with_celib; with_celibconfig=${withval} 9908 7140 fi 9909 7141 9910 { $as_echo "$as_me:$ LINENO: checking for Windows/CE celib directory" >&57142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows/CE celib directory" >&5 9911 7143 $as_echo_n "checking for Windows/CE celib directory... " >&6; } 9912 if test "${ac_cv_c_celibconfig+set}" = set; then7144 if ${ac_cv_c_celibconfig+:} false; then : 9913 7145 $as_echo_n "(cached) " >&6 9914 7146 else … … 9919 7151 ac_cv_c_celibconfig=`(cd ${with_celibconfig}; pwd)` 9920 7152 else 9921 { { $as_echo "$as_me:$LINENO: error: ${with_celibconfig} directory doesn't contain inc directory" >&5 9922 $as_echo "$as_me: error: ${with_celibconfig} directory doesn't contain inc directory" >&2;} 9923 { (exit 1); exit 1; }; } 7153 as_fn_error $? "${with_celibconfig} directory doesn't contain inc directory" "$LINENO" 5 9924 7154 fi 9925 7155 fi … … 9947 7177 9948 7178 if test x"${ac_cv_c_celibconfig}" = x ; then 9949 { { $as_echo "$as_me:$LINENO: error: Cannot find celib support library directory" >&5 9950 $as_echo "$as_me: error: Cannot find celib support library directory" >&2;} 9951 { (exit 1); exit 1; }; } 7179 as_fn_error $? "Cannot find celib support library directory" "$LINENO" 5 9952 7180 else 9953 7181 no_celib= 9954 7182 CELIB_DIR=${ac_cv_c_celibconfig} 9955 7183 CELIB_DIR=`echo "$CELIB_DIR" | sed -e 's!\\\!/!g'` 9956 { $as_echo "$as_me:$ LINENO: result: found $CELIB_DIR" >&57184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $CELIB_DIR" >&5 9957 7185 $as_echo "found $CELIB_DIR" >&6; } 9958 7186 fi … … 9997 7225 if test ! -d "${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}" \ 9998 7226 -o ! -d "${WCEROOT}/EVC/${OSVERSION}/bin"; then 9999 { { $as_echo "$as_me:$LINENO: error: could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&5 10000 $as_echo "$as_me: error: could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&2;} 10001 { (exit 1); exit 1; }; } 7227 as_fn_error $? "could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" "$LINENO" 5 10002 7228 doWince="no" 10003 7229 else … … 10136 7362 ;; 10137 7363 esac 10138 { $as_echo "$as_me:$ LINENO: result: Using $CC for compiling with threads" >&57364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 10139 7365 $as_echo "Using $CC for compiling with threads" >&6; } 10140 7366 fi … … 10150 7376 if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then 10151 7377 if test "$GCC" = "yes" ; then 10152 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&57378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 10153 7379 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 10154 7380 else … … 10210 7436 # known GMT value. 10211 7437 10212 { $as_echo "$as_me:$ LINENO: checking for gettimeofday in -lbsd" >&57438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 10213 7439 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; } 10214 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then7440 if ${ac_cv_lib_bsd_gettimeofday+:} false; then : 10215 7441 $as_echo_n "(cached) " >&6 10216 7442 else 10217 7443 ac_check_lib_save_LIBS=$LIBS 10218 7444 LIBS="-lbsd $LIBS" 10219 cat >conftest.$ac_ext <<_ACEOF 10220 /* confdefs.h. */ 10221 _ACEOF 10222 cat confdefs.h >>conftest.$ac_ext 10223 cat >>conftest.$ac_ext <<_ACEOF 7445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10224 7446 /* end confdefs.h. */ 10225 7447 … … 10239 7461 } 10240 7462 _ACEOF 10241 rm -f conftest.$ac_objext conftest$ac_exeext 10242 if { (ac_try="$ac_link" 10243 case "(($ac_try" in 10244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10245 *) ac_try_echo=$ac_try;; 10246 esac 10247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10248 $as_echo "$ac_try_echo") >&5 10249 (eval "$ac_link") 2>conftest.er1 10250 ac_status=$? 10251 grep -v '^ *+' conftest.er1 >conftest.err 10252 rm -f conftest.er1 10253 cat conftest.err >&5 10254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10255 (exit $ac_status); } && { 10256 test -z "$ac_c_werror_flag" || 10257 test ! -s conftest.err 10258 } && test -s conftest$ac_exeext && { 10259 test "$cross_compiling" = yes || 10260 $as_test_x conftest$ac_exeext 10261 }; then 7463 if ac_fn_c_try_link "$LINENO"; then : 10262 7464 ac_cv_lib_bsd_gettimeofday=yes 10263 7465 else 10264 $as_echo "$as_me: failed program was:" >&5 10265 sed 's/^/| /' conftest.$ac_ext >&5 10266 10267 ac_cv_lib_bsd_gettimeofday=no 10268 fi 10269 10270 rm -rf conftest.dSYM 10271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10272 conftest$ac_exeext conftest.$ac_ext 7466 ac_cv_lib_bsd_gettimeofday=no 7467 fi 7468 rm -f core conftest.err conftest.$ac_objext \ 7469 conftest$ac_exeext conftest.$ac_ext 10273 7470 LIBS=$ac_check_lib_save_LIBS 10274 7471 fi 10275 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&57472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 10276 7473 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } 10277 if test $ac_cv_lib_bsd_gettimeofday = yes; then7474 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then : 10278 7475 libbsd=yes 10279 7476 else … … 10284 7481 MATH_LIBS="$MATH_LIBS -lbsd" 10285 7482 10286 cat >>confdefs.h <<\_ACEOF 10287 #define USE_DELTA_FOR_TZ 1 10288 _ACEOF 7483 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h 10289 7484 10290 7485 fi … … 10303 7498 # is always linked to, for compatibility. 10304 7499 #----------------------------------------------------------- 10305 { $as_echo "$as_me:$ LINENO: checking for inet_ntoa in -lbind" >&57500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 10306 7501 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; } 10307 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then7502 if ${ac_cv_lib_bind_inet_ntoa+:} false; then : 10308 7503 $as_echo_n "(cached) " >&6 10309 7504 else 10310 7505 ac_check_lib_save_LIBS=$LIBS 10311 7506 LIBS="-lbind $LIBS" 10312 cat >conftest.$ac_ext <<_ACEOF 10313 /* confdefs.h. */ 10314 _ACEOF 10315 cat confdefs.h >>conftest.$ac_ext 10316 cat >>conftest.$ac_ext <<_ACEOF 7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10317 7508 /* end confdefs.h. */ 10318 7509 … … 10332 7523 } 10333 7524 _ACEOF 10334 rm -f conftest.$ac_objext conftest$ac_exeext 10335 if { (ac_try="$ac_link" 10336 case "(($ac_try" in 10337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10338 *) ac_try_echo=$ac_try;; 10339 esac 10340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10341 $as_echo "$ac_try_echo") >&5 10342 (eval "$ac_link") 2>conftest.er1 10343 ac_status=$? 10344 grep -v '^ *+' conftest.er1 >conftest.err 10345 rm -f conftest.er1 10346 cat conftest.err >&5 10347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10348 (exit $ac_status); } && { 10349 test -z "$ac_c_werror_flag" || 10350 test ! -s conftest.err 10351 } && test -s conftest$ac_exeext && { 10352 test "$cross_compiling" = yes || 10353 $as_test_x conftest$ac_exeext 10354 }; then 7525 if ac_fn_c_try_link "$LINENO"; then : 10355 7526 ac_cv_lib_bind_inet_ntoa=yes 10356 7527 else 10357 $as_echo "$as_me: failed program was:" >&5 10358 sed 's/^/| /' conftest.$ac_ext >&5 10359 10360 ac_cv_lib_bind_inet_ntoa=no 10361 fi 10362 10363 rm -rf conftest.dSYM 10364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10365 conftest$ac_exeext conftest.$ac_ext 7528 ac_cv_lib_bind_inet_ntoa=no 7529 fi 7530 rm -f core conftest.err conftest.$ac_objext \ 7531 conftest$ac_exeext conftest.$ac_ext 10366 7532 LIBS=$ac_check_lib_save_LIBS 10367 7533 fi 10368 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&57534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 10369 7535 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } 10370 if test $ac_cv_lib_bind_inet_ntoa = yes; then7536 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then : 10371 7537 LIBS="$LIBS -lbind -lsocket" 10372 7538 fi … … 10407 7573 # Use updated header definitions where possible 10408 7574 10409 cat >>confdefs.h <<\_ACEOF 10410 #define _XOPEN_SOURCE_EXTENDED 1 10411 _ACEOF 7575 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 10412 7576 10413 7577 # Needed by Tcl, but not most extensions … … 10416 7580 10417 7581 SHLIB_SUFFIX=".sl" 10418 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&57582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10419 7583 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then7584 if ${ac_cv_lib_dld_shl_load+:} false; then : 10421 7585 $as_echo_n "(cached) " >&6 10422 7586 else 10423 7587 ac_check_lib_save_LIBS=$LIBS 10424 7588 LIBS="-ldld $LIBS" 10425 cat >conftest.$ac_ext <<_ACEOF 10426 /* confdefs.h. */ 10427 _ACEOF 10428 cat confdefs.h >>conftest.$ac_ext 10429 cat >>conftest.$ac_ext <<_ACEOF 7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10430 7590 /* end confdefs.h. */ 10431 7591 … … 10445 7605 } 10446 7606 _ACEOF 10447 rm -f conftest.$ac_objext conftest$ac_exeext 10448 if { (ac_try="$ac_link" 10449 case "(($ac_try" in 10450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10451 *) ac_try_echo=$ac_try;; 10452 esac 10453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10454 $as_echo "$ac_try_echo") >&5 10455 (eval "$ac_link") 2>conftest.er1 10456 ac_status=$? 10457 grep -v '^ *+' conftest.er1 >conftest.err 10458 rm -f conftest.er1 10459 cat conftest.err >&5 10460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10461 (exit $ac_status); } && { 10462 test -z "$ac_c_werror_flag" || 10463 test ! -s conftest.err 10464 } && test -s conftest$ac_exeext && { 10465 test "$cross_compiling" = yes || 10466 $as_test_x conftest$ac_exeext 10467 }; then 7607 if ac_fn_c_try_link "$LINENO"; then : 10468 7608 ac_cv_lib_dld_shl_load=yes 10469 7609 else 10470 $as_echo "$as_me: failed program was:" >&5 10471 sed 's/^/| /' conftest.$ac_ext >&5 10472 10473 ac_cv_lib_dld_shl_load=no 10474 fi 10475 10476 rm -rf conftest.dSYM 10477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10478 conftest$ac_exeext conftest.$ac_ext 7610 ac_cv_lib_dld_shl_load=no 7611 fi 7612 rm -f core conftest.err conftest.$ac_objext \ 7613 conftest$ac_exeext conftest.$ac_ext 10479 7614 LIBS=$ac_check_lib_save_LIBS 10480 7615 fi 10481 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&57616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10482 7617 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10483 if test $ac_cv_lib_dld_shl_load = yes; then7618 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10484 7619 tcl_ok=yes 10485 7620 else … … 10521 7656 ;; 10522 7657 *) 10523 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&57658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 10524 7659 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 10525 7660 ;; … … 10534 7669 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) 10535 7670 SHLIB_SUFFIX=".sl" 10536 { $as_echo "$as_me:$ LINENO: checking for shl_load in -ldld" >&57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10537 7672 $as_echo_n "checking for shl_load in -ldld... " >&6; } 10538 if test "${ac_cv_lib_dld_shl_load+set}" = set; then7673 if ${ac_cv_lib_dld_shl_load+:} false; then : 10539 7674 $as_echo_n "(cached) " >&6 10540 7675 else 10541 7676 ac_check_lib_save_LIBS=$LIBS 10542 7677 LIBS="-ldld $LIBS" 10543 cat >conftest.$ac_ext <<_ACEOF 10544 /* confdefs.h. */ 10545 _ACEOF 10546 cat confdefs.h >>conftest.$ac_ext 10547 cat >>conftest.$ac_ext <<_ACEOF 7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10548 7679 /* end confdefs.h. */ 10549 7680 … … 10563 7694 } 10564 7695 _ACEOF 10565 rm -f conftest.$ac_objext conftest$ac_exeext 10566 if { (ac_try="$ac_link" 10567 case "(($ac_try" in 10568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10569 *) ac_try_echo=$ac_try;; 10570 esac 10571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10572 $as_echo "$ac_try_echo") >&5 10573 (eval "$ac_link") 2>conftest.er1 10574 ac_status=$? 10575 grep -v '^ *+' conftest.er1 >conftest.err 10576 rm -f conftest.er1 10577 cat conftest.err >&5 10578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10579 (exit $ac_status); } && { 10580 test -z "$ac_c_werror_flag" || 10581 test ! -s conftest.err 10582 } && test -s conftest$ac_exeext && { 10583 test "$cross_compiling" = yes || 10584 $as_test_x conftest$ac_exeext 10585 }; then 7696 if ac_fn_c_try_link "$LINENO"; then : 10586 7697 ac_cv_lib_dld_shl_load=yes 10587 7698 else 10588 $as_echo "$as_me: failed program was:" >&5 10589 sed 's/^/| /' conftest.$ac_ext >&5 10590 10591 ac_cv_lib_dld_shl_load=no 10592 fi 10593 10594 rm -rf conftest.dSYM 10595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10596 conftest$ac_exeext conftest.$ac_ext 7699 ac_cv_lib_dld_shl_load=no 7700 fi 7701 rm -f core conftest.err conftest.$ac_objext \ 7702 conftest$ac_exeext conftest.$ac_ext 10597 7703 LIBS=$ac_check_lib_save_LIBS 10598 7704 fi 10599 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_dld_shl_load" >&57705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10600 7706 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10601 if test $ac_cv_lib_dld_shl_load = yes; then7707 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 10602 7708 tcl_ok=yes 10603 7709 else … … 10666 7772 if test "$do64bit" = "yes" ; then 10667 7773 if test "$GCC" = "yes" ; then 10668 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported by gcc" >&57774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 10669 7775 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} 10670 7776 else … … 10767 7873 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' 10768 7874 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' 10769 { $as_echo "$as_me:$ LINENO: checking for ELF" >&57875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 10770 7876 $as_echo_n "checking for ELF... " >&6; } 10771 if test "${tcl_cv_ld_elf+set}" = set; then7877 if ${tcl_cv_ld_elf+:} false; then : 10772 7878 $as_echo_n "(cached) " >&6 10773 7879 else 10774 7880 10775 cat >conftest.$ac_ext <<_ACEOF 10776 /* confdefs.h. */ 10777 _ACEOF 10778 cat confdefs.h >>conftest.$ac_ext 10779 cat >>conftest.$ac_ext <<_ACEOF 7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10780 7882 /* end confdefs.h. */ 10781 7883 … … 10786 7888 _ACEOF 10787 7889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10788 $EGREP "yes" >/dev/null 2>&1; then 7890 $EGREP "yes" >/dev/null 2>&1; then : 10789 7891 tcl_cv_ld_elf=yes 10790 7892 else … … 10794 7896 10795 7897 fi 10796 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&57898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 10797 7899 $as_echo "$tcl_cv_ld_elf" >&6; } 10798 7900 if test $tcl_cv_ld_elf = yes; then … … 10823 7925 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} 10824 7926 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' 10825 { $as_echo "$as_me:$ LINENO: checking for ELF" >&57927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 10826 7928 $as_echo_n "checking for ELF... " >&6; } 10827 if test "${tcl_cv_ld_elf+set}" = set; then7929 if ${tcl_cv_ld_elf+:} false; then : 10828 7930 $as_echo_n "(cached) " >&6 10829 7931 else 10830 7932 10831 cat >conftest.$ac_ext <<_ACEOF 10832 /* confdefs.h. */ 10833 _ACEOF 10834 cat confdefs.h >>conftest.$ac_ext 10835 cat >>conftest.$ac_ext <<_ACEOF 7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10836 7934 /* end confdefs.h. */ 10837 7935 … … 10842 7940 _ACEOF 10843 7941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10844 $EGREP "yes" >/dev/null 2>&1; then 7942 $EGREP "yes" >/dev/null 2>&1; then : 10845 7943 tcl_cv_ld_elf=yes 10846 7944 else … … 10850 7948 10851 7949 fi 10852 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_elf" >&57950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 10853 7951 $as_echo "$tcl_cv_ld_elf" >&6; } 10854 7952 if test $tcl_cv_ld_elf = yes; then … … 10897 7995 # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS here: 10898 7996 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}' 10899 { $as_echo "$as_me:$ LINENO: checking if ld accepts -single_module flag" >&57997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 10900 7998 $as_echo_n "checking if ld accepts -single_module flag... " >&6; } 10901 if test "${tcl_cv_ld_single_module+set}" = set; then7999 if ${tcl_cv_ld_single_module+:} false; then : 10902 8000 $as_echo_n "(cached) " >&6 10903 8001 else … … 10905 8003 hold_ldflags=$LDFLAGS 10906 8004 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" 10907 cat >conftest.$ac_ext <<_ACEOF 10908 /* confdefs.h. */ 10909 _ACEOF 10910 cat confdefs.h >>conftest.$ac_ext 10911 cat >>conftest.$ac_ext <<_ACEOF 8005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10912 8006 /* end confdefs.h. */ 10913 8007 … … 10920 8014 } 10921 8015 _ACEOF 10922 rm -f conftest.$ac_objext conftest$ac_exeext 10923 if { (ac_try="$ac_link" 10924 case "(($ac_try" in 10925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10926 *) ac_try_echo=$ac_try;; 10927 esac 10928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10929 $as_echo "$ac_try_echo") >&5 10930 (eval "$ac_link") 2>conftest.er1 10931 ac_status=$? 10932 grep -v '^ *+' conftest.er1 >conftest.err 10933 rm -f conftest.er1 10934 cat conftest.err >&5 10935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10936 (exit $ac_status); } && { 10937 test -z "$ac_c_werror_flag" || 10938 test ! -s conftest.err 10939 } && test -s conftest$ac_exeext && { 10940 test "$cross_compiling" = yes || 10941 $as_test_x conftest$ac_exeext 10942 }; then 8016 if ac_fn_c_try_link "$LINENO"; then : 10943 8017 tcl_cv_ld_single_module=yes 10944 8018 else 10945 $as_echo "$as_me: failed program was:" >&5 10946 sed 's/^/| /' conftest.$ac_ext >&5 10947 10948 tcl_cv_ld_single_module=no 10949 fi 10950 10951 rm -rf conftest.dSYM 10952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10953 conftest$ac_exeext conftest.$ac_ext 8019 tcl_cv_ld_single_module=no 8020 fi 8021 rm -f core conftest.err conftest.$ac_objext \ 8022 conftest$ac_exeext conftest.$ac_ext 10954 8023 LDFLAGS=$hold_ldflags 10955 8024 fi 10956 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_single_module" >&58025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 10957 8026 $as_echo "$tcl_cv_ld_single_module" >&6; } 10958 8027 if test $tcl_cv_ld_single_module = yes; then … … 10968 8037 LDFLAGS="$LDFLAGS -prebind" 10969 8038 LDFLAGS="$LDFLAGS -headerpad_max_install_names" 10970 { $as_echo "$as_me:$ LINENO: checking if ld accepts -search_paths_first flag" >&58039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 10971 8040 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } 10972 if test "${tcl_cv_ld_search_paths_first+set}" = set; then8041 if ${tcl_cv_ld_search_paths_first+:} false; then : 10973 8042 $as_echo_n "(cached) " >&6 10974 8043 else … … 10976 8045 hold_ldflags=$LDFLAGS 10977 8046 LDFLAGS="$LDFLAGS -Wl,-search_paths_first" 10978 cat >conftest.$ac_ext <<_ACEOF 10979 /* confdefs.h. */ 10980 _ACEOF 10981 cat confdefs.h >>conftest.$ac_ext 10982 cat >>conftest.$ac_ext <<_ACEOF 8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10983 8048 /* end confdefs.h. */ 10984 8049 … … 10991 8056 } 10992 8057 _ACEOF 10993 rm -f conftest.$ac_objext conftest$ac_exeext 10994 if { (ac_try="$ac_link" 10995 case "(($ac_try" in 10996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10997 *) ac_try_echo=$ac_try;; 10998 esac 10999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11000 $as_echo "$ac_try_echo") >&5 11001 (eval "$ac_link") 2>conftest.er1 11002 ac_status=$? 11003 grep -v '^ *+' conftest.er1 >conftest.err 11004 rm -f conftest.er1 11005 cat conftest.err >&5 11006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11007 (exit $ac_status); } && { 11008 test -z "$ac_c_werror_flag" || 11009 test ! -s conftest.err 11010 } && test -s conftest$ac_exeext && { 11011 test "$cross_compiling" = yes || 11012 $as_test_x conftest$ac_exeext 11013 }; then 8058 if ac_fn_c_try_link "$LINENO"; then : 11014 8059 tcl_cv_ld_search_paths_first=yes 11015 8060 else 11016 $as_echo "$as_me: failed program was:" >&5 11017 sed 's/^/| /' conftest.$ac_ext >&5 11018 11019 tcl_cv_ld_search_paths_first=no 11020 fi 11021 11022 rm -rf conftest.dSYM 11023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11024 conftest$ac_exeext conftest.$ac_ext 8061 tcl_cv_ld_search_paths_first=no 8062 fi 8063 rm -f core conftest.err conftest.$ac_objext \ 8064 conftest$ac_exeext conftest.$ac_ext 11025 8065 LDFLAGS=$hold_ldflags 11026 8066 fi 11027 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_search_paths_first" >&58067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 11028 8068 $as_echo "$tcl_cv_ld_search_paths_first" >&6; } 11029 8069 if test $tcl_cv_ld_search_paths_first = yes; then … … 11053 8093 CFLAGS_OPTIMIZE="" # Optimizer is buggy 11054 8094 11055 cat >>confdefs.h <<\_ACEOF 11056 #define _OE_SOCKETS 1 11057 _ACEOF 8095 $as_echo "#define _OE_SOCKETS 1" >>confdefs.h 11058 8096 11059 8097 ;; … … 11186 8224 11187 8225 11188 cat >>confdefs.h <<\_ACEOF 11189 #define _REENTRANT 1 11190 _ACEOF 11191 11192 11193 cat >>confdefs.h <<\_ACEOF 11194 #define _POSIX_PTHREAD_SEMANTICS 1 11195 _ACEOF 8226 $as_echo "#define _REENTRANT 1" >>confdefs.h 8227 8228 8229 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11196 8230 11197 8231 … … 11220 8254 11221 8255 11222 cat >>confdefs.h <<\_ACEOF 11223 #define _REENTRANT 1 11224 _ACEOF 11225 11226 11227 cat >>confdefs.h <<\_ACEOF 11228 #define _POSIX_PTHREAD_SEMANTICS 1 11229 _ACEOF 8256 $as_echo "#define _REENTRANT 1" >>confdefs.h 8257 8258 8259 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 11230 8260 11231 8261 … … 11238 8268 if test "$GCC" = "yes" ; then 11239 8269 if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then 11240 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&58270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 11241 8271 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} 11242 8272 else … … 11260 8290 elif test "$arch" = "amd64 i386" ; then 11261 8291 if test "$GCC" = "yes" ; then 11262 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported with GCC on $system" >&58292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 11263 8293 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} 11264 8294 else … … 11268 8298 fi 11269 8299 else 11270 { $as_echo "$as_me:$ LINENO: WARNING: 64bit mode not supported for $arch" >&58300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 11271 8301 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} 11272 8302 fi … … 11310 8340 # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers 11311 8341 # that don't grok the -Bexport option. Test that it does. 11312 { $as_echo "$as_me:$ LINENO: checking for ld accepts -Bexport flag" >&58342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 11313 8343 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; } 11314 if test "${tcl_cv_ld_Bexport+set}" = set; then8344 if ${tcl_cv_ld_Bexport+:} false; then : 11315 8345 $as_echo_n "(cached) " >&6 11316 8346 else … … 11318 8348 hold_ldflags=$LDFLAGS 11319 8349 LDFLAGS="$LDFLAGS -Wl,-Bexport" 11320 cat >conftest.$ac_ext <<_ACEOF 11321 /* confdefs.h. */ 11322 _ACEOF 11323 cat confdefs.h >>conftest.$ac_ext 11324 cat >>conftest.$ac_ext <<_ACEOF 8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11325 8351 /* end confdefs.h. */ 11326 8352 … … 11333 8359 } 11334 8360 _ACEOF 11335 rm -f conftest.$ac_objext conftest$ac_exeext 11336 if { (ac_try="$ac_link" 11337 case "(($ac_try" in 11338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11339 *) ac_try_echo=$ac_try;; 11340 esac 11341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11342 $as_echo "$ac_try_echo") >&5 11343 (eval "$ac_link") 2>conftest.er1 11344 ac_status=$? 11345 grep -v '^ *+' conftest.er1 >conftest.err 11346 rm -f conftest.er1 11347 cat conftest.err >&5 11348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11349 (exit $ac_status); } && { 11350 test -z "$ac_c_werror_flag" || 11351 test ! -s conftest.err 11352 } && test -s conftest$ac_exeext && { 11353 test "$cross_compiling" = yes || 11354 $as_test_x conftest$ac_exeext 11355 }; then 8361 if ac_fn_c_try_link "$LINENO"; then : 11356 8362 tcl_cv_ld_Bexport=yes 11357 8363 else 11358 $as_echo "$as_me: failed program was:" >&5 11359 sed 's/^/| /' conftest.$ac_ext >&5 11360 11361 tcl_cv_ld_Bexport=no 11362 fi 11363 11364 rm -rf conftest.dSYM 11365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11366 conftest$ac_exeext conftest.$ac_ext 8364 tcl_cv_ld_Bexport=no 8365 fi 8366 rm -f core conftest.err conftest.$ac_objext \ 8367 conftest$ac_exeext conftest.$ac_ext 11367 8368 LDFLAGS=$hold_ldflags 11368 8369 fi 11369 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_ld_Bexport" >&58370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 11370 8371 $as_echo "$tcl_cv_ld_Bexport" >&6; } 11371 8372 if test $tcl_cv_ld_Bexport = yes; then … … 11378 8379 11379 8380 if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then 11380 { $as_echo "$as_me:$ LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&58381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 11381 8382 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} 11382 8383 fi … … 11385 8386 11386 8387 # Check whether --enable-load was given. 11387 if test "${enable_load+set}" = set; then 8388 if test "${enable_load+set}" = set; then : 11388 8389 enableval=$enable_load; tcl_ok=$enableval 11389 8390 else … … 11464 8465 # verify any possible 64-bit or similar switches are necessary 11465 8466 11466 { $as_echo "$as_me:$ LINENO: checking for required early compiler flags" >&58467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for required early compiler flags" >&5 11467 8468 $as_echo_n "checking for required early compiler flags... " >&6; } 11468 8469 tcl_flags="" 11469 8470 11470 if test "${tcl_cv_flag__isoc99_source+set}" = set; then8471 if ${tcl_cv_flag__isoc99_source+:} false; then : 11471 8472 $as_echo_n "(cached) " >&6 11472 8473 else 11473 cat >conftest.$ac_ext <<_ACEOF 11474 /* confdefs.h. */ 11475 _ACEOF 11476 cat confdefs.h >>conftest.$ac_ext 11477 cat >>conftest.$ac_ext <<_ACEOF 8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11478 8475 /* end confdefs.h. */ 11479 8476 #include <stdlib.h> … … 11486 8483 } 11487 8484 _ACEOF 11488 rm -f conftest.$ac_objext 11489 if { (ac_try="$ac_compile" 11490 case "(($ac_try" in 11491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11492 *) ac_try_echo=$ac_try;; 11493 esac 11494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11495 $as_echo "$ac_try_echo") >&5 11496 (eval "$ac_compile") 2>conftest.er1 11497 ac_status=$? 11498 grep -v '^ *+' conftest.er1 >conftest.err 11499 rm -f conftest.er1 11500 cat conftest.err >&5 11501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11502 (exit $ac_status); } && { 11503 test -z "$ac_c_werror_flag" || 11504 test ! -s conftest.err 11505 } && test -s conftest.$ac_objext; then 8485 if ac_fn_c_try_compile "$LINENO"; then : 11506 8486 tcl_cv_flag__isoc99_source=no 11507 8487 else 11508 $as_echo "$as_me: failed program was:" >&5 11509 sed 's/^/| /' conftest.$ac_ext >&5 11510 11511 cat >conftest.$ac_ext <<_ACEOF 11512 /* confdefs.h. */ 11513 _ACEOF 11514 cat confdefs.h >>conftest.$ac_ext 11515 cat >>conftest.$ac_ext <<_ACEOF 8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11516 8489 /* end confdefs.h. */ 11517 8490 #define _ISOC99_SOURCE 1 … … 11525 8498 } 11526 8499 _ACEOF 11527 rm -f conftest.$ac_objext 11528 if { (ac_try="$ac_compile" 11529 case "(($ac_try" in 11530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11531 *) ac_try_echo=$ac_try;; 11532 esac 11533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11534 $as_echo "$ac_try_echo") >&5 11535 (eval "$ac_compile") 2>conftest.er1 11536 ac_status=$? 11537 grep -v '^ *+' conftest.er1 >conftest.err 11538 rm -f conftest.er1 11539 cat conftest.err >&5 11540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11541 (exit $ac_status); } && { 11542 test -z "$ac_c_werror_flag" || 11543 test ! -s conftest.err 11544 } && test -s conftest.$ac_objext; then 8500 if ac_fn_c_try_compile "$LINENO"; then : 11545 8501 tcl_cv_flag__isoc99_source=yes 11546 8502 else 11547 $as_echo "$as_me: failed program was:" >&5 11548 sed 's/^/| /' conftest.$ac_ext >&5 11549 11550 tcl_cv_flag__isoc99_source=no 11551 fi 11552 8503 tcl_cv_flag__isoc99_source=no 8504 fi 11553 8505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11554 8506 fi 11555 11556 8507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11557 8508 fi … … 11559 8510 if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then 11560 8511 11561 cat >>confdefs.h <<\_ACEOF 11562 #define _ISOC99_SOURCE 1 11563 _ACEOF 8512 $as_echo "#define _ISOC99_SOURCE 1" >>confdefs.h 11564 8513 11565 8514 tcl_flags="$tcl_flags _ISOC99_SOURCE" … … 11567 8516 11568 8517 11569 if test "${tcl_cv_flag__largefile64_source+set}" = set; then8518 if ${tcl_cv_flag__largefile64_source+:} false; then : 11570 8519 $as_echo_n "(cached) " >&6 11571 8520 else 11572 cat >conftest.$ac_ext <<_ACEOF 11573 /* confdefs.h. */ 11574 _ACEOF 11575 cat confdefs.h >>conftest.$ac_ext 11576 cat >>conftest.$ac_ext <<_ACEOF 8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11577 8522 /* end confdefs.h. */ 11578 8523 #include <sys/stat.h> … … 11585 8530 } 11586 8531 _ACEOF 11587 rm -f conftest.$ac_objext 11588 if { (ac_try="$ac_compile" 11589 case "(($ac_try" in 11590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11591 *) ac_try_echo=$ac_try;; 11592 esac 11593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11594 $as_echo "$ac_try_echo") >&5 11595 (eval "$ac_compile") 2>conftest.er1 11596 ac_status=$? 11597 grep -v '^ *+' conftest.er1 >conftest.err 11598 rm -f conftest.er1 11599 cat conftest.err >&5 11600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11601 (exit $ac_status); } && { 11602 test -z "$ac_c_werror_flag" || 11603 test ! -s conftest.err 11604 } && test -s conftest.$ac_objext; then 8532 if ac_fn_c_try_compile "$LINENO"; then : 11605 8533 tcl_cv_flag__largefile64_source=no 11606 8534 else 11607 $as_echo "$as_me: failed program was:" >&5 11608 sed 's/^/| /' conftest.$ac_ext >&5 11609 11610 cat >conftest.$ac_ext <<_ACEOF 11611 /* confdefs.h. */ 11612 _ACEOF 11613 cat confdefs.h >>conftest.$ac_ext 11614 cat >>conftest.$ac_ext <<_ACEOF 8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11615 8536 /* end confdefs.h. */ 11616 8537 #define _LARGEFILE64_SOURCE 1 … … 11624 8545 } 11625 8546 _ACEOF 11626 rm -f conftest.$ac_objext 11627 if { (ac_try="$ac_compile" 11628 case "(($ac_try" in 11629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11630 *) ac_try_echo=$ac_try;; 11631 esac 11632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11633 $as_echo "$ac_try_echo") >&5 11634 (eval "$ac_compile") 2>conftest.er1 11635 ac_status=$? 11636 grep -v '^ *+' conftest.er1 >conftest.err 11637 rm -f conftest.er1 11638 cat conftest.err >&5 11639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11640 (exit $ac_status); } && { 11641 test -z "$ac_c_werror_flag" || 11642 test ! -s conftest.err 11643 } && test -s conftest.$ac_objext; then 8547 if ac_fn_c_try_compile "$LINENO"; then : 11644 8548 tcl_cv_flag__largefile64_source=yes 11645 8549 else 11646 $as_echo "$as_me: failed program was:" >&5 11647 sed 's/^/| /' conftest.$ac_ext >&5 11648 11649 tcl_cv_flag__largefile64_source=no 11650 fi 11651 8550 tcl_cv_flag__largefile64_source=no 8551 fi 11652 8552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11653 8553 fi 11654 11655 8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11656 8555 fi … … 11658 8557 if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then 11659 8558 11660 cat >>confdefs.h <<\_ACEOF 11661 #define _LARGEFILE64_SOURCE 1 11662 _ACEOF 8559 $as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h 11663 8560 11664 8561 tcl_flags="$tcl_flags _LARGEFILE64_SOURCE" … … 11666 8563 11667 8564 11668 if test "${tcl_cv_flag__largefile_source64+set}" = set; then8565 if ${tcl_cv_flag__largefile_source64+:} false; then : 11669 8566 $as_echo_n "(cached) " >&6 11670 8567 else 11671 cat >conftest.$ac_ext <<_ACEOF 11672 /* confdefs.h. */ 11673 _ACEOF 11674 cat confdefs.h >>conftest.$ac_ext 11675 cat >>conftest.$ac_ext <<_ACEOF 8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11676 8569 /* end confdefs.h. */ 11677 8570 #include <sys/stat.h> … … 11684 8577 } 11685 8578 _ACEOF 11686 rm -f conftest.$ac_objext 11687 if { (ac_try="$ac_compile" 11688 case "(($ac_try" in 11689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11690 *) ac_try_echo=$ac_try;; 11691 esac 11692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11693 $as_echo "$ac_try_echo") >&5 11694 (eval "$ac_compile") 2>conftest.er1 11695 ac_status=$? 11696 grep -v '^ *+' conftest.er1 >conftest.err 11697 rm -f conftest.er1 11698 cat conftest.err >&5 11699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11700 (exit $ac_status); } && { 11701 test -z "$ac_c_werror_flag" || 11702 test ! -s conftest.err 11703 } && test -s conftest.$ac_objext; then 8579 if ac_fn_c_try_compile "$LINENO"; then : 11704 8580 tcl_cv_flag__largefile_source64=no 11705 8581 else 11706 $as_echo "$as_me: failed program was:" >&5 11707 sed 's/^/| /' conftest.$ac_ext >&5 11708 11709 cat >conftest.$ac_ext <<_ACEOF 11710 /* confdefs.h. */ 11711 _ACEOF 11712 cat confdefs.h >>conftest.$ac_ext 11713 cat >>conftest.$ac_ext <<_ACEOF 8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11714 8583 /* end confdefs.h. */ 11715 8584 #define _LARGEFILE_SOURCE64 1 … … 11723 8592 } 11724 8593 _ACEOF 11725 rm -f conftest.$ac_objext 11726 if { (ac_try="$ac_compile" 11727 case "(($ac_try" in 11728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11729 *) ac_try_echo=$ac_try;; 11730 esac 11731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11732 $as_echo "$ac_try_echo") >&5 11733 (eval "$ac_compile") 2>conftest.er1 11734 ac_status=$? 11735 grep -v '^ *+' conftest.er1 >conftest.err 11736 rm -f conftest.er1 11737 cat conftest.err >&5 11738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11739 (exit $ac_status); } && { 11740 test -z "$ac_c_werror_flag" || 11741 test ! -s conftest.err 11742 } && test -s conftest.$ac_objext; then 8594 if ac_fn_c_try_compile "$LINENO"; then : 11743 8595 tcl_cv_flag__largefile_source64=yes 11744 8596 else 11745 $as_echo "$as_me: failed program was:" >&5 11746 sed 's/^/| /' conftest.$ac_ext >&5 11747 11748 tcl_cv_flag__largefile_source64=no 11749 fi 11750 8597 tcl_cv_flag__largefile_source64=no 8598 fi 11751 8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11752 8600 fi 11753 11754 8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11755 8602 fi … … 11757 8604 if test "x${tcl_cv_flag__largefile_source64}" = "xyes" ; then 11758 8605 11759 cat >>confdefs.h <<\_ACEOF 11760 #define _LARGEFILE_SOURCE64 1 11761 _ACEOF 8606 $as_echo "#define _LARGEFILE_SOURCE64 1" >>confdefs.h 11762 8607 11763 8608 tcl_flags="$tcl_flags _LARGEFILE_SOURCE64" … … 11765 8610 11766 8611 if test "x${tcl_flags}" = "x" ; then 11767 { $as_echo "$as_me:$ LINENO: result: none" >&58612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 11768 8613 $as_echo "none" >&6; } 11769 8614 else 11770 { $as_echo "$as_me:$ LINENO: result: ${tcl_flags}" >&58615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_flags}" >&5 11771 8616 $as_echo "${tcl_flags}" >&6; } 11772 8617 fi 11773 8618 11774 8619 11775 { $as_echo "$as_me:$ LINENO: checking for 64-bit integer type" >&58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit integer type" >&5 11776 8621 $as_echo_n "checking for 64-bit integer type... " >&6; } 11777 if test "${tcl_cv_type_64bit+set}" = set; then8622 if ${tcl_cv_type_64bit+:} false; then : 11778 8623 $as_echo_n "(cached) " >&6 11779 8624 else … … 11781 8626 tcl_cv_type_64bit=none 11782 8627 # See if the compiler knows natively about __int64 11783 cat >conftest.$ac_ext <<_ACEOF 11784 /* confdefs.h. */ 11785 _ACEOF 11786 cat confdefs.h >>conftest.$ac_ext 11787 cat >>conftest.$ac_ext <<_ACEOF 8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11788 8629 /* end confdefs.h. */ 11789 8630 … … 11796 8637 } 11797 8638 _ACEOF 11798 rm -f conftest.$ac_objext 11799 if { (ac_try="$ac_compile" 11800 case "(($ac_try" in 11801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11802 *) ac_try_echo=$ac_try;; 11803 esac 11804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11805 $as_echo "$ac_try_echo") >&5 11806 (eval "$ac_compile") 2>conftest.er1 11807 ac_status=$? 11808 grep -v '^ *+' conftest.er1 >conftest.err 11809 rm -f conftest.er1 11810 cat conftest.err >&5 11811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11812 (exit $ac_status); } && { 11813 test -z "$ac_c_werror_flag" || 11814 test ! -s conftest.err 11815 } && test -s conftest.$ac_objext; then 8639 if ac_fn_c_try_compile "$LINENO"; then : 11816 8640 tcl_type_64bit=__int64 11817 8641 else 11818 $as_echo "$as_me: failed program was:" >&5 11819 sed 's/^/| /' conftest.$ac_ext >&5 11820 11821 tcl_type_64bit="long long" 11822 fi 11823 8642 tcl_type_64bit="long long" 8643 fi 11824 8644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11825 8645 # See if we should use long anyway Note that we substitute in the 11826 8646 # type that is our current guess for a 64-bit type inside this check 11827 8647 # program, so it should be modified only carefully... 11828 cat >conftest.$ac_ext <<_ACEOF 11829 /* confdefs.h. */ 11830 _ACEOF 11831 cat confdefs.h >>conftest.$ac_ext 11832 cat >>conftest.$ac_ext <<_ACEOF 8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11833 8649 /* end confdefs.h. */ 11834 8650 … … 11843 8659 } 11844 8660 _ACEOF 11845 rm -f conftest.$ac_objext 11846 if { (ac_try="$ac_compile" 11847 case "(($ac_try" in 11848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11849 *) ac_try_echo=$ac_try;; 11850 esac 11851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11852 $as_echo "$ac_try_echo") >&5 11853 (eval "$ac_compile") 2>conftest.er1 11854 ac_status=$? 11855 grep -v '^ *+' conftest.er1 >conftest.err 11856 rm -f conftest.er1 11857 cat conftest.err >&5 11858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11859 (exit $ac_status); } && { 11860 test -z "$ac_c_werror_flag" || 11861 test ! -s conftest.err 11862 } && test -s conftest.$ac_objext; then 8661 if ac_fn_c_try_compile "$LINENO"; then : 11863 8662 tcl_cv_type_64bit=${tcl_type_64bit} 11864 else 11865 $as_echo "$as_me: failed program was:" >&5 11866 sed 's/^/| /' conftest.$ac_ext >&5 11867 11868 11869 fi 11870 8663 fi 11871 8664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11872 8665 fi … … 11874 8667 if test "${tcl_cv_type_64bit}" = none ; then 11875 8668 11876 cat >>confdefs.h <<\_ACEOF 11877 #define TCL_WIDE_INT_IS_LONG 1 11878 _ACEOF 11879 11880 { $as_echo "$as_me:$LINENO: result: using long" >&5 8669 $as_echo "#define TCL_WIDE_INT_IS_LONG 1" >>confdefs.h 8670 8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using long" >&5 11881 8672 $as_echo "using long" >&6; } 11882 8673 elif test "${tcl_cv_type_64bit}" = "__int64" \ … … 11884 8675 # We actually want to use the default tcl.h checks in this 11885 8676 # case to handle both TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER* 11886 { $as_echo "$as_me:$ LINENO: result: using Tcl header defaults" >&58677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using Tcl header defaults" >&5 11887 8678 $as_echo "using Tcl header defaults" >&6; } 11888 8679 else … … 11892 8683 _ACEOF 11893 8684 11894 { $as_echo "$as_me:$ LINENO: result: ${tcl_cv_type_64bit}" >&58685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_cv_type_64bit}" >&5 11895 8686 $as_echo "${tcl_cv_type_64bit}" >&6; } 11896 8687 11897 8688 # Now check for auxiliary declarations 11898 { $as_echo "$as_me:$ LINENO: checking for struct dirent64" >&58689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent64" >&5 11899 8690 $as_echo_n "checking for struct dirent64... " >&6; } 11900 if test "${tcl_cv_struct_dirent64+set}" = set; then8691 if ${tcl_cv_struct_dirent64+:} false; then : 11901 8692 $as_echo_n "(cached) " >&6 11902 8693 else 11903 8694 11904 cat >conftest.$ac_ext <<_ACEOF 11905 /* confdefs.h. */ 11906 _ACEOF 11907 cat confdefs.h >>conftest.$ac_ext 11908 cat >>conftest.$ac_ext <<_ACEOF 8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11909 8696 /* end confdefs.h. */ 11910 8697 #include <sys/types.h> … … 11918 8705 } 11919 8706 _ACEOF 11920 rm -f conftest.$ac_objext 11921 if { (ac_try="$ac_compile" 11922 case "(($ac_try" in 11923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11924 *) ac_try_echo=$ac_try;; 11925 esac 11926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11927 $as_echo "$ac_try_echo") >&5 11928 (eval "$ac_compile") 2>conftest.er1 11929 ac_status=$? 11930 grep -v '^ *+' conftest.er1 >conftest.err 11931 rm -f conftest.er1 11932 cat conftest.err >&5 11933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11934 (exit $ac_status); } && { 11935 test -z "$ac_c_werror_flag" || 11936 test ! -s conftest.err 11937 } && test -s conftest.$ac_objext; then 8707 if ac_fn_c_try_compile "$LINENO"; then : 11938 8708 tcl_cv_struct_dirent64=yes 11939 8709 else 11940 $as_echo "$as_me: failed program was:" >&5 11941 sed 's/^/| /' conftest.$ac_ext >&5 11942 11943 tcl_cv_struct_dirent64=no 11944 fi 11945 8710 tcl_cv_struct_dirent64=no 8711 fi 11946 8712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11947 8713 fi 11948 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_struct_dirent64" >&58714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_dirent64" >&5 11949 8715 $as_echo "$tcl_cv_struct_dirent64" >&6; } 11950 8716 if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then 11951 8717 11952 cat >>confdefs.h <<\_ACEOF 11953 #define HAVE_STRUCT_DIRENT64 1 11954 _ACEOF 8718 $as_echo "#define HAVE_STRUCT_DIRENT64 1" >>confdefs.h 11955 8719 11956 8720 fi 11957 8721 11958 { $as_echo "$as_me:$ LINENO: checking for struct stat64" >&58722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat64" >&5 11959 8723 $as_echo_n "checking for struct stat64... " >&6; } 11960 if test "${tcl_cv_struct_stat64+set}" = set; then8724 if ${tcl_cv_struct_stat64+:} false; then : 11961 8725 $as_echo_n "(cached) " >&6 11962 8726 else 11963 8727 11964 cat >conftest.$ac_ext <<_ACEOF 11965 /* confdefs.h. */ 11966 _ACEOF 11967 cat confdefs.h >>conftest.$ac_ext 11968 cat >>conftest.$ac_ext <<_ACEOF 8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11969 8729 /* end confdefs.h. */ 11970 8730 #include <sys/stat.h> … … 11978 8738 } 11979 8739 _ACEOF 11980 rm -f conftest.$ac_objext 11981 if { (ac_try="$ac_compile" 11982 case "(($ac_try" in 11983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11984 *) ac_try_echo=$ac_try;; 11985 esac 11986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11987 $as_echo "$ac_try_echo") >&5 11988 (eval "$ac_compile") 2>conftest.er1 11989 ac_status=$? 11990 grep -v '^ *+' conftest.er1 >conftest.err 11991 rm -f conftest.er1 11992 cat conftest.err >&5 11993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11994 (exit $ac_status); } && { 11995 test -z "$ac_c_werror_flag" || 11996 test ! -s conftest.err 11997 } && test -s conftest.$ac_objext; then 8740 if ac_fn_c_try_compile "$LINENO"; then : 11998 8741 tcl_cv_struct_stat64=yes 11999 8742 else 12000 $as_echo "$as_me: failed program was:" >&5 12001 sed 's/^/| /' conftest.$ac_ext >&5 12002 12003 tcl_cv_struct_stat64=no 12004 fi 12005 8743 tcl_cv_struct_stat64=no 8744 fi 12006 8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12007 8746 fi 12008 { $as_echo "$as_me:$ LINENO: result: $tcl_cv_struct_stat64" >&58747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_stat64" >&5 12009 8748 $as_echo "$tcl_cv_struct_stat64" >&6; } 12010 8749 if test "x${tcl_cv_struct_stat64}" = "xyes" ; then 12011 8750 12012 cat >>confdefs.h <<\_ACEOF 12013 #define HAVE_STRUCT_STAT64 1 12014 _ACEOF 8751 $as_echo "#define HAVE_STRUCT_STAT64 1" >>confdefs.h 12015 8752 12016 8753 fi 12017 8754 12018 12019 12020 for ac_func in open64 lseek64 12021 do 12022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12023 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12024 $as_echo_n "checking for $ac_func... " >&6; } 12025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12026 $as_echo_n "(cached) " >&6 12027 else 12028 cat >conftest.$ac_ext <<_ACEOF 12029 /* confdefs.h. */ 12030 _ACEOF 12031 cat confdefs.h >>conftest.$ac_ext 12032 cat >>conftest.$ac_ext <<_ACEOF 12033 /* end confdefs.h. */ 12034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12035 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12036 #define $ac_func innocuous_$ac_func 12037 12038 /* System header to define __stub macros and hopefully few prototypes, 12039 which can conflict with char $ac_func (); below. 12040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12041 <limits.h> exists even on freestanding compilers. */ 12042 12043 #ifdef __STDC__ 12044 # include <limits.h> 12045 #else 12046 # include <assert.h> 12047 #endif 12048 12049 #undef $ac_func 12050 12051 /* Override any GCC internal prototype to avoid an error. 12052 Use char because int might match the return type of a GCC 12053 builtin and then its argument prototype would still apply. */ 12054 #ifdef __cplusplus 12055 extern "C" 12056 #endif 12057 char $ac_func (); 12058 /* The GNU C library defines this for functions which it implements 12059 to always fail with ENOSYS. Some functions are actually named 12060 something starting with __ and the normal name is an alias. */ 12061 #if defined __stub_$ac_func || defined __stub___$ac_func 12062 choke me 12063 #endif 12064 12065 int 12066 main () 12067 { 12068 return $ac_func (); 12069 ; 12070 return 0; 12071 } 12072 _ACEOF 12073 rm -f conftest.$ac_objext conftest$ac_exeext 12074 if { (ac_try="$ac_link" 12075 case "(($ac_try" in 12076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12077 *) ac_try_echo=$ac_try;; 12078 esac 12079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12080 $as_echo "$ac_try_echo") >&5 12081 (eval "$ac_link") 2>conftest.er1 12082 ac_status=$? 12083 grep -v '^ *+' conftest.er1 >conftest.err 12084 rm -f conftest.er1 12085 cat conftest.err >&5 12086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12087 (exit $ac_status); } && { 12088 test -z "$ac_c_werror_flag" || 12089 test ! -s conftest.err 12090 } && test -s conftest$ac_exeext && { 12091 test "$cross_compiling" = yes || 12092 $as_test_x conftest$ac_exeext 12093 }; then 12094 eval "$as_ac_var=yes" 12095 else 12096 $as_echo "$as_me: failed program was:" >&5 12097 sed 's/^/| /' conftest.$ac_ext >&5 12098 12099 eval "$as_ac_var=no" 12100 fi 12101 12102 rm -rf conftest.dSYM 12103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12104 conftest$ac_exeext conftest.$ac_ext 12105 fi 12106 ac_res=`eval 'as_val=${'$as_ac_var'} 12107 $as_echo "$as_val"'` 12108 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12109 $as_echo "$ac_res" >&6; } 12110 if test `eval 'as_val=${'$as_ac_var'} 12111 $as_echo "$as_val"'` = yes; then 8755 for ac_func in open64 lseek64 8756 do : 8757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8758 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8759 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 12112 8760 cat >>confdefs.h <<_ACEOF 12113 8761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 … … 12117 8765 done 12118 8766 12119 { $as_echo "$as_me:$ LINENO: checking for off64_t" >&58767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5 12120 8768 $as_echo_n "checking for off64_t... " >&6; } 12121 if test "${tcl_cv_type_off64_t+set}" = set; then8769 if ${tcl_cv_type_off64_t+:} false; then : 12122 8770 $as_echo_n "(cached) " >&6 12123 8771 else 12124 8772 12125 cat >conftest.$ac_ext <<_ACEOF 12126 /* confdefs.h. */ 12127 _ACEOF 12128 cat confdefs.h >>conftest.$ac_ext 12129 cat >>conftest.$ac_ext <<_ACEOF 8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12130 8774 /* end confdefs.h. */ 12131 8775 #include <sys/types.h> … … 12139 8783 } 12140 8784 _ACEOF 12141 rm -f conftest.$ac_objext 12142 if { (ac_try="$ac_compile" 12143 case "(($ac_try" in 12144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12145 *) ac_try_echo=$ac_try;; 12146 esac 12147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12148 $as_echo "$ac_try_echo") >&5 12149 (eval "$ac_compile") 2>conftest.er1 12150 ac_status=$? 12151 grep -v '^ *+' conftest.er1 >conftest.err 12152 rm -f conftest.er1 12153 cat conftest.err >&5 12154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12155 (exit $ac_status); } && { 12156 test -z "$ac_c_werror_flag" || 12157 test ! -s conftest.err 12158 } && test -s conftest.$ac_objext; then 8785 if ac_fn_c_try_compile "$LINENO"; then : 12159 8786 tcl_cv_type_off64_t=yes 12160 8787 else 12161 $as_echo "$as_me: failed program was:" >&5 12162 sed 's/^/| /' conftest.$ac_ext >&5 12163 12164 tcl_cv_type_off64_t=no 12165 fi 12166 8788 tcl_cv_type_off64_t=no 8789 fi 12167 8790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12168 8791 fi … … 12172 8795 test "x${ac_cv_func_open64}" = "xyes" ; then 12173 8796 12174 cat >>confdefs.h <<\_ACEOF 12175 #define HAVE_TYPE_OFF64_T 1 12176 _ACEOF 12177 12178 { $as_echo "$as_me:$LINENO: result: yes" >&5 8797 $as_echo "#define HAVE_TYPE_OFF64_T 1" >>confdefs.h 8798 8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12179 8800 $as_echo "yes" >&6; } 12180 8801 else 12181 { $as_echo "$as_me:$ LINENO: result: no" >&58802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12182 8803 $as_echo "no" >&6; } 12183 8804 fi … … 12192 8813 12193 8814 12194 { $as_echo "$as_me:$ LINENO: checking for build with symbols" >&58815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 12195 8816 $as_echo_n "checking for build with symbols... " >&6; } 12196 8817 # Check whether --enable-symbols was given. 12197 if test "${enable_symbols+set}" = set; then 8818 if test "${enable_symbols+set}" = set; then : 12198 8819 enableval=$enable_symbols; tcl_ok=$enableval 12199 8820 else … … 12205 8826 CFLAGS_DEFAULT="${CFLAGS_OPTIMIZE}" 12206 8827 LDFLAGS_DEFAULT="${LDFLAGS_OPTIMIZE}" 12207 { $as_echo "$as_me:$ LINENO: result: no" >&58828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12208 8829 $as_echo "no" >&6; } 12209 8830 else … … 12211 8832 LDFLAGS_DEFAULT="${LDFLAGS_DEBUG}" 12212 8833 if test "$tcl_ok" = "yes"; then 12213 { $as_echo "$as_me:$ LINENO: result: yes (standard debugging)" >&58834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 12214 8835 $as_echo "yes (standard debugging)" >&6; } 12215 8836 fi … … 12225 8846 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then 12226 8847 12227 cat >>confdefs.h <<\_ACEOF 12228 #define TCL_MEM_DEBUG 1 12229 _ACEOF 8848 $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h 12230 8849 12231 8850 fi … … 12233 8852 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then 12234 8853 if test "$tcl_ok" = "all"; then 12235 { $as_echo "$as_me:$ LINENO: result: enabled symbols mem debugging" >&58854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem debugging" >&5 12236 8855 $as_echo "enabled symbols mem debugging" >&6; } 12237 8856 else 12238 { $as_echo "$as_me:$ LINENO: result: enabled $tcl_ok debugging" >&58857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 12239 8858 $as_echo "enabled $tcl_ok debugging" >&6; } 12240 8859 fi … … 12250 8869 12251 8870 12252 cat >>confdefs.h <<\_ACEOF 12253 #define USE_TCL_STUBS 1 12254 _ACEOF 8871 $as_echo "#define USE_TCL_STUBS 1" >>confdefs.h 12255 8872 12256 8873 #AC_DEFINE(USE_TK_STUBS, 1, [Use Tk stubs]) … … 12345 8962 12346 8963 12347 { $as_echo "$as_me:$ LINENO: checking for tclsh" >&58964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 12348 8965 $as_echo_n "checking for tclsh... " >&6; } 12349 8966 if test -f "${TCL_BIN_DIR}/Makefile" ; then … … 12372 8989 TCLSH_PROG="${REAL_TCL_BIN_DIR}/${TCLSH_PROG}" 12373 8990 fi 12374 { $as_echo "$as_me:$ LINENO: result: ${TCLSH_PROG}" >&58991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH_PROG}" >&5 12375 8992 $as_echo "${TCLSH_PROG}" >&6; } 12376 8993 … … 12381 8998 EXACT_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}-${PATCHLEVEL} 12382 8999 NODOT_VERSION=${MAJOR_VERSION}${MINOR_VERSION} 9000 9001 9002 9003 12383 9004 12384 9005 … … 12426 9047 *${as_nl}*) 12427 9048 case $ac_var in #( 12428 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: Cache variable $ac_var contains a newline." >&512429 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;9049 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9050 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12430 9051 esac 12431 9052 case $ac_var in #( 12432 9053 _ | IFS | as_nl) ;; #( 12433 9054 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12434 *) $as_unset $ac_var;;9055 *) { eval $ac_var=; unset $ac_var;} ;; 12435 9056 esac ;; 12436 9057 esac … … 12440 9061 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12441 9062 *${as_nl}ac_space=\ *) 12442 # `set' does not quote correctly, so add quotes (double-quote12443 # substitution turns \\\\ into \\, and sed turns \\ into \ ).9063 # `set' does not quote correctly, so add quotes: double-quote 9064 # substitution turns \\\\ into \\, and sed turns \\ into \. 12444 9065 sed -n \ 12445 9066 "s/'/'\\\\''/g; … … 12463 9084 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 12464 9085 if test -w "$cache_file"; then 12465 test "x$cache_file" != "x/dev/null" &&12466 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&59086 if test "x$cache_file" != "x/dev/null"; then 9087 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12467 9088 $as_echo "$as_me: updating cache $cache_file" >&6;} 12468 cat confcache >$cache_file 9089 if test ! -f "$cache_file" || test -h "$cache_file"; then 9090 cat confcache >"$cache_file" 9091 else 9092 case $cache_file in #( 9093 */* | ?:*) 9094 mv -f confcache "$cache_file"$$ && 9095 mv -f "$cache_file"$$ "$cache_file" ;; #( 9096 *) 9097 mv -f confcache "$cache_file" ;; 9098 esac 9099 fi 9100 fi 12469 9101 else 12470 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&59102 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12471 9103 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12472 9104 fi … … 12518 9150 ac_libobjs= 12519 9151 ac_ltlibobjs= 9152 U= 12520 9153 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 12521 9154 # 1. Remove the extension, and $U if already installed. … … 12524 9157 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12525 9158 # will be set to the directory where LIBOBJS objects are built. 12526 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"12527 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'9159 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9160 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12528 9161 done 12529 9162 LIBOBJS=$ac_libobjs … … 12533 9166 12534 9167 12535 : ${CONFIG_STATUS=./config.status} 9168 9169 : "${CONFIG_STATUS=./config.status}" 12536 9170 ac_write_fail=0 12537 9171 ac_clean_files_save=$ac_clean_files 12538 9172 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12539 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&59173 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12540 9174 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12541 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9175 as_write_fail=0 9176 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12542 9177 #! $SHELL 12543 9178 # Generated by $as_me. … … 12549 9184 ac_cs_recheck=false 12550 9185 ac_cs_silent=false 9186 12551 9187 SHELL=\${CONFIG_SHELL-$SHELL} 12552 _ACEOF 12553 12554 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=112555 ## -------------------- -##12556 ## M4sh Initialization. 12557 ## -------------------- -##9188 export SHELL 9189 _ASEOF 9190 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9191 ## -------------------- ## 9192 ## M4sh Initialization. ## 9193 ## -------------------- ## 12558 9194 12559 9195 # Be more Bourne compatible 12560 9196 DUALCASE=1; export DUALCASE # for MKS sh 12561 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 9197 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12562 9198 emulate sh 12563 9199 NULLCMD=: … … 12567 9203 setopt NO_GLOB_SUBST 12568 9204 else 12569 case `(set -o) 2>/dev/null` in 12570 *posix*) set -o posix ;; 9205 case `(set -o) 2>/dev/null` in #( 9206 *posix*) : 9207 set -o posix ;; #( 9208 *) : 9209 ;; 12571 9210 esac 12572 12573 fi 12574 12575 12576 12577 12578 # PATH needs CR 12579 # Avoid depending upon Character Ranges. 12580 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12581 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12582 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12583 as_cr_digits='0123456789' 12584 as_cr_alnum=$as_cr_Letters$as_cr_digits 9211 fi 9212 12585 9213 12586 9214 as_nl=' … … 12591 9219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12592 9220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12593 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9221 # Prefer a ksh shell builtin over an external printf program on Solaris, 9222 # but without wasting forks for bash or zsh. 9223 if test -z "$BASH_VERSION$ZSH_VERSION" \ 9224 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9225 as_echo='print -r --' 9226 as_echo_n='print -rn --' 9227 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12594 9228 as_echo='printf %s\n' 12595 9229 as_echo_n='printf %s' … … 12602 9236 as_echo_n_body='eval 12603 9237 arg=$1; 12604 case $arg in 9238 case $arg in #( 12605 9239 *"$as_nl"*) 12606 9240 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 12625 9259 fi 12626 9260 12627 # Support unset when possible.12628 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then12629 as_unset=unset12630 else12631 as_unset=false12632 fi12633 12634 9261 12635 9262 # IFS … … 12641 9268 12642 9269 # Find who we are. Look in the path if we contain no directory separator. 12643 case $0 in 9270 as_myself= 9271 case $0 in #(( 12644 9272 *[\\/]* ) as_myself=$0 ;; 12645 9273 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 12648 9276 IFS=$as_save_IFS 12649 9277 test -z "$as_dir" && as_dir=. 12650 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break12651 done9278 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9279 done 12652 9280 IFS=$as_save_IFS 12653 9281 … … 12661 9289 if test ! -f "$as_myself"; then 12662 9290 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12663 { (exit 1); exit 1; } 12664 fi 12665 12666 # Work around bugs in pre-3.0 UWIN ksh. 12667 for as_var in ENV MAIL MAILPATH 12668 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9291 exit 1 9292 fi 9293 9294 # Unset variables that we do not need and which cause bugs (e.g. in 9295 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9296 # suppresses any "Segmentation fault" message there. '((' could 9297 # trigger a bug in pdksh 5.2.14. 9298 for as_var in BASH_ENV ENV MAIL MAILPATH 9299 do eval test x\${$as_var+set} = xset \ 9300 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12669 9301 done 12670 9302 PS1='$ ' … … 12678 9310 export LANGUAGE 12679 9311 12680 # Required to use basename. 9312 # CDPATH. 9313 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9314 9315 9316 # as_fn_error STATUS ERROR [LINENO LOG_FD] 9317 # ---------------------------------------- 9318 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9319 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9320 # script with STATUS, using 1 if that was 0. 9321 as_fn_error () 9322 { 9323 as_status=$1; test $as_status -eq 0 && as_status=1 9324 if test "$4"; then 9325 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9326 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9327 fi 9328 $as_echo "$as_me: error: $2" >&2 9329 as_fn_exit $as_status 9330 } # as_fn_error 9331 9332 9333 # as_fn_set_status STATUS 9334 # ----------------------- 9335 # Set $? to STATUS, without forking. 9336 as_fn_set_status () 9337 { 9338 return $1 9339 } # as_fn_set_status 9340 9341 # as_fn_exit STATUS 9342 # ----------------- 9343 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9344 as_fn_exit () 9345 { 9346 set +e 9347 as_fn_set_status $1 9348 exit $1 9349 } # as_fn_exit 9350 9351 # as_fn_unset VAR 9352 # --------------- 9353 # Portably unset VAR. 9354 as_fn_unset () 9355 { 9356 { eval $1=; unset $1;} 9357 } 9358 as_unset=as_fn_unset 9359 # as_fn_append VAR VALUE 9360 # ---------------------- 9361 # Append the text in VALUE to the end of the definition contained in VAR. Take 9362 # advantage of any shell optimizations that allow amortized linear growth over 9363 # repeated appends, instead of the typical quadratic growth present in naive 9364 # implementations. 9365 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9366 eval 'as_fn_append () 9367 { 9368 eval $1+=\$2 9369 }' 9370 else 9371 as_fn_append () 9372 { 9373 eval $1=\$$1\$2 9374 } 9375 fi # as_fn_append 9376 9377 # as_fn_arith ARG... 9378 # ------------------ 9379 # Perform arithmetic evaluation on the ARGs, and store the result in the 9380 # global $as_val. Take advantage of shells that can avoid forks. The arguments 9381 # must be portable across $(()) and expr. 9382 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9383 eval 'as_fn_arith () 9384 { 9385 as_val=$(( $* )) 9386 }' 9387 else 9388 as_fn_arith () 9389 { 9390 as_val=`expr "$@" || test $? -eq 1` 9391 } 9392 fi # as_fn_arith 9393 9394 12681 9395 if expr a : '\(a\)' >/dev/null 2>&1 && 12682 9396 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 12692 9406 fi 12693 9407 12694 12695 # Name of the executable. 9408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9409 as_dirname=dirname 9410 else 9411 as_dirname=false 9412 fi 9413 12696 9414 as_me=`$as_basename -- "$0" || 12697 9415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 12713 9431 s/.*/./; q'` 12714 9432 12715 # CDPATH. 12716 $as_unset CDPATH 12717 12718 12719 12720 as_lineno_1=$LINENO 12721 as_lineno_2=$LINENO 12722 test "x$as_lineno_1" != "x$as_lineno_2" && 12723 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 12724 12725 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 12726 # uniformly replaced by the line number. The first 'sed' inserts a 12727 # line-number line after each line using $LINENO; the second 'sed' 12728 # does the real work. The second script uses 'N' to pair each 12729 # line-number line with the line containing $LINENO, and appends 12730 # trailing '-' during substitution so that $LINENO is not a special 12731 # case at line end. 12732 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 12733 # scripts with optimization help from Paolo Bonzini. Blame Lee 12734 # E. McMahon (1931-1989) for sed's syntax. :-) 12735 sed -n ' 12736 p 12737 /[$]LINENO/= 12738 ' <$as_myself | 12739 sed ' 12740 s/[$]LINENO.*/&-/ 12741 t lineno 12742 b 12743 :lineno 12744 N 12745 :loop 12746 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 12747 t loop 12748 s/-\n.*// 12749 ' >$as_me.lineno && 12750 chmod +x "$as_me.lineno" || 12751 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 12752 { (exit 1); exit 1; }; } 12753 12754 # Don't try to exec as it changes $[0], causing all sort of problems 12755 # (the dirname of $[0] is not the place where we might find the 12756 # original and so on. Autoconf is especially sensitive to this). 12757 . "./$as_me.lineno" 12758 # Exit status is that of the last command. 12759 exit 12760 } 12761 12762 12763 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12764 as_dirname=dirname 12765 else 12766 as_dirname=false 12767 fi 9433 # Avoid depending upon Character Ranges. 9434 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9437 as_cr_digits='0123456789' 9438 as_cr_alnum=$as_cr_Letters$as_cr_digits 12768 9439 12769 9440 ECHO_C= ECHO_N= ECHO_T= 12770 case `echo -n x` in 9441 case `echo -n x` in #((((( 12771 9442 -n*) 12772 case `echo 'x \c'` in9443 case `echo 'xy\c'` in 12773 9444 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12774 *) ECHO_C='\c';; 9445 xy) ECHO_C='\c';; 9446 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9447 ECHO_T=' ';; 12775 9448 esac;; 12776 9449 *) 12777 9450 ECHO_N='-n';; 12778 9451 esac 12779 if expr a : '\(a\)' >/dev/null 2>&1 &&12780 test "X`expr 00001 : '.*\(...\)'`" = X001; then12781 as_expr=expr12782 else12783 as_expr=false12784 fi12785 9452 12786 9453 rm -f conf$$ conf$$.exe conf$$.file … … 12797 9464 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12798 9465 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12799 # In both cases, we have to default to `cp -p '.9466 # In both cases, we have to default to `cp -pR'. 12800 9467 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12801 as_ln_s='cp -p '9468 as_ln_s='cp -pR' 12802 9469 elif ln conf$$.file conf$$ 2>/dev/null; then 12803 9470 as_ln_s=ln 12804 9471 else 12805 as_ln_s='cp -p '9472 as_ln_s='cp -pR' 12806 9473 fi 12807 9474 else 12808 as_ln_s='cp -p '9475 as_ln_s='cp -pR' 12809 9476 fi 12810 9477 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12811 9478 rmdir conf$$.dir 2>/dev/null 12812 9479 12813 if mkdir -p . 2>/dev/null; then 12814 as_mkdir_p=: 12815 else 12816 test -d ./-p && rmdir ./-p 12817 as_mkdir_p=false 12818 fi 12819 12820 if test -x / >/dev/null 2>&1; then 12821 as_test_x='test -x' 12822 else 12823 if ls -dL / >/dev/null 2>&1; then 12824 as_ls_L_option=L 12825 else 12826 as_ls_L_option= 12827 fi 12828 as_test_x=' 12829 eval sh -c '\'' 12830 if test -d "$1"; then 12831 test -d "$1/."; 12832 else 12833 case $1 in 12834 -*)set "./$1";; 12835 esac; 12836 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 12837 ???[sx]*):;;*)false;;esac;fi 12838 '\'' sh 12839 ' 12840 fi 12841 as_executable_p=$as_test_x 12842 12843 # Sed expression to map a string onto a valid CPP name. 12844 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12845 12846 # Sed expression to map a string onto a valid variable name. 12847 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12848 12849 12850 exec 6>&1 12851 12852 # Save the log message, to keep $[0] and so on meaningful, and to 12853 # report actual input values of CONFIG_FILES etc. instead of their 12854 # values after options handling. 12855 ac_log=" 12856 This file was extended by RapptureOptimizer $as_me 1.0, which was 12857 generated by GNU Autoconf 2.62. Invocation command line was 12858 12859 CONFIG_FILES = $CONFIG_FILES 12860 CONFIG_HEADERS = $CONFIG_HEADERS 12861 CONFIG_LINKS = $CONFIG_LINKS 12862 CONFIG_COMMANDS = $CONFIG_COMMANDS 12863 $ $0 $@ 12864 12865 on `(hostname || uname -n) 2>/dev/null | sed 1q` 12866 " 12867 12868 _ACEOF 12869 12870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12871 # Files that config.status was made for. 12872 config_files="$ac_config_files" 12873 12874 _ACEOF 12875 12876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12877 ac_cs_usage="\ 12878 \`$as_me' instantiates files from templates according to the 12879 current configuration. 12880 12881 Usage: $0 [OPTIONS] [FILE]... 12882 12883 -h, --help print this help, then exit 12884 -V, --version print version number and configuration settings, then exit 12885 -q, --quiet do not print progress messages 12886 -d, --debug don't remove temporary files 12887 --recheck update $as_me by reconfiguring in the same conditions 12888 --file=FILE[:TEMPLATE] 12889 instantiate the configuration file FILE 12890 12891 Configuration files: 12892 $config_files 12893 12894 Report bugs to <bug-autoconf@gnu.org>." 12895 12896 _ACEOF 12897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12898 ac_cs_version="\\ 12899 RapptureOptimizer config.status 1.0 12900 configured by $0, generated by GNU Autoconf 2.62, 12901 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 12902 12903 Copyright (C) 2008 Free Software Foundation, Inc. 12904 This config.status script is free software; the Free Software Foundation 12905 gives unlimited permission to copy, distribute and modify it." 12906 12907 ac_pwd='$ac_pwd' 12908 srcdir='$srcdir' 12909 INSTALL='$INSTALL' 12910 test -n "\$AWK" || AWK=awk 12911 _ACEOF 12912 12913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12914 # The default lists apply if the user does not specify any file. 12915 ac_need_defaults=: 12916 while test $# != 0 12917 do 12918 case $1 in 12919 --*=*) 12920 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12921 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12922 ac_shift=: 12923 ;; 12924 *) 12925 ac_option=$1 12926 ac_optarg=$2 12927 ac_shift=shift 12928 ;; 12929 esac 12930 12931 case $ac_option in 12932 # Handling of the options. 12933 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12934 ac_cs_recheck=: ;; 12935 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12936 $as_echo "$ac_cs_version"; exit ;; 12937 --debug | --debu | --deb | --de | --d | -d ) 12938 debug=: ;; 12939 --file | --fil | --fi | --f ) 12940 $ac_shift 12941 case $ac_optarg in 12942 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12943 esac 12944 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 12945 ac_need_defaults=false;; 12946 --he | --h | --help | --hel | -h ) 12947 $as_echo "$ac_cs_usage"; exit ;; 12948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12949 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12950 ac_cs_silent=: ;; 12951 12952 # This is an error. 12953 -*) { $as_echo "$as_me: error: unrecognized option: $1 12954 Try \`$0 --help' for more information." >&2 12955 { (exit 1); exit 1; }; } ;; 12956 12957 *) ac_config_targets="$ac_config_targets $1" 12958 ac_need_defaults=false ;; 12959 12960 esac 12961 shift 12962 done 12963 12964 ac_configure_extra_args= 12965 12966 if $ac_cs_silent; then 12967 exec 6>/dev/null 12968 ac_configure_extra_args="$ac_configure_extra_args --silent" 12969 fi 12970 12971 _ACEOF 12972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12973 if \$ac_cs_recheck; then 12974 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12975 shift 12976 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12977 CONFIG_SHELL='$SHELL' 12978 export CONFIG_SHELL 12979 exec "\$@" 12980 fi 12981 12982 _ACEOF 12983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12984 exec 5>>config.log 9480 9481 # as_fn_mkdir_p 9482 # ------------- 9483 # Create "$as_dir" as a directory, including parents if necessary. 9484 as_fn_mkdir_p () 12985 9485 { 12986 echo 12987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12988 ## Running $as_me. ## 12989 _ASBOX 12990 $as_echo "$ac_log" 12991 } >&5 12992 12993 _ACEOF 12994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12995 _ACEOF 12996 12997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12998 12999 # Handling of arguments. 13000 for ac_config_target in $ac_config_targets 13001 do 13002 case $ac_config_target in 13003 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13004 "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;; 13005 13006 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13007 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13008 { (exit 1); exit 1; }; };; 13009 esac 13010 done 13011 13012 13013 # If the user did not use the arguments to specify the items to instantiate, 13014 # then the envvar interface is used. Set only those that are not. 13015 # We use the long form for the default assignment because of an extremely 13016 # bizarre bug on SunOS 4.1.3. 13017 if $ac_need_defaults; then 13018 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13019 fi 13020 13021 # Have a temporary directory for convenience. Make it in the build tree 13022 # simply because there is no reason against having it here, and in addition, 13023 # creating and moving files from /tmp can sometimes cause problems. 13024 # Hook for its removal unless debugging. 13025 # Note that there is a small window in which the directory will not be cleaned: 13026 # after its creation but before its name has been assigned to `$tmp'. 13027 $debug || 13028 { 13029 tmp= 13030 trap 'exit_status=$? 13031 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13032 ' 0 13033 trap '{ (exit 1); exit 1; }' 1 2 13 15 13034 } 13035 # Create a (secure) tmp directory for tmp files. 13036 13037 { 13038 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13039 test -n "$tmp" && test -d "$tmp" 13040 } || 13041 { 13042 tmp=./conf$$-$RANDOM 13043 (umask 077 && mkdir "$tmp") 13044 } || 13045 { 13046 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13047 { (exit 1); exit 1; } 13048 } 13049 13050 # Set up the scripts for CONFIG_FILES section. 13051 # No need to generate them if there are no CONFIG_FILES. 13052 # This happens for instance with `./config.status config.h'. 13053 if test -n "$CONFIG_FILES"; then 13054 13055 13056 ac_cr=' 13057 ' 13058 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13059 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13060 ac_cs_awk_cr='\\r' 13061 else 13062 ac_cs_awk_cr=$ac_cr 13063 fi 13064 13065 echo 'BEGIN {' >"$tmp/subs1.awk" && 13066 _ACEOF 13067 13068 13069 { 13070 echo "cat >conf$$subs.awk <<_ACEOF" && 13071 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 13072 echo "_ACEOF" 13073 } >conf$$subs.sh || 13074 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13075 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13076 { (exit 1); exit 1; }; } 13077 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 13078 ac_delim='%!_!# ' 13079 for ac_last_try in false false false false false :; do 13080 . ./conf$$subs.sh || 13081 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13082 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13083 { (exit 1); exit 1; }; } 13084 13085 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 13086 break 13087 elif $ac_last_try; then 13088 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13089 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13090 { (exit 1); exit 1; }; } 13091 else 13092 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13093 fi 13094 done 13095 rm -f conf$$subs.sh 13096 13097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13098 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 13099 _ACEOF 13100 sed -n ' 13101 h 13102 s/^/S["/; s/!.*/"]=/ 13103 p 13104 g 13105 s/^[^!]*!// 13106 :repl 13107 t repl 13108 s/'"$ac_delim"'$// 13109 t delim 13110 :nl 13111 h 13112 s/\(.\{148\}\).*/\1/ 13113 t more1 13114 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 13115 p 13116 n 13117 b repl 13118 :more1 13119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13120 p 13121 g 13122 s/.\{148\}// 13123 t nl 13124 :delim 13125 h 13126 s/\(.\{148\}\).*/\1/ 13127 t more2 13128 s/["\\]/\\&/g; s/^/"/; s/$/"/ 13129 p 13130 b 13131 :more2 13132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 13133 p 13134 g 13135 s/.\{148\}// 13136 t delim 13137 ' <conf$$subs.awk | sed ' 13138 /^[^""]/{ 13139 N 13140 s/\n// 13141 } 13142 ' >>$CONFIG_STATUS || ac_write_fail=1 13143 rm -f conf$$subs.awk 13144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13145 _ACAWK 13146 cat >>"\$tmp/subs1.awk" <<_ACAWK && 13147 for (key in S) S_is_set[key] = 1 13148 FS = "" 13149 13150 } 13151 { 13152 line = $ 0 13153 nfields = split(line, field, "@") 13154 substed = 0 13155 len = length(field[1]) 13156 for (i = 2; i < nfields; i++) { 13157 key = field[i] 13158 keylen = length(key) 13159 if (S_is_set[key]) { 13160 value = S[key] 13161 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 13162 len += length(value) + length(field[++i]) 13163 substed = 1 13164 } else 13165 len += 1 + keylen 13166 } 13167 13168 print line 13169 } 13170 13171 _ACAWK 13172 _ACEOF 13173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13174 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 13175 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 13176 else 13177 cat 13178 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 13179 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 13180 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 13181 { (exit 1); exit 1; }; } 13182 _ACEOF 13183 13184 # VPATH may cause trouble with some makes, so we remove $(srcdir), 13185 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 13186 # trailing colons and then remove the whole line if VPATH becomes empty 13187 # (actually we leave an empty line to preserve line numbers). 13188 if test "x$srcdir" = x.; then 13189 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 13190 s/:*\$(srcdir):*/:/ 13191 s/:*\${srcdir}:*/:/ 13192 s/:*@srcdir@:*/:/ 13193 s/^\([^=]*=[ ]*\):*/\1/ 13194 s/:*$// 13195 s/^[^=]*=[ ]*$// 13196 }' 13197 fi 13198 13199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13200 fi # test -n "$CONFIG_FILES" 13201 13202 13203 eval set X " :F $CONFIG_FILES " 13204 shift 13205 for ac_tag 13206 do 13207 case $ac_tag in 13208 :[FHLC]) ac_mode=$ac_tag; continue;; 13209 esac 13210 case $ac_mode$ac_tag in 13211 :[FHL]*:*);; 13212 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 13213 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 13214 { (exit 1); exit 1; }; };; 13215 :[FH]-) ac_tag=-:-;; 13216 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13217 esac 13218 ac_save_IFS=$IFS 13219 IFS=: 13220 set x $ac_tag 13221 IFS=$ac_save_IFS 13222 shift 13223 ac_file=$1 13224 shift 13225 13226 case $ac_mode in 13227 :L) ac_source=$1;; 13228 :[FH]) 13229 ac_file_inputs= 13230 for ac_f 13231 do 13232 case $ac_f in 13233 -) ac_f="$tmp/stdin";; 13234 *) # Look for the file first in the build tree, then in the source tree 13235 # (if the path is not absolute). The absolute path cannot be DOS-style, 13236 # because $ac_f cannot contain `:'. 13237 test -f "$ac_f" || 13238 case $ac_f in 13239 [\\/$]*) false;; 13240 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13241 esac || 13242 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13243 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13244 { (exit 1); exit 1; }; };; 13245 esac 13246 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13247 ac_file_inputs="$ac_file_inputs '$ac_f'" 13248 done 13249 13250 # Let's still pretend it is `configure' which instantiates (i.e., don't 13251 # use $as_me), people would be surprised to read: 13252 # /* config.h. Generated by config.status. */ 13253 configure_input='Generated from '` 13254 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13255 `' by configure.' 13256 if test x"$ac_file" != x-; then 13257 configure_input="$ac_file. $configure_input" 13258 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 13259 $as_echo "$as_me: creating $ac_file" >&6;} 13260 fi 13261 # Neutralize special characters interpreted by sed in replacement strings. 13262 case $configure_input in #( 13263 *\&* | *\|* | *\\* ) 13264 ac_sed_conf_input=`$as_echo "$configure_input" | 13265 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13266 *) ac_sed_conf_input=$configure_input;; 13267 esac 13268 13269 case $ac_tag in 13270 *:-:* | *:-) cat >"$tmp/stdin" \ 13271 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13272 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13273 { (exit 1); exit 1; }; } ;; 13274 esac 13275 ;; 13276 esac 13277 13278 ac_dir=`$as_dirname -- "$ac_file" || 13279 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13280 X"$ac_file" : 'X\(//\)[^/]' \| \ 13281 X"$ac_file" : 'X\(//\)$' \| \ 13282 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13283 $as_echo X"$ac_file" | 13284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13285 s//\1/ 13286 q 13287 } 13288 /^X\(\/\/\)[^/].*/{ 13289 s//\1/ 13290 q 13291 } 13292 /^X\(\/\/\)$/{ 13293 s//\1/ 13294 q 13295 } 13296 /^X\(\/\).*/{ 13297 s//\1/ 13298 q 13299 } 13300 s/.*/./; q'` 13301 { as_dir="$ac_dir" 9486 13302 9487 case $as_dir in #( 13303 9488 -*) as_dir=./$as_dir;; 13304 9489 esac 13305 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {9490 test -d "$as_dir" || eval $as_mkdir_p || { 13306 9491 as_dirs= 13307 9492 while :; do … … 13337 9522 done 13338 9523 test -z "$as_dirs" || eval "mkdir $as_dirs" 13339 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13340 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13341 { (exit 1); exit 1; }; }; } 9524 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 9525 9526 9527 } # as_fn_mkdir_p 9528 if mkdir -p . 2>/dev/null; then 9529 as_mkdir_p='mkdir -p "$as_dir"' 9530 else 9531 test -d ./-p && rmdir ./-p 9532 as_mkdir_p=false 9533 fi 9534 9535 9536 # as_fn_executable_p FILE 9537 # ----------------------- 9538 # Test if FILE is an executable regular file. 9539 as_fn_executable_p () 9540 { 9541 test -f "$1" && test -x "$1" 9542 } # as_fn_executable_p 9543 as_test_x='test -x' 9544 as_executable_p=as_fn_executable_p 9545 9546 # Sed expression to map a string onto a valid CPP name. 9547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9548 9549 # Sed expression to map a string onto a valid variable name. 9550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9551 9552 9553 exec 6>&1 9554 ## ----------------------------------- ## 9555 ## Main body of $CONFIG_STATUS script. ## 9556 ## ----------------------------------- ## 9557 _ASEOF 9558 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9559 9560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9561 # Save the log message, to keep $0 and so on meaningful, and to 9562 # report actual input values of CONFIG_FILES etc. instead of their 9563 # values after options handling. 9564 ac_log=" 9565 This file was extended by RapptureOptimizer $as_me 1.0, which was 9566 generated by GNU Autoconf 2.69. Invocation command line was 9567 9568 CONFIG_FILES = $CONFIG_FILES 9569 CONFIG_HEADERS = $CONFIG_HEADERS 9570 CONFIG_LINKS = $CONFIG_LINKS 9571 CONFIG_COMMANDS = $CONFIG_COMMANDS 9572 $ $0 $@ 9573 9574 on `(hostname || uname -n) 2>/dev/null | sed 1q` 9575 " 9576 9577 _ACEOF 9578 9579 case $ac_config_files in *" 9580 "*) set x $ac_config_files; shift; ac_config_files=$*;; 9581 esac 9582 9583 9584 9585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9586 # Files that config.status was made for. 9587 config_files="$ac_config_files" 9588 9589 _ACEOF 9590 9591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9592 ac_cs_usage="\ 9593 \`$as_me' instantiates files and other configuration actions 9594 from templates according to the current configuration. Unless the files 9595 and actions are specified as TAGs, all are instantiated by default. 9596 9597 Usage: $0 [OPTION]... [TAG]... 9598 9599 -h, --help print this help, then exit 9600 -V, --version print version number and configuration settings, then exit 9601 --config print configuration, then exit 9602 -q, --quiet, --silent 9603 do not print progress messages 9604 -d, --debug don't remove temporary files 9605 --recheck update $as_me by reconfiguring in the same conditions 9606 --file=FILE[:TEMPLATE] 9607 instantiate the configuration file FILE 9608 9609 Configuration files: 9610 $config_files 9611 9612 Report bugs to the package provider." 9613 9614 _ACEOF 9615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9616 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9617 ac_cs_version="\\ 9618 RapptureOptimizer config.status 1.0 9619 configured by $0, generated by GNU Autoconf 2.69, 9620 with options \\"\$ac_cs_config\\" 9621 9622 Copyright (C) 2012 Free Software Foundation, Inc. 9623 This config.status script is free software; the Free Software Foundation 9624 gives unlimited permission to copy, distribute and modify it." 9625 9626 ac_pwd='$ac_pwd' 9627 srcdir='$srcdir' 9628 INSTALL='$INSTALL' 9629 test -n "\$AWK" || AWK=awk 9630 _ACEOF 9631 9632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9633 # The default lists apply if the user does not specify any file. 9634 ac_need_defaults=: 9635 while test $# != 0 9636 do 9637 case $1 in 9638 --*=?*) 9639 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9640 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9641 ac_shift=: 9642 ;; 9643 --*=) 9644 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9645 ac_optarg= 9646 ac_shift=: 9647 ;; 9648 *) 9649 ac_option=$1 9650 ac_optarg=$2 9651 ac_shift=shift 9652 ;; 9653 esac 9654 9655 case $ac_option in 9656 # Handling of the options. 9657 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9658 ac_cs_recheck=: ;; 9659 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9660 $as_echo "$ac_cs_version"; exit ;; 9661 --config | --confi | --conf | --con | --co | --c ) 9662 $as_echo "$ac_cs_config"; exit ;; 9663 --debug | --debu | --deb | --de | --d | -d ) 9664 debug=: ;; 9665 --file | --fil | --fi | --f ) 9666 $ac_shift 9667 case $ac_optarg in 9668 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9669 '') as_fn_error $? "missing file argument" ;; 9670 esac 9671 as_fn_append CONFIG_FILES " '$ac_optarg'" 9672 ac_need_defaults=false;; 9673 --he | --h | --help | --hel | -h ) 9674 $as_echo "$ac_cs_usage"; exit ;; 9675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9676 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9677 ac_cs_silent=: ;; 9678 9679 # This is an error. 9680 -*) as_fn_error $? "unrecognized option: \`$1' 9681 Try \`$0 --help' for more information." ;; 9682 9683 *) as_fn_append ac_config_targets " $1" 9684 ac_need_defaults=false ;; 9685 9686 esac 9687 shift 9688 done 9689 9690 ac_configure_extra_args= 9691 9692 if $ac_cs_silent; then 9693 exec 6>/dev/null 9694 ac_configure_extra_args="$ac_configure_extra_args --silent" 9695 fi 9696 9697 _ACEOF 9698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9699 if \$ac_cs_recheck; then 9700 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9701 shift 9702 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9703 CONFIG_SHELL='$SHELL' 9704 export CONFIG_SHELL 9705 exec "\$@" 9706 fi 9707 9708 _ACEOF 9709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9710 exec 5>>config.log 9711 { 9712 echo 9713 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 9714 ## Running $as_me. ## 9715 _ASBOX 9716 $as_echo "$ac_log" 9717 } >&5 9718 9719 _ACEOF 9720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9721 _ACEOF 9722 9723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9724 9725 # Handling of arguments. 9726 for ac_config_target in $ac_config_targets 9727 do 9728 case $ac_config_target in 9729 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9730 "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;; 9731 9732 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 9733 esac 9734 done 9735 9736 9737 # If the user did not use the arguments to specify the items to instantiate, 9738 # then the envvar interface is used. Set only those that are not. 9739 # We use the long form for the default assignment because of an extremely 9740 # bizarre bug on SunOS 4.1.3. 9741 if $ac_need_defaults; then 9742 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 9743 fi 9744 9745 # Have a temporary directory for convenience. Make it in the build tree 9746 # simply because there is no reason against having it here, and in addition, 9747 # creating and moving files from /tmp can sometimes cause problems. 9748 # Hook for its removal unless debugging. 9749 # Note that there is a small window in which the directory will not be cleaned: 9750 # after its creation but before its name has been assigned to `$tmp'. 9751 $debug || 9752 { 9753 tmp= ac_tmp= 9754 trap 'exit_status=$? 9755 : "${ac_tmp:=$tmp}" 9756 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 9757 ' 0 9758 trap 'as_fn_exit 1' 1 2 13 15 9759 } 9760 # Create a (secure) tmp directory for tmp files. 9761 9762 { 9763 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9764 test -d "$tmp" 9765 } || 9766 { 9767 tmp=./conf$$-$RANDOM 9768 (umask 077 && mkdir "$tmp") 9769 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9770 ac_tmp=$tmp 9771 9772 # Set up the scripts for CONFIG_FILES section. 9773 # No need to generate them if there are no CONFIG_FILES. 9774 # This happens for instance with `./config.status config.h'. 9775 if test -n "$CONFIG_FILES"; then 9776 9777 9778 ac_cr=`echo X | tr X '\015'` 9779 # On cygwin, bash can eat \r inside `` if the user requested igncr. 9780 # But we know of no other shell where ac_cr would be empty at this 9781 # point, so we can use a bashism as a fallback. 9782 if test "x$ac_cr" = x; then 9783 eval ac_cr=\$\'\\r\' 9784 fi 9785 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 9786 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 9787 ac_cs_awk_cr='\\r' 9788 else 9789 ac_cs_awk_cr=$ac_cr 9790 fi 9791 9792 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 9793 _ACEOF 9794 9795 9796 { 9797 echo "cat >conf$$subs.awk <<_ACEOF" && 9798 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 9799 echo "_ACEOF" 9800 } >conf$$subs.sh || 9801 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9802 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 9803 ac_delim='%!_!# ' 9804 for ac_last_try in false false false false false :; do 9805 . ./conf$$subs.sh || 9806 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9807 9808 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9809 if test $ac_delim_n = $ac_delim_num; then 9810 break 9811 elif $ac_last_try; then 9812 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9813 else 9814 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9815 fi 9816 done 9817 rm -f conf$$subs.sh 9818 9819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9820 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 9821 _ACEOF 9822 sed -n ' 9823 h 9824 s/^/S["/; s/!.*/"]=/ 9825 p 9826 g 9827 s/^[^!]*!// 9828 :repl 9829 t repl 9830 s/'"$ac_delim"'$// 9831 t delim 9832 :nl 9833 h 9834 s/\(.\{148\}\)..*/\1/ 9835 t more1 9836 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9837 p 9838 n 9839 b repl 9840 :more1 9841 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9842 p 9843 g 9844 s/.\{148\}// 9845 t nl 9846 :delim 9847 h 9848 s/\(.\{148\}\)..*/\1/ 9849 t more2 9850 s/["\\]/\\&/g; s/^/"/; s/$/"/ 9851 p 9852 b 9853 :more2 9854 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9855 p 9856 g 9857 s/.\{148\}// 9858 t delim 9859 ' <conf$$subs.awk | sed ' 9860 /^[^""]/{ 9861 N 9862 s/\n// 9863 } 9864 ' >>$CONFIG_STATUS || ac_write_fail=1 9865 rm -f conf$$subs.awk 9866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9867 _ACAWK 9868 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 9869 for (key in S) S_is_set[key] = 1 9870 FS = "" 9871 9872 } 9873 { 9874 line = $ 0 9875 nfields = split(line, field, "@") 9876 substed = 0 9877 len = length(field[1]) 9878 for (i = 2; i < nfields; i++) { 9879 key = field[i] 9880 keylen = length(key) 9881 if (S_is_set[key]) { 9882 value = S[key] 9883 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9884 len += length(value) + length(field[++i]) 9885 substed = 1 9886 } else 9887 len += 1 + keylen 9888 } 9889 9890 print line 9891 } 9892 9893 _ACAWK 9894 _ACEOF 9895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9896 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9897 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9898 else 9899 cat 9900 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9901 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9902 _ACEOF 9903 9904 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9905 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9906 # trailing colons and then remove the whole line if VPATH becomes empty 9907 # (actually we leave an empty line to preserve line numbers). 9908 if test "x$srcdir" = x.; then 9909 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9910 h 9911 s/// 9912 s/^/:/ 9913 s/[ ]*$/:/ 9914 s/:\$(srcdir):/:/g 9915 s/:\${srcdir}:/:/g 9916 s/:@srcdir@:/:/g 9917 s/^:*// 9918 s/:*$// 9919 x 9920 s/\(=[ ]*\).*/\1/ 9921 G 9922 s/\n// 9923 s/^[^=]*=[ ]*$// 9924 }' 9925 fi 9926 9927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9928 fi # test -n "$CONFIG_FILES" 9929 9930 9931 eval set X " :F $CONFIG_FILES " 9932 shift 9933 for ac_tag 9934 do 9935 case $ac_tag in 9936 :[FHLC]) ac_mode=$ac_tag; continue;; 9937 esac 9938 case $ac_mode$ac_tag in 9939 :[FHL]*:*);; 9940 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9941 :[FH]-) ac_tag=-:-;; 9942 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9943 esac 9944 ac_save_IFS=$IFS 9945 IFS=: 9946 set x $ac_tag 9947 IFS=$ac_save_IFS 9948 shift 9949 ac_file=$1 9950 shift 9951 9952 case $ac_mode in 9953 :L) ac_source=$1;; 9954 :[FH]) 9955 ac_file_inputs= 9956 for ac_f 9957 do 9958 case $ac_f in 9959 -) ac_f="$ac_tmp/stdin";; 9960 *) # Look for the file first in the build tree, then in the source tree 9961 # (if the path is not absolute). The absolute path cannot be DOS-style, 9962 # because $ac_f cannot contain `:'. 9963 test -f "$ac_f" || 9964 case $ac_f in 9965 [\\/$]*) false;; 9966 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9967 esac || 9968 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9969 esac 9970 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9971 as_fn_append ac_file_inputs " '$ac_f'" 9972 done 9973 9974 # Let's still pretend it is `configure' which instantiates (i.e., don't 9975 # use $as_me), people would be surprised to read: 9976 # /* config.h. Generated by config.status. */ 9977 configure_input='Generated from '` 9978 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9979 `' by configure.' 9980 if test x"$ac_file" != x-; then 9981 configure_input="$ac_file. $configure_input" 9982 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 9983 $as_echo "$as_me: creating $ac_file" >&6;} 9984 fi 9985 # Neutralize special characters interpreted by sed in replacement strings. 9986 case $configure_input in #( 9987 *\&* | *\|* | *\\* ) 9988 ac_sed_conf_input=`$as_echo "$configure_input" | 9989 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9990 *) ac_sed_conf_input=$configure_input;; 9991 esac 9992 9993 case $ac_tag in 9994 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9995 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9996 esac 9997 ;; 9998 esac 9999 10000 ac_dir=`$as_dirname -- "$ac_file" || 10001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10002 X"$ac_file" : 'X\(//\)[^/]' \| \ 10003 X"$ac_file" : 'X\(//\)$' \| \ 10004 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10005 $as_echo X"$ac_file" | 10006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10007 s//\1/ 10008 q 10009 } 10010 /^X\(\/\/\)[^/].*/{ 10011 s//\1/ 10012 q 10013 } 10014 /^X\(\/\/\)$/{ 10015 s//\1/ 10016 q 10017 } 10018 /^X\(\/\).*/{ 10019 s//\1/ 10020 q 10021 } 10022 s/.*/./; q'` 10023 as_dir="$ac_dir"; as_fn_mkdir_p 13342 10024 ac_builddir=. 13343 10025 … … 13391 10073 # FIXME: This hack should be removed a few years after 2.60. 13392 10074 ac_datarootdir_hack=; ac_datarootdir_seen= 13393 13394 10075 ac_sed_dataroot=' 13395 10076 /datarootdir/ { … … 13401 10082 /@infodir@/p 13402 10083 /@localedir@/p 13403 /@mandir@/p 13404 ' 10084 /@mandir@/p' 13405 10085 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13406 10086 *datarootdir*) ac_datarootdir_seen=yes;; 13407 10087 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13408 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&510088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13409 10089 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13410 10090 _ACEOF … … 13416 10096 s&@localedir@&$localedir&g 13417 10097 s&@mandir@&$mandir&g 13418 10098 s&\\\${datarootdir}&$datarootdir&g' ;; 13419 10099 esac 13420 10100 _ACEOF … … 13443 10123 $ac_datarootdir_hack 13444 10124 " 13445 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13446 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13447 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13448 { (exit 1); exit 1; }; } 10125 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10126 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13449 10127 13450 10128 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13451 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13452 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13453 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13454 which seems to be undefined. Please make sure it is defined." >&5 10129 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10130 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10131 "$ac_tmp/out"`; test -z "$ac_out"; } && 10132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10133 which seems to be undefined. Please make sure it is defined" >&5 13455 10134 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13456 which seems to be undefined. Please make sure it is defined ." >&2;}13457 13458 rm -f "$ tmp/stdin"10135 which seems to be undefined. Please make sure it is defined" >&2;} 10136 10137 rm -f "$ac_tmp/stdin" 13459 10138 case $ac_file in 13460 -) cat "$ tmp/out" && rm -f "$tmp/out";;13461 *) rm -f "$ac_file" && mv "$ tmp/out" "$ac_file";;10139 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 10140 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13462 10141 esac \ 13463 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13464 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13465 { (exit 1); exit 1; }; } 10142 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13466 10143 ;; 13467 10144 … … 13473 10150 13474 10151 13475 { (exit 0); exit 0; } 13476 _ACEOF 13477 chmod +x $CONFIG_STATUS 10152 as_fn_exit 0 10153 _ACEOF 13478 10154 ac_clean_files=$ac_clean_files_save 13479 10155 13480 10156 test $ac_write_fail = 0 || 13481 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 13482 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 13483 { (exit 1); exit 1; }; } 10157 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 13484 10158 13485 10159 … … 13502 10176 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13503 10177 # would make configure fail if this is the last instruction. 13504 $ac_cs_success || { (exit 1); exit 1; }10178 $ac_cs_success || as_fn_exit 1 13505 10179 fi 13506 10180 … … 13546 10220 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 13547 10221 esac 13548 a c_sub_configure_args="$ac_sub_configure_args'$ac_arg'" ;;10222 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 13549 10223 esac 13550 10224 done … … 13575 10249 13576 10250 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 13577 $as_echo "$as_me:$ LINENO: $ac_msg" >&510251 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 13578 10252 $as_echo "$ac_msg" >&6 13579 { as_dir="$ac_dir" 13580 case $as_dir in #( 13581 -*) as_dir=./$as_dir;; 13582 esac 13583 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 13584 as_dirs= 13585 while :; do 13586 case $as_dir in #( 13587 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13588 *) as_qdir=$as_dir;; 13589 esac 13590 as_dirs="'$as_qdir' $as_dirs" 13591 as_dir=`$as_dirname -- "$as_dir" || 13592 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13593 X"$as_dir" : 'X\(//\)[^/]' \| \ 13594 X"$as_dir" : 'X\(//\)$' \| \ 13595 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13596 $as_echo X"$as_dir" | 13597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13598 s//\1/ 13599 q 13600 } 13601 /^X\(\/\/\)[^/].*/{ 13602 s//\1/ 13603 q 13604 } 13605 /^X\(\/\/\)$/{ 13606 s//\1/ 13607 q 13608 } 13609 /^X\(\/\).*/{ 13610 s//\1/ 13611 q 13612 } 13613 s/.*/./; q'` 13614 test -d "$as_dir" && break 13615 done 13616 test -z "$as_dirs" || eval "mkdir $as_dirs" 13617 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13618 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13619 { (exit 1); exit 1; }; }; } 10253 as_dir="$ac_dir"; as_fn_mkdir_p 13620 10254 ac_builddir=. 13621 10255 … … 13664 10298 ac_sub_configure=$ac_aux_dir/configure 13665 10299 else 13666 { $as_echo "$as_me:$ LINENO: WARNING: no configuration information is in $ac_dir" >&510300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 13667 10301 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 13668 10302 ac_sub_configure= … … 13678 10312 esac 13679 10313 13680 { $as_echo "$as_me:$ LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&510314 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 13681 10315 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 13682 10316 # The eval makes quoting arguments work. 13683 10317 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 13684 10318 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 13685 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 13686 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 13687 { (exit 1); exit 1; }; } 10319 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 13688 10320 fi 13689 10321 … … 13692 10324 fi 13693 10325 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13694 { $as_echo "$as_me:$ LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&513695 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}13696 fi 13697 10326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10327 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10328 fi 10329 -
branches/r9/pkgs/optimizer/src/configure.in
r1052 r4912 21 21 22 22 AC_INIT([RapptureOptimizer], [1.0]) 23 24 . ${exec_prefix}/lib/rapptureConfig.sh 25 PACKAGE_VERSION=$RAPPTURE_VERSION 26 PACKAGE_NAME=RapptureOptimzier 23 27 24 28 #-------------------------------------------------------------------- … … 193 197 NODOT_VERSION=${MAJOR_VERSION}${MINOR_VERSION} 194 198 199 195 200 AC_SUBST(PATCHLEVEL) 196 201 AC_SUBST(EXACT_VERSION) 197 202 AC_SUBST(NODOT_VERSION) 203 AC_SUBST(RAPPTURE_VERSION) 204 AC_SUBST(PACKAGE_VERSION) 205 AC_SUBST(PACKAGE_NAME) 198 206 199 207 AC_CONFIG_SUBDIRS( [pgapack] ) -
branches/r9/pkgs/optimizer/src/pkgIndex.tcl.in
r897 r4912 1 1 # this file identifies RapptureOptimizer as a Tcl package 2 proc @PACKAGE_NAME@_init {} [format { 3 set libfile [file join %s @PKG_LIB_FILE@] 4 load $libfile @PACKAGE_NAME@ 5 package provide @PACKAGE_NAME@ @PACKAGE_VERSION@ 2 proc RapptureOptimizer_init {} [format { 3 set version @RAPPTURE_VERSION@ 4 set so [info sharedlibextension] 5 set dir %s 6 set file [file join $dir libRapptureOptimzer${version}${so}] 7 load $file RapptureOptimizer 8 package provide RapptureOptimizer ${version} 6 9 } $dir] 7 package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ @PACKAGE_NAME@_init10 package ifneeded RapptureOptimizer @RAPPTURE_VERSION@ RapptureOptimizer_init -
branches/r9/pkgs/p2p/Makefile.in
r4870 r4912 10 10 srcdir = @srcdir@ 11 11 12 CC = @CC@ 13 CFLAGS = @CFLAGS@ 14 CFLAGS_DEBUG = @CFLAGS_DEBUG@ 15 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 16 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 17 CXX = @CXX@ 12 18 INSTALL = @INSTALL@ 19 INSTALL_DATA = ${INSTALL} -m 644 13 20 INSTALL_PROGRAM = ${INSTALL} -m 755 14 INSTALL_DATA = ${INSTALL} -m 64415 21 INSTALL_SCRIPT = ${INSTALL} 16 TCL_VERSION = @TCL_VERSION@ 17 TCLSH = $(bindir)/tclsh$(TCL_VERSION) 18 VERSION = @PACKAGE_VERSION@ 19 VPATH = $(srcdir) 20 21 CXX = @CXX@ 22 CC = @CC@ 23 CFLAGS_DEBUG = @CFLAGS_DEBUG@ 24 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 22 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 23 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 25 24 SHLIB_LD = @SHLIB_LD@ 26 SHLIB_CFLAGS = @SHLIB_CFLAGS@27 25 SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ 28 26 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 29 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 30 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 31 CFLAGS = @CFLAGS@ 32 TCLSH = $(bindir)/tclsh$(TCL_VERSION) 27 TCLSH = $(bindir)/tclsh 28 VERSION = @RAPPTURE_VERSION@ 29 VPATH = $(srcdir) 33 30 34 31 RANLIB = @RANLIB@ -
branches/r9/pkgs/placard/Makefile.in
r4870 r4912 10 10 srcdir = @srcdir@ 11 11 12 AR = ar 13 CC = @CC@ 14 CFLAGS = @CFLAGS@ -fPIC 15 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 16 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 17 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 18 CXX = @CXX@ 19 INSTALL = @INSTALL@ 20 LIB_RUNTIME_DIR = $(libdir) 21 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 22 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 23 MKDIR_P = @MKDIR_P@ 24 RANLIB = @RANLIB@ 25 RAPPTURE_VERSION= @RAPPTURE_VERSION@ 26 RM = rm -f 12 27 SHELL = @SHELL@ 13 INSTALL = @INSTALL@ 14 MKDIR_P = @MKDIR_P@ 15 16 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 20 STLIB_LD = @STLIB_LD@ 28 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 29 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 30 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 31 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 32 STLIB_LD = @STLIB_LD@ 29 33 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 34 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 32 LIB_RUNTIME_DIR = $(libdir) 35 VPATH = $(srcdir) 33 36 34 37 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 43 46 $(TK_LIB_SPEC) 44 47 45 version = @PACKAGE_VERSION@ 46 DEFINES = -DPACKAGE_VERSION=\"$(version)\" 47 48 RANLIB = @RANLIB@ 49 AR = ar 50 VPATH = $(srcdir) 51 RM = rm -f 48 DEFINES = -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\" 52 49 53 50 CDEBUGFLAGS = -g -Wall -
branches/r9/pkgs/readpoints/Makefile.in
r4859 r4912 10 10 srcdir = @srcdir@ 11 11 12 AR = ar 13 CC = @CC@ 14 CFLAGS = @CFLAGS@ -fPIC 15 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 16 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 17 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 18 CXX = @CXX@ 19 INSTALL = @INSTALL@ 20 LIB_RUNTIME_DIR = $(libdir) 21 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 22 MKDIR_P = @MKDIR_P@ 23 RANLIB = @RANLIB@ 24 RAPPTURE_VERSION= @RAPPTURE_VERSION@ 25 RM = rm -f 12 26 SHELL = @SHELL@ 13 INSTALL = @INSTALL@ 14 MKDIR_P = @MKDIR_P@ 15 16 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 20 STLIB_LD = @STLIB_LD@ 27 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 28 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 29 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 30 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 31 STLIB_LD = @STLIB_LD@ 29 32 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 33 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 32 LIB_RUNTIME_DIR = $(libdir) 34 VPATH = $(srcdir) 33 35 34 36 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 38 40 -I$(srcdir) \ 39 41 -I$(includedir) 40 41 42 LIBS = \ 42 43 $(TCL_LIB_SPEC) \ 43 $(TK_LIB_SPEC) \44 $(TK_LIB_SPEC) 44 45 45 version = @PACKAGE_VERSION@ 46 DEFINES = -DPACKAGE_VERSION=\"$(version)\" 47 48 RANLIB = @RANLIB@ 49 AR = ar 50 VPATH = $(srcdir) 51 RM = rm -f 46 DEFINES = -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\" 52 47 53 48 CDEBUGFLAGS = -g -Wall 54 55 49 56 50 OBJS = \ -
branches/r9/pkgs/readpoints/pkgIndex.tcl.in
r4843 r4912 1 package ifneeded Rappture Video@PACKAGE_VERSION@ [format {1 package ifneeded RapptureReadPoints @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "RapptureVideo${version}${ext}"] RpVideo 6 package provide RapptureVideo $version 5 load [file join $dir "RapptureReadPoints${version}${ext}"] \ 6 RapptureReadPoints_Init 7 package provide RapptureReadPoints $version 7 8 } $dir] -
branches/r9/pkgs/runner/Makefile.in
r4869 r4912 10 10 srcdir = @srcdir@ 11 11 12 destdir = $(libdir)/Rappture$( PACKAGE_VERSION)12 destdir = $(libdir)/Rappture$(RAPPTURE_VERSION) 13 13 14 PACKAGE_VERSION = @PACKAGE_VERSION@ 15 14 AR = ar 15 CC = @CC@ 16 CFLAGS = @CFLAGS@ 17 CFLAGS_DEBUG = @CFLAGS_DEBUG@ 18 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 20 CXX = @CXX@ 16 21 INSTALL = @INSTALL@ 17 18 CXX = @CXX@ 19 CC = @CC@ 20 CFLAGS_DEBUG = @CFLAGS_DEBUG@ 21 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 22 STLIB_LD = @STLIB_LD@ 22 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 23 LN_S = @LN_S@ 24 MKDIR_P = @MKDIR_P@ 25 RANLIB = @RANLIB@ 26 RAPPTURE_VERSION = @RAPPTURE_VERSION@ 27 RM = rm -f 28 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 23 29 SHLIB_LD = @SHLIB_LD@ 24 SHLIB_CFLAGS = @SHLIB_CFLAGS@25 30 SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ 26 31 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 27 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 28 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 29 CFLAGS = @CFLAGS@ 30 TCL_VERSION = @TCL_VERSION@ 31 TK_VERSION = @TK_VERSION@ 32 33 RANLIB = @RANLIB@ 34 MKDIR_P = @MKDIR_P@ 35 AR = ar 36 LN_S = @LN_S@ 37 RM = rm -f 32 STLIB_LD = @STLIB_LD@ 38 33 39 34 XMLFILES = \ … … 42 37 .PHONY: src scripts 43 38 44 all:39 hall: 45 40 $(MAKE) -C scripts all 46 41 -
branches/r9/pkgs/runner/scripts/Makefile.in
r4870 r4912 10 10 srcdir = @srcdir@ 11 11 12 AR = ar 13 CC = @CC@ 14 CFLAGS = @CFLAGS@ 15 CFLAGS_DEBUG = @CFLAGS_DEBUG@ 16 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 17 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 18 CXX = @CXX@ 12 19 INSTALL = @INSTALL@ 20 INSTALL_DATA = ${INSTALL} -m 644 13 21 INSTALL_PROGRAM = ${INSTALL} -m 755 14 INSTALL_DATA = ${INSTALL} -m 64415 22 INSTALL_SCRIPT = ${INSTALL} 16 TCL_VERSION = @TCL_VERSION@ 17 TCLSH = $(bindir)/tclsh$(TCL_VERSION) 18 VERSION = @PACKAGE_VERSION@ 19 VPATH = $(srcdir) 20 21 CXX = @CXX@ 22 CC = @CC@ 23 CFLAGS_DEBUG = @CFLAGS_DEBUG@ 24 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 23 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 24 MKDIR_P = @MKDIR_P@ 25 RANLIB = @RANLIB@ 26 RM = rm -f 27 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 25 28 SHLIB_LD = @SHLIB_LD@ 26 SHLIB_CFLAGS = @SHLIB_CFLAGS@27 29 SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ 28 30 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 29 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 30 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 31 CFLAGS = @CFLAGS@ 32 33 RANLIB = @RANLIB@ 34 MKDIR_P = @MKDIR_P@ 35 AR = ar 36 RM = rm -f 31 TCLSH = $(bindir)/tclsh 32 VERSION = @RAPPTURE_VERSION@ 33 VPATH = $(srcdir) 37 34 38 35 destdir = $(prefix)/lib/Rappture$(VERSION)/scripts -
branches/r9/pkgs/squeezer/Makefile.in
r4852 r4912 26 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@29 28 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 29 TK_LIB_SPEC = @TK_LIB_SPEC@ … … 43 42 $(TK_LIB_SPEC) \ 44 43 45 version = @ PACKAGE_VERSION@46 DEFINES = -D PACKAGE_VERSION=\"$(version)\"44 version = @RAPPTURE_VERSION@ 45 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 47 46 48 47 RANLIB = @RANLIB@ -
branches/r9/pkgs/squeezer/pkgIndex.tcl.in
r4843 r4912 1 package ifneeded Rappture Video@PACKAGE_VERSION@ [format {1 package ifneeded RapptureSqueezer @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "Rappture Video${version}${ext}"] RpVideo6 package provide Rappture Video$version5 load [file join $dir "RapptureSqueezer${version}${ext}"] RapptureSqueezer 6 package provide RapptureSqueezer $version 7 7 } $dir] -
branches/r9/pkgs/system/Makefile.in
r4872 r4912 10 10 srcdir = @srcdir@ 11 11 12 AR = ar 13 CC = @CC@ 14 CFLAGS = @CFLAGS@ -fPIC 15 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 16 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 17 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 18 CXX = @CXX@ 19 HAVE_NCURSES = @HAVE_LIBNCURSES@ 20 INSTALL = @INSTALL@ 21 LIB_RUNTIME_DIR = $(libdir) 22 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 23 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 24 MKDIR_P = @MKDIR_P@ 25 RANLIB = @RANLIB@ 26 RM = rm -f 12 27 SHELL = @SHELL@ 13 INSTALL = @INSTALL@ 14 MKDIR_P = @MKDIR_P@ 15 16 CXX = @CXX@ 17 CC = @CC@ 18 CFLAGS_DEBUG = @CFLAGS_DEBUG@ -Wall 19 CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ 20 STLIB_LD = @STLIB_LD@ 28 SHLIB_CFLAGS = @SHLIB_CFLAGS@ 21 29 SHLIB_LD = @SHLIB_LD@ 22 SHLIB_CFLAGS = @SHLIB_CFLAGS@23 30 SHLIB_LDFLAGS = @CC_SEARCH_FLAGS@ 24 31 SHLIB_SUFFIX = @SHLIB_SUFFIX@ 25 CFLAGS_DEFAULT = @CFLAGS_DEFAULT@ 26 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 27 CFLAGS = @CFLAGS@ -fPIC 28 TCL_VERSION = @TCL_VERSION@ 32 STLIB_LD = @STLIB_LD@ 29 33 TCL_LIB_SPEC = @TCL_LIB_SPEC@ 30 34 TK_LIB_SPEC = @TK_LIB_SPEC@ 31 LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@ 32 LIB_RUNTIME_DIR = $(libdir) 33 HAVE_NCURSES = @HAVE_LIBNCURSES@ 35 VPATH = $(srcdir) 34 36 35 37 CC_SWITCHES = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES) … … 43 45 $(TCL_LIB_SPEC) 44 46 45 version = @ PACKAGE_VERSION@46 DEFINES = -D PACKAGE_VERSION=\"$(version)\"47 version = @RAPPTURE_VERSION@ 48 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 47 49 48 RANLIB = @RANLIB@49 AR = ar50 VPATH = $(srcdir)51 RM = rm -f52 50 53 51 CDEBUGFLAGS = -g -Wall -
branches/r9/pkgs/system/pkgIndex.tcl.in
r4854 r4912 1 package ifneeded Rappture CanvasHotspot@PACKAGE_VERSION@ [format {1 package ifneeded RapptureSystem @PACKAGE_VERSION@ [format { 2 2 set dir "%s" 3 3 set version @PACKAGE_VERSION@ 4 4 set ext [info sharedlibextension] 5 load [file join $dir "Rappture CanvasHotspot${version}${ext}"] \6 R pCanvHotspot_Init7 package provide Rappture CanvasHotspot$version5 load [file join $dir "RapptureSystem${version}${ext}"] \ 6 RapptureSystem_Init 7 package provide RapptureSystem $version 8 8 } $dir] -
branches/r9/pkgs/tester/Makefile.in
r4867 r4912 21 21 TCLSH = $(bindir)/tclsh 22 22 23 PACKAGE_VERSION = @PACKAGE_VERSION@23 RAPPTURE_VERSION = @RAPPTURE_VERSION@ 24 24 25 version = $( PACKAGE_VERSION)25 version = $(RAPPTURE_VERSION) 26 26 name = RapptureTester$(version) 27 27 -
branches/r9/pkgs/tester/scripts/Makefile.in
r4870 r4912 12 12 INSTALL = @INSTALL@ 13 13 MKDIR_P = @MKDIR_P@ 14 PACKAGE_VERSION = @PACKAGE_VERSION@14 RAPPTURE_VERSION = @RAPPTURE_VERSION@ 15 15 SHELL = @SHELL@ 16 16 TCLSH = $(bindir)/tclsh … … 30 30 $(srcdir)/testview.tcl 31 31 32 version = $( PACKAGE_VERSION)32 version = $(RAPPTURE_VERSION) 33 33 name = RapptureTester$(version) 34 34 -
branches/r9/pkgs/video/Makefile.in
r4870 r4912 45 45 $(TCL_LIB_SPEC) -lexpat -lz -lm -lstdc++ \ 46 46 47 version = @ PACKAGE_VERSION@48 DEFINES = -D PACKAGE_VERSION=\"$(version)\"47 version = @RAPPTURE_VERSION@ 48 DEFINES = -DRAPPTURE_VERSION=\"$(version)\" 49 49 50 50 RANLIB = @RANLIB@ -
branches/r9/pkgs/video/configure
r4867 r4912 646 646 SHLIB_LDFLAGS 647 647 SVN_VERSION 648 RAPPTURE_VERSION 648 649 LIB_SEARCH_DIRS 649 650 HAVE_INTTYPES_H … … 2663 2664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2664 2665 2665 2666 2666 if test -n "$ac_tool_prefix"; then 2667 2667 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. … … 4831 4831 fi 4832 4832 4833 SVN_VERSION=`svnversion $srcdir`4834 4833 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4835 4834 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ … … 6744 6743 6745 6744 6745 if test -f "${exec_prefix}/lib/rapptureConfig.sh" ; then 6746 . ${exec_prefix}/lib/rapptureConfig.sh 6747 fi 6746 6748 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 6747 6749 . ${exec_prefix}/lib/tclConfig.sh … … 7787 7789 fi 7788 7790 fi 7791 7789 7792 7790 7793 -
branches/r9/pkgs/video/configure.in
r4867 r4912 15 15 fi 16 16 17 AC_PROG_INSTALL18 17 AC_PROG_INSTALL 19 18 AC_PROG_RANLIB … … 41 40 fi 42 41 43 SVN_VERSION=`svnversion $srcdir`44 42 SC_CONFIG_CFLAGS 45 43 SC_ENABLE_SHARED 46 44 SC_ENABLE_SYMBOLS 47 45 46 if test -f "${exec_prefix}/lib/rapptureConfig.sh" ; then 47 . ${exec_prefix}/lib/rapptureConfig.sh 48 fi 48 49 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then 49 50 . ${exec_prefix}/lib/tclConfig.sh … … 163 164 AC_SUBST(HAVE_INTTYPES_H) 164 165 AC_SUBST(LIB_SEARCH_DIRS) 166 AC_SUBST(RAPPTURE_VERSION) 165 167 AC_SUBST(SVN_VERSION) 166 168 AC_SUBST(SHLIB_CFLAGS)
Note: See TracChangeset
for help on using the changeset viewer.