- Timestamp:
- 2009-10-23T07:04:22+13:00 (14 years ago)
- Location:
- indexers/trunk/mgpp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
indexers/trunk/mgpp/configure
r20832 r20844 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.61. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh … … 17 19 # is contrary to our usage. Disable this feature. 18 20 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 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # 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 43 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 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 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. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 97 51 fi 98 52 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 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 74 for as_dir in $PATH 111 75 do … … 114 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 79 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 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 112 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 '') 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 130 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 224 IFS=$as_save_IFS 134 225 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 226 case $as_dir in 137 227 /*) 138 if ("$as_dir/$as_base" -c ' 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 139 328 as_lineno_1=$LINENO 140 329 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 330 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 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell [email protected] about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 427 156 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 429 # 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. 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 162 435 # (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 | 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 165 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 166 447 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 450 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 451 s/-\n.*// 173 452 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||453 chmod +x "$as_me.lineno" || 175 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 455 { (exit 1); exit 1; }; } … … 178 457 # Don't try to exec as it changes $[0], causing all sort of problems 179 458 # (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.lineno459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 182 461 # Exit status is that of the last command. 183 462 exit … … 185 464 186 465 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= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 481 esac 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 485 as_expr=expr 196 486 else … … 199 489 200 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 201 497 echo >conf$$.file 202 498 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 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 207 505 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 fi211 506 elif ln conf$$.file conf$$ 2>/dev/null; then 212 507 as_ln_s=ln … … 214 509 as_ln_s='cp -p' 215 510 fi 216 rm -f conf$$ conf$$.exe conf$$.file 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 217 513 218 514 if mkdir -p . 2>/dev/null; then … … 223 519 fi 224 520 225 as_executable_p="test -f" 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 226 543 227 544 # Sed expression to map a string onto a valid CPP name. … … 232 549 233 550 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 551 552 exec 7<&0 </dev/null 6>&1 243 553 244 554 # Name of the host. … … 247 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 558 249 exec 6>&1250 251 559 # 252 560 # Initializations. 253 561 # 254 562 ac_default_prefix=/usr/local 563 ac_clean_files= 255 564 ac_config_libobj_dir=. 565 LIBOBJS= 256 566 cross_compiling=no 257 567 subdirs= … … 259 569 MAKEFLAGS= 260 570 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 571 267 572 # Identity of this package. … … 276 581 ac_includes_default="\ 277 582 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H583 #ifdef HAVE_SYS_TYPES_H 279 584 # include <sys/types.h> 280 585 #endif 281 #if HAVE_SYS_STAT_H586 #ifdef HAVE_SYS_STAT_H 282 587 # include <sys/stat.h> 283 588 #endif 284 #if STDC_HEADERS589 #ifdef STDC_HEADERS 285 590 # include <stdlib.h> 286 591 # include <stddef.h> 287 592 #else 288 # if HAVE_STDLIB_H593 # ifdef HAVE_STDLIB_H 289 594 # include <stdlib.h> 290 595 # endif 291 596 #endif 292 #if HAVE_STRING_H293 # if ! STDC_HEADERS &&HAVE_MEMORY_H597 #ifdef HAVE_STRING_H 598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 294 599 # include <memory.h> 295 600 # endif 296 601 # include <string.h> 297 602 #endif 298 #if HAVE_STRINGS_H603 #ifdef HAVE_STRINGS_H 299 604 # include <strings.h> 300 605 #endif 301 #if HAVE_INTTYPES_H606 #ifdef HAVE_INTTYPES_H 302 607 # include <inttypes.h> 303 #else304 # if HAVE_STDINT_H305 # include <stdint.h>306 # endif307 608 #endif 308 #if HAVE_UNISTD_H 609 #ifdef HAVE_STDINT_H 610 # include <stdint.h> 611 #endif 612 #ifdef HAVE_UNISTD_H 309 613 # include <unistd.h> 310 614 #endif" 311 615 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS ENABLE_ACCENTFOLD CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT AWK YACC CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR UNAC_DIR LIBICONV_DIR ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS' 616 ac_subst_vars='SHELL 617 PATH_SEPARATOR 618 PACKAGE_NAME 619 PACKAGE_TARNAME 620 PACKAGE_VERSION 621 PACKAGE_STRING 622 PACKAGE_BUGREPORT 623 exec_prefix 624 prefix 625 program_transform_name 626 bindir 627 sbindir 628 libexecdir 629 datarootdir 630 datadir 631 sysconfdir 632 sharedstatedir 633 localstatedir 634 includedir 635 oldincludedir 636 docdir 637 infodir 638 htmldir 639 dvidir 640 pdfdir 641 psdir 642 libdir 643 localedir 644 mandir 645 DEFS 646 ECHO_C 647 ECHO_N 648 ECHO_T 649 LIBS 650 build_alias 651 host_alias 652 target_alias 653 build 654 build_cpu 655 build_vendor 656 build_os 657 host 658 host_cpu 659 host_vendor 660 host_os 661 target 662 target_cpu 663 target_vendor 664 target_os 665 PACKAGE 666 VERSION 667 COMPAT32BITFLAGS 668 ENABLE_ACCENTFOLD 669 CXX 670 CXXFLAGS 671 LDFLAGS 672 CPPFLAGS 673 ac_ct_CXX 674 EXEEXT 675 OBJEXT 676 AWK 677 YACC 678 YFLAGS 679 CC 680 CFLAGS 681 ac_ct_CC 682 INSTALL_PROGRAM 683 INSTALL_SCRIPT 684 INSTALL_DATA 685 LN_S 686 SET_MAKE 687 RANLIB 688 CPP 689 GREP 690 EGREP 691 U 692 ANSI2KNR 693 UNAC_DIR 694 ALLOCA 695 LIBOBJS 696 JNIINC 697 JNISUFFIX 698 JNIFLAGS 699 LTLIBOBJS' 313 700 ac_subst_files='' 701 ac_precious_vars='build_alias 702 host_alias 703 target_alias 704 CXX 705 CXXFLAGS 706 LDFLAGS 707 LIBS 708 CPPFLAGS 709 CCC 710 YACC 711 YFLAGS 712 CC 713 CFLAGS 714 CPP' 715 314 716 315 717 # Initialize some variables set by options. … … 338 740 # by default will actually change. 339 741 # Use braces instead of parens because sh, perl, etc. also accept them. 742 # (The list follows the same order as the GNU Coding Standards.) 340 743 bindir='${exec_prefix}/bin' 341 744 sbindir='${exec_prefix}/sbin' 342 745 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 746 datarootdir='${prefix}/share' 747 datadir='${datarootdir}' 344 748 sysconfdir='${prefix}/etc' 345 749 sharedstatedir='${prefix}/com' 346 750 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 751 includedir='${prefix}/include' 349 752 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 753 docdir='${datarootdir}/doc/${PACKAGE}' 754 infodir='${datarootdir}/info' 755 htmldir='${docdir}' 756 dvidir='${docdir}' 757 pdfdir='${docdir}' 758 psdir='${docdir}' 759 libdir='${exec_prefix}/lib' 760 localedir='${datarootdir}/locale' 761 mandir='${datarootdir}/man' 352 762 353 763 ac_prev= 764 ac_dashdash= 354 765 for ac_option 355 766 do 356 767 # If the previous option needs an argument, assign it. 357 768 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"769 eval $ac_prev=\$ac_option 359 770 ac_prev= 360 771 continue 361 772 fi 362 773 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 774 case $ac_option in 775 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 776 *) ac_optarg=yes ;; 777 esac 364 778 365 779 # Accept the important Cygnus configure options, so we can diagnose typos. 366 780 367 case $ac_option in 781 case $ac_dashdash$ac_option in 782 --) 783 ac_dashdash=yes ;; 368 784 369 785 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 803 cache_file=config.cache ;; 388 804 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)805 -datadir | --datadir | --datadi | --datad) 390 806 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 807 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 808 datadir=$ac_optarg ;; 809 810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 811 | --dataroo | --dataro | --datar) 812 ac_prev=datarootdir ;; 813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 815 datarootdir=$ac_optarg ;; 394 816 395 817 -disable-* | --disable-*) 396 818 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 819 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&820 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 399 821 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 822 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 823 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 824 eval enable_$ac_feature=no ;; 825 826 -docdir | --docdir | --docdi | --doc | --do) 827 ac_prev=docdir ;; 828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 829 docdir=$ac_optarg ;; 830 831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 832 ac_prev=dvidir ;; 833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 834 dvidir=$ac_optarg ;; 403 835 404 836 -enable-* | --enable-*) 405 837 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 838 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 408 840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 841 { (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 ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;; 842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 843 eval enable_$ac_feature=\$ac_optarg ;; 416 844 417 845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 868 host_alias=$ac_optarg ;; 441 869 870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 871 ac_prev=htmldir ;; 872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 873 | --ht=*) 874 htmldir=$ac_optarg ;; 875 442 876 -includedir | --includedir | --includedi | --included | --include \ 443 877 | --includ | --inclu | --incl | --inc) … … 464 898 libexecdir=$ac_optarg ;; 465 899 900 -localedir | --localedir | --localedi | --localed | --locale) 901 ac_prev=localedir ;; 902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 903 localedir=$ac_optarg ;; 904 466 905 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 906 | --localstate | --localstat | --localsta | --localst | --locals) 469 907 ac_prev=localstatedir ;; 470 908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 910 localstatedir=$ac_optarg ;; 474 911 … … 535 972 program_transform_name=$ac_optarg ;; 536 973 974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 975 ac_prev=pdfdir ;; 976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 977 pdfdir=$ac_optarg ;; 978 979 -psdir | --psdir | --psdi | --psd | --ps) 980 ac_prev=psdir ;; 981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 982 psdir=$ac_optarg ;; 983 537 984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 985 | -silent | --silent | --silen | --sile | --sil) … … 587 1034 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1035 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1036 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 590 1037 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 1038 { (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 ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;; 1039 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1040 eval with_$ac_package=\$ac_optarg ;; 598 1041 599 1042 -without-* | --without-*) 600 1043 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1044 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 603 1046 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 1047 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/ -/_/g'`606 eval "with_$ac_package=no";;1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1049 eval with_$ac_package=no ;; 607 1050 608 1051 --x) … … 635 1078 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 1079 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1080 eval $ac_envvar=\$ac_optarg 639 1081 export $ac_envvar ;; 640 1082 … … 656 1098 fi 657 1099 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1100 # Be sure to have absolute directory names. 1101 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1102 datadir sysconfdir sharedstatedir localstatedir includedir \ 1103 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1104 libdir localedir mandir 660 1105 do 661 eval ac_val= $`echo $ac_var`1106 eval ac_val=\$$ac_var 662 1107 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 1108 [\\/$]* | ?:[\\/]* ) continue;; 1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 666 1110 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` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 678 esac 1111 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1112 { (exit 1); exit 1; }; } 679 1113 done 680 1114 … … 703 1137 704 1138 1139 ac_pwd=`pwd` && test -n "$ac_pwd" && 1140 ac_ls_di=`ls -di .` && 1141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1142 { echo "$as_me: error: Working directory cannot be determined" >&2 1143 { (exit 1); exit 1; }; } 1144 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1145 { echo "$as_me: error: pwd does not report name of working directory" >&2 1146 { (exit 1); exit 1; }; } 1147 1148 705 1149 # Find the source files, if location was not specified. 706 1150 if test -z "$srcdir"; then 707 1151 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent.709 ac_confdir=` (dirname "$0") 2>/dev/null||1152 # Try the directory containing this script, then the parent directory. 1153 ac_confdir=`$as_dirname -- "$0" || 710 1154 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 1155 X"$0" : 'X\(//\)[^/]' \| \ 712 1156 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 1157 X"$0" : 'X\(/\)' \| . 2>/dev/null || 715 1158 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'` 1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1160 s//\1/ 1161 q 1162 } 1163 /^X\(\/\/\)[^/].*/{ 1164 s//\1/ 1165 q 1166 } 1167 /^X\(\/\/\)$/{ 1168 s//\1/ 1169 q 1170 } 1171 /^X\(\/\).*/{ 1172 s//\1/ 1173 q 1174 } 1175 s/.*/./; q'` 721 1176 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1177 if test ! -r "$srcdir/$ac_unique_file"; then 723 1178 srcdir=.. 724 1179 fi … … 726 1181 ac_srcdir_defaulted=no 727 1182 fi 728 if test ! -r $srcdir/$ac_unique_file; then729 if test "$ac_srcdir_defaulted" = yes; then730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21183 if test ! -r "$srcdir/$ac_unique_file"; then 1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1185 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 731 1186 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1187 fi 1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1189 ac_abs_confdir=`( 1190 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 734 1191 { (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_CXX_set=${CXX+set} 754 ac_env_CXX_value=$CXX 755 ac_cv_env_CXX_set=${CXX+set} 756 ac_cv_env_CXX_value=$CXX 757 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 758 ac_env_CXXFLAGS_value=$CXXFLAGS 759 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 760 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 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_CC_set=${CC+set} 770 ac_env_CC_value=$CC 771 ac_cv_env_CC_set=${CC+set} 772 ac_cv_env_CC_value=$CC 773 ac_env_CFLAGS_set=${CFLAGS+set} 774 ac_env_CFLAGS_value=$CFLAGS 775 ac_cv_env_CFLAGS_set=${CFLAGS+set} 776 ac_cv_env_CFLAGS_value=$CFLAGS 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 1192 pwd)` 1193 # When building in place, set srcdir=. 1194 if test "$ac_abs_confdir" = "$ac_pwd"; then 1195 srcdir=. 1196 fi 1197 # Remove unnecessary trailing slashes from srcdir. 1198 # Double slashes in file names in object file debugging info 1199 # mess up M-x gdb in Emacs. 1200 case $srcdir in 1201 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1202 esac 1203 for ac_var in $ac_precious_vars; do 1204 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1205 eval ac_env_${ac_var}_value=\$${ac_var} 1206 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1207 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1208 done 781 1209 782 1210 # … … 807 1235 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1236 809 _ACEOF810 811 cat <<_ACEOF812 1237 Installation directories: 813 1238 --prefix=PREFIX install architecture-independent files in PREFIX … … 827 1252 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 1253 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share]830 1254 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 1255 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 834 1258 --includedir=DIR C header files [PREFIX/include] 835 1259 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1262 --infodir=DIR info documentation [DATAROOTDIR/info] 1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1264 --mandir=DIR man documentation [DATAROOTDIR/man] 1265 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1266 --htmldir=DIR html documentation [DOCDIR] 1267 --dvidir=DIR dvi documentation [DOCDIR] 1268 --pdfdir=DIR pdf documentation [DOCDIR] 1269 --psdir=DIR ps documentation [DOCDIR] 838 1270 _ACEOF 839 1271 … … 867 1299 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 868 1300 --with-unac=dir Use local unac library and headers 869 --with-libiconv-prefix=dir Use local libiconv library870 1301 --with-dmalloc use dmalloc, as in 871 1302 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz … … 878 1309 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 879 1310 nonstandard directory <lib dir> 880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 881 headers in a nonstandard directory <include dir> 1311 LIBS libraries to pass to the linker, e.g. -l<library> 1312 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1313 you have headers in a nonstandard directory <include dir> 1314 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1315 the first program found out of: `bison -y', `byacc', `yacc'. 1316 YFLAGS The list of arguments that will be passed by default to $YACC. 1317 This script will default YFLAGS to the empty string to avoid a 1318 default value of `-d' given by some make applications. 882 1319 CC C compiler command 883 1320 CFLAGS C compiler flags … … 888 1325 889 1326 _ACEOF 1327 ac_status=$? 890 1328 fi 891 1329 892 1330 if test "$ac_init_help" = "recursive"; then 893 1331 # If there are subdirs, report their specific --help. 894 ac_popdir=`pwd`895 1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 896 test -d $ac_dir|| continue1333 test -d "$ac_dir" || continue 897 1334 ac_builddir=. 898 1335 899 if test "$ac_dir" != .; then 1336 case "$ac_dir" in 1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1338 *) 900 1339 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 901 # A "../" for each directory in $ac_dir_suffix. 902 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 903 else 904 ac_dir_suffix= ac_top_builddir= 905 fi 1340 # A ".." for each directory in $ac_dir_suffix. 1341 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1342 case $ac_top_builddir_sub in 1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1345 esac ;; 1346 esac 1347 ac_abs_top_builddir=$ac_pwd 1348 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1349 # for backward compatibility: 1350 ac_top_builddir=$ac_top_build_prefix 906 1351 907 1352 case $srcdir in 908 .) # No --srcdir option.We are building in place.1353 .) # We are building in place. 909 1354 ac_srcdir=. 910 if test -z "$ac_top_builddir"; then 911 ac_top_srcdir=. 912 else 913 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 914 fi ;; 915 [\\/]* | ?:[\\/]* ) # Absolute path. 1355 ac_top_srcdir=$ac_top_builddir_sub 1356 ac_abs_top_srcdir=$ac_pwd ;; 1357 [\\/]* | ?:[\\/]* ) # Absolute name. 916 1358 ac_srcdir=$srcdir$ac_dir_suffix; 917 ac_top_srcdir=$srcdir ;; 918 *) # Relative path. 919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 920 ac_top_srcdir=$ac_top_builddir$srcdir ;; 921 esac 922 923 # Do not use `cd foo && pwd` to compute absolute paths, because 924 # the directories may not exist. 925 case `pwd` in 926 .) ac_abs_builddir="$ac_dir";; 927 *) 928 case "$ac_dir" in 929 .) ac_abs_builddir=`pwd`;; 930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 931 *) ac_abs_builddir=`pwd`/"$ac_dir";; 932 esac;; 933 esac 934 case $ac_abs_builddir in 935 .) ac_abs_top_builddir=${ac_top_builddir}.;; 936 *) 937 case ${ac_top_builddir}. in 938 .) ac_abs_top_builddir=$ac_abs_builddir;; 939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 941 esac;; 942 esac 943 case $ac_abs_builddir in 944 .) ac_abs_srcdir=$ac_srcdir;; 945 *) 946 case $ac_srcdir in 947 .) ac_abs_srcdir=$ac_abs_builddir;; 948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 950 esac;; 951 esac 952 case $ac_abs_builddir in 953 .) ac_abs_top_srcdir=$ac_top_srcdir;; 954 *) 955 case $ac_top_srcdir in 956 .) ac_abs_top_srcdir=$ac_abs_builddir;; 957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 959 esac;; 960 esac 961 962 cd $ac_dir 963 # Check for guested configure; otherwise get Cygnus style configure. 964 if test -f $ac_srcdir/configure.gnu; then 965 echo 966 $SHELL $ac_srcdir/configure.gnu --help=recursive 967 elif test -f $ac_srcdir/configure; then 968 echo 969 $SHELL $ac_srcdir/configure --help=recursive 970 elif test -f $ac_srcdir/configure.ac || 971 test -f $ac_srcdir/configure.in; then 972 echo 973 $ac_configure --help 1359 ac_top_srcdir=$srcdir 1360 ac_abs_top_srcdir=$srcdir ;; 1361 *) # Relative name. 1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1363 ac_top_srcdir=$ac_top_build_prefix$srcdir 1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1365 esac 1366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1367 1368 cd "$ac_dir" || { ac_status=$?; continue; } 1369 # Check for guested configure. 1370 if test -f "$ac_srcdir/configure.gnu"; then 1371 echo && 1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1373 elif test -f "$ac_srcdir/configure"; then 1374 echo && 1375 $SHELL "$ac_srcdir/configure" --help=recursive 974 1376 else 975 1377 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 976 fi 977 cd $ac_popdir1378 fi || ac_status=$? 1379 cd "$ac_pwd" || { ac_status=$?; break; } 978 1380 done 979 1381 fi 980 1382 981 test -n "$ac_init_help" && exit 01383 test -n "$ac_init_help" && exit $ac_status 982 1384 if $ac_init_version; then 983 1385 cat <<\_ACEOF 984 985 Copyright (C) 2003 Free Software Foundation, Inc. 1386 configure 1387 generated by GNU Autoconf 2.61 1388 1389 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1390 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 986 1391 This configure script is free software; the Free Software Foundation 987 1392 gives unlimited permission to copy, distribute and modify it. 988 1393 _ACEOF 989 exit 0 990 fi 991 exec 5>config.log 992 cat >&5 <<_ACEOF 1394 exit 1395 fi 1396 cat >config.log <<_ACEOF 993 1397 This file contains any messages produced by compilers while 994 1398 running configure, to aid debugging if configure makes a mistake. 995 1399 996 1400 It was created by $as_me, which was 997 generated by GNU Autoconf 2. 59. Invocation command line was1401 generated by GNU Autoconf 2.61. Invocation command line was 998 1402 999 1403 $ $0 $@ 1000 1404 1001 1405 _ACEOF 1406 exec 5>>config.log 1002 1407 { 1003 1408 cat <<_ASUNAME … … 1018 1423 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1019 1424 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1020 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1021 1426 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1022 1427 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1032 1437 echo "PATH: $as_dir" 1033 1438 done 1439 IFS=$as_save_IFS 1034 1440 1035 1441 } >&5 … … 1053 1459 ac_configure_args0= 1054 1460 ac_configure_args1= 1055 ac_sep=1056 1461 ac_must_keep_next=false 1057 1462 for ac_pass in 1 2 … … 1064 1469 | -silent | --silent | --silen | --sile | --sil) 1065 1470 continue ;; 1066 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1471 *\'*) 1067 1472 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1068 1473 esac … … 1086 1491 esac 1087 1492 fi 1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1089 # Get rid of the leading space. 1090 ac_sep=" " 1493 ac_configure_args="$ac_configure_args '$ac_arg'" 1091 1494 ;; 1092 1495 esac … … 1099 1502 # config.log. We remove comments because anyway the quotes in there 1100 1503 # would cause problems or look ugly. 1101 # WARNING: Be sure not to use single quotes in there, as some shells,1102 # such as our DU 5.0 friend, will then `close' the trap.1504 # WARNING: Use '\'' to represent an apostrophe within the trap. 1505 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1103 1506 trap 'exit_status=$? 1104 1507 # Save into config.log some information that might help in debugging. … … 1113 1516 echo 1114 1517 # The following way of writing the cache mishandles newlines in values, 1115 { 1518 ( 1519 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1520 eval ac_val=\$$ac_var 1521 case $ac_val in #( 1522 *${as_nl}*) 1523 case $ac_var in #( 1524 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1525 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1526 esac 1527 case $ac_var in #( 1528 _ | IFS | as_nl) ;; #( 1529 *) $as_unset $ac_var ;; 1530 esac ;; 1531 esac 1532 done 1116 1533 (set) 2>&1 | 1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1118 * ac_space=\ *)1534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1535 *${as_nl}ac_space=\ *) 1119 1536 sed -n \ 1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1537 "s/'\''/'\''\\\\'\'''\''/g; 1538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1539 ;; #( 1540 *) 1541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1122 1542 ;; 1123 *) 1124 sed -n \ 1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1126 ;; 1127 esac; 1128 } 1543 esac | 1544 sort 1545 ) 1129 1546 echo 1130 1547 … … 1137 1554 for ac_var in $ac_subst_vars 1138 1555 do 1139 eval ac_val=$`echo $ac_var` 1140 echo "$ac_var='"'"'$ac_val'"'"'" 1556 eval ac_val=\$$ac_var 1557 case $ac_val in 1558 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1559 esac 1560 echo "$ac_var='\''$ac_val'\''" 1141 1561 done | sort 1142 1562 echo … … 1144 1564 if test -n "$ac_subst_files"; then 1145 1565 cat <<\_ASBOX 1146 ## ------------- ##1147 ## Output files. ##1148 ## ------------- ##1566 ## ------------------- ## 1567 ## File substitutions. ## 1568 ## ------------------- ## 1149 1569 _ASBOX 1150 1570 echo 1151 1571 for ac_var in $ac_subst_files 1152 1572 do 1153 eval ac_val=$`echo $ac_var` 1154 echo "$ac_var='"'"'$ac_val'"'"'" 1573 eval ac_val=\$$ac_var 1574 case $ac_val in 1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1576 esac 1577 echo "$ac_var='\''$ac_val'\''" 1155 1578 done | sort 1156 1579 echo … … 1164 1587 _ASBOX 1165 1588 echo 1166 sed "/^$/d" confdefs.h | sort1589 cat confdefs.h 1167 1590 echo 1168 1591 fi … … 1171 1594 echo "$as_me: exit $exit_status" 1172 1595 } >&5 1173 rm -f core *.core &&1174 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1596 rm -f core *.core core.conftest.* && 1597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1175 1598 exit $exit_status 1176 1599 ' 0 1177 1600 for ac_signal in 1 2 13 15; do 1178 1601 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1181 1604 1182 1605 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1183 rm -rf conftest* confdefs.h 1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1185 echo >confdefs.h 1606 rm -f -r conftest* confdefs.h 1186 1607 1187 1608 # Predefined preprocessor variables. … … 1214 1635 # Let the site file select an alternate cache file if it wants to. 1215 1636 # Prefer explicitly selected file to automatically selected ones. 1216 if test -z "$CONFIG_SITE"; then 1217 if test "x$prefix" != xNONE; then 1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1219 else 1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1221 fi 1222 fi 1223 for ac_site_file in $CONFIG_SITE; do 1637 if test -n "$CONFIG_SITE"; then 1638 set x "$CONFIG_SITE" 1639 elif test "x$prefix" != xNONE; then 1640 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1641 else 1642 set x "$ac_default_prefix/share/config.site" \ 1643 "$ac_default_prefix/etc/config.site" 1644 fi 1645 shift 1646 for ac_site_file 1647 do 1224 1648 if test -r "$ac_site_file"; then 1225 1649 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1237 1661 echo "$as_me: loading cache $cache_file" >&6;} 1238 1662 case $cache_file in 1239 [\\/]* | ?:[\\/]* ) . $cache_file;;1240 *) . ./$cache_file;;1663 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1664 *) . "./$cache_file";; 1241 1665 esac 1242 1666 fi … … 1250 1674 # value. 1251 1675 ac_cache_corrupted=false 1252 for ac_var in `(set) 2>&1 | 1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1676 for ac_var in $ac_precious_vars; do 1254 1677 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1255 1678 eval ac_new_set=\$ac_env_${ac_var}_set 1256 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1257 eval ac_new_val= "\$ac_env_${ac_var}_value"1679 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1680 eval ac_new_val=\$ac_env_${ac_var}_value 1258 1681 case $ac_old_set,$ac_new_set in 1259 1682 set,) … … 1280 1703 if test "$ac_new_set" = set; then 1281 1704 case $ac_new_val in 1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1705 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1284 1706 *) ac_arg=$ac_var=$ac_new_val ;; 1285 1707 esac … … 1298 1720 fi 1299 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1300 1738 ac_ext=c 1301 1739 ac_cpp='$CPP $CPPFLAGS' … … 1305 1743 1306 1744 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 ac_config_headers="$ac_config_headers config.h" 1745 ac_config_headers="$ac_config_headers config.h" 1325 1746 1326 1747 1327 1748 ac_aux_dir= 1328 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1329 if test -f $ac_dir/install-sh; then1749 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1750 if test -f "$ac_dir/install-sh"; then 1330 1751 ac_aux_dir=$ac_dir 1331 1752 ac_install_sh="$ac_aux_dir/install-sh -c" 1332 1753 break 1333 elif test -f $ac_dir/install.sh; then1754 elif test -f "$ac_dir/install.sh"; then 1334 1755 ac_aux_dir=$ac_dir 1335 1756 ac_install_sh="$ac_aux_dir/install.sh -c" 1336 1757 break 1337 elif test -f $ac_dir/shtool; then1758 elif test -f "$ac_dir/shtool"; then 1338 1759 ac_aux_dir=$ac_dir 1339 1760 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1342 1763 done 1343 1764 if test -z "$ac_aux_dir"; then 1344 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51345 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}1765 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1766 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1346 1767 { (exit 1); exit 1; }; } 1347 1768 fi 1348 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1349 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1350 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1769 1770 # These three variables are undocumented and unsupported, 1771 # and are intended to be withdrawn in a future Autoconf release. 1772 # They can cause serious problems if a builder's source tree is in a directory 1773 # whose full name contains unusual characters. 1774 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1775 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1776 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1777 1351 1778 1352 1779 # Make sure we can run config.sub. 1353 $ ac_config_subsun4 >/dev/null 2>&1 ||1354 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&51355 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}1780 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1781 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1782 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1356 1783 { (exit 1); exit 1; }; } 1357 1784 1358 echo "$as_me:$LINENO: checking build system type" >&51359 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1785 { echo "$as_me:$LINENO: checking build system type" >&5 1786 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1360 1787 if test "${ac_cv_build+set}" = set; then 1361 1788 echo $ECHO_N "(cached) $ECHO_C" >&6 1362 1789 else 1363 ac_ cv_build_alias=$build_alias1364 test -z "$ac_cv_build_alias"&&1365 ac_ cv_build_alias=`$ac_config_guess`1366 test -z "$ac_cv_build_alias"&&1790 ac_build_alias=$build_alias 1791 test "x$ac_build_alias" = x && 1792 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1793 test "x$ac_build_alias" = x && 1367 1794 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1368 1795 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1369 1796 { (exit 1); exit 1; }; } 1370 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1371 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&51372 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}1797 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1798 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1799 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1373 1800 { (exit 1); exit 1; }; } 1374 1801 1375 1802 fi 1376 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1377 echo "${ECHO_T}$ac_cv_build" >&6 1803 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1804 echo "${ECHO_T}$ac_cv_build" >&6; } 1805 case $ac_cv_build in 1806 *-*-*) ;; 1807 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1808 echo "$as_me: error: invalid value of canonical build" >&2;} 1809 { (exit 1); exit 1; }; };; 1810 esac 1378 1811 build=$ac_cv_build 1379 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1380 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1381 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1382 1383 1384 echo "$as_me:$LINENO: checking host system type" >&5 1385 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1812 ac_save_IFS=$IFS; IFS='-' 1813 set x $ac_cv_build 1814 shift 1815 build_cpu=$1 1816 build_vendor=$2 1817 shift; shift 1818 # Remember, the first character of IFS is used to create $*, 1819 # except with old shells: 1820 build_os=$* 1821 IFS=$ac_save_IFS 1822 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1823 1824 1825 { echo "$as_me:$LINENO: checking host system type" >&5 1826 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1386 1827 if test "${ac_cv_host+set}" = set; then 1387 1828 echo $ECHO_N "(cached) $ECHO_C" >&6 1388 1829 else 1389 ac_cv_host_alias=$host_alias1390 test -z "$ac_cv_host_alias" && 1391 ac_cv_host_alias=$ac_cv_build_alias 1392 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51394 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}1830 if test "x$host_alias" = x; then 1831 ac_cv_host=$ac_cv_build 1832 else 1833 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1834 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1835 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1395 1836 { (exit 1); exit 1; }; } 1396 1397 fi 1398 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1399 echo "${ECHO_T}$ac_cv_host" >&6 1837 fi 1838 1839 fi 1840 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1841 echo "${ECHO_T}$ac_cv_host" >&6; } 1842 case $ac_cv_host in 1843 *-*-*) ;; 1844 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1845 echo "$as_me: error: invalid value of canonical host" >&2;} 1846 { (exit 1); exit 1; }; };; 1847 esac 1400 1848 host=$ac_cv_host 1401 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1402 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1403 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1404 1405 1406 echo "$as_me:$LINENO: checking target system type" >&5 1407 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1849 ac_save_IFS=$IFS; IFS='-' 1850 set x $ac_cv_host 1851 shift 1852 host_cpu=$1 1853 host_vendor=$2 1854 shift; shift 1855 # Remember, the first character of IFS is used to create $*, 1856 # except with old shells: 1857 host_os=$* 1858 IFS=$ac_save_IFS 1859 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1860 1861 1862 { echo "$as_me:$LINENO: checking target system type" >&5 1863 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1408 1864 if test "${ac_cv_target+set}" = set; then 1409 1865 echo $ECHO_N "(cached) $ECHO_C" >&6 1410 1866 else 1411 ac_cv_target_alias=$target_alias1412 test "x$ac_cv_target_alias" = "x" && 1413 ac_cv_target_alias=$ac_cv_host_alias 1414 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51416 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}1867 if test "x$target_alias" = x; then 1868 ac_cv_target=$ac_cv_host 1869 else 1870 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1871 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1872 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1417 1873 { (exit 1); exit 1; }; } 1418 1419 fi 1420 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1421 echo "${ECHO_T}$ac_cv_target" >&6 1874 fi 1875 1876 fi 1877 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1878 echo "${ECHO_T}$ac_cv_target" >&6; } 1879 case $ac_cv_target in 1880 *-*-*) ;; 1881 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1882 echo "$as_me: error: invalid value of canonical target" >&2;} 1883 { (exit 1); exit 1; }; };; 1884 esac 1422 1885 target=$ac_cv_target 1423 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1424 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1425 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1886 ac_save_IFS=$IFS; IFS='-' 1887 set x $ac_cv_target 1888 shift 1889 target_cpu=$1 1890 target_vendor=$2 1891 shift; shift 1892 # Remember, the first character of IFS is used to create $*, 1893 # except with old shells: 1894 target_os=$* 1895 IFS=$ac_save_IFS 1896 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1426 1897 1427 1898 … … 1433 1904 program_prefix=${target_alias}- 1434 1905 test "$program_prefix" != NONE && 1435 program_transform_name="s ,^,$program_prefix,;$program_transform_name"1906 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1436 1907 # Use a double $ so make ignores it. 1437 1908 test "$program_suffix" != NONE && 1438 program_transform_name="s ,\$,$program_suffix,;$program_transform_name"1909 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1439 1910 # Double any \ or $. echo might interpret backslashes. 1440 1911 # By default was `s,x,x', remove it if useless. … … 1443 1914 _ACEOF 1444 1915 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1445 rm conftest.sed1916 rm -f conftest.sed 1446 1917 1447 1918 … … 1461 1932 1462 1933 1463 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&51464 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 1934 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 1935 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; } 1465 1936 arch_64bit=no 1466 1937 case "$host_cpu" in … … 1469 1940 1470 1941 if test "$arch_64bit" = yes; then 1471 echo "$as_me:$LINENO: result: yes" >&51472 echo "${ECHO_T}yes" >&6 1942 { echo "$as_me:$LINENO: result: yes" >&5 1943 echo "${ECHO_T}yes" >&6; } 1473 1944 if test -z "$COMPAT32BITFLAGS" ; then 1474 1945 COMPAT32BITFLAGS="-m32" 1475 1946 fi 1476 1947 else 1477 echo "$as_me:$LINENO: result: no" >&51478 echo "${ECHO_T}no" >&6 1948 { echo "$as_me:$LINENO: result: no" >&5 1949 echo "${ECHO_T}no" >&6; } 1479 1950 if test -z "$COMPAT32BITFLAGS" ; then 1480 1951 COMPAT32BITFLAGS= … … 1483 1954 1484 1955 1485 # Check whether --enable-accentfold or --disable-accentfoldwas given.1956 # Check whether --enable-accentfold was given. 1486 1957 if test "${enable_accentfold+set}" = set; then 1487 enableval="$enable_accentfold" 1488 ENABLE_ACCENTFOLD=0 1958 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1489 1959 else 1490 1960 ENABLE_ACCENTFOLD=1 1491 fi; 1961 fi 1962 1492 1963 cat >>confdefs.h <<\_ACEOF 1493 1964 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD … … 1496 1967 1497 1968 1498 ac_ext=c c1969 ac_ext=cpp 1499 1970 ac_cpp='$CXXCPP $CPPFLAGS' 1500 1971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1501 1972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1502 1973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1503 if test -n "$ac_tool_prefix"; then 1504 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1974 if test -z "$CXX"; then 1975 if test -n "$CCC"; then 1976 CXX=$CCC 1977 else 1978 if test -n "$ac_tool_prefix"; then 1979 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1505 1980 do 1506 1981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1507 1982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1508 echo "$as_me:$LINENO: checking for $ac_word" >&51509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1983 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1510 1985 if test "${ac_cv_prog_CXX+set}" = set; then 1511 1986 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1520 1995 test -z "$as_dir" && as_dir=. 1521 1996 for ac_exec_ext in '' $ac_executable_extensions; do 1522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1523 1998 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1524 1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1527 2002 done 1528 2003 done 2004 IFS=$as_save_IFS 1529 2005 1530 2006 fi … … 1532 2008 CXX=$ac_cv_prog_CXX 1533 2009 if test -n "$CXX"; then 1534 echo "$as_me:$LINENO: result: $CXX" >&5 1535 echo "${ECHO_T}$CXX" >&6 1536 else 1537 echo "$as_me:$LINENO: result: no" >&5 1538 echo "${ECHO_T}no" >&6 1539 fi 2010 { echo "$as_me:$LINENO: result: $CXX" >&5 2011 echo "${ECHO_T}$CXX" >&6; } 2012 else 2013 { echo "$as_me:$LINENO: result: no" >&5 2014 echo "${ECHO_T}no" >&6; } 2015 fi 2016 1540 2017 1541 2018 test -n "$CXX" && break … … 1544 2021 if test -z "$CXX"; then 1545 2022 ac_ct_CXX=$CXX 1546 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2023 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1547 2024 do 1548 2025 # Extract the first word of "$ac_prog", so it can be a program name with args. 1549 2026 set dummy $ac_prog; ac_word=$2 1550 echo "$as_me:$LINENO: checking for $ac_word" >&51551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2027 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1552 2029 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1553 2030 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1562 2039 test -z "$as_dir" && as_dir=. 1563 2040 for ac_exec_ext in '' $ac_executable_extensions; do 1564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1565 2042 ac_cv_prog_ac_ct_CXX="$ac_prog" 1566 2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1569 2046 done 1570 2047 done 2048 IFS=$as_save_IFS 1571 2049 1572 2050 fi … … 1574 2052 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1575 2053 if test -n "$ac_ct_CXX"; then 1576 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1577 echo "${ECHO_T}$ac_ct_CXX" >&6 1578 else 1579 echo "$as_me:$LINENO: result: no" >&5 1580 echo "${ECHO_T}no" >&6 1581 fi 2054 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2055 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2056 else 2057 { echo "$as_me:$LINENO: result: no" >&5 2058 echo "${ECHO_T}no" >&6; } 2059 fi 2060 1582 2061 1583 2062 test -n "$ac_ct_CXX" && break 1584 2063 done 1585 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1586 1587 CXX=$ac_ct_CXX 1588 fi 1589 1590 2064 2065 if test "x$ac_ct_CXX" = x; then 2066 CXX="g++" 2067 else 2068 case $cross_compiling:$ac_tool_warned in 2069 yes:) 2070 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2071 whose name does not start with the host triplet. If you think this 2072 configuration is useful to you, please write to [email protected]." >&5 2073 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2074 whose name does not start with the host triplet. If you think this 2075 configuration is useful to you, please write to [email protected]." >&2;} 2076 ac_tool_warned=yes ;; 2077 esac 2078 CXX=$ac_ct_CXX 2079 fi 2080 fi 2081 2082 fi 2083 fi 1591 2084 # Provide some information about the compiler. 1592 echo "$as_me:$LINENO:" \ 1593 "checking for C++ compiler version" >&5 2085 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 1594 2086 ac_compiler=`set X $ac_compile; echo $2` 1595 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1596 (eval $ac_compiler --version </dev/null >&5) 2>&5 2087 { (ac_try="$ac_compiler --version >&5" 2088 case "(($ac_try" in 2089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2090 *) ac_try_echo=$ac_try;; 2091 esac 2092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2093 (eval "$ac_compiler --version >&5") 2>&5 1597 2094 ac_status=$? 1598 2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1599 2096 (exit $ac_status); } 1600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1601 (eval $ac_compiler -v </dev/null >&5) 2>&5 2097 { (ac_try="$ac_compiler -v >&5" 2098 case "(($ac_try" in 2099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2100 *) ac_try_echo=$ac_try;; 2101 esac 2102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2103 (eval "$ac_compiler -v >&5") 2>&5 1602 2104 ac_status=$? 1603 2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1604 2106 (exit $ac_status); } 1605 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1606 (eval $ac_compiler -V </dev/null >&5) 2>&5 2107 { (ac_try="$ac_compiler -V >&5" 2108 case "(($ac_try" in 2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2110 *) ac_try_echo=$ac_try;; 2111 esac 2112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2113 (eval "$ac_compiler -V >&5") 2>&5 1607 2114 ac_status=$? 1608 2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1629 2136 # It will help us diagnose broken compilers, and finding out an intuition 1630 2137 # of exeext. 1631 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&51632 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 2138 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 2139 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } 1633 2140 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1634 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1635 (eval $ac_link_default) 2>&5 2141 # 2142 # List of possible output files, starting from the most likely. 2143 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2144 # only as a last resort. b.out is created by i960 compilers. 2145 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2146 # 2147 # The IRIX 6 linker writes into existing files which may not be 2148 # executable, retaining their permissions. Remove them first so a 2149 # subsequent execution test works. 2150 ac_rmfiles= 2151 for ac_file in $ac_files 2152 do 2153 case $ac_file in 2154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2155 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2156 esac 2157 done 2158 rm -f $ac_rmfiles 2159 2160 if { (ac_try="$ac_link_default" 2161 case "(($ac_try" in 2162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2163 *) ac_try_echo=$ac_try;; 2164 esac 2165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2166 (eval "$ac_link_default") 2>&5 1636 2167 ac_status=$? 1637 2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1638 2169 (exit $ac_status); }; then 1639 # Find the output, starting from the most likely. This scheme is 1640 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1641 # resort. 1642 1643 # Be careful to initialize this variable, since it used to be cached. 1644 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1645 ac_cv_exeext= 1646 # b.out is created by i960 compilers. 1647 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2170 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2171 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2172 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2173 # so that the user can short-circuit this test for compilers unknown to 2174 # Autoconf. 2175 for ac_file in $ac_files '' 1648 2176 do 1649 2177 test -f "$ac_file" || continue 1650 2178 case $ac_file in 1651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1652 ;; 1653 conftest.$ac_ext ) 1654 # This is the source file. 2179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1655 2180 ;; 1656 2181 [ab].out ) … … 1659 2184 break;; 1660 2185 *.* ) 1661 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1662 # FIXME: I believe we export ac_cv_exeext for Libtool, 1663 # but it would be cool to find out if it's true. Does anybody 1664 # maintain Libtool? --akim. 1665 export ac_cv_exeext 2186 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2187 then :; else 2188 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2189 fi 2190 # We set ac_cv_exeext here because the later test for it is not 2191 # safe: cross compilers may not add the suffix if given an `-o' 2192 # argument, so we may need to know it at that point already. 2193 # Even if this section looks crufty: it has the advantage of 2194 # actually working. 1666 2195 break;; 1667 2196 * ) … … 1669 2198 esac 1670 2199 done 1671 else 2200 test "$ac_cv_exeext" = no && ac_cv_exeext= 2201 2202 else 2203 ac_file='' 2204 fi 2205 2206 { echo "$as_me:$LINENO: result: $ac_file" >&5 2207 echo "${ECHO_T}$ac_file" >&6; } 2208 if test -z "$ac_file"; then 1672 2209 echo "$as_me: failed program was:" >&5 1673 2210 sed 's/^/| /' conftest.$ac_ext >&5 … … 1681 2218 1682 2219 ac_exeext=$ac_cv_exeext 1683 echo "$as_me:$LINENO: result: $ac_file" >&5 1684 echo "${ECHO_T}$ac_file" >&6 1685 1686 # Check the compiler produces executables we can run. If not, either 2220 2221 # Check that the compiler produces executables we can run. If not, either 1687 2222 # the compiler is broken, or we cross compile. 1688 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&51689 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 2223 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 2224 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } 1690 2225 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1691 2226 # If not cross compiling, check that we can run a simple program. 1692 2227 if test "$cross_compiling" != yes; then 1693 2228 if { ac_try='./$ac_file' 1694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1695 (eval $ac_try) 2>&5 2229 { (case "(($ac_try" in 2230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2231 *) ac_try_echo=$ac_try;; 2232 esac 2233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2234 (eval "$ac_try") 2>&5 1696 2235 ac_status=$? 1697 2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1712 2251 fi 1713 2252 fi 1714 echo "$as_me:$LINENO: result: yes" >&51715 echo "${ECHO_T}yes" >&6 2253 { echo "$as_me:$LINENO: result: yes" >&5 2254 echo "${ECHO_T}yes" >&6; } 1716 2255 1717 2256 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1718 2257 ac_clean_files=$ac_clean_files_save 1719 # Check th e compiler produces executables we can run. If not, either2258 # Check that the compiler produces executables we can run. If not, either 1720 2259 # the compiler is broken, or we cross compile. 1721 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1722 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1723 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1724 echo "${ECHO_T}$cross_compiling" >&6 1725 1726 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1727 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1729 (eval $ac_link) 2>&5 2260 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2261 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2262 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2263 echo "${ECHO_T}$cross_compiling" >&6; } 2264 2265 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2266 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2267 if { (ac_try="$ac_link" 2268 case "(($ac_try" in 2269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2270 *) ac_try_echo=$ac_try;; 2271 esac 2272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2273 (eval "$ac_link") 2>&5 1730 2274 ac_status=$? 1731 2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1738 2282 test -f "$ac_file" || continue 1739 2283 case $ac_file in 1740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1741 2285 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1742 export ac_cv_exeext1743 2286 break;; 1744 2287 * ) break;; … … 1754 2297 1755 2298 rm -f conftest$ac_cv_exeext 1756 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51757 echo "${ECHO_T}$ac_cv_exeext" >&6 2299 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2300 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1758 2301 1759 2302 rm -f conftest.$ac_ext 1760 2303 EXEEXT=$ac_cv_exeext 1761 2304 ac_exeext=$EXEEXT 1762 echo "$as_me:$LINENO: checking for suffix of object files" >&51763 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2305 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1764 2307 if test "${ac_cv_objext+set}" = set; then 1765 2308 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1781 2324 _ACEOF 1782 2325 rm -f conftest.o conftest.obj 1783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1784 (eval $ac_compile) 2>&5 2326 if { (ac_try="$ac_compile" 2327 case "(($ac_try" in 2328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2329 *) ac_try_echo=$ac_try;; 2330 esac 2331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2332 (eval "$ac_compile") 2>&5 1785 2333 ac_status=$? 1786 2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1787 2335 (exit $ac_status); }; then 1788 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2336 for ac_file in conftest.o conftest.obj conftest.*; do 2337 test -f "$ac_file" || continue; 1789 2338 case $ac_file in 1790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1791 2340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1792 2341 break;; … … 1806 2355 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1807 2356 fi 1808 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51809 echo "${ECHO_T}$ac_cv_objext" >&6 2357 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2358 echo "${ECHO_T}$ac_cv_objext" >&6; } 1810 2359 OBJEXT=$ac_cv_objext 1811 2360 ac_objext=$OBJEXT 1812 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&51813 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2361 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2362 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 1814 2363 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1815 2364 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1834 2383 _ACEOF 1835 2384 rm -f conftest.$ac_objext 1836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1837 (eval $ac_compile) 2>conftest.er1 2385 if { (ac_try="$ac_compile" 2386 case "(($ac_try" in 2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2388 *) ac_try_echo=$ac_try;; 2389 esac 2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2391 (eval "$ac_compile") 2>conftest.er1 1838 2392 ac_status=$? 1839 2393 grep -v '^ *+' conftest.er1 >conftest.err … … 1841 2395 cat conftest.err >&5 1842 2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1843 (exit $ac_status); } && 1844 { ac_try='test -z "$ac_cxx_werror_flag" 1845 || test ! -s conftest.err' 1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1847 (eval $ac_try) 2>&5 1848 ac_status=$? 1849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1850 (exit $ac_status); }; } && 1851 { ac_try='test -s conftest.$ac_objext' 1852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1853 (eval $ac_try) 2>&5 1854 ac_status=$? 1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1856 (exit $ac_status); }; }; then 2397 (exit $ac_status); } && { 2398 test -z "$ac_cxx_werror_flag" || 2399 test ! -s conftest.err 2400 } && test -s conftest.$ac_objext; then 1857 2401 ac_compiler_gnu=yes 1858 2402 else … … 1860 2404 sed 's/^/| /' conftest.$ac_ext >&5 1861 2405 1862 ac_compiler_gnu=no 1863 fi 1864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2406 ac_compiler_gnu=no 2407 fi 2408 2409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1865 2410 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1866 2411 1867 2412 fi 1868 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&51869 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2413 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2414 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 1870 2415 GXX=`test $ac_compiler_gnu = yes && echo yes` 1871 2416 ac_test_CXXFLAGS=${CXXFLAGS+set} 1872 2417 ac_save_CXXFLAGS=$CXXFLAGS 1873 CXXFLAGS="-g" 1874 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1875 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2418 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2419 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 1876 2420 if test "${ac_cv_prog_cxx_g+set}" = set; then 1877 2421 echo $ECHO_N "(cached) $ECHO_C" >&6 1878 2422 else 1879 cat >conftest.$ac_ext <<_ACEOF 2423 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2424 ac_cxx_werror_flag=yes 2425 ac_cv_prog_cxx_g=no 2426 CXXFLAGS="-g" 2427 cat >conftest.$ac_ext <<_ACEOF 1880 2428 /* confdefs.h. */ 1881 2429 _ACEOF … … 1893 2441 _ACEOF 1894 2442 rm -f conftest.$ac_objext 1895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1896 (eval $ac_compile) 2>conftest.er1 2443 if { (ac_try="$ac_compile" 2444 case "(($ac_try" in 2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2446 *) ac_try_echo=$ac_try;; 2447 esac 2448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2449 (eval "$ac_compile") 2>conftest.er1 1897 2450 ac_status=$? 1898 2451 grep -v '^ *+' conftest.er1 >conftest.err … … 1900 2453 cat conftest.err >&5 1901 2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1902 (exit $ac_status); } && 1903 { ac_try='test -z "$ac_cxx_werror_flag" 1904 || test ! -s conftest.err' 1905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1906 (eval $ac_try) 2>&5 1907 ac_status=$? 1908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1909 (exit $ac_status); }; } && 1910 { ac_try='test -s conftest.$ac_objext' 1911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1912 (eval $ac_try) 2>&5 1913 ac_status=$? 1914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1915 (exit $ac_status); }; }; then 2455 (exit $ac_status); } && { 2456 test -z "$ac_cxx_werror_flag" || 2457 test ! -s conftest.err 2458 } && test -s conftest.$ac_objext; then 1916 2459 ac_cv_prog_cxx_g=yes 1917 2460 else … … 1919 2462 sed 's/^/| /' conftest.$ac_ext >&5 1920 2463 1921 ac_cv_prog_cxx_g=no 1922 fi 1923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1924 fi 1925 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1926 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 2464 CXXFLAGS="" 2465 cat >conftest.$ac_ext <<_ACEOF 2466 /* confdefs.h. */ 2467 _ACEOF 2468 cat confdefs.h >>conftest.$ac_ext 2469 cat >>conftest.$ac_ext <<_ACEOF 2470 /* end confdefs.h. */ 2471 2472 int 2473 main () 2474 { 2475 2476 ; 2477 return 0; 2478 } 2479 _ACEOF 2480 rm -f conftest.$ac_objext 2481 if { (ac_try="$ac_compile" 2482 case "(($ac_try" in 2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2484 *) ac_try_echo=$ac_try;; 2485 esac 2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2487 (eval "$ac_compile") 2>conftest.er1 2488 ac_status=$? 2489 grep -v '^ *+' conftest.er1 >conftest.err 2490 rm -f conftest.er1 2491 cat conftest.err >&5 2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2493 (exit $ac_status); } && { 2494 test -z "$ac_cxx_werror_flag" || 2495 test ! -s conftest.err 2496 } && test -s conftest.$ac_objext; then 2497 : 2498 else 2499 echo "$as_me: failed program was:" >&5 2500 sed 's/^/| /' conftest.$ac_ext >&5 2501 2502 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2503 CXXFLAGS="-g" 2504 cat >conftest.$ac_ext <<_ACEOF 2505 /* confdefs.h. */ 2506 _ACEOF 2507 cat confdefs.h >>conftest.$ac_ext 2508 cat >>conftest.$ac_ext <<_ACEOF 2509 /* end confdefs.h. */ 2510 2511 int 2512 main () 2513 { 2514 2515 ; 2516 return 0; 2517 } 2518 _ACEOF 2519 rm -f conftest.$ac_objext 2520 if { (ac_try="$ac_compile" 2521 case "(($ac_try" in 2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2523 *) ac_try_echo=$ac_try;; 2524 esac 2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2526 (eval "$ac_compile") 2>conftest.er1 2527 ac_status=$? 2528 grep -v '^ *+' conftest.er1 >conftest.err 2529 rm -f conftest.er1 2530 cat conftest.err >&5 2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2532 (exit $ac_status); } && { 2533 test -z "$ac_cxx_werror_flag" || 2534 test ! -s conftest.err 2535 } && test -s conftest.$ac_objext; then 2536 ac_cv_prog_cxx_g=yes 2537 else 2538 echo "$as_me: failed program was:" >&5 2539 sed 's/^/| /' conftest.$ac_ext >&5 2540 2541 2542 fi 2543 2544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2545 fi 2546 2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2548 fi 2549 2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2551 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2552 fi 2553 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2554 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 1927 2555 if test "$ac_test_CXXFLAGS" = set; then 1928 2556 CXXFLAGS=$ac_save_CXXFLAGS … … 1940 2568 fi 1941 2569 fi 1942 for ac_declaration in \1943 '' \1944 'extern "C" void std::exit (int) throw (); using std::exit;' \1945 'extern "C" void std::exit (int); using std::exit;' \1946 'extern "C" void exit (int) throw ();' \1947 'extern "C" void exit (int);' \1948 'void exit (int);'1949 do1950 cat >conftest.$ac_ext <<_ACEOF1951 /* confdefs.h. */1952 _ACEOF1953 cat confdefs.h >>conftest.$ac_ext1954 cat >>conftest.$ac_ext <<_ACEOF1955 /* end confdefs.h. */1956 $ac_declaration1957 #include <stdlib.h>1958 int1959 main ()1960 {1961 exit (42);1962 ;1963 return 0;1964 }1965 _ACEOF1966 rm -f conftest.$ac_objext1967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&51968 (eval $ac_compile) 2>conftest.er11969 ac_status=$?1970 grep -v '^ *+' conftest.er1 >conftest.err1971 rm -f conftest.er11972 cat conftest.err >&51973 echo "$as_me:$LINENO: \$? = $ac_status" >&51974 (exit $ac_status); } &&1975 { ac_try='test -z "$ac_cxx_werror_flag"1976 || test ! -s conftest.err'1977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&51978 (eval $ac_try) 2>&51979 ac_status=$?1980 echo "$as_me:$LINENO: \$? = $ac_status" >&51981 (exit $ac_status); }; } &&1982 { ac_try='test -s conftest.$ac_objext'1983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&51984 (eval $ac_try) 2>&51985 ac_status=$?1986 echo "$as_me:$LINENO: \$? = $ac_status" >&51987 (exit $ac_status); }; }; then1988 :1989 else1990 echo "$as_me: failed program was:" >&51991 sed 's/^/| /' conftest.$ac_ext >&51992 1993 continue1994 fi1995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext1996 cat >conftest.$ac_ext <<_ACEOF1997 /* confdefs.h. */1998 _ACEOF1999 cat confdefs.h >>conftest.$ac_ext2000 cat >>conftest.$ac_ext <<_ACEOF2001 /* end confdefs.h. */2002 $ac_declaration2003 int2004 main ()2005 {2006 exit (42);2007 ;2008 return 0;2009 }2010 _ACEOF2011 rm -f conftest.$ac_objext2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52013 (eval $ac_compile) 2>conftest.er12014 ac_status=$?2015 grep -v '^ *+' conftest.er1 >conftest.err2016 rm -f conftest.er12017 cat conftest.err >&52018 echo "$as_me:$LINENO: \$? = $ac_status" >&52019 (exit $ac_status); } &&2020 { ac_try='test -z "$ac_cxx_werror_flag"2021 || test ! -s conftest.err'2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52023 (eval $ac_try) 2>&52024 ac_status=$?2025 echo "$as_me:$LINENO: \$? = $ac_status" >&52026 (exit $ac_status); }; } &&2027 { ac_try='test -s conftest.$ac_objext'2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52029 (eval $ac_try) 2>&52030 ac_status=$?2031 echo "$as_me:$LINENO: \$? = $ac_status" >&52032 (exit $ac_status); }; }; then2033 break2034 else2035 echo "$as_me: failed program was:" >&52036 sed 's/^/| /' conftest.$ac_ext >&52037 2038 fi2039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2040 done2041 rm -f conftest*2042 if test -n "$ac_declaration"; then2043 echo '#ifdef __cplusplus' >>confdefs.h2044 echo $ac_declaration >>confdefs.h2045 echo '#endif' >>confdefs.h2046 fi2047 2048 2570 ac_ext=c 2049 2571 ac_cpp='$CPP $CPPFLAGS' … … 2056 2578 # Extract the first word of "$ac_prog", so it can be a program name with args. 2057 2579 set dummy $ac_prog; ac_word=$2 2058 echo "$as_me:$LINENO: checking for $ac_word" >&52059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2580 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2060 2582 if test "${ac_cv_prog_AWK+set}" = set; then 2061 2583 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2070 2592 test -z "$as_dir" && as_dir=. 2071 2593 for ac_exec_ext in '' $ac_executable_extensions; do 2072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2073 2595 ac_cv_prog_AWK="$ac_prog" 2074 2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2077 2599 done 2078 2600 done 2601 IFS=$as_save_IFS 2079 2602 2080 2603 fi … … 2082 2605 AWK=$ac_cv_prog_AWK 2083 2606 if test -n "$AWK"; then 2084 echo "$as_me:$LINENO: result: $AWK" >&5 2085 echo "${ECHO_T}$AWK" >&6 2086 else 2087 echo "$as_me:$LINENO: result: no" >&5 2088 echo "${ECHO_T}no" >&6 2089 fi 2607 { echo "$as_me:$LINENO: result: $AWK" >&5 2608 echo "${ECHO_T}$AWK" >&6; } 2609 else 2610 { echo "$as_me:$LINENO: result: no" >&5 2611 echo "${ECHO_T}no" >&6; } 2612 fi 2613 2090 2614 2091 2615 test -n "$AWK" && break … … 2096 2620 # Extract the first word of "$ac_prog", so it can be a program name with args. 2097 2621 set dummy $ac_prog; ac_word=$2 2098 echo "$as_me:$LINENO: checking for $ac_word" >&52099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2622 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2100 2624 if test "${ac_cv_prog_YACC+set}" = set; then 2101 2625 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2110 2634 test -z "$as_dir" && as_dir=. 2111 2635 for ac_exec_ext in '' $ac_executable_extensions; do 2112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2113 2637 ac_cv_prog_YACC="$ac_prog" 2114 2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2117 2641 done 2118 2642 done 2643 IFS=$as_save_IFS 2119 2644 2120 2645 fi … … 2122 2647 YACC=$ac_cv_prog_YACC 2123 2648 if test -n "$YACC"; then 2124 echo "$as_me:$LINENO: result: $YACC" >&5 2125 echo "${ECHO_T}$YACC" >&6 2126 else 2127 echo "$as_me:$LINENO: result: no" >&5 2128 echo "${ECHO_T}no" >&6 2129 fi 2649 { echo "$as_me:$LINENO: result: $YACC" >&5 2650 echo "${ECHO_T}$YACC" >&6; } 2651 else 2652 { echo "$as_me:$LINENO: result: no" >&5 2653 echo "${ECHO_T}no" >&6; } 2654 fi 2655 2130 2656 2131 2657 test -n "$YACC" && break … … 2141 2667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2142 2668 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2143 echo "$as_me:$LINENO: checking for $ac_word" >&52144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2669 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2145 2671 if test "${ac_cv_prog_CC+set}" = set; then 2146 2672 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2155 2681 test -z "$as_dir" && as_dir=. 2156 2682 for ac_exec_ext in '' $ac_executable_extensions; do 2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2158 2684 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2159 2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2162 2688 done 2163 2689 done 2690 IFS=$as_save_IFS 2164 2691 2165 2692 fi … … 2167 2694 CC=$ac_cv_prog_CC 2168 2695 if test -n "$CC"; then 2169 echo "$as_me:$LINENO: result: $CC" >&5 2170 echo "${ECHO_T}$CC" >&6 2171 else 2172 echo "$as_me:$LINENO: result: no" >&5 2173 echo "${ECHO_T}no" >&6 2174 fi 2696 { echo "$as_me:$LINENO: result: $CC" >&5 2697 echo "${ECHO_T}$CC" >&6; } 2698 else 2699 { echo "$as_me:$LINENO: result: no" >&5 2700 echo "${ECHO_T}no" >&6; } 2701 fi 2702 2175 2703 2176 2704 fi … … 2179 2707 # Extract the first word of "gcc", so it can be a program name with args. 2180 2708 set dummy gcc; ac_word=$2 2181 echo "$as_me:$LINENO: checking for $ac_word" >&52182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2709 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2183 2711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2184 2712 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2193 2721 test -z "$as_dir" && as_dir=. 2194 2722 for ac_exec_ext in '' $ac_executable_extensions; do 2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2196 2724 ac_cv_prog_ac_ct_CC="gcc" 2197 2725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2200 2728 done 2201 2729 done 2730 IFS=$as_save_IFS 2202 2731 2203 2732 fi … … 2205 2734 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2206 2735 if test -n "$ac_ct_CC"; then 2207 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2208 echo "${ECHO_T}$ac_ct_CC" >&6 2209 else 2210 echo "$as_me:$LINENO: result: no" >&5 2211 echo "${ECHO_T}no" >&6 2212 fi 2213 2214 CC=$ac_ct_CC 2736 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2737 echo "${ECHO_T}$ac_ct_CC" >&6; } 2738 else 2739 { echo "$as_me:$LINENO: result: no" >&5 2740 echo "${ECHO_T}no" >&6; } 2741 fi 2742 2743 if test "x$ac_ct_CC" = x; then 2744 CC="" 2745 else 2746 case $cross_compiling:$ac_tool_warned in 2747 yes:) 2748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2749 whose name does not start with the host triplet. If you think this 2750 configuration is useful to you, please write to [email protected]." >&5 2751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2752 whose name does not start with the host triplet. If you think this 2753 configuration is useful to you, please write to [email protected]." >&2;} 2754 ac_tool_warned=yes ;; 2755 esac 2756 CC=$ac_ct_CC 2757 fi 2215 2758 else 2216 2759 CC="$ac_cv_prog_CC" … … 2218 2761 2219 2762 if test -z "$CC"; then 2220 if test -n "$ac_tool_prefix"; then2221 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2763 if test -n "$ac_tool_prefix"; then 2764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2222 2765 set dummy ${ac_tool_prefix}cc; ac_word=$2 2223 echo "$as_me:$LINENO: checking for $ac_word" >&52224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2766 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2225 2768 if test "${ac_cv_prog_CC+set}" = set; then 2226 2769 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2235 2778 test -z "$as_dir" && as_dir=. 2236 2779 for ac_exec_ext in '' $ac_executable_extensions; do 2237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2238 2781 ac_cv_prog_CC="${ac_tool_prefix}cc" 2239 2782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2242 2785 done 2243 2786 done 2787 IFS=$as_save_IFS 2244 2788 2245 2789 fi … … 2247 2791 CC=$ac_cv_prog_CC 2248 2792 if test -n "$CC"; then 2249 echo "$as_me:$LINENO: result: $CC" >&5 2250 echo "${ECHO_T}$CC" >&6 2251 else 2252 echo "$as_me:$LINENO: result: no" >&5 2253 echo "${ECHO_T}no" >&6 2254 fi 2255 2256 fi 2257 if test -z "$ac_cv_prog_CC"; then 2258 ac_ct_CC=$CC 2259 # Extract the first word of "cc", so it can be a program name with args. 2260 set dummy cc; ac_word=$2 2261 echo "$as_me:$LINENO: checking for $ac_word" >&5 2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2264 echo $ECHO_N "(cached) $ECHO_C" >&6 2265 else 2266 if test -n "$ac_ct_CC"; then 2267 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2268 else 2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2270 for as_dir in $PATH 2271 do 2272 IFS=$as_save_IFS 2273 test -z "$as_dir" && as_dir=. 2274 for ac_exec_ext in '' $ac_executable_extensions; do 2275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2276 ac_cv_prog_ac_ct_CC="cc" 2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2278 break 2 2793 { echo "$as_me:$LINENO: result: $CC" >&5 2794 echo "${ECHO_T}$CC" >&6; } 2795 else 2796 { echo "$as_me:$LINENO: result: no" >&5 2797 echo "${ECHO_T}no" >&6; } 2798 fi 2799 2800 2279 2801 fi 2280 done2281 done2282 2283 fi2284 fi2285 ac_ct_CC=$ac_cv_prog_ac_ct_CC2286 if test -n "$ac_ct_CC"; then2287 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52288 echo "${ECHO_T}$ac_ct_CC" >&62289 else2290 echo "$as_me:$LINENO: result: no" >&52291 echo "${ECHO_T}no" >&62292 fi2293 2294 CC=$ac_ct_CC2295 else2296 CC="$ac_cv_prog_CC"2297 fi2298 2299 2802 fi 2300 2803 if test -z "$CC"; then 2301 2804 # Extract the first word of "cc", so it can be a program name with args. 2302 2805 set dummy cc; ac_word=$2 2303 echo "$as_me:$LINENO: checking for $ac_word" >&52304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2806 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2305 2808 if test "${ac_cv_prog_CC+set}" = set; then 2306 2809 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2316 2819 test -z "$as_dir" && as_dir=. 2317 2820 for ac_exec_ext in '' $ac_executable_extensions; do 2318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2319 2822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2320 2823 ac_prog_rejected=yes … … 2327 2830 done 2328 2831 done 2832 IFS=$as_save_IFS 2329 2833 2330 2834 if test $ac_prog_rejected = yes; then … … 2344 2848 CC=$ac_cv_prog_CC 2345 2849 if test -n "$CC"; then 2346 echo "$as_me:$LINENO: result: $CC" >&5 2347 echo "${ECHO_T}$CC" >&6 2348 else 2349 echo "$as_me:$LINENO: result: no" >&5 2350 echo "${ECHO_T}no" >&6 2351 fi 2850 { echo "$as_me:$LINENO: result: $CC" >&5 2851 echo "${ECHO_T}$CC" >&6; } 2852 else 2853 { echo "$as_me:$LINENO: result: no" >&5 2854 echo "${ECHO_T}no" >&6; } 2855 fi 2856 2352 2857 2353 2858 fi 2354 2859 if test -z "$CC"; then 2355 2860 if test -n "$ac_tool_prefix"; then 2356 for ac_prog in cl 2861 for ac_prog in cl.exe 2357 2862 do 2358 2863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2359 2864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2360 echo "$as_me:$LINENO: checking for $ac_word" >&52361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2865 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2362 2867 if test "${ac_cv_prog_CC+set}" = set; then 2363 2868 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2372 2877 test -z "$as_dir" && as_dir=. 2373 2878 for ac_exec_ext in '' $ac_executable_extensions; do 2374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2375 2880 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2376 2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2379 2884 done 2380 2885 done 2886 IFS=$as_save_IFS 2381 2887 2382 2888 fi … … 2384 2890 CC=$ac_cv_prog_CC 2385 2891 if test -n "$CC"; then 2386 echo "$as_me:$LINENO: result: $CC" >&5 2387 echo "${ECHO_T}$CC" >&6 2388 else 2389 echo "$as_me:$LINENO: result: no" >&5 2390 echo "${ECHO_T}no" >&6 2391 fi 2892 { echo "$as_me:$LINENO: result: $CC" >&5 2893 echo "${ECHO_T}$CC" >&6; } 2894 else 2895 { echo "$as_me:$LINENO: result: no" >&5 2896 echo "${ECHO_T}no" >&6; } 2897 fi 2898 2392 2899 2393 2900 test -n "$CC" && break … … 2396 2903 if test -z "$CC"; then 2397 2904 ac_ct_CC=$CC 2398 for ac_prog in cl 2905 for ac_prog in cl.exe 2399 2906 do 2400 2907 # Extract the first word of "$ac_prog", so it can be a program name with args. 2401 2908 set dummy $ac_prog; ac_word=$2 2402 echo "$as_me:$LINENO: checking for $ac_word" >&52403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2909 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2404 2911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2405 2912 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2414 2921 test -z "$as_dir" && as_dir=. 2415 2922 for ac_exec_ext in '' $ac_executable_extensions; do 2416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2417 2924 ac_cv_prog_ac_ct_CC="$ac_prog" 2418 2925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2421 2928 done 2422 2929 done 2930 IFS=$as_save_IFS 2423 2931 2424 2932 fi … … 2426 2934 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2427 2935 if test -n "$ac_ct_CC"; then 2428 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2429 echo "${ECHO_T}$ac_ct_CC" >&6 2430 else 2431 echo "$as_me:$LINENO: result: no" >&5 2432 echo "${ECHO_T}no" >&6 2433 fi 2936 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2937 echo "${ECHO_T}$ac_ct_CC" >&6; } 2938 else 2939 { echo "$as_me:$LINENO: result: no" >&5 2940 echo "${ECHO_T}no" >&6; } 2941 fi 2942 2434 2943 2435 2944 test -n "$ac_ct_CC" && break 2436 2945 done 2437 2946 2438 CC=$ac_ct_CC 2947 if test "x$ac_ct_CC" = x; then 2948 CC="" 2949 else 2950 case $cross_compiling:$ac_tool_warned in 2951 yes:) 2952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2953 whose name does not start with the host triplet. If you think this 2954 configuration is useful to you, please write to [email protected]." >&5 2955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2956 whose name does not start with the host triplet. If you think this 2957 configuration is useful to you, please write to [email protected]." >&2;} 2958 ac_tool_warned=yes ;; 2959 esac 2960 CC=$ac_ct_CC 2961 fi 2439 2962 fi 2440 2963 … … 2449 2972 2450 2973 # Provide some information about the compiler. 2451 echo "$as_me:$LINENO:" \ 2452 "checking for C compiler version" >&5 2974 echo "$as_me:$LINENO: checking for C compiler version" >&5 2453 2975 ac_compiler=`set X $ac_compile; echo $2` 2454 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2455 (eval $ac_compiler --version </dev/null >&5) 2>&5 2976 { (ac_try="$ac_compiler --version >&5" 2977 case "(($ac_try" in 2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2979 *) ac_try_echo=$ac_try;; 2980 esac 2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2982 (eval "$ac_compiler --version >&5") 2>&5 2456 2983 ac_status=$? 2457 2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2458 2985 (exit $ac_status); } 2459 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2460 (eval $ac_compiler -v </dev/null >&5) 2>&5 2986 { (ac_try="$ac_compiler -v >&5" 2987 case "(($ac_try" in 2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2989 *) ac_try_echo=$ac_try;; 2990 esac 2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2992 (eval "$ac_compiler -v >&5") 2>&5 2461 2993 ac_status=$? 2462 2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 2995 (exit $ac_status); } 2464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2465 (eval $ac_compiler -V </dev/null >&5) 2>&5 2996 { (ac_try="$ac_compiler -V >&5" 2997 case "(($ac_try" in 2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2999 *) ac_try_echo=$ac_try;; 3000 esac 3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3002 (eval "$ac_compiler -V >&5") 2>&5 2466 3003 ac_status=$? 2467 3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2468 3005 (exit $ac_status); } 2469 3006 2470 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52471 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3007 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3008 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2472 3009 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2473 3010 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2492 3029 _ACEOF 2493 3030 rm -f conftest.$ac_objext 2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2495 (eval $ac_compile) 2>conftest.er1 3031 if { (ac_try="$ac_compile" 3032 case "(($ac_try" in 3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 *) ac_try_echo=$ac_try;; 3035 esac 3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3037 (eval "$ac_compile") 2>conftest.er1 2496 3038 ac_status=$? 2497 3039 grep -v '^ *+' conftest.er1 >conftest.err … … 2499 3041 cat conftest.err >&5 2500 3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2501 (exit $ac_status); } && 2502 { ac_try='test -z "$ac_c_werror_flag" 2503 || test ! -s conftest.err' 2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2505 (eval $ac_try) 2>&5 2506 ac_status=$? 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 (exit $ac_status); }; } && 2509 { ac_try='test -s conftest.$ac_objext' 2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2511 (eval $ac_try) 2>&5 2512 ac_status=$? 2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2514 (exit $ac_status); }; }; then 3043 (exit $ac_status); } && { 3044 test -z "$ac_c_werror_flag" || 3045 test ! -s conftest.err 3046 } && test -s conftest.$ac_objext; then 2515 3047 ac_compiler_gnu=yes 2516 3048 else … … 2518 3050 sed 's/^/| /' conftest.$ac_ext >&5 2519 3051 2520 ac_compiler_gnu=no 2521 fi 2522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3052 ac_compiler_gnu=no 3053 fi 3054 3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2523 3056 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2524 3057 2525 3058 fi 2526 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52527 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3059 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2528 3061 GCC=`test $ac_compiler_gnu = yes && echo yes` 2529 3062 ac_test_CFLAGS=${CFLAGS+set} 2530 3063 ac_save_CFLAGS=$CFLAGS 2531 CFLAGS="-g" 2532 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2533 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3064 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3065 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2534 3066 if test "${ac_cv_prog_cc_g+set}" = set; then 2535 3067 echo $ECHO_N "(cached) $ECHO_C" >&6 2536 3068 else 2537 cat >conftest.$ac_ext <<_ACEOF 3069 ac_save_c_werror_flag=$ac_c_werror_flag 3070 ac_c_werror_flag=yes 3071 ac_cv_prog_cc_g=no 3072 CFLAGS="-g" 3073 cat >conftest.$ac_ext <<_ACEOF 2538 3074 /* confdefs.h. */ 2539 3075 _ACEOF … … 2551 3087 _ACEOF 2552 3088 rm -f conftest.$ac_objext 2553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2554 (eval $ac_compile) 2>conftest.er1 3089 if { (ac_try="$ac_compile" 3090 case "(($ac_try" in 3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3092 *) ac_try_echo=$ac_try;; 3093 esac 3094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3095 (eval "$ac_compile") 2>conftest.er1 2555 3096 ac_status=$? 2556 3097 grep -v '^ *+' conftest.er1 >conftest.err … … 2558 3099 cat conftest.err >&5 2559 3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2560 (exit $ac_status); } && 2561 { ac_try='test -z "$ac_c_werror_flag" 2562 || test ! -s conftest.err' 2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2564 (eval $ac_try) 2>&5 2565 ac_status=$? 2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 (exit $ac_status); }; } && 2568 { ac_try='test -s conftest.$ac_objext' 2569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2570 (eval $ac_try) 2>&5 2571 ac_status=$? 2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2573 (exit $ac_status); }; }; then 3101 (exit $ac_status); } && { 3102 test -z "$ac_c_werror_flag" || 3103 test ! -s conftest.err 3104 } && test -s conftest.$ac_objext; then 2574 3105 ac_cv_prog_cc_g=yes 2575 3106 else … … 2577 3108 sed 's/^/| /' conftest.$ac_ext >&5 2578 3109 2579 ac_cv_prog_cc_g=no 2580 fi 2581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2582 fi 2583 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2584 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3110 CFLAGS="" 3111 cat >conftest.$ac_ext <<_ACEOF 3112 /* confdefs.h. */ 3113 _ACEOF 3114 cat confdefs.h >>conftest.$ac_ext 3115 cat >>conftest.$ac_ext <<_ACEOF 3116 /* end confdefs.h. */ 3117 3118 int 3119 main () 3120 { 3121 3122 ; 3123 return 0; 3124 } 3125 _ACEOF 3126 rm -f conftest.$ac_objext 3127 if { (ac_try="$ac_compile" 3128 case "(($ac_try" in 3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3130 *) ac_try_echo=$ac_try;; 3131 esac 3132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3133 (eval "$ac_compile") 2>conftest.er1 3134 ac_status=$? 3135 grep -v '^ *+' conftest.er1 >conftest.err 3136 rm -f conftest.er1 3137 cat conftest.err >&5 3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3139 (exit $ac_status); } && { 3140 test -z "$ac_c_werror_flag" || 3141 test ! -s conftest.err 3142 } && test -s conftest.$ac_objext; then 3143 : 3144 else 3145 echo "$as_me: failed program was:" >&5 3146 sed 's/^/| /' conftest.$ac_ext >&5 3147 3148 ac_c_werror_flag=$ac_save_c_werror_flag 3149 CFLAGS="-g" 3150 cat >conftest.$ac_ext <<_ACEOF 3151 /* confdefs.h. */ 3152 _ACEOF 3153 cat confdefs.h >>conftest.$ac_ext 3154 cat >>conftest.$ac_ext <<_ACEOF 3155 /* end confdefs.h. */ 3156 3157 int 3158 main () 3159 { 3160 3161 ; 3162 return 0; 3163 } 3164 _ACEOF 3165 rm -f conftest.$ac_objext 3166 if { (ac_try="$ac_compile" 3167 case "(($ac_try" in 3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3169 *) ac_try_echo=$ac_try;; 3170 esac 3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3172 (eval "$ac_compile") 2>conftest.er1 3173 ac_status=$? 3174 grep -v '^ *+' conftest.er1 >conftest.err 3175 rm -f conftest.er1 3176 cat conftest.err >&5 3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3178 (exit $ac_status); } && { 3179 test -z "$ac_c_werror_flag" || 3180 test ! -s conftest.err 3181 } && test -s conftest.$ac_objext; then 3182 ac_cv_prog_cc_g=yes 3183 else 3184 echo "$as_me: failed program was:" >&5 3185 sed 's/^/| /' conftest.$ac_ext >&5 3186 3187 3188 fi 3189 3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3191 fi 3192 3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3194 fi 3195 3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3197 ac_c_werror_flag=$ac_save_c_werror_flag 3198 fi 3199 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3200 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2585 3201 if test "$ac_test_CFLAGS" = set; then 2586 3202 CFLAGS=$ac_save_CFLAGS … … 2598 3214 fi 2599 3215 fi 2600 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52601 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62602 if test "${ac_cv_prog_cc_ stdc+set}" = set; then3216 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3217 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3218 if test "${ac_cv_prog_cc_c89+set}" = set; then 2603 3219 echo $ECHO_N "(cached) $ECHO_C" >&6 2604 3220 else 2605 ac_cv_prog_cc_ stdc=no3221 ac_cv_prog_cc_c89=no 2606 3222 ac_save_CC=$CC 2607 3223 cat >conftest.$ac_ext <<_ACEOF … … 2637 3253 function prototypes and stuff, but not '\xHH' hex character constants. 2638 3254 These don't provoke an error unfortunately, instead are silently treated 2639 as 'x'. The following induces an error, until -std 1is added to get3255 as 'x'. The following induces an error, until -std is added to get 2640 3256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2641 3257 array size at least. It's necessary to write '\x00'==0 to get something 2642 that's true only with -std 1. */3258 that's true only with -std. */ 2643 3259 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3260 3261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3262 inside strings and character constants. */ 3263 #define FOO(x) 'x' 3264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2644 3265 2645 3266 int test (int i, double x); … … 2657 3278 } 2658 3279 _ACEOF 2659 # Don't try gcc -ansi; that turns off useful extensions and 2660 # breaks some systems' header files. 2661 # AIX -qlanglvl=ansi 2662 # Ultrix and OSF/1 -std1 2663 # HP-UX 10.20 and later -Ae 2664 # HP-UX older versions -Aa -D_HPUX_SOURCE 2665 # SVR4 -Xc -D__EXTENSIONS__ 2666 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2667 3282 do 2668 3283 CC="$ac_save_CC $ac_arg" 2669 3284 rm -f conftest.$ac_objext 2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2671 (eval $ac_compile) 2>conftest.er1 3285 if { (ac_try="$ac_compile" 3286 case "(($ac_try" in 3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 *) ac_try_echo=$ac_try;; 3289 esac 3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3291 (eval "$ac_compile") 2>conftest.er1 2672 3292 ac_status=$? 2673 3293 grep -v '^ *+' conftest.er1 >conftest.err … … 2675 3295 cat conftest.err >&5 2676 3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2677 (exit $ac_status); } && 2678 { ac_try='test -z "$ac_c_werror_flag" 2679 || test ! -s conftest.err' 2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2681 (eval $ac_try) 2>&5 2682 ac_status=$? 2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2684 (exit $ac_status); }; } && 2685 { ac_try='test -s conftest.$ac_objext' 2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2687 (eval $ac_try) 2>&5 2688 ac_status=$? 2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2690 (exit $ac_status); }; }; then 2691 ac_cv_prog_cc_stdc=$ac_arg 2692 break 3297 (exit $ac_status); } && { 3298 test -z "$ac_c_werror_flag" || 3299 test ! -s conftest.err 3300 } && test -s conftest.$ac_objext; then 3301 ac_cv_prog_cc_c89=$ac_arg 2693 3302 else 2694 3303 echo "$as_me: failed program was:" >&5 2695 3304 sed 's/^/| /' conftest.$ac_ext >&5 2696 3305 2697 fi 2698 rm -f conftest.err conftest.$ac_objext 3306 3307 fi 3308 3309 rm -f core conftest.err conftest.$ac_objext 3310 test "x$ac_cv_prog_cc_c89" != "xno" && break 2699 3311 done 2700 rm -f conftest.$ac_ext conftest.$ac_objext3312 rm -f conftest.$ac_ext 2701 3313 CC=$ac_save_CC 2702 3314 2703 3315 fi 2704 2705 case "x$ac_cv_prog_cc_stdc" in 2706 x|xno) 2707 echo "$as_me:$LINENO: result: none needed" >&5 2708 echo "${ECHO_T}none needed" >&6 ;; 3316 # AC_CACHE_VAL 3317 case "x$ac_cv_prog_cc_c89" in 3318 x) 3319 { echo "$as_me:$LINENO: result: none needed" >&5 3320 echo "${ECHO_T}none needed" >&6; } ;; 3321 xno) 3322 { echo "$as_me:$LINENO: result: unsupported" >&5 3323 echo "${ECHO_T}unsupported" >&6; } ;; 2709 3324 *) 2710 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2711 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2712 CC="$CC $ac_cv_prog_cc_stdc" ;; 2713 esac 2714 2715 # Some people use a C++ compiler to compile C. Since we use `exit', 2716 # in C++ we need to declare it. In case someone uses the same compiler 2717 # for both compiling C and C++ we need to have the C++ compiler decide 2718 # the declaration of exit, since it's the most demanding environment. 2719 cat >conftest.$ac_ext <<_ACEOF 2720 #ifndef __cplusplus 2721 choke me 2722 #endif 2723 _ACEOF 2724 rm -f conftest.$ac_objext 2725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2726 (eval $ac_compile) 2>conftest.er1 2727 ac_status=$? 2728 grep -v '^ *+' conftest.er1 >conftest.err 2729 rm -f conftest.er1 2730 cat conftest.err >&5 2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 (exit $ac_status); } && 2733 { ac_try='test -z "$ac_c_werror_flag" 2734 || test ! -s conftest.err' 2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2736 (eval $ac_try) 2>&5 2737 ac_status=$? 2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2739 (exit $ac_status); }; } && 2740 { ac_try='test -s conftest.$ac_objext' 2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2742 (eval $ac_try) 2>&5 2743 ac_status=$? 2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2745 (exit $ac_status); }; }; then 2746 for ac_declaration in \ 2747 '' \ 2748 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2749 'extern "C" void std::exit (int); using std::exit;' \ 2750 'extern "C" void exit (int) throw ();' \ 2751 'extern "C" void exit (int);' \ 2752 'void exit (int);' 2753 do 2754 cat >conftest.$ac_ext <<_ACEOF 2755 /* confdefs.h. */ 2756 _ACEOF 2757 cat confdefs.h >>conftest.$ac_ext 2758 cat >>conftest.$ac_ext <<_ACEOF 2759 /* end confdefs.h. */ 2760 $ac_declaration 2761 #include <stdlib.h> 2762 int 2763 main () 2764 { 2765 exit (42); 2766 ; 2767 return 0; 2768 } 2769 _ACEOF 2770 rm -f conftest.$ac_objext 2771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2772 (eval $ac_compile) 2>conftest.er1 2773 ac_status=$? 2774 grep -v '^ *+' conftest.er1 >conftest.err 2775 rm -f conftest.er1 2776 cat conftest.err >&5 2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2778 (exit $ac_status); } && 2779 { ac_try='test -z "$ac_c_werror_flag" 2780 || test ! -s conftest.err' 2781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2782 (eval $ac_try) 2>&5 2783 ac_status=$? 2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2785 (exit $ac_status); }; } && 2786 { ac_try='test -s conftest.$ac_objext' 2787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2788 (eval $ac_try) 2>&5 2789 ac_status=$? 2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2791 (exit $ac_status); }; }; then 2792 : 2793 else 2794 echo "$as_me: failed program was:" >&5 2795 sed 's/^/| /' conftest.$ac_ext >&5 2796 2797 continue 2798 fi 2799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2800 cat >conftest.$ac_ext <<_ACEOF 2801 /* confdefs.h. */ 2802 _ACEOF 2803 cat confdefs.h >>conftest.$ac_ext 2804 cat >>conftest.$ac_ext <<_ACEOF 2805 /* end confdefs.h. */ 2806 $ac_declaration 2807 int 2808 main () 2809 { 2810 exit (42); 2811 ; 2812 return 0; 2813 } 2814 _ACEOF 2815 rm -f conftest.$ac_objext 2816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2817 (eval $ac_compile) 2>conftest.er1 2818 ac_status=$? 2819 grep -v '^ *+' conftest.er1 >conftest.err 2820 rm -f conftest.er1 2821 cat conftest.err >&5 2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2823 (exit $ac_status); } && 2824 { ac_try='test -z "$ac_c_werror_flag" 2825 || test ! -s conftest.err' 2826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2827 (eval $ac_try) 2>&5 2828 ac_status=$? 2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2830 (exit $ac_status); }; } && 2831 { ac_try='test -s conftest.$ac_objext' 2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2833 (eval $ac_try) 2>&5 2834 ac_status=$? 2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2836 (exit $ac_status); }; }; then 2837 break 2838 else 2839 echo "$as_me: failed program was:" >&5 2840 sed 's/^/| /' conftest.$ac_ext >&5 2841 2842 fi 2843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2844 done 2845 rm -f conftest* 2846 if test -n "$ac_declaration"; then 2847 echo '#ifdef __cplusplus' >>confdefs.h 2848 echo $ac_declaration >>confdefs.h 2849 echo '#endif' >>confdefs.h 2850 fi 2851 2852 else 2853 echo "$as_me: failed program was:" >&5 2854 sed 's/^/| /' conftest.$ac_ext >&5 2855 2856 fi 2857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3325 CC="$CC $ac_cv_prog_cc_c89" 3326 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3327 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3328 esac 3329 3330 2858 3331 ac_ext=c 2859 3332 ac_cpp='$CPP $CPPFLAGS' … … 2875 3348 # OS/2's system install, which has a completely different semantic 2876 3349 # ./install, which can be erroneously created by make from ./install.sh. 2877 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52878 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3350 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3351 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2879 3352 if test -z "$INSTALL"; then 2880 3353 if test "${ac_cv_path_install+set}" = set; then … … 2898 3371 for ac_prog in ginstall scoinst install; do 2899 3372 for ac_exec_ext in '' $ac_executable_extensions; do 2900 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3373 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2901 3374 if test $ac_prog = install && 2902 3375 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2917 3390 esac 2918 3391 done 3392 IFS=$as_save_IFS 2919 3393 2920 3394 … … 2923 3397 INSTALL=$ac_cv_path_install 2924 3398 else 2925 # As a last resort, use the slow shell script. We don't cache a2926 # pathfor INSTALL within a source directory, because that will3399 # As a last resort, use the slow shell script. Don't cache a 3400 # value for INSTALL within a source directory, because that will 2927 3401 # break other packages using the cache if that directory is 2928 # removed, or if the path is relative.3402 # removed, or if the value is a relative name. 2929 3403 INSTALL=$ac_install_sh 2930 3404 fi 2931 3405 fi 2932 echo "$as_me:$LINENO: result: $INSTALL" >&52933 echo "${ECHO_T}$INSTALL" >&6 3406 { echo "$as_me:$LINENO: result: $INSTALL" >&5 3407 echo "${ECHO_T}$INSTALL" >&6; } 2934 3408 2935 3409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2941 3415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2942 3416 2943 echo "$as_me:$LINENO: checking whether ln -s works" >&52944 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3417 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 3418 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 2945 3419 LN_S=$as_ln_s 2946 3420 if test "$LN_S" = "ln -s"; then 2947 echo "$as_me:$LINENO: result: yes" >&52948 echo "${ECHO_T}yes" >&6 2949 else 2950 echo "$as_me:$LINENO: result: no, using $LN_S" >&52951 echo "${ECHO_T}no, using $LN_S" >&6 2952 fi 2953 2954 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&52955 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2956 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`2957 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then3421 { echo "$as_me:$LINENO: result: yes" >&5 3422 echo "${ECHO_T}yes" >&6; } 3423 else 3424 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3425 echo "${ECHO_T}no, using $LN_S" >&6; } 3426 fi 3427 3428 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3429 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 3430 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3431 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2958 3432 echo $ECHO_N "(cached) $ECHO_C" >&6 2959 3433 else 2960 3434 cat >conftest.make <<\_ACEOF 3435 SHELL = /bin/sh 2961 3436 all: 2962 @echo ' ac_maketemp="$(MAKE)"'3437 @echo '@@@%%%=$(MAKE)=@@@%%%' 2963 3438 _ACEOF 2964 3439 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2965 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2966 if test -n "$ac_maketemp"; then 2967 eval ac_cv_prog_make_${ac_make}_set=yes2968 else 2969 eval ac_cv_prog_make_${ac_make}_set=no2970 fi 3440 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3441 *@@@%%%=?*=@@@%%%*) 3442 eval ac_cv_prog_make_${ac_make}_set=yes;; 3443 *) 3444 eval ac_cv_prog_make_${ac_make}_set=no;; 3445 esac 2971 3446 rm -f conftest.make 2972 3447 fi 2973 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then2974 echo "$as_me:$LINENO: result: yes" >&52975 echo "${ECHO_T}yes" >&6 3448 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3449 { echo "$as_me:$LINENO: result: yes" >&5 3450 echo "${ECHO_T}yes" >&6; } 2976 3451 SET_MAKE= 2977 3452 else 2978 echo "$as_me:$LINENO: result: no" >&52979 echo "${ECHO_T}no" >&6 3453 { echo "$as_me:$LINENO: result: no" >&5 3454 echo "${ECHO_T}no" >&6; } 2980 3455 SET_MAKE="MAKE=${MAKE-make}" 2981 3456 fi … … 2984 3459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2985 3460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2986 echo "$as_me:$LINENO: checking for $ac_word" >&52987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3461 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2988 3463 if test "${ac_cv_prog_RANLIB+set}" = set; then 2989 3464 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2998 3473 test -z "$as_dir" && as_dir=. 2999 3474 for ac_exec_ext in '' $ac_executable_extensions; do 3000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3001 3476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3002 3477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3005 3480 done 3006 3481 done 3482 IFS=$as_save_IFS 3007 3483 3008 3484 fi … … 3010 3486 RANLIB=$ac_cv_prog_RANLIB 3011 3487 if test -n "$RANLIB"; then 3012 echo "$as_me:$LINENO: result: $RANLIB" >&5 3013 echo "${ECHO_T}$RANLIB" >&6 3014 else 3015 echo "$as_me:$LINENO: result: no" >&5 3016 echo "${ECHO_T}no" >&6 3017 fi 3488 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3489 echo "${ECHO_T}$RANLIB" >&6; } 3490 else 3491 { echo "$as_me:$LINENO: result: no" >&5 3492 echo "${ECHO_T}no" >&6; } 3493 fi 3494 3018 3495 3019 3496 fi … … 3022 3499 # Extract the first word of "ranlib", so it can be a program name with args. 3023 3500 set dummy ranlib; ac_word=$2 3024 echo "$as_me:$LINENO: checking for $ac_word" >&53025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3501 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3026 3503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3027 3504 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3036 3513 test -z "$as_dir" && as_dir=. 3037 3514 for ac_exec_ext in '' $ac_executable_extensions; do 3038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3039 3516 ac_cv_prog_ac_ct_RANLIB="ranlib" 3040 3517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3043 3520 done 3044 3521 done 3045 3046 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3522 IFS=$as_save_IFS 3523 3047 3524 fi 3048 3525 fi 3049 3526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3050 3527 if test -n "$ac_ct_RANLIB"; then 3051 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3052 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3053 else 3054 echo "$as_me:$LINENO: result: no" >&5 3055 echo "${ECHO_T}no" >&6 3056 fi 3057 3058 RANLIB=$ac_ct_RANLIB 3528 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3529 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3530 else 3531 { echo "$as_me:$LINENO: result: no" >&5 3532 echo "${ECHO_T}no" >&6; } 3533 fi 3534 3535 if test "x$ac_ct_RANLIB" = x; then 3536 RANLIB=":" 3537 else 3538 case $cross_compiling:$ac_tool_warned in 3539 yes:) 3540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3541 whose name does not start with the host triplet. If you think this 3542 configuration is useful to you, please write to [email protected]." >&5 3543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3544 whose name does not start with the host triplet. If you think this 3545 configuration is useful to you, please write to [email protected]." >&2;} 3546 ac_tool_warned=yes ;; 3547 esac 3548 RANLIB=$ac_ct_RANLIB 3549 fi 3059 3550 else 3060 3551 RANLIB="$ac_cv_prog_RANLIB" … … 3068 3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3069 3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3070 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3561 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3562 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3072 3563 # On Suns, sometimes $CPP names a directory. 3073 3564 if test -n "$CPP" && test -d "$CPP"; then … … 3103 3594 Syntax error 3104 3595 _ACEOF 3105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3596 if { (ac_try="$ac_cpp conftest.$ac_ext" 3597 case "(($ac_try" in 3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3599 *) ac_try_echo=$ac_try;; 3600 esac 3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3107 3603 ac_status=$? 3108 3604 grep -v '^ *+' conftest.er1 >conftest.err … … 3110 3606 cat conftest.err >&5 3111 3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3112 (exit $ac_status); } >/dev/null; then 3113 if test -s conftest.err; then 3114 ac_cpp_err=$ac_c_preproc_warn_flag 3115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3116 else 3117 ac_cpp_err= 3118 fi 3119 else 3120 ac_cpp_err=yes 3121 fi 3122 if test -z "$ac_cpp_err"; then 3608 (exit $ac_status); } >/dev/null && { 3609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3610 test ! -s conftest.err 3611 }; then 3123 3612 : 3124 3613 else … … 3129 3618 continue 3130 3619 fi 3620 3131 3621 rm -f conftest.err conftest.$ac_ext 3132 3622 3133 # OK, works on sane cases. Now check whether non -existent headers3623 # OK, works on sane cases. Now check whether nonexistent headers 3134 3624 # can be detected and how. 3135 3625 cat >conftest.$ac_ext <<_ACEOF … … 3141 3631 #include <ac_nonexistent.h> 3142 3632 _ACEOF 3143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3633 if { (ac_try="$ac_cpp conftest.$ac_ext" 3634 case "(($ac_try" in 3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3636 *) ac_try_echo=$ac_try;; 3637 esac 3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3145 3640 ac_status=$? 3146 3641 grep -v '^ *+' conftest.er1 >conftest.err … … 3148 3643 cat conftest.err >&5 3149 3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3150 (exit $ac_status); } >/dev/null; then 3151 if test -s conftest.err; then 3152 ac_cpp_err=$ac_c_preproc_warn_flag 3153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3154 else 3155 ac_cpp_err= 3156 fi 3157 else 3158 ac_cpp_err=yes 3159 fi 3160 if test -z "$ac_cpp_err"; then 3645 (exit $ac_status); } >/dev/null && { 3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3647 test ! -s conftest.err 3648 }; then 3161 3649 # Broken: success on invalid input. 3162 3650 continue … … 3169 3657 break 3170 3658 fi 3659 3171 3660 rm -f conftest.err conftest.$ac_ext 3172 3661 … … 3186 3675 ac_cv_prog_CPP=$CPP 3187 3676 fi 3188 echo "$as_me:$LINENO: result: $CPP" >&53189 echo "${ECHO_T}$CPP" >&6 3677 { echo "$as_me:$LINENO: result: $CPP" >&5 3678 echo "${ECHO_T}$CPP" >&6; } 3190 3679 ac_preproc_ok=false 3191 3680 for ac_c_preproc_warn_flag in '' yes … … 3210 3699 Syntax error 3211 3700 _ACEOF 3212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3701 if { (ac_try="$ac_cpp conftest.$ac_ext" 3702 case "(($ac_try" in 3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3704 *) ac_try_echo=$ac_try;; 3705 esac 3706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3214 3708 ac_status=$? 3215 3709 grep -v '^ *+' conftest.er1 >conftest.err … … 3217 3711 cat conftest.err >&5 3218 3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3219 (exit $ac_status); } >/dev/null; then 3220 if test -s conftest.err; then 3221 ac_cpp_err=$ac_c_preproc_warn_flag 3222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3223 else 3224 ac_cpp_err= 3225 fi 3226 else 3227 ac_cpp_err=yes 3228 fi 3229 if test -z "$ac_cpp_err"; then 3713 (exit $ac_status); } >/dev/null && { 3714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3715 test ! -s conftest.err 3716 }; then 3230 3717 : 3231 3718 else … … 3236 3723 continue 3237 3724 fi 3725 3238 3726 rm -f conftest.err conftest.$ac_ext 3239 3727 3240 # OK, works on sane cases. Now check whether non -existent headers3728 # OK, works on sane cases. Now check whether nonexistent headers 3241 3729 # can be detected and how. 3242 3730 cat >conftest.$ac_ext <<_ACEOF … … 3248 3736 #include <ac_nonexistent.h> 3249 3737 _ACEOF 3250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3738 if { (ac_try="$ac_cpp conftest.$ac_ext" 3739 case "(($ac_try" in 3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3741 *) ac_try_echo=$ac_try;; 3742 esac 3743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3252 3745 ac_status=$? 3253 3746 grep -v '^ *+' conftest.er1 >conftest.err … … 3255 3748 cat conftest.err >&5 3256 3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3257 (exit $ac_status); } >/dev/null; then 3258 if test -s conftest.err; then 3259 ac_cpp_err=$ac_c_preproc_warn_flag 3260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3261 else 3262 ac_cpp_err= 3263 fi 3264 else 3265 ac_cpp_err=yes 3266 fi 3267 if test -z "$ac_cpp_err"; then 3750 (exit $ac_status); } >/dev/null && { 3751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3752 test ! -s conftest.err 3753 }; then 3268 3754 # Broken: success on invalid input. 3269 3755 continue … … 3276 3762 break 3277 3763 fi 3764 3278 3765 rm -f conftest.err conftest.$ac_ext 3279 3766 … … 3298 3785 3299 3786 3300 echo "$as_me:$LINENO: checking for egrep" >&53301 echo $ECHO_N "checking for egrep... $ECHO_C" >&63302 if test "${ac_cv_p rog_egrep+set}" = set; then3787 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3788 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3789 if test "${ac_cv_path_GREP+set}" = set; then 3303 3790 echo $ECHO_N "(cached) $ECHO_C" >&6 3304 3791 else 3305 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3306 then ac_cv_prog_egrep='grep -E' 3307 else ac_cv_prog_egrep='egrep' 3792 # Extract the first word of "grep ggrep" to use in msg output 3793 if test -z "$GREP"; then 3794 set dummy grep ggrep; ac_prog_name=$2 3795 if test "${ac_cv_path_GREP+set}" = set; then 3796 echo $ECHO_N "(cached) $ECHO_C" >&6 3797 else 3798 ac_path_GREP_found=false 3799 # Loop through the user's path and test for each of PROGNAME-LIST 3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3802 do 3803 IFS=$as_save_IFS 3804 test -z "$as_dir" && as_dir=. 3805 for ac_prog in grep ggrep; do 3806 for ac_exec_ext in '' $ac_executable_extensions; do 3807 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3808 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3809 # Check for GNU ac_path_GREP and select it if it is found. 3810 # Check for GNU $ac_path_GREP 3811 case `"$ac_path_GREP" --version 2>&1` in 3812 *GNU*) 3813 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3814 *) 3815 ac_count=0 3816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3817 while : 3818 do 3819 cat "conftest.in" "conftest.in" >"conftest.tmp" 3820 mv "conftest.tmp" "conftest.in" 3821 cp "conftest.in" "conftest.nl" 3822 echo 'GREP' >> "conftest.nl" 3823 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3825 ac_count=`expr $ac_count + 1` 3826 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3827 # Best one so far, save it but keep looking for a better one 3828 ac_cv_path_GREP="$ac_path_GREP" 3829 ac_path_GREP_max=$ac_count 3308 3830 fi 3309 fi 3310 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3311 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3312 EGREP=$ac_cv_prog_egrep 3313 3314 3315 3316 echo "$as_me:$LINENO: checking for AIX" >&5 3317 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3831 # 10*(2^10) chars as input seems more than enough 3832 test $ac_count -gt 10 && break 3833 done 3834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3835 esac 3836 3837 3838 $ac_path_GREP_found && break 3 3839 done 3840 done 3841 3842 done 3843 IFS=$as_save_IFS 3844 3845 3846 fi 3847 3848 GREP="$ac_cv_path_GREP" 3849 if test -z "$GREP"; then 3850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3852 { (exit 1); exit 1; }; } 3853 fi 3854 3855 else 3856 ac_cv_path_GREP=$GREP 3857 fi 3858 3859 3860 fi 3861 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3862 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3863 GREP="$ac_cv_path_GREP" 3864 3865 3866 { echo "$as_me:$LINENO: checking for egrep" >&5 3867 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3868 if test "${ac_cv_path_EGREP+set}" = set; then 3869 echo $ECHO_N "(cached) $ECHO_C" >&6 3870 else 3871 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3872 then ac_cv_path_EGREP="$GREP -E" 3873 else 3874 # Extract the first word of "egrep" to use in msg output 3875 if test -z "$EGREP"; then 3876 set dummy egrep; ac_prog_name=$2 3877 if test "${ac_cv_path_EGREP+set}" = set; then 3878 echo $ECHO_N "(cached) $ECHO_C" >&6 3879 else 3880 ac_path_EGREP_found=false 3881 # Loop through the user's path and test for each of PROGNAME-LIST 3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3883 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3884 do 3885 IFS=$as_save_IFS 3886 test -z "$as_dir" && as_dir=. 3887 for ac_prog in egrep; do 3888 for ac_exec_ext in '' $ac_executable_extensions; do 3889 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3890 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3891 # Check for GNU ac_path_EGREP and select it if it is found. 3892 # Check for GNU $ac_path_EGREP 3893 case `"$ac_path_EGREP" --version 2>&1` in 3894 *GNU*) 3895 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3896 *) 3897 ac_count=0 3898 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3899 while : 3900 do 3901 cat "conftest.in" "conftest.in" >"conftest.tmp" 3902 mv "conftest.tmp" "conftest.in" 3903 cp "conftest.in" "conftest.nl" 3904 echo 'EGREP' >> "conftest.nl" 3905 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3906 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3907 ac_count=`expr $ac_count + 1` 3908 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3909 # Best one so far, save it but keep looking for a better one 3910 ac_cv_path_EGREP="$ac_path_EGREP" 3911 ac_path_EGREP_max=$ac_count 3912 fi 3913 # 10*(2^10) chars as input seems more than enough 3914 test $ac_count -gt 10 && break 3915 done 3916 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3917 esac 3918 3919 3920 $ac_path_EGREP_found && break 3 3921 done 3922 done 3923 3924 done 3925 IFS=$as_save_IFS 3926 3927 3928 fi 3929 3930 EGREP="$ac_cv_path_EGREP" 3931 if test -z "$EGREP"; then 3932 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3933 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3934 { (exit 1); exit 1; }; } 3935 fi 3936 3937 else 3938 ac_cv_path_EGREP=$EGREP 3939 fi 3940 3941 3942 fi 3943 fi 3944 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3945 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3946 EGREP="$ac_cv_path_EGREP" 3947 3948 3949 3950 { echo "$as_me:$LINENO: checking for AIX" >&5 3951 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3318 3952 cat >conftest.$ac_ext <<_ACEOF 3319 3953 /* confdefs.h. */ … … 3329 3963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3330 3964 $EGREP "yes" >/dev/null 2>&1; then 3331 echo "$as_me:$LINENO: result: yes" >&53332 echo "${ECHO_T}yes" >&6 3965 { echo "$as_me:$LINENO: result: yes" >&5 3966 echo "${ECHO_T}yes" >&6; } 3333 3967 cat >>confdefs.h <<\_ACEOF 3334 3968 #define _ALL_SOURCE 1 … … 3336 3970 3337 3971 else 3338 echo "$as_me:$LINENO: result: no" >&53339 echo "${ECHO_T}no" >&6 3972 { echo "$as_me:$LINENO: result: no" >&5 3973 echo "${ECHO_T}no" >&6; } 3340 3974 fi 3341 3975 rm -f conftest* 3342 3976 3343 3977 3344 echo "$as_me:$LINENO: checking for library containing strerror" >&53345 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3978 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 3979 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3346 3980 if test "${ac_cv_search_strerror+set}" = set; then 3347 3981 echo $ECHO_N "(cached) $ECHO_C" >&6 3348 3982 else 3349 3983 ac_func_search_save_LIBS=$LIBS 3350 ac_cv_search_strerror=no3351 3984 cat >conftest.$ac_ext <<_ACEOF 3352 3985 /* confdefs.h. */ … … 3356 3989 /* end confdefs.h. */ 3357 3990 3358 /* Override any gcc2 internal prototype to avoid an error. */ 3991 /* Override any GCC internal prototype to avoid an error. 3992 Use char because int might match the return type of a GCC 3993 builtin and then its argument prototype would still apply. */ 3359 3994 #ifdef __cplusplus 3360 3995 extern "C" 3361 3996 #endif 3362 /* We use char because int might match the return type of a gcc23363 builtin and then its argument prototype would still apply. */3364 3997 char strerror (); 3365 3998 int 3366 3999 main () 3367 4000 { 3368 strerror ();4001 return strerror (); 3369 4002 ; 3370 4003 return 0; 3371 4004 } 3372 4005 _ACEOF 3373 rm -f conftest.$ac_objext conftest$ac_exeext 3374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3375 (eval $ac_link) 2>conftest.er1 4006 for ac_lib in '' cposix; do 4007 if test -z "$ac_lib"; then 4008 ac_res="none required" 4009 else 4010 ac_res=-l$ac_lib 4011 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4012 fi 4013 rm -f conftest.$ac_objext conftest$ac_exeext 4014 if { (ac_try="$ac_link" 4015 case "(($ac_try" in 4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4017 *) ac_try_echo=$ac_try;; 4018 esac 4019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4020 (eval "$ac_link") 2>conftest.er1 3376 4021 ac_status=$? 3377 4022 grep -v '^ *+' conftest.er1 >conftest.err … … 3379 4024 cat conftest.err >&5 3380 4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3381 (exit $ac_status); } && 3382 { ac_try='test -z "$ac_c_werror_flag" 3383 || test ! -s conftest.err' 3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3385 (eval $ac_try) 2>&5 3386 ac_status=$? 3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3388 (exit $ac_status); }; } && 3389 { ac_try='test -s conftest$ac_exeext' 3390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3391 (eval $ac_try) 2>&5 3392 ac_status=$? 3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3394 (exit $ac_status); }; }; then 3395 ac_cv_search_strerror="none required" 4026 (exit $ac_status); } && { 4027 test -z "$ac_c_werror_flag" || 4028 test ! -s conftest.err 4029 } && test -s conftest$ac_exeext && 4030 $as_test_x conftest$ac_exeext; then 4031 ac_cv_search_strerror=$ac_res 3396 4032 else 3397 4033 echo "$as_me: failed program was:" >&5 3398 4034 sed 's/^/| /' conftest.$ac_ext >&5 3399 4035 3400 fi 3401 rm -f conftest.err conftest.$ac_objext \ 3402 conftest$ac_exeext conftest.$ac_ext 3403 if test "$ac_cv_search_strerror" = no; then 3404 for ac_lib in cposix; do 3405 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3406 cat >conftest.$ac_ext <<_ACEOF 3407 /* confdefs.h. */ 3408 _ACEOF 3409 cat confdefs.h >>conftest.$ac_ext 3410 cat >>conftest.$ac_ext <<_ACEOF 3411 /* end confdefs.h. */ 3412 3413 /* Override any gcc2 internal prototype to avoid an error. */ 3414 #ifdef __cplusplus 3415 extern "C" 3416 #endif 3417 /* We use char because int might match the return type of a gcc2 3418 builtin and then its argument prototype would still apply. */ 3419 char strerror (); 3420 int 3421 main () 3422 { 3423 strerror (); 3424 ; 3425 return 0; 3426 } 3427 _ACEOF 3428 rm -f conftest.$ac_objext conftest$ac_exeext 3429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3430 (eval $ac_link) 2>conftest.er1 3431 ac_status=$? 3432 grep -v '^ *+' conftest.er1 >conftest.err 3433 rm -f conftest.er1 3434 cat conftest.err >&5 3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3436 (exit $ac_status); } && 3437 { ac_try='test -z "$ac_c_werror_flag" 3438 || test ! -s conftest.err' 3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3440 (eval $ac_try) 2>&5 3441 ac_status=$? 3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3443 (exit $ac_status); }; } && 3444 { ac_try='test -s conftest$ac_exeext' 3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3446 (eval $ac_try) 2>&5 3447 ac_status=$? 3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3449 (exit $ac_status); }; }; then 3450 ac_cv_search_strerror="-l$ac_lib" 3451 break 3452 else 3453 echo "$as_me: failed program was:" >&5 3454 sed 's/^/| /' conftest.$ac_ext >&5 3455 3456 fi 3457 rm -f conftest.err conftest.$ac_objext \ 3458 conftest$ac_exeext conftest.$ac_ext 3459 done 3460 fi 4036 4037 fi 4038 4039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4040 conftest$ac_exeext 4041 if test "${ac_cv_search_strerror+set}" = set; then 4042 break 4043 fi 4044 done 4045 if test "${ac_cv_search_strerror+set}" = set; then 4046 : 4047 else 4048 ac_cv_search_strerror=no 4049 fi 4050 rm conftest.$ac_ext 3461 4051 LIBS=$ac_func_search_save_LIBS 3462 4052 fi 3463 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3464 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3465 if test "$ac_cv_search_strerror" != no; then 3466 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3467 3468 fi 3469 3470 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4053 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4054 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 4055 ac_res=$ac_cv_search_strerror 4056 if test "$ac_res" != no; then 4057 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4058 4059 fi 4060 4061 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4062 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3472 4063 if test "${ac_cv_header_stdc+set}" = set; then 3473 4064 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3493 4084 _ACEOF 3494 4085 rm -f conftest.$ac_objext 3495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3496 (eval $ac_compile) 2>conftest.er1 4086 if { (ac_try="$ac_compile" 4087 case "(($ac_try" in 4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4089 *) ac_try_echo=$ac_try;; 4090 esac 4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4092 (eval "$ac_compile") 2>conftest.er1 3497 4093 ac_status=$? 3498 4094 grep -v '^ *+' conftest.er1 >conftest.err … … 3500 4096 cat conftest.err >&5 3501 4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3502 (exit $ac_status); } && 3503 { ac_try='test -z "$ac_c_werror_flag" 3504 || test ! -s conftest.err' 3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3506 (eval $ac_try) 2>&5 3507 ac_status=$? 3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3509 (exit $ac_status); }; } && 3510 { ac_try='test -s conftest.$ac_objext' 3511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3512 (eval $ac_try) 2>&5 3513 ac_status=$? 3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3515 (exit $ac_status); }; }; then 4098 (exit $ac_status); } && { 4099 test -z "$ac_c_werror_flag" || 4100 test ! -s conftest.err 4101 } && test -s conftest.$ac_objext; then 3516 4102 ac_cv_header_stdc=yes 3517 4103 else … … 3519 4105 sed 's/^/| /' conftest.$ac_ext >&5 3520 4106 3521 ac_cv_header_stdc=no 3522 fi 3523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4107 ac_cv_header_stdc=no 4108 fi 4109 4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3524 4111 3525 4112 if test $ac_cv_header_stdc = yes; then … … 3577 4164 /* end confdefs.h. */ 3578 4165 #include <ctype.h> 4166 #include <stdlib.h> 3579 4167 #if ((' ' & 0x0FF) == 0x020) 3580 4168 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3596 4184 if (XOR (islower (i), ISLOWER (i)) 3597 4185 || toupper (i) != TOUPPER (i)) 3598 exit(2);3599 exit (0);4186 return 2; 4187 return 0; 3600 4188 } 3601 4189 _ACEOF 3602 4190 rm -f conftest$ac_exeext 3603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3604 (eval $ac_link) 2>&5 4191 if { (ac_try="$ac_link" 4192 case "(($ac_try" in 4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4194 *) ac_try_echo=$ac_try;; 4195 esac 4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4197 (eval "$ac_link") 2>&5 3605 4198 ac_status=$? 3606 4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3607 4200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3609 (eval $ac_try) 2>&5 4201 { (case "(($ac_try" in 4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4203 *) ac_try_echo=$ac_try;; 4204 esac 4205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4206 (eval "$ac_try") 2>&5 3610 4207 ac_status=$? 3611 4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3620 4217 ac_cv_header_stdc=no 3621 4218 fi 3622 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3623 fi 3624 fi 3625 fi 3626 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3627 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4220 fi 4221 4222 4223 fi 4224 fi 4225 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4226 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3628 4227 if test $ac_cv_header_stdc = yes; then 3629 4228 … … 3648 4247 do 3649 4248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3650 echo "$as_me:$LINENO: checking for $ac_header" >&53651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3652 if eval "test \"\${$as_ac_Header+set}\" = set"; then4249 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3653 4252 echo $ECHO_N "(cached) $ECHO_C" >&6 3654 4253 else … … 3664 4263 _ACEOF 3665 4264 rm -f conftest.$ac_objext 3666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3667 (eval $ac_compile) 2>conftest.er1 4265 if { (ac_try="$ac_compile" 4266 case "(($ac_try" in 4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4268 *) ac_try_echo=$ac_try;; 4269 esac 4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4271 (eval "$ac_compile") 2>conftest.er1 3668 4272 ac_status=$? 3669 4273 grep -v '^ *+' conftest.er1 >conftest.err … … 3671 4275 cat conftest.err >&5 3672 4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3673 (exit $ac_status); } && 3674 { ac_try='test -z "$ac_c_werror_flag" 3675 || test ! -s conftest.err' 3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3677 (eval $ac_try) 2>&5 3678 ac_status=$? 3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3680 (exit $ac_status); }; } && 3681 { ac_try='test -s conftest.$ac_objext' 3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3683 (eval $ac_try) 2>&5 3684 ac_status=$? 3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3686 (exit $ac_status); }; }; then 4277 (exit $ac_status); } && { 4278 test -z "$ac_c_werror_flag" || 4279 test ! -s conftest.err 4280 } && test -s conftest.$ac_objext; then 3687 4281 eval "$as_ac_Header=yes" 3688 4282 else … … 3690 4284 sed 's/^/| /' conftest.$ac_ext >&5 3691 4285 3692 eval "$as_ac_Header=no" 3693 fi 3694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3695 fi 3696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4286 eval "$as_ac_Header=no" 4287 fi 4288 4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4290 fi 4291 ac_res=`eval echo '${'$as_ac_Header'}'` 4292 { echo "$as_me:$LINENO: result: $ac_res" >&5 4293 echo "${ECHO_T}$ac_res" >&6; } 3698 4294 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3699 4295 cat >>confdefs.h <<_ACEOF … … 3707 4303 3708 4304 if test "${ac_cv_header_minix_config_h+set}" = set; then 3709 echo "$as_me:$LINENO: checking for minix/config.h" >&53710 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4305 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4306 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3711 4307 if test "${ac_cv_header_minix_config_h+set}" = set; then 3712 4308 echo $ECHO_N "(cached) $ECHO_C" >&6 3713 4309 fi 3714 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53715 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4310 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4311 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3716 4312 else 3717 4313 # Is the header compilable? 3718 echo "$as_me:$LINENO: checking minix/config.h usability" >&53719 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4314 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4315 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 3720 4316 cat >conftest.$ac_ext <<_ACEOF 3721 4317 /* confdefs.h. */ … … 3728 4324 _ACEOF 3729 4325 rm -f conftest.$ac_objext 3730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3731 (eval $ac_compile) 2>conftest.er1 4326 if { (ac_try="$ac_compile" 4327 case "(($ac_try" in 4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4329 *) ac_try_echo=$ac_try;; 4330 esac 4331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4332 (eval "$ac_compile") 2>conftest.er1 3732 4333 ac_status=$? 3733 4334 grep -v '^ *+' conftest.er1 >conftest.err … … 3735 4336 cat conftest.err >&5 3736 4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3737 (exit $ac_status); } && 3738 { ac_try='test -z "$ac_c_werror_flag" 3739 || test ! -s conftest.err' 3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3741 (eval $ac_try) 2>&5 3742 ac_status=$? 3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3744 (exit $ac_status); }; } && 3745 { ac_try='test -s conftest.$ac_objext' 3746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3747 (eval $ac_try) 2>&5 3748 ac_status=$? 3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3750 (exit $ac_status); }; }; then 4338 (exit $ac_status); } && { 4339 test -z "$ac_c_werror_flag" || 4340 test ! -s conftest.err 4341 } && test -s conftest.$ac_objext; then 3751 4342 ac_header_compiler=yes 3752 4343 else … … 3754 4345 sed 's/^/| /' conftest.$ac_ext >&5 3755 4346 3756 ac_header_compiler=no 3757 fi 3758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3760 echo "${ECHO_T}$ac_header_compiler" >&6 4347 ac_header_compiler=no 4348 fi 4349 4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4351 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4352 echo "${ECHO_T}$ac_header_compiler" >&6; } 3761 4353 3762 4354 # Is the header present? 3763 echo "$as_me:$LINENO: checking minix/config.h presence" >&53764 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4355 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4356 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 3765 4357 cat >conftest.$ac_ext <<_ACEOF 3766 4358 /* confdefs.h. */ … … 3771 4363 #include <minix/config.h> 3772 4364 _ACEOF 3773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3774 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4365 if { (ac_try="$ac_cpp conftest.$ac_ext" 4366 case "(($ac_try" in 4367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4368 *) ac_try_echo=$ac_try;; 4369 esac 4370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3775 4372 ac_status=$? 3776 4373 grep -v '^ *+' conftest.er1 >conftest.err … … 3778 4375 cat conftest.err >&5 3779 4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3780 (exit $ac_status); } >/dev/null; then 3781 if test -s conftest.err; then 3782 ac_cpp_err=$ac_c_preproc_warn_flag 3783 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3784 else 3785 ac_cpp_err= 3786 fi 3787 else 3788 ac_cpp_err=yes 3789 fi 3790 if test -z "$ac_cpp_err"; then 4377 (exit $ac_status); } >/dev/null && { 4378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4379 test ! -s conftest.err 4380 }; then 3791 4381 ac_header_preproc=yes 3792 4382 else … … 3796 4386 ac_header_preproc=no 3797 4387 fi 4388 3798 4389 rm -f conftest.err conftest.$ac_ext 3799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53800 echo "${ECHO_T}$ac_header_preproc" >&6 4390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4391 echo "${ECHO_T}$ac_header_preproc" >&6; } 3801 4392 3802 4393 # So? What about this header? … … 3822 4413 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3823 4414 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 3824 ( 3825 cat <<\_ASBOX 3826 ## ------------------------------------------ ## 3827 ## Report this to the AC_PACKAGE_NAME lists. ## 3828 ## ------------------------------------------ ## 3829 _ASBOX 3830 ) | 3831 sed "s/^/$as_me: WARNING: /" >&2 4415 3832 4416 ;; 3833 4417 esac 3834 echo "$as_me:$LINENO: checking for minix/config.h" >&53835 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4418 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4419 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3836 4420 if test "${ac_cv_header_minix_config_h+set}" = set; then 3837 4421 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3839 4423 ac_cv_header_minix_config_h=$ac_header_preproc 3840 4424 fi 3841 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53842 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4425 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4426 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3843 4427 3844 4428 fi … … 3868 4452 fi 3869 4453 3870 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&53871 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4454 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4455 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; } 3872 4456 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3873 4457 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3905 4489 _ACEOF 3906 4490 rm -f conftest.$ac_objext 3907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3908 (eval $ac_compile) 2>conftest.er1 4491 if { (ac_try="$ac_compile" 4492 case "(($ac_try" in 4493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4494 *) ac_try_echo=$ac_try;; 4495 esac 4496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4497 (eval "$ac_compile") 2>conftest.er1 3909 4498 ac_status=$? 3910 4499 grep -v '^ *+' conftest.er1 >conftest.err … … 3912 4501 cat conftest.err >&5 3913 4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3914 (exit $ac_status); } && 3915 { ac_try='test -z "$ac_c_werror_flag" 3916 || test ! -s conftest.err' 3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3918 (eval $ac_try) 2>&5 3919 ac_status=$? 3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (exit $ac_status); }; } && 3922 { ac_try='test -s conftest.$ac_objext' 3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3924 (eval $ac_try) 2>&5 3925 ac_status=$? 3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3927 (exit $ac_status); }; }; then 4503 (exit $ac_status); } && { 4504 test -z "$ac_c_werror_flag" || 4505 test ! -s conftest.err 4506 } && test -s conftest.$ac_objext; then 3928 4507 ac_cv_prog_cc_stdc="$ac_arg"; break 3929 4508 else … … 3931 4510 sed 's/^/| /' conftest.$ac_ext >&5 3932 4511 3933 fi 3934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4512 4513 fi 4514 4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3935 4516 done 3936 4517 CFLAGS="$ac_save_CFLAGS" … … 3938 4519 fi 3939 4520 3940 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&53941 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4521 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4522 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } 3942 4523 case "x$ac_cv_prog_cc_stdc" in 3943 4524 x|xno) ;; … … 3946 4527 3947 4528 3948 echo "$as_me:$LINENO: checking for function prototypes" >&53949 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4529 { echo "$as_me:$LINENO: checking for function prototypes" >&5 4530 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } 3950 4531 if test "$ac_cv_prog_cc_stdc" != no; then 3951 echo "$as_me:$LINENO: result: yes" >&53952 echo "${ECHO_T}yes" >&6 4532 { echo "$as_me:$LINENO: result: yes" >&5 4533 echo "${ECHO_T}yes" >&6; } 3953 4534 cat >>confdefs.h <<\_ACEOF 3954 4535 #define PROTOTYPES 1 … … 3957 4538 U= ANSI2KNR= 3958 4539 else 3959 echo "$as_me:$LINENO: result: no" >&53960 echo "${ECHO_T}no" >&6 4540 { echo "$as_me:$LINENO: result: no" >&5 4541 echo "${ECHO_T}no" >&6; } 3961 4542 U=_ ANSI2KNR=ansi2knr 3962 4543 fi 3963 4544 3964 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&53965 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4545 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4546 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 3966 4547 if test "${ac_cv_c_const+set}" = set; then 3967 4548 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3981 4562 /* Ultrix mips cc rejects this. */ 3982 4563 typedef int charset[2]; 3983 const charset x;4564 const charset cs; 3984 4565 /* SunOS 4.1.1 cc rejects this. */ 3985 char const *const * ccp;3986 char **p ;4566 char const *const *pcpcc; 4567 char **ppc; 3987 4568 /* NEC SVR4.0.2 mips cc rejects this. */ 3988 4569 struct point {int x, y;}; … … 3993 4574 expression */ 3994 4575 const char *g = "string"; 3995 ccp= &g + (g ? g-g : 0);4576 pcpcc = &g + (g ? g-g : 0); 3996 4577 /* HPUX 7.0 cc rejects these. */ 3997 ++ ccp;3998 p = (char**) ccp;3999 ccp = (char const *const *) p;4578 ++pcpcc; 4579 ppc = (char**) pcpcc; 4580 pcpcc = (char const *const *) ppc; 4000 4581 { /* SCO 3.2v4 cc rejects this. */ 4001 4582 char *t; … … 4003 4584 4004 4585 *t++ = 0; 4586 if (s) return 0; 4005 4587 } 4006 4588 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4021 4603 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4022 4604 const int foo = 10; 4605 if (!foo) return 0; 4023 4606 } 4607 return !cs[0] && !zero.x; 4024 4608 #endif 4025 4609 … … 4029 4613 _ACEOF 4030 4614 rm -f conftest.$ac_objext 4031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4032 (eval $ac_compile) 2>conftest.er1 4615 if { (ac_try="$ac_compile" 4616 case "(($ac_try" in 4617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4618 *) ac_try_echo=$ac_try;; 4619 esac 4620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4621 (eval "$ac_compile") 2>conftest.er1 4033 4622 ac_status=$? 4034 4623 grep -v '^ *+' conftest.er1 >conftest.err … … 4036 4625 cat conftest.err >&5 4037 4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4038 (exit $ac_status); } && 4039 { ac_try='test -z "$ac_c_werror_flag" 4040 || test ! -s conftest.err' 4041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4042 (eval $ac_try) 2>&5 4043 ac_status=$? 4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4045 (exit $ac_status); }; } && 4046 { ac_try='test -s conftest.$ac_objext' 4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4048 (eval $ac_try) 2>&5 4049 ac_status=$? 4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4051 (exit $ac_status); }; }; then 4627 (exit $ac_status); } && { 4628 test -z "$ac_c_werror_flag" || 4629 test ! -s conftest.err 4630 } && test -s conftest.$ac_objext; then 4052 4631 ac_cv_c_const=yes 4053 4632 else … … 4055 4634 sed 's/^/| /' conftest.$ac_ext >&5 4056 4635 4057 ac_cv_c_const=no 4058 fi 4059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4060 fi 4061 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4062 echo "${ECHO_T}$ac_cv_c_const" >&6 4636 ac_cv_c_const=no 4637 fi 4638 4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4640 fi 4641 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4642 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4063 4643 if test $ac_cv_c_const = no; then 4064 4644 … … 4069 4649 fi 4070 4650 4071 echo "$as_me:$LINENO: checking for off_t" >&54072 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4651 { echo "$as_me:$LINENO: checking for off_t" >&5 4652 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } 4073 4653 if test "${ac_cv_type_off_t+set}" = set; then 4074 4654 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4081 4661 /* end confdefs.h. */ 4082 4662 $ac_includes_default 4663 typedef off_t ac__type_new_; 4083 4664 int 4084 4665 main () 4085 4666 { 4086 if (( off_t*) 0)4667 if ((ac__type_new_ *) 0) 4087 4668 return 0; 4088 if (sizeof ( off_t))4669 if (sizeof (ac__type_new_)) 4089 4670 return 0; 4090 4671 ; … … 4093 4674 _ACEOF 4094 4675 rm -f conftest.$ac_objext 4095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4096 (eval $ac_compile) 2>conftest.er1 4676 if { (ac_try="$ac_compile" 4677 case "(($ac_try" in 4678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4679 *) ac_try_echo=$ac_try;; 4680 esac 4681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4682 (eval "$ac_compile") 2>conftest.er1 4097 4683 ac_status=$? 4098 4684 grep -v '^ *+' conftest.er1 >conftest.err … … 4100 4686 cat conftest.err >&5 4101 4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4102 (exit $ac_status); } && 4103 { ac_try='test -z "$ac_c_werror_flag" 4104 || test ! -s conftest.err' 4105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4106 (eval $ac_try) 2>&5 4107 ac_status=$? 4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4109 (exit $ac_status); }; } && 4110 { ac_try='test -s conftest.$ac_objext' 4111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4112 (eval $ac_try) 2>&5 4113 ac_status=$? 4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4115 (exit $ac_status); }; }; then 4688 (exit $ac_status); } && { 4689 test -z "$ac_c_werror_flag" || 4690 test ! -s conftest.err 4691 } && test -s conftest.$ac_objext; then 4116 4692 ac_cv_type_off_t=yes 4117 4693 else … … 4119 4695 sed 's/^/| /' conftest.$ac_ext >&5 4120 4696 4121 ac_cv_type_off_t=no 4122 fi 4123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4124 fi 4125 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4126 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4697 ac_cv_type_off_t=no 4698 fi 4699 4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4701 fi 4702 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4703 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 4127 4704 if test $ac_cv_type_off_t = yes; then 4128 4705 : … … 4130 4707 4131 4708 cat >>confdefs.h <<_ACEOF 4132 #define off_t long 4133 _ACEOF 4134 4135 fi 4136 4137 echo "$as_me:$LINENO: checking for size_t" >&54138 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4709 #define off_t long int 4710 _ACEOF 4711 4712 fi 4713 4714 { echo "$as_me:$LINENO: checking for size_t" >&5 4715 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 4139 4716 if test "${ac_cv_type_size_t+set}" = set; then 4140 4717 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4147 4724 /* end confdefs.h. */ 4148 4725 $ac_includes_default 4726 typedef size_t ac__type_new_; 4149 4727 int 4150 4728 main () 4151 4729 { 4152 if (( size_t*) 0)4730 if ((ac__type_new_ *) 0) 4153 4731 return 0; 4154 if (sizeof ( size_t))4732 if (sizeof (ac__type_new_)) 4155 4733 return 0; 4156 4734 ; … … 4159 4737 _ACEOF 4160 4738 rm -f conftest.$ac_objext 4161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4162 (eval $ac_compile) 2>conftest.er1 4739 if { (ac_try="$ac_compile" 4740 case "(($ac_try" in 4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4742 *) ac_try_echo=$ac_try;; 4743 esac 4744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4745 (eval "$ac_compile") 2>conftest.er1 4163 4746 ac_status=$? 4164 4747 grep -v '^ *+' conftest.er1 >conftest.err … … 4166 4749 cat conftest.err >&5 4167 4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 (exit $ac_status); } && 4169 { ac_try='test -z "$ac_c_werror_flag" 4170 || test ! -s conftest.err' 4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4172 (eval $ac_try) 2>&5 4173 ac_status=$? 4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4175 (exit $ac_status); }; } && 4176 { ac_try='test -s conftest.$ac_objext' 4177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4178 (eval $ac_try) 2>&5 4179 ac_status=$? 4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4181 (exit $ac_status); }; }; then 4751 (exit $ac_status); } && { 4752 test -z "$ac_c_werror_flag" || 4753 test ! -s conftest.err 4754 } && test -s conftest.$ac_objext; then 4182 4755 ac_cv_type_size_t=yes 4183 4756 else … … 4185 4758 sed 's/^/| /' conftest.$ac_ext >&5 4186 4759 4187 ac_cv_type_size_t=no 4188 fi 4189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4190 fi 4191 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4192 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4760 ac_cv_type_size_t=no 4761 fi 4762 4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4764 fi 4765 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4766 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4193 4767 if test $ac_cv_type_size_t = yes; then 4194 4768 : … … 4196 4770 4197 4771 cat >>confdefs.h <<_ACEOF 4198 #define size_t unsigned 4199 _ACEOF 4200 4201 fi 4202 4203 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54204 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4772 #define size_t unsigned int 4773 _ACEOF 4774 4775 fi 4776 4777 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4778 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 4205 4779 if test "${ac_cv_header_time+set}" = set; then 4206 4780 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4226 4800 _ACEOF 4227 4801 rm -f conftest.$ac_objext 4228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4229 (eval $ac_compile) 2>conftest.er1 4802 if { (ac_try="$ac_compile" 4803 case "(($ac_try" in 4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4805 *) ac_try_echo=$ac_try;; 4806 esac 4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4808 (eval "$ac_compile") 2>conftest.er1 4230 4809 ac_status=$? 4231 4810 grep -v '^ *+' conftest.er1 >conftest.err … … 4233 4812 cat conftest.err >&5 4234 4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4235 (exit $ac_status); } && 4236 { ac_try='test -z "$ac_c_werror_flag" 4237 || test ! -s conftest.err' 4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4239 (eval $ac_try) 2>&5 4240 ac_status=$? 4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4242 (exit $ac_status); }; } && 4243 { ac_try='test -s conftest.$ac_objext' 4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4245 (eval $ac_try) 2>&5 4246 ac_status=$? 4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4248 (exit $ac_status); }; }; then 4814 (exit $ac_status); } && { 4815 test -z "$ac_c_werror_flag" || 4816 test ! -s conftest.err 4817 } && test -s conftest.$ac_objext; then 4249 4818 ac_cv_header_time=yes 4250 4819 else … … 4252 4821 sed 's/^/| /' conftest.$ac_ext >&5 4253 4822 4254 ac_cv_header_time=no 4255 fi 4256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4257 fi 4258 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4259 echo "${ECHO_T}$ac_cv_header_time" >&6 4823 ac_cv_header_time=no 4824 fi 4825 4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4827 fi 4828 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4829 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4260 4830 if test $ac_cv_header_time = yes; then 4261 4831 … … 4266 4836 fi 4267 4837 4268 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54269 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4838 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4839 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 4270 4840 if test "${ac_cv_struct_tm+set}" = set; then 4271 4841 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4283 4853 main () 4284 4854 { 4285 struct tm *tp; tp->tm_sec; 4855 struct tm tm; 4856 int *p = &tm.tm_sec; 4857 return !p; 4286 4858 ; 4287 4859 return 0; … … 4289 4861 _ACEOF 4290 4862 rm -f conftest.$ac_objext 4291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4292 (eval $ac_compile) 2>conftest.er1 4863 if { (ac_try="$ac_compile" 4864 case "(($ac_try" in 4865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4866 *) ac_try_echo=$ac_try;; 4867 esac 4868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4869 (eval "$ac_compile") 2>conftest.er1 4293 4870 ac_status=$? 4294 4871 grep -v '^ *+' conftest.er1 >conftest.err … … 4296 4873 cat conftest.err >&5 4297 4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4298 (exit $ac_status); } && 4299 { ac_try='test -z "$ac_c_werror_flag" 4300 || test ! -s conftest.err' 4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4302 (eval $ac_try) 2>&5 4303 ac_status=$? 4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4305 (exit $ac_status); }; } && 4306 { ac_try='test -s conftest.$ac_objext' 4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4308 (eval $ac_try) 2>&5 4309 ac_status=$? 4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4311 (exit $ac_status); }; }; then 4875 (exit $ac_status); } && { 4876 test -z "$ac_c_werror_flag" || 4877 test ! -s conftest.err 4878 } && test -s conftest.$ac_objext; then 4312 4879 ac_cv_struct_tm=time.h 4313 4880 else … … 4315 4882 sed 's/^/| /' conftest.$ac_ext >&5 4316 4883 4317 ac_cv_struct_tm=sys/time.h 4318 fi 4319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4320 fi 4321 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4322 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4884 ac_cv_struct_tm=sys/time.h 4885 fi 4886 4887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4888 fi 4889 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4890 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4323 4891 if test $ac_cv_struct_tm = sys/time.h; then 4324 4892 … … 4331 4899 4332 4900 4333 # Check whether --with-unac or --without-unacwas given.4901 # Check whether --with-unac was given. 4334 4902 if test "${with_unac+set}" = set; then 4335 withval="$with_unac" 4336 UNAC_DIR=$withval 4903 withval=$with_unac; UNAC_DIR=$withval 4337 4904 else 4338 4905 UNAC_DIR="`pwd`/../packages/unac" 4339 fi; 4906 fi 4907 4340 4908 cat >>confdefs.h <<_ACEOF 4341 4909 #define UNAC_DIR "$UNAC_DIR" … … 4344 4912 4345 4913 4346 4347 # Check whether --with-unac or --without-unac was given. 4348 if test "${with_unac+set}" = set; then 4349 withval="$with_unac" 4350 LIBICONV_DIR=$withval 4351 fi; 4352 cat >>confdefs.h <<_ACEOF 4353 #define LIBICONV_DIR "$LIBICONV_DIR" 4354 _ACEOF 4355 4356 4914 #AC_ARG_WITH(unac, [ --with-libiconv-prefix=dir Use local libiconv library], LIBICONV_DIR=$withval) 4915 #AC_DEFINE_UNQUOTED(LIBICONV_DIR, "$LIBICONV_DIR") 4916 #AC_SUBST(LIBICONV_DIR) 4357 4917 4358 4918 … … 4375 4935 _ACEOF 4376 4936 rm -f conftest.$ac_objext 4377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4378 (eval $ac_compile) 2>conftest.er1 4937 if { (ac_try="$ac_compile" 4938 case "(($ac_try" in 4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4940 *) ac_try_echo=$ac_try;; 4941 esac 4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4943 (eval "$ac_compile") 2>conftest.er1 4379 4944 ac_status=$? 4380 4945 grep -v '^ *+' conftest.er1 >conftest.err … … 4382 4947 cat conftest.err >&5 4383 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4384 (exit $ac_status); } && 4385 { ac_try='test -z "$ac_c_werror_flag" 4386 || test ! -s conftest.err' 4387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4388 (eval $ac_try) 2>&5 4389 ac_status=$? 4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4391 (exit $ac_status); }; } && 4392 { ac_try='test -s conftest.$ac_objext' 4393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4394 (eval $ac_try) 2>&5 4395 ac_status=$? 4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4397 (exit $ac_status); }; }; then 4949 (exit $ac_status); } && { 4950 test -z "$ac_c_werror_flag" || 4951 test ! -s conftest.err 4952 } && test -s conftest.$ac_objext; then 4398 4953 : 4399 4954 else … … 4401 4956 sed 's/^/| /' conftest.$ac_ext >&5 4402 4957 4403 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4404 fi 4405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4406 fi 4407 4408 4409 4410 echo "$as_me:$LINENO: checking for main in -lg" >&5 4411 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 4958 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4959 fi 4960 4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4962 fi 4963 4964 4965 4966 { echo "$as_me:$LINENO: checking for main in -lg" >&5 4967 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 4412 4968 if test "${ac_cv_lib_g_main+set}" = set; then 4413 4969 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4426 4982 main () 4427 4983 { 4428 main ();4984 return main (); 4429 4985 ; 4430 4986 return 0; … … 4432 4988 _ACEOF 4433 4989 rm -f conftest.$ac_objext conftest$ac_exeext 4434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4435 (eval $ac_link) 2>conftest.er1 4990 if { (ac_try="$ac_link" 4991 case "(($ac_try" in 4992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4993 *) ac_try_echo=$ac_try;; 4994 esac 4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4996 (eval "$ac_link") 2>conftest.er1 4436 4997 ac_status=$? 4437 4998 grep -v '^ *+' conftest.er1 >conftest.err … … 4439 5000 cat conftest.err >&5 4440 5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4441 (exit $ac_status); } && 4442 { ac_try='test -z "$ac_c_werror_flag" 4443 || test ! -s conftest.err' 4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4445 (eval $ac_try) 2>&5 4446 ac_status=$? 4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4448 (exit $ac_status); }; } && 4449 { ac_try='test -s conftest$ac_exeext' 4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4451 (eval $ac_try) 2>&5 4452 ac_status=$? 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); }; }; then 5002 (exit $ac_status); } && { 5003 test -z "$ac_c_werror_flag" || 5004 test ! -s conftest.err 5005 } && test -s conftest$ac_exeext && 5006 $as_test_x conftest$ac_exeext; then 4455 5007 ac_cv_lib_g_main=yes 4456 5008 else … … 4458 5010 sed 's/^/| /' conftest.$ac_ext >&5 4459 5011 4460 ac_cv_lib_g_main=no 4461 fi 4462 rm -f conftest.err conftest.$ac_objext \ 5012 ac_cv_lib_g_main=no 5013 fi 5014 5015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4463 5016 conftest$ac_exeext conftest.$ac_ext 4464 5017 LIBS=$ac_check_lib_save_LIBS 4465 5018 fi 4466 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54467 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5019 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5020 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; } 4468 5021 if test $ac_cv_lib_g_main = yes; then 4469 5022 cat >>confdefs.h <<_ACEOF … … 4476 5029 4477 5030 4478 echo "$as_me:$LINENO: checking for main in -lm" >&54479 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5031 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5032 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4480 5033 if test "${ac_cv_lib_m_main+set}" = set; then 4481 5034 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4494 5047 main () 4495 5048 { 4496 main ();5049 return main (); 4497 5050 ; 4498 5051 return 0; … … 4500 5053 _ACEOF 4501 5054 rm -f conftest.$ac_objext conftest$ac_exeext 4502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4503 (eval $ac_link) 2>conftest.er1 5055 if { (ac_try="$ac_link" 5056 case "(($ac_try" in 5057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5058 *) ac_try_echo=$ac_try;; 5059 esac 5060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5061 (eval "$ac_link") 2>conftest.er1 4504 5062 ac_status=$? 4505 5063 grep -v '^ *+' conftest.er1 >conftest.err … … 4507 5065 cat conftest.err >&5 4508 5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4509 (exit $ac_status); } && 4510 { ac_try='test -z "$ac_c_werror_flag" 4511 || test ! -s conftest.err' 4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4513 (eval $ac_try) 2>&5 4514 ac_status=$? 4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4516 (exit $ac_status); }; } && 4517 { ac_try='test -s conftest$ac_exeext' 4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4519 (eval $ac_try) 2>&5 4520 ac_status=$? 4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4522 (exit $ac_status); }; }; then 5067 (exit $ac_status); } && { 5068 test -z "$ac_c_werror_flag" || 5069 test ! -s conftest.err 5070 } && test -s conftest$ac_exeext && 5071 $as_test_x conftest$ac_exeext; then 4523 5072 ac_cv_lib_m_main=yes 4524 5073 else … … 4526 5075 sed 's/^/| /' conftest.$ac_ext >&5 4527 5076 4528 ac_cv_lib_m_main=no 4529 fi 4530 rm -f conftest.err conftest.$ac_objext \ 5077 ac_cv_lib_m_main=no 5078 fi 5079 5080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4531 5081 conftest$ac_exeext conftest.$ac_ext 4532 5082 LIBS=$ac_check_lib_save_LIBS 4533 5083 fi 4534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54535 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5084 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5085 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 4536 5086 if test $ac_cv_lib_m_main = yes; then 4537 5087 cat >>confdefs.h <<_ACEOF … … 4544 5094 4545 5095 4546 echo "$as_me:$LINENO: checking for main in -lstdc++" >&54547 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6 5096 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 5097 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } 4548 5098 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 4549 5099 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4562 5112 main () 4563 5113 { 4564 main ();5114 return main (); 4565 5115 ; 4566 5116 return 0; … … 4568 5118 _ACEOF 4569 5119 rm -f conftest.$ac_objext conftest$ac_exeext 4570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4571 (eval $ac_link) 2>conftest.er1 5120 if { (ac_try="$ac_link" 5121 case "(($ac_try" in 5122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5123 *) ac_try_echo=$ac_try;; 5124 esac 5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5126 (eval "$ac_link") 2>conftest.er1 4572 5127 ac_status=$? 4573 5128 grep -v '^ *+' conftest.er1 >conftest.err … … 4575 5130 cat conftest.err >&5 4576 5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4577 (exit $ac_status); } && 4578 { ac_try='test -z "$ac_c_werror_flag" 4579 || test ! -s conftest.err' 4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4581 (eval $ac_try) 2>&5 4582 ac_status=$? 4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4584 (exit $ac_status); }; } && 4585 { ac_try='test -s conftest$ac_exeext' 4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4587 (eval $ac_try) 2>&5 4588 ac_status=$? 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4590 (exit $ac_status); }; }; then 5132 (exit $ac_status); } && { 5133 test -z "$ac_c_werror_flag" || 5134 test ! -s conftest.err 5135 } && test -s conftest$ac_exeext && 5136 $as_test_x conftest$ac_exeext; then 4591 5137 ac_cv_lib_stdcpp_main=yes 4592 5138 else … … 4594 5140 sed 's/^/| /' conftest.$ac_ext >&5 4595 5141 4596 ac_cv_lib_stdcpp_main=no 4597 fi 4598 rm -f conftest.err conftest.$ac_objext \ 5142 ac_cv_lib_stdcpp_main=no 5143 fi 5144 5145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4599 5146 conftest$ac_exeext conftest.$ac_ext 4600 5147 LIBS=$ac_check_lib_save_LIBS 4601 5148 fi 4602 echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&54603 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6 5149 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 5150 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; } 4604 5151 if test $ac_cv_lib_stdcpp_main = yes; then 4605 5152 cat >>confdefs.h <<_ACEOF … … 4612 5159 4613 5160 4614 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54615 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5161 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5162 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; } 4616 5163 if test "${ac_cv_lib_crypt_main+set}" = set; then 4617 5164 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4630 5177 main () 4631 5178 { 4632 main ();5179 return main (); 4633 5180 ; 4634 5181 return 0; … … 4636 5183 _ACEOF 4637 5184 rm -f conftest.$ac_objext conftest$ac_exeext 4638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4639 (eval $ac_link) 2>conftest.er1 5185 if { (ac_try="$ac_link" 5186 case "(($ac_try" in 5187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5188 *) ac_try_echo=$ac_try;; 5189 esac 5190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5191 (eval "$ac_link") 2>conftest.er1 4640 5192 ac_status=$? 4641 5193 grep -v '^ *+' conftest.er1 >conftest.err … … 4643 5195 cat conftest.err >&5 4644 5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4645 (exit $ac_status); } && 4646 { ac_try='test -z "$ac_c_werror_flag" 4647 || test ! -s conftest.err' 4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4649 (eval $ac_try) 2>&5 4650 ac_status=$? 4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4652 (exit $ac_status); }; } && 4653 { ac_try='test -s conftest$ac_exeext' 4654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4655 (eval $ac_try) 2>&5 4656 ac_status=$? 4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4658 (exit $ac_status); }; }; then 5197 (exit $ac_status); } && { 5198 test -z "$ac_c_werror_flag" || 5199 test ! -s conftest.err 5200 } && test -s conftest$ac_exeext && 5201 $as_test_x conftest$ac_exeext; then 4659 5202 ac_cv_lib_crypt_main=yes 4660 5203 else … … 4662 5205 sed 's/^/| /' conftest.$ac_ext >&5 4663 5206 4664 ac_cv_lib_crypt_main=no 4665 fi 4666 rm -f conftest.err conftest.$ac_objext \ 5207 ac_cv_lib_crypt_main=no 5208 fi 5209 5210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4667 5211 conftest$ac_exeext conftest.$ac_ext 4668 5212 LIBS=$ac_check_lib_save_LIBS 4669 5213 fi 4670 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54671 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5214 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5215 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; } 4672 5216 if test $ac_cv_lib_crypt_main = yes; then 4673 5217 cat >>confdefs.h <<_ACEOF … … 4681 5225 if test $ENABLE_ACCENTFOLD = 1; then 4682 5226 4683 echo "$as_me:$LINENO: checking for main in -liconv" >&54684 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 5227 { echo "$as_me:$LINENO: checking for main in -liconv" >&5 5228 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6; } 4685 5229 if test "${ac_cv_lib_iconv_main+set}" = set; then 4686 5230 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4699 5243 main () 4700 5244 { 4701 main ();5245 return main (); 4702 5246 ; 4703 5247 return 0; … … 4705 5249 _ACEOF 4706 5250 rm -f conftest.$ac_objext conftest$ac_exeext 4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4708 (eval $ac_link) 2>conftest.er1 5251 if { (ac_try="$ac_link" 5252 case "(($ac_try" in 5253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5254 *) ac_try_echo=$ac_try;; 5255 esac 5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5257 (eval "$ac_link") 2>conftest.er1 4709 5258 ac_status=$? 4710 5259 grep -v '^ *+' conftest.er1 >conftest.err … … 4712 5261 cat conftest.err >&5 4713 5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); } && 4715 { ac_try='test -z "$ac_c_werror_flag" 4716 || test ! -s conftest.err' 4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4718 (eval $ac_try) 2>&5 4719 ac_status=$? 4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4721 (exit $ac_status); }; } && 4722 { ac_try='test -s conftest$ac_exeext' 4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4724 (eval $ac_try) 2>&5 4725 ac_status=$? 4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4727 (exit $ac_status); }; }; then 5263 (exit $ac_status); } && { 5264 test -z "$ac_c_werror_flag" || 5265 test ! -s conftest.err 5266 } && test -s conftest$ac_exeext && 5267 $as_test_x conftest$ac_exeext; then 4728 5268 ac_cv_lib_iconv_main=yes 4729 5269 else … … 4731 5271 sed 's/^/| /' conftest.$ac_ext >&5 4732 5272 4733 ac_cv_lib_iconv_main=no 4734 fi 4735 rm -f conftest.err conftest.$ac_objext \ 5273 ac_cv_lib_iconv_main=no 5274 fi 5275 5276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4736 5277 conftest$ac_exeext conftest.$ac_ext 4737 5278 LIBS=$ac_check_lib_save_LIBS 4738 5279 fi 4739 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&54740 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 5280 { echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 5281 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6; } 4741 5282 if test $ac_cv_lib_iconv_main = yes; then 4742 5283 cat >>confdefs.h <<_ACEOF … … 4760 5301 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4761 5302 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4762 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54763 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4764 if eval "test \"\${$as_ac_Header+set}\" = set"; then5303 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5304 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 5305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4765 5306 echo $ECHO_N "(cached) $ECHO_C" >&6 4766 5307 else … … 4784 5325 _ACEOF 4785 5326 rm -f conftest.$ac_objext 4786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4787 (eval $ac_compile) 2>conftest.er1 5327 if { (ac_try="$ac_compile" 5328 case "(($ac_try" in 5329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5330 *) ac_try_echo=$ac_try;; 5331 esac 5332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5333 (eval "$ac_compile") 2>conftest.er1 4788 5334 ac_status=$? 4789 5335 grep -v '^ *+' conftest.er1 >conftest.err … … 4791 5337 cat conftest.err >&5 4792 5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4793 (exit $ac_status); } && 4794 { ac_try='test -z "$ac_c_werror_flag" 4795 || test ! -s conftest.err' 4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4797 (eval $ac_try) 2>&5 4798 ac_status=$? 4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4800 (exit $ac_status); }; } && 4801 { ac_try='test -s conftest.$ac_objext' 4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4803 (eval $ac_try) 2>&5 4804 ac_status=$? 4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4806 (exit $ac_status); }; }; then 5339 (exit $ac_status); } && { 5340 test -z "$ac_c_werror_flag" || 5341 test ! -s conftest.err 5342 } && test -s conftest.$ac_objext; then 4807 5343 eval "$as_ac_Header=yes" 4808 5344 else … … 4810 5346 sed 's/^/| /' conftest.$ac_ext >&5 4811 5347 4812 eval "$as_ac_Header=no" 4813 fi 4814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4815 fi 4816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5348 eval "$as_ac_Header=no" 5349 fi 5350 5351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5352 fi 5353 ac_res=`eval echo '${'$as_ac_Header'}'` 5354 { echo "$as_me:$LINENO: result: $ac_res" >&5 5355 echo "${ECHO_T}$ac_res" >&6; } 4818 5356 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4819 5357 cat >>confdefs.h <<_ACEOF … … 4827 5365 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4828 5366 if test $ac_header_dirent = dirent.h; then 4829 echo "$as_me:$LINENO: checking for library containing opendir" >&54830 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5367 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5368 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 4831 5369 if test "${ac_cv_search_opendir+set}" = set; then 4832 5370 echo $ECHO_N "(cached) $ECHO_C" >&6 4833 5371 else 4834 5372 ac_func_search_save_LIBS=$LIBS 4835 ac_cv_search_opendir=no4836 5373 cat >conftest.$ac_ext <<_ACEOF 4837 5374 /* confdefs.h. */ … … 4841 5378 /* end confdefs.h. */ 4842 5379 4843 /* Override any gcc2 internal prototype to avoid an error. */ 5380 /* Override any GCC internal prototype to avoid an error. 5381 Use char because int might match the return type of a GCC 5382 builtin and then its argument prototype would still apply. */ 4844 5383 #ifdef __cplusplus 4845 5384 extern "C" 4846 5385 #endif 4847 /* We use char because int might match the return type of a gcc24848 builtin and then its argument prototype would still apply. */4849 5386 char opendir (); 4850 5387 int 4851 5388 main () 4852 5389 { 4853 opendir ();5390 return opendir (); 4854 5391 ; 4855 5392 return 0; 4856 5393 } 4857 5394 _ACEOF 4858 rm -f conftest.$ac_objext conftest$ac_exeext 4859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4860 (eval $ac_link) 2>conftest.er1 5395 for ac_lib in '' dir; do 5396 if test -z "$ac_lib"; then 5397 ac_res="none required" 5398 else 5399 ac_res=-l$ac_lib 5400 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5401 fi 5402 rm -f conftest.$ac_objext conftest$ac_exeext 5403 if { (ac_try="$ac_link" 5404 case "(($ac_try" in 5405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5406 *) ac_try_echo=$ac_try;; 5407 esac 5408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5409 (eval "$ac_link") 2>conftest.er1 4861 5410 ac_status=$? 4862 5411 grep -v '^ *+' conftest.er1 >conftest.err … … 4864 5413 cat conftest.err >&5 4865 5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4866 (exit $ac_status); } && 4867 { ac_try='test -z "$ac_c_werror_flag" 4868 || test ! -s conftest.err' 4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4870 (eval $ac_try) 2>&5 4871 ac_status=$? 4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4873 (exit $ac_status); }; } && 4874 { ac_try='test -s conftest$ac_exeext' 4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4876 (eval $ac_try) 2>&5 4877 ac_status=$? 4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4879 (exit $ac_status); }; }; then 4880 ac_cv_search_opendir="none required" 5415 (exit $ac_status); } && { 5416 test -z "$ac_c_werror_flag" || 5417 test ! -s conftest.err 5418 } && test -s conftest$ac_exeext && 5419 $as_test_x conftest$ac_exeext; then 5420 ac_cv_search_opendir=$ac_res 4881 5421 else 4882 5422 echo "$as_me: failed program was:" >&5 4883 5423 sed 's/^/| /' conftest.$ac_ext >&5 4884 5424 4885 fi 4886 rm -f conftest.err conftest.$ac_objext \ 4887 conftest$ac_exeext conftest.$ac_ext 4888 if test "$ac_cv_search_opendir" = no; then 4889 for ac_lib in dir; do 4890 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4891 cat >conftest.$ac_ext <<_ACEOF 5425 5426 fi 5427 5428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5429 conftest$ac_exeext 5430 if test "${ac_cv_search_opendir+set}" = set; then 5431 break 5432 fi 5433 done 5434 if test "${ac_cv_search_opendir+set}" = set; then 5435 : 5436 else 5437 ac_cv_search_opendir=no 5438 fi 5439 rm conftest.$ac_ext 5440 LIBS=$ac_func_search_save_LIBS 5441 fi 5442 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5443 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5444 ac_res=$ac_cv_search_opendir 5445 if test "$ac_res" != no; then 5446 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5447 5448 fi 5449 5450 else 5451 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5452 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 5453 if test "${ac_cv_search_opendir+set}" = set; then 5454 echo $ECHO_N "(cached) $ECHO_C" >&6 5455 else 5456 ac_func_search_save_LIBS=$LIBS 5457 cat >conftest.$ac_ext <<_ACEOF 4892 5458 /* confdefs.h. */ 4893 5459 _ACEOF … … 4896 5462 /* end confdefs.h. */ 4897 5463 4898 /* Override any gcc2 internal prototype to avoid an error. */ 5464 /* Override any GCC internal prototype to avoid an error. 5465 Use char because int might match the return type of a GCC 5466 builtin and then its argument prototype would still apply. */ 4899 5467 #ifdef __cplusplus 4900 5468 extern "C" 4901 5469 #endif 4902 /* We use char because int might match the return type of a gcc24903 builtin and then its argument prototype would still apply. */4904 5470 char opendir (); 4905 5471 int 4906 5472 main () 4907 5473 { 4908 opendir ();5474 return opendir (); 4909 5475 ; 4910 5476 return 0; 4911 5477 } 4912 5478 _ACEOF 4913 rm -f conftest.$ac_objext conftest$ac_exeext 4914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4915 (eval $ac_link) 2>conftest.er1 5479 for ac_lib in '' x; do 5480 if test -z "$ac_lib"; then 5481 ac_res="none required" 5482 else 5483 ac_res=-l$ac_lib 5484 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5485 fi 5486 rm -f conftest.$ac_objext conftest$ac_exeext 5487 if { (ac_try="$ac_link" 5488 case "(($ac_try" in 5489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5490 *) ac_try_echo=$ac_try;; 5491 esac 5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5493 (eval "$ac_link") 2>conftest.er1 4916 5494 ac_status=$? 4917 5495 grep -v '^ *+' conftest.er1 >conftest.err … … 4919 5497 cat conftest.err >&5 4920 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4921 (exit $ac_status); } && 4922 { ac_try='test -z "$ac_c_werror_flag" 4923 || test ! -s conftest.err' 4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4925 (eval $ac_try) 2>&5 4926 ac_status=$? 4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4928 (exit $ac_status); }; } && 4929 { ac_try='test -s conftest$ac_exeext' 4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4931 (eval $ac_try) 2>&5 4932 ac_status=$? 4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 (exit $ac_status); }; }; then 4935 ac_cv_search_opendir="-l$ac_lib" 4936 break 5499 (exit $ac_status); } && { 5500 test -z "$ac_c_werror_flag" || 5501 test ! -s conftest.err 5502 } && test -s conftest$ac_exeext && 5503 $as_test_x conftest$ac_exeext; then 5504 ac_cv_search_opendir=$ac_res 4937 5505 else 4938 5506 echo "$as_me: failed program was:" >&5 4939 5507 sed 's/^/| /' conftest.$ac_ext >&5 4940 5508 4941 fi 4942 rm -f conftest.err conftest.$ac_objext \ 4943 conftest$ac_exeext conftest.$ac_ext 4944 done 4945 fi 5509 5510 fi 5511 5512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5513 conftest$ac_exeext 5514 if test "${ac_cv_search_opendir+set}" = set; then 5515 break 5516 fi 5517 done 5518 if test "${ac_cv_search_opendir+set}" = set; then 5519 : 5520 else 5521 ac_cv_search_opendir=no 5522 fi 5523 rm conftest.$ac_ext 4946 5524 LIBS=$ac_func_search_save_LIBS 4947 5525 fi 4948 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4949 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4950 if test "$ac_cv_search_opendir" != no; then 4951 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4952 4953 fi 4954 4955 else 4956 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4957 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4958 if test "${ac_cv_search_opendir+set}" = set; then 4959 echo $ECHO_N "(cached) $ECHO_C" >&6 4960 else 4961 ac_func_search_save_LIBS=$LIBS 4962 ac_cv_search_opendir=no 4963 cat >conftest.$ac_ext <<_ACEOF 4964 /* confdefs.h. */ 4965 _ACEOF 4966 cat confdefs.h >>conftest.$ac_ext 4967 cat >>conftest.$ac_ext <<_ACEOF 4968 /* end confdefs.h. */ 4969 4970 /* Override any gcc2 internal prototype to avoid an error. */ 4971 #ifdef __cplusplus 4972 extern "C" 4973 #endif 4974 /* We use char because int might match the return type of a gcc2 4975 builtin and then its argument prototype would still apply. */ 4976 char opendir (); 4977 int 4978 main () 4979 { 4980 opendir (); 4981 ; 4982 return 0; 4983 } 4984 _ACEOF 4985 rm -f conftest.$ac_objext conftest$ac_exeext 4986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4987 (eval $ac_link) 2>conftest.er1 4988 ac_status=$? 4989 grep -v '^ *+' conftest.er1 >conftest.err 4990 rm -f conftest.er1 4991 cat conftest.err >&5 4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4993 (exit $ac_status); } && 4994 { ac_try='test -z "$ac_c_werror_flag" 4995 || test ! -s conftest.err' 4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4997 (eval $ac_try) 2>&5 4998 ac_status=$? 4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5000 (exit $ac_status); }; } && 5001 { ac_try='test -s conftest$ac_exeext' 5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5003 (eval $ac_try) 2>&5 5004 ac_status=$? 5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5006 (exit $ac_status); }; }; then 5007 ac_cv_search_opendir="none required" 5008 else 5009 echo "$as_me: failed program was:" >&5 5010 sed 's/^/| /' conftest.$ac_ext >&5 5011 5012 fi 5013 rm -f conftest.err conftest.$ac_objext \ 5014 conftest$ac_exeext conftest.$ac_ext 5015 if test "$ac_cv_search_opendir" = no; then 5016 for ac_lib in x; do 5017 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5018 cat >conftest.$ac_ext <<_ACEOF 5019 /* confdefs.h. */ 5020 _ACEOF 5021 cat confdefs.h >>conftest.$ac_ext 5022 cat >>conftest.$ac_ext <<_ACEOF 5023 /* end confdefs.h. */ 5024 5025 /* Override any gcc2 internal prototype to avoid an error. */ 5026 #ifdef __cplusplus 5027 extern "C" 5028 #endif 5029 /* We use char because int might match the return type of a gcc2 5030 builtin and then its argument prototype would still apply. */ 5031 char opendir (); 5032 int 5033 main () 5034 { 5035 opendir (); 5036 ; 5037 return 0; 5038 } 5039 _ACEOF 5040 rm -f conftest.$ac_objext conftest$ac_exeext 5041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5042 (eval $ac_link) 2>conftest.er1 5043 ac_status=$? 5044 grep -v '^ *+' conftest.er1 >conftest.err 5045 rm -f conftest.er1 5046 cat conftest.err >&5 5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5048 (exit $ac_status); } && 5049 { ac_try='test -z "$ac_c_werror_flag" 5050 || test ! -s conftest.err' 5051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5052 (eval $ac_try) 2>&5 5053 ac_status=$? 5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5055 (exit $ac_status); }; } && 5056 { ac_try='test -s conftest$ac_exeext' 5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5058 (eval $ac_try) 2>&5 5059 ac_status=$? 5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5061 (exit $ac_status); }; }; then 5062 ac_cv_search_opendir="-l$ac_lib" 5063 break 5064 else 5065 echo "$as_me: failed program was:" >&5 5066 sed 's/^/| /' conftest.$ac_ext >&5 5067 5068 fi 5069 rm -f conftest.err conftest.$ac_objext \ 5070 conftest$ac_exeext conftest.$ac_ext 5071 done 5072 fi 5073 LIBS=$ac_func_search_save_LIBS 5074 fi 5075 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5076 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5077 if test "$ac_cv_search_opendir" != no; then 5078 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5079 5080 fi 5081 5082 fi 5083 5084 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5085 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5526 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5527 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5528 ac_res=$ac_cv_search_opendir 5529 if test "$ac_res" != no; then 5530 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5531 5532 fi 5533 5534 fi 5535 5536 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5537 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5086 5538 if test "${ac_cv_header_stdc+set}" = set; then 5087 5539 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5107 5559 _ACEOF 5108 5560 rm -f conftest.$ac_objext 5109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5110 (eval $ac_compile) 2>conftest.er1 5561 if { (ac_try="$ac_compile" 5562 case "(($ac_try" in 5563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5564 *) ac_try_echo=$ac_try;; 5565 esac 5566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5567 (eval "$ac_compile") 2>conftest.er1 5111 5568 ac_status=$? 5112 5569 grep -v '^ *+' conftest.er1 >conftest.err … … 5114 5571 cat conftest.err >&5 5115 5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5116 (exit $ac_status); } && 5117 { ac_try='test -z "$ac_c_werror_flag" 5118 || test ! -s conftest.err' 5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5120 (eval $ac_try) 2>&5 5121 ac_status=$? 5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5123 (exit $ac_status); }; } && 5124 { ac_try='test -s conftest.$ac_objext' 5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5126 (eval $ac_try) 2>&5 5127 ac_status=$? 5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5129 (exit $ac_status); }; }; then 5573 (exit $ac_status); } && { 5574 test -z "$ac_c_werror_flag" || 5575 test ! -s conftest.err 5576 } && test -s conftest.$ac_objext; then 5130 5577 ac_cv_header_stdc=yes 5131 5578 else … … 5133 5580 sed 's/^/| /' conftest.$ac_ext >&5 5134 5581 5135 ac_cv_header_stdc=no 5136 fi 5137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5582 ac_cv_header_stdc=no 5583 fi 5584 5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5138 5586 5139 5587 if test $ac_cv_header_stdc = yes; then … … 5191 5639 /* end confdefs.h. */ 5192 5640 #include <ctype.h> 5641 #include <stdlib.h> 5193 5642 #if ((' ' & 0x0FF) == 0x020) 5194 5643 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5210 5659 if (XOR (islower (i), ISLOWER (i)) 5211 5660 || toupper (i) != TOUPPER (i)) 5212 exit(2);5213 exit (0);5661 return 2; 5662 return 0; 5214 5663 } 5215 5664 _ACEOF 5216 5665 rm -f conftest$ac_exeext 5217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5218 (eval $ac_link) 2>&5 5666 if { (ac_try="$ac_link" 5667 case "(($ac_try" in 5668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5669 *) ac_try_echo=$ac_try;; 5670 esac 5671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5672 (eval "$ac_link") 2>&5 5219 5673 ac_status=$? 5220 5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5221 5675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5223 (eval $ac_try) 2>&5 5676 { (case "(($ac_try" in 5677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5678 *) ac_try_echo=$ac_try;; 5679 esac 5680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5681 (eval "$ac_try") 2>&5 5224 5682 ac_status=$? 5225 5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5234 5692 ac_cv_header_stdc=no 5235 5693 fi 5236 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5237 fi 5238 fi 5239 fi 5240 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5241 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5695 fi 5696 5697 5698 fi 5699 fi 5700 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5701 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5242 5702 if test $ac_cv_header_stdc = yes; then 5243 5703 … … 5259 5719 do 5260 5720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5261 if eval "test \"\${$as_ac_Header+set}\" = set"; then5262 echo "$as_me:$LINENO: checking for $ac_header" >&55263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5264 if eval "test \"\${$as_ac_Header+set}\" = set"; then5721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5722 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5265 5725 echo $ECHO_N "(cached) $ECHO_C" >&6 5266 5726 fi 5267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5727 ac_res=`eval echo '${'$as_ac_Header'}'` 5728 { echo "$as_me:$LINENO: result: $ac_res" >&5 5729 echo "${ECHO_T}$ac_res" >&6; } 5269 5730 else 5270 5731 # Is the header compilable? 5271 echo "$as_me:$LINENO: checking $ac_header usability" >&55272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5732 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5273 5734 cat >conftest.$ac_ext <<_ACEOF 5274 5735 /* confdefs.h. */ … … 5281 5742 _ACEOF 5282 5743 rm -f conftest.$ac_objext 5283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5284 (eval $ac_compile) 2>conftest.er1 5744 if { (ac_try="$ac_compile" 5745 case "(($ac_try" in 5746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5747 *) ac_try_echo=$ac_try;; 5748 esac 5749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5750 (eval "$ac_compile") 2>conftest.er1 5285 5751 ac_status=$? 5286 5752 grep -v '^ *+' conftest.er1 >conftest.err … … 5288 5754 cat conftest.err >&5 5289 5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5290 (exit $ac_status); } && 5291 { ac_try='test -z "$ac_c_werror_flag" 5292 || test ! -s conftest.err' 5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5294 (eval $ac_try) 2>&5 5295 ac_status=$? 5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5297 (exit $ac_status); }; } && 5298 { ac_try='test -s conftest.$ac_objext' 5299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5300 (eval $ac_try) 2>&5 5301 ac_status=$? 5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5303 (exit $ac_status); }; }; then 5756 (exit $ac_status); } && { 5757 test -z "$ac_c_werror_flag" || 5758 test ! -s conftest.err 5759 } && test -s conftest.$ac_objext; then 5304 5760 ac_header_compiler=yes 5305 5761 else … … 5307 5763 sed 's/^/| /' conftest.$ac_ext >&5 5308 5764 5309 ac_header_compiler=no 5310 fi 5311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5313 echo "${ECHO_T}$ac_header_compiler" >&6 5765 ac_header_compiler=no 5766 fi 5767 5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5769 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5770 echo "${ECHO_T}$ac_header_compiler" >&6; } 5314 5771 5315 5772 # Is the header present? 5316 echo "$as_me:$LINENO: checking $ac_header presence" >&55317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5773 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5318 5775 cat >conftest.$ac_ext <<_ACEOF 5319 5776 /* confdefs.h. */ … … 5324 5781 #include <$ac_header> 5325 5782 _ACEOF 5326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5783 if { (ac_try="$ac_cpp conftest.$ac_ext" 5784 case "(($ac_try" in 5785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5786 *) ac_try_echo=$ac_try;; 5787 esac 5788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5328 5790 ac_status=$? 5329 5791 grep -v '^ *+' conftest.er1 >conftest.err … … 5331 5793 cat conftest.err >&5 5332 5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5333 (exit $ac_status); } >/dev/null; then 5334 if test -s conftest.err; then 5335 ac_cpp_err=$ac_c_preproc_warn_flag 5336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5337 else 5338 ac_cpp_err= 5339 fi 5340 else 5341 ac_cpp_err=yes 5342 fi 5343 if test -z "$ac_cpp_err"; then 5795 (exit $ac_status); } >/dev/null && { 5796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5797 test ! -s conftest.err 5798 }; then 5344 5799 ac_header_preproc=yes 5345 5800 else … … 5349 5804 ac_header_preproc=no 5350 5805 fi 5806 5351 5807 rm -f conftest.err conftest.$ac_ext 5352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55353 echo "${ECHO_T}$ac_header_preproc" >&6 5808 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5809 echo "${ECHO_T}$ac_header_preproc" >&6; } 5354 5810 5355 5811 # So? What about this header? … … 5375 5831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5376 5832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5377 ( 5378 cat <<\_ASBOX 5379 ## ------------------------------------------ ## 5380 ## Report this to the AC_PACKAGE_NAME lists. ## 5381 ## ------------------------------------------ ## 5382 _ASBOX 5383 ) | 5384 sed "s/^/$as_me: WARNING: /" >&2 5833 5385 5834 ;; 5386 5835 esac 5387 echo "$as_me:$LINENO: checking for $ac_header" >&55388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5389 if eval "test \"\${$as_ac_Header+set}\" = set"; then5836 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5390 5839 echo $ECHO_N "(cached) $ECHO_C" >&6 5391 5840 else 5392 5841 eval "$as_ac_Header=\$ac_header_preproc" 5393 5842 fi 5394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5843 ac_res=`eval echo '${'$as_ac_Header'}'` 5844 { echo "$as_me:$LINENO: result: $ac_res" >&5 5845 echo "${ECHO_T}$ac_res" >&6; } 5396 5846 5397 5847 fi … … 5462 5912 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5463 5913 # for constant arguments. Useless! 5464 echo "$as_me:$LINENO: checking for working alloca.h" >&55465 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 5914 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 5915 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } 5466 5916 if test "${ac_cv_working_alloca_h+set}" = set; then 5467 5917 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5478 5928 { 5479 5929 char *p = (char *) alloca (2 * sizeof (int)); 5930 if (p) return 0; 5480 5931 ; 5481 5932 return 0; … … 5483 5934 _ACEOF 5484 5935 rm -f conftest.$ac_objext conftest$ac_exeext 5485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5486 (eval $ac_link) 2>conftest.er1 5936 if { (ac_try="$ac_link" 5937 case "(($ac_try" in 5938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5939 *) ac_try_echo=$ac_try;; 5940 esac 5941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5942 (eval "$ac_link") 2>conftest.er1 5487 5943 ac_status=$? 5488 5944 grep -v '^ *+' conftest.er1 >conftest.err … … 5490 5946 cat conftest.err >&5 5491 5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5492 (exit $ac_status); } && 5493 { ac_try='test -z "$ac_c_werror_flag" 5494 || test ! -s conftest.err' 5495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5496 (eval $ac_try) 2>&5 5497 ac_status=$? 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5499 (exit $ac_status); }; } && 5500 { ac_try='test -s conftest$ac_exeext' 5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5502 (eval $ac_try) 2>&5 5503 ac_status=$? 5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 (exit $ac_status); }; }; then 5948 (exit $ac_status); } && { 5949 test -z "$ac_c_werror_flag" || 5950 test ! -s conftest.err 5951 } && test -s conftest$ac_exeext && 5952 $as_test_x conftest$ac_exeext; then 5506 5953 ac_cv_working_alloca_h=yes 5507 5954 else … … 5509 5956 sed 's/^/| /' conftest.$ac_ext >&5 5510 5957 5511 ac_cv_working_alloca_h=no 5512 fi 5513 rm -f conftest.err conftest.$ac_objext \ 5958 ac_cv_working_alloca_h=no 5959 fi 5960 5961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5514 5962 conftest$ac_exeext conftest.$ac_ext 5515 5963 fi 5516 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55517 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5964 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5965 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } 5518 5966 if test $ac_cv_working_alloca_h = yes; then 5519 5967 … … 5524 5972 fi 5525 5973 5526 echo "$as_me:$LINENO: checking for alloca" >&55527 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5974 { echo "$as_me:$LINENO: checking for alloca" >&5 5975 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } 5528 5976 if test "${ac_cv_func_alloca_works+set}" = set; then 5529 5977 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5542 5990 # define alloca _alloca 5543 5991 # else 5544 # if HAVE_ALLOCA_H5992 # ifdef HAVE_ALLOCA_H 5545 5993 # include <alloca.h> 5546 5994 # else … … 5560 6008 { 5561 6009 char *p = (char *) alloca (1); 6010 if (p) return 0; 5562 6011 ; 5563 6012 return 0; … … 5565 6014 _ACEOF 5566 6015 rm -f conftest.$ac_objext conftest$ac_exeext 5567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5568 (eval $ac_link) 2>conftest.er1 6016 if { (ac_try="$ac_link" 6017 case "(($ac_try" in 6018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6019 *) ac_try_echo=$ac_try;; 6020 esac 6021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6022 (eval "$ac_link") 2>conftest.er1 5569 6023 ac_status=$? 5570 6024 grep -v '^ *+' conftest.er1 >conftest.err … … 5572 6026 cat conftest.err >&5 5573 6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5574 (exit $ac_status); } && 5575 { ac_try='test -z "$ac_c_werror_flag" 5576 || test ! -s conftest.err' 5577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5578 (eval $ac_try) 2>&5 5579 ac_status=$? 5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5581 (exit $ac_status); }; } && 5582 { ac_try='test -s conftest$ac_exeext' 5583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5584 (eval $ac_try) 2>&5 5585 ac_status=$? 5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5587 (exit $ac_status); }; }; then 6028 (exit $ac_status); } && { 6029 test -z "$ac_c_werror_flag" || 6030 test ! -s conftest.err 6031 } && test -s conftest$ac_exeext && 6032 $as_test_x conftest$ac_exeext; then 5588 6033 ac_cv_func_alloca_works=yes 5589 6034 else … … 5591 6036 sed 's/^/| /' conftest.$ac_ext >&5 5592 6037 5593 ac_cv_func_alloca_works=no 5594 fi 5595 rm -f conftest.err conftest.$ac_objext \ 6038 ac_cv_func_alloca_works=no 6039 fi 6040 6041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5596 6042 conftest$ac_exeext conftest.$ac_ext 5597 6043 fi 5598 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55599 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6044 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6045 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } 5600 6046 5601 6047 if test $ac_cv_func_alloca_works = yes; then … … 5611 6057 # use ar to extract alloca.o from them instead of compiling alloca.c. 5612 6058 5613 ALLOCA= alloca.$ac_objext6059 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5614 6060 5615 6061 cat >>confdefs.h <<\_ACEOF … … 5618 6064 5619 6065 5620 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&55621 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6066 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6067 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } 5622 6068 if test "${ac_cv_os_cray+set}" = set; then 5623 6069 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5629 6075 cat >>conftest.$ac_ext <<_ACEOF 5630 6076 /* end confdefs.h. */ 5631 #if defined (CRAY) && ! defined(CRAY2)6077 #if defined CRAY && ! defined CRAY2 5632 6078 webecray 5633 6079 #else … … 5645 6091 5646 6092 fi 5647 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55648 echo "${ECHO_T}$ac_cv_os_cray" >&6 6093 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6094 echo "${ECHO_T}$ac_cv_os_cray" >&6; } 5649 6095 if test $ac_cv_os_cray = yes; then 5650 6096 for ac_func in _getb67 GETB67 getb67; do 5651 6097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5652 echo "$as_me:$LINENO: checking for $ac_func" >&55653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5654 if eval "test \"\${$as_ac_var+set}\" = set"; then6098 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6100 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5655 6101 echo $ECHO_N "(cached) $ECHO_C" >&6 5656 6102 else … … 5678 6124 #undef $ac_func 5679 6125 5680 /* Override any gcc2 internal prototype to avoid an error. */ 6126 /* Override any GCC internal prototype to avoid an error. 6127 Use char because int might match the return type of a GCC 6128 builtin and then its argument prototype would still apply. */ 5681 6129 #ifdef __cplusplus 5682 6130 extern "C" 5683 {5684 6131 #endif 5685 /* We use char because int might match the return type of a gcc25686 builtin and then its argument prototype would still apply. */5687 6132 char $ac_func (); 5688 6133 /* The GNU C library defines this for functions which it implements 5689 6134 to always fail with ENOSYS. Some functions are actually named 5690 6135 something starting with __ and the normal name is an alias. */ 5691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6136 #if defined __stub_$ac_func || defined __stub___$ac_func 5692 6137 choke me 5693 #else5694 char (*f) () = $ac_func;5695 #endif5696 #ifdef __cplusplus5697 }5698 6138 #endif 5699 6139 … … 5701 6141 main () 5702 6142 { 5703 return f != $ac_func;6143 return $ac_func (); 5704 6144 ; 5705 6145 return 0; … … 5707 6147 _ACEOF 5708 6148 rm -f conftest.$ac_objext conftest$ac_exeext 5709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5710 (eval $ac_link) 2>conftest.er1 6149 if { (ac_try="$ac_link" 6150 case "(($ac_try" in 6151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6152 *) ac_try_echo=$ac_try;; 6153 esac 6154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6155 (eval "$ac_link") 2>conftest.er1 5711 6156 ac_status=$? 5712 6157 grep -v '^ *+' conftest.er1 >conftest.err … … 5714 6159 cat conftest.err >&5 5715 6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5716 (exit $ac_status); } && 5717 { ac_try='test -z "$ac_c_werror_flag" 5718 || test ! -s conftest.err' 5719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5720 (eval $ac_try) 2>&5 5721 ac_status=$? 5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5723 (exit $ac_status); }; } && 5724 { ac_try='test -s conftest$ac_exeext' 5725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5726 (eval $ac_try) 2>&5 5727 ac_status=$? 5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5729 (exit $ac_status); }; }; then 6161 (exit $ac_status); } && { 6162 test -z "$ac_c_werror_flag" || 6163 test ! -s conftest.err 6164 } && test -s conftest$ac_exeext && 6165 $as_test_x conftest$ac_exeext; then 5730 6166 eval "$as_ac_var=yes" 5731 6167 else … … 5733 6169 sed 's/^/| /' conftest.$ac_ext >&5 5734 6170 5735 eval "$as_ac_var=no" 5736 fi 5737 rm -f conftest.err conftest.$ac_objext \ 6171 eval "$as_ac_var=no" 6172 fi 6173 6174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5738 6175 conftest$ac_exeext conftest.$ac_ext 5739 6176 fi 5740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6177 ac_res=`eval echo '${'$as_ac_var'}'` 6178 { echo "$as_me:$LINENO: result: $ac_res" >&5 6179 echo "${ECHO_T}$ac_res" >&6; } 5742 6180 if test `eval echo '${'$as_ac_var'}'` = yes; then 5743 6181 … … 5752 6190 fi 5753 6191 5754 echo "$as_me:$LINENO: checking stack direction for C alloca" >&55755 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6192 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6193 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } 5756 6194 if test "${ac_cv_c_stack_direction+set}" = set; then 5757 6195 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5766 6204 cat >>conftest.$ac_ext <<_ACEOF 5767 6205 /* end confdefs.h. */ 6206 $ac_includes_default 5768 6207 int 5769 6208 find_stack_direction () … … 5783 6222 main () 5784 6223 { 5785 exit (find_stack_direction () < 0);6224 return find_stack_direction () < 0; 5786 6225 } 5787 6226 _ACEOF 5788 6227 rm -f conftest$ac_exeext 5789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5790 (eval $ac_link) 2>&5 6228 if { (ac_try="$ac_link" 6229 case "(($ac_try" in 6230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6231 *) ac_try_echo=$ac_try;; 6232 esac 6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6234 (eval "$ac_link") 2>&5 5791 6235 ac_status=$? 5792 6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5793 6237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5795 (eval $ac_try) 2>&5 6238 { (case "(($ac_try" in 6239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6240 *) ac_try_echo=$ac_try;; 6241 esac 6242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6243 (eval "$ac_try") 2>&5 5796 6244 ac_status=$? 5797 6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5806 6254 ac_cv_c_stack_direction=-1 5807 6255 fi 5808 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5809 fi 5810 fi 5811 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5812 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6257 fi 6258 6259 6260 fi 6261 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6262 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } 5813 6263 5814 6264 cat >>confdefs.h <<_ACEOF … … 5820 6270 5821 6271 if test $ac_cv_c_compiler_gnu = yes; then 5822 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55823 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6272 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6273 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } 5824 6274 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5825 6275 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5862 6312 fi 5863 6313 fi 5864 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&55865 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6314 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6315 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } 5866 6316 if test $ac_cv_prog_gcc_traditional = yes; then 5867 6317 CC="$CC -traditional" … … 5869 6319 fi 5870 6320 5871 echo "$as_me:$LINENO: checking return type of signal handlers" >&55872 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6321 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6322 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 5873 6323 if test "${ac_cv_type_signal+set}" = set; then 5874 6324 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5882 6332 #include <sys/types.h> 5883 6333 #include <signal.h> 5884 #ifdef signal5885 # undef signal5886 #endif5887 #ifdef __cplusplus5888 extern "C" void (*signal (int, void (*)(int)))(int);5889 #else5890 void (*signal ()) ();5891 #endif5892 6334 5893 6335 int 5894 6336 main () 5895 6337 { 5896 int i;6338 return *(signal (0, 0)) (0) == 1; 5897 6339 ; 5898 6340 return 0; … … 5900 6342 _ACEOF 5901 6343 rm -f conftest.$ac_objext 5902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5903 (eval $ac_compile) 2>conftest.er1 6344 if { (ac_try="$ac_compile" 6345 case "(($ac_try" in 6346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6347 *) ac_try_echo=$ac_try;; 6348 esac 6349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6350 (eval "$ac_compile") 2>conftest.er1 5904 6351 ac_status=$? 5905 6352 grep -v '^ *+' conftest.er1 >conftest.err … … 5907 6354 cat conftest.err >&5 5908 6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5909 (exit $ac_status); } && 5910 { ac_try='test -z "$ac_c_werror_flag" 5911 || test ! -s conftest.err' 5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5913 (eval $ac_try) 2>&5 5914 ac_status=$? 5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5916 (exit $ac_status); }; } && 5917 { ac_try='test -s conftest.$ac_objext' 5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5919 (eval $ac_try) 2>&5 5920 ac_status=$? 5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5922 (exit $ac_status); }; }; then 5923 ac_cv_type_signal=void 6356 (exit $ac_status); } && { 6357 test -z "$ac_c_werror_flag" || 6358 test ! -s conftest.err 6359 } && test -s conftest.$ac_objext; then 6360 ac_cv_type_signal=int 5924 6361 else 5925 6362 echo "$as_me: failed program was:" >&5 5926 6363 sed 's/^/| /' conftest.$ac_ext >&5 5927 6364 5928 ac_cv_type_signal=int 5929 fi 5930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5931 fi 5932 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5933 echo "${ECHO_T}$ac_cv_type_signal" >&6 6365 ac_cv_type_signal=void 6366 fi 6367 6368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6369 fi 6370 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6371 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 5934 6372 5935 6373 cat >>confdefs.h <<_ACEOF … … 5942 6380 do 5943 6381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5944 echo "$as_me:$LINENO: checking for $ac_func" >&55945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5946 if eval "test \"\${$as_ac_var+set}\" = set"; then6382 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5947 6385 echo $ECHO_N "(cached) $ECHO_C" >&6 5948 6386 else … … 5970 6408 #undef $ac_func 5971 6409 5972 /* Override any gcc2 internal prototype to avoid an error. */ 6410 /* Override any GCC internal prototype to avoid an error. 6411 Use char because int might match the return type of a GCC 6412 builtin and then its argument prototype would still apply. */ 5973 6413 #ifdef __cplusplus 5974 6414 extern "C" 5975 {5976 6415 #endif 5977 /* We use char because int might match the return type of a gcc25978 builtin and then its argument prototype would still apply. */5979 6416 char $ac_func (); 5980 6417 /* The GNU C library defines this for functions which it implements 5981 6418 to always fail with ENOSYS. Some functions are actually named 5982 6419 something starting with __ and the normal name is an alias. */ 5983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6420 #if defined __stub_$ac_func || defined __stub___$ac_func 5984 6421 choke me 5985 #else5986 char (*f) () = $ac_func;5987 #endif5988 #ifdef __cplusplus5989 }5990 6422 #endif 5991 6423 … … 5993 6425 main () 5994 6426 { 5995 return f != $ac_func;6427 return $ac_func (); 5996 6428 ; 5997 6429 return 0; … … 5999 6431 _ACEOF 6000 6432 rm -f conftest.$ac_objext conftest$ac_exeext 6001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6002 (eval $ac_link) 2>conftest.er1 6433 if { (ac_try="$ac_link" 6434 case "(($ac_try" in 6435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6436 *) ac_try_echo=$ac_try;; 6437 esac 6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6439 (eval "$ac_link") 2>conftest.er1 6003 6440 ac_status=$? 6004 6441 grep -v '^ *+' conftest.er1 >conftest.err … … 6006 6443 cat conftest.err >&5 6007 6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6008 (exit $ac_status); } && 6009 { ac_try='test -z "$ac_c_werror_flag" 6010 || test ! -s conftest.err' 6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6012 (eval $ac_try) 2>&5 6013 ac_status=$? 6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6015 (exit $ac_status); }; } && 6016 { ac_try='test -s conftest$ac_exeext' 6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6018 (eval $ac_try) 2>&5 6019 ac_status=$? 6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6021 (exit $ac_status); }; }; then 6445 (exit $ac_status); } && { 6446 test -z "$ac_c_werror_flag" || 6447 test ! -s conftest.err 6448 } && test -s conftest$ac_exeext && 6449 $as_test_x conftest$ac_exeext; then 6022 6450 eval "$as_ac_var=yes" 6023 6451 else … … 6025 6453 sed 's/^/| /' conftest.$ac_ext >&5 6026 6454 6027 eval "$as_ac_var=no" 6028 fi 6029 rm -f conftest.err conftest.$ac_objext \ 6455 eval "$as_ac_var=no" 6456 fi 6457 6458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6030 6459 conftest$ac_exeext conftest.$ac_ext 6031 6460 fi 6032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6461 ac_res=`eval echo '${'$as_ac_var'}'` 6462 { echo "$as_me:$LINENO: result: $ac_res" >&5 6463 echo "${ECHO_T}$ac_res" >&6; } 6034 6464 if test `eval echo '${'$as_ac_var'}'` = yes; then 6035 6465 cat >>confdefs.h <<_ACEOF … … 6037 6467 _ACEOF 6038 6468 6039 echo "$as_me:$LINENO: checking for _doprnt" >&56040 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6469 { echo "$as_me:$LINENO: checking for _doprnt" >&5 6470 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 6041 6471 if test "${ac_cv_func__doprnt+set}" = set; then 6042 6472 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6065 6495 #undef _doprnt 6066 6496 6067 /* Override any gcc2 internal prototype to avoid an error. */ 6497 /* Override any GCC internal prototype to avoid an error. 6498 Use char because int might match the return type of a GCC 6499 builtin and then its argument prototype would still apply. */ 6068 6500 #ifdef __cplusplus 6069 6501 extern "C" 6070 {6071 6502 #endif 6072 /* We use char because int might match the return type of a gcc26073 builtin and then its argument prototype would still apply. */6074 6503 char _doprnt (); 6075 6504 /* The GNU C library defines this for functions which it implements 6076 6505 to always fail with ENOSYS. Some functions are actually named 6077 6506 something starting with __ and the normal name is an alias. */ 6078 #if defined (__stub__doprnt) || defined (__stub____doprnt)6507 #if defined __stub__doprnt || defined __stub____doprnt 6079 6508 choke me 6080 #else6081 char (*f) () = _doprnt;6082 #endif6083 #ifdef __cplusplus6084 }6085 6509 #endif 6086 6510 … … 6088 6512 main () 6089 6513 { 6090 return f != _doprnt;6514 return _doprnt (); 6091 6515 ; 6092 6516 return 0; … … 6094 6518 _ACEOF 6095 6519 rm -f conftest.$ac_objext conftest$ac_exeext 6096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6097 (eval $ac_link) 2>conftest.er1 6520 if { (ac_try="$ac_link" 6521 case "(($ac_try" in 6522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6523 *) ac_try_echo=$ac_try;; 6524 esac 6525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6526 (eval "$ac_link") 2>conftest.er1 6098 6527 ac_status=$? 6099 6528 grep -v '^ *+' conftest.er1 >conftest.err … … 6101 6530 cat conftest.err >&5 6102 6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6103 (exit $ac_status); } && 6104 { ac_try='test -z "$ac_c_werror_flag" 6105 || test ! -s conftest.err' 6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6107 (eval $ac_try) 2>&5 6108 ac_status=$? 6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6110 (exit $ac_status); }; } && 6111 { ac_try='test -s conftest$ac_exeext' 6112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6113 (eval $ac_try) 2>&5 6114 ac_status=$? 6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6116 (exit $ac_status); }; }; then 6532 (exit $ac_status); } && { 6533 test -z "$ac_c_werror_flag" || 6534 test ! -s conftest.err 6535 } && test -s conftest$ac_exeext && 6536 $as_test_x conftest$ac_exeext; then 6117 6537 ac_cv_func__doprnt=yes 6118 6538 else … … 6120 6540 sed 's/^/| /' conftest.$ac_ext >&5 6121 6541 6122 ac_cv_func__doprnt=no 6123 fi 6124 rm -f conftest.err conftest.$ac_objext \ 6542 ac_cv_func__doprnt=no 6543 fi 6544 6545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6125 6546 conftest$ac_exeext conftest.$ac_ext 6126 6547 fi 6127 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56128 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6548 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6549 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 6129 6550 if test $ac_cv_func__doprnt = yes; then 6130 6551 … … 6152 6573 do 6153 6574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6154 echo "$as_me:$LINENO: checking for $ac_func" >&56155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6156 if eval "test \"\${$as_ac_var+set}\" = set"; then6575 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6157 6578 echo $ECHO_N "(cached) $ECHO_C" >&6 6158 6579 else … … 6180 6601 #undef $ac_func 6181 6602 6182 /* Override any gcc2 internal prototype to avoid an error. */ 6603 /* Override any GCC internal prototype to avoid an error. 6604 Use char because int might match the return type of a GCC 6605 builtin and then its argument prototype would still apply. */ 6183 6606 #ifdef __cplusplus 6184 6607 extern "C" 6185 {6186 6608 #endif 6187 /* We use char because int might match the return type of a gcc26188 builtin and then its argument prototype would still apply. */6189 6609 char $ac_func (); 6190 6610 /* The GNU C library defines this for functions which it implements 6191 6611 to always fail with ENOSYS. Some functions are actually named 6192 6612 something starting with __ and the normal name is an alias. */ 6193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6613 #if defined __stub_$ac_func || defined __stub___$ac_func 6194 6614 choke me 6195 #else6196 char (*f) () = $ac_func;6197 #endif6198 #ifdef __cplusplus6199 }6200 6615 #endif 6201 6616 … … 6203 6618 main () 6204 6619 { 6205 return f != $ac_func;6620 return $ac_func (); 6206 6621 ; 6207 6622 return 0; … … 6209 6624 _ACEOF 6210 6625 rm -f conftest.$ac_objext conftest$ac_exeext 6211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6212 (eval $ac_link) 2>conftest.er1 6626 if { (ac_try="$ac_link" 6627 case "(($ac_try" in 6628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6629 *) ac_try_echo=$ac_try;; 6630 esac 6631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6632 (eval "$ac_link") 2>conftest.er1 6213 6633 ac_status=$? 6214 6634 grep -v '^ *+' conftest.er1 >conftest.err … … 6216 6636 cat conftest.err >&5 6217 6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6218 (exit $ac_status); } && 6219 { ac_try='test -z "$ac_c_werror_flag" 6220 || test ! -s conftest.err' 6221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6222 (eval $ac_try) 2>&5 6223 ac_status=$? 6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6225 (exit $ac_status); }; } && 6226 { ac_try='test -s conftest$ac_exeext' 6227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6228 (eval $ac_try) 2>&5 6229 ac_status=$? 6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6231 (exit $ac_status); }; }; then 6638 (exit $ac_status); } && { 6639 test -z "$ac_c_werror_flag" || 6640 test ! -s conftest.err 6641 } && test -s conftest$ac_exeext && 6642 $as_test_x conftest$ac_exeext; then 6232 6643 eval "$as_ac_var=yes" 6233 6644 else … … 6235 6646 sed 's/^/| /' conftest.$ac_ext >&5 6236 6647 6237 eval "$as_ac_var=no" 6238 fi 6239 rm -f conftest.err conftest.$ac_objext \ 6648 eval "$as_ac_var=no" 6649 fi 6650 6651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6240 6652 conftest$ac_exeext conftest.$ac_ext 6241 6653 fi 6242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6654 ac_res=`eval echo '${'$as_ac_var'}'` 6655 { echo "$as_me:$LINENO: result: $ac_res" >&5 6656 echo "${ECHO_T}$ac_res" >&6; } 6244 6657 if test `eval echo '${'$as_ac_var'}'` = yes; then 6245 6658 cat >>confdefs.h <<_ACEOF … … 6256 6669 do 6257 6670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6258 echo "$as_me:$LINENO: checking for $ac_func" >&56259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6260 if eval "test \"\${$as_ac_var+set}\" = set"; then6671 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6261 6674 echo $ECHO_N "(cached) $ECHO_C" >&6 6262 6675 else … … 6284 6697 #undef $ac_func 6285 6698 6286 /* Override any gcc2 internal prototype to avoid an error. */ 6699 /* Override any GCC internal prototype to avoid an error. 6700 Use char because int might match the return type of a GCC 6701 builtin and then its argument prototype would still apply. */ 6287 6702 #ifdef __cplusplus 6288 6703 extern "C" 6289 {6290 6704 #endif 6291 /* We use char because int might match the return type of a gcc26292 builtin and then its argument prototype would still apply. */6293 6705 char $ac_func (); 6294 6706 /* The GNU C library defines this for functions which it implements 6295 6707 to always fail with ENOSYS. Some functions are actually named 6296 6708 something starting with __ and the normal name is an alias. */ 6297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6709 #if defined __stub_$ac_func || defined __stub___$ac_func 6298 6710 choke me 6299 #else6300 char (*f) () = $ac_func;6301 #endif6302 #ifdef __cplusplus6303 }6304 6711 #endif 6305 6712 … … 6307 6714 main () 6308 6715 { 6309 return f != $ac_func;6716 return $ac_func (); 6310 6717 ; 6311 6718 return 0; … … 6313 6720 _ACEOF 6314 6721 rm -f conftest.$ac_objext conftest$ac_exeext 6315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6316 (eval $ac_link) 2>conftest.er1 6722 if { (ac_try="$ac_link" 6723 case "(($ac_try" in 6724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6725 *) ac_try_echo=$ac_try;; 6726 esac 6727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6728 (eval "$ac_link") 2>conftest.er1 6317 6729 ac_status=$? 6318 6730 grep -v '^ *+' conftest.er1 >conftest.err … … 6320 6732 cat conftest.err >&5 6321 6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6322 (exit $ac_status); } && 6323 { ac_try='test -z "$ac_c_werror_flag" 6324 || test ! -s conftest.err' 6325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6326 (eval $ac_try) 2>&5 6327 ac_status=$? 6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6329 (exit $ac_status); }; } && 6330 { ac_try='test -s conftest$ac_exeext' 6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6332 (eval $ac_try) 2>&5 6333 ac_status=$? 6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6335 (exit $ac_status); }; }; then 6734 (exit $ac_status); } && { 6735 test -z "$ac_c_werror_flag" || 6736 test ! -s conftest.err 6737 } && test -s conftest$ac_exeext && 6738 $as_test_x conftest$ac_exeext; then 6336 6739 eval "$as_ac_var=yes" 6337 6740 else … … 6339 6742 sed 's/^/| /' conftest.$ac_ext >&5 6340 6743 6341 eval "$as_ac_var=no" 6342 fi 6343 rm -f conftest.err conftest.$ac_objext \ 6744 eval "$as_ac_var=no" 6745 fi 6746 6747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6344 6748 conftest$ac_exeext conftest.$ac_ext 6345 6749 fi 6346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6750 ac_res=`eval echo '${'$as_ac_var'}'` 6751 { echo "$as_me:$LINENO: result: $ac_res" >&5 6752 echo "${ECHO_T}$ac_res" >&6; } 6348 6753 if test `eval echo '${'$as_ac_var'}'` = yes; then 6349 6754 cat >>confdefs.h <<_ACEOF … … 6352 6757 6353 6758 else 6354 case $LIBOBJS in 6355 "$ac_func.$ac_objext" | \ 6356 *" $ac_func.$ac_objext" | \ 6357 "$ac_func.$ac_objext "* | \ 6759 case " $LIBOBJS " in 6358 6760 *" $ac_func.$ac_objext "* ) ;; 6359 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6761 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6762 ;; 6360 6763 esac 6361 6764 … … 6366 6769 6367 6770 6368 echo "$as_me:$LINENO: checking for textdomain" >&56369 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6771 { echo "$as_me:$LINENO: checking for textdomain" >&5 6772 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; } 6370 6773 if test "${ac_cv_func_textdomain+set}" = set; then 6371 6774 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6394 6797 #undef textdomain 6395 6798 6396 /* Override any gcc2 internal prototype to avoid an error. */ 6799 /* Override any GCC internal prototype to avoid an error. 6800 Use char because int might match the return type of a GCC 6801 builtin and then its argument prototype would still apply. */ 6397 6802 #ifdef __cplusplus 6398 6803 extern "C" 6399 {6400 6804 #endif 6401 /* We use char because int might match the return type of a gcc26402 builtin and then its argument prototype would still apply. */6403 6805 char textdomain (); 6404 6806 /* The GNU C library defines this for functions which it implements 6405 6807 to always fail with ENOSYS. Some functions are actually named 6406 6808 something starting with __ and the normal name is an alias. */ 6407 #if defined (__stub_textdomain) || defined (__stub___textdomain)6809 #if defined __stub_textdomain || defined __stub___textdomain 6408 6810 choke me 6409 #else6410 char (*f) () = textdomain;6411 #endif6412 #ifdef __cplusplus6413 }6414 6811 #endif 6415 6812 … … 6417 6814 main () 6418 6815 { 6419 return f != textdomain;6816 return textdomain (); 6420 6817 ; 6421 6818 return 0; … … 6423 6820 _ACEOF 6424 6821 rm -f conftest.$ac_objext conftest$ac_exeext 6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6426 (eval $ac_link) 2>conftest.er1 6822 if { (ac_try="$ac_link" 6823 case "(($ac_try" in 6824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6825 *) ac_try_echo=$ac_try;; 6826 esac 6827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6828 (eval "$ac_link") 2>conftest.er1 6427 6829 ac_status=$? 6428 6830 grep -v '^ *+' conftest.er1 >conftest.err … … 6430 6832 cat conftest.err >&5 6431 6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6432 (exit $ac_status); } && 6433 { ac_try='test -z "$ac_c_werror_flag" 6434 || test ! -s conftest.err' 6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6436 (eval $ac_try) 2>&5 6437 ac_status=$? 6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6439 (exit $ac_status); }; } && 6440 { ac_try='test -s conftest$ac_exeext' 6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6442 (eval $ac_try) 2>&5 6443 ac_status=$? 6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6445 (exit $ac_status); }; }; then 6834 (exit $ac_status); } && { 6835 test -z "$ac_c_werror_flag" || 6836 test ! -s conftest.err 6837 } && test -s conftest$ac_exeext && 6838 $as_test_x conftest$ac_exeext; then 6446 6839 ac_cv_func_textdomain=yes 6447 6840 else … … 6449 6842 sed 's/^/| /' conftest.$ac_ext >&5 6450 6843 6451 ac_cv_func_textdomain=no 6452 fi 6453 rm -f conftest.err conftest.$ac_objext \ 6844 ac_cv_func_textdomain=no 6845 fi 6846 6847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6454 6848 conftest$ac_exeext conftest.$ac_ext 6455 6849 fi 6456 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56457 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6850 { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 6851 echo "${ECHO_T}$ac_cv_func_textdomain" >&6; } 6458 6852 if test $ac_cv_func_textdomain = yes; then 6459 6853 cat >>confdefs.h <<\_ACEOF … … 6467 6861 # a non-standard Path 6468 6862 # is there a better way to do this?? 6469 echo "$as_me:$LINENO: checking for OS to set JNI options" >&56470 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6 6863 { echo "$as_me:$LINENO: checking for OS to set JNI options" >&5 6864 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6; } 6471 6865 # set defaults 6472 6866 JNIINC="" … … 6475 6869 6476 6870 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6477 echo "$as_me:$LINENO: result: Darwin" >&56478 echo "${ECHO_T}Darwin" >&6 6871 { echo "$as_me:$LINENO: result: Darwin" >&5 6872 echo "${ECHO_T}Darwin" >&6; } 6479 6873 JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ " 6480 6874 JNISUFFIX="jnilib" … … 6482 6876 fi 6483 6877 if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then 6484 echo "$as_me:$LINENO: result: Solaris" >&56485 echo "${ECHO_T}Solaris" >&6 6878 { echo "$as_me:$LINENO: result: Solaris" >&5 6879 echo "${ECHO_T}Solaris" >&6; } 6486 6880 JNIINC="-I\$(JAVA_HOME)/include/solaris " 6487 6881 fi 6488 6882 if test "`(uname -s) 2> /dev/null`" = 'Linux'; then 6489 echo "$as_me:$LINENO: result: Linux" >&56490 echo "${ECHO_T}Linux" >&6 6883 { echo "$as_me:$LINENO: result: Linux" >&5 6884 echo "${ECHO_T}Linux" >&6; } 6491 6885 JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include " 6492 6886 fi … … 6498 6892 # *** Custom checking (based on GNU tar configure.in) *** 6499 6893 # --------------------------------------------------------------------------- 6500 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56501 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 6894 { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 6895 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; } 6502 6896 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6503 echo "$as_me:$LINENO: result: yes" >&5 6504 echo "${ECHO_T}yes" >&6 6505 case $LIBOBJS in 6506 "gmalloc.$ac_objext" | \ 6507 *" gmalloc.$ac_objext" | \ 6508 "gmalloc.$ac_objext "* | \ 6897 { echo "$as_me:$LINENO: result: yes" >&5 6898 echo "${ECHO_T}yes" >&6; } 6899 case " $LIBOBJS " in 6509 6900 *" gmalloc.$ac_objext "* ) ;; 6510 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6901 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6902 ;; 6511 6903 esac 6512 6904 … … 6516 6908 6517 6909 else 6518 echo "$as_me:$LINENO: result: no" >&56519 echo "${ECHO_T}no" >&6 6910 { echo "$as_me:$LINENO: result: no" >&5 6911 echo "${ECHO_T}no" >&6; } 6520 6912 6521 6913 for ac_func in valloc 6522 6914 do 6523 6915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6524 echo "$as_me:$LINENO: checking for $ac_func" >&56525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6526 if eval "test \"\${$as_ac_var+set}\" = set"; then6916 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6527 6919 echo $ECHO_N "(cached) $ECHO_C" >&6 6528 6920 else … … 6550 6942 #undef $ac_func 6551 6943 6552 /* Override any gcc2 internal prototype to avoid an error. */ 6944 /* Override any GCC internal prototype to avoid an error. 6945 Use char because int might match the return type of a GCC 6946 builtin and then its argument prototype would still apply. */ 6553 6947 #ifdef __cplusplus 6554 6948 extern "C" 6555 {6556 6949 #endif 6557 /* We use char because int might match the return type of a gcc26558 builtin and then its argument prototype would still apply. */6559 6950 char $ac_func (); 6560 6951 /* The GNU C library defines this for functions which it implements 6561 6952 to always fail with ENOSYS. Some functions are actually named 6562 6953 something starting with __ and the normal name is an alias. */ 6563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6954 #if defined __stub_$ac_func || defined __stub___$ac_func 6564 6955 choke me 6565 #else6566 char (*f) () = $ac_func;6567 #endif6568 #ifdef __cplusplus6569 }6570 6956 #endif 6571 6957 … … 6573 6959 main () 6574 6960 { 6575 return f != $ac_func;6961 return $ac_func (); 6576 6962 ; 6577 6963 return 0; … … 6579 6965 _ACEOF 6580 6966 rm -f conftest.$ac_objext conftest$ac_exeext 6581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6582 (eval $ac_link) 2>conftest.er1 6967 if { (ac_try="$ac_link" 6968 case "(($ac_try" in 6969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6970 *) ac_try_echo=$ac_try;; 6971 esac 6972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6973 (eval "$ac_link") 2>conftest.er1 6583 6974 ac_status=$? 6584 6975 grep -v '^ *+' conftest.er1 >conftest.err … … 6586 6977 cat conftest.err >&5 6587 6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6588 (exit $ac_status); } && 6589 { ac_try='test -z "$ac_c_werror_flag" 6590 || test ! -s conftest.err' 6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6592 (eval $ac_try) 2>&5 6593 ac_status=$? 6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6595 (exit $ac_status); }; } && 6596 { ac_try='test -s conftest$ac_exeext' 6597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6598 (eval $ac_try) 2>&5 6599 ac_status=$? 6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6601 (exit $ac_status); }; }; then 6979 (exit $ac_status); } && { 6980 test -z "$ac_c_werror_flag" || 6981 test ! -s conftest.err 6982 } && test -s conftest$ac_exeext && 6983 $as_test_x conftest$ac_exeext; then 6602 6984 eval "$as_ac_var=yes" 6603 6985 else … … 6605 6987 sed 's/^/| /' conftest.$ac_ext >&5 6606 6988 6607 eval "$as_ac_var=no" 6608 fi 6609 rm -f conftest.err conftest.$ac_objext \ 6989 eval "$as_ac_var=no" 6990 fi 6991 6992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6610 6993 conftest$ac_exeext conftest.$ac_ext 6611 6994 fi 6612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6995 ac_res=`eval echo '${'$as_ac_var'}'` 6996 { echo "$as_me:$LINENO: result: $ac_res" >&5 6997 echo "${ECHO_T}$ac_res" >&6; } 6614 6998 if test `eval echo '${'$as_ac_var'}'` = yes; then 6615 6999 cat >>confdefs.h <<_ACEOF … … 6622 7006 fi 6623 7007 6624 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56625 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6626 6627 # Check whether --with-dmalloc or --without-dmallocwas given.7008 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 7009 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; } 7010 7011 # Check whether --with-dmalloc was given. 6628 7012 if test "${with_dmalloc+set}" = set; then 6629 withval="$with_dmalloc" 6630 if test "$withval" = yes; then 6631 echo "$as_me:$LINENO: result: yes" >&5 6632 echo "${ECHO_T}yes" >&6 7013 withval=$with_dmalloc; if test "$withval" = yes; then 7014 { echo "$as_me:$LINENO: result: yes" >&5 7015 echo "${ECHO_T}yes" >&6; } 6633 7016 cat >>confdefs.h <<\_ACEOF 6634 7017 #define WITH_DMALLOC 1 … … 6638 7021 LDFLAGS="$LDFLAGS -g" 6639 7022 else 6640 echo "$as_me:$LINENO: result: no" >&5 6641 echo "${ECHO_T}no" >&6 6642 fi 6643 else 6644 echo "$as_me:$LINENO: result: no" >&5 6645 echo "${ECHO_T}no" >&6 6646 fi; 6647 6648 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6649 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6650 6651 # Check whether --with-regex or --without-regex was given. 7023 { echo "$as_me:$LINENO: result: no" >&5 7024 echo "${ECHO_T}no" >&6; } 7025 fi 7026 else 7027 { echo "$as_me:$LINENO: result: no" >&5 7028 echo "${ECHO_T}no" >&6; } 7029 fi 7030 7031 7032 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7033 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; } 7034 7035 # Check whether --with-regex was given. 6652 7036 if test "${with_regex+set}" = set; then 6653 withval="$with_regex" 6654 if test "$withval" = yes; then 7037 withval=$with_regex; if test "$withval" = yes; then 6655 7038 ac_with_regex=1 6656 echo "$as_me:$LINENO: result: regex" >&56657 echo "${ECHO_T}regex" >&6 7039 { echo "$as_me:$LINENO: result: regex" >&5 7040 echo "${ECHO_T}regex" >&6; } 6658 7041 cat >>confdefs.h <<\_ACEOF 6659 7042 #define WITH_REGEX 1 6660 7043 _ACEOF 6661 7044 6662 case $LIBOBJS in 6663 "regex.$ac_objext" | \ 6664 *" regex.$ac_objext" | \ 6665 "regex.$ac_objext "* | \ 7045 case " $LIBOBJS " in 6666 7046 *" regex.$ac_objext "* ) ;; 6667 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6668 esac 6669 6670 fi 6671 fi; 7047 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7048 ;; 7049 esac 7050 7051 fi 7052 fi 7053 6672 7054 if test -z "$ac_with_regex"; then 6673 echo "$as_me:$LINENO: result: rx" >&56674 echo "${ECHO_T}rx" >&6 6675 echo "$as_me:$LINENO: checking for re_rx_search" >&56676 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7055 { echo "$as_me:$LINENO: result: rx" >&5 7056 echo "${ECHO_T}rx" >&6; } 7057 { echo "$as_me:$LINENO: checking for re_rx_search" >&5 7058 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; } 6677 7059 if test "${ac_cv_func_re_rx_search+set}" = set; then 6678 7060 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6701 7083 #undef re_rx_search 6702 7084 6703 /* Override any gcc2 internal prototype to avoid an error. */ 7085 /* Override any GCC internal prototype to avoid an error. 7086 Use char because int might match the return type of a GCC 7087 builtin and then its argument prototype would still apply. */ 6704 7088 #ifdef __cplusplus 6705 7089 extern "C" 6706 {6707 7090 #endif 6708 /* We use char because int might match the return type of a gcc26709 builtin and then its argument prototype would still apply. */6710 7091 char re_rx_search (); 6711 7092 /* The GNU C library defines this for functions which it implements 6712 7093 to always fail with ENOSYS. Some functions are actually named 6713 7094 something starting with __ and the normal name is an alias. */ 6714 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)7095 #if defined __stub_re_rx_search || defined __stub___re_rx_search 6715 7096 choke me 6716 #else6717 char (*f) () = re_rx_search;6718 #endif6719 #ifdef __cplusplus6720 }6721 7097 #endif 6722 7098 … … 6724 7100 main () 6725 7101 { 6726 return f != re_rx_search;7102 return re_rx_search (); 6727 7103 ; 6728 7104 return 0; … … 6730 7106 _ACEOF 6731 7107 rm -f conftest.$ac_objext conftest$ac_exeext 6732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6733 (eval $ac_link) 2>conftest.er1 7108 if { (ac_try="$ac_link" 7109 case "(($ac_try" in 7110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7111 *) ac_try_echo=$ac_try;; 7112 esac 7113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7114 (eval "$ac_link") 2>conftest.er1 6734 7115 ac_status=$? 6735 7116 grep -v '^ *+' conftest.er1 >conftest.err … … 6737 7118 cat conftest.err >&5 6738 7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6739 (exit $ac_status); } && 6740 { ac_try='test -z "$ac_c_werror_flag" 6741 || test ! -s conftest.err' 6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6743 (eval $ac_try) 2>&5 6744 ac_status=$? 6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6746 (exit $ac_status); }; } && 6747 { ac_try='test -s conftest$ac_exeext' 6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6749 (eval $ac_try) 2>&5 6750 ac_status=$? 6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6752 (exit $ac_status); }; }; then 7120 (exit $ac_status); } && { 7121 test -z "$ac_c_werror_flag" || 7122 test ! -s conftest.err 7123 } && test -s conftest$ac_exeext && 7124 $as_test_x conftest$ac_exeext; then 6753 7125 ac_cv_func_re_rx_search=yes 6754 7126 else … … 6756 7128 sed 's/^/| /' conftest.$ac_ext >&5 6757 7129 6758 ac_cv_func_re_rx_search=no 6759 fi 6760 rm -f conftest.err conftest.$ac_objext \ 7130 ac_cv_func_re_rx_search=no 7131 fi 7132 7133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6761 7134 conftest$ac_exeext conftest.$ac_ext 6762 7135 fi 6763 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&56764 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7136 { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7137 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; } 6765 7138 if test $ac_cv_func_re_rx_search = yes; then 6766 7139 : 6767 7140 else 6768 echo "$as_me:$LINENO: checking for unsigned char *" >&56769 echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6 7141 { echo "$as_me:$LINENO: checking for unsigned char *" >&5 7142 echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6; } 6770 7143 if test "${ac_cv_type_unsigned_char_p+set}" = set; then 6771 7144 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6778 7151 /* end confdefs.h. */ 6779 7152 $ac_includes_default 7153 typedef unsigned char * ac__type_new_; 6780 7154 int 6781 7155 main () 6782 7156 { 6783 if (( unsigned char **) 0)7157 if ((ac__type_new_ *) 0) 6784 7158 return 0; 6785 if (sizeof ( unsigned char *))7159 if (sizeof (ac__type_new_)) 6786 7160 return 0; 6787 7161 ; … … 6790 7164 _ACEOF 6791 7165 rm -f conftest.$ac_objext 6792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6793 (eval $ac_compile) 2>conftest.er1 7166 if { (ac_try="$ac_compile" 7167 case "(($ac_try" in 7168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7169 *) ac_try_echo=$ac_try;; 7170 esac 7171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7172 (eval "$ac_compile") 2>conftest.er1 6794 7173 ac_status=$? 6795 7174 grep -v '^ *+' conftest.er1 >conftest.err … … 6797 7176 cat conftest.err >&5 6798 7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6799 (exit $ac_status); } && 6800 { ac_try='test -z "$ac_c_werror_flag" 6801 || test ! -s conftest.err' 6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6803 (eval $ac_try) 2>&5 6804 ac_status=$? 6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6806 (exit $ac_status); }; } && 6807 { ac_try='test -s conftest.$ac_objext' 6808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6809 (eval $ac_try) 2>&5 6810 ac_status=$? 6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6812 (exit $ac_status); }; }; then 7178 (exit $ac_status); } && { 7179 test -z "$ac_c_werror_flag" || 7180 test ! -s conftest.err 7181 } && test -s conftest.$ac_objext; then 6813 7182 ac_cv_type_unsigned_char_p=yes 6814 7183 else … … 6816 7185 sed 's/^/| /' conftest.$ac_ext >&5 6817 7186 6818 ac_cv_type_unsigned_char_p=no 6819 fi 6820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6821 fi 6822 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5 6823 echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6 6824 6825 echo "$as_me:$LINENO: checking size of unsigned char *" >&5 6826 echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6 7187 ac_cv_type_unsigned_char_p=no 7188 fi 7189 7190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7191 fi 7192 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5 7193 echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6; } 7194 7195 # The cast to long int works around a bug in the HP C Compiler 7196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7198 # This bug is HP SR number 8606223364. 7199 { echo "$as_me:$LINENO: checking size of unsigned char *" >&5 7200 echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6; } 6827 7201 if test "${ac_cv_sizeof_unsigned_char_p+set}" = set; then 6828 7202 echo $ECHO_N "(cached) $ECHO_C" >&6 6829 7203 else 6830 if test "$ac_cv_type_unsigned_char_p" = yes; then6831 # The cast to unsigned long works around a bug in the HP C Compiler6832 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects6833 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.6834 # This bug is HP SR number 8606223364.6835 7204 if test "$cross_compiling" = yes; then 6836 7205 # Depending upon the size, compute the lo and hi bounds. … … 6842 7211 /* end confdefs.h. */ 6843 7212 $ac_includes_default 7213 typedef unsigned char * ac__type_sizeof_; 6844 7214 int 6845 7215 main () 6846 7216 { 6847 static int test_array [1 - 2 * !(((long ) (sizeof (unsigned char *))) >= 0)];7217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 6848 7218 test_array [0] = 0 6849 7219 … … 6853 7223 _ACEOF 6854 7224 rm -f conftest.$ac_objext 6855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6856 (eval $ac_compile) 2>conftest.er1 7225 if { (ac_try="$ac_compile" 7226 case "(($ac_try" in 7227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7228 *) ac_try_echo=$ac_try;; 7229 esac 7230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7231 (eval "$ac_compile") 2>conftest.er1 6857 7232 ac_status=$? 6858 7233 grep -v '^ *+' conftest.er1 >conftest.err … … 6860 7235 cat conftest.err >&5 6861 7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6862 (exit $ac_status); } && 6863 { ac_try='test -z "$ac_c_werror_flag" 6864 || test ! -s conftest.err' 6865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6866 (eval $ac_try) 2>&5 6867 ac_status=$? 6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6869 (exit $ac_status); }; } && 6870 { ac_try='test -s conftest.$ac_objext' 6871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6872 (eval $ac_try) 2>&5 6873 ac_status=$? 6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6875 (exit $ac_status); }; }; then 7237 (exit $ac_status); } && { 7238 test -z "$ac_c_werror_flag" || 7239 test ! -s conftest.err 7240 } && test -s conftest.$ac_objext; then 6876 7241 ac_lo=0 ac_mid=0 6877 7242 while :; do … … 6883 7248 /* end confdefs.h. */ 6884 7249 $ac_includes_default 7250 typedef unsigned char * ac__type_sizeof_; 6885 7251 int 6886 7252 main () 6887 7253 { 6888 static int test_array [1 - 2 * !(((long ) (sizeof (unsigned char *))) <= $ac_mid)];7254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 6889 7255 test_array [0] = 0 6890 7256 … … 6894 7260 _ACEOF 6895 7261 rm -f conftest.$ac_objext 6896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6897 (eval $ac_compile) 2>conftest.er1 7262 if { (ac_try="$ac_compile" 7263 case "(($ac_try" in 7264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7265 *) ac_try_echo=$ac_try;; 7266 esac 7267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7268 (eval "$ac_compile") 2>conftest.er1 6898 7269 ac_status=$? 6899 7270 grep -v '^ *+' conftest.er1 >conftest.err … … 6901 7272 cat conftest.err >&5 6902 7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6903 (exit $ac_status); } && 6904 { ac_try='test -z "$ac_c_werror_flag" 6905 || test ! -s conftest.err' 6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6907 (eval $ac_try) 2>&5 6908 ac_status=$? 6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6910 (exit $ac_status); }; } && 6911 { ac_try='test -s conftest.$ac_objext' 6912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6913 (eval $ac_try) 2>&5 6914 ac_status=$? 6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6916 (exit $ac_status); }; }; then 7274 (exit $ac_status); } && { 7275 test -z "$ac_c_werror_flag" || 7276 test ! -s conftest.err 7277 } && test -s conftest.$ac_objext; then 6917 7278 ac_hi=$ac_mid; break 6918 7279 else … … 6920 7281 sed 's/^/| /' conftest.$ac_ext >&5 6921 7282 6922 ac_lo=`expr $ac_mid + 1` 6923 if test $ac_lo -le $ac_mid; then 6924 ac_lo= ac_hi= 6925 break 6926 fi 6927 ac_mid=`expr 2 '*' $ac_mid + 1` 6928 fi 6929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7283 ac_lo=`expr $ac_mid + 1` 7284 if test $ac_lo -le $ac_mid; then 7285 ac_lo= ac_hi= 7286 break 7287 fi 7288 ac_mid=`expr 2 '*' $ac_mid + 1` 7289 fi 7290 7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6930 7292 done 6931 7293 else … … 6933 7295 sed 's/^/| /' conftest.$ac_ext >&5 6934 7296 6935 cat >conftest.$ac_ext <<_ACEOF7297 cat >conftest.$ac_ext <<_ACEOF 6936 7298 /* confdefs.h. */ 6937 7299 _ACEOF … … 6940 7302 /* end confdefs.h. */ 6941 7303 $ac_includes_default 7304 typedef unsigned char * ac__type_sizeof_; 6942 7305 int 6943 7306 main () 6944 7307 { 6945 static int test_array [1 - 2 * !(((long ) (sizeof (unsigned char *))) < 0)];7308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 6946 7309 test_array [0] = 0 6947 7310 … … 6951 7314 _ACEOF 6952 7315 rm -f conftest.$ac_objext 6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6954 (eval $ac_compile) 2>conftest.er1 7316 if { (ac_try="$ac_compile" 7317 case "(($ac_try" in 7318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7319 *) ac_try_echo=$ac_try;; 7320 esac 7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7322 (eval "$ac_compile") 2>conftest.er1 6955 7323 ac_status=$? 6956 7324 grep -v '^ *+' conftest.er1 >conftest.err … … 6958 7326 cat conftest.err >&5 6959 7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6960 (exit $ac_status); } && 6961 { ac_try='test -z "$ac_c_werror_flag" 6962 || test ! -s conftest.err' 6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6964 (eval $ac_try) 2>&5 6965 ac_status=$? 6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6967 (exit $ac_status); }; } && 6968 { ac_try='test -s conftest.$ac_objext' 6969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6970 (eval $ac_try) 2>&5 6971 ac_status=$? 6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6973 (exit $ac_status); }; }; then 7328 (exit $ac_status); } && { 7329 test -z "$ac_c_werror_flag" || 7330 test ! -s conftest.err 7331 } && test -s conftest.$ac_objext; then 6974 7332 ac_hi=-1 ac_mid=-1 6975 7333 while :; do … … 6981 7339 /* end confdefs.h. */ 6982 7340 $ac_includes_default 7341 typedef unsigned char * ac__type_sizeof_; 6983 7342 int 6984 7343 main () 6985 7344 { 6986 static int test_array [1 - 2 * !(((long ) (sizeof (unsigned char *))) >= $ac_mid)];7345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 6987 7346 test_array [0] = 0 6988 7347 … … 6992 7351 _ACEOF 6993 7352 rm -f conftest.$ac_objext 6994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6995 (eval $ac_compile) 2>conftest.er1 7353 if { (ac_try="$ac_compile" 7354 case "(($ac_try" in 7355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7356 *) ac_try_echo=$ac_try;; 7357 esac 7358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7359 (eval "$ac_compile") 2>conftest.er1 6996 7360 ac_status=$? 6997 7361 grep -v '^ *+' conftest.er1 >conftest.err … … 6999 7363 cat conftest.err >&5 7000 7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7001 (exit $ac_status); } && 7002 { ac_try='test -z "$ac_c_werror_flag" 7003 || test ! -s conftest.err' 7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7005 (eval $ac_try) 2>&5 7006 ac_status=$? 7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7008 (exit $ac_status); }; } && 7009 { ac_try='test -s conftest.$ac_objext' 7010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7011 (eval $ac_try) 2>&5 7012 ac_status=$? 7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7014 (exit $ac_status); }; }; then 7365 (exit $ac_status); } && { 7366 test -z "$ac_c_werror_flag" || 7367 test ! -s conftest.err 7368 } && test -s conftest.$ac_objext; then 7015 7369 ac_lo=$ac_mid; break 7016 7370 else … … 7018 7372 sed 's/^/| /' conftest.$ac_ext >&5 7019 7373 7020 ac_hi=`expr '(' $ac_mid ')' - 1` 7021 if test $ac_mid -le $ac_hi; then 7022 ac_lo= ac_hi= 7023 break 7024 fi 7025 ac_mid=`expr 2 '*' $ac_mid` 7026 fi 7027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7374 ac_hi=`expr '(' $ac_mid ')' - 1` 7375 if test $ac_mid -le $ac_hi; then 7376 ac_lo= ac_hi= 7377 break 7378 fi 7379 ac_mid=`expr 2 '*' $ac_mid` 7380 fi 7381 7382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7028 7383 done 7029 7384 else … … 7031 7386 sed 's/^/| /' conftest.$ac_ext >&5 7032 7387 7033 ac_lo= ac_hi= 7034 fi 7035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7036 fi 7037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7388 ac_lo= ac_hi= 7389 fi 7390 7391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7392 fi 7393 7394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7038 7395 # Binary search between lo and hi bounds. 7039 7396 while test "x$ac_lo" != "x$ac_hi"; do … … 7046 7403 /* end confdefs.h. */ 7047 7404 $ac_includes_default 7405 typedef unsigned char * ac__type_sizeof_; 7048 7406 int 7049 7407 main () 7050 7408 { 7051 static int test_array [1 - 2 * !(((long ) (sizeof (unsigned char *))) <= $ac_mid)];7409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 7052 7410 test_array [0] = 0 7053 7411 … … 7057 7415 _ACEOF 7058 7416 rm -f conftest.$ac_objext 7059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7060 (eval $ac_compile) 2>conftest.er1 7417 if { (ac_try="$ac_compile" 7418 case "(($ac_try" in 7419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7420 *) ac_try_echo=$ac_try;; 7421 esac 7422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7423 (eval "$ac_compile") 2>conftest.er1 7061 7424 ac_status=$? 7062 7425 grep -v '^ *+' conftest.er1 >conftest.err … … 7064 7427 cat conftest.err >&5 7065 7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7066 (exit $ac_status); } && 7067 { ac_try='test -z "$ac_c_werror_flag" 7068 || test ! -s conftest.err' 7069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7070 (eval $ac_try) 2>&5 7071 ac_status=$? 7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7073 (exit $ac_status); }; } && 7074 { ac_try='test -s conftest.$ac_objext' 7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7076 (eval $ac_try) 2>&5 7077 ac_status=$? 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7079 (exit $ac_status); }; }; then 7429 (exit $ac_status); } && { 7430 test -z "$ac_c_werror_flag" || 7431 test ! -s conftest.err 7432 } && test -s conftest.$ac_objext; then 7080 7433 ac_hi=$ac_mid 7081 7434 else … … 7083 7436 sed 's/^/| /' conftest.$ac_ext >&5 7084 7437 7085 ac_lo=`expr '(' $ac_mid ')' + 1` 7086 fi 7087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7438 ac_lo=`expr '(' $ac_mid ')' + 1` 7439 fi 7440 7441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7088 7442 done 7089 7443 case $ac_lo in 7090 7444 ?*) ac_cv_sizeof_unsigned_char_p=$ac_lo;; 7091 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77 7445 '') if test "$ac_cv_type_unsigned_char_p" = yes; then 7446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *) 7092 7447 See \`config.log' for more details." >&5 7093 echo "$as_me: error: cannot compute sizeof (unsigned char *) , 777448 echo "$as_me: error: cannot compute sizeof (unsigned char *) 7094 7449 See \`config.log' for more details." >&2;} 7095 { (exit 1); exit 1; }; } ;; 7096 esac 7097 else 7098 if test "$cross_compiling" = yes; then 7099 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 7100 See \`config.log' for more details." >&5 7101 echo "$as_me: error: cannot run test program while cross compiling 7102 See \`config.log' for more details." >&2;} 7103 { (exit 1); exit 1; }; } 7450 { (exit 77); exit 77; }; } 7451 else 7452 ac_cv_sizeof_unsigned_char_p=0 7453 fi ;; 7454 esac 7104 7455 else 7105 7456 cat >conftest.$ac_ext <<_ACEOF … … 7110 7461 /* end confdefs.h. */ 7111 7462 $ac_includes_default 7112 long longval () { return (long) (sizeof (unsigned char *)); } 7113 unsigned long ulongval () { return (long) (sizeof (unsigned char *)); } 7463 typedef unsigned char * ac__type_sizeof_; 7464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 7465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 7114 7466 #include <stdio.h> 7115 7467 #include <stdlib.h> … … 7120 7472 FILE *f = fopen ("conftest.val", "w"); 7121 7473 if (! f) 7122 exit (1);7123 if (((long ) (sizeof (unsigned char *))) < 0)7474 return 1; 7475 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 7124 7476 { 7125 long i = longval ();7126 if (i != ((long ) (sizeof (unsigned char *))))7127 exit (1);7477 long int i = longval (); 7478 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 7479 return 1; 7128 7480 fprintf (f, "%ld\n", i); 7129 7481 } 7130 7482 else 7131 7483 { 7132 unsigned long i = ulongval ();7133 if (i != ((long ) (sizeof (unsigned char *))))7134 exit (1);7484 unsigned long int i = ulongval (); 7485 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 7486 return 1; 7135 7487 fprintf (f, "%lu\n", i); 7136 7488 } 7137 exit (ferror (f) || fclose (f) != 0);7489 return ferror (f) || fclose (f) != 0; 7138 7490 7139 7491 ; … … 7142 7494 _ACEOF 7143 7495 rm -f conftest$ac_exeext 7144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7145 (eval $ac_link) 2>&5 7496 if { (ac_try="$ac_link" 7497 case "(($ac_try" in 7498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7499 *) ac_try_echo=$ac_try;; 7500 esac 7501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7502 (eval "$ac_link") 2>&5 7146 7503 ac_status=$? 7147 7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7148 7505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7150 (eval $ac_try) 2>&5 7506 { (case "(($ac_try" in 7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7508 *) ac_try_echo=$ac_try;; 7509 esac 7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7511 (eval "$ac_try") 2>&5 7151 7512 ac_status=$? 7152 7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 7159 7520 7160 7521 ( exit $ac_status ) 7161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77 7522 if test "$ac_cv_type_unsigned_char_p" = yes; then 7523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *) 7162 7524 See \`config.log' for more details." >&5 7163 echo "$as_me: error: cannot compute sizeof (unsigned char *) , 777525 echo "$as_me: error: cannot compute sizeof (unsigned char *) 7164 7526 See \`config.log' for more details." >&2;} 7165 { (exit 1); exit 1; }; } 7166 fi 7167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7168 fi 7527 { (exit 77); exit 77; }; } 7528 else 7529 ac_cv_sizeof_unsigned_char_p=0 7530 fi 7531 fi 7532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7169 7533 fi 7170 7534 rm -f conftest.val 7171 else 7172 ac_cv_sizeof_unsigned_char_p=0 7173 fi 7174 fi 7175 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5 7176 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6 7535 fi 7536 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5 7537 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6; } 7538 7539 7540 7177 7541 cat >>confdefs.h <<_ACEOF 7178 7542 #define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p … … 7188 7552 find a local rx library and the one included with this 7189 7553 distribution doesn't work on 64-bit machines like yours" >&2;} 7190 case $LIBOBJS in 7191 "regex.$ac_objext" | \ 7192 *" regex.$ac_objext" | \ 7193 "regex.$ac_objext "* | \ 7554 case " $LIBOBJS " in 7194 7555 *" regex.$ac_objext "* ) ;; 7195 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7556 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7557 ;; 7196 7558 esac 7197 7559 7198 7560 else 7199 case $LIBOBJS in 7200 "rx.$ac_objext" | \ 7201 *" rx.$ac_objext" | \ 7202 "rx.$ac_objext "* | \ 7561 case " $LIBOBJS " in 7203 7562 *" rx.$ac_objext "* ) ;; 7204 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7563 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7564 ;; 7205 7565 esac 7206 7566 … … 7211 7571 fi 7212 7572 7213 echo "$as_me:$LINENO: checking whether GNU readline requested" >&57214 echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6 7215 7216 # Check whether --with-gnu_readline or --without-gnu_readlinewas given.7573 { echo "$as_me:$LINENO: checking whether GNU readline requested" >&5 7574 echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6; } 7575 7576 # Check whether --with-gnu_readline was given. 7217 7577 if test "${with_gnu_readline+set}" = set; then 7218 withval="$with_gnu_readline" 7219 if test "$withval" = yes; then 7220 echo "$as_me:$LINENO: result: yes" >&5 7221 echo "${ECHO_T}yes" >&6 7578 withval=$with_gnu_readline; if test "$withval" = yes; then 7579 { echo "$as_me:$LINENO: result: yes" >&5 7580 echo "${ECHO_T}yes" >&6; } 7222 7581 ac_with_gnu_readline=1 7223 7582 else 7224 echo "$as_me:$LINENO: result: no" >&57225 echo "${ECHO_T}no" >&6 7583 { echo "$as_me:$LINENO: result: no" >&5 7584 echo "${ECHO_T}no" >&6; } 7226 7585 fi 7227 7586 else 7228 echo "$as_me:$LINENO: result: no" >&5 7229 echo "${ECHO_T}no" >&6 7230 fi; 7587 { echo "$as_me:$LINENO: result: no" >&5 7588 echo "${ECHO_T}no" >&6; } 7589 fi 7590 7231 7591 7232 7592 if test -n "$ac_with_gnu_readline"; then 7233 7593 if test "${ac_cv_header_readline_readline_h+set}" = set; then 7234 echo "$as_me:$LINENO: checking for readline/readline.h" >&57235 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 7594 { echo "$as_me:$LINENO: checking for readline/readline.h" >&5 7595 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; } 7236 7596 if test "${ac_cv_header_readline_readline_h+set}" = set; then 7237 7597 echo $ECHO_N "(cached) $ECHO_C" >&6 7238 7598 fi 7239 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&57240 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 7599 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 7600 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; } 7241 7601 else 7242 7602 # Is the header compilable? 7243 echo "$as_me:$LINENO: checking readline/readline.h usability" >&57244 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6 7603 { echo "$as_me:$LINENO: checking readline/readline.h usability" >&5 7604 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6; } 7245 7605 cat >conftest.$ac_ext <<_ACEOF 7246 7606 /* confdefs.h. */ … … 7253 7613 _ACEOF 7254 7614 rm -f conftest.$ac_objext 7255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7256 (eval $ac_compile) 2>conftest.er1 7615 if { (ac_try="$ac_compile" 7616 case "(($ac_try" in 7617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7618 *) ac_try_echo=$ac_try;; 7619 esac 7620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7621 (eval "$ac_compile") 2>conftest.er1 7257 7622 ac_status=$? 7258 7623 grep -v '^ *+' conftest.er1 >conftest.err … … 7260 7625 cat conftest.err >&5 7261 7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7262 (exit $ac_status); } && 7263 { ac_try='test -z "$ac_c_werror_flag" 7264 || test ! -s conftest.err' 7265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7266 (eval $ac_try) 2>&5 7267 ac_status=$? 7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7269 (exit $ac_status); }; } && 7270 { ac_try='test -s conftest.$ac_objext' 7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7272 (eval $ac_try) 2>&5 7273 ac_status=$? 7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7275 (exit $ac_status); }; }; then 7627 (exit $ac_status); } && { 7628 test -z "$ac_c_werror_flag" || 7629 test ! -s conftest.err 7630 } && test -s conftest.$ac_objext; then 7276 7631 ac_header_compiler=yes 7277 7632 else … … 7279 7634 sed 's/^/| /' conftest.$ac_ext >&5 7280 7635 7281 ac_header_compiler=no 7282 fi 7283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7285 echo "${ECHO_T}$ac_header_compiler" >&6 7636 ac_header_compiler=no 7637 fi 7638 7639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7640 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7641 echo "${ECHO_T}$ac_header_compiler" >&6; } 7286 7642 7287 7643 # Is the header present? 7288 echo "$as_me:$LINENO: checking readline/readline.h presence" >&57289 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6 7644 { echo "$as_me:$LINENO: checking readline/readline.h presence" >&5 7645 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6; } 7290 7646 cat >conftest.$ac_ext <<_ACEOF 7291 7647 /* confdefs.h. */ … … 7296 7652 #include <readline/readline.h> 7297 7653 _ACEOF 7298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7654 if { (ac_try="$ac_cpp conftest.$ac_ext" 7655 case "(($ac_try" in 7656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7657 *) ac_try_echo=$ac_try;; 7658 esac 7659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7300 7661 ac_status=$? 7301 7662 grep -v '^ *+' conftest.er1 >conftest.err … … 7303 7664 cat conftest.err >&5 7304 7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7305 (exit $ac_status); } >/dev/null; then 7306 if test -s conftest.err; then 7307 ac_cpp_err=$ac_c_preproc_warn_flag 7308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7309 else 7310 ac_cpp_err= 7311 fi 7312 else 7313 ac_cpp_err=yes 7314 fi 7315 if test -z "$ac_cpp_err"; then 7666 (exit $ac_status); } >/dev/null && { 7667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7668 test ! -s conftest.err 7669 }; then 7316 7670 ac_header_preproc=yes 7317 7671 else … … 7321 7675 ac_header_preproc=no 7322 7676 fi 7677 7323 7678 rm -f conftest.err conftest.$ac_ext 7324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57325 echo "${ECHO_T}$ac_header_preproc" >&6 7679 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7680 echo "${ECHO_T}$ac_header_preproc" >&6; } 7326 7681 7327 7682 # So? What about this header? … … 7347 7702 { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5 7348 7703 echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;} 7349 ( 7350 cat <<\_ASBOX 7351 ## ------------------------------------------ ## 7352 ## Report this to the AC_PACKAGE_NAME lists. ## 7353 ## ------------------------------------------ ## 7354 _ASBOX 7355 ) | 7356 sed "s/^/$as_me: WARNING: /" >&2 7704 7357 7705 ;; 7358 7706 esac 7359 echo "$as_me:$LINENO: checking for readline/readline.h" >&57360 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 7707 { echo "$as_me:$LINENO: checking for readline/readline.h" >&5 7708 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; } 7361 7709 if test "${ac_cv_header_readline_readline_h+set}" = set; then 7362 7710 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7364 7712 ac_cv_header_readline_readline_h=$ac_header_preproc 7365 7713 fi 7366 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&57367 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 7714 { echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 7715 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; } 7368 7716 7369 7717 fi … … 7380 7728 if test -n "$ac_mg_readline_header_found"; then 7381 7729 # first check whether we can find the readline library itself 7382 echo "$as_me:$LINENO: checking for main in -lreadline" >&57383 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6 7730 { echo "$as_me:$LINENO: checking for main in -lreadline" >&5 7731 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6; } 7384 7732 if test "${ac_cv_lib_readline_main+set}" = set; then 7385 7733 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7398 7746 main () 7399 7747 { 7400 main ();7748 return main (); 7401 7749 ; 7402 7750 return 0; … … 7404 7752 _ACEOF 7405 7753 rm -f conftest.$ac_objext conftest$ac_exeext 7406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7407 (eval $ac_link) 2>conftest.er1 7754 if { (ac_try="$ac_link" 7755 case "(($ac_try" in 7756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7757 *) ac_try_echo=$ac_try;; 7758 esac 7759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7760 (eval "$ac_link") 2>conftest.er1 7408 7761 ac_status=$? 7409 7762 grep -v '^ *+' conftest.er1 >conftest.err … … 7411 7764 cat conftest.err >&5 7412 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7413 (exit $ac_status); } && 7414 { ac_try='test -z "$ac_c_werror_flag" 7415 || test ! -s conftest.err' 7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7417 (eval $ac_try) 2>&5 7418 ac_status=$? 7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7420 (exit $ac_status); }; } && 7421 { ac_try='test -s conftest$ac_exeext' 7422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7423 (eval $ac_try) 2>&5 7424 ac_status=$? 7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7426 (exit $ac_status); }; }; then 7766 (exit $ac_status); } && { 7767 test -z "$ac_c_werror_flag" || 7768 test ! -s conftest.err 7769 } && test -s conftest$ac_exeext && 7770 $as_test_x conftest$ac_exeext; then 7427 7771 ac_cv_lib_readline_main=yes 7428 7772 else … … 7430 7774 sed 's/^/| /' conftest.$ac_ext >&5 7431 7775 7432 ac_cv_lib_readline_main=no 7433 fi 7434 rm -f conftest.err conftest.$ac_objext \ 7776 ac_cv_lib_readline_main=no 7777 fi 7778 7779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7435 7780 conftest$ac_exeext conftest.$ac_ext 7436 7781 LIBS=$ac_check_lib_save_LIBS 7437 7782 fi 7438 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&57439 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6 7783 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5 7784 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6; } 7440 7785 if test $ac_cv_lib_readline_main = yes; then 7441 7786 ac_mg_readline_lib_found=1 … … 7459 7804 # by mg itself (e.g. xmalloc, xrealloc). So, if we find libcurses, 7460 7805 # we just bung it on and hope for the best. 7461 echo "$as_me:$LINENO: checking for main in -lcurses" >&57462 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6 7806 { echo "$as_me:$LINENO: checking for main in -lcurses" >&5 7807 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6; } 7463 7808 if test "${ac_cv_lib_curses_main+set}" = set; then 7464 7809 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7477 7822 main () 7478 7823 { 7479 main ();7824 return main (); 7480 7825 ; 7481 7826 return 0; … … 7483 7828 _ACEOF 7484 7829 rm -f conftest.$ac_objext conftest$ac_exeext 7485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7486 (eval $ac_link) 2>conftest.er1 7830 if { (ac_try="$ac_link" 7831 case "(($ac_try" in 7832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7833 *) ac_try_echo=$ac_try;; 7834 esac 7835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7836 (eval "$ac_link") 2>conftest.er1 7487 7837 ac_status=$? 7488 7838 grep -v '^ *+' conftest.er1 >conftest.err … … 7490 7840 cat conftest.err >&5 7491 7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7492 (exit $ac_status); } && 7493 { ac_try='test -z "$ac_c_werror_flag" 7494 || test ! -s conftest.err' 7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7496 (eval $ac_try) 2>&5 7497 ac_status=$? 7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7499 (exit $ac_status); }; } && 7500 { ac_try='test -s conftest$ac_exeext' 7501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7502 (eval $ac_try) 2>&5 7503 ac_status=$? 7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7505 (exit $ac_status); }; }; then 7842 (exit $ac_status); } && { 7843 test -z "$ac_c_werror_flag" || 7844 test ! -s conftest.err 7845 } && test -s conftest$ac_exeext && 7846 $as_test_x conftest$ac_exeext; then 7506 7847 ac_cv_lib_curses_main=yes 7507 7848 else … … 7509 7850 sed 's/^/| /' conftest.$ac_ext >&5 7510 7851 7511 ac_cv_lib_curses_main=no 7512 fi 7513 rm -f conftest.err conftest.$ac_objext \ 7852 ac_cv_lib_curses_main=no 7853 fi 7854 7855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7514 7856 conftest$ac_exeext conftest.$ac_ext 7515 7857 LIBS=$ac_check_lib_save_LIBS 7516 7858 fi 7517 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&57518 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6 7859 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5 7860 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6; } 7519 7861 if test $ac_cv_lib_curses_main = yes; then 7520 7862 LIBS="$LIBS -lcurses" … … 7527 7869 7528 7870 # text for endianness 7529 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&57530 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7871 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7872 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 7531 7873 if test "${ac_cv_c_bigendian+set}" = set; then 7532 7874 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7545 7887 main () 7546 7888 { 7547 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7889 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 7890 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 7548 7891 bogus endian macros 7549 7892 #endif … … 7554 7897 _ACEOF 7555 7898 rm -f conftest.$ac_objext 7556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7557 (eval $ac_compile) 2>conftest.er1 7899 if { (ac_try="$ac_compile" 7900 case "(($ac_try" in 7901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7902 *) ac_try_echo=$ac_try;; 7903 esac 7904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7905 (eval "$ac_compile") 2>conftest.er1 7558 7906 ac_status=$? 7559 7907 grep -v '^ *+' conftest.er1 >conftest.err … … 7561 7909 cat conftest.err >&5 7562 7910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7563 (exit $ac_status); } && 7564 { ac_try='test -z "$ac_c_werror_flag" 7565 || test ! -s conftest.err' 7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7567 (eval $ac_try) 2>&5 7568 ac_status=$? 7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7570 (exit $ac_status); }; } && 7571 { ac_try='test -s conftest.$ac_objext' 7572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7573 (eval $ac_try) 2>&5 7574 ac_status=$? 7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7576 (exit $ac_status); }; }; then 7911 (exit $ac_status); } && { 7912 test -z "$ac_c_werror_flag" || 7913 test ! -s conftest.err 7914 } && test -s conftest.$ac_objext; then 7577 7915 # It does; now see whether it defined to BIG_ENDIAN or not. 7578 7916 cat >conftest.$ac_ext <<_ACEOF … … 7597 7935 _ACEOF 7598 7936 rm -f conftest.$ac_objext 7599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7600 (eval $ac_compile) 2>conftest.er1 7937 if { (ac_try="$ac_compile" 7938 case "(($ac_try" in 7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7940 *) ac_try_echo=$ac_try;; 7941 esac 7942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7943 (eval "$ac_compile") 2>conftest.er1 7601 7944 ac_status=$? 7602 7945 grep -v '^ *+' conftest.er1 >conftest.err … … 7604 7947 cat conftest.err >&5 7605 7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7606 (exit $ac_status); } && 7607 { ac_try='test -z "$ac_c_werror_flag" 7608 || test ! -s conftest.err' 7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7610 (eval $ac_try) 2>&5 7611 ac_status=$? 7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7613 (exit $ac_status); }; } && 7614 { ac_try='test -s conftest.$ac_objext' 7615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7616 (eval $ac_try) 2>&5 7617 ac_status=$? 7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7619 (exit $ac_status); }; }; then 7949 (exit $ac_status); } && { 7950 test -z "$ac_c_werror_flag" || 7951 test ! -s conftest.err 7952 } && test -s conftest.$ac_objext; then 7620 7953 ac_cv_c_bigendian=yes 7621 7954 else … … 7623 7956 sed 's/^/| /' conftest.$ac_ext >&5 7624 7957 7625 ac_cv_c_bigendian=no 7626 fi 7627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7958 ac_cv_c_bigendian=no 7959 fi 7960 7961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7628 7962 else 7629 7963 echo "$as_me: failed program was:" >&5 7630 7964 sed 's/^/| /' conftest.$ac_ext >&5 7631 7965 7632 # It does not; compile a test program.7966 # It does not; compile a test program. 7633 7967 if test "$cross_compiling" = yes; then 7634 7968 # try to guess the endianness by grepping values into an object file … … 7640 7974 cat >>conftest.$ac_ext <<_ACEOF 7641 7975 /* end confdefs.h. */ 7642 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };7643 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };7976 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7977 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7644 7978 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7645 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };7646 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };7979 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7980 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7647 7981 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 7648 7982 int … … 7655 7989 _ACEOF 7656 7990 rm -f conftest.$ac_objext 7657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7658 (eval $ac_compile) 2>conftest.er1 7991 if { (ac_try="$ac_compile" 7992 case "(($ac_try" in 7993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7994 *) ac_try_echo=$ac_try;; 7995 esac 7996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7997 (eval "$ac_compile") 2>conftest.er1 7659 7998 ac_status=$? 7660 7999 grep -v '^ *+' conftest.er1 >conftest.err … … 7662 8001 cat conftest.err >&5 7663 8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7664 (exit $ac_status); } && 7665 { ac_try='test -z "$ac_c_werror_flag" 7666 || test ! -s conftest.err' 7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7668 (eval $ac_try) 2>&5 7669 ac_status=$? 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7671 (exit $ac_status); }; } && 7672 { ac_try='test -s conftest.$ac_objext' 7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7674 (eval $ac_try) 2>&5 7675 ac_status=$? 7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7677 (exit $ac_status); }; }; then 8003 (exit $ac_status); } && { 8004 test -z "$ac_c_werror_flag" || 8005 test ! -s conftest.err 8006 } && test -s conftest.$ac_objext; then 7678 8007 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7679 8008 ac_cv_c_bigendian=yes … … 7691 8020 sed 's/^/| /' conftest.$ac_ext >&5 7692 8021 7693 fi 7694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8022 8023 fi 8024 8025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7695 8026 else 7696 8027 cat >conftest.$ac_ext <<_ACEOF … … 7700 8031 cat >>conftest.$ac_ext <<_ACEOF 7701 8032 /* end confdefs.h. */ 8033 $ac_includes_default 7702 8034 int 7703 8035 main () 7704 8036 { 8037 7705 8038 /* Are we little or big endian? From Harbison&Steele. */ 7706 8039 union 7707 8040 { 7708 long l;7709 char c[sizeof (long )];8041 long int l; 8042 char c[sizeof (long int)]; 7710 8043 } u; 7711 8044 u.l = 1; 7712 exit (u.c[sizeof (long) - 1] == 1); 8045 return u.c[sizeof (long int) - 1] == 1; 8046 8047 ; 8048 return 0; 7713 8049 } 7714 8050 _ACEOF 7715 8051 rm -f conftest$ac_exeext 7716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7717 (eval $ac_link) 2>&5 8052 if { (ac_try="$ac_link" 8053 case "(($ac_try" in 8054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8055 *) ac_try_echo=$ac_try;; 8056 esac 8057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8058 (eval "$ac_link") 2>&5 7718 8059 ac_status=$? 7719 8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7720 8061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7722 (eval $ac_try) 2>&5 8062 { (case "(($ac_try" in 8063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8064 *) ac_try_echo=$ac_try;; 8065 esac 8066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8067 (eval "$ac_try") 2>&5 7723 8068 ac_status=$? 7724 8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 7733 8078 ac_cv_c_bigendian=yes 7734 8079 fi 7735 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7736 fi 7737 fi 7738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7739 fi 7740 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7741 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 8080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8081 fi 8082 8083 8084 fi 8085 8086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8087 fi 8088 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8089 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 7742 8090 case $ac_cv_c_bigendian in 7743 8091 yes) … … 7760 8108 # --------------------------------------------------------------------------- 7761 8109 if test "$ac_cv_func_alloca" = 'no'; then 7762 case $LIBOBJS in 7763 "xmalloc.$ac_objext" | \ 7764 *" xmalloc.$ac_objext" | \ 7765 "xmalloc.$ac_objext "* | \ 8110 case " $LIBOBJS " in 7766 8111 *" xmalloc.$ac_objext "* ) ;; 7767 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7768 esac 7769 7770 case $LIBOBJS in 7771 "error.$ac_objext" | \ 7772 *" error.$ac_objext" | \ 7773 "error.$ac_objext "* | \ 8112 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 8113 ;; 8114 esac 8115 8116 case " $LIBOBJS " in 7774 8117 *" error.$ac_objext "* ) ;; 7775 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 8118 *) LIBOBJS="$LIBOBJS error.$ac_objext" 8119 ;; 7776 8120 esac 7777 8121 … … 7781 8125 # --------------------------------------------------------------------------- 7782 8126 # see if the user wants to override use of long long 7783 # Check whether --enable-override-longlong or --disable-override-longlongwas given.8127 # Check whether --enable-override-longlong was given. 7784 8128 if test "${enable_override_longlong+set}" = set; then 7785 enableval="$enable_override_longlong" 7786 cat >>confdefs.h <<\_ACEOF 8129 enableval=$enable_override_longlong; cat >>confdefs.h <<\_ACEOF 7787 8130 #define DISABLE_LONG_LONG 1 7788 8131 _ACEOF 7789 8132 7790 fi; 8133 fi 8134 7791 8135 7792 8136 7793 8137 # --------------------------------------------------------------------------- 7794 8138 7795 ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile" 7796 ac_config_commands="$ac_config_commands default" 8139 ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile" 8140 8141 ac_config_commands="$ac_config_commands default" 8142 7797 8143 cat >confcache <<\_ACEOF 7798 8144 # This file is a shell script that caches the results of configure … … 7813 8159 # The following way of writing the cache mishandles newlines in values, 7814 8160 # but we know of no workaround that is simple, portable, and efficient. 7815 # So, don't put newlines in cache variables' values.8161 # So, we kill variables containing newlines. 7816 8162 # Ultrix sh set writes to stderr and can't be redirected directly, 7817 8163 # and sets the high bit in the cache file unless we assign to the vars. 7818 { 8164 ( 8165 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8166 eval ac_val=\$$ac_var 8167 case $ac_val in #( 8168 *${as_nl}*) 8169 case $ac_var in #( 8170 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 8171 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 8172 esac 8173 case $ac_var in #( 8174 _ | IFS | as_nl) ;; #( 8175 *) $as_unset $ac_var ;; 8176 esac ;; 8177 esac 8178 done 8179 7819 8180 (set) 2>&1 | 7820 case `(ac_space=' '; set | grep ac_space) 2>&1` in7821 * ac_space=\ *)8181 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8182 *${as_nl}ac_space=\ *) 7822 8183 # `set' does not quote correctly, so add quotes (double-quote 7823 8184 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7825 8186 "s/'/'\\\\''/g; 7826 8187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7827 ;; 8188 ;; #( 7828 8189 *) 7829 8190 # `set' quotes correctly as required by POSIX, so do not add quotes. 7830 sed -n \ 7831 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8191 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7832 8192 ;; 7833 esac; 7834 } | 8193 esac | 8194 sort 8195 ) | 7835 8196 sed ' 8197 /^ac_cv_env_/b end 7836 8198 t clear 7837 : 8199 :clear 7838 8200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7839 8201 t end 7840 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7841 : end' >>confcache 7842 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7843 if test -w $cache_file; then 7844 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 8202 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8203 :end' >>confcache 8204 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8205 if test -w "$cache_file"; then 8206 test "x$cache_file" != "x/dev/null" && 8207 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 8208 echo "$as_me: updating cache $cache_file" >&6;} 7845 8209 cat confcache >$cache_file 7846 8210 else 7847 echo "not updating unwritable cache $cache_file" 8211 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 8212 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7848 8213 fi 7849 8214 fi … … 7853 8218 # Let make expand exec_prefix. 7854 8219 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7855 7856 # VPATH may cause trouble with some makes, so we remove $(srcdir),7857 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7858 # trailing colons and then remove the whole line if VPATH becomes empty7859 # (actually we leave an empty line to preserve line numbers).7860 if test "x$srcdir" = x.; then7861 ac_vpsub='/^[ ]*VPATH[ ]*=/{7862 s/:*\$(srcdir):*/:/;7863 s/:*\${srcdir}:*/:/;7864 s/:*@srcdir@:*/:/;7865 s/^\([^=]*=[ ]*\):*/\1/;7866 s/:*$//;7867 s/^[^=]*=[ ]*$//;7868 }'7869 fi7870 8220 7871 8221 DEFS=-DHAVE_CONFIG_H … … 7875 8225 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7876 8226 # 1. Remove the extension, and $U if already installed. 7877 ac_i=`echo "$ac_i" | 7878 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7879 # 2. Add them. 7880 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7881 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8227 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8228 ac_i=`echo "$ac_i" | sed "$ac_script"` 8229 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8230 # will be set to the directory where LIBOBJS objects are built. 8231 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8232 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7882 8233 done 7883 8234 LIBOBJS=$ac_libobjs … … 7910 8261 ## --------------------- ## 7911 8262 7912 # Be Bourne compatible 8263 # Be more Bourne compatible 8264 DUALCASE=1; export DUALCASE # for MKS sh 7913 8265 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7914 8266 emulate sh … … 7917 8269 # is contrary to our usage. Disable this feature. 7918 8270 alias -g '${1+"$@"}'='"$@"' 7919 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7920 set -o posix 7921 fi 7922 DUALCASE=1; export DUALCASE # for MKS sh 7923 7924 # Support unset when possible. 7925 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7926 as_unset=unset 7927 else 7928 as_unset=false 7929 fi 7930 7931 7932 # Work around bugs in pre-3.0 UWIN ksh. 7933 $as_unset ENV MAIL MAILPATH 7934 PS1='$ ' 7935 PS2='> ' 7936 PS4='+ ' 7937 7938 # NLS nuisances. 7939 for as_var in \ 7940 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7941 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7942 LC_TELEPHONE LC_TIME 7943 do 7944 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7945 eval $as_var=C; export $as_var 7946 else 7947 $as_unset $as_var 7948 fi 7949 done 7950 7951 # Required to use basename. 7952 if expr a : '\(a\)' >/dev/null 2>&1; then 7953 as_expr=expr 7954 else 7955 as_expr=false 7956 fi 7957 7958 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7959 as_basename=basename 7960 else 7961 as_basename=false 7962 fi 7963 7964 7965 # Name of the executable. 7966 as_me=`$as_basename "$0" || 7967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7968 X"$0" : 'X\(//\)$' \| \ 7969 X"$0" : 'X\(/\)$' \| \ 7970 . : '\(.\)' 2>/dev/null || 7971 echo X/"$0" | 7972 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7973 /^X\/\(\/\/\)$/{ s//\1/; q; } 7974 /^X\/\(\/\).*/{ s//\1/; q; } 7975 s/.*/./; q'` 7976 7977 7978 # PATH needs CR, and LINENO needs CR and PATH. 8271 setopt NO_GLOB_SUBST 8272 else 8273 case `(set -o) 2>/dev/null` in 8274 *posix*) set -o posix ;; 8275 esac 8276 8277 fi 8278 8279 8280 8281 8282 # PATH needs CR 7979 8283 # Avoid depending upon Character Ranges. 7980 8284 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7997 8301 fi 7998 8302 7999 8000 as_lineno_1=$LINENO 8001 as_lineno_2=$LINENO 8002 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8003 test "x$as_lineno_1" != "x$as_lineno_2" && 8004 test "x$as_lineno_3" = "x$as_lineno_2" || { 8005 # Find who we are. Look in the path if we contain no path at all 8006 # relative or not. 8007 case $0 in 8008 *[\\/]* ) as_myself=$0 ;; 8009 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8303 # Support unset when possible. 8304 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8305 as_unset=unset 8306 else 8307 as_unset=false 8308 fi 8309 8310 8311 # IFS 8312 # We need space, tab and new line, in precisely that order. Quoting is 8313 # there to prevent editors from complaining about space-tab. 8314 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8315 # splitting by setting IFS to empty value.) 8316 as_nl=' 8317 ' 8318 IFS=" "" $as_nl" 8319 8320 # Find who we are. Look in the path if we contain no directory separator. 8321 case $0 in 8322 *[\\/]* ) as_myself=$0 ;; 8323 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8010 8324 for as_dir in $PATH 8011 8325 do … … 8014 8328 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8015 8329 done 8016 8017 ;; 8018 esac 8019 # We did not find ourselves, most probably we were run as `sh COMMAND' 8020 # in which case we are not to be found in the path. 8021 if test "x$as_myself" = x; then 8022 as_myself=$0 8330 IFS=$as_save_IFS 8331 8332 ;; 8333 esac 8334 # We did not find ourselves, most probably we were run as `sh COMMAND' 8335 # in which case we are not to be found in the path. 8336 if test "x$as_myself" = x; then 8337 as_myself=$0 8338 fi 8339 if test ! -f "$as_myself"; then 8340 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8341 { (exit 1); exit 1; } 8342 fi 8343 8344 # Work around bugs in pre-3.0 UWIN ksh. 8345 for as_var in ENV MAIL MAILPATH 8346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8347 done 8348 PS1='$ ' 8349 PS2='> ' 8350 PS4='+ ' 8351 8352 # NLS nuisances. 8353 for as_var in \ 8354 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8355 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8356 LC_TELEPHONE LC_TIME 8357 do 8358 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8359 eval $as_var=C; export $as_var 8360 else 8361 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 8023 8362 fi 8024 if test ! -f "$as_myself"; then 8025 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8026 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8027 { (exit 1); exit 1; }; } 8028 fi 8029 case $CONFIG_SHELL in 8030 '') 8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8032 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8033 do 8034 IFS=$as_save_IFS 8035 test -z "$as_dir" && as_dir=. 8036 for as_base in sh bash ksh sh5; do 8037 case $as_dir in 8038 /*) 8039 if ("$as_dir/$as_base" -c ' 8363 done 8364 8365 # Required to use basename. 8366 if expr a : '\(a\)' >/dev/null 2>&1 && 8367 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8368 as_expr=expr 8369 else 8370 as_expr=false 8371 fi 8372 8373 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8374 as_basename=basename 8375 else 8376 as_basename=false 8377 fi 8378 8379 8380 # Name of the executable. 8381 as_me=`$as_basename -- "$0" || 8382 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8383 X"$0" : 'X\(//\)$' \| \ 8384 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8385 echo X/"$0" | 8386 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8387 s//\1/ 8388 q 8389 } 8390 /^X\/\(\/\/\)$/{ 8391 s//\1/ 8392 q 8393 } 8394 /^X\/\(\/\).*/{ 8395 s//\1/ 8396 q 8397 } 8398 s/.*/./; q'` 8399 8400 # CDPATH. 8401 $as_unset CDPATH 8402 8403 8404 8040 8405 as_lineno_1=$LINENO 8041 8406 as_lineno_2=$LINENO 8042 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`8043 8407 test "x$as_lineno_1" != "x$as_lineno_2" && 8044 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8045 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8046 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8047 CONFIG_SHELL=$as_dir/$as_base 8048 export CONFIG_SHELL 8049 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8050 fi;; 8051 esac 8052 done 8053 done 8054 ;; 8055 esac 8408 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 8056 8409 8057 8410 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8058 8411 # uniformly replaced by the line number. The first 'sed' inserts a 8059 # line-number line before each line; the second 'sed' does the real 8060 # work. The second script uses 'N' to pair each line-number line 8061 # with the numbered line, and appends trailing '-' during 8062 # substitution so that $LINENO is not a special case at line end. 8412 # line-number line after each line using $LINENO; the second 'sed' 8413 # does the real work. The second script uses 'N' to pair each 8414 # line-number line with the line containing $LINENO, and appends 8415 # trailing '-' during substitution so that $LINENO is not a special 8416 # case at line end. 8063 8417 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8064 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8065 sed '=' <$as_myself | 8418 # scripts with optimization help from Paolo Bonzini. Blame Lee 8419 # E. McMahon (1931-1989) for sed's syntax. :-) 8420 sed -n ' 8421 p 8422 /[$]LINENO/= 8423 ' <$as_myself | 8066 8424 sed ' 8425 s/[$]LINENO.*/&-/ 8426 t lineno 8427 b 8428 :lineno 8067 8429 N 8068 s,$,-, 8069 : loop 8070 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8430 :loop 8431 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 8071 8432 t loop 8072 s,-$,, 8073 s,^['$as_cr_digits']*\n,, 8433 s/-\n.*// 8074 8434 ' >$as_me.lineno && 8075 chmod +x $as_me.lineno || 8076 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8077 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8435 chmod +x "$as_me.lineno" || 8436 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 8078 8437 { (exit 1); exit 1; }; } 8079 8438 8080 8439 # Don't try to exec as it changes $[0], causing all sort of problems 8081 8440 # (the dirname of $[0] is not the place where we might find the 8082 # original and so on. Autoconf is especially sensi ble to this).8083 . ./$as_me.lineno8441 # original and so on. Autoconf is especially sensitive to this). 8442 . "./$as_me.lineno" 8084 8443 # Exit status is that of the last command. 8085 8444 exit … … 8087 8446 8088 8447 8089 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8090 *c*,-n*) ECHO_N= ECHO_C=' 8091 ' ECHO_T=' ' ;; 8092 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8093 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8094 esac 8095 8096 if expr a : '\(a\)' >/dev/null 2>&1; then 8448 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8449 as_dirname=dirname 8450 else 8451 as_dirname=false 8452 fi 8453 8454 ECHO_C= ECHO_N= ECHO_T= 8455 case `echo -n x` in 8456 -n*) 8457 case `echo 'x\c'` in 8458 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8459 *) ECHO_C='\c';; 8460 esac;; 8461 *) 8462 ECHO_N='-n';; 8463 esac 8464 8465 if expr a : '\(a\)' >/dev/null 2>&1 && 8466 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8097 8467 as_expr=expr 8098 8468 else … … 8101 8471 8102 8472 rm -f conf$$ conf$$.exe conf$$.file 8473 if test -d conf$$.dir; then 8474 rm -f conf$$.dir/conf$$.file 8475 else 8476 rm -f conf$$.dir 8477 mkdir conf$$.dir 8478 fi 8103 8479 echo >conf$$.file 8104 8480 if ln -s conf$$.file conf$$ 2>/dev/null; then 8105 # We could just check for DJGPP; but this test a) works b) is more generic 8106 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8107 if test -f conf$$.exe; then 8108 # Don't use ln at all; we don't have any links 8481 as_ln_s='ln -s' 8482 # ... but there are two gotchas: 8483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8485 # In both cases, we have to default to `cp -p'. 8486 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8109 8487 as_ln_s='cp -p' 8110 else8111 as_ln_s='ln -s'8112 fi8113 8488 elif ln conf$$.file conf$$ 2>/dev/null; then 8114 8489 as_ln_s=ln … … 8116 8491 as_ln_s='cp -p' 8117 8492 fi 8118 rm -f conf$$ conf$$.exe conf$$.file 8493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8494 rmdir conf$$.dir 2>/dev/null 8119 8495 8120 8496 if mkdir -p . 2>/dev/null; then … … 8125 8501 fi 8126 8502 8127 as_executable_p="test -f" 8503 if test -x / >/dev/null 2>&1; then 8504 as_test_x='test -x' 8505 else 8506 if ls -dL / >/dev/null 2>&1; then 8507 as_ls_L_option=L 8508 else 8509 as_ls_L_option= 8510 fi 8511 as_test_x=' 8512 eval sh -c '\'' 8513 if test -d "$1"; then 8514 test -d "$1/."; 8515 else 8516 case $1 in 8517 -*)set "./$1";; 8518 esac; 8519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8520 ???[sx]*):;;*)false;;esac;fi 8521 '\'' sh 8522 ' 8523 fi 8524 as_executable_p=$as_test_x 8128 8525 8129 8526 # Sed expression to map a string onto a valid CPP name. … … 8134 8531 8135 8532 8136 # IFS8137 # We need space, tab and new line, in precisely that order.8138 as_nl='8139 '8140 IFS=" $as_nl"8141 8142 # CDPATH.8143 $as_unset CDPATH8144 8145 8533 exec 6>&1 8146 8534 8147 # Open the log real soon, to keep \$[0] and so on meaningful, and to8535 # Save the log message, to keep $[0] and so on meaningful, and to 8148 8536 # report actual input values of CONFIG_FILES etc. instead of their 8149 # values after options handling. Logging --version etc. is OK. 8150 exec 5>>config.log 8151 { 8152 echo 8153 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8154 ## Running $as_me. ## 8155 _ASBOX 8156 } >&5 8157 cat >&5 <<_CSEOF 8158 8537 # values after options handling. 8538 ac_log=" 8159 8539 This file was extended by $as_me, which was 8160 generated by GNU Autoconf 2. 59. Invocation command line was8540 generated by GNU Autoconf 2.61. Invocation command line was 8161 8541 8162 8542 CONFIG_FILES = $CONFIG_FILES … … 8166 8546 $ $0 $@ 8167 8547 8168 _CSEOF 8169 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8170 echo >&5 8171 _ACEOF 8172 8548 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8549 " 8550 8551 _ACEOF 8552 8553 cat >>$CONFIG_STATUS <<_ACEOF 8173 8554 # Files that config.status was made for. 8174 if test -n "$ac_config_files"; then 8175 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8176 fi 8177 8178 if test -n "$ac_config_headers"; then 8179 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8180 fi 8181 8182 if test -n "$ac_config_links"; then 8183 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8184 fi 8185 8186 if test -n "$ac_config_commands"; then 8187 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8188 fi 8555 config_files="$ac_config_files" 8556 config_headers="$ac_config_headers" 8557 config_commands="$ac_config_commands" 8558 8559 _ACEOF 8189 8560 8190 8561 cat >>$CONFIG_STATUS <<\_ACEOF 8191 8192 8562 ac_cs_usage="\ 8193 8563 \`$as_me' instantiates files from templates according to the … … 8197 8567 8198 8568 -h, --help print this help, then exit 8199 -V, --version print version number , then exit8569 -V, --version print version number and configuration settings, then exit 8200 8570 -q, --quiet do not print progress messages 8201 8571 -d, --debug don't remove temporary files … … 8216 8586 8217 8587 Report bugs to <[email protected]>." 8218 _ACEOF 8219 8588 8589 _ACEOF 8220 8590 cat >>$CONFIG_STATUS <<_ACEOF 8221 8591 ac_cs_version="\\ 8222 8592 config.status 8223 configured by $0, generated by GNU Autoconf 2. 59,8224 with options \\"`echo "$ac_configure_args" | sed 's/ [\\""\`\$]/\\\\&/g'`\\"8225 8226 Copyright (C) 200 3Free Software Foundation, Inc.8593 configured by $0, generated by GNU Autoconf 2.61, 8594 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8595 8596 Copyright (C) 2006 Free Software Foundation, Inc. 8227 8597 This config.status script is free software; the Free Software Foundation 8228 8598 gives unlimited permission to copy, distribute and modify it." 8229 srcdir=$srcdir 8230 INSTALL="$INSTALL" 8599 8600 ac_pwd='$ac_pwd' 8601 srcdir='$srcdir' 8602 INSTALL='$INSTALL' 8231 8603 _ACEOF 8232 8604 … … 8239 8611 case $1 in 8240 8612 --*=*) 8241 ac_option=`expr " x$1" : 'x\([^=]*\)='`8242 ac_optarg=`expr " x$1" : 'x[^=]*=\(.*\)'`8613 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8614 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8243 8615 ac_shift=: 8244 8616 ;; 8245 -*)8617 *) 8246 8618 ac_option=$1 8247 8619 ac_optarg=$2 8248 8620 ac_shift=shift 8249 8621 ;; 8250 *) # This is not an option, so the user has probably given explicit8251 # arguments.8252 ac_option=$18253 ac_need_defaults=false;;8254 8622 esac 8255 8623 8256 8624 case $ac_option in 8257 8625 # Handling of the options. 8258 _ACEOF8259 cat >>$CONFIG_STATUS <<\_ACEOF8260 8626 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8261 8627 ac_cs_recheck=: ;; 8262 --version | --vers* | -V ) 8263 echo "$ac_cs_version"; exit 0 ;; 8264 --he | --h) 8265 # Conflict between --help and --header 8266 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8267 Try \`$0 --help' for more information." >&5 8268 echo "$as_me: error: ambiguous option: $1 8269 Try \`$0 --help' for more information." >&2;} 8270 { (exit 1); exit 1; }; };; 8271 --help | --hel | -h ) 8272 echo "$ac_cs_usage"; exit 0 ;; 8273 --debug | --d* | -d ) 8628 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8629 echo "$ac_cs_version"; exit ;; 8630 --debug | --debu | --deb | --de | --d | -d ) 8274 8631 debug=: ;; 8275 8632 --file | --fil | --fi | --f ) … … 8281 8638 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8282 8639 ac_need_defaults=false;; 8640 --he | --h) 8641 # Conflict between --help and --header 8642 { echo "$as_me: error: ambiguous option: $1 8643 Try \`$0 --help' for more information." >&2 8644 { (exit 1); exit 1; }; };; 8645 --help | --hel | -h ) 8646 echo "$ac_cs_usage"; exit ;; 8283 8647 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8284 8648 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 8286 8650 8287 8651 # This is an error. 8288 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8289 Try \`$0 --help' for more information." >&5 8290 echo "$as_me: error: unrecognized option: $1 8291 Try \`$0 --help' for more information." >&2;} 8652 -*) { echo "$as_me: error: unrecognized option: $1 8653 Try \`$0 --help' for more information." >&2 8292 8654 { (exit 1); exit 1; }; } ;; 8293 8655 8294 *) ac_config_targets="$ac_config_targets $1" ;; 8656 *) ac_config_targets="$ac_config_targets $1" 8657 ac_need_defaults=false ;; 8295 8658 8296 8659 esac … … 8308 8671 cat >>$CONFIG_STATUS <<_ACEOF 8309 8672 if \$ac_cs_recheck; then 8310 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8311 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8312 fi 8313 8314 _ACEOF 8315 8316 8317 8318 8319 8673 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8674 CONFIG_SHELL=$SHELL 8675 export CONFIG_SHELL 8676 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8677 fi 8678 8679 _ACEOF 8320 8680 cat >>$CONFIG_STATUS <<\_ACEOF 8681 exec 5>>config.log 8682 { 8683 echo 8684 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8685 ## Running $as_me. ## 8686 _ASBOX 8687 echo "$ac_log" 8688 } >&5 8689 8690 _ACEOF 8691 cat >>$CONFIG_STATUS <<_ACEOF 8692 _ACEOF 8693 8694 cat >>$CONFIG_STATUS <<\_ACEOF 8695 8696 # Handling of arguments. 8321 8697 for ac_config_target in $ac_config_targets 8322 8698 do 8323 case "$ac_config_target"in8324 # Handling of arguments.8325 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8326 "text/Makefile") CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;8327 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;8328 "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;8329 "java/org/greenstone/mgpp/Makefile") CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;8330 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;8331 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8699 case $ac_config_target in 8700 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8701 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8702 "text/Makefile") CONFIG_FILES="$CONFIG_FILES text/Makefile" ;; 8703 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 8704 "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;; 8705 "java/org/greenstone/mgpp/Makefile") CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;; 8706 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 8707 8332 8708 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8333 8709 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 8335 8711 esac 8336 8712 done 8713 8337 8714 8338 8715 # If the user did not use the arguments to specify the items to instantiate, … … 8347 8724 8348 8725 # Have a temporary directory for convenience. Make it in the build tree 8349 # simply because there is no reason to putit here, and in addition,8726 # simply because there is no reason against having it here, and in addition, 8350 8727 # creating and moving files from /tmp can sometimes cause problems. 8351 # Create a temporary directory, and hook for its removal unless debugging. 8728 # Hook for its removal unless debugging. 8729 # Note that there is a small window in which the directory will not be cleaned: 8730 # after its creation but before its name has been assigned to `$tmp'. 8352 8731 $debug || 8353 8732 { 8354 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8733 tmp= 8734 trap 'exit_status=$? 8735 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8736 ' 0 8355 8737 trap '{ (exit 1); exit 1; }' 1 2 13 15 8356 8738 } 8357 8358 8739 # Create a (secure) tmp directory for tmp files. 8359 8740 8360 8741 { 8361 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&8742 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8362 8743 test -n "$tmp" && test -d "$tmp" 8363 8744 } || 8364 8745 { 8365 tmp=./conf stat$$-$RANDOM8366 (umask 077 && mkdir $tmp)8746 tmp=./conf$$-$RANDOM 8747 (umask 077 && mkdir "$tmp") 8367 8748 } || 8368 8749 { … … 8371 8752 } 8372 8753 8373 _ACEOF8374 8375 cat >>$CONFIG_STATUS <<_ACEOF8376 8377 8754 # 8378 # CONFIG_FILES section.8755 # Set up the sed scripts for CONFIG_FILES section. 8379 8756 # 8380 8757 8381 8758 # No need to generate the scripts if there are no CONFIG_FILES. 8382 8759 # This happens for instance when ./config.status config.h 8383 if test -n "\$CONFIG_FILES"; then 8384 # Protect against being on the right side of a sed subst in config.status. 8385 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8386 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8387 s,@SHELL@,$SHELL,;t t 8388 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8389 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8390 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8391 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8392 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8393 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8394 s,@exec_prefix@,$exec_prefix,;t t 8395 s,@prefix@,$prefix,;t t 8396 s,@program_transform_name@,$program_transform_name,;t t 8397 s,@bindir@,$bindir,;t t 8398 s,@sbindir@,$sbindir,;t t 8399 s,@libexecdir@,$libexecdir,;t t 8400 s,@datadir@,$datadir,;t t 8401 s,@sysconfdir@,$sysconfdir,;t t 8402 s,@sharedstatedir@,$sharedstatedir,;t t 8403 s,@localstatedir@,$localstatedir,;t t 8404 s,@libdir@,$libdir,;t t 8405 s,@includedir@,$includedir,;t t 8406 s,@oldincludedir@,$oldincludedir,;t t 8407 s,@infodir@,$infodir,;t t 8408 s,@mandir@,$mandir,;t t 8409 s,@build_alias@,$build_alias,;t t 8410 s,@host_alias@,$host_alias,;t t 8411 s,@target_alias@,$target_alias,;t t 8412 s,@DEFS@,$DEFS,;t t 8413 s,@ECHO_C@,$ECHO_C,;t t 8414 s,@ECHO_N@,$ECHO_N,;t t 8415 s,@ECHO_T@,$ECHO_T,;t t 8416 s,@LIBS@,$LIBS,;t t 8417 s,@build@,$build,;t t 8418 s,@build_cpu@,$build_cpu,;t t 8419 s,@build_vendor@,$build_vendor,;t t 8420 s,@build_os@,$build_os,;t t 8421 s,@host@,$host,;t t 8422 s,@host_cpu@,$host_cpu,;t t 8423 s,@host_vendor@,$host_vendor,;t t 8424 s,@host_os@,$host_os,;t t 8425 s,@target@,$target,;t t 8426 s,@target_cpu@,$target_cpu,;t t 8427 s,@target_vendor@,$target_vendor,;t t 8428 s,@target_os@,$target_os,;t t 8429 s,@PACKAGE@,$PACKAGE,;t t 8430 s,@VERSION@,$VERSION,;t t 8431 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8432 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8433 s,@CXX@,$CXX,;t t 8434 s,@CXXFLAGS@,$CXXFLAGS,;t t 8435 s,@LDFLAGS@,$LDFLAGS,;t t 8436 s,@CPPFLAGS@,$CPPFLAGS,;t t 8437 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8438 s,@EXEEXT@,$EXEEXT,;t t 8439 s,@OBJEXT@,$OBJEXT,;t t 8440 s,@AWK@,$AWK,;t t 8441 s,@YACC@,$YACC,;t t 8442 s,@CC@,$CC,;t t 8443 s,@CFLAGS@,$CFLAGS,;t t 8444 s,@ac_ct_CC@,$ac_ct_CC,;t t 8445 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8446 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8447 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8448 s,@LN_S@,$LN_S,;t t 8449 s,@SET_MAKE@,$SET_MAKE,;t t 8450 s,@RANLIB@,$RANLIB,;t t 8451 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8452 s,@CPP@,$CPP,;t t 8453 s,@EGREP@,$EGREP,;t t 8454 s,@U@,$U,;t t 8455 s,@ANSI2KNR@,$ANSI2KNR,;t t 8456 s,@UNAC_DIR@,$UNAC_DIR,;t t 8457 s,@LIBICONV_DIR@,$LIBICONV_DIR,;t t 8458 s,@ALLOCA@,$ALLOCA,;t t 8459 s,@LIBOBJS@,$LIBOBJS,;t t 8460 s,@JNIINC@,$JNIINC,;t t 8461 s,@JNISUFFIX@,$JNISUFFIX,;t t 8462 s,@JNIFLAGS@,$JNIFLAGS,;t t 8463 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8464 CEOF 8465 8466 _ACEOF 8467 8468 cat >>$CONFIG_STATUS <<\_ACEOF 8469 # Split the substitutions into bite-sized pieces for seds with 8470 # small command number limits, like on Digital OSF/1 and HP-UX. 8471 ac_max_sed_lines=48 8472 ac_sed_frag=1 # Number of current file. 8473 ac_beg=1 # First line for current file. 8474 ac_end=$ac_max_sed_lines # Line after last line for current file. 8475 ac_more_lines=: 8476 ac_sed_cmds= 8477 while $ac_more_lines; do 8478 if test $ac_beg -gt 1; then 8479 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8480 else 8481 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8760 if test -n "$CONFIG_FILES"; then 8761 8762 _ACEOF 8763 8764 8765 8766 ac_delim='%!_!# ' 8767 for ac_last_try in false false false false false :; do 8768 cat >conf$$subs.sed <<_ACEOF 8769 SHELL!$SHELL$ac_delim 8770 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8771 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8772 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8773 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8774 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8775 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8776 exec_prefix!$exec_prefix$ac_delim 8777 prefix!$prefix$ac_delim 8778 program_transform_name!$program_transform_name$ac_delim 8779 bindir!$bindir$ac_delim 8780 sbindir!$sbindir$ac_delim 8781 libexecdir!$libexecdir$ac_delim 8782 datarootdir!$datarootdir$ac_delim 8783 datadir!$datadir$ac_delim 8784 sysconfdir!$sysconfdir$ac_delim 8785 sharedstatedir!$sharedstatedir$ac_delim 8786 localstatedir!$localstatedir$ac_delim 8787 includedir!$includedir$ac_delim 8788 oldincludedir!$oldincludedir$ac_delim 8789 docdir!$docdir$ac_delim 8790 infodir!$infodir$ac_delim 8791 htmldir!$htmldir$ac_delim 8792 dvidir!$dvidir$ac_delim 8793 pdfdir!$pdfdir$ac_delim 8794 psdir!$psdir$ac_delim 8795 libdir!$libdir$ac_delim 8796 localedir!$localedir$ac_delim 8797 mandir!$mandir$ac_delim 8798 DEFS!$DEFS$ac_delim 8799 ECHO_C!$ECHO_C$ac_delim 8800 ECHO_N!$ECHO_N$ac_delim 8801 ECHO_T!$ECHO_T$ac_delim 8802 LIBS!$LIBS$ac_delim 8803 build_alias!$build_alias$ac_delim 8804 host_alias!$host_alias$ac_delim 8805 target_alias!$target_alias$ac_delim 8806 build!$build$ac_delim 8807 build_cpu!$build_cpu$ac_delim 8808 build_vendor!$build_vendor$ac_delim 8809 build_os!$build_os$ac_delim 8810 host!$host$ac_delim 8811 host_cpu!$host_cpu$ac_delim 8812 host_vendor!$host_vendor$ac_delim 8813 host_os!$host_os$ac_delim 8814 target!$target$ac_delim 8815 target_cpu!$target_cpu$ac_delim 8816 target_vendor!$target_vendor$ac_delim 8817 target_os!$target_os$ac_delim 8818 PACKAGE!$PACKAGE$ac_delim 8819 VERSION!$VERSION$ac_delim 8820 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim 8821 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim 8822 CXX!$CXX$ac_delim 8823 CXXFLAGS!$CXXFLAGS$ac_delim 8824 LDFLAGS!$LDFLAGS$ac_delim 8825 CPPFLAGS!$CPPFLAGS$ac_delim 8826 ac_ct_CXX!$ac_ct_CXX$ac_delim 8827 EXEEXT!$EXEEXT$ac_delim 8828 OBJEXT!$OBJEXT$ac_delim 8829 AWK!$AWK$ac_delim 8830 YACC!$YACC$ac_delim 8831 YFLAGS!$YFLAGS$ac_delim 8832 CC!$CC$ac_delim 8833 CFLAGS!$CFLAGS$ac_delim 8834 ac_ct_CC!$ac_ct_CC$ac_delim 8835 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8836 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8837 INSTALL_DATA!$INSTALL_DATA$ac_delim 8838 LN_S!$LN_S$ac_delim 8839 SET_MAKE!$SET_MAKE$ac_delim 8840 RANLIB!$RANLIB$ac_delim 8841 CPP!$CPP$ac_delim 8842 GREP!$GREP$ac_delim 8843 EGREP!$EGREP$ac_delim 8844 U!$U$ac_delim 8845 ANSI2KNR!$ANSI2KNR$ac_delim 8846 UNAC_DIR!$UNAC_DIR$ac_delim 8847 ALLOCA!$ALLOCA$ac_delim 8848 LIBOBJS!$LIBOBJS$ac_delim 8849 JNIINC!$JNIINC$ac_delim 8850 JNISUFFIX!$JNISUFFIX$ac_delim 8851 JNIFLAGS!$JNIFLAGS$ac_delim 8852 LTLIBOBJS!$LTLIBOBJS$ac_delim 8853 _ACEOF 8854 8855 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then 8856 break 8857 elif $ac_last_try; then 8858 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8859 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8860 { (exit 1); exit 1; }; } 8861 else 8862 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8863 fi 8864 done 8865 8866 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8867 if test -n "$ac_eof"; then 8868 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8869 ac_eof=`expr $ac_eof + 1` 8870 fi 8871 8872 cat >>$CONFIG_STATUS <<_ACEOF 8873 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8874 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8875 _ACEOF 8876 sed ' 8877 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8878 s/^/s,@/; s/!/@,|#_!!_#|/ 8879 :n 8880 t n 8881 s/'"$ac_delim"'$/,g/; t 8882 s/$/\\/; p 8883 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8884 ' >>$CONFIG_STATUS <conf$$subs.sed 8885 rm -f conf$$subs.sed 8886 cat >>$CONFIG_STATUS <<_ACEOF 8887 :end 8888 s/|#_!!_#|//g 8889 CEOF$ac_eof 8890 _ACEOF 8891 8892 8893 # VPATH may cause trouble with some makes, so we remove $(srcdir), 8894 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8895 # trailing colons and then remove the whole line if VPATH becomes empty 8896 # (actually we leave an empty line to preserve line numbers). 8897 if test "x$srcdir" = x.; then 8898 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8899 s/:*\$(srcdir):*/:/ 8900 s/:*\${srcdir}:*/:/ 8901 s/:*@srcdir@:*/:/ 8902 s/^\([^=]*=[ ]*\):*/\1/ 8903 s/:*$// 8904 s/^[^=]*=[ ]*$// 8905 }' 8906 fi 8907 8908 cat >>$CONFIG_STATUS <<\_ACEOF 8909 fi # test -n "$CONFIG_FILES" 8910 8911 8912 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 8913 do 8914 case $ac_tag in 8915 :[FHLC]) ac_mode=$ac_tag; continue;; 8916 esac 8917 case $ac_mode$ac_tag in 8918 :[FHL]*:*);; 8919 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8920 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 8921 { (exit 1); exit 1; }; };; 8922 :[FH]-) ac_tag=-:-;; 8923 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8924 esac 8925 ac_save_IFS=$IFS 8926 IFS=: 8927 set x $ac_tag 8928 IFS=$ac_save_IFS 8929 shift 8930 ac_file=$1 8931 shift 8932 8933 case $ac_mode in 8934 :L) ac_source=$1;; 8935 :[FH]) 8936 ac_file_inputs= 8937 for ac_f 8938 do 8939 case $ac_f in 8940 -) ac_f="$tmp/stdin";; 8941 *) # Look for the file first in the build tree, then in the source tree 8942 # (if the path is not absolute). The absolute path cannot be DOS-style, 8943 # because $ac_f cannot contain `:'. 8944 test -f "$ac_f" || 8945 case $ac_f in 8946 [\\/$]*) false;; 8947 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8948 esac || 8949 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8950 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 8951 { (exit 1); exit 1; }; };; 8952 esac 8953 ac_file_inputs="$ac_file_inputs $ac_f" 8954 done 8955 8956 # Let's still pretend it is `configure' which instantiates (i.e., don't 8957 # use $as_me), people would be surprised to read: 8958 # /* config.h. Generated by config.status. */ 8959 configure_input="Generated from "`IFS=: 8960 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8961 if test x"$ac_file" != x-; then 8962 configure_input="$ac_file. $configure_input" 8963 { echo "$as_me:$LINENO: creating $ac_file" >&5 8964 echo "$as_me: creating $ac_file" >&6;} 8482 8965 fi 8483 if test ! -s $tmp/subs.frag; then 8484 ac_more_lines=false 8485 else 8486 # The purpose of the label and of the branching condition is to 8487 # speed up the sed processing (if there are no `@' at all, there 8488 # is no need to browse any of the substitutions). 8489 # These are the two extra sed commands mentioned above. 8490 (echo ':t 8491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8492 if test -z "$ac_sed_cmds"; then 8493 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8494 else 8495 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8496 fi 8497 ac_sed_frag=`expr $ac_sed_frag + 1` 8498 ac_beg=$ac_end 8499 ac_end=`expr $ac_end + $ac_max_sed_lines` 8500 fi 8501 done 8502 if test -z "$ac_sed_cmds"; then 8503 ac_sed_cmds=cat 8504 fi 8505 fi # test -n "$CONFIG_FILES" 8506 8507 _ACEOF 8508 cat >>$CONFIG_STATUS <<\_ACEOF 8509 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8510 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8511 case $ac_file in 8512 - | *:- | *:-:* ) # input from stdin 8513 cat >$tmp/stdin 8514 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8515 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8516 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8517 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8518 * ) ac_file_in=$ac_file.in ;; 8966 8967 case $ac_tag in 8968 *:-:* | *:-) cat >"$tmp/stdin";; 8969 esac 8970 ;; 8519 8971 esac 8520 8972 8521 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8522 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8973 ac_dir=`$as_dirname -- "$ac_file" || 8523 8974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8524 8975 X"$ac_file" : 'X\(//\)[^/]' \| \ 8525 8976 X"$ac_file" : 'X\(//\)$' \| \ 8526 X"$ac_file" : 'X\(/\)' \| \ 8527 . : '\(.\)' 2>/dev/null || 8977 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8528 8978 echo X"$ac_file" | 8529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8530 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8531 /^X\(\/\/\)$/{ s//\1/; q; } 8532 /^X\(\/\).*/{ s//\1/; q; } 8533 s/.*/./; q'` 8534 { if $as_mkdir_p; then 8535 mkdir -p "$ac_dir" 8536 else 8537 as_dir="$ac_dir" 8979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8980 s//\1/ 8981 q 8982 } 8983 /^X\(\/\/\)[^/].*/{ 8984 s//\1/ 8985 q 8986 } 8987 /^X\(\/\/\)$/{ 8988 s//\1/ 8989 q 8990 } 8991 /^X\(\/\).*/{ 8992 s//\1/ 8993 q 8994 } 8995 s/.*/./; q'` 8996 { as_dir="$ac_dir" 8997 case $as_dir in #( 8998 -*) as_dir=./$as_dir;; 8999 esac 9000 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8538 9001 as_dirs= 8539 while test ! -d "$as_dir"; do 8540 as_dirs="$as_dir $as_dirs" 8541 as_dir=`(dirname "$as_dir") 2>/dev/null || 9002 while :; do 9003 case $as_dir in #( 9004 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 9005 *) as_qdir=$as_dir;; 9006 esac 9007 as_dirs="'$as_qdir' $as_dirs" 9008 as_dir=`$as_dirname -- "$as_dir" || 8542 9009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8543 9010 X"$as_dir" : 'X\(//\)[^/]' \| \ 8544 9011 X"$as_dir" : 'X\(//\)$' \| \ 8545 X"$as_dir" : 'X\(/\)' \| \ 8546 . : '\(.\)' 2>/dev/null || 9012 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8547 9013 echo X"$as_dir" | 8548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8549 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8550 /^X\(\/\/\)$/{ s//\1/; q; } 8551 /^X\(\/\).*/{ s//\1/; q; } 8552 s/.*/./; q'` 9014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9015 s//\1/ 9016 q 9017 } 9018 /^X\(\/\/\)[^/].*/{ 9019 s//\1/ 9020 q 9021 } 9022 /^X\(\/\/\)$/{ 9023 s//\1/ 9024 q 9025 } 9026 /^X\(\/\).*/{ 9027 s//\1/ 9028 q 9029 } 9030 s/.*/./; q'` 9031 test -d "$as_dir" && break 8553 9032 done 8554 test ! -n "$as_dirs" || mkdir $as_dirs8555 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58556 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}9033 test -z "$as_dirs" || eval "mkdir $as_dirs" 9034 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 9035 echo "$as_me: error: cannot create directory $as_dir" >&2;} 8557 9036 { (exit 1); exit 1; }; }; } 8558 8559 9037 ac_builddir=. 8560 9038 8561 if test "$ac_dir" != .; then 9039 case "$ac_dir" in 9040 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9041 *) 8562 9042 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8563 # A "../" for each directory in $ac_dir_suffix. 8564 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8565 else 8566 ac_dir_suffix= ac_top_builddir= 8567 fi 9043 # A ".." for each directory in $ac_dir_suffix. 9044 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 9045 case $ac_top_builddir_sub in 9046 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9047 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9048 esac ;; 9049 esac 9050 ac_abs_top_builddir=$ac_pwd 9051 ac_abs_builddir=$ac_pwd$ac_dir_suffix 9052 # for backward compatibility: 9053 ac_top_builddir=$ac_top_build_prefix 8568 9054 8569 9055 case $srcdir in 8570 .) # No --srcdir option.We are building in place.9056 .) # We are building in place. 8571 9057 ac_srcdir=. 8572 if test -z "$ac_top_builddir"; then 8573 ac_top_srcdir=. 8574 else 8575 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8576 fi ;; 8577 [\\/]* | ?:[\\/]* ) # Absolute path. 9058 ac_top_srcdir=$ac_top_builddir_sub 9059 ac_abs_top_srcdir=$ac_pwd ;; 9060 [\\/]* | ?:[\\/]* ) # Absolute name. 8578 9061 ac_srcdir=$srcdir$ac_dir_suffix; 8579 ac_top_srcdir=$srcdir ;; 8580 *) # Relative path. 8581 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8582 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8583 esac 8584 8585 # Do not use `cd foo && pwd` to compute absolute paths, because 8586 # the directories may not exist. 8587 case `pwd` in 8588 .) ac_abs_builddir="$ac_dir";; 8589 *) 8590 case "$ac_dir" in 8591 .) ac_abs_builddir=`pwd`;; 8592 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8593 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8594 esac;; 8595 esac 8596 case $ac_abs_builddir in 8597 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8598 *) 8599 case ${ac_top_builddir}. in 8600 .) ac_abs_top_builddir=$ac_abs_builddir;; 8601 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8602 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8603 esac;; 8604 esac 8605 case $ac_abs_builddir in 8606 .) ac_abs_srcdir=$ac_srcdir;; 8607 *) 8608 case $ac_srcdir in 8609 .) ac_abs_srcdir=$ac_abs_builddir;; 8610 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8611 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8612 esac;; 8613 esac 8614 case $ac_abs_builddir in 8615 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8616 *) 8617 case $ac_top_srcdir in 8618 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8619 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8620 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8621 esac;; 8622 esac 8623 9062 ac_top_srcdir=$srcdir 9063 ac_abs_top_srcdir=$srcdir ;; 9064 *) # Relative name. 9065 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9066 ac_top_srcdir=$ac_top_build_prefix$srcdir 9067 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9068 esac 9069 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9070 9071 9072 case $ac_mode in 9073 :F) 9074 # 9075 # CONFIG_FILE 9076 # 8624 9077 8625 9078 case $INSTALL in 8626 9079 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8627 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;9080 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8628 9081 esac 8629 8630 if test x"$ac_file" != x-; then 8631 { echo "$as_me:$LINENO: creating $ac_file" >&5 8632 echo "$as_me: creating $ac_file" >&6;} 8633 rm -f "$ac_file" 8634 fi 8635 # Let's still pretend it is `configure' which instantiates (i.e., don't 8636 # use $as_me), people would be surprised to read: 8637 # /* config.h. Generated by config.status. */ 8638 if test x"$ac_file" = x-; then 8639 configure_input= 8640 else 8641 configure_input="$ac_file. " 8642 fi 8643 configure_input=$configure_input"Generated from `echo $ac_file_in | 8644 sed 's,.*/,,'` by configure." 8645 8646 # First look for the input files in the build tree, otherwise in the 8647 # src tree. 8648 ac_file_inputs=`IFS=: 8649 for f in $ac_file_in; do 8650 case $f in 8651 -) echo $tmp/stdin ;; 8652 [\\/$]*) 8653 # Absolute (can't be DOS-style, as IFS=:) 8654 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8655 echo "$as_me: error: cannot find input file: $f" >&2;} 8656 { (exit 1); exit 1; }; } 8657 echo "$f";; 8658 *) # Relative 8659 if test -f "$f"; then 8660 # Build tree 8661 echo "$f" 8662 elif test -f "$srcdir/$f"; then 8663 # Source tree 8664 echo "$srcdir/$f" 8665 else 8666 # /dev/null tree 8667 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8668 echo "$as_me: error: cannot find input file: $f" >&2;} 8669 { (exit 1); exit 1; }; } 8670 fi;; 8671 esac 8672 done` || { (exit 1); exit 1; } 8673 _ACEOF 9082 _ACEOF 9083 9084 cat >>$CONFIG_STATUS <<\_ACEOF 9085 # If the template does not know about datarootdir, expand it. 9086 # FIXME: This hack should be removed a few years after 2.60. 9087 ac_datarootdir_hack=; ac_datarootdir_seen= 9088 9089 case `sed -n '/datarootdir/ { 9090 p 9091 q 9092 } 9093 /@datadir@/p 9094 /@docdir@/p 9095 /@infodir@/p 9096 /@localedir@/p 9097 /@mandir@/p 9098 ' $ac_file_inputs` in 9099 *datarootdir*) ac_datarootdir_seen=yes;; 9100 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9101 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9102 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9103 _ACEOF 9104 cat >>$CONFIG_STATUS <<_ACEOF 9105 ac_datarootdir_hack=' 9106 s&@datadir@&$datadir&g 9107 s&@docdir@&$docdir&g 9108 s&@infodir@&$infodir&g 9109 s&@localedir@&$localedir&g 9110 s&@mandir@&$mandir&g 9111 s&\\\${datarootdir}&$datarootdir&g' ;; 9112 esac 9113 _ACEOF 9114 9115 # Neutralize VPATH when `$srcdir' = `.'. 9116 # Shell code in configure.ac might set extrasub. 9117 # FIXME: do we really want to maintain this feature? 8674 9118 cat >>$CONFIG_STATUS <<_ACEOF 8675 9119 sed "$ac_vpsub … … 8679 9123 :t 8680 9124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8681 s,@configure_input@,$configure_input,;t t 8682 s,@srcdir@,$ac_srcdir,;t t 8683 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8684 s,@top_srcdir@,$ac_top_srcdir,;t t 8685 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8686 s,@builddir@,$ac_builddir,;t t 8687 s,@abs_builddir@,$ac_abs_builddir,;t t 8688 s,@top_builddir@,$ac_top_builddir,;t t 8689 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8690 s,@INSTALL@,$ac_INSTALL,;t t 8691 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8692 rm -f $tmp/stdin 8693 if test x"$ac_file" != x-; then 8694 mv $tmp/out $ac_file 8695 else 8696 cat $tmp/out 8697 rm -f $tmp/out 8698 fi 8699 8700 done 8701 _ACEOF 8702 cat >>$CONFIG_STATUS <<\_ACEOF 8703 8704 # 8705 # CONFIG_HEADER section. 8706 # 8707 8708 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8709 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8710 # 8711 # ac_d sets the value in "#define NAME VALUE" lines. 8712 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8713 ac_dB='[ ].*$,\1#\2' 9125 s&@configure_input@&$configure_input&;t t 9126 s&@top_builddir@&$ac_top_builddir_sub&;t t 9127 s&@srcdir@&$ac_srcdir&;t t 9128 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9129 s&@top_srcdir@&$ac_top_srcdir&;t t 9130 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9131 s&@builddir@&$ac_builddir&;t t 9132 s&@abs_builddir@&$ac_abs_builddir&;t t 9133 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9134 s&@INSTALL@&$ac_INSTALL&;t t 9135 $ac_datarootdir_hack 9136 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 9137 9138 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9139 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9140 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9141 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9142 which seems to be undefined. Please make sure it is defined." >&5 9143 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9144 which seems to be undefined. Please make sure it is defined." >&2;} 9145 9146 rm -f "$tmp/stdin" 9147 case $ac_file in 9148 -) cat "$tmp/out"; rm -f "$tmp/out";; 9149 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 9150 esac 9151 ;; 9152 :H) 9153 # 9154 # CONFIG_HEADER 9155 # 9156 _ACEOF 9157 9158 # Transform confdefs.h into a sed script `conftest.defines', that 9159 # substitutes the proper values into config.h.in to produce config.h. 9160 rm -f conftest.defines conftest.tail 9161 # First, append a space to every undef/define line, to ease matching. 9162 echo 's/$/ /' >conftest.defines 9163 # Then, protect against being on the right side of a sed subst, or in 9164 # an unquoted here document, in config.status. If some macros were 9165 # called several times there might be several #defines for the same 9166 # symbol, which is useless. But do not sort them, since the last 9167 # AC_DEFINE must be honored. 9168 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9169 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 9170 # NAME is the cpp macro being defined, VALUE is the value it is being given. 9171 # PARAMS is the parameter list in the macro definition--in most cases, it's 9172 # just an empty string. 9173 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 9174 ac_dB='\\)[ (].*,\\1define\\2' 8714 9175 ac_dC=' ' 8715 ac_dD=',;t' 8716 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8717 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8718 ac_uB='$,\1#\2define\3' 8719 ac_uC=' ' 8720 ac_uD=',;t' 8721 8722 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8723 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8724 case $ac_file in 8725 - | *:- | *:-:* ) # input from stdin 8726 cat >$tmp/stdin 8727 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8728 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8729 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8730 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8731 * ) ac_file_in=$ac_file.in ;; 8732 esac 8733 8734 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8735 echo "$as_me: creating $ac_file" >&6;} 8736 8737 # First look for the input files in the build tree, otherwise in the 8738 # src tree. 8739 ac_file_inputs=`IFS=: 8740 for f in $ac_file_in; do 8741 case $f in 8742 -) echo $tmp/stdin ;; 8743 [\\/$]*) 8744 # Absolute (can't be DOS-style, as IFS=:) 8745 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8746 echo "$as_me: error: cannot find input file: $f" >&2;} 8747 { (exit 1); exit 1; }; } 8748 # Do quote $f, to prevent DOS paths from being IFS'd. 8749 echo "$f";; 8750 *) # Relative 8751 if test -f "$f"; then 8752 # Build tree 8753 echo "$f" 8754 elif test -f "$srcdir/$f"; then 8755 # Source tree 8756 echo "$srcdir/$f" 8757 else 8758 # /dev/null tree 8759 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8760 echo "$as_me: error: cannot find input file: $f" >&2;} 8761 { (exit 1); exit 1; }; } 8762 fi;; 8763 esac 8764 done` || { (exit 1); exit 1; } 8765 # Remove the trailing spaces. 8766 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8767 8768 _ACEOF 8769 8770 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8771 # `conftest.undefs', that substitutes the proper values into 8772 # config.h.in to produce config.h. The first handles `#define' 8773 # templates, and the second `#undef' templates. 8774 # And first: Protect against being on the right side of a sed subst in 8775 # config.status. Protect against being in an unquoted here document 8776 # in config.status. 8777 rm -f conftest.defines conftest.undefs 8778 # Using a here document instead of a string reduces the quoting nightmare. 8779 # Putting comments in sed scripts is not portable. 8780 # 8781 # `end' is used to avoid that the second main sed command (meant for 8782 # 0-ary CPP macros) applies to n-ary macro definitions. 8783 # See the Autoconf documentation for `clear'. 8784 cat >confdef2sed.sed <<\_ACEOF 8785 s/[\\&,]/\\&/g 8786 s,[\\$`],\\&,g 8787 t clear 8788 : clear 8789 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8790 t end 8791 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8792 : end 8793 _ACEOF 8794 # If some macros were called several times there might be several times 8795 # the same #defines, which is useless. Nevertheless, we may not want to 8796 # sort them, since we want the *last* AC-DEFINE to be honored. 8797 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8798 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8799 rm -f confdef2sed.sed 8800 8801 # This sed command replaces #undef with comments. This is necessary, for 9176 ac_dD=' ,' 9177 9178 uniq confdefs.h | 9179 sed -n ' 9180 t rset 9181 :rset 9182 s/^[ ]*#[ ]*define[ ][ ]*// 9183 t ok 9184 d 9185 :ok 9186 s/[\\&,]/\\&/g 9187 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 9188 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 9189 ' >>conftest.defines 9190 9191 # Remove the space that was appended to ease matching. 9192 # Then replace #undef with comments. This is necessary, for 8802 9193 # example, in the case of _POSIX_SOURCE, which is predefined and required 8803 9194 # on some systems where configure will not decide to define it. 8804 cat >>conftest.undefs <<\_ACEOF 8805 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8806 _ACEOF 8807 8808 # Break up conftest.defines because some shells have a limit on the size 8809 # of here documents, and old seds have small limits too (100 cmds). 8810 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8811 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8812 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8813 echo ' :' >>$CONFIG_STATUS 8814 rm -f conftest.tail 8815 while grep . conftest.defines >/dev/null 9195 # (The regexp can be short, since the line contains either #define or #undef.) 9196 echo 's/ $// 9197 s,^[ #]*u.*,/* & */,' >>conftest.defines 9198 9199 # Break up conftest.defines: 9200 ac_max_sed_lines=50 9201 9202 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 9203 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 9204 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 9205 # et cetera. 9206 ac_in='$ac_file_inputs' 9207 ac_out='"$tmp/out1"' 9208 ac_nxt='"$tmp/out2"' 9209 9210 while : 8816 9211 do 8817 # Write a limited-size here document to $tmp/defines.sed. 8818 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8819 # Speed up: don't consider the non `#define' lines. 8820 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8821 # Work around the forget-to-reset-the-flag bug. 8822 echo 't clr' >>$CONFIG_STATUS 8823 echo ': clr' >>$CONFIG_STATUS 8824 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 9212 # Write a here document: 9213 cat >>$CONFIG_STATUS <<_ACEOF 9214 # First, check the format of the line: 9215 cat >"\$tmp/defines.sed" <<\\CEOF 9216 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 9217 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 9218 b 9219 :def 9220 _ACEOF 9221 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 8825 9222 echo 'CEOF 8826 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8827 rm -f $tmp/in 8828 mv $tmp/out $tmp/in 8829 ' >>$CONFIG_STATUS 8830 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 9223 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 9224 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 9225 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 9226 grep . conftest.tail >/dev/null || break 8831 9227 rm -f conftest.defines 8832 9228 mv conftest.tail conftest.defines 8833 9229 done 8834 rm -f conftest.defines 8835 echo ' fi # grep' >>$CONFIG_STATUS 8836 echo >>$CONFIG_STATUS 8837 8838 # Break up conftest.undefs because some shells have a limit on the size 8839 # of here documents, and old seds have small limits too (100 cmds). 8840 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8841 rm -f conftest.tail 8842 while grep . conftest.undefs >/dev/null 8843 do 8844 # Write a limited-size here document to $tmp/undefs.sed. 8845 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8846 # Speed up: don't consider the non `#undef' 8847 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8848 # Work around the forget-to-reset-the-flag bug. 8849 echo 't clr' >>$CONFIG_STATUS 8850 echo ': clr' >>$CONFIG_STATUS 8851 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8852 echo 'CEOF 8853 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8854 rm -f $tmp/in 8855 mv $tmp/out $tmp/in 8856 ' >>$CONFIG_STATUS 8857 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8858 rm -f conftest.undefs 8859 mv conftest.tail conftest.undefs 8860 done 8861 rm -f conftest.undefs 8862 9230 rm -f conftest.defines conftest.tail 9231 9232 echo "ac_result=$ac_in" >>$CONFIG_STATUS 8863 9233 cat >>$CONFIG_STATUS <<\_ACEOF 8864 # Let's still pretend it is `configure' which instantiates (i.e., don't8865 # use $as_me), people would be surprised to read:8866 # /* config.h. Generated by config.status. */8867 if test x"$ac_file" = x-; then8868 echo "/* Generated by configure. */" >$tmp/config.h8869 else8870 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8871 fi8872 cat $tmp/in >>$tmp/config.h8873 rm -f $tmp/in8874 9234 if test x"$ac_file" != x-; then 8875 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 9235 echo "/* $configure_input */" >"$tmp/config.h" 9236 cat "$ac_result" >>"$tmp/config.h" 9237 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 8876 9238 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8877 9239 echo "$as_me: $ac_file is unchanged" >&6;} 8878 9240 else 8879 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8880 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8881 X"$ac_file" : 'X\(//\)[^/]' \| \8882 X"$ac_file" : 'X\(//\)$' \| \8883 X"$ac_file" : 'X\(/\)' \| \8884 . : '\(.\)' 2>/dev/null ||8885 echo X"$ac_file" |8886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8887 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8888 /^X\(\/\/\)$/{ s//\1/; q; }8889 /^X\(\/\).*/{ s//\1/; q; }8890 s/.*/./; q'`8891 { if $as_mkdir_p; then8892 mkdir -p "$ac_dir"8893 else8894 as_dir="$ac_dir"8895 as_dirs=8896 while test ! -d "$as_dir"; do8897 as_dirs="$as_dir $as_dirs"8898 as_dir=`(dirname "$as_dir") 2>/dev/null ||8899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8900 X"$as_dir" : 'X\(//\)[^/]' \| \8901 X"$as_dir" : 'X\(//\)$' \| \8902 X"$as_dir" : 'X\(/\)' \| \8903 . : '\(.\)' 2>/dev/null ||8904 echo X"$as_dir" |8905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8906 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8907 /^X\(\/\/\)$/{ s//\1/; q; }8908 /^X\(\/\).*/{ s//\1/; q; }8909 s/.*/./; q'`8910 done8911 test ! -n "$as_dirs" || mkdir $as_dirs8912 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58913 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8914 { (exit 1); exit 1; }; }; }8915 8916 9241 rm -f $ac_file 8917 mv $tmp/config.h$ac_file9242 mv "$tmp/config.h" $ac_file 8918 9243 fi 8919 9244 else 8920 cat $tmp/config.h8921 rm -f $tmp/config.h9245 echo "/* $configure_input */" 9246 cat "$ac_result" 8922 9247 fi 8923 done 8924 _ACEOF 8925 cat >>$CONFIG_STATUS <<\_ACEOF 8926 8927 # 8928 # CONFIG_COMMANDS section. 8929 # 8930 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 8931 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 8932 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 8933 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 8934 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8935 X"$ac_dest" : 'X\(//\)[^/]' \| \ 8936 X"$ac_dest" : 'X\(//\)$' \| \ 8937 X"$ac_dest" : 'X\(/\)' \| \ 8938 . : '\(.\)' 2>/dev/null || 8939 echo X"$ac_dest" | 8940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8941 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8942 /^X\(\/\/\)$/{ s//\1/; q; } 8943 /^X\(\/\).*/{ s//\1/; q; } 8944 s/.*/./; q'` 8945 { if $as_mkdir_p; then 8946 mkdir -p "$ac_dir" 8947 else 8948 as_dir="$ac_dir" 8949 as_dirs= 8950 while test ! -d "$as_dir"; do 8951 as_dirs="$as_dir $as_dirs" 8952 as_dir=`(dirname "$as_dir") 2>/dev/null || 8953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8954 X"$as_dir" : 'X\(//\)[^/]' \| \ 8955 X"$as_dir" : 'X\(//\)$' \| \ 8956 X"$as_dir" : 'X\(/\)' \| \ 8957 . : '\(.\)' 2>/dev/null || 8958 echo X"$as_dir" | 8959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8960 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8961 /^X\(\/\/\)$/{ s//\1/; q; } 8962 /^X\(\/\).*/{ s//\1/; q; } 8963 s/.*/./; q'` 8964 done 8965 test ! -n "$as_dirs" || mkdir $as_dirs 8966 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8967 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8968 { (exit 1); exit 1; }; }; } 8969 8970 ac_builddir=. 8971 8972 if test "$ac_dir" != .; then 8973 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8974 # A "../" for each directory in $ac_dir_suffix. 8975 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8976 else 8977 ac_dir_suffix= ac_top_builddir= 8978 fi 8979 8980 case $srcdir in 8981 .) # No --srcdir option. We are building in place. 8982 ac_srcdir=. 8983 if test -z "$ac_top_builddir"; then 8984 ac_top_srcdir=. 8985 else 8986 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8987 fi ;; 8988 [\\/]* | ?:[\\/]* ) # Absolute path. 8989 ac_srcdir=$srcdir$ac_dir_suffix; 8990 ac_top_srcdir=$srcdir ;; 8991 *) # Relative path. 8992 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8993 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8994 esac 8995 8996 # Do not use `cd foo && pwd` to compute absolute paths, because 8997 # the directories may not exist. 8998 case `pwd` in 8999 .) ac_abs_builddir="$ac_dir";; 9000 *) 9001 case "$ac_dir" in 9002 .) ac_abs_builddir=`pwd`;; 9003 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9004 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9005 esac;; 9006 esac 9007 case $ac_abs_builddir in 9008 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9009 *) 9010 case ${ac_top_builddir}. in 9011 .) ac_abs_top_builddir=$ac_abs_builddir;; 9012 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9013 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9014 esac;; 9015 esac 9016 case $ac_abs_builddir in 9017 .) ac_abs_srcdir=$ac_srcdir;; 9018 *) 9019 case $ac_srcdir in 9020 .) ac_abs_srcdir=$ac_abs_builddir;; 9021 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9022 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9023 esac;; 9024 esac 9025 case $ac_abs_builddir in 9026 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9027 *) 9028 case $ac_top_srcdir in 9029 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9030 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9031 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9032 esac;; 9033 esac 9034 9035 9036 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 9037 echo "$as_me: executing $ac_dest commands" >&6;} 9038 case $ac_dest in 9039 default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; 9248 rm -f "$tmp/out12" 9249 ;; 9250 9251 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 9252 echo "$as_me: executing $ac_file commands" >&6;} 9253 ;; 9040 9254 esac 9041 done 9042 _ACEOF 9043 9044 cat >>$CONFIG_STATUS <<\_ACEOF 9255 9256 9257 case $ac_file$ac_mode in 9258 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; 9259 9260 esac 9261 done # for ac_tag 9262 9045 9263 9046 9264 { (exit 0); exit 0; } -
indexers/trunk/mgpp/configure.in
r20832 r20844 76 76 dnl look for libiconv package if not in standard location 77 77 dnl 78 AC_ARG_WITH(unac, [ --with-libiconv-prefix=dir Use local libiconv library], LIBICONV_DIR=$withval)79 AC_DEFINE_UNQUOTED(LIBICONV_DIR, "$LIBICONV_DIR")80 AC_SUBST(LIBICONV_DIR)78 #AC_ARG_WITH(unac, [ --with-libiconv-prefix=dir Use local libiconv library], LIBICONV_DIR=$withval) 79 #AC_DEFINE_UNQUOTED(LIBICONV_DIR, "$LIBICONV_DIR") 80 #AC_SUBST(LIBICONV_DIR) 81 81 82 82
Note:
See TracChangeset
for help on using the changeset viewer.