Changeset 102 for NEWT0/trunk
- Timestamp:
- 05/10/07 16:43:36 (5 years ago)
- Location:
- NEWT0/trunk
- Files:
-
- 4 edited
-
Makefile.in (modified) (4 diffs)
-
configure (modified) (264 diffs)
-
configure.in (modified) (1 diff)
-
contrib/inwt/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
NEWT0/trunk/Makefile.in
r96 r102 26 26 LDSHARED = @LIBNEWT_LDSHARED@ 27 27 28 # declarations needed to creat a static library 29 LIBCOMMAND = @LIBCOMMAND@ 30 LIBEXT = @LIBEXT@ 31 28 32 prefix = @prefix@ 29 33 exec_prefix = @exec_prefix@ … … 38 42 39 43 NEWT = $(build)/newt$(EXEEXT) 44 45 LIBNEWT = $(build)/libnewt$(LIBEXT) 40 46 41 47 MAINOBJ = $(objdir)/main.o … … 72 78 OBJS = $(MAINOBJ) $(UTILSOBJS) $(PARSEROBJS) $(COREOBJS) 73 79 80 LIBOBJS = $(UTILSOBJS) $(PARSEROBJS) $(COREOBJS) 81 74 82 75 83 ###### … … 102 110 $(CC) $(LDFLAGS) $(LIBS) $(OBJS) $(LIBS) -o $@ 103 111 112 113 ### LIBNEWT static library 114 115 libnewt: $(build) $(objdir) $(yytmp) $(LIBNEWT) $(LDIMPORT) 116 117 $(LIBNEWT): $(LIBOBJS) 118 $(LIBCOMMAND) $@ $(LIBOBJS) 104 119 105 120 -
NEWT0/trunk/configure
r81 r102 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for FULL-PACKAGE-NAME VERSION.3 # Generated by GNU Autoconf 2.60 for FULL-PACKAGE-NAME VERSION. 4 4 # 5 5 # Report bugs to <BUG-REPORT-ADDRESS>. 6 6 # 7 # Copyright (C) 2003 Free Software Foundation, Inc. 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 8 9 # This configure script is free software; the Free Software Foundation 9 10 # gives unlimited permission to copy, distribute and modify it. … … 19 20 # is contrary to our usage. Disable this feature. 20 21 alias -g '${1+"$@"}'='"$@"' 21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix 23 fi 22 setopt NO_GLOB_SUBST 23 else 24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 25 fi 26 BIN_SH=xpg4; export BIN_SH # for Tru64 24 27 DUALCASE=1; export DUALCASE # for MKS sh 25 28 26 # Support unset when possible. 27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 as_unset=unset 29 else 30 as_unset=false 31 fi 32 33 34 # Work around bugs in pre-3.0 UWIN ksh. 35 $as_unset ENV MAIL MAILPATH 36 PS1='$ ' 37 PS2='> ' 38 PS4='+ ' 39 40 # NLS nuisances. 41 for as_var in \ 42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 LC_TELEPHONE LC_TIME 45 do 46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 eval $as_var=C; export $as_var 48 else 49 $as_unset $as_var 50 fi 51 done 52 53 # Required to use basename. 54 if expr a : '\(a\)' >/dev/null 2>&1; then 55 as_expr=expr 56 else 57 as_expr=false 58 fi 59 60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 61 as_basename=basename 62 else 63 as_basename=false 64 fi 65 66 67 # Name of the executable. 68 as_me=`$as_basename "$0" || 69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73 echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79 80 # PATH needs CR, and LINENO needs CR and PATH. 29 30 # PATH needs CR 81 31 # Avoid depending upon Character Ranges. 82 32 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 99 49 fi 100 50 101 102 as_lineno_1=$LINENO 103 as_lineno_2=$LINENO 104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105 test "x$as_lineno_1" != "x$as_lineno_2" && 106 test "x$as_lineno_3" = "x$as_lineno_2" || { 107 # Find who we are. Look in the path if we contain no path at all 108 # relative or not. 109 case $0 in 110 *[\\/]* ) as_myself=$0 ;; 111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51 # Support unset when possible. 52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 53 as_unset=unset 54 else 55 as_unset=false 56 fi 57 58 59 # IFS 60 # We need space, tab and new line, in precisely that order. Quoting is 61 # there to prevent editors from complaining about space-tab. 62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 63 # splitting by setting IFS to empty value.) 64 as_nl=' 65 ' 66 IFS=" "" $as_nl" 67 68 # Find who we are. Look in the path if we contain no directory separator. 69 case $0 in 70 *[\\/]* ) as_myself=$0 ;; 71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112 72 for as_dir in $PATH 113 73 do … … 116 76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117 77 done 118 119 ;; 120 esac 121 # We did not find ourselves, most probably we were run as `sh COMMAND' 122 # in which case we are not to be found in the path. 123 if test "x$as_myself" = x; then 124 as_myself=$0 78 IFS=$as_save_IFS 79 80 ;; 81 esac 82 # We did not find ourselves, most probably we were run as `sh COMMAND' 83 # in which case we are not to be found in the path. 84 if test "x$as_myself" = x; then 85 as_myself=$0 86 fi 87 if test ! -f "$as_myself"; then 88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 89 { (exit 1); exit 1; } 90 fi 91 92 # Work around bugs in pre-3.0 UWIN ksh. 93 for as_var in ENV MAIL MAILPATH 94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 95 done 96 PS1='$ ' 97 PS2='> ' 98 PS4='+ ' 99 100 # NLS nuisances. 101 for as_var in \ 102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 104 LC_TELEPHONE LC_TIME 105 do 106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 107 eval $as_var=C; export $as_var 108 else 109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125 110 fi 126 if test ! -f "$as_myself"; then 127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128 { (exit 1); exit 1; }; } 129 fi 130 case $CONFIG_SHELL in 131 '') 111 done 112 113 # Required to use basename. 114 if expr a : '\(a\)' >/dev/null 2>&1 && 115 test "X`expr 00001 : '.*\(...\)'`" = X001; then 116 as_expr=expr 117 else 118 as_expr=false 119 fi 120 121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 122 as_basename=basename 123 else 124 as_basename=false 125 fi 126 127 128 # Name of the executable. 129 as_me=`$as_basename -- "$0" || 130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 131 X"$0" : 'X\(//\)$' \| \ 132 X"$0" : 'X\(/\)' \| . 2>/dev/null || 133 echo X/"$0" | 134 sed '/^.*\/\([^/][^/]*\)\/*$/{ 135 s//\1/ 136 q 137 } 138 /^X\/\(\/\/\)$/{ 139 s//\1/ 140 q 141 } 142 /^X\/\(\/\).*/{ 143 s//\1/ 144 q 145 } 146 s/.*/./; q'` 147 148 # CDPATH. 149 $as_unset CDPATH 150 151 152 if test "x$CONFIG_SHELL" = x; then 153 if (eval ":") 2>/dev/null; then 154 as_have_required=yes 155 else 156 as_have_required=no 157 fi 158 159 if test $as_have_required = yes && (eval ": 160 (as_func_return () { 161 (exit \$1) 162 } 163 as_func_success () { 164 as_func_return 0 165 } 166 as_func_failure () { 167 as_func_return 1 168 } 169 as_func_ret_success () { 170 return 0 171 } 172 as_func_ret_failure () { 173 return 1 174 } 175 176 exitcode=0 177 if as_func_success; then 178 : 179 else 180 exitcode=1 181 echo as_func_success failed. 182 fi 183 184 if as_func_failure; then 185 exitcode=1 186 echo as_func_failure succeeded. 187 fi 188 189 if as_func_ret_success; then 190 : 191 else 192 exitcode=1 193 echo as_func_ret_success failed. 194 fi 195 196 if as_func_ret_failure; then 197 exitcode=1 198 echo as_func_ret_failure succeeded. 199 fi 200 201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 202 : 203 else 204 exitcode=1 205 echo positional parameters were not saved. 206 fi 207 208 test \$exitcode = 0) || { (exit 1); exit 1; } 209 210 ( 211 as_lineno_1=\$LINENO 212 as_lineno_2=\$LINENO 213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 215 ") 2> /dev/null; then 216 : 217 else 218 as_candidate_shells= 132 219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133 for as_dir in / bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 134 221 do 135 222 IFS=$as_save_IFS 136 223 test -z "$as_dir" && as_dir=. 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 224 case $as_dir in 139 225 /*) 140 if ("$as_dir/$as_base" -c ' 226 for as_base in sh bash ksh sh5; do 227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 228 done;; 229 esac 230 done 231 IFS=$as_save_IFS 232 233 234 for as_shell in $as_candidate_shells $SHELL; do 235 # Try only shells that exist, to save several forks. 236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 237 { ("$as_shell") 2> /dev/null <<\_ASEOF 238 # Be Bourne compatible 239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 240 emulate sh 241 NULLCMD=: 242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 243 # is contrary to our usage. Disable this feature. 244 alias -g '${1+"$@"}'='"$@"' 245 setopt NO_GLOB_SUBST 246 else 247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 248 fi 249 BIN_SH=xpg4; export BIN_SH # for Tru64 250 DUALCASE=1; export DUALCASE # for MKS sh 251 252 : 253 _ASEOF 254 }; then 255 CONFIG_SHELL=$as_shell 256 as_have_required=yes 257 if { "$as_shell" 2> /dev/null <<\_ASEOF 258 # Be Bourne compatible 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 268 fi 269 BIN_SH=xpg4; export BIN_SH # for Tru64 270 DUALCASE=1; export DUALCASE # for MKS sh 271 272 : 273 (as_func_return () { 274 (exit $1) 275 } 276 as_func_success () { 277 as_func_return 0 278 } 279 as_func_failure () { 280 as_func_return 1 281 } 282 as_func_ret_success () { 283 return 0 284 } 285 as_func_ret_failure () { 286 return 1 287 } 288 289 exitcode=0 290 if as_func_success; then 291 : 292 else 293 exitcode=1 294 echo as_func_success failed. 295 fi 296 297 if as_func_failure; then 298 exitcode=1 299 echo as_func_failure succeeded. 300 fi 301 302 if as_func_ret_success; then 303 : 304 else 305 exitcode=1 306 echo as_func_ret_success failed. 307 fi 308 309 if as_func_ret_failure; then 310 exitcode=1 311 echo as_func_ret_failure succeeded. 312 fi 313 314 if ( set x; as_func_ret_success y && test x = "$1" ); then 315 : 316 else 317 exitcode=1 318 echo positional parameters were not saved. 319 fi 320 321 test $exitcode = 0) || { (exit 1); exit 1; } 322 323 ( 141 324 as_lineno_1=$LINENO 142 325 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`144 326 test "x$as_lineno_1" != "x$as_lineno_2" && 145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148 CONFIG_SHELL=$as_dir/$as_base 149 export CONFIG_SHELL 150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151 fi;; 152 esac 153 done 154 done 155 ;; 156 esac 327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 328 329 _ASEOF 330 }; then 331 break 332 fi 333 334 fi 335 336 done 337 338 if test "x$CONFIG_SHELL" != x; then 339 for as_var in BASH_ENV ENV 340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 341 done 342 export CONFIG_SHELL 343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 344 fi 345 346 347 if test $as_have_required = no; then 348 echo This script requires a shell more modern than all the 349 echo shells that I found on your system. Please install a 350 echo modern shell, or manually run the script under such a 351 echo shell if you do have one. 352 { (exit 1); exit 1; } 353 fi 354 355 356 fi 357 358 fi 359 360 361 362 (eval "as_func_return () { 363 (exit \$1) 364 } 365 as_func_success () { 366 as_func_return 0 367 } 368 as_func_failure () { 369 as_func_return 1 370 } 371 as_func_ret_success () { 372 return 0 373 } 374 as_func_ret_failure () { 375 return 1 376 } 377 378 exitcode=0 379 if as_func_success; then 380 : 381 else 382 exitcode=1 383 echo as_func_success failed. 384 fi 385 386 if as_func_failure; then 387 exitcode=1 388 echo as_func_failure succeeded. 389 fi 390 391 if as_func_ret_success; then 392 : 393 else 394 exitcode=1 395 echo as_func_ret_success failed. 396 fi 397 398 if as_func_ret_failure; then 399 exitcode=1 400 echo as_func_ret_failure succeeded. 401 fi 402 403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 404 : 405 else 406 exitcode=1 407 echo positional parameters were not saved. 408 fi 409 410 test \$exitcode = 0") || { 411 echo No shell found that supports shell functions. 412 echo Please tell autoconf@gnu.org about your system, 413 echo including any error possibly output before this 414 echo message 415 } 416 417 418 419 as_lineno_1=$LINENO 420 as_lineno_2=$LINENO 421 test "x$as_lineno_1" != "x$as_lineno_2" && 422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 157 423 158 424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 425 # uniformly replaced by the line number. The first 'sed' inserts a 160 # line-number line before each line; the second 'sed' does the real 161 # work. The second script uses 'N' to pair each line-number line 162 # with the numbered line, and appends trailing '-' during 163 # substitution so that $LINENO is not a special case at line end. 426 # line-number line after each line using $LINENO; the second 'sed' 427 # does the real work. The second script uses 'N' to pair each 428 # line-number line with the line containing $LINENO, and appends 429 # trailing '-' during substitution so that $LINENO is not a special 430 # case at line end. 164 431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 sed '=' <$as_myself | 432 # scripts with optimization help from Paolo Bonzini. Blame Lee 433 # E. McMahon (1931-1989) for sed's syntax. :-) 434 sed -n ' 435 p 436 /[$]LINENO/= 437 ' <$as_myself | 167 438 sed ' 439 s/[$]LINENO.*/&-/ 440 t lineno 441 b 442 :lineno 168 443 N 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 444 :loop 445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 172 446 t loop 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 447 s/-\n.*// 175 448 ' >$as_me.lineno && 176 chmod +x $as_me.lineno||449 chmod +x "$as_me.lineno" || 177 450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 451 { (exit 1); exit 1; }; } … … 180 453 # Don't try to exec as it changes $[0], causing all sort of problems 181 454 # (the dirname of $[0] is not the place where we might find the 182 # original and so on. Autoconf is especially sensi ble to this).183 . ./$as_me.lineno455 # original and so on. Autoconf is especially sensitive to this). 456 . "./$as_me.lineno" 184 457 # Exit status is that of the last command. 185 458 exit … … 187 460 188 461 189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 *c*,-n*) ECHO_N= ECHO_C=' 191 ' ECHO_T=' ' ;; 192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 194 esac 195 196 if expr a : '\(a\)' >/dev/null 2>&1; then 462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 463 as_dirname=dirname 464 else 465 as_dirname=false 466 fi 467 468 ECHO_C= ECHO_N= ECHO_T= 469 case `echo -n x` in 470 -n*) 471 case `echo 'x\c'` in 472 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 473 *) ECHO_C='\c';; 474 esac;; 475 *) 476 ECHO_N='-n';; 477 esac 478 479 if expr a : '\(a\)' >/dev/null 2>&1 && 480 test "X`expr 00001 : '.*\(...\)'`" = X001; then 197 481 as_expr=expr 198 482 else … … 201 485 202 486 rm -f conf$$ conf$$.exe conf$$.file 487 if test -d conf$$.dir; then 488 rm -f conf$$.dir/conf$$.file 489 else 490 rm -f conf$$.dir 491 mkdir conf$$.dir 492 fi 203 493 echo >conf$$.file 204 494 if ln -s conf$$.file conf$$ 2>/dev/null; then 205 # We could just check for DJGPP; but this test a) works b) is more generic 206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207 if test -f conf$$.exe; then 208 # Don't use ln at all; we don't have any links 495 as_ln_s='ln -s' 496 # ... but there are two gotchas: 497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 499 # In both cases, we have to default to `cp -p'. 500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 209 501 as_ln_s='cp -p' 210 else211 as_ln_s='ln -s'212 fi213 502 elif ln conf$$.file conf$$ 2>/dev/null; then 214 503 as_ln_s=ln … … 216 505 as_ln_s='cp -p' 217 506 fi 218 rm -f conf$$ conf$$.exe conf$$.file 507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 508 rmdir conf$$.dir 2>/dev/null 219 509 220 510 if mkdir -p . 2>/dev/null; then … … 225 515 fi 226 516 227 as_executable_p="test -f" 517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 518 # systems may use methods other than mode bits to determine executability. 519 cat >conf$$.file <<_ASEOF 520 #! /bin/sh 521 exit 0 522 _ASEOF 523 chmod +x conf$$.file 524 if test -x conf$$.file >/dev/null 2>&1; then 525 as_executable_p="test -x" 526 else 527 as_executable_p=: 528 fi 529 rm -f conf$$.file 228 530 229 531 # Sed expression to map a string onto a valid CPP name. … … 234 536 235 537 236 # IFS 237 # We need space, tab and new line, in precisely that order. 238 as_nl=' 239 ' 240 IFS=" $as_nl" 241 242 # CDPATH. 243 $as_unset CDPATH 244 538 539 exec 7<&0 </dev/null 6>&1 245 540 246 541 # Name of the host. … … 249 544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 250 545 251 exec 6>&1252 253 546 # 254 547 # Initializations. 255 548 # 256 549 ac_default_prefix=/usr/local 550 ac_clean_files= 257 551 ac_config_libobj_dir=. 552 LIBOBJS= 258 553 cross_compiling=no 259 554 subdirs= … … 261 556 MAKEFLAGS= 262 557 SHELL=${CONFIG_SHELL-/bin/sh} 263 264 # Maximum number of lines to put in a shell here document.265 # This variable seems obsolete. It should probably be removed, and266 # only ac_max_sed_lines should be used.267 : ${ac_max_here_lines=38}268 558 269 559 # Identity of this package. … … 303 593 #if HAVE_INTTYPES_H 304 594 # include <inttypes.h> 305 #else 306 # if HAVE_STDINT_H 307 # include <stdint.h> 308 # endif 595 #endif 596 #if HAVE_STDINT_H 597 # include <stdint.h> 309 598 #endif 310 599 #if HAVE_UNISTD_H … … 312 601 #endif" 313 602 314 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC LEX LEXLIB LEX_OUTPUT_ROOT AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CPP EGREP LIBOBJS NEWT_LDIMPORT NEWT_LDFLAGS LIBNEWT_LDSHARED LINK_NEWT_APP_ DLEXT MAKE_EXT MAKE_CONTRIB BINDIR sitedir libffidir __NAMED_MAGIC_POINTER__ LIBREGEX LTLIBOBJS' 603 ac_subst_vars='SHELL 604 PATH_SEPARATOR 605 PACKAGE_NAME 606 PACKAGE_TARNAME 607 PACKAGE_VERSION 608 PACKAGE_STRING 609 PACKAGE_BUGREPORT 610 exec_prefix 611 prefix 612 program_transform_name 613 bindir 614 sbindir 615 libexecdir 616 datarootdir 617 datadir 618 sysconfdir 619 sharedstatedir 620 localstatedir 621 includedir 622 oldincludedir 623 docdir 624 infodir 625 htmldir 626 dvidir 627 pdfdir 628 psdir 629 libdir 630 localedir 631 mandir 632 DEFS 633 ECHO_C 634 ECHO_N 635 ECHO_T 636 LIBS 637 build_alias 638 host_alias 639 target_alias 640 CC 641 CFLAGS 642 LDFLAGS 643 CPPFLAGS 644 ac_ct_CC 645 EXEEXT 646 OBJEXT 647 YACC 648 YFLAGS 649 LEX 650 LEXLIB 651 LEX_OUTPUT_ROOT 652 AR 653 RANLIB 654 build 655 build_cpu 656 build_vendor 657 build_os 658 host 659 host_cpu 660 host_vendor 661 host_os 662 target 663 target_cpu 664 target_vendor 665 target_os 666 CPP 667 GREP 668 EGREP 669 LIBOBJS 670 NEWT_LDIMPORT 671 NEWT_LDFLAGS 672 LIBNEWT_LDSHARED 673 LINK_NEWT_APP_ 674 DLEXT 675 MAKE_EXT 676 MAKE_CONTRIB 677 BINDIR 678 sitedir 679 libffidir 680 __NAMED_MAGIC_POINTER__ 681 LIBREGEX 682 LIBCOMMAND 683 LIBEXT 684 LTLIBOBJS' 315 685 ac_subst_files='' 686 ac_precious_vars='build_alias 687 host_alias 688 target_alias 689 CC 690 CFLAGS 691 LDFLAGS 692 CPPFLAGS 693 YACC 694 YFLAGS 695 CPP' 696 316 697 317 698 # Initialize some variables set by options. … … 340 721 # by default will actually change. 341 722 # Use braces instead of parens because sh, perl, etc. also accept them. 723 # (The list follows the same order as the GNU Coding Standards.) 342 724 bindir='${exec_prefix}/bin' 343 725 sbindir='${exec_prefix}/sbin' 344 726 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 727 datarootdir='${prefix}/share' 728 datadir='${datarootdir}' 346 729 sysconfdir='${prefix}/etc' 347 730 sharedstatedir='${prefix}/com' 348 731 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 732 includedir='${prefix}/include' 351 733 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 734 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 735 infodir='${datarootdir}/info' 736 htmldir='${docdir}' 737 dvidir='${docdir}' 738 pdfdir='${docdir}' 739 psdir='${docdir}' 740 libdir='${exec_prefix}/lib' 741 localedir='${datarootdir}/locale' 742 mandir='${datarootdir}/man' 354 743 355 744 ac_prev= 745 ac_dashdash= 356 746 for ac_option 357 747 do 358 748 # If the previous option needs an argument, assign it. 359 749 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"750 eval $ac_prev=\$ac_option 361 751 ac_prev= 362 752 continue 363 753 fi 364 754 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 755 case $ac_option in 756 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 757 *) ac_optarg=yes ;; 758 esac 366 759 367 760 # Accept the important Cygnus configure options, so we can diagnose typos. 368 761 369 case $ac_option in 762 case $ac_dashdash$ac_option in 763 --) 764 ac_dashdash=yes ;; 370 765 371 766 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 784 cache_file=config.cache ;; 390 785 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)786 -datadir | --datadir | --datadi | --datad) 392 787 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 788 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 789 datadir=$ac_optarg ;; 790 791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 792 | --dataroo | --dataro | --datar) 793 ac_prev=datarootdir ;; 794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 796 datarootdir=$ac_optarg ;; 396 797 397 798 -disable-* | --disable-*) … … 402 803 { (exit 1); exit 1; }; } 403 804 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 805 eval enable_$ac_feature=no ;; 806 807 -docdir | --docdir | --docdi | --doc | --do) 808 ac_prev=docdir ;; 809 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 810 docdir=$ac_optarg ;; 811 812 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 813 ac_prev=dvidir ;; 814 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 815 dvidir=$ac_optarg ;; 405 816 406 817 -enable-* | --enable-*) … … 411 822 { (exit 1); exit 1; }; } 412 823 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 416 esac 417 eval "enable_$ac_feature='$ac_optarg'" ;; 824 eval enable_$ac_feature=\$ac_optarg ;; 418 825 419 826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 849 host_alias=$ac_optarg ;; 443 850 851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 852 ac_prev=htmldir ;; 853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 854 | --ht=*) 855 htmldir=$ac_optarg ;; 856 444 857 -includedir | --includedir | --includedi | --included | --include \ 445 858 | --includ | --inclu | --incl | --inc) … … 466 879 libexecdir=$ac_optarg ;; 467 880 881 -localedir | --localedir | --localedi | --localed | --locale) 882 ac_prev=localedir ;; 883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 884 localedir=$ac_optarg ;; 885 468 886 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 887 | --localstate | --localstat | --localsta | --localst | --locals) 471 888 ac_prev=localstatedir ;; 472 889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 891 localstatedir=$ac_optarg ;; 476 892 … … 537 953 program_transform_name=$ac_optarg ;; 538 954 955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 956 ac_prev=pdfdir ;; 957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 958 pdfdir=$ac_optarg ;; 959 960 -psdir | --psdir | --psdi | --psd | --ps) 961 ac_prev=psdir ;; 962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 963 psdir=$ac_optarg ;; 964 539 965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 966 | -silent | --silent | --silen | --sile | --sil) … … 593 1019 { (exit 1); exit 1; }; } 594 1020 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 598 esac 599 eval "with_$ac_package='$ac_optarg'" ;; 1021 eval with_$ac_package=\$ac_optarg ;; 600 1022 601 1023 -without-* | --without-*) … … 606 1028 { (exit 1); exit 1; }; } 607 1029 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no";;1030 eval with_$ac_package=no ;; 609 1031 610 1032 --x) … … 637 1059 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1060 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1061 eval $ac_envvar=\$ac_optarg 641 1062 export $ac_envvar ;; 642 1063 … … 658 1079 fi 659 1080 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1081 # Be sure to have absolute directory names. 1082 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1083 datadir sysconfdir sharedstatedir localstatedir includedir \ 1084 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1085 libdir localedir mandir 662 1086 do 663 eval ac_val= $`echo $ac_var`1087 eval ac_val=\$$ac_var 664 1088 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 1089 [\\/$]* | ?:[\\/]* ) continue;; 1090 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 668 1091 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 676 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 680 esac 1092 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1093 { (exit 1); exit 1; }; } 681 1094 done 682 1095 … … 705 1118 706 1119 1120 ac_pwd=`pwd` && test -n "$ac_pwd" && 1121 ac_ls_di=`ls -di .` && 1122 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1123 { echo "$as_me: error: Working directory cannot be determined" >&2 1124 { (exit 1); exit 1; }; } 1125 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1126 { echo "$as_me: error: pwd does not report name of working directory" >&2 1127 { (exit 1); exit 1; }; } 1128 1129 707 1130 # Find the source files, if location was not specified. 708 1131 if test -z "$srcdir"; then 709 1132 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent.711 ac_confdir=` (dirname "$0") 2>/dev/null||1133 # Try the directory containing this script, then the parent directory. 1134 ac_confdir=`$as_dirname -- "$0" || 712 1135 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 1136 X"$0" : 'X\(//\)[^/]' \| \ 714 1137 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 1138 X"$0" : 'X\(/\)' \| . 2>/dev/null || 717 1139 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1141 s//\1/ 1142 q 1143 } 1144 /^X\(\/\/\)[^/].*/{ 1145 s//\1/ 1146 q 1147 } 1148 /^X\(\/\/\)$/{ 1149 s//\1/ 1150 q 1151 } 1152 /^X\(\/\).*/{ 1153 s//\1/ 1154 q 1155 } 1156 s/.*/./; q'` 723 1157 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1158 if test ! -r "$srcdir/$ac_unique_file"; then 725 1159 srcdir=.. 726 1160 fi … … 728 1162 ac_srcdir_defaulted=no 729 1163 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21164 if test ! -r "$srcdir/$ac_unique_file"; then 1165 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1166 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1167 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1168 fi 1169 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1170 ac_abs_confdir=`( 1171 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 736 1172 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CPP_set=${CPP+set} 772 ac_env_CPP_value=$CPP 773 ac_cv_env_CPP_set=${CPP+set} 774 ac_cv_env_CPP_value=$CPP 1173 pwd)` 1174 # When building in place, set srcdir=. 1175 if test "$ac_abs_confdir" = "$ac_pwd"; then 1176 srcdir=. 1177 fi 1178 # Remove unnecessary trailing slashes from srcdir. 1179 # Double slashes in file names in object file debugging info 1180 # mess up M-x gdb in Emacs. 1181 case $srcdir in 1182 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1183 esac 1184 for ac_var in $ac_precious_vars; do 1185 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1186 eval ac_env_${ac_var}_value=\$${ac_var} 1187 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1188 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1189 done 775 1190 776 1191 # … … 801 1216 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 802 1217 803 _ACEOF804 805 cat <<_ACEOF806 1218 Installation directories: 807 1219 --prefix=PREFIX install architecture-independent files in PREFIX … … 821 1233 --sbindir=DIR system admin executables [EPREFIX/sbin] 822 1234 --libexecdir=DIR program executables [EPREFIX/libexec] 823 --datadir=DIR read-only architecture-independent data [PREFIX/share]824 1235 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 825 1236 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 828 1239 --includedir=DIR C header files [PREFIX/include] 829 1240 --oldincludedir=DIR C header files for non-gcc [/usr/include] 830 --infodir=DIR info documentation [PREFIX/info] 831 --mandir=DIR man documentation [PREFIX/man] 1241 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1242 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1243 --infodir=DIR info documentation [DATAROOTDIR/info] 1244 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1245 --mandir=DIR man documentation [DATAROOTDIR/man] 1246 --docdir=DIR documentation root [DATAROOTDIR/doc/full-package-name] 1247 --htmldir=DIR html documentation [DOCDIR] 1248 --dvidir=DIR dvi documentation [DOCDIR] 1249 --pdfdir=DIR pdf documentation [DOCDIR] 1250 --psdir=DIR ps documentation [DOCDIR] 832 1251 _ACEOF 833 1252 … … 866 1285 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 867 1286 nonstandard directory <lib dir> 868 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 869 headers in a nonstandard directory <include dir> 1287 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1288 you have headers in a nonstandard directory <include dir> 1289 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1290 the first program found out of: `bison -y', `byacc', `yacc'. 1291 YFLAGS The list of arguments that will be passed by default to $YACC. 1292 This script will default YFLAGS to the empty string to avoid a 1293 default value of `-d' given by some make applications. 870 1294 CPP C preprocessor 871 1295 … … 875 1299 Report bugs to <BUG-REPORT-ADDRESS>. 876 1300 _ACEOF 1301 ac_status=$? 877 1302 fi 878 1303 879 1304 if test "$ac_init_help" = "recursive"; then 880 1305 # If there are subdirs, report their specific --help. 881 ac_popdir=`pwd`882 1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 883 test -d $ac_dir|| continue1307 test -d "$ac_dir" || continue 884 1308 ac_builddir=. 885 1309 886 if test "$ac_dir" != .; then 1310 case "$ac_dir" in 1311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1312 *) 887 1313 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 888 # A "../" for each directory in $ac_dir_suffix. 889 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 890 else 891 ac_dir_suffix= ac_top_builddir= 892 fi 1314 # A ".." for each directory in $ac_dir_suffix. 1315 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1316 case $ac_top_builddir_sub in 1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1319 esac ;; 1320 esac 1321 ac_abs_top_builddir=$ac_pwd 1322 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1323 # for backward compatibility: 1324 ac_top_builddir=$ac_top_build_prefix 893 1325 894 1326 case $srcdir in 895 .) # No --srcdir option.We are building in place.1327 .) # We are building in place. 896 1328 ac_srcdir=. 897 if test -z "$ac_top_builddir"; then 898 ac_top_srcdir=. 899 else 900 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 901 fi ;; 902 [\\/]* | ?:[\\/]* ) # Absolute path. 1329 ac_top_srcdir=$ac_top_builddir_sub 1330 ac_abs_top_srcdir=$ac_pwd ;; 1331 [\\/]* | ?:[\\/]* ) # Absolute name. 903 1332 ac_srcdir=$srcdir$ac_dir_suffix; 904 ac_top_srcdir=$srcdir ;; 905 *) # Relative path. 906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 907 ac_top_srcdir=$ac_top_builddir$srcdir ;; 908 esac 909 910 # Do not use `cd foo && pwd` to compute absolute paths, because 911 # the directories may not exist. 912 case `pwd` in 913 .) ac_abs_builddir="$ac_dir";; 914 *) 915 case "$ac_dir" in 916 .) ac_abs_builddir=`pwd`;; 917 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 918 *) ac_abs_builddir=`pwd`/"$ac_dir";; 919 esac;; 920 esac 921 case $ac_abs_builddir in 922 .) ac_abs_top_builddir=${ac_top_builddir}.;; 923 *) 924 case ${ac_top_builddir}. in 925 .) ac_abs_top_builddir=$ac_abs_builddir;; 926 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 927 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 928 esac;; 929 esac 930 case $ac_abs_builddir in 931 .) ac_abs_srcdir=$ac_srcdir;; 932 *) 933 case $ac_srcdir in 934 .) ac_abs_srcdir=$ac_abs_builddir;; 935 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 936 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 937 esac;; 938 esac 939 case $ac_abs_builddir in 940 .) ac_abs_top_srcdir=$ac_top_srcdir;; 941 *) 942 case $ac_top_srcdir in 943 .) ac_abs_top_srcdir=$ac_abs_builddir;; 944 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 945 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 946 esac;; 947 esac 948 949 cd $ac_dir 950 # Check for guested configure; otherwise get Cygnus style configure. 951 if test -f $ac_srcdir/configure.gnu; then 952 echo 953 $SHELL $ac_srcdir/configure.gnu --help=recursive 954 elif test -f $ac_srcdir/configure; then 955 echo 956 $SHELL $ac_srcdir/configure --help=recursive 957 elif test -f $ac_srcdir/configure.ac || 958 test -f $ac_srcdir/configure.in; then 959 echo 960 $ac_configure --help 1333 ac_top_srcdir=$srcdir 1334 ac_abs_top_srcdir=$srcdir ;; 1335 *) # Relative name. 1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1337 ac_top_srcdir=$ac_top_build_prefix$srcdir 1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1339 esac 1340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1341 1342 cd "$ac_dir" || { ac_status=$?; continue; } 1343 # Check for guested configure. 1344 if test -f "$ac_srcdir/configure.gnu"; then 1345 echo && 1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1347 elif test -f "$ac_srcdir/configure"; then 1348 echo && 1349 $SHELL "$ac_srcdir/configure" --help=recursive 961 1350 else 962 1351 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 963 fi 964 cd $ac_popdir1352 fi || ac_status=$? 1353 cd "$ac_pwd" || { ac_status=$?; break; } 965 1354 done 966 1355 fi 967 1356 968 test -n "$ac_init_help" && exit 01357 test -n "$ac_init_help" && exit $ac_status 969 1358 if $ac_init_version; then 970 1359 cat <<\_ACEOF 971 1360 FULL-PACKAGE-NAME configure VERSION 972 generated by GNU Autoconf 2.59 973 974 Copyright (C) 2003 Free Software Foundation, Inc. 1361 generated by GNU Autoconf 2.60 1362 1363 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1364 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 975 1365 This configure script is free software; the Free Software Foundation 976 1366 gives unlimited permission to copy, distribute and modify it. 977 1367 _ACEOF 978 exit 0 979 fi 980 exec 5>config.log 981 cat >&5 <<_ACEOF 1368 exit 1369 fi 1370 cat >config.log <<_ACEOF 982 1371 This file contains any messages produced by compilers while 983 1372 running configure, to aid debugging if configure makes a mistake. 984 1373 985 1374 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was 986 generated by GNU Autoconf 2. 59. Invocation command line was1375 generated by GNU Autoconf 2.60. Invocation command line was 987 1376 988 1377 $ $0 $@ 989 1378 990 1379 _ACEOF 1380 exec 5>>config.log 991 1381 { 992 1382 cat <<_ASUNAME … … 1007 1397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1008 1398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1009 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1010 1400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1011 1401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1021 1411 echo "PATH: $as_dir" 1022 1412 done 1413 IFS=$as_save_IFS 1023 1414 1024 1415 } >&5 … … 1042 1433 ac_configure_args0= 1043 1434 ac_configure_args1= 1044 ac_sep=1045 1435 ac_must_keep_next=false 1046 1436 for ac_pass in 1 2 … … 1053 1443 | -silent | --silent | --silen | --sile | --sil) 1054 1444 continue ;; 1055 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1445 *\'*) 1056 1446 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1057 1447 esac … … 1075 1465 esac 1076 1466 fi 1077 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1078 # Get rid of the leading space. 1079 ac_sep=" " 1467 ac_configure_args="$ac_configure_args '$ac_arg'" 1080 1468 ;; 1081 1469 esac … … 1088 1476 # config.log. We remove comments because anyway the quotes in there 1089 1477 # would cause problems or look ugly. 1090 # WARNING: Be sure not to use single quotes in there, as some shells,1091 # such as our DU 5.0 friend, will then `close' the trap.1478 # WARNING: Use '\'' to represent an apostrophe within the trap. 1479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1092 1480 trap 'exit_status=$? 1093 1481 # Save into config.log some information that might help in debugging. … … 1102 1490 echo 1103 1491 # The following way of writing the cache mishandles newlines in values, 1104 { 1492 ( 1493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1494 eval ac_val=\$$ac_var 1495 case $ac_val in #( 1496 *${as_nl}*) 1497 case $ac_var in #( 1498 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1499 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1500 esac 1501 case $ac_var in #( 1502 _ | IFS | as_nl) ;; #( 1503 *) $as_unset $ac_var ;; 1504 esac ;; 1505 esac 1506 done 1105 1507 (set) 2>&1 | 1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1107 * ac_space=\ *)1508 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1509 *${as_nl}ac_space=\ *) 1108 1510 sed -n \ 1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1511 "s/'\''/'\''\\\\'\'''\''/g; 1512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1513 ;; #( 1514 *) 1515 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1111 1516 ;; 1112 *) 1113 sed -n \ 1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1115 ;; 1116 esac; 1117 } 1517 esac | 1518 sort 1519 ) 1118 1520 echo 1119 1521 … … 1126 1528 for ac_var in $ac_subst_vars 1127 1529 do 1128 eval ac_val=$`echo $ac_var` 1129 echo "$ac_var='"'"'$ac_val'"'"'" 1530 eval ac_val=\$$ac_var 1531 case $ac_val in 1532 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1533 esac 1534 echo "$ac_var='\''$ac_val'\''" 1130 1535 done | sort 1131 1536 echo … … 1133 1538 if test -n "$ac_subst_files"; then 1134 1539 cat <<\_ASBOX 1135 ## ------------- ##1136 ## Output files. ##1137 ## ------------- ##1540 ## ------------------- ## 1541 ## File substitutions. ## 1542 ## ------------------- ## 1138 1543 _ASBOX 1139 1544 echo 1140 1545 for ac_var in $ac_subst_files 1141 1546 do 1142 eval ac_val=$`echo $ac_var` 1143 echo "$ac_var='"'"'$ac_val'"'"'" 1547 eval ac_val=\$$ac_var 1548 case $ac_val in 1549 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1550 esac 1551 echo "$ac_var='\''$ac_val'\''" 1144 1552 done | sort 1145 1553 echo … … 1153 1561 _ASBOX 1154 1562 echo 1155 sed "/^$/d" confdefs.h | sort1563 cat confdefs.h 1156 1564 echo 1157 1565 fi … … 1160 1568 echo "$as_me: exit $exit_status" 1161 1569 } >&5 1162 rm -f core *.core &&1163 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1570 rm -f core *.core core.conftest.* && 1571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1164 1572 exit $exit_status 1165 ' 01573 ' 0 1166 1574 for ac_signal in 1 2 13 15; do 1167 1575 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1170 1578 1171 1579 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1172 rm -rf conftest* confdefs.h 1173 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1174 echo >confdefs.h 1580 rm -f -r conftest* confdefs.h 1175 1581 1176 1582 # Predefined preprocessor variables. … … 1203 1609 # Let the site file select an alternate cache file if it wants to. 1204 1610 # Prefer explicitly selected file to automatically selected ones. 1205 if test -z "$CONFIG_SITE"; then 1206 if test "x$prefix" != xNONE; then 1207 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1208 else 1209 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1210 fi 1211 fi 1212 for ac_site_file in $CONFIG_SITE; do 1611 if test -n "$CONFIG_SITE"; then 1612 set x "$CONFIG_SITE" 1613 elif test "x$prefix" != xNONE; then 1614 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1615 else 1616 set x "$ac_default_prefix/share/config.site" \ 1617 "$ac_default_prefix/etc/config.site" 1618 fi 1619 shift 1620 for ac_site_file 1621 do 1213 1622 if test -r "$ac_site_file"; then 1214 1623 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1226 1635 echo "$as_me: loading cache $cache_file" >&6;} 1227 1636 case $cache_file in 1228 [\\/]* | ?:[\\/]* ) . $cache_file;;1229 *) . ./$cache_file;;1637 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1638 *) . "./$cache_file";; 1230 1639 esac 1231 1640 fi … … 1239 1648 # value. 1240 1649 ac_cache_corrupted=false 1241 for ac_var in `(set) 2>&1 | 1242 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1650 for ac_var in $ac_precious_vars; do 1243 1651 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1244 1652 eval ac_new_set=\$ac_env_${ac_var}_set 1245 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1246 eval ac_new_val= "\$ac_env_${ac_var}_value"1653 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1654 eval ac_new_val=\$ac_env_${ac_var}_value 1247 1655 case $ac_old_set,$ac_new_set in 1248 1656 set,) … … 1269 1677 if test "$ac_new_set" = set; then 1270 1678 case $ac_new_val in 1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1272 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1679 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1273 1680 *) ac_arg=$ac_var=$ac_new_val ;; 1274 1681 esac … … 1287 1694 fi 1288 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1289 1720 ac_ext=c 1290 1721 ac_cpp='$CPP $CPPFLAGS' … … 1295 1726 1296 1727 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 ac_config_headers="$ac_config_headers src/config.h" 1323 1324 ac_config_headers="$ac_config_headers src/newt_core/incs/NewtConf.h" 1728 ac_config_headers="$ac_config_headers src/config.h" 1729 1730 ac_config_headers="$ac_config_headers src/newt_core/incs/NewtConf.h" 1325 1731 1326 1732 … … 1334 1740 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1335 1741 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1336 echo "$as_me:$LINENO: checking for $ac_word" >&51337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1742 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1338 1744 if test "${ac_cv_prog_CC+set}" = set; then 1339 1745 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1348 1754 test -z "$as_dir" && as_dir=. 1349 1755 for ac_exec_ext in '' $ac_executable_extensions; do 1350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1351 1757 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1352 1758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1355 1761 done 1356 1762 done 1763 IFS=$as_save_IFS 1357 1764 1358 1765 fi … … 1360 1767 CC=$ac_cv_prog_CC 1361 1768 if test -n "$CC"; then 1362 echo "$as_me:$LINENO: result: $CC" >&5 1363 echo "${ECHO_T}$CC" >&6 1364 else 1365 echo "$as_me:$LINENO: result: no" >&5 1366 echo "${ECHO_T}no" >&6 1367 fi 1769 { echo "$as_me:$LINENO: result: $CC" >&5 1770 echo "${ECHO_T}$CC" >&6; } 1771 else 1772 { echo "$as_me:$LINENO: result: no" >&5 1773 echo "${ECHO_T}no" >&6; } 1774 fi 1775 1368 1776 1369 1777 fi … … 1372 1780 # Extract the first word of "gcc", so it can be a program name with args. 1373 1781 set dummy gcc; ac_word=$2 1374 echo "$as_me:$LINENO: checking for $ac_word" >&51375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1782 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1376 1784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1377 1785 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1386 1794 test -z "$as_dir" && as_dir=. 1387 1795 for ac_exec_ext in '' $ac_executable_extensions; do 1388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1389 1797 ac_cv_prog_ac_ct_CC="gcc" 1390 1798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1393 1801 done 1394 1802 done 1803 IFS=$as_save_IFS 1395 1804 1396 1805 fi … … 1398 1807 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1399 1808 if test -n "$ac_ct_CC"; then 1400 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1401 echo "${ECHO_T}$ac_ct_CC" >&6 1402 else 1403 echo "$as_me:$LINENO: result: no" >&5 1404 echo "${ECHO_T}no" >&6 1405 fi 1406 1407 CC=$ac_ct_CC 1809 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1810 echo "${ECHO_T}$ac_ct_CC" >&6; } 1811 else 1812 { echo "$as_me:$LINENO: result: no" >&5 1813 echo "${ECHO_T}no" >&6; } 1814 fi 1815 1816 if test "x$ac_ct_CC" = x; then 1817 CC="" 1818 else 1819 case $cross_compiling:$ac_tool_warned in 1820 yes:) 1821 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1822 whose name does not start with the host triplet. If you think this 1823 configuration is useful to you, please write to autoconf@gnu.org." >&5 1824 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1825 whose name does not start with the host triplet. If you think this 1826 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1827 ac_tool_warned=yes ;; 1828 esac 1829 CC=$ac_ct_CC 1830 fi 1408 1831 else 1409 1832 CC="$ac_cv_prog_CC" … … 1411 1834 1412 1835 if test -z "$CC"; then 1413 if test -n "$ac_tool_prefix"; then1414 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.1836 if test -n "$ac_tool_prefix"; then 1837 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1415 1838 set dummy ${ac_tool_prefix}cc; ac_word=$2 1416 echo "$as_me:$LINENO: checking for $ac_word" >&51417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1839 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1418 1841 if test "${ac_cv_prog_CC+set}" = set; then 1419 1842 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1428 1851 test -z "$as_dir" && as_dir=. 1429 1852 for ac_exec_ext in '' $ac_executable_extensions; do 1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1431 1854 ac_cv_prog_CC="${ac_tool_prefix}cc" 1432 1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1435 1858 done 1436 1859 done 1860 IFS=$as_save_IFS 1437 1861 1438 1862 fi … … 1440 1864 CC=$ac_cv_prog_CC 1441 1865 if test -n "$CC"; then 1442 echo "$as_me:$LINENO: result: $CC" >&5 1443 echo "${ECHO_T}$CC" >&6 1444 else 1445 echo "$as_me:$LINENO: result: no" >&5 1446 echo "${ECHO_T}no" >&6 1447 fi 1448 1449 fi 1450 if test -z "$ac_cv_prog_CC"; then 1451 ac_ct_CC=$CC 1452 # Extract the first word of "cc", so it can be a program name with args. 1453 set dummy cc; ac_word=$2 1454 echo "$as_me:$LINENO: checking for $ac_word" >&5 1455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1457 echo $ECHO_N "(cached) $ECHO_C" >&6 1458 else 1459 if test -n "$ac_ct_CC"; then 1460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1461 else 1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1463 for as_dir in $PATH 1464 do 1465 IFS=$as_save_IFS 1466 test -z "$as_dir" && as_dir=. 1467 for ac_exec_ext in '' $ac_executable_extensions; do 1468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1469 ac_cv_prog_ac_ct_CC="cc" 1470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1471 break 2 1866 { echo "$as_me:$LINENO: result: $CC" >&5 1867 echo "${ECHO_T}$CC" >&6; } 1868 else 1869 { echo "$as_me:$LINENO: result: no" >&5 1870 echo "${ECHO_T}no" >&6; } 1871 fi 1872 1873 1472 1874 fi 1473 done1474 done1475 1476 fi1477 fi1478 ac_ct_CC=$ac_cv_prog_ac_ct_CC1479 if test -n "$ac_ct_CC"; then1480 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51481 echo "${ECHO_T}$ac_ct_CC" >&61482 else1483 echo "$as_me:$LINENO: result: no" >&51484 echo "${ECHO_T}no" >&61485 fi1486 1487 CC=$ac_ct_CC1488 else1489 CC="$ac_cv_prog_CC"1490 fi1491 1492 1875 fi 1493 1876 if test -z "$CC"; then 1494 1877 # Extract the first word of "cc", so it can be a program name with args. 1495 1878 set dummy cc; ac_word=$2 1496 echo "$as_me:$LINENO: checking for $ac_word" >&51497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1879 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1498 1881 if test "${ac_cv_prog_CC+set}" = set; then 1499 1882 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1509 1892 test -z "$as_dir" && as_dir=. 1510 1893 for ac_exec_ext in '' $ac_executable_extensions; do 1511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1512 1895 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1513 1896 ac_prog_rejected=yes … … 1520 1903 done 1521 1904 done 1905 IFS=$as_save_IFS 1522 1906 1523 1907 if test $ac_prog_rejected = yes; then … … 1537 1921 CC=$ac_cv_prog_CC 1538 1922 if test -n "$CC"; then 1539 echo "$as_me:$LINENO: result: $CC" >&5 1540 echo "${ECHO_T}$CC" >&6 1541 else 1542 echo "$as_me:$LINENO: result: no" >&5 1543 echo "${ECHO_T}no" >&6 1544 fi 1923 { echo "$as_me:$LINENO: result: $CC" >&5 1924 echo "${ECHO_T}$CC" >&6; } 1925 else 1926 { echo "$as_me:$LINENO: result: no" >&5 1927 echo "${ECHO_T}no" >&6; } 1928 fi 1929 1545 1930 1546 1931 fi 1547 1932 if test -z "$CC"; then 1548 1933 if test -n "$ac_tool_prefix"; then 1549 for ac_prog in cl 1934 for ac_prog in cl.exe 1550 1935 do 1551 1936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1552 1937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1553 echo "$as_me:$LINENO: checking for $ac_word" >&51554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1938 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1555 1940 if test "${ac_cv_prog_CC+set}" = set; then 1556 1941 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1565 1950 test -z "$as_dir" && as_dir=. 1566 1951 for ac_exec_ext in '' $ac_executable_extensions; do 1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1568 1953 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1569 1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1572 1957 done 1573 1958 done 1959 IFS=$as_save_IFS 1574 1960 1575 1961 fi … … 1577 1963 CC=$ac_cv_prog_CC 1578 1964 if test -n "$CC"; then 1579 echo "$as_me:$LINENO: result: $CC" >&5 1580 echo "${ECHO_T}$CC" >&6 1581 else 1582 echo "$as_me:$LINENO: result: no" >&5 1583 echo "${ECHO_T}no" >&6 1584 fi 1965 { echo "$as_me:$LINENO: result: $CC" >&5 1966 echo "${ECHO_T}$CC" >&6; } 1967 else 1968 { echo "$as_me:$LINENO: result: no" >&5 1969 echo "${ECHO_T}no" >&6; } 1970 fi 1971 1585 1972 1586 1973 test -n "$CC" && break … … 1589 1976 if test -z "$CC"; then 1590 1977 ac_ct_CC=$CC 1591 for ac_prog in cl 1978 for ac_prog in cl.exe 1592 1979 do 1593 1980 # Extract the first word of "$ac_prog", so it can be a program name with args. 1594 1981 set dummy $ac_prog; ac_word=$2 1595 echo "$as_me:$LINENO: checking for $ac_word" >&51596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1982 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1597 1984 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1598 1985 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1607 1994 test -z "$as_dir" && as_dir=. 1608 1995 for ac_exec_ext in '' $ac_executable_extensions; do 1609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 1610 1997 ac_cv_prog_ac_ct_CC="$ac_prog" 1611 1998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1614 2001 done 1615 2002 done 2003 IFS=$as_save_IFS 1616 2004 1617 2005 fi … … 1619 2007 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1620 2008 if test -n "$ac_ct_CC"; then 1621 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1622 echo "${ECHO_T}$ac_ct_CC" >&6 1623 else 1624 echo "$as_me:$LINENO: result: no" >&5 1625 echo "${ECHO_T}no" >&6 1626 fi 2009 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2010 echo "${ECHO_T}$ac_ct_CC" >&6; } 2011 else 2012 { echo "$as_me:$LINENO: result: no" >&5 2013 echo "${ECHO_T}no" >&6; } 2014 fi 2015 1627 2016 1628 2017 test -n "$ac_ct_CC" && break 1629 2018 done 1630 2019 1631 CC=$ac_ct_CC 2020 if test "x$ac_ct_CC" = x; then 2021 CC="" 2022 else 2023 case $cross_compiling:$ac_tool_warned in 2024 yes:) 2025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2026 whose name does not start with the host triplet. If you think this 2027 configuration is useful to you, please write to autoconf@gnu.org." >&5 2028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2029 whose name does not start with the host triplet. If you think this 2030 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2031 ac_tool_warned=yes ;; 2032 esac 2033 CC=$ac_ct_CC 2034 fi 1632 2035 fi 1633 2036 … … 1642 2045 1643 2046 # Provide some information about the compiler. 1644 echo "$as_me:$LINENO:" \ 1645 "checking for C compiler version" >&5 2047 echo "$as_me:$LINENO: checking for C compiler version" >&5 1646 2048 ac_compiler=`set X $ac_compile; echo $2` 1647 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1648 (eval $ac_compiler --version </dev/null >&5) 2>&5 2049 { (ac_try="$ac_compiler --version >&5" 2050 case "(($ac_try" in 2051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2052 *) ac_try_echo=$ac_try;; 2053 esac 2054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2055 (eval "$ac_compiler --version >&5") 2>&5 1649 2056 ac_status=$? 1650 2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1651 2058 (exit $ac_status); } 1652 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1653 (eval $ac_compiler -v </dev/null >&5) 2>&5 2059 { (ac_try="$ac_compiler -v >&5" 2060 case "(($ac_try" in 2061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2062 *) ac_try_echo=$ac_try;; 2063 esac 2064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2065 (eval "$ac_compiler -v >&5") 2>&5 1654 2066 ac_status=$? 1655 2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1656 2068 (exit $ac_status); } 1657 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1658 (eval $ac_compiler -V </dev/null >&5) 2>&5 2069 { (ac_try="$ac_compiler -V >&5" 2070 case "(($ac_try" in 2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2072 *) ac_try_echo=$ac_try;; 2073 esac 2074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2075 (eval "$ac_compiler -V >&5") 2>&5 1659 2076 ac_status=$? 1660 2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1681 2098 # It will help us diagnose broken compilers, and finding out an intuition 1682 2099 # of exeext. 1683 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51684 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2100 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2101 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1685 2102 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1686 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1687 (eval $ac_link_default) 2>&5 2103 # 2104 # List of possible output files, starting from the most likely. 2105 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2106 # only as a last resort. b.out is created by i960 compilers. 2107 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2108 # 2109 # The IRIX 6 linker writes into existing files which may not be 2110 # executable, retaining their permissions. Remove them first so a 2111 # subsequent execution test works. 2112 ac_rmfiles= 2113 for ac_file in $ac_files 2114 do 2115 case $ac_file in 2116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2117 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2118 esac 2119 done 2120 rm -f $ac_rmfiles 2121 2122 if { (ac_try="$ac_link_default" 2123 case "(($ac_try" in 2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2125 *) ac_try_echo=$ac_try;; 2126 esac 2127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2128 (eval "$ac_link_default") 2>&5 1688 2129 ac_status=$? 1689 2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1690 2131 (exit $ac_status); }; then 1691 # Find the output, starting from the most likely. This scheme is 1692 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1693 # resort. 1694 1695 # Be careful to initialize this variable, since it used to be cached. 1696 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1697 ac_cv_exeext= 1698 # b.out is created by i960 compilers. 1699 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2132 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2133 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2134 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2135 # so that the user can short-circuit this test for compilers unknown to 2136 # Autoconf. 2137 for ac_file in $ac_files 1700 2138 do 1701 2139 test -f "$ac_file" || continue 1702 2140 case $ac_file in 1703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1704 ;; 1705 conftest.$ac_ext ) 1706 # This is the source file. 2141 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1707 2142 ;; 1708 2143 [ab].out ) … … 1711 2146 break;; 1712 2147 *.* ) 1713 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1714 # FIXME: I believe we export ac_cv_exeext for Libtool, 1715 # but it would be cool to find out if it's true. Does anybody 1716 # maintain Libtool? --akim. 1717 export ac_cv_exeext 2148 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2149 then :; else 2150 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2151 fi 2152 # We set ac_cv_exeext here because the later test for it is not 2153 # safe: cross compilers may not add the suffix if given an `-o' 2154 # argument, so we may need to know it at that point already. 2155 # Even if this section looks crufty: it has the advantage of 2156 # actually working. 1718 2157 break;; 1719 2158 * ) … … 1721 2160 esac 1722 2161 done 2162 test "$ac_cv_exeext" = no && ac_cv_exeext= 2163 1723 2164 else 1724 2165 echo "$as_me: failed program was:" >&5 … … 1733 2174 1734 2175 ac_exeext=$ac_cv_exeext 1735 echo "$as_me:$LINENO: result: $ac_file" >&51736 echo "${ECHO_T}$ac_file" >&6 1737 1738 # Check th e compiler produces executables we can run. If not, either2176 { echo "$as_me:$LINENO: result: $ac_file" >&5 2177 echo "${ECHO_T}$ac_file" >&6; } 2178 2179 # Check that the compiler produces executables we can run. If not, either 1739 2180 # the compiler is broken, or we cross compile. 1740 echo "$as_me:$LINENO: checking whether the C compiler works" >&51741 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2181 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2182 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1742 2183 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1743 2184 # If not cross compiling, check that we can run a simple program. 1744 2185 if test "$cross_compiling" != yes; then 1745 2186 if { ac_try='./$ac_file' 1746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1747 (eval $ac_try) 2>&5 2187 { (case "(($ac_try" in 2188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2189 *) ac_try_echo=$ac_try;; 2190 esac 2191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2192 (eval "$ac_try") 2>&5 1748 2193 ac_status=$? 1749 2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1764 2209 fi 1765 2210 fi 1766 echo "$as_me:$LINENO: result: yes" >&51767 echo "${ECHO_T}yes" >&6 2211 { echo "$as_me:$LINENO: result: yes" >&5 2212 echo "${ECHO_T}yes" >&6; } 1768 2213 1769 2214 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1770 2215 ac_clean_files=$ac_clean_files_save 1771 # Check th e compiler produces executables we can run. If not, either2216 # Check that the compiler produces executables we can run. If not, either 1772 2217 # the compiler is broken, or we cross compile. 1773 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1774 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1775 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1776 echo "${ECHO_T}$cross_compiling" >&6 1777 1778 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1779 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1781 (eval $ac_link) 2>&5 2218 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2219 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2220 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2221 echo "${ECHO_T}$cross_compiling" >&6; } 2222 2223 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2224 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2225 if { (ac_try="$ac_link" 2226 case "(($ac_try" in 2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2228 *) ac_try_echo=$ac_try;; 2229 esac 2230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2231 (eval "$ac_link") 2>&5 1782 2232 ac_status=$? 1783 2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1790 2240 test -f "$ac_file" || continue 1791 2241 case $ac_file in 1792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1793 2243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1794 export ac_cv_exeext1795 2244 break;; 1796 2245 * ) break;; … … 1806 2255 1807 2256 rm -f conftest$ac_cv_exeext 1808 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51809 echo "${ECHO_T}$ac_cv_exeext" >&6 2257 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2258 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1810 2259 1811 2260 rm -f conftest.$ac_ext 1812 2261 EXEEXT=$ac_cv_exeext 1813 2262 ac_exeext=$EXEEXT 1814 echo "$as_me:$LINENO: checking for suffix of object files" >&51815 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2263 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2264 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1816 2265 if test "${ac_cv_objext+set}" = set; then 1817 2266 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1833 2282 _ACEOF 1834 2283 rm -f conftest.o conftest.obj 1835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1836 (eval $ac_compile) 2>&5 2284 if { (ac_try="$ac_compile" 2285 case "(($ac_try" in 2286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2287 *) ac_try_echo=$ac_try;; 2288 esac 2289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2290 (eval "$ac_compile") 2>&5 1837 2291 ac_status=$? 1838 2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1839 2293 (exit $ac_status); }; then 1840 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2294 for ac_file in conftest.o conftest.obj conftest.*; do 2295 test -f "$ac_file" || continue; 1841 2296 case $ac_file in 1842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1843 2298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1844 2299 break;; … … 1858 2313 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1859 2314 fi 1860 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51861 echo "${ECHO_T}$ac_cv_objext" >&6 2315 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2316 echo "${ECHO_T}$ac_cv_objext" >&6; } 1862 2317 OBJEXT=$ac_cv_objext 1863 2318 ac_objext=$OBJEXT 1864 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51865 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2319 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2320 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1866 2321 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1867 2322 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1886 2341 _ACEOF 1887 2342 rm -f conftest.$ac_objext 1888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1889 (eval $ac_compile) 2>conftest.er1 2343 if { (ac_try="$ac_compile" 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_compile") 2>conftest.er1 1890 2350 ac_status=$? 1891 2351 grep -v '^ *+' conftest.er1 >conftest.err … … 1894 2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1895 2355 (exit $ac_status); } && 1896 { ac_try='test -z "$ac_c_werror_flag" 1897 || test ! -s conftest.err' 1898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1899 (eval $ac_try) 2>&5 2356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2357 { (case "(($ac_try" in 2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2359 *) ac_try_echo=$ac_try;; 2360 esac 2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2362 (eval "$ac_try") 2>&5 1900 2363 ac_status=$? 1901 2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1902 2365 (exit $ac_status); }; } && 1903 2366 { ac_try='test -s conftest.$ac_objext' 1904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1905 (eval $ac_try) 2>&5 2367 { (case "(($ac_try" in 2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2369 *) ac_try_echo=$ac_try;; 2370 esac 2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2372 (eval "$ac_try") 2>&5 1906 2373 ac_status=$? 1907 2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1912 2379 sed 's/^/| /' conftest.$ac_ext >&5 1913 2380 1914 ac_compiler_gnu=no 1915 fi 1916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2381 ac_compiler_gnu=no 2382 fi 2383 2384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1917 2385 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1918 2386 1919 2387 fi 1920 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&51921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2388 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2389 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 1922 2390 GCC=`test $ac_compiler_gnu = yes && echo yes` 1923 2391 ac_test_CFLAGS=${CFLAGS+set} 1924 2392 ac_save_CFLAGS=$CFLAGS 1925 CFLAGS="-g" 1926 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1927 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2393 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2394 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 1928 2395 if test "${ac_cv_prog_cc_g+set}" = set; then 1929 2396 echo $ECHO_N "(cached) $ECHO_C" >&6 1930 2397 else 1931 cat >conftest.$ac_ext <<_ACEOF 2398 ac_save_c_werror_flag=$ac_c_werror_flag 2399 ac_c_werror_flag=yes 2400 ac_cv_prog_cc_g=no 2401 CFLAGS="-g" 2402 cat >conftest.$ac_ext <<_ACEOF 1932 2403 /* confdefs.h. */ 1933 2404 _ACEOF … … 1945 2416 _ACEOF 1946 2417 rm -f conftest.$ac_objext 1947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1948 (eval $ac_compile) 2>conftest.er1 2418 if { (ac_try="$ac_compile" 2419 case "(($ac_try" in 2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2421 *) ac_try_echo=$ac_try;; 2422 esac 2423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2424 (eval "$ac_compile") 2>conftest.er1 1949 2425 ac_status=$? 1950 2426 grep -v '^ *+' conftest.er1 >conftest.err … … 1953 2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1954 2430 (exit $ac_status); } && 1955 { ac_try='test -z "$ac_c_werror_flag" 1956 || test ! -s conftest.err' 1957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1958 (eval $ac_try) 2>&5 2431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2432 { (case "(($ac_try" in 2433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2434 *) ac_try_echo=$ac_try;; 2435 esac 2436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2437 (eval "$ac_try") 2>&5 1959 2438 ac_status=$? 1960 2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1961 2440 (exit $ac_status); }; } && 1962 2441 { ac_try='test -s conftest.$ac_objext' 1963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1964 (eval $ac_try) 2>&5 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_try") 2>&5 1965 2448 ac_status=$? 1966 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1971 2454 sed 's/^/| /' conftest.$ac_ext >&5 1972 2455 1973 ac_cv_prog_cc_g=no 1974 fi 1975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1976 fi 1977 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1978 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2456 CFLAGS="" 2457 cat >conftest.$ac_ext <<_ACEOF 2458 /* confdefs.h. */ 2459 _ACEOF 2460 cat confdefs.h >>conftest.$ac_ext 2461 cat >>conftest.$ac_ext <<_ACEOF 2462 /* end confdefs.h. */ 2463 2464 int 2465 main () 2466 { 2467 2468 ; 2469 return 0; 2470 } 2471 _ACEOF 2472 rm -f conftest.$ac_objext 2473 if { (ac_try="$ac_compile" 2474 case "(($ac_try" in 2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2476 *) ac_try_echo=$ac_try;; 2477 esac 2478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2479 (eval "$ac_compile") 2>conftest.er1 2480 ac_status=$? 2481 grep -v '^ *+' conftest.er1 >conftest.err 2482 rm -f conftest.er1 2483 cat conftest.err >&5 2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2485 (exit $ac_status); } && 2486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2487 { (case "(($ac_try" in 2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2489 *) ac_try_echo=$ac_try;; 2490 esac 2491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2492 (eval "$ac_try") 2>&5 2493 ac_status=$? 2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); }; } && 2496 { ac_try='test -s conftest.$ac_objext' 2497 { (case "(($ac_try" in 2498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2499 *) ac_try_echo=$ac_try;; 2500 esac 2501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2502 (eval "$ac_try") 2>&5 2503 ac_status=$? 2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2505 (exit $ac_status); }; }; then 2506 : 2507 else 2508 echo "$as_me: failed program was:" >&5 2509 sed 's/^/| /' conftest.$ac_ext >&5 2510 2511 ac_c_werror_flag=$ac_save_c_werror_flag 2512 CFLAGS="-g" 2513 cat >conftest.$ac_ext <<_ACEOF 2514 /* confdefs.h. */ 2515 _ACEOF 2516 cat confdefs.h >>conftest.$ac_ext 2517 cat >>conftest.$ac_ext <<_ACEOF 2518 /* end confdefs.h. */ 2519 2520 int 2521 main () 2522 { 2523 2524 ; 2525 return 0; 2526 } 2527 _ACEOF 2528 rm -f conftest.$ac_objext 2529 if { (ac_try="$ac_compile" 2530 case "(($ac_try" in 2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2532 *) ac_try_echo=$ac_try;; 2533 esac 2534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2535 (eval "$ac_compile") 2>conftest.er1 2536 ac_status=$? 2537 grep -v '^ *+' conftest.er1 >conftest.err 2538 rm -f conftest.er1 2539 cat conftest.err >&5 2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2541 (exit $ac_status); } && 2542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2543 { (case "(($ac_try" in 2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2545 *) ac_try_echo=$ac_try;; 2546 esac 2547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2548 (eval "$ac_try") 2>&5 2549 ac_status=$? 2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2551 (exit $ac_status); }; } && 2552 { ac_try='test -s conftest.$ac_objext' 2553 { (case "(($ac_try" in 2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2555 *) ac_try_echo=$ac_try;; 2556 esac 2557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2558 (eval "$ac_try") 2>&5 2559 ac_status=$? 2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2561 (exit $ac_status); }; }; then 2562 ac_cv_prog_cc_g=yes 2563 else 2564 echo "$as_me: failed program was:" >&5 2565 sed 's/^/| /' conftest.$ac_ext >&5 2566 2567 2568 fi 2569 2570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2571 fi 2572 2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2574 fi 2575 2576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2577 ac_c_werror_flag=$ac_save_c_werror_flag 2578 fi 2579 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2580 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 1979 2581 if test "$ac_test_CFLAGS" = set; then 1980 2582 CFLAGS=$ac_save_CFLAGS … … 1992 2594 fi 1993 2595 fi 1994 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&51995 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&61996 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2596 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2597 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2598 if test "${ac_cv_prog_cc_c89+set}" = set; then 1997 2599 echo $ECHO_N "(cached) $ECHO_C" >&6 1998 2600 else 1999 ac_cv_prog_cc_ stdc=no2601 ac_cv_prog_cc_c89=no 2000 2602 ac_save_CC=$CC 2001 2603 cat >conftest.$ac_ext <<_ACEOF … … 2031 2633 function prototypes and stuff, but not '\xHH' hex character constants. 2032 2634 These don't provoke an error unfortunately, instead are silently treated 2033 as 'x'. The following induces an error, until -std 1is added to get2635 as 'x'. The following induces an error, until -std is added to get 2034 2636 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2035 2637 array size at least. It's necessary to write '\x00'==0 to get something 2036 that's true only with -std 1. */2638 that's true only with -std. */ 2037 2639 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2640 2641 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2642 inside strings and character constants. */ 2643 #define FOO(x) 'x' 2644 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2038 2645 2039 2646 int test (int i, double x); … … 2051 2658 } 2052 2659 _ACEOF 2053 # Don't try gcc -ansi; that turns off useful extensions and 2054 # breaks some systems' header files. 2055 # AIX -qlanglvl=ansi 2056 # Ultrix and OSF/1 -std1 2057 # HP-UX 10.20 and later -Ae 2058 # HP-UX older versions -Aa -D_HPUX_SOURCE 2059 # SVR4 -Xc -D__EXTENSIONS__ 2060 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2660 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2661 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2061 2662 do 2062 2663 CC="$ac_save_CC $ac_arg" 2063 2664 rm -f conftest.$ac_objext 2064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2065 (eval $ac_compile) 2>conftest.er1 2665 if { (ac_try="$ac_compile" 2666 case "(($ac_try" in 2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2668 *) ac_try_echo=$ac_try;; 2669 esac 2670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2671 (eval "$ac_compile") 2>conftest.er1 2066 2672 ac_status=$? 2067 2673 grep -v '^ *+' conftest.er1 >conftest.err … … 2070 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2071 2677 (exit $ac_status); } && 2072 { ac_try='test -z "$ac_c_werror_flag" 2073 || test ! -s conftest.err' 2074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2075 (eval $ac_try) 2>&5 2678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2679 { (case "(($ac_try" in 2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2681 *) ac_try_echo=$ac_try;; 2682 esac 2683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2684 (eval "$ac_try") 2>&5 2076 2685 ac_status=$? 2077 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2078 2687 (exit $ac_status); }; } && 2079 2688 { ac_try='test -s conftest.$ac_objext' 2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2081 (eval $ac_try) 2>&5 2689 { (case "(($ac_try" in 2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2691 *) ac_try_echo=$ac_try;; 2692 esac 2693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2694 (eval "$ac_try") 2>&5 2082 2695 ac_status=$? 2083 2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2084 2697 (exit $ac_status); }; }; then 2085 ac_cv_prog_cc_stdc=$ac_arg 2086 break 2698 ac_cv_prog_cc_c89=$ac_arg 2087 2699 else 2088 2700 echo "$as_me: failed program was:" >&5 2089 2701 sed 's/^/| /' conftest.$ac_ext >&5 2090 2702 2091 fi 2092 rm -f conftest.err conftest.$ac_objext 2703 2704 fi 2705 2706 rm -f core conftest.err conftest.$ac_objext 2707 test "x$ac_cv_prog_cc_c89" != "xno" && break 2093 2708 done 2094 rm -f conftest.$ac_ext conftest.$ac_objext2709 rm -f conftest.$ac_ext 2095 2710 CC=$ac_save_CC 2096 2711 2097 2712 fi 2098 2099 case "x$ac_cv_prog_cc_stdc" in 2100 x|xno) 2101 echo "$as_me:$LINENO: result: none needed" >&5 2102 echo "${ECHO_T}none needed" >&6 ;; 2713 # AC_CACHE_VAL 2714 case "x$ac_cv_prog_cc_c89" in 2715 x) 2716 { echo "$as_me:$LINENO: result: none needed" >&5 2717 echo "${ECHO_T}none needed" >&6; } ;; 2718 xno) 2719 { echo "$as_me:$LINENO: result: unsupported" >&5 2720 echo "${ECHO_T}unsupported" >&6; } ;; 2103 2721 *) 2104 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2105 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2106 CC="$CC $ac_cv_prog_cc_stdc" ;; 2107 esac 2108 2109 # Some people use a C++ compiler to compile C. Since we use `exit', 2110 # in C++ we need to declare it. In case someone uses the same compiler 2111 # for both compiling C and C++ we need to have the C++ compiler decide 2112 # the declaration of exit, since it's the most demanding environment. 2113 cat >conftest.$ac_ext <<_ACEOF 2114 #ifndef __cplusplus 2115 choke me 2116 #endif 2117 _ACEOF 2118 rm -f conftest.$ac_objext 2119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2120 (eval $ac_compile) 2>conftest.er1 2121 ac_status=$? 2122 grep -v '^ *+' conftest.er1 >conftest.err 2123 rm -f conftest.er1 2124 cat conftest.err >&5 2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2126 (exit $ac_status); } && 2127 { ac_try='test -z "$ac_c_werror_flag" 2128 || test ! -s conftest.err' 2129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2130 (eval $ac_try) 2>&5 2131 ac_status=$? 2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2133 (exit $ac_status); }; } && 2134 { ac_try='test -s conftest.$ac_objext' 2135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2136 (eval $ac_try) 2>&5 2137 ac_status=$? 2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2139 (exit $ac_status); }; }; then 2140 for ac_declaration in \ 2141 '' \ 2142 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2143 'extern "C" void std::exit (int); using std::exit;' \ 2144 'extern "C" void exit (int) throw ();' \ 2145 'extern "C" void exit (int);' \ 2146 'void exit (int);' 2147 do 2148 cat >conftest.$ac_ext <<_ACEOF 2149 /* confdefs.h. */ 2150 _ACEOF 2151 cat confdefs.h >>conftest.$ac_ext 2152 cat >>conftest.$ac_ext <<_ACEOF 2153 /* end confdefs.h. */ 2154 $ac_declaration 2155 #include <stdlib.h> 2156 int 2157 main () 2158 { 2159 exit (42); 2160 ; 2161 return 0; 2162 } 2163 _ACEOF 2164 rm -f conftest.$ac_objext 2165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2166 (eval $ac_compile) 2>conftest.er1 2167 ac_status=$? 2168 grep -v '^ *+' conftest.er1 >conftest.err 2169 rm -f conftest.er1 2170 cat conftest.err >&5 2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2172 (exit $ac_status); } && 2173 { ac_try='test -z "$ac_c_werror_flag" 2174 || test ! -s conftest.err' 2175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2176 (eval $ac_try) 2>&5 2177 ac_status=$? 2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2179 (exit $ac_status); }; } && 2180 { ac_try='test -s conftest.$ac_objext' 2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2182 (eval $ac_try) 2>&5 2183 ac_status=$? 2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2185 (exit $ac_status); }; }; then 2186 : 2187 else 2188 echo "$as_me: failed program was:" >&5 2189 sed 's/^/| /' conftest.$ac_ext >&5 2190 2191 continue 2192 fi 2193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2194 cat >conftest.$ac_ext <<_ACEOF 2195 /* confdefs.h. */ 2196 _ACEOF 2197 cat confdefs.h >>conftest.$ac_ext 2198 cat >>conftest.$ac_ext <<_ACEOF 2199 /* end confdefs.h. */ 2200 $ac_declaration 2201 int 2202 main () 2203 { 2204 exit (42); 2205 ; 2206 return 0; 2207 } 2208 _ACEOF 2209 rm -f conftest.$ac_objext 2210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2211 (eval $ac_compile) 2>conftest.er1 2212 ac_status=$? 2213 grep -v '^ *+' conftest.er1 >conftest.err 2214 rm -f conftest.er1 2215 cat conftest.err >&5 2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2217 (exit $ac_status); } && 2218 { ac_try='test -z "$ac_c_werror_flag" 2219 || test ! -s conftest.err' 2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2221 (eval $ac_try) 2>&5 2222 ac_status=$? 2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2224 (exit $ac_status); }; } && 2225 { ac_try='test -s conftest.$ac_objext' 2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2227 (eval $ac_try) 2>&5 2228 ac_status=$? 2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2230 (exit $ac_status); }; }; then 2231 break 2232 else 2233 echo "$as_me: failed program was:" >&5 2234 sed 's/^/| /' conftest.$ac_ext >&5 2235 2236 fi 2237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2238 done 2239 rm -f conftest* 2240 if test -n "$ac_declaration"; then 2241 echo '#ifdef __cplusplus' >>confdefs.h 2242 echo $ac_declaration >>confdefs.h 2243 echo '#endif' >>confdefs.h 2244 fi 2245 2246 else 2247 echo "$as_me: failed program was:" >&5 2248 sed 's/^/| /' conftest.$ac_ext >&5 2249 2250 fi 2251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2722 CC="$CC $ac_cv_prog_cc_c89" 2723 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2724 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2725 esac 2726 2727 2252 2728 ac_ext=c 2253 2729 ac_cpp='$CPP $CPPFLAGS' … … 2260 2736 # Extract the first word of "$ac_prog", so it can be a program name with args. 2261 2737 set dummy $ac_prog; ac_word=$2 2262 echo "$as_me:$LINENO: checking for $ac_word" >&52263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2738 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2264 2740 if test "${ac_cv_prog_YACC+set}" = set; then 2265 2741 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2274 2750 test -z "$as_dir" && as_dir=. 2275 2751 for ac_exec_ext in '' $ac_executable_extensions; do 2276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2277 2753 ac_cv_prog_YACC="$ac_prog" 2278 2754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2281 2757 done 2282 2758 done 2759 IFS=$as_save_IFS 2283 2760 2284 2761 fi … … 2286 2763 YACC=$ac_cv_prog_YACC 2287 2764 if test -n "$YACC"; then 2288 echo "$as_me:$LINENO: result: $YACC" >&5 2289 echo "${ECHO_T}$YACC" >&6 2290 else 2291 echo "$as_me:$LINENO: result: no" >&5 2292 echo "${ECHO_T}no" >&6 2293 fi 2765 { echo "$as_me:$LINENO: result: $YACC" >&5 2766 echo "${ECHO_T}$YACC" >&6; } 2767 else 2768 { echo "$as_me:$LINENO: result: no" >&5 2769 echo "${ECHO_T}no" >&6; } 2770 fi 2771 2294 2772 2295 2773 test -n "$YACC" && break … … 2302 2780 # Extract the first word of "$ac_prog", so it can be a program name with args. 2303 2781 set dummy $ac_prog; ac_word=$2 2304 echo "$as_me:$LINENO: checking for $ac_word" >&52305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2782 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2306 2784 if test "${ac_cv_prog_LEX+set}" = set; then 2307 2785 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2316 2794 test -z "$as_dir" && as_dir=. 2317 2795 for ac_exec_ext in '' $ac_executable_extensions; do 2318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2319 2797 ac_cv_prog_LEX="$ac_prog" 2320 2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2323 2801 done 2324 2802 done 2803 IFS=$as_save_IFS 2325 2804 2326 2805 fi … … 2328 2807 LEX=$ac_cv_prog_LEX 2329 2808 if test -n "$LEX"; then 2330 echo "$as_me:$LINENO: result: $LEX" >&5 2331 echo "${ECHO_T}$LEX" >&6 2332 else 2333 echo "$as_me:$LINENO: result: no" >&5 2334 echo "${ECHO_T}no" >&6 2335 fi 2809 { echo "$as_me:$LINENO: result: $LEX" >&5 2810 echo "${ECHO_T}$LEX" >&6; } 2811 else 2812 { echo "$as_me:$LINENO: result: no" >&5 2813 echo "${ECHO_T}no" >&6; } 2814 fi 2815 2336 2816 2337 2817 test -n "$LEX" && break … … 2341 2821 if test -z "$LEXLIB" 2342 2822 then 2343 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&52344 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 2823 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 2824 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; } 2345 2825 if test "${ac_cv_lib_fl_yywrap+set}" = set; then 2346 2826 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2355 2835 /* end confdefs.h. */ 2356 2836 2357 /* Override any gcc2 internal prototype to avoid an error. */ 2837 /* Override any GCC internal prototype to avoid an error. 2838 Use char because int might match the return type of a GCC 2839 builtin and then its argument prototype would still apply. */ 2358 2840 #ifdef __cplusplus 2359 2841 extern "C" 2360 2842 #endif 2361 /* We use char because int might match the return type of a gcc22362 builtin and then its argument prototype would still apply. */2363 2843 char yywrap (); 2364 2844 int 2365 2845 main () 2366 2846 { 2367 yywrap ();2847 return yywrap (); 2368 2848 ; 2369 2849 return 0; … … 2371 2851 _ACEOF 2372 2852 rm -f conftest.$ac_objext conftest$ac_exeext 2373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2374 (eval $ac_link) 2>conftest.er1 2853 if { (ac_try="$ac_link" 2854 case "(($ac_try" in 2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2856 *) ac_try_echo=$ac_try;; 2857 esac 2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2859 (eval "$ac_link") 2>conftest.er1 2375 2860 ac_status=$? 2376 2861 grep -v '^ *+' conftest.er1 >conftest.err … … 2379 2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2380 2865 (exit $ac_status); } && 2381 { ac_try='test -z "$ac_c_werror_flag" 2382 || test ! -s conftest.err' 2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2384 (eval $ac_try) 2>&5 2866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2867 { (case "(($ac_try" in 2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2869 *) ac_try_echo=$ac_try;; 2870 esac 2871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2872 (eval "$ac_try") 2>&5 2385 2873 ac_status=$? 2386 2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2387 2875 (exit $ac_status); }; } && 2388 2876 { ac_try='test -s conftest$ac_exeext' 2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2390 (eval $ac_try) 2>&5 2877 { (case "(($ac_try" in 2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2879 *) ac_try_echo=$ac_try;; 2880 esac 2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2882 (eval "$ac_try") 2>&5 2391 2883 ac_status=$? 2392 2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2397 2889 sed 's/^/| /' conftest.$ac_ext >&5 2398 2890 2399 ac_cv_lib_fl_yywrap=no 2400 fi 2401 rm -f conftest.err conftest.$ac_objext \ 2891 ac_cv_lib_fl_yywrap=no 2892 fi 2893 2894 rm -f core conftest.err conftest.$ac_objext \ 2402 2895 conftest$ac_exeext conftest.$ac_ext 2403 2896 LIBS=$ac_check_lib_save_LIBS 2404 2897 fi 2405 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&52406 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 2898 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 2899 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; } 2407 2900 if test $ac_cv_lib_fl_yywrap = yes; then 2408 2901 LEXLIB="-lfl" 2409 2902 else 2410 echo "$as_me:$LINENO: checking for yywrap in -ll" >&52411 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 2903 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 2904 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; } 2412 2905 if test "${ac_cv_lib_l_yywrap+set}" = set; then 2413 2906 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2422 2915 /* end confdefs.h. */ 2423 2916 2424 /* Override any gcc2 internal prototype to avoid an error. */ 2917 /* Override any GCC internal prototype to avoid an error. 2918 Use char because int might match the return type of a GCC 2919 builtin and then its argument prototype would still apply. */ 2425 2920 #ifdef __cplusplus 2426 2921 extern "C" 2427 2922 #endif 2428 /* We use char because int might match the return type of a gcc22429 builtin and then its argument prototype would still apply. */2430 2923 char yywrap (); 2431 2924 int 2432 2925 main () 2433 2926 { 2434 yywrap ();2927 return yywrap (); 2435 2928 ; 2436 2929 return 0; … … 2438 2931 _ACEOF 2439 2932 rm -f conftest.$ac_objext conftest$ac_exeext 2440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2441 (eval $ac_link) 2>conftest.er1 2933 if { (ac_try="$ac_link" 2934 case "(($ac_try" in 2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2936 *) ac_try_echo=$ac_try;; 2937 esac 2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2939 (eval "$ac_link") 2>conftest.er1 2442 2940 ac_status=$? 2443 2941 grep -v '^ *+' conftest.er1 >conftest.err … … 2446 2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2447 2945 (exit $ac_status); } && 2448 { ac_try='test -z "$ac_c_werror_flag" 2449 || test ! -s conftest.err' 2450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2451 (eval $ac_try) 2>&5 2946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2947 { (case "(($ac_try" in 2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2949 *) ac_try_echo=$ac_try;; 2950 esac 2951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2952 (eval "$ac_try") 2>&5 2452 2953 ac_status=$? 2453 2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2454 2955 (exit $ac_status); }; } && 2455 2956 { ac_try='test -s conftest$ac_exeext' 2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2457 (eval $ac_try) 2>&5 2957 { (case "(($ac_try" in 2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2959 *) ac_try_echo=$ac_try;; 2960 esac 2961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2962 (eval "$ac_try") 2>&5 2458 2963 ac_status=$? 2459 2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2464 2969 sed 's/^/| /' conftest.$ac_ext >&5 2465 2970 2466 ac_cv_lib_l_yywrap=no 2467 fi 2468 rm -f conftest.err conftest.$ac_objext \ 2971 ac_cv_lib_l_yywrap=no 2972 fi 2973 2974 rm -f core conftest.err conftest.$ac_objext \ 2469 2975 conftest$ac_exeext conftest.$ac_ext 2470 2976 LIBS=$ac_check_lib_save_LIBS 2471 2977 fi 2472 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&52473 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 2978 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 2979 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; } 2474 2980 if test $ac_cv_lib_l_yywrap = yes; then 2475 2981 LEXLIB="-ll" … … 2481 2987 2482 2988 if test "x$LEX" != "x:"; then 2483 echo "$as_me:$LINENO: checking lex output file root" >&52484 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 2989 { echo "$as_me:$LINENO: checking lex output file root" >&5 2990 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; } 2485 2991 if test "${ac_cv_prog_lex_root+set}" = set; then 2486 2992 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2492 2998 %% 2493 2999 _ACEOF 2494 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 2495 (eval $LEX conftest.l) 2>&5 3000 { (ac_try="$LEX conftest.l" 3001 case "(($ac_try" in 3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3003 *) ac_try_echo=$ac_try;; 3004 esac 3005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3006 (eval "$LEX conftest.l") 2>&5 2496 3007 ac_status=$? 2497 3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2507 3018 fi 2508 3019 fi 2509 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&52510 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 3020 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 3021 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; } 2511 3022 rm -f conftest.l 2512 3023 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 2513 3024 2514 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&52515 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 3025 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 3026 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; } 2516 3027 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 2517 3028 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2528 3039 _ACEOF 2529 3040 rm -f conftest.$ac_objext conftest$ac_exeext 2530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2531 (eval $ac_link) 2>conftest.er1 3041 if { (ac_try="$ac_link" 3042 case "(($ac_try" in 3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 *) ac_try_echo=$ac_try;; 3045 esac 3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3047 (eval "$ac_link") 2>conftest.er1 2532 3048 ac_status=$? 2533 3049 grep -v '^ *+' conftest.er1 >conftest.err … … 2536 3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2537 3053 (exit $ac_status); } && 2538 { ac_try='test -z "$ac_c_werror_flag" 2539 || test ! -s conftest.err' 2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2541 (eval $ac_try) 2>&5 3054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3055 { (case "(($ac_try" in 3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3057 *) ac_try_echo=$ac_try;; 3058 esac 3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3060 (eval "$ac_try") 2>&5 2542 3061 ac_status=$? 2543 3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 3063 (exit $ac_status); }; } && 2545 3064 { ac_try='test -s conftest$ac_exeext' 2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2547 (eval $ac_try) 2>&5 3065 { (case "(($ac_try" in 3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3067 *) ac_try_echo=$ac_try;; 3068 esac 3069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3070 (eval "$ac_try") 2>&5 2548 3071 ac_status=$? 2549 3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2554 3077 sed 's/^/| /' conftest.$ac_ext >&5 2555 3078 2556 fi 2557 rm -f conftest.err conftest.$ac_objext \ 3079 3080 fi 3081 3082 rm -f core conftest.err conftest.$ac_objext \ 2558 3083 conftest$ac_exeext conftest.$ac_ext 2559 3084 LIBS=$ac_save_LIBS … … 2561 3086 2562 3087 fi 2563 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&52564 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 3088 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 3089 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; } 2565 3090 if test $ac_cv_prog_lex_yytext_pointer = yes; then 2566 3091 … … 2576 3101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 2577 3102 set dummy ${ac_tool_prefix}ar; ac_word=$2 2578 echo "$as_me:$LINENO: checking for $ac_word" >&52579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3103 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2580 3105 if test "${ac_cv_prog_AR+set}" = set; then 2581 3106 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2590 3115 test -z "$as_dir" && as_dir=. 2591 3116 for ac_exec_ext in '' $ac_executable_extensions; do 2592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2593 3118 ac_cv_prog_AR="${ac_tool_prefix}ar" 2594 3119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2597 3122 done 2598 3123 done 3124 IFS=$as_save_IFS 2599 3125 2600 3126 fi … … 2602 3128 AR=$ac_cv_prog_AR 2603 3129 if test -n "$AR"; then 2604 echo "$as_me:$LINENO: result: $AR" >&5 2605 echo "${ECHO_T}$AR" >&6 2606 else 2607 echo "$as_me:$LINENO: result: no" >&5 2608 echo "${ECHO_T}no" >&6 2609 fi 3130 { echo "$as_me:$LINENO: result: $AR" >&5 3131 echo "${ECHO_T}$AR" >&6; } 3132 else 3133 { echo "$as_me:$LINENO: result: no" >&5 3134 echo "${ECHO_T}no" >&6; } 3135 fi 3136 2610 3137 2611 3138 fi … … 2614 3141 # Extract the first word of "ar", so it can be a program name with args. 2615 3142 set dummy ar; ac_word=$2 2616 echo "$as_me:$LINENO: checking for $ac_word" >&52617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3143 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2618 3145 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 2619 3146 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2628 3155 test -z "$as_dir" && as_dir=. 2629 3156 for ac_exec_ext in '' $ac_executable_extensions; do 2630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2631 3158 ac_cv_prog_ac_ct_AR="ar" 2632 3159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2635 3162 done 2636 3163 done 3164 IFS=$as_save_IFS 2637 3165 2638 3166 fi … … 2640 3168 ac_ct_AR=$ac_cv_prog_ac_ct_AR 2641 3169 if test -n "$ac_ct_AR"; then 2642 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 2643 echo "${ECHO_T}$ac_ct_AR" >&6 2644 else 2645 echo "$as_me:$LINENO: result: no" >&5 2646 echo "${ECHO_T}no" >&6 2647 fi 2648 2649 AR=$ac_ct_AR 3170 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 3171 echo "${ECHO_T}$ac_ct_AR" >&6; } 3172 else 3173 { echo "$as_me:$LINENO: result: no" >&5 3174 echo "${ECHO_T}no" >&6; } 3175 fi 3176 3177 if test "x$ac_ct_AR" = x; then 3178 AR="" 3179 else 3180 case $cross_compiling:$ac_tool_warned in 3181 yes:) 3182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3183 whose name does not start with the host triplet. If you think this 3184 configuration is useful to you, please write to autoconf@gnu.org." >&5 3185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3186 whose name does not start with the host triplet. If you think this 3187 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3188 ac_tool_warned=yes ;; 3189 esac 3190 AR=$ac_ct_AR 3191 fi 2650 3192 else 2651 3193 AR="$ac_cv_prog_AR" … … 2655 3197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2656 3198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2657 echo "$as_me:$LINENO: checking for $ac_word" >&52658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3199 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2659 3201 if test "${ac_cv_prog_RANLIB+set}" = set; then 2660 3202 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2669 3211 test -z "$as_dir" && as_dir=. 2670 3212 for ac_exec_ext in '' $ac_executable_extensions; do 2671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2672 3214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2673 3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2676 3218 done 2677 3219 done 3220 IFS=$as_save_IFS 2678 3221 2679 3222 fi … … 2681 3224 RANLIB=$ac_cv_prog_RANLIB 2682 3225 if test -n "$RANLIB"; then 2683 echo "$as_me:$LINENO: result: $RANLIB" >&5 2684 echo "${ECHO_T}$RANLIB" >&6 2685 else 2686 echo "$as_me:$LINENO: result: no" >&5 2687 echo "${ECHO_T}no" >&6 2688 fi 3226 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3227 echo "${ECHO_T}$RANLIB" >&6; } 3228 else 3229 { echo "$as_me:$LINENO: result: no" >&5 3230 echo "${ECHO_T}no" >&6; } 3231 fi 3232 2689 3233 2690 3234 fi … … 2693 3237 # Extract the first word of "ranlib", so it can be a program name with args. 2694 3238 set dummy ranlib; ac_word=$2 2695 echo "$as_me:$LINENO: checking for $ac_word" >&52696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3239 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2697 3241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2698 3242 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2707 3251 test -z "$as_dir" && as_dir=. 2708 3252 for ac_exec_ext in '' $ac_executable_extensions; do 2709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 2710 3254 ac_cv_prog_ac_ct_RANLIB="ranlib" 2711 3255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2714 3258 done 2715 3259 done 2716 2717 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3260 IFS=$as_save_IFS 3261 2718 3262 fi 2719 3263 fi 2720 3264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2721 3265 if test -n "$ac_ct_RANLIB"; then 2722 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 2723 echo "${ECHO_T}$ac_ct_RANLIB" >&6 2724 else 2725 echo "$as_me:$LINENO: result: no" >&5 2726 echo "${ECHO_T}no" >&6 2727 fi 2728 2729 RANLIB=$ac_ct_RANLIB 3266 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3267 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3268 else 3269 { echo "$as_me:$LINENO: result: no" >&5 3270 echo "${ECHO_T}no" >&6; } 3271 fi 3272 3273 if test "x$ac_ct_RANLIB" = x; then 3274 RANLIB=":" 3275 else 3276 case $cross_compiling:$ac_tool_warned in 3277 yes:) 3278 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3279 whose name does not start with the host triplet. If you think this 3280 configuration is useful to you, please write to autoconf@gnu.org." >&5 3281 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3282 whose name does not start with the host triplet. If you think this 3283 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3284 ac_tool_warned=yes ;; 3285 esac 3286 RANLIB=$ac_ct_RANLIB 3287 fi 2730 3288 else 2731 3289 RANLIB="$ac_cv_prog_RANLIB" … … 2735 3293 # 2736 3294 ac_aux_dir= 2737 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2738 if test -f $ac_dir/install-sh; then3295 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3296 if test -f "$ac_dir/install-sh"; then 2739 3297 ac_aux_dir=$ac_dir 2740 3298 ac_install_sh="$ac_aux_dir/install-sh -c" 2741 3299 break 2742 elif test -f $ac_dir/install.sh; then3300 elif test -f "$ac_dir/install.sh"; then 2743 3301 ac_aux_dir=$ac_dir 2744 3302 ac_install_sh="$ac_aux_dir/install.sh -c" 2745 3303 break 2746 elif test -f $ac_dir/shtool; then3304 elif test -f "$ac_dir/shtool"; then 2747 3305 ac_aux_dir=$ac_dir 2748 3306 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2751 3309 done 2752 3310 if test -z "$ac_aux_dir"; then 2753 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52754 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3311 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3312 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2755 3313 { (exit 1); exit 1; }; } 2756 3314 fi 2757 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2758 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2759 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3315 3316 # These three variables are undocumented and unsupported, 3317 # and are intended to be withdrawn in a future Autoconf release. 3318 # They can cause serious problems if a builder's source tree is in a directory 3319 # whose full name contains unusual characters. 3320 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3321 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3322 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3323 2760 3324 2761 3325 # Make sure we can run config.sub. 2762 $ ac_config_subsun4 >/dev/null 2>&1 ||2763 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&52764 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}3326 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3327 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3328 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2765 3329 { (exit 1); exit 1; }; } 2766 3330 2767 echo "$as_me:$LINENO: checking build system type" >&52768 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3331 { echo "$as_me:$LINENO: checking build system type" >&5 3332 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2769 3333 if test "${ac_cv_build+set}" = set; then 2770 3334 echo $ECHO_N "(cached) $ECHO_C" >&6 2771 3335 else 2772 ac_ cv_build_alias=$build_alias2773 test -z "$ac_cv_build_alias"&&2774 ac_ cv_build_alias=`$ac_config_guess`2775 test -z "$ac_cv_build_alias"&&3336 ac_build_alias=$build_alias 3337 test "x$ac_build_alias" = x && 3338 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3339 test "x$ac_build_alias" = x && 2776 3340 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2777 3341 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2778 3342 { (exit 1); exit 1; }; } 2779 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||2780 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&52781 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}3343 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3344 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3345 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2782 3346 { (exit 1); exit 1; }; } 2783 3347 2784 3348 fi 2785 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2786 echo "${ECHO_T}$ac_cv_build" >&6 3349 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3350 echo "${ECHO_T}$ac_cv_build" >&6; } 3351 case $ac_cv_build in 3352 *-*-*) ;; 3353 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3354 echo "$as_me: error: invalid value of canonical build" >&2;} 3355 { (exit 1); exit 1; }; };; 3356 esac 2787 3357 build=$ac_cv_build 2788 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2789 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2790 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2791 2792 2793 echo "$as_me:$LINENO: checking host system type" >&5 2794 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3358 ac_save_IFS=$IFS; IFS='-' 3359 set x $ac_cv_build 3360 shift 3361 build_cpu=$1 3362 build_vendor=$2 3363 shift; shift 3364 # Remember, the first character of IFS is used to create $*, 3365 # except with old shells: 3366 build_os=$* 3367 IFS=$ac_save_IFS 3368 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3369 3370 3371 { echo "$as_me:$LINENO: checking host system type" >&5 3372 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2795 3373 if test "${ac_cv_host+set}" = set; then 2796 3374 echo $ECHO_N "(cached) $ECHO_C" >&6 2797 3375 else 2798 ac_cv_host_alias=$host_alias2799 test -z "$ac_cv_host_alias" && 2800 ac_cv_host_alias=$ac_cv_build_alias 2801 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||2802 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&52803 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}3376 if test "x$host_alias" = x; then 3377 ac_cv_host=$ac_cv_build 3378 else 3379 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3380 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3381 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2804 3382 { (exit 1); exit 1; }; } 2805 2806 fi 2807 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2808 echo "${ECHO_T}$ac_cv_host" >&6 3383 fi 3384 3385 fi 3386 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3387 echo "${ECHO_T}$ac_cv_host" >&6; } 3388 case $ac_cv_host in 3389 *-*-*) ;; 3390 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3391 echo "$as_me: error: invalid value of canonical host" >&2;} 3392 { (exit 1); exit 1; }; };; 3393 esac 2809 3394 host=$ac_cv_host 2810 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2811 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2812 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2813 2814 2815 echo "$as_me:$LINENO: checking target system type" >&5 2816 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3395 ac_save_IFS=$IFS; IFS='-' 3396 set x $ac_cv_host 3397 shift 3398 host_cpu=$1 3399 host_vendor=$2 3400 shift; shift 3401 # Remember, the first character of IFS is used to create $*, 3402 # except with old shells: 3403 host_os=$* 3404 IFS=$ac_save_IFS 3405 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3406 3407 3408 { echo "$as_me:$LINENO: checking target system type" >&5 3409 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 2817 3410 if test "${ac_cv_target+set}" = set; then 2818 3411 echo $ECHO_N "(cached) $ECHO_C" >&6 2819 3412 else 2820 ac_cv_target_alias=$target_alias2821 test "x$ac_cv_target_alias" = "x" && 2822 ac_cv_target_alias=$ac_cv_host_alias 2823 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||2824 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&52825 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}3413 if test "x$target_alias" = x; then 3414 ac_cv_target=$ac_cv_host 3415 else 3416 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3417 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3418 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2826 3419 { (exit 1); exit 1; }; } 2827 2828 fi 2829 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2830 echo "${ECHO_T}$ac_cv_target" >&6 3420 fi 3421 3422 fi 3423 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3424 echo "${ECHO_T}$ac_cv_target" >&6; } 3425 case $ac_cv_target in 3426 *-*-*) ;; 3427 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3428 echo "$as_me: error: invalid value of canonical target" >&2;} 3429 { (exit 1); exit 1; }; };; 3430 esac 2831 3431 target=$ac_cv_target 2832 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2833 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2834 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3432 ac_save_IFS=$IFS; IFS='-' 3433 set x $ac_cv_target 3434 shift 3435 target_cpu=$1 3436 target_vendor=$2 3437 shift; shift 3438 # Remember, the first character of IFS is used to create $*, 3439 # except with old shells: 3440 target_os=$* 3441 IFS=$ac_save_IFS 3442 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2835 3443 2836 3444 … … 2856 3464 LIBS="$LIBS -liconv" 2857 3465 result='no' 2858 echo "$as_me:$LINENO: checking checking for libiconv" >&52859 echo $ECHO_N "checking checking for libiconv... $ECHO_C" >&6 3466 { echo "$as_me:$LINENO: checking checking for libiconv" >&5 3467 echo $ECHO_N "checking checking for libiconv... $ECHO_C" >&6; } 2860 3468 cat >conftest.$ac_ext <<_ACEOF 2861 3469 /* confdefs.h. */ … … 2881 3489 _ACEOF 2882 3490 rm -f conftest.$ac_objext conftest$ac_exeext 2883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2884 (eval $ac_link) 2>conftest.er1 3491 if { (ac_try="$ac_link" 3492 case "(($ac_try" in 3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3494 *) ac_try_echo=$ac_try;; 3495 esac 3496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3497 (eval "$ac_link") 2>conftest.er1 2885 3498 ac_status=$? 2886 3499 grep -v '^ *+' conftest.er1 >conftest.err … … 2889 3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 3503 (exit $ac_status); } && 2891 { ac_try='test -z "$ac_c_werror_flag" 2892 || test ! -s conftest.err' 2893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2894 (eval $ac_try) 2>&5 3504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3505 { (case "(($ac_try" in 3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3507 *) ac_try_echo=$ac_try;; 3508 esac 3509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3510 (eval "$ac_try") 2>&5 2895 3511 ac_status=$? 2896 3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2897 3513 (exit $ac_status); }; } && 2898 3514 { ac_try='test -s conftest$ac_exeext' 2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2900 (eval $ac_try) 2>&5 3515 { (case "(($ac_try" in 3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3517 *) ac_try_echo=$ac_try;; 3518 esac 3519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3520 (eval "$ac_try") 2>&5 2901 3521 ac_status=$? 2902 3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2911 3531 sed 's/^/| /' conftest.$ac_ext >&5 2912 3532 2913 LIBS="$SAVE_LIBS" 2914 fi 2915 rm -f conftest.err conftest.$ac_objext \ 3533 LIBS="$SAVE_LIBS" 3534 fi 3535 3536 rm -f core conftest.err conftest.$ac_objext \ 2916 3537 conftest$ac_exeext conftest.$ac_ext 2917 echo "$as_me:$LINENO: result: $result" >&52918 echo "${ECHO_T}$result" >&6 3538 { echo "$as_me:$LINENO: result: $result" >&5 3539 echo "${ECHO_T}$result" >&6; } 2919 3540 2920 3541 2921 3542 HAVE_DLOPEN='no' 2922 echo "$as_me:$LINENO: checking checking for dlopen" >&52923 echo $ECHO_N "checking checking for dlopen... $ECHO_C" >&6 3543 { echo "$as_me:$LINENO: checking checking for dlopen" >&5 3544 echo $ECHO_N "checking checking for dlopen... $ECHO_C" >&6; } 2924 3545 cat >conftest.$ac_ext <<_ACEOF 2925 3546 /* confdefs.h. */ … … 2947 3568 _ACEOF 2948 3569 rm -f conftest.$ac_objext conftest$ac_exeext 2949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2950 (eval $ac_link) 2>conftest.er1 3570 if { (ac_try="$ac_link" 3571 case "(($ac_try" in 3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3573 *) ac_try_echo=$ac_try;; 3574 esac 3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3576 (eval "$ac_link") 2>conftest.er1 2951 3577 ac_status=$? 2952 3578 grep -v '^ *+' conftest.er1 >conftest.err … … 2955 3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2956 3582 (exit $ac_status); } && 2957 { ac_try='test -z "$ac_c_werror_flag" 2958 || test ! -s conftest.err' 2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2960 (eval $ac_try) 2>&5 3583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3584 { (case "(($ac_try" in 3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3586 *) ac_try_echo=$ac_try;; 3587 esac 3588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3589 (eval "$ac_try") 2>&5 2961 3590 ac_status=$? 2962 3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2963 3592 (exit $ac_status); }; } && 2964 3593 { ac_try='test -s conftest$ac_exeext' 2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2966 (eval $ac_try) 2>&5 3594 { (case "(($ac_try" in 3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3596 *) ac_try_echo=$ac_try;; 3597 esac 3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3599 (eval "$ac_try") 2>&5 2967 3600 ac_status=$? 2968 3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2973 3606 sed 's/^/| /' conftest.$ac_ext >&5 2974 3607 2975 SAVE_LIBS="$LIBS"3608 SAVE_LIBS="$LIBS" 2976 3609 LIBS="$LIBS -ldl" 2977 3610 cat >conftest.$ac_ext <<_ACEOF … … 3000 3633 _ACEOF 3001 3634 rm -f conftest.$ac_objext conftest$ac_exeext 3002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3003 (eval $ac_link) 2>conftest.er1 3635 if { (ac_try="$ac_link" 3636 case "(($ac_try" in 3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3638 *) ac_try_echo=$ac_try;; 3639 esac 3640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3641 (eval "$ac_link") 2>conftest.er1 3004 3642 ac_status=$? 3005 3643 grep -v '^ *+' conftest.er1 >conftest.err … … 3008 3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3009 3647 (exit $ac_status); } && 3010 { ac_try='test -z "$ac_c_werror_flag" 3011 || test ! -s conftest.err' 3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3013 (eval $ac_try) 2>&5 3648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3649 { (case "(($ac_try" in 3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3651 *) ac_try_echo=$ac_try;; 3652 esac 3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3654 (eval "$ac_try") 2>&5 3014 3655 ac_status=$? 3015 3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 3657 (exit $ac_status); }; } && 3017 3658 { ac_try='test -s conftest$ac_exeext' 3018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3019 (eval $ac_try) 2>&5 3659 { (case "(($ac_try" in 3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3661 *) ac_try_echo=$ac_try;; 3662 esac 3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3664 (eval "$ac_try") 2>&5 3020 3665 ac_status=$? 3021 3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3027 3672 sed 's/^/| /' conftest.$ac_ext >&5 3028 3673 3029 fi 3030 rm -f conftest.err conftest.$ac_objext \ 3674 3675 fi 3676 3677 rm -f core conftest.err conftest.$ac_objext \ 3031 3678 conftest$ac_exeext conftest.$ac_ext 3032 3679 LIBS="$SAVE_LIBS" 3033 3680 fi 3034 rm -f conftest.err conftest.$ac_objext \ 3681 3682 rm -f core conftest.err conftest.$ac_objext \ 3035 3683 conftest$ac_exeext conftest.$ac_ext 3036 echo "$as_me:$LINENO: result: $HAVE_DLOPEN" >&53037 echo "${ECHO_T}$HAVE_DLOPEN" >&6 3684 { echo "$as_me:$LINENO: result: $HAVE_DLOPEN" >&5 3685 echo "${ECHO_T}$HAVE_DLOPEN" >&6; } 3038 3686 3039 3687 … … 3044 3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3045 3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3046 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53047 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3694 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3695 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3048 3696 # On Suns, sometimes $CPP names a directory. 3049 3697 if test -n "$CPP" && test -d "$CPP"; then … … 3079 3727 Syntax error 3080 3728 _ACEOF 3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3729 if { (ac_try="$ac_cpp conftest.$ac_ext" 3730 case "(($ac_try" in 3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3732 *) ac_try_echo=$ac_try;; 3733 esac 3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3083 3736 ac_status=$? 3084 3737 grep -v '^ *+' conftest.er1 >conftest.err … … 3105 3758 continue 3106 3759 fi 3760 3107 3761 rm -f conftest.err conftest.$ac_ext 3108 3762 3109 # OK, works on sane cases. Now check whether non -existent headers3763 # OK, works on sane cases. Now check whether nonexistent headers 3110 3764 # can be detected and how. 3111 3765 cat >conftest.$ac_ext <<_ACEOF … … 3117 3771 #include <ac_nonexistent.h> 3118 3772 _ACEOF 3119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3773 if { (ac_try="$ac_cpp conftest.$ac_ext" 3774 case "(($ac_try" in 3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3776 *) ac_try_echo=$ac_try;; 3777 esac 3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3121 3780 ac_status=$? 3122 3781 grep -v '^ *+' conftest.er1 >conftest.err … … 3145 3804 break 3146 3805 fi 3806 3147 3807 rm -f conftest.err conftest.$ac_ext 3148 3808 … … 3162 3822 ac_cv_prog_CPP=$CPP 3163 3823 fi 3164 echo "$as_me:$LINENO: result: $CPP" >&53165 echo "${ECHO_T}$CPP" >&6 3824 { echo "$as_me:$LINENO: result: $CPP" >&5 3825 echo "${ECHO_T}$CPP" >&6; } 3166 3826 ac_preproc_ok=false 3167 3827 for ac_c_preproc_warn_flag in '' yes … … 3186 3846 Syntax error 3187 3847 _ACEOF 3188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3848 if { (ac_try="$ac_cpp conftest.$ac_ext" 3849 case "(($ac_try" in 3850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3851 *) ac_try_echo=$ac_try;; 3852 esac 3853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3190 3855 ac_status=$? 3191 3856 grep -v '^ *+' conftest.er1 >conftest.err … … 3212 3877 continue 3213 3878 fi 3879 3214 3880 rm -f conftest.err conftest.$ac_ext 3215 3881 3216 # OK, works on sane cases. Now check whether non -existent headers3882 # OK, works on sane cases. Now check whether nonexistent headers 3217 3883 # can be detected and how. 3218 3884 cat >conftest.$ac_ext <<_ACEOF … … 3224 3890 #include <ac_nonexistent.h> 3225 3891 _ACEOF 3226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3892 if { (ac_try="$ac_cpp conftest.$ac_ext" 3893 case "(($ac_try" in 3894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3895 *) ac_try_echo=$ac_try;; 3896 esac 3897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3228 3899 ac_status=$? 3229 3900 grep -v '^ *+' conftest.er1 >conftest.err … … 3252 3923 break 3253 3924 fi 3925 3254 3926 rm -f conftest.err conftest.$ac_ext 3255 3927 … … 3274 3946 3275 3947 3276 echo "$as_me:$LINENO: checking for egrep" >&53277 echo $ECHO_N "checking for egrep... $ECHO_C" >&63278 if test "${ac_cv_p rog_egrep+set}" = set; then3948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3950 if test "${ac_cv_path_GREP+set}" = set; then 3279 3951 echo $ECHO_N "(cached) $ECHO_C" >&6 3280 3952 else 3281 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3282 then ac_cv_prog_egrep='grep -E' 3283 else ac_cv_prog_egrep='egrep' 3953 # Extract the first word of "grep ggrep" to use in msg output 3954 if test -z "$GREP"; then 3955 set dummy grep ggrep; ac_prog_name=$2 3956 if test "${ac_cv_path_GREP+set}" = set; then 3957 echo $ECHO_N "(cached) $ECHO_C" >&6 3958 else 3959 ac_path_GREP_found=false 3960 # Loop through the user's path and test for each of PROGNAME-LIST 3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3963 do 3964 IFS=$as_save_IFS 3965 test -z "$as_dir" && as_dir=. 3966 for ac_prog in grep ggrep; do 3967 for ac_exec_ext in '' $ac_executable_extensions; do 3968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3969 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue 3970 # Check for GNU ac_path_GREP and select it if it is found. 3971 # Check for GNU $ac_path_GREP 3972 case `"$ac_path_GREP" --version 2>&1` in 3973 *GNU*) 3974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3975 *) 3976 ac_count=0 3977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3978 while : 3979 do 3980 cat "conftest.in" "conftest.in" >"conftest.tmp" 3981 mv "conftest.tmp" "conftest.in" 3982 cp "conftest.in" "conftest.nl" 3983 echo 'GREP' >> "conftest.nl" 3984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3986 ac_count=`expr $ac_count + 1` 3987 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3988 # Best one so far, save it but keep looking for a better one 3989 ac_cv_path_GREP="$ac_path_GREP" 3990 ac_path_GREP_max=$ac_count 3284 3991 fi 3285 fi 3286 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3287 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3288 EGREP=$ac_cv_prog_egrep 3289 3290 3291 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3292 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3992 # 10*(2^10) chars as input seems more than enough 3993 test $ac_count -gt 10 && break 3994 done 3995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3996 esac 3997 3998 3999 $ac_path_GREP_found && break 3 4000 done 4001 done 4002 4003 done 4004 IFS=$as_save_IFS 4005 4006 4007 fi 4008 4009 GREP="$ac_cv_path_GREP" 4010 if test -z "$GREP"; then 4011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4013 { (exit 1); exit 1; }; } 4014 fi 4015 4016 else 4017 ac_cv_path_GREP=$GREP 4018 fi 4019 4020 4021 fi 4022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4024 GREP="$ac_cv_path_GREP" 4025 4026 4027 { echo "$as_me:$LINENO: checking for egrep" >&5 4028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4029 if test "${ac_cv_path_EGREP+set}" = set; then 4030 echo $ECHO_N "(cached) $ECHO_C" >&6 4031 else 4032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4033 then ac_cv_path_EGREP="$GREP -E" 4034 else 4035 # Extract the first word of "egrep" to use in msg output 4036 if test -z "$EGREP"; then 4037 set dummy egrep; ac_prog_name=$2 4038 if test "${ac_cv_path_EGREP+set}" = set; then 4039 echo $ECHO_N "(cached) $ECHO_C" >&6 4040 else 4041 ac_path_EGREP_found=false 4042 # Loop through the user's path and test for each of PROGNAME-LIST 4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4045 do 4046 IFS=$as_save_IFS 4047 test -z "$as_dir" && as_dir=. 4048 for ac_prog in egrep; do 4049 for ac_exec_ext in '' $ac_executable_extensions; do 4050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4051 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue 4052 # Check for GNU ac_path_EGREP and select it if it is found. 4053 # Check for GNU $ac_path_EGREP 4054 case `"$ac_path_EGREP" --version 2>&1` in 4055 *GNU*) 4056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4057 *) 4058 ac_count=0 4059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4060 while : 4061 do 4062 cat "conftest.in" "conftest.in" >"conftest.tmp" 4063 mv "conftest.tmp" "conftest.in" 4064 cp "conftest.in" "conftest.nl" 4065 echo 'EGREP' >> "conftest.nl" 4066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4068 ac_count=`expr $ac_count + 1` 4069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4070 # Best one so far, save it but keep looking for a better one 4071 ac_cv_path_EGREP="$ac_path_EGREP" 4072 ac_path_EGREP_max=$ac_count 4073 fi 4074 # 10*(2^10) chars as input seems more than enough 4075 test $ac_count -gt 10 && break 4076 done 4077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4078 esac 4079 4080 4081 $ac_path_EGREP_found && break 3 4082 done 4083 done 4084 4085 done 4086 IFS=$as_save_IFS 4087 4088 4089 fi 4090 4091 EGREP="$ac_cv_path_EGREP" 4092 if test -z "$EGREP"; then 4093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4095 { (exit 1); exit 1; }; } 4096 fi 4097 4098 else 4099 ac_cv_path_EGREP=$EGREP 4100 fi 4101 4102 4103 fi 4104 fi 4105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4107 EGREP="$ac_cv_path_EGREP" 4108 4109 4110 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4111 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3293 4112 if test "${ac_cv_header_stdc+set}" = set; then 3294 4113 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3314 4133 _ACEOF 3315 4134 rm -f conftest.$ac_objext 3316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3317 (eval $ac_compile) 2>conftest.er1 4135 if { (ac_try="$ac_compile" 4136 case "(($ac_try" in 4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4138 *) ac_try_echo=$ac_try;; 4139 esac 4140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4141 (eval "$ac_compile") 2>conftest.er1 3318 4142 ac_status=$? 3319 4143 grep -v '^ *+' conftest.er1 >conftest.err … … 3322 4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3323 4147 (exit $ac_status); } && 3324 { ac_try='test -z "$ac_c_werror_flag" 3325 || test ! -s conftest.err' 3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3327 (eval $ac_try) 2>&5 4148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4149 { (case "(($ac_try" in 4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4151 *) ac_try_echo=$ac_try;; 4152 esac 4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4154 (eval "$ac_try") 2>&5 3328 4155 ac_status=$? 3329 4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3330 4157 (exit $ac_status); }; } && 3331 4158 { ac_try='test -s conftest.$ac_objext' 3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3333 (eval $ac_try) 2>&5 4159 { (case "(($ac_try" in 4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4161 *) ac_try_echo=$ac_try;; 4162 esac 4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4164 (eval "$ac_try") 2>&5 3334 4165 ac_status=$? 3335 4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3340 4171 sed 's/^/| /' conftest.$ac_ext >&5 3341 4172 3342 ac_cv_header_stdc=no 3343 fi 3344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4173 ac_cv_header_stdc=no 4174 fi 4175 4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3345 4177 3346 4178 if test $ac_cv_header_stdc = yes; then … … 3398 4230 /* end confdefs.h. */ 3399 4231 #include <ctype.h> 4232 #include <stdlib.h> 3400 4233 #if ((' ' & 0x0FF) == 0x020) 3401 4234 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3417 4250 if (XOR (islower (i), ISLOWER (i)) 3418 4251 || toupper (i) != TOUPPER (i)) 3419 exit(2);3420 exit (0);4252 return 2; 4253 return 0; 3421 4254 } 3422 4255 _ACEOF 3423 4256 rm -f conftest$ac_exeext 3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3425 (eval $ac_link) 2>&5 4257 if { (ac_try="$ac_link" 4258 case "(($ac_try" in 4259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4260 *) ac_try_echo=$ac_try;; 4261 esac 4262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4263 (eval "$ac_link") 2>&5 3426 4264 ac_status=$? 3427 4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3428 4266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3430 (eval $ac_try) 2>&5 4267 { (case "(($ac_try" in 4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4269 *) ac_try_echo=$ac_try;; 4270 esac 4271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4272 (eval "$ac_try") 2>&5 3431 4273 ac_status=$? 3432 4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3441 4283 ac_cv_header_stdc=no 3442 4284 fi 3443 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3444 fi 3445 fi 3446 fi 3447 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3448 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4286 fi 4287 4288 4289 fi 4290 fi 4291 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4292 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3449 4293 if test $ac_cv_header_stdc = yes; then 3450 4294 … … 3469 4313 do 3470 4314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3471 echo "$as_me:$LINENO: checking for $ac_header" >&53472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3473 if eval "test \"\${$as_ac_Header+set}\" = set"; then4315 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3474 4318 echo $ECHO_N "(cached) $ECHO_C" >&6 3475 4319 else … … 3485 4329 _ACEOF 3486 4330 rm -f conftest.$ac_objext 3487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3488 (eval $ac_compile) 2>conftest.er1 4331 if { (ac_try="$ac_compile" 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_compile") 2>conftest.er1 3489 4338 ac_status=$? 3490 4339 grep -v '^ *+' conftest.er1 >conftest.err … … 3493 4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3494 4343 (exit $ac_status); } && 3495 { ac_try='test -z "$ac_c_werror_flag" 3496 || test ! -s conftest.err' 3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3498 (eval $ac_try) 2>&5 4344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4345 { (case "(($ac_try" in 4346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4347 *) ac_try_echo=$ac_try;; 4348 esac 4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4350 (eval "$ac_try") 2>&5 3499 4351 ac_status=$? 3500 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3501 4353 (exit $ac_status); }; } && 3502 4354 { ac_try='test -s conftest.$ac_objext' 3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3504 (eval $ac_try) 2>&5 4355 { (case "(($ac_try" in 4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4357 *) ac_try_echo=$ac_try;; 4358 esac 4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4360 (eval "$ac_try") 2>&5 3505 4361 ac_status=$? 3506 4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3511 4367 sed 's/^/| /' conftest.$ac_ext >&5 3512 4368 3513 eval "$as_ac_Header=no" 3514 fi 3515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3516 fi 3517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4369 eval "$as_ac_Header=no" 4370 fi 4371 4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4373 fi 4374 ac_res=`eval echo '${'$as_ac_Header'}'` 4375 { echo "$as_me:$LINENO: result: $ac_res" >&5 4376 echo "${ECHO_T}$ac_res" >&6; } 3519 4377 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3520 4378 cat >>confdefs.h <<_ACEOF … … 3539 4397 do 3540 4398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3541 if eval "test \"\${$as_ac_Header+set}\" = set"; then3542 echo "$as_me:$LINENO: checking for $ac_header" >&53543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3544 if eval "test \"\${$as_ac_Header+set}\" = set"; then4399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4400 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4402 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3545 4403 echo $ECHO_N "(cached) $ECHO_C" >&6 3546 4404 fi 3547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4405 ac_res=`eval echo '${'$as_ac_Header'}'` 4406 { echo "$as_me:$LINENO: result: $ac_res" >&5 4407 echo "${ECHO_T}$ac_res" >&6; } 3549 4408 else 3550 4409 # Is the header compilable? 3551 echo "$as_me:$LINENO: checking $ac_header usability" >&53552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4410 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 3553 4412 cat >conftest.$ac_ext <<_ACEOF 3554 4413 /* confdefs.h. */ … … 3561 4420 _ACEOF 3562 4421 rm -f conftest.$ac_objext 3563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3564 (eval $ac_compile) 2>conftest.er1 4422 if { (ac_try="$ac_compile" 4423 case "(($ac_try" in 4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4425 *) ac_try_echo=$ac_try;; 4426 esac 4427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4428 (eval "$ac_compile") 2>conftest.er1 3565 4429 ac_status=$? 3566 4430 grep -v '^ *+' conftest.er1 >conftest.err … … 3569 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3570 4434 (exit $ac_status); } && 3571 { ac_try='test -z "$ac_c_werror_flag" 3572 || test ! -s conftest.err' 3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3574 (eval $ac_try) 2>&5 4435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4436 { (case "(($ac_try" in 4437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4438 *) ac_try_echo=$ac_try;; 4439 esac 4440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4441 (eval "$ac_try") 2>&5 3575 4442 ac_status=$? 3576 4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3577 4444 (exit $ac_status); }; } && 3578 4445 { ac_try='test -s conftest.$ac_objext' 3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3580 (eval $ac_try) 2>&5 4446 { (case "(($ac_try" in 4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4448 *) ac_try_echo=$ac_try;; 4449 esac 4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4451 (eval "$ac_try") 2>&5 3581 4452 ac_status=$? 3582 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3587 4458 sed 's/^/| /' conftest.$ac_ext >&5 3588 4459 3589 ac_header_compiler=no 3590 fi 3591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3593 echo "${ECHO_T}$ac_header_compiler" >&6 4460 ac_header_compiler=no 4461 fi 4462 4463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4465 echo "${ECHO_T}$ac_header_compiler" >&6; } 3594 4466 3595 4467 # Is the header present? 3596 echo "$as_me:$LINENO: checking $ac_header presence" >&53597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4468 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 3598 4470 cat >conftest.$ac_ext <<_ACEOF 3599 4471 /* confdefs.h. */ … … 3604 4476 #include <$ac_header> 3605 4477 _ACEOF 3606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4478 if { (ac_try="$ac_cpp conftest.$ac_ext" 4479 case "(($ac_try" in 4480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4481 *) ac_try_echo=$ac_try;; 4482 esac 4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3608 4485 ac_status=$? 3609 4486 grep -v '^ *+' conftest.er1 >conftest.err … … 3629 4506 ac_header_preproc=no 3630 4507 fi 4508 3631 4509 rm -f conftest.err conftest.$ac_ext 3632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53633 echo "${ECHO_T}$ac_header_preproc" >&6 4510 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4511 echo "${ECHO_T}$ac_header_preproc" >&6; } 3634 4512 3635 4513 # So? What about this header? … … 3655 4533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3656 4534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3657 ( 3658 cat <<\_ASBOX 4535 ( cat <<\_ASBOX 3659 4536 ## --------------------------------- ## 3660 4537 ## Report this to BUG-REPORT-ADDRESS ## 3661 4538 ## --------------------------------- ## 3662 4539 _ASBOX 3663 ) | 3664 sed "s/^/$as_me: WARNING: /" >&2 4540 ) | sed "s/^/$as_me: WARNING: /" >&2 3665 4541 ;; 3666 4542 esac 3667 echo "$as_me:$LINENO: checking for $ac_header" >&53668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3669 if eval "test \"\${$as_ac_Header+set}\" = set"; then4543 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3670 4546 echo $ECHO_N "(cached) $ECHO_C" >&6 3671 4547 else 3672 4548 eval "$as_ac_Header=\$ac_header_preproc" 3673 4549 fi 3674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4550 ac_res=`eval echo '${'$as_ac_Header'}'` 4551 { echo "$as_me:$LINENO: result: $ac_res" >&5 4552 echo "${ECHO_T}$ac_res" >&6; } 3676 4553 3677 4554 fi … … 3687 4564 3688 4565 # Checks for typedefs, structures, and compiler characteristics. 3689 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&53690 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 4566 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 4567 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } 3691 4568 if test "${ac_cv_header_stdbool_h+set}" = set; then 3692 4569 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3701 4578 #include <stdbool.h> 3702 4579 #ifndef bool 3703 # error bool is not defined 4580 "error: bool is not defined" 3704 4581 #endif 3705 4582 #ifndef false 3706 # error false is not defined 4583 "error: false is not defined" 3707 4584 #endif 3708 4585 #if false 3709 # error false is not 0 4586 "error: false is not 0" 3710 4587 #endif 3711 4588 #ifndef true 3712 # error true is not defined 4589 "error: true is not defined" 3713 4590 #endif 3714 4591 #if true != 1 3715 # error true is not 1 4592 "error: true is not 1" 3716 4593 #endif 3717 4594 #ifndef __bool_true_false_are_defined 3718 # error __bool_true_false_are_defined is not defined 4595 "error: __bool_true_false_are_defined is not defined" 3719 4596 #endif 3720 4597 … … 3724 4601 char b[false == 0 ? 1 : -1]; 3725 4602 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 3726 char d[(bool) -0.5 == true ? 1 : -1];4603 char d[(bool) 0.5 == true ? 1 : -1]; 3727 4604 bool e = &s; 3728 char f[(_Bool) -0.0 == false ? 1 : -1];4605 char f[(_Bool) 0.0 == false ? 1 : -1]; 3729 4606 char g[true]; 3730 4607 char h[sizeof (_Bool)]; 3731 4608 char i[sizeof s.t]; 4609 enum { j = false, k = true, l = false * true, m = true * 256 }; 4610 _Bool n[m]; 4611 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 4612 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 4613 # if defined __xlc__ || defined __GNUC__ 4614 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 4615 reported by James Lemley on 2005-10-05; see 4616 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html 4617 This test is not quite right, since xlc is allowed to 4618 reject this program, as the initializer for xlcbug is 4619 not one of the forms that C requires support for. 4620 However, doing the test right would require a runtime 4621 test, and that would make cross-compilation harder. 4622 Let us hope that IBM fixes the xlc bug, and also adds 4623 support for this kind of constant expression. In the 4624 meantime, this test will reject xlc, which is OK, since 4625 our stdbool.h substitute should suffice. We also test 4626 this with GCC, where it should work, to detect more 4627 quickly whether someone messes up the test in the 4628 future. */ 4629 char digs[] = "0123456789"; 4630 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); 4631 # endif 4632 /* Catch a bug in an HP-UX C compiler. See 4633 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 4634 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 4635 */ 4636 _Bool q = true; 4637 _Bool *pq = &q; 3732 4638 3733 4639 int 3734 4640 main () 3735 4641 { 3736 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 4642 4643 *pq |= q; 4644 *pq |= ! q; 4645 /* Refer to every declared value, to avoid compiler optimizations. */ 4646 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 4647 + !m + !n + !o + !p + !q + !pq); 4648 3737 4649 ; 3738 4650 return 0; … … 3740 4652 _ACEOF 3741 4653 rm -f conftest.$ac_objext 3742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3743 (eval $ac_compile) 2>conftest.er1 4654 if { (ac_try="$ac_compile" 4655 case "(($ac_try" in 4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4657 *) ac_try_echo=$ac_try;; 4658 esac 4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4660 (eval "$ac_compile") 2>conftest.er1 3744 4661 ac_status=$? 3745 4662 grep -v '^ *+' conftest.er1 >conftest.err … … 3748 4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3749 4666 (exit $ac_status); } && 3750 { ac_try='test -z "$ac_c_werror_flag" 3751 || test ! -s conftest.err' 3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3753 (eval $ac_try) 2>&5 4667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4668 { (case "(($ac_try" in 4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4670 *) ac_try_echo=$ac_try;; 4671 esac 4672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4673 (eval "$ac_try") 2>&5 3754 4674 ac_status=$? 3755 4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3756 4676 (exit $ac_status); }; } && 3757 4677 { ac_try='test -s conftest.$ac_objext' 3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3759 (eval $ac_try) 2>&5 4678 { (case "(($ac_try" in 4679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4680 *) ac_try_echo=$ac_try;; 4681 esac 4682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4683 (eval "$ac_try") 2>&5 3760 4684 ac_status=$? 3761 4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3766 4690 sed 's/^/| /' conftest.$ac_ext >&5 3767 4691 3768 ac_cv_header_stdbool_h=no 3769 fi 3770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3771 fi 3772 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 3773 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 3774 echo "$as_me:$LINENO: checking for _Bool" >&5 3775 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 4692 ac_cv_header_stdbool_h=no 4693 fi 4694 4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4696 fi 4697 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 4698 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } 4699 { echo "$as_me:$LINENO: checking for _Bool" >&5 4700 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } 3776 4701 if test "${ac_cv_type__Bool+set}" = set; then 3777 4702 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3784 4709 /* end confdefs.h. */ 3785 4710 $ac_includes_default 4711 typedef _Bool ac__type_new_; 3786 4712 int 3787 4713 main () 3788 4714 { 3789 if (( _Bool*) 0)4715 if ((ac__type_new_ *) 0) 3790 4716 return 0; 3791 if (sizeof ( _Bool))4717 if (sizeof (ac__type_new_)) 3792 4718 return 0; 3793 4719 ; … … 3796 4722 _ACEOF 3797 4723 rm -f conftest.$ac_objext 3798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3799 (eval $ac_compile) 2>conftest.er1 4724 if { (ac_try="$ac_compile" 4725 case "(($ac_try" in 4726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4727 *) ac_try_echo=$ac_try;; 4728 esac 4729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4730 (eval "$ac_compile") 2>conftest.er1 3800 4731 ac_status=$? 3801 4732 grep -v '^ *+' conftest.er1 >conftest.err … … 3804 4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3805 4736 (exit $ac_status); } && 3806 { ac_try='test -z "$ac_c_werror_flag" 3807 || test ! -s conftest.err' 3808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3809 (eval $ac_try) 2>&5 4737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4738 { (case "(($ac_try" in 4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4740 *) ac_try_echo=$ac_try;; 4741 esac 4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4743 (eval "$ac_try") 2>&5 3810 4744 ac_status=$? 3811 4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3812 4746 (exit $ac_status); }; } && 3813 4747 { ac_try='test -s conftest.$ac_objext' 3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3815 (eval $ac_try) 2>&5 4748 { (case "(($ac_try" in 4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4750 *) ac_try_echo=$ac_try;; 4751 esac 4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4753 (eval "$ac_try") 2>&5 3816 4754 ac_status=$? 3817 4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3822 4760 sed 's/^/| /' conftest.$ac_ext >&5 3823 4761 3824 ac_cv_type__Bool=no 3825 fi 3826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3827 fi 3828 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 3829 echo "${ECHO_T}$ac_cv_type__Bool" >&6 4762 ac_cv_type__Bool=no 4763 fi 4764 4765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4766 fi 4767 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 4768 echo "${ECHO_T}$ac_cv_type__Bool" >&6; } 3830 4769 if test $ac_cv_type__Bool = yes; then 3831 4770 … … 3845 4784 fi 3846 4785 3847 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&53848 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4786 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4787 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 3849 4788 if test "${ac_cv_c_const+set}" = set; then 3850 4789 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3886 4825 3887 4826 *t++ = 0; 4827 if (s) return 0; 3888 4828 } 3889 4829 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 3904 4844 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3905 4845 const int foo = 10; 4846 if (!foo) return 0; 3906 4847 } 4848 return !x[0] && !zero.x; 3907 4849 #endif 3908 4850 … … 3912 4854 _ACEOF 3913 4855 rm -f conftest.$ac_objext 3914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3915 (eval $ac_compile) 2>conftest.er1 4856 if { (ac_try="$ac_compile" 4857 case "(($ac_try" in 4858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4859 *) ac_try_echo=$ac_try;; 4860 esac 4861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4862 (eval "$ac_compile") 2>conftest.er1 3916 4863 ac_status=$? 3917 4864 grep -v '^ *+' conftest.er1 >conftest.err … … 3920 4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 4868 (exit $ac_status); } && 3922 { ac_try='test -z "$ac_c_werror_flag" 3923 || test ! -s conftest.err' 3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3925 (eval $ac_try) 2>&5 4869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4870 { (case "(($ac_try" in 4871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4872 *) ac_try_echo=$ac_try;; 4873 esac 4874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4875 (eval "$ac_try") 2>&5 3926 4876 ac_status=$? 3927 4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3928 4878 (exit $ac_status); }; } && 3929 4879 { ac_try='test -s conftest.$ac_objext' 3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3931 (eval $ac_try) 2>&5 4880 { (case "(($ac_try" in 4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4882 *) ac_try_echo=$ac_try;; 4883 esac 4884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4885 (eval "$ac_try") 2>&5 3932 4886 ac_status=$? 3933 4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3938 4892 sed 's/^/| /' conftest.$ac_ext >&5 3939 4893 3940 ac_cv_c_const=no 3941 fi 3942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3943 fi 3944 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3945 echo "${ECHO_T}$ac_cv_c_const" >&6 4894 ac_cv_c_const=no 4895 fi 4896 4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4898 fi 4899 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4900 echo "${ECHO_T}$ac_cv_c_const" >&6; } 3946 4901 if test $ac_cv_c_const = no; then 3947 4902 … … 3952 4907 fi 3953 4908 3954 echo "$as_me:$LINENO: checking for size_t" >&53955 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4909 { echo "$as_me:$LINENO: checking for size_t" >&5 4910 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 3956 4911 if test "${ac_cv_type_size_t+set}" = set; then 3957 4912 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3964 4919 /* end confdefs.h. */ 3965 4920 $ac_includes_default 4921 typedef size_t ac__type_new_; 3966 4922 int 3967 4923 main () 3968 4924 { 3969 if (( size_t*) 0)4925 if ((ac__type_new_ *) 0) 3970 4926 return 0; 3971 if (sizeof ( size_t))4927 if (sizeof (ac__type_new_)) 3972 4928 return 0; 3973 4929 ; … … 3976 4932 _ACEOF 3977 4933 rm -f conftest.$ac_objext 3978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3979 (eval $ac_compile) 2>conftest.er1 4934 if { (ac_try="$ac_compile" 4935 case "(($ac_try" in 4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4937 *) ac_try_echo=$ac_try;; 4938 esac 4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4940 (eval "$ac_compile") 2>conftest.er1 3980 4941 ac_status=$? 3981 4942 grep -v '^ *+' conftest.er1 >conftest.err … … 3984 4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3985 4946 (exit $ac_status); } && 3986 { ac_try='test -z "$ac_c_werror_flag" 3987 || test ! -s conftest.err' 3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3989 (eval $ac_try) 2>&5 4947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4948 { (case "(($ac_try" in 4949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4950 *) ac_try_echo=$ac_try;; 4951 esac 4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4953 (eval "$ac_try") 2>&5 3990 4954 ac_status=$? 3991 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3992 4956 (exit $ac_status); }; } && 3993 4957 { ac_try='test -s conftest.$ac_objext' 3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3995 (eval $ac_try) 2>&5 4958 { (case "(($ac_try" in 4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4960 *) ac_try_echo=$ac_try;; 4961 esac 4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4963 (eval "$ac_try") 2>&5 3996 4964 ac_status=$? 3997 4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4002 4970 sed 's/^/| /' conftest.$ac_ext >&5 4003 4971 4004 ac_cv_type_size_t=no 4005 fi 4006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4007 fi 4008 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4009 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4972 ac_cv_type_size_t=no 4973 fi 4974 4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4976 fi 4977 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4978 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4010 4979 if test $ac_cv_type_size_t = yes; then 4011 4980 : … … 4013 4982 4014 4983 cat >>confdefs.h <<_ACEOF 4015 #define size_t unsigned 4984 #define size_t unsigned int 4016 4985 _ACEOF 4017 4986 … … 4024 4993 do 4025 4994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4026 if eval "test \"\${$as_ac_Header+set}\" = set"; then4027 echo "$as_me:$LINENO: checking for $ac_header" >&54028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4029 if eval "test \"\${$as_ac_Header+set}\" = set"; then4995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4996 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4030 4999 echo $ECHO_N "(cached) $ECHO_C" >&6 4031 5000 fi 4032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5001 ac_res=`eval echo '${'$as_ac_Header'}'` 5002 { echo "$as_me:$LINENO: result: $ac_res" >&5 5003 echo "${ECHO_T}$ac_res" >&6; } 4034 5004 else 4035 5005 # Is the header compilable? 4036 echo "$as_me:$LINENO: checking $ac_header usability" >&54037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5006 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4038 5008 cat >conftest.$ac_ext <<_ACEOF 4039 5009 /* confdefs.h. */ … … 4046 5016 _ACEOF 4047 5017 rm -f conftest.$ac_objext 4048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4049 (eval $ac_compile) 2>conftest.er1 5018 if { (ac_try="$ac_compile" 5019 case "(($ac_try" in 5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5021 *) ac_try_echo=$ac_try;; 5022 esac 5023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5024 (eval "$ac_compile") 2>conftest.er1 4050 5025 ac_status=$? 4051 5026 grep -v '^ *+' conftest.er1 >conftest.err … … 4054 5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4055 5030 (exit $ac_status); } && 4056 { ac_try='test -z "$ac_c_werror_flag" 4057 || test ! -s conftest.err' 4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4059 (eval $ac_try) 2>&5 5031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5032 { (case "(($ac_try" in 5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5034 *) ac_try_echo=$ac_try;; 5035 esac 5036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5037 (eval "$ac_try") 2>&5 4060 5038 ac_status=$? 4061 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4062 5040 (exit $ac_status); }; } && 4063 5041 { ac_try='test -s conftest.$ac_objext' 4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4065 (eval $ac_try) 2>&5 5042 { (case "(($ac_try" in 5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5044 *) ac_try_echo=$ac_try;; 5045 esac 5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5047 (eval "$ac_try") 2>&5 4066 5048 ac_status=$? 4067 5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4072 5054 sed 's/^/| /' conftest.$ac_ext >&5 4073 5055 4074 ac_header_compiler=no 4075 fi 4076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4078 echo "${ECHO_T}$ac_header_compiler" >&6 5056 ac_header_compiler=no 5057 fi 5058 5059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5060 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5061 echo "${ECHO_T}$ac_header_compiler" >&6; } 4079 5062 4080 5063 # Is the header present? 4081 echo "$as_me:$LINENO: checking $ac_header presence" >&54082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5064 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4083 5066 cat >conftest.$ac_ext <<_ACEOF 4084 5067 /* confdefs.h. */ … … 4089 5072 #include <$ac_header> 4090 5073 _ACEOF 4091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5074 if { (ac_try="$ac_cpp conftest.$ac_ext" 5075 case "(($ac_try" in 5076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5077 *) ac_try_echo=$ac_try;; 5078 esac 5079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4093 5081 ac_status=$? 4094 5082 grep -v '^ *+' conftest.er1 >conftest.err … … 4114 5102 ac_header_preproc=no 4115 5103 fi 5104 4116 5105 rm -f conftest.err conftest.$ac_ext 4117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54118 echo "${ECHO_T}$ac_header_preproc" >&6 5106 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5107 echo "${ECHO_T}$ac_header_preproc" >&6; } 4119 5108 4120 5109 # So? What about this header? … … 4140 5129 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4141 5130 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4142 ( 4143 cat <<\_ASBOX 5131 ( cat <<\_ASBOX 4144 5132 ## --------------------------------- ## 4145 5133 ## Report this to BUG-REPORT-ADDRESS ## 4146 5134 ## --------------------------------- ## 4147 5135 _ASBOX 4148 ) | 4149 sed "s/^/$as_me: WARNING: /" >&2 5136 ) | sed "s/^/$as_me: WARNING: /" >&2 4150 5137 ;; 4151 5138 esac 4152 echo "$as_me:$LINENO: checking for $ac_header" >&54153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4154 if eval "test \"\${$as_ac_Header+set}\" = set"; then5139 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4155 5142 echo $ECHO_N "(cached) $ECHO_C" >&6 4156 5143 else 4157 5144 eval "$as_ac_Header=\$ac_header_preproc" 4158 5145 fi 4159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5146 ac_res=`eval echo '${'$as_ac_Header'}'` 5147 { echo "$as_me:$LINENO: result: $ac_res" >&5 5148 echo "${ECHO_T}$ac_res" >&6; } 4161 5149 4162 5150 fi … … 4170 5158 done 4171 5159 4172 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&54173 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 5160 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 5161 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } 4174 5162 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 4175 5163 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4193 5181 main () 4194 5182 { 4195 exit (malloc (0) ? 0 : 1);5183 return ! malloc (0); 4196 5184 ; 4197 5185 return 0; … … 4199 5187 _ACEOF 4200 5188 rm -f conftest$ac_exeext 4201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4202 (eval $ac_link) 2>&5 5189 if { (ac_try="$ac_link" 5190 case "(($ac_try" in 5191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5192 *) ac_try_echo=$ac_try;; 5193 esac 5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5195 (eval "$ac_link") 2>&5 4203 5196 ac_status=$? 4204 5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4205 5198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4207 (eval $ac_try) 2>&5 5199 { (case "(($ac_try" in 5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5201 *) ac_try_echo=$ac_try;; 5202 esac 5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5204 (eval "$ac_try") 2>&5 4208 5205 ac_status=$? 4209 5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4218 5215 ac_cv_func_malloc_0_nonnull=no 4219 5216 fi 4220 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4221 fi 4222 fi 4223 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 4224 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 5217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5218 fi 5219 5220 5221 fi 5222 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 5223 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } 4225 5224 if test $ac_cv_func_malloc_0_nonnull = yes; then 4226 5225 … … 4234 5233 _ACEOF 4235 5234 4236 case $LIBOBJS in 4237 "malloc.$ac_objext" | \ 4238 *" malloc.$ac_objext" | \ 4239 "malloc.$ac_objext "* | \ 5235 case " $LIBOBJS " in 4240 5236 *" malloc.$ac_objext "* ) ;; 4241 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; 5237 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 5238 ;; 4242 5239 esac 4243 5240 … … 4251 5248 4252 5249 4253 echo "$as_me:$LINENO: checking for working memcmp" >&54254 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 5250 { echo "$as_me:$LINENO: checking for working memcmp" >&5 5251 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } 4255 5252 if test "${ac_cv_func_memcmp_working+set}" = set; then 4256 5253 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4271 5268 4272 5269 /* Some versions of memcmp are not 8-bit clean. */ 4273 char c0 = 0x40, c1 = 0x80, c2 = 0x81;5270 char c0 = '\100', c1 = '\200', c2 = '\201'; 4274 5271 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 4275 exit (1);5272 return 1; 4276 5273 4277 5274 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes … … 4289 5286 strcpy (b, "--------10000000"); 4290 5287 if (memcmp (a, b, 16) >= 0) 4291 exit (1);5288 return 1; 4292 5289 } 4293 exit (0);5290 return 0; 4294 5291 } 4295 5292 … … 4299 5296 _ACEOF 4300 5297 rm -f conftest$ac_exeext 4301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4302 (eval $ac_link) 2>&5 5298 if { (ac_try="$ac_link" 5299 case "(($ac_try" in 5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5301 *) ac_try_echo=$ac_try;; 5302 esac 5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5304 (eval "$ac_link") 2>&5 4303 5305 ac_status=$? 4304 5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4305 5307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4307 (eval $ac_try) 2>&5 5308 { (case "(($ac_try" in 5309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5310 *) ac_try_echo=$ac_try;; 5311 esac 5312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5313 (eval "$ac_try") 2>&5 4308 5314 ac_status=$? 4309 5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4318 5324 ac_cv_func_memcmp_working=no 4319 5325 fi 4320 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4321 fi 4322 fi 4323 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 4324 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 4325 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in 4326 "memcmp.$ac_objext" | \ 4327 *" memcmp.$ac_objext" | \ 4328 "memcmp.$ac_objext "* | \ 5326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5327 fi 5328 5329 5330 fi 5331 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 5332 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } 5333 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 4329 5334 *" memcmp.$ac_objext "* ) ;; 4330 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;; 5335 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 5336 ;; 4331 5337 esac 4332 5338 … … 4336 5342 do 4337 5343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4338 if eval "test \"\${$as_ac_Header+set}\" = set"; then4339 echo "$as_me:$LINENO: checking for $ac_header" >&54340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4341 if eval "test \"\${$as_ac_Header+set}\" = set"; then5344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5345 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4342 5348 echo $ECHO_N "(cached) $ECHO_C" >&6 4343 5349 fi 4344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5350 ac_res=`eval echo '${'$as_ac_Header'}'` 5351 { echo "$as_me:$LINENO: result: $ac_res" >&5 5352 echo "${ECHO_T}$ac_res" >&6; } 4346 5353 else 4347 5354 # Is the header compilable? 4348 echo "$as_me:$LINENO: checking $ac_header usability" >&54349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5355 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4350 5357 cat >conftest.$ac_ext <<_ACEOF 4351 5358 /* confdefs.h. */ … … 4358 5365 _ACEOF 4359 5366 rm -f conftest.$ac_objext 4360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4361 (eval $ac_compile) 2>conftest.er1 5367 if { (ac_try="$ac_compile" 5368 case "(($ac_try" in 5369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5370 *) ac_try_echo=$ac_try;; 5371 esac 5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5373 (eval "$ac_compile") 2>conftest.er1 4362 5374 ac_status=$? 4363 5375 grep -v '^ *+' conftest.er1 >conftest.err … … 4366 5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4367 5379 (exit $ac_status); } && 4368 { ac_try='test -z "$ac_c_werror_flag" 4369 || test ! -s conftest.err' 4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4371 (eval $ac_try) 2>&5 5380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5381 { (case "(($ac_try" in 5382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5383 *) ac_try_echo=$ac_try;; 5384 esac 5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5386 (eval "$ac_try") 2>&5 4372 5387 ac_status=$? 4373 5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4374 5389 (exit $ac_status); }; } && 4375 5390 { ac_try='test -s conftest.$ac_objext' 4376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4377 (eval $ac_try) 2>&5 5391 { (case "(($ac_try" in 5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5393 *) ac_try_echo=$ac_try;; 5394 esac 5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5396 (eval "$ac_try") 2>&5 4378 5397 ac_status=$? 4379 5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4384 5403 sed 's/^/| /' conftest.$ac_ext >&5 4385 5404 4386 ac_header_compiler=no 4387 fi 4388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4390 echo "${ECHO_T}$ac_header_compiler" >&6 5405 ac_header_compiler=no 5406 fi 5407 5408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5409 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5410 echo "${ECHO_T}$ac_header_compiler" >&6; } 4391 5411 4392 5412 # Is the header present? 4393 echo "$as_me:$LINENO: checking $ac_header presence" >&54394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5413 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4395 5415 cat >conftest.$ac_ext <<_ACEOF 4396 5416 /* confdefs.h. */ … … 4401 5421 #include <$ac_header> 4402 5422 _ACEOF 4403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5423 if { (ac_try="$ac_cpp conftest.$ac_ext" 5424 case "(($ac_try" in 5425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5426 *) ac_try_echo=$ac_try;; 5427 esac 5428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4405 5430 ac_status=$? 4406 5431 grep -v '^ *+' conftest.er1 >conftest.err … … 4426 5451 ac_header_preproc=no 4427 5452 fi 5453 4428 5454 rm -f conftest.err conftest.$ac_ext 4429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54430 echo "${ECHO_T}$ac_header_preproc" >&6 5455 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5456 echo "${ECHO_T}$ac_header_preproc" >&6; } 4431 5457 4432 5458 # So? What about this header? … … 4452 5478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4453 5479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4454 ( 4455 cat <<\_ASBOX 5480 ( cat <<\_ASBOX 4456 5481 ## --------------------------------- ## 4457 5482 ## Report this to BUG-REPORT-ADDRESS ## 4458 5483 ## --------------------------------- ## 4459 5484 _ASBOX 4460 ) | 4461 sed "s/^/$as_me: WARNING: /" >&2 5485 ) | sed "s/^/$as_me: WARNING: /" >&2 4462 5486 ;; 4463 5487 esac 4464 echo "$as_me:$LINENO: checking for $ac_header" >&54465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4466 if eval "test \"\${$as_ac_Header+set}\" = set"; then5488 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4467 5491 echo $ECHO_N "(cached) $ECHO_C" >&6 4468 5492 else 4469 5493 eval "$as_ac_Header=\$ac_header_preproc" 4470 5494 fi 4471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5495 ac_res=`eval echo '${'$as_ac_Header'}'` 5496 { echo "$as_me:$LINENO: result: $ac_res" >&5 5497 echo "${ECHO_T}$ac_res" >&6; } 4473 5498 4474 5499 fi … … 4482 5507 done 4483 5508 4484 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&54485 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 5509 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 5510 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } 4486 5511 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then 4487 5512 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4505 5530 main () 4506 5531 { 4507 exit (realloc (0, 0) ? 0 : 1);5532 return ! realloc (0, 0); 4508 5533 ; 4509 5534 return 0; … … 4511 5536 _ACEOF 4512 5537 rm -f conftest$ac_exeext 4513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4514 (eval $ac_link) 2>&5 5538 if { (ac_try="$ac_link" 5539 case "(($ac_try" in 5540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5541 *) ac_try_echo=$ac_try;; 5542 esac 5543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5544 (eval "$ac_link") 2>&5 4515 5545 ac_status=$? 4516 5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4517 5547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4519 (eval $ac_try) 2>&5 5548 { (case "(($ac_try" in 5549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5550 *) ac_try_echo=$ac_try;; 5551 esac 5552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5553 (eval "$ac_try") 2>&5 4520 5554 ac_status=$? 4521 5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4530 5564 ac_cv_func_realloc_0_nonnull=no 4531 5565 fi 4532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4533 fi 4534 fi 4535 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 4536 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 5566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5567 fi 5568 5569 5570 fi 5571 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 5572 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } 4537 5573 if test $ac_cv_func_realloc_0_nonnull = yes; then 4538 5574 … … 4546 5582 _ACEOF 4547 5583 4548 case $LIBOBJS in 4549 "realloc.$ac_objext" | \ 4550 *" realloc.$ac_objext" | \ 4551 "realloc.$ac_objext "* | \ 5584 case " $LIBOBJS " in 4552 5585 *" realloc.$ac_objext "* ) ;; 4553 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; 5586 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 5587 ;; 4554 5588 esac 4555 5589 … … 4567 5601 do 4568 5602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4569 echo "$as_me:$LINENO: checking for $ac_func" >&54570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4571 if eval "test \"\${$as_ac_var+set}\" = set"; then5603 { echo "$as_me:$LINENO: checking for $ac_func" >&5 5604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4572 5606 echo $ECHO_N "(cached) $ECHO_C" >&6 4573 5607 else … … 4595 5629 #undef $ac_func 4596 5630 4597 /* Override any gcc2 internal prototype to avoid an error. */ 5631 /* Override any GCC internal prototype to avoid an error. 5632 Use char because int might match the return type of a GCC 5633 builtin and then its argument prototype would still apply. */ 4598 5634 #ifdef __cplusplus 4599 5635 extern "C" 4600 {4601 5636 #endif 4602 /* We use char because int might match the return type of a gcc24603 builtin and then its argument prototype would still apply. */4604 5637 char $ac_func (); 4605 5638 /* The GNU C library defines this for functions which it implements 4606 5639 to always fail with ENOSYS. Some functions are actually named 4607 5640 something starting with __ and the normal name is an alias. */ 4608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)5641 #if defined __stub_$ac_func || defined __stub___$ac_func 4609 5642 choke me 4610 #else4611 char (*f) () = $ac_func;4612 #endif4613 #ifdef __cplusplus4614 }4615 5643 #endif 4616 5644 … … 4618 5646 main () 4619 5647 { 4620 return f != $ac_func;5648 return $ac_func (); 4621 5649 ; 4622 5650 return 0; … … 4624 5652 _ACEOF 4625 5653 rm -f conftest.$ac_objext conftest$ac_exeext 4626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4627 (eval $ac_link) 2>conftest.er1 5654 if { (ac_try="$ac_link" 5655 case "(($ac_try" in 5656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5657 *) ac_try_echo=$ac_try;; 5658 esac 5659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5660 (eval "$ac_link") 2>conftest.er1 4628 5661 ac_status=$? 4629 5662 grep -v '^ *+' conftest.er1 >conftest.err … … 4632 5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4633 5666 (exit $ac_status); } && 4634 { ac_try='test -z "$ac_c_werror_flag" 4635 || test ! -s conftest.err' 4636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4637 (eval $ac_try) 2>&5 5667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5668 { (case "(($ac_try" in 5669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5670 *) ac_try_echo=$ac_try;; 5671 esac 5672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5673 (eval "$ac_try") 2>&5 4638 5674 ac_status=$? 4639 5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4640 5676 (exit $ac_status); }; } && 4641 5677 { ac_try='test -s conftest$ac_exeext' 4642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4643 (eval $ac_try) 2>&5 5678 { (case "(($ac_try" in 5679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5680 *) ac_try_echo=$ac_try;; 5681 esac 5682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5683 (eval "$ac_try") 2>&5 4644 5684 ac_status=$? 4645 5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4650 5690 sed 's/^/| /' conftest.$ac_ext >&5 4651 5691 4652 eval "$as_ac_var=no" 4653 fi 4654 rm -f conftest.err conftest.$ac_objext \ 5692 eval "$as_ac_var=no" 5693 fi 5694 5695 rm -f core conftest.err conftest.$ac_objext \ 4655 5696 conftest$ac_exeext conftest.$ac_ext 4656 5697 fi 4657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5698 ac_res=`eval echo '${'$as_ac_var'}'` 5699 { echo "$as_me:$LINENO: result: $ac_res" >&5 5700 echo "${ECHO_T}$ac_res" >&6; } 4659 5701 if test `eval echo '${'$as_ac_var'}'` = yes; then 4660 5702 cat >>confdefs.h <<_ACEOF … … 4662 5704 _ACEOF 4663 5705 4664 echo "$as_me:$LINENO: checking for _doprnt" >&54665 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 5706 { echo "$as_me:$LINENO: checking for _doprnt" >&5 5707 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 4666 5708 if test "${ac_cv_func__doprnt+set}" = set; then 4667 5709 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4690 5732 #undef _doprnt 4691 5733 4692 /* Override any gcc2 internal prototype to avoid an error. */ 5734 /* Override any GCC internal prototype to avoid an error. 5735 Use char because int might match the return type of a GCC 5736 builtin and then its argument prototype would still apply. */ 4693 5737 #ifdef __cplusplus 4694 5738 extern "C" 4695 {4696 5739 #endif 4697 /* We use char because int might match the return type of a gcc24698 builtin and then its argument prototype would still apply. */4699 5740 char _doprnt (); 4700 5741 /* The GNU C library defines this for functions which it implements 4701 5742 to always fail with ENOSYS. Some functions are actually named 4702 5743 something starting with __ and the normal name is an alias. */ 4703 #if defined (__stub__doprnt) || defined (__stub____doprnt)5744 #if defined __stub__doprnt || defined __stub____doprnt 4704 5745 choke me 4705 #else4706 char (*f) () = _doprnt;4707 #endif4708 #ifdef __cplusplus4709 }4710 5746 #endif 4711 5747 … … 4713 5749 main () 4714 5750 { 4715 return f != _doprnt;5751 return _doprnt (); 4716 5752 ; 4717 5753 return 0; … … 4719 5755 _ACEOF 4720 5756 rm -f conftest.$ac_objext conftest$ac_exeext 4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4722 (eval $ac_link) 2>conftest.er1 5757 if { (ac_try="$ac_link" 5758 case "(($ac_try" in 5759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5760 *) ac_try_echo=$ac_try;; 5761 esac 5762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5763 (eval "$ac_link") 2>conftest.er1 4723 5764 ac_status=$? 4724 5765 grep -v '^ *+' conftest.er1 >conftest.err … … 4727 5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4728 5769 (exit $ac_status); } && 4729 { ac_try='test -z "$ac_c_werror_flag" 4730 || test ! -s conftest.err' 4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4732 (eval $ac_try) 2>&5 5770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5771 { (case "(($ac_try" in 5772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5773 *) ac_try_echo=$ac_try;; 5774 esac 5775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5776 (eval "$ac_try") 2>&5 4733 5777 ac_status=$? 4734 5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4735 5779 (exit $ac_status); }; } && 4736 5780 { ac_try='test -s conftest$ac_exeext' 4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4738 (eval $ac_try) 2>&5 5781 { (case "(($ac_try" in 5782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5783 *) ac_try_echo=$ac_try;; 5784 esac 5785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5786 (eval "$ac_try") 2>&5 4739 5787 ac_status=$? 4740 5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4745 5793 sed 's/^/| /' conftest.$ac_ext >&5 4746 5794 4747 ac_cv_func__doprnt=no 4748 fi 4749 rm -f conftest.err conftest.$ac_objext \ 5795 ac_cv_func__doprnt=no 5796 fi 5797 5798 rm -f core conftest.err conftest.$ac_objext \ 4750 5799 conftest$ac_exeext conftest.$ac_ext 4751 5800 fi 4752 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&54753 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 5801 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 5802 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 4754 5803 if test $ac_cv_func__doprnt = yes; then 4755 5804 … … 4779 5828 do 4780 5829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4781 echo "$as_me:$LINENO: checking for $ac_func" >&54782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4783 if eval "test \"\${$as_ac_var+set}\" = set"; then5830 { echo "$as_me:$LINENO: checking for $ac_func" >&5 5831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4784 5833 echo $ECHO_N "(cached) $ECHO_C" >&6 4785 5834 else … … 4807 5856 #undef $ac_func 4808 5857 4809 /* Override any gcc2 internal prototype to avoid an error. */ 5858 /* Override any GCC internal prototype to avoid an error. 5859 Use char because int might match the return type of a GCC 5860 builtin and then its argument prototype would still apply. */ 4810 5861 #ifdef __cplusplus 4811 5862 extern "C" 4812 {4813 5863 #endif 4814 /* We use char because int might match the return type of a gcc24815 builtin and then its argument prototype would still apply. */4816 5864 char $ac_func (); 4817 5865 /* The GNU C library defines this for functions which it implements 4818 5866 to always fail with ENOSYS. Some functions are actually named 4819 5867 something starting with __ and the normal name is an alias. */ 4820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)5868 #if defined __stub_$ac_func || defined __stub___$ac_func 4821 5869 choke me 4822 #else4823 char (*f) () = $ac_func;4824 #endif4825 #ifdef __cplusplus4826 }4827 5870 #endif 4828 5871 … … 4830 5873 main () 4831 5874 { 4832 return f != $ac_func;5875 return $ac_func (); 4833 5876 ; 4834 5877 return 0; … … 4836 5879 _ACEOF 4837 5880 rm -f conftest.$ac_objext conftest$ac_exeext 4838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4839 (eval $ac_link) 2>conftest.er1 5881 if { (ac_try="$ac_link" 5882 case "(($ac_try" in 5883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5884 *) ac_try_echo=$ac_try;; 5885 esac 5886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5887 (eval "$ac_link") 2>conftest.er1 4840 5888 ac_status=$? 4841 5889 grep -v '^ *+' conftest.er1 >conftest.err … … 4844 5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4845 5893 (exit $ac_status); } && 4846 { ac_try='test -z "$ac_c_werror_flag" 4847 || test ! -s conftest.err' 4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4849 (eval $ac_try) 2>&5 5894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5895 { (case "(($ac_try" in 5896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5897 *) ac_try_echo=$ac_try;; 5898 esac 5899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5900 (eval "$ac_try") 2>&5 4850 5901 ac_status=$? 4851 5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4852 5903 (exit $ac_status); }; } && 4853 5904 { ac_try='test -s conftest$ac_exeext' 4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4855 (eval $ac_try) 2>&5 5905 { (case "(($ac_try" in 5906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5907 *) ac_try_echo=$ac_try;; 5908 esac 5909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5910 (eval "$ac_try") 2>&5 4856 5911 ac_status=$? 4857 5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4862 5917 sed 's/^/| /' conftest.$ac_ext >&5 4863 5918 4864 eval "$as_ac_var=no" 4865 fi 4866 rm -f conftest.err conftest.$ac_objext \ 5919 eval "$as_ac_var=no" 5920 fi 5921 5922 rm -f core conftest.err conftest.$ac_objext \ 4867 5923 conftest$ac_exeext conftest.$ac_ext 4868 5924 fi 4869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5925 ac_res=`eval echo '${'$as_ac_var'}'` 5926 { echo "$as_me:$LINENO: result: $ac_res" >&5 5927 echo "${ECHO_T}$ac_res" >&6; } 4871 5928 if test `eval echo '${'$as_ac_var'}'` = yes; then 4872 5929 cat >>confdefs.h <<_ACEOF … … 4947 6004 4948 6005 4949 # Check whether --with-sitedir or --without-sitedirwas given.6006 # Check whether --with-sitedir was given. 4950 6007 if test "${with_sitedir+set}" = set; then 4951 withval="$with_sitedir" 4952 sitedir=$withval 6008 withval=$with_sitedir; sitedir=$withval 4953 6009 else 4954 6010 sitedir='${prefix}/lib/newt0' 4955 fi; 6011 fi 6012 4956 6013 SITE_DIR="`eval \"echo ${sitedir}\"`" 4957 6014 4958 6015 4959 # Check whether --with-libffidir or --without-libffidirwas given.6016 # Check whether --with-libffidir was given. 4960 6017 if test "${with_libffidir+set}" = set; then 4961 withval="$with_libffidir" 4962 libffidir=$withval 6018 withval=$with_libffidir; libffidir=$withval 4963 6019 else 4964 6020 libffidir='${prefix}' 4965 fi; 4966 4967 # Check whether --enable-compat or --disable-compat was given. 6021 fi 6022 6023 6024 # Check whether --enable-compat was given. 4968 6025 if test "${enable_compat+set}" = set; then 4969 enableval="$enable_compat" 4970 compat='yes' 6026 enableval=$enable_compat; compat='yes' 4971 6027 else 4972 6028 compat='no' 4973 fi; 4974 4975 # Check whether --enable-contrib or --disable-contrib was given. 6029 fi 6030 6031 6032 # Check whether --enable-contrib was given. 4976 6033 if test "${enable_contrib+set}" = set; then 4977 enableval= "$enable_contrib"4978 MAKE_CONTRIB='contrib' 4979 fi; 6034 enableval=$enable_contrib; MAKE_CONTRIB='contrib' 6035 fi 6036 4980 6037 4981 6038 test "x$compat" = xno && cat >>confdefs.h <<\_ACEOF … … 5013 6070 5014 6071 5015 ac_config_files="$ac_config_files Makefile ext/protoFILE/Makefile ext/protoREGEX/Makefile contrib/inwt/Makefile contrib/NativeCalls/Makefile contrib/NewtObjC/Makefile" 6072 if test -n "$ac_tool_prefix"; then 6073 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6074 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6075 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6077 if test "${ac_cv_prog_RANLIB+set}" = set; then 6078 echo $ECHO_N "(cached) $ECHO_C" >&6 6079 else 6080 if test -n "$RANLIB"; then 6081 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6082 else 6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6084 for as_dir in $PATH 6085 do 6086 IFS=$as_save_IFS 6087 test -z "$as_dir" && as_dir=. 6088 for ac_exec_ext in '' $ac_executable_extensions; do 6089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 6090 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6092 break 2 6093 fi 6094 done 6095 done 6096 IFS=$as_save_IFS 6097 6098 fi 6099 fi 6100 RANLIB=$ac_cv_prog_RANLIB 6101 if test -n "$RANLIB"; then 6102 { echo "$as_me:$LINENO: result: $RANLIB" >&5 6103 echo "${ECHO_T}$RANLIB" >&6; } 6104 else 6105 { echo "$as_me:$LINENO: result: no" >&5 6106 echo "${ECHO_T}no" >&6; } 6107 fi 6108 6109 6110 fi 6111 if test -z "$ac_cv_prog_RANLIB"; then 6112 ac_ct_RANLIB=$RANLIB 6113 # Extract the first word of "ranlib", so it can be a program name with args. 6114 set dummy ranlib; ac_word=$2 6115 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6118 echo $ECHO_N "(cached) $ECHO_C" >&6 6119 else 6120 if test -n "$ac_ct_RANLIB"; then 6121 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6122 else 6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6124 for as_dir in $PATH 6125 do 6126 IFS=$as_save_IFS 6127 test -z "$as_dir" && as_dir=. 6128 for ac_exec_ext in '' $ac_executable_extensions; do 6129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 6130 ac_cv_prog_ac_ct_RANLIB="ranlib" 6131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6132 break 2 6133 fi 6134 done 6135 done 6136 IFS=$as_save_IFS 6137 6138 fi 6139 fi 6140 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6141 if test -n "$ac_ct_RANLIB"; then 6142 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6143 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 6144 else 6145 { echo "$as_me:$LINENO: result: no" >&5 6146 echo "${ECHO_T}no" >&6; } 6147 fi 6148 6149 if test "x$ac_ct_RANLIB" = x; then 6150 RANLIB=":" 6151 else 6152 case $cross_compiling:$ac_tool_warned in 6153 yes:) 6154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6155 whose name does not start with the host triplet. If you think this 6156 configuration is useful to you, please write to autoconf@gnu.org." >&5 6157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6158 whose name does not start with the host triplet. If you think this 6159 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6160 ac_tool_warned=yes ;; 6161 esac 6162 RANLIB=$ac_ct_RANLIB 6163 fi 6164 else 6165 RANLIB="$ac_cv_prog_RANLIB" 6166 fi 6167 6168 # Extract the first word of "ar", so it can be a program name with args. 6169 set dummy ar; ac_word=$2 6170 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6172 if test "${ac_cv_path_AR+set}" = set; then 6173 echo $ECHO_N "(cached) $ECHO_C" >&6 6174 else 6175 case $AR in 6176 [\\/]* | ?:[\\/]*) 6177 ac_cv_path_AR="$AR" # Let the user override the test with a path. 6178 ;; 6179 *) 6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6181 for as_dir in $PATH 6182 do 6183 IFS=$as_save_IFS 6184 test -z "$as_dir" && as_dir=. 6185 for ac_exec_ext in '' $ac_executable_extensions; do 6186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 6187 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" 6188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6189 break 2 6190 fi 6191 done 6192 done 6193 IFS=$as_save_IFS 6194 6195 ;; 6196 esac 6197 fi 6198 AR=$ac_cv_path_AR 6199 if test -n "$AR"; then 6200 { echo "$as_me:$LINENO: result: $AR" >&5 6201 echo "${ECHO_T}$AR" >&6; } 6202 else 6203 { echo "$as_me:$LINENO: result: no" >&5 6204 echo "${ECHO_T}no" >&6; } 6205 fi 6206 6207 6208 if test "x$AR" = "x:"; then 6209 { { echo "$as_me:$LINENO: error: Configure could not find the library archiver" >&5 6210 echo "$as_me: error: Configure could not find the library archiver" >&2;} 6211 { (exit aborting.); exit aborting.; }; } 6212 fi 6213 if test "x$RANLIB" != "x:"; then 6214 LIBCOMMAND="$AR cr" 6215 else 6216 LIBCOMMAND="$AR crs" 6217 fi 6218 6219 LIBEXT=".a" 6220 6221 6222 6223 ac_config_files="$ac_config_files Makefile ext/protoFILE/Makefile ext/protoREGEX/Makefile contrib/inwt/Makefile contrib/inwt/inwt contrib/NativeCalls/Makefile contrib/NewtObjC/Makefile" 5016 6224 5017 6225 cat >confcache <<\_ACEOF … … 5033 6241 # The following way of writing the cache mishandles newlines in values, 5034 6242 # but we know of no workaround that is simple, portable, and efficient. 5035 # So, don't put newlines in cache variables' values.6243 # So, we kill variables containing newlines. 5036 6244 # Ultrix sh set writes to stderr and can't be redirected directly, 5037 6245 # and sets the high bit in the cache file unless we assign to the vars. 5038 { 6246 ( 6247 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6248 eval ac_val=\$$ac_var 6249 case $ac_val in #( 6250 *${as_nl}*) 6251 case $ac_var in #( 6252 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 6253 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 6254 esac 6255 case $ac_var in #( 6256 _ | IFS | as_nl) ;; #( 6257 *) $as_unset $ac_var ;; 6258 esac ;; 6259 esac 6260 done 6261 5039 6262 (set) 2>&1 | 5040 case `(ac_space=' '; set | grep ac_space) 2>&1` in5041 * ac_space=\ *)6263 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6264 *${as_nl}ac_space=\ *) 5042 6265 # `set' does not quote correctly, so add quotes (double-quote 5043 6266 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 5045 6268 "s/'/'\\\\''/g; 5046 6269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5047 ;; 6270 ;; #( 5048 6271 *) 5049 6272 # `set' quotes correctly as required by POSIX, so do not add quotes. 5050 sed -n \ 5051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5052 6274 ;; 5053 esac; 5054 } | 6275 esac | 6276 sort 6277 ) | 5055 6278 sed ' 6279 /^ac_cv_env_/b end 5056 6280 t clear 5057 : clear6281 :clear 5058 6282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5059 6283 t end 5060 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5061 : end' >>confcache 5062 if diff $cache_file confcache >/dev/null 2>&1; then :; else 5063 if test -w $cache_file; then 5064 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6285 :end' >>confcache 6286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6287 if test -w "$cache_file"; then 6288 test "x$cache_file" != "x/dev/null" && 6289 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 6290 echo "$as_me: updating cache $cache_file" >&6;} 5065 6291 cat confcache >$cache_file 5066 6292 else 5067 echo "not updating unwritable cache $cache_file" 6293 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6294 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5068 6295 fi 5069 6296 fi … … 5073 6300 # Let make expand exec_prefix. 5074 6301 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5075 5076 # VPATH may cause trouble with some makes, so we remove $(srcdir),5077 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and5078 # trailing colons and then remove the whole line if VPATH becomes empty5079 # (actually we leave an empty line to preserve line numbers).5080 if test "x$srcdir" = x.; then5081 ac_vpsub='/^[ ]*VPATH[ ]*=/{5082 s/:*\$(srcdir):*/:/;5083 s/:*\${srcdir}:*/:/;5084 s/:*@srcdir@:*/:/;5085 s/^\([^=]*=[ ]*\):*/\1/;5086 s/:*$//;5087 s/^[^=]*=[ ]*$//;5088 }'5089 fi5090 6302 5091 6303 DEFS=-DHAVE_CONFIG_H … … 5095 6307 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5096 6308 # 1. Remove the extension, and $U if already installed. 5097 ac_i=`echo "$ac_i" | 5098 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5099 # 2. Add them. 5100 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5101 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6309 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6310 ac_i=`echo "$ac_i" | sed "$ac_script"` 6311 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6312 # will be set to the directory where LIBOBJS objects are built. 6313 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6314 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5102 6315 done 5103 6316 LIBOBJS=$ac_libobjs … … 5137 6350 # is contrary to our usage. Disable this feature. 5138 6351 alias -g '${1+"$@"}'='"$@"' 5139 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5140 set -o posix 5141 fi 6352 setopt NO_GLOB_SUBST 6353 else 6354 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 6355 fi 6356 BIN_SH=xpg4; export BIN_SH # for Tru64 5142 6357 DUALCASE=1; export DUALCASE # for MKS sh 5143 6358 5144 # Support unset when possible. 5145 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5146 as_unset=unset 5147 else 5148 as_unset=false 5149 fi 5150 5151 5152 # Work around bugs in pre-3.0 UWIN ksh. 5153 $as_unset ENV MAIL MAILPATH 5154 PS1='$ ' 5155 PS2='> ' 5156 PS4='+ ' 5157 5158 # NLS nuisances. 5159 for as_var in \ 5160 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5161 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5162 LC_TELEPHONE LC_TIME 5163 do 5164 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5165 eval $as_var=C; export $as_var 5166 else 5167 $as_unset $as_var 5168 fi 5169 done 5170 5171 # Required to use basename. 5172 if expr a : '\(a\)' >/dev/null 2>&1; then 5173 as_expr=expr 5174 else 5175 as_expr=false 5176 fi 5177 5178 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5179 as_basename=basename 5180 else 5181 as_basename=false 5182 fi 5183 5184 5185 # Name of the executable. 5186 as_me=`$as_basename "$0" || 5187 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5188 X"$0" : 'X\(//\)$' \| \ 5189 X"$0" : 'X\(/\)$' \| \ 5190 . : '\(.\)' 2>/dev/null || 5191 echo X/"$0" | 5192 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5193 /^X\/\(\/\/\)$/{ s//\1/; q; } 5194 /^X\/\(\/\).*/{ s//\1/; q; } 5195 s/.*/./; q'` 5196 5197 5198 # PATH needs CR, and LINENO needs CR and PATH. 6359 6360 # PATH needs CR 5199 6361 # Avoid depending upon Character Ranges. 5200 6362 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 5217 6379 fi 5218 6380 5219 5220 as_lineno_1=$LINENO 5221 as_lineno_2=$LINENO 5222 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5223 test "x$as_lineno_1" != "x$as_lineno_2" && 5224 test "x$as_lineno_3" = "x$as_lineno_2" || { 5225 # Find who we are. Look in the path if we contain no path at all 5226 # relative or not. 5227 case $0 in 5228 *[\\/]* ) as_myself=$0 ;; 5229 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6381 # Support unset when possible. 6382 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6383 as_unset=unset 6384 else 6385 as_unset=false 6386 fi 6387 6388 6389 # IFS 6390 # We need space, tab and new line, in precisely that order. Quoting is 6391 # there to prevent editors from complaining about space-tab. 6392 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6393 # splitting by setting IFS to empty value.) 6394 as_nl=' 6395 ' 6396 IFS=" "" $as_nl" 6397 6398 # Find who we are. Look in the path if we contain no directory separator. 6399 case $0 in 6400 *[\\/]* ) as_myself=$0 ;; 6401 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5230 6402 for as_dir in $PATH 5231 6403 do … … 5234 6406 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5235 6407 done 5236 5237 ;; 5238 esac 5239 # We did not find ourselves, most probably we were run as `sh COMMAND' 5240 # in which case we are not to be found in the path. 5241 if test "x$as_myself" = x; then 5242 as_myself=$0 6408 IFS=$as_save_IFS 6409 6410 ;; 6411 esac 6412 # We did not find ourselves, most probably we were run as `sh COMMAND' 6413 # in which case we are not to be found in the path. 6414 if test "x$as_myself" = x; then 6415 as_myself=$0 6416 fi 6417 if test ! -f "$as_myself"; then 6418 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6419 { (exit 1); exit 1; } 6420 fi 6421 6422 # Work around bugs in pre-3.0 UWIN ksh. 6423 for as_var in ENV MAIL MAILPATH 6424 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6425 done 6426 PS1='$ ' 6427 PS2='> ' 6428 PS4='+ ' 6429 6430 # NLS nuisances. 6431 for as_var in \ 6432 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 6433 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 6434 LC_TELEPHONE LC_TIME 6435 do 6436 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6437 eval $as_var=C; export $as_var 6438 else 6439 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5243 6440 fi 5244 if test ! -f "$as_myself"; then 5245 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5246 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5247 { (exit 1); exit 1; }; } 5248 fi 5249 case $CONFIG_SHELL in 5250 '') 5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5252 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5253 do 5254 IFS=$as_save_IFS 5255 test -z "$as_dir" && as_dir=. 5256 for as_base in sh bash ksh sh5; do 5257 case $as_dir in 5258 /*) 5259 if ("$as_dir/$as_base" -c ' 6441 done 6442 6443 # Required to use basename. 6444 if expr a : '\(a\)' >/dev/null 2>&1 && 6445 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6446 as_expr=expr 6447 else 6448 as_expr=false 6449 fi 6450 6451 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6452 as_basename=basename 6453 else 6454 as_basename=false 6455 fi 6456 6457 6458 # Name of the executable. 6459 as_me=`$as_basename -- "$0" || 6460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6461 X"$0" : 'X\(//\)$' \| \ 6462 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6463 echo X/"$0" | 6464 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6465 s//\1/ 6466 q 6467 } 6468 /^X\/\(\/\/\)$/{ 6469 s//\1/ 6470 q 6471 } 6472 /^X\/\(\/\).*/{ 6473 s//\1/ 6474 q 6475 } 6476 s/.*/./; q'` 6477 6478 # CDPATH. 6479 $as_unset CDPATH 6480 6481 6482 5260 6483 as_lineno_1=$LINENO 5261 6484 as_lineno_2=$LINENO 5262 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`5263 6485 test "x$as_lineno_1" != "x$as_lineno_2" && 5264 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5265 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5266 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5267 CONFIG_SHELL=$as_dir/$as_base 5268 export CONFIG_SHELL 5269 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5270 fi;; 5271 esac 5272 done 5273 done 5274 ;; 5275 esac 6486 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5276 6487 5277 6488 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5278 6489 # uniformly replaced by the line number. The first 'sed' inserts a 5279 # line-number line before each line; the second 'sed' does the real 5280 # work. The second script uses 'N' to pair each line-number line 5281 # with the numbered line, and appends trailing '-' during 5282 # substitution so that $LINENO is not a special case at line end. 6490 # line-number line after each line using $LINENO; the second 'sed' 6491 # does the real work. The second script uses 'N' to pair each 6492 # line-number line with the line containing $LINENO, and appends 6493 # trailing '-' during substitution so that $LINENO is not a special 6494 # case at line end. 5283 6495 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5284 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5285 sed '=' <$as_myself | 6496 # scripts with optimization help from Paolo Bonzini. Blame Lee 6497 # E. McMahon (1931-1989) for sed's syntax. :-) 6498 sed -n ' 6499 p 6500 /[$]LINENO/= 6501 ' <$as_myself | 5286 6502 sed ' 6503 s/[$]LINENO.*/&-/ 6504 t lineno 6505 b 6506 :lineno 5287 6507 N 5288 s,$,-, 5289 : loop 5290 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6508 :loop 6509 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5291 6510 t loop 5292 s,-$,, 5293 s,^['$as_cr_digits']*\n,, 6511 s/-\n.*// 5294 6512 ' >$as_me.lineno && 5295 chmod +x $as_me.lineno || 5296 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5297 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6513 chmod +x "$as_me.lineno" || 6514 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5298 6515 { (exit 1); exit 1; }; } 5299 6516 5300 6517 # Don't try to exec as it changes $[0], causing all sort of problems 5301 6518 # (the dirname of $[0] is not the place where we might find the 5302 # original and so on. Autoconf is especially sensi ble to this).5303 . ./$as_me.lineno6519 # original and so on. Autoconf is especially sensitive to this). 6520 . "./$as_me.lineno" 5304 6521 # Exit status is that of the last command. 5305 6522 exit … … 5307 6524 5308 6525 5309 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5310 *c*,-n*) ECHO_N= ECHO_C=' 5311 ' ECHO_T=' ' ;; 5312 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5313 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5314 esac 5315 5316 if expr a : '\(a\)' >/dev/null 2>&1; then 6526 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6527 as_dirname=dirname 6528 else 6529 as_dirname=false 6530 fi 6531 6532 ECHO_C= ECHO_N= ECHO_T= 6533 case `echo -n x` in 6534 -n*) 6535 case `echo 'x\c'` in 6536 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6537 *) ECHO_C='\c';; 6538 esac;; 6539 *) 6540 ECHO_N='-n';; 6541 esac 6542 6543 if expr a : '\(a\)' >/dev/null 2>&1 && 6544 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5317 6545 as_expr=expr 5318 6546 else … … 5321 6549 5322 6550 rm -f conf$$ conf$$.exe conf$$.file 6551 if test -d conf$$.dir; then 6552 rm -f conf$$.dir/conf$$.file 6553 else 6554 rm -f conf$$.dir 6555 mkdir conf$$.dir 6556 fi 5323 6557 echo >conf$$.file 5324 6558 if ln -s conf$$.file conf$$ 2>/dev/null; then 5325 # We could just check for DJGPP; but this test a) works b) is more generic 5326 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5327 if test -f conf$$.exe; then 5328 # Don't use ln at all; we don't have any links 6559 as_ln_s='ln -s' 6560 # ... but there are two gotchas: 6561 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6562 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6563 # In both cases, we have to default to `cp -p'. 6564 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5329 6565 as_ln_s='cp -p' 5330 else5331 as_ln_s='ln -s'5332 fi5333 6566 elif ln conf$$.file conf$$ 2>/dev/null; then 5334 6567 as_ln_s=ln … … 5336 6569 as_ln_s='cp -p' 5337 6570 fi 5338 rm -f conf$$ conf$$.exe conf$$.file 6571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6572 rmdir conf$$.dir 2>/dev/null 5339 6573 5340 6574 if mkdir -p . 2>/dev/null; then … … 5345 6579 fi 5346 6580 5347 as_executable_p="test -f" 6581 # Find out whether ``test -x'' works. Don't use a zero-byte file, as 6582 # systems may use methods other than mode bits to determine executability. 6583 cat >conf$$.file <<_ASEOF 6584 #! /bin/sh 6585 exit 0 6586 _ASEOF 6587 chmod +x conf$$.file 6588 if test -x conf$$.file >/dev/null 2>&1; then 6589 as_executable_p="test -x" 6590 else 6591 as_executable_p=: 6592 fi 6593 rm -f conf$$.file 5348 6594 5349 6595 # Sed expression to map a string onto a valid CPP name. … … 5354 6600 5355 6601 5356 # IFS5357 # We need space, tab and new line, in precisely that order.5358 as_nl='5359 '5360 IFS=" $as_nl"5361 5362 # CDPATH.5363 $as_unset CDPATH5364 5365 6602 exec 6>&1 5366 6603 5367 # Open the log real soon, to keep \$[0] and so on meaningful, and to6604 # Save the log message, to keep $[0] and so on meaningful, and to 5368 6605 # report actual input values of CONFIG_FILES etc. instead of their 5369 # values after options handling. Logging --version etc. is OK. 5370 exec 5>>config.log 5371 { 5372 echo 5373 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5374 ## Running $as_me. ## 5375 _ASBOX 5376 } >&5 5377 cat >&5 <<_CSEOF 5378 6606 # values after options handling. 6607 ac_log=" 5379 6608 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was 5380 generated by GNU Autoconf 2. 59. Invocation command line was6609 generated by GNU Autoconf 2.60. Invocation command line was 5381 6610 5382 6611 CONFIG_FILES = $CONFIG_FILES … … 5386 6615 $ $0 $@ 5387 6616 5388 _CSEOF 5389 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5390 echo >&5 5391 _ACEOF 5392 6617 on `(hostname || uname -n) 2>/dev/null | sed 1q` 6618 " 6619 6620 _ACEOF 6621 6622 cat >>$CONFIG_STATUS <<_ACEOF 5393 6623 # Files that config.status was made for. 5394 if test -n "$ac_config_files"; then 5395 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5396 fi 5397 5398 if test -n "$ac_config_headers"; then 5399 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5400 fi 5401 5402 if test -n "$ac_config_links"; then 5403 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5404 fi 5405 5406 if test -n "$ac_config_commands"; then 5407 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5408 fi 6624 config_files="$ac_config_files" 6625 config_headers="$ac_config_headers" 6626 6627 _ACEOF 5409 6628 5410 6629 cat >>$CONFIG_STATUS <<\_ACEOF 5411 5412 6630 ac_cs_usage="\ 5413 6631 \`$as_me' instantiates files from templates according to the … … 5433 6651 5434 6652 Report bugs to <bug-autoconf@gnu.org>." 5435 _ACEOF 5436 6653 6654 _ACEOF 5437 6655 cat >>$CONFIG_STATUS <<_ACEOF 5438 6656 ac_cs_version="\\ 5439 6657 FULL-PACKAGE-NAME config.status VERSION 5440 configured by $0, generated by GNU Autoconf 2. 59,5441 with options \\"`echo "$ac_configure_args" | sed 's/ [\\""\`\$]/\\\\&/g'`\\"5442 5443 Copyright (C) 200 3Free Software Foundation, Inc.6658 configured by $0, generated by GNU Autoconf 2.60, 6659 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6660 6661 Copyright (C) 2006 Free Software Foundation, Inc. 5444 6662 This config.status script is free software; the Free Software Foundation 5445 6663 gives unlimited permission to copy, distribute and modify it." 5446 srcdir=$srcdir 6664 6665 ac_pwd='$ac_pwd' 6666 srcdir='$srcdir' 5447 6667 _ACEOF 5448 6668 … … 5455 6675 case $1 in 5456 6676 --*=*) 5457 ac_option=`expr " x$1" : 'x\([^=]*\)='`5458 ac_optarg=`expr " x$1" : 'x[^=]*=\(.*\)'`6677 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6678 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5459 6679 ac_shift=: 5460 6680 ;; 5461 -*)6681 *) 5462 6682 ac_option=$1 5463 6683 ac_optarg=$2 5464 6684 ac_shift=shift 5465 6685 ;; 5466 *) # This is not an option, so the user has probably given explicit5467 # arguments.5468 ac_option=$15469 ac_need_defaults=false;;5470 6686 esac 5471 6687 5472 6688 case $ac_option in 5473 6689 # Handling of the options. 5474 _ACEOF5475 cat >>$CONFIG_STATUS <<\_ACEOF5476 6690 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5477 6691 ac_cs_recheck=: ;; 5478 --version | --vers* | -V ) 5479 echo "$ac_cs_version"; exit 0 ;; 5480 --he | --h) 5481 # Conflict between --help and --header 5482 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5483 Try \`$0 --help' for more information." >&5 5484 echo "$as_me: error: ambiguous option: $1 5485 Try \`$0 --help' for more information." >&2;} 5486 { (exit 1); exit 1; }; };; 5487 --help | --hel | -h ) 5488 echo "$ac_cs_usage"; exit 0 ;; 5489 --debug | --d* | -d ) 6692 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6693 echo "$ac_cs_version"; exit ;; 6694 --debug | --debu | --deb | --de | --d | -d ) 5490 6695 debug=: ;; 5491 6696 --file | --fil | --fi | --f ) … … 5497 6702 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5498 6703 ac_need_defaults=false;; 6704 --he | --h) 6705 # Conflict between --help and --header 6706 { echo "$as_me: error: ambiguous option: $1 6707 Try \`$0 --help' for more information." >&2 6708 { (exit 1); exit 1; }; };; 6709 --help | --hel | -h ) 6710 echo "$ac_cs_usage"; exit ;; 5499 6711 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5500 6712 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 5502 6714 5503 6715 # This is an error. 5504 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5505 Try \`$0 --help' for more information." >&5 5506 echo "$as_me: error: unrecognized option: $1 5507 Try \`$0 --help' for more information." >&2;} 6716 -*) { echo "$as_me: error: unrecognized option: $1 6717 Try \`$0 --help' for more information." >&2 5508 6718 { (exit 1); exit 1; }; } ;; 5509 6719 5510 *) ac_config_targets="$ac_config_targets $1" ;; 6720 *) ac_config_targets="$ac_config_targets $1" 6721 ac_need_defaults=false ;; 5511 6722 5512 6723 esac … … 5524 6735 cat >>$CONFIG_STATUS <<_ACEOF 5525 6736 if \$ac_cs_recheck; then 5526 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5527 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5528 fi 5529 5530 _ACEOF 5531 5532 5533 5534 5535 6737 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6738 CONFIG_SHELL=$SHELL 6739 export CONFIG_SHELL 6740 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6741 fi 6742 6743 _ACEOF 5536 6744 cat >>$CONFIG_STATUS <<\_ACEOF 6745 exec 5>>config.log 6746 { 6747 echo 6748 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6749 ## Running $as_me. ## 6750 _ASBOX 6751 echo "$ac_log" 6752 } >&5 6753 6754 _ACEOF 6755 cat >>$CONFIG_STATUS <<_ACEOF 6756 _ACEOF 6757 6758 cat >>$CONFIG_STATUS <<\_ACEOF 6759 6760 # Handling of arguments. 5537 6761 for ac_config_target in $ac_config_targets 5538 6762 do 5539 case "$ac_config_target" in 5540 # Handling of arguments. 5541 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5542 "ext/protoFILE/Makefile" ) CONFIG_FILES="$CONFIG_FILES ext/protoFILE/Makefile" ;; 5543 "ext/protoREGEX/Makefile" ) CONFIG_FILES="$CONFIG_FILES ext/protoREGEX/Makefile" ;; 5544 "contrib/inwt/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/inwt/Makefile" ;; 5545 "contrib/NativeCalls/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/NativeCalls/Makefile" ;; 5546 "contrib/NewtObjC/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/NewtObjC/Makefile" ;; 5547 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 5548 "src/newt_core/incs/NewtConf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/newt_core/incs/NewtConf.h" ;; 6763 case $ac_config_target in 6764 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 6765 "src/newt_core/incs/NewtConf.h") CONFIG_HEADERS="$CONFIG_HEADERS src/newt_core/incs/NewtConf.h" ;; 6766 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6767 "ext/protoFILE/Makefile") CONFIG_FILES="$CONFIG_FILES ext/protoFILE/Makefile" ;; 6768 "ext/protoREGEX/Makefile") CONFIG_FILES="$CONFIG_FILES ext/protoREGEX/Makefile" ;; 6769 "contrib/inwt/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/inwt/Makefile" ;; 6770 "contrib/inwt/inwt") CONFIG_FILES="$CONFIG_FILES contrib/inwt/inwt" ;; 6771 "contrib/NativeCalls/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/NativeCalls/Makefile" ;; 6772 "contrib/NewtObjC/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/NewtObjC/Makefile" ;; 6773 5549 6774 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5550 6775 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 5552 6777 esac 5553 6778 done 6779 5554 6780 5555 6781 # If the user did not use the arguments to specify the items to instantiate, … … 5563 6789 5564 6790 # Have a temporary directory for convenience. Make it in the build tree 5565 # simply because there is no reason to putit here, and in addition,6791 # simply because there is no reason against having it here, and in addition, 5566 6792 # creating and moving files from /tmp can sometimes cause problems. 5567 # Create a temporary directory, and hook for its removal unless debugging. 6793 # Hook for its removal unless debugging. 6794 # Note that there is a small window in which the directory will not be cleaned: 6795 # after its creation but before its name has been assigned to `$tmp'. 5568 6796 $debug || 5569 6797 { 5570 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 6798 tmp= 6799 trap 'exit_status=$? 6800 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6801 ' 0 5571 6802 trap '{ (exit 1); exit 1; }' 1 2 13 15 5572 6803 } 5573 5574 6804 # Create a (secure) tmp directory for tmp files. 5575 6805 5576 6806 { 5577 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&6807 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5578 6808 test -n "$tmp" && test -d "$tmp" 5579 6809 } || 5580 6810 { 5581 tmp=./conf stat$$-$RANDOM5582 (umask 077 && mkdir $tmp)6811 tmp=./conf$$-$RANDOM 6812 (umask 077 && mkdir "$tmp") 5583 6813 } || 5584 6814 { … … 5587 6817 } 5588 6818 5589 _ACEOF5590 5591 cat >>$CONFIG_STATUS <<_ACEOF5592 5593 6819 # 5594 # CONFIG_FILES section.6820 # Set up the sed scripts for CONFIG_FILES section. 5595 6821 # 5596 6822 5597 6823 # No need to generate the scripts if there are no CONFIG_FILES. 5598 6824 # This happens for instance when ./config.status config.h 5599 if test -n "\$CONFIG_FILES"; then 5600 # Protect against being on the right side of a sed subst in config.status. 5601 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5602 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5603 s,@SHELL@,$SHELL,;t t 5604 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5605 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5606 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5607 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5608 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5609 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5610 s,@exec_prefix@,$exec_prefix,;t t 5611 s,@prefix@,$prefix,;t t 5612 s,@program_transform_name@,$program_transform_name,;t t 5613 s,@bindir@,$bindir,;t t 5614 s,@sbindir@,$sbindir,;t t 5615 s,@libexecdir@,$libexecdir,;t t 5616 s,@datadir@,$datadir,;t t 5617 s,@sysconfdir@,$sysconfdir,;t t 5618 s,@sharedstatedir@,$sharedstatedir,;t t 5619 s,@localstatedir@,$localstatedir,;t t 5620 s,@libdir@,$libdir,;t t 5621 s,@includedir@,$includedir,;t t 5622 s,@oldincludedir@,$oldincludedir,;t t 5623 s,@infodir@,$infodir,;t t 5624 s,@mandir@,$mandir,;t t 5625 s,@build_alias@,$build_alias,;t t 5626 s,@host_alias@,$host_alias,;t t 5627 s,@target_alias@,$target_alias,;t t 5628 s,@DEFS@,$DEFS,;t t 5629 s,@ECHO_C@,$ECHO_C,;t t 5630 s,@ECHO_N@,$ECHO_N,;t t 5631 s,@ECHO_T@,$ECHO_T,;t t 5632 s,@LIBS@,$LIBS,;t t 5633 s,@CC@,$CC,;t t 5634 s,@CFLAGS@,$CFLAGS,;t t 5635 s,@LDFLAGS@,$LDFLAGS,;t t 5636 s,@CPPFLAGS@,$CPPFLAGS,;t t 5637 s,@ac_ct_CC@,$ac_ct_CC,;t t 5638 s,@EXEEXT@,$EXEEXT,;t t 5639 s,@OBJEXT@,$OBJEXT,;t t 5640 s,@YACC@,$YACC,;t t 5641 s,@LEX@,$LEX,;t t 5642 s,@LEXLIB@,$LEXLIB,;t t 5643 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 5644 s,@AR@,$AR,;t t 5645 s,@ac_ct_AR@,$ac_ct_AR,;t t 5646 s,@RANLIB@,$RANLIB,;t t 5647 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 5648 s,@build@,$build,;t t 5649 s,@build_cpu@,$build_cpu,;t t 5650 s,@build_vendor@,$build_vendor,;t t 5651 s,@build_os@,$build_os,;t t 5652 s,@host@,$host,;t t 5653 s,@host_cpu@,$host_cpu,;t t 5654 s,@host_vendor@,$host_vendor,;t t 5655 s,@host_os@,$host_os,;t t 5656 s,@target@,$target,;t t 5657 s,@target_cpu@,$target_cpu,;t t 5658 s,@target_vendor@,$target_vendor,;t t 5659 s,@target_os@,$target_os,;t t 5660 s,@CPP@,$CPP,;t t 5661 s,@EGREP@,$EGREP,;t t 5662 s,@LIBOBJS@,$LIBOBJS,;t t 5663 s,@NEWT_LDIMPORT@,$NEWT_LDIMPORT,;t t 5664 s,@NEWT_LDFLAGS@,$NEWT_LDFLAGS,;t t 5665 s,@LIBNEWT_LDSHARED@,$LIBNEWT_LDSHARED,;t t 5666 s,@LINK_NEWT_APP_@,$LINK_NEWT_APP_,;t t 5667 s,@DLEXT@,$DLEXT,;t t 5668 s,@MAKE_EXT@,$MAKE_EXT,;t t 5669 s,@MAKE_CONTRIB@,$MAKE_CONTRIB,;t t 5670 s,@BINDIR@,$BINDIR,;t t 5671 s,@sitedir@,$sitedir,;t t 5672 s,@libffidir@,$libffidir,;t t 5673 s,@__NAMED_MAGIC_POINTER__@,$__NAMED_MAGIC_POINTER__,;t t 5674 s,@LIBREGEX@,$LIBREGEX,;t t 5675 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5676 CEOF 5677 5678 _ACEOF 5679 5680 cat >>$CONFIG_STATUS <<\_ACEOF 5681 # Split the substitutions into bite-sized pieces for seds with 5682 # small command number limits, like on Digital OSF/1 and HP-UX. 5683 ac_max_sed_lines=48 5684 ac_sed_frag=1 # Number of current file. 5685 ac_beg=1 # First line for current file. 5686 ac_end=$ac_max_sed_lines # Line after last line for current file. 5687 ac_more_lines=: 5688 ac_sed_cmds= 5689 while $ac_more_lines; do 5690 if test $ac_beg -gt 1; then 5691 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5692 else 5693 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6825 if test -n "$CONFIG_FILES"; then 6826 6827 _ACEOF 6828 6829 6830 6831 ac_delim='%!_!# ' 6832 for ac_last_try in false false false false false :; do 6833 cat >conf$$subs.sed <<_ACEOF 6834 SHELL!$SHELL$ac_delim 6835 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 6836 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 6837 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 6838 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 6839 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 6840 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 6841 exec_prefix!$exec_prefix$ac_delim 6842 prefix!$prefix$ac_delim 6843 program_transform_name!$program_transform_name$ac_delim 6844 bindir!$bindir$ac_delim 6845 sbindir!$sbindir$ac_delim 6846 libexecdir!$libexecdir$ac_delim 6847 datarootdir!$datarootdir$ac_delim 6848 datadir!$datadir$ac_delim 6849 sysconfdir!$sysconfdir$ac_delim 6850 sharedstatedir!$sharedstatedir$ac_delim 6851 localstatedir!$localstatedir$ac_delim 6852 includedir!$includedir$ac_delim 6853 oldincludedir!$oldincludedir$ac_delim 6854 docdir!$docdir$ac_delim 6855 infodir!$infodir$ac_delim 6856 htmldir!$htmldir$ac_delim 6857 dvidir!$dvidir$ac_delim 6858 pdfdir!$pdfdir$ac_delim 6859 psdir!$psdir$ac_delim 6860 libdir!$libdir$ac_delim 6861 localedir!$localedir$ac_delim 6862 mandir!$mandir$ac_delim 6863 DEFS!$DEFS$ac_delim 6864 ECHO_C!$ECHO_C$ac_delim 6865 ECHO_N!$ECHO_N$ac_delim 6866 ECHO_T!$ECHO_T$ac_delim 6867 LIBS!$LIBS$ac_delim 6868 build_alias!$build_alias$ac_delim 6869 host_alias!$host_alias$ac_delim 6870 target_alias!$target_alias$ac_delim 6871 CC!$CC$ac_delim 6872 CFLAGS!$CFLAGS$ac_delim 6873 LDFLAGS!$LDFLAGS$ac_delim 6874 CPPFLAGS!$CPPFLAGS$ac_delim 6875 ac_ct_CC!$ac_ct_CC$ac_delim 6876 EXEEXT!$EXEEXT$ac_delim 6877 OBJEXT!$OBJEXT$ac_delim 6878 YACC!$YACC$ac_delim 6879 YFLAGS!$YFLAGS$ac_delim 6880 LEX!$LEX$ac_delim 6881 LEXLIB!$LEXLIB$ac_delim 6882 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim 6883 AR!$AR$ac_delim 6884 RANLIB!$RANLIB$ac_delim 6885 build!$build$ac_delim 6886 build_cpu!$build_cpu$ac_delim 6887 build_vendor!$build_vendor$ac_delim 6888 build_os!$build_os$ac_delim 6889 host!$host$ac_delim 6890 host_cpu!$host_cpu$ac_delim 6891 host_vendor!$host_vendor$ac_delim 6892 host_os!$host_os$ac_delim 6893 target!$target$ac_delim 6894 target_cpu!$target_cpu$ac_delim 6895 target_vendor!$target_vendor$ac_delim 6896 target_os!$target_os$ac_delim 6897 CPP!$CPP$ac_delim 6898 GREP!$GREP$ac_delim 6899 EGREP!$EGREP$ac_delim 6900 LIBOBJS!$LIBOBJS$ac_delim 6901 NEWT_LDIMPORT!$NEWT_LDIMPORT$ac_delim 6902 NEWT_LDFLAGS!$NEWT_LDFLAGS$ac_delim 6903 LIBNEWT_LDSHARED!$LIBNEWT_LDSHARED$ac_delim 6904 LINK_NEWT_APP_!$LINK_NEWT_APP_$ac_delim 6905 DLEXT!$DLEXT$ac_delim 6906 MAKE_EXT!$MAKE_EXT$ac_delim 6907 MAKE_CONTRIB!$MAKE_CONTRIB$ac_delim 6908 BINDIR!$BINDIR$ac_delim 6909 sitedir!$sitedir$ac_delim 6910 libffidir!$libffidir$ac_delim 6911 __NAMED_MAGIC_POINTER__!$__NAMED_MAGIC_POINTER__$ac_delim 6912 LIBREGEX!$LIBREGEX$ac_delim 6913 LIBCOMMAND!$LIBCOMMAND$ac_delim 6914 LIBEXT!$LIBEXT$ac_delim 6915 LTLIBOBJS!$LTLIBOBJS$ac_delim 6916 _ACEOF 6917 6918 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then 6919 break 6920 elif $ac_last_try; then 6921 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6922 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6923 { (exit 1); exit 1; }; } 6924 else 6925 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6926 fi 6927 done 6928 6929 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 6930 if test -n "$ac_eof"; then 6931 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 6932 ac_eof=`expr $ac_eof + 1` 6933 fi 6934 6935 cat >>$CONFIG_STATUS <<_ACEOF 6936 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 6937 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 6938 _ACEOF 6939 sed ' 6940 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 6941 s/^/s,@/; s/!/@,|#_!!_#|/ 6942 :n 6943 t n 6944 s/'"$ac_delim"'$/,g/; t 6945 s/$/\\/; p 6946 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 6947 ' >>$CONFIG_STATUS <conf$$subs.sed 6948 rm -f conf$$subs.sed 6949 cat >>$CONFIG_STATUS <<_ACEOF 6950 :end 6951 s/|#_!!_#|//g 6952 CEOF$ac_eof 6953 _ACEOF 6954 6955 6956 # VPATH may cause trouble with some makes, so we remove $(srcdir), 6957 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6958 # trailing colons and then remove the whole line if VPATH becomes empty 6959 # (actually we leave an empty line to preserve line numbers). 6960 if test "x$srcdir" = x.; then 6961 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6962 s/:*\$(srcdir):*/:/ 6963 s/:*\${srcdir}:*/:/ 6964 s/:*@srcdir@:*/:/ 6965 s/^\([^=]*=[ ]*\):*/\1/ 6966 s/:*$// 6967 s/^[^=]*=[ ]*$// 6968 }' 6969 fi 6970 6971 cat >>$CONFIG_STATUS <<\_ACEOF 6972 fi # test -n "$CONFIG_FILES" 6973 6974 6975 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 6976 do 6977 case $ac_tag in 6978 :[FHLC]) ac_mode=$ac_tag; continue;; 6979 esac 6980 case $ac_mode$ac_tag in 6981 :[FHL]*:*);; 6982 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 6983 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 6984 { (exit 1); exit 1; }; };; 6985 :[FH]-) ac_tag=-:-;; 6986 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6987 esac 6988 ac_save_IFS=$IFS 6989 IFS=: 6990 set x $ac_tag 6991 IFS=$ac_save_IFS 6992 shift 6993 ac_file=$1 6994 shift 6995 6996 case $ac_mode in 6997 :L) ac_source=$1;; 6998 :[FH]) 6999 ac_file_inputs= 7000 for ac_f 7001 do 7002 case $ac_f in 7003 -) ac_f="$tmp/stdin";; 7004 *) # Look for the file first in the build tree, then in the source tree 7005 # (if the path is not absolute). The absolute path cannot be DOS-style, 7006 # because $ac_f cannot contain `:'. 7007 test -f "$ac_f" || 7008 case $ac_f in 7009 [\\/$]*) false;; 7010 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7011 esac || 7012 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 7013 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 7014 { (exit 1); exit 1; }; };; 7015 esac 7016 ac_file_inputs="$ac_file_inputs $ac_f" 7017 done 7018 7019 # Let's still pretend it is `configure' which instantiates (i.e., don't 7020 # use $as_me), people would be surprised to read: 7021 # /* config.h. Generated by config.status. */ 7022 configure_input="Generated from "`IFS=: 7023 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 7024 if test x"$ac_file" != x-; then 7025 configure_input="$ac_file. $configure_input" 7026 { echo "$as_me:$LINENO: creating $ac_file" >&5 7027 echo "$as_me: creating $ac_file" >&6;} 5694 7028 fi 5695 if test ! -s $tmp/subs.frag; then 5696 ac_more_lines=false 5697 else 5698 # The purpose of the label and of the branching condition is to 5699 # speed up the sed processing (if there are no `@' at all, there 5700 # is no need to browse any of the substitutions). 5701 # These are the two extra sed commands mentioned above. 5702 (echo ':t 5703 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5704 if test -z "$ac_sed_cmds"; then 5705 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5706 else 5707 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5708 fi 5709 ac_sed_frag=`expr $ac_sed_frag + 1` 5710 ac_beg=$ac_end 5711 ac_end=`expr $ac_end + $ac_max_sed_lines` 5712 fi 5713 done 5714 if test -z "$ac_sed_cmds"; then 5715 ac_sed_cmds=cat 5716 fi 5717 fi # test -n "$CONFIG_FILES" 5718 5719 _ACEOF 5720 cat >>$CONFIG_STATUS <<\_ACEOF 5721 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5722 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5723 case $ac_file in 5724 - | *:- | *:-:* ) # input from stdin 5725 cat >$tmp/stdin 5726 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5727 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5728 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5729 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5730 * ) ac_file_in=$ac_file.in ;; 7029 7030 case $ac_tag in 7031 *:-:* | *:-) cat >"$tmp/stdin";; 7032 esac 7033 ;; 5731 7034 esac 5732 7035 5733 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5734 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7036 ac_dir=`$as_dirname -- "$ac_file" || 5735 7037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5736 7038 X"$ac_file" : 'X\(//\)[^/]' \| \ 5737 7039 X"$ac_file" : 'X\(//\)$' \| \ 5738 X"$ac_file" : 'X\(/\)' \| \ 5739 . : '\(.\)' 2>/dev/null || 7040 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5740 7041 echo X"$ac_file" | 5741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5742 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5743 /^X\(\/\/\)$/{ s//\1/; q; } 5744 /^X\(\/\).*/{ s//\1/; q; } 5745 s/.*/./; q'` 5746 { if $as_mkdir_p; then 5747 mkdir -p "$ac_dir" 5748 else 5749 as_dir="$ac_dir" 7042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7043 s//\1/ 7044 q 7045 } 7046 /^X\(\/\/\)[^/].*/{ 7047 s//\1/ 7048 q 7049 } 7050 /^X\(\/\/\)$/{ 7051 s//\1/ 7052 q 7053 } 7054 /^X\(\/\).*/{ 7055 s//\1/ 7056 q 7057 } 7058 s/.*/./; q'` 7059 { as_dir="$ac_dir" 7060 case $as_dir in #( 7061 -*) as_dir=./$as_dir;; 7062 esac 7063 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5750 7064 as_dirs= 5751 while test ! -d "$as_dir"; do 5752 as_dirs="$as_dir $as_dirs" 5753 as_dir=`(dirname "$as_dir") 2>/dev/null || 7065 while :; do 7066 case $as_dir in #( 7067 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 7068 *) as_qdir=$as_dir;; 7069 esac 7070 as_dirs="'$as_qdir' $as_dirs" 7071 as_dir=`$as_dirname -- "$as_dir" || 5754 7072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5755 7073 X"$as_dir" : 'X\(//\)[^/]' \| \ 5756 7074 X"$as_dir" : 'X\(//\)$' \| \ 5757 X"$as_dir" : 'X\(/\)' \| \ 5758 . : '\(.\)' 2>/dev/null || 7075 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5759 7076 echo X"$as_dir" | 5760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5761 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5762 /^X\(\/\/\)$/{ s//\1/; q; } 5763 /^X\(\/\).*/{ s//\1/; q; } 5764 s/.*/./; q'` 7077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7078 s//\1/ 7079 q 7080 } 7081 /^X\(\/\/\)[^/].*/{ 7082 s//\1/ 7083 q 7084 } 7085 /^X\(\/\/\)$/{ 7086 s//\1/ 7087 q 7088 } 7089 /^X\(\/\).*/{ 7090 s//\1/ 7091 q 7092 } 7093 s/.*/./; q'` 7094 test -d "$as_dir" && break 5765 7095 done 5766 test ! -n "$as_dirs" || mkdir $as_dirs5767 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&55768 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}7096 test -z "$as_dirs" || eval "mkdir $as_dirs" 7097 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7098 echo "$as_me: error: cannot create directory $as_dir" >&2;} 5769 7099 { (exit 1); exit 1; }; }; } 5770 5771 7100 ac_builddir=. 5772 7101 5773 if test "$ac_dir" != .; then 7102 case "$ac_dir" in 7103 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7104 *) 5774 7105 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5775 # A "../" for each directory in $ac_dir_suffix. 5776 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5777 else 5778 ac_dir_suffix= ac_top_builddir= 5779 fi 7106 # A ".." for each directory in $ac_dir_suffix. 7107 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 7108 case $ac_top_builddir_sub in 7109 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7110 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7111 esac ;; 7112 esac 7113 ac_abs_top_builddir=$ac_pwd 7114 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7115 # for backward compatibility: 7116 ac_top_builddir=$ac_top_build_prefix 5780 7117 5781 7118 case $srcdir in 5782 .) # No --srcdir option.We are building in place.7119 .) # We are building in place. 5783 7120 ac_srcdir=. 5784 if test -z "$ac_top_builddir"; then 5785 ac_top_srcdir=. 5786 else 5787 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5788 fi ;; 5789 [\\/]* | ?:[\\/]* ) # Absolute path. 7121 ac_top_srcdir=$ac_top_builddir_sub 7122 ac_abs_top_srcdir=$ac_pwd ;; 7123 [\\/]* | ?:[\\/]* ) # Absolute name. 5790 7124 ac_srcdir=$srcdir$ac_dir_suffix; 5791 ac_top_srcdir=$srcdir ;; 5792 *) # Relative path. 5793 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5794 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5795 esac 5796 5797 # Do not use `cd foo && pwd` to compute absolute paths, because 5798 # the directories may not exist. 5799 case `pwd` in 5800 .) ac_abs_builddir="$ac_dir";; 5801 *) 5802 case "$ac_dir" in 5803 .) ac_abs_builddir=`pwd`;; 5804 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5805 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5806 esac;; 5807 esac 5808 case $ac_abs_builddir in 5809 .) ac_abs_top_builddir=${ac_top_builddir}.;; 5810 *) 5811 case ${ac_top_builddir}. in 5812 .) ac_abs_top_builddir=$ac_abs_builddir;; 5813 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5814 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5815 esac;; 5816 esac 5817 case $ac_abs_builddir in 5818 .) ac_abs_srcdir=$ac_srcdir;; 5819 *) 5820 case $ac_srcdir in 5821 .) ac_abs_srcdir=$ac_abs_builddir;; 5822 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5823 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5824 esac;; 5825 esac 5826 case $ac_abs_builddir in 5827 .) ac_abs_top_srcdir=$ac_top_srcdir;; 5828 *) 5829 case $ac_top_srcdir in 5830 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5831 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5832 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5833 esac;; 5834 esac 5835 5836 5837 5838 if test x"$ac_file" != x-; then 5839 { echo "$as_me:$LINENO: creating $ac_file" >&5 5840 echo "$as_me: creating $ac_file" >&6;} 5841 rm -f "$ac_file" 5842 fi 5843 # Let's still pretend it is `configure' which instantiates (i.e., don't 5844 # use $as_me), people would be surprised to read: 5845 # /* config.h. Generated by config.status. */ 5846 if test x"$ac_file" = x-; then 5847 configure_input= 5848 else 5849 configure_input="$ac_file. " 5850 fi 5851 configure_input=$configure_input"Generated from `echo $ac_file_in | 5852 sed 's,.*/,,'` by configure." 5853 5854 # First look for the input files in the build tree, otherwise in the 5855 # src tree. 5856 ac_file_inputs=`IFS=: 5857 for f in $ac_file_in; do 5858 case $f in 5859 -) echo $tmp/stdin ;; 5860 [\\/$]*) 5861 # Absolute (can't be DOS-style, as IFS=:) 5862 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5863 echo "$as_me: error: cannot find input file: $f" >&2;} 5864 { (exit 1); exit 1; }; } 5865 echo "$f";; 5866 *) # Relative 5867 if test -f "$f"; then 5868 # Build tree 5869 echo "$f" 5870 elif test -f "$srcdir/$f"; then 5871 # Source tree 5872 echo "$srcdir/$f" 5873 else 5874 # /dev/null tree 5875 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5876 echo "$as_me: error: cannot find input file: $f" >&2;} 5877 { (exit 1); exit 1; }; } 5878 fi;; 5879 esac 5880 done` || { (exit 1); exit 1; } 5881 _ACEOF 7125 ac_top_srcdir=$srcdir 7126 ac_abs_top_srcdir=$srcdir ;; 7127 *) # Relative name. 7128 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7129 ac_top_srcdir=$ac_top_build_prefix$srcdir 7130 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7131 esac 7132 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7133 7134 7135 case $ac_mode in 7136 :F) 7137 # 7138 # CONFIG_FILE 7139 # 7140 7141 _ACEOF 7142 7143 cat >>$CONFIG_STATUS <<\_ACEOF 7144 # If the template does not know about datarootdir, expand it. 7145 # FIXME: This hack should be removed a few years after 2.60. 7146 ac_datarootdir_hack=; ac_datarootdir_seen= 7147 7148 case `sed -n '/datarootdir/ { 7149 p 7150 q 7151 } 7152 /@datadir@/p 7153 /@docdir@/p 7154 /@infodir@/p 7155 /@localedir@/p 7156 /@mandir@/p 7157 ' $ac_file_inputs` in 7158 *datarootdir*) ac_datarootdir_seen=yes;; 7159 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7160 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7161 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7162 _ACEOF 7163 cat >>$CONFIG_STATUS <<_ACEOF 7164 ac_datarootdir_hack=' 7165 s&@datadir@&$datadir&g 7166 s&@docdir@&$docdir&g 7167 s&@infodir@&$infodir&g 7168 s&@localedir@&$localedir&g 7169 s&@mandir@&$mandir&g 7170 s&\\\${datarootdir}&$datarootdir&g' ;; 7171 esac 7172 _ACEOF 7173 7174 # Neutralize VPATH when `$srcdir' = `.'. 7175 # Shell code in configure.ac might set extrasub. 7176 # FIXME: do we really want to maintain this feature? 5882 7177 cat >>$CONFIG_STATUS <<_ACEOF 5883 7178 sed "$ac_vpsub … … 5887 7182 :t 5888 7183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5889 s,@configure_input@,$configure_input,;t t 5890 s,@srcdir@,$ac_srcdir,;t t 5891 s,@abs_srcdir@,$ac_abs_srcdir,;t t 5892 s,@top_srcdir@,$ac_top_srcdir,;t t 5893 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 5894 s,@builddir@,$ac_builddir,;t t 5895 s,@abs_builddir@,$ac_abs_builddir,;t t 5896 s,@top_builddir@,$ac_top_builddir,;t t 5897 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5898 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 5899 rm -f $tmp/stdin 5900 if test x"$ac_file" != x-; then 5901 mv $tmp/out $ac_file 5902 else 5903 cat $tmp/out 5904 rm -f $tmp/out 5905 fi 5906 5907 done 5908 _ACEOF 5909 cat >>$CONFIG_STATUS <<\_ACEOF 5910 5911 # 5912 # CONFIG_HEADER section. 5913 # 5914 5915 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 5916 # NAME is the cpp macro being defined and VALUE is the value it is being given. 5917 # 5918 # ac_d sets the value in "#define NAME VALUE" lines. 5919 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 5920 ac_dB='[ ].*$,\1#\2' 7184 s&@configure_input@&$configure_input&;t t 7185 s&@top_builddir@&$ac_top_builddir_sub&;t t 7186 s&@srcdir@&$ac_srcdir&;t t 7187 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7188 s&@top_srcdir@&$ac_top_srcdir&;t t 7189 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7190 s&@builddir@&$ac_builddir&;t t 7191 s&@abs_builddir@&$ac_abs_builddir&;t t 7192 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7193 $ac_datarootdir_hack 7194 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 7195 7196 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7197 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7198 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7199 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7200 which seems to be undefined. Please make sure it is defined." >&5 7201 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7202 which seems to be undefined. Please make sure it is defined." >&2;} 7203 7204 rm -f "$tmp/stdin" 7205 case $ac_file in 7206 -) cat "$tmp/out"; rm -f "$tmp/out";; 7207 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 7208 esac 7209 ;; 7210 :H) 7211 # 7212 # CONFIG_HEADER 7213 # 7214 _ACEOF 7215 7216 # Transform confdefs.h into a sed script `conftest.defines', that 7217 # substitutes the proper values into config.h.in to produce config.h. 7218 rm -f conftest.defines conftest.tail 7219 # First, append a space to every undef/define line, to ease matching. 7220 echo 's/$/ /' >conftest.defines 7221 # Then, protect against being on the right side of a sed subst, or in 7222 # an unquoted here document, in config.status. If some macros were 7223 # called several times there might be several #defines for the same 7224 # symbol, which is useless. But do not sort them, since the last 7225 # AC_DEFINE must be honored. 7226 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7227 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 7228 # NAME is the cpp macro being defined, VALUE is the value it is being given. 7229 # PARAMS is the parameter list in the macro definition--in most cases, it's 7230 # just an empty string. 7231 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 7232 ac_dB='\\)[ (].*,\\1define\\2' 5921 7233 ac_dC=' ' 5922 ac_dD=',;t' 5923 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 5924 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 5925 ac_uB='$,\1#\2define\3' 5926 ac_uC=' ' 5927 ac_uD=',;t' 5928 5929 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 5930 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5931 case $ac_file in 5932 - | *:- | *:-:* ) # input from stdin 5933 cat >$tmp/stdin 5934 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5935 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5936 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5938 * ) ac_file_in=$ac_file.in ;; 5939 esac 5940 5941 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 5942 echo "$as_me: creating $ac_file" >&6;} 5943 5944 # First look for the input files in the build tree, otherwise in the 5945 # src tree. 5946 ac_file_inputs=`IFS=: 5947 for f in $ac_file_in; do 5948 case $f in 5949 -) echo $tmp/stdin ;; 5950 [\\/$]*) 5951 # Absolute (can't be DOS-style, as IFS=:) 5952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5953 echo "$as_me: error: cannot find input file: $f" >&2;} 5954 { (exit 1); exit 1; }; } 5955 # Do quote $f, to prevent DOS paths from being IFS'd. 5956 echo "$f";; 5957 *) # Relative 5958 if test -f "$f"; then 5959 # Build tree 5960 echo "$f" 5961 elif test -f "$srcdir/$f"; then 5962 # Source tree 5963 echo "$srcdir/$f" 5964 else 5965 # /dev/null tree 5966 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5967 echo "$as_me: error: cannot find input file: $f" >&2;} 5968 { (exit 1); exit 1; }; } 5969 fi;; 5970 esac 5971 done` || { (exit 1); exit 1; } 5972 # Remove the trailing spaces. 5973 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 5974 5975 _ACEOF 5976 5977 # Transform confdefs.h into two sed scripts, `conftest.defines' and 5978 # `conftest.undefs', that substitutes the proper values into 5979 # config.h.in to produce config.h. The first handles `#define' 5980 # templates, and the second `#undef' templates. 5981 # And first: Protect against being on the right side of a sed subst in 5982 # config.status. Protect against being in an unquoted here document 5983 # in config.status. 5984 rm -f conftest.defines conftest.undefs 5985 # Using a here document instead of a string reduces the quoting nightmare. 5986 # Putting comments in sed scripts is not portable. 5987 # 5988 # `end' is used to avoid that the second main sed command (meant for 5989 # 0-ary CPP macros) applies to n-ary macro definitions. 5990 # See the Autoconf documentation for `clear'. 5991 cat >confdef2sed.sed <<\_ACEOF 5992 s/[\\&,]/\\&/g 5993 s,[\\$`],\\&,g 5994 t clear 5995 : clear 5996 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 5997 t end 5998 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 5999 : end 6000 _ACEOF 6001 # If some macros were called several times there might be several times 6002 # the same #defines, which is useless. Nevertheless, we may not want to 6003 # sort them, since we want the *last* AC-DEFINE to be honored. 6004 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 6005 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 6006 rm -f confdef2sed.sed 6007 6008 # This sed command replaces #undef with comments. This is necessary, for 7234 ac_dD=' ,' 7235 7236 uniq confdefs.h | 7237 sed -n ' 7238 t rset 7239 :rset 7240 s/^[ ]*#[ ]*define[ ][ ]*// 7241 t ok 7242 d 7243 :ok 7244 s/[\\&,]/\\&/g 7245 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 7246 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 7247 ' >>conftest.defines 7248 7249 # Remove the space that was appended to ease matching. 7250 # Then replace #undef with comments. This is necessary, for 6009 7251 # example, in the case of _POSIX_SOURCE, which is predefined and required 6010 7252 # on some systems where configure will not decide to define it. 6011 cat >>conftest.undefs <<\_ACEOF 6012 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 6013 _ACEOF 6014 6015 # Break up conftest.defines because some shells have a limit on the size 6016 # of here documents, and old seds have small limits too (100 cmds). 6017 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 6018 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 6019 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 6020 echo ' :' >>$CONFIG_STATUS 6021 rm -f conftest.tail 6022 while grep . conftest.defines >/dev/null 7253 # (The regexp can be short, since the line contains either #define or #undef.) 7254 echo 's/ $// 7255 s,^[ #]*u.*,/* & */,' >>conftest.defines 7256 7257 # Break up conftest.defines: 7258 ac_max_sed_lines=50 7259 7260 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 7261 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 7262 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 7263 # et cetera. 7264 ac_in='$ac_file_inputs' 7265 ac_out='"$tmp/out1"' 7266 ac_nxt='"$tmp/out2"' 7267 7268 while : 6023 7269 do 6024 # Write a limited-size here document to $tmp/defines.sed. 6025 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 6026 # Speed up: don't consider the non `#define' lines. 6027 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 6028 # Work around the forget-to-reset-the-flag bug. 6029 echo 't clr' >>$CONFIG_STATUS 6030 echo ': clr' >>$CONFIG_STATUS 6031 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 7270 # Write a here document: 7271 cat >>$CONFIG_STATUS <<_ACEOF 7272 # First, check the format of the line: 7273 cat >"\$tmp/defines.sed" <<\\CEOF 7274 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 7275 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 7276 b 7277 :def 7278 _ACEOF 7279 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 6032 7280 echo 'CEOF 6033 sed -f $tmp/defines.sed $tmp/in >$tmp/out 6034 rm -f $tmp/in 6035 mv $tmp/out $tmp/in 6036 ' >>$CONFIG_STATUS 6037 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 7281 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 7282 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 7283 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 7284 grep . conftest.tail >/dev/null || break 6038 7285 rm -f conftest.defines 6039 7286 mv conftest.tail conftest.defines 6040 7287 done 6041 rm -f conftest.defines 6042 echo ' fi # grep' >>$CONFIG_STATUS 6043 echo >>$CONFIG_STATUS 6044 6045 # Break up conftest.undefs because some shells have a limit on the size 6046 # of here documents, and old seds have small limits too (100 cmds). 6047 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 6048 rm -f conftest.tail 6049 while grep . conftest.undefs >/dev/null 6050 do 6051 # Write a limited-size here document to $tmp/undefs.sed. 6052 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 6053 # Speed up: don't consider the non `#undef' 6054 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 6055 # Work around the forget-to-reset-the-flag bug. 6056 echo 't clr' >>$CONFIG_STATUS 6057 echo ': clr' >>$CONFIG_STATUS 6058 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 6059 echo 'CEOF 6060 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 6061 rm -f $tmp/in 6062 mv $tmp/out $tmp/in 6063 ' >>$CONFIG_STATUS 6064 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 6065 rm -f conftest.undefs 6066 mv conftest.tail conftest.undefs 6067 done 6068 rm -f conftest.undefs 6069 7288 rm -f conftest.defines conftest.tail 7289 7290 echo "ac_result=$ac_in" >>$CONFIG_STATUS 6070 7291 cat >>$CONFIG_STATUS <<\_ACEOF 6071 # Let's still pretend it is `configure' which instantiates (i.e., don't6072 # use $as_me), people would be surprised to read:6073 # /* config.h. Generated by config.status. */6074 if test x"$ac_file" = x-; then6075 echo "/* Generated by configure. */" >$tmp/config.h6076 else6077 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h6078 fi6079 cat $tmp/in >>$tmp/config.h6080 rm -f $tmp/in6081 7292 if test x"$ac_file" != x-; then 6082 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 7293 echo "/* $configure_input */" >"$tmp/config.h" 7294 cat "$ac_result" >>"$tmp/config.h" 7295 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 6083 7296 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6084 7297 echo "$as_me: $ac_file is unchanged" >&6;} 6085 7298 else 6086 ac_dir=`(dirname "$ac_file") 2>/dev/null ||6087 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \6088 X"$ac_file" : 'X\(//\)[^/]' \| \6089 X"$ac_file" : 'X\(//\)$' \| \6090 X"$ac_file" : 'X\(/\)' \| \6091 . : '\(.\)' 2>/dev/null ||6092 echo X"$ac_file" |6093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }6094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }6095 /^X\(\/\/\)$/{ s//\1/; q; }6096 /^X\(\/\).*/{ s//\1/; q; }6097 s/.*/./; q'`6098 { if $as_mkdir_p; then6099 mkdir -p "$ac_dir"6100 else6101 as_dir="$ac_dir"6102 as_dirs=6103 while test ! -d "$as_dir"; do6104 as_dirs="$as_dir $as_dirs"6105 as_dir=`(dirname "$as_dir") 2>/dev/null ||6106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \6107 X"$as_dir" : 'X\(//\)[^/]' \| \6108 X"$as_dir" : 'X\(//\)$' \| \6109 X"$as_dir" : 'X\(/\)' \| \6110 . : '\(.\)' 2>/dev/null ||6111 echo X"$as_dir" |6112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }6113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }6114 /^X\(\/\/\)$/{ s//\1/; q; }6115 /^X\(\/\).*/{ s//\1/; q; }6116 s/.*/./; q'`6117 done6118 test ! -n "$as_dirs" || mkdir $as_dirs6119 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&56120 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}6121 { (exit 1); exit 1; }; }; }6122 6123 7299 rm -f $ac_file 6124 mv $tmp/config.h$ac_file7300 mv "$tmp/config.h" $ac_file 6125 7301 fi 6126 7302 else 6127 cat $tmp/config.h6128 rm -f $tmp/config.h7303 echo "/* $configure_input */" 7304 cat "$ac_result" 6129 7305 fi 6130 done 6131 _ACEOF 6132 6133 cat >>$CONFIG_STATUS <<\_ACEOF 7306 rm -f "$tmp/out12" 7307 ;; 7308 7309 7310 esac 7311 7312 done # for ac_tag 7313 6134 7314 6135 7315 { (exit 0); exit 0; } -
NEWT0/trunk/configure.in
r81 r102 201 201 AC_SUBST(LIBREGEX) 202 202 203 dnl 204 dnl How to create static libraries 205 dnl 206 AC_PROG_RANLIB 207 AC_PATH_PROG(AR, ar) 208 if test "x$AR" = "x:"; then 209 AC_MSG_ERROR(Configure could not find the library archiver, aborting.) 210 fi 211 if test "x$RANLIB" != "x:"; then 212 LIBCOMMAND="$AR cr" 213 else 214 LIBCOMMAND="$AR crs" 215 fi 216 AC_SUBST(LIBCOMMAND) 217 LIBEXT=".a" 218 AC_SUBST(LIBEXT) 219 220 203 221 AC_CONFIG_FILES([Makefile 204 222 ext/protoFILE/Makefile -
NEWT0/trunk/contrib/inwt/Makefile
r81 r102 1 prefix = / opt/local1 prefix = /usr/local 2 2 exec_prefix = ${prefix} 3 3 bindir = ${exec_prefix}/bin
Note: See TracChangeset
for help on using the changeset viewer.
