Changeset 23356
- Timestamp:
- 11/29/10 16:49:14 (10 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 25 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/aclocal.m4
r16571 r23356 139 139 fi 140 140 ]) 141 dnl @synopsis AC_PROG_JAVAC 142 dnl 143 dnl AC_PROG_JAVAC tests an existing Java compiler. It uses the 144 dnl environment variable JAVAC then tests in sequence various common 145 dnl Java compilers. For political reasons, it starts with the free 146 dnl ones. 147 dnl 148 dnl If you want to force a specific compiler: 149 dnl 150 dnl - at the configure.in level, set JAVAC=yourcompiler before calling 151 dnl AC_PROG_JAVAC 152 dnl 153 dnl - at the configure level, setenv JAVAC 154 dnl 155 dnl You can use the JAVAC variable in your Makefile.in, with @JAVAC@. 156 dnl 157 dnl *Warning*: its success or failure can depend on a proper setting of 158 dnl the CLASSPATH env. variable. 159 dnl 160 dnl TODO: allow to exclude compilers (rationale: most Java programs 161 dnl cannot compile with some compilers like guavac). 162 dnl 163 dnl Note: This is part of the set of autoconf M4 macros for Java 164 dnl programs. It is VERY IMPORTANT that you download the whole set, 165 dnl some macros depend on other. Unfortunately, the autoconf archive 166 dnl does not support the concept of set of macros, so I had to break it 167 dnl for submission. The general documentation, as well as the sample 168 dnl configure.in, is included in the AC_PROG_JAVA macro. 169 dnl 170 dnl @category Java 171 dnl @author Stephane Bortzmeyer <bortzmeyer@pasteur.fr> 172 dnl @version 2000-07-19 173 dnl @license GPLWithACException 174 175 AC_DEFUN([AC_PROG_JAVAC],[ 176 if test "x$JAVAC" = x ; then 177 AC_REQUIRE([AC_EXEEXT])dnl 178 if test "x$JAVAPREFIX" = x; then 179 test "x$JAVAC" = x && AC_CHECK_PROGS(JAVAC, javac$EXEEXT) 180 else 181 test "x$JAVAC" = x && AC_CHECK_PROGS(JAVAC, javac$EXEEXT, $JAVAPREFIX) 182 fi 183 test "x$JAVAC" = x && AC_MSG_ERROR([no acceptable Java compiler found in \$PATH]) 184 else 185 echo "Checking for javac... $JAVAC" 186 fi 187 188 AC_SUBST(JAVAC) 189 AC_PROG_JAVAC_WORKS 190 AC_PROVIDE([$0])dnl 191 ]) 192 193 dnl @synopsis AC_PROG_JAVAC_WORKS 194 dnl 195 dnl Internal use ONLY. 196 dnl 197 dnl Note: This is part of the set of autoconf M4 macros for Java 198 dnl programs. It is VERY IMPORTANT that you download the whole set, 199 dnl some macros depend on other. Unfortunately, the autoconf archive 200 dnl does not support the concept of set of macros, so I had to break it 201 dnl for submission. The general documentation, as well as the sample 202 dnl configure.in, is included in the AC_PROG_JAVA macro. 203 dnl 204 dnl @category Java 205 dnl @author Stephane Bortzmeyer <bortzmeyer@pasteur.fr> 206 dnl @version 2000-07-19 207 dnl @license GPLWithACException 208 209 AC_DEFUN([AC_PROG_JAVAC_WORKS],[ 210 AC_CACHE_CHECK([if $JAVAC works], ac_cv_prog_javac_works, [ 211 JAVA_TEST=Test.java 212 CLASS_TEST=Test.class 213 cat << \EOF > $JAVA_TEST 214 /* [#]line __oline__ "configure" */ 215 public class Test { 216 } 217 EOF 218 if AC_TRY_COMMAND($JAVAC $JAVACFLAGS $JAVA_TEST) >/dev/null 2>&1; then 219 ac_cv_prog_javac_works=yes 220 else 221 AC_MSG_ERROR([The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)]) 222 echo "configure: failed program was:" >&AC_FD_CC 223 cat $JAVA_TEST >&AC_FD_CC 224 fi 225 rm -f $JAVA_TEST $CLASS_TEST 226 ]) 227 AC_PROVIDE([$0])dnl 228 if test "x$JAVACFLAGS" = x ; then 229 JAVACFLAGS="-source 1.4 -target 1.4" 230 fi 231 AC_SUBST(JAVACFLAGS) 232 ]) 233 234 dnl @synopsis AC_PROG_JAVA 235 dnl 236 dnl Here is a summary of the main macros: 237 dnl 238 dnl AC_PROG_JAVAC: finds a Java compiler. 239 dnl 240 dnl AC_PROG_JAVA: finds a Java virtual machine. 241 dnl 242 dnl AC_CHECK_CLASS: finds if we have the given class (beware of 243 dnl CLASSPATH!). 244 dnl 245 dnl AC_CHECK_RQRD_CLASS: finds if we have the given class and stops 246 dnl otherwise. 247 dnl 248 dnl AC_TRY_COMPILE_JAVA: attempt to compile user given source. 249 dnl 250 dnl AC_TRY_RUN_JAVA: attempt to compile and run user given source. 251 dnl 252 dnl AC_JAVA_OPTIONS: adds Java configure options. 253 dnl 254 dnl AC_PROG_JAVA tests an existing Java virtual machine. It uses the 255 dnl environment variable JAVA then tests in sequence various common 256 dnl Java virtual machines. For political reasons, it starts with the 257 dnl free ones. You *must* call [AC_PROG_JAVAC] before. 258 dnl 259 dnl If you want to force a specific VM: 260 dnl 261 dnl - at the configure.in level, set JAVA=yourvm before calling 262 dnl AC_PROG_JAVA 263 dnl 264 dnl (but after AC_INIT) 265 dnl 266 dnl - at the configure level, setenv JAVA 267 dnl 268 dnl You can use the JAVA variable in your Makefile.in, with @JAVA@. 269 dnl 270 dnl *Warning*: its success or failure can depend on a proper setting of 271 dnl the CLASSPATH env. variable. 272 dnl 273 dnl TODO: allow to exclude virtual machines (rationale: most Java 274 dnl programs cannot run with some VM like kaffe). 275 dnl 276 dnl Note: This is part of the set of autoconf M4 macros for Java 277 dnl programs. It is VERY IMPORTANT that you download the whole set, 278 dnl some macros depend on other. Unfortunately, the autoconf archive 279 dnl does not support the concept of set of macros, so I had to break it 280 dnl for submission. 281 dnl 282 dnl A Web page, with a link to the latest CVS snapshot is at 283 dnl <http://www.internatif.org/bortzmeyer/autoconf-Java/>. 284 dnl 285 dnl This is a sample configure.in Process this file with autoconf to 286 dnl produce a configure script. 287 dnl 288 dnl AC_INIT(UnTag.java) 289 dnl 290 dnl dnl Checks for programs. 291 dnl AC_CHECK_CLASSPATH 292 dnl AC_PROG_JAVAC 293 dnl AC_PROG_JAVA 294 dnl 295 dnl dnl Checks for classes 296 dnl AC_CHECK_RQRD_CLASS(org.xml.sax.Parser) 297 dnl AC_CHECK_RQRD_CLASS(com.jclark.xml.sax.Driver) 298 dnl 299 dnl AC_OUTPUT(Makefile) 300 dnl 301 dnl @category Java 302 dnl @author Stephane Bortzmeyer <bortzmeyer@pasteur.fr> 303 dnl @version 2000-07-19 304 dnl @license GPLWithACException 305 306 AC_DEFUN([AC_PROG_JAVA],[ 307 if test "x$JAVA" = x ; then 308 AC_REQUIRE([AC_EXEEXT])dnl 309 if test x$JAVAPREFIX = x; then 310 test x$JAVA = x && AC_CHECK_PROGS(JAVA, java$EXEEXT) 311 else 312 test x$JAVA = x && AC_CHECK_PROGS(JAVA, java$EXEEXT, $JAVAPREFIX) 313 fi 314 test x$JAVA = x && AC_MSG_ERROR([no acceptable Java virtual machine found in \$PATH]) 315 fi 316 AC_SUBST(JAVA) 317 AC_PROG_JAVA_WORKS 318 AC_PROVIDE([$0])dnl 319 ]) 320 321 dnl @synopsis AC_PROG_JAVA_WORKS 322 dnl 323 dnl Internal use ONLY. 324 dnl 325 dnl Note: This is part of the set of autoconf M4 macros for Java 326 dnl programs. It is VERY IMPORTANT that you download the whole set, 327 dnl some macros depend on other. Unfortunately, the autoconf archive 328 dnl does not support the concept of set of macros, so I had to break it 329 dnl for submission. The general documentation, as well as the sample 330 dnl configure.in, is included in the AC_PROG_JAVA macro. 331 dnl 332 dnl @category Java 333 dnl @author Stephane Bortzmeyer <bortzmeyer@pasteur.fr> 334 dnl @version 2000-07-19 335 dnl @license GPLWithACException 336 337 AC_DEFUN([AC_PROG_JAVA_WORKS], [ 338 AC_CHECK_PROG(uudecode, uudecode$EXEEXT, yes) 339 if test x$uudecode = xyes; then 340 AC_CACHE_CHECK([if uudecode can decode base 64 file], ac_cv_prog_uudecode_base64, [ 341 dnl /** 342 dnl * Test.java: used to test if java compiler works. 343 dnl */ 344 dnl public class Test 345 dnl { 346 dnl 347 dnl public static void 348 dnl main( String[] argv ) 349 dnl { 350 dnl System.exit (0); 351 dnl } 352 dnl 353 dnl } 354 cat << \EOF > Test.uue 355 begin-base64 644 Test.class 356 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE 357 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51 358 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s 359 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG 360 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB 361 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB 362 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ= 363 ==== 364 EOF 365 if uudecode$EXEEXT Test.uue; then 366 ac_cv_prog_uudecode_base64=yes 367 else 368 echo "configure: __oline__: uudecode had trouble decoding base 64 file 'Test.uue'" >&AC_FD_CC 369 echo "configure: failed file was:" >&AC_FD_CC 370 cat Test.uue >&AC_FD_CC 371 ac_cv_prog_uudecode_base64=no 372 fi 373 rm -f Test.uue]) 374 fi 375 if test x$ac_cv_prog_uudecode_base64 != xyes; then 376 rm -f Test.class 377 AC_MSG_WARN([I have to compile Test.class from scratch]) 378 if test x$ac_cv_prog_javac_works = xno; then 379 AC_MSG_ERROR([Cannot compile java source. $JAVAC does not work properly]) 380 fi 381 if test x$ac_cv_prog_javac_works = x; then 382 AC_PROG_JAVAC 383 fi 384 fi 385 AC_CACHE_CHECK(if $JAVA works, ac_cv_prog_java_works, [ 386 JAVA_TEST=Test.java 387 CLASS_TEST=Test.class 388 TEST=Test 389 changequote(, )dnl 390 cat << \EOF > $JAVA_TEST 391 /* [#]line __oline__ "configure" */ 392 public class Test { 393 public static void main (String args[]) { 394 System.exit (0); 395 } } 396 EOF 397 changequote([, ])dnl 398 if test x$ac_cv_prog_uudecode_base64 != xyes; then 399 if AC_TRY_COMMAND($JAVAC $JAVACFLAGS $JAVA_TEST) && test -s $CLASS_TEST; then 400 : 401 else 402 echo "configure: failed program was:" >&AC_FD_CC 403 cat $JAVA_TEST >&AC_FD_CC 404 AC_MSG_ERROR(The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)) 405 fi 406 fi 407 if AC_TRY_COMMAND($JAVA $JAVAFLAGS $TEST) >/dev/null 2>&1; then 408 ac_cv_prog_java_works=yes 409 else 410 echo "configure: failed program was:" >&AC_FD_CC 411 cat $JAVA_TEST >&AC_FD_CC 412 AC_MSG_ERROR(The Java VM $JAVA failed (see config.log, check the CLASSPATH?)) 413 fi 414 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 415 ]) 416 AC_PROVIDE([$0])dnl 417 ] 418 ) -
main/trunk/greenstone2/build-src/configure
r22058 r23356 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.67. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 6 11 # This configure script is free software; the Free Software Foundation 7 12 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14 20 emulate sh 15 21 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 23 # is contrary to our usage. Disable this feature. 18 24 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 for as_dir in $PATH 96 do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101 IFS=$as_save_IFS 102 103 ;; 104 esac 105 # We did not find ourselves, most probably we were run as `sh COMMAND' 106 # in which case we are not to be found in the path. 107 if test "x$as_myself" = x; then 108 as_myself=$0 109 fi 110 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122 done 34 123 PS1='$ ' 35 124 PS2='> ' … … 37 126 38 127 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 43 186 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 46 230 else 47 $as_unset $as_var 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 48 235 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error STATUS ERROR [LINENO LOG_FD] 360 # ---------------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with STATUS, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$1; test $as_status -eq 0 && as_status=1 367 if test "$4"; then 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 370 fi 371 $as_echo "$as_me: error: $2" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 375 if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 53 377 as_expr=expr 54 378 else … … 56 380 fi 57 381 58 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 59 383 as_basename=basename 60 384 else … … 62 386 fi 63 387 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 394 as_me=`$as_basename -- "$0" || 67 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 396 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 79 413 # Avoid depending upon Character Ranges. 80 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 419 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 165 430 sed ' 431 s/[$]LINENO.*/&-/ 432 t lineno 433 b 434 :lineno 166 435 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 438 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 439 s/-\n.*// 173 440 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 177 443 178 444 # Don't try to exec as it changes $[0], causing all sort of problems 179 445 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno446 # original and so on. Autoconf is especially sensitive to this). 447 . "./$as_me.lineno" 182 448 # Exit status is that of the last command. 183 449 exit 184 450 } 185 451 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 452 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #((((( 454 -n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461 *) 462 ECHO_N='-n';; 192 463 esac 193 464 194 if expr a : '\(a\)' >/dev/null 2>&1; then195 as_expr=expr196 else197 as_expr=false198 fi199 200 465 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468 else 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 207 484 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 485 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 486 else 214 487 as_ln_s='cp -p' 215 488 fi 216 rm -f conf$$ conf$$.exe conf$$.file 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null 217 491 218 492 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 220 494 else 221 495 test -d ./-p && rmdir ./-p … … 223 497 fi 224 498 225 as_executable_p="test -f" 499 if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501 else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519 fi 520 as_executable_p=$as_test_x 226 521 227 522 # Sed expression to map a string onto a valid CPP name. … … 232 527 233 528 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 243 531 244 532 # Name of the host. 245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 246 534 # so uname gets run too. 247 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1250 536 251 537 # … … 253 539 # 254 540 ac_default_prefix=/usr/local 541 ac_clean_files= 255 542 ac_config_libobj_dir=. 543 LIBOBJS= 256 544 cross_compiling=no 257 545 subdirs= 258 546 MFLAGS= 259 547 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh}261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 548 267 549 # Identity of this package. … … 271 553 PACKAGE_STRING= 272 554 PACKAGE_BUGREPORT= 555 PACKAGE_URL= 273 556 274 557 # Factoring default headers for most tests. 275 558 ac_includes_default="\ 276 559 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H560 #ifdef HAVE_SYS_TYPES_H 278 561 # include <sys/types.h> 279 562 #endif 280 #if HAVE_SYS_STAT_H563 #ifdef HAVE_SYS_STAT_H 281 564 # include <sys/stat.h> 282 565 #endif 283 #if STDC_HEADERS566 #ifdef STDC_HEADERS 284 567 # include <stdlib.h> 285 568 # include <stddef.h> 286 569 #else 287 # if HAVE_STDLIB_H570 # ifdef HAVE_STDLIB_H 288 571 # include <stdlib.h> 289 572 # endif 290 573 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H574 #ifdef HAVE_STRING_H 575 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 576 # include <memory.h> 294 577 # endif 295 578 # include <string.h> 296 579 #endif 297 #if HAVE_STRINGS_H580 #ifdef HAVE_STRINGS_H 298 581 # include <strings.h> 299 582 #endif 300 #if HAVE_INTTYPES_H583 #ifdef HAVE_INTTYPES_H 301 584 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 585 #endif 307 #if HAVE_UNISTD_H 586 #ifdef HAVE_STDINT_H 587 # include <stdint.h> 588 #endif 589 #ifdef HAVE_UNISTD_H 308 590 # include <unistd.h> 309 591 #endif" 310 592 311 ac_subdirs_all="$ac_subdirs_all packages" 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 593 enable_option_checking=no 594 ac_subst_vars='LTLIBOBJS 595 subdirs 596 MODULEDIRS 597 gsdlos 598 STATIC 599 LIBOBJS 600 ALLOCA 601 ANSI2KNR 602 U 603 EGREP 604 GREP 605 CPP 606 MICO_VER 607 COMPAT32BITFLAGS 608 RANLIB 609 SET_MAKE 610 LN_S 611 INSTALL_DATA 612 INSTALL_SCRIPT 613 INSTALL_PROGRAM 614 target_os 615 target_vendor 616 target_cpu 617 target 618 host_os 619 host_vendor 620 host_cpu 621 host 622 build_os 623 build_vendor 624 build_cpu 625 build 626 YFLAGS 627 YACC 628 AWK 629 uudecode 630 JAVA 631 JAVACFLAGS 632 JAVAC 633 ac_ct_CXX 634 CXXFLAGS 635 CXX 636 OBJEXT 637 EXEEXT 638 ac_ct_CC 639 CPPFLAGS 640 CC 641 CFLAGS 642 LDFLAGS 643 USE_SQLITE 644 ENABLE_ACCENTFOLD 645 USE_GDBM 646 USE_JDBM 647 ENABLE_JAVA 648 USE_YAZ 649 USE_Z3950 650 MICO_DIR 651 USE_CORBA 652 USE_LANGACTION 653 USE_FASTCGI 654 VERSION 655 PACKAGE 656 target_alias 657 host_alias 658 build_alias 659 LIBS 660 ECHO_T 661 ECHO_N 662 ECHO_C 663 DEFS 664 mandir 665 localedir 666 libdir 667 psdir 668 pdfdir 669 dvidir 670 htmldir 671 infodir 672 docdir 673 oldincludedir 674 includedir 675 localstatedir 676 sharedstatedir 677 sysconfdir 678 datadir 679 datarootdir 680 libexecdir 681 sbindir 682 bindir 683 program_transform_name 684 prefix 685 exec_prefix 686 PACKAGE_URL 687 PACKAGE_BUGREPORT 688 PACKAGE_STRING 689 PACKAGE_VERSION 690 PACKAGE_TARNAME 691 PACKAGE_NAME 692 PATH_SEPARATOR 693 SHELL' 313 694 ac_subst_files='' 695 ac_user_opts=' 696 enable_option_checking 697 enable_corba 698 with_micodir 699 enable_z3950 700 enable_yaz 701 enable_java 702 enable_jdbm 703 enable_gdbm 704 enable_accentfold 705 enable_sqlite 706 with_dmalloc 707 with_regex 708 ' 709 ac_precious_vars='build_alias 710 host_alias 711 target_alias 712 CC 713 CFLAGS 714 LDFLAGS 715 LIBS 716 CPPFLAGS 717 CXX 718 CXXFLAGS 719 CCC 720 YACC 721 YFLAGS 722 CPP' 723 ac_subdirs_all='packages' 314 724 315 725 # Initialize some variables set by options. 316 726 ac_init_help= 317 727 ac_init_version=false 728 ac_unrecognized_opts= 729 ac_unrecognized_sep= 318 730 # The variables have the same names as the options, with 319 731 # dashes changed to underlines. … … 338 750 # by default will actually change. 339 751 # Use braces instead of parens because sh, perl, etc. also accept them. 752 # (The list follows the same order as the GNU Coding Standards.) 340 753 bindir='${exec_prefix}/bin' 341 754 sbindir='${exec_prefix}/sbin' 342 755 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 756 datarootdir='${prefix}/share' 757 datadir='${datarootdir}' 344 758 sysconfdir='${prefix}/etc' 345 759 sharedstatedir='${prefix}/com' 346 760 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 761 includedir='${prefix}/include' 349 762 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 763 docdir='${datarootdir}/doc/${PACKAGE}' 764 infodir='${datarootdir}/info' 765 htmldir='${docdir}' 766 dvidir='${docdir}' 767 pdfdir='${docdir}' 768 psdir='${docdir}' 769 libdir='${exec_prefix}/lib' 770 localedir='${datarootdir}/locale' 771 mandir='${datarootdir}/man' 352 772 353 773 ac_prev= 774 ac_dashdash= 354 775 for ac_option 355 776 do 356 777 # If the previous option needs an argument, assign it. 357 778 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"779 eval $ac_prev=\$ac_option 359 780 ac_prev= 360 781 continue 361 782 fi 362 783 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 784 case $ac_option in 785 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 786 *=) ac_optarg= ;; 787 *) ac_optarg=yes ;; 788 esac 364 789 365 790 # Accept the important Cygnus configure options, so we can diagnose typos. 366 791 367 case $ac_option in 792 case $ac_dashdash$ac_option in 793 --) 794 ac_dashdash=yes ;; 368 795 369 796 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 814 cache_file=config.cache ;; 388 815 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)816 -datadir | --datadir | --datadi | --datad) 390 817 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 818 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 819 datadir=$ac_optarg ;; 394 820 821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 822 | --dataroo | --dataro | --datar) 823 ac_prev=datarootdir ;; 824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 826 datarootdir=$ac_optarg ;; 827 395 828 -disable-* | --disable-*) 396 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 830 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 832 as_fn_error $? "invalid feature name: $ac_useropt" 833 ac_useropt_orig=$ac_useropt 834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 835 case $ac_user_opts in 836 *" 837 "enable_$ac_useropt" 838 "*) ;; 839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 840 ac_unrecognized_sep=', ';; 841 esac 842 eval enable_$ac_useropt=no ;; 843 844 -docdir | --docdir | --docdi | --doc | --do) 845 ac_prev=docdir ;; 846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 847 docdir=$ac_optarg ;; 848 849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 850 ac_prev=dvidir ;; 851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 852 dvidir=$ac_optarg ;; 403 853 404 854 -enable-* | --enable-*) 405 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 856 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 858 as_fn_error $? "invalid feature name: $ac_useropt" 859 ac_useropt_orig=$ac_useropt 860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 861 case $ac_user_opts in 862 *" 863 "enable_$ac_useropt" 864 "*) ;; 865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 866 ac_unrecognized_sep=', ';; 414 867 esac 415 eval "enable_$ac_feature='$ac_optarg'";;868 eval enable_$ac_useropt=\$ac_optarg ;; 416 869 417 870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 893 host_alias=$ac_optarg ;; 441 894 895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 896 ac_prev=htmldir ;; 897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 898 | --ht=*) 899 htmldir=$ac_optarg ;; 900 442 901 -includedir | --includedir | --includedi | --included | --include \ 443 902 | --includ | --inclu | --incl | --inc) … … 464 923 libexecdir=$ac_optarg ;; 465 924 925 -localedir | --localedir | --localedi | --localed | --locale) 926 ac_prev=localedir ;; 927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 928 localedir=$ac_optarg ;; 929 466 930 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 931 | --localstate | --localstat | --localsta | --localst | --locals) 469 932 ac_prev=localstatedir ;; 470 933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 935 localstatedir=$ac_optarg ;; 474 936 … … 535 997 program_transform_name=$ac_optarg ;; 536 998 999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1000 ac_prev=pdfdir ;; 1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1002 pdfdir=$ac_optarg ;; 1003 1004 -psdir | --psdir | --psdi | --psd | --ps) 1005 ac_prev=psdir ;; 1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1007 psdir=$ac_optarg ;; 1008 537 1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 1010 | -silent | --silent | --silen | --sile | --sil) … … 585 1057 586 1058 -with-* | --with-*) 587 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1059 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1060 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error $? "invalid package name: $ac_useropt" 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067 "with_$ac_useropt" 1068 "*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 596 1071 esac 597 eval "with_$ac_package='$ac_optarg'";;1072 eval with_$ac_useropt=\$ac_optarg ;; 598 1073 599 1074 -without-* | --without-*) 600 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1075 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1076 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 as_fn_error $? "invalid package name: $ac_useropt" 1079 ac_useropt_orig=$ac_useropt 1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1081 case $ac_user_opts in 1082 *" 1083 "with_$ac_useropt" 1084 "*) ;; 1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1086 ac_unrecognized_sep=', ';; 1087 esac 1088 eval with_$ac_useropt=no ;; 607 1089 608 1090 --x) … … 624 1106 x_libraries=$ac_optarg ;; 625 1107 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627 Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 1108 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1109 Try \`$0 --help' for more information" 629 1110 ;; 630 1111 … … 632 1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633 1114 # Reject names that are not valid shell variable names. 634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2636 { (exit 1); exit 1; }; }637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`638 eval "$ac_envvar='$ac_optarg'"1115 case $ac_envvar in #( 1116 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1118 esac 1119 eval $ac_envvar=\$ac_optarg 639 1120 export $ac_envvar ;; 640 1121 641 1122 *) 642 1123 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&21124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&21126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 1127 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647 1128 ;; … … 652 1133 if test -n "$ac_prev"; then 653 1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656 fi 657 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1135 as_fn_error $? "missing argument to $ac_option" 1136 fi 1137 1138 if test -n "$ac_unrecognized_opts"; then 1139 case $enable_option_checking in 1140 no) ;; 1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1143 esac 1144 fi 1145 1146 # Check all directory arguments for consistency. 1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1148 datadir sysconfdir sharedstatedir localstatedir includedir \ 1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1150 libdir localedir mandir 660 1151 do 661 eval ac_val=$`echo $ac_var` 1152 eval ac_val=\$$ac_var 1153 # Remove trailing slashes. 662 1154 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2665 { (exit 1); exit 1; }; };;1155 */ ) 1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1157 eval $ac_var=\$ac_val;; 666 1158 esac 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 1159 # Be sure to have absolute directory names. 674 1160 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 1161 [\\/$]* | ?:[\\/]* ) continue;; 1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 678 1163 esac 1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 679 1165 done 680 1166 … … 690 1176 if test "x$build_alias" = x; then 691 1177 cross_compiling=maybe 692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.693 If a cross compiler is detected then cross compile mode will be used ." >&21178 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1179 If a cross compiler is detected then cross compile mode will be used" >&2 694 1180 elif test "x$build_alias" != "x$host_alias"; then 695 1181 cross_compiling=yes … … 703 1189 704 1190 1191 ac_pwd=`pwd` && test -n "$ac_pwd" && 1192 ac_ls_di=`ls -di .` && 1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1194 as_fn_error $? "working directory cannot be determined" 1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1196 as_fn_error $? "pwd does not report name of working directory" 1197 1198 705 1199 # Find the source files, if location was not specified. 706 1200 if test -z "$srcdir"; then 707 1201 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1202 # Try the directory containing this script, then the parent directory. 1203 ac_confdir=`$as_dirname -- "$as_myself" || 1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1205 X"$as_myself" : 'X\(//\)[^/]' \| \ 1206 X"$as_myself" : 'X\(//\)$' \| \ 1207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1208 $as_echo X"$as_myself" | 1209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1210 s//\1/ 1211 q 1212 } 1213 /^X\(\/\/\)[^/].*/{ 1214 s//\1/ 1215 q 1216 } 1217 /^X\(\/\/\)$/{ 1218 s//\1/ 1219 q 1220 } 1221 /^X\(\/\).*/{ 1222 s//\1/ 1223 q 1224 } 1225 s/.*/./; q'` 721 1226 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1227 if test ! -r "$srcdir/$ac_unique_file"; then 723 1228 srcdir=.. 724 1229 fi … … 726 1231 ac_srcdir_defaulted=no 727 1232 fi 728 if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1233 if test ! -r "$srcdir/$ac_unique_file"; then 1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1236 fi 1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1238 ac_abs_confdir=`( 1239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1240 pwd)` 1241 # When building in place, set srcdir=. 1242 if test "$ac_abs_confdir" = "$ac_pwd"; then 1243 srcdir=. 1244 fi 1245 # Remove unnecessary trailing slashes from srcdir. 1246 # Double slashes in file names in object file debugging info 1247 # mess up M-x gdb in Emacs. 1248 case $srcdir in 1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1250 esac 1251 for ac_var in $ac_precious_vars; do 1252 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1253 eval ac_env_${ac_var}_value=\$${ac_var} 1254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1255 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1256 done 781 1257 782 1258 # … … 801 1277 --help=recursive display the short help of all the included packages 802 1278 -V, --version display version information and exit 803 -q, --quiet, --silent do not print \`checking ...' messages1279 -q, --quiet, --silent do not print \`checking ...' messages 804 1280 --cache-file=FILE cache test results in FILE [disabled] 805 1281 -C, --config-cache alias for \`--cache-file=config.cache' … … 807 1283 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1284 809 _ACEOF810 811 cat <<_ACEOF812 1285 Installation directories: 813 1286 --prefix=PREFIX install architecture-independent files in PREFIX 814 1287 [$ac_default_prefix] 815 1288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 816 1289 [PREFIX] 817 1290 818 1291 By default, \`make install' will install all the files in … … 824 1297 825 1298 Fine tuning of the installation directories: 826 --bindir=DIR user executables [EPREFIX/bin] 827 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share] 830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 832 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 833 --libdir=DIR object code libraries [EPREFIX/lib] 834 --includedir=DIR C header files [PREFIX/include] 835 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1299 --bindir=DIR user executables [EPREFIX/bin] 1300 --sbindir=DIR system admin executables [EPREFIX/sbin] 1301 --libexecdir=DIR program executables [EPREFIX/libexec] 1302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1304 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1305 --libdir=DIR object code libraries [EPREFIX/lib] 1306 --includedir=DIR C header files [PREFIX/include] 1307 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1310 --infodir=DIR info documentation [DATAROOTDIR/info] 1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1312 --mandir=DIR man documentation [DATAROOTDIR/man] 1313 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1314 --htmldir=DIR html documentation [DOCDIR] 1315 --dvidir=DIR dvi documentation [DOCDIR] 1316 --pdfdir=DIR pdf documentation [DOCDIR] 1317 --psdir=DIR ps documentation [DOCDIR] 838 1318 _ACEOF 839 1319 … … 852 1332 853 1333 Optional Features: 1334 --disable-option-checking ignore unrecognized --enable/--with options 854 1335 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 855 1336 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 857 1338 --enable-z3950 Enable Z39.50 client support 858 1339 --disable-yaz Disable YAZ compilation 859 --disable-jdbm Disable JDBM compilation 860 --disable-gdbm Disable GDBM compilation 1340 --disable-java Disable Java compilation 1341 --disable-jdbm Disable JDBM compilation 1342 --disable-gdbm Disable GDBM compilation 861 1343 --disable-accentfold Disable Accent Folding for MGPP 862 1344 --disable-sqlite Disable SQLite support … … 875 1357 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 876 1358 nonstandard directory <lib dir> 877 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 878 headers in a nonstandard directory <include dir> 1359 LIBS libraries to pass to the linker, e.g. -l<library> 1360 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1361 you have headers in a nonstandard directory <include dir> 879 1362 CXX C++ compiler command 880 1363 CXXFLAGS C++ compiler flags 1364 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1365 the first program found out of: `bison -y', `byacc', `yacc'. 1366 YFLAGS The list of arguments that will be passed by default to $YACC. 1367 This script will default YFLAGS to the empty string to avoid a 1368 default value of `-d' given by some make applications. 881 1369 CPP C preprocessor 882 1370 … … 884 1372 it to find libraries and programs with nonstandard names/locations. 885 1373 886 _ACEOF 1374 Report bugs to the package provider. 1375 _ACEOF 1376 ac_status=$? 887 1377 fi 888 1378 889 1379 if test "$ac_init_help" = "recursive"; then 890 1380 # If there are subdirs, report their specific --help. 891 ac_popdir=`pwd`892 1381 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 893 test -d $ac_dir || continue 1382 test -d "$ac_dir" || 1383 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1384 continue 894 1385 ac_builddir=. 895 1386 896 if test "$ac_dir" != .; then 897 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 898 # A "../" for each directory in $ac_dir_suffix. 899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 900 else 901 ac_dir_suffix= ac_top_builddir= 902 fi 1387 case "$ac_dir" in 1388 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1389 *) 1390 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1391 # A ".." for each directory in $ac_dir_suffix. 1392 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1393 case $ac_top_builddir_sub in 1394 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1395 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1396 esac ;; 1397 esac 1398 ac_abs_top_builddir=$ac_pwd 1399 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1400 # for backward compatibility: 1401 ac_top_builddir=$ac_top_build_prefix 903 1402 904 1403 case $srcdir in 905 .) # No --srcdir option.We are building in place.1404 .) # We are building in place. 906 1405 ac_srcdir=. 907 if test -z "$ac_top_builddir"; then 908 ac_top_srcdir=. 1406 ac_top_srcdir=$ac_top_builddir_sub 1407 ac_abs_top_srcdir=$ac_pwd ;; 1408 [\\/]* | ?:[\\/]* ) # Absolute name. 1409 ac_srcdir=$srcdir$ac_dir_suffix; 1410 ac_top_srcdir=$srcdir 1411 ac_abs_top_srcdir=$srcdir ;; 1412 *) # Relative name. 1413 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1414 ac_top_srcdir=$ac_top_build_prefix$srcdir 1415 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1416 esac 1417 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1418 1419 cd "$ac_dir" || { ac_status=$?; continue; } 1420 # Check for guested configure. 1421 if test -f "$ac_srcdir/configure.gnu"; then 1422 echo && 1423 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1424 elif test -f "$ac_srcdir/configure"; then 1425 echo && 1426 $SHELL "$ac_srcdir/configure" --help=recursive 909 1427 else 910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 911 fi ;; 912 [\\/]* | ?:[\\/]* ) # Absolute path. 913 ac_srcdir=$srcdir$ac_dir_suffix; 914 ac_top_srcdir=$srcdir ;; 915 *) # Relative path. 916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 917 ac_top_srcdir=$ac_top_builddir$srcdir ;; 918 esac 919 920 # Do not use `cd foo && pwd` to compute absolute paths, because 921 # the directories may not exist. 922 case `pwd` in 923 .) ac_abs_builddir="$ac_dir";; 924 *) 925 case "$ac_dir" in 926 .) ac_abs_builddir=`pwd`;; 927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 928 *) ac_abs_builddir=`pwd`/"$ac_dir";; 929 esac;; 930 esac 931 case $ac_abs_builddir in 932 .) ac_abs_top_builddir=${ac_top_builddir}.;; 933 *) 934 case ${ac_top_builddir}. in 935 .) ac_abs_top_builddir=$ac_abs_builddir;; 936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 938 esac;; 939 esac 940 case $ac_abs_builddir in 941 .) ac_abs_srcdir=$ac_srcdir;; 942 *) 943 case $ac_srcdir in 944 .) ac_abs_srcdir=$ac_abs_builddir;; 945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 947 esac;; 948 esac 949 case $ac_abs_builddir in 950 .) ac_abs_top_srcdir=$ac_top_srcdir;; 951 *) 952 case $ac_top_srcdir in 953 .) ac_abs_top_srcdir=$ac_abs_builddir;; 954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 956 esac;; 957 esac 958 959 cd $ac_dir 960 # Check for guested configure; otherwise get Cygnus style configure. 961 if test -f $ac_srcdir/configure.gnu; then 962 echo 963 $SHELL $ac_srcdir/configure.gnu --help=recursive 964 elif test -f $ac_srcdir/configure; then 965 echo 966 $SHELL $ac_srcdir/configure --help=recursive 967 elif test -f $ac_srcdir/configure.ac || 968 test -f $ac_srcdir/configure.in; then 969 echo 970 $ac_configure --help 971 else 972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 973 fi 974 cd $ac_popdir 1428 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1429 fi || ac_status=$? 1430 cd "$ac_pwd" || { ac_status=$?; break; } 975 1431 done 976 1432 fi 977 1433 978 test -n "$ac_init_help" && exit 01434 test -n "$ac_init_help" && exit $ac_status 979 1435 if $ac_init_version; then 980 1436 cat <<\_ACEOF 981 982 Copyright (C) 2003 Free Software Foundation, Inc. 1437 configure 1438 generated by GNU Autoconf 2.67 1439 1440 Copyright (C) 2010 Free Software Foundation, Inc. 983 1441 This configure script is free software; the Free Software Foundation 984 1442 gives unlimited permission to copy, distribute and modify it. 985 1443 _ACEOF 986 exit 0 987 fi 988 exec 5>config.log 989 cat >&5 <<_ACEOF 1444 exit 1445 fi 1446 1447 ## ------------------------ ## 1448 ## Autoconf initialization. ## 1449 ## ------------------------ ## 1450 1451 # ac_fn_c_try_compile LINENO 1452 # -------------------------- 1453 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1454 ac_fn_c_try_compile () 1455 { 1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1457 rm -f conftest.$ac_objext 1458 if { { ac_try="$ac_compile" 1459 case "(($ac_try" in 1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1461 *) ac_try_echo=$ac_try;; 1462 esac 1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1464 $as_echo "$ac_try_echo"; } >&5 1465 (eval "$ac_compile") 2>conftest.err 1466 ac_status=$? 1467 if test -s conftest.err; then 1468 grep -v '^ *+' conftest.err >conftest.er1 1469 cat conftest.er1 >&5 1470 mv -f conftest.er1 conftest.err 1471 fi 1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1473 test $ac_status = 0; } && { 1474 test -z "$ac_c_werror_flag" || 1475 test ! -s conftest.err 1476 } && test -s conftest.$ac_objext; then : 1477 ac_retval=0 1478 else 1479 $as_echo "$as_me: failed program was:" >&5 1480 sed 's/^/| /' conftest.$ac_ext >&5 1481 1482 ac_retval=1 1483 fi 1484 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1485 as_fn_set_status $ac_retval 1486 1487 } # ac_fn_c_try_compile 1488 1489 # ac_fn_cxx_try_compile LINENO 1490 # ---------------------------- 1491 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1492 ac_fn_cxx_try_compile () 1493 { 1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1495 rm -f conftest.$ac_objext 1496 if { { ac_try="$ac_compile" 1497 case "(($ac_try" in 1498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1499 *) ac_try_echo=$ac_try;; 1500 esac 1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1502 $as_echo "$ac_try_echo"; } >&5 1503 (eval "$ac_compile") 2>conftest.err 1504 ac_status=$? 1505 if test -s conftest.err; then 1506 grep -v '^ *+' conftest.err >conftest.er1 1507 cat conftest.er1 >&5 1508 mv -f conftest.er1 conftest.err 1509 fi 1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1511 test $ac_status = 0; } && { 1512 test -z "$ac_cxx_werror_flag" || 1513 test ! -s conftest.err 1514 } && test -s conftest.$ac_objext; then : 1515 ac_retval=0 1516 else 1517 $as_echo "$as_me: failed program was:" >&5 1518 sed 's/^/| /' conftest.$ac_ext >&5 1519 1520 ac_retval=1 1521 fi 1522 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1523 as_fn_set_status $ac_retval 1524 1525 } # ac_fn_cxx_try_compile 1526 1527 # ac_fn_c_try_cpp LINENO 1528 # ---------------------- 1529 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1530 ac_fn_c_try_cpp () 1531 { 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 if { { ac_try="$ac_cpp conftest.$ac_ext" 1534 case "(($ac_try" in 1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1536 *) ac_try_echo=$ac_try;; 1537 esac 1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1539 $as_echo "$ac_try_echo"; } >&5 1540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1541 ac_status=$? 1542 if test -s conftest.err; then 1543 grep -v '^ *+' conftest.err >conftest.er1 1544 cat conftest.er1 >&5 1545 mv -f conftest.er1 conftest.err 1546 fi 1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1548 test $ac_status = 0; } > conftest.i && { 1549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1550 test ! -s conftest.err 1551 }; then : 1552 ac_retval=0 1553 else 1554 $as_echo "$as_me: failed program was:" >&5 1555 sed 's/^/| /' conftest.$ac_ext >&5 1556 1557 ac_retval=1 1558 fi 1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1560 as_fn_set_status $ac_retval 1561 1562 } # ac_fn_c_try_cpp 1563 1564 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1565 # ------------------------------------------------------- 1566 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1567 # the include files in INCLUDES and setting the cache variable VAR 1568 # accordingly. 1569 ac_fn_c_check_header_mongrel () 1570 { 1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1572 if eval "test \"\${$3+set}\"" = set; then : 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1574 $as_echo_n "checking for $2... " >&6; } 1575 if eval "test \"\${$3+set}\"" = set; then : 1576 $as_echo_n "(cached) " >&6 1577 fi 1578 eval ac_res=\$$3 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1580 $as_echo "$ac_res" >&6; } 1581 else 1582 # Is the header compilable? 1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1584 $as_echo_n "checking $2 usability... " >&6; } 1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1586 /* end confdefs.h. */ 1587 $4 1588 #include <$2> 1589 _ACEOF 1590 if ac_fn_c_try_compile "$LINENO"; then : 1591 ac_header_compiler=yes 1592 else 1593 ac_header_compiler=no 1594 fi 1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1597 $as_echo "$ac_header_compiler" >&6; } 1598 1599 # Is the header present? 1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1601 $as_echo_n "checking $2 presence... " >&6; } 1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1603 /* end confdefs.h. */ 1604 #include <$2> 1605 _ACEOF 1606 if ac_fn_c_try_cpp "$LINENO"; then : 1607 ac_header_preproc=yes 1608 else 1609 ac_header_preproc=no 1610 fi 1611 rm -f conftest.err conftest.i conftest.$ac_ext 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1613 $as_echo "$ac_header_preproc" >&6; } 1614 1615 # So? What about this header? 1616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1617 yes:no: ) 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1619 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1622 ;; 1623 no:yes:* ) 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1625 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1627 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1629 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1631 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1634 ;; 1635 esac 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1637 $as_echo_n "checking for $2... " >&6; } 1638 if eval "test \"\${$3+set}\"" = set; then : 1639 $as_echo_n "(cached) " >&6 1640 else 1641 eval "$3=\$ac_header_compiler" 1642 fi 1643 eval ac_res=\$$3 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1645 $as_echo "$ac_res" >&6; } 1646 fi 1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1648 1649 } # ac_fn_c_check_header_mongrel 1650 1651 # ac_fn_c_try_run LINENO 1652 # ---------------------- 1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1654 # that executables *can* be run. 1655 ac_fn_c_try_run () 1656 { 1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1658 if { { ac_try="$ac_link" 1659 case "(($ac_try" in 1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1661 *) ac_try_echo=$ac_try;; 1662 esac 1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1664 $as_echo "$ac_try_echo"; } >&5 1665 (eval "$ac_link") 2>&5 1666 ac_status=$? 1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1668 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1669 { { case "(($ac_try" in 1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1671 *) ac_try_echo=$ac_try;; 1672 esac 1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1674 $as_echo "$ac_try_echo"; } >&5 1675 (eval "$ac_try") 2>&5 1676 ac_status=$? 1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1678 test $ac_status = 0; }; }; then : 1679 ac_retval=0 1680 else 1681 $as_echo "$as_me: program exited with status $ac_status" >&5 1682 $as_echo "$as_me: failed program was:" >&5 1683 sed 's/^/| /' conftest.$ac_ext >&5 1684 1685 ac_retval=$ac_status 1686 fi 1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1689 as_fn_set_status $ac_retval 1690 1691 } # ac_fn_c_try_run 1692 1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1694 # ------------------------------------------------------- 1695 # Tests whether HEADER exists and can be compiled using the include files in 1696 # INCLUDES, setting the cache variable VAR accordingly. 1697 ac_fn_c_check_header_compile () 1698 { 1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1701 $as_echo_n "checking for $2... " >&6; } 1702 if eval "test \"\${$3+set}\"" = set; then : 1703 $as_echo_n "(cached) " >&6 1704 else 1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1706 /* end confdefs.h. */ 1707 $4 1708 #include <$2> 1709 _ACEOF 1710 if ac_fn_c_try_compile "$LINENO"; then : 1711 eval "$3=yes" 1712 else 1713 eval "$3=no" 1714 fi 1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1716 fi 1717 eval ac_res=\$$3 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1719 $as_echo "$ac_res" >&6; } 1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1721 1722 } # ac_fn_c_check_header_compile 1723 1724 # ac_fn_c_try_link LINENO 1725 # ----------------------- 1726 # Try to link conftest.$ac_ext, and return whether this succeeded. 1727 ac_fn_c_try_link () 1728 { 1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1730 rm -f conftest.$ac_objext conftest$ac_exeext 1731 if { { ac_try="$ac_link" 1732 case "(($ac_try" in 1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1734 *) ac_try_echo=$ac_try;; 1735 esac 1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1737 $as_echo "$ac_try_echo"; } >&5 1738 (eval "$ac_link") 2>conftest.err 1739 ac_status=$? 1740 if test -s conftest.err; then 1741 grep -v '^ *+' conftest.err >conftest.er1 1742 cat conftest.er1 >&5 1743 mv -f conftest.er1 conftest.err 1744 fi 1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1746 test $ac_status = 0; } && { 1747 test -z "$ac_c_werror_flag" || 1748 test ! -s conftest.err 1749 } && test -s conftest$ac_exeext && { 1750 test "$cross_compiling" = yes || 1751 $as_test_x conftest$ac_exeext 1752 }; then : 1753 ac_retval=0 1754 else 1755 $as_echo "$as_me: failed program was:" >&5 1756 sed 's/^/| /' conftest.$ac_ext >&5 1757 1758 ac_retval=1 1759 fi 1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1762 # interfere with the next link command; also delete a directory that is 1763 # left behind by Apple's compiler. We do this before executing the actions. 1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1766 as_fn_set_status $ac_retval 1767 1768 } # ac_fn_c_try_link 1769 1770 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1771 # ------------------------------------------- 1772 # Tests whether TYPE exists after having included INCLUDES, setting cache 1773 # variable VAR accordingly. 1774 ac_fn_c_check_type () 1775 { 1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1778 $as_echo_n "checking for $2... " >&6; } 1779 if eval "test \"\${$3+set}\"" = set; then : 1780 $as_echo_n "(cached) " >&6 1781 else 1782 eval "$3=no" 1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1784 /* end confdefs.h. */ 1785 $4 1786 int 1787 main () 1788 { 1789 if (sizeof ($2)) 1790 return 0; 1791 ; 1792 return 0; 1793 } 1794 _ACEOF 1795 if ac_fn_c_try_compile "$LINENO"; then : 1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1797 /* end confdefs.h. */ 1798 $4 1799 int 1800 main () 1801 { 1802 if (sizeof (($2))) 1803 return 0; 1804 ; 1805 return 0; 1806 } 1807 _ACEOF 1808 if ac_fn_c_try_compile "$LINENO"; then : 1809 1810 else 1811 eval "$3=yes" 1812 fi 1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1814 fi 1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1816 fi 1817 eval ac_res=\$$3 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1819 $as_echo "$ac_res" >&6; } 1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1821 1822 } # ac_fn_c_check_type 1823 1824 # ac_fn_c_check_func LINENO FUNC VAR 1825 # ---------------------------------- 1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1827 ac_fn_c_check_func () 1828 { 1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1831 $as_echo_n "checking for $2... " >&6; } 1832 if eval "test \"\${$3+set}\"" = set; then : 1833 $as_echo_n "(cached) " >&6 1834 else 1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1836 /* end confdefs.h. */ 1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1839 #define $2 innocuous_$2 1840 1841 /* System header to define __stub macros and hopefully few prototypes, 1842 which can conflict with char $2 (); below. 1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1844 <limits.h> exists even on freestanding compilers. */ 1845 1846 #ifdef __STDC__ 1847 # include <limits.h> 1848 #else 1849 # include <assert.h> 1850 #endif 1851 1852 #undef $2 1853 1854 /* Override any GCC internal prototype to avoid an error. 1855 Use char because int might match the return type of a GCC 1856 builtin and then its argument prototype would still apply. */ 1857 #ifdef __cplusplus 1858 extern "C" 1859 #endif 1860 char $2 (); 1861 /* The GNU C library defines this for functions which it implements 1862 to always fail with ENOSYS. Some functions are actually named 1863 something starting with __ and the normal name is an alias. */ 1864 #if defined __stub_$2 || defined __stub___$2 1865 choke me 1866 #endif 1867 1868 int 1869 main () 1870 { 1871 return $2 (); 1872 ; 1873 return 0; 1874 } 1875 _ACEOF 1876 if ac_fn_c_try_link "$LINENO"; then : 1877 eval "$3=yes" 1878 else 1879 eval "$3=no" 1880 fi 1881 rm -f core conftest.err conftest.$ac_objext \ 1882 conftest$ac_exeext conftest.$ac_ext 1883 fi 1884 eval ac_res=\$$3 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1886 $as_echo "$ac_res" >&6; } 1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1888 1889 } # ac_fn_c_check_func 1890 1891 # ac_fn_cxx_try_run LINENO 1892 # ------------------------ 1893 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1894 # that executables *can* be run. 1895 ac_fn_cxx_try_run () 1896 { 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 if { { ac_try="$ac_link" 1899 case "(($ac_try" in 1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1901 *) ac_try_echo=$ac_try;; 1902 esac 1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1904 $as_echo "$ac_try_echo"; } >&5 1905 (eval "$ac_link") 2>&5 1906 ac_status=$? 1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1908 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1909 { { case "(($ac_try" in 1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1911 *) ac_try_echo=$ac_try;; 1912 esac 1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1914 $as_echo "$ac_try_echo"; } >&5 1915 (eval "$ac_try") 2>&5 1916 ac_status=$? 1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1918 test $ac_status = 0; }; }; then : 1919 ac_retval=0 1920 else 1921 $as_echo "$as_me: program exited with status $ac_status" >&5 1922 $as_echo "$as_me: failed program was:" >&5 1923 sed 's/^/| /' conftest.$ac_ext >&5 1924 1925 ac_retval=$ac_status 1926 fi 1927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1929 as_fn_set_status $ac_retval 1930 1931 } # ac_fn_cxx_try_run 1932 cat >config.log <<_ACEOF 990 1933 This file contains any messages produced by compilers while 991 1934 running configure, to aid debugging if configure makes a mistake. 992 1935 993 1936 It was created by $as_me, which was 994 generated by GNU Autoconf 2. 59. Invocation command line was1937 generated by GNU Autoconf 2.67. Invocation command line was 995 1938 996 1939 $ $0 $@ 997 1940 998 1941 _ACEOF 1942 exec 5>>config.log 999 1943 { 1000 1944 cat <<_ASUNAME … … 1015 1959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1016 1960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1017 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1961 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1018 1962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1019 1963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1027 1971 IFS=$as_save_IFS 1028 1972 test -z "$as_dir" && as_dir=. 1029 echo "PATH: $as_dir" 1030 done 1973 $as_echo "PATH: $as_dir" 1974 done 1975 IFS=$as_save_IFS 1031 1976 1032 1977 } >&5 … … 1050 1995 ac_configure_args0= 1051 1996 ac_configure_args1= 1052 ac_sep=1053 1997 ac_must_keep_next=false 1054 1998 for ac_pass in 1 2 … … 1061 2005 | -silent | --silent | --silen | --sile | --sil) 1062 2006 continue ;; 1063 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1064 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2007 *\'*) 2008 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1065 2009 esac 1066 2010 case $ac_pass in 1067 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2011 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1068 2012 2) 1069 a c_configure_args1="$ac_configure_args1'$ac_arg'"2013 as_fn_append ac_configure_args1 " '$ac_arg'" 1070 2014 if test $ac_must_keep_next = true; then 1071 2015 ac_must_keep_next=false # Got value, back to normal. … … 1083 2027 esac 1084 2028 fi 1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1086 # Get rid of the leading space. 1087 ac_sep=" " 2029 as_fn_append ac_configure_args " '$ac_arg'" 1088 2030 ;; 1089 2031 esac 1090 2032 done 1091 2033 done 1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2034 { ac_configure_args0=; unset ac_configure_args0;} 2035 { ac_configure_args1=; unset ac_configure_args1;} 1094 2036 1095 2037 # When interrupted or exit'd, cleanup temporary files, and complete 1096 2038 # config.log. We remove comments because anyway the quotes in there 1097 2039 # would cause problems or look ugly. 1098 # WARNING: Be sure not to use single quotes in there, as some shells,1099 # such as our DU 5.0 friend, will then `close' the trap.2040 # WARNING: Use '\'' to represent an apostrophe within the trap. 2041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1100 2042 trap 'exit_status=$? 1101 2043 # Save into config.log some information that might help in debugging. … … 1103 2045 echo 1104 2046 1105 cat <<\_ASBOX 1106 ## ---------------- ## 2047 $as_echo "## ---------------- ## 1107 2048 ## Cache variables. ## 1108 ## ---------------- ## 1109 _ASBOX 2049 ## ---------------- ##" 1110 2050 echo 1111 2051 # The following way of writing the cache mishandles newlines in values, 1112 { 2052 ( 2053 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2054 eval ac_val=\$$ac_var 2055 case $ac_val in #( 2056 *${as_nl}*) 2057 case $ac_var in #( 2058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2060 esac 2061 case $ac_var in #( 2062 _ | IFS | as_nl) ;; #( 2063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2064 *) { eval $ac_var=; unset $ac_var;} ;; 2065 esac ;; 2066 esac 2067 done 1113 2068 (set) 2>&1 | 1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1115 * ac_space=\ *)2069 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2070 *${as_nl}ac_space=\ *) 1116 2071 sed -n \ 1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 2072 "s/'\''/'\''\\\\'\'''\''/g; 2073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2074 ;; #( 2075 *) 2076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1119 2077 ;; 1120 *) 1121 sed -n \ 1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1123 ;; 1124 esac; 1125 } 2078 esac | 2079 sort 2080 ) 1126 2081 echo 1127 2082 1128 cat <<\_ASBOX 1129 ## ----------------- ## 2083 $as_echo "## ----------------- ## 1130 2084 ## Output variables. ## 1131 ## ----------------- ## 1132 _ASBOX 2085 ## ----------------- ##" 1133 2086 echo 1134 2087 for ac_var in $ac_subst_vars 1135 2088 do 1136 eval ac_val=$`echo $ac_var` 1137 echo "$ac_var='"'"'$ac_val'"'"'" 2089 eval ac_val=\$$ac_var 2090 case $ac_val in 2091 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2092 esac 2093 $as_echo "$ac_var='\''$ac_val'\''" 1138 2094 done | sort 1139 2095 echo 1140 2096 1141 2097 if test -n "$ac_subst_files"; then 1142 cat <<\_ASBOX 1143 ## ------------- ## 1144 ## Output files. ## 1145 ## ------------- ## 1146 _ASBOX 2098 $as_echo "## ------------------- ## 2099 ## File substitutions. ## 2100 ## ------------------- ##" 1147 2101 echo 1148 2102 for ac_var in $ac_subst_files 1149 2103 do 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 2104 eval ac_val=\$$ac_var 2105 case $ac_val in 2106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2107 esac 2108 $as_echo "$ac_var='\''$ac_val'\''" 1152 2109 done | sort 1153 2110 echo … … 1155 2112 1156 2113 if test -s confdefs.h; then 1157 cat <<\_ASBOX 1158 ## ----------- ## 2114 $as_echo "## ----------- ## 1159 2115 ## confdefs.h. ## 1160 ## ----------- ## 1161 _ASBOX 2116 ## ----------- ##" 1162 2117 echo 1163 sed "/^$/d" confdefs.h | sort2118 cat confdefs.h 1164 2119 echo 1165 2120 fi 1166 2121 test "$ac_signal" != 0 && 1167 echo "$as_me: caught signal $ac_signal"1168 echo "$as_me: exit $exit_status"2122 $as_echo "$as_me: caught signal $ac_signal" 2123 $as_echo "$as_me: exit $exit_status" 1169 2124 } >&5 1170 rm -f core *.core &&1171 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&2125 rm -f core *.core core.conftest.* && 2126 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1172 2127 exit $exit_status 1173 2128 ' 0 1174 2129 for ac_signal in 1 2 13 15; do 1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2130 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1176 2131 done 1177 2132 ac_signal=0 1178 2133 1179 2134 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1180 rm - rfconftest* confdefs.h1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1182 echo >confdefs.h2135 rm -f -r conftest* confdefs.h 2136 2137 $as_echo "/* confdefs.h */" > confdefs.h 1183 2138 1184 2139 # Predefined preprocessor variables. … … 1188 2143 _ACEOF 1189 2144 1190 1191 2145 cat >>confdefs.h <<_ACEOF 1192 2146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1193 2147 _ACEOF 1194 2148 1195 1196 2149 cat >>confdefs.h <<_ACEOF 1197 2150 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1198 2151 _ACEOF 1199 2152 1200 1201 2153 cat >>confdefs.h <<_ACEOF 1202 2154 #define PACKAGE_STRING "$PACKAGE_STRING" 1203 2155 _ACEOF 1204 2156 1205 1206 2157 cat >>confdefs.h <<_ACEOF 1207 2158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1208 2159 _ACEOF 1209 2160 2161 cat >>confdefs.h <<_ACEOF 2162 #define PACKAGE_URL "$PACKAGE_URL" 2163 _ACEOF 2164 1210 2165 1211 2166 # Let the site file select an alternate cache file if it wants to. 1212 # Prefer explicitly selected file to automatically selected ones. 1213 if test -z "$CONFIG_SITE"; then 1214 if test "x$prefix" != xNONE; then 1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1216 else 1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1218 fi 1219 fi 1220 for ac_site_file in $CONFIG_SITE; do 1221 if test -r "$ac_site_file"; then 1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1223 echo "$as_me: loading site script $ac_site_file" >&6;} 2167 # Prefer an explicitly selected file to automatically selected ones. 2168 ac_site_file1=NONE 2169 ac_site_file2=NONE 2170 if test -n "$CONFIG_SITE"; then 2171 # We do not want a PATH search for config.site. 2172 case $CONFIG_SITE in #(( 2173 -*) ac_site_file1=./$CONFIG_SITE;; 2174 */*) ac_site_file1=$CONFIG_SITE;; 2175 *) ac_site_file1=./$CONFIG_SITE;; 2176 esac 2177 elif test "x$prefix" != xNONE; then 2178 ac_site_file1=$prefix/share/config.site 2179 ac_site_file2=$prefix/etc/config.site 2180 else 2181 ac_site_file1=$ac_default_prefix/share/config.site 2182 ac_site_file2=$ac_default_prefix/etc/config.site 2183 fi 2184 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2185 do 2186 test "x$ac_site_file" = xNONE && continue 2187 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2189 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1224 2190 sed 's/^/| /' "$ac_site_file" >&5 1225 . "$ac_site_file" 2191 . "$ac_site_file" \ 2192 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2194 as_fn_error $? "failed to load site script $ac_site_file 2195 See \`config.log' for more details" "$LINENO" 5 ; } 1226 2196 fi 1227 2197 done 1228 2198 1229 2199 if test -r "$cache_file"; then 1230 # Some versions of bash will fail to source /dev/null (special 1231 # files actually), so we avoid doing that.1232 if test -f "$cache_file"; then1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&51234 echo "$as_me: loading cache $cache_file" >&6;}2200 # Some versions of bash will fail to source /dev/null (special files 2201 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2202 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2204 $as_echo "$as_me: loading cache $cache_file" >&6;} 1235 2205 case $cache_file in 1236 [\\/]* | ?:[\\/]* ) . $cache_file;;1237 *) . ./$cache_file;;2206 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2207 *) . "./$cache_file";; 1238 2208 esac 1239 2209 fi 1240 2210 else 1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&51242 echo "$as_me: creating cache $cache_file" >&6;}2211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2212 $as_echo "$as_me: creating cache $cache_file" >&6;} 1243 2213 >$cache_file 1244 2214 fi … … 1247 2217 # value. 1248 2218 ac_cache_corrupted=false 1249 for ac_var in `(set) 2>&1 | 1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2219 for ac_var in $ac_precious_vars; do 1251 2220 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1252 2221 eval ac_new_set=\$ac_env_${ac_var}_set 1253 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1254 eval ac_new_val= "\$ac_env_${ac_var}_value"2222 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2223 eval ac_new_val=\$ac_env_${ac_var}_value 1255 2224 case $ac_old_set,$ac_new_set in 1256 2225 set,) 1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1259 2228 ac_cache_corrupted=: ;; 1260 2229 ,set) 1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1263 2232 ac_cache_corrupted=: ;; 1264 2233 ,);; 1265 2234 *) 1266 2235 if test "x$ac_old_val" != "x$ac_new_val"; then 1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1270 echo "$as_me: former value: $ac_old_val" >&2;} 1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1272 echo "$as_me: current value: $ac_new_val" >&2;} 1273 ac_cache_corrupted=: 2236 # differences in whitespace do not lead to failure. 2237 ac_old_val_w=`echo x $ac_old_val` 2238 ac_new_val_w=`echo x $ac_new_val` 2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2242 ac_cache_corrupted=: 2243 else 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2246 eval $ac_var=\$ac_old_val 2247 fi 2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1274 2252 fi;; 1275 2253 esac … … 1277 2255 if test "$ac_new_set" = set; then 1278 2256 case $ac_new_val in 1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2257 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1281 2258 *) ac_arg=$ac_var=$ac_new_val ;; 1282 2259 esac 1283 2260 case " $ac_configure_args " in 1284 2261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1285 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2262 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1286 2263 esac 1287 2264 fi 1288 2265 done 1289 2266 if $ac_cache_corrupted; then 1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1294 { (exit 1); exit 1; }; } 1295 fi 2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2271 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2272 fi 2273 ## -------------------- ## 2274 ## Main body of script. ## 2275 ## -------------------- ## 1296 2276 1297 2277 ac_ext=c … … 1302 2282 1303 2283 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 ac_config_headers="$ac_config_headers config.h" 2284 ac_config_headers="$ac_config_headers config.h" 1322 2285 1323 2286 1324 2287 1325 2288 PACKAGE=gsdl 1326 VERSION=2. 82-svn2289 VERSION=2.x-svn 1327 2290 cat >>confdefs.h <<_ACEOF 1328 2291 #define PACKAGE "$PACKAGE" … … 1338 2301 USE_FASTCGI=0 1339 2302 if test USE_FASTCGI = 1; then 1340 cat >>confdefs.h <<\_ACEOF 1341 #define USE_FASTCGI 1 1342 _ACEOF 2303 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1343 2304 1344 2305 … … 1346 2307 1347 2308 if test USE_LANGACTION = 1; then 1348 cat >>confdefs.h <<\_ACEOF 1349 #define USE_LANGACTION 1 1350 _ACEOF 1351 1352 1353 fi 1354 1355 # Check whether --enable-corba or --disable-corba was given. 1356 if test "${enable_corba+set}" = set; then 1357 enableval="$enable_corba" 1358 USE_CORBA=$enableval 2309 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 2310 2311 2312 fi 2313 2314 # Check whether --enable-corba was given. 2315 if test "${enable_corba+set}" = set; then : 2316 enableval=$enable_corba; USE_CORBA=$enableval 1359 2317 else 1360 2318 USE_CORBA=no 1361 fi; 2319 fi 2320 1362 2321 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1363 2322 USE_CORBA=1 1364 cat >>confdefs.h <<\_ACEOF 1365 #define USE_CORBA 1366 _ACEOF 2323 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1367 2324 1368 2325 else … … 1372 2329 1373 2330 1374 # Check whether --with-micodir or --without-micodir was given. 1375 if test "${with_micodir+set}" = set; then 1376 withval="$with_micodir" 1377 MICO_DIR=$withval 2331 # Check whether --with-micodir was given. 2332 if test "${with_micodir+set}" = set; then : 2333 withval=$with_micodir; MICO_DIR=$withval 1378 2334 else 1379 2335 MICO_DIR="default" 1380 fi; 2336 fi 2337 1381 2338 cat >>confdefs.h <<_ACEOF 1382 2339 #define MICO_DIR "$MICO_DIR" … … 1385 2342 1386 2343 1387 # Check whether --enable-z3950 or --disable-z3950 was given. 1388 if test "${enable_z3950+set}" = set; then 1389 enableval="$enable_z3950" 1390 USE_Z3950=$enableval 2344 # Check whether --enable-z3950 was given. 2345 if test "${enable_z3950+set}" = set; then : 2346 enableval=$enable_z3950; USE_Z3950=$enableval 1391 2347 else 1392 2348 USE_Z3950=no 1393 fi; 2349 fi 2350 1394 2351 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1395 2352 USE_Z3950=1 1396 cat >>confdefs.h <<\_ACEOF 1397 #define USE_Z3950 1398 _ACEOF 2353 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1399 2354 1400 2355 else … … 1403 2358 1404 2359 1405 # Check whether --enable-yaz or --disable-yaz was given. 1406 if test "${enable_yaz+set}" = set; then 1407 enableval="$enable_yaz" 1408 USE_YAZ=$enableval 2360 # Check whether --enable-yaz was given. 2361 if test "${enable_yaz+set}" = set; then : 2362 enableval=$enable_yaz; USE_YAZ=$enableval 1409 2363 else 1410 2364 USE_YAZ=yes 1411 fi; 2365 fi 2366 1412 2367 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1413 2368 USE_YAZ=1 1414 cat >>confdefs.h <<\_ACEOF 1415 #define USE_YAZ 1416 _ACEOF 2369 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1417 2370 1418 2371 else … … 1421 2374 1422 2375 1423 # Check whether --enable-jdbm or --disable-jdbm was given. 1424 if test "${enable_jdbm+set}" = set; then 1425 enableval="$enable_jdbm" 1426 USE_JDBM=$enableval 2376 # Check whether --enable-java was given. 2377 if test "${enable_java+set}" = set; then : 2378 enableval=$enable_java; ENABLE_JAVA=$enableval 2379 else 2380 ENABLE_JAVA=yes 2381 fi 2382 2383 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 2384 ENABLE_JAVA=1 2385 if test "x$JAVA_HOME" != "x" ; then 2386 echo "Detected JAVA_HOME is set, however this will not be used during compilation" 2387 echo "To control the version of 'javac' and 'java' set environment variables JAVAC" 2388 echo "and JAVA respectively" 2389 export JAVA_HOME= 2390 fi 2391 else 2392 ENABLE_JAVA=0 2393 fi 2394 2395 2396 # Check whether --enable-jdbm was given. 2397 if test "${enable_jdbm+set}" = set; then : 2398 enableval=$enable_jdbm; USE_JDBM=$enableval 1427 2399 else 1428 2400 USE_JDBM=yes 1429 fi; 1430 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 2401 fi 2402 2403 if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 1431 2404 USE_JDBM=1 1432 cat >>confdefs.h <<\_ACEOF 1433 #define USE_JDBM 1434 _ACEOF 2405 $as_echo "#define USE_JDBM /**/" >>confdefs.h 1435 2406 1436 2407 else … … 1439 2410 1440 2411 1441 # Check whether --enable-gdbm or --disable-gdbm was given. 1442 if test "${enable_gdbm+set}" = set; then 1443 enableval="$enable_gdbm" 1444 USE_GDBM=$enableval 2412 # Check whether --enable-gdbm was given. 2413 if test "${enable_gdbm+set}" = set; then : 2414 enableval=$enable_gdbm; USE_GDBM=$enableval 1445 2415 else 1446 2416 USE_GDBM=yes 1447 fi; 2417 fi 2418 1448 2419 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1449 2420 USE_GDBM=1 1450 cat >>confdefs.h <<\_ACEOF 1451 #define USE_GDBM 1452 _ACEOF 2421 $as_echo "#define USE_GDBM /**/" >>confdefs.h 1453 2422 1454 2423 else … … 1457 2426 1458 2427 1459 # Check whether --enable-accentfold or --disable-accentfold was given. 1460 if test "${enable_accentfold+set}" = set; then 1461 enableval="$enable_accentfold" 1462 ENABLE_ACCENTFOLD=$enableval 2428 # Check whether --enable-accentfold was given. 2429 if test "${enable_accentfold+set}" = set; then : 2430 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1463 2431 else 1464 2432 ENABLE_ACCENTFOLD=yes 1465 fi; 2433 fi 2434 1466 2435 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1467 2436 ENABLE_ACCENTFOLD=1 1468 cat >>confdefs.h <<\_ACEOF 1469 #define ENABLE_ACCENTFOLD 1470 _ACEOF 2437 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1471 2438 1472 2439 else … … 1475 2442 1476 2443 1477 # Check whether --enable-sqlite or --disable-sqlite was given. 1478 if test "${enable_sqlite+set}" = set; then 1479 enableval="$enable_sqlite" 1480 USE_SQLITE=$enableval 2444 # Check whether --enable-sqlite was given. 2445 if test "${enable_sqlite+set}" = set; then : 2446 enableval=$enable_sqlite; USE_SQLITE=$enableval 1481 2447 else 1482 2448 USE_SQLITE=yes 1483 fi; 2449 fi 2450 1484 2451 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1485 2452 USE_SQLITE=1 1486 cat >>confdefs.h <<\_ACEOF 1487 #define USE_SQLITE 1488 _ACEOF 2453 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 1489 2454 1490 2455 else … … 1509 2474 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1510 2475 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1511 echo "$as_me:$LINENO: checking for $ac_word" >&51512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1513 if test "${ac_cv_prog_CC+set}" = set; then 1514 echo $ECHO_N "(cached) $ECHO_C" >&62476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2477 $as_echo_n "checking for $ac_word... " >&6; } 2478 if test "${ac_cv_prog_CC+set}" = set; then : 2479 $as_echo_n "(cached) " >&6 1515 2480 else 1516 2481 if test -n "$CC"; then … … 1522 2487 IFS=$as_save_IFS 1523 2488 test -z "$as_dir" && as_dir=. 1524 for ac_exec_ext in '' $ac_executable_extensions; do1525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2489 for ac_exec_ext in '' $ac_executable_extensions; do 2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1526 2491 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1528 2493 break 2 1529 2494 fi 1530 2495 done 1531 done 2496 done 2497 IFS=$as_save_IFS 1532 2498 1533 2499 fi … … 1535 2501 CC=$ac_cv_prog_CC 1536 2502 if test -n "$CC"; then 1537 echo "$as_me:$LINENO: result: $CC" >&5 1538 echo "${ECHO_T}$CC" >&6 1539 else 1540 echo "$as_me:$LINENO: result: no" >&5 1541 echo "${ECHO_T}no" >&6 1542 fi 2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2504 $as_echo "$CC" >&6; } 2505 else 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2507 $as_echo "no" >&6; } 2508 fi 2509 1543 2510 1544 2511 fi … … 1547 2514 # Extract the first word of "gcc", so it can be a program name with args. 1548 2515 set dummy gcc; ac_word=$2 1549 echo "$as_me:$LINENO: checking for $ac_word" >&51550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1552 echo $ECHO_N "(cached) $ECHO_C" >&62516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2517 $as_echo_n "checking for $ac_word... " >&6; } 2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2519 $as_echo_n "(cached) " >&6 1553 2520 else 1554 2521 if test -n "$ac_ct_CC"; then … … 1560 2527 IFS=$as_save_IFS 1561 2528 test -z "$as_dir" && as_dir=. 1562 for ac_exec_ext in '' $ac_executable_extensions; do1563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2529 for ac_exec_ext in '' $ac_executable_extensions; do 2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1564 2531 ac_cv_prog_ac_ct_CC="gcc" 1565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1566 2533 break 2 1567 2534 fi 1568 2535 done 1569 done 2536 done 2537 IFS=$as_save_IFS 1570 2538 1571 2539 fi … … 1573 2541 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1574 2542 if test -n "$ac_ct_CC"; then 1575 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1576 echo "${ECHO_T}$ac_ct_CC" >&6 1577 else 1578 echo "$as_me:$LINENO: result: no" >&5 1579 echo "${ECHO_T}no" >&6 1580 fi 1581 1582 CC=$ac_ct_CC 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2544 $as_echo "$ac_ct_CC" >&6; } 2545 else 2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2547 $as_echo "no" >&6; } 2548 fi 2549 2550 if test "x$ac_ct_CC" = x; then 2551 CC="" 2552 else 2553 case $cross_compiling:$ac_tool_warned in 2554 yes:) 2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2557 ac_tool_warned=yes ;; 2558 esac 2559 CC=$ac_ct_CC 2560 fi 1583 2561 else 1584 2562 CC="$ac_cv_prog_CC" … … 1586 2564 1587 2565 if test -z "$CC"; then 1588 if test -n "$ac_tool_prefix"; then1589 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2566 if test -n "$ac_tool_prefix"; then 2567 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1590 2568 set dummy ${ac_tool_prefix}cc; ac_word=$2 1591 echo "$as_me:$LINENO: checking for $ac_word" >&51592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1593 if test "${ac_cv_prog_CC+set}" = set; then 1594 echo $ECHO_N "(cached) $ECHO_C" >&62569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2570 $as_echo_n "checking for $ac_word... " >&6; } 2571 if test "${ac_cv_prog_CC+set}" = set; then : 2572 $as_echo_n "(cached) " >&6 1595 2573 else 1596 2574 if test -n "$CC"; then … … 1602 2580 IFS=$as_save_IFS 1603 2581 test -z "$as_dir" && as_dir=. 1604 for ac_exec_ext in '' $ac_executable_extensions; do1605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2582 for ac_exec_ext in '' $ac_executable_extensions; do 2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1606 2584 ac_cv_prog_CC="${ac_tool_prefix}cc" 1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1608 2586 break 2 1609 2587 fi 1610 2588 done 1611 done 2589 done 2590 IFS=$as_save_IFS 1612 2591 1613 2592 fi … … 1615 2594 CC=$ac_cv_prog_CC 1616 2595 if test -n "$CC"; then 1617 echo "$as_me:$LINENO: result: $CC" >&5 1618 echo "${ECHO_T}$CC" >&6 1619 else 1620 echo "$as_me:$LINENO: result: no" >&5 1621 echo "${ECHO_T}no" >&6 1622 fi 1623 1624 fi 1625 if test -z "$ac_cv_prog_CC"; then 1626 ac_ct_CC=$CC 1627 # Extract the first word of "cc", so it can be a program name with args. 1628 set dummy cc; ac_word=$2 1629 echo "$as_me:$LINENO: checking for $ac_word" >&5 1630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1631 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1632 echo $ECHO_N "(cached) $ECHO_C" >&6 1633 else 1634 if test -n "$ac_ct_CC"; then 1635 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1636 else 1637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1638 for as_dir in $PATH 1639 do 1640 IFS=$as_save_IFS 1641 test -z "$as_dir" && as_dir=. 1642 for ac_exec_ext in '' $ac_executable_extensions; do 1643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1644 ac_cv_prog_ac_ct_CC="cc" 1645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1646 break 2 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2597 $as_echo "$CC" >&6; } 2598 else 2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2600 $as_echo "no" >&6; } 2601 fi 2602 2603 1647 2604 fi 1648 done1649 done1650 1651 fi1652 fi1653 ac_ct_CC=$ac_cv_prog_ac_ct_CC1654 if test -n "$ac_ct_CC"; then1655 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51656 echo "${ECHO_T}$ac_ct_CC" >&61657 else1658 echo "$as_me:$LINENO: result: no" >&51659 echo "${ECHO_T}no" >&61660 fi1661 1662 CC=$ac_ct_CC1663 else1664 CC="$ac_cv_prog_CC"1665 fi1666 1667 2605 fi 1668 2606 if test -z "$CC"; then 1669 2607 # Extract the first word of "cc", so it can be a program name with args. 1670 2608 set dummy cc; ac_word=$2 1671 echo "$as_me:$LINENO: checking for $ac_word" >&51672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1673 if test "${ac_cv_prog_CC+set}" = set; then 1674 echo $ECHO_N "(cached) $ECHO_C" >&62609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2610 $as_echo_n "checking for $ac_word... " >&6; } 2611 if test "${ac_cv_prog_CC+set}" = set; then : 2612 $as_echo_n "(cached) " >&6 1675 2613 else 1676 2614 if test -n "$CC"; then … … 1683 2621 IFS=$as_save_IFS 1684 2622 test -z "$as_dir" && as_dir=. 1685 for ac_exec_ext in '' $ac_executable_extensions; do1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2623 for ac_exec_ext in '' $ac_executable_extensions; do 2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1687 2625 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1688 2626 ac_prog_rejected=yes … … 1690 2628 fi 1691 2629 ac_cv_prog_CC="cc" 1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1693 2631 break 2 1694 2632 fi 1695 2633 done 1696 done 2634 done 2635 IFS=$as_save_IFS 1697 2636 1698 2637 if test $ac_prog_rejected = yes; then … … 1712 2651 CC=$ac_cv_prog_CC 1713 2652 if test -n "$CC"; then 1714 echo "$as_me:$LINENO: result: $CC" >&5 1715 echo "${ECHO_T}$CC" >&6 1716 else 1717 echo "$as_me:$LINENO: result: no" >&5 1718 echo "${ECHO_T}no" >&6 1719 fi 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2654 $as_echo "$CC" >&6; } 2655 else 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2657 $as_echo "no" >&6; } 2658 fi 2659 1720 2660 1721 2661 fi 1722 2662 if test -z "$CC"; then 1723 2663 if test -n "$ac_tool_prefix"; then 1724 for ac_prog in cl 2664 for ac_prog in cl.exe 1725 2665 do 1726 2666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1727 2667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1728 echo "$as_me:$LINENO: checking for $ac_word" >&51729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1730 if test "${ac_cv_prog_CC+set}" = set; then 1731 echo $ECHO_N "(cached) $ECHO_C" >&62668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2669 $as_echo_n "checking for $ac_word... " >&6; } 2670 if test "${ac_cv_prog_CC+set}" = set; then : 2671 $as_echo_n "(cached) " >&6 1732 2672 else 1733 2673 if test -n "$CC"; then … … 1739 2679 IFS=$as_save_IFS 1740 2680 test -z "$as_dir" && as_dir=. 1741 for ac_exec_ext in '' $ac_executable_extensions; do1742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2681 for ac_exec_ext in '' $ac_executable_extensions; do 2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1743 2683 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1745 2685 break 2 1746 2686 fi 1747 2687 done 1748 done 2688 done 2689 IFS=$as_save_IFS 1749 2690 1750 2691 fi … … 1752 2693 CC=$ac_cv_prog_CC 1753 2694 if test -n "$CC"; then 1754 echo "$as_me:$LINENO: result: $CC" >&5 1755 echo "${ECHO_T}$CC" >&6 1756 else 1757 echo "$as_me:$LINENO: result: no" >&5 1758 echo "${ECHO_T}no" >&6 1759 fi 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2696 $as_echo "$CC" >&6; } 2697 else 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2699 $as_echo "no" >&6; } 2700 fi 2701 1760 2702 1761 2703 test -n "$CC" && break … … 1764 2706 if test -z "$CC"; then 1765 2707 ac_ct_CC=$CC 1766 for ac_prog in cl 2708 for ac_prog in cl.exe 1767 2709 do 1768 2710 # Extract the first word of "$ac_prog", so it can be a program name with args. 1769 2711 set dummy $ac_prog; ac_word=$2 1770 echo "$as_me:$LINENO: checking for $ac_word" >&51771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1773 echo $ECHO_N "(cached) $ECHO_C" >&62712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2713 $as_echo_n "checking for $ac_word... " >&6; } 2714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2715 $as_echo_n "(cached) " >&6 1774 2716 else 1775 2717 if test -n "$ac_ct_CC"; then … … 1781 2723 IFS=$as_save_IFS 1782 2724 test -z "$as_dir" && as_dir=. 1783 for ac_exec_ext in '' $ac_executable_extensions; do1784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2725 for ac_exec_ext in '' $ac_executable_extensions; do 2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1785 2727 ac_cv_prog_ac_ct_CC="$ac_prog" 1786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1787 2729 break 2 1788 2730 fi 1789 2731 done 1790 done 2732 done 2733 IFS=$as_save_IFS 1791 2734 1792 2735 fi … … 1794 2737 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1795 2738 if test -n "$ac_ct_CC"; then 1796 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1797 echo "${ECHO_T}$ac_ct_CC" >&6 1798 else 1799 echo "$as_me:$LINENO: result: no" >&5 1800 echo "${ECHO_T}no" >&6 1801 fi 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2740 $as_echo "$ac_ct_CC" >&6; } 2741 else 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2743 $as_echo "no" >&6; } 2744 fi 2745 1802 2746 1803 2747 test -n "$ac_ct_CC" && break 1804 2748 done 1805 2749 1806 CC=$ac_ct_CC 1807 fi 1808 1809 fi 1810 1811 1812 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1813 See \`config.log' for more details." >&5 1814 echo "$as_me: error: no acceptable C compiler found in \$PATH 1815 See \`config.log' for more details." >&2;} 1816 { (exit 1); exit 1; }; } 2750 if test "x$ac_ct_CC" = x; then 2751 CC="" 2752 else 2753 case $cross_compiling:$ac_tool_warned in 2754 yes:) 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2757 ac_tool_warned=yes ;; 2758 esac 2759 CC=$ac_ct_CC 2760 fi 2761 fi 2762 2763 fi 2764 2765 2766 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2768 as_fn_error $? "no acceptable C compiler found in \$PATH 2769 See \`config.log' for more details" "$LINENO" 5 ; } 1817 2770 1818 2771 # Provide some information about the compiler. 1819 echo "$as_me:$LINENO:" \ 1820 "checking for C compiler version" >&5 1821 ac_compiler=`set X $ac_compile; echo $2` 1822 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1823 (eval $ac_compiler --version </dev/null >&5) 2>&5 2772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2773 set X $ac_compile 2774 ac_compiler=$2 2775 for ac_option in --version -v -V -qversion; do 2776 { { ac_try="$ac_compiler $ac_option >&5" 2777 case "(($ac_try" in 2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2779 *) ac_try_echo=$ac_try;; 2780 esac 2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2782 $as_echo "$ac_try_echo"; } >&5 2783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1824 2784 ac_status=$? 1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1826 (exit $ac_status); } 1827 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1828 (eval $ac_compiler -v </dev/null >&5) 2>&5 1829 ac_status=$? 1830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1831 (exit $ac_status); } 1832 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1833 (eval $ac_compiler -V </dev/null >&5) 2>&5 1834 ac_status=$? 1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1836 (exit $ac_status); } 1837 1838 cat >conftest.$ac_ext <<_ACEOF 1839 /* confdefs.h. */ 1840 _ACEOF 1841 cat confdefs.h >>conftest.$ac_ext 1842 cat >>conftest.$ac_ext <<_ACEOF 2785 if test -s conftest.err; then 2786 sed '10a\ 2787 ... rest of stderr output deleted ... 2788 10q' conftest.err >conftest.er1 2789 cat conftest.er1 >&5 2790 fi 2791 rm -f conftest.er1 conftest.err 2792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2793 test $ac_status = 0; } 2794 done 2795 2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843 2797 /* end confdefs.h. */ 1844 2798 … … 1852 2806 _ACEOF 1853 2807 ac_clean_files_save=$ac_clean_files 1854 ac_clean_files="$ac_clean_files a.out a. exe b.out"2808 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1855 2809 # Try to create an executable without -o first, disregard a.out. 1856 2810 # It will help us diagnose broken compilers, and finding out an intuition 1857 2811 # of exeext. 1858 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1859 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1860 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1861 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1862 (eval $ac_link_default) 2>&5 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2813 $as_echo_n "checking whether the C compiler works... " >&6; } 2814 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2815 2816 # The possible output files: 2817 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2818 2819 ac_rmfiles= 2820 for ac_file in $ac_files 2821 do 2822 case $ac_file in 2823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2824 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2825 esac 2826 done 2827 rm -f $ac_rmfiles 2828 2829 if { { ac_try="$ac_link_default" 2830 case "(($ac_try" in 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2832 *) ac_try_echo=$ac_try;; 2833 esac 2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2835 $as_echo "$ac_try_echo"; } >&5 2836 (eval "$ac_link_default") 2>&5 1863 2837 ac_status=$? 1864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1865 (exit $ac_status); }; then 1866 # Find the output, starting from the most likely. This scheme is 1867 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1868 # resort. 1869 1870 # Be careful to initialize this variable, since it used to be cached. 1871 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1872 ac_cv_exeext= 1873 # b.out is created by i960 compilers. 1874 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2839 test $ac_status = 0; }; then : 2840 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2841 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2842 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2843 # so that the user can short-circuit this test for compilers unknown to 2844 # Autoconf. 2845 for ac_file in $ac_files '' 1875 2846 do 1876 2847 test -f "$ac_file" || continue 1877 2848 case $ac_file in 1878 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1879 ;; 1880 conftest.$ac_ext ) 1881 # This is the source file. 2849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1882 2850 ;; 1883 2851 [ab].out ) … … 1886 2854 break;; 1887 2855 *.* ) 1888 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1889 # FIXME: I believe we export ac_cv_exeext for Libtool, 1890 # but it would be cool to find out if it's true. Does anybody 1891 # maintain Libtool? --akim. 1892 export ac_cv_exeext 2856 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2857 then :; else 2858 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2859 fi 2860 # We set ac_cv_exeext here because the later test for it is not 2861 # safe: cross compilers may not add the suffix if given an `-o' 2862 # argument, so we may need to know it at that point already. 2863 # Even if this section looks crufty: it has the advantage of 2864 # actually working. 1893 2865 break;; 1894 2866 * ) … … 1896 2868 esac 1897 2869 done 1898 else 1899 echo "$as_me: failed program was:" >&5 2870 test "$ac_cv_exeext" = no && ac_cv_exeext= 2871 2872 else 2873 ac_file='' 2874 fi 2875 if test -z "$ac_file"; then : 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2877 $as_echo "no" >&6; } 2878 $as_echo "$as_me: failed program was:" >&5 1900 2879 sed 's/^/| /' conftest.$ac_ext >&5 1901 2880 1902 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1903 See \`config.log' for more details." >&5 1904 echo "$as_me: error: C compiler cannot create executables 1905 See \`config.log' for more details." >&2;} 1906 { (exit 77); exit 77; }; } 1907 fi 1908 2881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2883 as_fn_error 77 "C compiler cannot create executables 2884 See \`config.log' for more details" "$LINENO" 5 ; } 2885 else 2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2887 $as_echo "yes" >&6; } 2888 fi 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2890 $as_echo_n "checking for C compiler default output file name... " >&6; } 2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2892 $as_echo "$ac_file" >&6; } 1909 2893 ac_exeext=$ac_cv_exeext 1910 echo "$as_me:$LINENO: result: $ac_file" >&5 1911 echo "${ECHO_T}$ac_file" >&6 1912 1913 # Check the compiler produces executables we can run. If not, either 1914 # the compiler is broken, or we cross compile. 1915 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1916 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1917 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1918 # If not cross compiling, check that we can run a simple program. 1919 if test "$cross_compiling" != yes; then 1920 if { ac_try='./$ac_file' 1921 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&51922 (eval $ac_try) 2>&52894 2895 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2896 ac_clean_files=$ac_clean_files_save 2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2898 $as_echo_n "checking for suffix of executables... " >&6; } 2899 if { { ac_try="$ac_link" 2900 case "(($ac_try" in 2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2902 *) ac_try_echo=$ac_try;; 2903 esac 2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2905 $as_echo "$ac_try_echo"; } >&5 2906 (eval "$ac_link") 2>&5 1923 2907 ac_status=$? 1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1925 (exit $ac_status); }; }; then 1926 cross_compiling=no 1927 else 1928 if test "$cross_compiling" = maybe; then 1929 cross_compiling=yes 1930 else 1931 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1932 If you meant to cross compile, use \`--host'. 1933 See \`config.log' for more details." >&5 1934 echo "$as_me: error: cannot run C compiled programs. 1935 If you meant to cross compile, use \`--host'. 1936 See \`config.log' for more details." >&2;} 1937 { (exit 1); exit 1; }; } 1938 fi 1939 fi 1940 fi 1941 echo "$as_me:$LINENO: result: yes" >&5 1942 echo "${ECHO_T}yes" >&6 1943 1944 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1945 ac_clean_files=$ac_clean_files_save 1946 # Check the compiler produces executables we can run. If not, either 1947 # the compiler is broken, or we cross compile. 1948 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1949 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1950 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1951 echo "${ECHO_T}$cross_compiling" >&6 1952 1953 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1954 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1956 (eval $ac_link) 2>&5 1957 ac_status=$? 1958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1959 (exit $ac_status); }; then 2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2909 test $ac_status = 0; }; then : 1960 2910 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1961 2911 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 1965 2915 test -f "$ac_file" || continue 1966 2916 case $ac_file in 1967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1968 2918 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1969 export ac_cv_exeext1970 2919 break;; 1971 2920 * ) break;; … … 1973 2922 done 1974 2923 else 1975 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1976 See \`config.log' for more details." >&5 1977 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1978 See \`config.log' for more details." >&2;} 1979 { (exit 1); exit 1; }; } 1980 fi 1981 1982 rm -f conftest$ac_cv_exeext 1983 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1984 echo "${ECHO_T}$ac_cv_exeext" >&6 2924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2926 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2927 See \`config.log' for more details" "$LINENO" 5 ; } 2928 fi 2929 rm -f conftest conftest$ac_cv_exeext 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2931 $as_echo "$ac_cv_exeext" >&6; } 1985 2932 1986 2933 rm -f conftest.$ac_ext 1987 2934 EXEEXT=$ac_cv_exeext 1988 2935 ac_exeext=$EXEEXT 1989 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1990 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1991 if test "${ac_cv_objext+set}" = set; then 1992 echo $ECHO_N "(cached) $ECHO_C" >&6 1993 else 1994 cat >conftest.$ac_ext <<_ACEOF 1995 /* confdefs.h. */ 1996 _ACEOF 1997 cat confdefs.h >>conftest.$ac_ext 1998 cat >>conftest.$ac_ext <<_ACEOF 2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1999 2937 /* end confdefs.h. */ 2000 2938 #include <stdio.h> 2001 2939 int 2002 2940 main () 2003 2941 { 2942 FILE *f = fopen ("conftest.out", "w"); 2943 return ferror (f) || fclose (f) != 0; 2004 2944 2005 2945 ; … … 2007 2947 } 2008 2948 _ACEOF 2949 ac_clean_files="$ac_clean_files conftest.out" 2950 # Check that the compiler produces executables we can run. If not, either 2951 # the compiler is broken, or we cross compile. 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2953 $as_echo_n "checking whether we are cross compiling... " >&6; } 2954 if test "$cross_compiling" != yes; then 2955 { { ac_try="$ac_link" 2956 case "(($ac_try" in 2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2958 *) ac_try_echo=$ac_try;; 2959 esac 2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2961 $as_echo "$ac_try_echo"; } >&5 2962 (eval "$ac_link") 2>&5 2963 ac_status=$? 2964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2965 test $ac_status = 0; } 2966 if { ac_try='./conftest$ac_cv_exeext' 2967 { { case "(($ac_try" in 2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2969 *) ac_try_echo=$ac_try;; 2970 esac 2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2972 $as_echo "$ac_try_echo"; } >&5 2973 (eval "$ac_try") 2>&5 2974 ac_status=$? 2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2976 test $ac_status = 0; }; }; then 2977 cross_compiling=no 2978 else 2979 if test "$cross_compiling" = maybe; then 2980 cross_compiling=yes 2981 else 2982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2984 as_fn_error $? "cannot run C compiled programs. 2985 If you meant to cross compile, use \`--host'. 2986 See \`config.log' for more details" "$LINENO" 5 ; } 2987 fi 2988 fi 2989 fi 2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2991 $as_echo "$cross_compiling" >&6; } 2992 2993 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2994 ac_clean_files=$ac_clean_files_save 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2996 $as_echo_n "checking for suffix of object files... " >&6; } 2997 if test "${ac_cv_objext+set}" = set; then : 2998 $as_echo_n "(cached) " >&6 2999 else 3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3001 /* end confdefs.h. */ 3002 3003 int 3004 main () 3005 { 3006 3007 ; 3008 return 0; 3009 } 3010 _ACEOF 2009 3011 rm -f conftest.o conftest.obj 2010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2011 (eval $ac_compile) 2>&5 3012 if { { ac_try="$ac_compile" 3013 case "(($ac_try" in 3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3015 *) ac_try_echo=$ac_try;; 3016 esac 3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3018 $as_echo "$ac_try_echo"; } >&5 3019 (eval "$ac_compile") 2>&5 2012 3020 ac_status=$? 2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2014 (exit $ac_status); }; then 2015 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3022 test $ac_status = 0; }; then : 3023 for ac_file in conftest.o conftest.obj conftest.*; do 3024 test -f "$ac_file" || continue; 2016 3025 case $ac_file in 2017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;3026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2018 3027 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2019 3028 break;; … … 2021 3030 done 2022 3031 else 2023 echo "$as_me: failed program was:" >&53032 $as_echo "$as_me: failed program was:" >&5 2024 3033 sed 's/^/| /' conftest.$ac_ext >&5 2025 3034 2026 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2027 See \`config.log' for more details." >&5 2028 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2029 See \`config.log' for more details." >&2;} 2030 { (exit 1); exit 1; }; } 2031 fi 2032 3035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3037 as_fn_error $? "cannot compute suffix of object files: cannot compile 3038 See \`config.log' for more details" "$LINENO" 5 ; } 3039 fi 2033 3040 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2034 3041 fi 2035 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52036 echo "${ECHO_T}$ac_cv_objext" >&6 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3043 $as_echo "$ac_cv_objext" >&6; } 2037 3044 OBJEXT=$ac_cv_objext 2038 3045 ac_objext=$OBJEXT 2039 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2040 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2041 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2042 echo $ECHO_N "(cached) $ECHO_C" >&6 2043 else 2044 cat >conftest.$ac_ext <<_ACEOF 2045 /* confdefs.h. */ 2046 _ACEOF 2047 cat confdefs.h >>conftest.$ac_ext 2048 cat >>conftest.$ac_ext <<_ACEOF 3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3047 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3048 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3049 $as_echo_n "(cached) " >&6 3050 else 3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2049 3052 /* end confdefs.h. */ 2050 3053 … … 2060 3063 } 2061 3064 _ACEOF 2062 rm -f conftest.$ac_objext 2063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2064 (eval $ac_compile) 2>conftest.er1 2065 ac_status=$? 2066 grep -v '^ *+' conftest.er1 >conftest.err 2067 rm -f conftest.er1 2068 cat conftest.err >&5 2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2070 (exit $ac_status); } && 2071 { ac_try='test -z "$ac_c_werror_flag" 2072 || test ! -s conftest.err' 2073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2074 (eval $ac_try) 2>&5 2075 ac_status=$? 2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2077 (exit $ac_status); }; } && 2078 { ac_try='test -s conftest.$ac_objext' 2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2080 (eval $ac_try) 2>&5 2081 ac_status=$? 2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2083 (exit $ac_status); }; }; then 3065 if ac_fn_c_try_compile "$LINENO"; then : 2084 3066 ac_compiler_gnu=yes 2085 3067 else 2086 echo "$as_me: failed program was:" >&5 2087 sed 's/^/| /' conftest.$ac_ext >&5 2088 2089 ac_compiler_gnu=no 2090 fi 2091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3068 ac_compiler_gnu=no 3069 fi 3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2092 3071 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2093 3072 2094 3073 fi 2095 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2096 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2097 GCC=`test $ac_compiler_gnu = yes && echo yes` 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3075 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3076 if test $ac_compiler_gnu = yes; then 3077 GCC=yes 3078 else 3079 GCC= 3080 fi 2098 3081 ac_test_CFLAGS=${CFLAGS+set} 2099 3082 ac_save_CFLAGS=$CFLAGS 2100 CFLAGS="-g" 2101 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2102 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2103 if test "${ac_cv_prog_cc_g+set}" = set; then 2104 echo $ECHO_N "(cached) $ECHO_C" >&6 2105 else 2106 cat >conftest.$ac_ext <<_ACEOF 2107 /* confdefs.h. */ 2108 _ACEOF 2109 cat confdefs.h >>conftest.$ac_ext 2110 cat >>conftest.$ac_ext <<_ACEOF 3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3084 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3085 if test "${ac_cv_prog_cc_g+set}" = set; then : 3086 $as_echo_n "(cached) " >&6 3087 else 3088 ac_save_c_werror_flag=$ac_c_werror_flag 3089 ac_c_werror_flag=yes 3090 ac_cv_prog_cc_g=no 3091 CFLAGS="-g" 3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2111 3093 /* end confdefs.h. */ 2112 3094 … … 2119 3101 } 2120 3102 _ACEOF 2121 rm -f conftest.$ac_objext 2122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2123 (eval $ac_compile) 2>conftest.er1 2124 ac_status=$? 2125 grep -v '^ *+' conftest.er1 >conftest.err 2126 rm -f conftest.er1 2127 cat conftest.err >&5 2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2129 (exit $ac_status); } && 2130 { ac_try='test -z "$ac_c_werror_flag" 2131 || test ! -s conftest.err' 2132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2133 (eval $ac_try) 2>&5 2134 ac_status=$? 2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2136 (exit $ac_status); }; } && 2137 { ac_try='test -s conftest.$ac_objext' 2138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2139 (eval $ac_try) 2>&5 2140 ac_status=$? 2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2142 (exit $ac_status); }; }; then 3103 if ac_fn_c_try_compile "$LINENO"; then : 2143 3104 ac_cv_prog_cc_g=yes 2144 3105 else 2145 echo "$as_me: failed program was:" >&5 2146 sed 's/^/| /' conftest.$ac_ext >&5 2147 2148 ac_cv_prog_cc_g=no 2149 fi 2150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2151 fi 2152 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2153 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3106 CFLAGS="" 3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3108 /* end confdefs.h. */ 3109 3110 int 3111 main () 3112 { 3113 3114 ; 3115 return 0; 3116 } 3117 _ACEOF 3118 if ac_fn_c_try_compile "$LINENO"; then : 3119 3120 else 3121 ac_c_werror_flag=$ac_save_c_werror_flag 3122 CFLAGS="-g" 3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3124 /* end confdefs.h. */ 3125 3126 int 3127 main () 3128 { 3129 3130 ; 3131 return 0; 3132 } 3133 _ACEOF 3134 if ac_fn_c_try_compile "$LINENO"; then : 3135 ac_cv_prog_cc_g=yes 3136 fi 3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3138 fi 3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3140 fi 3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3142 ac_c_werror_flag=$ac_save_c_werror_flag 3143 fi 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3145 $as_echo "$ac_cv_prog_cc_g" >&6; } 2154 3146 if test "$ac_test_CFLAGS" = set; then 2155 3147 CFLAGS=$ac_save_CFLAGS … … 2167 3159 fi 2168 3160 fi 2169 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52170 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2171 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2172 echo $ECHO_N "(cached) $ECHO_C" >&62173 else 2174 ac_cv_prog_cc_ stdc=no3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3162 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3163 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3164 $as_echo_n "(cached) " >&6 3165 else 3166 ac_cv_prog_cc_c89=no 2175 3167 ac_save_CC=$CC 2176 cat >conftest.$ac_ext <<_ACEOF 2177 /* confdefs.h. */ 2178 _ACEOF 2179 cat confdefs.h >>conftest.$ac_ext 2180 cat >>conftest.$ac_ext <<_ACEOF 3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2181 3169 /* end confdefs.h. */ 2182 3170 #include <stdarg.h> … … 2206 3194 function prototypes and stuff, but not '\xHH' hex character constants. 2207 3195 These don't provoke an error unfortunately, instead are silently treated 2208 as 'x'. The following induces an error, until -std 1is added to get3196 as 'x'. The following induces an error, until -std is added to get 2209 3197 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2210 3198 array size at least. It's necessary to write '\x00'==0 to get something 2211 that's true only with -std 1. */3199 that's true only with -std. */ 2212 3200 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3201 3202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3203 inside strings and character constants. */ 3204 #define FOO(x) 'x' 3205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2213 3206 2214 3207 int test (int i, double x); … … 2226 3219 } 2227 3220 _ACEOF 2228 # Don't try gcc -ansi; that turns off useful extensions and 2229 # breaks some systems' header files. 2230 # AIX -qlanglvl=ansi 2231 # Ultrix and OSF/1 -std1 2232 # HP-UX 10.20 and later -Ae 2233 # HP-UX older versions -Aa -D_HPUX_SOURCE 2234 # SVR4 -Xc -D__EXTENSIONS__ 2235 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3222 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2236 3223 do 2237 3224 CC="$ac_save_CC $ac_arg" 2238 rm -f conftest.$ac_objext 2239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2240 (eval $ac_compile) 2>conftest.er1 2241 ac_status=$? 2242 grep -v '^ *+' conftest.er1 >conftest.err 2243 rm -f conftest.er1 2244 cat conftest.err >&5 2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2246 (exit $ac_status); } && 2247 { ac_try='test -z "$ac_c_werror_flag" 2248 || test ! -s conftest.err' 2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2250 (eval $ac_try) 2>&5 2251 ac_status=$? 2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2253 (exit $ac_status); }; } && 2254 { ac_try='test -s conftest.$ac_objext' 2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2256 (eval $ac_try) 2>&5 2257 ac_status=$? 2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2259 (exit $ac_status); }; }; then 2260 ac_cv_prog_cc_stdc=$ac_arg 2261 break 2262 else 2263 echo "$as_me: failed program was:" >&5 2264 sed 's/^/| /' conftest.$ac_ext >&5 2265 2266 fi 2267 rm -f conftest.err conftest.$ac_objext 3225 if ac_fn_c_try_compile "$LINENO"; then : 3226 ac_cv_prog_cc_c89=$ac_arg 3227 fi 3228 rm -f core conftest.err conftest.$ac_objext 3229 test "x$ac_cv_prog_cc_c89" != "xno" && break 2268 3230 done 2269 rm -f conftest.$ac_ext conftest.$ac_objext3231 rm -f conftest.$ac_ext 2270 3232 CC=$ac_save_CC 2271 3233 2272 3234 fi 2273 2274 case "x$ac_cv_prog_cc_stdc" in 2275 x|xno) 2276 echo "$as_me:$LINENO: result: none needed" >&5 2277 echo "${ECHO_T}none needed" >&6 ;; 3235 # AC_CACHE_VAL 3236 case "x$ac_cv_prog_cc_c89" in 3237 x) 3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3239 $as_echo "none needed" >&6; } ;; 3240 xno) 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3242 $as_echo "unsupported" >&6; } ;; 2278 3243 *) 2279 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52280 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2281 CC="$CC $ac_cv_prog_cc_stdc";;3244 CC="$CC $ac_cv_prog_cc_c89" 3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3246 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2282 3247 esac 2283 2284 # Some people use a C++ compiler to compile C. Since we use `exit', 2285 # in C++ we need to declare it. In case someone uses the same compiler 2286 # for both compiling C and C++ we need to have the C++ compiler decide 2287 # the declaration of exit, since it's the most demanding environment. 2288 cat >conftest.$ac_ext <<_ACEOF 2289 #ifndef __cplusplus 2290 choke me 2291 #endif 2292 _ACEOF 2293 rm -f conftest.$ac_objext 2294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2295 (eval $ac_compile) 2>conftest.er1 2296 ac_status=$? 2297 grep -v '^ *+' conftest.er1 >conftest.err 2298 rm -f conftest.er1 2299 cat conftest.err >&5 2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2301 (exit $ac_status); } && 2302 { ac_try='test -z "$ac_c_werror_flag" 2303 || test ! -s conftest.err' 2304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2305 (eval $ac_try) 2>&5 2306 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 (exit $ac_status); }; } && 2309 { ac_try='test -s conftest.$ac_objext' 2310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2311 (eval $ac_try) 2>&5 2312 ac_status=$? 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314 (exit $ac_status); }; }; then 2315 for ac_declaration in \ 2316 '' \ 2317 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2318 'extern "C" void std::exit (int); using std::exit;' \ 2319 'extern "C" void exit (int) throw ();' \ 2320 'extern "C" void exit (int);' \ 2321 'void exit (int);' 2322 do 2323 cat >conftest.$ac_ext <<_ACEOF 2324 /* confdefs.h. */ 2325 _ACEOF 2326 cat confdefs.h >>conftest.$ac_ext 2327 cat >>conftest.$ac_ext <<_ACEOF 2328 /* end confdefs.h. */ 2329 $ac_declaration 2330 #include <stdlib.h> 2331 int 2332 main () 2333 { 2334 exit (42); 2335 ; 2336 return 0; 2337 } 2338 _ACEOF 2339 rm -f conftest.$ac_objext 2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2341 (eval $ac_compile) 2>conftest.er1 2342 ac_status=$? 2343 grep -v '^ *+' conftest.er1 >conftest.err 2344 rm -f conftest.er1 2345 cat conftest.err >&5 2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2347 (exit $ac_status); } && 2348 { ac_try='test -z "$ac_c_werror_flag" 2349 || test ! -s conftest.err' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; } && 2355 { ac_try='test -s conftest.$ac_objext' 2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 (eval $ac_try) 2>&5 2358 ac_status=$? 2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 (exit $ac_status); }; }; then 2361 : 2362 else 2363 echo "$as_me: failed program was:" >&5 2364 sed 's/^/| /' conftest.$ac_ext >&5 2365 2366 continue 2367 fi 2368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2369 cat >conftest.$ac_ext <<_ACEOF 2370 /* confdefs.h. */ 2371 _ACEOF 2372 cat confdefs.h >>conftest.$ac_ext 2373 cat >>conftest.$ac_ext <<_ACEOF 2374 /* end confdefs.h. */ 2375 $ac_declaration 2376 int 2377 main () 2378 { 2379 exit (42); 2380 ; 2381 return 0; 2382 } 2383 _ACEOF 2384 rm -f conftest.$ac_objext 2385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2386 (eval $ac_compile) 2>conftest.er1 2387 ac_status=$? 2388 grep -v '^ *+' conftest.er1 >conftest.err 2389 rm -f conftest.er1 2390 cat conftest.err >&5 2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2392 (exit $ac_status); } && 2393 { ac_try='test -z "$ac_c_werror_flag" 2394 || test ! -s conftest.err' 2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2396 (eval $ac_try) 2>&5 2397 ac_status=$? 2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2399 (exit $ac_status); }; } && 2400 { ac_try='test -s conftest.$ac_objext' 2401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2402 (eval $ac_try) 2>&5 2403 ac_status=$? 2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2405 (exit $ac_status); }; }; then 2406 break 2407 else 2408 echo "$as_me: failed program was:" >&5 2409 sed 's/^/| /' conftest.$ac_ext >&5 2410 2411 fi 2412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2413 done 2414 rm -f conftest* 2415 if test -n "$ac_declaration"; then 2416 echo '#ifdef __cplusplus' >>confdefs.h 2417 echo $ac_declaration >>confdefs.h 2418 echo '#endif' >>confdefs.h 2419 fi 2420 2421 else 2422 echo "$as_me: failed program was:" >&5 2423 sed 's/^/| /' conftest.$ac_ext >&5 2424 2425 fi 2426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3248 if test "x$ac_cv_prog_cc_c89" != xno; then : 3249 3250 fi 3251 2427 3252 ac_ext=c 2428 3253 ac_cpp='$CPP $CPPFLAGS' … … 2431 3256 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2432 3257 2433 ac_ext=c c3258 ac_ext=cpp 2434 3259 ac_cpp='$CXXCPP $CPPFLAGS' 2435 3260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2436 3261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2437 3262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2438 if test -n "$ac_tool_prefix"; then 2439 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3263 if test -z "$CXX"; then 3264 if test -n "$CCC"; then 3265 CXX=$CCC 3266 else 3267 if test -n "$ac_tool_prefix"; then 3268 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2440 3269 do 2441 3270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2442 3271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2443 echo "$as_me:$LINENO: checking for $ac_word" >&52444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2445 if test "${ac_cv_prog_CXX+set}" = set; then 2446 echo $ECHO_N "(cached) $ECHO_C" >&63272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3273 $as_echo_n "checking for $ac_word... " >&6; } 3274 if test "${ac_cv_prog_CXX+set}" = set; then : 3275 $as_echo_n "(cached) " >&6 2447 3276 else 2448 3277 if test -n "$CXX"; then … … 2454 3283 IFS=$as_save_IFS 2455 3284 test -z "$as_dir" && as_dir=. 2456 for ac_exec_ext in '' $ac_executable_extensions; do2457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3285 for ac_exec_ext in '' $ac_executable_extensions; do 3286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2458 3287 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2460 3289 break 2 2461 3290 fi 2462 3291 done 2463 done 3292 done 3293 IFS=$as_save_IFS 2464 3294 2465 3295 fi … … 2467 3297 CXX=$ac_cv_prog_CXX 2468 3298 if test -n "$CXX"; then 2469 echo "$as_me:$LINENO: result: $CXX" >&5 2470 echo "${ECHO_T}$CXX" >&6 2471 else 2472 echo "$as_me:$LINENO: result: no" >&5 2473 echo "${ECHO_T}no" >&6 2474 fi 3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3300 $as_echo "$CXX" >&6; } 3301 else 3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3303 $as_echo "no" >&6; } 3304 fi 3305 2475 3306 2476 3307 test -n "$CXX" && break … … 2479 3310 if test -z "$CXX"; then 2480 3311 ac_ct_CXX=$CXX 2481 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3312 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2482 3313 do 2483 3314 # Extract the first word of "$ac_prog", so it can be a program name with args. 2484 3315 set dummy $ac_prog; ac_word=$2 2485 echo "$as_me:$LINENO: checking for $ac_word" >&52486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2487 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2488 echo $ECHO_N "(cached) $ECHO_C" >&63316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3317 $as_echo_n "checking for $ac_word... " >&6; } 3318 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3319 $as_echo_n "(cached) " >&6 2489 3320 else 2490 3321 if test -n "$ac_ct_CXX"; then … … 2496 3327 IFS=$as_save_IFS 2497 3328 test -z "$as_dir" && as_dir=. 2498 for ac_exec_ext in '' $ac_executable_extensions; do2499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3329 for ac_exec_ext in '' $ac_executable_extensions; do 3330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2500 3331 ac_cv_prog_ac_ct_CXX="$ac_prog" 2501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2502 3333 break 2 2503 3334 fi 2504 3335 done 2505 done 3336 done 3337 IFS=$as_save_IFS 2506 3338 2507 3339 fi … … 2509 3341 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2510 3342 if test -n "$ac_ct_CXX"; then 2511 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2512 echo "${ECHO_T}$ac_ct_CXX" >&6 2513 else 2514 echo "$as_me:$LINENO: result: no" >&5 2515 echo "${ECHO_T}no" >&6 2516 fi 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3344 $as_echo "$ac_ct_CXX" >&6; } 3345 else 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3347 $as_echo "no" >&6; } 3348 fi 3349 2517 3350 2518 3351 test -n "$ac_ct_CXX" && break 2519 3352 done 2520 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2521 2522 CXX=$ac_ct_CXX 2523 fi 2524 2525 3353 3354 if test "x$ac_ct_CXX" = x; then 3355 CXX="g++" 3356 else 3357 case $cross_compiling:$ac_tool_warned in 3358 yes:) 3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3361 ac_tool_warned=yes ;; 3362 esac 3363 CXX=$ac_ct_CXX 3364 fi 3365 fi 3366 3367 fi 3368 fi 2526 3369 # Provide some information about the compiler. 2527 echo "$as_me:$LINENO:" \ 2528 "checking for C++ compiler version" >&5 2529 ac_compiler=`set X $ac_compile; echo $2` 2530 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2531 (eval $ac_compiler --version </dev/null >&5) 2>&5 3370 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3371 set X $ac_compile 3372 ac_compiler=$2 3373 for ac_option in --version -v -V -qversion; do 3374 { { ac_try="$ac_compiler $ac_option >&5" 3375 case "(($ac_try" in 3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3377 *) ac_try_echo=$ac_try;; 3378 esac 3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3380 $as_echo "$ac_try_echo"; } >&5 3381 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2532 3382 ac_status=$? 2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2534 (exit $ac_status); } 2535 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2536 (eval $ac_compiler -v </dev/null >&5) 2>&5 2537 ac_status=$? 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2539 (exit $ac_status); } 2540 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2541 (eval $ac_compiler -V </dev/null >&5) 2>&5 2542 ac_status=$? 2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 (exit $ac_status); } 2545 2546 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2547 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2548 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2549 echo $ECHO_N "(cached) $ECHO_C" >&6 2550 else 2551 cat >conftest.$ac_ext <<_ACEOF 2552 /* confdefs.h. */ 2553 _ACEOF 2554 cat confdefs.h >>conftest.$ac_ext 2555 cat >>conftest.$ac_ext <<_ACEOF 3383 if test -s conftest.err; then 3384 sed '10a\ 3385 ... rest of stderr output deleted ... 3386 10q' conftest.err >conftest.er1 3387 cat conftest.er1 >&5 3388 fi 3389 rm -f conftest.er1 conftest.err 3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3391 test $ac_status = 0; } 3392 done 3393 3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3395 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3396 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3397 $as_echo_n "(cached) " >&6 3398 else 3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2556 3400 /* end confdefs.h. */ 2557 3401 … … 2567 3411 } 2568 3412 _ACEOF 2569 rm -f conftest.$ac_objext 2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2571 (eval $ac_compile) 2>conftest.er1 2572 ac_status=$? 2573 grep -v '^ *+' conftest.er1 >conftest.err 2574 rm -f conftest.er1 2575 cat conftest.err >&5 2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2577 (exit $ac_status); } && 2578 { ac_try='test -z "$ac_cxx_werror_flag" 2579 || test ! -s conftest.err' 2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2581 (eval $ac_try) 2>&5 2582 ac_status=$? 2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2584 (exit $ac_status); }; } && 2585 { ac_try='test -s conftest.$ac_objext' 2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2587 (eval $ac_try) 2>&5 2588 ac_status=$? 2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2590 (exit $ac_status); }; }; then 3413 if ac_fn_cxx_try_compile "$LINENO"; then : 2591 3414 ac_compiler_gnu=yes 2592 3415 else 2593 echo "$as_me: failed program was:" >&5 2594 sed 's/^/| /' conftest.$ac_ext >&5 2595 2596 ac_compiler_gnu=no 2597 fi 2598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3416 ac_compiler_gnu=no 3417 fi 3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2599 3419 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2600 3420 2601 3421 fi 2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2604 GXX=`test $ac_compiler_gnu = yes && echo yes` 3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3423 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3424 if test $ac_compiler_gnu = yes; then 3425 GXX=yes 3426 else 3427 GXX= 3428 fi 2605 3429 ac_test_CXXFLAGS=${CXXFLAGS+set} 2606 3430 ac_save_CXXFLAGS=$CXXFLAGS 2607 CXXFLAGS="-g" 2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2610 if test "${ac_cv_prog_cxx_g+set}" = set; then 2611 echo $ECHO_N "(cached) $ECHO_C" >&6 2612 else 2613 cat >conftest.$ac_ext <<_ACEOF 2614 /* confdefs.h. */ 2615 _ACEOF 2616 cat confdefs.h >>conftest.$ac_ext 2617 cat >>conftest.$ac_ext <<_ACEOF 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3432 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3433 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3434 $as_echo_n "(cached) " >&6 3435 else 3436 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3437 ac_cxx_werror_flag=yes 3438 ac_cv_prog_cxx_g=no 3439 CXXFLAGS="-g" 3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2618 3441 /* end confdefs.h. */ 2619 3442 … … 2626 3449 } 2627 3450 _ACEOF 2628 rm -f conftest.$ac_objext 2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2630 (eval $ac_compile) 2>conftest.er1 2631 ac_status=$? 2632 grep -v '^ *+' conftest.er1 >conftest.err 2633 rm -f conftest.er1 2634 cat conftest.err >&5 2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2636 (exit $ac_status); } && 2637 { ac_try='test -z "$ac_cxx_werror_flag" 2638 || test ! -s conftest.err' 2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2640 (eval $ac_try) 2>&5 2641 ac_status=$? 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); }; } && 2644 { ac_try='test -s conftest.$ac_objext' 2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2646 (eval $ac_try) 2>&5 2647 ac_status=$? 2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2649 (exit $ac_status); }; }; then 3451 if ac_fn_cxx_try_compile "$LINENO"; then : 2650 3452 ac_cv_prog_cxx_g=yes 2651 3453 else 2652 echo "$as_me: failed program was:" >&5 2653 sed 's/^/| /' conftest.$ac_ext >&5 2654 2655 ac_cv_prog_cxx_g=no 2656 fi 2657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2658 fi 2659 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2660 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3454 CXXFLAGS="" 3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3456 /* end confdefs.h. */ 3457 3458 int 3459 main () 3460 { 3461 3462 ; 3463 return 0; 3464 } 3465 _ACEOF 3466 if ac_fn_cxx_try_compile "$LINENO"; then : 3467 3468 else 3469 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3470 CXXFLAGS="-g" 3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3472 /* end confdefs.h. */ 3473 3474 int 3475 main () 3476 { 3477 3478 ; 3479 return 0; 3480 } 3481 _ACEOF 3482 if ac_fn_cxx_try_compile "$LINENO"; then : 3483 ac_cv_prog_cxx_g=yes 3484 fi 3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3486 fi 3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3488 fi 3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3490 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3491 fi 3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3493 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2661 3494 if test "$ac_test_CXXFLAGS" = set; then 2662 3495 CXXFLAGS=$ac_save_CXXFLAGS … … 2674 3507 fi 2675 3508 fi 2676 for ac_declaration in \2677 '' \2678 'extern "C" void std::exit (int) throw (); using std::exit;' \2679 'extern "C" void std::exit (int); using std::exit;' \2680 'extern "C" void exit (int) throw ();' \2681 'extern "C" void exit (int);' \2682 'void exit (int);'2683 do2684 cat >conftest.$ac_ext <<_ACEOF2685 /* confdefs.h. */2686 _ACEOF2687 cat confdefs.h >>conftest.$ac_ext2688 cat >>conftest.$ac_ext <<_ACEOF2689 /* end confdefs.h. */2690 $ac_declaration2691 #include <stdlib.h>2692 int2693 main ()2694 {2695 exit (42);2696 ;2697 return 0;2698 }2699 _ACEOF2700 rm -f conftest.$ac_objext2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52702 (eval $ac_compile) 2>conftest.er12703 ac_status=$?2704 grep -v '^ *+' conftest.er1 >conftest.err2705 rm -f conftest.er12706 cat conftest.err >&52707 echo "$as_me:$LINENO: \$? = $ac_status" >&52708 (exit $ac_status); } &&2709 { ac_try='test -z "$ac_cxx_werror_flag"2710 || test ! -s conftest.err'2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52712 (eval $ac_try) 2>&52713 ac_status=$?2714 echo "$as_me:$LINENO: \$? = $ac_status" >&52715 (exit $ac_status); }; } &&2716 { ac_try='test -s conftest.$ac_objext'2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52718 (eval $ac_try) 2>&52719 ac_status=$?2720 echo "$as_me:$LINENO: \$? = $ac_status" >&52721 (exit $ac_status); }; }; then2722 :2723 else2724 echo "$as_me: failed program was:" >&52725 sed 's/^/| /' conftest.$ac_ext >&52726 2727 continue2728 fi2729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2730 cat >conftest.$ac_ext <<_ACEOF2731 /* confdefs.h. */2732 _ACEOF2733 cat confdefs.h >>conftest.$ac_ext2734 cat >>conftest.$ac_ext <<_ACEOF2735 /* end confdefs.h. */2736 $ac_declaration2737 int2738 main ()2739 {2740 exit (42);2741 ;2742 return 0;2743 }2744 _ACEOF2745 rm -f conftest.$ac_objext2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52747 (eval $ac_compile) 2>conftest.er12748 ac_status=$?2749 grep -v '^ *+' conftest.er1 >conftest.err2750 rm -f conftest.er12751 cat conftest.err >&52752 echo "$as_me:$LINENO: \$? = $ac_status" >&52753 (exit $ac_status); } &&2754 { ac_try='test -z "$ac_cxx_werror_flag"2755 || test ! -s conftest.err'2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52757 (eval $ac_try) 2>&52758 ac_status=$?2759 echo "$as_me:$LINENO: \$? = $ac_status" >&52760 (exit $ac_status); }; } &&2761 { ac_try='test -s conftest.$ac_objext'2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52763 (eval $ac_try) 2>&52764 ac_status=$?2765 echo "$as_me:$LINENO: \$? = $ac_status" >&52766 (exit $ac_status); }; }; then2767 break2768 else2769 echo "$as_me: failed program was:" >&52770 sed 's/^/| /' conftest.$ac_ext >&52771 2772 fi2773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2774 done2775 rm -f conftest*2776 if test -n "$ac_declaration"; then2777 echo '#ifdef __cplusplus' >>confdefs.h2778 echo $ac_declaration >>confdefs.h2779 echo '#endif' >>confdefs.h2780 fi2781 2782 3509 ac_ext=c 2783 3510 ac_cpp='$CPP $CPPFLAGS' … … 2786 3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2787 3514 2788 for ac_prog in gawk mawk nawk awk 3515 if test $ENABLE_JAVA = "1" ; then 3516 3517 3518 if test "x$JAVAC" = x ; then 3519 if test "x$JAVAPREFIX" = x; then 3520 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 2789 3521 do 2790 3522 # Extract the first word of "$ac_prog", so it can be a program name with args. 2791 3523 set dummy $ac_prog; ac_word=$2 2792 echo "$as_me:$LINENO: checking for $ac_word" >&52793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2794 if test "${ac_cv_prog_ AWK+set}" = set; then2795 echo $ECHO_N "(cached) $ECHO_C" >&62796 else 2797 if test -n "$ AWK"; then2798 ac_cv_prog_ AWK="$AWK" # Let the user override the test.3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3525 $as_echo_n "checking for $ac_word... " >&6; } 3526 if test "${ac_cv_prog_JAVAC+set}" = set; then : 3527 $as_echo_n "(cached) " >&6 3528 else 3529 if test -n "$JAVAC"; then 3530 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 2799 3531 else 2800 3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2803 3535 IFS=$as_save_IFS 2804 3536 test -z "$as_dir" && as_dir=. 2805 for ac_exec_ext in '' $ac_executable_extensions; do2806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2807 ac_cv_prog_ AWK="$ac_prog"2808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53537 for ac_exec_ext in '' $ac_executable_extensions; do 3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3539 ac_cv_prog_JAVAC="$ac_prog" 3540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2809 3541 break 2 2810 3542 fi 2811 3543 done 3544 done 3545 IFS=$as_save_IFS 3546 3547 fi 3548 fi 3549 JAVAC=$ac_cv_prog_JAVAC 3550 if test -n "$JAVAC"; then 3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3552 $as_echo "$JAVAC" >&6; } 3553 else 3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3555 $as_echo "no" >&6; } 3556 fi 3557 3558 3559 test -n "$JAVAC" && break 2812 3560 done 2813 3561 2814 fi 2815 fi 2816 AWK=$ac_cv_prog_AWK 2817 if test -n "$AWK"; then 2818 echo "$as_me:$LINENO: result: $AWK" >&5 2819 echo "${ECHO_T}$AWK" >&6 2820 else 2821 echo "$as_me:$LINENO: result: no" >&5 2822 echo "${ECHO_T}no" >&6 2823 fi 2824 2825 test -n "$AWK" && break 2826 done 2827 2828 for ac_prog in 'bison -y' byacc 3562 else 3563 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 2829 3564 do 2830 3565 # Extract the first word of "$ac_prog", so it can be a program name with args. 2831 3566 set dummy $ac_prog; ac_word=$2 2832 echo "$as_me:$LINENO: checking for $ac_word" >&52833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2834 if test "${ac_cv_prog_ YACC+set}" = set; then2835 echo $ECHO_N "(cached) $ECHO_C" >&62836 else 2837 if test -n "$ YACC"; then2838 ac_cv_prog_ YACC="$YACC" # Let the user override the test.3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3568 $as_echo_n "checking for $ac_word... " >&6; } 3569 if test "${ac_cv_prog_JAVAC+set}" = set; then : 3570 $as_echo_n "(cached) " >&6 3571 else 3572 if test -n "$JAVAC"; then 3573 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 2839 3574 else 2840 3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2843 3578 IFS=$as_save_IFS 2844 3579 test -z "$as_dir" && as_dir=. 2845 for ac_exec_ext in '' $ac_executable_extensions; do2846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2847 ac_cv_prog_ YACC="$ac_prog"2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53580 for ac_exec_ext in '' $ac_executable_extensions; do 3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3582 ac_cv_prog_JAVAC="$ac_prog" 3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2849 3584 break 2 2850 3585 fi 2851 3586 done 3587 done 3588 IFS=$as_save_IFS 3589 3590 fi 3591 fi 3592 JAVAC=$ac_cv_prog_JAVAC 3593 if test -n "$JAVAC"; then 3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3595 $as_echo "$JAVAC" >&6; } 3596 else 3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3598 $as_echo "no" >&6; } 3599 fi 3600 3601 3602 test -n "$JAVAC" && break 2852 3603 done 3604 test -n "$JAVAC" || JAVAC="$JAVAPREFIX" 3605 3606 fi 3607 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3608 else 3609 echo "Checking for javac... $JAVAC" 3610 fi 3611 3612 3613 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3615 $as_echo_n "checking if $JAVAC works... " >&6; } 3616 if test "${ac_cv_prog_javac_works+set}" = set; then : 3617 $as_echo_n "(cached) " >&6 3618 else 3619 3620 JAVA_TEST=Test.java 3621 CLASS_TEST=Test.class 3622 cat << \EOF > $JAVA_TEST 3623 /* #line 3623 "configure" */ 3624 public class Test { 3625 } 3626 EOF 3627 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3628 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3629 (eval $ac_try) 2>&5 3630 ac_status=$? 3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3632 test $ac_status = 0; }; } >/dev/null 2>&1; then 3633 ac_cv_prog_javac_works=yes 3634 else 3635 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3636 echo "configure: failed program was:" >&5 3637 cat $JAVA_TEST >&5 3638 fi 3639 rm -f $JAVA_TEST $CLASS_TEST 3640 3641 fi 3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3643 $as_echo "$ac_cv_prog_javac_works" >&6; } 3644 if test "x$JAVACFLAGS" = x ; then 3645 JAVACFLAGS="-source 1.4 -target 1.4" 3646 fi 3647 3648 3649 3650 3651 if test "x$JAVA" = x ; then 3652 if test x$JAVAPREFIX = x; then 3653 test x$JAVA = x && for ac_prog in java$EXEEXT 3654 do 3655 # Extract the first word of "$ac_prog", so it can be a program name with args. 3656 set dummy $ac_prog; ac_word=$2 3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3658 $as_echo_n "checking for $ac_word... " >&6; } 3659 if test "${ac_cv_prog_JAVA+set}" = set; then : 3660 $as_echo_n "(cached) " >&6 3661 else 3662 if test -n "$JAVA"; then 3663 ac_cv_prog_JAVA="$JAVA" # Let the user override the test. 3664 else 3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3666 for as_dir in $PATH 3667 do 3668 IFS=$as_save_IFS 3669 test -z "$as_dir" && as_dir=. 3670 for ac_exec_ext in '' $ac_executable_extensions; do 3671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3672 ac_cv_prog_JAVA="$ac_prog" 3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3674 break 2 3675 fi 3676 done 3677 done 3678 IFS=$as_save_IFS 3679 3680 fi 3681 fi 3682 JAVA=$ac_cv_prog_JAVA 3683 if test -n "$JAVA"; then 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3685 $as_echo "$JAVA" >&6; } 3686 else 3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3688 $as_echo "no" >&6; } 3689 fi 3690 3691 3692 test -n "$JAVA" && break 3693 done 3694 3695 else 3696 test x$JAVA = x && for ac_prog in java$EXEEXT 3697 do 3698 # Extract the first word of "$ac_prog", so it can be a program name with args. 3699 set dummy $ac_prog; ac_word=$2 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3701 $as_echo_n "checking for $ac_word... " >&6; } 3702 if test "${ac_cv_prog_JAVA+set}" = set; then : 3703 $as_echo_n "(cached) " >&6 3704 else 3705 if test -n "$JAVA"; then 3706 ac_cv_prog_JAVA="$JAVA" # Let the user override the test. 3707 else 3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3709 for as_dir in $PATH 3710 do 3711 IFS=$as_save_IFS 3712 test -z "$as_dir" && as_dir=. 3713 for ac_exec_ext in '' $ac_executable_extensions; do 3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3715 ac_cv_prog_JAVA="$ac_prog" 3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3717 break 2 3718 fi 3719 done 3720 done 3721 IFS=$as_save_IFS 3722 3723 fi 3724 fi 3725 JAVA=$ac_cv_prog_JAVA 3726 if test -n "$JAVA"; then 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5 3728 $as_echo "$JAVA" >&6; } 3729 else 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3731 $as_echo "no" >&6; } 3732 fi 3733 3734 3735 test -n "$JAVA" && break 3736 done 3737 test -n "$JAVA" || JAVA="$JAVAPREFIX" 3738 3739 fi 3740 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 3741 fi 3742 3743 3744 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. 3745 set dummy uudecode$EXEEXT; ac_word=$2 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3747 $as_echo_n "checking for $ac_word... " >&6; } 3748 if test "${ac_cv_prog_uudecode+set}" = set; then : 3749 $as_echo_n "(cached) " >&6 3750 else 3751 if test -n "$uudecode"; then 3752 ac_cv_prog_uudecode="$uudecode" # Let the user override the test. 3753 else 3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3755 for as_dir in $PATH 3756 do 3757 IFS=$as_save_IFS 3758 test -z "$as_dir" && as_dir=. 3759 for ac_exec_ext in '' $ac_executable_extensions; do 3760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3761 ac_cv_prog_uudecode="yes" 3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3763 break 2 3764 fi 3765 done 3766 done 3767 IFS=$as_save_IFS 3768 3769 fi 3770 fi 3771 uudecode=$ac_cv_prog_uudecode 3772 if test -n "$uudecode"; then 3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5 3774 $as_echo "$uudecode" >&6; } 3775 else 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3777 $as_echo "no" >&6; } 3778 fi 3779 3780 3781 if test x$uudecode = xyes; then 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5 3783 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; } 3784 if test "${ac_cv_prog_uudecode_base64+set}" = set; then : 3785 $as_echo_n "(cached) " >&6 3786 else 3787 3788 cat << \EOF > Test.uue 3789 begin-base64 644 Test.class 3790 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE 3791 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51 3792 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s 3793 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG 3794 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB 3795 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB 3796 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ= 3797 ==== 3798 EOF 3799 if uudecode$EXEEXT Test.uue; then 3800 ac_cv_prog_uudecode_base64=yes 3801 else 3802 echo "configure: 3802: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 3803 echo "configure: failed file was:" >&5 3804 cat Test.uue >&5 3805 ac_cv_prog_uudecode_base64=no 3806 fi 3807 rm -f Test.uue 3808 fi 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5 3810 $as_echo "$ac_cv_prog_uudecode_base64" >&6; } 3811 fi 3812 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3813 rm -f Test.class 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5 3815 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 3816 if test x$ac_cv_prog_javac_works = xno; then 3817 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 3818 fi 3819 if test x$ac_cv_prog_javac_works = x; then 3820 3821 if test "x$JAVAC" = x ; then 3822 if test "x$JAVAPREFIX" = x; then 3823 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 3824 do 3825 # Extract the first word of "$ac_prog", so it can be a program name with args. 3826 set dummy $ac_prog; ac_word=$2 3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3828 $as_echo_n "checking for $ac_word... " >&6; } 3829 if test "${ac_cv_prog_JAVAC+set}" = set; then : 3830 $as_echo_n "(cached) " >&6 3831 else 3832 if test -n "$JAVAC"; then 3833 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 3834 else 3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3836 for as_dir in $PATH 3837 do 3838 IFS=$as_save_IFS 3839 test -z "$as_dir" && as_dir=. 3840 for ac_exec_ext in '' $ac_executable_extensions; do 3841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3842 ac_cv_prog_JAVAC="$ac_prog" 3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3844 break 2 3845 fi 3846 done 3847 done 3848 IFS=$as_save_IFS 3849 3850 fi 3851 fi 3852 JAVAC=$ac_cv_prog_JAVAC 3853 if test -n "$JAVAC"; then 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3855 $as_echo "$JAVAC" >&6; } 3856 else 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3858 $as_echo "no" >&6; } 3859 fi 3860 3861 3862 test -n "$JAVAC" && break 3863 done 3864 3865 else 3866 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 3867 do 3868 # Extract the first word of "$ac_prog", so it can be a program name with args. 3869 set dummy $ac_prog; ac_word=$2 3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3871 $as_echo_n "checking for $ac_word... " >&6; } 3872 if test "${ac_cv_prog_JAVAC+set}" = set; then : 3873 $as_echo_n "(cached) " >&6 3874 else 3875 if test -n "$JAVAC"; then 3876 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 3877 else 3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3879 for as_dir in $PATH 3880 do 3881 IFS=$as_save_IFS 3882 test -z "$as_dir" && as_dir=. 3883 for ac_exec_ext in '' $ac_executable_extensions; do 3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3885 ac_cv_prog_JAVAC="$ac_prog" 3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3887 break 2 3888 fi 3889 done 3890 done 3891 IFS=$as_save_IFS 3892 3893 fi 3894 fi 3895 JAVAC=$ac_cv_prog_JAVAC 3896 if test -n "$JAVAC"; then 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3898 $as_echo "$JAVAC" >&6; } 3899 else 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3901 $as_echo "no" >&6; } 3902 fi 3903 3904 3905 test -n "$JAVAC" && break 3906 done 3907 test -n "$JAVAC" || JAVAC="$JAVAPREFIX" 3908 3909 fi 3910 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3911 else 3912 echo "Checking for javac... $JAVAC" 3913 fi 3914 3915 3916 3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3918 $as_echo_n "checking if $JAVAC works... " >&6; } 3919 if test "${ac_cv_prog_javac_works+set}" = set; then : 3920 $as_echo_n "(cached) " >&6 3921 else 3922 3923 JAVA_TEST=Test.java 3924 CLASS_TEST=Test.class 3925 cat << \EOF > $JAVA_TEST 3926 /* #line 3926 "configure" */ 3927 public class Test { 3928 } 3929 EOF 3930 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3931 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3932 (eval $ac_try) 2>&5 3933 ac_status=$? 3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3935 test $ac_status = 0; }; } >/dev/null 2>&1; then 3936 ac_cv_prog_javac_works=yes 3937 else 3938 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3939 echo "configure: failed program was:" >&5 3940 cat $JAVA_TEST >&5 3941 fi 3942 rm -f $JAVA_TEST $CLASS_TEST 3943 3944 fi 3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3946 $as_echo "$ac_cv_prog_javac_works" >&6; } 3947 if test "x$JAVACFLAGS" = x ; then 3948 JAVACFLAGS="-source 1.4 -target 1.4" 3949 fi 3950 3951 3952 3953 fi 3954 fi 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5 3956 $as_echo_n "checking if $JAVA works... " >&6; } 3957 if test "${ac_cv_prog_java_works+set}" = set; then : 3958 $as_echo_n "(cached) " >&6 3959 else 3960 3961 JAVA_TEST=Test.java 3962 CLASS_TEST=Test.class 3963 TEST=Test 3964 cat << \EOF > $JAVA_TEST 3965 /* [#]line 3965 "configure" */ 3966 public class Test { 3967 public static void main (String args[]) { 3968 System.exit (0); 3969 } } 3970 EOF 3971 if test x$ac_cv_prog_uudecode_base64 != xyes; then 3972 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3973 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3974 (eval $ac_try) 2>&5 3975 ac_status=$? 3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3977 test $ac_status = 0; }; } && test -s $CLASS_TEST; then 3978 : 3979 else 3980 echo "configure: failed program was:" >&5 3981 cat $JAVA_TEST >&5 3982 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3983 fi 3984 fi 3985 if { ac_try='$JAVA $JAVAFLAGS $TEST' 3986 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3987 (eval $ac_try) 2>&5 3988 ac_status=$? 3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3990 test $ac_status = 0; }; } >/dev/null 2>&1; then 3991 ac_cv_prog_java_works=yes 3992 else 3993 echo "configure: failed program was:" >&5 3994 cat $JAVA_TEST >&5 3995 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3996 fi 3997 rm -fr $JAVA_TEST $CLASS_TEST Test.uue 3998 3999 fi 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5 4001 $as_echo "$ac_cv_prog_java_works" >&6; } 4002 4003 4004 4005 fi 4006 for ac_prog in gawk mawk nawk awk 4007 do 4008 # Extract the first word of "$ac_prog", so it can be a program name with args. 4009 set dummy $ac_prog; ac_word=$2 4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4011 $as_echo_n "checking for $ac_word... " >&6; } 4012 if test "${ac_cv_prog_AWK+set}" = set; then : 4013 $as_echo_n "(cached) " >&6 4014 else 4015 if test -n "$AWK"; then 4016 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4017 else 4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4019 for as_dir in $PATH 4020 do 4021 IFS=$as_save_IFS 4022 test -z "$as_dir" && as_dir=. 4023 for ac_exec_ext in '' $ac_executable_extensions; do 4024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4025 ac_cv_prog_AWK="$ac_prog" 4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4027 break 2 4028 fi 4029 done 4030 done 4031 IFS=$as_save_IFS 4032 4033 fi 4034 fi 4035 AWK=$ac_cv_prog_AWK 4036 if test -n "$AWK"; then 4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4038 $as_echo "$AWK" >&6; } 4039 else 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4041 $as_echo "no" >&6; } 4042 fi 4043 4044 4045 test -n "$AWK" && break 4046 done 4047 4048 for ac_prog in 'bison -y' byacc 4049 do 4050 # Extract the first word of "$ac_prog", so it can be a program name with args. 4051 set dummy $ac_prog; ac_word=$2 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4053 $as_echo_n "checking for $ac_word... " >&6; } 4054 if test "${ac_cv_prog_YACC+set}" = set; then : 4055 $as_echo_n "(cached) " >&6 4056 else 4057 if test -n "$YACC"; then 4058 ac_cv_prog_YACC="$YACC" # Let the user override the test. 4059 else 4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4061 for as_dir in $PATH 4062 do 4063 IFS=$as_save_IFS 4064 test -z "$as_dir" && as_dir=. 4065 for ac_exec_ext in '' $ac_executable_extensions; do 4066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4067 ac_cv_prog_YACC="$ac_prog" 4068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4069 break 2 4070 fi 4071 done 4072 done 4073 IFS=$as_save_IFS 2853 4074 2854 4075 fi … … 2856 4077 YACC=$ac_cv_prog_YACC 2857 4078 if test -n "$YACC"; then 2858 echo "$as_me:$LINENO: result: $YACC" >&5 2859 echo "${ECHO_T}$YACC" >&6 2860 else 2861 echo "$as_me:$LINENO: result: no" >&5 2862 echo "${ECHO_T}no" >&6 2863 fi 4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 4080 $as_echo "$YACC" >&6; } 4081 else 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4083 $as_echo "no" >&6; } 4084 fi 4085 2864 4086 2865 4087 test -n "$YACC" && break … … 2868 4090 2869 4091 ac_aux_dir= 2870 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2871 if test -f $ac_dir/install-sh; then4092 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4093 if test -f "$ac_dir/install-sh"; then 2872 4094 ac_aux_dir=$ac_dir 2873 4095 ac_install_sh="$ac_aux_dir/install-sh -c" 2874 4096 break 2875 elif test -f $ac_dir/install.sh; then4097 elif test -f "$ac_dir/install.sh"; then 2876 4098 ac_aux_dir=$ac_dir 2877 4099 ac_install_sh="$ac_aux_dir/install.sh -c" 2878 4100 break 2879 elif test -f $ac_dir/shtool; then4101 elif test -f "$ac_dir/shtool"; then 2880 4102 ac_aux_dir=$ac_dir 2881 4103 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2884 4106 done 2885 4107 if test -z "$ac_aux_dir"; then 2886 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2887 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2888 { (exit 1); exit 1; }; } 2889 fi 2890 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2891 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2892 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 4108 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 4109 fi 4110 4111 # These three variables are undocumented and unsupported, 4112 # and are intended to be withdrawn in a future Autoconf release. 4113 # They can cause serious problems if a builder's source tree is in a directory 4114 # whose full name contains unusual characters. 4115 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 4116 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 4117 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 4118 2893 4119 2894 4120 # Make sure we can run config.sub. 2895 $ac_config_sub sun4 >/dev/null 2>&1 || 2896 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2897 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2898 { (exit 1); exit 1; }; } 2899 2900 echo "$as_me:$LINENO: checking build system type" >&5 2901 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2902 if test "${ac_cv_build+set}" = set; then 2903 echo $ECHO_N "(cached) $ECHO_C" >&6 2904 else 2905 ac_cv_build_alias=$build_alias 2906 test -z "$ac_cv_build_alias" && 2907 ac_cv_build_alias=`$ac_config_guess` 2908 test -z "$ac_cv_build_alias" && 2909 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2910 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2911 { (exit 1); exit 1; }; } 2912 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2913 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 2914 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 2915 { (exit 1); exit 1; }; } 2916 2917 fi 2918 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2919 echo "${ECHO_T}$ac_cv_build" >&6 4121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4122 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4123 4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4125 $as_echo_n "checking build system type... " >&6; } 4126 if test "${ac_cv_build+set}" = set; then : 4127 $as_echo_n "(cached) " >&6 4128 else 4129 ac_build_alias=$build_alias 4130 test "x$ac_build_alias" = x && 4131 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4132 test "x$ac_build_alias" = x && 4133 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4135 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4136 4137 fi 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4139 $as_echo "$ac_cv_build" >&6; } 4140 case $ac_cv_build in 4141 *-*-*) ;; 4142 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 4143 esac 2920 4144 build=$ac_cv_build 2921 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2922 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2923 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2924 2925 2926 echo "$as_me:$LINENO: checking host system type" >&5 2927 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2928 if test "${ac_cv_host+set}" = set; then 2929 echo $ECHO_N "(cached) $ECHO_C" >&6 2930 else 2931 ac_cv_host_alias=$host_alias 2932 test -z "$ac_cv_host_alias" && 2933 ac_cv_host_alias=$ac_cv_build_alias 2934 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2935 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2936 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2937 { (exit 1); exit 1; }; } 2938 2939 fi 2940 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2941 echo "${ECHO_T}$ac_cv_host" >&6 4145 ac_save_IFS=$IFS; IFS='-' 4146 set x $ac_cv_build 4147 shift 4148 build_cpu=$1 4149 build_vendor=$2 4150 shift; shift 4151 # Remember, the first character of IFS is used to create $*, 4152 # except with old shells: 4153 build_os=$* 4154 IFS=$ac_save_IFS 4155 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4156 4157 4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4159 $as_echo_n "checking host system type... " >&6; } 4160 if test "${ac_cv_host+set}" = set; then : 4161 $as_echo_n "(cached) " >&6 4162 else 4163 if test "x$host_alias" = x; then 4164 ac_cv_host=$ac_cv_build 4165 else 4166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4168 fi 4169 4170 fi 4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4172 $as_echo "$ac_cv_host" >&6; } 4173 case $ac_cv_host in 4174 *-*-*) ;; 4175 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 4176 esac 2942 4177 host=$ac_cv_host 2943 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2944 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2945 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2946 2947 2948 echo "$as_me:$LINENO: checking target system type" >&5 2949 echo $ECHO_N "checking target system type... $ECHO_C" >&6 2950 if test "${ac_cv_target+set}" = set; then 2951 echo $ECHO_N "(cached) $ECHO_C" >&6 2952 else 2953 ac_cv_target_alias=$target_alias 2954 test "x$ac_cv_target_alias" = "x" && 2955 ac_cv_target_alias=$ac_cv_host_alias 2956 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 2957 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 2958 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 2959 { (exit 1); exit 1; }; } 2960 2961 fi 2962 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2963 echo "${ECHO_T}$ac_cv_target" >&6 4178 ac_save_IFS=$IFS; IFS='-' 4179 set x $ac_cv_host 4180 shift 4181 host_cpu=$1 4182 host_vendor=$2 4183 shift; shift 4184 # Remember, the first character of IFS is used to create $*, 4185 # except with old shells: 4186 host_os=$* 4187 IFS=$ac_save_IFS 4188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4189 4190 4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4192 $as_echo_n "checking target system type... " >&6; } 4193 if test "${ac_cv_target+set}" = set; then : 4194 $as_echo_n "(cached) " >&6 4195 else 4196 if test "x$target_alias" = x; then 4197 ac_cv_target=$ac_cv_host 4198 else 4199 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4201 fi 4202 4203 fi 4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4205 $as_echo "$ac_cv_target" >&6; } 4206 case $ac_cv_target in 4207 *-*-*) ;; 4208 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 4209 esac 2964 4210 target=$ac_cv_target 2965 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2966 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2967 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4211 ac_save_IFS=$IFS; IFS='-' 4212 set x $ac_cv_target 4213 shift 4214 target_cpu=$1 4215 target_vendor=$2 4216 shift; shift 4217 # Remember, the first character of IFS is used to create $*, 4218 # except with old shells: 4219 target_os=$* 4220 IFS=$ac_save_IFS 4221 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2968 4222 2969 4223 … … 2974 4228 NONENONEs,x,x, && 2975 4229 program_prefix=${target_alias}- 4230 2976 4231 # Find a good install program. We prefer a C program (faster), 2977 4232 # so one script is as good as another. But avoid the broken or … … 2987 4242 # OS/2's system install, which has a completely different semantic 2988 4243 # ./install, which can be erroneously created by make from ./install.sh. 2989 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2990 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4244 # Reject install programs that cannot install multiple files. 4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4246 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2991 4247 if test -z "$INSTALL"; then 2992 if test "${ac_cv_path_install+set}" = set; then 2993 echo $ECHO_N "(cached) $ECHO_C" >&64248 if test "${ac_cv_path_install+set}" = set; then : 4249 $as_echo_n "(cached) " >&6 2994 4250 else 2995 4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2998 4254 IFS=$as_save_IFS 2999 4255 test -z "$as_dir" && as_dir=. 3000 # Account for people who put trailing slashes in PATH elements.3001 case $as_dir/ in 3002 ./ | .// | / cC/* | \4256 # Account for people who put trailing slashes in PATH elements. 4257 case $as_dir/ in #(( 4258 ./ | .// | /[cC]/* | \ 3003 4259 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3004 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \4260 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3005 4261 /usr/ucb/* ) ;; 3006 4262 *) … … 3010 4266 for ac_prog in ginstall scoinst install; do 3011 4267 for ac_exec_ext in '' $ac_executable_extensions; do 3012 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4268 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3013 4269 if test $ac_prog = install && 3014 4270 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3020 4276 : 3021 4277 else 3022 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3023 break 3 4278 rm -rf conftest.one conftest.two conftest.dir 4279 echo one > conftest.one 4280 echo two > conftest.two 4281 mkdir conftest.dir 4282 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4283 test -s conftest.one && test -s conftest.two && 4284 test -s conftest.dir/conftest.one && 4285 test -s conftest.dir/conftest.two 4286 then 4287 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4288 break 3 4289 fi 3024 4290 fi 3025 4291 fi … … 3028 4294 ;; 3029 4295 esac 3030 done 3031 4296 4297 done 4298 IFS=$as_save_IFS 4299 4300 rm -rf conftest.one conftest.two conftest.dir 3032 4301 3033 4302 fi … … 3035 4304 INSTALL=$ac_cv_path_install 3036 4305 else 3037 # As a last resort, use the slow shell script. We don't cache a3038 # pathfor INSTALL within a source directory, because that will4306 # As a last resort, use the slow shell script. Don't cache a 4307 # value for INSTALL within a source directory, because that will 3039 4308 # break other packages using the cache if that directory is 3040 # removed, or if the path is relative.4309 # removed, or if the value is a relative name. 3041 4310 INSTALL=$ac_install_sh 3042 4311 fi 3043 4312 fi 3044 echo "$as_me:$LINENO: result: $INSTALL" >&53045 echo "${ECHO_T}$INSTALL" >&6 4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4314 $as_echo "$INSTALL" >&6; } 3046 4315 3047 4316 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3053 4322 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3054 4323 3055 echo "$as_me:$LINENO: checking whether ln -s works" >&53056 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4325 $as_echo_n "checking whether ln -s works... " >&6; } 3057 4326 LN_S=$as_ln_s 3058 4327 if test "$LN_S" = "ln -s"; then 3059 echo "$as_me:$LINENO: result: yes" >&5 3060 echo "${ECHO_T}yes" >&6 3061 else 3062 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3063 echo "${ECHO_T}no, using $LN_S" >&6 3064 fi 3065 3066 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3067 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3068 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3069 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3070 echo $ECHO_N "(cached) $ECHO_C" >&6 4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4329 $as_echo "yes" >&6; } 4330 else 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4332 $as_echo "no, using $LN_S" >&6; } 4333 fi 4334 4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4336 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4337 set x ${MAKE-make} 4338 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4339 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 4340 $as_echo_n "(cached) " >&6 3071 4341 else 3072 4342 cat >conftest.make <<\_ACEOF 4343 SHELL = /bin/sh 3073 4344 all: 3074 @echo ' ac_maketemp="$(MAKE)"'3075 _ACEOF 3076 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.3077 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3078 if test -n "$ac_maketemp"; then 3079 eval ac_cv_prog_make_${ac_make}_set=yes3080 else 3081 eval ac_cv_prog_make_${ac_make}_set=no3082 fi 4345 @echo '@@@%%%=$(MAKE)=@@@%%%' 4346 _ACEOF 4347 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4348 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4349 *@@@%%%=?*=@@@%%%*) 4350 eval ac_cv_prog_make_${ac_make}_set=yes;; 4351 *) 4352 eval ac_cv_prog_make_${ac_make}_set=no;; 4353 esac 3083 4354 rm -f conftest.make 3084 4355 fi 3085 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3086 echo "$as_me:$LINENO: result: yes" >&53087 echo "${ECHO_T}yes" >&6 4356 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4358 $as_echo "yes" >&6; } 3088 4359 SET_MAKE= 3089 4360 else 3090 echo "$as_me:$LINENO: result: no" >&53091 echo "${ECHO_T}no" >&6 4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4362 $as_echo "no" >&6; } 3092 4363 SET_MAKE="MAKE=${MAKE-make}" 3093 4364 fi … … 3096 4367 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3097 4368 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3098 echo "$as_me:$LINENO: checking for $ac_word" >&53099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3100 if test "${ac_cv_prog_RANLIB+set}" = set; then 3101 echo $ECHO_N "(cached) $ECHO_C" >&64369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4370 $as_echo_n "checking for $ac_word... " >&6; } 4371 if test "${ac_cv_prog_RANLIB+set}" = set; then : 4372 $as_echo_n "(cached) " >&6 3102 4373 else 3103 4374 if test -n "$RANLIB"; then … … 3109 4380 IFS=$as_save_IFS 3110 4381 test -z "$as_dir" && as_dir=. 3111 for ac_exec_ext in '' $ac_executable_extensions; do3112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4382 for ac_exec_ext in '' $ac_executable_extensions; do 4383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3113 4384 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3115 4386 break 2 3116 4387 fi 3117 4388 done 3118 done 4389 done 4390 IFS=$as_save_IFS 3119 4391 3120 4392 fi … … 3122 4394 RANLIB=$ac_cv_prog_RANLIB 3123 4395 if test -n "$RANLIB"; then 3124 echo "$as_me:$LINENO: result: $RANLIB" >&5 3125 echo "${ECHO_T}$RANLIB" >&6 3126 else 3127 echo "$as_me:$LINENO: result: no" >&5 3128 echo "${ECHO_T}no" >&6 3129 fi 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4397 $as_echo "$RANLIB" >&6; } 4398 else 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4400 $as_echo "no" >&6; } 4401 fi 4402 3130 4403 3131 4404 fi … … 3134 4407 # Extract the first word of "ranlib", so it can be a program name with args. 3135 4408 set dummy ranlib; ac_word=$2 3136 echo "$as_me:$LINENO: checking for $ac_word" >&53137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3139 echo $ECHO_N "(cached) $ECHO_C" >&64409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4410 $as_echo_n "checking for $ac_word... " >&6; } 4411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 4412 $as_echo_n "(cached) " >&6 3140 4413 else 3141 4414 if test -n "$ac_ct_RANLIB"; then … … 3147 4420 IFS=$as_save_IFS 3148 4421 test -z "$as_dir" && as_dir=. 3149 for ac_exec_ext in '' $ac_executable_extensions; do3150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4422 for ac_exec_ext in '' $ac_executable_extensions; do 4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3151 4424 ac_cv_prog_ac_ct_RANLIB="ranlib" 3152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3153 4426 break 2 3154 4427 fi 3155 4428 done 3156 done3157 3158 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4429 done 4430 IFS=$as_save_IFS 4431 3159 4432 fi 3160 4433 fi 3161 4434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3162 4435 if test -n "$ac_ct_RANLIB"; then 3163 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3164 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3165 else 3166 echo "$as_me:$LINENO: result: no" >&5 3167 echo "${ECHO_T}no" >&6 3168 fi 3169 3170 RANLIB=$ac_ct_RANLIB 4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4437 $as_echo "$ac_ct_RANLIB" >&6; } 4438 else 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4440 $as_echo "no" >&6; } 4441 fi 4442 4443 if test "x$ac_ct_RANLIB" = x; then 4444 RANLIB=":" 4445 else 4446 case $cross_compiling:$ac_tool_warned in 4447 yes:) 4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4450 ac_tool_warned=yes ;; 4451 esac 4452 RANLIB=$ac_ct_RANLIB 4453 fi 3171 4454 else 3172 4455 RANLIB="$ac_cv_prog_RANLIB" … … 3174 4457 3175 4458 3176 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53177 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5 4460 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3178 4461 arch_64bit=no 3179 4462 case "$host_cpu" in … … 3182 4465 3183 4466 if test "$arch_64bit" = yes; then 3184 echo "$as_me:$LINENO: result: yes" >&53185 echo "${ECHO_T}yes" >&6 4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4468 $as_echo "yes" >&6; } 3186 4469 if test -z "$COMPAT32BITFLAGS" ; then 3187 4470 COMPAT32BITFLAGS="-m32" 3188 4471 fi 3189 4472 else 3190 echo "$as_me:$LINENO: result: no" >&53191 echo "${ECHO_T}no" >&6 4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4474 $as_echo "no" >&6; } 3192 4475 if test -z "$COMPAT32BITFLAGS" ; then 3193 4476 COMPAT32BITFLAGS= … … 3196 4479 3197 4480 # Only need compat32bitflag if using MG or MGPP 3198 if test "$ENABLE_MG" = "0" ; then4481 if test "$ENABLE_MG" = "0" -a "$ENABLE_MGPP" = "0" ; then 3199 4482 COMPAT32BITFLAGS= 3200 else3201 if test "$ENABLE_MGPP" = "0" ; then3202 COMPAT32BITFLAGS=3203 fi3204 4483 fi 3205 4484 … … 3231 4510 #do test of MICO_VER 3232 4511 if test MICO_VER != 0; then 3233 cat >>confdefs.h <<\_ACEOF 3234 #define MICO_VER 1 3235 _ACEOF 4512 $as_echo "#define MICO_VER 1" >>confdefs.h 3236 4513 3237 4514 … … 3246 4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3247 4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3248 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53249 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4526 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3250 4527 # On Suns, sometimes $CPP names a directory. 3251 4528 if test -n "$CPP" && test -d "$CPP"; then … … 3253 4530 fi 3254 4531 if test -z "$CPP"; then 3255 if test "${ac_cv_prog_CPP+set}" = set; then 3256 echo $ECHO_N "(cached) $ECHO_C" >&64532 if test "${ac_cv_prog_CPP+set}" = set; then : 4533 $as_echo_n "(cached) " >&6 3257 4534 else 3258 4535 # Double quotes because CPP needs to be expanded … … 3268 4545 # On the NeXT, cc -E runs the code through the compiler's parser, 3269 4546 # not just through cpp. "Syntax error" is here to catch this case. 3270 cat >conftest.$ac_ext <<_ACEOF 3271 /* confdefs.h. */ 3272 _ACEOF 3273 cat confdefs.h >>conftest.$ac_ext 3274 cat >>conftest.$ac_ext <<_ACEOF 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3275 4548 /* end confdefs.h. */ 3276 4549 #ifdef __STDC__ … … 3281 4554 Syntax error 3282 4555 _ACEOF 3283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3285 ac_status=$? 3286 grep -v '^ *+' conftest.er1 >conftest.err 3287 rm -f conftest.er1 3288 cat conftest.err >&5 3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3290 (exit $ac_status); } >/dev/null; then 3291 if test -s conftest.err; then 3292 ac_cpp_err=$ac_c_preproc_warn_flag 3293 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3294 else 3295 ac_cpp_err= 3296 fi 3297 else 3298 ac_cpp_err=yes 3299 fi 3300 if test -z "$ac_cpp_err"; then 3301 : 3302 else 3303 echo "$as_me: failed program was:" >&5 3304 sed 's/^/| /' conftest.$ac_ext >&5 3305 4556 if ac_fn_c_try_cpp "$LINENO"; then : 4557 4558 else 3306 4559 # Broken: fails on valid input. 3307 4560 continue 3308 4561 fi 3309 rm -f conftest.err conftest. $ac_ext3310 3311 # OK, works on sane cases. Now check whether non -existent headers4562 rm -f conftest.err conftest.i conftest.$ac_ext 4563 4564 # OK, works on sane cases. Now check whether nonexistent headers 3312 4565 # can be detected and how. 3313 cat >conftest.$ac_ext <<_ACEOF 3314 /* confdefs.h. */ 3315 _ACEOF 3316 cat confdefs.h >>conftest.$ac_ext 3317 cat >>conftest.$ac_ext <<_ACEOF 4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3318 4567 /* end confdefs.h. */ 3319 4568 #include <ac_nonexistent.h> 3320 4569 _ACEOF 3321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3323 ac_status=$? 3324 grep -v '^ *+' conftest.er1 >conftest.err 3325 rm -f conftest.er1 3326 cat conftest.err >&5 3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3328 (exit $ac_status); } >/dev/null; then 3329 if test -s conftest.err; then 3330 ac_cpp_err=$ac_c_preproc_warn_flag 3331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3332 else 3333 ac_cpp_err= 3334 fi 3335 else 3336 ac_cpp_err=yes 3337 fi 3338 if test -z "$ac_cpp_err"; then 4570 if ac_fn_c_try_cpp "$LINENO"; then : 3339 4571 # Broken: success on invalid input. 3340 4572 continue 3341 4573 else 3342 echo "$as_me: failed program was:" >&53343 sed 's/^/| /' conftest.$ac_ext >&53344 3345 4574 # Passes both tests. 3346 4575 ac_preproc_ok=: 3347 4576 break 3348 4577 fi 3349 rm -f conftest.err conftest. $ac_ext4578 rm -f conftest.err conftest.i conftest.$ac_ext 3350 4579 3351 4580 done 3352 4581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3353 rm -f conftest. err conftest.$ac_ext3354 if $ac_preproc_ok; then 4582 rm -f conftest.i conftest.err conftest.$ac_ext 4583 if $ac_preproc_ok; then : 3355 4584 break 3356 4585 fi … … 3364 4593 ac_cv_prog_CPP=$CPP 3365 4594 fi 3366 echo "$as_me:$LINENO: result: $CPP" >&53367 echo "${ECHO_T}$CPP" >&6 4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4596 $as_echo "$CPP" >&6; } 3368 4597 ac_preproc_ok=false 3369 4598 for ac_c_preproc_warn_flag in '' yes … … 3375 4604 # On the NeXT, cc -E runs the code through the compiler's parser, 3376 4605 # not just through cpp. "Syntax error" is here to catch this case. 3377 cat >conftest.$ac_ext <<_ACEOF 3378 /* confdefs.h. */ 3379 _ACEOF 3380 cat confdefs.h >>conftest.$ac_ext 3381 cat >>conftest.$ac_ext <<_ACEOF 4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3382 4607 /* end confdefs.h. */ 3383 4608 #ifdef __STDC__ … … 3388 4613 Syntax error 3389 4614 _ACEOF 3390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3392 ac_status=$? 3393 grep -v '^ *+' conftest.er1 >conftest.err 3394 rm -f conftest.er1 3395 cat conftest.err >&5 3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3397 (exit $ac_status); } >/dev/null; then 3398 if test -s conftest.err; then 3399 ac_cpp_err=$ac_c_preproc_warn_flag 3400 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3401 else 3402 ac_cpp_err= 3403 fi 3404 else 3405 ac_cpp_err=yes 3406 fi 3407 if test -z "$ac_cpp_err"; then 3408 : 3409 else 3410 echo "$as_me: failed program was:" >&5 3411 sed 's/^/| /' conftest.$ac_ext >&5 3412 4615 if ac_fn_c_try_cpp "$LINENO"; then : 4616 4617 else 3413 4618 # Broken: fails on valid input. 3414 4619 continue 3415 4620 fi 3416 rm -f conftest.err conftest. $ac_ext3417 3418 # OK, works on sane cases. Now check whether non -existent headers4621 rm -f conftest.err conftest.i conftest.$ac_ext 4622 4623 # OK, works on sane cases. Now check whether nonexistent headers 3419 4624 # can be detected and how. 3420 cat >conftest.$ac_ext <<_ACEOF 3421 /* confdefs.h. */ 3422 _ACEOF 3423 cat confdefs.h >>conftest.$ac_ext 3424 cat >>conftest.$ac_ext <<_ACEOF 4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3425 4626 /* end confdefs.h. */ 3426 4627 #include <ac_nonexistent.h> 3427 4628 _ACEOF 3428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3430 ac_status=$? 3431 grep -v '^ *+' conftest.er1 >conftest.err 3432 rm -f conftest.er1 3433 cat conftest.err >&5 3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3435 (exit $ac_status); } >/dev/null; then 3436 if test -s conftest.err; then 3437 ac_cpp_err=$ac_c_preproc_warn_flag 3438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3439 else 3440 ac_cpp_err= 3441 fi 3442 else 3443 ac_cpp_err=yes 3444 fi 3445 if test -z "$ac_cpp_err"; then 4629 if ac_fn_c_try_cpp "$LINENO"; then : 3446 4630 # Broken: success on invalid input. 3447 4631 continue 3448 4632 else 3449 echo "$as_me: failed program was:" >&53450 sed 's/^/| /' conftest.$ac_ext >&53451 3452 4633 # Passes both tests. 3453 4634 ac_preproc_ok=: 3454 4635 break 3455 4636 fi 3456 rm -f conftest.err conftest. $ac_ext4637 rm -f conftest.err conftest.i conftest.$ac_ext 3457 4638 3458 4639 done 3459 4640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3460 rm -f conftest.err conftest.$ac_ext 3461 if $ac_preproc_ok; then 3462 : 3463 else 3464 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3465 See \`config.log' for more details." >&5 3466 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3467 See \`config.log' for more details." >&2;} 3468 { (exit 1); exit 1; }; } 4641 rm -f conftest.i conftest.err conftest.$ac_ext 4642 if $ac_preproc_ok; then : 4643 4644 else 4645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4647 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4648 See \`config.log' for more details" "$LINENO" 5 ; } 3469 4649 fi 3470 4650 … … 3476 4656 3477 4657 3478 echo "$as_me:$LINENO: checking for egrep" >&5 3479 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3480 if test "${ac_cv_prog_egrep+set}" = set; then 3481 echo $ECHO_N "(cached) $ECHO_C" >&6 3482 else 3483 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3484 then ac_cv_prog_egrep='grep -E' 3485 else ac_cv_prog_egrep='egrep' 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4659 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4660 if test "${ac_cv_path_GREP+set}" = set; then : 4661 $as_echo_n "(cached) " >&6 4662 else 4663 if test -z "$GREP"; then 4664 ac_path_GREP_found=false 4665 # Loop through the user's path and test for each of PROGNAME-LIST 4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4667 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4668 do 4669 IFS=$as_save_IFS 4670 test -z "$as_dir" && as_dir=. 4671 for ac_prog in grep ggrep; do 4672 for ac_exec_ext in '' $ac_executable_extensions; do 4673 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4674 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4675 # Check for GNU ac_path_GREP and select it if it is found. 4676 # Check for GNU $ac_path_GREP 4677 case `"$ac_path_GREP" --version 2>&1` in 4678 *GNU*) 4679 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4680 *) 4681 ac_count=0 4682 $as_echo_n 0123456789 >"conftest.in" 4683 while : 4684 do 4685 cat "conftest.in" "conftest.in" >"conftest.tmp" 4686 mv "conftest.tmp" "conftest.in" 4687 cp "conftest.in" "conftest.nl" 4688 $as_echo 'GREP' >> "conftest.nl" 4689 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4690 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4691 as_fn_arith $ac_count + 1 && ac_count=$as_val 4692 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4693 # Best one so far, save it but keep looking for a better one 4694 ac_cv_path_GREP="$ac_path_GREP" 4695 ac_path_GREP_max=$ac_count 3486 4696 fi 3487 fi 3488 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3489 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3490 EGREP=$ac_cv_prog_egrep 3491 3492 3493 3494 echo "$as_me:$LINENO: checking for AIX" >&5 3495 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3496 cat >conftest.$ac_ext <<_ACEOF 3497 /* confdefs.h. */ 3498 _ACEOF 3499 cat confdefs.h >>conftest.$ac_ext 3500 cat >>conftest.$ac_ext <<_ACEOF 3501 /* end confdefs.h. */ 3502 #ifdef _AIX 3503 yes 3504 #endif 3505 3506 _ACEOF 3507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3508 $EGREP "yes" >/dev/null 2>&1; then 3509 echo "$as_me:$LINENO: result: yes" >&5 3510 echo "${ECHO_T}yes" >&6 3511 cat >>confdefs.h <<\_ACEOF 3512 #define _ALL_SOURCE 1 3513 _ACEOF 3514 3515 else 3516 echo "$as_me:$LINENO: result: no" >&5 3517 echo "${ECHO_T}no" >&6 3518 fi 3519 rm -f conftest* 3520 3521 3522 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3523 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3524 if test "${ac_cv_search_strerror+set}" = set; then 3525 echo $ECHO_N "(cached) $ECHO_C" >&6 3526 else 3527 ac_func_search_save_LIBS=$LIBS 3528 ac_cv_search_strerror=no 3529 cat >conftest.$ac_ext <<_ACEOF 3530 /* confdefs.h. */ 3531 _ACEOF 3532 cat confdefs.h >>conftest.$ac_ext 3533 cat >>conftest.$ac_ext <<_ACEOF 3534 /* end confdefs.h. */ 3535 3536 /* Override any gcc2 internal prototype to avoid an error. */ 3537 #ifdef __cplusplus 3538 extern "C" 3539 #endif 3540 /* We use char because int might match the return type of a gcc2 3541 builtin and then its argument prototype would still apply. */ 3542 char strerror (); 3543 int 3544 main () 3545 { 3546 strerror (); 3547 ; 3548 return 0; 3549 } 3550 _ACEOF 3551 rm -f conftest.$ac_objext conftest$ac_exeext 3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3553 (eval $ac_link) 2>conftest.er1 3554 ac_status=$? 3555 grep -v '^ *+' conftest.er1 >conftest.err 3556 rm -f conftest.er1 3557 cat conftest.err >&5 3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3559 (exit $ac_status); } && 3560 { ac_try='test -z "$ac_c_werror_flag" 3561 || test ! -s conftest.err' 3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3563 (eval $ac_try) 2>&5 3564 ac_status=$? 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 (exit $ac_status); }; } && 3567 { ac_try='test -s conftest$ac_exeext' 3568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3569 (eval $ac_try) 2>&5 3570 ac_status=$? 3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3572 (exit $ac_status); }; }; then 3573 ac_cv_search_strerror="none required" 3574 else 3575 echo "$as_me: failed program was:" >&5 3576 sed 's/^/| /' conftest.$ac_ext >&5 3577 3578 fi 3579 rm -f conftest.err conftest.$ac_objext \ 3580 conftest$ac_exeext conftest.$ac_ext 3581 if test "$ac_cv_search_strerror" = no; then 3582 for ac_lib in cposix; do 3583 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3584 cat >conftest.$ac_ext <<_ACEOF 3585 /* confdefs.h. */ 3586 _ACEOF 3587 cat confdefs.h >>conftest.$ac_ext 3588 cat >>conftest.$ac_ext <<_ACEOF 3589 /* end confdefs.h. */ 3590 3591 /* Override any gcc2 internal prototype to avoid an error. */ 3592 #ifdef __cplusplus 3593 extern "C" 3594 #endif 3595 /* We use char because int might match the return type of a gcc2 3596 builtin and then its argument prototype would still apply. */ 3597 char strerror (); 3598 int 3599 main () 3600 { 3601 strerror (); 3602 ; 3603 return 0; 3604 } 3605 _ACEOF 3606 rm -f conftest.$ac_objext conftest$ac_exeext 3607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3608 (eval $ac_link) 2>conftest.er1 3609 ac_status=$? 3610 grep -v '^ *+' conftest.er1 >conftest.err 3611 rm -f conftest.er1 3612 cat conftest.err >&5 3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3614 (exit $ac_status); } && 3615 { ac_try='test -z "$ac_c_werror_flag" 3616 || test ! -s conftest.err' 3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3618 (eval $ac_try) 2>&5 3619 ac_status=$? 3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3621 (exit $ac_status); }; } && 3622 { ac_try='test -s conftest$ac_exeext' 3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3624 (eval $ac_try) 2>&5 3625 ac_status=$? 3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3627 (exit $ac_status); }; }; then 3628 ac_cv_search_strerror="-l$ac_lib" 3629 break 3630 else 3631 echo "$as_me: failed program was:" >&5 3632 sed 's/^/| /' conftest.$ac_ext >&5 3633 3634 fi 3635 rm -f conftest.err conftest.$ac_objext \ 3636 conftest$ac_exeext conftest.$ac_ext 4697 # 10*(2^10) chars as input seems more than enough 4698 test $ac_count -gt 10 && break 3637 4699 done 3638 fi 3639 LIBS=$ac_func_search_save_LIBS 3640 fi 3641 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3642 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3643 if test "$ac_cv_search_strerror" != no; then 3644 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3645 3646 fi 3647 3648 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3649 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3650 if test "${ac_cv_header_stdc+set}" = set; then 3651 echo $ECHO_N "(cached) $ECHO_C" >&6 3652 else 3653 cat >conftest.$ac_ext <<_ACEOF 3654 /* confdefs.h. */ 3655 _ACEOF 3656 cat confdefs.h >>conftest.$ac_ext 3657 cat >>conftest.$ac_ext <<_ACEOF 4700 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4701 esac 4702 4703 $ac_path_GREP_found && break 3 4704 done 4705 done 4706 done 4707 IFS=$as_save_IFS 4708 if test -z "$ac_cv_path_GREP"; then 4709 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4710 fi 4711 else 4712 ac_cv_path_GREP=$GREP 4713 fi 4714 4715 fi 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4717 $as_echo "$ac_cv_path_GREP" >&6; } 4718 GREP="$ac_cv_path_GREP" 4719 4720 4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4722 $as_echo_n "checking for egrep... " >&6; } 4723 if test "${ac_cv_path_EGREP+set}" = set; then : 4724 $as_echo_n "(cached) " >&6 4725 else 4726 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4727 then ac_cv_path_EGREP="$GREP -E" 4728 else 4729 if test -z "$EGREP"; then 4730 ac_path_EGREP_found=false 4731 # Loop through the user's path and test for each of PROGNAME-LIST 4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4734 do 4735 IFS=$as_save_IFS 4736 test -z "$as_dir" && as_dir=. 4737 for ac_prog in egrep; do 4738 for ac_exec_ext in '' $ac_executable_extensions; do 4739 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4740 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4741 # Check for GNU ac_path_EGREP and select it if it is found. 4742 # Check for GNU $ac_path_EGREP 4743 case `"$ac_path_EGREP" --version 2>&1` in 4744 *GNU*) 4745 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4746 *) 4747 ac_count=0 4748 $as_echo_n 0123456789 >"conftest.in" 4749 while : 4750 do 4751 cat "conftest.in" "conftest.in" >"conftest.tmp" 4752 mv "conftest.tmp" "conftest.in" 4753 cp "conftest.in" "conftest.nl" 4754 $as_echo 'EGREP' >> "conftest.nl" 4755 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4757 as_fn_arith $ac_count + 1 && ac_count=$as_val 4758 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4759 # Best one so far, save it but keep looking for a better one 4760 ac_cv_path_EGREP="$ac_path_EGREP" 4761 ac_path_EGREP_max=$ac_count 4762 fi 4763 # 10*(2^10) chars as input seems more than enough 4764 test $ac_count -gt 10 && break 4765 done 4766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4767 esac 4768 4769 $ac_path_EGREP_found && break 3 4770 done 4771 done 4772 done 4773 IFS=$as_save_IFS 4774 if test -z "$ac_cv_path_EGREP"; then 4775 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4776 fi 4777 else 4778 ac_cv_path_EGREP=$EGREP 4779 fi 4780 4781 fi 4782 fi 4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4784 $as_echo "$ac_cv_path_EGREP" >&6; } 4785 EGREP="$ac_cv_path_EGREP" 4786 4787 4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4789 $as_echo_n "checking for ANSI C header files... " >&6; } 4790 if test "${ac_cv_header_stdc+set}" = set; then : 4791 $as_echo_n "(cached) " >&6 4792 else 4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3658 4794 /* end confdefs.h. */ 3659 4795 #include <stdlib.h> … … 3670 4806 } 3671 4807 _ACEOF 3672 rm -f conftest.$ac_objext 3673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3674 (eval $ac_compile) 2>conftest.er1 3675 ac_status=$? 3676 grep -v '^ *+' conftest.er1 >conftest.err 3677 rm -f conftest.er1 3678 cat conftest.err >&5 3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3680 (exit $ac_status); } && 3681 { ac_try='test -z "$ac_c_werror_flag" 3682 || test ! -s conftest.err' 3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3684 (eval $ac_try) 2>&5 3685 ac_status=$? 3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3687 (exit $ac_status); }; } && 3688 { ac_try='test -s conftest.$ac_objext' 3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3690 (eval $ac_try) 2>&5 3691 ac_status=$? 3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3693 (exit $ac_status); }; }; then 4808 if ac_fn_c_try_compile "$LINENO"; then : 3694 4809 ac_cv_header_stdc=yes 3695 4810 else 3696 echo "$as_me: failed program was:" >&5 3697 sed 's/^/| /' conftest.$ac_ext >&5 3698 3699 ac_cv_header_stdc=no 3700 fi 3701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4811 ac_cv_header_stdc=no 4812 fi 4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3702 4814 3703 4815 if test $ac_cv_header_stdc = yes; then 3704 4816 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3705 cat >conftest.$ac_ext <<_ACEOF 3706 /* confdefs.h. */ 3707 _ACEOF 3708 cat confdefs.h >>conftest.$ac_ext 3709 cat >>conftest.$ac_ext <<_ACEOF 4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3710 4818 /* end confdefs.h. */ 3711 4819 #include <string.h> … … 3713 4821 _ACEOF 3714 4822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3715 $EGREP "memchr" >/dev/null 2>&1; then 3716 : 4823 $EGREP "memchr" >/dev/null 2>&1; then : 4824 3717 4825 else 3718 4826 ac_cv_header_stdc=no … … 3724 4832 if test $ac_cv_header_stdc = yes; then 3725 4833 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3726 cat >conftest.$ac_ext <<_ACEOF 3727 /* confdefs.h. */ 3728 _ACEOF 3729 cat confdefs.h >>conftest.$ac_ext 3730 cat >>conftest.$ac_ext <<_ACEOF 4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3731 4835 /* end confdefs.h. */ 3732 4836 #include <stdlib.h> … … 3734 4838 _ACEOF 3735 4839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3736 $EGREP "free" >/dev/null 2>&1; then 3737 : 4840 $EGREP "free" >/dev/null 2>&1; then : 4841 3738 4842 else 3739 4843 ac_cv_header_stdc=no … … 3745 4849 if test $ac_cv_header_stdc = yes; then 3746 4850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3747 if test "$cross_compiling" = yes; then 4851 if test "$cross_compiling" = yes; then : 3748 4852 : 3749 4853 else 3750 cat >conftest.$ac_ext <<_ACEOF 3751 /* confdefs.h. */ 3752 _ACEOF 3753 cat confdefs.h >>conftest.$ac_ext 3754 cat >>conftest.$ac_ext <<_ACEOF 4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3755 4855 /* end confdefs.h. */ 3756 4856 #include <ctype.h> 4857 #include <stdlib.h> 3757 4858 #if ((' ' & 0x0FF) == 0x020) 3758 4859 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3774 4875 if (XOR (islower (i), ISLOWER (i)) 3775 4876 || toupper (i) != TOUPPER (i)) 3776 exit(2);3777 exit (0);4877 return 2; 4878 return 0; 3778 4879 } 3779 4880 _ACEOF 3780 rm -f conftest$ac_exeext 3781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3782 (eval $ac_link) 2>&5 3783 ac_status=$? 3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3787 (eval $ac_try) 2>&5 3788 ac_status=$? 3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3790 (exit $ac_status); }; }; then 3791 : 3792 else 3793 echo "$as_me: program exited with status $ac_status" >&5 3794 echo "$as_me: failed program was:" >&5 3795 sed 's/^/| /' conftest.$ac_ext >&5 3796 3797 ( exit $ac_status ) 3798 ac_cv_header_stdc=no 3799 fi 3800 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3801 fi 3802 fi 3803 fi 3804 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3805 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4881 if ac_fn_c_try_run "$LINENO"; then : 4882 4883 else 4884 ac_cv_header_stdc=no 4885 fi 4886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4887 conftest.$ac_objext conftest.beam conftest.$ac_ext 4888 fi 4889 4890 fi 4891 fi 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4893 $as_echo "$ac_cv_header_stdc" >&6; } 3806 4894 if test $ac_cv_header_stdc = yes; then 3807 4895 3808 cat >>confdefs.h <<\_ACEOF 3809 #define STDC_HEADERS 1 3810 _ACEOF 4896 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3811 4897 3812 4898 fi 3813 4899 3814 4900 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 4901 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3825 4902 inttypes.h stdint.h unistd.h 3826 do 3827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3828 echo "$as_me:$LINENO: checking for $ac_header" >&5 3829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3830 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3831 echo $ECHO_N "(cached) $ECHO_C" >&6 3832 else 3833 cat >conftest.$ac_ext <<_ACEOF 3834 /* confdefs.h. */ 3835 _ACEOF 3836 cat confdefs.h >>conftest.$ac_ext 3837 cat >>conftest.$ac_ext <<_ACEOF 4903 do : 4904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4906 " 4907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4908 cat >>confdefs.h <<_ACEOF 4909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4910 _ACEOF 4911 4912 fi 4913 4914 done 4915 4916 4917 4918 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4919 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4920 MINIX=yes 4921 else 4922 MINIX= 4923 fi 4924 4925 4926 if test "$MINIX" = yes; then 4927 4928 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4929 4930 4931 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4932 4933 4934 $as_echo "#define _MINIX 1" >>confdefs.h 4935 4936 fi 4937 4938 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4940 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4941 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4942 $as_echo_n "(cached) " >&6 4943 else 4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3838 4945 /* end confdefs.h. */ 3839 $ac_includes_default 3840 3841 #include <$ac_header> 3842 _ACEOF 3843 rm -f conftest.$ac_objext 3844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3845 (eval $ac_compile) 2>conftest.er1 3846 ac_status=$? 3847 grep -v '^ *+' conftest.er1 >conftest.err 3848 rm -f conftest.er1 3849 cat conftest.err >&5 3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3851 (exit $ac_status); } && 3852 { ac_try='test -z "$ac_c_werror_flag" 3853 || test ! -s conftest.err' 3854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3855 (eval $ac_try) 2>&5 3856 ac_status=$? 3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3858 (exit $ac_status); }; } && 3859 { ac_try='test -s conftest.$ac_objext' 3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3861 (eval $ac_try) 2>&5 3862 ac_status=$? 3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3864 (exit $ac_status); }; }; then 3865 eval "$as_ac_Header=yes" 3866 else 3867 echo "$as_me: failed program was:" >&5 3868 sed 's/^/| /' conftest.$ac_ext >&5 3869 3870 eval "$as_ac_Header=no" 3871 fi 3872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3873 fi 3874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3876 if test `eval echo '${'$as_ac