- Timestamp:
- 09/11/11 04:31:59 (8 months ago)
- Location:
- NEWT0/branches/DyneTK
- Files:
-
- 9 edited
-
configure (modified) (276 diffs)
-
newt_all.xcodeproj/project.pbxproj (modified) (2 diffs)
-
sample/test_all.newt (modified) (1 diff)
-
src/newt.xcodeproj/project.pbxproj (modified) (11 diffs)
-
src/newt_core/NewtEnv.c (modified) (1 diff)
-
src/newt_core/NewtIconv.c (modified) (1 diff)
-
src/newt_core/NewtNSOF.c (modified) (2 diffs)
-
src/newt_core/NewtPkg.c (modified) (12 diffs)
-
src/newt_core/NewtPrint.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
NEWT0/branches/DyneTK/configure
r114 r140 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.61 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. … … 12 13 ## --------------------- ## 13 14 14 # Be Bourne compatible 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 15 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 18 emulate sh … … 19 21 # is contrary to our usage. Disable this feature. 20 22 alias -g '${1+"$@"}'='"$@"' 21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix 23 fi 24 DUALCASE=1; export DUALCASE # for MKS sh 25 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. 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27 esac 28 29 fi 30 31 32 33 34 # PATH needs CR 81 35 # Avoid depending upon Character Ranges. 82 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 99 53 fi 100 54 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 55 # Support unset when possible. 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58 else 59 as_unset=false 60 fi 61 62 63 # IFS 64 # We need space, tab and new line, in precisely that order. Quoting is 65 # there to prevent editors from complaining about space-tab. 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 67 # splitting by setting IFS to empty value.) 68 as_nl=' 69 ' 70 IFS=" "" $as_nl" 71 72 # Find who we are. Look in the path if we contain no directory separator. 73 case $0 in 74 *[\\/]* ) as_myself=$0 ;; 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112 76 for as_dir in $PATH 113 77 do … … 116 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117 81 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 82 IFS=$as_save_IFS 83 84 ;; 85 esac 86 # We did not find ourselves, most probably we were run as `sh COMMAND' 87 # in which case we are not to be found in the path. 88 if test "x$as_myself" = x; then 89 as_myself=$0 90 fi 91 if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94 fi 95 96 # Work around bugs in pre-3.0 UWIN ksh. 97 for as_var in ENV MAIL MAILPATH 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99 done 100 PS1='$ ' 101 PS2='> ' 102 PS4='+ ' 103 104 # NLS nuisances. 105 for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109 do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125 114 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 '') 115 done 116 117 # Required to use basename. 118 if expr a : '\(a\)' >/dev/null 2>&1 && 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 120 as_expr=expr 121 else 122 as_expr=false 123 fi 124 125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126 as_basename=basename 127 else 128 as_basename=false 129 fi 130 131 132 # Name of the executable. 133 as_me=`$as_basename -- "$0" || 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 X"$0" : 'X\(//\)$' \| \ 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137 echo X/"$0" | 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 s//\1/ 140 q 141 } 142 /^X\/\(\/\/\)$/{ 143 s//\1/ 144 q 145 } 146 /^X\/\(\/\).*/{ 147 s//\1/ 148 q 149 } 150 s/.*/./; q'` 151 152 # CDPATH. 153 $as_unset CDPATH 154 155 156 if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159 else 160 as_have_required=no 161 fi 162 163 if test $as_have_required = yes && (eval ": 164 (as_func_return () { 165 (exit \$1) 166 } 167 as_func_success () { 168 as_func_return 0 169 } 170 as_func_failure () { 171 as_func_return 1 172 } 173 as_func_ret_success () { 174 return 0 175 } 176 as_func_ret_failure () { 177 return 1 178 } 179 180 exitcode=0 181 if as_func_success; then 182 : 183 else 184 exitcode=1 185 echo as_func_success failed. 186 fi 187 188 if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191 fi 192 193 if as_func_ret_success; then 194 : 195 else 196 exitcode=1 197 echo as_func_ret_success failed. 198 fi 199 200 if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203 fi 204 205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207 else 208 exitcode=1 209 echo positional parameters were not saved. 210 fi 211 212 test \$exitcode = 0) || { (exit 1); exit 1; } 213 214 ( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219 ") 2> /dev/null; then 220 : 221 else 222 as_candidate_shells= 132 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 135 226 IFS=$as_save_IFS 136 227 test -z "$as_dir" && as_dir=. 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 228 case $as_dir in 139 229 /*) 140 if ("$as_dir/$as_base" -c ' 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234 done 235 IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249 else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252 esac 253 254 fi 255 256 257 : 258 _ASEOF 259 }; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270 else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273 esac 274 275 fi 276 277 278 : 279 (as_func_return () { 280 (exit $1) 281 } 282 as_func_success () { 283 as_func_return 0 284 } 285 as_func_failure () { 286 as_func_return 1 287 } 288 as_func_ret_success () { 289 return 0 290 } 291 as_func_ret_failure () { 292 return 1 293 } 294 295 exitcode=0 296 if as_func_success; then 297 : 298 else 299 exitcode=1 300 echo as_func_success failed. 301 fi 302 303 if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306 fi 307 308 if as_func_ret_success; then 309 : 310 else 311 exitcode=1 312 echo as_func_ret_success failed. 313 fi 314 315 if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318 fi 319 320 if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322 else 323 exitcode=1 324 echo positional parameters were not saved. 325 fi 326 327 test $exitcode = 0) || { (exit 1); exit 1; } 328 329 ( 141 330 as_lineno_1=$LINENO 142 331 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`144 332 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 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335 _ASEOF 336 }; then 337 break 338 fi 339 340 fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350 fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359 fi 360 361 362 fi 363 364 fi 365 366 367 368 (eval "as_func_return () { 369 (exit \$1) 370 } 371 as_func_success () { 372 as_func_return 0 373 } 374 as_func_failure () { 375 as_func_return 1 376 } 377 as_func_ret_success () { 378 return 0 379 } 380 as_func_ret_failure () { 381 return 1 382 } 383 384 exitcode=0 385 if as_func_success; then 386 : 387 else 388 exitcode=1 389 echo as_func_success failed. 390 fi 391 392 if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395 fi 396 397 if as_func_ret_success; then 398 : 399 else 400 exitcode=1 401 echo as_func_ret_success failed. 402 fi 403 404 if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407 fi 408 409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411 else 412 exitcode=1 413 echo positional parameters were not saved. 414 fi 415 416 test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421 } 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 157 429 158 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 431 # 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. 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 164 437 # (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 | 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 440 sed -n ' 441 p 442 /[$]LINENO/= 443 ' <$as_myself | 167 444 sed ' 445 s/[$]LINENO.*/&-/ 446 t lineno 447 b 448 :lineno 168 449 N 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 450 :loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 172 452 t loop 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 453 s/-\n.*// 175 454 ' >$as_me.lineno && 176 chmod +x $as_me.lineno||455 chmod +x "$as_me.lineno" || 177 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 457 { (exit 1); exit 1; }; } … … 180 459 # Don't try to exec as it changes $[0], causing all sort of problems 181 460 # (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.lineno461 # original and so on. Autoconf is especially sensitive to this). 462 . "./$as_me.lineno" 184 463 # Exit status is that of the last command. 185 464 exit … … 187 466 188 467 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 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470 else 471 as_dirname=false 472 fi 473 474 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 476 -n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481 *) 482 ECHO_N='-n';; 483 esac 484 485 if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 197 487 as_expr=expr 198 488 else … … 201 491 202 492 rm -f conf$$ conf$$.exe conf$$.file 493 if test -d conf$$.dir; then 494 rm -f conf$$.dir/conf$$.file 495 else 496 rm -f conf$$.dir 497 mkdir conf$$.dir 498 fi 203 499 echo >conf$$.file 204 500 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 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 209 507 as_ln_s='cp -p' 210 else211 as_ln_s='ln -s'212 fi213 508 elif ln conf$$.file conf$$ 2>/dev/null; then 214 509 as_ln_s=ln … … 216 511 as_ln_s='cp -p' 217 512 fi 218 rm -f conf$$ conf$$.exe conf$$.file 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514 rmdir conf$$.dir 2>/dev/null 219 515 220 516 if mkdir -p . 2>/dev/null; then … … 225 521 fi 226 522 227 as_executable_p="test -f" 523 if test -x / >/dev/null 2>&1; then 524 as_test_x='test -x' 525 else 526 if ls -dL / >/dev/null 2>&1; then 527 as_ls_L_option=L 528 else 529 as_ls_L_option= 530 fi 531 as_test_x=' 532 eval sh -c '\'' 533 if test -d "$1"; then 534 test -d "$1/."; 535 else 536 case $1 in 537 -*)set "./$1";; 538 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540 ???[sx]*):;;*)false;;esac;fi 541 '\'' sh 542 ' 543 fi 544 as_executable_p=$as_test_x 228 545 229 546 # Sed expression to map a string onto a valid CPP name. … … 234 551 235 552 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 553 554 exec 7<&0 </dev/null 6>&1 245 555 246 556 # Name of the host. … … 249 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 250 560 251 exec 6>&1252 253 561 # 254 562 # Initializations. 255 563 # 256 564 ac_default_prefix=/usr/local 565 ac_clean_files= 257 566 ac_config_libobj_dir=. 567 LIBOBJS= 258 568 cross_compiling=no 259 569 subdirs= … … 261 571 MAKEFLAGS= 262 572 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 573 269 574 # Identity of this package. … … 278 583 ac_includes_default="\ 279 584 #include <stdio.h> 280 #if HAVE_SYS_TYPES_H585 #ifdef HAVE_SYS_TYPES_H 281 586 # include <sys/types.h> 282 587 #endif 283 #if HAVE_SYS_STAT_H588 #ifdef HAVE_SYS_STAT_H 284 589 # include <sys/stat.h> 285 590 #endif 286 #if STDC_HEADERS591 #ifdef STDC_HEADERS 287 592 # include <stdlib.h> 288 593 # include <stddef.h> 289 594 #else 290 # if HAVE_STDLIB_H595 # ifdef HAVE_STDLIB_H 291 596 # include <stdlib.h> 292 597 # endif 293 598 #endif 294 #if HAVE_STRING_H295 # if ! STDC_HEADERS &&HAVE_MEMORY_H599 #ifdef HAVE_STRING_H 600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 296 601 # include <memory.h> 297 602 # endif 298 603 # include <string.h> 299 604 #endif 300 #if HAVE_STRINGS_H605 #ifdef HAVE_STRINGS_H 301 606 # include <strings.h> 302 607 #endif 303 #if HAVE_INTTYPES_H608 #ifdef HAVE_INTTYPES_H 304 609 # include <inttypes.h> 305 #else306 # if HAVE_STDINT_H307 # include <stdint.h>308 # endif309 610 #endif 310 #if HAVE_UNISTD_H 611 #ifdef HAVE_STDINT_H 612 # include <stdint.h> 613 #endif 614 #ifdef HAVE_UNISTD_H 311 615 # include <unistd.h> 312 616 #endif" 313 617 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 LIBCOMMAND LIBEXT LTLIBOBJS' 618 ac_subst_vars='SHELL 619 PATH_SEPARATOR 620 PACKAGE_NAME 621 PACKAGE_TARNAME 622 PACKAGE_VERSION 623 PACKAGE_STRING 624 PACKAGE_BUGREPORT 625 exec_prefix 626 prefix 627 program_transform_name 628 bindir 629 sbindir 630 libexecdir 631 datarootdir 632 datadir 633 sysconfdir 634 sharedstatedir 635 localstatedir 636 includedir 637 oldincludedir 638 docdir 639 infodir 640 htmldir 641 dvidir 642 pdfdir 643 psdir 644 libdir 645 localedir 646 mandir 647 DEFS 648 ECHO_C 649 ECHO_N 650 ECHO_T 651 LIBS 652 build_alias 653 host_alias 654 target_alias 655 CC 656 CFLAGS 657 LDFLAGS 658 CPPFLAGS 659 ac_ct_CC 660 EXEEXT 661 OBJEXT 662 YACC 663 YFLAGS 664 LEX 665 LEX_OUTPUT_ROOT 666 LEXLIB 667 AR 668 RANLIB 669 build 670 build_cpu 671 build_vendor 672 build_os 673 host 674 host_cpu 675 host_vendor 676 host_os 677 target 678 target_cpu 679 target_vendor 680 target_os 681 CPP 682 GREP 683 EGREP 684 LIBOBJS 685 NEWT_LDIMPORT 686 NEWT_LDFLAGS 687 LIBNEWT_LDSHARED 688 LINK_NEWT_APP_ 689 DLEXT 690 MAKE_EXT 691 MAKE_CONTRIB 692 BINDIR 693 sitedir 694 libffidir 695 __NAMED_MAGIC_POINTER__ 696 LIBREGEX 697 LIBCOMMAND 698 LIBEXT 699 LTLIBOBJS' 315 700 ac_subst_files='' 701 ac_precious_vars='build_alias 702 host_alias 703 target_alias 704 CC 705 CFLAGS 706 LDFLAGS 707 LIBS 708 CPPFLAGS 709 YACC 710 YFLAGS 711 CPP' 712 316 713 317 714 # Initialize some variables set by options. … … 340 737 # by default will actually change. 341 738 # Use braces instead of parens because sh, perl, etc. also accept them. 739 # (The list follows the same order as the GNU Coding Standards.) 342 740 bindir='${exec_prefix}/bin' 343 741 sbindir='${exec_prefix}/sbin' 344 742 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 743 datarootdir='${prefix}/share' 744 datadir='${datarootdir}' 346 745 sysconfdir='${prefix}/etc' 347 746 sharedstatedir='${prefix}/com' 348 747 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 748 includedir='${prefix}/include' 351 749 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 750 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 751 infodir='${datarootdir}/info' 752 htmldir='${docdir}' 753 dvidir='${docdir}' 754 pdfdir='${docdir}' 755 psdir='${docdir}' 756 libdir='${exec_prefix}/lib' 757 localedir='${datarootdir}/locale' 758 mandir='${datarootdir}/man' 354 759 355 760 ac_prev= 761 ac_dashdash= 356 762 for ac_option 357 763 do 358 764 # If the previous option needs an argument, assign it. 359 765 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"766 eval $ac_prev=\$ac_option 361 767 ac_prev= 362 768 continue 363 769 fi 364 770 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 771 case $ac_option in 772 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 773 *) ac_optarg=yes ;; 774 esac 366 775 367 776 # Accept the important Cygnus configure options, so we can diagnose typos. 368 777 369 case $ac_option in 778 case $ac_dashdash$ac_option in 779 --) 780 ac_dashdash=yes ;; 370 781 371 782 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 800 cache_file=config.cache ;; 390 801 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)802 -datadir | --datadir | --datadi | --datad) 392 803 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 804 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 805 datadir=$ac_optarg ;; 806 807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 808 | --dataroo | --dataro | --datar) 809 ac_prev=datarootdir ;; 810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 812 datarootdir=$ac_optarg ;; 396 813 397 814 -disable-* | --disable-*) 398 815 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 816 # Reject names that are not valid shell variable names. 400 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&817 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 401 818 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 402 819 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 820 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 821 eval enable_$ac_feature=no ;; 822 823 -docdir | --docdir | --docdi | --doc | --do) 824 ac_prev=docdir ;; 825 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 826 docdir=$ac_optarg ;; 827 828 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 829 ac_prev=dvidir ;; 830 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 831 dvidir=$ac_optarg ;; 405 832 406 833 -enable-* | --enable-*) 407 834 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 835 # Reject names that are not valid shell variable names. 409 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 410 837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 411 838 { (exit 1); exit 1; }; } 412 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'" ;; 839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 840 eval enable_$ac_feature=\$ac_optarg ;; 418 841 419 842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 865 host_alias=$ac_optarg ;; 443 866 867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 868 ac_prev=htmldir ;; 869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 870 | --ht=*) 871 htmldir=$ac_optarg ;; 872 444 873 -includedir | --includedir | --includedi | --included | --include \ 445 874 | --includ | --inclu | --incl | --inc) … … 466 895 libexecdir=$ac_optarg ;; 467 896 897 -localedir | --localedir | --localedi | --localed | --locale) 898 ac_prev=localedir ;; 899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 900 localedir=$ac_optarg ;; 901 468 902 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 903 | --localstate | --localstat | --localsta | --localst | --locals) 471 904 ac_prev=localstatedir ;; 472 905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 907 localstatedir=$ac_optarg ;; 476 908 … … 537 969 program_transform_name=$ac_optarg ;; 538 970 971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 972 ac_prev=pdfdir ;; 973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 974 pdfdir=$ac_optarg ;; 975 976 -psdir | --psdir | --psdi | --psd | --ps) 977 ac_prev=psdir ;; 978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 979 psdir=$ac_optarg ;; 980 539 981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 982 | -silent | --silent | --silen | --sile | --sil) … … 589 1031 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1032 # Reject names that are not valid shell variable names. 591 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1033 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 592 1034 { echo "$as_me: error: invalid package name: $ac_package" >&2 593 1035 { (exit 1); exit 1; }; } 594 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'" ;; 1036 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1037 eval with_$ac_package=\$ac_optarg ;; 600 1038 601 1039 -without-* | --without-*) 602 1040 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1041 # Reject names that are not valid shell variable names. 604 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1042 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 605 1043 { echo "$as_me: error: invalid package name: $ac_package" >&2 606 1044 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/ -/_/g'`608 eval "with_$ac_package=no";;1045 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1046 eval with_$ac_package=no ;; 609 1047 610 1048 --x) … … 637 1075 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1076 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1077 eval $ac_envvar=\$ac_optarg 641 1078 export $ac_envvar ;; 642 1079 … … 658 1095 fi 659 1096 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1097 # Be sure to have absolute directory names. 1098 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1099 datadir sysconfdir sharedstatedir localstatedir includedir \ 1100 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1101 libdir localedir mandir 662 1102 do 663 eval ac_val= $`echo $ac_var`1103 eval ac_val=\$$ac_var 664 1104 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; }; };; 1105 [\\/$]* | ?:[\\/]* ) continue;; 1106 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 668 1107 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 1108 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1109 { (exit 1); exit 1; }; } 681 1110 done 682 1111 … … 705 1134 706 1135 1136 ac_pwd=`pwd` && test -n "$ac_pwd" && 1137 ac_ls_di=`ls -di .` && 1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1139 { echo "$as_me: error: Working directory cannot be determined" >&2 1140 { (exit 1); exit 1; }; } 1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1142 { echo "$as_me: error: pwd does not report name of working directory" >&2 1143 { (exit 1); exit 1; }; } 1144 1145 707 1146 # Find the source files, if location was not specified. 708 1147 if test -z "$srcdir"; then 709 1148 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent.711 ac_confdir=` (dirname "$0") 2>/dev/null||1149 # Try the directory containing this script, then the parent directory. 1150 ac_confdir=`$as_dirname -- "$0" || 712 1151 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 1152 X"$0" : 'X\(//\)[^/]' \| \ 714 1153 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 1154 X"$0" : 'X\(/\)' \| . 2>/dev/null || 717 1155 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'` 1156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1157 s//\1/ 1158 q 1159 } 1160 /^X\(\/\/\)[^/].*/{ 1161 s//\1/ 1162 q 1163 } 1164 /^X\(\/\/\)$/{ 1165 s//\1/ 1166 q 1167 } 1168 /^X\(\/\).*/{ 1169 s//\1/ 1170 q 1171 } 1172 s/.*/./; q'` 723 1173 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1174 if test ! -r "$srcdir/$ac_unique_file"; then 725 1175 srcdir=.. 726 1176 fi … … 728 1178 ac_srcdir_defaulted=no 729 1179 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 .." >&21180 if test ! -r "$srcdir/$ac_unique_file"; then 1181 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1182 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1183 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1184 fi 1185 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1186 ac_abs_confdir=`( 1187 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 736 1188 { (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 1189 pwd)` 1190 # When building in place, set srcdir=. 1191 if test "$ac_abs_confdir" = "$ac_pwd"; then 1192 srcdir=. 1193 fi 1194 # Remove unnecessary trailing slashes from srcdir. 1195 # Double slashes in file names in object file debugging info 1196 # mess up M-x gdb in Emacs. 1197 case $srcdir in 1198 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1199 esac 1200 for ac_var in $ac_precious_vars; do 1201 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1202 eval ac_env_${ac_var}_value=\$${ac_var} 1203 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1204 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1205 done 775 1206 776 1207 # … … 801 1232 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 802 1233 803 _ACEOF804 805 cat <<_ACEOF806 1234 Installation directories: 807 1235 --prefix=PREFIX install architecture-independent files in PREFIX … … 821 1249 --sbindir=DIR system admin executables [EPREFIX/sbin] 822 1250 --libexecdir=DIR program executables [EPREFIX/libexec] 823 --datadir=DIR read-only architecture-independent data [PREFIX/share]824 1251 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 825 1252 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 828 1255 --includedir=DIR C header files [PREFIX/include] 829 1256 --oldincludedir=DIR C header files for non-gcc [/usr/include] 830 --infodir=DIR info documentation [PREFIX/info] 831 --mandir=DIR man documentation [PREFIX/man] 1257 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1258 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1259 --infodir=DIR info documentation [DATAROOTDIR/info] 1260 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1261 --mandir=DIR man documentation [DATAROOTDIR/man] 1262 --docdir=DIR documentation root [DATAROOTDIR/doc/full-package-name] 1263 --htmldir=DIR html documentation [DOCDIR] 1264 --dvidir=DIR dvi documentation [DOCDIR] 1265 --pdfdir=DIR pdf documentation [DOCDIR] 1266 --psdir=DIR ps documentation [DOCDIR] 832 1267 _ACEOF 833 1268 … … 866 1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 867 1302 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> 1303 LIBS libraries to pass to the linker, e.g. -l<library> 1304 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1305 you have headers in a nonstandard directory <include dir> 1306 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1307 the first program found out of: `bison -y', `byacc', `yacc'. 1308 YFLAGS The list of arguments that will be passed by default to $YACC. 1309 This script will default YFLAGS to the empty string to avoid a 1310 default value of `-d' given by some make applications. 870 1311 CPP C preprocessor 871 1312 … … 875 1316 Report bugs to <BUG-REPORT-ADDRESS>. 876 1317 _ACEOF 1318 ac_status=$? 877 1319 fi 878 1320 879 1321 if test "$ac_init_help" = "recursive"; then 880 1322 # If there are subdirs, report their specific --help. 881 ac_popdir=`pwd`882 1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 883 test -d $ac_dir|| continue1324 test -d "$ac_dir" || continue 884 1325 ac_builddir=. 885 1326 886 if test "$ac_dir" != .; then 1327 case "$ac_dir" in 1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1329 *) 887 1330 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 1331 # A ".." for each directory in $ac_dir_suffix. 1332 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1333 case $ac_top_builddir_sub in 1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1336 esac ;; 1337 esac 1338 ac_abs_top_builddir=$ac_pwd 1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1340 # for backward compatibility: 1341 ac_top_builddir=$ac_top_build_prefix 893 1342 894 1343 case $srcdir in 895 .) # No --srcdir option.We are building in place.1344 .) # We are building in place. 896 1345 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. 1346 ac_top_srcdir=$ac_top_builddir_sub 1347 ac_abs_top_srcdir=$ac_pwd ;; 1348 [\\/]* | ?:[\\/]* ) # Absolute name. 903 1349 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 1350 ac_top_srcdir=$srcdir 1351 ac_abs_top_srcdir=$srcdir ;; 1352 *) # Relative name. 1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1354 ac_top_srcdir=$ac_top_build_prefix$srcdir 1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1356 esac 1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1358 1359 cd "$ac_dir" || { ac_status=$?; continue; } 1360 # Check for guested configure. 1361 if test -f "$ac_srcdir/configure.gnu"; then 1362 echo && 1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1364 elif test -f "$ac_srcdir/configure"; then 1365 echo && 1366 $SHELL "$ac_srcdir/configure" --help=recursive 961 1367 else 962 1368 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 963 fi 964 cd $ac_popdir1369 fi || ac_status=$? 1370 cd "$ac_pwd" || { ac_status=$?; break; } 965 1371 done 966 1372 fi 967 1373 968 test -n "$ac_init_help" && exit 01374 test -n "$ac_init_help" && exit $ac_status 969 1375 if $ac_init_version; then 970 1376 cat <<\_ACEOF 971 1377 FULL-PACKAGE-NAME configure VERSION 972 generated by GNU Autoconf 2.59 973 974 Copyright (C) 2003 Free Software Foundation, Inc. 1378 generated by GNU Autoconf 2.61 1379 1380 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1381 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 975 1382 This configure script is free software; the Free Software Foundation 976 1383 gives unlimited permission to copy, distribute and modify it. 977 1384 _ACEOF 978 exit 0 979 fi 980 exec 5>config.log 981 cat >&5 <<_ACEOF 1385 exit 1386 fi 1387 cat >config.log <<_ACEOF 982 1388 This file contains any messages produced by compilers while 983 1389 running configure, to aid debugging if configure makes a mistake. 984 1390 985 1391 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was 986 generated by GNU Autoconf 2. 59. Invocation command line was1392 generated by GNU Autoconf 2.61. Invocation command line was 987 1393 988 1394 $ $0 $@ 989 1395 990 1396 _ACEOF 1397 exec 5>>config.log 991 1398 { 992 1399 cat <<_ASUNAME … … 1007 1414 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1008 1415 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1009 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1416 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1010 1417 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1011 1418 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1021 1428 echo "PATH: $as_dir" 1022 1429 done 1430 IFS=$as_save_IFS 1023 1431 1024 1432 } >&5 … … 1042 1450 ac_configure_args0= 1043 1451 ac_configure_args1= 1044 ac_sep=1045 1452 ac_must_keep_next=false 1046 1453 for ac_pass in 1 2 … … 1053 1460 | -silent | --silent | --silen | --sile | --sil) 1054 1461 continue ;; 1055 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1462 *\'*) 1056 1463 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1057 1464 esac … … 1075 1482 esac 1076 1483 fi 1077 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1078 # Get rid of the leading space. 1079 ac_sep=" " 1484 ac_configure_args="$ac_configure_args '$ac_arg'" 1080 1485 ;; 1081 1486 esac … … 1088 1493 # config.log. We remove comments because anyway the quotes in there 1089 1494 # 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.1495 # WARNING: Use '\'' to represent an apostrophe within the trap. 1496 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1092 1497 trap 'exit_status=$? 1093 1498 # Save into config.log some information that might help in debugging. … … 1102 1507 echo 1103 1508 # The following way of writing the cache mishandles newlines in values, 1104 { 1509 ( 1510 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1511 eval ac_val=\$$ac_var 1512 case $ac_val in #( 1513 *${as_nl}*) 1514 case $ac_var in #( 1515 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1516 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1517 esac 1518 case $ac_var in #( 1519 _ | IFS | as_nl) ;; #( 1520 *) $as_unset $ac_var ;; 1521 esac ;; 1522 esac 1523 done 1105 1524 (set) 2>&1 | 1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1107 * ac_space=\ *)1525 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1526 *${as_nl}ac_space=\ *) 1108 1527 sed -n \ 1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1528 "s/'\''/'\''\\\\'\'''\''/g; 1529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1530 ;; #( 1531 *) 1532 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1111 1533 ;; 1112 *) 1113 sed -n \ 1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1115 ;; 1116 esac; 1117 } 1534 esac | 1535 sort 1536 ) 1118 1537 echo 1119 1538 … … 1126 1545 for ac_var in $ac_subst_vars 1127 1546 do 1128 eval ac_val=$`echo $ac_var` 1129 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'\''" 1130 1552 done | sort 1131 1553 echo … … 1133 1555 if test -n "$ac_subst_files"; then 1134 1556 cat <<\_ASBOX 1135 ## ------------- ##1136 ## Output files. ##1137 ## ------------- ##1557 ## ------------------- ## 1558 ## File substitutions. ## 1559 ## ------------------- ## 1138 1560 _ASBOX 1139 1561 echo 1140 1562 for ac_var in $ac_subst_files 1141 1563 do 1142 eval ac_val=$`echo $ac_var` 1143 echo "$ac_var='"'"'$ac_val'"'"'" 1564 eval ac_val=\$$ac_var 1565 case $ac_val in 1566 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1567 esac 1568 echo "$ac_var='\''$ac_val'\''" 1144 1569 done | sort 1145 1570 echo … … 1153 1578 _ASBOX 1154 1579 echo 1155 sed "/^$/d" confdefs.h | sort1580 cat confdefs.h 1156 1581 echo 1157 1582 fi … … 1160 1585 echo "$as_me: exit $exit_status" 1161 1586 } >&5 1162 rm -f core *.core &&1163 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1587 rm -f core *.core core.conftest.* && 1588 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1164 1589 exit $exit_status 1165 ' 01590 ' 0 1166 1591 for ac_signal in 1 2 13 15; do 1167 1592 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1170 1595 1171 1596 # 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 1597 rm -f -r conftest* confdefs.h 1175 1598 1176 1599 # Predefined preprocessor variables. … … 1203 1626 # Let the site file select an alternate cache file if it wants to. 1204 1627 # 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 1628 if test -n "$CONFIG_SITE"; then 1629 set x "$CONFIG_SITE" 1630 elif test "x$prefix" != xNONE; then 1631 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1632 else 1633 set x "$ac_default_prefix/share/config.site" \ 1634 "$ac_default_prefix/etc/config.site" 1635 fi 1636 shift 1637 for ac_site_file 1638 do 1213 1639 if test -r "$ac_site_file"; then 1214 1640 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1226 1652 echo "$as_me: loading cache $cache_file" >&6;} 1227 1653 case $cache_file in 1228 [\\/]* | ?:[\\/]* ) . $cache_file;;1229 *) . ./$cache_file;;1654 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1655 *) . "./$cache_file";; 1230 1656 esac 1231 1657 fi … … 1239 1665 # value. 1240 1666 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 1667 for ac_var in $ac_precious_vars; do 1243 1668 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1244 1669 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"1670 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1671 eval ac_new_val=\$ac_env_${ac_var}_value 1247 1672 case $ac_old_set,$ac_new_set in 1248 1673 set,) … … 1269 1694 if test "$ac_new_set" = set; then 1270 1695 case $ac_new_val in 1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1272 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1696 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1273 1697 *) ac_arg=$ac_var=$ac_new_val ;; 1274 1698 esac … … 1287 1711 fi 1288 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1289 1737 ac_ext=c 1290 1738 ac_cpp='$CPP $CPPFLAGS' … … 1295 1743 1296 1744 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" 1745 ac_config_headers="$ac_config_headers src/config.h" 1746 1747 ac_config_headers="$ac_config_headers src/newt_core/incs/NewtConf.h" 1325 1748 1326 1749 … … 1334 1757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1335 1758 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 1759 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1338 1761 if test "${ac_cv_prog_CC+set}" = set; then 1339 1762 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1348 1771 test -z "$as_dir" && as_dir=. 1349 1772 for ac_exec_ext in '' $ac_executable_extensions; do 1350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1351 1774 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1352 1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1355 1778 done 1356 1779 done 1780 IFS=$as_save_IFS 1357 1781 1358 1782 fi … … 1360 1784 CC=$ac_cv_prog_CC 1361 1785 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 1786 { echo "$as_me:$LINENO: result: $CC" >&5 1787 echo "${ECHO_T}$CC" >&6; } 1788 else 1789 { echo "$as_me:$LINENO: result: no" >&5 1790 echo "${ECHO_T}no" >&6; } 1791 fi 1792 1368 1793 1369 1794 fi … … 1372 1797 # Extract the first word of "gcc", so it can be a program name with args. 1373 1798 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 1799 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1376 1801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1377 1802 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1386 1811 test -z "$as_dir" && as_dir=. 1387 1812 for ac_exec_ext in '' $ac_executable_extensions; do 1388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1389 1814 ac_cv_prog_ac_ct_CC="gcc" 1390 1815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1393 1818 done 1394 1819 done 1820 IFS=$as_save_IFS 1395 1821 1396 1822 fi … … 1398 1824 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1399 1825 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 1826 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1827 echo "${ECHO_T}$ac_ct_CC" >&6; } 1828 else 1829 { echo "$as_me:$LINENO: result: no" >&5 1830 echo "${ECHO_T}no" >&6; } 1831 fi 1832 1833 if test "x$ac_ct_CC" = x; then 1834 CC="" 1835 else 1836 case $cross_compiling:$ac_tool_warned in 1837 yes:) 1838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1839 whose name does not start with the host triplet. If you think this 1840 configuration is useful to you, please write to autoconf@gnu.org." >&5 1841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1842 whose name does not start with the host triplet. If you think this 1843 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1844 ac_tool_warned=yes ;; 1845 esac 1846 CC=$ac_ct_CC 1847 fi 1408 1848 else 1409 1849 CC="$ac_cv_prog_CC" … … 1411 1851 1412 1852 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.1853 if test -n "$ac_tool_prefix"; then 1854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1415 1855 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 1856 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1418 1858 if test "${ac_cv_prog_CC+set}" = set; then 1419 1859 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1428 1868 test -z "$as_dir" && as_dir=. 1429 1869 for ac_exec_ext in '' $ac_executable_extensions; do 1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1431 1871 ac_cv_prog_CC="${ac_tool_prefix}cc" 1432 1872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1435 1875 done 1436 1876 done 1877 IFS=$as_save_IFS 1437 1878 1438 1879 fi … … 1440 1881 CC=$ac_cv_prog_CC 1441 1882 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 1883 { echo "$as_me:$LINENO: result: $CC" >&5 1884 echo "${ECHO_T}$CC" >&6; } 1885 else 1886 { echo "$as_me:$LINENO: result: no" >&5 1887 echo "${ECHO_T}no" >&6; } 1888 fi 1889 1890 1472 1891 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 1892 fi 1493 1893 if test -z "$CC"; then 1494 1894 # Extract the first word of "cc", so it can be a program name with args. 1495 1895 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 1896 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1498 1898 if test "${ac_cv_prog_CC+set}" = set; then 1499 1899 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1509 1909 test -z "$as_dir" && as_dir=. 1510 1910 for ac_exec_ext in '' $ac_executable_extensions; do 1511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1512 1912 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1513 1913 ac_prog_rejected=yes … … 1520 1920 done 1521 1921 done 1922 IFS=$as_save_IFS 1522 1923 1523 1924 if test $ac_prog_rejected = yes; then … … 1537 1938 CC=$ac_cv_prog_CC 1538 1939 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 1940 { echo "$as_me:$LINENO: result: $CC" >&5 1941 echo "${ECHO_T}$CC" >&6; } 1942 else 1943 { echo "$as_me:$LINENO: result: no" >&5 1944 echo "${ECHO_T}no" >&6; } 1945 fi 1946 1545 1947 1546 1948 fi 1547 1949 if test -z "$CC"; then 1548 1950 if test -n "$ac_tool_prefix"; then 1549 for ac_prog in cl 1951 for ac_prog in cl.exe 1550 1952 do 1551 1953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1552 1954 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 1955 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1555 1957 if test "${ac_cv_prog_CC+set}" = set; then 1556 1958 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1565 1967 test -z "$as_dir" && as_dir=. 1566 1968 for ac_exec_ext in '' $ac_executable_extensions; do 1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1568 1970 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1569 1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1572 1974 done 1573 1975 done 1976 IFS=$as_save_IFS 1574 1977 1575 1978 fi … … 1577 1980 CC=$ac_cv_prog_CC 1578 1981 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 1982 { echo "$as_me:$LINENO: result: $CC" >&5 1983 echo "${ECHO_T}$CC" >&6; } 1984 else 1985 { echo "$as_me:$LINENO: result: no" >&5 1986 echo "${ECHO_T}no" >&6; } 1987 fi 1988 1585 1989 1586 1990 test -n "$CC" && break … … 1589 1993 if test -z "$CC"; then 1590 1994 ac_ct_CC=$CC 1591 for ac_prog in cl 1995 for ac_prog in cl.exe 1592 1996 do 1593 1997 # Extract the first word of "$ac_prog", so it can be a program name with args. 1594 1998 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 1999 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1597 2001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1598 2002 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1607 2011 test -z "$as_dir" && as_dir=. 1608 2012 for ac_exec_ext in '' $ac_executable_extensions; do 1609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1610 2014 ac_cv_prog_ac_ct_CC="$ac_prog" 1611 2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1614 2018 done 1615 2019 done 2020 IFS=$as_save_IFS 1616 2021 1617 2022 fi … … 1619 2024 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1620 2025 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 2026 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2027 echo "${ECHO_T}$ac_ct_CC" >&6; } 2028 else 2029 { echo "$as_me:$LINENO: result: no" >&5 2030 echo "${ECHO_T}no" >&6; } 2031 fi 2032 1627 2033 1628 2034 test -n "$ac_ct_CC" && break 1629 2035 done 1630 2036 1631 CC=$ac_ct_CC 2037 if test "x$ac_ct_CC" = x; then 2038 CC="" 2039 else 2040 case $cross_compiling:$ac_tool_warned in 2041 yes:) 2042 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2043 whose name does not start with the host triplet. If you think this 2044 configuration is useful to you, please write to autoconf@gnu.org." >&5 2045 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2046 whose name does not start with the host triplet. If you think this 2047 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2048 ac_tool_warned=yes ;; 2049 esac 2050 CC=$ac_ct_CC 2051 fi 1632 2052 fi 1633 2053 … … 1642 2062 1643 2063 # Provide some information about the compiler. 1644 echo "$as_me:$LINENO:" \ 1645 "checking for C compiler version" >&5 2064 echo "$as_me:$LINENO: checking for C compiler version" >&5 1646 2065 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 2066 { (ac_try="$ac_compiler --version >&5" 2067 case "(($ac_try" in 2068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2069 *) ac_try_echo=$ac_try;; 2070 esac 2071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2072 (eval "$ac_compiler --version >&5") 2>&5 1649 2073 ac_status=$? 1650 2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1651 2075 (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 2076 { (ac_try="$ac_compiler -v >&5" 2077 case "(($ac_try" in 2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2079 *) ac_try_echo=$ac_try;; 2080 esac 2081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2082 (eval "$ac_compiler -v >&5") 2>&5 1654 2083 ac_status=$? 1655 2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1656 2085 (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 2086 { (ac_try="$ac_compiler -V >&5" 2087 case "(($ac_try" in 2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2089 *) ac_try_echo=$ac_try;; 2090 esac 2091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2092 (eval "$ac_compiler -V >&5") 2>&5 1659 2093 ac_status=$? 1660 2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1681 2115 # It will help us diagnose broken compilers, and finding out an intuition 1682 2116 # 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 2117 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2118 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1685 2119 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 2120 # 2121 # List of possible output files, starting from the most likely. 2122 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2123 # only as a last resort. b.out is created by i960 compilers. 2124 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2125 # 2126 # The IRIX 6 linker writes into existing files which may not be 2127 # executable, retaining their permissions. Remove them first so a 2128 # subsequent execution test works. 2129 ac_rmfiles= 2130 for ac_file in $ac_files 2131 do 2132 case $ac_file in 2133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2134 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2135 esac 2136 done 2137 rm -f $ac_rmfiles 2138 2139 if { (ac_try="$ac_link_default" 2140 case "(($ac_try" in 2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2142 *) ac_try_echo=$ac_try;; 2143 esac 2144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2145 (eval "$ac_link_default") 2>&5 1688 2146 ac_status=$? 1689 2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1690 2148 (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 2149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2150 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2151 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2152 # so that the user can short-circuit this test for compilers unknown to 2153 # Autoconf. 2154 for ac_file in $ac_files '' 1700 2155 do 1701 2156 test -f "$ac_file" || continue 1702 2157 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. 2158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1707 2159 ;; 1708 2160 [ab].out ) … … 1711 2163 break;; 1712 2164 *.* ) 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 2165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2166 then :; else 2167 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2168 fi 2169 # We set ac_cv_exeext here because the later test for it is not 2170 # safe: cross compilers may not add the suffix if given an `-o' 2171 # argument, so we may need to know it at that point already. 2172 # Even if this section looks crufty: it has the advantage of 2173 # actually working. 1718 2174 break;; 1719 2175 * ) … … 1721 2177 esac 1722 2178 done 1723 else 2179 test "$ac_cv_exeext" = no && ac_cv_exeext= 2180 2181 else 2182 ac_file='' 2183 fi 2184 2185 { echo "$as_me:$LINENO: result: $ac_file" >&5 2186 echo "${ECHO_T}$ac_file" >&6; } 2187 if test -z "$ac_file"; then 1724 2188 echo "$as_me: failed program was:" >&5 1725 2189 sed 's/^/| /' conftest.$ac_ext >&5 … … 1733 2197 1734 2198 ac_exeext=$ac_cv_exeext 1735 echo "$as_me:$LINENO: result: $ac_file" >&5 1736 echo "${ECHO_T}$ac_file" >&6 1737 1738 # Check the compiler produces executables we can run. If not, either 2199 2200 # Check that the compiler produces executables we can run. If not, either 1739 2201 # 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 2202 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2203 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1742 2204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1743 2205 # If not cross compiling, check that we can run a simple program. 1744 2206 if test "$cross_compiling" != yes; then 1745 2207 if { ac_try='./$ac_file' 1746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1747 (eval $ac_try) 2>&5 2208 { (case "(($ac_try" in 2209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2210 *) ac_try_echo=$ac_try;; 2211 esac 2212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2213 (eval "$ac_try") 2>&5 1748 2214 ac_status=$? 1749 2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1764 2230 fi 1765 2231 fi 1766 echo "$as_me:$LINENO: result: yes" >&51767 echo "${ECHO_T}yes" >&6 2232 { echo "$as_me:$LINENO: result: yes" >&5 2233 echo "${ECHO_T}yes" >&6; } 1768 2234 1769 2235 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1770 2236 ac_clean_files=$ac_clean_files_save 1771 # Check th e compiler produces executables we can run. If not, either2237 # Check that the compiler produces executables we can run. If not, either 1772 2238 # 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 2239 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2240 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2241 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2242 echo "${ECHO_T}$cross_compiling" >&6; } 2243 2244 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2245 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2246 if { (ac_try="$ac_link" 2247 case "(($ac_try" in 2248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2249 *) ac_try_echo=$ac_try;; 2250 esac 2251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2252 (eval "$ac_link") 2>&5 1782 2253 ac_status=$? 1783 2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1790 2261 test -f "$ac_file" || continue 1791 2262 case $ac_file in 1792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1793 2264 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1794 export ac_cv_exeext1795 2265 break;; 1796 2266 * ) break;; … … 1806 2276 1807 2277 rm -f conftest$ac_cv_exeext 1808 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51809 echo "${ECHO_T}$ac_cv_exeext" >&6 2278 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2279 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1810 2280 1811 2281 rm -f conftest.$ac_ext 1812 2282 EXEEXT=$ac_cv_exeext 1813 2283 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 2284 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1816 2286 if test "${ac_cv_objext+set}" = set; then 1817 2287 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1833 2303 _ACEOF 1834 2304 rm -f conftest.o conftest.obj 1835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1836 (eval $ac_compile) 2>&5 2305 if { (ac_try="$ac_compile" 2306 case "(($ac_try" in 2307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2308 *) ac_try_echo=$ac_try;; 2309 esac 2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2311 (eval "$ac_compile") 2>&5 1837 2312 ac_status=$? 1838 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1839 2314 (exit $ac_status); }; then 1840 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2315 for ac_file in conftest.o conftest.obj conftest.*; do 2316 test -f "$ac_file" || continue; 1841 2317 case $ac_file in 1842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1843 2319 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1844 2320 break;; … … 1858 2334 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1859 2335 fi 1860 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51861 echo "${ECHO_T}$ac_cv_objext" >&6 2336 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2337 echo "${ECHO_T}$ac_cv_objext" >&6; } 1862 2338 OBJEXT=$ac_cv_objext 1863 2339 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 2340 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2341 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1866 2342 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1867 2343 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1886 2362 _ACEOF 1887 2363 rm -f conftest.$ac_objext 1888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1889 (eval $ac_compile) 2>conftest.er1 2364 if { (ac_try="$ac_compile" 2365 case "(($ac_try" in 2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2367 *) ac_try_echo=$ac_try;; 2368 esac 2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2370 (eval "$ac_compile") 2>conftest.er1 1890 2371 ac_status=$? 1891 2372 grep -v '^ *+' conftest.er1 >conftest.err … … 1893 2374 cat conftest.err >&5 1894 2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1895 (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 1900 ac_status=$? 1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1902 (exit $ac_status); }; } && 1903 { ac_try='test -s conftest.$ac_objext' 1904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1905 (eval $ac_try) 2>&5 1906 ac_status=$? 1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1908 (exit $ac_status); }; }; then 2376 (exit $ac_status); } && { 2377 test -z "$ac_c_werror_flag" || 2378 test ! -s conftest.err 2379 } && test -s conftest.$ac_objext; then 1909 2380 ac_compiler_gnu=yes 1910 2381 else … … 1912 2383 sed 's/^/| /' conftest.$ac_ext >&5 1913 2384 1914 ac_compiler_gnu=no 1915 fi 1916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2385 ac_compiler_gnu=no 2386 fi 2387 2388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1917 2389 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1918 2390 1919 2391 fi 1920 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&51921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2392 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2393 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 1922 2394 GCC=`test $ac_compiler_gnu = yes && echo yes` 1923 2395 ac_test_CFLAGS=${CFLAGS+set} 1924 2396 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 2397 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2398 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 1928 2399 if test "${ac_cv_prog_cc_g+set}" = set; then 1929 2400 echo $ECHO_N "(cached) $ECHO_C" >&6 1930 2401 else 1931 cat >conftest.$ac_ext <<_ACEOF 2402 ac_save_c_werror_flag=$ac_c_werror_flag 2403 ac_c_werror_flag=yes 2404 ac_cv_prog_cc_g=no 2405 CFLAGS="-g" 2406 cat >conftest.$ac_ext <<_ACEOF 1932 2407 /* confdefs.h. */ 1933 2408 _ACEOF … … 1945 2420 _ACEOF 1946 2421 rm -f conftest.$ac_objext 1947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1948 (eval $ac_compile) 2>conftest.er1 2422 if { (ac_try="$ac_compile" 2423 case "(($ac_try" in 2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2425 *) ac_try_echo=$ac_try;; 2426 esac 2427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2428 (eval "$ac_compile") 2>conftest.er1 1949 2429 ac_status=$? 1950 2430 grep -v '^ *+' conftest.er1 >conftest.err … … 1952 2432 cat conftest.err >&5 1953 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1954 (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 1959 ac_status=$? 1960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1961 (exit $ac_status); }; } && 1962 { ac_try='test -s conftest.$ac_objext' 1963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1964 (eval $ac_try) 2>&5 1965 ac_status=$? 1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1967 (exit $ac_status); }; }; then 2434 (exit $ac_status); } && { 2435 test -z "$ac_c_werror_flag" || 2436 test ! -s conftest.err 2437 } && test -s conftest.$ac_objext; then 1968 2438 ac_cv_prog_cc_g=yes 1969 2439 else … … 1971 2441 sed 's/^/| /' conftest.$ac_ext >&5 1972 2442 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 2443 CFLAGS="" 2444 cat >conftest.$ac_ext <<_ACEOF 2445 /* confdefs.h. */ 2446 _ACEOF 2447 cat confdefs.h >>conftest.$ac_ext 2448 cat >>conftest.$ac_ext <<_ACEOF 2449 /* end confdefs.h. */ 2450 2451 int 2452 main () 2453 { 2454 2455 ; 2456 return 0; 2457 } 2458 _ACEOF 2459 rm -f conftest.$ac_objext 2460 if { (ac_try="$ac_compile" 2461 case "(($ac_try" in 2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2463 *) ac_try_echo=$ac_try;; 2464 esac 2465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2466 (eval "$ac_compile") 2>conftest.er1 2467 ac_status=$? 2468 grep -v '^ *+' conftest.er1 >conftest.err 2469 rm -f conftest.er1 2470 cat conftest.err >&5 2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2472 (exit $ac_status); } && { 2473 test -z "$ac_c_werror_flag" || 2474 test ! -s conftest.err 2475 } && test -s conftest.$ac_objext; then 2476 : 2477 else 2478 echo "$as_me: failed program was:" >&5 2479 sed 's/^/| /' conftest.$ac_ext >&5 2480 2481 ac_c_werror_flag=$ac_save_c_werror_flag 2482 CFLAGS="-g" 2483 cat >conftest.$ac_ext <<_ACEOF 2484 /* confdefs.h. */ 2485 _ACEOF 2486 cat confdefs.h >>conftest.$ac_ext 2487 cat >>conftest.$ac_ext <<_ACEOF 2488 /* end confdefs.h. */ 2489 2490 int 2491 main () 2492 { 2493 2494 ; 2495 return 0; 2496 } 2497 _ACEOF 2498 rm -f conftest.$ac_objext 2499 if { (ac_try="$ac_compile" 2500 case "(($ac_try" in 2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2502 *) ac_try_echo=$ac_try;; 2503 esac 2504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2505 (eval "$ac_compile") 2>conftest.er1 2506 ac_status=$? 2507 grep -v '^ *+' conftest.er1 >conftest.err 2508 rm -f conftest.er1 2509 cat conftest.err >&5 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 (exit $ac_status); } && { 2512 test -z "$ac_c_werror_flag" || 2513 test ! -s conftest.err 2514 } && test -s conftest.$ac_objext; then 2515 ac_cv_prog_cc_g=yes 2516 else 2517 echo "$as_me: failed program was:" >&5 2518 sed 's/^/| /' conftest.$ac_ext >&5 2519 2520 2521 fi 2522 2523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2524 fi 2525 2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2527 fi 2528 2529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2530 ac_c_werror_flag=$ac_save_c_werror_flag 2531 fi 2532 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2533 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 1979 2534 if test "$ac_test_CFLAGS" = set; then 1980 2535 CFLAGS=$ac_save_CFLAGS … … 1992 2547 fi 1993 2548 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; then2549 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2550 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2551 if test "${ac_cv_prog_cc_c89+set}" = set; then 1997 2552 echo $ECHO_N "(cached) $ECHO_C" >&6 1998 2553 else 1999 ac_cv_prog_cc_ stdc=no2554 ac_cv_prog_cc_c89=no 2000 2555 ac_save_CC=$CC 2001 2556 cat >conftest.$ac_ext <<_ACEOF … … 2031 2586 function prototypes and stuff, but not '\xHH' hex character constants. 2032 2587 These don't provoke an error unfortunately, instead are silently treated 2033 as 'x'. The following induces an error, until -std 1is added to get2588 as 'x'. The following induces an error, until -std is added to get 2034 2589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2035 2590 array size at least. It's necessary to write '\x00'==0 to get something 2036 that's true only with -std 1. */2591 that's true only with -std. */ 2037 2592 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2593 2594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2595 inside strings and character constants. */ 2596 #define FOO(x) 'x' 2597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2038 2598 2039 2599 int test (int i, double x); … … 2051 2611 } 2052 2612 _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__" 2613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2614 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2061 2615 do 2062 2616 CC="$ac_save_CC $ac_arg" 2063 2617 rm -f conftest.$ac_objext 2064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2065 (eval $ac_compile) 2>conftest.er1 2618 if { (ac_try="$ac_compile" 2619 case "(($ac_try" in 2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2621 *) ac_try_echo=$ac_try;; 2622 esac 2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2624 (eval "$ac_compile") 2>conftest.er1 2066 2625 ac_status=$? 2067 2626 grep -v '^ *+' conftest.er1 >conftest.err … … 2069 2628 cat conftest.err >&5 2070 2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2071 (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 2076 ac_status=$? 2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2078 (exit $ac_status); }; } && 2079 { ac_try='test -s conftest.$ac_objext' 2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2081 (eval $ac_try) 2>&5 2082 ac_status=$? 2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2084 (exit $ac_status); }; }; then 2085 ac_cv_prog_cc_stdc=$ac_arg 2086 break 2630 (exit $ac_status); } && { 2631 test -z "$ac_c_werror_flag" || 2632 test ! -s conftest.err 2633 } && test -s conftest.$ac_objext; then 2634 ac_cv_prog_cc_c89=$ac_arg 2087 2635 else 2088 2636 echo "$as_me: failed program was:" >&5 2089 2637 sed 's/^/| /' conftest.$ac_ext >&5 2090 2638 2091 fi 2092 rm -f conftest.err conftest.$ac_objext 2093 done 2094 rm -f conftest.$ac_ext conftest.$ac_objext 2639 2640 fi 2641 2642 rm -f core conftest.err conftest.$ac_objext 2643 test "x$ac_cv_prog_cc_c89" != "xno" && break 2644 done 2645 rm -f conftest.$ac_ext 2095 2646 CC=$ac_save_CC 2096 2647 2097 2648 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 ;; 2649 # AC_CACHE_VAL 2650 case "x$ac_cv_prog_cc_c89" in 2651 x) 2652 { echo "$as_me:$LINENO: result: none needed" >&5 2653 echo "${ECHO_T}none needed" >&6; } ;; 2654 xno) 2655 { echo "$as_me:$LINENO: result: unsupported" >&5 2656 echo "${ECHO_T}unsupported" >&6; } ;; 2103 2657 *) 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 2658 CC="$CC $ac_cv_prog_cc_c89" 2659 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2660 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2661 esac 2662 2663 2252 2664 ac_ext=c 2253 2665 ac_cpp='$CPP $CPPFLAGS' … … 2260 2672 # Extract the first word of "$ac_prog", so it can be a program name with args. 2261 2673 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 2674 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2264 2676 if test "${ac_cv_prog_YACC+set}" = set; then 2265 2677 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2274 2686 test -z "$as_dir" && as_dir=. 2275 2687 for ac_exec_ext in '' $ac_executable_extensions; do 2276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2277 2689 ac_cv_prog_YACC="$ac_prog" 2278 2690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2281 2693 done 2282 2694 done 2695 IFS=$as_save_IFS 2283 2696 2284 2697 fi … … 2286 2699 YACC=$ac_cv_prog_YACC 2287 2700 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 2701 { echo "$as_me:$LINENO: result: $YACC" >&5 2702 echo "${ECHO_T}$YACC" >&6; } 2703 else 2704 { echo "$as_me:$LINENO: result: no" >&5 2705 echo "${ECHO_T}no" >&6; } 2706 fi 2707 2294 2708 2295 2709 test -n "$YACC" && break … … 2302 2716 # Extract the first word of "$ac_prog", so it can be a program name with args. 2303 2717 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 2718 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2306 2720 if test "${ac_cv_prog_LEX+set}" = set; then 2307 2721 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2316 2730 test -z "$as_dir" && as_dir=. 2317 2731 for ac_exec_ext in '' $ac_executable_extensions; do 2318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2319 2733 ac_cv_prog_LEX="$ac_prog" 2320 2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2323 2737 done 2324 2738 done 2739 IFS=$as_save_IFS 2325 2740 2326 2741 fi … … 2328 2743 LEX=$ac_cv_prog_LEX 2329 2744 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 2745 { echo "$as_me:$LINENO: result: $LEX" >&5 2746 echo "${ECHO_T}$LEX" >&6; } 2747 else 2748 { echo "$as_me:$LINENO: result: no" >&5 2749 echo "${ECHO_T}no" >&6; } 2750 fi 2751 2336 2752 2337 2753 test -n "$LEX" && break … … 2339 2755 test -n "$LEX" || LEX=":" 2340 2756 2341 if test -z "$LEXLIB" 2342 then 2343 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 2344 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 2345 if test "${ac_cv_lib_fl_yywrap+set}" = set; then 2757 if test "x$LEX" != "x:"; then 2758 cat >conftest.l <<_ACEOF 2759 %% 2760 a { ECHO; } 2761 b { REJECT; } 2762 c { yymore (); } 2763 d { yyless (1); } 2764 e { yyless (input () != 0); } 2765 f { unput (yytext[0]); } 2766 . { BEGIN INITIAL; } 2767 %% 2768 #ifdef YYTEXT_POINTER 2769 extern char *yytext; 2770 #endif 2771 int 2772 main (void) 2773 { 2774 return ! yylex () + ! yywrap (); 2775 } 2776 _ACEOF 2777 { (ac_try="$LEX conftest.l" 2778 case "(($ac_try" in 2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2780 *) ac_try_echo=$ac_try;; 2781 esac 2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2783 (eval "$LEX conftest.l") 2>&5 2784 ac_status=$? 2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2786 (exit $ac_status); } 2787 { echo "$as_me:$LINENO: checking lex output file root" >&5 2788 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; } 2789 if test "${ac_cv_prog_lex_root+set}" = set; then 2346 2790 echo $ECHO_N "(cached) $ECHO_C" >&6 2347 2791 else 2348 ac_check_lib_save_LIBS=$LIBS 2349 LIBS="-lfl $LIBS" 2350 cat >conftest.$ac_ext <<_ACEOF 2351 /* confdefs.h. */ 2352 _ACEOF 2353 cat confdefs.h >>conftest.$ac_ext 2354 cat >>conftest.$ac_ext <<_ACEOF 2355 /* end confdefs.h. */ 2356 2357 /* Override any gcc2 internal prototype to avoid an error. */ 2358 #ifdef __cplusplus 2359 extern "C" 2360 #endif 2361 /* We use char because int might match the return type of a gcc2 2362 builtin and then its argument prototype would still apply. */ 2363 char yywrap (); 2364 int 2365 main () 2366 { 2367 yywrap (); 2368 ; 2369 return 0; 2370 } 2792 2793 if test -f lex.yy.c; then 2794 ac_cv_prog_lex_root=lex.yy 2795 elif test -f lexyy.c; then 2796 ac_cv_prog_lex_root=lexyy 2797 else 2798 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 2799 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 2800 { (exit 1); exit 1; }; } 2801 fi 2802 fi 2803 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 2804 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; } 2805 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 2806 2807 if test -z "${LEXLIB+set}"; then 2808 { echo "$as_me:$LINENO: checking lex library" >&5 2809 echo $ECHO_N "checking lex library... $ECHO_C" >&6; } 2810 if test "${ac_cv_lib_lex+set}" = set; then 2811 echo $ECHO_N "(cached) $ECHO_C" >&6 2812 else 2813 2814 ac_save_LIBS=$LIBS 2815 ac_cv_lib_lex='none needed' 2816 for ac_lib in '' -lfl -ll; do 2817 LIBS="$ac_lib $ac_save_LIBS" 2818 cat >conftest.$ac_ext <<_ACEOF 2819 `cat $LEX_OUTPUT_ROOT.c` 2371 2820 _ACEOF 2372 2821 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 2822 if { (ac_try="$ac_link" 2823 case "(($ac_try" in 2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2825 *) ac_try_echo=$ac_try;; 2826 esac 2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2828 (eval "$ac_link") 2>conftest.er1 2375 2829 ac_status=$? 2376 2830 grep -v '^ *+' conftest.er1 >conftest.err … … 2378 2832 cat conftest.err >&5 2379 2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2380 (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 2385 ac_status=$? 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2387 (exit $ac_status); }; } && 2388 { ac_try='test -s conftest$ac_exeext' 2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2390 (eval $ac_try) 2>&5 2391 ac_status=$? 2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2393 (exit $ac_status); }; }; then 2394 ac_cv_lib_fl_yywrap=yes 2834 (exit $ac_status); } && { 2835 test -z "$ac_c_werror_flag" || 2836 test ! -s conftest.err 2837 } && test -s conftest$ac_exeext && 2838 $as_test_x conftest$ac_exeext; then 2839 ac_cv_lib_lex=$ac_lib 2395 2840 else 2396 2841 echo "$as_me: failed program was:" >&5 2397 2842 sed 's/^/| /' conftest.$ac_ext >&5 2398 2843 2399 ac_cv_lib_fl_yywrap=no 2400 fi 2401 rm -f conftest.err conftest.$ac_objext \ 2844 2845 fi 2846 2847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2402 2848 conftest$ac_exeext conftest.$ac_ext 2403 LIBS=$ac_check_lib_save_LIBS 2404 fi 2405 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 2406 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 2407 if test $ac_cv_lib_fl_yywrap = yes; then 2408 LEXLIB="-lfl" 2409 else 2410 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 2411 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 2412 if test "${ac_cv_lib_l_yywrap+set}" = set; then 2849 test "$ac_cv_lib_lex" != 'none needed' && break 2850 done 2851 LIBS=$ac_save_LIBS 2852 2853 fi 2854 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 2855 echo "${ECHO_T}$ac_cv_lib_lex" >&6; } 2856 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 2857 fi 2858 2859 2860 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 2861 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; } 2862 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 2413 2863 echo $ECHO_N "(cached) $ECHO_C" >&6 2414 2864 else 2415 ac_check_lib_save_LIBS=$LIBS 2416 LIBS="-ll $LIBS" 2865 # POSIX says lex can declare yytext either as a pointer or an array; the 2866 # default is implementation-dependent. Figure out which it is, since 2867 # not all implementations provide the %pointer and %array declarations. 2868 ac_cv_prog_lex_yytext_pointer=no 2869 ac_save_LIBS=$LIBS 2870 LIBS="$LEXLIB $ac_save_LIBS" 2417 2871 cat >conftest.$ac_ext <<_ACEOF 2418 /* confdefs.h. */ 2419 _ACEOF 2420 cat confdefs.h >>conftest.$ac_ext 2421 cat >>conftest.$ac_ext <<_ACEOF 2422 /* end confdefs.h. */ 2423 2424 /* Override any gcc2 internal prototype to avoid an error. */ 2425 #ifdef __cplusplus 2426 extern "C" 2427 #endif 2428 /* We use char because int might match the return type of a gcc2 2429 builtin and then its argument prototype would still apply. */ 2430 char yywrap (); 2431 int 2432 main () 2433 { 2434 yywrap (); 2435 ; 2436 return 0; 2437 } 2872 #define YYTEXT_POINTER 1 2873 `cat $LEX_OUTPUT_ROOT.c` 2438 2874 _ACEOF 2439 2875 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 2876 if { (ac_try="$ac_link" 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_link") 2>conftest.er1 2442 2883 ac_status=$? 2443 2884 grep -v '^ *+' conftest.er1 >conftest.err … … 2445 2886 cat conftest.err >&5 2446 2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2447 (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 2452 ac_status=$? 2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2454 (exit $ac_status); }; } && 2455 { ac_try='test -s conftest$ac_exeext' 2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2457 (eval $ac_try) 2>&5 2458 ac_status=$? 2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2460 (exit $ac_status); }; }; then 2461 ac_cv_lib_l_yywrap=yes 2888 (exit $ac_status); } && { 2889 test -z "$ac_c_werror_flag" || 2890 test ! -s conftest.err 2891 } && test -s conftest$ac_exeext && 2892 $as_test_x conftest$ac_exeext; then 2893 ac_cv_prog_lex_yytext_pointer=yes 2462 2894 else 2463 2895 echo "$as_me: failed program was:" >&5 2464 2896 sed 's/^/| /' conftest.$ac_ext >&5 2465 2897 2466 ac_cv_lib_l_yywrap=no 2467 fi 2468 rm -f conftest.err conftest.$ac_objext \ 2469 conftest$ac_exeext conftest.$ac_ext 2470 LIBS=$ac_check_lib_save_LIBS 2471 fi 2472 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 2473 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 2474 if test $ac_cv_lib_l_yywrap = yes; then 2475 LEXLIB="-ll" 2476 fi 2477 2478 fi 2479 2480 fi 2481 2482 if test "x$LEX" != "x:"; then 2483 echo "$as_me:$LINENO: checking lex output file root" >&5 2484 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 2485 if test "${ac_cv_prog_lex_root+set}" = set; then 2486 echo $ECHO_N "(cached) $ECHO_C" >&6 2487 else 2488 # The minimal lex program is just a single line: %%. But some broken lexes 2489 # (Solaris, I think it was) want two %% lines, so accommodate them. 2490 cat >conftest.l <<_ACEOF 2491 %% 2492 %% 2493 _ACEOF 2494 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 2495 (eval $LEX conftest.l) 2>&5 2496 ac_status=$? 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2498 (exit $ac_status); } 2499 if test -f lex.yy.c; then 2500 ac_cv_prog_lex_root=lex.yy 2501 elif test -f lexyy.c; then 2502 ac_cv_prog_lex_root=lexyy 2503 else 2504 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 2505 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 2506 { (exit 1); exit 1; }; } 2507 fi 2508 fi 2509 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 2510 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 2511 rm -f conftest.l 2512 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 2513 2514 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 2515 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 2516 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 2517 echo $ECHO_N "(cached) $ECHO_C" >&6 2518 else 2519 # POSIX says lex can declare yytext either as a pointer or an array; the 2520 # default is implementation-dependent. Figure out which it is, since 2521 # not all implementations provide the %pointer and %array declarations. 2522 ac_cv_prog_lex_yytext_pointer=no 2523 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c 2524 ac_save_LIBS=$LIBS 2525 LIBS="$LIBS $LEXLIB" 2526 cat >conftest.$ac_ext <<_ACEOF 2527 `cat $LEX_OUTPUT_ROOT.c` 2528 _ACEOF 2529 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 2532 ac_status=$? 2533 grep -v '^ *+' conftest.er1 >conftest.err 2534 rm -f conftest.er1 2535 cat conftest.err >&5 2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2537 (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 2542 ac_status=$? 2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 (exit $ac_status); }; } && 2545 { ac_try='test -s conftest$ac_exeext' 2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2547 (eval $ac_try) 2>&5 2548 ac_status=$? 2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2550 (exit $ac_status); }; }; then 2551 ac_cv_prog_lex_yytext_pointer=yes 2552 else 2553 echo "$as_me: failed program was:" >&5 2554 sed 's/^/| /' conftest.$ac_ext >&5 2555 2556 fi 2557 rm -f conftest.err conftest.$ac_objext \ 2898 2899 fi 2900 2901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2558 2902 conftest$ac_exeext conftest.$ac_ext 2559 2903 LIBS=$ac_save_LIBS 2560 rm -f "${LEX_OUTPUT_ROOT}.c" 2561 2562 fi 2563 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 2564 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 2904 2905 fi 2906 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 2907 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; } 2565 2908 if test $ac_cv_prog_lex_yytext_pointer = yes; then 2566 2909 … … 2570 2913 2571 2914 fi 2915 rm -f conftest.l $LEX_OUTPUT_ROOT.c 2572 2916 2573 2917 fi … … 2576 2920 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 2577 2921 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 2922 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2580 2924 if test "${ac_cv_prog_AR+set}" = set; then 2581 2925 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2590 2934 test -z "$as_dir" && as_dir=. 2591 2935 for ac_exec_ext in '' $ac_executable_extensions; do 2592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2593 2937 ac_cv_prog_AR="${ac_tool_prefix}ar" 2594 2938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2597 2941 done 2598 2942 done 2943 IFS=$as_save_IFS 2599 2944 2600 2945 fi … … 2602 2947 AR=$ac_cv_prog_AR 2603 2948 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 2949 { echo "$as_me:$LINENO: result: $AR" >&5 2950 echo "${ECHO_T}$AR" >&6; } 2951 else 2952 { echo "$as_me:$LINENO: result: no" >&5 2953 echo "${ECHO_T}no" >&6; } 2954 fi 2955 2610 2956 2611 2957 fi … … 2614 2960 # Extract the first word of "ar", so it can be a program name with args. 2615 2961 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 2962 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2618 2964 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 2619 2965 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2628 2974 test -z "$as_dir" && as_dir=. 2629 2975 for ac_exec_ext in '' $ac_executable_extensions; do 2630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2631 2977 ac_cv_prog_ac_ct_AR="ar" 2632 2978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2635 2981 done 2636 2982 done 2983 IFS=$as_save_IFS 2637 2984 2638 2985 fi … … 2640 2987 ac_ct_AR=$ac_cv_prog_ac_ct_AR 2641 2988 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 2989 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 2990 echo "${ECHO_T}$ac_ct_AR" >&6; } 2991 else 2992 { echo "$as_me:$LINENO: result: no" >&5 2993 echo "${ECHO_T}no" >&6; } 2994 fi 2995 2996 if test "x$ac_ct_AR" = x; then 2997 AR="" 2998 else 2999 case $cross_compiling:$ac_tool_warned in 3000 yes:) 3001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3002 whose name does not start with the host triplet. If you think this 3003 configuration is useful to you, please write to autoconf@gnu.org." >&5 3004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3005 whose name does not start with the host triplet. If you think this 3006 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3007 ac_tool_warned=yes ;; 3008 esac 3009 AR=$ac_ct_AR 3010 fi 2650 3011 else 2651 3012 AR="$ac_cv_prog_AR" … … 2655 3016 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2656 3017 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 3018 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2659 3020 if test "${ac_cv_prog_RANLIB+set}" = set; then 2660 3021 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2669 3030 test -z "$as_dir" && as_dir=. 2670 3031 for ac_exec_ext in '' $ac_executable_extensions; do 2671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2672 3033 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2673 3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2676 3037 done 2677 3038 done 3039 IFS=$as_save_IFS 2678 3040 2679 3041 fi … … 2681 3043 RANLIB=$ac_cv_prog_RANLIB 2682 3044 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 3045 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3046 echo "${ECHO_T}$RANLIB" >&6; } 3047 else 3048 { echo "$as_me:$LINENO: result: no" >&5 3049 echo "${ECHO_T}no" >&6; } 3050 fi 3051 2689 3052 2690 3053 fi … … 2693 3056 # Extract the first word of "ranlib", so it can be a program name with args. 2694 3057 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 3058 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2697 3060 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2698 3061 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2707 3070 test -z "$as_dir" && as_dir=. 2708 3071 for ac_exec_ext in '' $ac_executable_extensions; do 2709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2710 3073 ac_cv_prog_ac_ct_RANLIB="ranlib" 2711 3074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2714 3077 done 2715 3078 done 2716 2717 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3079 IFS=$as_save_IFS 3080 2718 3081 fi 2719 3082 fi 2720 3083 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2721 3084 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 3085 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3086 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3087 else 3088 { echo "$as_me:$LINENO: result: no" >&5 3089 echo "${ECHO_T}no" >&6; } 3090 fi 3091 3092 if test "x$ac_ct_RANLIB" = x; then 3093 RANLIB=":" 3094 else 3095 case $cross_compiling:$ac_tool_warned in 3096 yes:) 3097 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3098 whose name does not start with the host triplet. If you think this 3099 configuration is useful to you, please write to autoconf@gnu.org." >&5 3100 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3101 whose name does not start with the host triplet. If you think this 3102 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3103 ac_tool_warned=yes ;; 3104 esac 3105 RANLIB=$ac_ct_RANLIB 3106 fi 2730 3107 else 2731 3108 RANLIB="$ac_cv_prog_RANLIB" … … 2735 3112 # 2736 3113 ac_aux_dir= 2737 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2738 if test -f $ac_dir/install-sh; then3114 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3115 if test -f "$ac_dir/install-sh"; then 2739 3116 ac_aux_dir=$ac_dir 2740 3117 ac_install_sh="$ac_aux_dir/install-sh -c" 2741 3118 break 2742 elif test -f $ac_dir/install.sh; then3119 elif test -f "$ac_dir/install.sh"; then 2743 3120 ac_aux_dir=$ac_dir 2744 3121 ac_install_sh="$ac_aux_dir/install.sh -c" 2745 3122 break 2746 elif test -f $ac_dir/shtool; then3123 elif test -f "$ac_dir/shtool"; then 2747 3124 ac_aux_dir=$ac_dir 2748 3125 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2751 3128 done 2752 3129 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;}3130 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3131 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2755 3132 { (exit 1); exit 1; }; } 2756 3133 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. 3134 3135 # These three variables are undocumented and unsupported, 3136 # and are intended to be withdrawn in a future Autoconf release. 3137 # They can cause serious problems if a builder's source tree is in a directory 3138 # whose full name contains unusual characters. 3139 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3140 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3141 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3142 2760 3143 2761 3144 # 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;}3145 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3146 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3147 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2765 3148 { (exit 1); exit 1; }; } 2766 3149 2767 echo "$as_me:$LINENO: checking build system type" >&52768 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3150 { echo "$as_me:$LINENO: checking build system type" >&5 3151 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2769 3152 if test "${ac_cv_build+set}" = set; then 2770 3153 echo $ECHO_N "(cached) $ECHO_C" >&6 2771 3154 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"&&3155 ac_build_alias=$build_alias 3156 test "x$ac_build_alias" = x && 3157 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3158 test "x$ac_build_alias" = x && 2776 3159 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2777 3160 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2778 3161 { (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;}3162 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3163 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3164 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2782 3165 { (exit 1); exit 1; }; } 2783 3166 2784 3167 fi 2785 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2786 echo "${ECHO_T}$ac_cv_build" >&6 3168 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3169 echo "${ECHO_T}$ac_cv_build" >&6; } 3170 case $ac_cv_build in 3171 *-*-*) ;; 3172 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3173 echo "$as_me: error: invalid value of canonical build" >&2;} 3174 { (exit 1); exit 1; }; };; 3175 esac 2787 3176 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 3177 ac_save_IFS=$IFS; IFS='-' 3178 set x $ac_cv_build 3179 shift 3180 build_cpu=$1 3181 build_vendor=$2 3182 shift; shift 3183 # Remember, the first character of IFS is used to create $*, 3184 # except with old shells: 3185 build_os=$* 3186 IFS=$ac_save_IFS 3187 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3188 3189 3190 { echo "$as_me:$LINENO: checking host system type" >&5 3191 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2795 3192 if test "${ac_cv_host+set}" = set; then 2796 3193 echo $ECHO_N "(cached) $ECHO_C" >&6 2797 3194 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;}3195 if test "x$host_alias" = x; then 3196 ac_cv_host=$ac_cv_build 3197 else 3198 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3199 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3200 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2804 3201 { (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 3202 fi 3203 3204 fi 3205 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3206 echo "${ECHO_T}$ac_cv_host" >&6; } 3207 case $ac_cv_host in 3208 *-*-*) ;; 3209 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3210 echo "$as_me: error: invalid value of canonical host" >&2;} 3211 { (exit 1); exit 1; }; };; 3212 esac 2809 3213 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 3214 ac_save_IFS=$IFS; IFS='-' 3215 set x $ac_cv_host 3216 shift 3217 host_cpu=$1 3218 host_vendor=$2 3219 shift; shift 3220 # Remember, the first character of IFS is used to create $*, 3221 # except with old shells: 3222 host_os=$* 3223 IFS=$ac_save_IFS 3224 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3225 3226 3227 { echo "$as_me:$LINENO: checking target system type" >&5 3228 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 2817 3229 if test "${ac_cv_target+set}" = set; then 2818 3230 echo $ECHO_N "(cached) $ECHO_C" >&6 2819 3231 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;}3232 if test "x$target_alias" = x; then 3233 ac_cv_target=$ac_cv_host 3234 else 3235 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3236 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3237 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2826 3238 { (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 3239 fi 3240 3241 fi 3242 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3243 echo "${ECHO_T}$ac_cv_target" >&6; } 3244 case $ac_cv_target in 3245 *-*-*) ;; 3246 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3247 echo "$as_me: error: invalid value of canonical target" >&2;} 3248 { (exit 1); exit 1; }; };; 3249 esac 2831 3250 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/'` 3251 ac_save_IFS=$IFS; IFS='-' 3252 set x $ac_cv_target 3253 shift 3254 target_cpu=$1 3255 target_vendor=$2 3256 shift; shift 3257 # Remember, the first character of IFS is used to create $*, 3258 # except with old shells: 3259 target_os=$* 3260 IFS=$ac_save_IFS 3261 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2835 3262 2836 3263 … … 2856 3283 LIBS="$LIBS -liconv" 2857 3284 result='no' 2858 echo "$as_me:$LINENO: checking checking for libiconv" >&52859 echo $ECHO_N "checking checking for libiconv... $ECHO_C" >&6 3285 { echo "$as_me:$LINENO: checking checking for libiconv" >&5 3286 echo $ECHO_N "checking checking for libiconv... $ECHO_C" >&6; } 2860 3287 cat >conftest.$ac_ext <<_ACEOF 2861 3288 /* confdefs.h. */ … … 2881 3308 _ACEOF 2882 3309 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 3310 if { (ac_try="$ac_link" 3311 case "(($ac_try" in 3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3313 *) ac_try_echo=$ac_try;; 3314 esac 3315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3316 (eval "$ac_link") 2>conftest.er1 2885 3317 ac_status=$? 2886 3318 grep -v '^ *+' conftest.er1 >conftest.err … … 2888 3320 cat conftest.err >&5 2889 3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 (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 2895 ac_status=$? 2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2897 (exit $ac_status); }; } && 2898 { ac_try='test -s conftest$ac_exeext' 2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2900 (eval $ac_try) 2>&5 2901 ac_status=$? 2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2903 (exit $ac_status); }; }; then 3322 (exit $ac_status); } && { 3323 test -z "$ac_c_werror_flag" || 3324 test ! -s conftest.err 3325 } && test -s conftest$ac_exeext && 3326 $as_test_x conftest$ac_exeext; then 2904 3327 cat >>confdefs.h <<\_ACEOF 2905 3328 #define HAVE_LIBICONV 1 … … 2911 3334 sed 's/^/| /' conftest.$ac_ext >&5 2912 3335 2913 LIBS="$SAVE_LIBS" 2914 fi 2915 rm -f conftest.err conftest.$ac_objext \ 3336 LIBS="$SAVE_LIBS" 3337 fi 3338 3339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2916 3340 conftest$ac_exeext conftest.$ac_ext 2917 echo "$as_me:$LINENO: result: $result" >&52918 echo "${ECHO_T}$result" >&6 3341 { echo "$as_me:$LINENO: result: $result" >&5 3342 echo "${ECHO_T}$result" >&6; } 2919 3343 2920 3344 2921 3345 HAVE_DLOPEN='no' 2922 echo "$as_me:$LINENO: checking checking for dlopen" >&52923 echo $ECHO_N "checking checking for dlopen... $ECHO_C" >&6 3346 { echo "$as_me:$LINENO: checking checking for dlopen" >&5 3347 echo $ECHO_N "checking checking for dlopen... $ECHO_C" >&6; } 2924 3348 cat >conftest.$ac_ext <<_ACEOF 2925 3349 /* confdefs.h. */ … … 2947 3371 _ACEOF 2948 3372 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 3373 if { (ac_try="$ac_link" 3374 case "(($ac_try" in 3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3376 *) ac_try_echo=$ac_try;; 3377 esac 3378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3379 (eval "$ac_link") 2>conftest.er1 2951 3380 ac_status=$? 2952 3381 grep -v '^ *+' conftest.er1 >conftest.err … … 2954 3383 cat conftest.err >&5 2955 3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2956 (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 2961 ac_status=$? 2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2963 (exit $ac_status); }; } && 2964 { ac_try='test -s conftest$ac_exeext' 2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2966 (eval $ac_try) 2>&5 2967 ac_status=$? 2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 (exit $ac_status); }; }; then 3385 (exit $ac_status); } && { 3386 test -z "$ac_c_werror_flag" || 3387 test ! -s conftest.err 3388 } && test -s conftest$ac_exeext && 3389 $as_test_x conftest$ac_exeext; then 2970 3390 HAVE_DLOPEN='yes' 2971 3391 else … … 2973 3393 sed 's/^/| /' conftest.$ac_ext >&5 2974 3394 2975 SAVE_LIBS="$LIBS"3395 SAVE_LIBS="$LIBS" 2976 3396 LIBS="$LIBS -ldl" 2977 3397 cat >conftest.$ac_ext <<_ACEOF … … 3000 3420 _ACEOF 3001 3421 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 3422 if { (ac_try="$ac_link" 3423 case "(($ac_try" in 3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3425 *) ac_try_echo=$ac_try;; 3426 esac 3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3428 (eval "$ac_link") 2>conftest.er1 3004 3429 ac_status=$? 3005 3430 grep -v '^ *+' conftest.er1 >conftest.err … … 3007 3432 cat conftest.err >&5 3008 3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3009 (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 3014 ac_status=$? 3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 (exit $ac_status); }; } && 3017 { ac_try='test -s conftest$ac_exeext' 3018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3019 (eval $ac_try) 2>&5 3020 ac_status=$? 3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3022 (exit $ac_status); }; }; then 3434 (exit $ac_status); } && { 3435 test -z "$ac_c_werror_flag" || 3436 test ! -s conftest.err 3437 } && test -s conftest$ac_exeext && 3438 $as_test_x conftest$ac_exeext; then 3023 3439 HAVE_DLOPEN='yes' 3024 3440 LIBDL=" -ldl" … … 3027 3443 sed 's/^/| /' conftest.$ac_ext >&5 3028 3444 3029 fi 3030 rm -f conftest.err conftest.$ac_objext \ 3445 3446 fi 3447 3448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3031 3449 conftest$ac_exeext conftest.$ac_ext 3032 3450 LIBS="$SAVE_LIBS" 3033 3451 fi 3034 rm -f conftest.err conftest.$ac_objext \ 3452 3453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3035 3454 conftest$ac_exeext conftest.$ac_ext 3036 echo "$as_me:$LINENO: result: $HAVE_DLOPEN" >&53037 echo "${ECHO_T}$HAVE_DLOPEN" >&6 3455 { echo "$as_me:$LINENO: result: $HAVE_DLOPEN" >&5 3456 echo "${ECHO_T}$HAVE_DLOPEN" >&6; } 3038 3457 3039 3458 … … 3044 3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3045 3464 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 3465 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3466 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3048 3467 # On Suns, sometimes $CPP names a directory. 3049 3468 if test -n "$CPP" && test -d "$CPP"; then … … 3079 3498 Syntax error 3080 3499 _ACEOF 3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3500 if { (ac_try="$ac_cpp conftest.$ac_ext" 3501 case "(($ac_try" in 3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3503 *) ac_try_echo=$ac_try;; 3504 esac 3505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3083 3507 ac_status=$? 3084 3508 grep -v '^ *+' conftest.er1 >conftest.err … … 3086 3510 cat conftest.err >&5 3087 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } >/dev/null; then 3089 if test -s conftest.err; then 3090 ac_cpp_err=$ac_c_preproc_warn_flag 3091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3092 else 3093 ac_cpp_err= 3094 fi 3095 else 3096 ac_cpp_err=yes 3097 fi 3098 if test -z "$ac_cpp_err"; then 3512 (exit $ac_status); } >/dev/null && { 3513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3514 test ! -s conftest.err 3515 }; then 3099 3516 : 3100 3517 else … … 3105 3522 continue 3106 3523 fi 3524 3107 3525 rm -f conftest.err conftest.$ac_ext 3108 3526 3109 # OK, works on sane cases. Now check whether non -existent headers3527 # OK, works on sane cases. Now check whether nonexistent headers 3110 3528 # can be detected and how. 3111 3529 cat >conftest.$ac_ext <<_ACEOF … … 3117 3535 #include <ac_nonexistent.h> 3118 3536 _ACEOF 3119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3537 if { (ac_try="$ac_cpp conftest.$ac_ext" 3538 case "(($ac_try" in 3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3540 *) ac_try_echo=$ac_try;; 3541 esac 3542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3121 3544 ac_status=$? 3122 3545 grep -v '^ *+' conftest.er1 >conftest.err … … 3124 3547 cat conftest.err >&5 3125 3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3126 (exit $ac_status); } >/dev/null; then 3127 if test -s conftest.err; then 3128 ac_cpp_err=$ac_c_preproc_warn_flag 3129 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3130 else 3131 ac_cpp_err= 3132 fi 3133 else 3134 ac_cpp_err=yes 3135 fi 3136 if test -z "$ac_cpp_err"; then 3549 (exit $ac_status); } >/dev/null && { 3550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3551 test ! -s conftest.err 3552 }; then 3137 3553 # Broken: success on invalid input. 3138 3554 continue … … 3145 3561 break 3146 3562 fi 3563 3147 3564 rm -f conftest.err conftest.$ac_ext 3148 3565 … … 3162 3579 ac_cv_prog_CPP=$CPP 3163 3580 fi 3164 echo "$as_me:$LINENO: result: $CPP" >&53165 echo "${ECHO_T}$CPP" >&6 3581 { echo "$as_me:$LINENO: result: $CPP" >&5 3582 echo "${ECHO_T}$CPP" >&6; } 3166 3583 ac_preproc_ok=false 3167 3584 for ac_c_preproc_warn_flag in '' yes … … 3186 3603 Syntax error 3187 3604 _ACEOF 3188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3605 if { (ac_try="$ac_cpp conftest.$ac_ext" 3606 case "(($ac_try" in 3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3608 *) ac_try_echo=$ac_try;; 3609 esac 3610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3190 3612 ac_status=$? 3191 3613 grep -v '^ *+' conftest.er1 >conftest.err … … 3193 3615 cat conftest.err >&5 3194 3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3195 (exit $ac_status); } >/dev/null; then 3196 if test -s conftest.err; then 3197 ac_cpp_err=$ac_c_preproc_warn_flag 3198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3199 else 3200 ac_cpp_err= 3201 fi 3202 else 3203 ac_cpp_err=yes 3204 fi 3205 if test -z "$ac_cpp_err"; then 3617 (exit $ac_status); } >/dev/null && { 3618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3619 test ! -s conftest.err 3620 }; then 3206 3621 : 3207 3622 else … … 3212 3627 continue 3213 3628 fi 3629 3214 3630 rm -f conftest.err conftest.$ac_ext 3215 3631 3216 # OK, works on sane cases. Now check whether non -existent headers3632 # OK, works on sane cases. Now check whether nonexistent headers 3217 3633 # can be detected and how. 3218 3634 cat >conftest.$ac_ext <<_ACEOF … … 3224 3640 #include <ac_nonexistent.h> 3225 3641 _ACEOF 3226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3642 if { (ac_try="$ac_cpp conftest.$ac_ext" 3643 case "(($ac_try" in 3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3645 *) ac_try_echo=$ac_try;; 3646 esac 3647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3228 3649 ac_status=$? 3229 3650 grep -v '^ *+' conftest.er1 >conftest.err … … 3231 3652 cat conftest.err >&5 3232 3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3233 (exit $ac_status); } >/dev/null; then 3234 if test -s conftest.err; then 3235 ac_cpp_err=$ac_c_preproc_warn_flag 3236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3237 else 3238 ac_cpp_err= 3239 fi 3240 else 3241 ac_cpp_err=yes 3242 fi 3243 if test -z "$ac_cpp_err"; then 3654 (exit $ac_status); } >/dev/null && { 3655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3656 test ! -s conftest.err 3657 }; then 3244 3658 # Broken: success on invalid input. 3245 3659 continue … … 3252 3666 break 3253 3667 fi 3668 3254 3669 rm -f conftest.err conftest.$ac_ext 3255 3670 … … 3274 3689 3275 3690 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; then3691 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3692 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3693 if test "${ac_cv_path_GREP+set}" = set; then 3279 3694 echo $ECHO_N "(cached) $ECHO_C" >&6 3280 3695 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' 3696 # Extract the first word of "grep ggrep" to use in msg output 3697 if test -z "$GREP"; then 3698 set dummy grep ggrep; ac_prog_name=$2 3699 if test "${ac_cv_path_GREP+set}" = set; then 3700 echo $ECHO_N "(cached) $ECHO_C" >&6 3701 else 3702 ac_path_GREP_found=false 3703 # Loop through the user's path and test for each of PROGNAME-LIST 3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3705 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3706 do 3707 IFS=$as_save_IFS 3708 test -z "$as_dir" && as_dir=. 3709 for ac_prog in grep ggrep; do 3710 for ac_exec_ext in '' $ac_executable_extensions; do 3711 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3712 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3713 # Check for GNU ac_path_GREP and select it if it is found. 3714 # Check for GNU $ac_path_GREP 3715 case `"$ac_path_GREP" --version 2>&1` in 3716 *GNU*) 3717 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3718 *) 3719 ac_count=0 3720 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3721 while : 3722 do 3723 cat "conftest.in" "conftest.in" >"conftest.tmp" 3724 mv "conftest.tmp" "conftest.in" 3725 cp "conftest.in" "conftest.nl" 3726 echo 'GREP' >> "conftest.nl" 3727 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3728 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3729 ac_count=`expr $ac_count + 1` 3730 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3731 # Best one so far, save it but keep looking for a better one 3732 ac_cv_path_GREP="$ac_path_GREP" 3733 ac_path_GREP_max=$ac_count 3284 3734 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 3735 # 10*(2^10) chars as input seems more than enough 3736 test $ac_count -gt 10 && break 3737 done 3738 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3739 esac 3740 3741 3742 $ac_path_GREP_found && break 3 3743 done 3744 done 3745 3746 done 3747 IFS=$as_save_IFS 3748 3749 3750 fi 3751 3752 GREP="$ac_cv_path_GREP" 3753 if test -z "$GREP"; then 3754 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3755 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3756 { (exit 1); exit 1; }; } 3757 fi 3758 3759 else 3760 ac_cv_path_GREP=$GREP 3761 fi 3762 3763 3764 fi 3765 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3766 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3767 GREP="$ac_cv_path_GREP" 3768 3769 3770 { echo "$as_me:$LINENO: checking for egrep" >&5 3771 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3772 if test "${ac_cv_path_EGREP+set}" = set; then 3773 echo $ECHO_N "(cached) $ECHO_C" >&6 3774 else 3775 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3776 then ac_cv_path_EGREP="$GREP -E" 3777 else 3778 # Extract the first word of "egrep" to use in msg output 3779 if test -z "$EGREP"; then 3780 set dummy egrep; ac_prog_name=$2 3781 if test "${ac_cv_path_EGREP+set}" = set; then 3782 echo $ECHO_N "(cached) $ECHO_C" >&6 3783 else 3784 ac_path_EGREP_found=false 3785 # Loop through the user's path and test for each of PROGNAME-LIST 3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3787 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3788 do 3789 IFS=$as_save_IFS 3790 test -z "$as_dir" && as_dir=. 3791 for ac_prog in egrep; do 3792 for ac_exec_ext in '' $ac_executable_extensions; do 3793 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3794 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3795 # Check for GNU ac_path_EGREP and select it if it is found. 3796 # Check for GNU $ac_path_EGREP 3797 case `"$ac_path_EGREP" --version 2>&1` in 3798 *GNU*) 3799 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3800 *) 3801 ac_count=0 3802 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3803 while : 3804 do 3805 cat "conftest.in" "conftest.in" >"conftest.tmp" 3806 mv "conftest.tmp" "conftest.in" 3807 cp "conftest.in" "conftest.nl" 3808 echo 'EGREP' >> "conftest.nl" 3809 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3810 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3811 ac_count=`expr $ac_count + 1` 3812 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3813 # Best one so far, save it but keep looking for a better one 3814 ac_cv_path_EGREP="$ac_path_EGREP" 3815 ac_path_EGREP_max=$ac_count 3816 fi 3817 # 10*(2^10) chars as input seems more than enough 3818 test $ac_count -gt 10 && break 3819 done 3820 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3821 esac 3822 3823 3824 $ac_path_EGREP_found && break 3 3825 done 3826 done 3827 3828 done 3829 IFS=$as_save_IFS 3830 3831 3832 fi 3833 3834 EGREP="$ac_cv_path_EGREP" 3835 if test -z "$EGREP"; then 3836 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3837 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3838 { (exit 1); exit 1; }; } 3839 fi 3840 3841 else 3842 ac_cv_path_EGREP=$EGREP 3843 fi 3844 3845 3846 fi 3847 fi 3848 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3849 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3850 EGREP="$ac_cv_path_EGREP" 3851 3852 3853 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3854 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3293 3855 if test "${ac_cv_header_stdc+set}" = set; then 3294 3856 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3314 3876 _ACEOF 3315 3877 rm -f conftest.$ac_objext 3316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3317 (eval $ac_compile) 2>conftest.er1 3878 if { (ac_try="$ac_compile" 3879 case "(($ac_try" in 3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3881 *) ac_try_echo=$ac_try;; 3882 esac 3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3884 (eval "$ac_compile") 2>conftest.er1 3318 3885 ac_status=$? 3319 3886 grep -v '^ *+' conftest.er1 >conftest.err … … 3321 3888 cat conftest.err >&5 3322 3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3323 (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 3328 ac_status=$? 3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3330 (exit $ac_status); }; } && 3331 { ac_try='test -s conftest.$ac_objext' 3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3333 (eval $ac_try) 2>&5 3334 ac_status=$? 3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3336 (exit $ac_status); }; }; then 3890 (exit $ac_status); } && { 3891 test -z "$ac_c_werror_flag" || 3892 test ! -s conftest.err 3893 } && test -s conftest.$ac_objext; then 3337 3894 ac_cv_header_stdc=yes 3338 3895 else … … 3340 3897 sed 's/^/| /' conftest.$ac_ext >&5 3341 3898 3342 ac_cv_header_stdc=no 3343 fi 3344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3899 ac_cv_header_stdc=no 3900 fi 3901 3902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3345 3903 3346 3904 if test $ac_cv_header_stdc = yes; then … … 3361 3919 ac_cv_header_stdc=no 3362 3920 fi 3363 rm -f conftest*3921 rm -f -r conftest* 3364 3922 3365 3923 fi … … 3382 3940 ac_cv_header_stdc=no 3383 3941 fi 3384 rm -f conftest*3942 rm -f -r conftest* 3385 3943 3386 3944 fi … … 3398 3956 /* end confdefs.h. */ 3399 3957 #include <ctype.h> 3958 #include <stdlib.h> 3400 3959 #if ((' ' & 0x0FF) == 0x020) 3401 3960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3417 3976 if (XOR (islower (i), ISLOWER (i)) 3418 3977 || toupper (i) != TOUPPER (i)) 3419 exit(2);3420 exit (0);3978 return 2; 3979 return 0; 3421 3980 } 3422 3981 _ACEOF 3423 3982 rm -f conftest$ac_exeext 3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3425 (eval $ac_link) 2>&5 3983 if { (ac_try="$ac_link" 3984 case "(($ac_try" in 3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3986 *) ac_try_echo=$ac_try;; 3987 esac 3988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3989 (eval "$ac_link") 2>&5 3426 3990 ac_status=$? 3427 3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3428 3992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3430 (eval $ac_try) 2>&5 3993 { (case "(($ac_try" in 3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3995 *) ac_try_echo=$ac_try;; 3996 esac 3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3998 (eval "$ac_try") 2>&5 3431 3999 ac_status=$? 3432 4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3441 4009 ac_cv_header_stdc=no 3442 4010 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 4011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4012 fi 4013 4014 4015 fi 4016 fi 4017 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4018 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3449 4019 if test $ac_cv_header_stdc = yes; then 3450 4020 … … 3469 4039 do 3470 4040 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"; then4041 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3474 4044 echo $ECHO_N "(cached) $ECHO_C" >&6 3475 4045 else … … 3485 4055 _ACEOF 3486 4056 rm -f conftest.$ac_objext 3487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3488 (eval $ac_compile) 2>conftest.er1 4057 if { (ac_try="$ac_compile" 4058 case "(($ac_try" in 4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4060 *) ac_try_echo=$ac_try;; 4061 esac 4062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4063 (eval "$ac_compile") 2>conftest.er1 3489 4064 ac_status=$? 3490 4065 grep -v '^ *+' conftest.er1 >conftest.err … … 3492 4067 cat conftest.err >&5 3493 4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3494 (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 3499 ac_status=$? 3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3501 (exit $ac_status); }; } && 3502 { ac_try='test -s conftest.$ac_objext' 3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3504 (eval $ac_try) 2>&5 3505 ac_status=$? 3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3507 (exit $ac_status); }; }; then 4069 (exit $ac_status); } && { 4070 test -z "$ac_c_werror_flag" || 4071 test ! -s conftest.err 4072 } && test -s conftest.$ac_objext; then 3508 4073 eval "$as_ac_Header=yes" 3509 4074 else … … 3511 4076 sed 's/^/| /' conftest.$ac_ext >&5 3512 4077 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 4078 eval "$as_ac_Header=no" 4079 fi 4080 4081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4082 fi 4083 ac_res=`eval echo '${'$as_ac_Header'}'` 4084 { echo "$as_me:$LINENO: result: $ac_res" >&5 4085 echo "${ECHO_T}$ac_res" >&6; } 3519 4086 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3520 4087 cat >>confdefs.h <<_ACEOF … … 3539 4106 do 3540 4107 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"; then4108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4109 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3545 4112 echo $ECHO_N "(cached) $ECHO_C" >&6 3546 4113 fi 3547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4114 ac_res=`eval echo '${'$as_ac_Header'}'` 4115 { echo "$as_me:$LINENO: result: $ac_res" >&5 4116 echo "${ECHO_T}$ac_res" >&6; } 3549 4117 else 3550 4118 # Is the header compilable? 3551 echo "$as_me:$LINENO: checking $ac_header usability" >&53552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4119 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 3553 4121 cat >conftest.$ac_ext <<_ACEOF 3554 4122 /* confdefs.h. */ … … 3561 4129 _ACEOF 3562 4130 rm -f conftest.$ac_objext 3563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3564 (eval $ac_compile) 2>conftest.er1 4131 if { (ac_try="$ac_compile" 4132 case "(($ac_try" in 4133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4134 *) ac_try_echo=$ac_try;; 4135 esac 4136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4137 (eval "$ac_compile") 2>conftest.er1 3565 4138 ac_status=$? 3566 4139 grep -v '^ *+' conftest.er1 >conftest.err … … 3568 4141 cat conftest.err >&5 3569 4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3570 (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 3575 ac_status=$? 3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3577 (exit $ac_status); }; } && 3578 { ac_try='test -s conftest.$ac_objext' 3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3580 (eval $ac_try) 2>&5 3581 ac_status=$? 3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3583 (exit $ac_status); }; }; then 4143 (exit $ac_status); } && { 4144 test -z "$ac_c_werror_flag" || 4145 test ! -s conftest.err 4146 } && test -s conftest.$ac_objext; then 3584 4147 ac_header_compiler=yes 3585 4148 else … … 3587 4150 sed 's/^/| /' conftest.$ac_ext >&5 3588 4151 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 4152 ac_header_compiler=no 4153 fi 4154 4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4156 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4157 echo "${ECHO_T}$ac_header_compiler" >&6; } 3594 4158 3595 4159 # Is the header present? 3596 echo "$as_me:$LINENO: checking $ac_header presence" >&53597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4160 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 3598 4162 cat >conftest.$ac_ext <<_ACEOF 3599 4163 /* confdefs.h. */ … … 3604 4168 #include <$ac_header> 3605 4169 _ACEOF 3606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4170 if { (ac_try="$ac_cpp conftest.$ac_ext" 4171 case "(($ac_try" in 4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4173 *) ac_try_echo=$ac_try;; 4174 esac 4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3608 4177 ac_status=$? 3609 4178 grep -v '^ *+' conftest.er1 >conftest.err … … 3611 4180 cat conftest.err >&5 3612 4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3613 (exit $ac_status); } >/dev/null; then 3614 if test -s conftest.err; then 3615 ac_cpp_err=$ac_c_preproc_warn_flag 3616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3617 else 3618 ac_cpp_err= 3619 fi 3620 else 3621 ac_cpp_err=yes 3622 fi 3623 if test -z "$ac_cpp_err"; then 4182 (exit $ac_status); } >/dev/null && { 4183 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4184 test ! -s conftest.err 4185 }; then 3624 4186 ac_header_preproc=yes 3625 4187 else … … 3629 4191 ac_header_preproc=no 3630 4192 fi 4193 3631 4194 rm -f conftest.err conftest.$ac_ext 3632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53633 echo "${ECHO_T}$ac_header_preproc" >&6 4195 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4196 echo "${ECHO_T}$ac_header_preproc" >&6; } 3634 4197 3635 4198 # So? What about this header? … … 3655 4218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3656 4219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3657 ( 3658 cat <<\_ASBOX 4220 ( cat <<\_ASBOX 3659 4221 ## --------------------------------- ## 3660 4222 ## Report this to BUG-REPORT-ADDRESS ## 3661 4223 ## --------------------------------- ## 3662 4224 _ASBOX 3663 ) | 3664 sed "s/^/$as_me: WARNING: /" >&2 4225 ) | sed "s/^/$as_me: WARNING: /" >&2 3665 4226 ;; 3666 4227 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"; then4228 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3670 4231 echo $ECHO_N "(cached) $ECHO_C" >&6 3671 4232 else 3672 4233 eval "$as_ac_Header=\$ac_header_preproc" 3673 4234 fi 3674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4235 ac_res=`eval echo '${'$as_ac_Header'}'` 4236 { echo "$as_me:$LINENO: result: $ac_res" >&5 4237 echo "${ECHO_T}$ac_res" >&6; } 3676 4238 3677 4239 fi … … 3687 4249 3688 4250 # 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 4251 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 4252 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } 3691 4253 if test "${ac_cv_header_stdbool_h+set}" = set; then 3692 4254 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3701 4263 #include <stdbool.h> 3702 4264 #ifndef bool 3703 # error bool is not defined 4265 "error: bool is not defined" 3704 4266 #endif 3705 4267 #ifndef false 3706 # error false is not defined 4268 "error: false is not defined" 3707 4269 #endif 3708 4270 #if false 3709 # error false is not 0 4271 "error: false is not 0" 3710 4272 #endif 3711 4273 #ifndef true 3712 # error true is not defined 4274 "error: true is not defined" 3713 4275 #endif 3714 4276 #if true != 1 3715 # error true is not 1 4277 "error: true is not 1" 3716 4278 #endif 3717 4279 #ifndef __bool_true_false_are_defined 3718 # error __bool_true_false_are_defined is not defined 4280 "error: __bool_true_false_are_defined is not defined" 3719 4281 #endif 3720 4282 … … 3724 4286 char b[false == 0 ? 1 : -1]; 3725 4287 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 3726 char d[(bool) -0.5 == true ? 1 : -1];4288 char d[(bool) 0.5 == true ? 1 : -1]; 3727 4289 bool e = &s; 3728 char f[(_Bool) -0.0 == false ? 1 : -1];4290 char f[(_Bool) 0.0 == false ? 1 : -1]; 3729 4291 char g[true]; 3730 4292 char h[sizeof (_Bool)]; 3731 4293 char i[sizeof s.t]; 4294 enum { j = false, k = true, l = false * true, m = true * 256 }; 4295 _Bool n[m]; 4296 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 4297 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 4298 # if defined __xlc__ || defined __GNUC__ 4299 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 4300 reported by James Lemley on 2005-10-05; see 4301 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html 4302 This test is not quite right, since xlc is allowed to 4303 reject this program, as the initializer for xlcbug is 4304 not one of the forms that C requires support for. 4305 However, doing the test right would require a runtime 4306 test, and that would make cross-compilation harder. 4307 Let us hope that IBM fixes the xlc bug, and also adds 4308 support for this kind of constant expression. In the 4309 meantime, this test will reject xlc, which is OK, since 4310 our stdbool.h substitute should suffice. We also test 4311 this with GCC, where it should work, to detect more 4312 quickly whether someone messes up the test in the 4313 future. */ 4314 char digs[] = "0123456789"; 4315 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); 4316 # endif 4317 /* Catch a bug in an HP-UX C compiler. See 4318 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 4319 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 4320 */ 4321 _Bool q = true; 4322 _Bool *pq = &q; 3732 4323 3733 4324 int 3734 4325 main () 3735 4326 { 3736 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 4327 4328 *pq |= q; 4329 *pq |= ! q; 4330 /* Refer to every declared value, to avoid compiler optimizations. */ 4331 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 4332 + !m + !n + !o + !p + !q + !pq); 4333 3737 4334 ; 3738 4335 return 0; … … 3740 4337 _ACEOF 3741 4338 rm -f conftest.$ac_objext 3742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3743 (eval $ac_compile) 2>conftest.er1 4339 if { (ac_try="$ac_compile" 4340 case "(($ac_try" in 4341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4342 *) ac_try_echo=$ac_try;; 4343 esac 4344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4345 (eval "$ac_compile") 2>conftest.er1 3744 4346 ac_status=$? 3745 4347 grep -v '^ *+' conftest.er1 >conftest.err … … 3747 4349 cat conftest.err >&5 3748 4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3749 (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 3754 ac_status=$? 3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3756 (exit $ac_status); }; } && 3757 { ac_try='test -s conftest.$ac_objext' 3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3759 (eval $ac_try) 2>&5 3760 ac_status=$? 3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3762 (exit $ac_status); }; }; then 4351 (exit $ac_status); } && { 4352 test -z "$ac_c_werror_flag" || 4353 test ! -s conftest.err 4354 } && test -s conftest.$ac_objext; then 3763 4355 ac_cv_header_stdbool_h=yes 3764 4356 else … … 3766 4358 sed 's/^/| /' conftest.$ac_ext >&5 3767 4359 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 4360 ac_cv_header_stdbool_h=no 4361 fi 4362 4363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4364 fi 4365 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 4366 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } 4367 { echo "$as_me:$LINENO: checking for _Bool" >&5 4368 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } 3776 4369 if test "${ac_cv_type__Bool+set}" = set; then 3777 4370 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3784 4377 /* end confdefs.h. */ 3785 4378 $ac_includes_default 4379 typedef _Bool ac__type_new_; 3786 4380 int 3787 4381 main () 3788 4382 { 3789 if (( _Bool*) 0)4383 if ((ac__type_new_ *) 0) 3790 4384 return 0; 3791 if (sizeof ( _Bool))4385 if (sizeof (ac__type_new_)) 3792 4386 return 0; 3793 4387 ; … … 3796 4390 _ACEOF 3797 4391 rm -f conftest.$ac_objext 3798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3799 (eval $ac_compile) 2>conftest.er1 4392 if { (ac_try="$ac_compile" 4393 case "(($ac_try" in 4394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4395 *) ac_try_echo=$ac_try;; 4396 esac 4397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4398 (eval "$ac_compile") 2>conftest.er1 3800 4399 ac_status=$? 3801 4400 grep -v '^ *+' conftest.er1 >conftest.err … … 3803 4402 cat conftest.err >&5 3804 4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3805 (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 3810 ac_status=$? 3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3812 (exit $ac_status); }; } && 3813 { ac_try='test -s conftest.$ac_objext' 3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3815 (eval $ac_try) 2>&5 3816 ac_status=$? 3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3818 (exit $ac_status); }; }; then 4404 (exit $ac_status); } && { 4405 test -z "$ac_c_werror_flag" || 4406 test ! -s conftest.err 4407 } && test -s conftest.$ac_objext; then 3819 4408 ac_cv_type__Bool=yes 3820 4409 else … … 3822 4411 sed 's/^/| /' conftest.$ac_ext >&5 3823 4412 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 4413 ac_cv_type__Bool=no 4414 fi 4415 4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4417 fi 4418 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 4419 echo "${ECHO_T}$ac_cv_type__Bool" >&6; } 3830 4420 if test $ac_cv_type__Bool = yes; then 3831 4421 … … 3845 4435 fi 3846 4436 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 4437 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4438 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 3849 4439 if test "${ac_cv_c_const+set}" = set; then 3850 4440 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3864 4454 /* Ultrix mips cc rejects this. */ 3865 4455 typedef int charset[2]; 3866 const charset x;4456 const charset cs; 3867 4457 /* SunOS 4.1.1 cc rejects this. */ 3868 char const *const * ccp;3869 char **p ;4458 char const *const *pcpcc; 4459 char **ppc; 3870 4460 /* NEC SVR4.0.2 mips cc rejects this. */ 3871 4461 struct point {int x, y;}; … … 3876 4466 expression */ 3877 4467 const char *g = "string"; 3878 ccp= &g + (g ? g-g : 0);4468 pcpcc = &g + (g ? g-g : 0); 3879 4469 /* HPUX 7.0 cc rejects these. */ 3880 ++ ccp;3881 p = (char**) ccp;3882 ccp = (char const *const *) p;4470 ++pcpcc; 4471 ppc = (char**) pcpcc; 4472 pcpcc = (char const *const *) ppc; 3883 4473 { /* SCO 3.2v4 cc rejects this. */ 3884 4474 char *t; … … 3886 4476 3887 4477 *t++ = 0; 4478 if (s) return 0; 3888 4479 } 3889 4480 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 3904 4495 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3905 4496 const int foo = 10; 4497 if (!foo) return 0; 3906 4498 } 4499 return !cs[0] && !zero.x; 3907 4500 #endif 3908 4501 … … 3912 4505 _ACEOF 3913 4506 rm -f conftest.$ac_objext 3914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3915 (eval $ac_compile) 2>conftest.er1 4507 if { (ac_try="$ac_compile" 4508 case "(($ac_try" in 4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4510 *) ac_try_echo=$ac_try;; 4511 esac 4512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4513 (eval "$ac_compile") 2>conftest.er1 3916 4514 ac_status=$? 3917 4515 grep -v '^ *+' conftest.er1 >conftest.err … … 3919 4517 cat conftest.err >&5 3920 4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (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 3926 ac_status=$? 3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3928 (exit $ac_status); }; } && 3929 { ac_try='test -s conftest.$ac_objext' 3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3931 (eval $ac_try) 2>&5 3932 ac_status=$? 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3934 (exit $ac_status); }; }; then 4519 (exit $ac_status); } && { 4520 test -z "$ac_c_werror_flag" || 4521 test ! -s conftest.err 4522 } && test -s conftest.$ac_objext; then 3935 4523 ac_cv_c_const=yes 3936 4524 else … … 3938 4526 sed 's/^/| /' conftest.$ac_ext >&5 3939 4527 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 4528 ac_cv_c_const=no 4529 fi 4530 4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4532 fi 4533 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4534 echo "${ECHO_T}$ac_cv_c_const" >&6; } 3946 4535 if test $ac_cv_c_const = no; then 3947 4536 … … 3952 4541 fi 3953 4542 3954 echo "$as_me:$LINENO: checking for size_t" >&53955 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4543 { echo "$as_me:$LINENO: checking for size_t" >&5 4544 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 3956 4545 if test "${ac_cv_type_size_t+set}" = set; then 3957 4546 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3964 4553 /* end confdefs.h. */ 3965 4554 $ac_includes_default 4555 typedef size_t ac__type_new_; 3966 4556 int 3967 4557 main () 3968 4558 { 3969 if (( size_t*) 0)4559 if ((ac__type_new_ *) 0) 3970 4560 return 0; 3971 if (sizeof ( size_t))4561 if (sizeof (ac__type_new_)) 3972 4562 return 0; 3973 4563 ; … … 3976 4566 _ACEOF 3977 4567 rm -f conftest.$ac_objext 3978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3979 (eval $ac_compile) 2>conftest.er1 4568 if { (ac_try="$ac_compile" 4569 case "(($ac_try" in 4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4571 *) ac_try_echo=$ac_try;; 4572 esac 4573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4574 (eval "$ac_compile") 2>conftest.er1 3980 4575 ac_status=$? 3981 4576 grep -v '^ *+' conftest.er1 >conftest.err … … 3983 4578 cat conftest.err >&5 3984 4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3985 (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 3990 ac_status=$? 3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3992 (exit $ac_status); }; } && 3993 { ac_try='test -s conftest.$ac_objext' 3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3995 (eval $ac_try) 2>&5 3996 ac_status=$? 3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3998 (exit $ac_status); }; }; then 4580 (exit $ac_status); } && { 4581 test -z "$ac_c_werror_flag" || 4582 test ! -s conftest.err 4583 } && test -s conftest.$ac_objext; then 3999 4584 ac_cv_type_size_t=yes 4000 4585 else … … 4002 4587 sed 's/^/| /' conftest.$ac_ext >&5 4003 4588 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 4589 ac_cv_type_size_t=no 4590 fi 4591 4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4593 fi 4594 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4595 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4010 4596 if test $ac_cv_type_size_t = yes; then 4011 4597 : … … 4013 4599 4014 4600 cat >>confdefs.h <<_ACEOF 4015 #define size_t unsigned 4601 #define size_t unsigned int 4016 4602 _ACEOF 4017 4603 … … 4024 4610 do 4025 4611 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"; then4612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4613 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4030 4616 echo $ECHO_N "(cached) $ECHO_C" >&6 4031 4617 fi 4032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4618 ac_res=`eval echo '${'$as_ac_Header'}'` 4619 { echo "$as_me:$LINENO: result: $ac_res" >&5 4620 echo "${ECHO_T}$ac_res" >&6; } 4034 4621 else 4035 4622 # Is the header compilable? 4036 echo "$as_me:$LINENO: checking $ac_header usability" >&54037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4038 4625 cat >conftest.$ac_ext <<_ACEOF 4039 4626 /* confdefs.h. */ … … 4046 4633 _ACEOF 4047 4634 rm -f conftest.$ac_objext 4048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4049 (eval $ac_compile) 2>conftest.er1 4635 if { (ac_try="$ac_compile" 4636 case "(($ac_try" in 4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4638 *) ac_try_echo=$ac_try;; 4639 esac 4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4641 (eval "$ac_compile") 2>conftest.er1 4050 4642 ac_status=$? 4051 4643 grep -v '^ *+' conftest.er1 >conftest.err … … 4053 4645 cat conftest.err >&5 4054 4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4055 (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 4060 ac_status=$? 4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4062 (exit $ac_status); }; } && 4063 { ac_try='test -s conftest.$ac_objext' 4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4065 (eval $ac_try) 2>&5 4066 ac_status=$? 4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4068 (exit $ac_status); }; }; then 4647 (exit $ac_status); } && { 4648 test -z "$ac_c_werror_flag" || 4649 test ! -s conftest.err 4650 } && test -s conftest.$ac_objext; then 4069 4651 ac_header_compiler=yes 4070 4652 else … … 4072 4654 sed 's/^/| /' conftest.$ac_ext >&5 4073 4655 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 4656 ac_header_compiler=no 4657 fi 4658 4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4660 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4661 echo "${ECHO_T}$ac_header_compiler" >&6; } 4079 4662 4080 4663 # Is the header present? 4081 echo "$as_me:$LINENO: checking $ac_header presence" >&54082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4664 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4083 4666 cat >conftest.$ac_ext <<_ACEOF 4084 4667 /* confdefs.h. */ … … 4089 4672 #include <$ac_header> 4090 4673 _ACEOF 4091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4674 if { (ac_try="$ac_cpp conftest.$ac_ext" 4675 case "(($ac_try" in 4676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4677 *) ac_try_echo=$ac_try;; 4678 esac 4679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4093 4681 ac_status=$? 4094 4682 grep -v '^ *+' conftest.er1 >conftest.err … … 4096 4684 cat conftest.err >&5 4097 4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4098 (exit $ac_status); } >/dev/null; then 4099 if test -s conftest.err; then 4100 ac_cpp_err=$ac_c_preproc_warn_flag 4101 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4102 else 4103 ac_cpp_err= 4104 fi 4105 else 4106 ac_cpp_err=yes 4107 fi 4108 if test -z "$ac_cpp_err"; then 4686 (exit $ac_status); } >/dev/null && { 4687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4688 test ! -s conftest.err 4689 }; then 4109 4690 ac_header_preproc=yes 4110 4691 else … … 4114 4695 ac_header_preproc=no 4115 4696 fi 4697 4116 4698 rm -f conftest.err conftest.$ac_ext 4117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54118 echo "${ECHO_T}$ac_header_preproc" >&6 4699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4700 echo "${ECHO_T}$ac_header_preproc" >&6; } 4119 4701 4120 4702 # So? What about this header? … … 4140 4722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4141 4723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4142 ( 4143 cat <<\_ASBOX 4724 ( cat <<\_ASBOX 4144 4725 ## --------------------------------- ## 4145 4726 ## Report this to BUG-REPORT-ADDRESS ## 4146 4727 ## --------------------------------- ## 4147 4728 _ASBOX 4148 ) | 4149 sed "s/^/$as_me: WARNING: /" >&2 4729 ) | sed "s/^/$as_me: WARNING: /" >&2 4150 4730 ;; 4151 4731 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"; then4732 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4155 4735 echo $ECHO_N "(cached) $ECHO_C" >&6 4156 4736 else 4157 4737 eval "$as_ac_Header=\$ac_header_preproc" 4158 4738 fi 4159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4739 ac_res=`eval echo '${'$as_ac_Header'}'` 4740 { echo "$as_me:$LINENO: result: $ac_res" >&5 4741 echo "${ECHO_T}$ac_res" >&6; } 4161 4742 4162 4743 fi … … 4170 4751 done 4171 4752 4172 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&54173 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 4753 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 4754 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } 4174 4755 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 4175 4756 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4184 4765 cat >>conftest.$ac_ext <<_ACEOF 4185 4766 /* end confdefs.h. */ 4186 #if STDC_HEADERS ||HAVE_STDLIB_H4767 #if defined STDC_HEADERS || defined HAVE_STDLIB_H 4187 4768 # include <stdlib.h> 4188 4769 #else … … 4193 4774 main () 4194 4775 { 4195 exit (malloc (0) ? 0 : 1);4776 return ! malloc (0); 4196 4777 ; 4197 4778 return 0; … … 4199 4780 _ACEOF 4200 4781 rm -f conftest$ac_exeext 4201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4202 (eval $ac_link) 2>&5 4782 if { (ac_try="$ac_link" 4783 case "(($ac_try" in 4784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4785 *) ac_try_echo=$ac_try;; 4786 esac 4787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4788 (eval "$ac_link") 2>&5 4203 4789 ac_status=$? 4204 4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4205 4791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4207 (eval $ac_try) 2>&5 4792 { (case "(($ac_try" in 4793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4794 *) ac_try_echo=$ac_try;; 4795 esac 4796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4797 (eval "$ac_try") 2>&5 4208 4798 ac_status=$? 4209 4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4218 4808 ac_cv_func_malloc_0_nonnull=no 4219 4809 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 4810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4811 fi 4812 4813 4814 fi 4815 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 4816 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } 4225 4817 if test $ac_cv_func_malloc_0_nonnull = yes; then 4226 4818 … … 4234 4826 _ACEOF 4235 4827 4236 case $LIBOBJS in 4237 "malloc.$ac_objext" | \ 4238 *" malloc.$ac_objext" | \ 4239 "malloc.$ac_objext "* | \ 4828 case " $LIBOBJS " in 4240 4829 *" malloc.$ac_objext "* ) ;; 4241 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; 4830 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 4831 ;; 4242 4832 esac 4243 4833 … … 4251 4841 4252 4842 4253 echo "$as_me:$LINENO: checking for working memcmp" >&54254 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 4843 { echo "$as_me:$LINENO: checking for working memcmp" >&5 4844 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } 4255 4845 if test "${ac_cv_func_memcmp_working+set}" = set; then 4256 4846 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4271 4861 4272 4862 /* Some versions of memcmp are not 8-bit clean. */ 4273 char c0 = 0x40, c1 = 0x80, c2 = 0x81;4863 char c0 = '\100', c1 = '\200', c2 = '\201'; 4274 4864 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 4275 exit (1);4865 return 1; 4276 4866 4277 4867 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes … … 4289 4879 strcpy (b, "--------10000000"); 4290 4880 if (memcmp (a, b, 16) >= 0) 4291 exit (1);4881 return 1; 4292 4882 } 4293 exit (0);4883 return 0; 4294 4884 } 4295 4885 … … 4299 4889 _ACEOF 4300 4890 rm -f conftest$ac_exeext 4301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4302 (eval $ac_link) 2>&5 4891 if { (ac_try="$ac_link" 4892 case "(($ac_try" in 4893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4894 *) ac_try_echo=$ac_try;; 4895 esac 4896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4897 (eval "$ac_link") 2>&5 4303 4898 ac_status=$? 4304 4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4305 4900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4307 (eval $ac_try) 2>&5 4901 { (case "(($ac_try" in 4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4903 *) ac_try_echo=$ac_try;; 4904 esac 4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4906 (eval "$ac_try") 2>&5 4308 4907 ac_status=$? 4309 4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4318 4917 ac_cv_func_memcmp_working=no 4319 4918 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 "* | \ 4919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4920 fi 4921 4922 4923 fi 4924 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 4925 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } 4926 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 4329 4927 *" memcmp.$ac_objext "* ) ;; 4330 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;; 4928 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 4929 ;; 4331 4930 esac 4332 4931 … … 4336 4935 do 4337 4936 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"; then4937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4938 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4342 4941 echo $ECHO_N "(cached) $ECHO_C" >&6 4343 4942 fi 4344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4943 ac_res=`eval echo '${'$as_ac_Header'}'` 4944 { echo "$as_me:$LINENO: result: $ac_res" >&5 4945 echo "${ECHO_T}$ac_res" >&6; } 4346 4946 else 4347 4947 # Is the header compilable? 4348 echo "$as_me:$LINENO: checking $ac_header usability" >&54349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4948 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4350 4950 cat >conftest.$ac_ext <<_ACEOF 4351 4951 /* confdefs.h. */ … … 4358 4958 _ACEOF 4359 4959 rm -f conftest.$ac_objext 4360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4361 (eval $ac_compile) 2>conftest.er1 4960 if { (ac_try="$ac_compile" 4961 case "(($ac_try" in 4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4963 *) ac_try_echo=$ac_try;; 4964 esac 4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4966 (eval "$ac_compile") 2>conftest.er1 4362 4967 ac_status=$? 4363 4968 grep -v '^ *+' conftest.er1 >conftest.err … … 4365 4970 cat conftest.err >&5 4366 4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4367 (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 4372 ac_status=$? 4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4374 (exit $ac_status); }; } && 4375 { ac_try='test -s conftest.$ac_objext' 4376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4377 (eval $ac_try) 2>&5 4378 ac_status=$? 4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4380 (exit $ac_status); }; }; then 4972 (exit $ac_status); } && { 4973 test -z "$ac_c_werror_flag" || 4974 test ! -s conftest.err 4975 } && test -s conftest.$ac_objext; then 4381 4976 ac_header_compiler=yes 4382 4977 else … … 4384 4979 sed 's/^/| /' conftest.$ac_ext >&5 4385 4980 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 4981 ac_header_compiler=no 4982 fi 4983 4984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4985 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4986 echo "${ECHO_T}$ac_header_compiler" >&6; } 4391 4987 4392 4988 # Is the header present? 4393 echo "$as_me:$LINENO: checking $ac_header presence" >&54394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4989 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4395 4991 cat >conftest.$ac_ext <<_ACEOF 4396 4992 /* confdefs.h. */ … … 4401 4997 #include <$ac_header> 4402 4998 _ACEOF 4403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4999 if { (ac_try="$ac_cpp conftest.$ac_ext" 5000 case "(($ac_try" in 5001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5002 *) ac_try_echo=$ac_try;; 5003 esac 5004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4405 5006 ac_status=$? 4406 5007 grep -v '^ *+' conftest.er1 >conftest.err … … 4408 5009 cat conftest.err >&5 4409 5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4410 (exit $ac_status); } >/dev/null; then 4411 if test -s conftest.err; then 4412 ac_cpp_err=$ac_c_preproc_warn_flag 4413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4414 else 4415 ac_cpp_err= 4416 fi 4417 else 4418 ac_cpp_err=yes 4419 fi 4420 if test -z "$ac_cpp_err"; then 5011 (exit $ac_status); } >/dev/null && { 5012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5013 test ! -s conftest.err 5014 }; then 4421 5015 ac_header_preproc=yes 4422 5016 else … … 4426 5020 ac_header_preproc=no 4427 5021 fi 5022 4428 5023 rm -f conftest.err conftest.$ac_ext 4429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54430 echo "${ECHO_T}$ac_header_preproc" >&6 5024 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5025 echo "${ECHO_T}$ac_header_preproc" >&6; } 4431 5026 4432 5027 # So? What about this header? … … 4452 5047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4453 5048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4454 ( 4455 cat <<\_ASBOX 5049 ( cat <<\_ASBOX 4456 5050 ## --------------------------------- ## 4457 5051 ## Report this to BUG-REPORT-ADDRESS ## 4458 5052 ## --------------------------------- ## 4459 5053 _ASBOX 4460 ) | 4461 sed "s/^/$as_me: WARNING: /" >&2 5054 ) | sed "s/^/$as_me: WARNING: /" >&2 4462 5055 ;; 4463 5056 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"; then5057 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4467 5060 echo $ECHO_N "(cached) $ECHO_C" >&6 4468 5061 else 4469 5062 eval "$as_ac_Header=\$ac_header_preproc" 4470 5063 fi 4471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5064 ac_res=`eval echo '${'$as_ac_Header'}'` 5065 { echo "$as_me:$LINENO: result: $ac_res" >&5 5066 echo "${ECHO_T}$ac_res" >&6; } 4473 5067 4474 5068 fi … … 4482 5076 done 4483 5077 4484 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&54485 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 5078 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 5079 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } 4486 5080 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then 4487 5081 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4496 5090 cat >>conftest.$ac_ext <<_ACEOF 4497 5091 /* end confdefs.h. */ 4498 #if STDC_HEADERS ||HAVE_STDLIB_H5092 #if defined STDC_HEADERS || defined HAVE_STDLIB_H 4499 5093 # include <stdlib.h> 4500 5094 #else … … 4505 5099 main () 4506 5100 { 4507 exit (realloc (0, 0) ? 0 : 1);5101 return ! realloc (0, 0); 4508 5102 ; 4509 5103 return 0; … … 4511 5105 _ACEOF 4512 5106 rm -f conftest$ac_exeext 4513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4514 (eval $ac_link) 2>&5 5107 if { (ac_try="$ac_link" 5108 case "(($ac_try" in 5109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5110 *) ac_try_echo=$ac_try;; 5111 esac 5112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5113 (eval "$ac_link") 2>&5 4515 5114 ac_status=$? 4516 5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4517 5116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4519 (eval $ac_try) 2>&5 5117 { (case "(($ac_try" in 5118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5119 *) ac_try_echo=$ac_try;; 5120 esac 5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5122 (eval "$ac_try") 2>&5 4520 5123 ac_status=$? 4521 5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4530 5133 ac_cv_func_realloc_0_nonnull=no 4531 5134 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 5135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5136 fi 5137 5138 5139 fi 5140 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 5141 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } 4537 5142 if test $ac_cv_func_realloc_0_nonnull = yes; then 4538 5143 … … 4546 5151 _ACEOF 4547 5152 4548 case $LIBOBJS in 4549 "realloc.$ac_objext" | \ 4550 *" realloc.$ac_objext" | \ 4551 "realloc.$ac_objext "* | \ 5153 case " $LIBOBJS " in 4552 5154 *" realloc.$ac_objext "* ) ;; 4553 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; 5155 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 5156 ;; 4554 5157 esac 4555 5158 … … 4567 5170 do 4568 5171 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"; then5172 { echo "$as_me:$LINENO: checking for $ac_func" >&5 5173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4572 5175 echo $ECHO_N "(cached) $ECHO_C" >&6 4573 5176 else … … 4595 5198 #undef $ac_func 4596 5199 4597 /* Override any gcc2 internal prototype to avoid an error. */ 5200 /* Override any GCC internal prototype to avoid an error. 5201 Use char because int might match the return type of a GCC 5202 builtin and then its argument prototype would still apply. */ 4598 5203 #ifdef __cplusplus 4599 5204 extern "C" 4600 {4601 5205 #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 5206 char $ac_func (); 4605 5207 /* The GNU C library defines this for functions which it implements 4606 5208 to always fail with ENOSYS. Some functions are actually named 4607 5209 something starting with __ and the normal name is an alias. */ 4608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)5210 #if defined __stub_$ac_func || defined __stub___$ac_func 4609 5211 choke me 4610 #else4611 char (*f) () = $ac_func;4612 #endif4613 #ifdef __cplusplus4614 }4615 5212 #endif 4616 5213 … … 4618 5215 main () 4619 5216 { 4620 return f != $ac_func;5217 return $ac_func (); 4621 5218 ; 4622 5219 return 0; … … 4624 5221 _ACEOF 4625 5222 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 5223 if { (ac_try="$ac_link" 5224 case "(($ac_try" in 5225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5226 *) ac_try_echo=$ac_try;; 5227 esac 5228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5229 (eval "$ac_link") 2>conftest.er1 4628 5230 ac_status=$? 4629 5231 grep -v '^ *+' conftest.er1 >conftest.err … … 4631 5233 cat conftest.err >&5 4632 5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4633 (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 4638 ac_status=$? 4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4640 (exit $ac_status); }; } && 4641 { ac_try='test -s conftest$ac_exeext' 4642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4643 (eval $ac_try) 2>&5 4644 ac_status=$? 4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4646 (exit $ac_status); }; }; then 5235 (exit $ac_status); } && { 5236 test -z "$ac_c_werror_flag" || 5237 test ! -s conftest.err 5238 } && test -s conftest$ac_exeext && 5239 $as_test_x conftest$ac_exeext; then 4647 5240 eval "$as_ac_var=yes" 4648 5241 else … … 4650 5243 sed 's/^/| /' conftest.$ac_ext >&5 4651 5244 4652 eval "$as_ac_var=no" 4653 fi 4654 rm -f conftest.err conftest.$ac_objext \ 5245 eval "$as_ac_var=no" 5246 fi 5247 5248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4655 5249 conftest$ac_exeext conftest.$ac_ext 4656 5250 fi 4657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5251 ac_res=`eval echo '${'$as_ac_var'}'` 5252 { echo "$as_me:$LINENO: result: $ac_res" >&5 5253 echo "${ECHO_T}$ac_res" >&6; } 4659 5254 if test `eval echo '${'$as_ac_var'}'` = yes; then 4660 5255 cat >>confdefs.h <<_ACEOF … … 4662 5257 _ACEOF 4663 5258 4664 echo "$as_me:$LINENO: checking for _doprnt" >&54665 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 5259 { echo "$as_me:$LINENO: checking for _doprnt" >&5 5260 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 4666 5261 if test "${ac_cv_func__doprnt+set}" = set; then 4667 5262 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4690 5285 #undef _doprnt 4691 5286 4692 /* Override any gcc2 internal prototype to avoid an error. */ 5287 /* Override any GCC internal prototype to avoid an error. 5288 Use char because int might match the return type of a GCC 5289 builtin and then its argument prototype would still apply. */ 4693 5290 #ifdef __cplusplus 4694 5291 extern "C" 4695 {4696 5292 #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 5293 char _doprnt (); 4700 5294 /* The GNU C library defines this for functions which it implements 4701 5295 to always fail with ENOSYS. Some functions are actually named 4702 5296 something starting with __ and the normal name is an alias. */ 4703 #if defined (__stub__doprnt) || defined (__stub____doprnt)5297 #if defined __stub__doprnt || defined __stub____doprnt 4704 5298 choke me 4705 #else4706 char (*f) () = _doprnt;4707 #endif4708 #ifdef __cplusplus4709 }4710 5299 #endif 4711 5300 … … 4713 5302 main () 4714 5303 { 4715 return f != _doprnt;5304 return _doprnt (); 4716 5305 ; 4717 5306 return 0; … … 4719 5308 _ACEOF 4720 5309 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 5310 if { (ac_try="$ac_link" 5311 case "(($ac_try" in 5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5313 *) ac_try_echo=$ac_try;; 5314 esac 5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5316 (eval "$ac_link") 2>conftest.er1 4723 5317 ac_status=$? 4724 5318 grep -v '^ *+' conftest.er1 >conftest.err … … 4726 5320 cat conftest.err >&5 4727 5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4728 (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 4733 ac_status=$? 4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4735 (exit $ac_status); }; } && 4736 { ac_try='test -s conftest$ac_exeext' 4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4738 (eval $ac_try) 2>&5 4739 ac_status=$? 4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4741 (exit $ac_status); }; }; then 5322 (exit $ac_status); } && { 5323 test -z "$ac_c_werror_flag" || 5324 test ! -s conftest.err 5325 } && test -s conftest$ac_exeext && 5326 $as_test_x conftest$ac_exeext; then 4742 5327 ac_cv_func__doprnt=yes 4743 5328 else … … 4745 5330 sed 's/^/| /' conftest.$ac_ext >&5 4746 5331 4747 ac_cv_func__doprnt=no 4748 fi 4749 rm -f conftest.err conftest.$ac_objext \ 5332 ac_cv_func__doprnt=no 5333 fi 5334 5335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4750 5336 conftest$ac_exeext conftest.$ac_ext 4751 5337 fi 4752 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&54753 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 5338 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 5339 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 4754 5340 if test $ac_cv_func__doprnt = yes; then 4755 5341 … … 4779 5365 do 4780 5366 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"; then5367 { echo "$as_me:$LINENO: checking for $ac_func" >&5 5368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4784 5370 echo $ECHO_N "(cached) $ECHO_C" >&6 4785 5371 else … … 4807 5393 #undef $ac_func 4808 5394 4809 /* Override any gcc2 internal prototype to avoid an error. */ 5395 /* Override any GCC internal prototype to avoid an error. 5396 Use char because int might match the return type of a GCC 5397 builtin and then its argument prototype would still apply. */ 4810 5398 #ifdef __cplusplus 4811 5399 extern "C" 4812 {4813 5400 #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 5401 char $ac_func (); 4817 5402 /* The GNU C library defines this for functions which it implements 4818 5403 to always fail with ENOSYS. Some functions are actually named 4819 5404 something starting with __ and the normal name is an alias. */ 4820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)5405 #if defined __stub_$ac_func || defined __stub___$ac_func 4821 5406 choke me 4822 #else4823 char (*f) () = $ac_func;4824 #endif4825 #ifdef __cplusplus4826 }4827 5407 #endif 4828 5408 … … 4830 5410 main () 4831 5411 { 4832 return f != $ac_func;5412 return $ac_func (); 4833 5413 ; 4834 5414 return 0; … … 4836 5416 _ACEOF 4837 5417 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 5418 if { (ac_try="$ac_link" 5419 case "(($ac_try" in 5420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5421 *) ac_try_echo=$ac_try;; 5422 esac 5423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5424 (eval "$ac_link") 2>conftest.er1 4840 5425 ac_status=$? 4841 5426 grep -v '^ *+' conftest.er1 >conftest.err … … 4843 5428 cat conftest.err >&5 4844 5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4845 (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 4850 ac_status=$? 4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4852 (exit $ac_status); }; } && 4853 { ac_try='test -s conftest$ac_exeext' 4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4855 (eval $ac_try) 2>&5 4856 ac_status=$? 4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4858 (exit $ac_status); }; }; then 5430 (exit $ac_status); } && { 5431 test -z "$ac_c_werror_flag" || 5432 test ! -s conftest.err 5433 } && test -s conftest$ac_exeext && 5434 $as_test_x conftest$ac_exeext; then 4859 5435 eval "$as_ac_var=yes" 4860 5436 else … … 4862 5438 sed 's/^/| /' conftest.$ac_ext >&5 4863 5439 4864 eval "$as_ac_var=no" 4865 fi 4866 rm -f conftest.err conftest.$ac_objext \ 5440 eval "$as_ac_var=no" 5441 fi 5442 5443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4867 5444 conftest$ac_exeext conftest.$ac_ext 4868 5445 fi 4869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5446 ac_res=`eval echo '${'$as_ac_var'}'` 5447 { echo "$as_me:$LINENO: result: $ac_res" >&5 5448 echo "${ECHO_T}$ac_res" >&6; } 4871 5449 if test `eval echo '${'$as_ac_var'}'` = yes; then 4872 5450 cat >>confdefs.h <<_ACEOF … … 4947 5525 4948 5526 4949 # Check whether --with-sitedir or --without-sitedirwas given.5527 # Check whether --with-sitedir was given. 4950 5528 if test "${with_sitedir+set}" = set; then 4951 withval="$with_sitedir" 4952 sitedir=$withval 5529 withval=$with_sitedir; sitedir=$withval 4953 5530 else 4954 5531 sitedir='${prefix}/lib/newt0' 4955 fi; 5532 fi 5533 4956 5534 SITE_DIR="`eval \"echo ${sitedir}\"`" 4957 5535 4958 5536 4959 # Check whether --with-libffidir or --without-libffidirwas given.5537 # Check whether --with-libffidir was given. 4960 5538 if test "${with_libffidir+set}" = set; then 4961 withval="$with_libffidir" 4962 libffidir=$withval 5539 withval=$with_libffidir; libffidir=$withval 4963 5540 else 4964 5541 libffidir='${prefix}' 4965 fi; 4966 4967 # Check whether --enable-compat or --disable-compat was given. 5542 fi 5543 5544 5545 # Check whether --enable-compat was given. 4968 5546 if test "${enable_compat+set}" = set; then 4969 enableval="$enable_compat" 4970 compat='yes' 5547 enableval=$enable_compat; compat='yes' 4971 5548 else 4972 5549 compat='no' 4973 fi; 4974 4975 # Check whether --enable-contrib or --disable-contrib was given. 5550 fi 5551 5552 5553 # Check whether --enable-contrib was given. 4976 5554 if test "${enable_contrib+set}" = set; then 4977 enableval= "$enable_contrib"4978 MAKE_CONTRIB='contrib' 4979 fi; 5555 enableval=$enable_contrib; MAKE_CONTRIB='contrib' 5556 fi 5557 4980 5558 4981 5559 test "x$compat" = xno && cat >>confdefs.h <<\_ACEOF … … 5016 5594 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5017 5595 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5018 echo "$as_me:$LINENO: checking for $ac_word" >&55019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5596 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5020 5598 if test "${ac_cv_prog_RANLIB+set}" = set; then 5021 5599 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5030 5608 test -z "$as_dir" && as_dir=. 5031 5609 for ac_exec_ext in '' $ac_executable_extensions; do 5032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5033 5611 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5034 5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5037 5615 done 5038 5616 done 5617 IFS=$as_save_IFS 5039 5618 5040 5619 fi … … 5042 5621 RANLIB=$ac_cv_prog_RANLIB 5043 5622 if test -n "$RANLIB"; then 5044 echo "$as_me:$LINENO: result: $RANLIB" >&5 5045 echo "${ECHO_T}$RANLIB" >&6 5046 else 5047 echo "$as_me:$LINENO: result: no" >&5 5048 echo "${ECHO_T}no" >&6 5049 fi 5623 { echo "$as_me:$LINENO: result: $RANLIB" >&5 5624 echo "${ECHO_T}$RANLIB" >&6; } 5625 else 5626 { echo "$as_me:$LINENO: result: no" >&5 5627 echo "${ECHO_T}no" >&6; } 5628 fi 5629 5050 5630 5051 5631 fi … … 5054 5634 # Extract the first word of "ranlib", so it can be a program name with args. 5055 5635 set dummy ranlib; ac_word=$2 5056 echo "$as_me:$LINENO: checking for $ac_word" >&55057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5058 5638 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5059 5639 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5068 5648 test -z "$as_dir" && as_dir=. 5069 5649 for ac_exec_ext in '' $ac_executable_extensions; do 5070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5071 5651 ac_cv_prog_ac_ct_RANLIB="ranlib" 5072 5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5075 5655 done 5076 5656 done 5077 5078 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 5657 IFS=$as_save_IFS 5658 5079 5659 fi 5080 5660 fi 5081 5661 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5082 5662 if test -n "$ac_ct_RANLIB"; then 5083 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5084 echo "${ECHO_T}$ac_ct_RANLIB" >&6 5085 else 5086 echo "$as_me:$LINENO: result: no" >&5 5087 echo "${ECHO_T}no" >&6 5088 fi 5089 5090 RANLIB=$ac_ct_RANLIB 5663 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5664 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 5665 else 5666 { echo "$as_me:$LINENO: result: no" >&5 5667 echo "${ECHO_T}no" >&6; } 5668 fi 5669 5670 if test "x$ac_ct_RANLIB" = x; then 5671 RANLIB=":" 5672 else 5673 case $cross_compiling:$ac_tool_warned in 5674 yes:) 5675 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5676 whose name does not start with the host triplet. If you think this 5677 configuration is useful to you, please write to autoconf@gnu.org." >&5 5678 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5679 whose name does not start with the host triplet. If you think this 5680 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5681 ac_tool_warned=yes ;; 5682 esac 5683 RANLIB=$ac_ct_RANLIB 5684 fi 5091 5685 else 5092 5686 RANLIB="$ac_cv_prog_RANLIB" … … 5095 5689 # Extract the first word of "ar", so it can be a program name with args. 5096 5690 set dummy ar; ac_word=$2 5097 echo "$as_me:$LINENO: checking for $ac_word" >&55098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5691 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5099 5693 if test "${ac_cv_path_AR+set}" = set; then 5100 5694 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5111 5705 test -z "$as_dir" && as_dir=. 5112 5706 for ac_exec_ext in '' $ac_executable_extensions; do 5113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5114 5708 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" 5115 5709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5118 5712 done 5119 5713 done 5714 IFS=$as_save_IFS 5120 5715 5121 5716 ;; … … 5123 5718 fi 5124 5719 AR=$ac_cv_path_AR 5125 5126 5720 if test -n "$AR"; then 5127 echo "$as_me:$LINENO: result: $AR" >&5 5128 echo "${ECHO_T}$AR" >&6 5129 else 5130 echo "$as_me:$LINENO: result: no" >&5 5131 echo "${ECHO_T}no" >&6 5132 fi 5721 { echo "$as_me:$LINENO: result: $AR" >&5 5722 echo "${ECHO_T}$AR" >&6; } 5723 else 5724 { echo "$as_me:$LINENO: result: no" >&5 5725 echo "${ECHO_T}no" >&6; } 5726 fi 5727 5133 5728 5134 5729 if test "x$AR" = "x:"; then … … 5147 5742 5148 5743 5149 ac_config_files="$ac_config_files Makefile ext/protoFILE/Makefile ext/protoREGEX/Makefile contrib/inwt/Makefile contrib/NativeCalls/Makefile contrib/NewtObjC/Makefile"5744 ac_config_files="$ac_config_files Makefile ext/protoFILE/Makefile ext/protoREGEX/Makefile contrib/inwt/Makefile contrib/NativeCalls/Makefile contrib/NewtObjC/Makefile" 5150 5745 5151 5746 cat >confcache <<\_ACEOF … … 5167 5762 # The following way of writing the cache mishandles newlines in values, 5168 5763 # but we know of no workaround that is simple, portable, and efficient. 5169 # So, don't put newlines in cache variables' values.5764 # So, we kill variables containing newlines. 5170 5765 # Ultrix sh set writes to stderr and can't be redirected directly, 5171 5766 # and sets the high bit in the cache file unless we assign to the vars. 5172 { 5767 ( 5768 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5769 eval ac_val=\$$ac_var 5770 case $ac_val in #( 5771 *${as_nl}*) 5772 case $ac_var in #( 5773 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5774 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5775 esac 5776 case $ac_var in #( 5777 _ | IFS | as_nl) ;; #( 5778 *) $as_unset $ac_var ;; 5779 esac ;; 5780 esac 5781 done 5782 5173 5783 (set) 2>&1 | 5174 case `(ac_space=' '; set | grep ac_space) 2>&1` in5175 * ac_space=\ *)5784 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5785 *${as_nl}ac_space=\ *) 5176 5786 # `set' does not quote correctly, so add quotes (double-quote 5177 5787 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 5179 5789 "s/'/'\\\\''/g; 5180 5790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5181 ;; 5791 ;; #( 5182 5792 *) 5183 5793 # `set' quotes correctly as required by POSIX, so do not add quotes. 5184 sed -n \ 5185 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5186 5795 ;; 5187 esac; 5188 } | 5796 esac | 5797 sort 5798 ) | 5189 5799 sed ' 5800 /^ac_cv_env_/b end 5190 5801 t clear 5191 : clear5802 :clear 5192 5803 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5193 5804 t end 5194 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5195 : end' >>confcache 5196 if diff $cache_file confcache >/dev/null 2>&1; then :; else 5197 if test -w $cache_file; then 5198 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 5805 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5806 :end' >>confcache 5807 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5808 if test -w "$cache_file"; then 5809 test "x$cache_file" != "x/dev/null" && 5810 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 5811 echo "$as_me: updating cache $cache_file" >&6;} 5199 5812 cat confcache >$cache_file 5200 5813 else 5201 echo "not updating unwritable cache $cache_file" 5814 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5815 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5202 5816 fi 5203 5817 fi … … 5207 5821 # Let make expand exec_prefix. 5208 5822 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5209 5210 # VPATH may cause trouble with some makes, so we remove $(srcdir),5211 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and5212 # trailing colons and then remove the whole line if VPATH becomes empty5213 # (actually we leave an empty line to preserve line numbers).5214 if test "x$srcdir" = x.; then5215 ac_vpsub='/^[ ]*VPATH[ ]*=/{5216 s/:*\$(srcdir):*/:/;5217 s/:*\${srcdir}:*/:/;5218 s/:*@srcdir@:*/:/;5219 s/^\([^=]*=[ ]*\):*/\1/;5220 s/:*$//;5221 s/^[^=]*=[ ]*$//;5222 }'5223 fi5224 5823 5225 5824 DEFS=-DHAVE_CONFIG_H … … 5229 5828 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5230 5829 # 1. Remove the extension, and $U if already installed. 5231 ac_i=`echo "$ac_i" | 5232 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5233 # 2. Add them. 5234 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5235 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 5830 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5831 ac_i=`echo "$ac_i" | sed "$ac_script"` 5832 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5833 # will be set to the directory where LIBOBJS objects are built. 5834 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5835 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5236 5836 done 5237 5837 LIBOBJS=$ac_libobjs … … 5264 5864 ## --------------------- ## 5265 5865 5266 # Be Bourne compatible 5866 # Be more Bourne compatible 5867 DUALCASE=1; export DUALCASE # for MKS sh 5267 5868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5268 5869 emulate sh … … 5271 5872 # is contrary to our usage. Disable this feature. 5272 5873 alias -g '${1+"$@"}'='"$@"' 5273 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5274 set -o posix 5275 fi 5276 DUALCASE=1; export DUALCASE # for MKS sh 5277 5278 # Support unset when possible. 5279 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5280 as_unset=unset 5281 else 5282 as_unset=false 5283 fi 5284 5285 5286 # Work around bugs in pre-3.0 UWIN ksh. 5287 $as_unset ENV MAIL MAILPATH 5288 PS1='$ ' 5289 PS2='> ' 5290 PS4='+ ' 5291 5292 # NLS nuisances. 5293 for as_var in \ 5294 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5295 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5296 LC_TELEPHONE LC_TIME 5297 do 5298 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5299 eval $as_var=C; export $as_var 5300 else 5301 $as_unset $as_var 5302 fi 5303 done 5304 5305 # Required to use basename. 5306 if expr a : '\(a\)' >/dev/null 2>&1; then 5307 as_expr=expr 5308 else 5309 as_expr=false 5310 fi 5311 5312 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5313 as_basename=basename 5314 else 5315 as_basename=false 5316 fi 5317 5318 5319 # Name of the executable. 5320 as_me=`$as_basename "$0" || 5321 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5322 X"$0" : 'X\(//\)$' \| \ 5323 X"$0" : 'X\(/\)$' \| \ 5324 . : '\(.\)' 2>/dev/null || 5325 echo X/"$0" | 5326 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5327 /^X\/\(\/\/\)$/{ s//\1/; q; } 5328 /^X\/\(\/\).*/{ s//\1/; q; } 5329 s/.*/./; q'` 5330 5331 5332 # PATH needs CR, and LINENO needs CR and PATH. 5874 setopt NO_GLOB_SUBST 5875 else 5876 case `(set -o) 2>/dev/null` in 5877 *posix*) set -o posix ;; 5878 esac 5879 5880 fi 5881 5882 5883 5884 5885 # PATH needs CR 5333 5886 # Avoid depending upon Character Ranges. 5334 5887 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 5351 5904 fi 5352 5905 5353 5354 as_lineno_1=$LINENO 5355 as_lineno_2=$LINENO 5356 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5357 test "x$as_lineno_1" != "x$as_lineno_2" && 5358 test "x$as_lineno_3" = "x$as_lineno_2" || { 5359 # Find who we are. Look in the path if we contain no path at all 5360 # relative or not. 5361 case $0 in 5362 *[\\/]* ) as_myself=$0 ;; 5363 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5906 # Support unset when possible. 5907 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5908 as_unset=unset 5909 else 5910 as_unset=false 5911 fi 5912 5913 5914 # IFS 5915 # We need space, tab and new line, in precisely that order. Quoting is 5916 # there to prevent editors from complaining about space-tab. 5917 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 5918 # splitting by setting IFS to empty value.) 5919 as_nl=' 5920 ' 5921 IFS=" "" $as_nl" 5922 5923 # Find who we are. Look in the path if we contain no directory separator. 5924 case $0 in 5925 *[\\/]* ) as_myself=$0 ;; 5926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5364 5927 for as_dir in $PATH 5365 5928 do … … 5368 5931 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5369 5932 done 5370 5371 ;; 5372 esac 5373 # We did not find ourselves, most probably we were run as `sh COMMAND' 5374 # in which case we are not to be found in the path. 5375 if test "x$as_myself" = x; then 5376 as_myself=$0 5933 IFS=$as_save_IFS 5934 5935 ;; 5936 esac 5937 # We did not find ourselves, most probably we were run as `sh COMMAND' 5938 # in which case we are not to be found in the path. 5939 if test "x$as_myself" = x; then 5940 as_myself=$0 5941 fi 5942 if test ! -f "$as_myself"; then 5943 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5944 { (exit 1); exit 1; } 5945 fi 5946 5947 # Work around bugs in pre-3.0 UWIN ksh. 5948 for as_var in ENV MAIL MAILPATH 5949 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5950 done 5951 PS1='$ ' 5952 PS2='> ' 5953 PS4='+ ' 5954 5955 # NLS nuisances. 5956 for as_var in \ 5957 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5958 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5959 LC_TELEPHONE LC_TIME 5960 do 5961 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5962 eval $as_var=C; export $as_var 5963 else 5964 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5377 5965 fi 5378 if test ! -f "$as_myself"; then 5379 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5380 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5381 { (exit 1); exit 1; }; } 5382 fi 5383 case $CONFIG_SHELL in 5384 '') 5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5386 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5387 do 5388 IFS=$as_save_IFS 5389 test -z "$as_dir" && as_dir=. 5390 for as_base in sh bash ksh sh5; do 5391 case $as_dir in 5392 /*) 5393 if ("$as_dir/$as_base" -c ' 5966 done 5967 5968 # Required to use basename. 5969 if expr a : '\(a\)' >/dev/null 2>&1 && 5970 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5971 as_expr=expr 5972 else 5973 as_expr=false 5974 fi 5975 5976 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5977 as_basename=basename 5978 else 5979 as_basename=false 5980 fi 5981 5982 5983 # Name of the executable. 5984 as_me=`$as_basename -- "$0" || 5985 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5986 X"$0" : 'X\(//\)$' \| \ 5987 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5988 echo X/"$0" | 5989 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5990 s//\1/ 5991 q 5992 } 5993 /^X\/\(\/\/\)$/{ 5994 s//\1/ 5995 q 5996 } 5997 /^X\/\(\/\).*/{ 5998 s//\1/ 5999 q 6000 } 6001 s/.*/./; q'` 6002 6003 # CDPATH. 6004 $as_unset CDPATH 6005 6006 6007 5394 6008 as_lineno_1=$LINENO 5395 6009 as_lineno_2=$LINENO 5396 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`5397 6010 test "x$as_lineno_1" != "x$as_lineno_2" && 5398 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5399 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5400 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5401 CONFIG_SHELL=$as_dir/$as_base 5402 export CONFIG_SHELL 5403 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5404 fi;; 5405 esac 5406 done 5407 done 5408 ;; 5409 esac 6011 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5410 6012 5411 6013 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5412 6014 # uniformly replaced by the line number. The first 'sed' inserts a 5413 # line-number line before each line; the second 'sed' does the real 5414 # work. The second script uses 'N' to pair each line-number line 5415 # with the numbered line, and appends trailing '-' during 5416 # substitution so that $LINENO is not a special case at line end. 6015 # line-number line after each line using $LINENO; the second 'sed' 6016 # does the real work. The second script uses 'N' to pair each 6017 # line-number line with the line containing $LINENO, and appends 6018 # trailing '-' during substitution so that $LINENO is not a special 6019 # case at line end. 5417 6020 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5418 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5419 sed '=' <$as_myself | 6021 # scripts with optimization help from Paolo Bonzini. Blame Lee 6022 # E. McMahon (1931-1989) for sed's syntax. :-) 6023 sed -n ' 6024 p 6025 /[$]LINENO/= 6026 ' <$as_myself | 5420 6027 sed ' 6028 s/[$]LINENO.*/&-/ 6029 t lineno 6030 b 6031 :lineno 5421 6032 N 5422 s,$,-, 5423 : loop 5424 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6033 :loop 6034 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5425 6035 t loop 5426 s,-$,, 5427 s,^['$as_cr_digits']*\n,, 6036 s/-\n.*// 5428 6037 ' >$as_me.lineno && 5429 chmod +x $as_me.lineno || 5430 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5431 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6038 chmod +x "$as_me.lineno" || 6039 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5432 6040 { (exit 1); exit 1; }; } 5433 6041 5434 6042 # Don't try to exec as it changes $[0], causing all sort of problems 5435 6043 # (the dirname of $[0] is not the place where we might find the 5436 # original and so on. Autoconf is especially sensi ble to this).5437 . ./$as_me.lineno6044 # original and so on. Autoconf is especially sensitive to this). 6045 . "./$as_me.lineno" 5438 6046 # Exit status is that of the last command. 5439 6047 exit … … 5441 6049 5442 6050 5443 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5444 *c*,-n*) ECHO_N= ECHO_C=' 5445 ' ECHO_T=' ' ;; 5446 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5447 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5448 esac 5449 5450 if expr a : '\(a\)' >/dev/null 2>&1; then 6051 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6052 as_dirname=dirname 6053 else 6054 as_dirname=false 6055 fi 6056 6057 ECHO_C= ECHO_N= ECHO_T= 6058 case `echo -n x` in 6059 -n*) 6060 case `echo 'x\c'` in 6061 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6062 *) ECHO_C='\c';; 6063 esac;; 6064 *) 6065 ECHO_N='-n';; 6066 esac 6067 6068 if expr a : '\(a\)' >/dev/null 2>&1 && 6069 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5451 6070 as_expr=expr 5452 6071 else … … 5455 6074 5456 6075 rm -f conf$$ conf$$.exe conf$$.file 6076 if test -d conf$$.dir; then 6077 rm -f conf$$.dir/conf$$.file 6078 else 6079 rm -f conf$$.dir 6080 mkdir conf$$.dir 6081 fi 5457 6082 echo >conf$$.file 5458 6083 if ln -s conf$$.file conf$$ 2>/dev/null; then 5459 # We could just check for DJGPP; but this test a) works b) is more generic 5460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5461 if test -f conf$$.exe; then 5462 # Don't use ln at all; we don't have any links 6084 as_ln_s='ln -s' 6085 # ... but there are two gotchas: 6086 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6087 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6088 # In both cases, we have to default to `cp -p'. 6089 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5463 6090 as_ln_s='cp -p' 5464 else5465 as_ln_s='ln -s'5466 fi5467 6091 elif ln conf$$.file conf$$ 2>/dev/null; then 5468 6092 as_ln_s=ln … … 5470 6094 as_ln_s='cp -p' 5471 6095 fi 5472 rm -f conf$$ conf$$.exe conf$$.file 6096 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6097 rmdir conf$$.dir 2>/dev/null 5473 6098 5474 6099 if mkdir -p . 2>/dev/null; then … … 5479 6104 fi 5480 6105 5481 as_executable_p="test -f" 6106 if test -x / >/dev/null 2>&1; then 6107 as_test_x='test -x' 6108 else 6109 if ls -dL / >/dev/null 2>&1; then 6110 as_ls_L_option=L 6111 else 6112 as_ls_L_option= 6113 fi 6114 as_test_x=' 6115 eval sh -c '\'' 6116 if test -d "$1"; then 6117 test -d "$1/."; 6118 else 6119 case $1 in 6120 -*)set "./$1";; 6121 esac; 6122 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6123 ???[sx]*):;;*)false;;esac;fi 6124 '\'' sh 6125 ' 6126 fi 6127 as_executable_p=$as_test_x 5482 6128 5483 6129 # Sed expression to map a string onto a valid CPP name. … … 5488 6134 5489 6135 5490 # IFS5491 # We need space, tab and new line, in precisely that order.5492 as_nl='5493 '5494 IFS=" $as_nl"5495 5496 # CDPATH.5497 $as_unset CDPATH5498 5499 6136 exec 6>&1 5500 6137 5501 # Open the log real soon, to keep \$[0] and so on meaningful, and to6138 # Save the log message, to keep $[0] and so on meaningful, and to 5502 6139 # report actual input values of CONFIG_FILES etc. instead of their 5503 # values after options handling. Logging --version etc. is OK. 5504 exec 5>>config.log 5505 { 5506 echo 5507 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5508 ## Running $as_me. ## 5509 _ASBOX 5510 } >&5 5511 cat >&5 <<_CSEOF 5512 6140 # values after options handling. 6141 ac_log=" 5513 6142 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was 5514 generated by GNU Autoconf 2. 59. Invocation command line was6143 generated by GNU Autoconf 2.61. Invocation command line was 5515 6144 5516 6145 CONFIG_FILES = $CONFIG_FILES … … 5520 6149 $ $0 $@ 5521 6150 5522 _CSEOF 5523 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5524 echo >&5 5525 _ACEOF 5526 6151 on `(hostname || uname -n) 2>/dev/null | sed 1q` 6152 " 6153 6154 _ACEOF 6155 6156 cat >>$CONFIG_STATUS <<_ACEOF 5527 6157 # Files that config.status was made for. 5528 if test -n "$ac_config_files"; then 5529 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5530 fi 5531 5532 if test -n "$ac_config_headers"; then 5533 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5534 fi 5535 5536 if test -n "$ac_config_links"; then 5537 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5538 fi 5539 5540 if test -n "$ac_config_commands"; then 5541 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5542 fi 6158 config_files="$ac_config_files" 6159 config_headers="$ac_config_headers" 6160 6161 _ACEOF 5543 6162 5544 6163 cat >>$CONFIG_STATUS <<\_ACEOF 5545 5546 6164 ac_cs_usage="\ 5547 6165 \`$as_me' instantiates files from templates according to the … … 5551 6169 5552 6170 -h, --help print this help, then exit 5553 -V, --version print version number , then exit6171 -V, --version print version number and configuration settings, then exit 5554 6172 -q, --quiet do not print progress messages 5555 6173 -d, --debug don't remove temporary files … … 5567 6185 5568 6186 Report bugs to <bug-autoconf@gnu.org>." 5569 _ACEOF 5570 6187 6188 _ACEOF 5571 6189 cat >>$CONFIG_STATUS <<_ACEOF 5572 6190 ac_cs_version="\\ 5573 6191 FULL-PACKAGE-NAME config.status VERSION 5574 configured by $0, generated by GNU Autoconf 2. 59,5575 with options \\"`echo "$ac_configure_args" | sed 's/ [\\""\`\$]/\\\\&/g'`\\"5576 5577 Copyright (C) 200 3Free Software Foundation, Inc.6192 configured by $0, generated by GNU Autoconf 2.61, 6193 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6194 6195 Copyright (C) 2006 Free Software Foundation, Inc. 5578 6196 This config.status script is free software; the Free Software Foundation 5579 6197 gives unlimited permission to copy, distribute and modify it." 5580 srcdir=$srcdir 6198 6199 ac_pwd='$ac_pwd' 6200 srcdir='$srcdir' 5581 6201 _ACEOF 5582 6202 … … 5589 6209 case $1 in 5590 6210 --*=*) 5591 ac_option=`expr " x$1" : 'x\([^=]*\)='`5592 ac_optarg=`expr " x$1" : 'x[^=]*=\(.*\)'`6211 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6212 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5593 6213 ac_shift=: 5594 6214 ;; 5595 -*)6215 *) 5596 6216 ac_option=$1 5597 6217 ac_optarg=$2 5598 6218 ac_shift=shift 5599 6219 ;; 5600 *) # This is not an option, so the user has probably given explicit5601 # arguments.5602 ac_option=$15603 ac_need_defaults=false;;5604 6220 esac 5605 6221 5606 6222 case $ac_option in 5607 6223 # Handling of the options. 5608 _ACEOF5609 cat >>$CONFIG_STATUS <<\_ACEOF5610 6224 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5611 6225 ac_cs_recheck=: ;; 5612 --version | --vers* | -V ) 5613 echo "$ac_cs_version"; exit 0 ;; 5614 --he | --h) 5615 # Conflict between --help and --header 5616 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5617 Try \`$0 --help' for more information." >&5 5618 echo "$as_me: error: ambiguous option: $1 5619 Try \`$0 --help' for more information." >&2;} 5620 { (exit 1); exit 1; }; };; 5621 --help | --hel | -h ) 5622 echo "$ac_cs_usage"; exit 0 ;; 5623 --debug | --d* | -d ) 6226 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6227 echo "$ac_cs_version"; exit ;; 6228 --debug | --debu | --deb | --de | --d | -d ) 5624 6229 debug=: ;; 5625 6230 --file | --fil | --fi | --f ) … … 5631 6236 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5632 6237 ac_need_defaults=false;; 6238 --he | --h) 6239 # Conflict between --help and --header 6240 { echo "$as_me: error: ambiguous option: $1 6241 Try \`$0 --help' for more information." >&2 6242 { (exit 1); exit 1; }; };; 6243 --help | --hel | -h ) 6244 echo "$ac_cs_usage"; exit ;; 5633 6245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5634 6246 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 5636 6248 5637 6249 # This is an error. 5638 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5639 Try \`$0 --help' for more information." >&5 5640 echo "$as_me: error: unrecognized option: $1 5641 Try \`$0 --help' for more information." >&2;} 6250 -*) { echo "$as_me: error: unrecognized option: $1 6251 Try \`$0 --help' for more information." >&2 5642 6252 { (exit 1); exit 1; }; } ;; 5643 6253 5644 *) ac_config_targets="$ac_config_targets $1" ;; 6254 *) ac_config_targets="$ac_config_targets $1" 6255 ac_need_defaults=false ;; 5645 6256 5646 6257 esac … … 5658 6269 cat >>$CONFIG_STATUS <<_ACEOF 5659 6270 if \$ac_cs_recheck; then 5660 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5661 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5662 fi 5663 5664 _ACEOF 5665 5666 5667 5668 5669 6271 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6272 CONFIG_SHELL=$SHELL 6273 export CONFIG_SHELL 6274 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6275 fi 6276 6277 _ACEOF 5670 6278 cat >>$CONFIG_STATUS <<\_ACEOF 6279 exec 5>>config.log 6280 { 6281 echo 6282 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6283 ## Running $as_me. ## 6284 _ASBOX 6285 echo "$ac_log" 6286 } >&5 6287 6288 _ACEOF 6289 cat >>$CONFIG_STATUS <<_ACEOF 6290 _ACEOF 6291 6292 cat >>$CONFIG_STATUS <<\_ACEOF 6293 6294 # Handling of arguments. 5671 6295 for ac_config_target in $ac_config_targets 5672 6296 do 5673 case "$ac_config_target"in5674 # Handling of arguments.5675 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;5676 "ext/protoFILE/Makefile" ) CONFIG_FILES="$CONFIG_FILES ext/protoFILE/Makefile" ;;5677 "ext/protoREGEX/Makefile" ) CONFIG_FILES="$CONFIG_FILES ext/protoREGEX/Makefile" ;;5678 "contrib/inwt/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/inwt/Makefile" ;;5679 "contrib/NativeCalls/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/NativeCalls/Makefile" ;;5680 "contrib/NewtObjC/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/NewtObjC/Makefile" ;;5681 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;5682 "src/newt_core/incs/NewtConf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/newt_core/incs/NewtConf.h" ;; 6297 case $ac_config_target in 6298 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 6299 "src/newt_core/incs/NewtConf.h") CONFIG_HEADERS="$CONFIG_HEADERS src/newt_core/incs/NewtConf.h" ;; 6300 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6301 "ext/protoFILE/Makefile") CONFIG_FILES="$CONFIG_FILES ext/protoFILE/Makefile" ;; 6302 "ext/protoREGEX/Makefile") CONFIG_FILES="$CONFIG_FILES ext/protoREGEX/Makefile" ;; 6303 "contrib/inwt/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/inwt/Makefile" ;; 6304 "contrib/NativeCalls/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/NativeCalls/Makefile" ;; 6305 "contrib/NewtObjC/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/NewtObjC/Makefile" ;; 6306 5683 6307 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5684 6308 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 5686 6310 esac 5687 6311 done 6312 5688 6313 5689 6314 # If the user did not use the arguments to specify the items to instantiate, … … 5697 6322 5698 6323 # Have a temporary directory for convenience. Make it in the build tree 5699 # simply because there is no reason to putit here, and in addition,6324 # simply because there is no reason against having it here, and in addition, 5700 6325 # creating and moving files from /tmp can sometimes cause problems. 5701 # Create a temporary directory, and hook for its removal unless debugging. 6326 # Hook for its removal unless debugging. 6327 # Note that there is a small window in which the directory will not be cleaned: 6328 # after its creation but before its name has been assigned to `$tmp'. 5702 6329 $debug || 5703 6330 { 5704 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 6331 tmp= 6332 trap 'exit_status=$? 6333 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6334 ' 0 5705 6335 trap '{ (exit 1); exit 1; }' 1 2 13 15 5706 6336 } 5707 5708 6337 # Create a (secure) tmp directory for tmp files. 5709 6338 5710 6339 { 5711 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&6340 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5712 6341 test -n "$tmp" && test -d "$tmp" 5713 6342 } || 5714 6343 { 5715 tmp=./conf stat$$-$RANDOM5716 (umask 077 && mkdir $tmp)6344 tmp=./conf$$-$RANDOM 6345 (umask 077 && mkdir "$tmp") 5717 6346 } || 5718 6347 { … … 5721 6350 } 5722 6351 5723 _ACEOF5724 5725 cat >>$CONFIG_STATUS <<_ACEOF5726 5727 6352 # 5728 # CONFIG_FILES section.6353 # Set up the sed scripts for CONFIG_FILES section. 5729 6354 # 5730 6355 5731 6356 # No need to generate the scripts if there are no CONFIG_FILES. 5732 6357 # This happens for instance when ./config.status config.h 5733 if test -n "\$CONFIG_FILES"; then 5734 # Protect against being on the right side of a sed subst in config.status. 5735 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5736 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5737 s,@SHELL@,$SHELL,;t t 5738 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5739 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5740 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5741 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5742 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5743 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5744 s,@exec_prefix@,$exec_prefix,;t t 5745 s,@prefix@,$prefix,;t t 5746 s,@program_transform_name@,$program_transform_name,;t t 5747 s,@bindir@,$bindir,;t t 5748 s,@sbindir@,$sbindir,;t t 5749 s,@libexecdir@,$libexecdir,;t t 5750 s,@datadir@,$datadir,;t t 5751 s,@sysconfdir@,$sysconfdir,;t t 5752 s,@sharedstatedir@,$sharedstatedir,;t t 5753 s,@localstatedir@,$localstatedir,;t t 5754 s,@libdir@,$libdir,;t t 5755 s,@includedir@,$includedir,;t t 5756 s,@oldincludedir@,$oldincludedir,;t t 5757 s,@infodir@,$infodir,;t t 5758 s,@mandir@,$mandir,;t t 5759 s,@build_alias@,$build_alias,;t t 5760 s,@host_alias@,$host_alias,;t t 5761 s,@target_alias@,$target_alias,;t t 5762 s,@DEFS@,$DEFS,;t t 5763 s,@ECHO_C@,$ECHO_C,;t t 5764 s,@ECHO_N@,$ECHO_N,;t t 5765 s,@ECHO_T@,$ECHO_T,;t t 5766 s,@LIBS@,$LIBS,;t t 5767 s,@CC@,$CC,;t t 5768 s,@CFLAGS@,$CFLAGS,;t t 5769 s,@LDFLAGS@,$LDFLAGS,;t t 5770 s,@CPPFLAGS@,$CPPFLAGS,;t t 5771 s,@ac_ct_CC@,$ac_ct_CC,;t t 5772 s,@EXEEXT@,$EXEEXT,;t t 5773 s,@OBJEXT@,$OBJEXT,;t t 5774 s,@YACC@,$YACC,;t t 5775 s,@LEX@,$LEX,;t t 5776 s,@LEXLIB@,$LEXLIB,;t t 5777 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 5778 s,@AR@,$AR,;t t 5779 s,@ac_ct_AR@,$ac_ct_AR,;t t 5780 s,@RANLIB@,$RANLIB,;t t 5781 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 5782 s,@build@,$build,;t t 5783 s,@build_cpu@,$build_cpu,;t t 5784 s,@build_vendor@,$build_vendor,;t t 5785 s,@build_os@,$build_os,;t t 5786 s,@host@,$host,;t t 5787 s,@host_cpu@,$host_cpu,;t t 5788 s,@host_vendor@,$host_vendor,;t t 5789 s,@host_os@,$host_os,;t t 5790 s,@target@,$target,;t t 5791 s,@target_cpu@,$target_cpu,;t t 5792 s,@target_vendor@,$target_vendor,;t t 5793 s,@target_os@,$target_os,;t t 5794 s,@CPP@,$CPP,;t t 5795 s,@EGREP@,$EGREP,;t t 5796 s,@LIBOBJS@,$LIBOBJS,;t t 5797 s,@NEWT_LDIMPORT@,$NEWT_LDIMPORT,;t t 5798 s,@NEWT_LDFLAGS@,$NEWT_LDFLAGS,;t t 5799 s,@LIBNEWT_LDSHARED@,$LIBNEWT_LDSHARED,;t t 5800 s,@LINK_NEWT_APP_@,$LINK_NEWT_APP_,;t t 5801 s,@DLEXT@,$DLEXT,;t t 5802 s,@MAKE_EXT@,$MAKE_EXT,;t t 5803 s,@MAKE_CONTRIB@,$MAKE_CONTRIB,;t t 5804 s,@BINDIR@,$BINDIR,;t t 5805 s,@sitedir@,$sitedir,;t t 5806 s,@libffidir@,$libffidir,;t t 5807 s,@__NAMED_MAGIC_POINTER__@,$__NAMED_MAGIC_POINTER__,;t t 5808 s,@LIBREGEX@,$LIBREGEX,;t t 5809 s,@LIBCOMMAND@,$LIBCOMMAND,;t t 5810 s,@LIBEXT@,$LIBEXT,;t t 5811 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5812 CEOF 5813 5814 _ACEOF 5815 5816 cat >>$CONFIG_STATUS <<\_ACEOF 5817 # Split the substitutions into bite-sized pieces for seds with 5818 # small command number limits, like on Digital OSF/1 and HP-UX. 5819 ac_max_sed_lines=48 5820 ac_sed_frag=1 # Number of current file. 5821 ac_beg=1 # First line for current file. 5822 ac_end=$ac_max_sed_lines # Line after last line for current file. 5823 ac_more_lines=: 5824 ac_sed_cmds= 5825 while $ac_more_lines; do 5826 if test $ac_beg -gt 1; then 5827 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5828 else 5829 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6358 if test -n "$CONFIG_FILES"; then 6359 6360 _ACEOF 6361 6362 6363 6364 ac_delim='%!_!# ' 6365 for ac_last_try in false false false false false :; do 6366 cat >conf$$subs.sed <<_ACEOF 6367 SHELL!$SHELL$ac_delim 6368 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 6369 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 6370 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 6371 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 6372 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 6373 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 6374 exec_prefix!$exec_prefix$ac_delim 6375 prefix!$prefix$ac_delim 6376 program_transform_name!$program_transform_name$ac_delim 6377 bindir!$bindir$ac_delim 6378 sbindir!$sbindir$ac_delim 6379 libexecdir!$libexecdir$ac_delim 6380 datarootdir!$datarootdir$ac_delim 6381 datadir!$datadir$ac_delim 6382 sysconfdir!$sysconfdir$ac_delim 6383 sharedstatedir!$sharedstatedir$ac_delim 6384 localstatedir!$localstatedir$ac_delim 6385 includedir!$includedir$ac_delim 6386 oldincludedir!$oldincludedir$ac_delim 6387 docdir!$docdir$ac_delim 6388 infodir!$infodir$ac_delim 6389 htmldir!$htmldir$ac_delim 6390 dvidir!$dvidir$ac_delim 6391 pdfdir!$pdfdir$ac_delim 6392 psdir!$psdir$ac_delim 6393 libdir!$libdir$ac_delim 6394 localedir!$localedir$ac_delim 6395 mandir!$mandir$ac_delim 6396 DEFS!$DEFS$ac_delim 6397 ECHO_C!$ECHO_C$ac_delim 6398 ECHO_N!$ECHO_N$ac_delim 6399 ECHO_T!$ECHO_T$ac_delim 6400 LIBS!$LIBS$ac_delim 6401 build_alias!$build_alias$ac_delim 6402 host_alias!$host_alias$ac_delim 6403 target_alias!$target_alias$ac_delim 6404 CC!$CC$ac_delim 6405 CFLAGS!$CFLAGS$ac_delim 6406 LDFLAGS!$LDFLAGS$ac_delim 6407 CPPFLAGS!$CPPFLAGS$ac_delim 6408 ac_ct_CC!$ac_ct_CC$ac_delim 6409 EXEEXT!$EXEEXT$ac_delim 6410 OBJEXT!$OBJEXT$ac_delim 6411 YACC!$YACC$ac_delim 6412 YFLAGS!$YFLAGS$ac_delim 6413 LEX!$LEX$ac_delim 6414 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim 6415 LEXLIB!$LEXLIB$ac_delim 6416 AR!$AR$ac_delim 6417 RANLIB!$RANLIB$ac_delim 6418 build!$build$ac_delim 6419 build_cpu!$build_cpu$ac_delim 6420 build_vendor!$build_vendor$ac_delim 6421 build_os!$build_os$ac_delim 6422 host!$host$ac_delim 6423 host_cpu!$host_cpu$ac_delim 6424 host_vendor!$host_vendor$ac_delim 6425 host_os!$host_os$ac_delim 6426 target!$target$ac_delim 6427 target_cpu!$target_cpu$ac_delim 6428 target_vendor!$target_vendor$ac_delim 6429 target_os!$target_os$ac_delim 6430 CPP!$CPP$ac_delim 6431 GREP!$GREP$ac_delim 6432 EGREP!$EGREP$ac_delim 6433 LIBOBJS!$LIBOBJS$ac_delim 6434 NEWT_LDIMPORT!$NEWT_LDIMPORT$ac_delim 6435 NEWT_LDFLAGS!$NEWT_LDFLAGS$ac_delim 6436 LIBNEWT_LDSHARED!$LIBNEWT_LDSHARED$ac_delim 6437 LINK_NEWT_APP_!$LINK_NEWT_APP_$ac_delim 6438 DLEXT!$DLEXT$ac_delim 6439 MAKE_EXT!$MAKE_EXT$ac_delim 6440 MAKE_CONTRIB!$MAKE_CONTRIB$ac_delim 6441 BINDIR!$BINDIR$ac_delim 6442 sitedir!$sitedir$ac_delim 6443 libffidir!$libffidir$ac_delim 6444 __NAMED_MAGIC_POINTER__!$__NAMED_MAGIC_POINTER__$ac_delim 6445 LIBREGEX!$LIBREGEX$ac_delim 6446 LIBCOMMAND!$LIBCOMMAND$ac_delim 6447 LIBEXT!$LIBEXT$ac_delim 6448 LTLIBOBJS!$LTLIBOBJS$ac_delim 6449 _ACEOF 6450 6451 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then 6452 break 6453 elif $ac_last_try; then 6454 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6455 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6456 { (exit 1); exit 1; }; } 6457 else 6458 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6459 fi 6460 done 6461 6462 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 6463 if test -n "$ac_eof"; then 6464 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 6465 ac_eof=`expr $ac_eof + 1` 6466 fi 6467 6468 cat >>$CONFIG_STATUS <<_ACEOF 6469 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 6470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 6471 _ACEOF 6472 sed ' 6473 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 6474 s/^/s,@/; s/!/@,|#_!!_#|/ 6475 :n 6476 t n 6477 s/'"$ac_delim"'$/,g/; t 6478 s/$/\\/; p 6479 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 6480 ' >>$CONFIG_STATUS <conf$$subs.sed 6481 rm -f conf$$subs.sed 6482 cat >>$CONFIG_STATUS <<_ACEOF 6483 :end 6484 s/|#_!!_#|//g 6485 CEOF$ac_eof 6486 _ACEOF 6487 6488 6489 # VPATH may cause trouble with some makes, so we remove $(srcdir), 6490 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6491 # trailing colons and then remove the whole line if VPATH becomes empty 6492 # (actually we leave an empty line to preserve line numbers). 6493 if test "x$srcdir" = x.; then 6494 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6495 s/:*\$(srcdir):*/:/ 6496 s/:*\${srcdir}:*/:/ 6497 s/:*@srcdir@:*/:/ 6498 s/^\([^=]*=[ ]*\):*/\1/ 6499 s/:*$// 6500 s/^[^=]*=[ ]*$// 6501 }' 6502 fi 6503 6504 cat >>$CONFIG_STATUS <<\_ACEOF 6505 fi # test -n "$CONFIG_FILES" 6506 6507 6508 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 6509 do 6510 case $ac_tag in 6511 :[FHLC]) ac_mode=$ac_tag; continue;; 6512 esac 6513 case $ac_mode$ac_tag in 6514 :[FHL]*:*);; 6515 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 6516 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 6517 { (exit 1); exit 1; }; };; 6518 :[FH]-) ac_tag=-:-;; 6519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6520 esac 6521 ac_save_IFS=$IFS 6522 IFS=: 6523 set x $ac_tag 6524 IFS=$ac_save_IFS 6525 shift 6526 ac_file=$1 6527 shift 6528 6529 case $ac_mode in 6530 :L) ac_source=$1;; 6531 :[FH]) 6532 ac_file_inputs= 6533 for ac_f 6534 do 6535 case $ac_f in 6536 -) ac_f="$tmp/stdin";; 6537 *) # Look for the file first in the build tree, then in the source tree 6538 # (if the path is not absolute). The absolute path cannot be DOS-style, 6539 # because $ac_f cannot contain `:'. 6540 test -f "$ac_f" || 6541 case $ac_f in 6542 [\\/$]*) false;; 6543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6544 esac || 6545 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6546 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 6547 { (exit 1); exit 1; }; };; 6548 esac 6549 ac_file_inputs="$ac_file_inputs $ac_f" 6550 done 6551 6552 # Let's still pretend it is `configure' which instantiates (i.e., don't 6553 # use $as_me), people would be surprised to read: 6554 # /* config.h. Generated by config.status. */ 6555 configure_input="Generated from "`IFS=: 6556 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 6557 if test x"$ac_file" != x-; then 6558 configure_input="$ac_file. $configure_input" 6559 { echo "$as_me:$LINENO: creating $ac_file" >&5 6560 echo "$as_me: creating $ac_file" >&6;} 5830 6561 fi 5831 if test ! -s $tmp/subs.frag; then 5832 ac_more_lines=false 5833 else 5834 # The purpose of the label and of the branching condition is to 5835 # speed up the sed processing (if there are no `@' at all, there 5836 # is no need to browse any of the substitutions). 5837 # These are the two extra sed commands mentioned above. 5838 (echo ':t 5839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5840 if test -z "$ac_sed_cmds"; then 5841 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5842 else 5843 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5844 fi 5845 ac_sed_frag=`expr $ac_sed_frag + 1` 5846 ac_beg=$ac_end 5847 ac_end=`expr $ac_end + $ac_max_sed_lines` 5848 fi 5849 done 5850 if test -z "$ac_sed_cmds"; then 5851 ac_sed_cmds=cat 5852 fi 5853 fi # test -n "$CONFIG_FILES" 5854 5855 _ACEOF 5856 cat >>$CONFIG_STATUS <<\_ACEOF 5857 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5858 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5859 case $ac_file in 5860 - | *:- | *:-:* ) # input from stdin 5861 cat >$tmp/stdin 5862 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5863 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5864 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5865 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5866 * ) ac_file_in=$ac_file.in ;; 6562 6563 case $ac_tag in 6564 *:-:* | *:-) cat >"$tmp/stdin";; 6565 esac 6566 ;; 5867 6567 esac 5868 6568 5869 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5870 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6569 ac_dir=`$as_dirname -- "$ac_file" || 5871 6570 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5872 6571 X"$ac_file" : 'X\(//\)[^/]' \| \ 5873 6572 X"$ac_file" : 'X\(//\)$' \| \ 5874 X"$ac_file" : 'X\(/\)' \| \ 5875 . : '\(.\)' 2>/dev/null || 6573 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5876 6574 echo X"$ac_file" | 5877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5878 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5879 /^X\(\/\/\)$/{ s//\1/; q; } 5880 /^X\(\/\).*/{ s//\1/; q; } 5881 s/.*/./; q'` 5882 { if $as_mkdir_p; then 5883 mkdir -p "$ac_dir" 5884 else 5885 as_dir="$ac_dir" 6575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6576 s//\1/ 6577 q 6578 } 6579 /^X\(\/\/\)[^/].*/{ 6580 s//\1/ 6581 q 6582 } 6583 /^X\(\/\/\)$/{ 6584 s//\1/ 6585 q 6586 } 6587 /^X\(\/\).*/{ 6588 s//\1/ 6589 q 6590 } 6591 s/.*/./; q'` 6592 { as_dir="$ac_dir" 6593 case $as_dir in #( 6594 -*) as_dir=./$as_dir;; 6595 esac 6596 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5886 6597 as_dirs= 5887 while test ! -d "$as_dir"; do 5888 as_dirs="$as_dir $as_dirs" 5889 as_dir=`(dirname "$as_dir") 2>/dev/null || 6598 while :; do 6599 case $as_dir in #( 6600 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 6601 *) as_qdir=$as_dir;; 6602 esac 6603 as_dirs="'$as_qdir' $as_dirs" 6604 as_dir=`$as_dirname -- "$as_dir" || 5890 6605 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5891 6606 X"$as_dir" : 'X\(//\)[^/]' \| \ 5892 6607 X"$as_dir" : 'X\(//\)$' \| \ 5893 X"$as_dir" : 'X\(/\)' \| \ 5894 . : '\(.\)' 2>/dev/null || 6608 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5895 6609 echo X"$as_dir" | 5896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5897 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5898 /^X\(\/\/\)$/{ s//\1/; q; } 5899 /^X\(\/\).*/{ s//\1/; q; } 5900 s/.*/./; q'` 6610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6611 s//\1/ 6612 q 6613 } 6614 /^X\(\/\/\)[^/].*/{ 6615 s//\1/ 6616 q 6617 } 6618 /^X\(\/\/\)$/{ 6619 s//\1/ 6620 q 6621 } 6622 /^X\(\/\).*/{ 6623 s//\1/ 6624 q 6625 } 6626 s/.*/./; q'` 6627 test -d "$as_dir" && break 5901 6628 done 5902 test ! -n "$as_dirs" || mkdir $as_dirs5903 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&55904 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}6629 test -z "$as_dirs" || eval "mkdir $as_dirs" 6630 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6631 echo "$as_me: error: cannot create directory $as_dir" >&2;} 5905 6632 { (exit 1); exit 1; }; }; } 5906 5907 6633 ac_builddir=. 5908 6634 5909 if test "$ac_dir" != .; then 6635 case "$ac_dir" in 6636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6637 *) 5910 6638 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5911 # A "../" for each directory in $ac_dir_suffix. 5912 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5913 else 5914 ac_dir_suffix= ac_top_builddir= 5915 fi 6639 # A ".." for each directory in $ac_dir_suffix. 6640 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 6641 case $ac_top_builddir_sub in 6642 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6643 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6644 esac ;; 6645 esac 6646 ac_abs_top_builddir=$ac_pwd 6647 ac_abs_builddir=$ac_pwd$ac_dir_suffix 6648 # for backward compatibility: 6649 ac_top_builddir=$ac_top_build_prefix 5916 6650 5917 6651 case $srcdir in 5918 .) # No --srcdir option.We are building in place.6652 .) # We are building in place. 5919 6653 ac_srcdir=. 5920 if test -z "$ac_top_builddir"; then 5921 ac_top_srcdir=. 5922 else 5923 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5924 fi ;; 5925 [\\/]* | ?:[\\/]* ) # Absolute path. 6654 ac_top_srcdir=$ac_top_builddir_sub 6655 ac_abs_top_srcdir=$ac_pwd ;; 6656 [\\/]* | ?:[\\/]* ) # Absolute name. 5926 6657 ac_srcdir=$srcdir$ac_dir_suffix; 5927 ac_top_srcdir=$srcdir ;; 5928 *) # Relative path. 5929 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5930 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5931 esac 5932 5933 # Do not use `cd foo && pwd` to compute absolute paths, because 5934 # the directories may not exist. 5935 case `pwd` in 5936 .) ac_abs_builddir="$ac_dir";; 5937 *) 5938 case "$ac_dir" in 5939 .) ac_abs_builddir=`pwd`;; 5940 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5941 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5942 esac;; 5943 esac 5944 case $ac_abs_builddir in 5945 .) ac_abs_top_builddir=${ac_top_builddir}.;; 5946 *) 5947 case ${ac_top_builddir}. in 5948 .) ac_abs_top_builddir=$ac_abs_builddir;; 5949 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5950 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5951 esac;; 5952 esac 5953 case $ac_abs_builddir in 5954 .) ac_abs_srcdir=$ac_srcdir;; 5955 *) 5956 case $ac_srcdir in 5957 .) ac_abs_srcdir=$ac_abs_builddir;; 5958 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5959 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5960 esac;; 5961 esac 5962 case $ac_abs_builddir in 5963 .) ac_abs_top_srcdir=$ac_top_srcdir;; 5964 *) 5965 case $ac_top_srcdir in 5966 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5967 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5968 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5969 esac;; 5970 esac 5971 5972 5973 5974 if test x"$ac_file" != x-; then 5975 { echo "$as_me:$LINENO: creating $ac_file" >&5 5976 echo "$as_me: creating $ac_file" >&6;} 5977 rm -f "$ac_file" 5978 fi 5979 # Let's still pretend it is `configure' which instantiates (i.e., don't 5980 # use $as_me), people would be surprised to read: 5981 # /* config.h. Generated by config.status. */ 5982 if test x"$ac_file" = x-; then 5983 configure_input= 5984 else 5985 configure_input="$ac_file. " 5986 fi 5987 configure_input=$configure_input"Generated from `echo $ac_file_in | 5988 sed 's,.*/,,'` by configure." 5989 5990 # First look for the input files in the build tree, otherwise in the 5991 # src tree. 5992 ac_file_inputs=`IFS=: 5993 for f in $ac_file_in; do 5994 case $f in 5995 -) echo $tmp/stdin ;; 5996 [\\/$]*) 5997 # Absolute (can't be DOS-style, as IFS=:) 5998 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5999 echo "$as_me: error: cannot find input file: $f" >&2;} 6000 { (exit 1); exit 1; }; } 6001 echo "$f";; 6002 *) # Relative 6003 if test -f "$f"; then 6004 # Build tree 6005 echo "$f" 6006 elif test -f "$srcdir/$f"; then 6007 # Source tree 6008 echo "$srcdir/$f" 6009 else 6010 # /dev/null tree 6011 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6012 echo "$as_me: error: cannot find input file: $f" >&2;} 6013 { (exit 1); exit 1; }; } 6014 fi;; 6015 esac 6016 done` || { (exit 1); exit 1; } 6017 _ACEOF 6658 ac_top_srcdir=$srcdir 6659 ac_abs_top_srcdir=$srcdir ;; 6660 *) # Relative name. 6661 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6662 ac_top_srcdir=$ac_top_build_prefix$srcdir 6663 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6664 esac 6665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6666 6667 6668 case $ac_mode in 6669 :F) 6670 # 6671 # CONFIG_FILE 6672 # 6673 6674 _ACEOF 6675 6676 cat >>$CONFIG_STATUS <<\_ACEOF 6677 # If the template does not know about datarootdir, expand it. 6678 # FIXME: This hack should be removed a few years after 2.60. 6679 ac_datarootdir_hack=; ac_datarootdir_seen= 6680 6681 case `sed -n '/datarootdir/ { 6682 p 6683 q 6684 } 6685 /@datadir@/p 6686 /@docdir@/p 6687 /@infodir@/p 6688 /@localedir@/p 6689 /@mandir@/p 6690 ' $ac_file_inputs` in 6691 *datarootdir*) ac_datarootdir_seen=yes;; 6692 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6693 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6694 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6695 _ACEOF 6696 cat >>$CONFIG_STATUS <<_ACEOF 6697 ac_datarootdir_hack=' 6698 s&@datadir@&$datadir&g 6699 s&@docdir@&$docdir&g 6700 s&@infodir@&$infodir&g 6701 s&@localedir@&$localedir&g 6702 s&@mandir@&$mandir&g 6703 s&\\\${datarootdir}&$datarootdir&g' ;; 6704 esac 6705 _ACEOF 6706 6707 # Neutralize VPATH when `$srcdir' = `.'. 6708 # Shell code in configure.ac might set extrasub. 6709 # FIXME: do we really want to maintain this feature? 6018 6710 cat >>$CONFIG_STATUS <<_ACEOF 6019 6711 sed "$ac_vpsub … … 6023 6715 :t 6024 6716 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6025 s,@configure_input@,$configure_input,;t t 6026 s,@srcdir@,$ac_srcdir,;t t 6027 s,@abs_srcdir@,$ac_abs_srcdir,;t t 6028 s,@top_srcdir@,$ac_top_srcdir,;t t 6029 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 6030 s,@builddir@,$ac_builddir,;t t 6031 s,@abs_builddir@,$ac_abs_builddir,;t t 6032 s,@top_builddir@,$ac_top_builddir,;t t 6033 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 6034 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 6035 rm -f $tmp/stdin 6036 if test x"$ac_file" != x-; then 6037 mv $tmp/out $ac_file 6038 else 6039 cat $tmp/out 6040 rm -f $tmp/out 6041 fi 6042 6043 done 6044 _ACEOF 6045 cat >>$CONFIG_STATUS <<\_ACEOF 6046 6047 # 6048 # CONFIG_HEADER section. 6049 # 6050 6051 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 6052 # NAME is the cpp macro being defined and VALUE is the value it is being given. 6053 # 6054 # ac_d sets the value in "#define NAME VALUE" lines. 6055 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 6056 ac_dB='[ ].*$,\1#\2' 6717 s&@configure_input@&$configure_input&;t t 6718 s&@top_builddir@&$ac_top_builddir_sub&;t t 6719 s&@srcdir@&$ac_srcdir&;t t 6720 s&@abs_srcdir@&$ac_abs_srcdir&;t t 6721 s&@top_srcdir@&$ac_top_srcdir&;t t 6722 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6723 s&@builddir@&$ac_builddir&;t t 6724 s&@abs_builddir@&$ac_abs_builddir&;t t 6725 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6726 $ac_datarootdir_hack 6727 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 6728 6729 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6730 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6731 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6732 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6733 which seems to be undefined. Please make sure it is defined." >&5 6734 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6735 which seems to be undefined. Please make sure it is defined." >&2;} 6736 6737 rm -f "$tmp/stdin" 6738 case $ac_file in 6739 -) cat "$tmp/out"; rm -f "$tmp/out";; 6740 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 6741 esac 6742 ;; 6743 :H) 6744 # 6745 # CONFIG_HEADER 6746 # 6747 _ACEOF 6748 6749 # Transform confdefs.h into a sed script `conftest.defines', that 6750 # substitutes the proper values into config.h.in to produce config.h. 6751 rm -f conftest.defines conftest.tail 6752 # First, append a space to every undef/define line, to ease matching. 6753 echo 's/$/ /' >conftest.defines 6754 # Then, protect against being on the right side of a sed subst, or in 6755 # an unquoted here document, in config.status. If some macros were 6756 # called several times there might be several #defines for the same 6757 # symbol, which is useless. But do not sort them, since the last 6758 # AC_DEFINE must be honored. 6759 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6760 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 6761 # NAME is the cpp macro being defined, VALUE is the value it is being given. 6762 # PARAMS is the parameter list in the macro definition--in most cases, it's 6763 # just an empty string. 6764 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 6765 ac_dB='\\)[ (].*,\\1define\\2' 6057 6766 ac_dC=' ' 6058 ac_dD=',;t' 6059 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 6060 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 6061 ac_uB='$,\1#\2define\3' 6062 ac_uC=' ' 6063 ac_uD=',;t' 6064 6065 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 6066 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6067 case $ac_file in 6068 - | *:- | *:-:* ) # input from stdin 6069 cat >$tmp/stdin 6070 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6071 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6072 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6073 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6074 * ) ac_file_in=$ac_file.in ;; 6075 esac 6076 6077 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 6078 echo "$as_me: creating $ac_file" >&6;} 6079 6080 # First look for the input files in the build tree, otherwise in the 6081 # src tree. 6082 ac_file_inputs=`IFS=: 6083 for f in $ac_file_in; do 6084 case $f in 6085 -) echo $tmp/stdin ;; 6086 [\\/$]*) 6087 # Absolute (can't be DOS-style, as IFS=:) 6088 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6089 echo "$as_me: error: cannot find input file: $f" >&2;} 6090 { (exit 1); exit 1; }; } 6091 # Do quote $f, to prevent DOS paths from being IFS'd. 6092 echo "$f";; 6093 *) # Relative 6094 if test -f "$f"; then 6095 # Build tree 6096 echo "$f" 6097 elif test -f "$srcdir/$f"; then 6098 # Source tree 6099 echo "$srcdir/$f" 6100 else 6101 # /dev/null tree 6102 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6103 echo "$as_me: error: cannot find input file: $f" >&2;} 6104 { (exit 1); exit 1; }; } 6105 fi;; 6106 esac 6107 done` || { (exit 1); exit 1; } 6108 # Remove the trailing spaces. 6109 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 6110 6111 _ACEOF 6112 6113 # Transform confdefs.h into two sed scripts, `conftest.defines' and 6114 # `conftest.undefs', that substitutes the proper values into 6115 # config.h.in to produce config.h. The first handles `#define' 6116 # templates, and the second `#undef' templates. 6117 # And first: Protect against being on the right side of a sed subst in 6118 # config.status. Protect against being in an unquoted here document 6119 # in config.status. 6120 rm -f conftest.defines conftest.undefs 6121 # Using a here document instead of a string reduces the quoting nightmare. 6122 # Putting comments in sed scripts is not portable. 6123 # 6124 # `end' is used to avoid that the second main sed command (meant for 6125 # 0-ary CPP macros) applies to n-ary macro definitions. 6126 # See the Autoconf documentation for `clear'. 6127 cat >confdef2sed.sed <<\_ACEOF 6128 s/[\\&,]/\\&/g 6129 s,[\\$`],\\&,g 6130 t clear 6131 : clear 6132 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 6133 t end 6134 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 6135 : end 6136 _ACEOF 6137 # If some macros were called several times there might be several times 6138 # the same #defines, which is useless. Nevertheless, we may not want to 6139 # sort them, since we want the *last* AC-DEFINE to be honored. 6140 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 6141 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 6142 rm -f confdef2sed.sed 6143 6144 # This sed command replaces #undef with comments. This is necessary, for 6767 ac_dD=' ,' 6768 6769 uniq confdefs.h | 6770 sed -n ' 6771 t rset 6772 :rset 6773 s/^[ ]*#[ ]*define[ ][ ]*// 6774 t ok 6775 d 6776 :ok 6777 s/[\\&,]/\\&/g 6778 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 6779 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 6780 ' >>conftest.defines 6781 6782 # Remove the space that was appended to ease matching. 6783 # Then replace #undef with comments. This is necessary, for 6145 6784 # example, in the case of _POSIX_SOURCE, which is predefined and required 6146 6785 # on some systems where configure will not decide to define it. 6147 cat >>conftest.undefs <<\_ACEOF 6148 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 6149 _ACEOF 6150 6151 # Break up conftest.defines because some shells have a limit on the size 6152 # of here documents, and old seds have small limits too (100 cmds). 6153 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 6154 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 6155 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 6156 echo ' :' >>$CONFIG_STATUS 6157 rm -f conftest.tail 6158 while grep . conftest.defines >/dev/null 6786 # (The regexp can be short, since the line contains either #define or #undef.) 6787 echo 's/ $// 6788 s,^[ #]*u.*,/* & */,' >>conftest.defines 6789 6790 # Break up conftest.defines: 6791 ac_max_sed_lines=50 6792 6793 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 6794 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 6795 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 6796 # et cetera. 6797 ac_in='$ac_file_inputs' 6798 ac_out='"$tmp/out1"' 6799 ac_nxt='"$tmp/out2"' 6800 6801 while : 6159 6802 do 6160 # Write a limited-size here document to $tmp/defines.sed. 6161 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 6162 # Speed up: don't consider the non `#define' lines. 6163 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 6164 # Work around the forget-to-reset-the-flag bug. 6165 echo 't clr' >>$CONFIG_STATUS 6166 echo ': clr' >>$CONFIG_STATUS 6167 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 6803 # Write a here document: 6804 cat >>$CONFIG_STATUS <<_ACEOF 6805 # First, check the format of the line: 6806 cat >"\$tmp/defines.sed" <<\\CEOF 6807 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def 6808 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 6809 b 6810 :def 6811 _ACEOF 6812 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 6168 6813 echo 'CEOF 6169 sed -f $tmp/defines.sed $tmp/in >$tmp/out 6170 rm -f $tmp/in 6171 mv $tmp/out $tmp/in 6172 ' >>$CONFIG_STATUS 6173 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 6814 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 6815 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 6816 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 6817 grep . conftest.tail >/dev/null || break 6174 6818 rm -f conftest.defines 6175 6819 mv conftest.tail conftest.defines 6176 6820 done 6177 rm -f conftest.defines 6178 echo ' fi # grep' >>$CONFIG_STATUS 6179 echo >>$CONFIG_STATUS 6180 6181 # Break up conftest.undefs because some shells have a limit on the size 6182 # of here documents, and old seds have small limits too (100 cmds). 6183 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 6184 rm -f conftest.tail 6185 while grep . conftest.undefs >/dev/null 6186 do 6187 # Write a limited-size here document to $tmp/undefs.sed. 6188 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 6189 # Speed up: don't consider the non `#undef' 6190 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 6191 # Work around the forget-to-reset-the-flag bug. 6192 echo 't clr' >>$CONFIG_STATUS 6193 echo ': clr' >>$CONFIG_STATUS 6194 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 6195 echo 'CEOF 6196 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 6197 rm -f $tmp/in 6198 mv $tmp/out $tmp/in 6199 ' >>$CONFIG_STATUS 6200 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 6201 rm -f conftest.undefs 6202 mv conftest.tail conftest.undefs 6203 done 6204 rm -f conftest.undefs 6205 6821 rm -f conftest.defines conftest.tail 6822 6823 echo "ac_result=$ac_in" >>$CONFIG_STATUS 6206 6824 cat >>$CONFIG_STATUS <<\_ACEOF 6207 # Let's still pretend it is `configure' which instantiates (i.e., don't6208 # use $as_me), people would be surprised to read:6209 # /* config.h. Generated by config.status. */6210 if test x"$ac_file" = x-; then6211 echo "/* Generated by configure. */" >$tmp/config.h6212 else6213 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h6214 fi6215 cat $tmp/in >>$tmp/config.h6216 rm -f $tmp/in6217 6825 if test x"$ac_file" != x-; then 6218 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 6826 echo "/* $configure_input */" >"$tmp/config.h" 6827 cat "$ac_result" >>"$tmp/config.h" 6828 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 6219 6829 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6220 6830 echo "$as_me: $ac_file is unchanged" >&6;} 6221 6831 else 6222 ac_dir=`(dirname "$ac_file") 2>/dev/null ||6223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \6224 X"$ac_file" : 'X\(//\)[^/]' \| \6225 X"$ac_file" : 'X\(//\)$' \| \6226 X"$ac_file" : 'X\(/\)' \| \6227 . : '\(.\)' 2>/dev/null ||6228 echo X"$ac_file" |6229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }6230 /^X\(\/\/\)[^/].*/{ s//\1/; q; }6231 /^X\(\/\/\)$/{ s//\1/; q; }6232 /^X\(\/\).*/{ s//\1/; q; }6233 s/.*/./; q'`6234 { if $as_mkdir_p; then6235 mkdir -p "$ac_dir"6236 else6237 as_dir="$ac_dir"6238 as_dirs=6239 while test ! -d "$as_dir"; do6240 as_dirs="$as_dir $as_dirs"6241 as_dir=`(dirname "$as_dir") 2>/dev/null ||6242 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \6243 X"$as_dir" : 'X\(//\)[^/]' \| \6244 X"$as_dir" : 'X\(//\)$' \| \6245 X"$as_dir" : 'X\(/\)' \| \6246 . : '\(.\)' 2>/dev/null ||6247 echo X"$as_dir" |6248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }6249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }6250 /^X\(\/\/\)$/{ s//\1/; q; }6251 /^X\(\/\).*/{ s//\1/; q; }6252 s/.*/./; q'`6253 done6254 test ! -n "$as_dirs" || mkdir $as_dirs6255 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&56256 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}6257 { (exit 1); exit 1; }; }; }6258 6259 6832 rm -f $ac_file 6260 mv $tmp/config.h$ac_file6833 mv "$tmp/config.h" $ac_file 6261 6834 fi 6262 6835 else 6263 cat $tmp/config.h6264 rm -f $tmp/config.h6836 echo "/* $configure_input */" 6837 cat "$ac_result" 6265 6838 fi 6266 done 6267 _ACEOF 6268 6269 cat >>$CONFIG_STATUS <<\_ACEOF 6839 rm -f "$tmp/out12" 6840 ;; 6841 6842 6843 esac 6844 6845 done # for ac_tag 6846 6270 6847 6271 6848 { (exit 0); exit 0; } -
NEWT0/branches/DyneTK/newt_all.xcodeproj/project.pbxproj
r124 r140 103 103 F53ECFCA0A453BED00F079DB /* contrib.xcodeproj */, 104 104 ); 105 indentWidth = 4; 105 106 name = newt; 106 107 sourceTree = "<group>"; 108 tabWidth = 4; 107 109 }; 108 110 F53ECFBC0A453BA900F079DB /* Products */ = { … … 140 142 buildConfigurationList = F541302B096D1DEB00CFD896 /* Build configuration list for PBXProject "newt_all" */; 141 143 compatibilityVersion = "Xcode 2.4"; 144 developmentRegion = English; 142 145 hasScannedForEncodings = 1; 146 knownRegions = ( 147 en, 148 ); 143 149 mainGroup = 08FB7794FE84155DC02AAC07 /* newt */; 144 150 projectDirPath = ""; -
NEWT0/branches/DyneTK/sample/test_all.newt
r1 r140 3 3 4 4 local testFiles := [ 5 {file: "listpkg.newt", newline: true}, 5 6 {file: "easter.newt", newline: true}, 6 7 {file: "fib.newt", success: 17711, newline: true}, -
NEWT0/branches/DyneTK/src/newt.xcodeproj/project.pbxproj
r113 r140 4 4 classes = { 5 5 }; 6 objectVersion = 4 2;6 objectVersion = 46; 7 7 objects = { 8 8 … … 47 47 48 48 /* Begin PBXFileReference section */ 49 8DD76FB20486AB0100D96B5E /* newt */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = newt; sourceTree = BUILT_PRODUCTS_DIR; };49 8DD76FB20486AB0100D96B5E /* newt */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = newt; sourceTree = BUILT_PRODUCTS_DIR; }; 50 50 F503AC6A0851DFD9009BA497 /* endian_utils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = endian_utils.c; sourceTree = "<group>"; }; 51 51 F503AC6B0851DFD9009BA497 /* endian_utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = endian_utils.h; sourceTree = "<group>"; }; … … 56 56 F5547416088A7486001E9DDF /* NewtIconv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewtIconv.h; sourceTree = "<group>"; }; 57 57 F554741C088A750B001E9DDF /* NewtIconv.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = NewtIconv.c; sourceTree = "<group>"; }; 58 F55860F307E09F5F0080D223 /* NewtPrint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = NewtPrint.c; sourceTree = "<group>"; };58 F55860F307E09F5F0080D223 /* NewtPrint.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = NewtPrint.c; sourceTree = "<group>"; tabWidth = 4; }; 59 59 F55860F907E09F800080D223 /* NewtPrint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewtPrint.h; sourceTree = "<group>"; }; 60 60 F55A5AF70726499E002A520F /* NewtLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewtLib.h; sourceTree = "<group>"; }; 61 61 F55F06860BBC1CE7005849A9 /* NewtPkg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewtPkg.h; sourceTree = "<group>"; }; 62 F55F06880BBC1D05005849A9 /* NewtPkg.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = NewtPkg.c; sourceTree = "<group>"; };62 F55F06880BBC1D05005849A9 /* NewtPkg.c */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.c; path = NewtPkg.c; sourceTree = "<group>"; tabWidth = 4; }; 63 63 F5622ED907E0273B009AAF9A /* Objects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Objects.h; sourceTree = "<group>"; }; 64 64 F5622F2307E029FC009AAF9A /* NewtonMemory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NewtonMemory.h; sourceTree = "<group>"; }; … … 271 271 08FB7793FE84155DC02AAC07 /* Project object */ = { 272 272 isa = PBXProject; 273 attributes = { 274 LastUpgradeCheck = 0410; 275 }; 273 276 buildConfigurationList = F541302B096D1DEB00CFD896 /* Build configuration list for PBXProject "newt" */; 277 compatibilityVersion = "Xcode 3.2"; 278 developmentRegion = English; 274 279 hasScannedForEncodings = 1; 280 knownRegions = ( 281 en, 282 ); 275 283 mainGroup = 08FB7794FE84155DC02AAC07 /* newt */; 276 284 projectDirPath = ""; 285 projectRoot = ""; 277 286 targets = ( 278 287 8DD76FA90486AB0100D96B5E /* newt */, … … 325 334 isa = XCBuildConfiguration; 326 335 buildSettings = { 336 ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 327 337 COPY_PHASE_STRIP = NO; 328 338 DEBUGGING_SYMBOLS = YES; … … 330 340 FRAMEWORK_VERSION = A; 331 341 GCC_DYNAMIC_NO_PIC = NO; 332 GCC_ENABLE_FIX_AND_CONTINUE = YES;333 342 GCC_ENABLE_TRIGRAPHS = NO; 334 343 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; … … 351 360 OTHER_LDFLAGS = "-liconv"; 352 361 OTHER_REZFLAGS = ""; 353 PREBINDING = NO;354 362 PRODUCT_NAME = newt; 355 363 REZ_EXECUTABLE = YES; 364 SDKROOT = macosx; 356 365 SECTORDER_FLAGS = ""; 366 VALID_ARCHS = i386; 357 367 WARNING_CFLAGS = ( 358 368 "-Wmost", … … 367 377 isa = XCBuildConfiguration; 368 378 buildSettings = { 379 ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 369 380 GCC_PREPROCESSOR_DEFINITIONS = DLOPEN_NO_WARN; 370 381 HEADER_SEARCH_PATHS = ( … … 372 383 newt_core/incs, 373 384 ); 385 MACOSX_DEPLOYMENT_TARGET = ""; 374 386 OTHER_LDFLAGS = "-liconv"; 375 387 PRODUCT_NAME = newt; 388 SDKROOT = macosx; 389 VALID_ARCHS = i386; 376 390 }; 377 391 name = Release; … … 394 408 FRAMEWORK_VERSION = A; 395 409 GCC_DYNAMIC_NO_PIC = YES; 396 GCC_ENABLE_FIX_AND_CONTINUE = NO;397 410 GCC_ENABLE_TRIGRAPHS = NO; 398 411 GCC_GENERATE_DEBUGGING_SYMBOLS = NO; … … 409 422 OTHER_CFLAGS = ""; 410 423 OTHER_REZFLAGS = ""; 411 PREBINDING = NO;412 424 REZ_EXECUTABLE = YES; 413 SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk;425 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.3.9.sdk"; 414 426 SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk; 415 427 SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk; -
NEWT0/branches/DyneTK/src/newt_core/NewtEnv.c
r113 r140 50 50 static void NewtInitEnv(int argc, const char * argv[], int n); 51 51 52 #ifdef __NAMED_MAGIC_POINTER__ 52 53 static newtRef NcResolveNamedMP(newtRefArg r); 53 54 static newtRef NsDefNamedMP(newtRefArg rcvr, newtRefArg r, newtRefArg v); 55 #endif /* __NAMED_MAGIC_POINTER__ */ 54 56 55 57 -
NEWT0/branches/DyneTK/src/newt_core/NewtIconv.c
r88 r140 42 42 if (dst) 43 43 { 44 c onst char * inbuf_p = src;44 char * inbuf_p = src; 45 45 char * outbuf_p = dst; 46 46 size_t inbytesleft = srclen; -
NEWT0/branches/DyneTK/src/newt_core/NewtNSOF.c
r121 r140 72 72 static newtErr NSOFWriteBinary(nsof_stream_t * nsof, newtRefArg r, uint16_t objtype); 73 73 static newtErr NSOFWriteSymbol(nsof_stream_t * nsof, newtRefArg r); 74 #ifdef __NAMED_MAGIC_POINTER__ 74 75 static newtErr NSOFWriteNamedMP(nsof_stream_t * nsof, newtRefArg r); 76 #endif 75 77 static newtErr NSOFWriteArray(nsof_stream_t * nsof, newtRefArg r); 76 78 static newtErr NSOFWriteFrame(nsof_stream_t * nsof, newtRefArg r); … … 82 84 static newtRef NSOFReadFrame(nsof_stream_t * nsof); 83 85 static newtRef NSOFReadSymbol(nsof_stream_t * nsof); 86 #ifdef __NAMED_MAGIC_POINTER__ 84 87 static newtRef NSOFReadNamedMP(nsof_stream_t * nsof); 88 #endif 85 89 static newtRef NSOFReadSmallRect(nsof_stream_t * nsof); 86 90 static newtRef NSOFReadNSOF(nsof_stream_t * nsof); -
NEWT0/branches/DyneTK/src/newt_core/NewtPkg.c
r101 r140 300 300 { 301 301 newtRef info; 302 uint32_t ix;302 int32_t ix; 303 303 304 304 PkgWriteU32(pkg, offset, 0); … … 316 316 if (NewtRefIsString(info)) { 317 317 size_t buflen; 318 char *buf = NewtIconv(pkg->to_utf16, data, size, &buflen);318 char *buf = NewtIconv(pkg->to_utf16, (char*)data, size, &buflen); 319 319 if (buf) { 320 320 size = buflen; 321 data = buf;321 data = (uint8_t*)buf; 322 322 } 323 323 } … … 419 419 * 420 420 * @retval offset to the beginning of the object in the package file 421 * 422 * @todo only a few known cases of binary data are correctly converted 423 * into MSB byte order. We would need to know the format of all 424 * possible binary chunks for this to work perfectly. 421 425 */ 422 426 newtRef PkgWriteBinary(pkg_stream_t *pkg, newtRefArg obj) … … 437 441 # ifdef HAVE_LIBICONV 438 442 size_t buflen; 439 char *buf = NewtIconv(pkg->to_utf16, data, size, &buflen);443 char *buf = NewtIconv(pkg->to_utf16, (char*)data, size, &buflen); 440 444 if (buf) { 441 445 size = buflen; 442 data = buf;446 data = (uint8_t*)buf; 443 447 } 444 448 # endif /* HAVE_LIBICONV */ … … 777 781 * 778 782 * @retval Newt object version of binary object 783 * 784 * @todo only a few known cases of binary data are correctly converted 785 * from MSB byte order. We would need to know the format of all 786 * possible binary chunks for this to work perfectly. 779 787 */ 780 788 newtRef PkgReadBinaryObject(pkg_stream_t *pkg, uint32_t p_obj) … … 782 790 uint32_t size = PkgReadU32(pkg->data + p_obj) >> 8; 783 791 newtRef klass, result = kNewtRefNIL; 784 newtRef ins = NSSYM0(instructions);792 //newtRef ins = NSSYM0(instructions); 785 793 786 794 klass = PkgReadRef(pkg, p_obj+8); 787 795 788 796 if (klass==kNewtSymbolClass) { 789 result = NewtMakeSymbol( pkg->data + p_obj + 16);797 result = NewtMakeSymbol((const char*)(pkg->data + p_obj + 16)); 790 798 } else if (klass==NSSYM0(string)) { 791 char *src = pkg->data + p_obj + 12;799 char *src = (char*)(pkg->data + p_obj + 12); 792 800 int sze = size-12; 793 801 # ifdef HAVE_LIBICONV … … 809 817 result = NewtMakeBinary(klass, pkg->data + p_obj + 12, size-12, true); 810 818 # ifdef DEBUG_PKG_DIS 819 // there is no need to correct endianess. We are just curious. 811 820 printf("*** PkgReader: PkgReadBinaryObject - dumping byte code\n"); 812 821 NVMDumpBC(stdout, result); … … 845 854 array = NewtMakeArray(klass, num_slots); 846 855 856 // remember that we created this object before we read any further 857 PkgPartSetInstance(pkg, p_obj, array); 858 847 859 if (NewtRefIsNotNIL(array)) { 848 860 for (i=0; i<num_slots; i++) { … … 873 885 frame = NewtMakeFrame(map, num_slots); 874 886 887 // remember that we created this object before we read any further 888 PkgPartSetInstance(pkg, p_obj, frame); 889 875 890 if (NewtRefIsNotNIL(frame)) { 876 891 … … 920 935 } 921 936 922 // remember that we created this object923 PkgPartSetInstance(pkg, p_obj, ret);924 925 937 return ret; 926 938 } … … 1038 1050 return kNewtRefNIL; 1039 1051 } else { 1040 char *src = pkg->var_data + ntohs(info_ref->offset);1052 char *src = (char*)(pkg->var_data + ntohs(info_ref->offset)); 1041 1053 int size = ntohs(info_ref->size); 1042 1054 # ifdef HAVE_LIBICONV … … 1132 1144 return kNewtRefNIL; 1133 1145 1134 if (!PkgIsPackage( data))1146 if (!PkgIsPackage((char*)data)) 1135 1147 return kNewtRefNIL; 1136 1148 -
NEWT0/branches/DyneTK/src/newt_core/NewtPrint.c
r126 r140 19 19 #include "NewtEnv.h" 20 20 #include "NewtIO.h" 21 #include "NewtVM.h" 21 22 22 23 … … 37 38 static void NIOPrintReal(newtStream_t * f, newtRefArg r); 38 39 static void NIOPrintObjCharacter(newtStream_t * f, newtRefArg r); 40 #ifdef __NAMED_MAGIC_POINTER__ 39 41 static void NIOPrintObjNamedMP(newtStream_t * f, newtRefArg r); 42 #endif /* __NAMED_MAGIC_POINTER__ */ 40 43 static void NIOPrintObjMagicPointer(newtStream_t * f, newtRefArg r); 41 44 static void NIOPrintObjBinary(newtStream_t * f, newtRefArg r); … … 650 653 void NIOPrintFnFrame(newtStream_t * f, newtRefArg r) 651 654 { 655 newtRefVar numArgsSlot; 652 656 newtRefVar indefinite; 653 int32_t numArgs ;657 int32_t numArgs = 0; 654 658 char * indefiniteStr = ""; 655 659 656 numArgs = NewtRefToInteger(NcGetSlot(r, NSSYM0(numArgs))); 660 numArgsSlot = NcGetSlot(r, NSSYM0(numArgs)); 661 if (NewtRefIsNotNIL(numArgsSlot)) 662 numArgs = NewtRefToInteger(numArgsSlot); 657 663 indefinite = NcGetSlot(r, NSSYM0(indefinite)); 658 664
Note: See TracChangeset
for help on using the changeset viewer.
