Changeset 20842
- Timestamp:
- 2009-10-22T19:47:46+13:00 (15 years ago)
- Location:
- gsdl/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/configure
r19264 r20842 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. … … 275 580 ac_includes_default="\ 276 581 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H582 #ifdef HAVE_SYS_TYPES_H 278 583 # include <sys/types.h> 279 584 #endif 280 #if HAVE_SYS_STAT_H585 #ifdef HAVE_SYS_STAT_H 281 586 # include <sys/stat.h> 282 587 #endif 283 #if STDC_HEADERS588 #ifdef STDC_HEADERS 284 589 # include <stdlib.h> 285 590 # include <stddef.h> 286 591 #else 287 # if HAVE_STDLIB_H592 # ifdef HAVE_STDLIB_H 288 593 # include <stdlib.h> 289 594 # endif 290 595 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H596 #ifdef HAVE_STRING_H 597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 598 # include <memory.h> 294 599 # endif 295 600 # include <string.h> 296 601 #endif 297 #if HAVE_STRINGS_H602 #ifdef HAVE_STRINGS_H 298 603 # include <strings.h> 299 604 #endif 300 #if HAVE_INTTYPES_H605 #ifdef HAVE_INTTYPES_H 301 606 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 607 #endif 307 #if HAVE_UNISTD_H 608 #ifdef HAVE_STDINT_H 609 # include <stdint.h> 610 #endif 611 #ifdef HAVE_UNISTD_H 308 612 # include <unistd.h> 309 613 #endif" 310 614 311 ac_subdirs_all="$ac_subdirs_all common-src build-src runtime-src" 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 PACKAGE 653 VERSION 654 USE_FASTCGI 655 USE_LANGACTION 656 USE_CORBA 657 MICO_DIR 658 USE_Z3950 659 USE_YAZ 660 ENABLE_ACCENTFOLD 661 USE_SQLITE 662 USE_APACHE_HTTPD 663 LDFLAGS 664 CFLAGS 665 CC 666 CPPFLAGS 667 ac_ct_CC 668 EXEEXT 669 OBJEXT 670 CXX 671 CXXFLAGS 672 ac_ct_CXX 673 AWK 674 YACC 675 YFLAGS 676 build 677 build_cpu 678 build_vendor 679 build_os 680 host 681 host_cpu 682 host_vendor 683 host_os 684 target 685 target_cpu 686 target_vendor 687 target_os 688 INSTALL_PROGRAM 689 INSTALL_SCRIPT 690 INSTALL_DATA 691 LN_S 692 SET_MAKE 693 RANLIB 694 COMPAT32BITFLAGS 695 MICO_VER 696 CPP 697 GREP 698 EGREP 699 U 700 ANSI2KNR 701 ALLOCA 702 LIBOBJS 703 STATIC 704 gsdlos 705 MODULEDIRS 706 subdirs 707 LTLIBOBJS' 313 708 ac_subst_files='' 709 ac_precious_vars='build_alias 710 host_alias 711 target_alias 712 CC 713 CFLAGS 714 LDFLAGS 715 LIBS 716 CPPFLAGS 717 CXX 718 CXXFLAGS 719 CCC 720 YACC 721 YFLAGS 722 CPP' 723 ac_subdirs_all='common-src build-src runtime-src' 314 724 315 725 # Initialize some variables set by options. … … 338 748 # by default will actually change. 339 749 # Use braces instead of parens because sh, perl, etc. also accept them. 750 # (The list follows the same order as the GNU Coding Standards.) 340 751 bindir='${exec_prefix}/bin' 341 752 sbindir='${exec_prefix}/sbin' 342 753 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 754 datarootdir='${prefix}/share' 755 datadir='${datarootdir}' 344 756 sysconfdir='${prefix}/etc' 345 757 sharedstatedir='${prefix}/com' 346 758 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 759 includedir='${prefix}/include' 349 760 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 761 docdir='${datarootdir}/doc/${PACKAGE}' 762 infodir='${datarootdir}/info' 763 htmldir='${docdir}' 764 dvidir='${docdir}' 765 pdfdir='${docdir}' 766 psdir='${docdir}' 767 libdir='${exec_prefix}/lib' 768 localedir='${datarootdir}/locale' 769 mandir='${datarootdir}/man' 352 770 353 771 ac_prev= 772 ac_dashdash= 354 773 for ac_option 355 774 do 356 775 # If the previous option needs an argument, assign it. 357 776 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"777 eval $ac_prev=\$ac_option 359 778 ac_prev= 360 779 continue 361 780 fi 362 781 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 782 case $ac_option in 783 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 784 *) ac_optarg=yes ;; 785 esac 364 786 365 787 # Accept the important Cygnus configure options, so we can diagnose typos. 366 788 367 case $ac_option in 789 case $ac_dashdash$ac_option in 790 --) 791 ac_dashdash=yes ;; 368 792 369 793 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 811 cache_file=config.cache ;; 388 812 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)813 -datadir | --datadir | --datadi | --datad) 390 814 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 815 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 816 datadir=$ac_optarg ;; 817 818 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 819 | --dataroo | --dataro | --datar) 820 ac_prev=datarootdir ;; 821 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 822 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 823 datarootdir=$ac_optarg ;; 394 824 395 825 -disable-* | --disable-*) 396 826 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 827 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&828 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 399 829 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 830 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 831 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 832 eval enable_$ac_feature=no ;; 833 834 -docdir | --docdir | --docdi | --doc | --do) 835 ac_prev=docdir ;; 836 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 837 docdir=$ac_optarg ;; 838 839 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 840 ac_prev=dvidir ;; 841 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 842 dvidir=$ac_optarg ;; 403 843 404 844 -enable-* | --enable-*) 405 845 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 846 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 408 848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 849 { (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'" ;; 850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 851 eval enable_$ac_feature=\$ac_optarg ;; 416 852 417 853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 876 host_alias=$ac_optarg ;; 441 877 878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 879 ac_prev=htmldir ;; 880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 881 | --ht=*) 882 htmldir=$ac_optarg ;; 883 442 884 -includedir | --includedir | --includedi | --included | --include \ 443 885 | --includ | --inclu | --incl | --inc) … … 464 906 libexecdir=$ac_optarg ;; 465 907 908 -localedir | --localedir | --localedi | --localed | --locale) 909 ac_prev=localedir ;; 910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 911 localedir=$ac_optarg ;; 912 466 913 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 914 | --localstate | --localstat | --localsta | --localst | --locals) 469 915 ac_prev=localstatedir ;; 470 916 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 918 localstatedir=$ac_optarg ;; 474 919 … … 535 980 program_transform_name=$ac_optarg ;; 536 981 982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 983 ac_prev=pdfdir ;; 984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 985 pdfdir=$ac_optarg ;; 986 987 -psdir | --psdir | --psdi | --psd | --ps) 988 ac_prev=psdir ;; 989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 990 psdir=$ac_optarg ;; 991 537 992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 993 | -silent | --silent | --silen | --sile | --sil) … … 587 1042 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1043 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1044 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 590 1045 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 1046 { (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'" ;; 1047 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1048 eval with_$ac_package=\$ac_optarg ;; 598 1049 599 1050 -without-* | --without-*) 600 1051 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1052 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1053 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 603 1054 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 1055 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/ -/_/g'`606 eval "with_$ac_package=no";;1056 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1057 eval with_$ac_package=no ;; 607 1058 608 1059 --x) … … 635 1086 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 1087 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1088 eval $ac_envvar=\$ac_optarg 639 1089 export $ac_envvar ;; 640 1090 … … 656 1106 fi 657 1107 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1108 # Be sure to have absolute directory names. 1109 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1110 datadir sysconfdir sharedstatedir localstatedir includedir \ 1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1112 libdir localedir mandir 660 1113 do 661 eval ac_val= $`echo $ac_var`1114 eval ac_val=\$$ac_var 662 1115 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; }; };; 1116 [\\/$]* | ?:[\\/]* ) continue;; 1117 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 666 1118 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 1119 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1120 { (exit 1); exit 1; }; } 679 1121 done 680 1122 … … 703 1145 704 1146 1147 ac_pwd=`pwd` && test -n "$ac_pwd" && 1148 ac_ls_di=`ls -di .` && 1149 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1150 { echo "$as_me: error: Working directory cannot be determined" >&2 1151 { (exit 1); exit 1; }; } 1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1153 { echo "$as_me: error: pwd does not report name of working directory" >&2 1154 { (exit 1); exit 1; }; } 1155 1156 705 1157 # Find the source files, if location was not specified. 706 1158 if test -z "$srcdir"; then 707 1159 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent.709 ac_confdir=` (dirname "$0") 2>/dev/null||1160 # Try the directory containing this script, then the parent directory. 1161 ac_confdir=`$as_dirname -- "$0" || 710 1162 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 1163 X"$0" : 'X\(//\)[^/]' \| \ 712 1164 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 1165 X"$0" : 'X\(/\)' \| . 2>/dev/null || 715 1166 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'` 1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1168 s//\1/ 1169 q 1170 } 1171 /^X\(\/\/\)[^/].*/{ 1172 s//\1/ 1173 q 1174 } 1175 /^X\(\/\/\)$/{ 1176 s//\1/ 1177 q 1178 } 1179 /^X\(\/\).*/{ 1180 s//\1/ 1181 q 1182 } 1183 s/.*/./; q'` 721 1184 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1185 if test ! -r "$srcdir/$ac_unique_file"; then 723 1186 srcdir=.. 724 1187 fi … … 726 1189 ac_srcdir_defaulted=no 727 1190 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 .." >&21191 if test ! -r "$srcdir/$ac_unique_file"; then 1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1193 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 731 1194 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1195 fi 1196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1197 ac_abs_confdir=`( 1198 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 734 1199 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1200 pwd)` 1201 # When building in place, set srcdir=. 1202 if test "$ac_abs_confdir" = "$ac_pwd"; then 1203 srcdir=. 1204 fi 1205 # Remove unnecessary trailing slashes from srcdir. 1206 # Double slashes in file names in object file debugging info 1207 # mess up M-x gdb in Emacs. 1208 case $srcdir in 1209 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1210 esac 1211 for ac_var in $ac_precious_vars; do 1212 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1213 eval ac_env_${ac_var}_value=\$${ac_var} 1214 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1215 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1216 done 781 1217 782 1218 # … … 807 1243 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1244 809 _ACEOF810 811 cat <<_ACEOF812 1245 Installation directories: 813 1246 --prefix=PREFIX install architecture-independent files in PREFIX … … 827 1260 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 1261 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share]830 1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 834 1266 --includedir=DIR C header files [PREFIX/include] 835 1267 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1270 --infodir=DIR info documentation [DATAROOTDIR/info] 1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1272 --mandir=DIR man documentation [DATAROOTDIR/man] 1273 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1274 --htmldir=DIR html documentation [DOCDIR] 1275 --dvidir=DIR dvi documentation [DOCDIR] 1276 --pdfdir=DIR pdf documentation [DOCDIR] 1277 --psdir=DIR ps documentation [DOCDIR] 838 1278 _ACEOF 839 1279 … … 874 1314 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 875 1315 nonstandard directory <lib dir> 876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 877 headers in a nonstandard directory <include dir> 1316 LIBS libraries to pass to the linker, e.g. -l<library> 1317 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1318 you have headers in a nonstandard directory <include dir> 878 1319 CXX C++ compiler command 879 1320 CXXFLAGS C++ compiler flags 1321 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1322 the first program found out of: `bison -y', `byacc', `yacc'. 1323 YFLAGS The list of arguments that will be passed by default to $YACC. 1324 This script will default YFLAGS to the empty string to avoid a 1325 default value of `-d' given by some make applications. 880 1326 CPP C preprocessor 881 1327 … … 884 1330 885 1331 _ACEOF 1332 ac_status=$? 886 1333 fi 887 1334 888 1335 if test "$ac_init_help" = "recursive"; then 889 1336 # If there are subdirs, report their specific --help. 890 ac_popdir=`pwd`891 1337 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 892 test -d $ac_dir|| continue1338 test -d "$ac_dir" || continue 893 1339 ac_builddir=. 894 1340 895 if test "$ac_dir" != .; then 1341 case "$ac_dir" in 1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1343 *) 896 1344 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 897 # A "../" for each directory in $ac_dir_suffix. 898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 899 else 900 ac_dir_suffix= ac_top_builddir= 901 fi 1345 # A ".." for each directory in $ac_dir_suffix. 1346 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1347 case $ac_top_builddir_sub in 1348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1350 esac ;; 1351 esac 1352 ac_abs_top_builddir=$ac_pwd 1353 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1354 # for backward compatibility: 1355 ac_top_builddir=$ac_top_build_prefix 902 1356 903 1357 case $srcdir in 904 .) # No --srcdir option.We are building in place.1358 .) # We are building in place. 905 1359 ac_srcdir=. 906 if test -z "$ac_top_builddir"; then 907 ac_top_srcdir=. 908 else 909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 910 fi ;; 911 [\\/]* | ?:[\\/]* ) # Absolute path. 1360 ac_top_srcdir=$ac_top_builddir_sub 1361 ac_abs_top_srcdir=$ac_pwd ;; 1362 [\\/]* | ?:[\\/]* ) # Absolute name. 912 1363 ac_srcdir=$srcdir$ac_dir_suffix; 913 ac_top_srcdir=$srcdir ;; 914 *) # Relative path. 915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 916 ac_top_srcdir=$ac_top_builddir$srcdir ;; 917 esac 918 919 # Do not use `cd foo && pwd` to compute absolute paths, because 920 # the directories may not exist. 921 case `pwd` in 922 .) ac_abs_builddir="$ac_dir";; 923 *) 924 case "$ac_dir" in 925 .) ac_abs_builddir=`pwd`;; 926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 927 *) ac_abs_builddir=`pwd`/"$ac_dir";; 928 esac;; 929 esac 930 case $ac_abs_builddir in 931 .) ac_abs_top_builddir=${ac_top_builddir}.;; 932 *) 933 case ${ac_top_builddir}. in 934 .) ac_abs_top_builddir=$ac_abs_builddir;; 935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 937 esac;; 938 esac 939 case $ac_abs_builddir in 940 .) ac_abs_srcdir=$ac_srcdir;; 941 *) 942 case $ac_srcdir in 943 .) ac_abs_srcdir=$ac_abs_builddir;; 944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 946 esac;; 947 esac 948 case $ac_abs_builddir in 949 .) ac_abs_top_srcdir=$ac_top_srcdir;; 950 *) 951 case $ac_top_srcdir in 952 .) ac_abs_top_srcdir=$ac_abs_builddir;; 953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 955 esac;; 956 esac 957 958 cd $ac_dir 959 # Check for guested configure; otherwise get Cygnus style configure. 960 if test -f $ac_srcdir/configure.gnu; then 961 echo 962 $SHELL $ac_srcdir/configure.gnu --help=recursive 963 elif test -f $ac_srcdir/configure; then 964 echo 965 $SHELL $ac_srcdir/configure --help=recursive 966 elif test -f $ac_srcdir/configure.ac || 967 test -f $ac_srcdir/configure.in; then 968 echo 969 $ac_configure --help 1364 ac_top_srcdir=$srcdir 1365 ac_abs_top_srcdir=$srcdir ;; 1366 *) # Relative name. 1367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1368 ac_top_srcdir=$ac_top_build_prefix$srcdir 1369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1370 esac 1371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1372 1373 cd "$ac_dir" || { ac_status=$?; continue; } 1374 # Check for guested configure. 1375 if test -f "$ac_srcdir/configure.gnu"; then 1376 echo && 1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1378 elif test -f "$ac_srcdir/configure"; then 1379 echo && 1380 $SHELL "$ac_srcdir/configure" --help=recursive 970 1381 else 971 1382 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 972 fi 973 cd $ac_popdir1383 fi || ac_status=$? 1384 cd "$ac_pwd" || { ac_status=$?; break; } 974 1385 done 975 1386 fi 976 1387 977 test -n "$ac_init_help" && exit 01388 test -n "$ac_init_help" && exit $ac_status 978 1389 if $ac_init_version; then 979 1390 cat <<\_ACEOF 980 981 Copyright (C) 2003 Free Software Foundation, Inc. 1391 configure 1392 generated by GNU Autoconf 2.61 1393 1394 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1395 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 982 1396 This configure script is free software; the Free Software Foundation 983 1397 gives unlimited permission to copy, distribute and modify it. 984 1398 _ACEOF 985 exit 0 986 fi 987 exec 5>config.log 988 cat >&5 <<_ACEOF 1399 exit 1400 fi 1401 cat >config.log <<_ACEOF 989 1402 This file contains any messages produced by compilers while 990 1403 running configure, to aid debugging if configure makes a mistake. 991 1404 992 1405 It was created by $as_me, which was 993 generated by GNU Autoconf 2. 59. Invocation command line was1406 generated by GNU Autoconf 2.61. Invocation command line was 994 1407 995 1408 $ $0 $@ 996 1409 997 1410 _ACEOF 1411 exec 5>>config.log 998 1412 { 999 1413 cat <<_ASUNAME … … 1014 1428 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1015 1429 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1016 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1430 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1017 1431 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1018 1432 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1028 1442 echo "PATH: $as_dir" 1029 1443 done 1444 IFS=$as_save_IFS 1030 1445 1031 1446 } >&5 … … 1049 1464 ac_configure_args0= 1050 1465 ac_configure_args1= 1051 ac_sep=1052 1466 ac_must_keep_next=false 1053 1467 for ac_pass in 1 2 … … 1060 1474 | -silent | --silent | --silen | --sile | --sil) 1061 1475 continue ;; 1062 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1476 *\'*) 1063 1477 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1064 1478 esac … … 1082 1496 esac 1083 1497 fi 1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1085 # Get rid of the leading space. 1086 ac_sep=" " 1498 ac_configure_args="$ac_configure_args '$ac_arg'" 1087 1499 ;; 1088 1500 esac … … 1095 1507 # config.log. We remove comments because anyway the quotes in there 1096 1508 # would cause problems or look ugly. 1097 # WARNING: Be sure not to use single quotes in there, as some shells,1098 # such as our DU 5.0 friend, will then `close' the trap.1509 # WARNING: Use '\'' to represent an apostrophe within the trap. 1510 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1099 1511 trap 'exit_status=$? 1100 1512 # Save into config.log some information that might help in debugging. … … 1109 1521 echo 1110 1522 # The following way of writing the cache mishandles newlines in values, 1111 { 1523 ( 1524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1525 eval ac_val=\$$ac_var 1526 case $ac_val in #( 1527 *${as_nl}*) 1528 case $ac_var in #( 1529 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1530 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1531 esac 1532 case $ac_var in #( 1533 _ | IFS | as_nl) ;; #( 1534 *) $as_unset $ac_var ;; 1535 esac ;; 1536 esac 1537 done 1112 1538 (set) 2>&1 | 1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1114 * ac_space=\ *)1539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1540 *${as_nl}ac_space=\ *) 1115 1541 sed -n \ 1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1542 "s/'\''/'\''\\\\'\'''\''/g; 1543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1544 ;; #( 1545 *) 1546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1118 1547 ;; 1119 *) 1120 sed -n \ 1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1122 ;; 1123 esac; 1124 } 1548 esac | 1549 sort 1550 ) 1125 1551 echo 1126 1552 … … 1133 1559 for ac_var in $ac_subst_vars 1134 1560 do 1135 eval ac_val=$`echo $ac_var` 1136 echo "$ac_var='"'"'$ac_val'"'"'" 1561 eval ac_val=\$$ac_var 1562 case $ac_val in 1563 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1564 esac 1565 echo "$ac_var='\''$ac_val'\''" 1137 1566 done | sort 1138 1567 echo … … 1140 1569 if test -n "$ac_subst_files"; then 1141 1570 cat <<\_ASBOX 1142 ## ------------- ##1143 ## Output files. ##1144 ## ------------- ##1571 ## ------------------- ## 1572 ## File substitutions. ## 1573 ## ------------------- ## 1145 1574 _ASBOX 1146 1575 echo 1147 1576 for ac_var in $ac_subst_files 1148 1577 do 1149 eval ac_val=$`echo $ac_var` 1150 echo "$ac_var='"'"'$ac_val'"'"'" 1578 eval ac_val=\$$ac_var 1579 case $ac_val in 1580 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1581 esac 1582 echo "$ac_var='\''$ac_val'\''" 1151 1583 done | sort 1152 1584 echo … … 1160 1592 _ASBOX 1161 1593 echo 1162 sed "/^$/d" confdefs.h | sort1594 cat confdefs.h 1163 1595 echo 1164 1596 fi … … 1167 1599 echo "$as_me: exit $exit_status" 1168 1600 } >&5 1169 rm -f core *.core &&1170 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1601 rm -f core *.core core.conftest.* && 1602 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1171 1603 exit $exit_status 1172 1604 ' 0 1173 1605 for ac_signal in 1 2 13 15; do 1174 1606 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1177 1609 1178 1610 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1179 rm -rf conftest* confdefs.h 1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1181 echo >confdefs.h 1611 rm -f -r conftest* confdefs.h 1182 1612 1183 1613 # Predefined preprocessor variables. … … 1210 1640 # Let the site file select an alternate cache file if it wants to. 1211 1641 # Prefer explicitly selected file to automatically selected ones. 1212 if test -z "$CONFIG_SITE"; then 1213 if test "x$prefix" != xNONE; then 1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1215 else 1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1217 fi 1218 fi 1219 for ac_site_file in $CONFIG_SITE; do 1642 if test -n "$CONFIG_SITE"; then 1643 set x "$CONFIG_SITE" 1644 elif test "x$prefix" != xNONE; then 1645 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1646 else 1647 set x "$ac_default_prefix/share/config.site" \ 1648 "$ac_default_prefix/etc/config.site" 1649 fi 1650 shift 1651 for ac_site_file 1652 do 1220 1653 if test -r "$ac_site_file"; then 1221 1654 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1233 1666 echo "$as_me: loading cache $cache_file" >&6;} 1234 1667 case $cache_file in 1235 [\\/]* | ?:[\\/]* ) . $cache_file;;1236 *) . ./$cache_file;;1668 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1669 *) . "./$cache_file";; 1237 1670 esac 1238 1671 fi … … 1246 1679 # value. 1247 1680 ac_cache_corrupted=false 1248 for ac_var in `(set) 2>&1 | 1249 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1681 for ac_var in $ac_precious_vars; do 1250 1682 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1251 1683 eval ac_new_set=\$ac_env_${ac_var}_set 1252 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1253 eval ac_new_val= "\$ac_env_${ac_var}_value"1684 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1685 eval ac_new_val=\$ac_env_${ac_var}_value 1254 1686 case $ac_old_set,$ac_new_set in 1255 1687 set,) … … 1276 1708 if test "$ac_new_set" = set; then 1277 1709 case $ac_new_val in 1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1279 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1710 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1280 1711 *) ac_arg=$ac_var=$ac_new_val ;; 1281 1712 esac … … 1294 1725 fi 1295 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1296 1743 ac_ext=c 1297 1744 ac_cpp='$CPP $CPPFLAGS' … … 1301 1748 1302 1749 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 ac_config_headers="$ac_config_headers config.h" 1750 ac_config_headers="$ac_config_headers config.h" 1321 1751 1322 1752 … … 1352 1782 fi 1353 1783 1354 # Check whether --enable-corba or --disable-corbawas given.1784 # Check whether --enable-corba was given. 1355 1785 if test "${enable_corba+set}" = set; then 1356 enableval="$enable_corba" 1357 USE_CORBA=1 1786 enableval=$enable_corba; USE_CORBA=1 1358 1787 else 1359 1788 USE_CORBA=0 1360 fi; 1789 fi 1790 1361 1791 cat >>confdefs.h <<_ACEOF 1362 1792 #define USE_CORBA $USE_CORBA … … 1366 1796 1367 1797 1368 # Check whether --with-micodir or --without-micodirwas given.1798 # Check whether --with-micodir was given. 1369 1799 if test "${with_micodir+set}" = set; then 1370 withval="$with_micodir" 1371 MICO_DIR=$enableval 1800 withval=$with_micodir; MICO_DIR=$enableval 1372 1801 else 1373 1802 MICO_DIR="default" 1374 fi; 1803 fi 1804 1375 1805 cat >>confdefs.h <<_ACEOF 1376 1806 #define MICO_DIR "$MICO_DIR" … … 1379 1809 1380 1810 1381 # Check whether --enable-z3950 or --disable-z3950was given.1811 # Check whether --enable-z3950 was given. 1382 1812 if test "${enable_z3950+set}" = set; then 1383 enableval="$enable_z3950" 1384 USE_Z3950=1 1813 enableval=$enable_z3950; USE_Z3950=1 1385 1814 else 1386 1815 USE_Z3950=0 1387 fi; 1816 fi 1817 1388 1818 if test USE_Z3950 = 1; then 1389 1819 cat >>confdefs.h <<\_ACEOF … … 1394 1824 fi 1395 1825 1396 # Check whether --enable-yaz or --disable-yazwas given.1826 # Check whether --enable-yaz was given. 1397 1827 if test "${enable_yaz+set}" = set; then 1398 enableval="$enable_yaz" 1399 USE_YAZ=0 1828 enableval=$enable_yaz; USE_YAZ=0 1400 1829 else 1401 1830 USE_YAZ=1 1402 fi; 1831 fi 1832 1403 1833 cat >>confdefs.h <<\_ACEOF 1404 1834 #define USE_YAZ $USE_YAZ … … 1407 1837 1408 1838 1409 # Check whether --enable-accentfold or --disable-accentfoldwas given.1839 # Check whether --enable-accentfold was given. 1410 1840 if test "${enable_accentfold+set}" = set; then 1411 enableval="$enable_accentfold" 1412 ENABLE_ACCENTFOLD=0 1841 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1413 1842 else 1414 1843 ENABLE_ACCENTFOLD=1 1415 fi; 1844 fi 1845 1416 1846 cat >>confdefs.h <<\_ACEOF 1417 1847 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD … … 1420 1850 1421 1851 1422 # Check whether --enable-sqlite or --disable-sqlitewas given.1852 # Check whether --enable-sqlite was given. 1423 1853 if test "${enable_sqlite+set}" = set; then 1424 enableval="$enable_sqlite" 1425 USE_SQLITE=0 1854 enableval=$enable_sqlite; USE_SQLITE=0 1426 1855 else 1427 1856 USE_SQLITE=1 1428 fi; 1857 fi 1858 1429 1859 cat >>confdefs.h <<\_ACEOF 1430 1860 #define USE_SQLITE $USE_SQLITE … … 1433 1863 1434 1864 1435 # Check whether --enable-apache-httpd or --disable-apache-httpdwas given.1865 # Check whether --enable-apache-httpd was given. 1436 1866 if test "${enable_apache_httpd+set}" = set; then 1437 enableval="$enable_apache_httpd" 1438 USE_APACHE_HTTPD=0 1867 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0 1439 1868 else 1440 1869 USE_APACHE_HTTPD=1 1441 fi; 1870 fi 1871 1442 1872 cat >>confdefs.h <<\_ACEOF 1443 1873 #define USE_APACHE_HTTPD $USE_APACHE_HTTPD … … 1463 1893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1464 1894 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1465 echo "$as_me:$LINENO: checking for $ac_word" >&51466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1895 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1467 1897 if test "${ac_cv_prog_CC+set}" = set; then 1468 1898 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1477 1907 test -z "$as_dir" && as_dir=. 1478 1908 for ac_exec_ext in '' $ac_executable_extensions; do 1479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1480 1910 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1481 1911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1484 1914 done 1485 1915 done 1916 IFS=$as_save_IFS 1486 1917 1487 1918 fi … … 1489 1920 CC=$ac_cv_prog_CC 1490 1921 if test -n "$CC"; then 1491 echo "$as_me:$LINENO: result: $CC" >&5 1492 echo "${ECHO_T}$CC" >&6 1493 else 1494 echo "$as_me:$LINENO: result: no" >&5 1495 echo "${ECHO_T}no" >&6 1496 fi 1922 { echo "$as_me:$LINENO: result: $CC" >&5 1923 echo "${ECHO_T}$CC" >&6; } 1924 else 1925 { echo "$as_me:$LINENO: result: no" >&5 1926 echo "${ECHO_T}no" >&6; } 1927 fi 1928 1497 1929 1498 1930 fi … … 1501 1933 # Extract the first word of "gcc", so it can be a program name with args. 1502 1934 set dummy gcc; ac_word=$2 1503 echo "$as_me:$LINENO: checking for $ac_word" >&51504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1935 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1505 1937 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1506 1938 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1515 1947 test -z "$as_dir" && as_dir=. 1516 1948 for ac_exec_ext in '' $ac_executable_extensions; do 1517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1518 1950 ac_cv_prog_ac_ct_CC="gcc" 1519 1951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1522 1954 done 1523 1955 done 1956 IFS=$as_save_IFS 1524 1957 1525 1958 fi … … 1527 1960 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1528 1961 if test -n "$ac_ct_CC"; then 1529 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1530 echo "${ECHO_T}$ac_ct_CC" >&6 1531 else 1532 echo "$as_me:$LINENO: result: no" >&5 1533 echo "${ECHO_T}no" >&6 1534 fi 1535 1536 CC=$ac_ct_CC 1962 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1963 echo "${ECHO_T}$ac_ct_CC" >&6; } 1964 else 1965 { echo "$as_me:$LINENO: result: no" >&5 1966 echo "${ECHO_T}no" >&6; } 1967 fi 1968 1969 if test "x$ac_ct_CC" = x; then 1970 CC="" 1971 else 1972 case $cross_compiling:$ac_tool_warned in 1973 yes:) 1974 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1975 whose name does not start with the host triplet. If you think this 1976 configuration is useful to you, please write to [email protected]." >&5 1977 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1978 whose name does not start with the host triplet. If you think this 1979 configuration is useful to you, please write to [email protected]." >&2;} 1980 ac_tool_warned=yes ;; 1981 esac 1982 CC=$ac_ct_CC 1983 fi 1537 1984 else 1538 1985 CC="$ac_cv_prog_CC" … … 1540 1987 1541 1988 if test -z "$CC"; then 1542 if test -n "$ac_tool_prefix"; then1543 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.1989 if test -n "$ac_tool_prefix"; then 1990 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1544 1991 set dummy ${ac_tool_prefix}cc; ac_word=$2 1545 echo "$as_me:$LINENO: checking for $ac_word" >&51546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1992 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1547 1994 if test "${ac_cv_prog_CC+set}" = set; then 1548 1995 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1557 2004 test -z "$as_dir" && as_dir=. 1558 2005 for ac_exec_ext in '' $ac_executable_extensions; do 1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1560 2007 ac_cv_prog_CC="${ac_tool_prefix}cc" 1561 2008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1564 2011 done 1565 2012 done 2013 IFS=$as_save_IFS 1566 2014 1567 2015 fi … … 1569 2017 CC=$ac_cv_prog_CC 1570 2018 if test -n "$CC"; then 1571 echo "$as_me:$LINENO: result: $CC" >&5 1572 echo "${ECHO_T}$CC" >&6 1573 else 1574 echo "$as_me:$LINENO: result: no" >&5 1575 echo "${ECHO_T}no" >&6 1576 fi 1577 1578 fi 1579 if test -z "$ac_cv_prog_CC"; then 1580 ac_ct_CC=$CC 1581 # Extract the first word of "cc", so it can be a program name with args. 1582 set dummy cc; ac_word=$2 1583 echo "$as_me:$LINENO: checking for $ac_word" >&5 1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1586 echo $ECHO_N "(cached) $ECHO_C" >&6 1587 else 1588 if test -n "$ac_ct_CC"; then 1589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1590 else 1591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1592 for as_dir in $PATH 1593 do 1594 IFS=$as_save_IFS 1595 test -z "$as_dir" && as_dir=. 1596 for ac_exec_ext in '' $ac_executable_extensions; do 1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1598 ac_cv_prog_ac_ct_CC="cc" 1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1600 break 2 2019 { echo "$as_me:$LINENO: result: $CC" >&5 2020 echo "${ECHO_T}$CC" >&6; } 2021 else 2022 { echo "$as_me:$LINENO: result: no" >&5 2023 echo "${ECHO_T}no" >&6; } 2024 fi 2025 2026 1601 2027 fi 1602 done1603 done1604 1605 fi1606 fi1607 ac_ct_CC=$ac_cv_prog_ac_ct_CC1608 if test -n "$ac_ct_CC"; then1609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51610 echo "${ECHO_T}$ac_ct_CC" >&61611 else1612 echo "$as_me:$LINENO: result: no" >&51613 echo "${ECHO_T}no" >&61614 fi1615 1616 CC=$ac_ct_CC1617 else1618 CC="$ac_cv_prog_CC"1619 fi1620 1621 2028 fi 1622 2029 if test -z "$CC"; then 1623 2030 # Extract the first word of "cc", so it can be a program name with args. 1624 2031 set dummy cc; ac_word=$2 1625 echo "$as_me:$LINENO: checking for $ac_word" >&51626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2032 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1627 2034 if test "${ac_cv_prog_CC+set}" = set; then 1628 2035 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1638 2045 test -z "$as_dir" && as_dir=. 1639 2046 for ac_exec_ext in '' $ac_executable_extensions; do 1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1641 2048 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1642 2049 ac_prog_rejected=yes … … 1649 2056 done 1650 2057 done 2058 IFS=$as_save_IFS 1651 2059 1652 2060 if test $ac_prog_rejected = yes; then … … 1666 2074 CC=$ac_cv_prog_CC 1667 2075 if test -n "$CC"; then 1668 echo "$as_me:$LINENO: result: $CC" >&5 1669 echo "${ECHO_T}$CC" >&6 1670 else 1671 echo "$as_me:$LINENO: result: no" >&5 1672 echo "${ECHO_T}no" >&6 1673 fi 2076 { echo "$as_me:$LINENO: result: $CC" >&5 2077 echo "${ECHO_T}$CC" >&6; } 2078 else 2079 { echo "$as_me:$LINENO: result: no" >&5 2080 echo "${ECHO_T}no" >&6; } 2081 fi 2082 1674 2083 1675 2084 fi 1676 2085 if test -z "$CC"; then 1677 2086 if test -n "$ac_tool_prefix"; then 1678 for ac_prog in cl 2087 for ac_prog in cl.exe 1679 2088 do 1680 2089 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1681 2090 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1682 echo "$as_me:$LINENO: checking for $ac_word" >&51683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2091 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1684 2093 if test "${ac_cv_prog_CC+set}" = set; then 1685 2094 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1694 2103 test -z "$as_dir" && as_dir=. 1695 2104 for ac_exec_ext in '' $ac_executable_extensions; do 1696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1697 2106 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1698 2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1701 2110 done 1702 2111 done 2112 IFS=$as_save_IFS 1703 2113 1704 2114 fi … … 1706 2116 CC=$ac_cv_prog_CC 1707 2117 if test -n "$CC"; then 1708 echo "$as_me:$LINENO: result: $CC" >&5 1709 echo "${ECHO_T}$CC" >&6 1710 else 1711 echo "$as_me:$LINENO: result: no" >&5 1712 echo "${ECHO_T}no" >&6 1713 fi 2118 { echo "$as_me:$LINENO: result: $CC" >&5 2119 echo "${ECHO_T}$CC" >&6; } 2120 else 2121 { echo "$as_me:$LINENO: result: no" >&5 2122 echo "${ECHO_T}no" >&6; } 2123 fi 2124 1714 2125 1715 2126 test -n "$CC" && break … … 1718 2129 if test -z "$CC"; then 1719 2130 ac_ct_CC=$CC 1720 for ac_prog in cl 2131 for ac_prog in cl.exe 1721 2132 do 1722 2133 # Extract the first word of "$ac_prog", so it can be a program name with args. 1723 2134 set dummy $ac_prog; ac_word=$2 1724 echo "$as_me:$LINENO: checking for $ac_word" >&51725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1726 2137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1727 2138 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1736 2147 test -z "$as_dir" && as_dir=. 1737 2148 for ac_exec_ext in '' $ac_executable_extensions; do 1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1739 2150 ac_cv_prog_ac_ct_CC="$ac_prog" 1740 2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1743 2154 done 1744 2155 done 2156 IFS=$as_save_IFS 1745 2157 1746 2158 fi … … 1748 2160 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1749 2161 if test -n "$ac_ct_CC"; then 1750 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1751 echo "${ECHO_T}$ac_ct_CC" >&6 1752 else 1753 echo "$as_me:$LINENO: result: no" >&5 1754 echo "${ECHO_T}no" >&6 1755 fi 2162 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2163 echo "${ECHO_T}$ac_ct_CC" >&6; } 2164 else 2165 { echo "$as_me:$LINENO: result: no" >&5 2166 echo "${ECHO_T}no" >&6; } 2167 fi 2168 1756 2169 1757 2170 test -n "$ac_ct_CC" && break 1758 2171 done 1759 2172 1760 CC=$ac_ct_CC 2173 if test "x$ac_ct_CC" = x; then 2174 CC="" 2175 else 2176 case $cross_compiling:$ac_tool_warned in 2177 yes:) 2178 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2179 whose name does not start with the host triplet. If you think this 2180 configuration is useful to you, please write to [email protected]." >&5 2181 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2182 whose name does not start with the host triplet. If you think this 2183 configuration is useful to you, please write to [email protected]." >&2;} 2184 ac_tool_warned=yes ;; 2185 esac 2186 CC=$ac_ct_CC 2187 fi 1761 2188 fi 1762 2189 … … 1771 2198 1772 2199 # Provide some information about the compiler. 1773 echo "$as_me:$LINENO:" \ 1774 "checking for C compiler version" >&5 2200 echo "$as_me:$LINENO: checking for C compiler version" >&5 1775 2201 ac_compiler=`set X $ac_compile; echo $2` 1776 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1777 (eval $ac_compiler --version </dev/null >&5) 2>&5 2202 { (ac_try="$ac_compiler --version >&5" 2203 case "(($ac_try" in 2204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2205 *) ac_try_echo=$ac_try;; 2206 esac 2207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2208 (eval "$ac_compiler --version >&5") 2>&5 1778 2209 ac_status=$? 1779 2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1780 2211 (exit $ac_status); } 1781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1782 (eval $ac_compiler -v </dev/null >&5) 2>&5 2212 { (ac_try="$ac_compiler -v >&5" 2213 case "(($ac_try" in 2214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2215 *) ac_try_echo=$ac_try;; 2216 esac 2217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2218 (eval "$ac_compiler -v >&5") 2>&5 1783 2219 ac_status=$? 1784 2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1785 2221 (exit $ac_status); } 1786 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1787 (eval $ac_compiler -V </dev/null >&5) 2>&5 2222 { (ac_try="$ac_compiler -V >&5" 2223 case "(($ac_try" in 2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2225 *) ac_try_echo=$ac_try;; 2226 esac 2227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2228 (eval "$ac_compiler -V >&5") 2>&5 1788 2229 ac_status=$? 1789 2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1810 2251 # It will help us diagnose broken compilers, and finding out an intuition 1811 2252 # of exeext. 1812 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51813 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2253 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2254 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1814 2255 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1815 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1816 (eval $ac_link_default) 2>&5 2256 # 2257 # List of possible output files, starting from the most likely. 2258 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2259 # only as a last resort. b.out is created by i960 compilers. 2260 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2261 # 2262 # The IRIX 6 linker writes into existing files which may not be 2263 # executable, retaining their permissions. Remove them first so a 2264 # subsequent execution test works. 2265 ac_rmfiles= 2266 for ac_file in $ac_files 2267 do 2268 case $ac_file in 2269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2270 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2271 esac 2272 done 2273 rm -f $ac_rmfiles 2274 2275 if { (ac_try="$ac_link_default" 2276 case "(($ac_try" in 2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2278 *) ac_try_echo=$ac_try;; 2279 esac 2280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2281 (eval "$ac_link_default") 2>&5 1817 2282 ac_status=$? 1818 2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1819 2284 (exit $ac_status); }; then 1820 # Find the output, starting from the most likely. This scheme is 1821 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1822 # resort. 1823 1824 # Be careful to initialize this variable, since it used to be cached. 1825 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1826 ac_cv_exeext= 1827 # b.out is created by i960 compilers. 1828 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2285 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2286 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2287 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2288 # so that the user can short-circuit this test for compilers unknown to 2289 # Autoconf. 2290 for ac_file in $ac_files '' 1829 2291 do 1830 2292 test -f "$ac_file" || continue 1831 2293 case $ac_file in 1832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1833 ;; 1834 conftest.$ac_ext ) 1835 # This is the source file. 2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1836 2295 ;; 1837 2296 [ab].out ) … … 1840 2299 break;; 1841 2300 *.* ) 1842 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1843 # FIXME: I believe we export ac_cv_exeext for Libtool, 1844 # but it would be cool to find out if it's true. Does anybody 1845 # maintain Libtool? --akim. 1846 export ac_cv_exeext 2301 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2302 then :; else 2303 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2304 fi 2305 # We set ac_cv_exeext here because the later test for it is not 2306 # safe: cross compilers may not add the suffix if given an `-o' 2307 # argument, so we may need to know it at that point already. 2308 # Even if this section looks crufty: it has the advantage of 2309 # actually working. 1847 2310 break;; 1848 2311 * ) … … 1850 2313 esac 1851 2314 done 1852 else 2315 test "$ac_cv_exeext" = no && ac_cv_exeext= 2316 2317 else 2318 ac_file='' 2319 fi 2320 2321 { echo "$as_me:$LINENO: result: $ac_file" >&5 2322 echo "${ECHO_T}$ac_file" >&6; } 2323 if test -z "$ac_file"; then 1853 2324 echo "$as_me: failed program was:" >&5 1854 2325 sed 's/^/| /' conftest.$ac_ext >&5 … … 1862 2333 1863 2334 ac_exeext=$ac_cv_exeext 1864 echo "$as_me:$LINENO: result: $ac_file" >&5 1865 echo "${ECHO_T}$ac_file" >&6 1866 1867 # Check the compiler produces executables we can run. If not, either 2335 2336 # Check that the compiler produces executables we can run. If not, either 1868 2337 # the compiler is broken, or we cross compile. 1869 echo "$as_me:$LINENO: checking whether the C compiler works" >&51870 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2338 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2339 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1871 2340 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1872 2341 # If not cross compiling, check that we can run a simple program. 1873 2342 if test "$cross_compiling" != yes; then 1874 2343 if { ac_try='./$ac_file' 1875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1876 (eval $ac_try) 2>&5 2344 { (case "(($ac_try" in 2345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2346 *) ac_try_echo=$ac_try;; 2347 esac 2348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2349 (eval "$ac_try") 2>&5 1877 2350 ac_status=$? 1878 2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1893 2366 fi 1894 2367 fi 1895 echo "$as_me:$LINENO: result: yes" >&51896 echo "${ECHO_T}yes" >&6 2368 { echo "$as_me:$LINENO: result: yes" >&5 2369 echo "${ECHO_T}yes" >&6; } 1897 2370 1898 2371 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1899 2372 ac_clean_files=$ac_clean_files_save 1900 # Check th e compiler produces executables we can run. If not, either2373 # Check that the compiler produces executables we can run. If not, either 1901 2374 # the compiler is broken, or we cross compile. 1902 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1903 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1904 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1905 echo "${ECHO_T}$cross_compiling" >&6 1906 1907 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1908 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1910 (eval $ac_link) 2>&5 2375 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2376 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2377 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2378 echo "${ECHO_T}$cross_compiling" >&6; } 2379 2380 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2381 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2382 if { (ac_try="$ac_link" 2383 case "(($ac_try" in 2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2385 *) ac_try_echo=$ac_try;; 2386 esac 2387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2388 (eval "$ac_link") 2>&5 1911 2389 ac_status=$? 1912 2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1919 2397 test -f "$ac_file" || continue 1920 2398 case $ac_file in 1921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1922 2400 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1923 export ac_cv_exeext1924 2401 break;; 1925 2402 * ) break;; … … 1935 2412 1936 2413 rm -f conftest$ac_cv_exeext 1937 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51938 echo "${ECHO_T}$ac_cv_exeext" >&6 2414 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2415 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1939 2416 1940 2417 rm -f conftest.$ac_ext 1941 2418 EXEEXT=$ac_cv_exeext 1942 2419 ac_exeext=$EXEEXT 1943 echo "$as_me:$LINENO: checking for suffix of object files" >&51944 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2420 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2421 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1945 2422 if test "${ac_cv_objext+set}" = set; then 1946 2423 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1962 2439 _ACEOF 1963 2440 rm -f conftest.o conftest.obj 1964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1965 (eval $ac_compile) 2>&5 2441 if { (ac_try="$ac_compile" 2442 case "(($ac_try" in 2443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2444 *) ac_try_echo=$ac_try;; 2445 esac 2446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2447 (eval "$ac_compile") 2>&5 1966 2448 ac_status=$? 1967 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1968 2450 (exit $ac_status); }; then 1969 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2451 for ac_file in conftest.o conftest.obj conftest.*; do 2452 test -f "$ac_file" || continue; 1970 2453 case $ac_file in 1971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1972 2455 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1973 2456 break;; … … 1987 2470 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1988 2471 fi 1989 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51990 echo "${ECHO_T}$ac_cv_objext" >&6 2472 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2473 echo "${ECHO_T}$ac_cv_objext" >&6; } 1991 2474 OBJEXT=$ac_cv_objext 1992 2475 ac_objext=$OBJEXT 1993 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51994 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2476 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2477 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1995 2478 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1996 2479 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2015 2498 _ACEOF 2016 2499 rm -f conftest.$ac_objext 2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2018 (eval $ac_compile) 2>conftest.er1 2500 if { (ac_try="$ac_compile" 2501 case "(($ac_try" in 2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2503 *) ac_try_echo=$ac_try;; 2504 esac 2505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2506 (eval "$ac_compile") 2>conftest.er1 2019 2507 ac_status=$? 2020 2508 grep -v '^ *+' conftest.er1 >conftest.err … … 2022 2510 cat conftest.err >&5 2023 2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2024 (exit $ac_status); } && 2025 { ac_try='test -z "$ac_c_werror_flag" 2026 || test ! -s conftest.err' 2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2028 (eval $ac_try) 2>&5 2029 ac_status=$? 2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 (exit $ac_status); }; } && 2032 { ac_try='test -s conftest.$ac_objext' 2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2034 (eval $ac_try) 2>&5 2035 ac_status=$? 2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2037 (exit $ac_status); }; }; then 2512 (exit $ac_status); } && { 2513 test -z "$ac_c_werror_flag" || 2514 test ! -s conftest.err 2515 } && test -s conftest.$ac_objext; then 2038 2516 ac_compiler_gnu=yes 2039 2517 else … … 2041 2519 sed 's/^/| /' conftest.$ac_ext >&5 2042 2520 2043 ac_compiler_gnu=no 2044 fi 2045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2521 ac_compiler_gnu=no 2522 fi 2523 2524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2046 2525 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2047 2526 2048 2527 fi 2049 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52050 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2528 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2529 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2051 2530 GCC=`test $ac_compiler_gnu = yes && echo yes` 2052 2531 ac_test_CFLAGS=${CFLAGS+set} 2053 2532 ac_save_CFLAGS=$CFLAGS 2054 CFLAGS="-g" 2055 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2056 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2533 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2534 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2057 2535 if test "${ac_cv_prog_cc_g+set}" = set; then 2058 2536 echo $ECHO_N "(cached) $ECHO_C" >&6 2059 2537 else 2060 cat >conftest.$ac_ext <<_ACEOF 2538 ac_save_c_werror_flag=$ac_c_werror_flag 2539 ac_c_werror_flag=yes 2540 ac_cv_prog_cc_g=no 2541 CFLAGS="-g" 2542 cat >conftest.$ac_ext <<_ACEOF 2061 2543 /* confdefs.h. */ 2062 2544 _ACEOF … … 2074 2556 _ACEOF 2075 2557 rm -f conftest.$ac_objext 2076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2077 (eval $ac_compile) 2>conftest.er1 2558 if { (ac_try="$ac_compile" 2559 case "(($ac_try" in 2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2561 *) ac_try_echo=$ac_try;; 2562 esac 2563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2564 (eval "$ac_compile") 2>conftest.er1 2078 2565 ac_status=$? 2079 2566 grep -v '^ *+' conftest.er1 >conftest.err … … 2081 2568 cat conftest.err >&5 2082 2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2083 (exit $ac_status); } && 2084 { ac_try='test -z "$ac_c_werror_flag" 2085 || test ! -s conftest.err' 2086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2087 (eval $ac_try) 2>&5 2088 ac_status=$? 2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 (exit $ac_status); }; } && 2091 { ac_try='test -s conftest.$ac_objext' 2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2093 (eval $ac_try) 2>&5 2094 ac_status=$? 2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2096 (exit $ac_status); }; }; then 2570 (exit $ac_status); } && { 2571 test -z "$ac_c_werror_flag" || 2572 test ! -s conftest.err 2573 } && test -s conftest.$ac_objext; then 2097 2574 ac_cv_prog_cc_g=yes 2098 2575 else … … 2100 2577 sed 's/^/| /' conftest.$ac_ext >&5 2101 2578 2102 ac_cv_prog_cc_g=no 2103 fi 2104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2105 fi 2106 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2107 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2579 CFLAGS="" 2580 cat >conftest.$ac_ext <<_ACEOF 2581 /* confdefs.h. */ 2582 _ACEOF 2583 cat confdefs.h >>conftest.$ac_ext 2584 cat >>conftest.$ac_ext <<_ACEOF 2585 /* end confdefs.h. */ 2586 2587 int 2588 main () 2589 { 2590 2591 ; 2592 return 0; 2593 } 2594 _ACEOF 2595 rm -f conftest.$ac_objext 2596 if { (ac_try="$ac_compile" 2597 case "(($ac_try" in 2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2599 *) ac_try_echo=$ac_try;; 2600 esac 2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2602 (eval "$ac_compile") 2>conftest.er1 2603 ac_status=$? 2604 grep -v '^ *+' conftest.er1 >conftest.err 2605 rm -f conftest.er1 2606 cat conftest.err >&5 2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2608 (exit $ac_status); } && { 2609 test -z "$ac_c_werror_flag" || 2610 test ! -s conftest.err 2611 } && test -s conftest.$ac_objext; then 2612 : 2613 else 2614 echo "$as_me: failed program was:" >&5 2615 sed 's/^/| /' conftest.$ac_ext >&5 2616 2617 ac_c_werror_flag=$ac_save_c_werror_flag 2618 CFLAGS="-g" 2619 cat >conftest.$ac_ext <<_ACEOF 2620 /* confdefs.h. */ 2621 _ACEOF 2622 cat confdefs.h >>conftest.$ac_ext 2623 cat >>conftest.$ac_ext <<_ACEOF 2624 /* end confdefs.h. */ 2625 2626 int 2627 main () 2628 { 2629 2630 ; 2631 return 0; 2632 } 2633 _ACEOF 2634 rm -f conftest.$ac_objext 2635 if { (ac_try="$ac_compile" 2636 case "(($ac_try" in 2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2638 *) ac_try_echo=$ac_try;; 2639 esac 2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2641 (eval "$ac_compile") 2>conftest.er1 2642 ac_status=$? 2643 grep -v '^ *+' conftest.er1 >conftest.err 2644 rm -f conftest.er1 2645 cat conftest.err >&5 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 (exit $ac_status); } && { 2648 test -z "$ac_c_werror_flag" || 2649 test ! -s conftest.err 2650 } && test -s conftest.$ac_objext; then 2651 ac_cv_prog_cc_g=yes 2652 else 2653 echo "$as_me: failed program was:" >&5 2654 sed 's/^/| /' conftest.$ac_ext >&5 2655 2656 2657 fi 2658 2659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2660 fi 2661 2662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2663 fi 2664 2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2666 ac_c_werror_flag=$ac_save_c_werror_flag 2667 fi 2668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2669 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2108 2670 if test "$ac_test_CFLAGS" = set; then 2109 2671 CFLAGS=$ac_save_CFLAGS … … 2121 2683 fi 2122 2684 fi 2123 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52124 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62125 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2685 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2686 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2687 if test "${ac_cv_prog_cc_c89+set}" = set; then 2126 2688 echo $ECHO_N "(cached) $ECHO_C" >&6 2127 2689 else 2128 ac_cv_prog_cc_ stdc=no2690 ac_cv_prog_cc_c89=no 2129 2691 ac_save_CC=$CC 2130 2692 cat >conftest.$ac_ext <<_ACEOF … … 2160 2722 function prototypes and stuff, but not '\xHH' hex character constants. 2161 2723 These don't provoke an error unfortunately, instead are silently treated 2162 as 'x'. The following induces an error, until -std 1is added to get2724 as 'x'. The following induces an error, until -std is added to get 2163 2725 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2164 2726 array size at least. It's necessary to write '\x00'==0 to get something 2165 that's true only with -std 1. */2727 that's true only with -std. */ 2166 2728 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2729 2730 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2731 inside strings and character constants. */ 2732 #define FOO(x) 'x' 2733 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2167 2734 2168 2735 int test (int i, double x); … … 2180 2747 } 2181 2748 _ACEOF 2182 # Don't try gcc -ansi; that turns off useful extensions and 2183 # breaks some systems' header files. 2184 # AIX -qlanglvl=ansi 2185 # Ultrix and OSF/1 -std1 2186 # HP-UX 10.20 and later -Ae 2187 # HP-UX older versions -Aa -D_HPUX_SOURCE 2188 # SVR4 -Xc -D__EXTENSIONS__ 2189 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2749 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2750 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2190 2751 do 2191 2752 CC="$ac_save_CC $ac_arg" 2192 2753 rm -f conftest.$ac_objext 2193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2194 (eval $ac_compile) 2>conftest.er1 2754 if { (ac_try="$ac_compile" 2755 case "(($ac_try" in 2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2757 *) ac_try_echo=$ac_try;; 2758 esac 2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2760 (eval "$ac_compile") 2>conftest.er1 2195 2761 ac_status=$? 2196 2762 grep -v '^ *+' conftest.er1 >conftest.err … … 2198 2764 cat conftest.err >&5 2199 2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2200 (exit $ac_status); } && 2201 { ac_try='test -z "$ac_c_werror_flag" 2202 || test ! -s conftest.err' 2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2204 (eval $ac_try) 2>&5 2205 ac_status=$? 2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2207 (exit $ac_status); }; } && 2208 { ac_try='test -s conftest.$ac_objext' 2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2210 (eval $ac_try) 2>&5 2211 ac_status=$? 2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2213 (exit $ac_status); }; }; then 2214 ac_cv_prog_cc_stdc=$ac_arg 2215 break 2766 (exit $ac_status); } && { 2767 test -z "$ac_c_werror_flag" || 2768 test ! -s conftest.err 2769 } && test -s conftest.$ac_objext; then 2770 ac_cv_prog_cc_c89=$ac_arg 2216 2771 else 2217 2772 echo "$as_me: failed program was:" >&5 2218 2773 sed 's/^/| /' conftest.$ac_ext >&5 2219 2774 2220 fi 2221 rm -f conftest.err conftest.$ac_objext 2775 2776 fi 2777 2778 rm -f core conftest.err conftest.$ac_objext 2779 test "x$ac_cv_prog_cc_c89" != "xno" && break 2222 2780 done 2223 rm -f conftest.$ac_ext conftest.$ac_objext2781 rm -f conftest.$ac_ext 2224 2782 CC=$ac_save_CC 2225 2783 2226 2784 fi 2227 2228 case "x$ac_cv_prog_cc_stdc" in 2229 x|xno) 2230 echo "$as_me:$LINENO: result: none needed" >&5 2231 echo "${ECHO_T}none needed" >&6 ;; 2785 # AC_CACHE_VAL 2786 case "x$ac_cv_prog_cc_c89" in 2787 x) 2788 { echo "$as_me:$LINENO: result: none needed" >&5 2789 echo "${ECHO_T}none needed" >&6; } ;; 2790 xno) 2791 { echo "$as_me:$LINENO: result: unsupported" >&5 2792 echo "${ECHO_T}unsupported" >&6; } ;; 2232 2793 *) 2233 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2234 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2235 CC="$CC $ac_cv_prog_cc_stdc" ;; 2236 esac 2237 2238 # Some people use a C++ compiler to compile C. Since we use `exit', 2239 # in C++ we need to declare it. In case someone uses the same compiler 2240 # for both compiling C and C++ we need to have the C++ compiler decide 2241 # the declaration of exit, since it's the most demanding environment. 2242 cat >conftest.$ac_ext <<_ACEOF 2243 #ifndef __cplusplus 2244 choke me 2245 #endif 2246 _ACEOF 2247 rm -f conftest.$ac_objext 2248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2249 (eval $ac_compile) 2>conftest.er1 2250 ac_status=$? 2251 grep -v '^ *+' conftest.er1 >conftest.err 2252 rm -f conftest.er1 2253 cat conftest.err >&5 2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2255 (exit $ac_status); } && 2256 { ac_try='test -z "$ac_c_werror_flag" 2257 || test ! -s conftest.err' 2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2259 (eval $ac_try) 2>&5 2260 ac_status=$? 2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 (exit $ac_status); }; } && 2263 { ac_try='test -s conftest.$ac_objext' 2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2265 (eval $ac_try) 2>&5 2266 ac_status=$? 2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2268 (exit $ac_status); }; }; then 2269 for ac_declaration in \ 2270 '' \ 2271 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2272 'extern "C" void std::exit (int); using std::exit;' \ 2273 'extern "C" void exit (int) throw ();' \ 2274 'extern "C" void exit (int);' \ 2275 'void exit (int);' 2276 do 2277 cat >conftest.$ac_ext <<_ACEOF 2278 /* confdefs.h. */ 2279 _ACEOF 2280 cat confdefs.h >>conftest.$ac_ext 2281 cat >>conftest.$ac_ext <<_ACEOF 2282 /* end confdefs.h. */ 2283 $ac_declaration 2284 #include <stdlib.h> 2285 int 2286 main () 2287 { 2288 exit (42); 2289 ; 2290 return 0; 2291 } 2292 _ACEOF 2293 rm -f conftest.$ac_objext 2294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2295 (eval $ac_compile) 2>conftest.er1 2296 ac_status=$? 2297 grep -v '^ *+' conftest.er1 >conftest.err 2298 rm -f conftest.er1 2299 cat conftest.err >&5 2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2301 (exit $ac_status); } && 2302 { ac_try='test -z "$ac_c_werror_flag" 2303 || test ! -s conftest.err' 2304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2305 (eval $ac_try) 2>&5 2306 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 (exit $ac_status); }; } && 2309 { ac_try='test -s conftest.$ac_objext' 2310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2311 (eval $ac_try) 2>&5 2312 ac_status=$? 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314 (exit $ac_status); }; }; then 2315 : 2316 else 2317 echo "$as_me: failed program was:" >&5 2318 sed 's/^/| /' conftest.$ac_ext >&5 2319 2320 continue 2321 fi 2322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2323 cat >conftest.$ac_ext <<_ACEOF 2324 /* confdefs.h. */ 2325 _ACEOF 2326 cat confdefs.h >>conftest.$ac_ext 2327 cat >>conftest.$ac_ext <<_ACEOF 2328 /* end confdefs.h. */ 2329 $ac_declaration 2330 int 2331 main () 2332 { 2333 exit (42); 2334 ; 2335 return 0; 2336 } 2337 _ACEOF 2338 rm -f conftest.$ac_objext 2339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2340 (eval $ac_compile) 2>conftest.er1 2341 ac_status=$? 2342 grep -v '^ *+' conftest.er1 >conftest.err 2343 rm -f conftest.er1 2344 cat conftest.err >&5 2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2346 (exit $ac_status); } && 2347 { ac_try='test -z "$ac_c_werror_flag" 2348 || test ! -s conftest.err' 2349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2350 (eval $ac_try) 2>&5 2351 ac_status=$? 2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2353 (exit $ac_status); }; } && 2354 { ac_try='test -s conftest.$ac_objext' 2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2356 (eval $ac_try) 2>&5 2357 ac_status=$? 2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2359 (exit $ac_status); }; }; then 2360 break 2361 else 2362 echo "$as_me: failed program was:" >&5 2363 sed 's/^/| /' conftest.$ac_ext >&5 2364 2365 fi 2366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2367 done 2368 rm -f conftest* 2369 if test -n "$ac_declaration"; then 2370 echo '#ifdef __cplusplus' >>confdefs.h 2371 echo $ac_declaration >>confdefs.h 2372 echo '#endif' >>confdefs.h 2373 fi 2374 2375 else 2376 echo "$as_me: failed program was:" >&5 2377 sed 's/^/| /' conftest.$ac_ext >&5 2378 2379 fi 2380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2794 CC="$CC $ac_cv_prog_cc_c89" 2795 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2796 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2797 esac 2798 2799 2381 2800 ac_ext=c 2382 2801 ac_cpp='$CPP $CPPFLAGS' … … 2385 2804 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2386 2805 2387 ac_ext=c c2806 ac_ext=cpp 2388 2807 ac_cpp='$CXXCPP $CPPFLAGS' 2389 2808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2390 2809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2391 2810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2392 if test -n "$ac_tool_prefix"; then 2393 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2811 if test -z "$CXX"; then 2812 if test -n "$CCC"; then 2813 CXX=$CCC 2814 else 2815 if test -n "$ac_tool_prefix"; then 2816 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2394 2817 do 2395 2818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2396 2819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2397 echo "$as_me:$LINENO: checking for $ac_word" >&52398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2820 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2399 2822 if test "${ac_cv_prog_CXX+set}" = set; then 2400 2823 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2409 2832 test -z "$as_dir" && as_dir=. 2410 2833 for ac_exec_ext in '' $ac_executable_extensions; do 2411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2412 2835 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2413 2836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2416 2839 done 2417 2840 done 2841 IFS=$as_save_IFS 2418 2842 2419 2843 fi … … 2421 2845 CXX=$ac_cv_prog_CXX 2422 2846 if test -n "$CXX"; then 2423 echo "$as_me:$LINENO: result: $CXX" >&5 2424 echo "${ECHO_T}$CXX" >&6 2425 else 2426 echo "$as_me:$LINENO: result: no" >&5 2427 echo "${ECHO_T}no" >&6 2428 fi 2847 { echo "$as_me:$LINENO: result: $CXX" >&5 2848 echo "${ECHO_T}$CXX" >&6; } 2849 else 2850 { echo "$as_me:$LINENO: result: no" >&5 2851 echo "${ECHO_T}no" >&6; } 2852 fi 2853 2429 2854 2430 2855 test -n "$CXX" && break … … 2433 2858 if test -z "$CXX"; then 2434 2859 ac_ct_CXX=$CXX 2435 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2860 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2436 2861 do 2437 2862 # Extract the first word of "$ac_prog", so it can be a program name with args. 2438 2863 set dummy $ac_prog; ac_word=$2 2439 echo "$as_me:$LINENO: checking for $ac_word" >&52440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2864 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2441 2866 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2442 2867 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2451 2876 test -z "$as_dir" && as_dir=. 2452 2877 for ac_exec_ext in '' $ac_executable_extensions; do 2453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2454 2879 ac_cv_prog_ac_ct_CXX="$ac_prog" 2455 2880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2458 2883 done 2459 2884 done 2885 IFS=$as_save_IFS 2460 2886 2461 2887 fi … … 2463 2889 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2464 2890 if test -n "$ac_ct_CXX"; then 2465 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2466 echo "${ECHO_T}$ac_ct_CXX" >&6 2467 else 2468 echo "$as_me:$LINENO: result: no" >&5 2469 echo "${ECHO_T}no" >&6 2470 fi 2891 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2892 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2893 else 2894 { echo "$as_me:$LINENO: result: no" >&5 2895 echo "${ECHO_T}no" >&6; } 2896 fi 2897 2471 2898 2472 2899 test -n "$ac_ct_CXX" && break 2473 2900 done 2474 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2475 2476 CXX=$ac_ct_CXX 2477 fi 2478 2479 2901 2902 if test "x$ac_ct_CXX" = x; then 2903 CXX="g++" 2904 else 2905 case $cross_compiling:$ac_tool_warned in 2906 yes:) 2907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2908 whose name does not start with the host triplet. If you think this 2909 configuration is useful to you, please write to [email protected]." >&5 2910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2911 whose name does not start with the host triplet. If you think this 2912 configuration is useful to you, please write to [email protected]." >&2;} 2913 ac_tool_warned=yes ;; 2914 esac 2915 CXX=$ac_ct_CXX 2916 fi 2917 fi 2918 2919 fi 2920 fi 2480 2921 # Provide some information about the compiler. 2481 echo "$as_me:$LINENO:" \ 2482 "checking for C++ compiler version" >&5 2922 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2483 2923 ac_compiler=`set X $ac_compile; echo $2` 2484 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2485 (eval $ac_compiler --version </dev/null >&5) 2>&5 2924 { (ac_try="$ac_compiler --version >&5" 2925 case "(($ac_try" in 2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2927 *) ac_try_echo=$ac_try;; 2928 esac 2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2930 (eval "$ac_compiler --version >&5") 2>&5 2486 2931 ac_status=$? 2487 2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2488 2933 (exit $ac_status); } 2489 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2490 (eval $ac_compiler -v </dev/null >&5) 2>&5 2934 { (ac_try="$ac_compiler -v >&5" 2935 case "(($ac_try" in 2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2937 *) ac_try_echo=$ac_try;; 2938 esac 2939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2940 (eval "$ac_compiler -v >&5") 2>&5 2491 2941 ac_status=$? 2492 2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2493 2943 (exit $ac_status); } 2494 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2495 (eval $ac_compiler -V </dev/null >&5) 2>&5 2944 { (ac_try="$ac_compiler -V >&5" 2945 case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948 esac 2949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2950 (eval "$ac_compiler -V >&5") 2>&5 2496 2951 ac_status=$? 2497 2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2498 2953 (exit $ac_status); } 2499 2954 2500 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52501 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2955 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2956 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2502 2957 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2503 2958 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2522 2977 _ACEOF 2523 2978 rm -f conftest.$ac_objext 2524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2525 (eval $ac_compile) 2>conftest.er1 2979 if { (ac_try="$ac_compile" 2980 case "(($ac_try" in 2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2982 *) ac_try_echo=$ac_try;; 2983 esac 2984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2985 (eval "$ac_compile") 2>conftest.er1 2526 2986 ac_status=$? 2527 2987 grep -v '^ *+' conftest.er1 >conftest.err … … 2529 2989 cat conftest.err >&5 2530 2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2531 (exit $ac_status); } && 2532 { ac_try='test -z "$ac_cxx_werror_flag" 2533 || test ! -s conftest.err' 2534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2535 (eval $ac_try) 2>&5 2536 ac_status=$? 2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2538 (exit $ac_status); }; } && 2539 { ac_try='test -s conftest.$ac_objext' 2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2541 (eval $ac_try) 2>&5 2542 ac_status=$? 2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 (exit $ac_status); }; }; then 2991 (exit $ac_status); } && { 2992 test -z "$ac_cxx_werror_flag" || 2993 test ! -s conftest.err 2994 } && test -s conftest.$ac_objext; then 2545 2995 ac_compiler_gnu=yes 2546 2996 else … … 2548 2998 sed 's/^/| /' conftest.$ac_ext >&5 2549 2999 2550 ac_compiler_gnu=no 2551 fi 2552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3000 ac_compiler_gnu=no 3001 fi 3002 3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2553 3004 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2554 3005 2555 3006 fi 2556 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52557 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3007 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3008 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2558 3009 GXX=`test $ac_compiler_gnu = yes && echo yes` 2559 3010 ac_test_CXXFLAGS=${CXXFLAGS+set} 2560 3011 ac_save_CXXFLAGS=$CXXFLAGS 2561 CXXFLAGS="-g" 2562 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2563 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3012 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3013 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2564 3014 if test "${ac_cv_prog_cxx_g+set}" = set; then 2565 3015 echo $ECHO_N "(cached) $ECHO_C" >&6 2566 3016 else 2567 cat >conftest.$ac_ext <<_ACEOF 3017 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3018 ac_cxx_werror_flag=yes 3019 ac_cv_prog_cxx_g=no 3020 CXXFLAGS="-g" 3021 cat >conftest.$ac_ext <<_ACEOF 2568 3022 /* confdefs.h. */ 2569 3023 _ACEOF … … 2581 3035 _ACEOF 2582 3036 rm -f conftest.$ac_objext 2583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2584 (eval $ac_compile) 2>conftest.er1 3037 if { (ac_try="$ac_compile" 3038 case "(($ac_try" in 3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3040 *) ac_try_echo=$ac_try;; 3041 esac 3042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3043 (eval "$ac_compile") 2>conftest.er1 2585 3044 ac_status=$? 2586 3045 grep -v '^ *+' conftest.er1 >conftest.err … … 2588 3047 cat conftest.err >&5 2589 3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2590 (exit $ac_status); } && 2591 { ac_try='test -z "$ac_cxx_werror_flag" 2592 || test ! -s conftest.err' 2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2594 (eval $ac_try) 2>&5 2595 ac_status=$? 2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597 (exit $ac_status); }; } && 2598 { ac_try='test -s conftest.$ac_objext' 2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2600 (eval $ac_try) 2>&5 2601 ac_status=$? 2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2603 (exit $ac_status); }; }; then 3049 (exit $ac_status); } && { 3050 test -z "$ac_cxx_werror_flag" || 3051 test ! -s conftest.err 3052 } && test -s conftest.$ac_objext; then 2604 3053 ac_cv_prog_cxx_g=yes 2605 3054 else … … 2607 3056 sed 's/^/| /' conftest.$ac_ext >&5 2608 3057 2609 ac_cv_prog_cxx_g=no 2610 fi 2611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2612 fi 2613 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2614 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3058 CXXFLAGS="" 3059 cat >conftest.$ac_ext <<_ACEOF 3060 /* confdefs.h. */ 3061 _ACEOF 3062 cat confdefs.h >>conftest.$ac_ext 3063 cat >>conftest.$ac_ext <<_ACEOF 3064 /* end confdefs.h. */ 3065 3066 int 3067 main () 3068 { 3069 3070 ; 3071 return 0; 3072 } 3073 _ACEOF 3074 rm -f conftest.$ac_objext 3075 if { (ac_try="$ac_compile" 3076 case "(($ac_try" in 3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3078 *) ac_try_echo=$ac_try;; 3079 esac 3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3081 (eval "$ac_compile") 2>conftest.er1 3082 ac_status=$? 3083 grep -v '^ *+' conftest.er1 >conftest.err 3084 rm -f conftest.er1 3085 cat conftest.err >&5 3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3087 (exit $ac_status); } && { 3088 test -z "$ac_cxx_werror_flag" || 3089 test ! -s conftest.err 3090 } && test -s conftest.$ac_objext; then 3091 : 3092 else 3093 echo "$as_me: failed program was:" >&5 3094 sed 's/^/| /' conftest.$ac_ext >&5 3095 3096 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3097 CXXFLAGS="-g" 3098 cat >conftest.$ac_ext <<_ACEOF 3099 /* confdefs.h. */ 3100 _ACEOF 3101 cat confdefs.h >>conftest.$ac_ext 3102 cat >>conftest.$ac_ext <<_ACEOF 3103 /* end confdefs.h. */ 3104 3105 int 3106 main () 3107 { 3108 3109 ; 3110 return 0; 3111 } 3112 _ACEOF 3113 rm -f conftest.$ac_objext 3114 if { (ac_try="$ac_compile" 3115 case "(($ac_try" in 3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3117 *) ac_try_echo=$ac_try;; 3118 esac 3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3120 (eval "$ac_compile") 2>conftest.er1 3121 ac_status=$? 3122 grep -v '^ *+' conftest.er1 >conftest.err 3123 rm -f conftest.er1 3124 cat conftest.err >&5 3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3126 (exit $ac_status); } && { 3127 test -z "$ac_cxx_werror_flag" || 3128 test ! -s conftest.err 3129 } && test -s conftest.$ac_objext; then 3130 ac_cv_prog_cxx_g=yes 3131 else 3132 echo "$as_me: failed program was:" >&5 3133 sed 's/^/| /' conftest.$ac_ext >&5 3134 3135 3136 fi 3137 3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3139 fi 3140 3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3142 fi 3143 3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3145 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3146 fi 3147 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3148 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2615 3149 if test "$ac_test_CXXFLAGS" = set; then 2616 3150 CXXFLAGS=$ac_save_CXXFLAGS … … 2628 3162 fi 2629 3163 fi 2630 for ac_declaration in \2631 '' \2632 'extern "C" void std::exit (int) throw (); using std::exit;' \2633 'extern "C" void std::exit (int); using std::exit;' \2634 'extern "C" void exit (int) throw ();' \2635 'extern "C" void exit (int);' \2636 'void exit (int);'2637 do2638 cat >conftest.$ac_ext <<_ACEOF2639 /* confdefs.h. */2640 _ACEOF2641 cat confdefs.h >>conftest.$ac_ext2642 cat >>conftest.$ac_ext <<_ACEOF2643 /* end confdefs.h. */2644 $ac_declaration2645 #include <stdlib.h>2646 int2647 main ()2648 {2649 exit (42);2650 ;2651 return 0;2652 }2653 _ACEOF2654 rm -f conftest.$ac_objext2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52656 (eval $ac_compile) 2>conftest.er12657 ac_status=$?2658 grep -v '^ *+' conftest.er1 >conftest.err2659 rm -f conftest.er12660 cat conftest.err >&52661 echo "$as_me:$LINENO: \$? = $ac_status" >&52662 (exit $ac_status); } &&2663 { ac_try='test -z "$ac_cxx_werror_flag"2664 || test ! -s conftest.err'2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52666 (eval $ac_try) 2>&52667 ac_status=$?2668 echo "$as_me:$LINENO: \$? = $ac_status" >&52669 (exit $ac_status); }; } &&2670 { ac_try='test -s conftest.$ac_objext'2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52672 (eval $ac_try) 2>&52673 ac_status=$?2674 echo "$as_me:$LINENO: \$? = $ac_status" >&52675 (exit $ac_status); }; }; then2676 :2677 else2678 echo "$as_me: failed program was:" >&52679 sed 's/^/| /' conftest.$ac_ext >&52680 2681 continue2682 fi2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2684 cat >conftest.$ac_ext <<_ACEOF2685 /* confdefs.h. */2686 _ACEOF2687 cat confdefs.h >>conftest.$ac_ext2688 cat >>conftest.$ac_ext <<_ACEOF2689 /* end confdefs.h. */2690 $ac_declaration2691 int2692 main ()2693 {2694 exit (42);2695 ;2696 return 0;2697 }2698 _ACEOF2699 rm -f conftest.$ac_objext2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52701 (eval $ac_compile) 2>conftest.er12702 ac_status=$?2703 grep -v '^ *+' conftest.er1 >conftest.err2704 rm -f conftest.er12705 cat conftest.err >&52706 echo "$as_me:$LINENO: \$? = $ac_status" >&52707 (exit $ac_status); } &&2708 { ac_try='test -z "$ac_cxx_werror_flag"2709 || test ! -s conftest.err'2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52711 (eval $ac_try) 2>&52712 ac_status=$?2713 echo "$as_me:$LINENO: \$? = $ac_status" >&52714 (exit $ac_status); }; } &&2715 { ac_try='test -s conftest.$ac_objext'2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52717 (eval $ac_try) 2>&52718 ac_status=$?2719 echo "$as_me:$LINENO: \$? = $ac_status" >&52720 (exit $ac_status); }; }; then2721 break2722 else2723 echo "$as_me: failed program was:" >&52724 sed 's/^/| /' conftest.$ac_ext >&52725 2726 fi2727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2728 done2729 rm -f conftest*2730 if test -n "$ac_declaration"; then2731 echo '#ifdef __cplusplus' >>confdefs.h2732 echo $ac_declaration >>confdefs.h2733 echo '#endif' >>confdefs.h2734 fi2735 2736 3164 ac_ext=c 2737 3165 ac_cpp='$CPP $CPPFLAGS' … … 2744 3172 # Extract the first word of "$ac_prog", so it can be a program name with args. 2745 3173 set dummy $ac_prog; ac_word=$2 2746 echo "$as_me:$LINENO: checking for $ac_word" >&52747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3174 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2748 3176 if test "${ac_cv_prog_AWK+set}" = set; then 2749 3177 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2758 3186 test -z "$as_dir" && as_dir=. 2759 3187 for ac_exec_ext in '' $ac_executable_extensions; do 2760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2761 3189 ac_cv_prog_AWK="$ac_prog" 2762 3190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2765 3193 done 2766 3194 done 3195 IFS=$as_save_IFS 2767 3196 2768 3197 fi … … 2770 3199 AWK=$ac_cv_prog_AWK 2771 3200 if test -n "$AWK"; then 2772 echo "$as_me:$LINENO: result: $AWK" >&5 2773 echo "${ECHO_T}$AWK" >&6 2774 else 2775 echo "$as_me:$LINENO: result: no" >&5 2776 echo "${ECHO_T}no" >&6 2777 fi 3201 { echo "$as_me:$LINENO: result: $AWK" >&5 3202 echo "${ECHO_T}$AWK" >&6; } 3203 else 3204 { echo "$as_me:$LINENO: result: no" >&5 3205 echo "${ECHO_T}no" >&6; } 3206 fi 3207 2778 3208 2779 3209 test -n "$AWK" && break … … 2784 3214 # Extract the first word of "$ac_prog", so it can be a program name with args. 2785 3215 set dummy $ac_prog; ac_word=$2 2786 echo "$as_me:$LINENO: checking for $ac_word" >&52787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3216 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2788 3218 if test "${ac_cv_prog_YACC+set}" = set; then 2789 3219 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2798 3228 test -z "$as_dir" && as_dir=. 2799 3229 for ac_exec_ext in '' $ac_executable_extensions; do 2800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2801 3231 ac_cv_prog_YACC="$ac_prog" 2802 3232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2805 3235 done 2806 3236 done 3237 IFS=$as_save_IFS 2807 3238 2808 3239 fi … … 2810 3241 YACC=$ac_cv_prog_YACC 2811 3242 if test -n "$YACC"; then 2812 echo "$as_me:$LINENO: result: $YACC" >&5 2813 echo "${ECHO_T}$YACC" >&6 2814 else 2815 echo "$as_me:$LINENO: result: no" >&5 2816 echo "${ECHO_T}no" >&6 2817 fi 3243 { echo "$as_me:$LINENO: result: $YACC" >&5 3244 echo "${ECHO_T}$YACC" >&6; } 3245 else 3246 { echo "$as_me:$LINENO: result: no" >&5 3247 echo "${ECHO_T}no" >&6; } 3248 fi 3249 2818 3250 2819 3251 test -n "$YACC" && break … … 2822 3254 2823 3255 ac_aux_dir= 2824 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2825 if test -f $ac_dir/install-sh; then3256 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3257 if test -f "$ac_dir/install-sh"; then 2826 3258 ac_aux_dir=$ac_dir 2827 3259 ac_install_sh="$ac_aux_dir/install-sh -c" 2828 3260 break 2829 elif test -f $ac_dir/install.sh; then3261 elif test -f "$ac_dir/install.sh"; then 2830 3262 ac_aux_dir=$ac_dir 2831 3263 ac_install_sh="$ac_aux_dir/install.sh -c" 2832 3264 break 2833 elif test -f $ac_dir/shtool; then3265 elif test -f "$ac_dir/shtool"; then 2834 3266 ac_aux_dir=$ac_dir 2835 3267 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2838 3270 done 2839 3271 if test -z "$ac_aux_dir"; then 2840 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52841 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3272 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3273 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2842 3274 { (exit 1); exit 1; }; } 2843 3275 fi 2844 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2845 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2846 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3276 3277 # These three variables are undocumented and unsupported, 3278 # and are intended to be withdrawn in a future Autoconf release. 3279 # They can cause serious problems if a builder's source tree is in a directory 3280 # whose full name contains unusual characters. 3281 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3282 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3283 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3284 2847 3285 2848 3286 # Make sure we can run config.sub. 2849 $ ac_config_subsun4 >/dev/null 2>&1 ||2850 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&52851 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}3287 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3288 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3289 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2852 3290 { (exit 1); exit 1; }; } 2853 3291 2854 echo "$as_me:$LINENO: checking build system type" >&52855 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3292 { echo "$as_me:$LINENO: checking build system type" >&5 3293 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2856 3294 if test "${ac_cv_build+set}" = set; then 2857 3295 echo $ECHO_N "(cached) $ECHO_C" >&6 2858 3296 else 2859 ac_ cv_build_alias=$build_alias2860 test -z "$ac_cv_build_alias"&&2861 ac_ cv_build_alias=`$ac_config_guess`2862 test -z "$ac_cv_build_alias"&&3297 ac_build_alias=$build_alias 3298 test "x$ac_build_alias" = x && 3299 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3300 test "x$ac_build_alias" = x && 2863 3301 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2864 3302 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2865 3303 { (exit 1); exit 1; }; } 2866 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||2867 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&52868 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}3304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3305 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3306 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2869 3307 { (exit 1); exit 1; }; } 2870 3308 2871 3309 fi 2872 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2873 echo "${ECHO_T}$ac_cv_build" >&6 3310 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3311 echo "${ECHO_T}$ac_cv_build" >&6; } 3312 case $ac_cv_build in 3313 *-*-*) ;; 3314 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3315 echo "$as_me: error: invalid value of canonical build" >&2;} 3316 { (exit 1); exit 1; }; };; 3317 esac 2874 3318 build=$ac_cv_build 2875 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2876 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2877 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2878 2879 2880 echo "$as_me:$LINENO: checking host system type" >&5 2881 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3319 ac_save_IFS=$IFS; IFS='-' 3320 set x $ac_cv_build 3321 shift 3322 build_cpu=$1 3323 build_vendor=$2 3324 shift; shift 3325 # Remember, the first character of IFS is used to create $*, 3326 # except with old shells: 3327 build_os=$* 3328 IFS=$ac_save_IFS 3329 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3330 3331 3332 { echo "$as_me:$LINENO: checking host system type" >&5 3333 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2882 3334 if test "${ac_cv_host+set}" = set; then 2883 3335 echo $ECHO_N "(cached) $ECHO_C" >&6 2884 3336 else 2885 ac_cv_host_alias=$host_alias2886 test -z "$ac_cv_host_alias" && 2887 ac_cv_host_alias=$ac_cv_build_alias 2888 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||2889 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&52890 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}3337 if test "x$host_alias" = x; then 3338 ac_cv_host=$ac_cv_build 3339 else 3340 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3341 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3342 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2891 3343 { (exit 1); exit 1; }; } 2892 2893 fi 2894 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2895 echo "${ECHO_T}$ac_cv_host" >&6 3344 fi 3345 3346 fi 3347 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3348 echo "${ECHO_T}$ac_cv_host" >&6; } 3349 case $ac_cv_host in 3350 *-*-*) ;; 3351 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3352 echo "$as_me: error: invalid value of canonical host" >&2;} 3353 { (exit 1); exit 1; }; };; 3354 esac 2896 3355 host=$ac_cv_host 2897 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2898 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2899 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2900 2901 2902 echo "$as_me:$LINENO: checking target system type" >&5 2903 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3356 ac_save_IFS=$IFS; IFS='-' 3357 set x $ac_cv_host 3358 shift 3359 host_cpu=$1 3360 host_vendor=$2 3361 shift; shift 3362 # Remember, the first character of IFS is used to create $*, 3363 # except with old shells: 3364 host_os=$* 3365 IFS=$ac_save_IFS 3366 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3367 3368 3369 { echo "$as_me:$LINENO: checking target system type" >&5 3370 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 2904 3371 if test "${ac_cv_target+set}" = set; then 2905 3372 echo $ECHO_N "(cached) $ECHO_C" >&6 2906 3373 else 2907 ac_cv_target_alias=$target_alias2908 test "x$ac_cv_target_alias" = "x" && 2909 ac_cv_target_alias=$ac_cv_host_alias 2910 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||2911 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&52912 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}3374 if test "x$target_alias" = x; then 3375 ac_cv_target=$ac_cv_host 3376 else 3377 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3378 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3379 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2913 3380 { (exit 1); exit 1; }; } 2914 2915 fi 2916 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2917 echo "${ECHO_T}$ac_cv_target" >&6 3381 fi 3382 3383 fi 3384 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3385 echo "${ECHO_T}$ac_cv_target" >&6; } 3386 case $ac_cv_target in 3387 *-*-*) ;; 3388 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3389 echo "$as_me: error: invalid value of canonical target" >&2;} 3390 { (exit 1); exit 1; }; };; 3391 esac 2918 3392 target=$ac_cv_target 2919 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2920 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2921 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3393 ac_save_IFS=$IFS; IFS='-' 3394 set x $ac_cv_target 3395 shift 3396 target_cpu=$1 3397 target_vendor=$2 3398 shift; shift 3399 # Remember, the first character of IFS is used to create $*, 3400 # except with old shells: 3401 target_os=$* 3402 IFS=$ac_save_IFS 3403 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2922 3404 2923 3405 … … 2941 3423 # OS/2's system install, which has a completely different semantic 2942 3424 # ./install, which can be erroneously created by make from ./install.sh. 2943 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3425 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3426 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2945 3427 if test -z "$INSTALL"; then 2946 3428 if test "${ac_cv_path_install+set}" = set; then … … 2964 3446 for ac_prog in ginstall scoinst install; do 2965 3447 for ac_exec_ext in '' $ac_executable_extensions; do 2966 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3448 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2967 3449 if test $ac_prog = install && 2968 3450 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2983 3465 esac 2984 3466 done 3467 IFS=$as_save_IFS 2985 3468 2986 3469 … … 2989 3472 INSTALL=$ac_cv_path_install 2990 3473 else 2991 # As a last resort, use the slow shell script. We don't cache a2992 # pathfor INSTALL within a source directory, because that will3474 # As a last resort, use the slow shell script. Don't cache a 3475 # value for INSTALL within a source directory, because that will 2993 3476 # break other packages using the cache if that directory is 2994 # removed, or if the path is relative.3477 # removed, or if the value is a relative name. 2995 3478 INSTALL=$ac_install_sh 2996 3479 fi 2997 3480 fi 2998 echo "$as_me:$LINENO: result: $INSTALL" >&52999 echo "${ECHO_T}$INSTALL" >&6 3481 { echo "$as_me:$LINENO: result: $INSTALL" >&5 3482 echo "${ECHO_T}$INSTALL" >&6; } 3000 3483 3001 3484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3007 3490 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3008 3491 3009 echo "$as_me:$LINENO: checking whether ln -s works" >&53010 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3492 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 3493 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 3011 3494 LN_S=$as_ln_s 3012 3495 if test "$LN_S" = "ln -s"; then 3013 echo "$as_me:$LINENO: result: yes" >&53014 echo "${ECHO_T}yes" >&6 3015 else 3016 echo "$as_me:$LINENO: result: no, using $LN_S" >&53017 echo "${ECHO_T}no, using $LN_S" >&6 3018 fi 3019 3020 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53021 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3022 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`3023 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then3496 { echo "$as_me:$LINENO: result: yes" >&5 3497 echo "${ECHO_T}yes" >&6; } 3498 else 3499 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3500 echo "${ECHO_T}no, using $LN_S" >&6; } 3501 fi 3502 3503 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3504 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 3505 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3506 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3024 3507 echo $ECHO_N "(cached) $ECHO_C" >&6 3025 3508 else 3026 3509 cat >conftest.make <<\_ACEOF 3510 SHELL = /bin/sh 3027 3511 all: 3028 @echo ' ac_maketemp="$(MAKE)"'3512 @echo '@@@%%%=$(MAKE)=@@@%%%' 3029 3513 _ACEOF 3030 3514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3031 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3032 if test -n "$ac_maketemp"; then 3033 eval ac_cv_prog_make_${ac_make}_set=yes3034 else 3035 eval ac_cv_prog_make_${ac_make}_set=no3036 fi 3515 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3516 *@@@%%%=?*=@@@%%%*) 3517 eval ac_cv_prog_make_${ac_make}_set=yes;; 3518 *) 3519 eval ac_cv_prog_make_${ac_make}_set=no;; 3520 esac 3037 3521 rm -f conftest.make 3038 3522 fi 3039 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3040 echo "$as_me:$LINENO: result: yes" >&53041 echo "${ECHO_T}yes" >&6 3523 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3524 { echo "$as_me:$LINENO: result: yes" >&5 3525 echo "${ECHO_T}yes" >&6; } 3042 3526 SET_MAKE= 3043 3527 else 3044 echo "$as_me:$LINENO: result: no" >&53045 echo "${ECHO_T}no" >&6 3528 { echo "$as_me:$LINENO: result: no" >&5 3529 echo "${ECHO_T}no" >&6; } 3046 3530 SET_MAKE="MAKE=${MAKE-make}" 3047 3531 fi … … 3050 3534 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3051 3535 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3052 echo "$as_me:$LINENO: checking for $ac_word" >&53053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3536 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3054 3538 if test "${ac_cv_prog_RANLIB+set}" = set; then 3055 3539 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3064 3548 test -z "$as_dir" && as_dir=. 3065 3549 for ac_exec_ext in '' $ac_executable_extensions; do 3066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3067 3551 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3068 3552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3071 3555 done 3072 3556 done 3557 IFS=$as_save_IFS 3073 3558 3074 3559 fi … … 3076 3561 RANLIB=$ac_cv_prog_RANLIB 3077 3562 if test -n "$RANLIB"; then 3078 echo "$as_me:$LINENO: result: $RANLIB" >&5 3079 echo "${ECHO_T}$RANLIB" >&6 3080 else 3081 echo "$as_me:$LINENO: result: no" >&5 3082 echo "${ECHO_T}no" >&6 3083 fi 3563 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3564 echo "${ECHO_T}$RANLIB" >&6; } 3565 else 3566 { echo "$as_me:$LINENO: result: no" >&5 3567 echo "${ECHO_T}no" >&6; } 3568 fi 3569 3084 3570 3085 3571 fi … … 3088 3574 # Extract the first word of "ranlib", so it can be a program name with args. 3089 3575 set dummy ranlib; ac_word=$2 3090 echo "$as_me:$LINENO: checking for $ac_word" >&53091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3576 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3092 3578 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3093 3579 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3102 3588 test -z "$as_dir" && as_dir=. 3103 3589 for ac_exec_ext in '' $ac_executable_extensions; do 3104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3105 3591 ac_cv_prog_ac_ct_RANLIB="ranlib" 3106 3592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3109 3595 done 3110 3596 done 3111 3112 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3597 IFS=$as_save_IFS 3598 3113 3599 fi 3114 3600 fi 3115 3601 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3116 3602 if test -n "$ac_ct_RANLIB"; then 3117 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3118 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3119 else 3120 echo "$as_me:$LINENO: result: no" >&5 3121 echo "${ECHO_T}no" >&6 3122 fi 3123 3124 RANLIB=$ac_ct_RANLIB 3603 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3604 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3605 else 3606 { echo "$as_me:$LINENO: result: no" >&5 3607 echo "${ECHO_T}no" >&6; } 3608 fi 3609 3610 if test "x$ac_ct_RANLIB" = x; then 3611 RANLIB=":" 3612 else 3613 case $cross_compiling:$ac_tool_warned in 3614 yes:) 3615 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3616 whose name does not start with the host triplet. If you think this 3617 configuration is useful to you, please write to [email protected]." >&5 3618 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3619 whose name does not start with the host triplet. If you think this 3620 configuration is useful to you, please write to [email protected]." >&2;} 3621 ac_tool_warned=yes ;; 3622 esac 3623 RANLIB=$ac_ct_RANLIB 3624 fi 3125 3625 else 3126 3626 RANLIB="$ac_cv_prog_RANLIB" … … 3128 3628 3129 3629 3130 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53131 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3630 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3631 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; } 3132 3632 arch_64bit=no 3133 3633 case "$host_cpu" in … … 3136 3636 3137 3637 if test "$arch_64bit" = yes; then 3138 echo "$as_me:$LINENO: result: yes" >&53139 echo "${ECHO_T}yes" >&6 3638 { echo "$as_me:$LINENO: result: yes" >&5 3639 echo "${ECHO_T}yes" >&6; } 3140 3640 if test -z "$COMPAT32BITFLAGS" ; then 3141 3641 COMPAT32BITFLAGS="-m32" 3142 3642 fi 3143 3643 else 3144 echo "$as_me:$LINENO: result: no" >&53145 echo "${ECHO_T}no" >&6 3644 { echo "$as_me:$LINENO: result: no" >&5 3645 echo "${ECHO_T}no" >&6; } 3146 3646 if test -z "$COMPAT32BITFLAGS" ; then 3147 3647 COMPAT32BITFLAGS= … … 3190 3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3191 3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3192 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53193 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3692 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3693 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3194 3694 # On Suns, sometimes $CPP names a directory. 3195 3695 if test -n "$CPP" && test -d "$CPP"; then … … 3225 3725 Syntax error 3226 3726 _ACEOF 3227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3727 if { (ac_try="$ac_cpp conftest.$ac_ext" 3728 case "(($ac_try" in 3729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3730 *) ac_try_echo=$ac_try;; 3731 esac 3732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3229 3734 ac_status=$? 3230 3735 grep -v '^ *+' conftest.er1 >conftest.err … … 3232 3737 cat conftest.err >&5 3233 3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3234 (exit $ac_status); } >/dev/null; then 3235 if test -s conftest.err; then 3236 ac_cpp_err=$ac_c_preproc_warn_flag 3237 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3238 else 3239 ac_cpp_err= 3240 fi 3241 else 3242 ac_cpp_err=yes 3243 fi 3244 if test -z "$ac_cpp_err"; then 3739 (exit $ac_status); } >/dev/null && { 3740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3741 test ! -s conftest.err 3742 }; then 3245 3743 : 3246 3744 else … … 3251 3749 continue 3252 3750 fi 3751 3253 3752 rm -f conftest.err conftest.$ac_ext 3254 3753 3255 # OK, works on sane cases. Now check whether non -existent headers3754 # OK, works on sane cases. Now check whether nonexistent headers 3256 3755 # can be detected and how. 3257 3756 cat >conftest.$ac_ext <<_ACEOF … … 3263 3762 #include <ac_nonexistent.h> 3264 3763 _ACEOF 3265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3764 if { (ac_try="$ac_cpp conftest.$ac_ext" 3765 case "(($ac_try" in 3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3767 *) ac_try_echo=$ac_try;; 3768 esac 3769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3267 3771 ac_status=$? 3268 3772 grep -v '^ *+' conftest.er1 >conftest.err … … 3270 3774 cat conftest.err >&5 3271 3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3272 (exit $ac_status); } >/dev/null; then 3273 if test -s conftest.err; then 3274 ac_cpp_err=$ac_c_preproc_warn_flag 3275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3276 else 3277 ac_cpp_err= 3278 fi 3279 else 3280 ac_cpp_err=yes 3281 fi 3282 if test -z "$ac_cpp_err"; then 3776 (exit $ac_status); } >/dev/null && { 3777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3778 test ! -s conftest.err 3779 }; then 3283 3780 # Broken: success on invalid input. 3284 3781 continue … … 3291 3788 break 3292 3789 fi 3790 3293 3791 rm -f conftest.err conftest.$ac_ext 3294 3792 … … 3308 3806 ac_cv_prog_CPP=$CPP 3309 3807 fi 3310 echo "$as_me:$LINENO: result: $CPP" >&53311 echo "${ECHO_T}$CPP" >&6 3808 { echo "$as_me:$LINENO: result: $CPP" >&5 3809 echo "${ECHO_T}$CPP" >&6; } 3312 3810 ac_preproc_ok=false 3313 3811 for ac_c_preproc_warn_flag in '' yes … … 3332 3830 Syntax error 3333 3831 _ACEOF 3334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3832 if { (ac_try="$ac_cpp conftest.$ac_ext" 3833 case "(($ac_try" in 3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3835 *) ac_try_echo=$ac_try;; 3836 esac 3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3336 3839 ac_status=$? 3337 3840 grep -v '^ *+' conftest.er1 >conftest.err … … 3339 3842 cat conftest.err >&5 3340 3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3341 (exit $ac_status); } >/dev/null; then 3342 if test -s conftest.err; then 3343 ac_cpp_err=$ac_c_preproc_warn_flag 3344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3345 else 3346 ac_cpp_err= 3347 fi 3348 else 3349 ac_cpp_err=yes 3350 fi 3351 if test -z "$ac_cpp_err"; then 3844 (exit $ac_status); } >/dev/null && { 3845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3846 test ! -s conftest.err 3847 }; then 3352 3848 : 3353 3849 else … … 3358 3854 continue 3359 3855 fi 3856 3360 3857 rm -f conftest.err conftest.$ac_ext 3361 3858 3362 # OK, works on sane cases. Now check whether non -existent headers3859 # OK, works on sane cases. Now check whether nonexistent headers 3363 3860 # can be detected and how. 3364 3861 cat >conftest.$ac_ext <<_ACEOF … … 3370 3867 #include <ac_nonexistent.h> 3371 3868 _ACEOF 3372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3869 if { (ac_try="$ac_cpp conftest.$ac_ext" 3870 case "(($ac_try" in 3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3872 *) ac_try_echo=$ac_try;; 3873 esac 3874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3374 3876 ac_status=$? 3375 3877 grep -v '^ *+' conftest.er1 >conftest.err … … 3377 3879 cat conftest.err >&5 3378 3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3379 (exit $ac_status); } >/dev/null; then 3380 if test -s conftest.err; then 3381 ac_cpp_err=$ac_c_preproc_warn_flag 3382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3383 else 3384 ac_cpp_err= 3385 fi 3386 else 3387 ac_cpp_err=yes 3388 fi 3389 if test -z "$ac_cpp_err"; then 3881 (exit $ac_status); } >/dev/null && { 3882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3883 test ! -s conftest.err 3884 }; then 3390 3885 # Broken: success on invalid input. 3391 3886 continue … … 3398 3893 break 3399 3894 fi 3895 3400 3896 rm -f conftest.err conftest.$ac_ext 3401 3897 … … 3420 3916 3421 3917 3422 echo "$as_me:$LINENO: checking for egrep" >&53423 echo $ECHO_N "checking for egrep... $ECHO_C" >&63424 if test "${ac_cv_p rog_egrep+set}" = set; then3918 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3919 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3920 if test "${ac_cv_path_GREP+set}" = set; then 3425 3921 echo $ECHO_N "(cached) $ECHO_C" >&6 3426 3922 else 3427 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3428 then ac_cv_prog_egrep='grep -E' 3429 else ac_cv_prog_egrep='egrep' 3923 # Extract the first word of "grep ggrep" to use in msg output 3924 if test -z "$GREP"; then 3925 set dummy grep ggrep; ac_prog_name=$2 3926 if test "${ac_cv_path_GREP+set}" = set; then 3927 echo $ECHO_N "(cached) $ECHO_C" >&6 3928 else 3929 ac_path_GREP_found=false 3930 # Loop through the user's path and test for each of PROGNAME-LIST 3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3933 do 3934 IFS=$as_save_IFS 3935 test -z "$as_dir" && as_dir=. 3936 for ac_prog in grep ggrep; do 3937 for ac_exec_ext in '' $ac_executable_extensions; do 3938 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3939 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3940 # Check for GNU ac_path_GREP and select it if it is found. 3941 # Check for GNU $ac_path_GREP 3942 case `"$ac_path_GREP" --version 2>&1` in 3943 *GNU*) 3944 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3945 *) 3946 ac_count=0 3947 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3948 while : 3949 do 3950 cat "conftest.in" "conftest.in" >"conftest.tmp" 3951 mv "conftest.tmp" "conftest.in" 3952 cp "conftest.in" "conftest.nl" 3953 echo 'GREP' >> "conftest.nl" 3954 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3955 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3956 ac_count=`expr $ac_count + 1` 3957 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3958 # Best one so far, save it but keep looking for a better one 3959 ac_cv_path_GREP="$ac_path_GREP" 3960 ac_path_GREP_max=$ac_count 3430 3961 fi 3431 fi 3432 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3433 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3434 EGREP=$ac_cv_prog_egrep 3435 3436 3437 3438 echo "$as_me:$LINENO: checking for AIX" >&5 3439 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3962 # 10*(2^10) chars as input seems more than enough 3963 test $ac_count -gt 10 && break 3964 done 3965 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3966 esac 3967 3968 3969 $ac_path_GREP_found && break 3 3970 done 3971 done 3972 3973 done 3974 IFS=$as_save_IFS 3975 3976 3977 fi 3978 3979 GREP="$ac_cv_path_GREP" 3980 if test -z "$GREP"; then 3981 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3982 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3983 { (exit 1); exit 1; }; } 3984 fi 3985 3986 else 3987 ac_cv_path_GREP=$GREP 3988 fi 3989 3990 3991 fi 3992 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3993 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3994 GREP="$ac_cv_path_GREP" 3995 3996 3997 { echo "$as_me:$LINENO: checking for egrep" >&5 3998 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3999 if test "${ac_cv_path_EGREP+set}" = set; then 4000 echo $ECHO_N "(cached) $ECHO_C" >&6 4001 else 4002 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4003 then ac_cv_path_EGREP="$GREP -E" 4004 else 4005 # Extract the first word of "egrep" to use in msg output 4006 if test -z "$EGREP"; then 4007 set dummy egrep; ac_prog_name=$2 4008 if test "${ac_cv_path_EGREP+set}" = set; then 4009 echo $ECHO_N "(cached) $ECHO_C" >&6 4010 else 4011 ac_path_EGREP_found=false 4012 # Loop through the user's path and test for each of PROGNAME-LIST 4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4014 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4015 do 4016 IFS=$as_save_IFS 4017 test -z "$as_dir" && as_dir=. 4018 for ac_prog in egrep; do 4019 for ac_exec_ext in '' $ac_executable_extensions; do 4020 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4021 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4022 # Check for GNU ac_path_EGREP and select it if it is found. 4023 # Check for GNU $ac_path_EGREP 4024 case `"$ac_path_EGREP" --version 2>&1` in 4025 *GNU*) 4026 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4027 *) 4028 ac_count=0 4029 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4030 while : 4031 do 4032 cat "conftest.in" "conftest.in" >"conftest.tmp" 4033 mv "conftest.tmp" "conftest.in" 4034 cp "conftest.in" "conftest.nl" 4035 echo 'EGREP' >> "conftest.nl" 4036 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4037 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4038 ac_count=`expr $ac_count + 1` 4039 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4040 # Best one so far, save it but keep looking for a better one 4041 ac_cv_path_EGREP="$ac_path_EGREP" 4042 ac_path_EGREP_max=$ac_count 4043 fi 4044 # 10*(2^10) chars as input seems more than enough 4045 test $ac_count -gt 10 && break 4046 done 4047 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4048 esac 4049 4050 4051 $ac_path_EGREP_found && break 3 4052 done 4053 done 4054 4055 done 4056 IFS=$as_save_IFS 4057 4058 4059 fi 4060 4061 EGREP="$ac_cv_path_EGREP" 4062 if test -z "$EGREP"; then 4063 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4064 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4065 { (exit 1); exit 1; }; } 4066 fi 4067 4068 else 4069 ac_cv_path_EGREP=$EGREP 4070 fi 4071 4072 4073 fi 4074 fi 4075 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4076 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4077 EGREP="$ac_cv_path_EGREP" 4078 4079 4080 4081 { echo "$as_me:$LINENO: checking for AIX" >&5 4082 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3440 4083 cat >conftest.$ac_ext <<_ACEOF 3441 4084 /* confdefs.h. */ … … 3451 4094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3452 4095 $EGREP "yes" >/dev/null 2>&1; then 3453 echo "$as_me:$LINENO: result: yes" >&53454 echo "${ECHO_T}yes" >&6 4096 { echo "$as_me:$LINENO: result: yes" >&5 4097 echo "${ECHO_T}yes" >&6; } 3455 4098 cat >>confdefs.h <<\_ACEOF 3456 4099 #define _ALL_SOURCE 1 … … 3458 4101 3459 4102 else 3460 echo "$as_me:$LINENO: result: no" >&53461 echo "${ECHO_T}no" >&6 4103 { echo "$as_me:$LINENO: result: no" >&5 4104 echo "${ECHO_T}no" >&6; } 3462 4105 fi 3463 4106 rm -f conftest* 3464 4107 3465 4108 3466 echo "$as_me:$LINENO: checking for library containing strerror" >&53467 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4109 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 4110 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3468 4111 if test "${ac_cv_search_strerror+set}" = set; then 3469 4112 echo $ECHO_N "(cached) $ECHO_C" >&6 3470 4113 else 3471 4114 ac_func_search_save_LIBS=$LIBS 3472 ac_cv_search_strerror=no3473 4115 cat >conftest.$ac_ext <<_ACEOF 3474 4116 /* confdefs.h. */ … … 3478 4120 /* end confdefs.h. */ 3479 4121 3480 /* Override any gcc2 internal prototype to avoid an error. */ 4122 /* Override any GCC internal prototype to avoid an error. 4123 Use char because int might match the return type of a GCC 4124 builtin and then its argument prototype would still apply. */ 3481 4125 #ifdef __cplusplus 3482 4126 extern "C" 3483 4127 #endif 3484 /* We use char because int might match the return type of a gcc23485 builtin and then its argument prototype would still apply. */3486 4128 char strerror (); 3487 4129 int 3488 4130 main () 3489 4131 { 3490 strerror ();4132 return strerror (); 3491 4133 ; 3492 4134 return 0; 3493 4135 } 3494 4136 _ACEOF 3495 rm -f conftest.$ac_objext conftest$ac_exeext 3496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3497 (eval $ac_link) 2>conftest.er1 4137 for ac_lib in '' cposix; do 4138 if test -z "$ac_lib"; then 4139 ac_res="none required" 4140 else 4141 ac_res=-l$ac_lib 4142 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4143 fi 4144 rm -f conftest.$ac_objext conftest$ac_exeext 4145 if { (ac_try="$ac_link" 4146 case "(($ac_try" in 4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4148 *) ac_try_echo=$ac_try;; 4149 esac 4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4151 (eval "$ac_link") 2>conftest.er1 3498 4152 ac_status=$? 3499 4153 grep -v '^ *+' conftest.er1 >conftest.err … … 3501 4155 cat conftest.err >&5 3502 4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3503 (exit $ac_status); } && 3504 { ac_try='test -z "$ac_c_werror_flag" 3505 || test ! -s conftest.err' 3506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3507 (eval $ac_try) 2>&5 3508 ac_status=$? 3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 (exit $ac_status); }; } && 3511 { ac_try='test -s conftest$ac_exeext' 3512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3513 (eval $ac_try) 2>&5 3514 ac_status=$? 3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3516 (exit $ac_status); }; }; then 3517 ac_cv_search_strerror="none required" 4157 (exit $ac_status); } && { 4158 test -z "$ac_c_werror_flag" || 4159 test ! -s conftest.err 4160 } && test -s conftest$ac_exeext && 4161 $as_test_x conftest$ac_exeext; then 4162 ac_cv_search_strerror=$ac_res 3518 4163 else 3519 4164 echo "$as_me: failed program was:" >&5 3520 4165 sed 's/^/| /' conftest.$ac_ext >&5 3521 4166 3522 fi 3523 rm -f conftest.err conftest.$ac_objext \ 3524 conftest$ac_exeext conftest.$ac_ext 3525 if test "$ac_cv_search_strerror" = no; then 3526 for ac_lib in cposix; do 3527 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3528 cat >conftest.$ac_ext <<_ACEOF 3529 /* confdefs.h. */ 3530 _ACEOF 3531 cat confdefs.h >>conftest.$ac_ext 3532 cat >>conftest.$ac_ext <<_ACEOF 3533 /* end confdefs.h. */ 3534 3535 /* Override any gcc2 internal prototype to avoid an error. */ 3536 #ifdef __cplusplus 3537 extern "C" 3538 #endif 3539 /* We use char because int might match the return type of a gcc2 3540 builtin and then its argument prototype would still apply. */ 3541 char strerror (); 3542 int 3543 main () 3544 { 3545 strerror (); 3546 ; 3547 return 0; 3548 } 3549 _ACEOF 3550 rm -f conftest.$ac_objext conftest$ac_exeext 3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3552 (eval $ac_link) 2>conftest.er1 3553 ac_status=$? 3554 grep -v '^ *+' conftest.er1 >conftest.err 3555 rm -f conftest.er1 3556 cat conftest.err >&5 3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3558 (exit $ac_status); } && 3559 { ac_try='test -z "$ac_c_werror_flag" 3560 || test ! -s conftest.err' 3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3562 (eval $ac_try) 2>&5 3563 ac_status=$? 3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3565 (exit $ac_status); }; } && 3566 { ac_try='test -s conftest$ac_exeext' 3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3568 (eval $ac_try) 2>&5 3569 ac_status=$? 3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3571 (exit $ac_status); }; }; then 3572 ac_cv_search_strerror="-l$ac_lib" 3573 break 3574 else 3575 echo "$as_me: failed program was:" >&5 3576 sed 's/^/| /' conftest.$ac_ext >&5 3577 3578 fi 3579 rm -f conftest.err conftest.$ac_objext \ 3580 conftest$ac_exeext conftest.$ac_ext 3581 done 3582 fi 4167 4168 fi 4169 4170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4171 conftest$ac_exeext 4172 if test "${ac_cv_search_strerror+set}" = set; then 4173 break 4174 fi 4175 done 4176 if test "${ac_cv_search_strerror+set}" = set; then 4177 : 4178 else 4179 ac_cv_search_strerror=no 4180 fi 4181 rm conftest.$ac_ext 3583 4182 LIBS=$ac_func_search_save_LIBS 3584 4183 fi 3585 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3586 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3587 if test "$ac_cv_search_strerror" != no; then 3588 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3589 3590 fi 3591 3592 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3593 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4184 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4185 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 4186 ac_res=$ac_cv_search_strerror 4187 if test "$ac_res" != no; then 4188 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4189 4190 fi 4191 4192 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3594 4194 if test "${ac_cv_header_stdc+set}" = set; then 3595 4195 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3615 4215 _ACEOF 3616 4216 rm -f conftest.$ac_objext 3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3618 (eval $ac_compile) 2>conftest.er1 4217 if { (ac_try="$ac_compile" 4218 case "(($ac_try" in 4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4220 *) ac_try_echo=$ac_try;; 4221 esac 4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4223 (eval "$ac_compile") 2>conftest.er1 3619 4224 ac_status=$? 3620 4225 grep -v '^ *+' conftest.er1 >conftest.err … … 3622 4227 cat conftest.err >&5 3623 4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3624 (exit $ac_status); } && 3625 { ac_try='test -z "$ac_c_werror_flag" 3626 || test ! -s conftest.err' 3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3628 (eval $ac_try) 2>&5 3629 ac_status=$? 3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3631 (exit $ac_status); }; } && 3632 { ac_try='test -s conftest.$ac_objext' 3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3634 (eval $ac_try) 2>&5 3635 ac_status=$? 3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3637 (exit $ac_status); }; }; then 4229 (exit $ac_status); } && { 4230 test -z "$ac_c_werror_flag" || 4231 test ! -s conftest.err 4232 } && test -s conftest.$ac_objext; then 3638 4233 ac_cv_header_stdc=yes 3639 4234 else … … 3641 4236 sed 's/^/| /' conftest.$ac_ext >&5 3642 4237 3643 ac_cv_header_stdc=no 3644 fi 3645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4238 ac_cv_header_stdc=no 4239 fi 4240 4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3646 4242 3647 4243 if test $ac_cv_header_stdc = yes; then … … 3699 4295 /* end confdefs.h. */ 3700 4296 #include <ctype.h> 4297 #include <stdlib.h> 3701 4298 #if ((' ' & 0x0FF) == 0x020) 3702 4299 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3718 4315 if (XOR (islower (i), ISLOWER (i)) 3719 4316 || toupper (i) != TOUPPER (i)) 3720 exit(2);3721 exit (0);4317 return 2; 4318 return 0; 3722 4319 } 3723 4320 _ACEOF 3724 4321 rm -f conftest$ac_exeext 3725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3726 (eval $ac_link) 2>&5 4322 if { (ac_try="$ac_link" 4323 case "(($ac_try" in 4324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4325 *) ac_try_echo=$ac_try;; 4326 esac 4327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4328 (eval "$ac_link") 2>&5 3727 4329 ac_status=$? 3728 4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3729 4331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3731 (eval $ac_try) 2>&5 4332 { (case "(($ac_try" in 4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4334 *) ac_try_echo=$ac_try;; 4335 esac 4336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4337 (eval "$ac_try") 2>&5 3732 4338 ac_status=$? 3733 4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3742 4348 ac_cv_header_stdc=no 3743 4349 fi 3744 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3745 fi 3746 fi 3747 fi 3748 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3749 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4351 fi 4352 4353 4354 fi 4355 fi 4356 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4357 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3750 4358 if test $ac_cv_header_stdc = yes; then 3751 4359 … … 3770 4378 do 3771 4379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3772 echo "$as_me:$LINENO: checking for $ac_header" >&53773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3774 if eval "test \"\${$as_ac_Header+set}\" = set"; then4380 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3775 4383 echo $ECHO_N "(cached) $ECHO_C" >&6 3776 4384 else … … 3786 4394 _ACEOF 3787 4395 rm -f conftest.$ac_objext 3788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3789 (eval $ac_compile) 2>conftest.er1 4396 if { (ac_try="$ac_compile" 4397 case "(($ac_try" in 4398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4399 *) ac_try_echo=$ac_try;; 4400 esac 4401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4402 (eval "$ac_compile") 2>conftest.er1 3790 4403 ac_status=$? 3791 4404 grep -v '^ *+' conftest.er1 >conftest.err … … 3793 4406 cat conftest.err >&5 3794 4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3795 (exit $ac_status); } && 3796 { ac_try='test -z "$ac_c_werror_flag" 3797 || test ! -s conftest.err' 3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3799 (eval $ac_try) 2>&5 3800 ac_status=$? 3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3802 (exit $ac_status); }; } && 3803 { ac_try='test -s conftest.$ac_objext' 3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3805 (eval $ac_try) 2>&5 3806 ac_status=$? 3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3808 (exit $ac_status); }; }; then 4408 (exit $ac_status); } && { 4409 test -z "$ac_c_werror_flag" || 4410 test ! -s conftest.err 4411 } && test -s conftest.$ac_objext; then 3809 4412 eval "$as_ac_Header=yes" 3810 4413 else … … 3812 4415 sed 's/^/| /' conftest.$ac_ext >&5 3813 4416 3814 eval "$as_ac_Header=no" 3815 fi 3816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3817 fi 3818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4417 eval "$as_ac_Header=no" 4418 fi 4419 4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4421 fi 4422 ac_res=`eval echo '${'$as_ac_Header'}'` 4423 { echo "$as_me:$LINENO: result: $ac_res" >&5 4424 echo "${ECHO_T}$ac_res" >&6; } 3820 4425 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3821 4426 cat >>confdefs.h <<_ACEOF … … 3829 4434 3830 4435 if test "${ac_cv_header_minix_config_h+set}" = set; then 3831 echo "$as_me:$LINENO: checking for minix/config.h" >&53832 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4436 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4437 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3833 4438 if test "${ac_cv_header_minix_config_h+set}" = set; then 3834 4439 echo $ECHO_N "(cached) $ECHO_C" >&6 3835 4440 fi 3836 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53837 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4441 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4442 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3838 4443 else 3839 4444 # Is the header compilable? 3840 echo "$as_me:$LINENO: checking minix/config.h usability" >&53841 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4445 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4446 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 3842 4447 cat >conftest.$ac_ext <<_ACEOF 3843 4448 /* confdefs.h. */ … … 3850 4455 _ACEOF 3851 4456 rm -f conftest.$ac_objext 3852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3853 (eval $ac_compile) 2>conftest.er1 4457 if { (ac_try="$ac_compile" 4458 case "(($ac_try" in 4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4460 *) ac_try_echo=$ac_try;; 4461 esac 4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4463 (eval "$ac_compile") 2>conftest.er1 3854 4464 ac_status=$? 3855 4465 grep -v '^ *+' conftest.er1 >conftest.err … … 3857 4467 cat conftest.err >&5 3858 4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3859 (exit $ac_status); } && 3860 { ac_try='test -z "$ac_c_werror_flag" 3861 || test ! -s conftest.err' 3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3863 (eval $ac_try) 2>&5 3864 ac_status=$? 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); }; } && 3867 { ac_try='test -s conftest.$ac_objext' 3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3869 (eval $ac_try) 2>&5 3870 ac_status=$? 3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3872 (exit $ac_status); }; }; then 4469 (exit $ac_status); } && { 4470 test -z "$ac_c_werror_flag" || 4471 test ! -s conftest.err 4472 } && test -s conftest.$ac_objext; then 3873 4473 ac_header_compiler=yes 3874 4474 else … … 3876 4476 sed 's/^/| /' conftest.$ac_ext >&5 3877 4477 3878 ac_header_compiler=no 3879 fi 3880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3882 echo "${ECHO_T}$ac_header_compiler" >&6 4478 ac_header_compiler=no 4479 fi 4480 4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4483 echo "${ECHO_T}$ac_header_compiler" >&6; } 3883 4484 3884 4485 # Is the header present? 3885 echo "$as_me:$LINENO: checking minix/config.h presence" >&53886 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4486 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4487 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 3887 4488 cat >conftest.$ac_ext <<_ACEOF 3888 4489 /* confdefs.h. */ … … 3893 4494 #include <minix/config.h> 3894 4495 _ACEOF 3895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4496 if { (ac_try="$ac_cpp conftest.$ac_ext" 4497 case "(($ac_try" in 4498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4499 *) ac_try_echo=$ac_try;; 4500 esac 4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3897 4503 ac_status=$? 3898 4504 grep -v '^ *+' conftest.er1 >conftest.err … … 3900 4506 cat conftest.err >&5 3901 4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3902 (exit $ac_status); } >/dev/null; then 3903 if test -s conftest.err; then 3904 ac_cpp_err=$ac_c_preproc_warn_flag 3905 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3906 else 3907 ac_cpp_err= 3908 fi 3909 else 3910 ac_cpp_err=yes 3911 fi 3912 if test -z "$ac_cpp_err"; then 4508 (exit $ac_status); } >/dev/null && { 4509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4510 test ! -s conftest.err 4511 }; then 3913 4512 ac_header_preproc=yes 3914 4513 else … … 3918 4517 ac_header_preproc=no 3919 4518 fi 4519 3920 4520 rm -f conftest.err conftest.$ac_ext 3921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53922 echo "${ECHO_T}$ac_header_preproc" >&6 4521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4522 echo "${ECHO_T}$ac_header_preproc" >&6; } 3923 4523 3924 4524 # So? What about this header? … … 3944 4544 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3945 4545 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 3946 ( 3947 cat <<\_ASBOX 3948 ## ------------------------------------------ ## 3949 ## Report this to the AC_PACKAGE_NAME lists. ## 3950 ## ------------------------------------------ ## 3951 _ASBOX 3952 ) | 3953 sed "s/^/$as_me: WARNING: /" >&2 4546 3954 4547 ;; 3955 4548 esac 3956 echo "$as_me:$LINENO: checking for minix/config.h" >&53957 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4549 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4550 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3958 4551 if test "${ac_cv_header_minix_config_h+set}" = set; then 3959 4552 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3961 4554 ac_cv_header_minix_config_h=$ac_header_preproc 3962 4555 fi 3963 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53964 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4556 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4557 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3965 4558 3966 4559 fi … … 3990 4583 fi 3991 4584 3992 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&53993 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4585 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4586 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; } 3994 4587 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3995 4588 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4027 4620 _ACEOF 4028 4621 rm -f conftest.$ac_objext 4029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4030 (eval $ac_compile) 2>conftest.er1 4622 if { (ac_try="$ac_compile" 4623 case "(($ac_try" in 4624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4625 *) ac_try_echo=$ac_try;; 4626 esac 4627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4628 (eval "$ac_compile") 2>conftest.er1 4031 4629 ac_status=$? 4032 4630 grep -v '^ *+' conftest.er1 >conftest.err … … 4034 4632 cat conftest.err >&5 4035 4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4036 (exit $ac_status); } && 4037 { ac_try='test -z "$ac_c_werror_flag" 4038 || test ! -s conftest.err' 4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4040 (eval $ac_try) 2>&5 4041 ac_status=$? 4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4043 (exit $ac_status); }; } && 4044 { ac_try='test -s conftest.$ac_objext' 4045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4046 (eval $ac_try) 2>&5 4047 ac_status=$? 4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4049 (exit $ac_status); }; }; then 4634 (exit $ac_status); } && { 4635 test -z "$ac_c_werror_flag" || 4636 test ! -s conftest.err 4637 } && test -s conftest.$ac_objext; then 4050 4638 ac_cv_prog_cc_stdc="$ac_arg"; break 4051 4639 else … … 4053 4641 sed 's/^/| /' conftest.$ac_ext >&5 4054 4642 4055 fi 4056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4643 4644 fi 4645 4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4057 4647 done 4058 4648 CFLAGS="$ac_save_CFLAGS" … … 4060 4650 fi 4061 4651 4062 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54063 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4652 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4653 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } 4064 4654 case "x$ac_cv_prog_cc_stdc" in 4065 4655 x|xno) ;; … … 4068 4658 4069 4659 4070 echo "$as_me:$LINENO: checking for function prototypes" >&54071 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4660 { echo "$as_me:$LINENO: checking for function prototypes" >&5 4661 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } 4072 4662 if test "$ac_cv_prog_cc_stdc" != no; then 4073 echo "$as_me:$LINENO: result: yes" >&54074 echo "${ECHO_T}yes" >&6 4663 { echo "$as_me:$LINENO: result: yes" >&5 4664 echo "${ECHO_T}yes" >&6; } 4075 4665 cat >>confdefs.h <<\_ACEOF 4076 4666 #define PROTOTYPES 1 … … 4079 4669 U= ANSI2KNR= 4080 4670 else 4081 echo "$as_me:$LINENO: result: no" >&54082 echo "${ECHO_T}no" >&6 4671 { echo "$as_me:$LINENO: result: no" >&5 4672 echo "${ECHO_T}no" >&6; } 4083 4673 U=_ ANSI2KNR=ansi2knr 4084 4674 fi 4085 4675 4086 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54087 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4676 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4677 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 4088 4678 if test "${ac_cv_c_const+set}" = set; then 4089 4679 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4103 4693 /* Ultrix mips cc rejects this. */ 4104 4694 typedef int charset[2]; 4105 const charset x;4695 const charset cs; 4106 4696 /* SunOS 4.1.1 cc rejects this. */ 4107 char const *const * ccp;4108 char **p ;4697 char const *const *pcpcc; 4698 char **ppc; 4109 4699 /* NEC SVR4.0.2 mips cc rejects this. */ 4110 4700 struct point {int x, y;}; … … 4115 4705 expression */ 4116 4706 const char *g = "string"; 4117 ccp= &g + (g ? g-g : 0);4707 pcpcc = &g + (g ? g-g : 0); 4118 4708 /* HPUX 7.0 cc rejects these. */ 4119 ++ ccp;4120 p = (char**) ccp;4121 ccp = (char const *const *) p;4709 ++pcpcc; 4710 ppc = (char**) pcpcc; 4711 pcpcc = (char const *const *) ppc; 4122 4712 { /* SCO 3.2v4 cc rejects this. */ 4123 4713 char *t; … … 4125 4715 4126 4716 *t++ = 0; 4717 if (s) return 0; 4127 4718 } 4128 4719 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4143 4734 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4144 4735 const int foo = 10; 4736 if (!foo) return 0; 4145 4737 } 4738 return !cs[0] && !zero.x; 4146 4739 #endif 4147 4740 … … 4151 4744 _ACEOF 4152 4745 rm -f conftest.$ac_objext 4153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4154 (eval $ac_compile) 2>conftest.er1 4746 if { (ac_try="$ac_compile" 4747 case "(($ac_try" in 4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4749 *) ac_try_echo=$ac_try;; 4750 esac 4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4752 (eval "$ac_compile") 2>conftest.er1 4155 4753 ac_status=$? 4156 4754 grep -v '^ *+' conftest.er1 >conftest.err … … 4158 4756 cat conftest.err >&5 4159 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4160 (exit $ac_status); } && 4161 { ac_try='test -z "$ac_c_werror_flag" 4162 || test ! -s conftest.err' 4163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4164 (eval $ac_try) 2>&5 4165 ac_status=$? 4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4167 (exit $ac_status); }; } && 4168 { ac_try='test -s conftest.$ac_objext' 4169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4170 (eval $ac_try) 2>&5 4171 ac_status=$? 4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4173 (exit $ac_status); }; }; then 4758 (exit $ac_status); } && { 4759 test -z "$ac_c_werror_flag" || 4760 test ! -s conftest.err 4761 } && test -s conftest.$ac_objext; then 4174 4762 ac_cv_c_const=yes 4175 4763 else … … 4177 4765 sed 's/^/| /' conftest.$ac_ext >&5 4178 4766 4179 ac_cv_c_const=no 4180 fi 4181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4182 fi 4183 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4184 echo "${ECHO_T}$ac_cv_c_const" >&6 4767 ac_cv_c_const=no 4768 fi 4769 4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4771 fi 4772 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4773 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4185 4774 if test $ac_cv_c_const = no; then 4186 4775 … … 4191 4780 fi 4192 4781 4193 echo "$as_me:$LINENO: checking for off_t" >&54194 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4782 { echo "$as_me:$LINENO: checking for off_t" >&5 4783 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } 4195 4784 if test "${ac_cv_type_off_t+set}" = set; then 4196 4785 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4203 4792 /* end confdefs.h. */ 4204 4793 $ac_includes_default 4794 typedef off_t ac__type_new_; 4205 4795 int 4206 4796 main () 4207 4797 { 4208 if (( off_t*) 0)4798 if ((ac__type_new_ *) 0) 4209 4799 return 0; 4210 if (sizeof ( off_t))4800 if (sizeof (ac__type_new_)) 4211 4801 return 0; 4212 4802 ; … … 4215 4805 _ACEOF 4216 4806 rm -f conftest.$ac_objext 4217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4218 (eval $ac_compile) 2>conftest.er1 4807 if { (ac_try="$ac_compile" 4808 case "(($ac_try" in 4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4810 *) ac_try_echo=$ac_try;; 4811 esac 4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4813 (eval "$ac_compile") 2>conftest.er1 4219 4814 ac_status=$? 4220 4815 grep -v '^ *+' conftest.er1 >conftest.err … … 4222 4817 cat conftest.err >&5 4223 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4224 (exit $ac_status); } && 4225 { ac_try='test -z "$ac_c_werror_flag" 4226 || test ! -s conftest.err' 4227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4228 (eval $ac_try) 2>&5 4229 ac_status=$? 4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4231 (exit $ac_status); }; } && 4232 { ac_try='test -s conftest.$ac_objext' 4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4234 (eval $ac_try) 2>&5 4235 ac_status=$? 4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4237 (exit $ac_status); }; }; then 4819 (exit $ac_status); } && { 4820 test -z "$ac_c_werror_flag" || 4821 test ! -s conftest.err 4822 } && test -s conftest.$ac_objext; then 4238 4823 ac_cv_type_off_t=yes 4239 4824 else … … 4241 4826 sed 's/^/| /' conftest.$ac_ext >&5 4242 4827 4243 ac_cv_type_off_t=no 4244 fi 4245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4246 fi 4247 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4248 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4828 ac_cv_type_off_t=no 4829 fi 4830 4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4832 fi 4833 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4834 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 4249 4835 if test $ac_cv_type_off_t = yes; then 4250 4836 : … … 4252 4838 4253 4839 cat >>confdefs.h <<_ACEOF 4254 #define off_t long 4255 _ACEOF 4256 4257 fi 4258 4259 echo "$as_me:$LINENO: checking for size_t" >&54260 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4840 #define off_t long int 4841 _ACEOF 4842 4843 fi 4844 4845 { echo "$as_me:$LINENO: checking for size_t" >&5 4846 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 4261 4847 if test "${ac_cv_type_size_t+set}" = set; then 4262 4848 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4269 4855 /* end confdefs.h. */ 4270 4856 $ac_includes_default 4857 typedef size_t ac__type_new_; 4271 4858 int 4272 4859 main () 4273 4860 { 4274 if (( size_t*) 0)4861 if ((ac__type_new_ *) 0) 4275 4862 return 0; 4276 if (sizeof ( size_t))4863 if (sizeof (ac__type_new_)) 4277 4864 return 0; 4278 4865 ; … … 4281 4868 _ACEOF 4282 4869 rm -f conftest.$ac_objext 4283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4284 (eval $ac_compile) 2>conftest.er1 4870 if { (ac_try="$ac_compile" 4871 case "(($ac_try" in 4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4873 *) ac_try_echo=$ac_try;; 4874 esac 4875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4876 (eval "$ac_compile") 2>conftest.er1 4285 4877 ac_status=$? 4286 4878 grep -v '^ *+' conftest.er1 >conftest.err … … 4288 4880 cat conftest.err >&5 4289 4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4290 (exit $ac_status); } && 4291 { ac_try='test -z "$ac_c_werror_flag" 4292 || test ! -s conftest.err' 4293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4294 (eval $ac_try) 2>&5 4295 ac_status=$? 4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4297 (exit $ac_status); }; } && 4298 { ac_try='test -s conftest.$ac_objext' 4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4300 (eval $ac_try) 2>&5 4301 ac_status=$? 4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4303 (exit $ac_status); }; }; then 4882 (exit $ac_status); } && { 4883 test -z "$ac_c_werror_flag" || 4884 test ! -s conftest.err 4885 } && test -s conftest.$ac_objext; then 4304 4886 ac_cv_type_size_t=yes 4305 4887 else … … 4307 4889 sed 's/^/| /' conftest.$ac_ext >&5 4308 4890 4309 ac_cv_type_size_t=no 4310 fi 4311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4312 fi 4313 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4314 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4891 ac_cv_type_size_t=no 4892 fi 4893 4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4895 fi 4896 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4897 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4315 4898 if test $ac_cv_type_size_t = yes; then 4316 4899 : … … 4318 4901 4319 4902 cat >>confdefs.h <<_ACEOF 4320 #define size_t unsigned 4321 _ACEOF 4322 4323 fi 4324 4325 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54326 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4903 #define size_t unsigned int 4904 _ACEOF 4905 4906 fi 4907 4908 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4909 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 4327 4910 if test "${ac_cv_header_time+set}" = set; then 4328 4911 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4348 4931 _ACEOF 4349 4932 rm -f conftest.$ac_objext 4350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4351 (eval $ac_compile) 2>conftest.er1 4933 if { (ac_try="$ac_compile" 4934 case "(($ac_try" in 4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4936 *) ac_try_echo=$ac_try;; 4937 esac 4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4939 (eval "$ac_compile") 2>conftest.er1 4352 4940 ac_status=$? 4353 4941 grep -v '^ *+' conftest.er1 >conftest.err … … 4355 4943 cat conftest.err >&5 4356 4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4357 (exit $ac_status); } && 4358 { ac_try='test -z "$ac_c_werror_flag" 4359 || test ! -s conftest.err' 4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4361 (eval $ac_try) 2>&5 4362 ac_status=$? 4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4364 (exit $ac_status); }; } && 4365 { ac_try='test -s conftest.$ac_objext' 4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4367 (eval $ac_try) 2>&5 4368 ac_status=$? 4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4370 (exit $ac_status); }; }; then 4945 (exit $ac_status); } && { 4946 test -z "$ac_c_werror_flag" || 4947 test ! -s conftest.err 4948 } && test -s conftest.$ac_objext; then 4371 4949 ac_cv_header_time=yes 4372 4950 else … … 4374 4952 sed 's/^/| /' conftest.$ac_ext >&5 4375 4953 4376 ac_cv_header_time=no 4377 fi 4378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4379 fi 4380 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4381 echo "${ECHO_T}$ac_cv_header_time" >&6 4954 ac_cv_header_time=no 4955 fi 4956 4957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4958 fi 4959 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4960 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4382 4961 if test $ac_cv_header_time = yes; then 4383 4962 … … 4388 4967 fi 4389 4968 4390 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54391 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4969 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4970 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 4392 4971 if test "${ac_cv_struct_tm+set}" = set; then 4393 4972 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4405 4984 main () 4406 4985 { 4407 struct tm *tp; tp->tm_sec; 4986 struct tm tm; 4987 int *p = &tm.tm_sec; 4988 return !p; 4408 4989 ; 4409 4990 return 0; … … 4411 4992 _ACEOF 4412 4993 rm -f conftest.$ac_objext 4413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4414 (eval $ac_compile) 2>conftest.er1 4994 if { (ac_try="$ac_compile" 4995 case "(($ac_try" in 4996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4997 *) ac_try_echo=$ac_try;; 4998 esac 4999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5000 (eval "$ac_compile") 2>conftest.er1 4415 5001 ac_status=$? 4416 5002 grep -v '^ *+' conftest.er1 >conftest.err … … 4418 5004 cat conftest.err >&5 4419 5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4420 (exit $ac_status); } && 4421 { ac_try='test -z "$ac_c_werror_flag" 4422 || test ! -s conftest.err' 4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4424 (eval $ac_try) 2>&5 4425 ac_status=$? 4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4427 (exit $ac_status); }; } && 4428 { ac_try='test -s conftest.$ac_objext' 4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4430 (eval $ac_try) 2>&5 4431 ac_status=$? 4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4433 (exit $ac_status); }; }; then 5006 (exit $ac_status); } && { 5007 test -z "$ac_c_werror_flag" || 5008 test ! -s conftest.err 5009 } && test -s conftest.$ac_objext; then 4434 5010 ac_cv_struct_tm=time.h 4435 5011 else … … 4437 5013 sed 's/^/| /' conftest.$ac_ext >&5 4438 5014 4439 ac_cv_struct_tm=sys/time.h 4440 fi 4441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4442 fi 4443 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4444 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5015 ac_cv_struct_tm=sys/time.h 5016 fi 5017 5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5019 fi 5020 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5021 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4445 5022 if test $ac_cv_struct_tm = sys/time.h; then 4446 5023 … … 4470 5047 _ACEOF 4471 5048 rm -f conftest.$ac_objext 4472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4473 (eval $ac_compile) 2>conftest.er1 5049 if { (ac_try="$ac_compile" 5050 case "(($ac_try" in 5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5052 *) ac_try_echo=$ac_try;; 5053 esac 5054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5055 (eval "$ac_compile") 2>conftest.er1 4474 5056 ac_status=$? 4475 5057 grep -v '^ *+' conftest.er1 >conftest.err … … 4477 5059 cat conftest.err >&5 4478 5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4479 (exit $ac_status); } && 4480 { ac_try='test -z "$ac_c_werror_flag" 4481 || test ! -s conftest.err' 4482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4483 (eval $ac_try) 2>&5 4484 ac_status=$? 4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4486 (exit $ac_status); }; } && 4487 { ac_try='test -s conftest.$ac_objext' 4488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4489 (eval $ac_try) 2>&5 4490 ac_status=$? 4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4492 (exit $ac_status); }; }; then 5061 (exit $ac_status); } && { 5062 test -z "$ac_c_werror_flag" || 5063 test ! -s conftest.err 5064 } && test -s conftest.$ac_objext; then 4493 5065 : 4494 5066 else … … 4496 5068 sed 's/^/| /' conftest.$ac_ext >&5 4497 5069 4498 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4499 fi 4500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4501 fi 4502 4503 4504 4505 echo "$as_me:$LINENO: checking for main in -lg" >&5 4506 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5070 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5071 fi 5072 5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5074 fi 5075 5076 5077 5078 { echo "$as_me:$LINENO: checking for main in -lg" >&5 5079 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 4507 5080 if test "${ac_cv_lib_g_main+set}" = set; then 4508 5081 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4521 5094 main () 4522 5095 { 4523 main ();5096 return main (); 4524 5097 ; 4525 5098 return 0; … … 4527 5100 _ACEOF 4528 5101 rm -f conftest.$ac_objext conftest$ac_exeext 4529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4530 (eval $ac_link) 2>conftest.er1 5102 if { (ac_try="$ac_link" 5103 case "(($ac_try" in 5104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5105 *) ac_try_echo=$ac_try;; 5106 esac 5107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5108 (eval "$ac_link") 2>conftest.er1 4531 5109 ac_status=$? 4532 5110 grep -v '^ *+' conftest.er1 >conftest.err … … 4534 5112 cat conftest.err >&5 4535 5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4536 (exit $ac_status); } && 4537 { ac_try='test -z "$ac_c_werror_flag" 4538 || test ! -s conftest.err' 4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4540 (eval $ac_try) 2>&5 4541 ac_status=$? 4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4543 (exit $ac_status); }; } && 4544 { ac_try='test -s conftest$ac_exeext' 4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4546 (eval $ac_try) 2>&5 4547 ac_status=$? 4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); }; }; then 5114 (exit $ac_status); } && { 5115 test -z "$ac_c_werror_flag" || 5116 test ! -s conftest.err 5117 } && test -s conftest$ac_exeext && 5118 $as_test_x conftest$ac_exeext; then 4550 5119 ac_cv_lib_g_main=yes 4551 5120 else … … 4553 5122 sed 's/^/| /' conftest.$ac_ext >&5 4554 5123 4555 ac_cv_lib_g_main=no 4556 fi 4557 rm -f conftest.err conftest.$ac_objext \ 5124 ac_cv_lib_g_main=no 5125 fi 5126 5127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4558 5128 conftest$ac_exeext conftest.$ac_ext 4559 5129 LIBS=$ac_check_lib_save_LIBS 4560 5130 fi 4561 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54562 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5132 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; } 4563 5133 if test $ac_cv_lib_g_main = yes; then 4564 5134 cat >>confdefs.h <<_ACEOF … … 4572 5142 4573 5143 4574 echo "$as_me:$LINENO: checking for main in -lm" >&54575 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5144 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5145 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4576 5146 if test "${ac_cv_lib_m_main+set}" = set; then 4577 5147 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4590 5160 main () 4591 5161 { 4592 main ();5162 return main (); 4593 5163 ; 4594 5164 return 0; … … 4596 5166 _ACEOF 4597 5167 rm -f conftest.$ac_objext conftest$ac_exeext 4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4599 (eval $ac_link) 2>conftest.er1 5168 if { (ac_try="$ac_link" 5169 case "(($ac_try" in 5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5171 *) ac_try_echo=$ac_try;; 5172 esac 5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5174 (eval "$ac_link") 2>conftest.er1 4600 5175 ac_status=$? 4601 5176 grep -v '^ *+' conftest.er1 >conftest.err … … 4603 5178 cat conftest.err >&5 4604 5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4605 (exit $ac_status); } && 4606 { ac_try='test -z "$ac_c_werror_flag" 4607 || test ! -s conftest.err' 4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4609 (eval $ac_try) 2>&5 4610 ac_status=$? 4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4612 (exit $ac_status); }; } && 4613 { ac_try='test -s conftest$ac_exeext' 4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4615 (eval $ac_try) 2>&5 4616 ac_status=$? 4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4618 (exit $ac_status); }; }; then 5180 (exit $ac_status); } && { 5181 test -z "$ac_c_werror_flag" || 5182 test ! -s conftest.err 5183 } && test -s conftest$ac_exeext && 5184 $as_test_x conftest$ac_exeext; then 4619 5185 ac_cv_lib_m_main=yes 4620 5186 else … … 4622 5188 sed 's/^/| /' conftest.$ac_ext >&5 4623 5189 4624 ac_cv_lib_m_main=no 4625 fi 4626 rm -f conftest.err conftest.$ac_objext \ 5190 ac_cv_lib_m_main=no 5191 fi 5192 5193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4627 5194 conftest$ac_exeext conftest.$ac_ext 4628 5195 LIBS=$ac_check_lib_save_LIBS 4629 5196 fi 4630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54631 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5197 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5198 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 4632 5199 if test $ac_cv_lib_m_main = yes; then 4633 5200 cat >>confdefs.h <<_ACEOF … … 4641 5208 4642 5209 4643 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54644 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5210 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5211 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; } 4645 5212 if test "${ac_cv_lib_crypt_main+set}" = set; then 4646 5213 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4659 5226 main () 4660 5227 { 4661 main ();5228 return main (); 4662 5229 ; 4663 5230 return 0; … … 4665 5232 _ACEOF 4666 5233 rm -f conftest.$ac_objext conftest$ac_exeext 4667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4668 (eval $ac_link) 2>conftest.er1 5234 if { (ac_try="$ac_link" 5235 case "(($ac_try" in 5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5237 *) ac_try_echo=$ac_try;; 5238 esac 5239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5240 (eval "$ac_link") 2>conftest.er1 4669 5241 ac_status=$? 4670 5242 grep -v '^ *+' conftest.er1 >conftest.err … … 4672 5244 cat conftest.err >&5 4673 5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4674 (exit $ac_status); } && 4675 { ac_try='test -z "$ac_c_werror_flag" 4676 || test ! -s conftest.err' 4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4678 (eval $ac_try) 2>&5 4679 ac_status=$? 4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4681 (exit $ac_status); }; } && 4682 { ac_try='test -s conftest$ac_exeext' 4683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4684 (eval $ac_try) 2>&5 4685 ac_status=$? 4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4687 (exit $ac_status); }; }; then 5246 (exit $ac_status); } && { 5247 test -z "$ac_c_werror_flag" || 5248 test ! -s conftest.err 5249 } && test -s conftest$ac_exeext && 5250 $as_test_x conftest$ac_exeext; then 4688 5251 ac_cv_lib_crypt_main=yes 4689 5252 else … … 4691 5254 sed 's/^/| /' conftest.$ac_ext >&5 4692 5255 4693 ac_cv_lib_crypt_main=no 4694 fi 4695 rm -f conftest.err conftest.$ac_objext \ 5256 ac_cv_lib_crypt_main=no 5257 fi 5258 5259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4696 5260 conftest$ac_exeext conftest.$ac_ext 4697 5261 LIBS=$ac_check_lib_save_LIBS 4698 5262 fi 4699 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54700 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5263 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5264 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; } 4701 5265 if test $ac_cv_lib_crypt_main = yes; then 4702 5266 cat >>confdefs.h <<_ACEOF … … 4709 5273 ac_cv_lib_crypt=ac_cv_lib_crypt_main 4710 5274 4711 if test $ENABLE_ACCENTFOLD = 1; then 4712 4713 echo "$as_me:$LINENO: checking for main in -liconv" >&5 4714 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 4715 if test "${ac_cv_lib_iconv_main+set}" = set; then 4716 echo $ECHO_N "(cached) $ECHO_C" >&6 4717 else 4718 ac_check_lib_save_LIBS=$LIBS 4719 LIBS="-liconv $LIBS" 4720 cat >conftest.$ac_ext <<_ACEOF 4721 /* confdefs.h. */ 4722 _ACEOF 4723 cat confdefs.h >>conftest.$ac_ext 4724 cat >>conftest.$ac_ext <<_ACEOF 4725 /* end confdefs.h. */ 4726 4727 4728 int 4729 main () 4730 { 4731 main (); 4732 ; 4733 return 0; 4734 } 4735 _ACEOF 4736 rm -f conftest.$ac_objext conftest$ac_exeext 4737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4738 (eval $ac_link) 2>conftest.er1 4739 ac_status=$? 4740 grep -v '^ *+' conftest.er1 >conftest.err 4741 rm -f conftest.er1 4742 cat conftest.err >&5 4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4744 (exit $ac_status); } && 4745 { ac_try='test -z "$ac_c_werror_flag" 4746 || test ! -s conftest.err' 4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4748 (eval $ac_try) 2>&5 4749 ac_status=$? 4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4751 (exit $ac_status); }; } && 4752 { ac_try='test -s conftest$ac_exeext' 4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4754 (eval $ac_try) 2>&5 4755 ac_status=$? 4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4757 (exit $ac_status); }; }; then 4758 ac_cv_lib_iconv_main=yes 4759 else 4760 echo "$as_me: failed program was:" >&5 4761 sed 's/^/| /' conftest.$ac_ext >&5 4762 4763 ac_cv_lib_iconv_main=no 4764 fi 4765 rm -f conftest.err conftest.$ac_objext \ 4766 conftest$ac_exeext conftest.$ac_ext 4767 LIBS=$ac_check_lib_save_LIBS 4768 fi 4769 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 4770 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 4771 if test $ac_cv_lib_iconv_main = yes; then 4772 cat >>confdefs.h <<_ACEOF 4773 #define HAVE_LIBICONV 1 4774 _ACEOF 4775 4776 LIBS="-liconv $LIBS" 4777 4778 fi 4779 ac_cv_lib_iconv=ac_cv_lib_iconv_main 4780 4781 fi 5275 #if test $ENABLE_ACCENTFOLD = 1; then 5276 #AC_HAVE_LIBRARY(iconv) 5277 #fi 4782 5278 4783 5279 … … 4789 5285 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4790 5286 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4791 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54792 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4793 if eval "test \"\${$as_ac_Header+set}\" = set"; then5287 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5288 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 5289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4794 5290 echo $ECHO_N "(cached) $ECHO_C" >&6 4795 5291 else … … 4813 5309 _ACEOF 4814 5310 rm -f conftest.$ac_objext 4815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4816 (eval $ac_compile) 2>conftest.er1 5311 if { (ac_try="$ac_compile" 5312 case "(($ac_try" in 5313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5314 *) ac_try_echo=$ac_try;; 5315 esac 5316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5317 (eval "$ac_compile") 2>conftest.er1 4817 5318 ac_status=$? 4818 5319 grep -v '^ *+' conftest.er1 >conftest.err … … 4820 5321 cat conftest.err >&5 4821 5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); } && 4823 { ac_try='test -z "$ac_c_werror_flag" 4824 || test ! -s conftest.err' 4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4826 (eval $ac_try) 2>&5 4827 ac_status=$? 4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4829 (exit $ac_status); }; } && 4830 { ac_try='test -s conftest.$ac_objext' 4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4832 (eval $ac_try) 2>&5 4833 ac_status=$? 4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4835 (exit $ac_status); }; }; then 5323 (exit $ac_status); } && { 5324 test -z "$ac_c_werror_flag" || 5325 test ! -s conftest.err 5326 } && test -s conftest.$ac_objext; then 4836 5327 eval "$as_ac_Header=yes" 4837 5328 else … … 4839 5330 sed 's/^/| /' conftest.$ac_ext >&5 4840 5331 4841 eval "$as_ac_Header=no" 4842 fi 4843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4844 fi 4845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5332 eval "$as_ac_Header=no" 5333 fi 5334 5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5336 fi 5337 ac_res=`eval echo '${'$as_ac_Header'}'` 5338 { echo "$as_me:$LINENO: result: $ac_res" >&5 5339 echo "${ECHO_T}$ac_res" >&6; } 4847 5340 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4848 5341 cat >>confdefs.h <<_ACEOF … … 4856 5349 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4857 5350 if test $ac_header_dirent = dirent.h; then 4858 echo "$as_me:$LINENO: checking for library containing opendir" >&54859 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5351 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5352 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 4860 5353 if test "${ac_cv_search_opendir+set}" = set; then 4861 5354 echo $ECHO_N "(cached) $ECHO_C" >&6 4862 5355 else 4863 5356 ac_func_search_save_LIBS=$LIBS 4864 ac_cv_search_opendir=no4865 5357 cat >conftest.$ac_ext <<_ACEOF 4866 5358 /* confdefs.h. */ … … 4870 5362 /* end confdefs.h. */ 4871 5363 4872 /* Override any gcc2 internal prototype to avoid an error. */ 5364 /* Override any GCC internal prototype to avoid an error. 5365 Use char because int might match the return type of a GCC 5366 builtin and then its argument prototype would still apply. */ 4873 5367 #ifdef __cplusplus 4874 5368 extern "C" 4875 5369 #endif 4876 /* We use char because int might match the return type of a gcc24877 builtin and then its argument prototype would still apply. */4878 5370 char opendir (); 4879 5371 int 4880 5372 main () 4881 5373 { 4882 opendir ();5374 return opendir (); 4883 5375 ; 4884 5376 return 0; 4885 5377 } 4886 5378 _ACEOF 4887 rm -f conftest.$ac_objext conftest$ac_exeext 4888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4889 (eval $ac_link) 2>conftest.er1 5379 for ac_lib in '' dir; do 5380 if test -z "$ac_lib"; then 5381 ac_res="none required" 5382 else 5383 ac_res=-l$ac_lib 5384 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5385 fi 5386 rm -f conftest.$ac_objext conftest$ac_exeext 5387 if { (ac_try="$ac_link" 5388 case "(($ac_try" in 5389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5390 *) ac_try_echo=$ac_try;; 5391 esac 5392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5393 (eval "$ac_link") 2>conftest.er1 4890 5394 ac_status=$? 4891 5395 grep -v '^ *+' conftest.er1 >conftest.err … … 4893 5397 cat conftest.err >&5 4894 5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4895 (exit $ac_status); } && 4896 { ac_try='test -z "$ac_c_werror_flag" 4897 || test ! -s conftest.err' 4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4899 (eval $ac_try) 2>&5 4900 ac_status=$? 4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4902 (exit $ac_status); }; } && 4903 { ac_try='test -s conftest$ac_exeext' 4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4905 (eval $ac_try) 2>&5 4906 ac_status=$? 4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4908 (exit $ac_status); }; }; then 4909 ac_cv_search_opendir="none required" 5399 (exit $ac_status); } && { 5400 test -z "$ac_c_werror_flag" || 5401 test ! -s conftest.err 5402 } && test -s conftest$ac_exeext && 5403 $as_test_x conftest$ac_exeext; then 5404 ac_cv_search_opendir=$ac_res 4910 5405 else 4911 5406 echo "$as_me: failed program was:" >&5 4912 5407 sed 's/^/| /' conftest.$ac_ext >&5 4913 5408 4914 fi 4915 rm -f conftest.err conftest.$ac_objext \ 4916 conftest$ac_exeext conftest.$ac_ext 4917 if test "$ac_cv_search_opendir" = no; then 4918 for ac_lib in dir; do 4919 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4920 cat >conftest.$ac_ext <<_ACEOF 5409 5410 fi 5411 5412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5413 conftest$ac_exeext 5414 if test "${ac_cv_search_opendir+set}" = set; then 5415 break 5416 fi 5417 done 5418 if test "${ac_cv_search_opendir+set}" = set; then 5419 : 5420 else 5421 ac_cv_search_opendir=no 5422 fi 5423 rm conftest.$ac_ext 5424 LIBS=$ac_func_search_save_LIBS 5425 fi 5426 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5427 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5428 ac_res=$ac_cv_search_opendir 5429 if test "$ac_res" != no; then 5430 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5431 5432 fi 5433 5434 else 5435 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5436 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 5437 if test "${ac_cv_search_opendir+set}" = set; then 5438 echo $ECHO_N "(cached) $ECHO_C" >&6 5439 else 5440 ac_func_search_save_LIBS=$LIBS 5441 cat >conftest.$ac_ext <<_ACEOF 4921 5442 /* confdefs.h. */ 4922 5443 _ACEOF … … 4925 5446 /* end confdefs.h. */ 4926 5447 4927 /* Override any gcc2 internal prototype to avoid an error. */ 5448 /* Override any GCC internal prototype to avoid an error. 5449 Use char because int might match the return type of a GCC 5450 builtin and then its argument prototype would still apply. */ 4928 5451 #ifdef __cplusplus 4929 5452 extern "C" 4930 5453 #endif 4931 /* We use char because int might match the return type of a gcc24932 builtin and then its argument prototype would still apply. */4933 5454 char opendir (); 4934 5455 int 4935 5456 main () 4936 5457 { 4937 opendir ();5458 return opendir (); 4938 5459 ; 4939 5460 return 0; 4940 5461 } 4941 5462 _ACEOF 4942 rm -f conftest.$ac_objext conftest$ac_exeext 4943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4944 (eval $ac_link) 2>conftest.er1 5463 for ac_lib in '' x; do 5464 if test -z "$ac_lib"; then 5465 ac_res="none required" 5466 else 5467 ac_res=-l$ac_lib 5468 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5469 fi 5470 rm -f conftest.$ac_objext conftest$ac_exeext 5471 if { (ac_try="$ac_link" 5472 case "(($ac_try" in 5473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5474 *) ac_try_echo=$ac_try;; 5475 esac 5476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5477 (eval "$ac_link") 2>conftest.er1 4945 5478 ac_status=$? 4946 5479 grep -v '^ *+' conftest.er1 >conftest.err … … 4948 5481 cat conftest.err >&5 4949 5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4950 (exit $ac_status); } && 4951 { ac_try='test -z "$ac_c_werror_flag" 4952 || test ! -s conftest.err' 4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4954 (eval $ac_try) 2>&5 4955 ac_status=$? 4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4957 (exit $ac_status); }; } && 4958 { ac_try='test -s conftest$ac_exeext' 4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4960 (eval $ac_try) 2>&5 4961 ac_status=$? 4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4963 (exit $ac_status); }; }; then 4964 ac_cv_search_opendir="-l$ac_lib" 4965 break 5483 (exit $ac_status); } && { 5484 test -z "$ac_c_werror_flag" || 5485 test ! -s conftest.err 5486 } && test -s conftest$ac_exeext && 5487 $as_test_x conftest$ac_exeext; then 5488 ac_cv_search_opendir=$ac_res 4966 5489 else 4967 5490 echo "$as_me: failed program was:" >&5 4968 5491 sed 's/^/| /' conftest.$ac_ext >&5 4969 5492 4970 fi 4971 rm -f conftest.err conftest.$ac_objext \ 4972 conftest$ac_exeext conftest.$ac_ext 4973 done 4974 fi 5493 5494 fi 5495 5496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5497 conftest$ac_exeext 5498 if test "${ac_cv_search_opendir+set}" = set; then 5499 break 5500 fi 5501 done 5502 if test "${ac_cv_search_opendir+set}" = set; then 5503 : 5504 else 5505 ac_cv_search_opendir=no 5506 fi 5507 rm conftest.$ac_ext 4975 5508 LIBS=$ac_func_search_save_LIBS 4976 5509 fi 4977 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4978 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4979 if test "$ac_cv_search_opendir" != no; then 4980 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4981 4982 fi 4983 4984 else 4985 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4986 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4987 if test "${ac_cv_search_opendir+set}" = set; then 4988 echo $ECHO_N "(cached) $ECHO_C" >&6 4989 else 4990 ac_func_search_save_LIBS=$LIBS 4991 ac_cv_search_opendir=no 4992 cat >conftest.$ac_ext <<_ACEOF 4993 /* confdefs.h. */ 4994 _ACEOF 4995 cat confdefs.h >>conftest.$ac_ext 4996 cat >>conftest.$ac_ext <<_ACEOF 4997 /* end confdefs.h. */ 4998 4999 /* Override any gcc2 internal prototype to avoid an error. */ 5000 #ifdef __cplusplus 5001 extern "C" 5002 #endif 5003 /* We use char because int might match the return type of a gcc2 5004 builtin and then its argument prototype would still apply. */ 5005 char opendir (); 5006 int 5007 main () 5008 { 5009 opendir (); 5010 ; 5011 return 0; 5012 } 5013 _ACEOF 5014 rm -f conftest.$ac_objext conftest$ac_exeext 5015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5016 (eval $ac_link) 2>conftest.er1 5017 ac_status=$? 5018 grep -v '^ *+' conftest.er1 >conftest.err 5019 rm -f conftest.er1 5020 cat conftest.err >&5 5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5022 (exit $ac_status); } && 5023 { ac_try='test -z "$ac_c_werror_flag" 5024 || test ! -s conftest.err' 5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5026 (eval $ac_try) 2>&5 5027 ac_status=$? 5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5029 (exit $ac_status); }; } && 5030 { ac_try='test -s conftest$ac_exeext' 5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5032 (eval $ac_try) 2>&5 5033 ac_status=$? 5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5035 (exit $ac_status); }; }; then 5036 ac_cv_search_opendir="none required" 5037 else 5038 echo "$as_me: failed program was:" >&5 5039 sed 's/^/| /' conftest.$ac_ext >&5 5040 5041 fi 5042 rm -f conftest.err conftest.$ac_objext \ 5043 conftest$ac_exeext conftest.$ac_ext 5044 if test "$ac_cv_search_opendir" = no; then 5045 for ac_lib in x; do 5046 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5047 cat >conftest.$ac_ext <<_ACEOF 5048 /* confdefs.h. */ 5049 _ACEOF 5050 cat confdefs.h >>conftest.$ac_ext 5051 cat >>conftest.$ac_ext <<_ACEOF 5052 /* end confdefs.h. */ 5053 5054 /* Override any gcc2 internal prototype to avoid an error. */ 5055 #ifdef __cplusplus 5056 extern "C" 5057 #endif 5058 /* We use char because int might match the return type of a gcc2 5059 builtin and then its argument prototype would still apply. */ 5060 char opendir (); 5061 int 5062 main () 5063 { 5064 opendir (); 5065 ; 5066 return 0; 5067 } 5068 _ACEOF 5069 rm -f conftest.$ac_objext conftest$ac_exeext 5070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5071 (eval $ac_link) 2>conftest.er1 5072 ac_status=$? 5073 grep -v '^ *+' conftest.er1 >conftest.err 5074 rm -f conftest.er1 5075 cat conftest.err >&5 5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5077 (exit $ac_status); } && 5078 { ac_try='test -z "$ac_c_werror_flag" 5079 || test ! -s conftest.err' 5080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5081 (eval $ac_try) 2>&5 5082 ac_status=$? 5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5084 (exit $ac_status); }; } && 5085 { ac_try='test -s conftest$ac_exeext' 5086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5087 (eval $ac_try) 2>&5 5088 ac_status=$? 5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5090 (exit $ac_status); }; }; then 5091 ac_cv_search_opendir="-l$ac_lib" 5092 break 5093 else 5094 echo "$as_me: failed program was:" >&5 5095 sed 's/^/| /' conftest.$ac_ext >&5 5096 5097 fi 5098 rm -f conftest.err conftest.$ac_objext \ 5099 conftest$ac_exeext conftest.$ac_ext 5100 done 5101 fi 5102 LIBS=$ac_func_search_save_LIBS 5103 fi 5104 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5105 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5106 if test "$ac_cv_search_opendir" != no; then 5107 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5108 5109 fi 5110 5111 fi 5112 5113 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5114 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5510 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5511 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5512 ac_res=$ac_cv_search_opendir 5513 if test "$ac_res" != no; then 5514 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5515 5516 fi 5517 5518 fi 5519 5520 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5521 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5115 5522 if test "${ac_cv_header_stdc+set}" = set; then 5116 5523 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5136 5543 _ACEOF 5137 5544 rm -f conftest.$ac_objext 5138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5139 (eval $ac_compile) 2>conftest.er1 5545 if { (ac_try="$ac_compile" 5546 case "(($ac_try" in 5547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5548 *) ac_try_echo=$ac_try;; 5549 esac 5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5551 (eval "$ac_compile") 2>conftest.er1 5140 5552 ac_status=$? 5141 5553 grep -v '^ *+' conftest.er1 >conftest.err … … 5143 5555 cat conftest.err >&5 5144 5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5145 (exit $ac_status); } && 5146 { ac_try='test -z "$ac_c_werror_flag" 5147 || test ! -s conftest.err' 5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5149 (eval $ac_try) 2>&5 5150 ac_status=$? 5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5152 (exit $ac_status); }; } && 5153 { ac_try='test -s conftest.$ac_objext' 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5155 (eval $ac_try) 2>&5 5156 ac_status=$? 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5158 (exit $ac_status); }; }; then 5557 (exit $ac_status); } && { 5558 test -z "$ac_c_werror_flag" || 5559 test ! -s conftest.err 5560 } && test -s conftest.$ac_objext; then 5159 5561 ac_cv_header_stdc=yes 5160 5562 else … … 5162 5564 sed 's/^/| /' conftest.$ac_ext >&5 5163 5565 5164 ac_cv_header_stdc=no 5165 fi 5166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5566 ac_cv_header_stdc=no 5567 fi 5568 5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5167 5570 5168 5571 if test $ac_cv_header_stdc = yes; then … … 5220 5623 /* end confdefs.h. */ 5221 5624 #include <ctype.h> 5625 #include <stdlib.h> 5222 5626 #if ((' ' & 0x0FF) == 0x020) 5223 5627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5239 5643 if (XOR (islower (i), ISLOWER (i)) 5240 5644 || toupper (i) != TOUPPER (i)) 5241 exit(2);5242 exit (0);5645 return 2; 5646 return 0; 5243 5647 } 5244 5648 _ACEOF 5245 5649 rm -f conftest$ac_exeext 5246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5247 (eval $ac_link) 2>&5 5650 if { (ac_try="$ac_link" 5651 case "(($ac_try" in 5652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5653 *) ac_try_echo=$ac_try;; 5654 esac 5655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5656 (eval "$ac_link") 2>&5 5248 5657 ac_status=$? 5249 5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5250 5659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5252 (eval $ac_try) 2>&5 5660 { (case "(($ac_try" in 5661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5662 *) ac_try_echo=$ac_try;; 5663 esac 5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5665 (eval "$ac_try") 2>&5 5253 5666 ac_status=$? 5254 5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5263 5676 ac_cv_header_stdc=no 5264 5677 fi 5265 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5266 fi 5267 fi 5268 fi 5269 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5270 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5679 fi 5680 5681 5682 fi 5683 fi 5684 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5685 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5271 5686 if test $ac_cv_header_stdc = yes; then 5272 5687 … … 5289 5704 do 5290 5705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5291 if eval "test \"\${$as_ac_Header+set}\" = set"; then5292 echo "$as_me:$LINENO: checking for $ac_header" >&55293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5294 if eval "test \"\${$as_ac_Header+set}\" = set"; then5706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5707 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5295 5710 echo $ECHO_N "(cached) $ECHO_C" >&6 5296 5711 fi 5297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5712 ac_res=`eval echo '${'$as_ac_Header'}'` 5713 { echo "$as_me:$LINENO: result: $ac_res" >&5 5714 echo "${ECHO_T}$ac_res" >&6; } 5299 5715 else 5300 5716 # Is the header compilable? 5301 echo "$as_me:$LINENO: checking $ac_header usability" >&55302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5717 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5303 5719 cat >conftest.$ac_ext <<_ACEOF 5304 5720 /* confdefs.h. */ … … 5311 5727 _ACEOF 5312 5728 rm -f conftest.$ac_objext 5313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5314 (eval $ac_compile) 2>conftest.er1 5729 if { (ac_try="$ac_compile" 5730 case "(($ac_try" in 5731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5732 *) ac_try_echo=$ac_try;; 5733 esac 5734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5735 (eval "$ac_compile") 2>conftest.er1 5315 5736 ac_status=$? 5316 5737 grep -v '^ *+' conftest.er1 >conftest.err … … 5318 5739 cat conftest.err >&5 5319 5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5320 (exit $ac_status); } && 5321 { ac_try='test -z "$ac_c_werror_flag" 5322 || test ! -s conftest.err' 5323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5324 (eval $ac_try) 2>&5 5325 ac_status=$? 5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5327 (exit $ac_status); }; } && 5328 { ac_try='test -s conftest.$ac_objext' 5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5330 (eval $ac_try) 2>&5 5331 ac_status=$? 5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5333 (exit $ac_status); }; }; then 5741 (exit $ac_status); } && { 5742 test -z "$ac_c_werror_flag" || 5743 test ! -s conftest.err 5744 } && test -s conftest.$ac_objext; then 5334 5745 ac_header_compiler=yes 5335 5746 else … … 5337 5748 sed 's/^/| /' conftest.$ac_ext >&5 5338 5749 5339 ac_header_compiler=no 5340 fi 5341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5343 echo "${ECHO_T}$ac_header_compiler" >&6 5750 ac_header_compiler=no 5751 fi 5752 5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5754 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5755 echo "${ECHO_T}$ac_header_compiler" >&6; } 5344 5756 5345 5757 # Is the header present? 5346 echo "$as_me:$LINENO: checking $ac_header presence" >&55347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5758 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5348 5760 cat >conftest.$ac_ext <<_ACEOF 5349 5761 /* confdefs.h. */ … … 5354 5766 #include <$ac_header> 5355 5767 _ACEOF 5356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5768 if { (ac_try="$ac_cpp conftest.$ac_ext" 5769 case "(($ac_try" in 5770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5771 *) ac_try_echo=$ac_try;; 5772 esac 5773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5358 5775 ac_status=$? 5359 5776 grep -v '^ *+' conftest.er1 >conftest.err … … 5361 5778 cat conftest.err >&5 5362 5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5363 (exit $ac_status); } >/dev/null; then 5364 if test -s conftest.err; then 5365 ac_cpp_err=$ac_c_preproc_warn_flag 5366 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5367 else 5368 ac_cpp_err= 5369 fi 5370 else 5371 ac_cpp_err=yes 5372 fi 5373 if test -z "$ac_cpp_err"; then 5780 (exit $ac_status); } >/dev/null && { 5781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5782 test ! -s conftest.err 5783 }; then 5374 5784 ac_header_preproc=yes 5375 5785 else … … 5379 5789 ac_header_preproc=no 5380 5790 fi 5791 5381 5792 rm -f conftest.err conftest.$ac_ext 5382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55383 echo "${ECHO_T}$ac_header_preproc" >&6 5793 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5794 echo "${ECHO_T}$ac_header_preproc" >&6; } 5384 5795 5385 5796 # So? What about this header? … … 5405 5816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5406 5817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5407 ( 5408 cat <<\_ASBOX 5409 ## ------------------------------------------ ## 5410 ## Report this to the AC_PACKAGE_NAME lists. ## 5411 ## ------------------------------------------ ## 5412 _ASBOX 5413 ) | 5414 sed "s/^/$as_me: WARNING: /" >&2 5818 5415 5819 ;; 5416 5820 esac 5417 echo "$as_me:$LINENO: checking for $ac_header" >&55418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5419 if eval "test \"\${$as_ac_Header+set}\" = set"; then5821 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5420 5824 echo $ECHO_N "(cached) $ECHO_C" >&6 5421 5825 else 5422 5826 eval "$as_ac_Header=\$ac_header_preproc" 5423 5827 fi 5424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5828 ac_res=`eval echo '${'$as_ac_Header'}'` 5829 { echo "$as_me:$LINENO: result: $ac_res" >&5 5830 echo "${ECHO_T}$ac_res" >&6; } 5426 5831 5427 5832 fi … … 5492 5897 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5493 5898 # for constant arguments. Useless! 5494 echo "$as_me:$LINENO: checking for working alloca.h" >&55495 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 5899 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 5900 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } 5496 5901 if test "${ac_cv_working_alloca_h+set}" = set; then 5497 5902 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5508 5913 { 5509 5914 char *p = (char *) alloca (2 * sizeof (int)); 5915 if (p) return 0; 5510 5916 ; 5511 5917 return 0; … … 5513 5919 _ACEOF 5514 5920 rm -f conftest.$ac_objext conftest$ac_exeext 5515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5516 (eval $ac_link) 2>conftest.er1 5921 if { (ac_try="$ac_link" 5922 case "(($ac_try" in 5923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5924 *) ac_try_echo=$ac_try;; 5925 esac 5926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5927 (eval "$ac_link") 2>conftest.er1 5517 5928 ac_status=$? 5518 5929 grep -v '^ *+' conftest.er1 >conftest.err … … 5520 5931 cat conftest.err >&5 5521 5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5522 (exit $ac_status); } && 5523 { ac_try='test -z "$ac_c_werror_flag" 5524 || test ! -s conftest.err' 5525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5526 (eval $ac_try) 2>&5 5527 ac_status=$? 5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5529 (exit $ac_status); }; } && 5530 { ac_try='test -s conftest$ac_exeext' 5531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5532 (eval $ac_try) 2>&5 5533 ac_status=$? 5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5535 (exit $ac_status); }; }; then 5933 (exit $ac_status); } && { 5934 test -z "$ac_c_werror_flag" || 5935 test ! -s conftest.err 5936 } && test -s conftest$ac_exeext && 5937 $as_test_x conftest$ac_exeext; then 5536 5938 ac_cv_working_alloca_h=yes 5537 5939 else … … 5539 5941 sed 's/^/| /' conftest.$ac_ext >&5 5540 5942 5541 ac_cv_working_alloca_h=no 5542 fi 5543 rm -f conftest.err conftest.$ac_objext \ 5943 ac_cv_working_alloca_h=no 5944 fi 5945 5946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5544 5947 conftest$ac_exeext conftest.$ac_ext 5545 5948 fi 5546 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55547 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5949 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5950 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } 5548 5951 if test $ac_cv_working_alloca_h = yes; then 5549 5952 … … 5554 5957 fi 5555 5958 5556 echo "$as_me:$LINENO: checking for alloca" >&55557 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5959 { echo "$as_me:$LINENO: checking for alloca" >&5 5960 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } 5558 5961 if test "${ac_cv_func_alloca_works+set}" = set; then 5559 5962 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5572 5975 # define alloca _alloca 5573 5976 # else 5574 # if HAVE_ALLOCA_H5977 # ifdef HAVE_ALLOCA_H 5575 5978 # include <alloca.h> 5576 5979 # else … … 5590 5993 { 5591 5994 char *p = (char *) alloca (1); 5995 if (p) return 0; 5592 5996 ; 5593 5997 return 0; … … 5595 5999 _ACEOF 5596 6000 rm -f conftest.$ac_objext conftest$ac_exeext 5597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5598 (eval $ac_link) 2>conftest.er1 6001 if { (ac_try="$ac_link" 6002 case "(($ac_try" in 6003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6004 *) ac_try_echo=$ac_try;; 6005 esac 6006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6007 (eval "$ac_link") 2>conftest.er1 5599 6008 ac_status=$? 5600 6009 grep -v '^ *+' conftest.er1 >conftest.err … … 5602 6011 cat conftest.err >&5 5603 6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5604 (exit $ac_status); } && 5605 { ac_try='test -z "$ac_c_werror_flag" 5606 || test ! -s conftest.err' 5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5608 (eval $ac_try) 2>&5 5609 ac_status=$? 5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5611 (exit $ac_status); }; } && 5612 { ac_try='test -s conftest$ac_exeext' 5613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5614 (eval $ac_try) 2>&5 5615 ac_status=$? 5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5617 (exit $ac_status); }; }; then 6013 (exit $ac_status); } && { 6014 test -z "$ac_c_werror_flag" || 6015 test ! -s conftest.err 6016 } && test -s conftest$ac_exeext && 6017 $as_test_x conftest$ac_exeext; then 5618 6018 ac_cv_func_alloca_works=yes 5619 6019 else … … 5621 6021 sed 's/^/| /' conftest.$ac_ext >&5 5622 6022 5623 ac_cv_func_alloca_works=no 5624 fi 5625 rm -f conftest.err conftest.$ac_objext \ 6023 ac_cv_func_alloca_works=no 6024 fi 6025 6026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5626 6027 conftest$ac_exeext conftest.$ac_ext 5627 6028 fi 5628 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55629 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6029 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6030 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } 5630 6031 5631 6032 if test $ac_cv_func_alloca_works = yes; then … … 5641 6042 # use ar to extract alloca.o from them instead of compiling alloca.c. 5642 6043 5643 ALLOCA= alloca.$ac_objext6044 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5644 6045 5645 6046 cat >>confdefs.h <<\_ACEOF … … 5648 6049 5649 6050 5650 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&55651 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6051 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6052 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } 5652 6053 if test "${ac_cv_os_cray+set}" = set; then 5653 6054 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5659 6060 cat >>conftest.$ac_ext <<_ACEOF 5660 6061 /* end confdefs.h. */ 5661 #if defined (CRAY) && ! defined(CRAY2)6062 #if defined CRAY && ! defined CRAY2 5662 6063 webecray 5663 6064 #else … … 5675 6076 5676 6077 fi 5677 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55678 echo "${ECHO_T}$ac_cv_os_cray" >&6 6078 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6079 echo "${ECHO_T}$ac_cv_os_cray" >&6; } 5679 6080 if test $ac_cv_os_cray = yes; then 5680 6081 for ac_func in _getb67 GETB67 getb67; do 5681 6082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5682 echo "$as_me:$LINENO: checking for $ac_func" >&55683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5684 if eval "test \"\${$as_ac_var+set}\" = set"; then6083 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5685 6086 echo $ECHO_N "(cached) $ECHO_C" >&6 5686 6087 else … … 5708 6109 #undef $ac_func 5709 6110 5710 /* Override any gcc2 internal prototype to avoid an error. */ 6111 /* Override any GCC internal prototype to avoid an error. 6112 Use char because int might match the return type of a GCC 6113 builtin and then its argument prototype would still apply. */ 5711 6114 #ifdef __cplusplus 5712 6115 extern "C" 5713 {5714 6116 #endif 5715 /* We use char because int might match the return type of a gcc25716 builtin and then its argument prototype would still apply. */5717 6117 char $ac_func (); 5718 6118 /* The GNU C library defines this for functions which it implements 5719 6119 to always fail with ENOSYS. Some functions are actually named 5720 6120 something starting with __ and the normal name is an alias. */ 5721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6121 #if defined __stub_$ac_func || defined __stub___$ac_func 5722 6122 choke me 5723 #else5724 char (*f) () = $ac_func;5725 #endif5726 #ifdef __cplusplus5727 }5728 6123 #endif 5729 6124 … … 5731 6126 main () 5732 6127 { 5733 return f != $ac_func;6128 return $ac_func (); 5734 6129 ; 5735 6130 return 0; … … 5737 6132 _ACEOF 5738 6133 rm -f conftest.$ac_objext conftest$ac_exeext 5739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5740 (eval $ac_link) 2>conftest.er1 6134 if { (ac_try="$ac_link" 6135 case "(($ac_try" in 6136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6137 *) ac_try_echo=$ac_try;; 6138 esac 6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6140 (eval "$ac_link") 2>conftest.er1 5741 6141 ac_status=$? 5742 6142 grep -v '^ *+' conftest.er1 >conftest.err … … 5744 6144 cat conftest.err >&5 5745 6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5746 (exit $ac_status); } && 5747 { ac_try='test -z "$ac_c_werror_flag" 5748 || test ! -s conftest.err' 5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5750 (eval $ac_try) 2>&5 5751 ac_status=$? 5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5753 (exit $ac_status); }; } && 5754 { ac_try='test -s conftest$ac_exeext' 5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5756 (eval $ac_try) 2>&5 5757 ac_status=$? 5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5759 (exit $ac_status); }; }; then 6146 (exit $ac_status); } && { 6147 test -z "$ac_c_werror_flag" || 6148 test ! -s conftest.err 6149 } && test -s conftest$ac_exeext && 6150 $as_test_x conftest$ac_exeext; then 5760 6151 eval "$as_ac_var=yes" 5761 6152 else … … 5763 6154 sed 's/^/| /' conftest.$ac_ext >&5 5764 6155 5765 eval "$as_ac_var=no" 5766 fi 5767 rm -f conftest.err conftest.$ac_objext \ 6156 eval "$as_ac_var=no" 6157 fi 6158 6159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5768 6160 conftest$ac_exeext conftest.$ac_ext 5769 6161 fi 5770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6162 ac_res=`eval echo '${'$as_ac_var'}'` 6163 { echo "$as_me:$LINENO: result: $ac_res" >&5 6164 echo "${ECHO_T}$ac_res" >&6; } 5772 6165 if test `eval echo '${'$as_ac_var'}'` = yes; then 5773 6166 … … 5782 6175 fi 5783 6176 5784 echo "$as_me:$LINENO: checking stack direction for C alloca" >&55785 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6177 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6178 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } 5786 6179 if test "${ac_cv_c_stack_direction+set}" = set; then 5787 6180 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5796 6189 cat >>conftest.$ac_ext <<_ACEOF 5797 6190 /* end confdefs.h. */ 6191 $ac_includes_default 5798 6192 int 5799 6193 find_stack_direction () … … 5813 6207 main () 5814 6208 { 5815 exit (find_stack_direction () < 0);6209 return find_stack_direction () < 0; 5816 6210 } 5817 6211 _ACEOF 5818 6212 rm -f conftest$ac_exeext 5819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5820 (eval $ac_link) 2>&5 6213 if { (ac_try="$ac_link" 6214 case "(($ac_try" in 6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6216 *) ac_try_echo=$ac_try;; 6217 esac 6218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6219 (eval "$ac_link") 2>&5 5821 6220 ac_status=$? 5822 6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5823 6222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5825 (eval $ac_try) 2>&5 6223 { (case "(($ac_try" in 6224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6225 *) ac_try_echo=$ac_try;; 6226 esac 6227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6228 (eval "$ac_try") 2>&5 5826 6229 ac_status=$? 5827 6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5836 6239 ac_cv_c_stack_direction=-1 5837 6240 fi 5838 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5839 fi 5840 fi 5841 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5842 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6242 fi 6243 6244 6245 fi 6246 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6247 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } 5843 6248 5844 6249 cat >>confdefs.h <<_ACEOF … … 5850 6255 5851 6256 if test $ac_cv_c_compiler_gnu = yes; then 5852 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55853 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6257 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6258 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } 5854 6259 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5855 6260 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5892 6297 fi 5893 6298 fi 5894 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&55895 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6299 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6300 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } 5896 6301 if test $ac_cv_prog_gcc_traditional = yes; then 5897 6302 CC="$CC -traditional" … … 5899 6304 fi 5900 6305 5901 echo "$as_me:$LINENO: checking return type of signal handlers" >&55902 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6306 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6307 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 5903 6308 if test "${ac_cv_type_signal+set}" = set; then 5904 6309 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5912 6317 #include <sys/types.h> 5913 6318 #include <signal.h> 5914 #ifdef signal5915 # undef signal5916 #endif5917 #ifdef __cplusplus5918 extern "C" void (*signal (int, void (*)(int)))(int);5919 #else5920 void (*signal ()) ();5921 #endif5922 6319 5923 6320 int 5924 6321 main () 5925 6322 { 5926 int i;6323 return *(signal (0, 0)) (0) == 1; 5927 6324 ; 5928 6325 return 0; … … 5930 6327 _ACEOF 5931 6328 rm -f conftest.$ac_objext 5932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5933 (eval $ac_compile) 2>conftest.er1 6329 if { (ac_try="$ac_compile" 6330 case "(($ac_try" in 6331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6332 *) ac_try_echo=$ac_try;; 6333 esac 6334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6335 (eval "$ac_compile") 2>conftest.er1 5934 6336 ac_status=$? 5935 6337 grep -v '^ *+' conftest.er1 >conftest.err … … 5937 6339 cat conftest.err >&5 5938 6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5939 (exit $ac_status); } && 5940 { ac_try='test -z "$ac_c_werror_flag" 5941 || test ! -s conftest.err' 5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5943 (eval $ac_try) 2>&5 5944 ac_status=$? 5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5946 (exit $ac_status); }; } && 5947 { ac_try='test -s conftest.$ac_objext' 5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5949 (eval $ac_try) 2>&5 5950 ac_status=$? 5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5952 (exit $ac_status); }; }; then 5953 ac_cv_type_signal=void 6341 (exit $ac_status); } && { 6342 test -z "$ac_c_werror_flag" || 6343 test ! -s conftest.err 6344 } && test -s conftest.$ac_objext; then 6345 ac_cv_type_signal=int 5954 6346 else 5955 6347 echo "$as_me: failed program was:" >&5 5956 6348 sed 's/^/| /' conftest.$ac_ext >&5 5957 6349 5958 ac_cv_type_signal=int 5959 fi 5960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5961 fi 5962 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5963 echo "${ECHO_T}$ac_cv_type_signal" >&6 6350 ac_cv_type_signal=void 6351 fi 6352 6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6354 fi 6355 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6356 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 5964 6357 5965 6358 cat >>confdefs.h <<_ACEOF … … 5972 6365 do 5973 6366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5974 echo "$as_me:$LINENO: checking for $ac_func" >&55975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5976 if eval "test \"\${$as_ac_var+set}\" = set"; then6367 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5977 6370 echo $ECHO_N "(cached) $ECHO_C" >&6 5978 6371 else … … 6000 6393 #undef $ac_func 6001 6394 6002 /* Override any gcc2 internal prototype to avoid an error. */ 6395 /* Override any GCC internal prototype to avoid an error. 6396 Use char because int might match the return type of a GCC 6397 builtin and then its argument prototype would still apply. */ 6003 6398 #ifdef __cplusplus 6004 6399 extern "C" 6005 {6006 6400 #endif 6007 /* We use char because int might match the return type of a gcc26008 builtin and then its argument prototype would still apply. */6009 6401 char $ac_func (); 6010 6402 /* The GNU C library defines this for functions which it implements 6011 6403 to always fail with ENOSYS. Some functions are actually named 6012 6404 something starting with __ and the normal name is an alias. */ 6013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6405 #if defined __stub_$ac_func || defined __stub___$ac_func 6014 6406 choke me 6015 #else6016 char (*f) () = $ac_func;6017 #endif6018 #ifdef __cplusplus6019 }6020 6407 #endif 6021 6408 … … 6023 6410 main () 6024 6411 { 6025 return f != $ac_func;6412 return $ac_func (); 6026 6413 ; 6027 6414 return 0; … … 6029 6416 _ACEOF 6030 6417 rm -f conftest.$ac_objext conftest$ac_exeext 6031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6032 (eval $ac_link) 2>conftest.er1 6418 if { (ac_try="$ac_link" 6419 case "(($ac_try" in 6420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6421 *) ac_try_echo=$ac_try;; 6422 esac 6423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6424 (eval "$ac_link") 2>conftest.er1 6033 6425 ac_status=$? 6034 6426 grep -v '^ *+' conftest.er1 >conftest.err … … 6036 6428 cat conftest.err >&5 6037 6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6038 (exit $ac_status); } && 6039 { ac_try='test -z "$ac_c_werror_flag" 6040 || test ! -s conftest.err' 6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6042 (eval $ac_try) 2>&5 6043 ac_status=$? 6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6045 (exit $ac_status); }; } && 6046 { ac_try='test -s conftest$ac_exeext' 6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6048 (eval $ac_try) 2>&5 6049 ac_status=$? 6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6051 (exit $ac_status); }; }; then 6430 (exit $ac_status); } && { 6431 test -z "$ac_c_werror_flag" || 6432 test ! -s conftest.err 6433 } && test -s conftest$ac_exeext && 6434 $as_test_x conftest$ac_exeext; then 6052 6435 eval "$as_ac_var=yes" 6053 6436 else … … 6055 6438 sed 's/^/| /' conftest.$ac_ext >&5 6056 6439 6057 eval "$as_ac_var=no" 6058 fi 6059 rm -f conftest.err conftest.$ac_objext \ 6440 eval "$as_ac_var=no" 6441 fi 6442 6443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6060 6444 conftest$ac_exeext conftest.$ac_ext 6061 6445 fi 6062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6446 ac_res=`eval echo '${'$as_ac_var'}'` 6447 { echo "$as_me:$LINENO: result: $ac_res" >&5 6448 echo "${ECHO_T}$ac_res" >&6; } 6064 6449 if test `eval echo '${'$as_ac_var'}'` = yes; then 6065 6450 cat >>confdefs.h <<_ACEOF … … 6067 6452 _ACEOF 6068 6453 6069 echo "$as_me:$LINENO: checking for _doprnt" >&56070 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6454 { echo "$as_me:$LINENO: checking for _doprnt" >&5 6455 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 6071 6456 if test "${ac_cv_func__doprnt+set}" = set; then 6072 6457 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6095 6480 #undef _doprnt 6096 6481 6097 /* Override any gcc2 internal prototype to avoid an error. */ 6482 /* Override any GCC internal prototype to avoid an error. 6483 Use char because int might match the return type of a GCC 6484 builtin and then its argument prototype would still apply. */ 6098 6485 #ifdef __cplusplus 6099 6486 extern "C" 6100 {6101 6487 #endif 6102 /* We use char because int might match the return type of a gcc26103 builtin and then its argument prototype would still apply. */6104 6488 char _doprnt (); 6105 6489 /* The GNU C library defines this for functions which it implements 6106 6490 to always fail with ENOSYS. Some functions are actually named 6107 6491 something starting with __ and the normal name is an alias. */ 6108 #if defined (__stub__doprnt) || defined (__stub____doprnt)6492 #if defined __stub__doprnt || defined __stub____doprnt 6109 6493 choke me 6110 #else6111 char (*f) () = _doprnt;6112 #endif6113 #ifdef __cplusplus6114 }6115 6494 #endif 6116 6495 … … 6118 6497 main () 6119 6498 { 6120 return f != _doprnt;6499 return _doprnt (); 6121 6500 ; 6122 6501 return 0; … … 6124 6503 _ACEOF 6125 6504 rm -f conftest.$ac_objext conftest$ac_exeext 6126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6127 (eval $ac_link) 2>conftest.er1 6505 if { (ac_try="$ac_link" 6506 case "(($ac_try" in 6507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6508 *) ac_try_echo=$ac_try;; 6509 esac 6510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6511 (eval "$ac_link") 2>conftest.er1 6128 6512 ac_status=$? 6129 6513 grep -v '^ *+' conftest.er1 >conftest.err … … 6131 6515 cat conftest.err >&5 6132 6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6133 (exit $ac_status); } && 6134 { ac_try='test -z "$ac_c_werror_flag" 6135 || test ! -s conftest.err' 6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6137 (eval $ac_try) 2>&5 6138 ac_status=$? 6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6140 (exit $ac_status); }; } && 6141 { ac_try='test -s conftest$ac_exeext' 6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6143 (eval $ac_try) 2>&5 6144 ac_status=$? 6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6146 (exit $ac_status); }; }; then 6517 (exit $ac_status); } && { 6518 test -z "$ac_c_werror_flag" || 6519 test ! -s conftest.err 6520 } && test -s conftest$ac_exeext && 6521 $as_test_x conftest$ac_exeext; then 6147 6522 ac_cv_func__doprnt=yes 6148 6523 else … … 6150 6525 sed 's/^/| /' conftest.$ac_ext >&5 6151 6526 6152 ac_cv_func__doprnt=no 6153 fi 6154 rm -f conftest.err conftest.$ac_objext \ 6527 ac_cv_func__doprnt=no 6528 fi 6529 6530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6155 6531 conftest$ac_exeext conftest.$ac_ext 6156 6532 fi 6157 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56158 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6533 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6534 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 6159 6535 if test $ac_cv_func__doprnt = yes; then 6160 6536 … … 6182 6558 do 6183 6559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6184 echo "$as_me:$LINENO: checking for $ac_func" >&56185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6186 if eval "test \"\${$as_ac_var+set}\" = set"; then6560 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6187 6563 echo $ECHO_N "(cached) $ECHO_C" >&6 6188 6564 else … … 6210 6586 #undef $ac_func 6211 6587 6212 /* Override any gcc2 internal prototype to avoid an error. */ 6588 /* Override any GCC internal prototype to avoid an error. 6589 Use char because int might match the return type of a GCC 6590 builtin and then its argument prototype would still apply. */ 6213 6591 #ifdef __cplusplus 6214 6592 extern "C" 6215 {6216 6593 #endif 6217 /* We use char because int might match the return type of a gcc26218 builtin and then its argument prototype would still apply. */6219 6594 char $ac_func (); 6220 6595 /* The GNU C library defines this for functions which it implements 6221 6596 to always fail with ENOSYS. Some functions are actually named 6222 6597 something starting with __ and the normal name is an alias. */ 6223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6598 #if defined __stub_$ac_func || defined __stub___$ac_func 6224 6599 choke me 6225 #else6226 char (*f) () = $ac_func;6227 #endif6228 #ifdef __cplusplus6229 }6230 6600 #endif 6231 6601 … … 6233 6603 main () 6234 6604 { 6235 return f != $ac_func;6605 return $ac_func (); 6236 6606 ; 6237 6607 return 0; … … 6239 6609 _ACEOF 6240 6610 rm -f conftest.$ac_objext conftest$ac_exeext 6241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6242 (eval $ac_link) 2>conftest.er1 6611 if { (ac_try="$ac_link" 6612 case "(($ac_try" in 6613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6614 *) ac_try_echo=$ac_try;; 6615 esac 6616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6617 (eval "$ac_link") 2>conftest.er1 6243 6618 ac_status=$? 6244 6619 grep -v '^ *+' conftest.er1 >conftest.err … … 6246 6621 cat conftest.err >&5 6247 6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6248 (exit $ac_status); } && 6249 { ac_try='test -z "$ac_c_werror_flag" 6250 || test ! -s conftest.err' 6251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6252 (eval $ac_try) 2>&5 6253 ac_status=$? 6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6255 (exit $ac_status); }; } && 6256 { ac_try='test -s conftest$ac_exeext' 6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6258 (eval $ac_try) 2>&5 6259 ac_status=$? 6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6261 (exit $ac_status); }; }; then 6623 (exit $ac_status); } && { 6624 test -z "$ac_c_werror_flag" || 6625 test ! -s conftest.err 6626 } && test -s conftest$ac_exeext && 6627 $as_test_x conftest$ac_exeext; then 6262 6628 eval "$as_ac_var=yes" 6263 6629 else … … 6265 6631 sed 's/^/| /' conftest.$ac_ext >&5 6266 6632 6267 eval "$as_ac_var=no" 6268 fi 6269 rm -f conftest.err conftest.$ac_objext \ 6633 eval "$as_ac_var=no" 6634 fi 6635 6636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6270 6637 conftest$ac_exeext conftest.$ac_ext 6271 6638 fi 6272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6639 ac_res=`eval echo '${'$as_ac_var'}'` 6640 { echo "$as_me:$LINENO: result: $ac_res" >&5 6641 echo "${ECHO_T}$ac_res" >&6; } 6274 6642 if test `eval echo '${'$as_ac_var'}'` = yes; then 6275 6643 cat >>confdefs.h <<_ACEOF … … 6286 6654 do 6287 6655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6288 echo "$as_me:$LINENO: checking for $ac_func" >&56289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6290 if eval "test \"\${$as_ac_var+set}\" = set"; then6656 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6291 6659 echo $ECHO_N "(cached) $ECHO_C" >&6 6292 6660 else … … 6314 6682 #undef $ac_func 6315 6683 6316 /* Override any gcc2 internal prototype to avoid an error. */ 6684 /* Override any GCC internal prototype to avoid an error. 6685 Use char because int might match the return type of a GCC 6686 builtin and then its argument prototype would still apply. */ 6317 6687 #ifdef __cplusplus 6318 6688 extern "C" 6319 {6320 6689 #endif 6321 /* We use char because int might match the return type of a gcc26322 builtin and then its argument prototype would still apply. */6323 6690 char $ac_func (); 6324 6691 /* The GNU C library defines this for functions which it implements 6325 6692 to always fail with ENOSYS. Some functions are actually named 6326 6693 something starting with __ and the normal name is an alias. */ 6327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6694 #if defined __stub_$ac_func || defined __stub___$ac_func 6328 6695 choke me 6329 #else6330 char (*f) () = $ac_func;6331 #endif6332 #ifdef __cplusplus6333 }6334 6696 #endif 6335 6697 … … 6337 6699 main () 6338 6700 { 6339 return f != $ac_func;6701 return $ac_func (); 6340 6702 ; 6341 6703 return 0; … … 6343 6705 _ACEOF 6344 6706 rm -f conftest.$ac_objext conftest$ac_exeext 6345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6346 (eval $ac_link) 2>conftest.er1 6707 if { (ac_try="$ac_link" 6708 case "(($ac_try" in 6709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6710 *) ac_try_echo=$ac_try;; 6711 esac 6712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6713 (eval "$ac_link") 2>conftest.er1 6347 6714 ac_status=$? 6348 6715 grep -v '^ *+' conftest.er1 >conftest.err … … 6350 6717 cat conftest.err >&5 6351 6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6352 (exit $ac_status); } && 6353 { ac_try='test -z "$ac_c_werror_flag" 6354 || test ! -s conftest.err' 6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6356 (eval $ac_try) 2>&5 6357 ac_status=$? 6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6359 (exit $ac_status); }; } && 6360 { ac_try='test -s conftest$ac_exeext' 6361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6362 (eval $ac_try) 2>&5 6363 ac_status=$? 6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6365 (exit $ac_status); }; }; then 6719 (exit $ac_status); } && { 6720 test -z "$ac_c_werror_flag" || 6721 test ! -s conftest.err 6722 } && test -s conftest$ac_exeext && 6723 $as_test_x conftest$ac_exeext; then 6366 6724 eval "$as_ac_var=yes" 6367 6725 else … … 6369 6727 sed 's/^/| /' conftest.$ac_ext >&5 6370 6728 6371 eval "$as_ac_var=no" 6372 fi 6373 rm -f conftest.err conftest.$ac_objext \ 6729 eval "$as_ac_var=no" 6730 fi 6731 6732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6374 6733 conftest$ac_exeext conftest.$ac_ext 6375 6734 fi 6376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6735 ac_res=`eval echo '${'$as_ac_var'}'` 6736 { echo "$as_me:$LINENO: result: $ac_res" >&5 6737 echo "${ECHO_T}$ac_res" >&6; } 6378 6738 if test `eval echo '${'$as_ac_var'}'` = yes; then 6379 6739 cat >>confdefs.h <<_ACEOF … … 6382 6742 6383 6743 else 6384 case $LIBOBJS in 6385 "$ac_func.$ac_objext" | \ 6386 *" $ac_func.$ac_objext" | \ 6387 "$ac_func.$ac_objext "* | \ 6744 case " $LIBOBJS " in 6388 6745 *" $ac_func.$ac_objext "* ) ;; 6389 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6746 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6747 ;; 6390 6748 esac 6391 6749 … … 6395 6753 6396 6754 6397 echo "$as_me:$LINENO: checking for textdomain" >&56398 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6755 { echo "$as_me:$LINENO: checking for textdomain" >&5 6756 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; } 6399 6757 if test "${ac_cv_func_textdomain+set}" = set; then 6400 6758 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6423 6781 #undef textdomain 6424 6782 6425 /* Override any gcc2 internal prototype to avoid an error. */ 6783 /* Override any GCC internal prototype to avoid an error. 6784 Use char because int might match the return type of a GCC 6785 builtin and then its argument prototype would still apply. */ 6426 6786 #ifdef __cplusplus 6427 6787 extern "C" 6428 {6429 6788 #endif 6430 /* We use char because int might match the return type of a gcc26431 builtin and then its argument prototype would still apply. */6432 6789 char textdomain (); 6433 6790 /* The GNU C library defines this for functions which it implements 6434 6791 to always fail with ENOSYS. Some functions are actually named 6435 6792 something starting with __ and the normal name is an alias. */ 6436 #if defined (__stub_textdomain) || defined (__stub___textdomain)6793 #if defined __stub_textdomain || defined __stub___textdomain 6437 6794 choke me 6438 #else6439 char (*f) () = textdomain;6440 #endif6441 #ifdef __cplusplus6442 }6443 6795 #endif 6444 6796 … … 6446 6798 main () 6447 6799 { 6448 return f != textdomain;6800 return textdomain (); 6449 6801 ; 6450 6802 return 0; … … 6452 6804 _ACEOF 6453 6805 rm -f conftest.$ac_objext conftest$ac_exeext 6454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6455 (eval $ac_link) 2>conftest.er1 6806 if { (ac_try="$ac_link" 6807 case "(($ac_try" in 6808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6809 *) ac_try_echo=$ac_try;; 6810 esac 6811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6812 (eval "$ac_link") 2>conftest.er1 6456 6813 ac_status=$? 6457 6814 grep -v '^ *+' conftest.er1 >conftest.err … … 6459 6816 cat conftest.err >&5 6460 6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6461 (exit $ac_status); } && 6462 { ac_try='test -z "$ac_c_werror_flag" 6463 || test ! -s conftest.err' 6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6465 (eval $ac_try) 2>&5 6466 ac_status=$? 6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6468 (exit $ac_status); }; } && 6469 { ac_try='test -s conftest$ac_exeext' 6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6471 (eval $ac_try) 2>&5 6472 ac_status=$? 6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6474 (exit $ac_status); }; }; then 6818 (exit $ac_status); } && { 6819 test -z "$ac_c_werror_flag" || 6820 test ! -s conftest.err 6821 } && test -s conftest$ac_exeext && 6822 $as_test_x conftest$ac_exeext; then 6475 6823 ac_cv_func_textdomain=yes 6476 6824 else … … 6478 6826 sed 's/^/| /' conftest.$ac_ext >&5 6479 6827 6480 ac_cv_func_textdomain=no 6481 fi 6482 rm -f conftest.err conftest.$ac_objext \ 6828 ac_cv_func_textdomain=no 6829 fi 6830 6831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6483 6832 conftest$ac_exeext conftest.$ac_ext 6484 6833 fi 6485 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56486 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6834 { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 6835 echo "${ECHO_T}$ac_cv_func_textdomain" >&6; } 6487 6836 if test $ac_cv_func_textdomain = yes; then 6488 6837 cat >>confdefs.h <<\_ACEOF … … 6495 6844 # *** Custom checking (based on GNU tar configure.in) *** 6496 6845 # --------------------------------------------------------------------------- 6497 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56498 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 6846 { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 6847 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; } 6499 6848 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6500 echo "$as_me:$LINENO: result: yes" >&5 6501 echo "${ECHO_T}yes" >&6 6502 case $LIBOBJS in 6503 "gmalloc.$ac_objext" | \ 6504 *" gmalloc.$ac_objext" | \ 6505 "gmalloc.$ac_objext "* | \ 6849 { echo "$as_me:$LINENO: result: yes" >&5 6850 echo "${ECHO_T}yes" >&6; } 6851 case " $LIBOBJS " in 6506 6852 *" gmalloc.$ac_objext "* ) ;; 6507 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6853 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6854 ;; 6508 6855 esac 6509 6856 … … 6513 6860 6514 6861 else 6515 echo "$as_me:$LINENO: result: no" >&56516 echo "${ECHO_T}no" >&6 6862 { echo "$as_me:$LINENO: result: no" >&5 6863 echo "${ECHO_T}no" >&6; } 6517 6864 6518 6865 for ac_func in valloc 6519 6866 do 6520 6867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6521 echo "$as_me:$LINENO: checking for $ac_func" >&56522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6523 if eval "test \"\${$as_ac_var+set}\" = set"; then6868 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6524 6871 echo $ECHO_N "(cached) $ECHO_C" >&6 6525 6872 else … … 6547 6894 #undef $ac_func 6548 6895 6549 /* Override any gcc2 internal prototype to avoid an error. */ 6896 /* Override any GCC internal prototype to avoid an error. 6897 Use char because int might match the return type of a GCC 6898 builtin and then its argument prototype would still apply. */ 6550 6899 #ifdef __cplusplus 6551 6900 extern "C" 6552 {6553 6901 #endif 6554 /* We use char because int might match the return type of a gcc26555 builtin and then its argument prototype would still apply. */6556 6902 char $ac_func (); 6557 6903 /* The GNU C library defines this for functions which it implements 6558 6904 to always fail with ENOSYS. Some functions are actually named 6559 6905 something starting with __ and the normal name is an alias. */ 6560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6906 #if defined __stub_$ac_func || defined __stub___$ac_func 6561 6907 choke me 6562 #else6563 char (*f) () = $ac_func;6564 #endif6565 #ifdef __cplusplus6566 }6567 6908 #endif 6568 6909 … … 6570 6911 main () 6571 6912 { 6572 return f != $ac_func;6913 return $ac_func (); 6573 6914 ; 6574 6915 return 0; … … 6576 6917 _ACEOF 6577 6918 rm -f conftest.$ac_objext conftest$ac_exeext 6578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6579 (eval $ac_link) 2>conftest.er1 6919 if { (ac_try="$ac_link" 6920 case "(($ac_try" in 6921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6922 *) ac_try_echo=$ac_try;; 6923 esac 6924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6925 (eval "$ac_link") 2>conftest.er1 6580 6926 ac_status=$? 6581 6927 grep -v '^ *+' conftest.er1 >conftest.err … … 6583 6929 cat conftest.err >&5 6584 6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6585 (exit $ac_status); } && 6586 { ac_try='test -z "$ac_c_werror_flag" 6587 || test ! -s conftest.err' 6588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6589 (eval $ac_try) 2>&5 6590 ac_status=$? 6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6592 (exit $ac_status); }; } && 6593 { ac_try='test -s conftest$ac_exeext' 6594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6595 (eval $ac_try) 2>&5 6596 ac_status=$? 6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6598 (exit $ac_status); }; }; then 6931 (exit $ac_status); } && { 6932 test -z "$ac_c_werror_flag" || 6933 test ! -s conftest.err 6934 } && test -s conftest$ac_exeext && 6935 $as_test_x conftest$ac_exeext; then 6599 6936 eval "$as_ac_var=yes" 6600 6937 else … … 6602 6939 sed 's/^/| /' conftest.$ac_ext >&5 6603 6940 6604 eval "$as_ac_var=no" 6605 fi 6606 rm -f conftest.err conftest.$ac_objext \ 6941 eval "$as_ac_var=no" 6942 fi 6943 6944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6607 6945 conftest$ac_exeext conftest.$ac_ext 6608 6946 fi 6609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6947 ac_res=`eval echo '${'$as_ac_var'}'` 6948 { echo "$as_me:$LINENO: result: $ac_res" >&5 6949 echo "${ECHO_T}$ac_res" >&6; } 6611 6950 if test `eval echo '${'$as_ac_var'}'` = yes; then 6612 6951 cat >>confdefs.h <<_ACEOF … … 6620 6959 6621 6960 # we cannot generate static libraries under Darwin 6622 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&56623 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 6961 { echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 6962 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; } 6624 6963 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6625 echo "$as_me:$LINENO: result: yes" >&56626 echo "${ECHO_T}yes" >&6 6964 { echo "$as_me:$LINENO: result: yes" >&5 6965 echo "${ECHO_T}yes" >&6; } 6627 6966 STATIC="" 6628 6967 else 6629 echo "$as_me:$LINENO: result: no" >&56630 echo "${ECHO_T}no" >&6 6968 { echo "$as_me:$LINENO: result: no" >&5 6969 echo "${ECHO_T}no" >&6; } 6631 6970 STATIC="-static " 6632 6971 fi 6633 6972 6634 6973 6635 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56636 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6637 6638 # Check whether --with-dmalloc or --without-dmallocwas given.6974 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6975 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; } 6976 6977 # Check whether --with-dmalloc was given. 6639 6978 if test "${with_dmalloc+set}" = set; then 6640 withval="$with_dmalloc" 6641 if test "$withval" = yes; then 6642 echo "$as_me:$LINENO: result: yes" >&5 6643 echo "${ECHO_T}yes" >&6 6979 withval=$with_dmalloc; if test "$withval" = yes; then 6980 { echo "$as_me:$LINENO: result: yes" >&5 6981 echo "${ECHO_T}yes" >&6; } 6644 6982 cat >>confdefs.h <<\_ACEOF 6645 6983 #define WITH_DMALLOC 1 … … 6649 6987 LDFLAGS="$LDFLAGS -g" 6650 6988 else 6651 echo "$as_me:$LINENO: result: no" >&5 6652 echo "${ECHO_T}no" >&6 6653 fi 6654 else 6655 echo "$as_me:$LINENO: result: no" >&5 6656 echo "${ECHO_T}no" >&6 6657 fi; 6658 6659 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6660 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6661 6662 # Check whether --with-regex or --without-regex was given. 6989 { echo "$as_me:$LINENO: result: no" >&5 6990 echo "${ECHO_T}no" >&6; } 6991 fi 6992 else 6993 { echo "$as_me:$LINENO: result: no" >&5 6994 echo "${ECHO_T}no" >&6; } 6995 fi 6996 6997 6998 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6999 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; } 7000 7001 # Check whether --with-regex was given. 6663 7002 if test "${with_regex+set}" = set; then 6664 withval="$with_regex" 6665 if test "$withval" = yes; then 7003 withval=$with_regex; if test "$withval" = yes; then 6666 7004 ac_with_regex=1 6667 echo "$as_me:$LINENO: result: regex" >&56668 echo "${ECHO_T}regex" >&6 7005 { echo "$as_me:$LINENO: result: regex" >&5 7006 echo "${ECHO_T}regex" >&6; } 6669 7007 cat >>confdefs.h <<\_ACEOF 6670 7008 #define WITH_REGEX 1 6671 7009 _ACEOF 6672 7010 6673 case $LIBOBJS in 6674 "regex.$ac_objext" | \ 6675 *" regex.$ac_objext" | \ 6676 "regex.$ac_objext "* | \ 7011 case " $LIBOBJS " in 6677 7012 *" regex.$ac_objext "* ) ;; 6678 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6679 esac 6680 6681 fi 6682 fi; 7013 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7014 ;; 7015 esac 7016 7017 fi 7018 fi 7019 6683 7020 if test -z "$ac_with_regex"; then 6684 echo "$as_me:$LINENO: result: rx" >&56685 echo "${ECHO_T}rx" >&6 6686 echo "$as_me:$LINENO: checking for re_rx_search" >&56687 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7021 { echo "$as_me:$LINENO: result: rx" >&5 7022 echo "${ECHO_T}rx" >&6; } 7023 { echo "$as_me:$LINENO: checking for re_rx_search" >&5 7024 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; } 6688 7025 if test "${ac_cv_func_re_rx_search+set}" = set; then 6689 7026 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6712 7049 #undef re_rx_search 6713 7050 6714 /* Override any gcc2 internal prototype to avoid an error. */ 7051 /* Override any GCC internal prototype to avoid an error. 7052 Use char because int might match the return type of a GCC 7053 builtin and then its argument prototype would still apply. */ 6715 7054 #ifdef __cplusplus 6716 7055 extern "C" 6717 {6718 7056 #endif 6719 /* We use char because int might match the return type of a gcc26720 builtin and then its argument prototype would still apply. */6721 7057 char re_rx_search (); 6722 7058 /* The GNU C library defines this for functions which it implements 6723 7059 to always fail with ENOSYS. Some functions are actually named 6724 7060 something starting with __ and the normal name is an alias. */ 6725 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)7061 #if defined __stub_re_rx_search || defined __stub___re_rx_search 6726 7062 choke me 6727 #else6728 char (*f) () = re_rx_search;6729 #endif6730 #ifdef __cplusplus6731 }6732 7063 #endif 6733 7064 … … 6735 7066 main () 6736 7067 { 6737 return f != re_rx_search;7068 return re_rx_search (); 6738 7069 ; 6739 7070 return 0; … … 6741 7072 _ACEOF 6742 7073 rm -f conftest.$ac_objext conftest$ac_exeext 6743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6744 (eval $ac_link) 2>conftest.er1 7074 if { (ac_try="$ac_link" 7075 case "(($ac_try" in 7076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7077 *) ac_try_echo=$ac_try;; 7078 esac 7079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7080 (eval "$ac_link") 2>conftest.er1 6745 7081 ac_status=$? 6746 7082 grep -v '^ *+' conftest.er1 >conftest.err … … 6748 7084 cat conftest.err >&5 6749 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6750 (exit $ac_status); } && 6751 { ac_try='test -z "$ac_c_werror_flag" 6752 || test ! -s conftest.err' 6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6754 (eval $ac_try) 2>&5 6755 ac_status=$? 6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6757 (exit $ac_status); }; } && 6758 { ac_try='test -s conftest$ac_exeext' 6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6760 (eval $ac_try) 2>&5 6761 ac_status=$? 6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6763 (exit $ac_status); }; }; then 7086 (exit $ac_status); } && { 7087 test -z "$ac_c_werror_flag" || 7088 test ! -s conftest.err 7089 } && test -s conftest$ac_exeext && 7090 $as_test_x conftest$ac_exeext; then 6764 7091 ac_cv_func_re_rx_search=yes 6765 7092 else … … 6767 7094 sed 's/^/| /' conftest.$ac_ext >&5 6768 7095 6769 ac_cv_func_re_rx_search=no 6770 fi 6771 rm -f conftest.err conftest.$ac_objext \ 7096 ac_cv_func_re_rx_search=no 7097 fi 7098 7099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6772 7100 conftest$ac_exeext conftest.$ac_ext 6773 7101 fi 6774 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&56775 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7102 { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7103 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; } 6776 7104 if test $ac_cv_func_re_rx_search = yes; then 6777 7105 : 6778 7106 else 6779 case $LIBOBJS in 6780 "rx.$ac_objext" | \ 6781 *" rx.$ac_objext" | \ 6782 "rx.$ac_objext "* | \ 7107 case " $LIBOBJS " in 6783 7108 *" rx.$ac_objext "* ) ;; 6784 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7109 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7110 ;; 6785 7111 esac 6786 7112 … … 6792 7118 # --------------------------------------------------------------------------- 6793 7119 if test "$ac_cv_func_alloca" = 'no'; then 6794 case $LIBOBJS in 6795 "xmalloc.$ac_objext" | \ 6796 *" xmalloc.$ac_objext" | \ 6797 "xmalloc.$ac_objext "* | \ 7120 case " $LIBOBJS " in 6798 7121 *" xmalloc.$ac_objext "* ) ;; 6799 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6800 esac 6801 6802 case $LIBOBJS in 6803 "error.$ac_objext" | \ 6804 *" error.$ac_objext" | \ 6805 "error.$ac_objext "* | \ 7122 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 7123 ;; 7124 esac 7125 7126 case " $LIBOBJS " in 6806 7127 *" error.$ac_objext "* ) ;; 6807 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7128 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7129 ;; 6808 7130 esac 6809 7131 … … 6813 7135 # --------------------------------------------------------------------------- 6814 7136 6815 ac_ext=c c7137 ac_ext=cpp 6816 7138 ac_cpp='$CXXCPP $CPPFLAGS' 6817 7139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6820 7142 6821 7143 6822 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56823 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 7144 { echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 7145 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; } 6824 7146 success="no" 6825 7147 pl_path="$PATH" … … 6838 7160 try=`expr $try \> 5.000` 6839 7161 if test $try = "1"; then 6840 echo "$as_me:$LINENO: result: \"yes\"" >&56841 echo "${ECHO_T}\"yes\"" >&6 7162 { echo "$as_me:$LINENO: result: \"yes\"" >&5 7163 echo "${ECHO_T}\"yes\"" >&6; } 6842 7164 else 6843 7165 success="no" … … 6846 7168 6847 7169 if test $success = "no"; then 6848 echo "$as_me:$LINENO: result: \"no\"" >&56849 echo "${ECHO_T}\"no\"" >&6 7170 { echo "$as_me:$LINENO: result: \"no\"" >&5 7171 echo "${ECHO_T}\"no\"" >&6; } 6850 7172 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 6851 7173 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} … … 6854 7176 6855 7177 success=no 6856 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&56857 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7178 { echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7179 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; } 6858 7180 6859 7181 … … 6875 7197 _ACEOF 6876 7198 rm -f conftest.$ac_objext 6877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6878 (eval $ac_compile) 2>conftest.er1 7199 if { (ac_try="$ac_compile" 7200 case "(($ac_try" in 7201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7202 *) ac_try_echo=$ac_try;; 7203 esac 7204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7205 (eval "$ac_compile") 2>conftest.er1 6879 7206 ac_status=$? 6880 7207 grep -v '^ *+' conftest.er1 >conftest.err … … 6882 7209 cat conftest.err >&5 6883 7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6884 (exit $ac_status); } && 6885 { ac_try='test -z "$ac_cxx_werror_flag" 6886 || test ! -s conftest.err' 6887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6888 (eval $ac_try) 2>&5 6889 ac_status=$? 6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6891 (exit $ac_status); }; } && 6892 { ac_try='test -s conftest.$ac_objext' 6893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6894 (eval $ac_try) 2>&5 6895 ac_status=$? 6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6897 (exit $ac_status); }; }; then 7211 (exit $ac_status); } && { 7212 test -z "$ac_cxx_werror_flag" || 7213 test ! -s conftest.err 7214 } && test -s conftest.$ac_objext; then 6898 7215 success=yes 6899 7216 else … … 6901 7218 sed 's/^/| /' conftest.$ac_ext >&5 6902 7219 6903 fi 6904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7220 7221 fi 7222 7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6905 7224 6906 7225 if test $success = "no"; then … … 6922 7241 _ACEOF 6923 7242 rm -f conftest.$ac_objext 6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6925 (eval $ac_compile) 2>conftest.er1 7243 if { (ac_try="$ac_compile" 7244 case "(($ac_try" in 7245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7246 *) ac_try_echo=$ac_try;; 7247 esac 7248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7249 (eval "$ac_compile") 2>conftest.er1 6926 7250 ac_status=$? 6927 7251 grep -v '^ *+' conftest.er1 >conftest.err … … 6929 7253 cat conftest.err >&5 6930 7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6931 (exit $ac_status); } && 6932 { ac_try='test -z "$ac_cxx_werror_flag" 6933 || test ! -s conftest.err' 6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6935 (eval $ac_try) 2>&5 6936 ac_status=$? 6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6938 (exit $ac_status); }; } && 6939 { ac_try='test -s conftest.$ac_objext' 6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6941 (eval $ac_try) 2>&5 6942 ac_status=$? 6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6944 (exit $ac_status); }; }; then 7255 (exit $ac_status); } && { 7256 test -z "$ac_cxx_werror_flag" || 7257 test ! -s conftest.err 7258 } && test -s conftest.$ac_objext; then 6945 7259 success="yes" 6946 7260 else … … 6948 7262 sed 's/^/| /' conftest.$ac_ext >&5 6949 7263 6950 fi 6951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7264 7265 fi 7266 7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6952 7268 fi 6953 7269 … … 6970 7286 _ACEOF 6971 7287 rm -f conftest.$ac_objext 6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6973 (eval $ac_compile) 2>conftest.er1 7288 if { (ac_try="$ac_compile" 7289 case "(($ac_try" in 7290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7291 *) ac_try_echo=$ac_try;; 7292 esac 7293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7294 (eval "$ac_compile") 2>conftest.er1 6974 7295 ac_status=$? 6975 7296 grep -v '^ *+' conftest.er1 >conftest.err … … 6977 7298 cat conftest.err >&5 6978 7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6979 (exit $ac_status); } && 6980 { ac_try='test -z "$ac_cxx_werror_flag" 6981 || test ! -s conftest.err' 6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6983 (eval $ac_try) 2>&5 6984 ac_status=$? 6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6986 (exit $ac_status); }; } && 6987 { ac_try='test -s conftest.$ac_objext' 6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6989 (eval $ac_try) 2>&5 6990 ac_status=$? 6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6992 (exit $ac_status); }; }; then 7300 (exit $ac_status); } && { 7301 test -z "$ac_cxx_werror_flag" || 7302 test ! -s conftest.err 7303 } && test -s conftest.$ac_objext; then 6993 7304 success="yes" 6994 7305 else … … 6996 7307 sed 's/^/| /' conftest.$ac_ext >&5 6997 7308 6998 fi 6999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7309 7310 fi 7311 7312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7000 7313 fi 7001 7314 7002 7315 if test $success = yes; then 7003 echo "$as_me:$LINENO: result: \"no\"" >&57004 echo "${ECHO_T}\"no\"" >&6 7005 else 7006 echo "$as_me:$LINENO: result: \"yes\"" >&57007 echo "${ECHO_T}\"yes\"" >&6 7316 { echo "$as_me:$LINENO: result: \"no\"" >&5 7317 echo "${ECHO_T}\"no\"" >&6; } 7318 else 7319 { echo "$as_me:$LINENO: result: \"yes\"" >&5 7320 echo "${ECHO_T}\"yes\"" >&6; } 7008 7321 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 7009 7322 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} … … 7020 7333 7021 7334 # check for endianness 7022 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&57023 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7335 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7336 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 7024 7337 if test "${ac_cv_c_bigendian+set}" = set; then 7025 7338 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7038 7351 main () 7039 7352 { 7040 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7353 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 7354 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 7041 7355 bogus endian macros 7042 7356 #endif … … 7047 7361 _ACEOF 7048 7362 rm -f conftest.$ac_objext 7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7050 (eval $ac_compile) 2>conftest.er1 7363 if { (ac_try="$ac_compile" 7364 case "(($ac_try" in 7365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7366 *) ac_try_echo=$ac_try;; 7367 esac 7368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7369 (eval "$ac_compile") 2>conftest.er1 7051 7370 ac_status=$? 7052 7371 grep -v '^ *+' conftest.er1 >conftest.err … … 7054 7373 cat conftest.err >&5 7055 7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7056 (exit $ac_status); } && 7057 { ac_try='test -z "$ac_cxx_werror_flag" 7058 || test ! -s conftest.err' 7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7060 (eval $ac_try) 2>&5 7061 ac_status=$? 7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7063 (exit $ac_status); }; } && 7064 { ac_try='test -s conftest.$ac_objext' 7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7066 (eval $ac_try) 2>&5 7067 ac_status=$? 7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7069 (exit $ac_status); }; }; then 7375 (exit $ac_status); } && { 7376 test -z "$ac_cxx_werror_flag" || 7377 test ! -s conftest.err 7378 } && test -s conftest.$ac_objext; then 7070 7379 # It does; now see whether it defined to BIG_ENDIAN or not. 7071 7380 cat >conftest.$ac_ext <<_ACEOF … … 7090 7399 _ACEOF 7091 7400 rm -f conftest.$ac_objext 7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7093 (eval $ac_compile) 2>conftest.er1 7401 if { (ac_try="$ac_compile" 7402 case "(($ac_try" in 7403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7404 *) ac_try_echo=$ac_try;; 7405 esac 7406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7407 (eval "$ac_compile") 2>conftest.er1 7094 7408 ac_status=$? 7095 7409 grep -v '^ *+' conftest.er1 >conftest.err … … 7097 7411 cat conftest.err >&5 7098 7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7099 (exit $ac_status); } && 7100 { ac_try='test -z "$ac_cxx_werror_flag" 7101 || test ! -s conftest.err' 7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7103 (eval $ac_try) 2>&5 7104 ac_status=$? 7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7106 (exit $ac_status); }; } && 7107 { ac_try='test -s conftest.$ac_objext' 7108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7109 (eval $ac_try) 2>&5 7110 ac_status=$? 7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7112 (exit $ac_status); }; }; then 7413 (exit $ac_status); } && { 7414 test -z "$ac_cxx_werror_flag" || 7415 test ! -s conftest.err 7416 } && test -s conftest.$ac_objext; then 7113 7417 ac_cv_c_bigendian=yes 7114 7418 else … … 7116 7420 sed 's/^/| /' conftest.$ac_ext >&5 7117 7421 7118 ac_cv_c_bigendian=no 7119 fi 7120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7422 ac_cv_c_bigendian=no 7423 fi 7424 7425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7121 7426 else 7122 7427 echo "$as_me: failed program was:" >&5 7123 7428 sed 's/^/| /' conftest.$ac_ext >&5 7124 7429 7125 # It does not; compile a test program.7430 # It does not; compile a test program. 7126 7431 if test "$cross_compiling" = yes; then 7127 7432 # try to guess the endianness by grepping values into an object file … … 7133 7438 cat >>conftest.$ac_ext <<_ACEOF 7134 7439 /* end confdefs.h. */ 7135 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };7136 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };7440 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7441 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7137 7442 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7138 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };7139 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };7443 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7444 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7140 7445 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 7141 7446 int … … 7148 7453 _ACEOF 7149 7454 rm -f conftest.$ac_objext 7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7151 (eval $ac_compile) 2>conftest.er1 7455 if { (ac_try="$ac_compile" 7456 case "(($ac_try" in 7457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7458 *) ac_try_echo=$ac_try;; 7459 esac 7460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7461 (eval "$ac_compile") 2>conftest.er1 7152 7462 ac_status=$? 7153 7463 grep -v '^ *+' conftest.er1 >conftest.err … … 7155 7465 cat conftest.err >&5 7156 7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7157 (exit $ac_status); } && 7158 { ac_try='test -z "$ac_cxx_werror_flag" 7159 || test ! -s conftest.err' 7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7161 (eval $ac_try) 2>&5 7162 ac_status=$? 7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7164 (exit $ac_status); }; } && 7165 { ac_try='test -s conftest.$ac_objext' 7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7167 (eval $ac_try) 2>&5 7168 ac_status=$? 7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 (exit $ac_status); }; }; then 7467 (exit $ac_status); } && { 7468 test -z "$ac_cxx_werror_flag" || 7469 test ! -s conftest.err 7470 } && test -s conftest.$ac_objext; then 7171 7471 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7172 7472 ac_cv_c_bigendian=yes … … 7184 7484 sed 's/^/| /' conftest.$ac_ext >&5 7185 7485 7186 fi 7187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7486 7487 fi 7488 7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7188 7490 else 7189 7491 cat >conftest.$ac_ext <<_ACEOF … … 7193 7495 cat >>conftest.$ac_ext <<_ACEOF 7194 7496 /* end confdefs.h. */ 7497 $ac_includes_default 7195 7498 int 7196 7499 main () 7197 7500 { 7501 7198 7502 /* Are we little or big endian? From Harbison&Steele. */ 7199 7503 union 7200 7504 { 7201 long l;7202 char c[sizeof (long )];7505 long int l; 7506 char c[sizeof (long int)]; 7203 7507 } u; 7204 7508 u.l = 1; 7205 exit (u.c[sizeof (long) - 1] == 1); 7509 return u.c[sizeof (long int) - 1] == 1; 7510 7511 ; 7512 return 0; 7206 7513 } 7207 7514 _ACEOF 7208 7515 rm -f conftest$ac_exeext 7209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7210 (eval $ac_link) 2>&5 7516 if { (ac_try="$ac_link" 7517 case "(($ac_try" in 7518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7519 *) ac_try_echo=$ac_try;; 7520 esac 7521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7522 (eval "$ac_link") 2>&5 7211 7523 ac_status=$? 7212 7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 7525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7215 (eval $ac_try) 2>&5 7526 { (case "(($ac_try" in 7527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7528 *) ac_try_echo=$ac_try;; 7529 esac 7530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7531 (eval "$ac_try") 2>&5 7216 7532 ac_status=$? 7217 7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 7226 7542 ac_cv_c_bigendian=yes 7227 7543 fi 7228 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7229 fi 7230 fi 7231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7232 fi 7233 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7234 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7545 fi 7546 7547 7548 fi 7549 7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7551 fi 7552 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7553 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 7235 7554 case $ac_cv_c_bigendian in 7236 7555 yes) … … 7252 7571 # --------------------------------------------------------------------------- 7253 7572 if test "$ac_cv_func_alloca" = 'no'; then 7254 case $LIBOBJS in 7255 "xmalloc.o.$ac_objext" | \ 7256 *" xmalloc.o.$ac_objext" | \ 7257 "xmalloc.o.$ac_objext "* | \ 7573 case " $LIBOBJS " in 7258 7574 *" xmalloc.o.$ac_objext "* ) ;; 7259 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7260 esac 7261 7262 case $LIBOBJS in 7263 "error.$ac_objext" | \ 7264 *" error.$ac_objext" | \ 7265 "error.$ac_objext "* | \ 7575 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 7576 ;; 7577 esac 7578 7579 case " $LIBOBJS " in 7266 7580 *" error.$ac_objext "* ) ;; 7267 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7581 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7582 ;; 7268 7583 esac 7269 7584 … … 7294 7609 gsdlprefix=`pwd` 7295 7610 ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos --libdir=$gsdlprefix/lib/$gsdlos" 7296 7297 7298 7611 subdirs="$subdirs common-src build-src runtime-src" 7299 7612 … … 7304 7617 runtime-src/Makefile" 7305 7618 7306 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 7619 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 7620 7307 7621 cat >confcache <<\_ACEOF 7308 7622 # This file is a shell script that caches the results of configure … … 7323 7637 # The following way of writing the cache mishandles newlines in values, 7324 7638 # but we know of no workaround that is simple, portable, and efficient. 7325 # So, don't put newlines in cache variables' values.7639 # So, we kill variables containing newlines. 7326 7640 # Ultrix sh set writes to stderr and can't be redirected directly, 7327 7641 # and sets the high bit in the cache file unless we assign to the vars. 7328 { 7642 ( 7643 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7644 eval ac_val=\$$ac_var 7645 case $ac_val in #( 7646 *${as_nl}*) 7647 case $ac_var in #( 7648 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 7649 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 7650 esac 7651 case $ac_var in #( 7652 _ | IFS | as_nl) ;; #( 7653 *) $as_unset $ac_var ;; 7654 esac ;; 7655 esac 7656 done 7657 7329 7658 (set) 2>&1 | 7330 case `(ac_space=' '; set | grep ac_space) 2>&1` in7331 * ac_space=\ *)7659 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7660 *${as_nl}ac_space=\ *) 7332 7661 # `set' does not quote correctly, so add quotes (double-quote 7333 7662 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7335 7664 "s/'/'\\\\''/g; 7336 7665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7337 ;; 7666 ;; #( 7338 7667 *) 7339 7668 # `set' quotes correctly as required by POSIX, so do not add quotes. 7340 sed -n \ 7341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 7669 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7342 7670 ;; 7343 esac; 7344 } | 7671 esac | 7672 sort 7673 ) | 7345 7674 sed ' 7675 /^ac_cv_env_/b end 7346 7676 t clear 7347 : 7677 :clear 7348 7678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7349 7679 t end 7350 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7351 : end' >>confcache 7352 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7353 if test -w $cache_file; then 7354 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 7680 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7681 :end' >>confcache 7682 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7683 if test -w "$cache_file"; then 7684 test "x$cache_file" != "x/dev/null" && 7685 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 7686 echo "$as_me: updating cache $cache_file" >&6;} 7355 7687 cat confcache >$cache_file 7356 7688 else 7357 echo "not updating unwritable cache $cache_file" 7689 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 7690 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7358 7691 fi 7359 7692 fi … … 7363 7696 # Let make expand exec_prefix. 7364 7697 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7365 7366 # VPATH may cause trouble with some makes, so we remove $(srcdir),7367 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7368 # trailing colons and then remove the whole line if VPATH becomes empty7369 # (actually we leave an empty line to preserve line numbers).7370 if test "x$srcdir" = x.; then7371 ac_vpsub='/^[ ]*VPATH[ ]*=/{7372 s/:*\$(srcdir):*/:/;7373 s/:*\${srcdir}:*/:/;7374 s/:*@srcdir@:*/:/;7375 s/^\([^=]*=[ ]*\):*/\1/;7376 s/:*$//;7377 s/^[^=]*=[ ]*$//;7378 }'7379 fi7380 7698 7381 7699 DEFS=-DHAVE_CONFIG_H … … 7385 7703 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7386 7704 # 1. Remove the extension, and $U if already installed. 7387 ac_i=`echo "$ac_i" | 7388 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7389 # 2. Add them. 7390 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7391 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 7705 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7706 ac_i=`echo "$ac_i" | sed "$ac_script"` 7707 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7708 # will be set to the directory where LIBOBJS objects are built. 7709 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7710 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7392 7711 done 7393 7712 LIBOBJS=$ac_libobjs … … 7420 7739 ## --------------------- ## 7421 7740 7422 # Be Bourne compatible 7741 # Be more Bourne compatible 7742 DUALCASE=1; export DUALCASE # for MKS sh 7423 7743 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7424 7744 emulate sh … … 7427 7747 # is contrary to our usage. Disable this feature. 7428 7748 alias -g '${1+"$@"}'='"$@"' 7429 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7430 set -o posix 7431 fi 7432 DUALCASE=1; export DUALCASE # for MKS sh 7433 7434 # Support unset when possible. 7435 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7436 as_unset=unset 7437 else 7438 as_unset=false 7439 fi 7440 7441 7442 # Work around bugs in pre-3.0 UWIN ksh. 7443 $as_unset ENV MAIL MAILPATH 7444 PS1='$ ' 7445 PS2='> ' 7446 PS4='+ ' 7447 7448 # NLS nuisances. 7449 for as_var in \ 7450 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7451 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7452 LC_TELEPHONE LC_TIME 7453 do 7454 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7455 eval $as_var=C; export $as_var 7456 else 7457 $as_unset $as_var 7458 fi 7459 done 7460 7461 # Required to use basename. 7462 if expr a : '\(a\)' >/dev/null 2>&1; then 7463 as_expr=expr 7464 else 7465 as_expr=false 7466 fi 7467 7468 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7469 as_basename=basename 7470 else 7471 as_basename=false 7472 fi 7473 7474 7475 # Name of the executable. 7476 as_me=`$as_basename "$0" || 7477 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7478 X"$0" : 'X\(//\)$' \| \ 7479 X"$0" : 'X\(/\)$' \| \ 7480 . : '\(.\)' 2>/dev/null || 7481 echo X/"$0" | 7482 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7483 /^X\/\(\/\/\)$/{ s//\1/; q; } 7484 /^X\/\(\/\).*/{ s//\1/; q; } 7485 s/.*/./; q'` 7486 7487 7488 # PATH needs CR, and LINENO needs CR and PATH. 7749 setopt NO_GLOB_SUBST 7750 else 7751 case `(set -o) 2>/dev/null` in 7752 *posix*) set -o posix ;; 7753 esac 7754 7755 fi 7756 7757 7758 7759 7760 # PATH needs CR 7489 7761 # Avoid depending upon Character Ranges. 7490 7762 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7507 7779 fi 7508 7780 7509 7510 as_lineno_1=$LINENO 7511 as_lineno_2=$LINENO 7512 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7513 test "x$as_lineno_1" != "x$as_lineno_2" && 7514 test "x$as_lineno_3" = "x$as_lineno_2" || { 7515 # Find who we are. Look in the path if we contain no path at all 7516 # relative or not. 7517 case $0 in 7518 *[\\/]* ) as_myself=$0 ;; 7519 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7781 # Support unset when possible. 7782 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7783 as_unset=unset 7784 else 7785 as_unset=false 7786 fi 7787 7788 7789 # IFS 7790 # We need space, tab and new line, in precisely that order. Quoting is 7791 # there to prevent editors from complaining about space-tab. 7792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 7793 # splitting by setting IFS to empty value.) 7794 as_nl=' 7795 ' 7796 IFS=" "" $as_nl" 7797 7798 # Find who we are. Look in the path if we contain no directory separator. 7799 case $0 in 7800 *[\\/]* ) as_myself=$0 ;; 7801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7520 7802 for as_dir in $PATH 7521 7803 do … … 7524 7806 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7525 7807 done 7526 7527 ;; 7528 esac 7529 # We did not find ourselves, most probably we were run as `sh COMMAND' 7530 # in which case we are not to be found in the path. 7531 if test "x$as_myself" = x; then 7532 as_myself=$0 7808 IFS=$as_save_IFS 7809 7810 ;; 7811 esac 7812 # We did not find ourselves, most probably we were run as `sh COMMAND' 7813 # in which case we are not to be found in the path. 7814 if test "x$as_myself" = x; then 7815 as_myself=$0 7816 fi 7817 if test ! -f "$as_myself"; then 7818 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7819 { (exit 1); exit 1; } 7820 fi 7821 7822 # Work around bugs in pre-3.0 UWIN ksh. 7823 for as_var in ENV MAIL MAILPATH 7824 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7825 done 7826 PS1='$ ' 7827 PS2='> ' 7828 PS4='+ ' 7829 7830 # NLS nuisances. 7831 for as_var in \ 7832 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7833 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7834 LC_TELEPHONE LC_TIME 7835 do 7836 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7837 eval $as_var=C; export $as_var 7838 else 7839 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7533 7840 fi 7534 if test ! -f "$as_myself"; then 7535 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7536 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7537 { (exit 1); exit 1; }; } 7538 fi 7539 case $CONFIG_SHELL in 7540 '') 7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7542 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7543 do 7544 IFS=$as_save_IFS 7545 test -z "$as_dir" && as_dir=. 7546 for as_base in sh bash ksh sh5; do 7547 case $as_dir in 7548 /*) 7549 if ("$as_dir/$as_base" -c ' 7841 done 7842 7843 # Required to use basename. 7844 if expr a : '\(a\)' >/dev/null 2>&1 && 7845 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7846 as_expr=expr 7847 else 7848 as_expr=false 7849 fi 7850 7851 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7852 as_basename=basename 7853 else 7854 as_basename=false 7855 fi 7856 7857 7858 # Name of the executable. 7859 as_me=`$as_basename -- "$0" || 7860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7861 X"$0" : 'X\(//\)$' \| \ 7862 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7863 echo X/"$0" | 7864 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7865 s//\1/ 7866 q 7867 } 7868 /^X\/\(\/\/\)$/{ 7869 s//\1/ 7870 q 7871 } 7872 /^X\/\(\/\).*/{ 7873 s//\1/ 7874 q 7875 } 7876 s/.*/./; q'` 7877 7878 # CDPATH. 7879 $as_unset CDPATH 7880 7881 7882 7550 7883 as_lineno_1=$LINENO 7551 7884 as_lineno_2=$LINENO 7552 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`7553 7885 test "x$as_lineno_1" != "x$as_lineno_2" && 7554 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7555 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7556 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7557 CONFIG_SHELL=$as_dir/$as_base 7558 export CONFIG_SHELL 7559 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7560 fi;; 7561 esac 7562 done 7563 done 7564 ;; 7565 esac 7886 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7566 7887 7567 7888 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7568 7889 # uniformly replaced by the line number. The first 'sed' inserts a 7569 # line-number line before each line; the second 'sed' does the real 7570 # work. The second script uses 'N' to pair each line-number line 7571 # with the numbered line, and appends trailing '-' during 7572 # substitution so that $LINENO is not a special case at line end. 7890 # line-number line after each line using $LINENO; the second 'sed' 7891 # does the real work. The second script uses 'N' to pair each 7892 # line-number line with the line containing $LINENO, and appends 7893 # trailing '-' during substitution so that $LINENO is not a special 7894 # case at line end. 7573 7895 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7574 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7575 sed '=' <$as_myself | 7896 # scripts with optimization help from Paolo Bonzini. Blame Lee 7897 # E. McMahon (1931-1989) for sed's syntax. :-) 7898 sed -n ' 7899 p 7900 /[$]LINENO/= 7901 ' <$as_myself | 7576 7902 sed ' 7903 s/[$]LINENO.*/&-/ 7904 t lineno 7905 b 7906 :lineno 7577 7907 N 7578 s,$,-, 7579 : loop 7580 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 7908 :loop 7909 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7581 7910 t loop 7582 s,-$,, 7583 s,^['$as_cr_digits']*\n,, 7911 s/-\n.*// 7584 7912 ' >$as_me.lineno && 7585 chmod +x $as_me.lineno || 7586 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7587 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 7913 chmod +x "$as_me.lineno" || 7914 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7588 7915 { (exit 1); exit 1; }; } 7589 7916 7590 7917 # Don't try to exec as it changes $[0], causing all sort of problems 7591 7918 # (the dirname of $[0] is not the place where we might find the 7592 # original and so on. Autoconf is especially sensi ble to this).7593 . ./$as_me.lineno7919 # original and so on. Autoconf is especially sensitive to this). 7920 . "./$as_me.lineno" 7594 7921 # Exit status is that of the last command. 7595 7922 exit … … 7597 7924 7598 7925 7599 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7600 *c*,-n*) ECHO_N= ECHO_C=' 7601 ' ECHO_T=' ' ;; 7602 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7603 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7604 esac 7605 7606 if expr a : '\(a\)' >/dev/null 2>&1; then 7926 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7927 as_dirname=dirname 7928 else 7929 as_dirname=false 7930 fi 7931 7932 ECHO_C= ECHO_N= ECHO_T= 7933 case `echo -n x` in 7934 -n*) 7935 case `echo 'x\c'` in 7936 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7937 *) ECHO_C='\c';; 7938 esac;; 7939 *) 7940 ECHO_N='-n';; 7941 esac 7942 7943 if expr a : '\(a\)' >/dev/null 2>&1 && 7944 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7607 7945 as_expr=expr 7608 7946 else … … 7611 7949 7612 7950 rm -f conf$$ conf$$.exe conf$$.file 7951 if test -d conf$$.dir; then 7952 rm -f conf$$.dir/conf$$.file 7953 else 7954 rm -f conf$$.dir 7955 mkdir conf$$.dir 7956 fi 7613 7957 echo >conf$$.file 7614 7958 if ln -s conf$$.file conf$$ 2>/dev/null; then 7615 # We could just check for DJGPP; but this test a) works b) is more generic 7616 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7617 if test -f conf$$.exe; then 7618 # Don't use ln at all; we don't have any links 7959 as_ln_s='ln -s' 7960 # ... but there are two gotchas: 7961 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7962 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7963 # In both cases, we have to default to `cp -p'. 7964 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7619 7965 as_ln_s='cp -p' 7620 else7621 as_ln_s='ln -s'7622 fi7623 7966 elif ln conf$$.file conf$$ 2>/dev/null; then 7624 7967 as_ln_s=ln … … 7626 7969 as_ln_s='cp -p' 7627 7970 fi 7628 rm -f conf$$ conf$$.exe conf$$.file 7971 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7972 rmdir conf$$.dir 2>/dev/null 7629 7973 7630 7974 if mkdir -p . 2>/dev/null; then … … 7635 7979 fi 7636 7980 7637 as_executable_p="test -f" 7981 if test -x / >/dev/null 2>&1; then 7982 as_test_x='test -x' 7983 else 7984 if ls -dL / >/dev/null 2>&1; then 7985 as_ls_L_option=L 7986 else 7987 as_ls_L_option= 7988 fi 7989 as_test_x=' 7990 eval sh -c '\'' 7991 if test -d "$1"; then 7992 test -d "$1/."; 7993 else 7994 case $1 in 7995 -*)set "./$1";; 7996 esac; 7997 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 7998 ???[sx]*):;;*)false;;esac;fi 7999 '\'' sh 8000 ' 8001 fi 8002 as_executable_p=$as_test_x 7638 8003 7639 8004 # Sed expression to map a string onto a valid CPP name. … … 7644 8009 7645 8010 7646 # IFS7647 # We need space, tab and new line, in precisely that order.7648 as_nl='7649 '7650 IFS=" $as_nl"7651 7652 # CDPATH.7653 $as_unset CDPATH7654 7655 8011 exec 6>&1 7656 8012 7657 # Open the log real soon, to keep \$[0] and so on meaningful, and to8013 # Save the log message, to keep $[0] and so on meaningful, and to 7658 8014 # report actual input values of CONFIG_FILES etc. instead of their 7659 # values after options handling. Logging --version etc. is OK. 7660 exec 5>>config.log 7661 { 7662 echo 7663 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7664 ## Running $as_me. ## 7665 _ASBOX 7666 } >&5 7667 cat >&5 <<_CSEOF 7668 8015 # values after options handling. 8016 ac_log=" 7669 8017 This file was extended by $as_me, which was 7670 generated by GNU Autoconf 2. 59. Invocation command line was8018 generated by GNU Autoconf 2.61. Invocation command line was 7671 8019 7672 8020 CONFIG_FILES = $CONFIG_FILES … … 7676 8024 $ $0 $@ 7677 8025 7678 _CSEOF 7679 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7680 echo >&5 7681 _ACEOF 7682 8026 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8027 " 8028 8029 _ACEOF 8030 8031 cat >>$CONFIG_STATUS <<_ACEOF 7683 8032 # Files that config.status was made for. 7684 if test -n "$ac_config_files"; then 7685 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7686 fi 7687 7688 if test -n "$ac_config_headers"; then 7689 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7690 fi 7691 7692 if test -n "$ac_config_links"; then 7693 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7694 fi 7695 7696 if test -n "$ac_config_commands"; then 7697 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7698 fi 8033 config_files="$ac_config_files" 8034 config_headers="$ac_config_headers" 8035 8036 _ACEOF 7699 8037 7700 8038 cat >>$CONFIG_STATUS <<\_ACEOF 7701 7702 8039 ac_cs_usage="\ 7703 8040 \`$as_me' instantiates files from templates according to the … … 7707 8044 7708 8045 -h, --help print this help, then exit 7709 -V, --version print version number , then exit8046 -V, --version print version number and configuration settings, then exit 7710 8047 -q, --quiet do not print progress messages 7711 8048 -d, --debug don't remove temporary files … … 7723 8060 7724 8061 Report bugs to <[email protected]>." 7725 _ACEOF 7726 8062 8063 _ACEOF 7727 8064 cat >>$CONFIG_STATUS <<_ACEOF 7728 8065 ac_cs_version="\\ 7729 8066 config.status 7730 configured by $0, generated by GNU Autoconf 2. 59,7731 with options \\"`echo "$ac_configure_args" | sed 's/ [\\""\`\$]/\\\\&/g'`\\"7732 7733 Copyright (C) 200 3Free Software Foundation, Inc.8067 configured by $0, generated by GNU Autoconf 2.61, 8068 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8069 8070 Copyright (C) 2006 Free Software Foundation, Inc. 7734 8071 This config.status script is free software; the Free Software Foundation 7735 8072 gives unlimited permission to copy, distribute and modify it." 7736 srcdir=$srcdir 7737 INSTALL="$INSTALL" 8073 8074 ac_pwd='$ac_pwd' 8075 srcdir='$srcdir' 8076 INSTALL='$INSTALL' 7738 8077 _ACEOF 7739 8078 … … 7746 8085 case $1 in 7747 8086 --*=*) 7748 ac_option=`expr " x$1" : 'x\([^=]*\)='`7749 ac_optarg=`expr " x$1" : 'x[^=]*=\(.*\)'`8087 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8088 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7750 8089 ac_shift=: 7751 8090 ;; 7752 -*)8091 *) 7753 8092 ac_option=$1 7754 8093 ac_optarg=$2 7755 8094 ac_shift=shift 7756 8095 ;; 7757 *) # This is not an option, so the user has probably given explicit7758 # arguments.7759 ac_option=$17760 ac_need_defaults=false;;7761 8096 esac 7762 8097 7763 8098 case $ac_option in 7764 8099 # Handling of the options. 7765 _ACEOF7766 cat >>$CONFIG_STATUS <<\_ACEOF7767 8100 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7768 8101 ac_cs_recheck=: ;; 7769 --version | --vers* | -V ) 7770 echo "$ac_cs_version"; exit 0 ;; 7771 --he | --h) 7772 # Conflict between --help and --header 7773 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7774 Try \`$0 --help' for more information." >&5 7775 echo "$as_me: error: ambiguous option: $1 7776 Try \`$0 --help' for more information." >&2;} 7777 { (exit 1); exit 1; }; };; 7778 --help | --hel | -h ) 7779 echo "$ac_cs_usage"; exit 0 ;; 7780 --debug | --d* | -d ) 8102 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8103 echo "$ac_cs_version"; exit ;; 8104 --debug | --debu | --deb | --de | --d | -d ) 7781 8105 debug=: ;; 7782 8106 --file | --fil | --fi | --f ) … … 7788 8112 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7789 8113 ac_need_defaults=false;; 8114 --he | --h) 8115 # Conflict between --help and --header 8116 { echo "$as_me: error: ambiguous option: $1 8117 Try \`$0 --help' for more information." >&2 8118 { (exit 1); exit 1; }; };; 8119 --help | --hel | -h ) 8120 echo "$ac_cs_usage"; exit ;; 7790 8121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7791 8122 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 7793 8124 7794 8125 # This is an error. 7795 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7796 Try \`$0 --help' for more information." >&5 7797 echo "$as_me: error: unrecognized option: $1 7798 Try \`$0 --help' for more information." >&2;} 8126 -*) { echo "$as_me: error: unrecognized option: $1 8127 Try \`$0 --help' for more information." >&2 7799 8128 { (exit 1); exit 1; }; } ;; 7800 8129 7801 *) ac_config_targets="$ac_config_targets $1" ;; 8130 *) ac_config_targets="$ac_config_targets $1" 8131 ac_need_defaults=false ;; 7802 8132 7803 8133 esac … … 7815 8145 cat >>$CONFIG_STATUS <<_ACEOF 7816 8146 if \$ac_cs_recheck; then 7817 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7818 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7819 fi 7820 7821 _ACEOF 7822 7823 7824 7825 7826 8147 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8148 CONFIG_SHELL=$SHELL 8149 export CONFIG_SHELL 8150 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8151 fi 8152 8153 _ACEOF 7827 8154 cat >>$CONFIG_STATUS <<\_ACEOF 8155 exec 5>>config.log 8156 { 8157 echo 8158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8159 ## Running $as_me. ## 8160 _ASBOX 8161 echo "$ac_log" 8162 } >&5 8163 8164 _ACEOF 8165 cat >>$CONFIG_STATUS <<_ACEOF 8166 _ACEOF 8167 8168 cat >>$CONFIG_STATUS <<\_ACEOF 8169 8170 # Handling of arguments. 7828 8171 for ac_config_target in $ac_config_targets 7829 8172 do 7830 case "$ac_config_target"in7831 # Handling of arguments.7832 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;7833 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;7834 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;7835 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8173 case $ac_config_target in 8174 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8175 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8176 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 8177 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 8178 7836 8179 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7837 8180 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 7839 8182 esac 7840 8183 done 8184 7841 8185 7842 8186 # If the user did not use the arguments to specify the items to instantiate, … … 7850 8194 7851 8195 # Have a temporary directory for convenience. Make it in the build tree 7852 # simply because there is no reason to putit here, and in addition,8196 # simply because there is no reason against having it here, and in addition, 7853 8197 # creating and moving files from /tmp can sometimes cause problems. 7854 # Create a temporary directory, and hook for its removal unless debugging. 8198 # Hook for its removal unless debugging. 8199 # Note that there is a small window in which the directory will not be cleaned: 8200 # after its creation but before its name has been assigned to `$tmp'. 7855 8201 $debug || 7856 8202 { 7857 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8203 tmp= 8204 trap 'exit_status=$? 8205 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8206 ' 0 7858 8207 trap '{ (exit 1); exit 1; }' 1 2 13 15 7859 8208 } 7860 7861 8209 # Create a (secure) tmp directory for tmp files. 7862 8210 7863 8211 { 7864 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&8212 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7865 8213 test -n "$tmp" && test -d "$tmp" 7866 8214 } || 7867 8215 { 7868 tmp=./conf stat$$-$RANDOM7869 (umask 077 && mkdir $tmp)8216 tmp=./conf$$-$RANDOM 8217 (umask 077 && mkdir "$tmp") 7870 8218 } || 7871 8219 { … … 7874 8222 } 7875 8223 7876 _ACEOF7877 7878 cat >>$CONFIG_STATUS <<_ACEOF7879 7880 8224 # 7881 # CONFIG_FILES section.8225 # Set up the sed scripts for CONFIG_FILES section. 7882 8226 # 7883 8227 7884 8228 # No need to generate the scripts if there are no CONFIG_FILES. 7885 8229 # This happens for instance when ./config.status config.h 7886 if test -n "\$CONFIG_FILES"; then 7887 # Protect against being on the right side of a sed subst in config.status. 7888 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7889 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7890 s,@SHELL@,$SHELL,;t t 7891 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7892 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7893 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7894 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7895 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7896 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7897 s,@exec_prefix@,$exec_prefix,;t t 7898 s,@prefix@,$prefix,;t t 7899 s,@program_transform_name@,$program_transform_name,;t t 7900 s,@bindir@,$bindir,;t t 7901 s,@sbindir@,$sbindir,;t t 7902 s,@libexecdir@,$libexecdir,;t t 7903 s,@datadir@,$datadir,;t t 7904 s,@sysconfdir@,$sysconfdir,;t t 7905 s,@sharedstatedir@,$sharedstatedir,;t t 7906 s,@localstatedir@,$localstatedir,;t t 7907 s,@libdir@,$libdir,;t t 7908 s,@includedir@,$includedir,;t t 7909 s,@oldincludedir@,$oldincludedir,;t t 7910 s,@infodir@,$infodir,;t t 7911 s,@mandir@,$mandir,;t t 7912 s,@build_alias@,$build_alias,;t t 7913 s,@host_alias@,$host_alias,;t t 7914 s,@target_alias@,$target_alias,;t t 7915 s,@DEFS@,$DEFS,;t t 7916 s,@ECHO_C@,$ECHO_C,;t t 7917 s,@ECHO_N@,$ECHO_N,;t t 7918 s,@ECHO_T@,$ECHO_T,;t t 7919 s,@LIBS@,$LIBS,;t t 7920 s,@PACKAGE@,$PACKAGE,;t t 7921 s,@VERSION@,$VERSION,;t t 7922 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 7923 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 7924 s,@USE_CORBA@,$USE_CORBA,;t t 7925 s,@MICO_DIR@,$MICO_DIR,;t t 7926 s,@USE_Z3950@,$USE_Z3950,;t t 7927 s,@USE_YAZ@,$USE_YAZ,;t t 7928 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7929 s,@USE_SQLITE@,$USE_SQLITE,;t t 7930 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 7931 s,@LDFLAGS@,$LDFLAGS,;t t 7932 s,@CFLAGS@,$CFLAGS,;t t 7933 s,@CC@,$CC,;t t 7934 s,@CPPFLAGS@,$CPPFLAGS,;t t 7935 s,@ac_ct_CC@,$ac_ct_CC,;t t 7936 s,@EXEEXT@,$EXEEXT,;t t 7937 s,@OBJEXT@,$OBJEXT,;t t 7938 s,@CXX@,$CXX,;t t 7939 s,@CXXFLAGS@,$CXXFLAGS,;t t 7940 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 7941 s,@AWK@,$AWK,;t t 7942 s,@YACC@,$YACC,;t t 7943 s,@build@,$build,;t t 7944 s,@build_cpu@,$build_cpu,;t t 7945 s,@build_vendor@,$build_vendor,;t t 7946 s,@build_os@,$build_os,;t t 7947 s,@host@,$host,;t t 7948 s,@host_cpu@,$host_cpu,;t t 7949 s,@host_vendor@,$host_vendor,;t t 7950 s,@host_os@,$host_os,;t t 7951 s,@target@,$target,;t t 7952 s,@target_cpu@,$target_cpu,;t t 7953 s,@target_vendor@,$target_vendor,;t t 7954 s,@target_os@,$target_os,;t t 7955 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7956 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7957 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7958 s,@LN_S@,$LN_S,;t t 7959 s,@SET_MAKE@,$SET_MAKE,;t t 7960 s,@RANLIB@,$RANLIB,;t t 7961 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7962 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 7963 s,@MICO_VER@,$MICO_VER,;t t 7964 s,@CPP@,$CPP,;t t 7965 s,@EGREP@,$EGREP,;t t 7966 s,@U@,$U,;t t 7967 s,@ANSI2KNR@,$ANSI2KNR,;t t 7968 s,@ALLOCA@,$ALLOCA,;t t 7969 s,@LIBOBJS@,$LIBOBJS,;t t 7970 s,@STATIC@,$STATIC,;t t 7971 s,@gsdlos@,$gsdlos,;t t 7972 s,@MODULEDIRS@,$MODULEDIRS,;t t 7973 s,@subdirs@,$subdirs,;t t 7974 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7975 CEOF 7976 7977 _ACEOF 7978 7979 cat >>$CONFIG_STATUS <<\_ACEOF 7980 # Split the substitutions into bite-sized pieces for seds with 7981 # small command number limits, like on Digital OSF/1 and HP-UX. 7982 ac_max_sed_lines=48 7983 ac_sed_frag=1 # Number of current file. 7984 ac_beg=1 # First line for current file. 7985 ac_end=$ac_max_sed_lines # Line after last line for current file. 7986 ac_more_lines=: 7987 ac_sed_cmds= 7988 while $ac_more_lines; do 7989 if test $ac_beg -gt 1; then 7990 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7991 else 7992 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8230 if test -n "$CONFIG_FILES"; then 8231 8232 _ACEOF 8233 8234 8235 8236 ac_delim='%!_!# ' 8237 for ac_last_try in false false false false false :; do 8238 cat >conf$$subs.sed <<_ACEOF 8239 SHELL!$SHELL$ac_delim 8240 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8241 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8242 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8243 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8244 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8245 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8246 exec_prefix!$exec_prefix$ac_delim 8247 prefix!$prefix$ac_delim 8248 program_transform_name!$program_transform_name$ac_delim 8249 bindir!$bindir$ac_delim 8250 sbindir!$sbindir$ac_delim 8251 libexecdir!$libexecdir$ac_delim 8252 datarootdir!$datarootdir$ac_delim 8253 datadir!$datadir$ac_delim 8254 sysconfdir!$sysconfdir$ac_delim 8255 sharedstatedir!$sharedstatedir$ac_delim 8256 localstatedir!$localstatedir$ac_delim 8257 includedir!$includedir$ac_delim 8258 oldincludedir!$oldincludedir$ac_delim 8259 docdir!$docdir$ac_delim 8260 infodir!$infodir$ac_delim 8261 htmldir!$htmldir$ac_delim 8262 dvidir!$dvidir$ac_delim 8263 pdfdir!$pdfdir$ac_delim 8264 psdir!$psdir$ac_delim 8265 libdir!$libdir$ac_delim 8266 localedir!$localedir$ac_delim 8267 mandir!$mandir$ac_delim 8268 DEFS!$DEFS$ac_delim 8269 ECHO_C!$ECHO_C$ac_delim 8270 ECHO_N!$ECHO_N$ac_delim 8271 ECHO_T!$ECHO_T$ac_delim 8272 LIBS!$LIBS$ac_delim 8273 build_alias!$build_alias$ac_delim 8274 host_alias!$host_alias$ac_delim 8275 target_alias!$target_alias$ac_delim 8276 PACKAGE!$PACKAGE$ac_delim 8277 VERSION!$VERSION$ac_delim 8278 USE_FASTCGI!$USE_FASTCGI$ac_delim 8279 USE_LANGACTION!$USE_LANGACTION$ac_delim 8280 USE_CORBA!$USE_CORBA$ac_delim 8281 MICO_DIR!$MICO_DIR$ac_delim 8282 USE_Z3950!$USE_Z3950$ac_delim 8283 USE_YAZ!$USE_YAZ$ac_delim 8284 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim 8285 USE_SQLITE!$USE_SQLITE$ac_delim 8286 USE_APACHE_HTTPD!$USE_APACHE_HTTPD$ac_delim 8287 LDFLAGS!$LDFLAGS$ac_delim 8288 CFLAGS!$CFLAGS$ac_delim 8289 CC!$CC$ac_delim 8290 CPPFLAGS!$CPPFLAGS$ac_delim 8291 ac_ct_CC!$ac_ct_CC$ac_delim 8292 EXEEXT!$EXEEXT$ac_delim 8293 OBJEXT!$OBJEXT$ac_delim 8294 CXX!$CXX$ac_delim 8295 CXXFLAGS!$CXXFLAGS$ac_delim 8296 ac_ct_CXX!$ac_ct_CXX$ac_delim 8297 AWK!$AWK$ac_delim 8298 YACC!$YACC$ac_delim 8299 YFLAGS!$YFLAGS$ac_delim 8300 build!$build$ac_delim 8301 build_cpu!$build_cpu$ac_delim 8302 build_vendor!$build_vendor$ac_delim 8303 build_os!$build_os$ac_delim 8304 host!$host$ac_delim 8305 host_cpu!$host_cpu$ac_delim 8306 host_vendor!$host_vendor$ac_delim 8307 host_os!$host_os$ac_delim 8308 target!$target$ac_delim 8309 target_cpu!$target_cpu$ac_delim 8310 target_vendor!$target_vendor$ac_delim 8311 target_os!$target_os$ac_delim 8312 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8313 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8314 INSTALL_DATA!$INSTALL_DATA$ac_delim 8315 LN_S!$LN_S$ac_delim 8316 SET_MAKE!$SET_MAKE$ac_delim 8317 RANLIB!$RANLIB$ac_delim 8318 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim 8319 MICO_VER!$MICO_VER$ac_delim 8320 CPP!$CPP$ac_delim 8321 GREP!$GREP$ac_delim 8322 EGREP!$EGREP$ac_delim 8323 U!$U$ac_delim 8324 ANSI2KNR!$ANSI2KNR$ac_delim 8325 ALLOCA!$ALLOCA$ac_delim 8326 LIBOBJS!$LIBOBJS$ac_delim 8327 STATIC!$STATIC$ac_delim 8328 gsdlos!$gsdlos$ac_delim 8329 MODULEDIRS!$MODULEDIRS$ac_delim 8330 subdirs!$subdirs$ac_delim 8331 LTLIBOBJS!$LTLIBOBJS$ac_delim 8332 _ACEOF 8333 8334 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then 8335 break 8336 elif $ac_last_try; then 8337 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8338 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8339 { (exit 1); exit 1; }; } 8340 else 8341 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8342 fi 8343 done 8344 8345 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8346 if test -n "$ac_eof"; then 8347 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8348 ac_eof=`expr $ac_eof + 1` 8349 fi 8350 8351 cat >>$CONFIG_STATUS <<_ACEOF 8352 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8354 _ACEOF 8355 sed ' 8356 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8357 s/^/s,@/; s/!/@,|#_!!_#|/ 8358 :n 8359 t n 8360 s/'"$ac_delim"'$/,g/; t 8361 s/$/\\/; p 8362 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8363 ' >>$CONFIG_STATUS <conf$$subs.sed 8364 rm -f conf$$subs.sed 8365 cat >>$CONFIG_STATUS <<_ACEOF 8366 :end 8367 s/|#_!!_#|//g 8368 CEOF$ac_eof 8369 _ACEOF 8370 8371 8372 # VPATH may cause trouble with some makes, so we remove $(srcdir), 8373 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8374 # trailing colons and then remove the whole line if VPATH becomes empty 8375 # (actually we leave an empty line to preserve line numbers). 8376 if test "x$srcdir" = x.; then 8377 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8378 s/:*\$(srcdir):*/:/ 8379 s/:*\${srcdir}:*/:/ 8380 s/:*@srcdir@:*/:/ 8381 s/^\([^=]*=[ ]*\):*/\1/ 8382 s/:*$// 8383 s/^[^=]*=[ ]*$// 8384 }' 8385 fi 8386 8387 cat >>$CONFIG_STATUS <<\_ACEOF 8388 fi # test -n "$CONFIG_FILES" 8389 8390 8391 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 8392 do 8393 case $ac_tag in 8394 :[FHLC]) ac_mode=$ac_tag; continue;; 8395 esac 8396 case $ac_mode$ac_tag in 8397 :[FHL]*:*);; 8398 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8399 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 8400 { (exit 1); exit 1; }; };; 8401 :[FH]-) ac_tag=-:-;; 8402 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8403 esac 8404 ac_save_IFS=$IFS 8405 IFS=: 8406 set x $ac_tag 8407 IFS=$ac_save_IFS 8408 shift 8409 ac_file=$1 8410 shift 8411 8412 case $ac_mode in 8413 :L) ac_source=$1;; 8414 :[FH]) 8415 ac_file_inputs= 8416 for ac_f 8417 do 8418 case $ac_f in 8419 -) ac_f="$tmp/stdin";; 8420 *) # Look for the file first in the build tree, then in the source tree 8421 # (if the path is not absolute). The absolute path cannot be DOS-style, 8422 # because $ac_f cannot contain `:'. 8423 test -f "$ac_f" || 8424 case $ac_f in 8425 [\\/$]*) false;; 8426 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8427 esac || 8428 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8429 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 8430 { (exit 1); exit 1; }; };; 8431 esac 8432 ac_file_inputs="$ac_file_inputs $ac_f" 8433 done 8434 8435 # Let's still pretend it is `configure' which instantiates (i.e., don't 8436 # use $as_me), people would be surprised to read: 8437 # /* config.h. Generated by config.status. */ 8438 configure_input="Generated from "`IFS=: 8439 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8440 if test x"$ac_file" != x-; then 8441 configure_input="$ac_file. $configure_input" 8442 { echo "$as_me:$LINENO: creating $ac_file" >&5 8443 echo "$as_me: creating $ac_file" >&6;} 7993 8444 fi 7994 if test ! -s $tmp/subs.frag; then 7995 ac_more_lines=false 7996 else 7997 # The purpose of the label and of the branching condition is to 7998 # speed up the sed processing (if there are no `@' at all, there 7999 # is no need to browse any of the substitutions). 8000 # These are the two extra sed commands mentioned above. 8001 (echo ':t 8002 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8003 if test -z "$ac_sed_cmds"; then 8004 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8005 else 8006 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8007 fi 8008 ac_sed_frag=`expr $ac_sed_frag + 1` 8009 ac_beg=$ac_end 8010 ac_end=`expr $ac_end + $ac_max_sed_lines` 8011 fi 8012 done 8013 if test -z "$ac_sed_cmds"; then 8014 ac_sed_cmds=cat 8015 fi 8016 fi # test -n "$CONFIG_FILES" 8017 8018 _ACEOF 8019 cat >>$CONFIG_STATUS <<\_ACEOF 8020 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8021 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8022 case $ac_file in 8023 - | *:- | *:-:* ) # input from stdin 8024 cat >$tmp/stdin 8025 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8026 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8027 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8028 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8029 * ) ac_file_in=$ac_file.in ;; 8445 8446 case $ac_tag in 8447 *:-:* | *:-) cat >"$tmp/stdin";; 8448 esac 8449 ;; 8030 8450 esac 8031 8451 8032 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8033 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8452 ac_dir=`$as_dirname -- "$ac_file" || 8034 8453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8035 8454 X"$ac_file" : 'X\(//\)[^/]' \| \ 8036 8455 X"$ac_file" : 'X\(//\)$' \| \ 8037 X"$ac_file" : 'X\(/\)' \| \ 8038 . : '\(.\)' 2>/dev/null || 8456 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8039 8457 echo X"$ac_file" | 8040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8041 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8042 /^X\(\/\/\)$/{ s//\1/; q; } 8043 /^X\(\/\).*/{ s//\1/; q; } 8044 s/.*/./; q'` 8045 { if $as_mkdir_p; then 8046 mkdir -p "$ac_dir" 8047 else 8048 as_dir="$ac_dir" 8458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8459 s//\1/ 8460 q 8461 } 8462 /^X\(\/\/\)[^/].*/{ 8463 s//\1/ 8464 q 8465 } 8466 /^X\(\/\/\)$/{ 8467 s//\1/ 8468 q 8469 } 8470 /^X\(\/\).*/{ 8471 s//\1/ 8472 q 8473 } 8474 s/.*/./; q'` 8475 { as_dir="$ac_dir" 8476 case $as_dir in #( 8477 -*) as_dir=./$as_dir;; 8478 esac 8479 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8049 8480 as_dirs= 8050 while test ! -d "$as_dir"; do 8051 as_dirs="$as_dir $as_dirs" 8052 as_dir=`(dirname "$as_dir") 2>/dev/null || 8481 while :; do 8482 case $as_dir in #( 8483 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8484 *) as_qdir=$as_dir;; 8485 esac 8486 as_dirs="'$as_qdir' $as_dirs" 8487 as_dir=`$as_dirname -- "$as_dir" || 8053 8488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8054 8489 X"$as_dir" : 'X\(//\)[^/]' \| \ 8055 8490 X"$as_dir" : 'X\(//\)$' \| \ 8056 X"$as_dir" : 'X\(/\)' \| \ 8057 . : '\(.\)' 2>/dev/null || 8491 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8058 8492 echo X"$as_dir" | 8059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8060 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8061 /^X\(\/\/\)$/{ s//\1/; q; } 8062 /^X\(\/\).*/{ s//\1/; q; } 8063 s/.*/./; q'` 8493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8494 s//\1/ 8495 q 8496 } 8497 /^X\(\/\/\)[^/].*/{ 8498 s//\1/ 8499 q 8500 } 8501 /^X\(\/\/\)$/{ 8502 s//\1/ 8503 q 8504 } 8505 /^X\(\/\).*/{ 8506 s//\1/ 8507 q 8508 } 8509 s/.*/./; q'` 8510 test -d "$as_dir" && break 8064 8511 done 8065 test ! -n "$as_dirs" || mkdir $as_dirs8066 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58067 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8512 test -z "$as_dirs" || eval "mkdir $as_dirs" 8513 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8514 echo "$as_me: error: cannot create directory $as_dir" >&2;} 8068 8515 { (exit 1); exit 1; }; }; } 8069 8070 8516 ac_builddir=. 8071 8517 8072 if test "$ac_dir" != .; then 8518 case "$ac_dir" in 8519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8520 *) 8073 8521 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8074 # A "../" for each directory in $ac_dir_suffix. 8075 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8076 else 8077 ac_dir_suffix= ac_top_builddir= 8078 fi 8522 # A ".." for each directory in $ac_dir_suffix. 8523 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8524 case $ac_top_builddir_sub in 8525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8527 esac ;; 8528 esac 8529 ac_abs_top_builddir=$ac_pwd 8530 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8531 # for backward compatibility: 8532 ac_top_builddir=$ac_top_build_prefix 8079 8533 8080 8534 case $srcdir in 8081 .) # No --srcdir option.We are building in place.8535 .) # We are building in place. 8082 8536 ac_srcdir=. 8083 if test -z "$ac_top_builddir"; then 8084 ac_top_srcdir=. 8085 else 8086 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8087 fi ;; 8088 [\\/]* | ?:[\\/]* ) # Absolute path. 8537 ac_top_srcdir=$ac_top_builddir_sub 8538 ac_abs_top_srcdir=$ac_pwd ;; 8539 [\\/]* | ?:[\\/]* ) # Absolute name. 8089 8540 ac_srcdir=$srcdir$ac_dir_suffix; 8090 ac_top_srcdir=$srcdir ;; 8091 *) # Relative path. 8092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8093 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8094 esac 8095 8096 # Do not use `cd foo && pwd` to compute absolute paths, because 8097 # the directories may not exist. 8098 case `pwd` in 8099 .) ac_abs_builddir="$ac_dir";; 8100 *) 8101 case "$ac_dir" in 8102 .) ac_abs_builddir=`pwd`;; 8103 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8104 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8105 esac;; 8106 esac 8107 case $ac_abs_builddir in 8108 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8109 *) 8110 case ${ac_top_builddir}. in 8111 .) ac_abs_top_builddir=$ac_abs_builddir;; 8112 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8113 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8114 esac;; 8115 esac 8116 case $ac_abs_builddir in 8117 .) ac_abs_srcdir=$ac_srcdir;; 8118 *) 8119 case $ac_srcdir in 8120 .) ac_abs_srcdir=$ac_abs_builddir;; 8121 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8122 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8123 esac;; 8124 esac 8125 case $ac_abs_builddir in 8126 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8127 *) 8128 case $ac_top_srcdir in 8129 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8130 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8131 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8132 esac;; 8133 esac 8134 8541 ac_top_srcdir=$srcdir 8542 ac_abs_top_srcdir=$srcdir ;; 8543 *) # Relative name. 8544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8545 ac_top_srcdir=$ac_top_build_prefix$srcdir 8546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8547 esac 8548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8549 8550 8551 case $ac_mode in 8552 :F) 8553 # 8554 # CONFIG_FILE 8555 # 8135 8556 8136 8557 case $INSTALL in 8137 8558 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8138 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;8559 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8139 8560 esac 8140 8141 if test x"$ac_file" != x-; then 8142 { echo "$as_me:$LINENO: creating $ac_file" >&5 8143 echo "$as_me: creating $ac_file" >&6;} 8144 rm -f "$ac_file" 8145 fi 8146 # Let's still pretend it is `configure' which instantiates (i.e., don't 8147 # use $as_me), people would be surprised to read: 8148 # /* config.h. Generated by config.status. */ 8149 if test x"$ac_file" = x-; then 8150 configure_input= 8151 else 8152 configure_input="$ac_file. " 8153 fi 8154 configure_input=$configure_input"Generated from `echo $ac_file_in | 8155 sed 's,.*/,,'` by configure." 8156 8157 # First look for the input files in the build tree, otherwise in the 8158 # src tree. 8159 ac_file_inputs=`IFS=: 8160 for f in $ac_file_in; do 8161 case $f in 8162 -) echo $tmp/stdin ;; 8163 [\\/$]*) 8164 # Absolute (can't be DOS-style, as IFS=:) 8165 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8166 echo "$as_me: error: cannot find input file: $f" >&2;} 8167 { (exit 1); exit 1; }; } 8168 echo "$f";; 8169 *) # Relative 8170 if test -f "$f"; then 8171 # Build tree 8172 echo "$f" 8173 elif test -f "$srcdir/$f"; then 8174 # Source tree 8175 echo "$srcdir/$f" 8176 else 8177 # /dev/null tree 8178 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8179 echo "$as_me: error: cannot find input file: $f" >&2;} 8180 { (exit 1); exit 1; }; } 8181 fi;; 8182 esac 8183 done` || { (exit 1); exit 1; } 8184 _ACEOF 8561 _ACEOF 8562 8563 cat >>$CONFIG_STATUS <<\_ACEOF 8564 # If the template does not know about datarootdir, expand it. 8565 # FIXME: This hack should be removed a few years after 2.60. 8566 ac_datarootdir_hack=; ac_datarootdir_seen= 8567 8568 case `sed -n '/datarootdir/ { 8569 p 8570 q 8571 } 8572 /@datadir@/p 8573 /@docdir@/p 8574 /@infodir@/p 8575 /@localedir@/p 8576 /@mandir@/p 8577 ' $ac_file_inputs` in 8578 *datarootdir*) ac_datarootdir_seen=yes;; 8579 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8580 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8581 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8582 _ACEOF 8583 cat >>$CONFIG_STATUS <<_ACEOF 8584 ac_datarootdir_hack=' 8585 s&@datadir@&$datadir&g 8586 s&@docdir@&$docdir&g 8587 s&@infodir@&$infodir&g 8588 s&@localedir@&$localedir&g 8589 s&@mandir@&$mandir&g 8590 s&\\\${datarootdir}&$datarootdir&g' ;; 8591 esac 8592 _ACEOF 8593 8594 # Neutralize VPATH when `$srcdir' = `.'. 8595 # Shell code in configure.ac might set extrasub. 8596 # FIXME: do we really want to maintain this feature? 8185 8597 cat >>$CONFIG_STATUS <<_ACEOF 8186 8598 sed "$ac_vpsub … … 8190 8602 :t 8191 8603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8192 s,@configure_input@,$configure_input,;t t 8193 s,@srcdir@,$ac_srcdir,;t t 8194 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8195 s,@top_srcdir@,$ac_top_srcdir,;t t 8196 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8197 s,@builddir@,$ac_builddir,;t t 8198 s,@abs_builddir@,$ac_abs_builddir,;t t 8199 s,@top_builddir@,$ac_top_builddir,;t t 8200 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8201 s,@INSTALL@,$ac_INSTALL,;t t 8202 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8203 rm -f $tmp/stdin 8204 if test x"$ac_file" != x-; then 8205 mv $tmp/out $ac_file 8206 else 8207 cat $tmp/out 8208 rm -f $tmp/out 8209 fi 8210 8211 done 8212 _ACEOF 8213 cat >>$CONFIG_STATUS <<\_ACEOF 8214 8215 # 8216 # CONFIG_HEADER section. 8217 # 8218 8219 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8220 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8221 # 8222 # ac_d sets the value in "#define NAME VALUE" lines. 8223 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8224 ac_dB='[ ].*$,\1#\2' 8604 s&@configure_input@&$configure_input&;t t 8605 s&@top_builddir@&$ac_top_builddir_sub&;t t 8606 s&@srcdir@&$ac_srcdir&;t t 8607 s&@abs_srcdir@&$ac_abs_srcdir&;t t 8608 s&@top_srcdir@&$ac_top_srcdir&;t t 8609 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8610 s&@builddir@&$ac_builddir&;t t 8611 s&@abs_builddir@&$ac_abs_builddir&;t t 8612 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8613 s&@INSTALL@&$ac_INSTALL&;t t 8614 $ac_datarootdir_hack 8615 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 8616 8617 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8618 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8619 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8620 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8621 which seems to be undefined. Please make sure it is defined." >&5 8622 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8623 which seems to be undefined. Please make sure it is defined." >&2;} 8624 8625 rm -f "$tmp/stdin" 8626 case $ac_file in 8627 -) cat "$tmp/out"; rm -f "$tmp/out";; 8628 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 8629 esac 8630 ;; 8631 :H) 8632 # 8633 # CONFIG_HEADER 8634 # 8635 _ACEOF 8636 8637 # Transform confdefs.h into a sed script `conftest.defines', that 8638 # substitutes the proper values into config.h.in to produce config.h. 8639 rm -f conftest.defines conftest.tail 8640 # First, append a space to every undef/define line, to ease matching. 8641 echo 's/$/ /' >conftest.defines 8642 # Then, protect against being on the right side of a sed subst, or in 8643 # an unquoted here document, in config.status. If some macros were 8644 # called several times there might be several #defines for the same 8645 # symbol, which is useless. But do not sort them, since the last 8646 # AC_DEFINE must be honored. 8647 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8648 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 8649 # NAME is the cpp macro being defined, VALUE is the value it is being given. 8650 # PARAMS is the parameter list in the macro definition--in most cases, it's 8651 # just an empty string. 8652 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 8653 ac_dB='\\)[ (].*,\\1define\\2' 8225 8654 ac_dC=' ' 8226 ac_dD=',;t' 8227 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8228 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8229 ac_uB='$,\1#\2define\3' 8230 ac_uC=' ' 8231 ac_uD=',;t' 8232 8233 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8234 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8235 case $ac_file in 8236 - | *:- | *:-:* ) # input from stdin 8237 cat >$tmp/stdin 8238 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8239 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8240 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8242 * ) ac_file_in=$ac_file.in ;; 8243 esac 8244 8245 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8246 echo "$as_me: creating $ac_file" >&6;} 8247 8248 # First look for the input files in the build tree, otherwise in the 8249 # src tree. 8250 ac_file_inputs=`IFS=: 8251 for f in $ac_file_in; do 8252 case $f in 8253 -) echo $tmp/stdin ;; 8254 [\\/$]*) 8255 # Absolute (can't be DOS-style, as IFS=:) 8256 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8257 echo "$as_me: error: cannot find input file: $f" >&2;} 8258 { (exit 1); exit 1; }; } 8259 # Do quote $f, to prevent DOS paths from being IFS'd. 8260 echo "$f";; 8261 *) # Relative 8262 if test -f "$f"; then 8263 # Build tree 8264 echo "$f" 8265 elif test -f "$srcdir/$f"; then 8266 # Source tree 8267 echo "$srcdir/$f" 8268 else 8269 # /dev/null tree 8270 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8271 echo "$as_me: error: cannot find input file: $f" >&2;} 8272 { (exit 1); exit 1; }; } 8273 fi;; 8274 esac 8275 done` || { (exit 1); exit 1; } 8276 # Remove the trailing spaces. 8277 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8278 8279 _ACEOF 8280 8281 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8282 # `conftest.undefs', that substitutes the proper values into 8283 # config.h.in to produce config.h. The first handles `#define' 8284 # templates, and the second `#undef' templates. 8285 # And first: Protect against being on the right side of a sed subst in 8286 # config.status. Protect against being in an unquoted here document 8287 # in config.status. 8288 rm -f conftest.defines conftest.undefs 8289 # Using a here document instead of a string reduces the quoting nightmare. 8290 # Putting comments in sed scripts is not portable. 8291 # 8292 # `end' is used to avoid that the second main sed command (meant for 8293 # 0-ary CPP macros) applies to n-ary macro definitions. 8294 # See the Autoconf documentation for `clear'. 8295 cat >confdef2sed.sed <<\_ACEOF 8296 s/[\\&,]/\\&/g 8297 s,[\\$`],\\&,g 8298 t clear 8299 : clear 8300 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8301 t end 8302 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8303 : end 8304 _ACEOF 8305 # If some macros were called several times there might be several times 8306 # the same #defines, which is useless. Nevertheless, we may not want to 8307 # sort them, since we want the *last* AC-DEFINE to be honored. 8308 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8309 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8310 rm -f confdef2sed.sed 8311 8312 # This sed command replaces #undef with comments. This is necessary, for 8655 ac_dD=' ,' 8656 8657 uniq confdefs.h | 8658 sed -n ' 8659 t rset 8660 :rset 8661 s/^[ ]*#[ ]*define[ ][ ]*// 8662 t ok 8663 d 8664 :ok 8665 s/[\\&,]/\\&/g 8666 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 8667 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 8668 ' >>conftest.defines 8669 8670 # Remove the space that was appended to ease matching. 8671 # Then replace #undef with comments. This is necessary, for 8313 8672 # example, in the case of _POSIX_SOURCE, which is predefined and required 8314 8673 # on some systems where configure will not decide to define it. 8315 cat >>conftest.undefs <<\_ACEOF 8316 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8317 _ACEOF 8318 8319 # Break up conftest.defines because some shells have a limit on the size 8320 # of here documents, and old seds have small limits too (100 cmds). 8321 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8322 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8323 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8324 echo ' :' >>$CONFIG_STATUS 8325 rm -f conftest.tail 8326 while grep . conftest.defines >/dev/null 8674 # (The regexp can be short, since the line contains either #define or #undef.) 8675 echo 's/ $// 8676 s,^[ #]*u.*,/* & */,' >>conftest.defines 8677 8678 # Break up conftest.defines: 8679 ac_max_sed_lines=50 8680 8681 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 8682 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 8683 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 8684 # et cetera. 8685 ac_in='$ac_file_inputs' 8686 ac_out='"$tmp/out1"' 8687 ac_nxt='"$tmp/out2"' 8688 8689 while : 8327 8690 do 8328 # Write a limited-size here document to $tmp/defines.sed. 8329 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8330 # Speed up: don't consider the non `#define' lines. 8331 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8332 # Work around the forget-to-reset-the-flag bug. 8333 echo 't clr' >>$CONFIG_STATUS 8334 echo ': clr' >>$CONFIG_STATUS 8335 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8691 # Write a here document: 8692 cat >>$CONFIG_STATUS <<_ACEOF 8693 # First, check the format of the line: 8694 cat >"\$tmp/defines.sed" <<\\CEOF 8695 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 8696 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 8697 b 8698 :def 8699 _ACEOF 8700 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 8336 8701 echo 'CEOF 8337 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8338 rm -f $tmp/in 8339 mv $tmp/out $tmp/in 8340 ' >>$CONFIG_STATUS 8341 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8702 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 8703 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 8704 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 8705 grep . conftest.tail >/dev/null || break 8342 8706 rm -f conftest.defines 8343 8707 mv conftest.tail conftest.defines 8344 8708 done 8345 rm -f conftest.defines 8346 echo ' fi # grep' >>$CONFIG_STATUS 8347 echo >>$CONFIG_STATUS 8348 8349 # Break up conftest.undefs because some shells have a limit on the size 8350 # of here documents, and old seds have small limits too (100 cmds). 8351 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8352 rm -f conftest.tail 8353 while grep . conftest.undefs >/dev/null 8354 do 8355 # Write a limited-size here document to $tmp/undefs.sed. 8356 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8357 # Speed up: don't consider the non `#undef' 8358 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8359 # Work around the forget-to-reset-the-flag bug. 8360 echo 't clr' >>$CONFIG_STATUS 8361 echo ': clr' >>$CONFIG_STATUS 8362 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8363 echo 'CEOF 8364 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8365 rm -f $tmp/in 8366 mv $tmp/out $tmp/in 8367 ' >>$CONFIG_STATUS 8368 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8369 rm -f conftest.undefs 8370 mv conftest.tail conftest.undefs 8371 done 8372 rm -f conftest.undefs 8373 8709 rm -f conftest.defines conftest.tail 8710 8711 echo "ac_result=$ac_in" >>$CONFIG_STATUS 8374 8712 cat >>$CONFIG_STATUS <<\_ACEOF 8375 # Let's still pretend it is `configure' which instantiates (i.e., don't8376 # use $as_me), people would be surprised to read:8377 # /* config.h. Generated by config.status. */8378 if test x"$ac_file" = x-; then8379 echo "/* Generated by configure. */" >$tmp/config.h8380 else8381 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8382 fi8383 cat $tmp/in >>$tmp/config.h8384 rm -f $tmp/in8385 8713 if test x"$ac_file" != x-; then 8386 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8714 echo "/* $configure_input */" >"$tmp/config.h" 8715 cat "$ac_result" >>"$tmp/config.h" 8716 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 8387 8717 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8388 8718 echo "$as_me: $ac_file is unchanged" >&6;} 8389 8719 else 8390 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8392 X"$ac_file" : 'X\(//\)[^/]' \| \8393 X"$ac_file" : 'X\(//\)$' \| \8394 X"$ac_file" : 'X\(/\)' \| \8395 . : '\(.\)' 2>/dev/null ||8396 echo X"$ac_file" |8397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8399 /^X\(\/\/\)$/{ s//\1/; q; }8400 /^X\(\/\).*/{ s//\1/; q; }8401 s/.*/./; q'`8402 { if $as_mkdir_p; then8403 mkdir -p "$ac_dir"8404 else8405 as_dir="$ac_dir"8406 as_dirs=8407 while test ! -d "$as_dir"; do8408 as_dirs="$as_dir $as_dirs"8409 as_dir=`(dirname "$as_dir") 2>/dev/null ||8410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8411 X"$as_dir" : 'X\(//\)[^/]' \| \8412 X"$as_dir" : 'X\(//\)$' \| \8413 X"$as_dir" : 'X\(/\)' \| \8414 . : '\(.\)' 2>/dev/null ||8415 echo X"$as_dir" |8416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8418 /^X\(\/\/\)$/{ s//\1/; q; }8419 /^X\(\/\).*/{ s//\1/; q; }8420 s/.*/./; q'`8421 done8422 test ! -n "$as_dirs" || mkdir $as_dirs8423 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8425 { (exit 1); exit 1; }; }; }8426 8427 8720 rm -f $ac_file 8428 mv $tmp/config.h$ac_file8721 mv "$tmp/config.h" $ac_file 8429 8722 fi 8430 8723 else 8431 cat $tmp/config.h8432 rm -f $tmp/config.h8724 echo "/* $configure_input */" 8725 cat "$ac_result" 8433 8726 fi 8434 done 8435 _ACEOF 8436 8437 cat >>$CONFIG_STATUS <<\_ACEOF 8727 rm -f "$tmp/out12" 8728 ;; 8729 8730 8731 esac 8732 8733 done # for ac_tag 8734 8438 8735 8439 8736 { (exit 0); exit 0; } … … 8472 8769 ac_sub_configure_args= 8473 8770 ac_prev= 8474 for ac_arg in $ac_configure_args; do 8771 eval "set x $ac_configure_args" 8772 shift 8773 for ac_arg 8774 do 8475 8775 if test -n "$ac_prev"; then 8476 8776 ac_prev= … … 8495 8795 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 8496 8796 ;; 8497 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 8797 *) 8798 case $ac_arg in 8799 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 8800 esac 8801 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 8498 8802 esac 8499 8803 done … … 8501 8805 # Always prepend --prefix to ensure using the same prefix 8502 8806 # in subdir configurations. 8503 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 8807 ac_arg="--prefix=$prefix" 8808 case $ac_arg in 8809 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 8810 esac 8811 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 8812 8813 # Pass --silent 8814 if test "$silent" = yes; then 8815 ac_sub_configure_args="--silent $ac_sub_configure_args" 8816 fi 8504 8817 8505 8818 ac_popdir=`pwd` … … 8508 8821 # Do not complain, so a configure script can configure whichever 8509 8822 # parts of a large source tree are present. 8510 test -d $srcdir/$ac_dir || continue 8511 8512 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 8513 echo "$as_me: configuring in $ac_dir" >&6;} 8514 { if $as_mkdir_p; then 8515 mkdir -p "$ac_dir" 8516 else 8517 as_dir="$ac_dir" 8823 test -d "$srcdir/$ac_dir" || continue 8824 8825 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 8826 echo "$as_me:$LINENO: $ac_msg" >&5 8827 echo "$ac_msg" >&6 8828 { as_dir="$ac_dir" 8829 case $as_dir in #( 8830 -*) as_dir=./$as_dir;; 8831 esac 8832 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8518 8833 as_dirs= 8519 while test ! -d "$as_dir"; do 8520 as_dirs="$as_dir $as_dirs" 8521 as_dir=`(dirname "$as_dir") 2>/dev/null || 8834 while :; do 8835 case $as_dir in #( 8836 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8837 *) as_qdir=$as_dir;; 8838 esac 8839 as_dirs="'$as_qdir' $as_dirs" 8840 as_dir=`$as_dirname -- "$as_dir" || 8522 8841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8523 8842 X"$as_dir" : 'X\(//\)[^/]' \| \ 8524 8843 X"$as_dir" : 'X\(//\)$' \| \ 8525 X"$as_dir" : 'X\(/\)' \| \ 8526 . : '\(.\)' 2>/dev/null || 8844 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8527 8845 echo X"$as_dir" | 8528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8529 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8530 /^X\(\/\/\)$/{ s//\1/; q; } 8531 /^X\(\/\).*/{ s//\1/; q; } 8532 s/.*/./; q'` 8846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8847 s//\1/ 8848 q 8849 } 8850 /^X\(\/\/\)[^/].*/{ 8851 s//\1/ 8852 q 8853 } 8854 /^X\(\/\/\)$/{ 8855 s//\1/ 8856 q 8857 } 8858 /^X\(\/\).*/{ 8859 s//\1/ 8860 q 8861 } 8862 s/.*/./; q'` 8863 test -d "$as_dir" && break 8533 8864 done 8534 test ! -n "$as_dirs" || mkdir $as_dirs8535 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58536 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8865 test -z "$as_dirs" || eval "mkdir $as_dirs" 8866 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8867 echo "$as_me: error: cannot create directory $as_dir" >&2;} 8537 8868 { (exit 1); exit 1; }; }; } 8538 8539 8869 ac_builddir=. 8540 8870 8541 if test "$ac_dir" != .; then 8871 case "$ac_dir" in 8872 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8873 *) 8542 8874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8543 # A "../" for each directory in $ac_dir_suffix. 8544 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8545 else 8546 ac_dir_suffix= ac_top_builddir= 8547 fi 8875 # A ".." for each directory in $ac_dir_suffix. 8876 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8877 case $ac_top_builddir_sub in 8878 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8879 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8880 esac ;; 8881 esac 8882 ac_abs_top_builddir=$ac_pwd 8883 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8884 # for backward compatibility: 8885 ac_top_builddir=$ac_top_build_prefix 8548 8886 8549 8887 case $srcdir in 8550 .) # No --srcdir option.We are building in place.8888 .) # We are building in place. 8551 8889 ac_srcdir=. 8552 if test -z "$ac_top_builddir"; then 8553 ac_top_srcdir=. 8554 else 8555 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8556 fi ;; 8557 [\\/]* | ?:[\\/]* ) # Absolute path. 8890 ac_top_srcdir=$ac_top_builddir_sub 8891 ac_abs_top_srcdir=$ac_pwd ;; 8892 [\\/]* | ?:[\\/]* ) # Absolute name. 8558 8893 ac_srcdir=$srcdir$ac_dir_suffix; 8559 ac_top_srcdir=$srcdir ;; 8560 *) # Relative path. 8561 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8562 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8563 esac 8564 8565 # Do not use `cd foo && pwd` to compute absolute paths, because 8566 # the directories may not exist. 8567 case `pwd` in 8568 .) ac_abs_builddir="$ac_dir";; 8569 *) 8570 case "$ac_dir" in 8571 .) ac_abs_builddir=`pwd`;; 8572 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8573 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8574 esac;; 8575 esac 8576 case $ac_abs_builddir in 8577 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8578 *) 8579 case ${ac_top_builddir}. in 8580 .) ac_abs_top_builddir=$ac_abs_builddir;; 8581 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8582 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8583 esac;; 8584 esac 8585 case $ac_abs_builddir in 8586 .) ac_abs_srcdir=$ac_srcdir;; 8587 *) 8588 case $ac_srcdir in 8589 .) ac_abs_srcdir=$ac_abs_builddir;; 8590 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8591 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8592 esac;; 8593 esac 8594 case $ac_abs_builddir in 8595 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8596 *) 8597 case $ac_top_srcdir in 8598 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8599 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8600 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8601 esac;; 8602 esac 8603 8604 8605 cd $ac_dir 8894 ac_top_srcdir=$srcdir 8895 ac_abs_top_srcdir=$srcdir ;; 8896 *) # Relative name. 8897 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8898 ac_top_srcdir=$ac_top_build_prefix$srcdir 8899 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8900 esac 8901 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8902 8903 8904 cd "$ac_dir" 8606 8905 8607 8906 # Check for guested configure; otherwise get Cygnus style configure. 8608 if test -f $ac_srcdir/configure.gnu; then 8609 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 8610 elif test -f $ac_srcdir/configure; then 8611 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 8612 elif test -f $ac_srcdir/configure.in; then 8613 ac_sub_configure=$ac_configure 8907 if test -f "$ac_srcdir/configure.gnu"; then 8908 ac_sub_configure=$ac_srcdir/configure.gnu 8909 elif test -f "$ac_srcdir/configure"; then 8910 ac_sub_configure=$ac_srcdir/configure 8911 elif test -f "$ac_srcdir/configure.in"; then 8912 # This should be Cygnus configure. 8913 ac_sub_configure=$ac_aux_dir/configure 8614 8914 else 8615 8915 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 … … 8623 8923 case $cache_file in 8624 8924 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8625 *) # Relative path.8626 ac_sub_cache_file=$ac_top_build dir$cache_file ;;8925 *) # Relative name. 8926 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 8627 8927 esac 8628 8928 8629 { echo "$as_me:$LINENO: running $ ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58630 echo "$as_me: running $ ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}8929 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 8930 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8631 8931 # The eval makes quoting arguments work. 8632 eval $ac_sub_configure$ac_sub_configure_args \8633 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||8932 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 8933 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 8634 8934 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 8635 8935 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} … … 8637 8937 fi 8638 8938 8639 cd $ac_popdir8939 cd "$ac_popdir" 8640 8940 done 8641 8941 fi -
gsdl/trunk/configure.in
r19264 r20842 189 189 dnl check for -lcrypt: 190 190 AC_HAVE_LIBRARY(crypt) 191 if test $ENABLE_ACCENTFOLD = 1; then192 AC_HAVE_LIBRARY(iconv)193 fi191 #if test $ENABLE_ACCENTFOLD = 1; then 192 #AC_HAVE_LIBRARY(iconv) 193 #fi 194 194 195 195 dnl Checks for header files.
Note:
See TracChangeset
for help on using the changeset viewer.