Merge lp:~vkolesnikov/pbxt/pbxt-2.0-24.06.2011 into lp:pbxt/2.0

Proposed by Vladimir Kolesnikov
Status: Needs review
Proposed branch: lp:~vkolesnikov/pbxt/pbxt-2.0-24.06.2011
Merge into: lp:pbxt/2.0
Diff against target: 553351 lines
To merge this branch: bzr merge lp:~vkolesnikov/pbxt/pbxt-2.0-24.06.2011
Reviewer Review Type Date Requested Status
PBXT Core Pending
Review via email: mp+67127@code.launchpad.net

Description of the change

To post a comment you must log in.
928. By Vladimir Kolesnikov

automerge from PBXT 1.0

Unmerged revisions

928. By Vladimir Kolesnikov

automerge from PBXT 1.0

927. By Vladimir Kolesnikov

merged changes from PBXT 1.5

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2009-09-17 10:59:05 +0000
+++ CMakeLists.txt 2011-07-11 13:03:52 +0000
@@ -16,89 +16,175 @@
16# along with this program; if not, write to the Free Software16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18#18#
19# 2006-03-22 Paul McCullagh19# 2011-05-17 Vladimir Kolesnikov
20#20#
21# H&G2JCtL21# H&G2JCtL
22#22#
23# This file is used to make the Windows version23
2424CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
25SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DMYSQL_SERVER")25
26SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DMYSQL_SERVER")26SET(LIBRARY_OUTPUT_PATH "src/.libs")
2727SET(IN-MYSQL-TREE OFF)
28SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DMYSQL_SERVER -DSAFEMALLOC -DSAFE_MUTEX -DDEBUG")28
29SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DMYSQL_SERVER -DSAFEMALLOC -DSAFE_MUTEX -DDEBUG")29IF(NOT DEFINED MYSQL-SOURCE)
3030 SET(MYSQL-SOURCE ".")
31INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/sql31 SET(IN-MYSQL-TREE ON)
32 ${CMAKE_SOURCE_DIR}/regex32ENDIF()
33 ${CMAKE_SOURCE_DIR}/extra/yassl/include)33
3434IF(NOT EXISTS "${MYSQL-SOURCE}/Makefile")
35SET(PBXT_SOURCES src/backup_xt.cc35 message(FATAL_ERROR "invalid mysql source ${MYSQL-SOURCE}")
36src/backup_xt.h36ENDIF()
37src/bsearch_xt.cc37
38src/bsearch_xt.h38IF(${MYSQL-SOURCE} STREQUAL ".")
39src/cache_xt.cc39 EXEC_PROGRAM(pwd OUTPUT_VARIABLE MYSQL-SOURCE)
40src/cache_xt.h40ENDIF()
41src/ccutils_xt.cc41
42src/ccutils_xt.h42EXEC_PROGRAM(echo ARGS " '${MYSQL-SOURCE}' > ${CMAKE_CURRENT_SOURCE_DIR}/mysql-src-root")
43src/database_xt.cc43EXEC_PROGRAM(mkdir ARGS "${CMAKE_CURRENT_SOURCE_DIR}/src/.libs")
44src/database_xt.h44EXEC_PROGRAM(cp ARGS "${MYSQL-SOURCE}/plugin/auth/auth_test_plugin.so ${CMAKE_CURRENT_SOURCE_DIR}/src/.libs")
45src/datadic_xt.cc45FIND_LIBRARY(MYSQLSERVICES_LIB mysqlservices PATHS "${MYSQL-SOURCE}/libservices" NO_DEFAULT_PATH)
46src/datadic_xt.h46
47src/datalog_xt.cc47SET(MYSQL-INC "-I${MYSQL-SOURCE}/sql -I${MYSQL-SOURCE}/include -I${MYSQL-SOURCE}/regex -I${MYSQL-SOURCE}")
48src/datalog_xt.h48
49src/discover_xt.cc49# assume ${MYSQL-SOURCE}/Makefile exists (tested above)
50src/discover_xt.h50
51src/filesys_xt.cc51EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} CMAKE_INSTALL_PREFIX'" OUTPUT_VARIABLE MYSQL-INSTALL-PREFIX)
52src/filesys_xt.h52EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} INSTALL_LIBDIR'" OUTPUT_VARIABLE MYSQL-INSTALL-LIBDIR)
53src/hashtab_xt.cc53EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} INSTALL_INCLUDEDIR'" OUTPUT_VARIABLE MYSQL-INSTALL-INCLUDEDIR)
54src/hashtab_xt.h54EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} C_FLAGS'" OUTPUT_VARIABLE MYSQL-C-FLAGS)
55src/ha_pbxt.cc55EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} C_DEFINES'" OUTPUT_VARIABLE MYSQL-C-DEFINES)
56src/ha_pbxt.h56#EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} MY_MAINTAINER_C_WARNINGS'" OUTPUT_VARIABLE MYSQL-C-WARNINGS)
57src/ha_xtsys.cc57EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} CXX_FLAGS'" OUTPUT_VARIABLE MYSQL-CXX-FLAGS)
58src/ha_xtsys.h58EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} CXX_DEFINES'" OUTPUT_VARIABLE MYSQL-CXX-DEFINES)
59src/heap_xt.cc59#EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} MY_MAINTAINER_CXX_WARNINGS'" OUTPUT_VARIABLE MYSQL-CXX-WARNINGS)
60src/heap_xt.h60EXEC_PROGRAM(bash ARGS "-c '${CMAKE_CURRENT_SOURCE_DIR}/get_mysql_var.sh ${MYSQL-SOURCE} WITH_DEBUG'" OUTPUT_VARIABLE MYSQL-WITH-DEBUG)
61src/index_xt.cc61
62src/index_xt.h62EXEC_PROGRAM("echo \"${MYSQL-C-FLAGS}\" | sed s/^\\'// | sed s/\\'$//" OUTPUT_VARIABLE MYSQL-C-FLAGS)
63src/linklist_xt.cc63EXEC_PROGRAM("echo \"${MYSQL-CXX-FLAGS}\" | sed s/^\\'// | sed s/\\'$//" OUTPUT_VARIABLE MYSQL-CXX-FLAGS)
64src/linklist_xt.h64
65src/locklist_xt.cc65SET(MYSQL-C-FLAGS "${MYSQL-C-FLAGS} ${MYSQL-C-DEFINES}")
66src/locklist_xt.h66#SET(MYSQL-C-FLAGS "${MYSQL-C-FLAGS} ${MYSQL-C-WARNINGS}")
67src/lock_xt.cc67SET(MYSQL-CXX-FLAGS "${MYSQL-CXX-FLAGS} ${MYSQL-CXX-DEFINES}")
68src/lock_xt.h68#SET(MYSQL-CXX-FLAGS "${MYSQL-CXX-FLAGS} ${MYSQL-CXX-WARNINGS}")
69src/memory_xt.cc69
70src/memory_xt.h70IF(CMAKE_COMPILER_IS_GNUCC)
71src/myxt_xt.cc71 SET(DEBUG-C-FLAGS "-g")
72src/myxt_xt.h72 SET(OPTIMIZE-C-FLAGS "-O3")
73src/pbms.h73 SET(PROFILE-C-FLAGS "-O3 -pg")
74src/pbms_enabled.cc74ELSE()
75src/pbms_enabled.h75 SET(DEBUG-C-FLAGS "-g")
76src/pthread_xt.cc76 SET(OPTIMIZE-C-FLAGS "-O")
77src/pthread_xt.h77 SET(PROFILE-C-FLAGS "-O -pg")
78src/restart_xt.cc78ENDIF()
79src/restart_xt.h79
80src/sortedlist_xt.cc80IF(CMAKE_COMPILER_IS_GNUCXX)
81src/sortedlist_xt.h81 SET(DEBUG-CXX-FLAGS "-g")
82src/strutil_xt.cc82 SET(OPTIMIZE-CXX-FLAGS "-O3")
83src/strutil_xt.h83 SET(PROFILE-CXX-FLAGS "-O3 -pg")
84src/systab_xt.cc84ELSE()
85src/systab_xt.h85 SET(DEBUG-CXX-FLAGS "-g")
86src/tabcache_xt.cc86 SET(OPTIMIZE-CXX-FLAGS "-O")
87src/tabcache_xt.h87 SET(PROFILE-CXX-FLAGS "-O -pg")
88src/table_xt.cc88ENDIF()
89src/table_xt.h89
90src/thread_xt.cc90IF(NOT DEFINED WITH-DEBUG)
91src/thread_xt.h91 IF(${MYSQL-WITH-DEBUG} STREQUAL "1")
92src/trace_xt.cc92 SET(WITH-DEBUG "FULL")
93src/trace_xt.h93 ELSEIF(${MYSQL-WITH-DEBUG} STREQUAL "ON")
94src/util_xt.cc94 SET(WITH-DEBUG "FULL")
95src/util_xt.h95 ELSE()
96src/xaction_xt.cc96 SET(WITH-DEBUG "NO")
97src/xaction_xt.h97 ENDIF()
98src/xactlog_xt.cc98ENDIF()
99src/xactlog_xt.h99
100src/xt_config.h100EXEC_PROGRAM("echo \"${MYSQL-C-FLAGS}\" | sed s/-DEXTRA_DEBUG// | sed s/-O0// | sed s/-O1// | sed s/-O2// | sed s/-O3// | sed s/-Os// | sed s/-O// | sed s/-g[A-Za-z0-9\\-]*//g" OUTPUT_VARIABLE MYSQL-C-FLAGS-NODEBUG)
101src/xt_defs.h101EXEC_PROGRAM("echo \"${MYSQL-CXX-FLAGS}\" | sed s/-DEXTRA_DEBUG// | sed s/-O0// | sed s/-O1// | sed s/-O2// | sed s/-O3// | sed s/-Os// | sed s/-O// | sed s/-g[A-Za-z0-9\\-]*//g" OUTPUT_VARIABLE MYSQL-CXX-FLAGS-NODEBUG)
102src/xt_errno.h)102
103103IF(${WITH-DEBUG} STREQUAL "NO")
104MYSQL_STORAGE_ENGINE(PBXT)104 # Optimized version. No debug
105 SET(PBXT-C-FLAGS "${OPTIMIZE-C-FLAGS} -DNDEBUG -DDBUG_OFF ${MYSQL-C-FLAGS-NODEBUG}")
106 SET(PBXT-CXX-FLAGS "${OPTIMIZE-CXX-FLAGS} -DNDEBUG -DDBUG_OFF ${MYSQL-CXX-FLAGS-NODEBUG}")
107ELSEIF(${WITH-DEBUG} STREQUAL "YES")
108 # Medium debug, debug symbols without optimization (no assertions).
109 SET(PBXT-C-FLAGS "${DEBUG-C-FLAGS} -DNDEBUG ${MYSQL-C-FLAGS-NODEBUG}")
110 SET(PBXT-CXX-FLAGS "${DEBUG-CXX-FLAGS} -DNDEBUG ${MYSQL-CXX-FLAGS-NODEBUG}")
111ELSEIF(${WITH-DEBUG} STREQUAL "FULL")
112 # Full debug. Very slow in some cases
113 SET(PBXT-C-FLAGS "${DEBUG-C-FLAGS} -DDEBUG -DEXTRA_DEBUG ${MYSQL-C-FLAGS-NODEBUG}")
114 SET(PBXT-CXX-FLAGS "${DEBUG-CXX-FLAGS} -DDEBUG -DEXTRA_DEBUG ${MYSQL-CXX-FLAGS-NODEBUG}")
115ELSEIF(${WITH-DEBUG} STREQUAL "ONLY")
116 # Only add debug symbols (use mysql optimizations)
117 SET(PBXT-C-FLAGS "${DEBUG-C-FLAGS} -DNDEBUG ${MYSQL-C-FLAGS}")
118 SET(PBXT-CXX-FLAGS "${DEBUG-CXX-FLAGS} -DNDEBUG ${MYSQL-CXX-FLAGS}")
119ELSEIF(${WITH-DEBUG} STREQUAL "PROF")
120 # Profile version. No debug
121 #strip_mysql_opt_dbg_flags
122 SET(PBXT-C-FLAGS "${PROFILE-C-FLAGS} -DNDEBUG ${MYSQL-C-FLAGS-NODEBUG}")
123 SET(PBXT-CXX-FLAGS "${PROFILE-CXX-FLAGS} -DNDEBUG ${MYSQL-CXX-FLAGS-NODEBUG}")
124ENDIF()
125
126IF(NOT DEFINED WITH-PLUGIN-DIR)
127 SET(WITH-PLUGIN-DIR "${MYSQL-INSTALL-PREFIX}/${MYSQL-INSTALL-LIBDIR}/mysql/plugin")
128ENDIF()
129
130IF(NOT DEFINED WITH-PBMS)
131 SET(WITH-PBMS OFF)
132ENDIF()
133
134IF (IN-MYSQL-TREE)
135 SET(PBXT-PLUGIN-FLAGS "-DMYSQL_SERVER=1 -fno-strict-aliasing")
136ELSE()
137 SET(PBXT-PLUGIN-FLAGS "-DMYSQL_SERVER=1 -DMYSQL_DYNAMIC_PLUGIN -fno-strict-aliasing")
138ENDIF()
139
140SET(CMAKE_CXX_FLAGS "${PBXT-CXX-FLAGS} ${PBXT-PLUGIN-FLAGS}")
141SET(CMAKE_C_FLAGS "${PBXT-C-FLAGS} ${PBXT-PLUGIN-FLAGS}")
142
143message("PBXT configured with")
144message(" MySQL source tree: ${MYSQL-SOURCE}")
145message("Building in MySQL tree: ${IN-MYSQL-TREE}")
146message(" Debug options: ${WITH-DEBUG}")
147message(" PBMS: ${WITH-PBMS}")
148message(" C flags: ${CMAKE_C_FLAGS}")
149message(" C++ flags: ${CMAKE_CXX_FLAGS}")
150
151INCLUDE_DIRECTORIES(${MYSQL-SOURCE}/include
152 ${MYSQL-SOURCE}/sql
153 ${MYSQL-SOURCE}/regex
154 ${MYSQL-SOURCE}/extra/yassl/include
155 ./src/
156 ./src/core/)
157
158SET(PBXT-SOURCES src/backup_xt.cc src/backup_xt.h src/bsearch_xt.cc src/bsearch_xt.h
159 src/cache_xt.cc src/cache_xt.h src/ccutils_xt.cc src/ccutils_xt.h src/database_xt.cc
160 src/database_xt.h src/datadic_xt.cc src/datadic_xt.h src/datalog_xt.cc
161 src/datalog_xt.h src/discover_xt.cc src/discover_xt.h src/filesys_xt.cc
162 src/filesys_xt.h src/hashtab_xt.cc src/hashtab_xt.h src/ha_pbxt.cc
163 src/ha_pbxt.h src/ha_xtsys.cc src/ha_xtsys.h src/heap_xt.cc src/heap_xt.h
164 src/index_xt.cc src/index_xt.h src/linklist_xt.cc src/linklist_xt.h
165 src/locklist_xt.cc src/locklist_xt.h src/lock_xt.cc src/lock_xt.h
166 src/memory_xt.cc src/memory_xt.h src/myxt_xt.cc src/myxt_xt.h
167 src/pthread_xt.cc src/pthread_xt.h
168 src/restart_xt.cc src/restart_xt.h src/sortedlist_xt.cc src/sortedlist_xt.h
169 src/strutil_xt.cc src/strutil_xt.h src/systab_xt.cc src/systab_xt.h
170 src/tabcache_xt.cc src/tabcache_xt.h src/table_xt.cc src/table_xt.h
171 src/thread_xt.cc src/thread_xt.h src/trace_xt.cc src/trace_xt.h
172 src/util_xt.cc src/util_xt.h src/xaction_xt.cc src/xaction_xt.h
173 src/xactlog_xt.cc src/xactlog_xt.h src/xt_config.h src/xt_defs.h src/xt_errno.h
174 src/network_xt.cc src/network_xt.h src/replication_xt.cc src/replication_xt.h
175 src/connectionhandler_xt.cc src/connectionhandler_xt.h
176 src/core/cthread_xt.cc src/core/exception_xt.h src/core/log_xt.cc src/core/mutex_xt.h
177 src/core/storage_xt.h src/core/string_xt.cc src/core/socket_xt.h src/core/socket_xt.cc
178 src/core/cthread_xt.h src/core/httpstream_xt.cc src/core/log_xt.h src/core/object_xt.cc
179 src/core/stream_xt.cc src/core/string_xt.h src/core/sys_xt.h src/core/time_xt.cc src/core/time_xt.h
180 src/core/url_xt.cc src/core/exception_xt.cc src/core/httpstream_xt.h src/core/mutex_xt.cc
181 src/core/object_xt.h src/core/storage_xt.cc src/core/stream_xt.h src/core/sysunix_xt.cc
182 src/core/url_xt.h)
183
184IF(IN-MYSQL-TREE)
185 MYSQL_ADD_PLUGIN(pbxt ${PBXT-SOURCES}
186 STORAGE_ENGINE)
187ELSE()
188 ADD_LIBRARY(pbxt SHARED ${PBXT-SOURCES})
189 TARGET_LINK_LIBRARIES (pbxt ${MYSQLSERVICES_LIB})
190ENDIF()
105191
=== modified file 'ChangeLog'
--- ChangeLog 2010-12-10 13:49:55 +0000
+++ ChangeLog 2011-07-11 13:03:52 +0000
@@ -44,7 +44,6 @@
44RN2/5: pbxt_log_cache_size has been deprecated, use pbxt_trx_log_cache_size instead. pbxt_log_file_threshold has been deprecated, use pbxt_trx_log_threshold instead. These names have been changed to avoid confusion with the data log system variables.44RN2/5: pbxt_log_cache_size has been deprecated, use pbxt_trx_log_cache_size instead. pbxt_log_file_threshold has been deprecated, use pbxt_trx_log_threshold instead. These names have been changed to avoid confusion with the data log system variables.
4545
46RN2/4: Extended record data is now no longer read by default on DELETE. The data is only read if it is required to find the record (i.e. contains "read" fields). All fields must be read for UPDATE because rows that are not changed need to be copied and rows that are changed are compared to the new value and only modified if they differ from the new value. Index coverage is now supported for both UPDATE and DELETE statement. 46RN2/4: Extended record data is now no longer read by default on DELETE. The data is only read if it is required to find the record (i.e. contains "read" fields). All fields must be read for UPDATE because rows that are not changed need to be copied and rows that are changed are compared to the new value and only modified if they differ from the new value. Index coverage is now supported for both UPDATE and DELETE statement.
47>>>>>>> MERGE-SOURCE
4847
49RN2/3: Changed the way the engine determines if a data log can be deleted. The data logs to be deleted are no longer stored in the checkpoint. Instead we not the "delete position" in the data log header. The delete position is the point in the transaction log where the "delete data log" record is inserted. Once all processes have read past this point (recover as well), it is safe to remove the data log.48RN2/3: Changed the way the engine determines if a data log can be deleted. The data logs to be deleted are no longer stored in the checkpoint. Instead we not the "delete position" in the data log header. The delete position is the point in the transaction log where the "delete data log" record is inserted. Once all processes have read past this point (recover as well), it is safe to remove the data log.
5049
@@ -102,6 +101,24 @@
102101
103CREATE TABLE t1 (É) ENGINE=PBXT STORAGE MEMORY102CREATE TABLE t1 (É) ENGINE=PBXT STORAGE MEMORY
104103
104------- 1.0.11-8 Pre-GA - Not released yet
105
106RN343: Fixed bug #688404: pbxt crashes on Windows 64 (misalignment on SSE instruciton)
107
108RN342: Fixed bugs: #716879, #715399
109
110RN341: Fixed preload.test bug, as reported by Monty Program AB.
111
112RN340: Fixed a deadlock between compactor and writer threads
113
114RN339: Fixed bug #677868: SHOW TABLE STATUS reports unappropriate value Max_data_length
115
116RN338: PBMS integration updated. configure --with-pbms, not builds PBXT with PBMS.
117
118------- 1.0.11-8 Pre-GA - 2010-11-10
119
120RN337: The repair-pending file is now written whenever a index corruption is detected.
121
105------- 1.0.11-7 Pre-GA - 2010-09-09122------- 1.0.11-7 Pre-GA - 2010-09-09
106123
107RN336: Compiled and tested with MySQL 5.1.50.124RN336: Compiled and tested with MySQL 5.1.50.
108125
=== modified file 'config.h.in'
--- config.h.in 2008-10-23 09:09:25 +0000
+++ config.h.in 2011-07-11 13:03:52 +0000
@@ -54,6 +54,9 @@
54/* Define to the one symbol short name of this package. */54/* Define to the one symbol short name of this package. */
55#undef PACKAGE_TARNAME55#undef PACKAGE_TARNAME
5656
57/* Define to the home page for this package. */
58#undef PACKAGE_URL
59
57/* Define to the version of this package. */60/* Define to the version of this package. */
58#undef PACKAGE_VERSION61#undef PACKAGE_VERSION
5962
6063
=== modified file 'configure'
--- configure 2010-12-10 13:16:17 +0000
+++ configure 2011-07-11 13:03:52 +0000
@@ -1,18 +1,20 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63.3# Generated by GNU Autoconf 2.64.
4#4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7# Foundation, Inc.
8#
7# This configure script is free software; the Free Software Foundation9# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.10# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##11## -------------------- ##
10## M4sh Initialization. ##12## M4sh Initialization. ##
11## --------------------- ##13## -------------------- ##
1214
13# Be more Bourne compatible15# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh16DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16 emulate sh18 emulate sh
17 NULLCMD=:19 NULLCMD=:
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -20,23 +22,15 @@
20 alias -g '${1+"$@"}'='"$@"'22 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST23 setopt NO_GLOB_SUBST
22else24else
23 case `(set -o) 2>/dev/null` in25 case `(set -o) 2>/dev/null` in #(
24 *posix*) set -o posix ;;26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
25esac30esac
26
27fi31fi
2832
2933
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40as_nl='34as_nl='
41'35'
42export as_nl36export as_nl
@@ -44,7 +38,13 @@
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if 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 --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'48 as_echo='printf %s\n'
49 as_echo_n='printf %s'49 as_echo_n='printf %s'
50else50else
@@ -55,7 +55,7 @@
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval56 as_echo_n_body='eval
57 arg=$1;57 arg=$1;
58 case $arg in58 case $arg in #(
59 *"$as_nl"*)59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -78,13 +78,6 @@
78 }78 }
79fi79fi
8080
81# Support unset when possible.
82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset
84else
85 as_unset=false
86fi
87
8881
89# IFS82# IFS
90# We need space, tab and new line, in precisely that order. Quoting is83# We need space, tab and new line, in precisely that order. Quoting is
@@ -94,15 +87,15 @@
94IFS=" "" $as_nl"87IFS=" "" $as_nl"
9588
96# Find who we are. Look in the path if we contain no directory separator.89# Find who we are. Look in the path if we contain no directory separator.
97case $0 in90case $0 in #((
98 *[\\/]* ) as_myself=$0 ;;91 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH93for as_dir in $PATH
101do94do
102 IFS=$as_save_IFS95 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=.96 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105done98 done
106IFS=$as_save_IFS99IFS=$as_save_IFS
107100
108 ;;101 ;;
@@ -114,12 +107,16 @@
114fi107fi
115if test ! -f "$as_myself"; then108if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }110 exit 1
118fi111fi
119112
120# Work around bugs in pre-3.0 UWIN ksh.113# Unset variables that we do not need and which cause bugs (e.g. in
121for as_var in ENV MAIL MAILPATH114# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var115# suppresses any "Segmentation fault" message there. '((' could
116# trigger a bug in pdksh 5.2.14.
117for as_var in BASH_ENV ENV MAIL MAILPATH
118do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done120done
124PS1='$ '121PS1='$ '
125PS2='> '122PS2='> '
@@ -131,330 +128,299 @@
131LANGUAGE=C128LANGUAGE=C
132export LANGUAGE129export LANGUAGE
133130
134# Required to use basename.
135if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138else
139 as_expr=false
140fi
141
142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144else
145 as_basename=false
146fi
147
148
149# Name of the executable.
150as_me=`$as_basename -- "$0" ||
151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154$as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
157 q
158 }
159 /^X\/\(\/\/\)$/{
160 s//\1/
161 q
162 }
163 /^X\/\(\/\).*/{
164 s//\1/
165 q
166 }
167 s/.*/./; q'`
168
169# CDPATH.131# CDPATH.
170$as_unset CDPATH132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
171
172133
173if test "x$CONFIG_SHELL" = x; then134if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148esac
149fi
150"
151 as_required="as_fn_return () { (exit \$1); }
152as_fn_success () { as_fn_return 0; }
153as_fn_failure () { as_fn_return 1; }
154as_fn_ret_success () { return 0; }
155as_fn_ret_failure () { return 1; }
156
157exitcode=0
158as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164else
165 exitcode=1; echo positional parameters were not saved.
166fi
167test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes174 as_have_required=yes
176else175else
177 as_have_required=no176 as_have_required=no
178fi177fi
179178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 if test $as_have_required = yes && (eval ":179
181(as_func_return () {180else
182 (exit \$1)181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183}182as_found=false
184as_func_success () {
185 as_func_return 0
186}
187as_func_failure () {
188 as_func_return 1
189}
190as_func_ret_success () {
191 return 0
192}
193as_func_ret_failure () {
194 return 1
195}
196
197exitcode=0
198if as_func_success; then
199 :
200else
201 exitcode=1
202 echo as_func_success failed.
203fi
204
205if as_func_failure; then
206 exitcode=1
207 echo as_func_failure succeeded.
208fi
209
210if as_func_ret_success; then
211 :
212else
213 exitcode=1
214 echo as_func_ret_success failed.
215fi
216
217if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
220fi
221
222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223 :
224else
225 exitcode=1
226 echo positional parameters were not saved.
227fi
228
229test \$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 :
238else
239 as_candidate_shells=
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH183for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242do184do
243 IFS=$as_save_IFS185 IFS=$as_save_IFS
244 test -z "$as_dir" && as_dir=.186 test -z "$as_dir" && as_dir=.
245 case $as_dir in187 as_found=:
188 case $as_dir in #(
246 /*)189 /*)
247 for as_base in sh bash ksh sh5; do190 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 break 2
198fi
199fi
249 done;;200 done;;
250 esac201 esac
202 as_found=false
251done203done
204$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
207fi; }
252IFS=$as_save_IFS208IFS=$as_save_IFS
253209
254210
255 for as_shell in $as_candidate_shells $SHELL; do211 if test "x$CONFIG_SHELL" != x; then :
256 # Try only shells that exist, to save several forks.212 # We cannot yet assume a decent shell, so we have to provide a
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&213 # neutralization value for shells without unset; and this also
258 { ("$as_shell") 2> /dev/null <<\_ASEOF214 # works around shells that cannot unset nonexistent variables.
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then215 BASH_ENV=/dev/null
260 emulate sh216 ENV=/dev/null
261 NULLCMD=:217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
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
266else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269esac
270
271fi
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
280if 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
287else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290esac
291
292fi
293
294
295:
296(as_func_return () {
297 (exit $1)
298}
299as_func_success () {
300 as_func_return 0
301}
302as_func_failure () {
303 as_func_return 1
304}
305as_func_ret_success () {
306 return 0
307}
308as_func_ret_failure () {
309 return 1
310}
311
312exitcode=0
313if as_func_success; then
314 :
315else
316 exitcode=1
317 echo as_func_success failed.
318fi
319
320if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
323fi
324
325if as_func_ret_success; then
326 :
327else
328 exitcode=1
329 echo as_func_ret_success failed.
330fi
331
332if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
335fi
336
337if ( set x; as_func_ret_success y && test x = "$1" ); then
338 :
339else
340 exitcode=1
341 echo positional parameters were not saved.
342fi
343
344test $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
355fi
356
357fi
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_SHELL218 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367fi220fi
368221
369222 if test x$as_have_required = xno; then :
370 if test $as_have_required = no; then223 $as_echo "$0: This script requires a shell more modern than all"
371 echo This script requires a shell more modern than all the224 $as_echo "$0: the shells that I found on your system."
372 echo shells that I found on your system. Please install a225 if test x${ZSH_VERSION+set} = xset ; then
373 echo modern shell, or manually run the script under such a226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
374 echo shell if you do have one.227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
375 { (exit 1); exit 1; }228 else
376fi229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
377230$0: including any error possibly output before this
378231$0: message. Then install a modern shell, or manually run
379fi232$0: the script under such a shell if you do have one."
380233 fi
381fi234 exit 1
382235fi
383236fi
384237fi
385(eval "as_func_return () {238SHELL=${CONFIG_SHELL-/bin/sh}
386 (exit \$1)239export SHELL
387}240# Unset more variables known to interfere with behavior of common tools.
388as_func_success () {241CLICOLOR_FORCE= GREP_OPTIONS=
389 as_func_return 0242unset CLICOLOR_FORCE GREP_OPTIONS
390}243
391as_func_failure () {244## --------------------- ##
392 as_func_return 1245## M4sh Shell Functions. ##
393}246## --------------------- ##
394as_func_ret_success () {247# as_fn_unset VAR
395 return 0248# ---------------
396}249# Portably unset VAR.
397as_func_ret_failure () {250as_fn_unset ()
398 return 1251{
399}252 { eval $1=; unset $1;}
400253}
401exitcode=0254as_unset=as_fn_unset
402if as_func_success; then255
403 :256# as_fn_set_status STATUS
404else257# -----------------------
405 exitcode=1258# Set $? to STATUS, without forking.
406 echo as_func_success failed.259as_fn_set_status ()
407fi260{
408261 return $1
409if as_func_failure; then262} # as_fn_set_status
410 exitcode=1263
411 echo as_func_failure succeeded.264# as_fn_exit STATUS
412fi265# -----------------
413266# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
414if as_func_ret_success; then267as_fn_exit ()
415 :268{
416else269 set +e
417 exitcode=1270 as_fn_set_status $1
418 echo as_func_ret_success failed.271 exit $1
419fi272} # as_fn_exit
420273
421if as_func_ret_failure; then274# as_fn_mkdir_p
422 exitcode=1275# -------------
423 echo as_func_ret_failure succeeded.276# Create "$as_dir" as a directory, including parents if necessary.
424fi277as_fn_mkdir_p ()
425278{
426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then279
427 :280 case $as_dir in #(
428else281 -*) as_dir=./$as_dir;;
429 exitcode=1282 esac
430 echo positional parameters were not saved.283 test -d "$as_dir" || eval $as_mkdir_p || {
431fi284 as_dirs=
432285 while :; do
433test \$exitcode = 0") || {286 case $as_dir in #(
434 echo No shell found that supports shell functions.287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
435 echo Please tell bug-autoconf@gnu.org about your system,288 *) as_qdir=$as_dir;;
436 echo including any error possibly output before this message.289 esac
437 echo This can help us improve future autoconf versions.290 as_dirs="'$as_qdir' $as_dirs"
438 echo Configuration will now proceed without shell functions.291 as_dir=`$as_dirname -- "$as_dir" ||
439}292$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
440293 X"$as_dir" : 'X\(//\)[^/]' \| \
441294 X"$as_dir" : 'X\(//\)$' \| \
442295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
443 as_lineno_1=$LINENO296$as_echo X"$as_dir" |
444 as_lineno_2=$LINENO297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
445 test "x$as_lineno_1" != "x$as_lineno_2" &&298 s//\1/
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {299 q
447300 }
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO301 /^X\(\/\/\)[^/].*/{
449 # uniformly replaced by the line number. The first 'sed' inserts a302 s//\1/
450 # line-number line after each line using $LINENO; the second 'sed'303 q
451 # does the real work. The second script uses 'N' to pair each304 }
452 # line-number line with the line containing $LINENO, and appends305 /^X\(\/\/\)$/{
453 # trailing '-' during substitution so that $LINENO is not a special306 s//\1/
454 # case at line end.307 q
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the308 }
456 # scripts with optimization help from Paolo Bonzini. Blame Lee309 /^X\(\/\).*/{
457 # E. McMahon (1931-1989) for sed's syntax. :-)310 s//\1/
311 q
312 }
313 s/.*/./; q'`
314 test -d "$as_dir" && break
315 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
319
320} # as_fn_mkdir_p
321# as_fn_append VAR VALUE
322# ----------------------
323# Append the text in VALUE to the end of the definition contained in VAR. Take
324# advantage of any shell optimizations that allow amortized linear growth over
325# repeated appends, instead of the typical quadratic growth present in naive
326# implementations.
327if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
329 {
330 eval $1+=\$2
331 }'
332else
333 as_fn_append ()
334 {
335 eval $1=\$$1\$2
336 }
337fi # as_fn_append
338
339# as_fn_arith ARG...
340# ------------------
341# Perform arithmetic evaluation on the ARGs, and store the result in the
342# global $as_val. Take advantage of shells that can avoid forks. The arguments
343# must be portable across $(()) and expr.
344if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345 eval 'as_fn_arith ()
346 {
347 as_val=$(( $* ))
348 }'
349else
350 as_fn_arith ()
351 {
352 as_val=`expr "$@" || test $? -eq 1`
353 }
354fi # as_fn_arith
355
356
357# as_fn_error ERROR [LINENO LOG_FD]
358# ---------------------------------
359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361# script with status $?, using 1 if that was 0.
362as_fn_error ()
363{
364 as_status=$?; test $as_status -eq 0 && as_status=1
365 if test "$3"; then
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 fi
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
371} # as_fn_error
372
373if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
375 as_expr=expr
376else
377 as_expr=false
378fi
379
380if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 as_basename=basename
382else
383 as_basename=false
384fi
385
386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388else
389 as_dirname=false
390fi
391
392as_me=`$as_basename -- "$0" ||
393$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396$as_echo X/"$0" |
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
398 s//\1/
399 q
400 }
401 /^X\/\(\/\/\)$/{
402 s//\1/
403 q
404 }
405 /^X\/\(\/\).*/{
406 s//\1/
407 q
408 }
409 s/.*/./; q'`
410
411# Avoid depending upon Character Ranges.
412as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415as_cr_digits='0123456789'
416as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n '424 sed -n '
459 p425 p
460 /[$]LINENO/=426 /[$]LINENO/=
@@ -471,8 +437,7 @@
471 s/-\n.*//437 s/-\n.*//
472 ' >$as_me.lineno &&438 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" ||439 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
475 { (exit 1); exit 1; }; }
476441
477 # Don't try to exec as it changes $[0], causing all sort of problems442 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the443 # (the dirname of $[0] is not the place where we might find the
@@ -482,29 +447,18 @@
482 exit447 exit
483}448}
484449
485
486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487 as_dirname=dirname
488else
489 as_dirname=false
490fi
491
492ECHO_C= ECHO_N= ECHO_T=450ECHO_C= ECHO_N= ECHO_T=
493case `echo -n x` in451case `echo -n x` in #(((((
494-n*)452-n*)
495 case `echo 'x\c'` in453 case `echo 'xy\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';;455 xy) ECHO_C='\c';;
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
457 ECHO_T=' ';;
498 esac;;458 esac;;
499*)459*)
500 ECHO_N='-n';;460 ECHO_N='-n';;
501esac461esac
502if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr
505else
506 as_expr=false
507fi
508462
509rm -f conf$$ conf$$.exe conf$$.file463rm -f conf$$ conf$$.exe conf$$.file
510if test -d conf$$.dir; then464if test -d conf$$.dir; then
@@ -534,7 +488,7 @@
534rmdir conf$$.dir 2>/dev/null488rmdir conf$$.dir 2>/dev/null
535489
536if mkdir -p . 2>/dev/null; then490if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=:491 as_mkdir_p='mkdir -p "$as_dir"'
538else492else
539 test -d ./-p && rmdir ./-p493 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false494 as_mkdir_p=false
@@ -553,10 +507,10 @@
553 if test -d "$1"; then507 if test -d "$1"; then
554 test -d "$1/.";508 test -d "$1/.";
555 else509 else
556 case $1 in510 case $1 in #(
557 -*)set "./$1";;511 -*)set "./$1";;
558 esac;512 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560 ???[sx]*):;;*)false;;esac;fi514 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh515 '\'' sh
562 '516 '
@@ -571,7 +525,6 @@
571525
572526
573527
574
575# Check that we are running under the correct shell.528# Check that we are running under the correct shell.
576SHELL=${CONFIG_SHELL-/bin/sh}529SHELL=${CONFIG_SHELL-/bin/sh}
577530
@@ -743,7 +696,6 @@
743subdirs=696subdirs=
744MFLAGS=697MFLAGS=
745MAKEFLAGS=698MAKEFLAGS=
746SHELL=${CONFIG_SHELL-/bin/sh}
747699
748# Identity of this package.700# Identity of this package.
749PACKAGE_NAME=701PACKAGE_NAME=
@@ -751,6 +703,7 @@
751PACKAGE_VERSION=703PACKAGE_VERSION=
752PACKAGE_STRING=704PACKAGE_STRING=
753PACKAGE_BUGREPORT=705PACKAGE_BUGREPORT=
706PACKAGE_URL=
754707
755ac_unique_file="src/ha_pbxt.cc"708ac_unique_file="src/ha_pbxt.cc"
756# Factoring default headers for most tests.709# Factoring default headers for most tests.
@@ -892,6 +845,7 @@
892program_transform_name845program_transform_name
893prefix846prefix
894exec_prefix847exec_prefix
848PACKAGE_URL
895PACKAGE_BUGREPORT849PACKAGE_BUGREPORT
896PACKAGE_STRING850PACKAGE_STRING
897PACKAGE_VERSION851PACKAGE_VERSION
@@ -913,6 +867,7 @@
913with_mysql867with_mysql
914with_debug868with_debug
915with_plugindir869with_plugindir
870with_pbms
916'871'
917 ac_precious_vars='build_alias872 ac_precious_vars='build_alias
918host_alias873host_alias
@@ -1037,8 +992,7 @@
1037 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`992 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038 # Reject names that are not valid shell variable names.993 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2995 as_fn_error "invalid feature name: $ac_useropt"
1041 { (exit 1); exit 1; }; }
1042 ac_useropt_orig=$ac_useropt996 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`997 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in998 case $ac_user_opts in
@@ -1064,8 +1018,7 @@
1064 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`1018 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.1019 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&21021 as_fn_error "invalid feature name: $ac_useropt"
1068 { (exit 1); exit 1; }; }
1069 ac_useropt_orig=$ac_useropt1022 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in1024 case $ac_user_opts in
@@ -1269,8 +1222,7 @@
1269 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1222 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270 # Reject names that are not valid shell variable names.1223 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&21225 as_fn_error "invalid package name: $ac_useropt"
1273 { (exit 1); exit 1; }; }
1274 ac_useropt_orig=$ac_useropt1226 ac_useropt_orig=$ac_useropt
1275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`1227 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in1228 case $ac_user_opts in
@@ -1286,8 +1238,7 @@
1286 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1238 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1287 # Reject names that are not valid shell variable names.1239 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1289 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&21241 as_fn_error "invalid package name: $ac_useropt"
1290 { (exit 1); exit 1; }; }
1291 ac_useropt_orig=$ac_useropt1242 ac_useropt_orig=$ac_useropt
1292 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`1243 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in1244 case $ac_user_opts in
@@ -1317,17 +1268,17 @@
1317 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)1268 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1318 x_libraries=$ac_optarg ;;1269 x_libraries=$ac_optarg ;;
13191270
1320 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option1271 -*) as_fn_error "unrecognized option: \`$ac_option'
1321Try \`$0 --help' for more information." >&21272Try \`$0 --help' for more information."
1322 { (exit 1); exit 1; }; }
1323 ;;1273 ;;
13241274
1325 *=*)1275 *=*)
1326 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`1276 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1327 # Reject names that are not valid shell variable names.1277 # Reject names that are not valid shell variable names.
1328 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&1278 case $ac_envvar in #(
1329 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&21279 '' | [0-9]* | *[!_$as_cr_alnum]* )
1330 { (exit 1); exit 1; }; }1280 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1281 esac
1331 eval $ac_envvar=\$ac_optarg1282 eval $ac_envvar=\$ac_optarg
1332 export $ac_envvar ;;1283 export $ac_envvar ;;
13331284
@@ -1344,15 +1295,13 @@
13441295
1345if test -n "$ac_prev"; then1296if test -n "$ac_prev"; then
1346 ac_option=--`echo $ac_prev | sed 's/_/-/g'`1297 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1347 { $as_echo "$as_me: error: missing argument to $ac_option" >&21298 as_fn_error "missing argument to $ac_option"
1348 { (exit 1); exit 1; }; }
1349fi1299fi
13501300
1351if test -n "$ac_unrecognized_opts"; then1301if test -n "$ac_unrecognized_opts"; then
1352 case $enable_option_checking in1302 case $enable_option_checking in
1353 no) ;;1303 no) ;;
1354 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&21304 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1355 { (exit 1); exit 1; }; } ;;
1356 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;1305 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357 esac1306 esac
1358fi1307fi
@@ -1375,8 +1324,7 @@
1375 [\\/$]* | ?:[\\/]* ) continue;;1324 [\\/$]* | ?:[\\/]* ) continue;;
1376 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;1325 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1377 esac1326 esac
1378 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&21327 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1379 { (exit 1); exit 1; }; }
1380done1328done
13811329
1382# There might be people who depend on the old broken behavior: `$host'1330# There might be people who depend on the old broken behavior: `$host'
@@ -1406,11 +1354,9 @@
1406ac_pwd=`pwd` && test -n "$ac_pwd" &&1354ac_pwd=`pwd` && test -n "$ac_pwd" &&
1407ac_ls_di=`ls -di .` &&1355ac_ls_di=`ls -di .` &&
1408ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1356ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1409 { $as_echo "$as_me: error: working directory cannot be determined" >&21357 as_fn_error "working directory cannot be determined"
1410 { (exit 1); exit 1; }; }
1411test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1358test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 { $as_echo "$as_me: error: pwd does not report name of working directory" >&21359 as_fn_error "pwd does not report name of working directory"
1413 { (exit 1); exit 1; }; }
14141360
14151361
1416# Find the source files, if location was not specified.1362# Find the source files, if location was not specified.
@@ -1449,13 +1395,11 @@
1449fi1395fi
1450if test ! -r "$srcdir/$ac_unique_file"; then1396if test ! -r "$srcdir/$ac_unique_file"; then
1451 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1397 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1452 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&21398 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1453 { (exit 1); exit 1; }; }
1454fi1399fi
1455ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"1400ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1456ac_abs_confdir=`(1401ac_abs_confdir=`(
1457 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&21402 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1458 { (exit 1); exit 1; }; }
1459 pwd)`1403 pwd)`
1460# When building in place, set srcdir=.1404# When building in place, set srcdir=.
1461if test "$ac_abs_confdir" = "$ac_pwd"; then1405if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1578,6 +1522,7 @@
1578 default depends on --with-debug used to build MySQL1522 default depends on --with-debug used to build MySQL
1579 --with-plugindir[=DIR] directory to install the engine, the default1523 --with-plugindir[=DIR] directory to install the engine, the default
1580 depends on the MySQL libdir setting1524 depends on the MySQL libdir setting
1525 --with-pbms Enable PBMS support
15811526
1582Some influential environment variables:1527Some influential environment variables:
1583 CC C compiler command1528 CC C compiler command
@@ -1597,6 +1542,7 @@
1597Use these variables to override the choices made by `configure' or to help1542Use these variables to override the choices made by `configure' or to help
1598it to find libraries and programs with nonstandard names/locations.1543it to find libraries and programs with nonstandard names/locations.
15991544
1545Report bugs to the package provider.
1600_ACEOF1546_ACEOF
1601ac_status=$?1547ac_status=$?
1602fi1548fi
@@ -1660,21 +1606,631 @@
1660if $ac_init_version; then1606if $ac_init_version; then
1661 cat <<\_ACEOF1607 cat <<\_ACEOF
1662configure1608configure
1663generated by GNU Autoconf 2.631609generated by GNU Autoconf 2.64
16641610
1665Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,1611Copyright (C) 2009 Free Software Foundation, Inc.
16662002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1667This configure script is free software; the Free Software Foundation1612This configure script is free software; the Free Software Foundation
1668gives unlimited permission to copy, distribute and modify it.1613gives unlimited permission to copy, distribute and modify it.
1669_ACEOF1614_ACEOF
1670 exit1615 exit
1671fi1616fi
1617
1618## ------------------------ ##
1619## Autoconf initialization. ##
1620## ------------------------ ##
1621
1622# ac_fn_c_try_compile LINENO
1623# --------------------------
1624# Try to compile conftest.$ac_ext, and return whether this succeeded.
1625ac_fn_c_try_compile ()
1626{
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 rm -f conftest.$ac_objext
1629 if { { ac_try="$ac_compile"
1630case "(($ac_try" in
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1633esac
1634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635$as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_compile") 2>conftest.err
1637 ac_status=$?
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1642 fi
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest.$ac_objext; then :
1648 ac_retval=0
1649else
1650 $as_echo "$as_me: failed program was:" >&5
1651sed 's/^/| /' conftest.$ac_ext >&5
1652
1653 ac_retval=1
1654fi
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656 return $ac_retval
1657
1658} # ac_fn_c_try_compile
1659
1660# ac_fn_cxx_try_compile LINENO
1661# ----------------------------
1662# Try to compile conftest.$ac_ext, and return whether this succeeded.
1663ac_fn_cxx_try_compile ()
1664{
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 rm -f conftest.$ac_objext
1667 if { { ac_try="$ac_compile"
1668case "(($ac_try" in
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1671esac
1672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673$as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_compile") 2>conftest.err
1675 ac_status=$?
1676 if test -s conftest.err; then
1677 grep -v '^ *+' conftest.err >conftest.er1
1678 cat conftest.er1 >&5
1679 mv -f conftest.er1 conftest.err
1680 fi
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_cxx_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest.$ac_objext; then :
1686 ac_retval=0
1687else
1688 $as_echo "$as_me: failed program was:" >&5
1689sed 's/^/| /' conftest.$ac_ext >&5
1690
1691 ac_retval=1
1692fi
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694 return $ac_retval
1695
1696} # ac_fn_cxx_try_compile
1697
1698# ac_fn_c_try_link LINENO
1699# -----------------------
1700# Try to link conftest.$ac_ext, and return whether this succeeded.
1701ac_fn_c_try_link ()
1702{
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext conftest$ac_exeext
1705 if { { ac_try="$ac_link"
1706case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709esac
1710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711$as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1718 fi
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest$ac_exeext && {
1724 test "$cross_compiling" = yes ||
1725 $as_test_x conftest$ac_exeext
1726 }; then :
1727 ac_retval=0
1728else
1729 $as_echo "$as_me: failed program was:" >&5
1730sed 's/^/| /' conftest.$ac_ext >&5
1731
1732 ac_retval=1
1733fi
1734 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1735 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1736 # interfere with the next link command; also delete a directory that is
1737 # left behind by Apple's compiler. We do this before executing the actions.
1738 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1739 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1740 return $ac_retval
1741
1742} # ac_fn_c_try_link
1743
1744# ac_fn_c_try_cpp LINENO
1745# ----------------------
1746# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1747ac_fn_c_try_cpp ()
1748{
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 if { { ac_try="$ac_cpp conftest.$ac_ext"
1751case "(($ac_try" in
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1754esac
1755eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756$as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1758 ac_status=$?
1759 if test -s conftest.err; then
1760 grep -v '^ *+' conftest.err >conftest.er1
1761 cat conftest.er1 >&5
1762 mv -f conftest.er1 conftest.err
1763 fi
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } >/dev/null && {
1766 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 }; then :
1769 ac_retval=0
1770else
1771 $as_echo "$as_me: failed program was:" >&5
1772sed 's/^/| /' conftest.$ac_ext >&5
1773
1774 ac_retval=1
1775fi
1776 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777 return $ac_retval
1778
1779} # ac_fn_c_try_cpp
1780
1781# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1782# -------------------------------------------------------
1783# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1784# the include files in INCLUDES and setting the cache variable VAR
1785# accordingly.
1786ac_fn_c_check_header_mongrel ()
1787{
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791$as_echo_n "checking for $2... " >&6; }
1792if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1793 $as_echo_n "(cached) " >&6
1794fi
1795eval ac_res=\$$3
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1797$as_echo "$ac_res" >&6; }
1798else
1799 # Is the header compilable?
1800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1801$as_echo_n "checking $2 usability... " >&6; }
1802cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803/* end confdefs.h. */
1804$4
1805#include <$2>
1806_ACEOF
1807if ac_fn_c_try_compile "$LINENO"; then :
1808 ac_header_compiler=yes
1809else
1810 ac_header_compiler=no
1811fi
1812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1814$as_echo "$ac_header_compiler" >&6; }
1815
1816# Is the header present?
1817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1818$as_echo_n "checking $2 presence... " >&6; }
1819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820/* end confdefs.h. */
1821#include <$2>
1822_ACEOF
1823if ac_fn_c_try_cpp "$LINENO"; then :
1824 ac_header_preproc=yes
1825else
1826 ac_header_preproc=no
1827fi
1828rm -f conftest.err conftest.$ac_ext
1829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1830$as_echo "$ac_header_preproc" >&6; }
1831
1832# So? What about this header?
1833case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1834 yes:no: )
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1836$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1838$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1839 ;;
1840 no:yes:* )
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1842$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1844$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1846$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1848$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1850$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1851 ;;
1852esac
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854$as_echo_n "checking for $2... " >&6; }
1855if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1856 $as_echo_n "(cached) " >&6
1857else
1858 eval "$3=\$ac_header_compiler"
1859fi
1860eval ac_res=\$$3
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862$as_echo "$ac_res" >&6; }
1863fi
1864 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1865
1866} # ac_fn_c_check_header_mongrel
1867
1868# ac_fn_c_try_run LINENO
1869# ----------------------
1870# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1871# that executables *can* be run.
1872ac_fn_c_try_run ()
1873{
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 if { { ac_try="$ac_link"
1876case "(($ac_try" in
1877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878 *) ac_try_echo=$ac_try;;
1879esac
1880eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881$as_echo "$ac_try_echo"; } >&5
1882 (eval "$ac_link") 2>&5
1883 ac_status=$?
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1886 { { case "(($ac_try" in
1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1889esac
1890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891$as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_try") 2>&5
1893 ac_status=$?
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; }; }; then :
1896 ac_retval=0
1897else
1898 $as_echo "$as_me: program exited with status $ac_status" >&5
1899 $as_echo "$as_me: failed program was:" >&5
1900sed 's/^/| /' conftest.$ac_ext >&5
1901
1902 ac_retval=$ac_status
1903fi
1904 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1905 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1906 return $ac_retval
1907
1908} # ac_fn_c_try_run
1909
1910# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1911# -------------------------------------------------------
1912# Tests whether HEADER exists and can be compiled using the include files in
1913# INCLUDES, setting the cache variable VAR accordingly.
1914ac_fn_c_check_header_compile ()
1915{
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918$as_echo_n "checking for $2... " >&6; }
1919if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1920 $as_echo_n "(cached) " >&6
1921else
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923/* end confdefs.h. */
1924$4
1925#include <$2>
1926_ACEOF
1927if ac_fn_c_try_compile "$LINENO"; then :
1928 eval "$3=yes"
1929else
1930 eval "$3=no"
1931fi
1932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933fi
1934eval ac_res=\$$3
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936$as_echo "$ac_res" >&6; }
1937 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938
1939} # ac_fn_c_check_header_compile
1940
1941# ac_fn_c_check_func LINENO FUNC VAR
1942# ----------------------------------
1943# Tests whether FUNC exists, setting the cache variable VAR accordingly
1944ac_fn_c_check_func ()
1945{
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948$as_echo_n "checking for $2... " >&6; }
1949if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1950 $as_echo_n "(cached) " >&6
1951else
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953/* end confdefs.h. */
1954/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1956#define $2 innocuous_$2
1957
1958/* System header to define __stub macros and hopefully few prototypes,
1959 which can conflict with char $2 (); below.
1960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1961 <limits.h> exists even on freestanding compilers. */
1962
1963#ifdef __STDC__
1964# include <limits.h>
1965#else
1966# include <assert.h>
1967#endif
1968
1969#undef $2
1970
1971/* Override any GCC internal prototype to avoid an error.
1972 Use char because int might match the return type of a GCC
1973 builtin and then its argument prototype would still apply. */
1974#ifdef __cplusplus
1975extern "C"
1976#endif
1977char $2 ();
1978/* The GNU C library defines this for functions which it implements
1979 to always fail with ENOSYS. Some functions are actually named
1980 something starting with __ and the normal name is an alias. */
1981#if defined __stub_$2 || defined __stub___$2
1982choke me
1983#endif
1984
1985int
1986main ()
1987{
1988return $2 ();
1989 ;
1990 return 0;
1991}
1992_ACEOF
1993if ac_fn_c_try_link "$LINENO"; then :
1994 eval "$3=yes"
1995else
1996 eval "$3=no"
1997fi
1998rm -f core conftest.err conftest.$ac_objext \
1999 conftest$ac_exeext conftest.$ac_ext
2000fi
2001eval ac_res=\$$3
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003$as_echo "$ac_res" >&6; }
2004 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005
2006} # ac_fn_c_check_func
2007
2008# ac_fn_cxx_try_cpp LINENO
2009# ------------------------
2010# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2011ac_fn_cxx_try_cpp ()
2012{
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 if { { ac_try="$ac_cpp conftest.$ac_ext"
2015case "(($ac_try" in
2016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2017 *) ac_try_echo=$ac_try;;
2018esac
2019eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2020$as_echo "$ac_try_echo"; } >&5
2021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2022 ac_status=$?
2023 if test -s conftest.err; then
2024 grep -v '^ *+' conftest.err >conftest.er1
2025 cat conftest.er1 >&5
2026 mv -f conftest.er1 conftest.err
2027 fi
2028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2029 test $ac_status = 0; } >/dev/null && {
2030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2031 test ! -s conftest.err
2032 }; then :
2033 ac_retval=0
2034else
2035 $as_echo "$as_me: failed program was:" >&5
2036sed 's/^/| /' conftest.$ac_ext >&5
2037
2038 ac_retval=1
2039fi
2040 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2041 return $ac_retval
2042
2043} # ac_fn_cxx_try_cpp
2044
2045# ac_fn_cxx_try_link LINENO
2046# -------------------------
2047# Try to link conftest.$ac_ext, and return whether this succeeded.
2048ac_fn_cxx_try_link ()
2049{
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 rm -f conftest.$ac_objext conftest$ac_exeext
2052 if { { ac_try="$ac_link"
2053case "(($ac_try" in
2054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2055 *) ac_try_echo=$ac_try;;
2056esac
2057eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2058$as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_link") 2>conftest.err
2060 ac_status=$?
2061 if test -s conftest.err; then
2062 grep -v '^ *+' conftest.err >conftest.er1
2063 cat conftest.er1 >&5
2064 mv -f conftest.er1 conftest.err
2065 fi
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; } && {
2068 test -z "$ac_cxx_werror_flag" ||
2069 test ! -s conftest.err
2070 } && test -s conftest$ac_exeext && {
2071 test "$cross_compiling" = yes ||
2072 $as_test_x conftest$ac_exeext
2073 }; then :
2074 ac_retval=0
2075else
2076 $as_echo "$as_me: failed program was:" >&5
2077sed 's/^/| /' conftest.$ac_ext >&5
2078
2079 ac_retval=1
2080fi
2081 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2082 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2083 # interfere with the next link command; also delete a directory that is
2084 # left behind by Apple's compiler. We do this before executing the actions.
2085 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2086 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2087 return $ac_retval
2088
2089} # ac_fn_cxx_try_link
2090
2091# ac_fn_f77_try_compile LINENO
2092# ----------------------------
2093# Try to compile conftest.$ac_ext, and return whether this succeeded.
2094ac_fn_f77_try_compile ()
2095{
2096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2097 rm -f conftest.$ac_objext
2098 if { { ac_try="$ac_compile"
2099case "(($ac_try" in
2100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2102esac
2103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2104$as_echo "$ac_try_echo"; } >&5
2105 (eval "$ac_compile") 2>conftest.err
2106 ac_status=$?
2107 if test -s conftest.err; then
2108 grep -v '^ *+' conftest.err >conftest.er1
2109 cat conftest.er1 >&5
2110 mv -f conftest.er1 conftest.err
2111 fi
2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2113 test $ac_status = 0; } && {
2114 test -z "$ac_f77_werror_flag" ||
2115 test ! -s conftest.err
2116 } && test -s conftest.$ac_objext; then :
2117 ac_retval=0
2118else
2119 $as_echo "$as_me: failed program was:" >&5
2120sed 's/^/| /' conftest.$ac_ext >&5
2121
2122 ac_retval=1
2123fi
2124 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2125 return $ac_retval
2126
2127} # ac_fn_f77_try_compile
2128
2129# ac_fn_f77_try_link LINENO
2130# -------------------------
2131# Try to link conftest.$ac_ext, and return whether this succeeded.
2132ac_fn_f77_try_link ()
2133{
2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135 rm -f conftest.$ac_objext conftest$ac_exeext
2136 if { { ac_try="$ac_link"
2137case "(($ac_try" in
2138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2139 *) ac_try_echo=$ac_try;;
2140esac
2141eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2142$as_echo "$ac_try_echo"; } >&5
2143 (eval "$ac_link") 2>conftest.err
2144 ac_status=$?
2145 if test -s conftest.err; then
2146 grep -v '^ *+' conftest.err >conftest.er1
2147 cat conftest.er1 >&5
2148 mv -f conftest.er1 conftest.err
2149 fi
2150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151 test $ac_status = 0; } && {
2152 test -z "$ac_f77_werror_flag" ||
2153 test ! -s conftest.err
2154 } && test -s conftest$ac_exeext && {
2155 test "$cross_compiling" = yes ||
2156 $as_test_x conftest$ac_exeext
2157 }; then :
2158 ac_retval=0
2159else
2160 $as_echo "$as_me: failed program was:" >&5
2161sed 's/^/| /' conftest.$ac_ext >&5
2162
2163 ac_retval=1
2164fi
2165 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2166 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2167 # interfere with the next link command; also delete a directory that is
2168 # left behind by Apple's compiler. We do this before executing the actions.
2169 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2170 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2171 return $ac_retval
2172
2173} # ac_fn_f77_try_link
2174
2175# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2176# -------------------------------------------
2177# Tests whether TYPE exists after having included INCLUDES, setting cache
2178# variable VAR accordingly.
2179ac_fn_c_check_type ()
2180{
2181 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183$as_echo_n "checking for $2... " >&6; }
2184if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 $as_echo_n "(cached) " >&6
2186else
2187 eval "$3=no"
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189/* end confdefs.h. */
2190$4
2191int
2192main ()
2193{
2194if (sizeof ($2))
2195 return 0;
2196 ;
2197 return 0;
2198}
2199_ACEOF
2200if ac_fn_c_try_compile "$LINENO"; then :
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202/* end confdefs.h. */
2203$4
2204int
2205main ()
2206{
2207if (sizeof (($2)))
2208 return 0;
2209 ;
2210 return 0;
2211}
2212_ACEOF
2213if ac_fn_c_try_compile "$LINENO"; then :
2214
2215else
2216 eval "$3=yes"
2217fi
2218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219fi
2220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2221fi
2222eval ac_res=\$$3
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2224$as_echo "$ac_res" >&6; }
2225 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2226
2227} # ac_fn_c_check_type
1672cat >config.log <<_ACEOF2228cat >config.log <<_ACEOF
1673This file contains any messages produced by compilers while2229This file contains any messages produced by compilers while
1674running configure, to aid debugging if configure makes a mistake.2230running configure, to aid debugging if configure makes a mistake.
16752231
1676It was created by $as_me, which was2232It was created by $as_me, which was
1677generated by GNU Autoconf 2.63. Invocation command line was2233generated by GNU Autoconf 2.64. Invocation command line was
16782234
1679 $ $0 $@2235 $ $0 $@
16802236
@@ -1710,8 +2266,8 @@
1710do2266do
1711 IFS=$as_save_IFS2267 IFS=$as_save_IFS
1712 test -z "$as_dir" && as_dir=.2268 test -z "$as_dir" && as_dir=.
1713 $as_echo "PATH: $as_dir"2269 $as_echo "PATH: $as_dir"
1714done2270 done
1715IFS=$as_save_IFS2271IFS=$as_save_IFS
17162272
1717} >&52273} >&5
@@ -1748,9 +2304,9 @@
1748 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2304 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1749 esac2305 esac
1750 case $ac_pass in2306 case $ac_pass in
1751 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;2307 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1752 2)2308 2)
1753 ac_configure_args1="$ac_configure_args1 '$ac_arg'"2309 as_fn_append ac_configure_args1 " '$ac_arg'"
1754 if test $ac_must_keep_next = true; then2310 if test $ac_must_keep_next = true; then
1755 ac_must_keep_next=false # Got value, back to normal.2311 ac_must_keep_next=false # Got value, back to normal.
1756 else2312 else
@@ -1766,13 +2322,13 @@
1766 -* ) ac_must_keep_next=true ;;2322 -* ) ac_must_keep_next=true ;;
1767 esac2323 esac
1768 fi2324 fi
1769 ac_configure_args="$ac_configure_args '$ac_arg'"2325 as_fn_append ac_configure_args " '$ac_arg'"
1770 ;;2326 ;;
1771 esac2327 esac
1772 done2328 done
1773done2329done
1774$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }2330{ ac_configure_args0=; unset ac_configure_args0;}
1775$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }2331{ ac_configure_args1=; unset ac_configure_args1;}
17762332
1777# When interrupted or exit'd, cleanup temporary files, and complete2333# When interrupted or exit'd, cleanup temporary files, and complete
1778# config.log. We remove comments because anyway the quotes in there2334# config.log. We remove comments because anyway the quotes in there
@@ -1797,13 +2353,13 @@
1797 case $ac_val in #(2353 case $ac_val in #(
1798 *${as_nl}*)2354 *${as_nl}*)
1799 case $ac_var in #(2355 case $ac_var in #(
1800 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&52356 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1801$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;2357$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1802 esac2358 esac
1803 case $ac_var in #(2359 case $ac_var in #(
1804 _ | IFS | as_nl) ;; #(2360 _ | IFS | as_nl) ;; #(
1805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(2361 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1806 *) $as_unset $ac_var ;;2362 *) { eval $ac_var=; unset $ac_var;} ;;
1807 esac ;;2363 esac ;;
1808 esac2364 esac
1809 done2365 done
@@ -1875,39 +2431,41 @@
1875 exit $exit_status2431 exit $exit_status
1876' 02432' 0
1877for ac_signal in 1 2 13 15; do2433for ac_signal in 1 2 13 15; do
1878 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2434 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1879done2435done
1880ac_signal=02436ac_signal=0
18812437
1882# confdefs.h avoids OS command line length limits that DEFS can exceed.2438# confdefs.h avoids OS command line length limits that DEFS can exceed.
1883rm -f -r conftest* confdefs.h2439rm -f -r conftest* confdefs.h
18842440
2441$as_echo "/* confdefs.h */" > confdefs.h
2442
1885# Predefined preprocessor variables.2443# Predefined preprocessor variables.
18862444
1887cat >>confdefs.h <<_ACEOF2445cat >>confdefs.h <<_ACEOF
1888#define PACKAGE_NAME "$PACKAGE_NAME"2446#define PACKAGE_NAME "$PACKAGE_NAME"
1889_ACEOF2447_ACEOF
18902448
1891
1892cat >>confdefs.h <<_ACEOF2449cat >>confdefs.h <<_ACEOF
1893#define PACKAGE_TARNAME "$PACKAGE_TARNAME"2450#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1894_ACEOF2451_ACEOF
18952452
1896
1897cat >>confdefs.h <<_ACEOF2453cat >>confdefs.h <<_ACEOF
1898#define PACKAGE_VERSION "$PACKAGE_VERSION"2454#define PACKAGE_VERSION "$PACKAGE_VERSION"
1899_ACEOF2455_ACEOF
19002456
1901
1902cat >>confdefs.h <<_ACEOF2457cat >>confdefs.h <<_ACEOF
1903#define PACKAGE_STRING "$PACKAGE_STRING"2458#define PACKAGE_STRING "$PACKAGE_STRING"
1904_ACEOF2459_ACEOF
19052460
1906
1907cat >>confdefs.h <<_ACEOF2461cat >>confdefs.h <<_ACEOF
1908#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"2462#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1909_ACEOF2463_ACEOF
19102464
2465cat >>confdefs.h <<_ACEOF
2466#define PACKAGE_URL "$PACKAGE_URL"
2467_ACEOF
2468
19112469
1912# Let the site file select an alternate cache file if it wants to.2470# Let the site file select an alternate cache file if it wants to.
1913# Prefer an explicitly selected file to automatically selected ones.2471# Prefer an explicitly selected file to automatically selected ones.
@@ -1926,7 +2484,7 @@
1926do2484do
1927 test "x$ac_site_file" = xNONE && continue2485 test "x$ac_site_file" = xNONE && continue
1928 if test -r "$ac_site_file"; then2486 if test -r "$ac_site_file"; then
1929 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&52487 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1930$as_echo "$as_me: loading site script $ac_site_file" >&6;}2488$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1931 sed 's/^/| /' "$ac_site_file" >&52489 sed 's/^/| /' "$ac_site_file" >&5
1932 . "$ac_site_file"2490 . "$ac_site_file"
@@ -1937,7 +2495,7 @@
1937 # Some versions of bash will fail to source /dev/null (special2495 # Some versions of bash will fail to source /dev/null (special
1938 # files actually), so we avoid doing that.2496 # files actually), so we avoid doing that.
1939 if test -f "$cache_file"; then2497 if test -f "$cache_file"; then
1940 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&52498 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1941$as_echo "$as_me: loading cache $cache_file" >&6;}2499$as_echo "$as_me: loading cache $cache_file" >&6;}
1942 case $cache_file in2500 case $cache_file in
1943 [\\/]* | ?:[\\/]* ) . "$cache_file";;2501 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -1945,7 +2503,7 @@
1945 esac2503 esac
1946 fi2504 fi
1947else2505else
1948 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&52506 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1949$as_echo "$as_me: creating cache $cache_file" >&6;}2507$as_echo "$as_me: creating cache $cache_file" >&6;}
1950 >$cache_file2508 >$cache_file
1951fi2509fi
@@ -1960,11 +2518,11 @@
1960 eval ac_new_val=\$ac_env_${ac_var}_value2518 eval ac_new_val=\$ac_env_${ac_var}_value
1961 case $ac_old_set,$ac_new_set in2519 case $ac_old_set,$ac_new_set in
1962 set,)2520 set,)
1963 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1964$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2522$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1965 ac_cache_corrupted=: ;;2523 ac_cache_corrupted=: ;;
1966 ,set)2524 ,set)
1967 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&52525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1968$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2526$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1969 ac_cache_corrupted=: ;;2527 ac_cache_corrupted=: ;;
1970 ,);;2528 ,);;
@@ -1974,17 +2532,17 @@
1974 ac_old_val_w=`echo x $ac_old_val`2532 ac_old_val_w=`echo x $ac_old_val`
1975 ac_new_val_w=`echo x $ac_new_val`2533 ac_new_val_w=`echo x $ac_new_val`
1976 if test "$ac_old_val_w" != "$ac_new_val_w"; then2534 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1977 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&52535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1978$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}2536$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1979 ac_cache_corrupted=:2537 ac_cache_corrupted=:
1980 else2538 else
1981 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52539 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1982$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}2540$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1983 eval $ac_var=\$ac_old_val2541 eval $ac_var=\$ac_old_val
1984 fi2542 fi
1985 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&52543 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1986$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}2544$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1987 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&52545 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1988$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}2546$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1989 fi;;2547 fi;;
1990 esac2548 esac
@@ -1996,35 +2554,20 @@
1996 esac2554 esac
1997 case " $ac_configure_args " in2555 case " $ac_configure_args " in
1998 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.2556 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1999 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;2557 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2000 esac2558 esac
2001 fi2559 fi
2002done2560done
2003if $ac_cache_corrupted; then2561if $ac_cache_corrupted; then
2004 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&52562 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2563$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2006 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&52564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2007$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}2565$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2008 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&52566 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2009$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2010 { (exit 1); exit 1; }; }
2011fi2567fi
20122568## -------------------- ##
20132569## Main body of script. ##
20142570## -------------------- ##
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
20282571
2029ac_ext=c2572ac_ext=c
2030ac_cpp='$CPP $CPPFLAGS'2573ac_cpp='$CPP $CPPFLAGS'
@@ -2035,24 +2578,16 @@
20352578
2036ac_aux_dir=2579ac_aux_dir=
2037for ac_dir in config "$srcdir"/config; do2580for ac_dir in config "$srcdir"/config; do
2038 if test -f "$ac_dir/install-sh"; then2581 for ac_t in install-sh install.sh shtool; do
2039 ac_aux_dir=$ac_dir2582 if test -f "$ac_dir/$ac_t"; then
2040 ac_install_sh="$ac_aux_dir/install-sh -c"2583 ac_aux_dir=$ac_dir
2041 break2584 ac_install_sh="$ac_aux_dir/$ac_t -c"
2042 elif test -f "$ac_dir/install.sh"; then2585 break 2
2043 ac_aux_dir=$ac_dir2586 fi
2044 ac_install_sh="$ac_aux_dir/install.sh -c"2587 done
2045 break
2046 elif test -f "$ac_dir/shtool"; then
2047 ac_aux_dir=$ac_dir
2048 ac_install_sh="$ac_aux_dir/shtool install -c"
2049 break
2050 fi
2051done2588done
2052if test -z "$ac_aux_dir"; then2589if test -z "$ac_aux_dir"; then
2053 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&52590 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2054$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2055 { (exit 1); exit 1; }; }
2056fi2591fi
20572592
2058# These three variables are undocumented and unsupported,2593# These three variables are undocumented and unsupported,
@@ -2083,10 +2618,10 @@
2083# OS/2's system install, which has a completely different semantic2618# OS/2's system install, which has a completely different semantic
2084# ./install, which can be erroneously created by make from ./install.sh.2619# ./install, which can be erroneously created by make from ./install.sh.
2085# Reject install programs that cannot install multiple files.2620# Reject install programs that cannot install multiple files.
2086{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2087$as_echo_n "checking for a BSD-compatible install... " >&6; }2622$as_echo_n "checking for a BSD-compatible install... " >&6; }
2088if test -z "$INSTALL"; then2623if test -z "$INSTALL"; then
2089if test "${ac_cv_path_install+set}" = set; then2624if test "${ac_cv_path_install+set}" = set; then :
2090 $as_echo_n "(cached) " >&62625 $as_echo_n "(cached) " >&6
2091else2626else
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2094,11 +2629,11 @@
2094do2629do
2095 IFS=$as_save_IFS2630 IFS=$as_save_IFS
2096 test -z "$as_dir" && as_dir=.2631 test -z "$as_dir" && as_dir=.
2097 # Account for people who put trailing slashes in PATH elements.2632 # Account for people who put trailing slashes in PATH elements.
2098case $as_dir/ in2633case $as_dir/ in #((
2099 ./ | .// | /cC/* | \2634 ./ | .// | /[cC]/* | \
2100 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2635 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2101 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2636 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2102 /usr/ucb/* ) ;;2637 /usr/ucb/* ) ;;
2103 *)2638 *)
2104 # OSF1 and SCO ODT 3.0 have their own names for install.2639 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -2135,7 +2670,7 @@
2135 ;;2670 ;;
2136esac2671esac
21372672
2138done2673 done
2139IFS=$as_save_IFS2674IFS=$as_save_IFS
21402675
2141rm -rf conftest.one conftest.two conftest.dir2676rm -rf conftest.one conftest.two conftest.dir
@@ -2151,7 +2686,7 @@
2151 INSTALL=$ac_install_sh2686 INSTALL=$ac_install_sh
2152 fi2687 fi
2153fi2688fi
2154{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&52689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2155$as_echo "$INSTALL" >&6; }2690$as_echo "$INSTALL" >&6; }
21562691
2157# Use test -z because SunOS4 sh mishandles braces in ${var-val}.2692# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -2162,7 +2697,7 @@
21622697
2163test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2698test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21642699
2165{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&52700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2166$as_echo_n "checking whether build environment is sane... " >&6; }2701$as_echo_n "checking whether build environment is sane... " >&6; }
2167# Just in case2702# Just in case
2168sleep 12703sleep 1
@@ -2186,11 +2721,8 @@
2186 # if, for instance, CONFIG_SHELL is bash and it inherits a2721 # if, for instance, CONFIG_SHELL is bash and it inherits a
2187 # broken ls alias from the environment. This has actually2722 # broken ls alias from the environment. This has actually
2188 # happened. Such a system could not be considered "sane".2723 # happened. Such a system could not be considered "sane".
2189 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken2724 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2190alias in your environment" >&52725alias in your environment" "$LINENO" 5
2191$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2192alias in your environment" >&2;}
2193 { (exit 1); exit 1; }; }
2194 fi2726 fi
21952727
2196 test "$2" = conftest.file2728 test "$2" = conftest.file
@@ -2199,13 +2731,10 @@
2199 # Ok.2731 # Ok.
2200 :2732 :
2201else2733else
2202 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!2734 as_fn_error "newly created file is older than distributed files!
2203Check your system clock" >&52735Check your system clock" "$LINENO" 5
2204$as_echo "$as_me: error: newly created file is older than distributed files!
2205Check your system clock" >&2;}
2206 { (exit 1); exit 1; }; }
2207fi2736fi
2208{ $as_echo "$as_me:$LINENO: result: yes" >&52737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2209$as_echo "yes" >&6; }2738$as_echo "yes" >&6; }
2210test "$program_prefix" != NONE &&2739test "$program_prefix" != NONE &&
2211 program_transform_name="s&^&$program_prefix&;$program_transform_name"2740 program_transform_name="s&^&$program_prefix&;$program_transform_name"
@@ -2226,14 +2755,14 @@
2226 am_missing_run="$MISSING --run "2755 am_missing_run="$MISSING --run "
2227else2756else
2228 am_missing_run=2757 am_missing_run=
2229 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&52758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2230$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}2759$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2231fi2760fi
22322761
2233{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&52762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2234$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }2763$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2235if test -z "$MKDIR_P"; then2764if test -z "$MKDIR_P"; then
2236 if test "${ac_cv_path_mkdir+set}" = set; then2765 if test "${ac_cv_path_mkdir+set}" = set; then :
2237 $as_echo_n "(cached) " >&62766 $as_echo_n "(cached) " >&6
2238else2767else
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2241,7 +2770,7 @@
2241do2770do
2242 IFS=$as_save_IFS2771 IFS=$as_save_IFS
2243 test -z "$as_dir" && as_dir=.2772 test -z "$as_dir" && as_dir=.
2244 for ac_prog in mkdir gmkdir; do2773 for ac_prog in mkdir gmkdir; do
2245 for ac_exec_ext in '' $ac_executable_extensions; do2774 for ac_exec_ext in '' $ac_executable_extensions; do
2246 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue2775 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2247 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(2776 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
@@ -2253,7 +2782,7 @@
2253 esac2782 esac
2254 done2783 done
2255 done2784 done
2256done2785 done
2257IFS=$as_save_IFS2786IFS=$as_save_IFS
22582787
2259fi2788fi
@@ -2269,7 +2798,7 @@
2269 MKDIR_P="$ac_install_sh -d"2798 MKDIR_P="$ac_install_sh -d"
2270 fi2799 fi
2271fi2800fi
2272{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&52801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2273$as_echo "$MKDIR_P" >&6; }2802$as_echo "$MKDIR_P" >&6; }
22742803
2275mkdir_p="$MKDIR_P"2804mkdir_p="$MKDIR_P"
@@ -2282,9 +2811,9 @@
2282do2811do
2283 # Extract the first word of "$ac_prog", so it can be a program name with args.2812 # Extract the first word of "$ac_prog", so it can be a program name with args.
2284set dummy $ac_prog; ac_word=$22813set dummy $ac_prog; ac_word=$2
2285{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&52814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286$as_echo_n "checking for $ac_word... " >&6; }2815$as_echo_n "checking for $ac_word... " >&6; }
2287if test "${ac_cv_prog_AWK+set}" = set; then2816if test "${ac_cv_prog_AWK+set}" = set; then :
2288 $as_echo_n "(cached) " >&62817 $as_echo_n "(cached) " >&6
2289else2818else
2290 if test -n "$AWK"; then2819 if test -n "$AWK"; then
@@ -2295,24 +2824,24 @@
2295do2824do
2296 IFS=$as_save_IFS2825 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.2826 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do2827 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_AWK="$ac_prog"2829 ac_cv_prog_AWK="$ac_prog"
2301 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 break 22831 break 2
2303 fi2832 fi
2304done2833done
2305done2834 done
2306IFS=$as_save_IFS2835IFS=$as_save_IFS
23072836
2308fi2837fi
2309fi2838fi
2310AWK=$ac_cv_prog_AWK2839AWK=$ac_cv_prog_AWK
2311if test -n "$AWK"; then2840if test -n "$AWK"; then
2312 { $as_echo "$as_me:$LINENO: result: $AWK" >&52841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2313$as_echo "$AWK" >&6; }2842$as_echo "$AWK" >&6; }
2314else2843else
2315 { $as_echo "$as_me:$LINENO: result: no" >&52844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316$as_echo "no" >&6; }2845$as_echo "no" >&6; }
2317fi2846fi
23182847
@@ -2320,11 +2849,11 @@
2320 test -n "$AWK" && break2849 test -n "$AWK" && break
2321done2850done
23222851
2323{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&52852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2324$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }2853$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2325set x ${MAKE-make}2854set x ${MAKE-make}
2326ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`2855ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2327if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then2856if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2328 $as_echo_n "(cached) " >&62857 $as_echo_n "(cached) " >&6
2329else2858else
2330 cat >conftest.make <<\_ACEOF2859 cat >conftest.make <<\_ACEOF
@@ -2342,11 +2871,11 @@
2342rm -f conftest.make2871rm -f conftest.make
2343fi2872fi
2344if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then2873if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2345 { $as_echo "$as_me:$LINENO: result: yes" >&52874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2346$as_echo "yes" >&6; }2875$as_echo "yes" >&6; }
2347 SET_MAKE=2876 SET_MAKE=
2348else2877else
2349 { $as_echo "$as_me:$LINENO: result: no" >&52878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350$as_echo "no" >&6; }2879$as_echo "no" >&6; }
2351 SET_MAKE="MAKE=${MAKE-make}"2880 SET_MAKE="MAKE=${MAKE-make}"
2352fi2881fi
@@ -2366,9 +2895,7 @@
2366 am__isrc=' -I$(srcdir)'2895 am__isrc=' -I$(srcdir)'
2367 # test to see if srcdir already configured2896 # test to see if srcdir already configured
2368 if test -f $srcdir/config.status; then2897 if test -f $srcdir/config.status; then
2369 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&52898 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2370$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2371 { (exit 1); exit 1; }; }
2372 fi2899 fi
2373fi2900fi
23742901
@@ -2422,9 +2949,9 @@
2422 if test -n "$ac_tool_prefix"; then2949 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.2950 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2424set dummy ${ac_tool_prefix}strip; ac_word=$22951set dummy ${ac_tool_prefix}strip; ac_word=$2
2425{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&52952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426$as_echo_n "checking for $ac_word... " >&6; }2953$as_echo_n "checking for $ac_word... " >&6; }
2427if test "${ac_cv_prog_STRIP+set}" = set; then2954if test "${ac_cv_prog_STRIP+set}" = set; then :
2428 $as_echo_n "(cached) " >&62955 $as_echo_n "(cached) " >&6
2429else2956else
2430 if test -n "$STRIP"; then2957 if test -n "$STRIP"; then
@@ -2435,24 +2962,24 @@
2435do2962do
2436 IFS=$as_save_IFS2963 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.2964 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do2965 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_STRIP="${ac_tool_prefix}strip"2967 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2441 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 break 22969 break 2
2443 fi2970 fi
2444done2971done
2445done2972 done
2446IFS=$as_save_IFS2973IFS=$as_save_IFS
24472974
2448fi2975fi
2449fi2976fi
2450STRIP=$ac_cv_prog_STRIP2977STRIP=$ac_cv_prog_STRIP
2451if test -n "$STRIP"; then2978if test -n "$STRIP"; then
2452 { $as_echo "$as_me:$LINENO: result: $STRIP" >&52979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2453$as_echo "$STRIP" >&6; }2980$as_echo "$STRIP" >&6; }
2454else2981else
2455 { $as_echo "$as_me:$LINENO: result: no" >&52982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456$as_echo "no" >&6; }2983$as_echo "no" >&6; }
2457fi2984fi
24582985
@@ -2462,9 +2989,9 @@
2462 ac_ct_STRIP=$STRIP2989 ac_ct_STRIP=$STRIP
2463 # Extract the first word of "strip", so it can be a program name with args.2990 # Extract the first word of "strip", so it can be a program name with args.
2464set dummy strip; ac_word=$22991set dummy strip; ac_word=$2
2465{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&52992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466$as_echo_n "checking for $ac_word... " >&6; }2993$as_echo_n "checking for $ac_word... " >&6; }
2467if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then2994if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2468 $as_echo_n "(cached) " >&62995 $as_echo_n "(cached) " >&6
2469else2996else
2470 if test -n "$ac_ct_STRIP"; then2997 if test -n "$ac_ct_STRIP"; then
@@ -2475,24 +3002,24 @@
2475do3002do
2476 IFS=$as_save_IFS3003 IFS=$as_save_IFS
2477 test -z "$as_dir" && as_dir=.3004 test -z "$as_dir" && as_dir=.
2478 for ac_exec_ext in '' $ac_executable_extensions; do3005 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_STRIP="strip"3007 ac_cv_prog_ac_ct_STRIP="strip"
2481 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 break 23009 break 2
2483 fi3010 fi
2484done3011done
2485done3012 done
2486IFS=$as_save_IFS3013IFS=$as_save_IFS
24873014
2488fi3015fi
2489fi3016fi
2490ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP3017ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2491if test -n "$ac_ct_STRIP"; then3018if test -n "$ac_ct_STRIP"; then
2492 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&53019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2493$as_echo "$ac_ct_STRIP" >&6; }3020$as_echo "$ac_ct_STRIP" >&6; }
2494else3021else
2495 { $as_echo "$as_me:$LINENO: result: no" >&53022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496$as_echo "no" >&6; }3023$as_echo "no" >&6; }
2497fi3024fi
24983025
@@ -2501,7 +3028,7 @@
2501 else3028 else
2502 case $cross_compiling:$ac_tool_warned in3029 case $cross_compiling:$ac_tool_warned in
2503yes:)3030yes:)
2504{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&53031{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2505$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3032$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2506ac_tool_warned=yes ;;3033ac_tool_warned=yes ;;
2507esac3034esac
@@ -2535,9 +3062,9 @@
2535if test -n "$ac_tool_prefix"; then3062if test -n "$ac_tool_prefix"; then
2536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.3063 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2537set dummy ${ac_tool_prefix}gcc; ac_word=$23064set dummy ${ac_tool_prefix}gcc; ac_word=$2
2538{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&53065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539$as_echo_n "checking for $ac_word... " >&6; }3066$as_echo_n "checking for $ac_word... " >&6; }
2540if test "${ac_cv_prog_CC+set}" = set; then3067if test "${ac_cv_prog_CC+set}" = set; then :
2541 $as_echo_n "(cached) " >&63068 $as_echo_n "(cached) " >&6
2542else3069else
2543 if test -n "$CC"; then3070 if test -n "$CC"; then
@@ -2548,24 +3075,24 @@
2548do3075do
2549 IFS=$as_save_IFS3076 IFS=$as_save_IFS
2550 test -z "$as_dir" && as_dir=.3077 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do3078 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_CC="${ac_tool_prefix}gcc"3080 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2554 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 break 23082 break 2
2556 fi3083 fi
2557done3084done
2558done3085 done
2559IFS=$as_save_IFS3086IFS=$as_save_IFS
25603087
2561fi3088fi
2562fi3089fi
2563CC=$ac_cv_prog_CC3090CC=$ac_cv_prog_CC
2564if test -n "$CC"; then3091if test -n "$CC"; then
2565 { $as_echo "$as_me:$LINENO: result: $CC" >&53092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2566$as_echo "$CC" >&6; }3093$as_echo "$CC" >&6; }
2567else3094else
2568 { $as_echo "$as_me:$LINENO: result: no" >&53095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569$as_echo "no" >&6; }3096$as_echo "no" >&6; }
2570fi3097fi
25713098
@@ -2575,9 +3102,9 @@
2575 ac_ct_CC=$CC3102 ac_ct_CC=$CC
2576 # Extract the first word of "gcc", so it can be a program name with args.3103 # Extract the first word of "gcc", so it can be a program name with args.
2577set dummy gcc; ac_word=$23104set dummy gcc; ac_word=$2
2578{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&53105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579$as_echo_n "checking for $ac_word... " >&6; }3106$as_echo_n "checking for $ac_word... " >&6; }
2580if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3107if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2581 $as_echo_n "(cached) " >&63108 $as_echo_n "(cached) " >&6
2582else3109else
2583 if test -n "$ac_ct_CC"; then3110 if test -n "$ac_ct_CC"; then
@@ -2588,24 +3115,24 @@
2588do3115do
2589 IFS=$as_save_IFS3116 IFS=$as_save_IFS
2590 test -z "$as_dir" && as_dir=.3117 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do3118 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_ac_ct_CC="gcc"3120 ac_cv_prog_ac_ct_CC="gcc"
2594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 break 23122 break 2
2596 fi3123 fi
2597done3124done
2598done3125 done
2599IFS=$as_save_IFS3126IFS=$as_save_IFS
26003127
2601fi3128fi
2602fi3129fi
2603ac_ct_CC=$ac_cv_prog_ac_ct_CC3130ac_ct_CC=$ac_cv_prog_ac_ct_CC
2604if test -n "$ac_ct_CC"; then3131if test -n "$ac_ct_CC"; then
2605 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&53132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2606$as_echo "$ac_ct_CC" >&6; }3133$as_echo "$ac_ct_CC" >&6; }
2607else3134else
2608 { $as_echo "$as_me:$LINENO: result: no" >&53135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609$as_echo "no" >&6; }3136$as_echo "no" >&6; }
2610fi3137fi
26113138
@@ -2614,7 +3141,7 @@
2614 else3141 else
2615 case $cross_compiling:$ac_tool_warned in3142 case $cross_compiling:$ac_tool_warned in
2616yes:)3143yes:)
2617{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&53144{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2618$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3145$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2619ac_tool_warned=yes ;;3146ac_tool_warned=yes ;;
2620esac3147esac
@@ -2628,9 +3155,9 @@
2628 if test -n "$ac_tool_prefix"; then3155 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3156 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2630set dummy ${ac_tool_prefix}cc; ac_word=$23157set dummy ${ac_tool_prefix}cc; ac_word=$2
2631{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&53158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632$as_echo_n "checking for $ac_word... " >&6; }3159$as_echo_n "checking for $ac_word... " >&6; }
2633if test "${ac_cv_prog_CC+set}" = set; then3160if test "${ac_cv_prog_CC+set}" = set; then :
2634 $as_echo_n "(cached) " >&63161 $as_echo_n "(cached) " >&6
2635else3162else
2636 if test -n "$CC"; then3163 if test -n "$CC"; then
@@ -2641,24 +3168,24 @@
2641do3168do
2642 IFS=$as_save_IFS3169 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.3170 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do3171 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_CC="${ac_tool_prefix}cc"3173 ac_cv_prog_CC="${ac_tool_prefix}cc"
2647 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 break 23175 break 2
2649 fi3176 fi
2650done3177done
2651done3178 done
2652IFS=$as_save_IFS3179IFS=$as_save_IFS
26533180
2654fi3181fi
2655fi3182fi
2656CC=$ac_cv_prog_CC3183CC=$ac_cv_prog_CC
2657if test -n "$CC"; then3184if test -n "$CC"; then
2658 { $as_echo "$as_me:$LINENO: result: $CC" >&53185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2659$as_echo "$CC" >&6; }3186$as_echo "$CC" >&6; }
2660else3187else
2661 { $as_echo "$as_me:$LINENO: result: no" >&53188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662$as_echo "no" >&6; }3189$as_echo "no" >&6; }
2663fi3190fi
26643191
@@ -2668,9 +3195,9 @@
2668if test -z "$CC"; then3195if test -z "$CC"; then
2669 # Extract the first word of "cc", so it can be a program name with args.3196 # Extract the first word of "cc", so it can be a program name with args.
2670set dummy cc; ac_word=$23197set dummy cc; ac_word=$2
2671{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&53198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672$as_echo_n "checking for $ac_word... " >&6; }3199$as_echo_n "checking for $ac_word... " >&6; }
2673if test "${ac_cv_prog_CC+set}" = set; then3200if test "${ac_cv_prog_CC+set}" = set; then :
2674 $as_echo_n "(cached) " >&63201 $as_echo_n "(cached) " >&6
2675else3202else
2676 if test -n "$CC"; then3203 if test -n "$CC"; then
@@ -2682,18 +3209,18 @@
2682do3209do
2683 IFS=$as_save_IFS3210 IFS=$as_save_IFS
2684 test -z "$as_dir" && as_dir=.3211 test -z "$as_dir" && as_dir=.
2685 for ac_exec_ext in '' $ac_executable_extensions; do3212 for ac_exec_ext in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then3214 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2688 ac_prog_rejected=yes3215 ac_prog_rejected=yes
2689 continue3216 continue
2690 fi3217 fi
2691 ac_cv_prog_CC="cc"3218 ac_cv_prog_CC="cc"
2692 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 break 23220 break 2
2694 fi3221 fi
2695done3222done
2696done3223 done
2697IFS=$as_save_IFS3224IFS=$as_save_IFS
26983225
2699if test $ac_prog_rejected = yes; then3226if test $ac_prog_rejected = yes; then
@@ -2712,10 +3239,10 @@
2712fi3239fi
2713CC=$ac_cv_prog_CC3240CC=$ac_cv_prog_CC
2714if test -n "$CC"; then3241if test -n "$CC"; then
2715 { $as_echo "$as_me:$LINENO: result: $CC" >&53242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2716$as_echo "$CC" >&6; }3243$as_echo "$CC" >&6; }
2717else3244else
2718 { $as_echo "$as_me:$LINENO: result: no" >&53245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719$as_echo "no" >&6; }3246$as_echo "no" >&6; }
2720fi3247fi
27213248
@@ -2727,9 +3254,9 @@
2727 do3254 do
2728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.3255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729set dummy $ac_tool_prefix$ac_prog; ac_word=$23256set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2730{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&53257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731$as_echo_n "checking for $ac_word... " >&6; }3258$as_echo_n "checking for $ac_word... " >&6; }
2732if test "${ac_cv_prog_CC+set}" = set; then3259if test "${ac_cv_prog_CC+set}" = set; then :
2733 $as_echo_n "(cached) " >&63260 $as_echo_n "(cached) " >&6
2734else3261else
2735 if test -n "$CC"; then3262 if test -n "$CC"; then
@@ -2740,24 +3267,24 @@
2740do3267do
2741 IFS=$as_save_IFS3268 IFS=$as_save_IFS
2742 test -z "$as_dir" && as_dir=.3269 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do3270 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"3272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2746 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 break 23274 break 2
2748 fi3275 fi
2749done3276done
2750done3277 done
2751IFS=$as_save_IFS3278IFS=$as_save_IFS
27523279
2753fi3280fi
2754fi3281fi
2755CC=$ac_cv_prog_CC3282CC=$ac_cv_prog_CC
2756if test -n "$CC"; then3283if test -n "$CC"; then
2757 { $as_echo "$as_me:$LINENO: result: $CC" >&53284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758$as_echo "$CC" >&6; }3285$as_echo "$CC" >&6; }
2759else3286else
2760 { $as_echo "$as_me:$LINENO: result: no" >&53287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761$as_echo "no" >&6; }3288$as_echo "no" >&6; }
2762fi3289fi
27633290
@@ -2771,9 +3298,9 @@
2771do3298do
2772 # Extract the first word of "$ac_prog", so it can be a program name with args.3299 # Extract the first word of "$ac_prog", so it can be a program name with args.
2773set dummy $ac_prog; ac_word=$23300set dummy $ac_prog; ac_word=$2
2774{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&53301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775$as_echo_n "checking for $ac_word... " >&6; }3302$as_echo_n "checking for $ac_word... " >&6; }
2776if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3303if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2777 $as_echo_n "(cached) " >&63304 $as_echo_n "(cached) " >&6
2778else3305else
2779 if test -n "$ac_ct_CC"; then3306 if test -n "$ac_ct_CC"; then
@@ -2784,24 +3311,24 @@
2784do3311do
2785 IFS=$as_save_IFS3312 IFS=$as_save_IFS
2786 test -z "$as_dir" && as_dir=.3313 test -z "$as_dir" && as_dir=.
2787 for ac_exec_ext in '' $ac_executable_extensions; do3314 for ac_exec_ext in '' $ac_executable_extensions; do
2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 ac_cv_prog_ac_ct_CC="$ac_prog"3316 ac_cv_prog_ac_ct_CC="$ac_prog"
2790 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 break 23318 break 2
2792 fi3319 fi
2793done3320done
2794done3321 done
2795IFS=$as_save_IFS3322IFS=$as_save_IFS
27963323
2797fi3324fi
2798fi3325fi
2799ac_ct_CC=$ac_cv_prog_ac_ct_CC3326ac_ct_CC=$ac_cv_prog_ac_ct_CC
2800if test -n "$ac_ct_CC"; then3327if test -n "$ac_ct_CC"; then
2801 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2802$as_echo "$ac_ct_CC" >&6; }3329$as_echo "$ac_ct_CC" >&6; }
2803else3330else
2804 { $as_echo "$as_me:$LINENO: result: no" >&53331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805$as_echo "no" >&6; }3332$as_echo "no" >&6; }
2806fi3333fi
28073334
@@ -2814,7 +3341,7 @@
2814 else3341 else
2815 case $cross_compiling:$ac_tool_warned in3342 case $cross_compiling:$ac_tool_warned in
2816yes:)3343yes:)
2817{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&53344{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2818$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3345$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2819ac_tool_warned=yes ;;3346ac_tool_warned=yes ;;
2820esac3347esac
@@ -2825,73 +3352,55 @@
2825fi3352fi
28263353
28273354
2828test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&53355test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2829$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH3357as_fn_error "no acceptable C compiler found in \$PATH
2831See \`config.log' for more details." >&53358See \`config.log' for more details." "$LINENO" 5; }
2832$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2833See \`config.log' for more details." >&2;}
2834 { (exit 1); exit 1; }; }; }
28353359
2836# Provide some information about the compiler.3360# Provide some information about the compiler.
2837$as_echo "$as_me:$LINENO: checking for C compiler version" >&53361$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2838set X $ac_compile3362set X $ac_compile
2839ac_compiler=$23363ac_compiler=$2
2840{ (ac_try="$ac_compiler --version >&5"3364for ac_option in --version -v -V -qversion; do
2841case "(($ac_try" in3365 { { ac_try="$ac_compiler $ac_option >&5"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3366case "(($ac_try" in
2843 *) ac_try_echo=$ac_try;;3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844esac3368 *) ac_try_echo=$ac_try;;
2845eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""3369esac
2846$as_echo "$ac_try_echo") >&53370eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 (eval "$ac_compiler --version >&5") 2>&53371$as_echo "$ac_try_echo"; } >&5
2848 ac_status=$?3372 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53373 ac_status=$?
2850 (exit $ac_status); }3374 if test -s conftest.err; then
2851{ (ac_try="$ac_compiler -v >&5"3375 sed '10a\
2852case "(($ac_try" in3376... rest of stderr output deleted ...
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3377 10q' conftest.err >conftest.er1
2854 *) ac_try_echo=$ac_try;;3378 cat conftest.er1 >&5
2855esac3379 rm -f conftest.er1 conftest.err
2856eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""3380 fi
2857$as_echo "$ac_try_echo") >&53381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 (eval "$ac_compiler -v >&5") 2>&53382 test $ac_status = 0; }
2859 ac_status=$?3383done
2860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }
2862{ (ac_try="$ac_compiler -V >&5"
2863case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866esac
2867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868$as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compiler -V >&5") 2>&5
2870 ac_status=$?
2871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }
28733384
2874cat >conftest.$ac_ext <<_ACEOF3385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875/* confdefs.h. */
2876_ACEOF
2877cat confdefs.h >>conftest.$ac_ext
2878cat >>conftest.$ac_ext <<_ACEOF
2879/* end confdefs.h. */3386/* end confdefs.h. */
28803387#include <stdio.h>
2881int3388int
2882main ()3389main ()
2883{3390{
3391FILE *f = fopen ("conftest.out", "w");
3392 return ferror (f) || fclose (f) != 0;
28843393
2885 ;3394 ;
2886 return 0;3395 return 0;
2887}3396}
2888_ACEOF3397_ACEOF
2889ac_clean_files_save=$ac_clean_files3398ac_clean_files_save=$ac_clean_files
2890ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"3399ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2891# Try to create an executable without -o first, disregard a.out.3400# Try to create an executable without -o first, disregard a.out.
2892# It will help us diagnose broken compilers, and finding out an intuition3401# It will help us diagnose broken compilers, and finding out an intuition
2893# of exeext.3402# of exeext.
2894{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&53403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2895$as_echo_n "checking for C compiler default output file name... " >&6; }3404$as_echo_n "checking for C compiler default output file name... " >&6; }
2896ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`3405ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
28973406
@@ -2908,17 +3417,17 @@
2908done3417done
2909rm -f $ac_rmfiles3418rm -f $ac_rmfiles
29103419
2911if { (ac_try="$ac_link_default"3420if { { ac_try="$ac_link_default"
2912case "(($ac_try" in3421case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;3423 *) ac_try_echo=$ac_try;;
2915esac3424esac
2916eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""3425eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917$as_echo "$ac_try_echo") >&53426$as_echo "$ac_try_echo"; } >&5
2918 (eval "$ac_link_default") 2>&53427 (eval "$ac_link_default") 2>&5
2919 ac_status=$?3428 ac_status=$?
2920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2921 (exit $ac_status); }; then3430 test $ac_status = 0; }; then :
2922 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.3431 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2923# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'3432# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2924# in a Makefile. We should not override ac_cv_exeext if it was cached,3433# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -2935,7 +3444,7 @@
2935 # certainly right.3444 # certainly right.
2936 break;;3445 break;;
2937 *.* )3446 *.* )
2938 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;3447 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2939 then :; else3448 then :; else
2940 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`3449 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2941 fi3450 fi
@@ -2954,84 +3463,75 @@
2954else3463else
2955 ac_file=''3464 ac_file=''
2956fi3465fi
29573466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2958{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2959$as_echo "$ac_file" >&6; }3467$as_echo "$ac_file" >&6; }
2960if test -z "$ac_file"; then3468if test -z "$ac_file"; then :
2961 $as_echo "$as_me: failed program was:" >&53469 $as_echo "$as_me: failed program was:" >&5
2962sed 's/^/| /' conftest.$ac_ext >&53470sed 's/^/| /' conftest.$ac_ext >&5
29633471
2964{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&53472{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3473$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables3474{ as_fn_set_status 77
2967See \`config.log' for more details." >&53475as_fn_error "C compiler cannot create executables
2968$as_echo "$as_me: error: C compiler cannot create executables3476See \`config.log' for more details." "$LINENO" 5; }; }
2969See \`config.log' for more details." >&2;}
2970 { (exit 77); exit 77; }; }; }
2971fi3477fi
2972
2973ac_exeext=$ac_cv_exeext3478ac_exeext=$ac_cv_exeext
29743479
2975# Check that the compiler produces executables we can run. If not, either3480# Check that the compiler produces executables we can run. If not, either
2976# the compiler is broken, or we cross compile.3481# the compiler is broken, or we cross compile.
2977{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&53482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2978$as_echo_n "checking whether the C compiler works... " >&6; }3483$as_echo_n "checking whether the C compiler works... " >&6; }
2979# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2980# If not cross compiling, check that we can run a simple program.3484# If not cross compiling, check that we can run a simple program.
2981if test "$cross_compiling" != yes; then3485if test "$cross_compiling" != yes; then
2982 if { ac_try='./$ac_file'3486 if { ac_try='./$ac_file'
2983 { (case "(($ac_try" in3487 { { case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;3489 *) ac_try_echo=$ac_try;;
2986esac3490esac
2987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""3491eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988$as_echo "$ac_try_echo") >&53492$as_echo "$ac_try_echo"; } >&5
2989 (eval "$ac_try") 2>&53493 (eval "$ac_try") 2>&5
2990 ac_status=$?3494 ac_status=$?
2991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then3496 test $ac_status = 0; }; }; then
2993 cross_compiling=no3497 cross_compiling=no
2994 else3498 else
2995 if test "$cross_compiling" = maybe; then3499 if test "$cross_compiling" = maybe; then
2996 cross_compiling=yes3500 cross_compiling=yes
2997 else3501 else
2998 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&53502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3000{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.3504as_fn_error "cannot run C compiled programs.
3001If you meant to cross compile, use \`--host'.3505If you meant to cross compile, use \`--host'.
3002See \`config.log' for more details." >&53506See \`config.log' for more details." "$LINENO" 5; }
3003$as_echo "$as_me: error: cannot run C compiled programs.
3004If you meant to cross compile, use \`--host'.
3005See \`config.log' for more details." >&2;}
3006 { (exit 1); exit 1; }; }; }
3007 fi3507 fi
3008 fi3508 fi
3009fi3509fi
3010{ $as_echo "$as_me:$LINENO: result: yes" >&53510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3011$as_echo "yes" >&6; }3511$as_echo "yes" >&6; }
30123512
3013rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out3513rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3014ac_clean_files=$ac_clean_files_save3514ac_clean_files=$ac_clean_files_save
3015# Check that the compiler produces executables we can run. If not, either3515# Check that the compiler produces executables we can run. If not, either
3016# the compiler is broken, or we cross compile.3516# the compiler is broken, or we cross compile.
3017{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&53517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3018$as_echo_n "checking whether we are cross compiling... " >&6; }3518$as_echo_n "checking whether we are cross compiling... " >&6; }
3019{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&53519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3020$as_echo "$cross_compiling" >&6; }3520$as_echo "$cross_compiling" >&6; }
30213521
3022{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&53522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3023$as_echo_n "checking for suffix of executables... " >&6; }3523$as_echo_n "checking for suffix of executables... " >&6; }
3024if { (ac_try="$ac_link"3524if { { ac_try="$ac_link"
3025case "(($ac_try" in3525case "(($ac_try" in
3026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;3527 *) ac_try_echo=$ac_try;;
3028esac3528esac
3029eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""3529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030$as_echo "$ac_try_echo") >&53530$as_echo "$ac_try_echo"; } >&5
3031 (eval "$ac_link") 2>&53531 (eval "$ac_link") 2>&5
3032 ac_status=$?3532 ac_status=$?
3033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3034 (exit $ac_status); }; then3534 test $ac_status = 0; }; then :
3035 # If both `conftest.exe' and `conftest' are `present' (well, observable)3535 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3036# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will3536# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3037# work properly (i.e., refer to `conftest.exe'), while it won't with3537# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3046,32 +3546,24 @@
3046 esac3546 esac
3047done3547done
3048else3548else
3049 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&53549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link3551as_fn_error "cannot compute suffix of executables: cannot compile and link
3052See \`config.log' for more details." >&53552See \`config.log' for more details." "$LINENO" 5; }
3053$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3054See \`config.log' for more details." >&2;}
3055 { (exit 1); exit 1; }; }; }
3056fi3553fi
3057
3058rm -f conftest$ac_cv_exeext3554rm -f conftest$ac_cv_exeext
3059{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&53555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3060$as_echo "$ac_cv_exeext" >&6; }3556$as_echo "$ac_cv_exeext" >&6; }
30613557
3062rm -f conftest.$ac_ext3558rm -f conftest.$ac_ext
3063EXEEXT=$ac_cv_exeext3559EXEEXT=$ac_cv_exeext
3064ac_exeext=$EXEEXT3560ac_exeext=$EXEEXT
3065{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&53561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3066$as_echo_n "checking for suffix of object files... " >&6; }3562$as_echo_n "checking for suffix of object files... " >&6; }
3067if test "${ac_cv_objext+set}" = set; then3563if test "${ac_cv_objext+set}" = set; then :
3068 $as_echo_n "(cached) " >&63564 $as_echo_n "(cached) " >&6
3069else3565else
3070 cat >conftest.$ac_ext <<_ACEOF3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071/* confdefs.h. */
3072_ACEOF
3073cat confdefs.h >>conftest.$ac_ext
3074cat >>conftest.$ac_ext <<_ACEOF
3075/* end confdefs.h. */3567/* end confdefs.h. */
30763568
3077int3569int
@@ -3083,17 +3575,17 @@
3083}3575}
3084_ACEOF3576_ACEOF
3085rm -f conftest.o conftest.obj3577rm -f conftest.o conftest.obj
3086if { (ac_try="$ac_compile"3578if { { ac_try="$ac_compile"
3087case "(($ac_try" in3579case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;3581 *) ac_try_echo=$ac_try;;
3090esac3582esac
3091eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""3583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092$as_echo "$ac_try_echo") >&53584$as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_compile") 2>&53585 (eval "$ac_compile") 2>&5
3094 ac_status=$?3586 ac_status=$?
3095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&53587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3096 (exit $ac_status); }; then3588 test $ac_status = 0; }; then :
3097 for ac_file in conftest.o conftest.obj conftest.*; do3589 for ac_file in conftest.o conftest.obj conftest.*; do
3098 test -f "$ac_file" || continue;3590 test -f "$ac_file" || continue;
3099 case $ac_file in3591 case $ac_file in
@@ -3106,31 +3598,23 @@
3106 $as_echo "$as_me: failed program was:" >&53598 $as_echo "$as_me: failed program was:" >&5
3107sed 's/^/| /' conftest.$ac_ext >&53599sed 's/^/| /' conftest.$ac_ext >&5
31083600
3109{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&53601{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3602$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile3603as_fn_error "cannot compute suffix of object files: cannot compile
3112See \`config.log' for more details." >&53604See \`config.log' for more details." "$LINENO" 5; }
3113$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3114See \`config.log' for more details." >&2;}
3115 { (exit 1); exit 1; }; }; }
3116fi3605fi
3117
3118rm -f conftest.$ac_cv_objext conftest.$ac_ext3606rm -f conftest.$ac_cv_objext conftest.$ac_ext
3119fi3607fi
3120{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&53608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3121$as_echo "$ac_cv_objext" >&6; }3609$as_echo "$ac_cv_objext" >&6; }
3122OBJEXT=$ac_cv_objext3610OBJEXT=$ac_cv_objext
3123ac_objext=$OBJEXT3611ac_objext=$OBJEXT
3124{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&53612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3125$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }3613$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3126if test "${ac_cv_c_compiler_gnu+set}" = set; then3614if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3127 $as_echo_n "(cached) " >&63615 $as_echo_n "(cached) " >&6
3128else3616else
3129 cat >conftest.$ac_ext <<_ACEOF3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3130/* confdefs.h. */
3131_ACEOF
3132cat confdefs.h >>conftest.$ac_ext
3133cat >>conftest.$ac_ext <<_ACEOF
3134/* end confdefs.h. */3618/* end confdefs.h. */
31353619
3136int3620int
@@ -3144,37 +3628,16 @@
3144 return 0;3628 return 0;
3145}3629}
3146_ACEOF3630_ACEOF
3147rm -f conftest.$ac_objext3631if ac_fn_c_try_compile "$LINENO"; then :
3148if { (ac_try="$ac_compile"
3149case "(($ac_try" in
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3152esac
3153eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3154$as_echo "$ac_try_echo") >&5
3155 (eval "$ac_compile") 2>conftest.er1
3156 ac_status=$?
3157 grep -v '^ *+' conftest.er1 >conftest.err
3158 rm -f conftest.er1
3159 cat conftest.err >&5
3160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } && {
3162 test -z "$ac_c_werror_flag" ||
3163 test ! -s conftest.err
3164 } && test -s conftest.$ac_objext; then
3165 ac_compiler_gnu=yes3632 ac_compiler_gnu=yes
3166else3633else
3167 $as_echo "$as_me: failed program was:" >&53634 ac_compiler_gnu=no
3168sed 's/^/| /' conftest.$ac_ext >&5
3169
3170 ac_compiler_gnu=no
3171fi3635fi
3172
3173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext3636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174ac_cv_c_compiler_gnu=$ac_compiler_gnu3637ac_cv_c_compiler_gnu=$ac_compiler_gnu
31753638
3176fi3639fi
3177{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&53640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3178$as_echo "$ac_cv_c_compiler_gnu" >&6; }3641$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3179if test $ac_compiler_gnu = yes; then3642if test $ac_compiler_gnu = yes; then
3180 GCC=yes3643 GCC=yes
@@ -3183,20 +3646,16 @@
3183fi3646fi
3184ac_test_CFLAGS=${CFLAGS+set}3647ac_test_CFLAGS=${CFLAGS+set}
3185ac_save_CFLAGS=$CFLAGS3648ac_save_CFLAGS=$CFLAGS
3186{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&53649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3187$as_echo_n "checking whether $CC accepts -g... " >&6; }3650$as_echo_n "checking whether $CC accepts -g... " >&6; }
3188if test "${ac_cv_prog_cc_g+set}" = set; then3651if test "${ac_cv_prog_cc_g+set}" = set; then :
3189 $as_echo_n "(cached) " >&63652 $as_echo_n "(cached) " >&6
3190else3653else
3191 ac_save_c_werror_flag=$ac_c_werror_flag3654 ac_save_c_werror_flag=$ac_c_werror_flag
3192 ac_c_werror_flag=yes3655 ac_c_werror_flag=yes
3193 ac_cv_prog_cc_g=no3656 ac_cv_prog_cc_g=no
3194 CFLAGS="-g"3657 CFLAGS="-g"
3195 cat >conftest.$ac_ext <<_ACEOF3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196/* confdefs.h. */
3197_ACEOF
3198cat confdefs.h >>conftest.$ac_ext
3199cat >>conftest.$ac_ext <<_ACEOF
3200/* end confdefs.h. */3659/* end confdefs.h. */
32013660
3202int3661int
@@ -3207,35 +3666,11 @@
3207 return 0;3666 return 0;
3208}3667}
3209_ACEOF3668_ACEOF
3210rm -f conftest.$ac_objext3669if ac_fn_c_try_compile "$LINENO"; then :
3211if { (ac_try="$ac_compile"
3212case "(($ac_try" in
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3215esac
3216eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3217$as_echo "$ac_try_echo") >&5
3218 (eval "$ac_compile") 2>conftest.er1
3219 ac_status=$?
3220 grep -v '^ *+' conftest.er1 >conftest.err
3221 rm -f conftest.er1
3222 cat conftest.err >&5
3223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); } && {
3225 test -z "$ac_c_werror_flag" ||
3226 test ! -s conftest.err
3227 } && test -s conftest.$ac_objext; then
3228 ac_cv_prog_cc_g=yes3670 ac_cv_prog_cc_g=yes
3229else3671else
3230 $as_echo "$as_me: failed program was:" >&53672 CFLAGS=""
3231sed 's/^/| /' conftest.$ac_ext >&53673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232
3233 CFLAGS=""
3234 cat >conftest.$ac_ext <<_ACEOF
3235/* confdefs.h. */
3236_ACEOF
3237cat confdefs.h >>conftest.$ac_ext
3238cat >>conftest.$ac_ext <<_ACEOF
3239/* end confdefs.h. */3674/* end confdefs.h. */
32403675
3241int3676int
@@ -3246,36 +3681,12 @@
3246 return 0;3681 return 0;
3247}3682}
3248_ACEOF3683_ACEOF
3249rm -f conftest.$ac_objext3684if ac_fn_c_try_compile "$LINENO"; then :
3250if { (ac_try="$ac_compile"3685
3251case "(($ac_try" in
3252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253 *) ac_try_echo=$ac_try;;
3254esac
3255eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3256$as_echo "$ac_try_echo") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3258 ac_status=$?
3259 grep -v '^ *+' conftest.er1 >conftest.err
3260 rm -f conftest.er1
3261 cat conftest.err >&5
3262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } && {
3264 test -z "$ac_c_werror_flag" ||
3265 test ! -s conftest.err
3266 } && test -s conftest.$ac_objext; then
3267 :
3268else3686else
3269 $as_echo "$as_me: failed program was:" >&53687 ac_c_werror_flag=$ac_save_c_werror_flag
3270sed 's/^/| /' conftest.$ac_ext >&5
3271
3272 ac_c_werror_flag=$ac_save_c_werror_flag
3273 CFLAGS="-g"3688 CFLAGS="-g"
3274 cat >conftest.$ac_ext <<_ACEOF3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275/* confdefs.h. */
3276_ACEOF
3277cat confdefs.h >>conftest.$ac_ext
3278cat >>conftest.$ac_ext <<_ACEOF
3279/* end confdefs.h. */3690/* end confdefs.h. */
32803691
3281int3692int
@@ -3286,42 +3697,17 @@
3286 return 0;3697 return 0;
3287}3698}
3288_ACEOF3699_ACEOF
3289rm -f conftest.$ac_objext3700if ac_fn_c_try_compile "$LINENO"; then :
3290if { (ac_try="$ac_compile"
3291case "(($ac_try" in
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3294esac
3295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3296$as_echo "$ac_try_echo") >&5
3297 (eval "$ac_compile") 2>conftest.er1
3298 ac_status=$?
3299 grep -v '^ *+' conftest.er1 >conftest.err
3300 rm -f conftest.er1
3301 cat conftest.err >&5
3302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } && {
3304 test -z "$ac_c_werror_flag" ||
3305 test ! -s conftest.err
3306 } && test -s conftest.$ac_objext; then
3307 ac_cv_prog_cc_g=yes3701 ac_cv_prog_cc_g=yes
3308else3702fi
3309 $as_echo "$as_me: failed program was:" >&53703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310sed 's/^/| /' conftest.$ac_ext >&53704fi
33113705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33123706fi
3313fi
3314
3315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316fi
3317
3318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319fi
3320
3321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext3707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 ac_c_werror_flag=$ac_save_c_werror_flag3708 ac_c_werror_flag=$ac_save_c_werror_flag
3323fi3709fi
3324{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3325$as_echo "$ac_cv_prog_cc_g" >&6; }3711$as_echo "$ac_cv_prog_cc_g" >&6; }
3326if test "$ac_test_CFLAGS" = set; then3712if test "$ac_test_CFLAGS" = set; then
3327 CFLAGS=$ac_save_CFLAGS3713 CFLAGS=$ac_save_CFLAGS
@@ -3338,18 +3724,14 @@
3338 CFLAGS=3724 CFLAGS=
3339 fi3725 fi
3340fi3726fi
3341{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&53727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3342$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }3728$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3343if test "${ac_cv_prog_cc_c89+set}" = set; then3729if test "${ac_cv_prog_cc_c89+set}" = set; then :
3344 $as_echo_n "(cached) " >&63730 $as_echo_n "(cached) " >&6
3345else3731else
3346 ac_cv_prog_cc_c89=no3732 ac_cv_prog_cc_c89=no
3347ac_save_CC=$CC3733ac_save_CC=$CC
3348cat >conftest.$ac_ext <<_ACEOF3734cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349/* confdefs.h. */
3350_ACEOF
3351cat confdefs.h >>conftest.$ac_ext
3352cat >>conftest.$ac_ext <<_ACEOF
3353/* end confdefs.h. */3735/* end confdefs.h. */
3354#include <stdarg.h>3736#include <stdarg.h>
3355#include <stdio.h>3737#include <stdio.h>
@@ -3406,32 +3788,9 @@
3406 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"3788 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3407do3789do
3408 CC="$ac_save_CC $ac_arg"3790 CC="$ac_save_CC $ac_arg"
3409 rm -f conftest.$ac_objext3791 if ac_fn_c_try_compile "$LINENO"; then :
3410if { (ac_try="$ac_compile"
3411case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3414esac
3415eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3416$as_echo "$ac_try_echo") >&5
3417 (eval "$ac_compile") 2>conftest.er1
3418 ac_status=$?
3419 grep -v '^ *+' conftest.er1 >conftest.err
3420 rm -f conftest.er1
3421 cat conftest.err >&5
3422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } && {
3424 test -z "$ac_c_werror_flag" ||
3425 test ! -s conftest.err
3426 } && test -s conftest.$ac_objext; then
3427 ac_cv_prog_cc_c89=$ac_arg3792 ac_cv_prog_cc_c89=$ac_arg
3428else
3429 $as_echo "$as_me: failed program was:" >&5
3430sed 's/^/| /' conftest.$ac_ext >&5
3431
3432
3433fi3793fi
3434
3435rm -f core conftest.err conftest.$ac_objext3794rm -f core conftest.err conftest.$ac_objext
3436 test "x$ac_cv_prog_cc_c89" != "xno" && break3795 test "x$ac_cv_prog_cc_c89" != "xno" && break
3437done3796done
@@ -3442,17 +3801,19 @@
3442# AC_CACHE_VAL3801# AC_CACHE_VAL
3443case "x$ac_cv_prog_cc_c89" in3802case "x$ac_cv_prog_cc_c89" in
3444 x)3803 x)
3445 { $as_echo "$as_me:$LINENO: result: none needed" >&53804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3446$as_echo "none needed" >&6; } ;;3805$as_echo "none needed" >&6; } ;;
3447 xno)3806 xno)
3448 { $as_echo "$as_me:$LINENO: result: unsupported" >&53807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3449$as_echo "unsupported" >&6; } ;;3808$as_echo "unsupported" >&6; } ;;
3450 *)3809 *)
3451 CC="$CC $ac_cv_prog_cc_c89"3810 CC="$CC $ac_cv_prog_cc_c89"
3452 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3453$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;3812$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3454esac3813esac
3814if test "x$ac_cv_prog_cc_c89" != xno; then :
34553815
3816fi
34563817
3457ac_ext=c3818ac_ext=c
3458ac_cpp='$CPP $CPPFLAGS'3819ac_cpp='$CPP $CPPFLAGS'
@@ -3471,7 +3832,7 @@
3471.PHONY: am__doit3832.PHONY: am__doit
3472END3833END
3473# If we don't find an include directive, just comment out the code.3834# If we don't find an include directive, just comment out the code.
3474{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&53835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3475$as_echo_n "checking for style of include used by $am_make... " >&6; }3836$as_echo_n "checking for style of include used by $am_make... " >&6; }
3476am__include="#"3837am__include="#"
3477am__quote=3838am__quote=
@@ -3499,12 +3860,12 @@
3499fi3860fi
35003861
35013862
3502{ $as_echo "$as_me:$LINENO: result: $_am_result" >&53863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3503$as_echo "$_am_result" >&6; }3864$as_echo "$_am_result" >&6; }
3504rm -f confinc confmf3865rm -f confinc confmf
35053866
3506# Check whether --enable-dependency-tracking was given.3867# Check whether --enable-dependency-tracking was given.
3507if test "${enable_dependency_tracking+set}" = set; then3868if test "${enable_dependency_tracking+set}" = set; then :
3508 enableval=$enable_dependency_tracking;3869 enableval=$enable_dependency_tracking;
3509fi3870fi
35103871
@@ -3524,9 +3885,9 @@
35243885
3525depcc="$CC" am_compiler_list=3886depcc="$CC" am_compiler_list=
35263887
3527{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&53888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3528$as_echo_n "checking dependency style of $depcc... " >&6; }3889$as_echo_n "checking dependency style of $depcc... " >&6; }
3529if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then3890if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3530 $as_echo_n "(cached) " >&63891 $as_echo_n "(cached) " >&6
3531else3892else
3532 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then3893 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -3615,7 +3976,7 @@
3615fi3976fi
36163977
3617fi3978fi
3618{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&53979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3619$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }3980$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3620CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type3981CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
36213982
@@ -3644,9 +4005,9 @@
3644 do4005 do
3645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.4006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3646set dummy $ac_tool_prefix$ac_prog; ac_word=$24007set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3647{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648$as_echo_n "checking for $ac_word... " >&6; }4009$as_echo_n "checking for $ac_word... " >&6; }
3649if test "${ac_cv_prog_CXX+set}" = set; then4010if test "${ac_cv_prog_CXX+set}" = set; then :
3650 $as_echo_n "(cached) " >&64011 $as_echo_n "(cached) " >&6
3651else4012else
3652 if test -n "$CXX"; then4013 if test -n "$CXX"; then
@@ -3657,24 +4018,24 @@
3657do4018do
3658 IFS=$as_save_IFS4019 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.4020 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do4021 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"4023 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3663 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 24025 break 2
3665 fi4026 fi
3666done4027done
3667done4028 done
3668IFS=$as_save_IFS4029IFS=$as_save_IFS
36694030
3670fi4031fi
3671fi4032fi
3672CXX=$ac_cv_prog_CXX4033CXX=$ac_cv_prog_CXX
3673if test -n "$CXX"; then4034if test -n "$CXX"; then
3674 { $as_echo "$as_me:$LINENO: result: $CXX" >&54035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3675$as_echo "$CXX" >&6; }4036$as_echo "$CXX" >&6; }
3676else4037else
3677 { $as_echo "$as_me:$LINENO: result: no" >&54038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678$as_echo "no" >&6; }4039$as_echo "no" >&6; }
3679fi4040fi
36804041
@@ -3688,9 +4049,9 @@
3688do4049do
3689 # Extract the first word of "$ac_prog", so it can be a program name with args.4050 # Extract the first word of "$ac_prog", so it can be a program name with args.
3690set dummy $ac_prog; ac_word=$24051set dummy $ac_prog; ac_word=$2
3691{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&54052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692$as_echo_n "checking for $ac_word... " >&6; }4053$as_echo_n "checking for $ac_word... " >&6; }
3693if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then4054if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3694 $as_echo_n "(cached) " >&64055 $as_echo_n "(cached) " >&6
3695else4056else
3696 if test -n "$ac_ct_CXX"; then4057 if test -n "$ac_ct_CXX"; then
@@ -3701,24 +4062,24 @@
3701do4062do
3702 IFS=$as_save_IFS4063 IFS=$as_save_IFS
3703 test -z "$as_dir" && as_dir=.4064 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do4065 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_prog_ac_ct_CXX="$ac_prog"4067 ac_cv_prog_ac_ct_CXX="$ac_prog"
3707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 break 24069 break 2
3709 fi4070 fi
3710done4071done
3711done4072 done
3712IFS=$as_save_IFS4073IFS=$as_save_IFS
37134074
3714fi4075fi
3715fi4076fi
3716ac_ct_CXX=$ac_cv_prog_ac_ct_CXX4077ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3717if test -n "$ac_ct_CXX"; then4078if test -n "$ac_ct_CXX"; then
3718 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&54079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3719$as_echo "$ac_ct_CXX" >&6; }4080$as_echo "$ac_ct_CXX" >&6; }
3720else4081else
3721 { $as_echo "$as_me:$LINENO: result: no" >&54082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722$as_echo "no" >&6; }4083$as_echo "no" >&6; }
3723fi4084fi
37244085
@@ -3731,7 +4092,7 @@
3731 else4092 else
3732 case $cross_compiling:$ac_tool_warned in4093 case $cross_compiling:$ac_tool_warned in
3733yes:)4094yes:)
3734{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&54095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3735$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}4096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3736ac_tool_warned=yes ;;4097ac_tool_warned=yes ;;
3737esac4098esac
@@ -3742,53 +4103,36 @@
3742 fi4103 fi
3743fi4104fi
3744# Provide some information about the compiler.4105# Provide some information about the compiler.
3745$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&54106$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3746set X $ac_compile4107set X $ac_compile
3747ac_compiler=$24108ac_compiler=$2
3748{ (ac_try="$ac_compiler --version >&5"4109for ac_option in --version -v -V -qversion; do
3749case "(($ac_try" in4110 { { ac_try="$ac_compiler $ac_option >&5"
3750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4111case "(($ac_try" in
3751 *) ac_try_echo=$ac_try;;4112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3752esac4113 *) ac_try_echo=$ac_try;;
3753eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4114esac
3754$as_echo "$ac_try_echo") >&54115eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3755 (eval "$ac_compiler --version >&5") 2>&54116$as_echo "$ac_try_echo"; } >&5
3756 ac_status=$?4117 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&54118 ac_status=$?
3758 (exit $ac_status); }4119 if test -s conftest.err; then
3759{ (ac_try="$ac_compiler -v >&5"4120 sed '10a\
3760case "(($ac_try" in4121... rest of stderr output deleted ...
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4122 10q' conftest.err >conftest.er1
3762 *) ac_try_echo=$ac_try;;4123 cat conftest.er1 >&5
3763esac4124 rm -f conftest.er1 conftest.err
3764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""4125 fi
3765$as_echo "$ac_try_echo") >&54126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3766 (eval "$ac_compiler -v >&5") 2>&54127 test $ac_status = 0; }
3767 ac_status=$?4128done
3768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }
3770{ (ac_try="$ac_compiler -V >&5"
3771case "(($ac_try" in
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3774esac
3775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3776$as_echo "$ac_try_echo") >&5
3777 (eval "$ac_compiler -V >&5") 2>&5
3778 ac_status=$?
3779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }
37814129
3782{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&54130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3783$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }4131$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3784if test "${ac_cv_cxx_compiler_gnu+set}" = set; then4132if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3785 $as_echo_n "(cached) " >&64133 $as_echo_n "(cached) " >&6
3786else4134else
3787 cat >conftest.$ac_ext <<_ACEOF4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788/* confdefs.h. */
3789_ACEOF
3790cat confdefs.h >>conftest.$ac_ext
3791cat >>conftest.$ac_ext <<_ACEOF
3792/* end confdefs.h. */4136/* end confdefs.h. */
37934137
3794int4138int
@@ -3802,37 +4146,16 @@
3802 return 0;4146 return 0;
3803}4147}
3804_ACEOF4148_ACEOF
3805rm -f conftest.$ac_objext4149if ac_fn_cxx_try_compile "$LINENO"; then :
3806if { (ac_try="$ac_compile"
3807case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810esac
3811eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3812$as_echo "$ac_try_echo") >&5
3813 (eval "$ac_compile") 2>conftest.er1
3814 ac_status=$?
3815 grep -v '^ *+' conftest.er1 >conftest.err
3816 rm -f conftest.er1
3817 cat conftest.err >&5
3818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } && {
3820 test -z "$ac_cxx_werror_flag" ||
3821 test ! -s conftest.err
3822 } && test -s conftest.$ac_objext; then
3823 ac_compiler_gnu=yes4150 ac_compiler_gnu=yes
3824else4151else
3825 $as_echo "$as_me: failed program was:" >&54152 ac_compiler_gnu=no
3826sed 's/^/| /' conftest.$ac_ext >&5
3827
3828 ac_compiler_gnu=no
3829fi4153fi
3830
3831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832ac_cv_cxx_compiler_gnu=$ac_compiler_gnu4155ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
38334156
3834fi4157fi
3835{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&54158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3836$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }4159$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3837if test $ac_compiler_gnu = yes; then4160if test $ac_compiler_gnu = yes; then
3838 GXX=yes4161 GXX=yes
@@ -3841,20 +4164,16 @@
3841fi4164fi
3842ac_test_CXXFLAGS=${CXXFLAGS+set}4165ac_test_CXXFLAGS=${CXXFLAGS+set}
3843ac_save_CXXFLAGS=$CXXFLAGS4166ac_save_CXXFLAGS=$CXXFLAGS
3844{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&54167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3845$as_echo_n "checking whether $CXX accepts -g... " >&6; }4168$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3846if test "${ac_cv_prog_cxx_g+set}" = set; then4169if test "${ac_cv_prog_cxx_g+set}" = set; then :
3847 $as_echo_n "(cached) " >&64170 $as_echo_n "(cached) " >&6
3848else4171else
3849 ac_save_cxx_werror_flag=$ac_cxx_werror_flag4172 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3850 ac_cxx_werror_flag=yes4173 ac_cxx_werror_flag=yes
3851 ac_cv_prog_cxx_g=no4174 ac_cv_prog_cxx_g=no
3852 CXXFLAGS="-g"4175 CXXFLAGS="-g"
3853 cat >conftest.$ac_ext <<_ACEOF4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854/* confdefs.h. */
3855_ACEOF
3856cat confdefs.h >>conftest.$ac_ext
3857cat >>conftest.$ac_ext <<_ACEOF
3858/* end confdefs.h. */4177/* end confdefs.h. */
38594178
3860int4179int
@@ -3865,35 +4184,11 @@
3865 return 0;4184 return 0;
3866}4185}
3867_ACEOF4186_ACEOF
3868rm -f conftest.$ac_objext4187if ac_fn_cxx_try_compile "$LINENO"; then :
3869if { (ac_try="$ac_compile"
3870case "(($ac_try" in
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3873esac
3874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3875$as_echo "$ac_try_echo") >&5
3876 (eval "$ac_compile") 2>conftest.er1
3877 ac_status=$?
3878 grep -v '^ *+' conftest.er1 >conftest.err
3879 rm -f conftest.er1
3880 cat conftest.err >&5
3881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); } && {
3883 test -z "$ac_cxx_werror_flag" ||
3884 test ! -s conftest.err
3885 } && test -s conftest.$ac_objext; then
3886 ac_cv_prog_cxx_g=yes4188 ac_cv_prog_cxx_g=yes
3887else4189else
3888 $as_echo "$as_me: failed program was:" >&54190 CXXFLAGS=""
3889sed 's/^/| /' conftest.$ac_ext >&54191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890
3891 CXXFLAGS=""
3892 cat >conftest.$ac_ext <<_ACEOF
3893/* confdefs.h. */
3894_ACEOF
3895cat confdefs.h >>conftest.$ac_ext
3896cat >>conftest.$ac_ext <<_ACEOF
3897/* end confdefs.h. */4192/* end confdefs.h. */
38984193
3899int4194int
@@ -3904,36 +4199,12 @@
3904 return 0;4199 return 0;
3905}4200}
3906_ACEOF4201_ACEOF
3907rm -f conftest.$ac_objext4202if ac_fn_cxx_try_compile "$LINENO"; then :
3908if { (ac_try="$ac_compile"4203
3909case "(($ac_try" in
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3912esac
3913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3914$as_echo "$ac_try_echo") >&5
3915 (eval "$ac_compile") 2>conftest.er1
3916 ac_status=$?
3917 grep -v '^ *+' conftest.er1 >conftest.err
3918 rm -f conftest.er1
3919 cat conftest.err >&5
3920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } && {
3922 test -z "$ac_cxx_werror_flag" ||
3923 test ! -s conftest.err
3924 } && test -s conftest.$ac_objext; then
3925 :
3926else4204else
3927 $as_echo "$as_me: failed program was:" >&54205 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3928sed 's/^/| /' conftest.$ac_ext >&5
3929
3930 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3931 CXXFLAGS="-g"4206 CXXFLAGS="-g"
3932 cat >conftest.$ac_ext <<_ACEOF4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933/* confdefs.h. */
3934_ACEOF
3935cat confdefs.h >>conftest.$ac_ext
3936cat >>conftest.$ac_ext <<_ACEOF
3937/* end confdefs.h. */4208/* end confdefs.h. */
39384209
3939int4210int
@@ -3944,42 +4215,17 @@
3944 return 0;4215 return 0;
3945}4216}
3946_ACEOF4217_ACEOF
3947rm -f conftest.$ac_objext4218if ac_fn_cxx_try_compile "$LINENO"; then :
3948if { (ac_try="$ac_compile"
3949case "(($ac_try" in
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3952esac
3953eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3954$as_echo "$ac_try_echo") >&5
3955 (eval "$ac_compile") 2>conftest.er1
3956 ac_status=$?
3957 grep -v '^ *+' conftest.er1 >conftest.err
3958 rm -f conftest.er1
3959 cat conftest.err >&5
3960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } && {
3962 test -z "$ac_cxx_werror_flag" ||
3963 test ! -s conftest.err
3964 } && test -s conftest.$ac_objext; then
3965 ac_cv_prog_cxx_g=yes4219 ac_cv_prog_cxx_g=yes
3966else4220fi
3967 $as_echo "$as_me: failed program was:" >&54221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968sed 's/^/| /' conftest.$ac_ext >&54222fi
39694223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704224fi
3971fi
3972
3973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3974fi
3975
3976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3977fi
3978
3979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3980 ac_cxx_werror_flag=$ac_save_cxx_werror_flag4226 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3981fi4227fi
3982{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&54228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3983$as_echo "$ac_cv_prog_cxx_g" >&6; }4229$as_echo "$ac_cv_prog_cxx_g" >&6; }
3984if test "$ac_test_CXXFLAGS" = set; then4230if test "$ac_test_CXXFLAGS" = set; then
3985 CXXFLAGS=$ac_save_CXXFLAGS4231 CXXFLAGS=$ac_save_CXXFLAGS
@@ -4004,9 +4250,9 @@
40044250
4005depcc="$CXX" am_compiler_list=4251depcc="$CXX" am_compiler_list=
40064252
4007{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&54253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4008$as_echo_n "checking dependency style of $depcc... " >&6; }4254$as_echo_n "checking dependency style of $depcc... " >&6; }
4009if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then4255if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4010 $as_echo_n "(cached) " >&64256 $as_echo_n "(cached) " >&6
4011else4257else
4012 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then4258 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -4095,7 +4341,7 @@
4095fi4341fi
40964342
4097fi4343fi
4098{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&54344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4099$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }4345$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4100CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type4346CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
41014347
@@ -4111,7 +4357,7 @@
41114357
41124358
4113# Check whether --enable-shared was given.4359# Check whether --enable-shared was given.
4114if test "${enable_shared+set}" = set; then4360if test "${enable_shared+set}" = set; then :
4115 enableval=$enable_shared; p=${PACKAGE-default}4361 enableval=$enable_shared; p=${PACKAGE-default}
4116 case $enableval in4362 case $enableval in
4117 yes) enable_shared=yes ;;4363 yes) enable_shared=yes ;;
@@ -4135,7 +4381,7 @@
41354381
41364382
4137# Check whether --enable-static was given.4383# Check whether --enable-static was given.
4138if test "${enable_static+set}" = set; then4384if test "${enable_static+set}" = set; then :
4139 enableval=$enable_static; p=${PACKAGE-default}4385 enableval=$enable_static; p=${PACKAGE-default}
4140 case $enableval in4386 case $enableval in
4141 yes) enable_static=yes ;;4387 yes) enable_static=yes ;;
@@ -4159,7 +4405,7 @@
41594405
41604406
4161# Check whether --enable-fast-install was given.4407# Check whether --enable-fast-install was given.
4162if test "${enable_fast_install+set}" = set; then4408if test "${enable_fast_install+set}" = set; then :
4163 enableval=$enable_fast_install; p=${PACKAGE-default}4409 enableval=$enable_fast_install; p=${PACKAGE-default}
4164 case $enableval in4410 case $enableval in
4165 yes) enable_fast_install=yes ;;4411 yes) enable_fast_install=yes ;;
@@ -4184,35 +4430,27 @@
41844430
4185# Make sure we can run config.sub.4431# Make sure we can run config.sub.
4186$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||4432$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4187 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&54433 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4188$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4189 { (exit 1); exit 1; }; }
41904434
4191{ $as_echo "$as_me:$LINENO: checking build system type" >&54435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4192$as_echo_n "checking build system type... " >&6; }4436$as_echo_n "checking build system type... " >&6; }
4193if test "${ac_cv_build+set}" = set; then4437if test "${ac_cv_build+set}" = set; then :
4194 $as_echo_n "(cached) " >&64438 $as_echo_n "(cached) " >&6
4195else4439else
4196 ac_build_alias=$build_alias4440 ac_build_alias=$build_alias
4197test "x$ac_build_alias" = x &&4441test "x$ac_build_alias" = x &&
4198 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`4442 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4199test "x$ac_build_alias" = x &&4443test "x$ac_build_alias" = x &&
4200 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&54444 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4201$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4202 { (exit 1); exit 1; }; }
4203ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||4445ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4204 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&54446 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4205$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4206 { (exit 1); exit 1; }; }
42074447
4208fi4448fi
4209{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&54449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4210$as_echo "$ac_cv_build" >&6; }4450$as_echo "$ac_cv_build" >&6; }
4211case $ac_cv_build in4451case $ac_cv_build in
4212*-*-*) ;;4452*-*-*) ;;
4213*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&54453*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4214$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4215 { (exit 1); exit 1; }; };;
4216esac4454esac
4217build=$ac_cv_build4455build=$ac_cv_build
4218ac_save_IFS=$IFS; IFS='-'4456ac_save_IFS=$IFS; IFS='-'
@@ -4228,28 +4466,24 @@
4228case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac4466case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
42294467
42304468
4231{ $as_echo "$as_me:$LINENO: checking host system type" >&54469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4232$as_echo_n "checking host system type... " >&6; }4470$as_echo_n "checking host system type... " >&6; }
4233if test "${ac_cv_host+set}" = set; then4471if test "${ac_cv_host+set}" = set; then :
4234 $as_echo_n "(cached) " >&64472 $as_echo_n "(cached) " >&6
4235else4473else
4236 if test "x$host_alias" = x; then4474 if test "x$host_alias" = x; then
4237 ac_cv_host=$ac_cv_build4475 ac_cv_host=$ac_cv_build
4238else4476else
4239 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||4477 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4240 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&54478 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4241$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4242 { (exit 1); exit 1; }; }
4243fi4479fi
42444480
4245fi4481fi
4246{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&54482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4247$as_echo "$ac_cv_host" >&6; }4483$as_echo "$ac_cv_host" >&6; }
4248case $ac_cv_host in4484case $ac_cv_host in
4249*-*-*) ;;4485*-*-*) ;;
4250*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&54486*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4251$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4252 { (exit 1); exit 1; }; };;
4253esac4487esac
4254host=$ac_cv_host4488host=$ac_cv_host
4255ac_save_IFS=$IFS; IFS='-'4489ac_save_IFS=$IFS; IFS='-'
@@ -4265,9 +4499,9 @@
4265case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac4499case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
42664500
42674501
4268{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&54502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4269$as_echo_n "checking for a sed that does not truncate output... " >&6; }4503$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4270if test "${lt_cv_path_SED+set}" = set; then4504if test "${lt_cv_path_SED+set}" = set; then :
4271 $as_echo_n "(cached) " >&64505 $as_echo_n "(cached) " >&6
4272else4506else
4273 # Loop through the user's path and test for sed and gsed.4507 # Loop through the user's path and test for sed and gsed.
@@ -4321,12 +4555,12 @@
43214555
4322SED=$lt_cv_path_SED4556SED=$lt_cv_path_SED
43234557
4324{ $as_echo "$as_me:$LINENO: result: $SED" >&54558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4325$as_echo "$SED" >&6; }4559$as_echo "$SED" >&6; }
43264560
4327{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&54561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4328$as_echo_n "checking for grep that handles long lines and -e... " >&6; }4562$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4329if test "${ac_cv_path_GREP+set}" = set; then4563if test "${ac_cv_path_GREP+set}" = set; then :
4330 $as_echo_n "(cached) " >&64564 $as_echo_n "(cached) " >&6
4331else4565else
4332 if test -z "$GREP"; then4566 if test -z "$GREP"; then
@@ -4337,7 +4571,7 @@
4337do4571do
4338 IFS=$as_save_IFS4572 IFS=$as_save_IFS
4339 test -z "$as_dir" && as_dir=.4573 test -z "$as_dir" && as_dir=.
4340 for ac_prog in grep ggrep; do4574 for ac_prog in grep ggrep; do
4341 for ac_exec_ext in '' $ac_executable_extensions; do4575 for ac_exec_ext in '' $ac_executable_extensions; do
4342 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4576 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4343 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4577 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -4357,7 +4591,7 @@
4357 $as_echo 'GREP' >> "conftest.nl"4591 $as_echo 'GREP' >> "conftest.nl"
4358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break4592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4360 ac_count=`expr $ac_count + 1`4594 as_fn_arith $ac_count + 1 && ac_count=$as_val
4361 if test $ac_count -gt ${ac_path_GREP_max-0}; then4595 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4362 # Best one so far, save it but keep looking for a better one4596 # Best one so far, save it but keep looking for a better one
4363 ac_cv_path_GREP="$ac_path_GREP"4597 ac_cv_path_GREP="$ac_path_GREP"
@@ -4372,26 +4606,24 @@
4372 $ac_path_GREP_found && break 34606 $ac_path_GREP_found && break 3
4373 done4607 done
4374 done4608 done
4375done4609 done
4376IFS=$as_save_IFS4610IFS=$as_save_IFS
4377 if test -z "$ac_cv_path_GREP"; then4611 if test -z "$ac_cv_path_GREP"; then
4378 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&54612 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4379$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4380 { (exit 1); exit 1; }; }
4381 fi4613 fi
4382else4614else
4383 ac_cv_path_GREP=$GREP4615 ac_cv_path_GREP=$GREP
4384fi4616fi
43854617
4386fi4618fi
4387{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&54619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4388$as_echo "$ac_cv_path_GREP" >&6; }4620$as_echo "$ac_cv_path_GREP" >&6; }
4389 GREP="$ac_cv_path_GREP"4621 GREP="$ac_cv_path_GREP"
43904622
43914623
4392{ $as_echo "$as_me:$LINENO: checking for egrep" >&54624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4393$as_echo_n "checking for egrep... " >&6; }4625$as_echo_n "checking for egrep... " >&6; }
4394if test "${ac_cv_path_EGREP+set}" = set; then4626if test "${ac_cv_path_EGREP+set}" = set; then :
4395 $as_echo_n "(cached) " >&64627 $as_echo_n "(cached) " >&6
4396else4628else
4397 if echo a | $GREP -E '(a|b)' >/dev/null 2>&14629 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4405,7 +4637,7 @@
4405do4637do
4406 IFS=$as_save_IFS4638 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.4639 test -z "$as_dir" && as_dir=.
4408 for ac_prog in egrep; do4640 for ac_prog in egrep; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do4641 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4642 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4411 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4643 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
@@ -4425,7 +4657,7 @@
4425 $as_echo 'EGREP' >> "conftest.nl"4657 $as_echo 'EGREP' >> "conftest.nl"
4426 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break4658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4659 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 ac_count=`expr $ac_count + 1`4660 as_fn_arith $ac_count + 1 && ac_count=$as_val
4429 if test $ac_count -gt ${ac_path_EGREP_max-0}; then4661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4430 # Best one so far, save it but keep looking for a better one4662 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_EGREP="$ac_path_EGREP"4663 ac_cv_path_EGREP="$ac_path_EGREP"
@@ -4440,12 +4672,10 @@
4440 $ac_path_EGREP_found && break 34672 $ac_path_EGREP_found && break 3
4441 done4673 done
4442 done4674 done
4443done4675 done
4444IFS=$as_save_IFS4676IFS=$as_save_IFS
4445 if test -z "$ac_cv_path_EGREP"; then4677 if test -z "$ac_cv_path_EGREP"; then
4446 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&54678 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4447$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4448 { (exit 1); exit 1; }; }
4449 fi4679 fi
4450else4680else
4451 ac_cv_path_EGREP=$EGREP4681 ac_cv_path_EGREP=$EGREP
@@ -4453,14 +4683,14 @@
44534683
4454 fi4684 fi
4455fi4685fi
4456{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4457$as_echo "$ac_cv_path_EGREP" >&6; }4687$as_echo "$ac_cv_path_EGREP" >&6; }
4458 EGREP="$ac_cv_path_EGREP"4688 EGREP="$ac_cv_path_EGREP"
44594689
44604690
44614691
4462# Check whether --with-gnu-ld was given.4692# Check whether --with-gnu-ld was given.
4463if test "${with_gnu_ld+set}" = set; then4693if test "${with_gnu_ld+set}" = set; then :
4464 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes4694 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4465else4695else
4466 with_gnu_ld=no4696 with_gnu_ld=no
@@ -4469,7 +4699,7 @@
4469ac_prog=ld4699ac_prog=ld
4470if test "$GCC" = yes; then4700if test "$GCC" = yes; then
4471 # Check if gcc -print-prog-name=ld gives a path.4701 # Check if gcc -print-prog-name=ld gives a path.
4472 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&54702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4473$as_echo_n "checking for ld used by $CC... " >&6; }4703$as_echo_n "checking for ld used by $CC... " >&6; }
4474 case $host in4704 case $host in
4475 *-*-mingw*)4705 *-*-mingw*)
@@ -4499,13 +4729,13 @@
4499 ;;4729 ;;
4500 esac4730 esac
4501elif test "$with_gnu_ld" = yes; then4731elif test "$with_gnu_ld" = yes; then
4502 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&54732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4503$as_echo_n "checking for GNU ld... " >&6; }4733$as_echo_n "checking for GNU ld... " >&6; }
4504else4734else
4505 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&54735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4506$as_echo_n "checking for non-GNU ld... " >&6; }4736$as_echo_n "checking for non-GNU ld... " >&6; }
4507fi4737fi
4508if test "${lt_cv_path_LD+set}" = set; then4738if test "${lt_cv_path_LD+set}" = set; then :
4509 $as_echo_n "(cached) " >&64739 $as_echo_n "(cached) " >&6
4510else4740else
4511 if test -z "$LD"; then4741 if test -z "$LD"; then
@@ -4536,18 +4766,16 @@
45364766
4537LD="$lt_cv_path_LD"4767LD="$lt_cv_path_LD"
4538if test -n "$LD"; then4768if test -n "$LD"; then
4539 { $as_echo "$as_me:$LINENO: result: $LD" >&54769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4540$as_echo "$LD" >&6; }4770$as_echo "$LD" >&6; }
4541else4771else
4542 { $as_echo "$as_me:$LINENO: result: no" >&54772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543$as_echo "no" >&6; }4773$as_echo "no" >&6; }
4544fi4774fi
4545test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&54775test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4546$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4547 { (exit 1); exit 1; }; }
4548{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4549$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }4777$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4550if test "${lt_cv_prog_gnu_ld+set}" = set; then4778if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4551 $as_echo_n "(cached) " >&64779 $as_echo_n "(cached) " >&6
4552else4780else
4553 # I'd rather use --version here, but apparently some GNU lds only accept -v.4781 # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -4560,19 +4788,19 @@
4560 ;;4788 ;;
4561esac4789esac
4562fi4790fi
4563{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&54791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4564$as_echo "$lt_cv_prog_gnu_ld" >&6; }4792$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4565with_gnu_ld=$lt_cv_prog_gnu_ld4793with_gnu_ld=$lt_cv_prog_gnu_ld
45664794
45674795
4568{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&54796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4569$as_echo_n "checking for $LD option to reload object files... " >&6; }4797$as_echo_n "checking for $LD option to reload object files... " >&6; }
4570if test "${lt_cv_ld_reload_flag+set}" = set; then4798if test "${lt_cv_ld_reload_flag+set}" = set; then :
4571 $as_echo_n "(cached) " >&64799 $as_echo_n "(cached) " >&6
4572else4800else
4573 lt_cv_ld_reload_flag='-r'4801 lt_cv_ld_reload_flag='-r'
4574fi4802fi
4575{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&54803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4576$as_echo "$lt_cv_ld_reload_flag" >&6; }4804$as_echo "$lt_cv_ld_reload_flag" >&6; }
4577reload_flag=$lt_cv_ld_reload_flag4805reload_flag=$lt_cv_ld_reload_flag
4578case $reload_flag in4806case $reload_flag in
@@ -4590,9 +4818,9 @@
4590 ;;4818 ;;
4591esac4819esac
45924820
4593{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&54821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
4594$as_echo_n "checking for BSD-compatible nm... " >&6; }4822$as_echo_n "checking for BSD-compatible nm... " >&6; }
4595if test "${lt_cv_path_NM+set}" = set; then4823if test "${lt_cv_path_NM+set}" = set; then :
4596 $as_echo_n "(cached) " >&64824 $as_echo_n "(cached) " >&6
4597else4825else
4598 if test -n "$NM"; then4826 if test -n "$NM"; then
@@ -4639,24 +4867,24 @@
4639 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm4867 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4640fi4868fi
4641fi4869fi
4642{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&54870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4643$as_echo "$lt_cv_path_NM" >&6; }4871$as_echo "$lt_cv_path_NM" >&6; }
4644NM="$lt_cv_path_NM"4872NM="$lt_cv_path_NM"
46454873
4646{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&54874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4647$as_echo_n "checking whether ln -s works... " >&6; }4875$as_echo_n "checking whether ln -s works... " >&6; }
4648LN_S=$as_ln_s4876LN_S=$as_ln_s
4649if test "$LN_S" = "ln -s"; then4877if test "$LN_S" = "ln -s"; then
4650 { $as_echo "$as_me:$LINENO: result: yes" >&54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4651$as_echo "yes" >&6; }4879$as_echo "yes" >&6; }
4652else4880else
4653 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&54881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4654$as_echo "no, using $LN_S" >&6; }4882$as_echo "no, using $LN_S" >&6; }
4655fi4883fi
46564884
4657{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&54885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4658$as_echo_n "checking how to recognize dependent libraries... " >&6; }4886$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4659if test "${lt_cv_deplibs_check_method+set}" = set; then4887if test "${lt_cv_deplibs_check_method+set}" = set; then :
4660 $as_echo_n "(cached) " >&64888 $as_echo_n "(cached) " >&6
4661else4889else
4662 lt_cv_file_magic_cmd='$MAGIC_CMD'4890 lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -4840,7 +5068,7 @@
4840esac5068esac
48415069
4842fi5070fi
4843{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&55071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4844$as_echo "$lt_cv_deplibs_check_method" >&6; }5072$as_echo "$lt_cv_deplibs_check_method" >&6; }
4845file_magic_cmd=$lt_cv_file_magic_cmd5073file_magic_cmd=$lt_cv_file_magic_cmd
4846deplibs_check_method=$lt_cv_deplibs_check_method5074deplibs_check_method=$lt_cv_deplibs_check_method
@@ -4860,7 +5088,7 @@
48605088
48615089
4862# Check whether --enable-libtool-lock was given.5090# Check whether --enable-libtool-lock was given.
4863if test "${enable_libtool_lock+set}" = set; then5091if test "${enable_libtool_lock+set}" = set; then :
4864 enableval=$enable_libtool_lock;5092 enableval=$enable_libtool_lock;
4865fi5093fi
48665094
@@ -4872,11 +5100,11 @@
4872ia64-*-hpux*)5100ia64-*-hpux*)
4873 # Find out which ABI we are using.5101 # Find out which ABI we are using.
4874 echo 'int i;' > conftest.$ac_ext5102 echo 'int i;' > conftest.$ac_ext
4875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4876 (eval $ac_compile) 2>&55104 (eval $ac_compile) 2>&5
4877 ac_status=$?5105 ac_status=$?
4878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4879 (exit $ac_status); }; then5107 test $ac_status = 0; }; then
4880 case `/usr/bin/file conftest.$ac_objext` in5108 case `/usr/bin/file conftest.$ac_objext` in
4881 *ELF-32*)5109 *ELF-32*)
4882 HPUX_IA64_MODE="32"5110 HPUX_IA64_MODE="32"
@@ -4890,12 +5118,12 @@
4890 ;;5118 ;;
4891*-*-irix6*)5119*-*-irix6*)
4892 # Find out which ABI we are using.5120 # Find out which ABI we are using.
4893 echo '#line 4893 "configure"' > conftest.$ac_ext5121 echo '#line 5121 "configure"' > conftest.$ac_ext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55122 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4895 (eval $ac_compile) 2>&55123 (eval $ac_compile) 2>&5
4896 ac_status=$?5124 ac_status=$?
4897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4898 (exit $ac_status); }; then5126 test $ac_status = 0; }; then
4899 if test "$lt_cv_prog_gnu_ld" = yes; then5127 if test "$lt_cv_prog_gnu_ld" = yes; then
4900 case `/usr/bin/file conftest.$ac_objext` in5128 case `/usr/bin/file conftest.$ac_objext` in
4901 *32-bit*)5129 *32-bit*)
@@ -4929,11 +5157,11 @@
4929s390*-*linux*|sparc*-*linux*)5157s390*-*linux*|sparc*-*linux*)
4930 # Find out which ABI we are using.5158 # Find out which ABI we are using.
4931 echo 'int i;' > conftest.$ac_ext5159 echo 'int i;' > conftest.$ac_ext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4933 (eval $ac_compile) 2>&55161 (eval $ac_compile) 2>&5
4934 ac_status=$?5162 ac_status=$?
4935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4936 (exit $ac_status); }; then5164 test $ac_status = 0; }; then
4937 case `/usr/bin/file conftest.o` in5165 case `/usr/bin/file conftest.o` in
4938 *32-bit*)5166 *32-bit*)
4939 case $host in5167 case $host in
@@ -4982,9 +5210,9 @@
4982 # On SCO OpenServer 5, we need -belf to get full-featured binaries.5210 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4983 SAVE_CFLAGS="$CFLAGS"5211 SAVE_CFLAGS="$CFLAGS"
4984 CFLAGS="$CFLAGS -belf"5212 CFLAGS="$CFLAGS -belf"
4985 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&55213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
4986$as_echo_n "checking whether the C compiler needs -belf... " >&6; }5214$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4987if test "${lt_cv_cc_needs_belf+set}" = set; then5215if test "${lt_cv_cc_needs_belf+set}" = set; then :
4988 $as_echo_n "(cached) " >&65216 $as_echo_n "(cached) " >&6
4989else5217else
4990 ac_ext=c5218 ac_ext=c
@@ -4993,11 +5221,7 @@
4993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994ac_compiler_gnu=$ac_cv_c_compiler_gnu5222ac_compiler_gnu=$ac_cv_c_compiler_gnu
49955223
4996 cat >conftest.$ac_ext <<_ACEOF5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997/* confdefs.h. */
4998_ACEOF
4999cat confdefs.h >>conftest.$ac_ext
5000cat >>conftest.$ac_ext <<_ACEOF
5001/* end confdefs.h. */5225/* end confdefs.h. */
50025226
5003int5227int
@@ -5008,38 +5232,13 @@
5008 return 0;5232 return 0;
5009}5233}
5010_ACEOF5234_ACEOF
5011rm -f conftest.$ac_objext conftest$ac_exeext5235if ac_fn_c_try_link "$LINENO"; then :
5012if { (ac_try="$ac_link"
5013case "(($ac_try" in
5014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5015 *) ac_try_echo=$ac_try;;
5016esac
5017eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5018$as_echo "$ac_try_echo") >&5
5019 (eval "$ac_link") 2>conftest.er1
5020 ac_status=$?
5021 grep -v '^ *+' conftest.er1 >conftest.err
5022 rm -f conftest.er1
5023 cat conftest.err >&5
5024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } && {
5026 test -z "$ac_c_werror_flag" ||
5027 test ! -s conftest.err
5028 } && test -s conftest$ac_exeext && {
5029 test "$cross_compiling" = yes ||
5030 $as_test_x conftest$ac_exeext
5031 }; then
5032 lt_cv_cc_needs_belf=yes5236 lt_cv_cc_needs_belf=yes
5033else5237else
5034 $as_echo "$as_me: failed program was:" >&55238 lt_cv_cc_needs_belf=no
5035sed 's/^/| /' conftest.$ac_ext >&5
5036
5037 lt_cv_cc_needs_belf=no
5038fi5239fi
50395240rm -f core conftest.err conftest.$ac_objext \
5040rm -rf conftest.dSYM5241 conftest$ac_exeext conftest.$ac_ext
5041rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5042 conftest$ac_exeext conftest.$ac_ext
5043 ac_ext=c5242 ac_ext=c
5044ac_cpp='$CPP $CPPFLAGS'5243ac_cpp='$CPP $CPPFLAGS'
5045ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'5244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -5047,7 +5246,7 @@
5047ac_compiler_gnu=$ac_cv_c_compiler_gnu5246ac_compiler_gnu=$ac_cv_c_compiler_gnu
50485247
5049fi5248fi
5050{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&55249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5051$as_echo "$lt_cv_cc_needs_belf" >&6; }5250$as_echo "$lt_cv_cc_needs_belf" >&6; }
5052 if test x"$lt_cv_cc_needs_belf" != x"yes"; then5251 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5053 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf5252 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
@@ -5057,11 +5256,11 @@
5057sparc*-*solaris*)5256sparc*-*solaris*)
5058 # Find out which ABI we are using.5257 # Find out which ABI we are using.
5059 echo 'int i;' > conftest.$ac_ext5258 echo 'int i;' > conftest.$ac_ext
5060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5061 (eval $ac_compile) 2>&55260 (eval $ac_compile) 2>&5
5062 ac_status=$?5261 ac_status=$?
5063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&55262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5064 (exit $ac_status); }; then5263 test $ac_status = 0; }; then
5065 case `/usr/bin/file conftest.o` in5264 case `/usr/bin/file conftest.o` in
5066 *64-bit*)5265 *64-bit*)
5067 case $lt_cv_prog_gnu_ld in5266 case $lt_cv_prog_gnu_ld in
@@ -5089,14 +5288,14 @@
5089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'5288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091ac_compiler_gnu=$ac_cv_c_compiler_gnu5290ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&55291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5093$as_echo_n "checking how to run the C preprocessor... " >&6; }5292$as_echo_n "checking how to run the C preprocessor... " >&6; }
5094# On Suns, sometimes $CPP names a directory.5293# On Suns, sometimes $CPP names a directory.
5095if test -n "$CPP" && test -d "$CPP"; then5294if test -n "$CPP" && test -d "$CPP"; then
5096 CPP=5295 CPP=
5097fi5296fi
5098if test -z "$CPP"; then5297if test -z "$CPP"; then
5099 if test "${ac_cv_prog_CPP+set}" = set; then5298 if test "${ac_cv_prog_CPP+set}" = set; then :
5100 $as_echo_n "(cached) " >&65299 $as_echo_n "(cached) " >&6
5101else5300else
5102 # Double quotes because CPP needs to be expanded5301 # Double quotes because CPP needs to be expanded
@@ -5111,11 +5310,7 @@
5111 # <limits.h> exists even on freestanding compilers.5310 # <limits.h> exists even on freestanding compilers.
5112 # On the NeXT, cc -E runs the code through the compiler's parser,5311 # On the NeXT, cc -E runs the code through the compiler's parser,
5113 # not just through cpp. "Syntax error" is here to catch this case.5312 # not just through cpp. "Syntax error" is here to catch this case.
5114 cat >conftest.$ac_ext <<_ACEOF5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115/* confdefs.h. */
5116_ACEOF
5117cat confdefs.h >>conftest.$ac_ext
5118cat >>conftest.$ac_ext <<_ACEOF
5119/* end confdefs.h. */5314/* end confdefs.h. */
5120#ifdef __STDC__5315#ifdef __STDC__
5121# include <limits.h>5316# include <limits.h>
@@ -5124,78 +5319,34 @@
5124#endif5319#endif
5125 Syntax error5320 Syntax error
5126_ACEOF5321_ACEOF
5127if { (ac_try="$ac_cpp conftest.$ac_ext"5322if ac_fn_c_try_cpp "$LINENO"; then :
5128case "(($ac_try" in5323
5129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5130 *) ac_try_echo=$ac_try;;
5131esac
5132eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5133$as_echo "$ac_try_echo") >&5
5134 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5135 ac_status=$?
5136 grep -v '^ *+' conftest.er1 >conftest.err
5137 rm -f conftest.er1
5138 cat conftest.err >&5
5139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); } >/dev/null && {
5141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5142 test ! -s conftest.err
5143 }; then
5144 :
5145else5324else
5146 $as_echo "$as_me: failed program was:" >&5
5147sed 's/^/| /' conftest.$ac_ext >&5
5148
5149 # Broken: fails on valid input.5325 # Broken: fails on valid input.
5150continue5326continue
5151fi5327fi
5152
5153rm -f conftest.err conftest.$ac_ext5328rm -f conftest.err conftest.$ac_ext
51545329
5155 # OK, works on sane cases. Now check whether nonexistent headers5330 # OK, works on sane cases. Now check whether nonexistent headers
5156 # can be detected and how.5331 # can be detected and how.
5157 cat >conftest.$ac_ext <<_ACEOF5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158/* confdefs.h. */
5159_ACEOF
5160cat confdefs.h >>conftest.$ac_ext
5161cat >>conftest.$ac_ext <<_ACEOF
5162/* end confdefs.h. */5333/* end confdefs.h. */
5163#include <ac_nonexistent.h>5334#include <ac_nonexistent.h>
5164_ACEOF5335_ACEOF
5165if { (ac_try="$ac_cpp conftest.$ac_ext"5336if ac_fn_c_try_cpp "$LINENO"; then :
5166case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169esac
5170eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5171$as_echo "$ac_try_echo") >&5
5172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5173 ac_status=$?
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } >/dev/null && {
5179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5180 test ! -s conftest.err
5181 }; then
5182 # Broken: success on invalid input.5337 # Broken: success on invalid input.
5183continue5338continue
5184else5339else
5185 $as_echo "$as_me: failed program was:" >&5
5186sed 's/^/| /' conftest.$ac_ext >&5
5187
5188 # Passes both tests.5340 # Passes both tests.
5189ac_preproc_ok=:5341ac_preproc_ok=:
5190break5342break
5191fi5343fi
5192
5193rm -f conftest.err conftest.$ac_ext5344rm -f conftest.err conftest.$ac_ext
51945345
5195done5346done
5196# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5347# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5197rm -f conftest.err conftest.$ac_ext5348rm -f conftest.err conftest.$ac_ext
5198if $ac_preproc_ok; then5349if $ac_preproc_ok; then :
5199 break5350 break
5200fi5351fi
52015352
@@ -5207,7 +5358,7 @@
5207else5358else
5208 ac_cv_prog_CPP=$CPP5359 ac_cv_prog_CPP=$CPP
5209fi5360fi
5210{ $as_echo "$as_me:$LINENO: result: $CPP" >&55361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5211$as_echo "$CPP" >&6; }5362$as_echo "$CPP" >&6; }
5212ac_preproc_ok=false5363ac_preproc_ok=false
5213for ac_c_preproc_warn_flag in '' yes5364for ac_c_preproc_warn_flag in '' yes
@@ -5218,11 +5369,7 @@
5218 # <limits.h> exists even on freestanding compilers.5369 # <limits.h> exists even on freestanding compilers.
5219 # On the NeXT, cc -E runs the code through the compiler's parser,5370 # On the NeXT, cc -E runs the code through the compiler's parser,
5220 # not just through cpp. "Syntax error" is here to catch this case.5371 # not just through cpp. "Syntax error" is here to catch this case.
5221 cat >conftest.$ac_ext <<_ACEOF5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222/* confdefs.h. */
5223_ACEOF
5224cat confdefs.h >>conftest.$ac_ext
5225cat >>conftest.$ac_ext <<_ACEOF
5226/* end confdefs.h. */5373/* end confdefs.h. */
5227#ifdef __STDC__5374#ifdef __STDC__
5228# include <limits.h>5375# include <limits.h>
@@ -5231,87 +5378,40 @@
5231#endif5378#endif
5232 Syntax error5379 Syntax error
5233_ACEOF5380_ACEOF
5234if { (ac_try="$ac_cpp conftest.$ac_ext"5381if ac_fn_c_try_cpp "$LINENO"; then :
5235case "(($ac_try" in5382
5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237 *) ac_try_echo=$ac_try;;
5238esac
5239eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5240$as_echo "$ac_try_echo") >&5
5241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5242 ac_status=$?
5243 grep -v '^ *+' conftest.er1 >conftest.err
5244 rm -f conftest.er1
5245 cat conftest.err >&5
5246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); } >/dev/null && {
5248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5249 test ! -s conftest.err
5250 }; then
5251 :
5252else5383else
5253 $as_echo "$as_me: failed program was:" >&5
5254sed 's/^/| /' conftest.$ac_ext >&5
5255
5256 # Broken: fails on valid input.5384 # Broken: fails on valid input.
5257continue5385continue
5258fi5386fi
5259
5260rm -f conftest.err conftest.$ac_ext5387rm -f conftest.err conftest.$ac_ext
52615388
5262 # OK, works on sane cases. Now check whether nonexistent headers5389 # OK, works on sane cases. Now check whether nonexistent headers
5263 # can be detected and how.5390 # can be detected and how.
5264 cat >conftest.$ac_ext <<_ACEOF5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265/* confdefs.h. */
5266_ACEOF
5267cat confdefs.h >>conftest.$ac_ext
5268cat >>conftest.$ac_ext <<_ACEOF
5269/* end confdefs.h. */5392/* end confdefs.h. */
5270#include <ac_nonexistent.h>5393#include <ac_nonexistent.h>
5271_ACEOF5394_ACEOF
5272if { (ac_try="$ac_cpp conftest.$ac_ext"5395if ac_fn_c_try_cpp "$LINENO"; then :
5273case "(($ac_try" in
5274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275 *) ac_try_echo=$ac_try;;
5276esac
5277eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5278$as_echo "$ac_try_echo") >&5
5279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5280 ac_status=$?
5281 grep -v '^ *+' conftest.er1 >conftest.err
5282 rm -f conftest.er1
5283 cat conftest.err >&5
5284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } >/dev/null && {
5286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5287 test ! -s conftest.err
5288 }; then
5289 # Broken: success on invalid input.5396 # Broken: success on invalid input.
5290continue5397continue
5291else5398else
5292 $as_echo "$as_me: failed program was:" >&5
5293sed 's/^/| /' conftest.$ac_ext >&5
5294
5295 # Passes both tests.5399 # Passes both tests.
5296ac_preproc_ok=:5400ac_preproc_ok=:
5297break5401break
5298fi5402fi
5299
5300rm -f conftest.err conftest.$ac_ext5403rm -f conftest.err conftest.$ac_ext
53015404
5302done5405done
5303# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5406# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5304rm -f conftest.err conftest.$ac_ext5407rm -f conftest.err conftest.$ac_ext
5305if $ac_preproc_ok; then5408if $ac_preproc_ok; then :
5306 :5409
5307else5410else
5308 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&55411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5309$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}5412$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5310{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check5413as_fn_error "C preprocessor \"$CPP\" fails sanity check
5311See \`config.log' for more details." >&55414See \`config.log' for more details." "$LINENO" 5; }
5312$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5313See \`config.log' for more details." >&2;}
5314 { (exit 1); exit 1; }; }; }
5315fi5415fi
53165416
5317ac_ext=c5417ac_ext=c
@@ -5321,16 +5421,12 @@
5321ac_compiler_gnu=$ac_cv_c_compiler_gnu5421ac_compiler_gnu=$ac_cv_c_compiler_gnu
53225422
53235423
5324{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&55424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5325$as_echo_n "checking for ANSI C header files... " >&6; }5425$as_echo_n "checking for ANSI C header files... " >&6; }
5326if test "${ac_cv_header_stdc+set}" = set; then5426if test "${ac_cv_header_stdc+set}" = set; then :
5327 $as_echo_n "(cached) " >&65427 $as_echo_n "(cached) " >&6
5328else5428else
5329 cat >conftest.$ac_ext <<_ACEOF5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330/* confdefs.h. */
5331_ACEOF
5332cat confdefs.h >>conftest.$ac_ext
5333cat >>conftest.$ac_ext <<_ACEOF
5334/* end confdefs.h. */5430/* end confdefs.h. */
5335#include <stdlib.h>5431#include <stdlib.h>
5336#include <stdarg.h>5432#include <stdarg.h>
@@ -5345,48 +5441,23 @@
5345 return 0;5441 return 0;
5346}5442}
5347_ACEOF5443_ACEOF
5348rm -f conftest.$ac_objext5444if ac_fn_c_try_compile "$LINENO"; then :
5349if { (ac_try="$ac_compile"
5350case "(($ac_try" in
5351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5352 *) ac_try_echo=$ac_try;;
5353esac
5354eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5355$as_echo "$ac_try_echo") >&5
5356 (eval "$ac_compile") 2>conftest.er1
5357 ac_status=$?
5358 grep -v '^ *+' conftest.er1 >conftest.err
5359 rm -f conftest.er1
5360 cat conftest.err >&5
5361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); } && {
5363 test -z "$ac_c_werror_flag" ||
5364 test ! -s conftest.err
5365 } && test -s conftest.$ac_objext; then
5366 ac_cv_header_stdc=yes5445 ac_cv_header_stdc=yes
5367else5446else
5368 $as_echo "$as_me: failed program was:" >&55447 ac_cv_header_stdc=no
5369sed 's/^/| /' conftest.$ac_ext >&5
5370
5371 ac_cv_header_stdc=no
5372fi5448fi
5373
5374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53755450
5376if test $ac_cv_header_stdc = yes; then5451if test $ac_cv_header_stdc = yes; then
5377 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.5452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5378 cat >conftest.$ac_ext <<_ACEOF5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379/* confdefs.h. */
5380_ACEOF
5381cat confdefs.h >>conftest.$ac_ext
5382cat >>conftest.$ac_ext <<_ACEOF
5383/* end confdefs.h. */5454/* end confdefs.h. */
5384#include <string.h>5455#include <string.h>
53855456
5386_ACEOF5457_ACEOF
5387if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |5458if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5388 $EGREP "memchr" >/dev/null 2>&1; then5459 $EGREP "memchr" >/dev/null 2>&1; then :
5389 :5460
5390else5461else
5391 ac_cv_header_stdc=no5462 ac_cv_header_stdc=no
5392fi5463fi
@@ -5396,18 +5467,14 @@
53965467
5397if test $ac_cv_header_stdc = yes; then5468if test $ac_cv_header_stdc = yes; then
5398 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.5469 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5399 cat >conftest.$ac_ext <<_ACEOF5470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400/* confdefs.h. */
5401_ACEOF
5402cat confdefs.h >>conftest.$ac_ext
5403cat >>conftest.$ac_ext <<_ACEOF
5404/* end confdefs.h. */5471/* end confdefs.h. */
5405#include <stdlib.h>5472#include <stdlib.h>
54065473
5407_ACEOF5474_ACEOF
5408if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |5475if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5409 $EGREP "free" >/dev/null 2>&1; then5476 $EGREP "free" >/dev/null 2>&1; then :
5410 :5477
5411else5478else
5412 ac_cv_header_stdc=no5479 ac_cv_header_stdc=no
5413fi5480fi
@@ -5417,14 +5484,10 @@
54175484
5418if test $ac_cv_header_stdc = yes; then5485if test $ac_cv_header_stdc = yes; then
5419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.5486 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5420 if test "$cross_compiling" = yes; then5487 if test "$cross_compiling" = yes; then :
5421 :5488 :
5422else5489else
5423 cat >conftest.$ac_ext <<_ACEOF5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424/* confdefs.h. */
5425_ACEOF
5426cat confdefs.h >>conftest.$ac_ext
5427cat >>conftest.$ac_ext <<_ACEOF
5428/* end confdefs.h. */5491/* end confdefs.h. */
5429#include <ctype.h>5492#include <ctype.h>
5430#include <stdlib.h>5493#include <stdlib.h>
@@ -5451,118 +5514,34 @@
5451 return 0;5514 return 0;
5452}5515}
5453_ACEOF5516_ACEOF
5454rm -f conftest$ac_exeext5517if ac_fn_c_try_run "$LINENO"; then :
5455if { (ac_try="$ac_link"5518
5456case "(($ac_try" in
5457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5458 *) ac_try_echo=$ac_try;;
5459esac
5460eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5461$as_echo "$ac_try_echo") >&5
5462 (eval "$ac_link") 2>&5
5463 ac_status=$?
5464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5466 { (case "(($ac_try" in
5467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468 *) ac_try_echo=$ac_try;;
5469esac
5470eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5471$as_echo "$ac_try_echo") >&5
5472 (eval "$ac_try") 2>&5
5473 ac_status=$?
5474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; }; then
5476 :
5477else5519else
5478 $as_echo "$as_me: program exited with status $ac_status" >&55520 ac_cv_header_stdc=no
5479$as_echo "$as_me: failed program was:" >&55521fi
5480sed 's/^/| /' conftest.$ac_ext >&55522rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54815523 conftest.$ac_objext conftest.beam conftest.$ac_ext
5482( exit $ac_status )5524fi
5483ac_cv_header_stdc=no5525
5484fi5526fi
5485rm -rf conftest.dSYM5527fi
5486rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext5528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5487fi
5488
5489
5490fi
5491fi
5492{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5493$as_echo "$ac_cv_header_stdc" >&6; }5529$as_echo "$ac_cv_header_stdc" >&6; }
5494if test $ac_cv_header_stdc = yes; then5530if test $ac_cv_header_stdc = yes; then
54955531
5496cat >>confdefs.h <<\_ACEOF5532$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5497#define STDC_HEADERS 1
5498_ACEOF
54995533
5500fi5534fi
55015535
5502# On IRIX 5.3, sys/types and inttypes.h are conflicting.5536# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \5537for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5513 inttypes.h stdint.h unistd.h5538 inttypes.h stdint.h unistd.h
5514do5539do :
5515as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`5540 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5516{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&55541ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5517$as_echo_n "checking for $ac_header... " >&6; }5542"
5518if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5543eval as_val=\$$as_ac_Header
5519 $as_echo_n "(cached) " >&65544 if test "x$as_val" = x""yes; then :
5520else
5521 cat >conftest.$ac_ext <<_ACEOF
5522/* confdefs.h. */
5523_ACEOF
5524cat confdefs.h >>conftest.$ac_ext
5525cat >>conftest.$ac_ext <<_ACEOF
5526/* end confdefs.h. */
5527$ac_includes_default
5528
5529#include <$ac_header>
5530_ACEOF
5531rm -f conftest.$ac_objext
5532if { (ac_try="$ac_compile"
5533case "(($ac_try" in
5534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5536esac
5537eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5538$as_echo "$ac_try_echo") >&5
5539 (eval "$ac_compile") 2>conftest.er1
5540 ac_status=$?
5541 grep -v '^ *+' conftest.er1 >conftest.err
5542 rm -f conftest.er1
5543 cat conftest.err >&5
5544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } && {
5546 test -z "$ac_c_werror_flag" ||
5547 test ! -s conftest.err
5548 } && test -s conftest.$ac_objext; then
5549 eval "$as_ac_Header=yes"
5550else
5551 $as_echo "$as_me: failed program was:" >&5
5552sed 's/^/| /' conftest.$ac_ext >&5
5553
5554 eval "$as_ac_Header=no"
5555fi
5556
5557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5558fi
5559ac_res=`eval 'as_val=${'$as_ac_Header'}
5560 $as_echo "$as_val"'`
5561 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5562$as_echo "$ac_res" >&6; }
5563as_val=`eval 'as_val=${'$as_ac_Header'}
5564 $as_echo "$as_val"'`
5565 if test "x$as_val" = x""yes; then
5566 cat >>confdefs.h <<_ACEOF5545 cat >>confdefs.h <<_ACEOF
5567#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 15546#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5568_ACEOF5547_ACEOF
@@ -5572,146 +5551,12 @@
5572done5551done
55735552
55745553
5575
5576for ac_header in dlfcn.h5554for ac_header in dlfcn.h
5577do5555do :
5578as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`5556 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5579if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5557if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
5580 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5581$as_echo_n "checking for $ac_header... " >&6; }
5582if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5583 $as_echo_n "(cached) " >&6
5584fi
5585ac_res=`eval 'as_val=${'$as_ac_Header'}
5586 $as_echo "$as_val"'`
5587 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5588$as_echo "$ac_res" >&6; }
5589else
5590 # Is the header compilable?
5591{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5592$as_echo_n "checking $ac_header usability... " >&6; }
5593cat >conftest.$ac_ext <<_ACEOF
5594/* confdefs.h. */
5595_ACEOF
5596cat confdefs.h >>conftest.$ac_ext
5597cat >>conftest.$ac_ext <<_ACEOF
5598/* end confdefs.h. */
5599$ac_includes_default
5600#include <$ac_header>
5601_ACEOF
5602rm -f conftest.$ac_objext
5603if { (ac_try="$ac_compile"
5604case "(($ac_try" in
5605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5606 *) ac_try_echo=$ac_try;;
5607esac
5608eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5609$as_echo "$ac_try_echo") >&5
5610 (eval "$ac_compile") 2>conftest.er1
5611 ac_status=$?
5612 grep -v '^ *+' conftest.er1 >conftest.err
5613 rm -f conftest.er1
5614 cat conftest.err >&5
5615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); } && {
5617 test -z "$ac_c_werror_flag" ||
5618 test ! -s conftest.err
5619 } && test -s conftest.$ac_objext; then
5620 ac_header_compiler=yes
5621else
5622 $as_echo "$as_me: failed program was:" >&5
5623sed 's/^/| /' conftest.$ac_ext >&5
5624
5625 ac_header_compiler=no
5626fi
5627
5628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5629{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5630$as_echo "$ac_header_compiler" >&6; }
5631
5632# Is the header present?
5633{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5634$as_echo_n "checking $ac_header presence... " >&6; }
5635cat >conftest.$ac_ext <<_ACEOF
5636/* confdefs.h. */
5637_ACEOF
5638cat confdefs.h >>conftest.$ac_ext
5639cat >>conftest.$ac_ext <<_ACEOF
5640/* end confdefs.h. */
5641#include <$ac_header>
5642_ACEOF
5643if { (ac_try="$ac_cpp conftest.$ac_ext"
5644case "(($ac_try" in
5645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5647esac
5648eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5649$as_echo "$ac_try_echo") >&5
5650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5651 ac_status=$?
5652 grep -v '^ *+' conftest.er1 >conftest.err
5653 rm -f conftest.er1
5654 cat conftest.err >&5
5655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } >/dev/null && {
5657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5658 test ! -s conftest.err
5659 }; then
5660 ac_header_preproc=yes
5661else
5662 $as_echo "$as_me: failed program was:" >&5
5663sed 's/^/| /' conftest.$ac_ext >&5
5664
5665 ac_header_preproc=no
5666fi
5667
5668rm -f conftest.err conftest.$ac_ext
5669{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5670$as_echo "$ac_header_preproc" >&6; }
5671
5672# So? What about this header?
5673case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5674 yes:no: )
5675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5676$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5678$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5679 ac_header_preproc=yes
5680 ;;
5681 no:yes:* )
5682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5683$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5685$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5687$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5689$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5691$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5693$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5694
5695 ;;
5696esac
5697{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5698$as_echo_n "checking for $ac_header... " >&6; }
5699if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5700 $as_echo_n "(cached) " >&6
5701else
5702 eval "$as_ac_Header=\$ac_header_preproc"
5703fi
5704ac_res=`eval 'as_val=${'$as_ac_Header'}
5705 $as_echo "$as_val"'`
5706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5707$as_echo "$ac_res" >&6; }
5708
5709fi
5710as_val=`eval 'as_val=${'$as_ac_Header'}
5711 $as_echo "$as_val"'`
5712 if test "x$as_val" = x""yes; then
5713 cat >>confdefs.h <<_ACEOF5558 cat >>confdefs.h <<_ACEOF
5714#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 15559#define HAVE_DLFCN_H 1
5715_ACEOF5560_ACEOF
57165561
5717fi5562fi
@@ -5728,10 +5573,10 @@
5728ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'5573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5729ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5730ac_compiler_gnu=$ac_cv_cxx_compiler_gnu5575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5731{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&55576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5732$as_echo_n "checking how to run the C++ preprocessor... " >&6; }5577$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5733if test -z "$CXXCPP"; then5578if test -z "$CXXCPP"; then
5734 if test "${ac_cv_prog_CXXCPP+set}" = set; then5579 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
5735 $as_echo_n "(cached) " >&65580 $as_echo_n "(cached) " >&6
5736else5581else
5737 # Double quotes because CXXCPP needs to be expanded5582 # Double quotes because CXXCPP needs to be expanded
@@ -5746,11 +5591,7 @@
5746 # <limits.h> exists even on freestanding compilers.5591 # <limits.h> exists even on freestanding compilers.
5747 # On the NeXT, cc -E runs the code through the compiler's parser,5592 # On the NeXT, cc -E runs the code through the compiler's parser,
5748 # not just through cpp. "Syntax error" is here to catch this case.5593 # not just through cpp. "Syntax error" is here to catch this case.
5749 cat >conftest.$ac_ext <<_ACEOF5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750/* confdefs.h. */
5751_ACEOF
5752cat confdefs.h >>conftest.$ac_ext
5753cat >>conftest.$ac_ext <<_ACEOF
5754/* end confdefs.h. */5595/* end confdefs.h. */
5755#ifdef __STDC__5596#ifdef __STDC__
5756# include <limits.h>5597# include <limits.h>
@@ -5759,78 +5600,34 @@
5759#endif5600#endif
5760 Syntax error5601 Syntax error
5761_ACEOF5602_ACEOF
5762if { (ac_try="$ac_cpp conftest.$ac_ext"5603if ac_fn_cxx_try_cpp "$LINENO"; then :
5763case "(($ac_try" in
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5766esac
5767eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5768$as_echo "$ac_try_echo") >&5
5769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5770 ac_status=$?
5771 grep -v '^ *+' conftest.er1 >conftest.err
5772 rm -f conftest.er1
5773 cat conftest.err >&5
5774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } >/dev/null && {
5776 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5777 test ! -s conftest.err
5778 }; then
5779 :
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches