1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for GNU Bison 2.7. 4 # 5 # Report bugs to <bug-bison (at] gnu.org>. 6 # 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 11 # This configure script is free software; the Free Software Foundation 12 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 for as_dir in $PATH 97 do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102 IFS=$as_save_IFS 103 104 ;; 105 esac 106 # We did not find ourselves, most probably we were run as `sh COMMAND' 107 # in which case we are not to be found in the path. 108 if test "x$as_myself" = x; then 109 as_myself=$0 110 fi 111 if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 done 124 PS1='$ ' 125 PS2='> ' 126 PS4='+ ' 127 128 # NLS nuisances. 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf (at] gnu.org and bug-bison (at] gnu.org 270 $0: about your system, including any error possibly output 271 $0: before this message. Then install a modern shell, or 272 $0: manually run the script under such a shell if you do 273 $0: have one." 274 fi 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 422 if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 424 as_expr=expr 425 else 426 as_expr=false 427 fi 428 429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430 as_basename=basename 431 else 432 as_basename=false 433 fi 434 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 441 as_me=`$as_basename -- "$0" || 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 443 X"$0" : 'X\(//\)$' \| \ 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445 $as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 460 # Avoid depending upon Character Ranges. 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464 as_cr_digits='0123456789' 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 482 N 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 485 t loop 486 s/-\n.*// 487 ' >$as_me.lineno && 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501 } 502 503 ECHO_C= ECHO_N= ECHO_T= 504 case `echo -n x` in #((((( 505 -n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512 *) 513 ECHO_N='-n';; 514 esac 515 516 rm -f conf$$ conf$$.exe conf$$.file 517 if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519 else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522 fi 523 if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 534 else 535 as_ln_s='cp -pR' 536 fi 537 else 538 as_ln_s='cp -pR' 539 fi 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541 rmdir conf$$.dir 2>/dev/null 542 543 if mkdir -p . 2>/dev/null; then 544 as_mkdir_p='mkdir -p "$as_dir"' 545 else 546 test -d ./-p && rmdir ./-p 547 as_mkdir_p=false 548 fi 549 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 552 553 # Sed expression to map a string onto a valid CPP name. 554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 555 556 # Sed expression to map a string onto a valid variable name. 557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 558 559 560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 562 563 # Name of the host. 564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 565 # so uname gets run too. 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 567 568 # 569 # Initializations. 570 # 571 ac_default_prefix=/usr/local 572 ac_clean_files= 573 ac_config_libobj_dir=. 574 LIBOBJS= 575 cross_compiling=no 576 subdirs= 577 MFLAGS= 578 MAKEFLAGS= 579 580 # Identity of this package. 581 PACKAGE_NAME='GNU Bison' 582 PACKAGE_TARNAME='bison' 583 PACKAGE_VERSION='2.7' 584 PACKAGE_STRING='GNU Bison 2.7' 585 PACKAGE_BUGREPORT='bug-bison (at] gnu.org' 586 PACKAGE_URL='http://www.gnu.org/software/bison/' 587 588 # Factoring default headers for most tests. 589 ac_includes_default="\ 590 #include <stdio.h> 591 #ifdef HAVE_SYS_TYPES_H 592 # include <sys/types.h> 593 #endif 594 #ifdef HAVE_SYS_STAT_H 595 # include <sys/stat.h> 596 #endif 597 #ifdef STDC_HEADERS 598 # include <stdlib.h> 599 # include <stddef.h> 600 #else 601 # ifdef HAVE_STDLIB_H 602 # include <stdlib.h> 603 # endif 604 #endif 605 #ifdef HAVE_STRING_H 606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 607 # include <memory.h> 608 # endif 609 # include <string.h> 610 #endif 611 #ifdef HAVE_STRINGS_H 612 # include <strings.h> 613 #endif 614 #ifdef HAVE_INTTYPES_H 615 # include <inttypes.h> 616 #endif 617 #ifdef HAVE_STDINT_H 618 # include <stdint.h> 619 #endif 620 #ifdef HAVE_UNISTD_H 621 # include <unistd.h> 622 #endif" 623 624 gl_use_threads_default= 625 ac_header_list= 626 ac_func_list= 627 gl_getopt_required=POSIX 628 gl_getopt_required=POSIX 629 gt_needs= 630 ac_subst_vars='gltests_LTLIBOBJS 631 gltests_LIBOBJS 632 gl_LTLIBOBJS 633 gl_LIBOBJS 634 CONFIG_INCLUDE 635 am__EXEEXT_FALSE 636 am__EXEEXT_TRUE 637 LTLIBOBJS 638 LIBOBJS 639 HAVE_JIKES 640 HAVE_JAVAC 641 HAVE_GCJ_C 642 HAVE_JAVAC_ENVVAR 643 CONF_JAVAC 644 HAVE_JIKES_IN_PATH 645 HAVE_JAVAC_IN_PATH 646 HAVE_GCJ_IN_PATH 647 HAVE_JVIEW 648 HAVE_JRE 649 HAVE_JAVA 650 HAVE_GIJ 651 HAVE_JAVA_ENVVAR 652 CLASSPATH_SEPARATOR 653 CLASSPATH 654 CONF_JAVA 655 HAVE_JVIEW_IN_PATH 656 HAVE_JRE_IN_PATH 657 HAVE_JAVA_IN_PATH 658 HAVE_GIJ_IN_PATH 659 GCC 660 AUTOM4TE 661 VALGRIND_PREBISON 662 VALGRIND 663 aclocaldir 664 BISON_LOCALEDIR 665 POSUB 666 INTLLIBS 667 LTLIBICONV 668 LIBICONV 669 INTL_MACOSX_LIBS 670 XGETTEXT_EXTRA_OPTIONS 671 MSGMERGE 672 XGETTEXT_015 673 XGETTEXT 674 GMSGFMT_015 675 MSGFMT_015 676 GMSGFMT 677 MSGFMT 678 GETTEXT_MACRO_VERSION 679 USE_NLS 680 LIBBISON_LTLIBDEPS 681 LIBBISON_LIBDEPS 682 gltests_WITNESS 683 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H 684 NEXT_WCHAR_H 685 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE 686 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE 687 LIBUNISTRING_UNIWIDTH_H 688 LIBUNISTRING_UNITYPES_H 689 HAVE_UNISTD_H 690 NEXT_AS_FIRST_DIRECTIVE_UNISTD_H 691 NEXT_UNISTD_H 692 PTHREAD_H_DEFINES_STRUCT_TIMESPEC 693 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC 694 TIME_H_DEFINES_STRUCT_TIMESPEC 695 NEXT_AS_FIRST_DIRECTIVE_TIME_H 696 NEXT_TIME_H 697 REPLACE_TIMEGM 698 REPLACE_NANOSLEEP 699 REPLACE_MKTIME 700 REPLACE_LOCALTIME_R 701 HAVE_TIMEGM 702 HAVE_STRPTIME 703 HAVE_NANOSLEEP 704 HAVE_DECL_LOCALTIME_R 705 GNULIB_TIME_R 706 GNULIB_TIMEGM 707 GNULIB_STRPTIME 708 GNULIB_NANOSLEEP 709 GNULIB_MKTIME 710 NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H 711 NEXT_SYS_WAIT_H 712 GNULIB_WAITPID 713 WINDOWS_64_BIT_OFF_T 714 NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H 715 NEXT_SYS_TYPES_H 716 NEXT_AS_FIRST_DIRECTIVE_STRING_H 717 NEXT_STRING_H 718 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H 719 NEXT_STDLIB_H 720 NEXT_AS_FIRST_DIRECTIVE_STDIO_H 721 NEXT_STDIO_H 722 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H 723 NEXT_STDDEF_H 724 GL_GENERATE_STDDEF_H_FALSE 725 GL_GENERATE_STDDEF_H_TRUE 726 STDDEF_H 727 HAVE_WCHAR_T 728 REPLACE_NULL 729 HAVE__BOOL 730 GL_GENERATE_STDBOOL_H_FALSE 731 GL_GENERATE_STDBOOL_H_TRUE 732 STDBOOL_H 733 HAVE_SPAWN_H 734 NEXT_AS_FIRST_DIRECTIVE_SPAWN_H 735 NEXT_SPAWN_H 736 NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H 737 NEXT_SIGNAL_H 738 GL_GENERATE_SCHED_H_FALSE 739 GL_GENERATE_SCHED_H_TRUE 740 SCHED_H 741 HAVE_STRUCT_SCHED_PARAM 742 HAVE_SCHED_H 743 NEXT_AS_FIRST_DIRECTIVE_SCHED_H 744 NEXT_SCHED_H 745 REPLACE_RAISE 746 REPLACE_PTHREAD_SIGMASK 747 HAVE_SIGHANDLER_T 748 HAVE_TYPE_VOLATILE_SIG_ATOMIC_T 749 HAVE_STRUCT_SIGACTION_SA_SIGACTION 750 HAVE_SIGACTION 751 HAVE_SIGINFO_T 752 HAVE_SIGSET_T 753 HAVE_RAISE 754 HAVE_PTHREAD_SIGMASK 755 HAVE_POSIX_SIGNALBLOCKING 756 GNULIB_SIGACTION 757 GNULIB_SIGPROCMASK 758 GNULIB_SIGNAL_H_SIGPIPE 759 GNULIB_RAISE 760 GNULIB_PTHREAD_SIGMASK 761 ASM_SYMBOL_PREFIX 762 REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 763 REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 764 REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 765 REPLACE_POSIX_SPAWN 766 HAVE_POSIX_SPAWN_FILE_ACTIONS_T 767 HAVE_POSIX_SPAWNATTR_T 768 HAVE_POSIX_SPAWN 769 GNULIB_POSIX_SPAWNATTR_DESTROY 770 GNULIB_POSIX_SPAWNATTR_SETSIGMASK 771 GNULIB_POSIX_SPAWNATTR_GETSIGMASK 772 GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT 773 GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT 774 GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY 775 GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY 776 GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM 777 GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM 778 GNULIB_POSIX_SPAWNATTR_SETPGROUP 779 GNULIB_POSIX_SPAWNATTR_GETPGROUP 780 GNULIB_POSIX_SPAWNATTR_SETFLAGS 781 GNULIB_POSIX_SPAWNATTR_GETFLAGS 782 GNULIB_POSIX_SPAWNATTR_INIT 783 GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY 784 GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 785 GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 786 GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 787 GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT 788 GNULIB_POSIX_SPAWNP 789 GNULIB_POSIX_SPAWN 790 UNDEFINE_STRTOK_R 791 REPLACE_STRTOK_R 792 REPLACE_STRSIGNAL 793 REPLACE_STRNLEN 794 REPLACE_STRNDUP 795 REPLACE_STRNCAT 796 REPLACE_STRERROR_R 797 REPLACE_STRERROR 798 REPLACE_STRCHRNUL 799 REPLACE_STRCASESTR 800 REPLACE_STRSTR 801 REPLACE_STRDUP 802 REPLACE_STPNCPY 803 REPLACE_MEMMEM 804 REPLACE_MEMCHR 805 HAVE_STRVERSCMP 806 HAVE_DECL_STRSIGNAL 807 HAVE_DECL_STRERROR_R 808 HAVE_DECL_STRTOK_R 809 HAVE_STRCASESTR 810 HAVE_STRSEP 811 HAVE_STRPBRK 812 HAVE_DECL_STRNLEN 813 HAVE_DECL_STRNDUP 814 HAVE_DECL_STRDUP 815 HAVE_STRCHRNUL 816 HAVE_STPNCPY 817 HAVE_STPCPY 818 HAVE_RAWMEMCHR 819 HAVE_DECL_MEMRCHR 820 HAVE_MEMPCPY 821 HAVE_DECL_MEMMEM 822 HAVE_MEMCHR 823 HAVE_FFSLL 824 HAVE_FFSL 825 HAVE_MBSLEN 826 GNULIB_STRVERSCMP 827 GNULIB_STRSIGNAL 828 GNULIB_STRERROR_R 829 GNULIB_STRERROR 830 GNULIB_MBSTOK_R 831 GNULIB_MBSSEP 832 GNULIB_MBSSPN 833 GNULIB_MBSPBRK 834 GNULIB_MBSCSPN 835 GNULIB_MBSCASESTR 836 GNULIB_MBSPCASECMP 837 GNULIB_MBSNCASECMP 838 GNULIB_MBSCASECMP 839 GNULIB_MBSSTR 840 GNULIB_MBSRCHR 841 GNULIB_MBSCHR 842 GNULIB_MBSNLEN 843 GNULIB_MBSLEN 844 GNULIB_STRTOK_R 845 GNULIB_STRCASESTR 846 GNULIB_STRSTR 847 GNULIB_STRSEP 848 GNULIB_STRPBRK 849 GNULIB_STRNLEN 850 GNULIB_STRNDUP 851 GNULIB_STRNCAT 852 GNULIB_STRDUP 853 GNULIB_STRCHRNUL 854 GNULIB_STPNCPY 855 GNULIB_STPCPY 856 GNULIB_RAWMEMCHR 857 GNULIB_MEMRCHR 858 GNULIB_MEMPCPY 859 GNULIB_MEMMEM 860 GNULIB_MEMCHR 861 GNULIB_FFSLL 862 GNULIB_FFSL 863 LOCALE_FR_UTF8 864 LOCALE_ZH_CN 865 LOCALE_JA 866 REPLACE_WCSWIDTH 867 REPLACE_WCWIDTH 868 REPLACE_WCSNRTOMBS 869 REPLACE_WCSRTOMBS 870 REPLACE_WCRTOMB 871 REPLACE_MBSNRTOWCS 872 REPLACE_MBSRTOWCS 873 REPLACE_MBRLEN 874 REPLACE_MBRTOWC 875 REPLACE_MBSINIT 876 REPLACE_WCTOB 877 REPLACE_BTOWC 878 REPLACE_MBSTATE_T 879 HAVE_DECL_WCWIDTH 880 HAVE_DECL_WCTOB 881 HAVE_WCSWIDTH 882 HAVE_WCSTOK 883 HAVE_WCSSTR 884 HAVE_WCSPBRK 885 HAVE_WCSSPN 886 HAVE_WCSCSPN 887 HAVE_WCSRCHR 888 HAVE_WCSCHR 889 HAVE_WCSDUP 890 HAVE_WCSXFRM 891 HAVE_WCSCOLL 892 HAVE_WCSNCASECMP 893 HAVE_WCSCASECMP 894 HAVE_WCSNCMP 895 HAVE_WCSCMP 896 HAVE_WCSNCAT 897 HAVE_WCSCAT 898 HAVE_WCPNCPY 899 HAVE_WCSNCPY 900 HAVE_WCPCPY 901 HAVE_WCSCPY 902 HAVE_WCSNLEN 903 HAVE_WCSLEN 904 HAVE_WMEMSET 905 HAVE_WMEMMOVE 906 HAVE_WMEMCPY 907 HAVE_WMEMCMP 908 HAVE_WMEMCHR 909 HAVE_WCSNRTOMBS 910 HAVE_WCSRTOMBS 911 HAVE_WCRTOMB 912 HAVE_MBSNRTOWCS 913 HAVE_MBSRTOWCS 914 HAVE_MBRLEN 915 HAVE_MBRTOWC 916 HAVE_MBSINIT 917 HAVE_BTOWC 918 GNULIB_WCSWIDTH 919 GNULIB_WCSTOK 920 GNULIB_WCSSTR 921 GNULIB_WCSPBRK 922 GNULIB_WCSSPN 923 GNULIB_WCSCSPN 924 GNULIB_WCSRCHR 925 GNULIB_WCSCHR 926 GNULIB_WCSDUP 927 GNULIB_WCSXFRM 928 GNULIB_WCSCOLL 929 GNULIB_WCSNCASECMP 930 GNULIB_WCSCASECMP 931 GNULIB_WCSNCMP 932 GNULIB_WCSCMP 933 GNULIB_WCSNCAT 934 GNULIB_WCSCAT 935 GNULIB_WCPNCPY 936 GNULIB_WCSNCPY 937 GNULIB_WCPCPY 938 GNULIB_WCSCPY 939 GNULIB_WCSNLEN 940 GNULIB_WCSLEN 941 GNULIB_WMEMSET 942 GNULIB_WMEMMOVE 943 GNULIB_WMEMCPY 944 GNULIB_WMEMCMP 945 GNULIB_WMEMCHR 946 GNULIB_WCWIDTH 947 GNULIB_WCSNRTOMBS 948 GNULIB_WCSRTOMBS 949 GNULIB_WCRTOMB 950 GNULIB_MBSNRTOWCS 951 GNULIB_MBSRTOWCS 952 GNULIB_MBRLEN 953 GNULIB_MBRTOWC 954 GNULIB_MBSINIT 955 GNULIB_WCTOB 956 GNULIB_BTOWC 957 NEXT_AS_FIRST_DIRECTIVE_MATH_H 958 NEXT_MATH_H 959 LTLIBMULTITHREAD 960 LIBMULTITHREAD 961 LTLIBTHREAD 962 LIBTHREAD 963 LIBPTH_PREFIX 964 LTLIBPTH 965 LIBPTH 966 LOCALCHARSET_TESTS_ENVIRONMENT 967 GLIBC21 968 LDEXPL_LIBM 969 LDEXP_LIBM 970 REPLACE_TOWLOWER 971 REPLACE_ISWCNTRL 972 HAVE_WCTYPE_H 973 NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H 974 NEXT_WCTYPE_H 975 HAVE_WINT_T 976 HAVE_ISWCNTRL 977 REPLACE_ISWBLANK 978 HAVE_WCTRANS_T 979 HAVE_WCTYPE_T 980 HAVE_ISWBLANK 981 GNULIB_TOWCTRANS 982 GNULIB_WCTRANS 983 GNULIB_ISWCTYPE 984 GNULIB_WCTYPE 985 GNULIB_ISWBLANK 986 ISNAN_LIBM 987 ISNANL_LIBM 988 ISNAND_LIBM 989 ISNANF_LIBM 990 NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H 991 NEXT_INTTYPES_H 992 UINT64_MAX_EQ_ULONG_MAX 993 UINT32_MAX_LT_UINTMAX_MAX 994 PRIPTR_PREFIX 995 PRI_MACROS_BROKEN 996 INT64_MAX_EQ_LONG_MAX 997 INT32_MAX_LT_INTMAX_MAX 998 REPLACE_STRTOIMAX 999 HAVE_DECL_STRTOUMAX 1000 HAVE_DECL_STRTOIMAX 1001 HAVE_DECL_IMAXDIV 1002 HAVE_DECL_IMAXABS 1003 GNULIB_STRTOUMAX 1004 GNULIB_STRTOIMAX 1005 GNULIB_IMAXDIV 1006 GNULIB_IMAXABS 1007 GL_GENERATE_STDINT_H_FALSE 1008 GL_GENERATE_STDINT_H_TRUE 1009 STDINT_H 1010 WINT_T_SUFFIX 1011 WCHAR_T_SUFFIX 1012 SIG_ATOMIC_T_SUFFIX 1013 SIZE_T_SUFFIX 1014 PTRDIFF_T_SUFFIX 1015 HAVE_SIGNED_WINT_T 1016 HAVE_SIGNED_WCHAR_T 1017 HAVE_SIGNED_SIG_ATOMIC_T 1018 BITSIZEOF_WINT_T 1019 BITSIZEOF_WCHAR_T 1020 BITSIZEOF_SIG_ATOMIC_T 1021 BITSIZEOF_SIZE_T 1022 BITSIZEOF_PTRDIFF_T 1023 HAVE_SYS_BITYPES_H 1024 HAVE_SYS_INTTYPES_H 1025 HAVE_STDINT_H 1026 NEXT_AS_FIRST_DIRECTIVE_STDINT_H 1027 NEXT_STDINT_H 1028 HAVE_SYS_TYPES_H 1029 HAVE_INTTYPES_H 1030 HAVE_WCHAR_H 1031 HAVE_UNSIGNED_LONG_LONG_INT 1032 HAVE_LONG_LONG_INT 1033 LTLIBINTL 1034 LIBINTL 1035 GNULIB_GL_UNISTD_H_GETOPT 1036 GETOPT_H 1037 HAVE_GETOPT_H 1038 NEXT_AS_FIRST_DIRECTIVE_GETOPT_H 1039 NEXT_GETOPT_H 1040 WINDOWS_64_BIT_ST_SIZE 1041 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H 1042 NEXT_SYS_STAT_H 1043 REPLACE_UTIMENSAT 1044 REPLACE_STAT 1045 REPLACE_MKNOD 1046 REPLACE_MKFIFO 1047 REPLACE_MKDIR 1048 REPLACE_LSTAT 1049 REPLACE_FUTIMENS 1050 REPLACE_FSTATAT 1051 REPLACE_FSTAT 1052 HAVE_UTIMENSAT 1053 HAVE_MKNODAT 1054 HAVE_MKNOD 1055 HAVE_MKFIFOAT 1056 HAVE_MKFIFO 1057 HAVE_MKDIRAT 1058 HAVE_LSTAT 1059 HAVE_LCHMOD 1060 HAVE_FUTIMENS 1061 HAVE_FSTATAT 1062 HAVE_FCHMODAT 1063 GNULIB_UTIMENSAT 1064 GNULIB_STAT 1065 GNULIB_MKNODAT 1066 GNULIB_MKNOD 1067 GNULIB_MKFIFOAT 1068 GNULIB_MKFIFO 1069 GNULIB_MKDIRAT 1070 GNULIB_LSTAT 1071 GNULIB_LCHMOD 1072 GNULIB_FUTIMENS 1073 GNULIB_FSTATAT 1074 GNULIB_FSTAT 1075 GNULIB_FCHMODAT 1076 REPLACE_TRUNCL 1077 REPLACE_TRUNCF 1078 REPLACE_TRUNC 1079 REPLACE_SQRTL 1080 REPLACE_SIGNBIT_USING_GCC 1081 REPLACE_SIGNBIT 1082 REPLACE_ROUNDL 1083 REPLACE_ROUNDF 1084 REPLACE_ROUND 1085 REPLACE_REMAINDERL 1086 REPLACE_REMAINDERF 1087 REPLACE_REMAINDER 1088 REPLACE_NAN 1089 REPLACE_MODFL 1090 REPLACE_MODFF 1091 REPLACE_MODF 1092 REPLACE_LOGBL 1093 REPLACE_LOGBF 1094 REPLACE_LOGB 1095 REPLACE_LOG2L 1096 REPLACE_LOG2F 1097 REPLACE_LOG2 1098 REPLACE_LOG1PL 1099 REPLACE_LOG1PF 1100 REPLACE_LOG1P 1101 REPLACE_LOG10L 1102 REPLACE_LOG10F 1103 REPLACE_LOG10 1104 REPLACE_LOGL 1105 REPLACE_LOGF 1106 REPLACE_LOG 1107 REPLACE_LDEXPL 1108 REPLACE_ISNAN 1109 REPLACE_ISINF 1110 REPLACE_ISFINITE 1111 REPLACE_ILOGBF 1112 REPLACE_ILOGB 1113 REPLACE_HYPOTL 1114 REPLACE_HYPOTF 1115 REPLACE_HYPOT 1116 REPLACE_HUGE_VAL 1117 REPLACE_FREXPL 1118 REPLACE_FREXP 1119 REPLACE_FREXPF 1120 REPLACE_FMODL 1121 REPLACE_FMODF 1122 REPLACE_FMOD 1123 REPLACE_FMAL 1124 REPLACE_FMAF 1125 REPLACE_FMA 1126 REPLACE_FLOORL 1127 REPLACE_FLOORF 1128 REPLACE_FLOOR 1129 REPLACE_FABSL 1130 REPLACE_EXP2L 1131 REPLACE_EXP2 1132 REPLACE_EXPM1F 1133 REPLACE_EXPM1 1134 REPLACE_CEILL 1135 REPLACE_CEILF 1136 REPLACE_CEIL 1137 REPLACE_CBRTL 1138 REPLACE_CBRTF 1139 HAVE_DECL_TRUNCL 1140 HAVE_DECL_TRUNCF 1141 HAVE_DECL_TRUNC 1142 HAVE_DECL_TANL 1143 HAVE_DECL_SQRTL 1144 HAVE_DECL_SINL 1145 HAVE_DECL_ROUNDL 1146 HAVE_DECL_ROUNDF 1147 HAVE_DECL_ROUND 1148 HAVE_DECL_RINTF 1149 HAVE_DECL_REMAINDERL 1150 HAVE_DECL_REMAINDER 1151 HAVE_DECL_LOGB 1152 HAVE_DECL_LOG2L 1153 HAVE_DECL_LOG2F 1154 HAVE_DECL_LOG2 1155 HAVE_DECL_LOG10L 1156 HAVE_DECL_LOGL 1157 HAVE_DECL_LDEXPL 1158 HAVE_DECL_FREXPL 1159 HAVE_DECL_FLOORL 1160 HAVE_DECL_FLOORF 1161 HAVE_DECL_EXPM1L 1162 HAVE_DECL_EXP2L 1163 HAVE_DECL_EXP2F 1164 HAVE_DECL_EXP2 1165 HAVE_DECL_EXPL 1166 HAVE_DECL_COSL 1167 HAVE_DECL_COPYSIGNF 1168 HAVE_DECL_CEILL 1169 HAVE_DECL_CEILF 1170 HAVE_DECL_CBRTL 1171 HAVE_DECL_CBRTF 1172 HAVE_DECL_ATANL 1173 HAVE_DECL_ASINL 1174 HAVE_DECL_ACOSL 1175 HAVE_TANHF 1176 HAVE_TANL 1177 HAVE_TANF 1178 HAVE_SQRTL 1179 HAVE_SQRTF 1180 HAVE_SINHF 1181 HAVE_SINL 1182 HAVE_SINF 1183 HAVE_RINTL 1184 HAVE_RINT 1185 HAVE_REMAINDERF 1186 HAVE_REMAINDER 1187 HAVE_POWF 1188 HAVE_MODFL 1189 HAVE_MODFF 1190 HAVE_LOGBL 1191 HAVE_LOGBF 1192 HAVE_LOG1PL 1193 HAVE_LOG1PF 1194 HAVE_LOG1P 1195 HAVE_LOG10L 1196 HAVE_LOG10F 1197 HAVE_LOGL 1198 HAVE_LOGF 1199 HAVE_LDEXPF 1200 HAVE_ISNANL 1201 HAVE_ISNAND 1202 HAVE_ISNANF 1203 HAVE_ILOGBL 1204 HAVE_ILOGBF 1205 HAVE_ILOGB 1206 HAVE_HYPOTL 1207 HAVE_HYPOTF 1208 HAVE_FREXPF 1209 HAVE_FMODL 1210 HAVE_FMODF 1211 HAVE_FMAL 1212 HAVE_FMAF 1213 HAVE_FMA 1214 HAVE_FABSL 1215 HAVE_FABSF 1216 HAVE_EXPM1F 1217 HAVE_EXPM1 1218 HAVE_EXPL 1219 HAVE_EXPF 1220 HAVE_COSHF 1221 HAVE_COSL 1222 HAVE_COSF 1223 HAVE_COPYSIGNL 1224 HAVE_COPYSIGN 1225 HAVE_CBRTL 1226 HAVE_CBRTF 1227 HAVE_CBRT 1228 HAVE_ATAN2F 1229 HAVE_ATANL 1230 HAVE_ATANF 1231 HAVE_ASINL 1232 HAVE_ASINF 1233 HAVE_ACOSL 1234 HAVE_ACOSF 1235 GNULIB_TRUNCL 1236 GNULIB_TRUNCF 1237 GNULIB_TRUNC 1238 GNULIB_TANHF 1239 GNULIB_TANL 1240 GNULIB_TANF 1241 GNULIB_SQRTL 1242 GNULIB_SQRTF 1243 GNULIB_SINHF 1244 GNULIB_SINL 1245 GNULIB_SINF 1246 GNULIB_SIGNBIT 1247 GNULIB_ROUNDL 1248 GNULIB_ROUNDF 1249 GNULIB_ROUND 1250 GNULIB_RINTL 1251 GNULIB_RINTF 1252 GNULIB_RINT 1253 GNULIB_REMAINDERL 1254 GNULIB_REMAINDERF 1255 GNULIB_REMAINDER 1256 GNULIB_POWF 1257 GNULIB_MODFL 1258 GNULIB_MODFF 1259 GNULIB_MODF 1260 GNULIB_LOGBL 1261 GNULIB_LOGBF 1262 GNULIB_LOGB 1263 GNULIB_LOG2L 1264 GNULIB_LOG2F 1265 GNULIB_LOG2 1266 GNULIB_LOG1PL 1267 GNULIB_LOG1PF 1268 GNULIB_LOG1P 1269 GNULIB_LOG10L 1270 GNULIB_LOG10F 1271 GNULIB_LOG10 1272 GNULIB_LOGL 1273 GNULIB_LOGF 1274 GNULIB_LOG 1275 GNULIB_LDEXPL 1276 GNULIB_LDEXPF 1277 GNULIB_ISNANL 1278 GNULIB_ISNAND 1279 GNULIB_ISNANF 1280 GNULIB_ISNAN 1281 GNULIB_ISINF 1282 GNULIB_ISFINITE 1283 GNULIB_ILOGBL 1284 GNULIB_ILOGBF 1285 GNULIB_ILOGB 1286 GNULIB_HYPOTL 1287 GNULIB_HYPOTF 1288 GNULIB_HYPOT 1289 GNULIB_FREXPL 1290 GNULIB_FREXP 1291 GNULIB_FREXPF 1292 GNULIB_FMODL 1293 GNULIB_FMODF 1294 GNULIB_FMOD 1295 GNULIB_FMAL 1296 GNULIB_FMAF 1297 GNULIB_FMA 1298 GNULIB_FLOORL 1299 GNULIB_FLOORF 1300 GNULIB_FLOOR 1301 GNULIB_FABSL 1302 GNULIB_FABSF 1303 GNULIB_EXPM1L 1304 GNULIB_EXPM1F 1305 GNULIB_EXPM1 1306 GNULIB_EXP2L 1307 GNULIB_EXP2F 1308 GNULIB_EXP2 1309 GNULIB_EXPL 1310 GNULIB_EXPF 1311 GNULIB_COSHF 1312 GNULIB_COSL 1313 GNULIB_COSF 1314 GNULIB_COPYSIGNL 1315 GNULIB_COPYSIGNF 1316 GNULIB_COPYSIGN 1317 GNULIB_CEILL 1318 GNULIB_CEILF 1319 GNULIB_CEIL 1320 GNULIB_CBRTL 1321 GNULIB_CBRTF 1322 GNULIB_CBRT 1323 GNULIB_ATAN2F 1324 GNULIB_ATANL 1325 GNULIB_ATANF 1326 GNULIB_ASINL 1327 GNULIB_ASINF 1328 GNULIB_ACOSL 1329 GNULIB_ACOSF 1330 HAVE_FEATURES_H 1331 APPLE_UNIVERSAL_BUILD 1332 HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1333 REPLACE_VSPRINTF 1334 REPLACE_VSNPRINTF 1335 REPLACE_VPRINTF 1336 REPLACE_VFPRINTF 1337 REPLACE_VDPRINTF 1338 REPLACE_VASPRINTF 1339 REPLACE_TMPFILE 1340 REPLACE_STDIO_WRITE_FUNCS 1341 REPLACE_STDIO_READ_FUNCS 1342 REPLACE_SPRINTF 1343 REPLACE_SNPRINTF 1344 REPLACE_RENAMEAT 1345 REPLACE_RENAME 1346 REPLACE_REMOVE 1347 REPLACE_PRINTF 1348 REPLACE_POPEN 1349 REPLACE_PERROR 1350 REPLACE_OBSTACK_PRINTF 1351 REPLACE_GETLINE 1352 REPLACE_GETDELIM 1353 REPLACE_FTELLO 1354 REPLACE_FTELL 1355 REPLACE_FSEEKO 1356 REPLACE_FSEEK 1357 REPLACE_FREOPEN 1358 REPLACE_FPURGE 1359 REPLACE_FPRINTF 1360 REPLACE_FOPEN 1361 REPLACE_FFLUSH 1362 REPLACE_FDOPEN 1363 REPLACE_FCLOSE 1364 REPLACE_DPRINTF 1365 HAVE_VDPRINTF 1366 HAVE_VASPRINTF 1367 HAVE_RENAMEAT 1368 HAVE_POPEN 1369 HAVE_PCLOSE 1370 HAVE_FTELLO 1371 HAVE_FSEEKO 1372 HAVE_DPRINTF 1373 HAVE_DECL_VSNPRINTF 1374 HAVE_DECL_SNPRINTF 1375 HAVE_DECL_OBSTACK_PRINTF 1376 HAVE_DECL_GETLINE 1377 HAVE_DECL_GETDELIM 1378 HAVE_DECL_FTELLO 1379 HAVE_DECL_FSEEKO 1380 HAVE_DECL_FPURGE 1381 GNULIB_VSPRINTF_POSIX 1382 GNULIB_VSNPRINTF 1383 GNULIB_VPRINTF_POSIX 1384 GNULIB_VPRINTF 1385 GNULIB_VFPRINTF_POSIX 1386 GNULIB_VFPRINTF 1387 GNULIB_VDPRINTF 1388 GNULIB_VSCANF 1389 GNULIB_VFSCANF 1390 GNULIB_VASPRINTF 1391 GNULIB_TMPFILE 1392 GNULIB_STDIO_H_SIGPIPE 1393 GNULIB_STDIO_H_NONBLOCKING 1394 GNULIB_SPRINTF_POSIX 1395 GNULIB_SNPRINTF 1396 GNULIB_SCANF 1397 GNULIB_RENAMEAT 1398 GNULIB_RENAME 1399 GNULIB_REMOVE 1400 GNULIB_PUTS 1401 GNULIB_PUTCHAR 1402 GNULIB_PUTC 1403 GNULIB_PRINTF_POSIX 1404 GNULIB_PRINTF 1405 GNULIB_POPEN 1406 GNULIB_PERROR 1407 GNULIB_PCLOSE 1408 GNULIB_OBSTACK_PRINTF_POSIX 1409 GNULIB_OBSTACK_PRINTF 1410 GNULIB_GETLINE 1411 GNULIB_GETDELIM 1412 GNULIB_GETCHAR 1413 GNULIB_GETC 1414 GNULIB_FWRITE 1415 GNULIB_FTELLO 1416 GNULIB_FTELL 1417 GNULIB_FSEEKO 1418 GNULIB_FSEEK 1419 GNULIB_FSCANF 1420 GNULIB_FREOPEN 1421 GNULIB_FREAD 1422 GNULIB_FPUTS 1423 GNULIB_FPUTC 1424 GNULIB_FPURGE 1425 GNULIB_FPRINTF_POSIX 1426 GNULIB_FPRINTF 1427 GNULIB_FOPEN 1428 GNULIB_FGETS 1429 GNULIB_FGETC 1430 GNULIB_FFLUSH 1431 GNULIB_FDOPEN 1432 GNULIB_FCLOSE 1433 GNULIB_DPRINTF 1434 REPLACE_ITOLD 1435 GL_GENERATE_FLOAT_H_FALSE 1436 GL_GENERATE_FLOAT_H_TRUE 1437 FLOAT_H 1438 NEXT_AS_FIRST_DIRECTIVE_FLOAT_H 1439 NEXT_FLOAT_H 1440 NEXT_AS_FIRST_DIRECTIVE_FCNTL_H 1441 NEXT_FCNTL_H 1442 REPLACE_OPENAT 1443 REPLACE_OPEN 1444 REPLACE_FCNTL 1445 HAVE_OPENAT 1446 HAVE_FCNTL 1447 GNULIB_OPENAT 1448 GNULIB_OPEN 1449 GNULIB_NONBLOCKING 1450 GNULIB_FCNTL 1451 EOVERFLOW_VALUE 1452 EOVERFLOW_HIDDEN 1453 ENOLINK_VALUE 1454 ENOLINK_HIDDEN 1455 EMULTIHOP_VALUE 1456 EMULTIHOP_HIDDEN 1457 GL_GENERATE_ERRNO_H_FALSE 1458 GL_GENERATE_ERRNO_H_TRUE 1459 ERRNO_H 1460 NEXT_AS_FIRST_DIRECTIVE_ERRNO_H 1461 NEXT_ERRNO_H 1462 PRAGMA_COLUMNS 1463 PRAGMA_SYSTEM_HEADER 1464 INCLUDE_NEXT_AS_FIRST_DIRECTIVE 1465 INCLUDE_NEXT 1466 pkglibexecdir 1467 lispdir 1468 HAVE_WINSOCK2_H 1469 HAVE_MSVC_INVALID_PARAMETER_HANDLER 1470 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS 1471 UNISTD_H_HAVE_WINSOCK2_H 1472 REPLACE_WRITE 1473 REPLACE_USLEEP 1474 REPLACE_UNLINKAT 1475 REPLACE_UNLINK 1476 REPLACE_TTYNAME_R 1477 REPLACE_SYMLINK 1478 REPLACE_SLEEP 1479 REPLACE_RMDIR 1480 REPLACE_READLINK 1481 REPLACE_READ 1482 REPLACE_PWRITE 1483 REPLACE_PREAD 1484 REPLACE_LSEEK 1485 REPLACE_LINKAT 1486 REPLACE_LINK 1487 REPLACE_LCHOWN 1488 REPLACE_ISATTY 1489 REPLACE_GETPAGESIZE 1490 REPLACE_GETGROUPS 1491 REPLACE_GETLOGIN_R 1492 REPLACE_GETDOMAINNAME 1493 REPLACE_GETCWD 1494 REPLACE_FTRUNCATE 1495 REPLACE_FCHOWNAT 1496 REPLACE_DUP2 1497 REPLACE_DUP 1498 REPLACE_CLOSE 1499 REPLACE_CHOWN 1500 HAVE_SYS_PARAM_H 1501 HAVE_OS_H 1502 HAVE_DECL_TTYNAME_R 1503 HAVE_DECL_SETHOSTNAME 1504 HAVE_DECL_GETUSERSHELL 1505 HAVE_DECL_GETPAGESIZE 1506 HAVE_DECL_GETLOGIN_R 1507 HAVE_DECL_GETDOMAINNAME 1508 HAVE_DECL_FDATASYNC 1509 HAVE_DECL_FCHDIR 1510 HAVE_DECL_ENVIRON 1511 HAVE_USLEEP 1512 HAVE_UNLINKAT 1513 HAVE_SYMLINKAT 1514 HAVE_SYMLINK 1515 HAVE_SLEEP 1516 HAVE_SETHOSTNAME 1517 HAVE_READLINKAT 1518 HAVE_READLINK 1519 HAVE_PWRITE 1520 HAVE_PREAD 1521 HAVE_PIPE2 1522 HAVE_PIPE 1523 HAVE_LINKAT 1524 HAVE_LINK 1525 HAVE_LCHOWN 1526 HAVE_GROUP_MEMBER 1527 HAVE_GETPAGESIZE 1528 HAVE_GETLOGIN 1529 HAVE_GETHOSTNAME 1530 HAVE_GETGROUPS 1531 HAVE_GETDTABLESIZE 1532 HAVE_FTRUNCATE 1533 HAVE_FSYNC 1534 HAVE_FDATASYNC 1535 HAVE_FCHOWNAT 1536 HAVE_FCHDIR 1537 HAVE_FACCESSAT 1538 HAVE_EUIDACCESS 1539 HAVE_DUP3 1540 HAVE_DUP2 1541 HAVE_CHOWN 1542 GNULIB_WRITE 1543 GNULIB_USLEEP 1544 GNULIB_UNLINKAT 1545 GNULIB_UNLINK 1546 GNULIB_UNISTD_H_SIGPIPE 1547 GNULIB_UNISTD_H_NONBLOCKING 1548 GNULIB_TTYNAME_R 1549 GNULIB_SYMLINKAT 1550 GNULIB_SYMLINK 1551 GNULIB_SLEEP 1552 GNULIB_SETHOSTNAME 1553 GNULIB_RMDIR 1554 GNULIB_READLINKAT 1555 GNULIB_READLINK 1556 GNULIB_READ 1557 GNULIB_PWRITE 1558 GNULIB_PREAD 1559 GNULIB_PIPE2 1560 GNULIB_PIPE 1561 GNULIB_LSEEK 1562 GNULIB_LINKAT 1563 GNULIB_LINK 1564 GNULIB_LCHOWN 1565 GNULIB_ISATTY 1566 GNULIB_GROUP_MEMBER 1567 GNULIB_GETUSERSHELL 1568 GNULIB_GETPAGESIZE 1569 GNULIB_GETLOGIN_R 1570 GNULIB_GETLOGIN 1571 GNULIB_GETHOSTNAME 1572 GNULIB_GETGROUPS 1573 GNULIB_GETDTABLESIZE 1574 GNULIB_GETDOMAINNAME 1575 GNULIB_GETCWD 1576 GNULIB_FTRUNCATE 1577 GNULIB_FSYNC 1578 GNULIB_FDATASYNC 1579 GNULIB_FCHOWNAT 1580 GNULIB_FCHDIR 1581 GNULIB_FACCESSAT 1582 GNULIB_EUIDACCESS 1583 GNULIB_ENVIRON 1584 GNULIB_DUP3 1585 GNULIB_DUP2 1586 GNULIB_DUP 1587 GNULIB_CLOSE 1588 GNULIB_CHOWN 1589 GNULIB_CHDIR 1590 REPLACE_WCTOMB 1591 REPLACE_UNSETENV 1592 REPLACE_STRTOD 1593 REPLACE_SETENV 1594 REPLACE_REALPATH 1595 REPLACE_REALLOC 1596 REPLACE_RANDOM_R 1597 REPLACE_PUTENV 1598 REPLACE_PTSNAME_R 1599 REPLACE_PTSNAME 1600 REPLACE_MKSTEMP 1601 REPLACE_MBTOWC 1602 REPLACE_MALLOC 1603 REPLACE_CANONICALIZE_FILE_NAME 1604 REPLACE_CALLOC 1605 HAVE_DECL_UNSETENV 1606 HAVE_UNLOCKPT 1607 HAVE_SYS_LOADAVG_H 1608 HAVE_STRUCT_RANDOM_DATA 1609 HAVE_STRTOULL 1610 HAVE_STRTOLL 1611 HAVE_STRTOD 1612 HAVE_DECL_SETENV 1613 HAVE_SETENV 1614 HAVE_RPMATCH 1615 HAVE_REALPATH 1616 HAVE_RANDOM_R 1617 HAVE_RANDOM_H 1618 HAVE_RANDOM 1619 HAVE_PTSNAME_R 1620 HAVE_PTSNAME 1621 HAVE_POSIX_OPENPT 1622 HAVE_MKSTEMPS 1623 HAVE_MKSTEMP 1624 HAVE_MKOSTEMPS 1625 HAVE_MKOSTEMP 1626 HAVE_MKDTEMP 1627 HAVE_GRANTPT 1628 HAVE_GETSUBOPT 1629 HAVE_DECL_GETLOADAVG 1630 HAVE_CANONICALIZE_FILE_NAME 1631 HAVE_ATOLL 1632 HAVE__EXIT 1633 GNULIB_WCTOMB 1634 GNULIB_UNSETENV 1635 GNULIB_UNLOCKPT 1636 GNULIB_SYSTEM_POSIX 1637 GNULIB_STRTOULL 1638 GNULIB_STRTOLL 1639 GNULIB_STRTOD 1640 GNULIB_SETENV 1641 GNULIB_RPMATCH 1642 GNULIB_REALPATH 1643 GNULIB_REALLOC_POSIX 1644 GNULIB_RANDOM_R 1645 GNULIB_RANDOM 1646 GNULIB_PUTENV 1647 GNULIB_PTSNAME_R 1648 GNULIB_PTSNAME 1649 GNULIB_POSIX_OPENPT 1650 GNULIB_MKSTEMPS 1651 GNULIB_MKSTEMP 1652 GNULIB_MKOSTEMPS 1653 GNULIB_MKOSTEMP 1654 GNULIB_MKDTEMP 1655 GNULIB_MBTOWC 1656 GNULIB_MALLOC_POSIX 1657 GNULIB_GRANTPT 1658 GNULIB_GETSUBOPT 1659 GNULIB_GETLOADAVG 1660 GNULIB_CANONICALIZE_FILE_NAME 1661 GNULIB_CALLOC_POSIX 1662 GNULIB_ATOLL 1663 GNULIB__EXIT 1664 GL_GENERATE_ALLOCA_H_FALSE 1665 GL_GENERATE_ALLOCA_H_TRUE 1666 ALLOCA_H 1667 ALLOCA 1668 GL_COND_LIBTOOL_FALSE 1669 GL_COND_LIBTOOL_TRUE 1670 XSLTPROC 1671 HELP2MAN 1672 PERL 1673 M4_DEBUGFILE 1674 M4_GNU 1675 M4 1676 YFLAGS 1677 YACC 1678 LEXLIB 1679 LEX_OUTPUT_ROOT 1680 LEX_IS_FLEX 1681 LEX 1682 DOT 1683 YACC_LIBRARY 1684 YACC_SCRIPT 1685 CXX_COMPILER_POSIXLY_CORRECT 1686 BISON_CXX_WORKS_FALSE 1687 BISON_CXX_WORKS_TRUE 1688 BISON_CXX_WORKS 1689 C_COMPILER_POSIXLY_CORRECT 1690 BISON_C_WORKS 1691 WARN_CXXFLAGS_TEST 1692 WERROR_CXXFLAGS 1693 WARN_CXXFLAGS 1694 WARN_CFLAGS_TEST 1695 WERROR_CFLAGS 1696 WARN_CFLAGS 1697 host_os 1698 host_vendor 1699 host_cpu 1700 host 1701 build_os 1702 build_vendor 1703 build_cpu 1704 build 1705 RANLIB 1706 ARFLAGS 1707 AR 1708 EGREP 1709 GREP 1710 CPP 1711 am__fastdepCXX_FALSE 1712 am__fastdepCXX_TRUE 1713 CXXDEPMODE 1714 ac_ct_CXX 1715 CXXFLAGS 1716 CXX 1717 am__fastdepCC_FALSE 1718 am__fastdepCC_TRUE 1719 CCDEPMODE 1720 am__nodep 1721 AMDEPBACKSLASH 1722 AMDEP_FALSE 1723 AMDEP_TRUE 1724 am__quote 1725 am__include 1726 DEPDIR 1727 OBJEXT 1728 EXEEXT 1729 ac_ct_CC 1730 CPPFLAGS 1731 LDFLAGS 1732 CFLAGS 1733 CC 1734 AM_BACKSLASH 1735 AM_DEFAULT_VERBOSITY 1736 AM_DEFAULT_V 1737 AM_V 1738 am__untar 1739 am__tar 1740 AMTAR 1741 am__leading_dot 1742 SET_MAKE 1743 AWK 1744 mkdir_p 1745 MKDIR_P 1746 INSTALL_STRIP_PROGRAM 1747 STRIP 1748 install_sh 1749 MAKEINFO 1750 AUTOHEADER 1751 AUTOMAKE 1752 AUTOCONF 1753 ACLOCAL 1754 VERSION 1755 PACKAGE 1756 CYGPATH_W 1757 am__isrc 1758 INSTALL_DATA 1759 INSTALL_SCRIPT 1760 INSTALL_PROGRAM 1761 PACKAGE_COPYRIGHT_YEAR 1762 target_alias 1763 host_alias 1764 build_alias 1765 LIBS 1766 ECHO_T 1767 ECHO_N 1768 ECHO_C 1769 DEFS 1770 mandir 1771 localedir 1772 libdir 1773 psdir 1774 pdfdir 1775 dvidir 1776 htmldir 1777 infodir 1778 docdir 1779 oldincludedir 1780 includedir 1781 localstatedir 1782 sharedstatedir 1783 sysconfdir 1784 datadir 1785 datarootdir 1786 libexecdir 1787 sbindir 1788 bindir 1789 program_transform_name 1790 prefix 1791 exec_prefix 1792 PACKAGE_URL 1793 PACKAGE_BUGREPORT 1794 PACKAGE_STRING 1795 PACKAGE_VERSION 1796 PACKAGE_TARNAME 1797 PACKAGE_NAME 1798 PATH_SEPARATOR 1799 SHELL' 1800 ac_subst_files='' 1801 ac_user_opts=' 1802 enable_option_checking 1803 enable_silent_rules 1804 enable_dependency_tracking 1805 enable_largefile 1806 enable_threads 1807 enable_gcc_warnings 1808 enable_yacc 1809 enable_assert 1810 with_gnu_ld 1811 enable_rpath 1812 with_libpth_prefix 1813 with_dmalloc 1814 enable_nls 1815 with_libiconv_prefix 1816 with_libintl_prefix 1817 ' 1818 ac_precious_vars='build_alias 1819 host_alias 1820 target_alias 1821 CC 1822 CFLAGS 1823 LDFLAGS 1824 LIBS 1825 CPPFLAGS 1826 CXX 1827 CXXFLAGS 1828 CCC 1829 CPP 1830 YACC 1831 YFLAGS 1832 M4' 1833 1834 1835 # Initialize some variables set by options. 1836 ac_init_help= 1837 ac_init_version=false 1838 ac_unrecognized_opts= 1839 ac_unrecognized_sep= 1840 # The variables have the same names as the options, with 1841 # dashes changed to underlines. 1842 cache_file=/dev/null 1843 exec_prefix=NONE 1844 no_create= 1845 no_recursion= 1846 prefix=NONE 1847 program_prefix=NONE 1848 program_suffix=NONE 1849 program_transform_name=s,x,x, 1850 silent= 1851 site= 1852 srcdir= 1853 verbose= 1854 x_includes=NONE 1855 x_libraries=NONE 1856 1857 # Installation directory options. 1858 # These are left unexpanded so users can "make install exec_prefix=/foo" 1859 # and all the variables that are supposed to be based on exec_prefix 1860 # by default will actually change. 1861 # Use braces instead of parens because sh, perl, etc. also accept them. 1862 # (The list follows the same order as the GNU Coding Standards.) 1863 bindir='${exec_prefix}/bin' 1864 sbindir='${exec_prefix}/sbin' 1865 libexecdir='${exec_prefix}/libexec' 1866 datarootdir='${prefix}/share' 1867 datadir='${datarootdir}' 1868 sysconfdir='${prefix}/etc' 1869 sharedstatedir='${prefix}/com' 1870 localstatedir='${prefix}/var' 1871 includedir='${prefix}/include' 1872 oldincludedir='/usr/include' 1873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1874 infodir='${datarootdir}/info' 1875 htmldir='${docdir}' 1876 dvidir='${docdir}' 1877 pdfdir='${docdir}' 1878 psdir='${docdir}' 1879 libdir='${exec_prefix}/lib' 1880 localedir='${datarootdir}/locale' 1881 mandir='${datarootdir}/man' 1882 1883 ac_prev= 1884 ac_dashdash= 1885 for ac_option 1886 do 1887 # If the previous option needs an argument, assign it. 1888 if test -n "$ac_prev"; then 1889 eval $ac_prev=\$ac_option 1890 ac_prev= 1891 continue 1892 fi 1893 1894 case $ac_option in 1895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1896 *=) ac_optarg= ;; 1897 *) ac_optarg=yes ;; 1898 esac 1899 1900 # Accept the important Cygnus configure options, so we can diagnose typos. 1901 1902 case $ac_dashdash$ac_option in 1903 --) 1904 ac_dashdash=yes ;; 1905 1906 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1907 ac_prev=bindir ;; 1908 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1909 bindir=$ac_optarg ;; 1910 1911 -build | --build | --buil | --bui | --bu) 1912 ac_prev=build_alias ;; 1913 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1914 build_alias=$ac_optarg ;; 1915 1916 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1917 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1918 ac_prev=cache_file ;; 1919 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1920 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1921 cache_file=$ac_optarg ;; 1922 1923 --config-cache | -C) 1924 cache_file=config.cache ;; 1925 1926 -datadir | --datadir | --datadi | --datad) 1927 ac_prev=datadir ;; 1928 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1929 datadir=$ac_optarg ;; 1930 1931 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1932 | --dataroo | --dataro | --datar) 1933 ac_prev=datarootdir ;; 1934 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1935 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1936 datarootdir=$ac_optarg ;; 1937 1938 -disable-* | --disable-*) 1939 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1940 # Reject names that are not valid shell variable names. 1941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1942 as_fn_error $? "invalid feature name: $ac_useropt" 1943 ac_useropt_orig=$ac_useropt 1944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1945 case $ac_user_opts in 1946 *" 1947 "enable_$ac_useropt" 1948 "*) ;; 1949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1950 ac_unrecognized_sep=', ';; 1951 esac 1952 eval enable_$ac_useropt=no ;; 1953 1954 -docdir | --docdir | --docdi | --doc | --do) 1955 ac_prev=docdir ;; 1956 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1957 docdir=$ac_optarg ;; 1958 1959 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1960 ac_prev=dvidir ;; 1961 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1962 dvidir=$ac_optarg ;; 1963 1964 -enable-* | --enable-*) 1965 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1966 # Reject names that are not valid shell variable names. 1967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1968 as_fn_error $? "invalid feature name: $ac_useropt" 1969 ac_useropt_orig=$ac_useropt 1970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1971 case $ac_user_opts in 1972 *" 1973 "enable_$ac_useropt" 1974 "*) ;; 1975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1976 ac_unrecognized_sep=', ';; 1977 esac 1978 eval enable_$ac_useropt=\$ac_optarg ;; 1979 1980 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1981 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1982 | --exec | --exe | --ex) 1983 ac_prev=exec_prefix ;; 1984 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1985 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1986 | --exec=* | --exe=* | --ex=*) 1987 exec_prefix=$ac_optarg ;; 1988 1989 -gas | --gas | --ga | --g) 1990 # Obsolete; use --with-gas. 1991 with_gas=yes ;; 1992 1993 -help | --help | --hel | --he | -h) 1994 ac_init_help=long ;; 1995 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1996 ac_init_help=recursive ;; 1997 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1998 ac_init_help=short ;; 1999 2000 -host | --host | --hos | --ho) 2001 ac_prev=host_alias ;; 2002 -host=* | --host=* | --hos=* | --ho=*) 2003 host_alias=$ac_optarg ;; 2004 2005 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 2006 ac_prev=htmldir ;; 2007 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 2008 | --ht=*) 2009 htmldir=$ac_optarg ;; 2010 2011 -includedir | --includedir | --includedi | --included | --include \ 2012 | --includ | --inclu | --incl | --inc) 2013 ac_prev=includedir ;; 2014 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 2015 | --includ=* | --inclu=* | --incl=* | --inc=*) 2016 includedir=$ac_optarg ;; 2017 2018 -infodir | --infodir | --infodi | --infod | --info | --inf) 2019 ac_prev=infodir ;; 2020 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 2021 infodir=$ac_optarg ;; 2022 2023 -libdir | --libdir | --libdi | --libd) 2024 ac_prev=libdir ;; 2025 -libdir=* | --libdir=* | --libdi=* | --libd=*) 2026 libdir=$ac_optarg ;; 2027 2028 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 2029 | --libexe | --libex | --libe) 2030 ac_prev=libexecdir ;; 2031 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 2032 | --libexe=* | --libex=* | --libe=*) 2033 libexecdir=$ac_optarg ;; 2034 2035 -localedir | --localedir | --localedi | --localed | --locale) 2036 ac_prev=localedir ;; 2037 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 2038 localedir=$ac_optarg ;; 2039 2040 -localstatedir | --localstatedir | --localstatedi | --localstated \ 2041 | --localstate | --localstat | --localsta | --localst | --locals) 2042 ac_prev=localstatedir ;; 2043 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 2044 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 2045 localstatedir=$ac_optarg ;; 2046 2047 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 2048 ac_prev=mandir ;; 2049 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 2050 mandir=$ac_optarg ;; 2051 2052 -nfp | --nfp | --nf) 2053 # Obsolete; use --without-fp. 2054 with_fp=no ;; 2055 2056 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 2057 | --no-cr | --no-c | -n) 2058 no_create=yes ;; 2059 2060 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 2061 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 2062 no_recursion=yes ;; 2063 2064 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 2065 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 2066 | --oldin | --oldi | --old | --ol | --o) 2067 ac_prev=oldincludedir ;; 2068 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 2069 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 2070 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 2071 oldincludedir=$ac_optarg ;; 2072 2073 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 2074 ac_prev=prefix ;; 2075 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 2076 prefix=$ac_optarg ;; 2077 2078 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 2079 | --program-pre | --program-pr | --program-p) 2080 ac_prev=program_prefix ;; 2081 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 2082 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 2083 program_prefix=$ac_optarg ;; 2084 2085 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 2086 | --program-suf | --program-su | --program-s) 2087 ac_prev=program_suffix ;; 2088 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 2089 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 2090 program_suffix=$ac_optarg ;; 2091 2092 -program-transform-name | --program-transform-name \ 2093 | --program-transform-nam | --program-transform-na \ 2094 | --program-transform-n | --program-transform- \ 2095 | --program-transform | --program-transfor \ 2096 | --program-transfo | --program-transf \ 2097 | --program-trans | --program-tran \ 2098 | --progr-tra | --program-tr | --program-t) 2099 ac_prev=program_transform_name ;; 2100 -program-transform-name=* | --program-transform-name=* \ 2101 | --program-transform-nam=* | --program-transform-na=* \ 2102 | --program-transform-n=* | --program-transform-=* \ 2103 | --program-transform=* | --program-transfor=* \ 2104 | --program-transfo=* | --program-transf=* \ 2105 | --program-trans=* | --program-tran=* \ 2106 | --progr-tra=* | --program-tr=* | --program-t=*) 2107 program_transform_name=$ac_optarg ;; 2108 2109 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 2110 ac_prev=pdfdir ;; 2111 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 2112 pdfdir=$ac_optarg ;; 2113 2114 -psdir | --psdir | --psdi | --psd | --ps) 2115 ac_prev=psdir ;; 2116 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 2117 psdir=$ac_optarg ;; 2118 2119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2120 | -silent | --silent | --silen | --sile | --sil) 2121 silent=yes ;; 2122 2123 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 2124 ac_prev=sbindir ;; 2125 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 2126 | --sbi=* | --sb=*) 2127 sbindir=$ac_optarg ;; 2128 2129 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 2130 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 2131 | --sharedst | --shareds | --shared | --share | --shar \ 2132 | --sha | --sh) 2133 ac_prev=sharedstatedir ;; 2134 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 2135 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 2136 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 2137 | --sha=* | --sh=*) 2138 sharedstatedir=$ac_optarg ;; 2139 2140 -site | --site | --sit) 2141 ac_prev=site ;; 2142 -site=* | --site=* | --sit=*) 2143 site=$ac_optarg ;; 2144 2145 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 2146 ac_prev=srcdir ;; 2147 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 2148 srcdir=$ac_optarg ;; 2149 2150 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 2151 | --syscon | --sysco | --sysc | --sys | --sy) 2152 ac_prev=sysconfdir ;; 2153 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 2154 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 2155 sysconfdir=$ac_optarg ;; 2156 2157 -target | --target | --targe | --targ | --tar | --ta | --t) 2158 ac_prev=target_alias ;; 2159 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 2160 target_alias=$ac_optarg ;; 2161 2162 -v | -verbose | --verbose | --verbos | --verbo | --verb) 2163 verbose=yes ;; 2164 2165 -version | --version | --versio | --versi | --vers | -V) 2166 ac_init_version=: ;; 2167 2168 -with-* | --with-*) 2169 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 2170 # Reject names that are not valid shell variable names. 2171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 2172 as_fn_error $? "invalid package name: $ac_useropt" 2173 ac_useropt_orig=$ac_useropt 2174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 2175 case $ac_user_opts in 2176 *" 2177 "with_$ac_useropt" 2178 "*) ;; 2179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 2180 ac_unrecognized_sep=', ';; 2181 esac 2182 eval with_$ac_useropt=\$ac_optarg ;; 2183 2184 -without-* | --without-*) 2185 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 2186 # Reject names that are not valid shell variable names. 2187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 2188 as_fn_error $? "invalid package name: $ac_useropt" 2189 ac_useropt_orig=$ac_useropt 2190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 2191 case $ac_user_opts in 2192 *" 2193 "with_$ac_useropt" 2194 "*) ;; 2195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 2196 ac_unrecognized_sep=', ';; 2197 esac 2198 eval with_$ac_useropt=no ;; 2199 2200 --x) 2201 # Obsolete; use --with-x. 2202 with_x=yes ;; 2203 2204 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 2205 | --x-incl | --x-inc | --x-in | --x-i) 2206 ac_prev=x_includes ;; 2207 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 2208 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 2209 x_includes=$ac_optarg ;; 2210 2211 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 2212 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 2213 ac_prev=x_libraries ;; 2214 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 2215 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 2216 x_libraries=$ac_optarg ;; 2217 2218 -*) as_fn_error $? "unrecognized option: \`$ac_option' 2219 Try \`$0 --help' for more information" 2220 ;; 2221 2222 *=*) 2223 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 2224 # Reject names that are not valid shell variable names. 2225 case $ac_envvar in #( 2226 '' | [0-9]* | *[!_$as_cr_alnum]* ) 2227 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 2228 esac 2229 eval $ac_envvar=\$ac_optarg 2230 export $ac_envvar ;; 2231 2232 *) 2233 # FIXME: should be removed in autoconf 3.0. 2234 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 2235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 2236 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 2237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 2238 ;; 2239 2240 esac 2241 done 2242 2243 if test -n "$ac_prev"; then 2244 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 2245 as_fn_error $? "missing argument to $ac_option" 2246 fi 2247 2248 if test -n "$ac_unrecognized_opts"; then 2249 case $enable_option_checking in 2250 no) ;; 2251 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 2252 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 2253 esac 2254 fi 2255 2256 # Check all directory arguments for consistency. 2257 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 2258 datadir sysconfdir sharedstatedir localstatedir includedir \ 2259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 2260 libdir localedir mandir 2261 do 2262 eval ac_val=\$$ac_var 2263 # Remove trailing slashes. 2264 case $ac_val in 2265 */ ) 2266 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 2267 eval $ac_var=\$ac_val;; 2268 esac 2269 # Be sure to have absolute directory names. 2270 case $ac_val in 2271 [\\/$]* | ?:[\\/]* ) continue;; 2272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 2273 esac 2274 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 2275 done 2276 2277 # There might be people who depend on the old broken behavior: `$host' 2278 # used to hold the argument of --host etc. 2279 # FIXME: To remove some day. 2280 build=$build_alias 2281 host=$host_alias 2282 target=$target_alias 2283 2284 # FIXME: To remove some day. 2285 if test "x$host_alias" != x; then 2286 if test "x$build_alias" = x; then 2287 cross_compiling=maybe 2288 elif test "x$build_alias" != "x$host_alias"; then 2289 cross_compiling=yes 2290 fi 2291 fi 2292 2293 ac_tool_prefix= 2294 test -n "$host_alias" && ac_tool_prefix=$host_alias- 2295 2296 test "$silent" = yes && exec 6>/dev/null 2297 2298 2299 ac_pwd=`pwd` && test -n "$ac_pwd" && 2300 ac_ls_di=`ls -di .` && 2301 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 2302 as_fn_error $? "working directory cannot be determined" 2303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 2304 as_fn_error $? "pwd does not report name of working directory" 2305 2306 2307 # Find the source files, if location was not specified. 2308 if test -z "$srcdir"; then 2309 ac_srcdir_defaulted=yes 2310 # Try the directory containing this script, then the parent directory. 2311 ac_confdir=`$as_dirname -- "$as_myself" || 2312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2313 X"$as_myself" : 'X\(//\)[^/]' \| \ 2314 X"$as_myself" : 'X\(//\)$' \| \ 2315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 2316 $as_echo X"$as_myself" | 2317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2318 s//\1/ 2319 q 2320 } 2321 /^X\(\/\/\)[^/].*/{ 2322 s//\1/ 2323 q 2324 } 2325 /^X\(\/\/\)$/{ 2326 s//\1/ 2327 q 2328 } 2329 /^X\(\/\).*/{ 2330 s//\1/ 2331 q 2332 } 2333 s/.*/./; q'` 2334 srcdir=$ac_confdir 2335 if test ! -r "$srcdir/$ac_unique_file"; then 2336 srcdir=.. 2337 fi 2338 else 2339 ac_srcdir_defaulted=no 2340 fi 2341 if test ! -r "$srcdir/$ac_unique_file"; then 2342 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 2343 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 2344 fi 2345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 2346 ac_abs_confdir=`( 2347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 2348 pwd)` 2349 # When building in place, set srcdir=. 2350 if test "$ac_abs_confdir" = "$ac_pwd"; then 2351 srcdir=. 2352 fi 2353 # Remove unnecessary trailing slashes from srcdir. 2354 # Double slashes in file names in object file debugging info 2355 # mess up M-x gdb in Emacs. 2356 case $srcdir in 2357 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 2358 esac 2359 for ac_var in $ac_precious_vars; do 2360 eval ac_env_${ac_var}_set=\${${ac_var}+set} 2361 eval ac_env_${ac_var}_value=\$${ac_var} 2362 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 2363 eval ac_cv_env_${ac_var}_value=\$${ac_var} 2364 done 2365 2366 # 2367 # Report the --help message. 2368 # 2369 if test "$ac_init_help" = "long"; then 2370 # Omit some internal or obsolete options to make the list less imposing. 2371 # This message is too long to be a string in the A/UX 3.1 sh. 2372 cat <<_ACEOF 2373 \`configure' configures GNU Bison 2.7 to adapt to many kinds of systems. 2374 2375 Usage: $0 [OPTION]... [VAR=VALUE]... 2376 2377 To assign environment variables (e.g., CC, CFLAGS...), specify them as 2378 VAR=VALUE. See below for descriptions of some of the useful variables. 2379 2380 Defaults for the options are specified in brackets. 2381 2382 Configuration: 2383 -h, --help display this help and exit 2384 --help=short display options specific to this package 2385 --help=recursive display the short help of all the included packages 2386 -V, --version display version information and exit 2387 -q, --quiet, --silent do not print \`checking ...' messages 2388 --cache-file=FILE cache test results in FILE [disabled] 2389 -C, --config-cache alias for \`--cache-file=config.cache' 2390 -n, --no-create do not create output files 2391 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 2392 2393 Installation directories: 2394 --prefix=PREFIX install architecture-independent files in PREFIX 2395 [$ac_default_prefix] 2396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 2397 [PREFIX] 2398 2399 By default, \`make install' will install all the files in 2400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 2401 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 2402 for instance \`--prefix=\$HOME'. 2403 2404 For better control, use the options below. 2405 2406 Fine tuning of the installation directories: 2407 --bindir=DIR user executables [EPREFIX/bin] 2408 --sbindir=DIR system admin executables [EPREFIX/sbin] 2409 --libexecdir=DIR program executables [EPREFIX/libexec] 2410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 2411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 2412 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 2413 --libdir=DIR object code libraries [EPREFIX/lib] 2414 --includedir=DIR C header files [PREFIX/include] 2415 --oldincludedir=DIR C header files for non-gcc [/usr/include] 2416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 2417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 2418 --infodir=DIR info documentation [DATAROOTDIR/info] 2419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 2420 --mandir=DIR man documentation [DATAROOTDIR/man] 2421 --docdir=DIR documentation root [DATAROOTDIR/doc/bison] 2422 --htmldir=DIR html documentation [DOCDIR] 2423 --dvidir=DIR dvi documentation [DOCDIR] 2424 --pdfdir=DIR pdf documentation [DOCDIR] 2425 --psdir=DIR ps documentation [DOCDIR] 2426 _ACEOF 2427 2428 cat <<\_ACEOF 2429 2430 Program names: 2431 --program-prefix=PREFIX prepend PREFIX to installed program names 2432 --program-suffix=SUFFIX append SUFFIX to installed program names 2433 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 2434 2435 System types: 2436 --build=BUILD configure for building on BUILD [guessed] 2437 --host=HOST cross-compile to build programs to run on HOST [BUILD] 2438 _ACEOF 2439 fi 2440 2441 if test -n "$ac_init_help"; then 2442 case $ac_init_help in 2443 short | recursive ) echo "Configuration of GNU Bison 2.7:";; 2444 esac 2445 cat <<\_ACEOF 2446 2447 Optional Features: 2448 --disable-option-checking ignore unrecognized --enable/--with options 2449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 2450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 2451 --enable-silent-rules less verbose build output (undo: "make V=1") 2452 --disable-silent-rules verbose build output (undo: "make V=0") 2453 --enable-dependency-tracking 2454 do not reject slow dependency extractors 2455 --disable-dependency-tracking 2456 speeds up one-time build 2457 --disable-largefile omit support for large files 2458 --enable-threads={posix|solaris|pth|windows} 2459 specify multithreading API 2460 --disable-threads build without multithread safety 2461 --enable-gcc-warnings turn on lots of GCC warnings (not recommended) 2462 --disable-yacc do not build a yacc command or an -ly library 2463 --disable-assert turn off assertions 2464 --disable-rpath do not hardcode runtime library paths 2465 --disable-nls do not use Native Language Support 2466 2467 Optional Packages: 2468 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 2469 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 2470 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 2471 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib 2472 --without-libpth-prefix don't search for libpth in includedir and libdir 2473 --with-dmalloc use dmalloc, as in 2474 http://www.dmalloc.com/dmalloc.tar.gz 2475 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 2476 --without-libiconv-prefix don't search for libiconv in includedir and libdir 2477 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 2478 --without-libintl-prefix don't search for libintl in includedir and libdir 2479 2480 Some influential environment variables: 2481 CC C compiler command 2482 CFLAGS C compiler flags 2483 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 2484 nonstandard directory <lib dir> 2485 LIBS libraries to pass to the linker, e.g. -l<library> 2486 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 2487 you have headers in a nonstandard directory <include dir> 2488 CXX C++ compiler command 2489 CXXFLAGS C++ compiler flags 2490 CPP C preprocessor 2491 YACC The `Yet Another Compiler Compiler' implementation to use. 2492 Defaults to the first program found out of: `bison -y', `byacc', 2493 `yacc'. 2494 YFLAGS The list of arguments that will be passed by default to $YACC. 2495 This script will default YFLAGS to the empty string to avoid a 2496 default value of `-d' given by some make applications. 2497 M4 Location of GNU M4 1.4.6 or later. Defaults to the first program 2498 of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs. 2499 2500 Use these variables to override the choices made by `configure' or to help 2501 it to find libraries and programs with nonstandard names/locations. 2502 2503 Report bugs to <bug-bison@gnu.org>. 2504 GNU Bison home page: <http://www.gnu.org/software/bison/>. 2505 General help using GNU software: <http://www.gnu.org/gethelp/>. 2506 _ACEOF 2507 ac_status=$? 2508 fi 2509 2510 if test "$ac_init_help" = "recursive"; then 2511 # If there are subdirs, report their specific --help. 2512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 2513 test -d "$ac_dir" || 2514 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 2515 continue 2516 ac_builddir=. 2517 2518 case "$ac_dir" in 2519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2520 *) 2521 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2522 # A ".." for each directory in $ac_dir_suffix. 2523 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2524 case $ac_top_builddir_sub in 2525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 2526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 2527 esac ;; 2528 esac 2529 ac_abs_top_builddir=$ac_pwd 2530 ac_abs_builddir=$ac_pwd$ac_dir_suffix 2531 # for backward compatibility: 2532 ac_top_builddir=$ac_top_build_prefix 2533 2534 case $srcdir in 2535 .) # We are building in place. 2536 ac_srcdir=. 2537 ac_top_srcdir=$ac_top_builddir_sub 2538 ac_abs_top_srcdir=$ac_pwd ;; 2539 [\\/]* | ?:[\\/]* ) # Absolute name. 2540 ac_srcdir=$srcdir$ac_dir_suffix; 2541 ac_top_srcdir=$srcdir 2542 ac_abs_top_srcdir=$srcdir ;; 2543 *) # Relative name. 2544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 2545 ac_top_srcdir=$ac_top_build_prefix$srcdir 2546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 2547 esac 2548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 2549 2550 cd "$ac_dir" || { ac_status=$?; continue; } 2551 # Check for guested configure. 2552 if test -f "$ac_srcdir/configure.gnu"; then 2553 echo && 2554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 2555 elif test -f "$ac_srcdir/configure"; then 2556 echo && 2557 $SHELL "$ac_srcdir/configure" --help=recursive 2558 else 2559 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 2560 fi || ac_status=$? 2561 cd "$ac_pwd" || { ac_status=$?; break; } 2562 done 2563 fi 2564 2565 test -n "$ac_init_help" && exit $ac_status 2566 if $ac_init_version; then 2567 cat <<\_ACEOF 2568 GNU Bison configure 2.7 2569 generated by GNU Autoconf 2.69 2570 2571 Copyright (C) 2012 Free Software Foundation, Inc. 2572 This configure script is free software; the Free Software Foundation 2573 gives unlimited permission to copy, distribute and modify it. 2574 _ACEOF 2575 exit 2576 fi 2577 2578 ## ------------------------ ## 2579 ## Autoconf initialization. ## 2580 ## ------------------------ ## 2581 2582 # ac_fn_c_try_compile LINENO 2583 # -------------------------- 2584 # Try to compile conftest.$ac_ext, and return whether this succeeded. 2585 ac_fn_c_try_compile () 2586 { 2587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2588 rm -f conftest.$ac_objext 2589 if { { ac_try="$ac_compile" 2590 case "(($ac_try" in 2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2592 *) ac_try_echo=$ac_try;; 2593 esac 2594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2595 $as_echo "$ac_try_echo"; } >&5 2596 (eval "$ac_compile") 2>conftest.err 2597 ac_status=$? 2598 if test -s conftest.err; then 2599 grep -v '^ *+' conftest.err >conftest.er1 2600 cat conftest.er1 >&5 2601 mv -f conftest.er1 conftest.err 2602 fi 2603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2604 test $ac_status = 0; } && { 2605 test -z "$ac_c_werror_flag" || 2606 test ! -s conftest.err 2607 } && test -s conftest.$ac_objext; then : 2608 ac_retval=0 2609 else 2610 $as_echo "$as_me: failed program was:" >&5 2611 sed 's/^/| /' conftest.$ac_ext >&5 2612 2613 ac_retval=1 2614 fi 2615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2616 as_fn_set_status $ac_retval 2617 2618 } # ac_fn_c_try_compile 2619 2620 # ac_fn_cxx_try_compile LINENO 2621 # ---------------------------- 2622 # Try to compile conftest.$ac_ext, and return whether this succeeded. 2623 ac_fn_cxx_try_compile () 2624 { 2625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2626 rm -f conftest.$ac_objext 2627 if { { ac_try="$ac_compile" 2628 case "(($ac_try" in 2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2630 *) ac_try_echo=$ac_try;; 2631 esac 2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2633 $as_echo "$ac_try_echo"; } >&5 2634 (eval "$ac_compile") 2>conftest.err 2635 ac_status=$? 2636 if test -s conftest.err; then 2637 grep -v '^ *+' conftest.err >conftest.er1 2638 cat conftest.er1 >&5 2639 mv -f conftest.er1 conftest.err 2640 fi 2641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2642 test $ac_status = 0; } && { 2643 test -z "$ac_cxx_werror_flag" || 2644 test ! -s conftest.err 2645 } && test -s conftest.$ac_objext; then : 2646 ac_retval=0 2647 else 2648 $as_echo "$as_me: failed program was:" >&5 2649 sed 's/^/| /' conftest.$ac_ext >&5 2650 2651 ac_retval=1 2652 fi 2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2654 as_fn_set_status $ac_retval 2655 2656 } # ac_fn_cxx_try_compile 2657 2658 # ac_fn_c_try_cpp LINENO 2659 # ---------------------- 2660 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2661 ac_fn_c_try_cpp () 2662 { 2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2664 if { { ac_try="$ac_cpp conftest.$ac_ext" 2665 case "(($ac_try" in 2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2667 *) ac_try_echo=$ac_try;; 2668 esac 2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2670 $as_echo "$ac_try_echo"; } >&5 2671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2672 ac_status=$? 2673 if test -s conftest.err; then 2674 grep -v '^ *+' conftest.err >conftest.er1 2675 cat conftest.er1 >&5 2676 mv -f conftest.er1 conftest.err 2677 fi 2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2679 test $ac_status = 0; } > conftest.i && { 2680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2681 test ! -s conftest.err 2682 }; then : 2683 ac_retval=0 2684 else 2685 $as_echo "$as_me: failed program was:" >&5 2686 sed 's/^/| /' conftest.$ac_ext >&5 2687 2688 ac_retval=1 2689 fi 2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2691 as_fn_set_status $ac_retval 2692 2693 } # ac_fn_c_try_cpp 2694 2695 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2696 # ------------------------------------------------------- 2697 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2698 # the include files in INCLUDES and setting the cache variable VAR 2699 # accordingly. 2700 ac_fn_c_check_header_mongrel () 2701 { 2702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2703 if eval \${$3+:} false; then : 2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2705 $as_echo_n "checking for $2... " >&6; } 2706 if eval \${$3+:} false; then : 2707 $as_echo_n "(cached) " >&6 2708 fi 2709 eval ac_res=\$$3 2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2711 $as_echo "$ac_res" >&6; } 2712 else 2713 # Is the header compilable? 2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2715 $as_echo_n "checking $2 usability... " >&6; } 2716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2717 /* end confdefs.h. */ 2718 $4 2719 #include <$2> 2720 _ACEOF 2721 if ac_fn_c_try_compile "$LINENO"; then : 2722 ac_header_compiler=yes 2723 else 2724 ac_header_compiler=no 2725 fi 2726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2728 $as_echo "$ac_header_compiler" >&6; } 2729 2730 # Is the header present? 2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2732 $as_echo_n "checking $2 presence... " >&6; } 2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2734 /* end confdefs.h. */ 2735 #include <$2> 2736 _ACEOF 2737 if ac_fn_c_try_cpp "$LINENO"; then : 2738 ac_header_preproc=yes 2739 else 2740 ac_header_preproc=no 2741 fi 2742 rm -f conftest.err conftest.i conftest.$ac_ext 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2744 $as_echo "$ac_header_preproc" >&6; } 2745 2746 # So? What about this header? 2747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2748 yes:no: ) 2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2750 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2752 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2753 ;; 2754 no:yes:* ) 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2756 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2758 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2760 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2762 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2765 ( $as_echo "## -------------------------------- ## 2766 ## Report this to bug-bison (at] gnu.org ## 2767 ## -------------------------------- ##" 2768 ) | sed "s/^/$as_me: WARNING: /" >&2 2769 ;; 2770 esac 2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2772 $as_echo_n "checking for $2... " >&6; } 2773 if eval \${$3+:} false; then : 2774 $as_echo_n "(cached) " >&6 2775 else 2776 eval "$3=\$ac_header_compiler" 2777 fi 2778 eval ac_res=\$$3 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2780 $as_echo "$ac_res" >&6; } 2781 fi 2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2783 2784 } # ac_fn_c_check_header_mongrel 2785 2786 # ac_fn_c_try_run LINENO 2787 # ---------------------- 2788 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2789 # that executables *can* be run. 2790 ac_fn_c_try_run () 2791 { 2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2793 if { { ac_try="$ac_link" 2794 case "(($ac_try" in 2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2796 *) ac_try_echo=$ac_try;; 2797 esac 2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2799 $as_echo "$ac_try_echo"; } >&5 2800 (eval "$ac_link") 2>&5 2801 ac_status=$? 2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2803 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2804 { { case "(($ac_try" in 2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2806 *) ac_try_echo=$ac_try;; 2807 esac 2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2809 $as_echo "$ac_try_echo"; } >&5 2810 (eval "$ac_try") 2>&5 2811 ac_status=$? 2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2813 test $ac_status = 0; }; }; then : 2814 ac_retval=0 2815 else 2816 $as_echo "$as_me: program exited with status $ac_status" >&5 2817 $as_echo "$as_me: failed program was:" >&5 2818 sed 's/^/| /' conftest.$ac_ext >&5 2819 2820 ac_retval=$ac_status 2821 fi 2822 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2824 as_fn_set_status $ac_retval 2825 2826 } # ac_fn_c_try_run 2827 2828 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2829 # ------------------------------------------------------- 2830 # Tests whether HEADER exists and can be compiled using the include files in 2831 # INCLUDES, setting the cache variable VAR accordingly. 2832 ac_fn_c_check_header_compile () 2833 { 2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2836 $as_echo_n "checking for $2... " >&6; } 2837 if eval \${$3+:} false; then : 2838 $as_echo_n "(cached) " >&6 2839 else 2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2841 /* end confdefs.h. */ 2842 $4 2843 #include <$2> 2844 _ACEOF 2845 if ac_fn_c_try_compile "$LINENO"; then : 2846 eval "$3=yes" 2847 else 2848 eval "$3=no" 2849 fi 2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2851 fi 2852 eval ac_res=\$$3 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2854 $as_echo "$ac_res" >&6; } 2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2856 2857 } # ac_fn_c_check_header_compile 2858 2859 # ac_fn_c_try_link LINENO 2860 # ----------------------- 2861 # Try to link conftest.$ac_ext, and return whether this succeeded. 2862 ac_fn_c_try_link () 2863 { 2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2865 rm -f conftest.$ac_objext conftest$ac_exeext 2866 if { { ac_try="$ac_link" 2867 case "(($ac_try" in 2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2869 *) ac_try_echo=$ac_try;; 2870 esac 2871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2872 $as_echo "$ac_try_echo"; } >&5 2873 (eval "$ac_link") 2>conftest.err 2874 ac_status=$? 2875 if test -s conftest.err; then 2876 grep -v '^ *+' conftest.err >conftest.er1 2877 cat conftest.er1 >&5 2878 mv -f conftest.er1 conftest.err 2879 fi 2880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2881 test $ac_status = 0; } && { 2882 test -z "$ac_c_werror_flag" || 2883 test ! -s conftest.err 2884 } && test -s conftest$ac_exeext && { 2885 test "$cross_compiling" = yes || 2886 test -x conftest$ac_exeext 2887 }; then : 2888 ac_retval=0 2889 else 2890 $as_echo "$as_me: failed program was:" >&5 2891 sed 's/^/| /' conftest.$ac_ext >&5 2892 2893 ac_retval=1 2894 fi 2895 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2896 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2897 # interfere with the next link command; also delete a directory that is 2898 # left behind by Apple's compiler. We do this before executing the actions. 2899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2901 as_fn_set_status $ac_retval 2902 2903 } # ac_fn_c_try_link 2904 2905 # ac_fn_cxx_try_link LINENO 2906 # ------------------------- 2907 # Try to link conftest.$ac_ext, and return whether this succeeded. 2908 ac_fn_cxx_try_link () 2909 { 2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2911 rm -f conftest.$ac_objext conftest$ac_exeext 2912 if { { ac_try="$ac_link" 2913 case "(($ac_try" in 2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *) ac_try_echo=$ac_try;; 2916 esac 2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2918 $as_echo "$ac_try_echo"; } >&5 2919 (eval "$ac_link") 2>conftest.err 2920 ac_status=$? 2921 if test -s conftest.err; then 2922 grep -v '^ *+' conftest.err >conftest.er1 2923 cat conftest.er1 >&5 2924 mv -f conftest.er1 conftest.err 2925 fi 2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2927 test $ac_status = 0; } && { 2928 test -z "$ac_cxx_werror_flag" || 2929 test ! -s conftest.err 2930 } && test -s conftest$ac_exeext && { 2931 test "$cross_compiling" = yes || 2932 test -x conftest$ac_exeext 2933 }; then : 2934 ac_retval=0 2935 else 2936 $as_echo "$as_me: failed program was:" >&5 2937 sed 's/^/| /' conftest.$ac_ext >&5 2938 2939 ac_retval=1 2940 fi 2941 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2942 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2943 # interfere with the next link command; also delete a directory that is 2944 # left behind by Apple's compiler. We do this before executing the actions. 2945 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2947 as_fn_set_status $ac_retval 2948 2949 } # ac_fn_cxx_try_link 2950 2951 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2952 # ------------------------------------------- 2953 # Tests whether TYPE exists after having included INCLUDES, setting cache 2954 # variable VAR accordingly. 2955 ac_fn_c_check_type () 2956 { 2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2959 $as_echo_n "checking for $2... " >&6; } 2960 if eval \${$3+:} false; then : 2961 $as_echo_n "(cached) " >&6 2962 else 2963 eval "$3=no" 2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2965 /* end confdefs.h. */ 2966 $4 2967 int 2968 main () 2969 { 2970 if (sizeof ($2)) 2971 return 0; 2972 ; 2973 return 0; 2974 } 2975 _ACEOF 2976 if ac_fn_c_try_compile "$LINENO"; then : 2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2978 /* end confdefs.h. */ 2979 $4 2980 int 2981 main () 2982 { 2983 if (sizeof (($2))) 2984 return 0; 2985 ; 2986 return 0; 2987 } 2988 _ACEOF 2989 if ac_fn_c_try_compile "$LINENO"; then : 2990 2991 else 2992 eval "$3=yes" 2993 fi 2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2995 fi 2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2997 fi 2998 eval ac_res=\$$3 2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 3000 $as_echo "$ac_res" >&6; } 3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 3002 3003 } # ac_fn_c_check_type 3004 3005 # ac_fn_c_check_func LINENO FUNC VAR 3006 # ---------------------------------- 3007 # Tests whether FUNC exists, setting the cache variable VAR accordingly 3008 ac_fn_c_check_func () 3009 { 3010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 3012 $as_echo_n "checking for $2... " >&6; } 3013 if eval \${$3+:} false; then : 3014 $as_echo_n "(cached) " >&6 3015 else 3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3017 /* end confdefs.h. */ 3018 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 3019 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3020 #define $2 innocuous_$2 3021 3022 /* System header to define __stub macros and hopefully few prototypes, 3023 which can conflict with char $2 (); below. 3024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3025 <limits.h> exists even on freestanding compilers. */ 3026 3027 #ifdef __STDC__ 3028 # include <limits.h> 3029 #else 3030 # include <assert.h> 3031 #endif 3032 3033 #undef $2 3034 3035 /* Override any GCC internal prototype to avoid an error. 3036 Use char because int might match the return type of a GCC 3037 builtin and then its argument prototype would still apply. */ 3038 #ifdef __cplusplus 3039 extern "C" 3040 #endif 3041 char $2 (); 3042 /* The GNU C library defines this for functions which it implements 3043 to always fail with ENOSYS. Some functions are actually named 3044 something starting with __ and the normal name is an alias. */ 3045 #if defined __stub_$2 || defined __stub___$2 3046 choke me 3047 #endif 3048 3049 int 3050 main () 3051 { 3052 return $2 (); 3053 ; 3054 return 0; 3055 } 3056 _ACEOF 3057 if ac_fn_c_try_link "$LINENO"; then : 3058 eval "$3=yes" 3059 else 3060 eval "$3=no" 3061 fi 3062 rm -f core conftest.err conftest.$ac_objext \ 3063 conftest$ac_exeext conftest.$ac_ext 3064 fi 3065 eval ac_res=\$$3 3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 3067 $as_echo "$ac_res" >&6; } 3068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 3069 3070 } # ac_fn_c_check_func 3071 3072 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 3073 # -------------------------------------------- 3074 # Tries to find the compile-time value of EXPR in a program that includes 3075 # INCLUDES, setting VAR accordingly. Returns whether the value could be 3076 # computed 3077 ac_fn_c_compute_int () 3078 { 3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3080 if test "$cross_compiling" = yes; then 3081 # Depending upon the size, compute the lo and hi bounds. 3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3083 /* end confdefs.h. */ 3084 $4 3085 int 3086 main () 3087 { 3088 static int test_array [1 - 2 * !(($2) >= 0)]; 3089 test_array [0] = 0; 3090 return test_array [0]; 3091 3092 ; 3093 return 0; 3094 } 3095 _ACEOF 3096 if ac_fn_c_try_compile "$LINENO"; then : 3097 ac_lo=0 ac_mid=0 3098 while :; do 3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3100 /* end confdefs.h. */ 3101 $4 3102 int 3103 main () 3104 { 3105 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 3106 test_array [0] = 0; 3107 return test_array [0]; 3108 3109 ; 3110 return 0; 3111 } 3112 _ACEOF 3113 if ac_fn_c_try_compile "$LINENO"; then : 3114 ac_hi=$ac_mid; break 3115 else 3116 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 3117 if test $ac_lo -le $ac_mid; then 3118 ac_lo= ac_hi= 3119 break 3120 fi 3121 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 3122 fi 3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3124 done 3125 else 3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3127 /* end confdefs.h. */ 3128 $4 3129 int 3130 main () 3131 { 3132 static int test_array [1 - 2 * !(($2) < 0)]; 3133 test_array [0] = 0; 3134 return test_array [0]; 3135 3136 ; 3137 return 0; 3138 } 3139 _ACEOF 3140 if ac_fn_c_try_compile "$LINENO"; then : 3141 ac_hi=-1 ac_mid=-1 3142 while :; do 3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3144 /* end confdefs.h. */ 3145 $4 3146 int 3147 main () 3148 { 3149 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 3150 test_array [0] = 0; 3151 return test_array [0]; 3152 3153 ; 3154 return 0; 3155 } 3156 _ACEOF 3157 if ac_fn_c_try_compile "$LINENO"; then : 3158 ac_lo=$ac_mid; break 3159 else 3160 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 3161 if test $ac_mid -le $ac_hi; then 3162 ac_lo= ac_hi= 3163 break 3164 fi 3165 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 3166 fi 3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3168 done 3169 else 3170 ac_lo= ac_hi= 3171 fi 3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3173 fi 3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3175 # Binary search between lo and hi bounds. 3176 while test "x$ac_lo" != "x$ac_hi"; do 3177 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3179 /* end confdefs.h. */ 3180 $4 3181 int 3182 main () 3183 { 3184 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 3185 test_array [0] = 0; 3186 return test_array [0]; 3187 3188 ; 3189 return 0; 3190 } 3191 _ACEOF 3192 if ac_fn_c_try_compile "$LINENO"; then : 3193 ac_hi=$ac_mid 3194 else 3195 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 3196 fi 3197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3198 done 3199 case $ac_lo in #(( 3200 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 3201 '') ac_retval=1 ;; 3202 esac 3203 else 3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3205 /* end confdefs.h. */ 3206 $4 3207 static long int longval () { return $2; } 3208 static unsigned long int ulongval () { return $2; } 3209 #include <stdio.h> 3210 #include <stdlib.h> 3211 int 3212 main () 3213 { 3214 3215 FILE *f = fopen ("conftest.val", "w"); 3216 if (! f) 3217 return 1; 3218 if (($2) < 0) 3219 { 3220 long int i = longval (); 3221 if (i != ($2)) 3222 return 1; 3223 fprintf (f, "%ld", i); 3224 } 3225 else 3226 { 3227 unsigned long int i = ulongval (); 3228 if (i != ($2)) 3229 return 1; 3230 fprintf (f, "%lu", i); 3231 } 3232 /* Do not output a trailing newline, as this causes \r\n confusion 3233 on some platforms. */ 3234 return ferror (f) || fclose (f) != 0; 3235 3236 ; 3237 return 0; 3238 } 3239 _ACEOF 3240 if ac_fn_c_try_run "$LINENO"; then : 3241 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 3242 else 3243 ac_retval=1 3244 fi 3245 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3246 conftest.$ac_objext conftest.beam conftest.$ac_ext 3247 rm -f conftest.val 3248 3249 fi 3250 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 3251 as_fn_set_status $ac_retval 3252 3253 } # ac_fn_c_compute_int 3254 3255 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 3256 # --------------------------------------------- 3257 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 3258 # accordingly. 3259 ac_fn_c_check_decl () 3260 { 3261 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3262 as_decl_name=`echo $2|sed 's/ *(.*//'` 3263 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 3265 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 3266 if eval \${$3+:} false; then : 3267 $as_echo_n "(cached) " >&6 3268 else 3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3270 /* end confdefs.h. */ 3271 $4 3272 int 3273 main () 3274 { 3275 #ifndef $as_decl_name 3276 #ifdef __cplusplus 3277 (void) $as_decl_use; 3278 #else 3279 (void) $as_decl_name; 3280 #endif 3281 #endif 3282 3283 ; 3284 return 0; 3285 } 3286 _ACEOF 3287 if ac_fn_c_try_compile "$LINENO"; then : 3288 eval "$3=yes" 3289 else 3290 eval "$3=no" 3291 fi 3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3293 fi 3294 eval ac_res=\$$3 3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 3296 $as_echo "$ac_res" >&6; } 3297 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 3298 3299 } # ac_fn_c_check_decl 3300 3301 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 3302 # ---------------------------------------------------- 3303 # Tries to find if the field MEMBER exists in type AGGR, after including 3304 # INCLUDES, setting cache variable VAR accordingly. 3305 ac_fn_c_check_member () 3306 { 3307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 3309 $as_echo_n "checking for $2.$3... " >&6; } 3310 if eval \${$4+:} false; then : 3311 $as_echo_n "(cached) " >&6 3312 else 3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3314 /* end confdefs.h. */ 3315 $5 3316 int 3317 main () 3318 { 3319 static $2 ac_aggr; 3320 if (ac_aggr.$3) 3321 return 0; 3322 ; 3323 return 0; 3324 } 3325 _ACEOF 3326 if ac_fn_c_try_compile "$LINENO"; then : 3327 eval "$4=yes" 3328 else 3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3330 /* end confdefs.h. */ 3331 $5 3332 int 3333 main () 3334 { 3335 static $2 ac_aggr; 3336 if (sizeof ac_aggr.$3) 3337 return 0; 3338 ; 3339 return 0; 3340 } 3341 _ACEOF 3342 if ac_fn_c_try_compile "$LINENO"; then : 3343 eval "$4=yes" 3344 else 3345 eval "$4=no" 3346 fi 3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3348 fi 3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3350 fi 3351 eval ac_res=\$$4 3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 3353 $as_echo "$ac_res" >&6; } 3354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 3355 3356 } # ac_fn_c_check_member 3357 cat >config.log <<_ACEOF 3358 This file contains any messages produced by compilers while 3359 running configure, to aid debugging if configure makes a mistake. 3360 3361 It was created by GNU Bison $as_me 2.7, which was 3362 generated by GNU Autoconf 2.69. Invocation command line was 3363 3364 $ $0 $@ 3365 3366 _ACEOF 3367 exec 5>>config.log 3368 { 3369 cat <<_ASUNAME 3370 ## --------- ## 3371 ## Platform. ## 3372 ## --------- ## 3373 3374 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 3375 uname -m = `(uname -m) 2>/dev/null || echo unknown` 3376 uname -r = `(uname -r) 2>/dev/null || echo unknown` 3377 uname -s = `(uname -s) 2>/dev/null || echo unknown` 3378 uname -v = `(uname -v) 2>/dev/null || echo unknown` 3379 3380 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 3381 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 3382 3383 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 3384 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 3385 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 3386 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 3387 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 3388 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 3389 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 3390 3391 _ASUNAME 3392 3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3394 for as_dir in $PATH 3395 do 3396 IFS=$as_save_IFS 3397 test -z "$as_dir" && as_dir=. 3398 $as_echo "PATH: $as_dir" 3399 done 3400 IFS=$as_save_IFS 3401 3402 } >&5 3403 3404 cat >&5 <<_ACEOF 3405 3406 3407 ## ----------- ## 3408 ## Core tests. ## 3409 ## ----------- ## 3410 3411 _ACEOF 3412 3413 3414 # Keep a trace of the command line. 3415 # Strip out --no-create and --no-recursion so they do not pile up. 3416 # Strip out --silent because we don't want to record it for future runs. 3417 # Also quote any args containing shell meta-characters. 3418 # Make two passes to allow for proper duplicate-argument suppression. 3419 ac_configure_args= 3420 ac_configure_args0= 3421 ac_configure_args1= 3422 ac_must_keep_next=false 3423 for ac_pass in 1 2 3424 do 3425 for ac_arg 3426 do 3427 case $ac_arg in 3428 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 3429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3430 | -silent | --silent | --silen | --sile | --sil) 3431 continue ;; 3432 *\'*) 3433 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 3434 esac 3435 case $ac_pass in 3436 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 3437 2) 3438 as_fn_append ac_configure_args1 " '$ac_arg'" 3439 if test $ac_must_keep_next = true; then 3440 ac_must_keep_next=false # Got value, back to normal. 3441 else 3442 case $ac_arg in 3443 *=* | --config-cache | -C | -disable-* | --disable-* \ 3444 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 3445 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 3446 | -with-* | --with-* | -without-* | --without-* | --x) 3447 case "$ac_configure_args0 " in 3448 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 3449 esac 3450 ;; 3451 -* ) ac_must_keep_next=true ;; 3452 esac 3453 fi 3454 as_fn_append ac_configure_args " '$ac_arg'" 3455 ;; 3456 esac 3457 done 3458 done 3459 { ac_configure_args0=; unset ac_configure_args0;} 3460 { ac_configure_args1=; unset ac_configure_args1;} 3461 3462 # When interrupted or exit'd, cleanup temporary files, and complete 3463 # config.log. We remove comments because anyway the quotes in there 3464 # would cause problems or look ugly. 3465 # WARNING: Use '\'' to represent an apostrophe within the trap. 3466 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 3467 trap 'exit_status=$? 3468 # Save into config.log some information that might help in debugging. 3469 { 3470 echo 3471 3472 $as_echo "## ---------------- ## 3473 ## Cache variables. ## 3474 ## ---------------- ##" 3475 echo 3476 # The following way of writing the cache mishandles newlines in values, 3477 ( 3478 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 3479 eval ac_val=\$$ac_var 3480 case $ac_val in #( 3481 *${as_nl}*) 3482 case $ac_var in #( 3483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3485 esac 3486 case $ac_var in #( 3487 _ | IFS | as_nl) ;; #( 3488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3489 *) { eval $ac_var=; unset $ac_var;} ;; 3490 esac ;; 3491 esac 3492 done 3493 (set) 2>&1 | 3494 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 3495 *${as_nl}ac_space=\ *) 3496 sed -n \ 3497 "s/'\''/'\''\\\\'\'''\''/g; 3498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 3499 ;; #( 3500 *) 3501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3502 ;; 3503 esac | 3504 sort 3505 ) 3506 echo 3507 3508 $as_echo "## ----------------- ## 3509 ## Output variables. ## 3510 ## ----------------- ##" 3511 echo 3512 for ac_var in $ac_subst_vars 3513 do 3514 eval ac_val=\$$ac_var 3515 case $ac_val in 3516 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3517 esac 3518 $as_echo "$ac_var='\''$ac_val'\''" 3519 done | sort 3520 echo 3521 3522 if test -n "$ac_subst_files"; then 3523 $as_echo "## ------------------- ## 3524 ## File substitutions. ## 3525 ## ------------------- ##" 3526 echo 3527 for ac_var in $ac_subst_files 3528 do 3529 eval ac_val=\$$ac_var 3530 case $ac_val in 3531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 3532 esac 3533 $as_echo "$ac_var='\''$ac_val'\''" 3534 done | sort 3535 echo 3536 fi 3537 3538 if test -s confdefs.h; then 3539 $as_echo "## ----------- ## 3540 ## confdefs.h. ## 3541 ## ----------- ##" 3542 echo 3543 cat confdefs.h 3544 echo 3545 fi 3546 test "$ac_signal" != 0 && 3547 $as_echo "$as_me: caught signal $ac_signal" 3548 $as_echo "$as_me: exit $exit_status" 3549 } >&5 3550 rm -f core *.core core.conftest.* && 3551 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 3552 exit $exit_status 3553 ' 0 3554 for ac_signal in 1 2 13 15; do 3555 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 3556 done 3557 ac_signal=0 3558 3559 # confdefs.h avoids OS command line length limits that DEFS can exceed. 3560 rm -f -r conftest* confdefs.h 3561 3562 $as_echo "/* confdefs.h */" > confdefs.h 3563 3564 # Predefined preprocessor variables. 3565 3566 cat >>confdefs.h <<_ACEOF 3567 #define PACKAGE_NAME "$PACKAGE_NAME" 3568 _ACEOF 3569 3570 cat >>confdefs.h <<_ACEOF 3571 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 3572 _ACEOF 3573 3574 cat >>confdefs.h <<_ACEOF 3575 #define PACKAGE_VERSION "$PACKAGE_VERSION" 3576 _ACEOF 3577 3578 cat >>confdefs.h <<_ACEOF 3579 #define PACKAGE_STRING "$PACKAGE_STRING" 3580 _ACEOF 3581 3582 cat >>confdefs.h <<_ACEOF 3583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 3584 _ACEOF 3585 3586 cat >>confdefs.h <<_ACEOF 3587 #define PACKAGE_URL "$PACKAGE_URL" 3588 _ACEOF 3589 3590 3591 # Let the site file select an alternate cache file if it wants to. 3592 # Prefer an explicitly selected file to automatically selected ones. 3593 ac_site_file1=NONE 3594 ac_site_file2=NONE 3595 if test -n "$CONFIG_SITE"; then 3596 # We do not want a PATH search for config.site. 3597 case $CONFIG_SITE in #(( 3598 -*) ac_site_file1=./$CONFIG_SITE;; 3599 */*) ac_site_file1=$CONFIG_SITE;; 3600 *) ac_site_file1=./$CONFIG_SITE;; 3601 esac 3602 elif test "x$prefix" != xNONE; then 3603 ac_site_file1=$prefix/share/config.site 3604 ac_site_file2=$prefix/etc/config.site 3605 else 3606 ac_site_file1=$ac_default_prefix/share/config.site 3607 ac_site_file2=$ac_default_prefix/etc/config.site 3608 fi 3609 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3610 do 3611 test "x$ac_site_file" = xNONE && continue 3612 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3613 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3614 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 3615 sed 's/^/| /' "$ac_site_file" >&5 3616 . "$ac_site_file" \ 3617 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3619 as_fn_error $? "failed to load site script $ac_site_file 3620 See \`config.log' for more details" "$LINENO" 5; } 3621 fi 3622 done 3623 3624 if test -r "$cache_file"; then 3625 # Some versions of bash will fail to source /dev/null (special files 3626 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3627 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3629 $as_echo "$as_me: loading cache $cache_file" >&6;} 3630 case $cache_file in 3631 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3632 *) . "./$cache_file";; 3633 esac 3634 fi 3635 else 3636 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3637 $as_echo "$as_me: creating cache $cache_file" >&6;} 3638 >$cache_file 3639 fi 3640 3641 as_fn_append ac_header_list " locale.h" 3642 as_fn_append ac_func_list " _set_invalid_parameter_handler" 3643 as_fn_append ac_header_list " sys/socket.h" 3644 as_fn_append ac_header_list " unistd.h" 3645 as_fn_append ac_func_list " fcntl" 3646 as_fn_append ac_func_list " symlink" 3647 as_fn_append ac_header_list " stdio_ext.h" 3648 as_fn_append ac_func_list " __fpending" 3649 as_fn_append ac_func_list " vasnprintf" 3650 as_fn_append ac_header_list " features.h" 3651 as_fn_append ac_func_list " snprintf" 3652 as_fn_append ac_func_list " alarm" 3653 as_fn_append ac_func_list " __fseterr" 3654 as_fn_append ac_header_list " sys/stat.h" 3655 as_fn_append ac_func_list " getdelim" 3656 as_fn_append ac_func_list " getdtablesize" 3657 gl_getopt_required=GNU 3658 as_fn_append ac_header_list " getopt.h" 3659 as_fn_append ac_header_list " wchar.h" 3660 as_fn_append ac_header_list " stdint.h" 3661 as_fn_append ac_header_list " inttypes.h" 3662 as_fn_append ac_func_list " iswcntrl" 3663 as_fn_append ac_header_list " wctype.h" 3664 as_fn_append ac_func_list " iswblank" 3665 as_fn_append ac_header_list " math.h" 3666 as_fn_append ac_func_list " mbsinit" 3667 as_fn_append ac_func_list " mbrtowc" 3668 as_fn_append ac_func_list " isascii" 3669 as_fn_append ac_header_list " sys/mman.h" 3670 as_fn_append ac_func_list " mprotect" 3671 as_fn_append ac_func_list " obstack_printf" 3672 as_fn_append ac_func_list " lstat" 3673 as_fn_append ac_header_list " sys/param.h" 3674 as_fn_append ac_func_list " strerror_r" 3675 as_fn_append ac_func_list " __xpg_strerror_r" 3676 as_fn_append ac_func_list " pipe2" 3677 as_fn_append ac_func_list " posix_spawn" 3678 gl_printf_safe=yes 3679 as_fn_append ac_header_list " sched.h" 3680 as_fn_append ac_func_list " sigaction" 3681 as_fn_append ac_func_list " sigaltstack" 3682 as_fn_append ac_func_list " siginterrupt" 3683 as_fn_append ac_header_list " spawn.h" 3684 as_fn_append ac_func_list " strdup" 3685 as_fn_append ac_func_list " catgets" 3686 as_fn_append ac_func_list " strndup" 3687 as_fn_append ac_header_list " sys/wait.h" 3688 as_fn_append ac_header_list " sys/time.h" 3689 as_fn_append ac_func_list " pipe" 3690 as_fn_append ac_func_list " wcwidth" 3691 as_fn_append ac_func_list " setlocale" 3692 gt_needs="$gt_needs need-ngettext" 3693 # Check that the precious variables saved in the cache have kept the same 3694 # value. 3695 ac_cache_corrupted=false 3696 for ac_var in $ac_precious_vars; do 3697 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3698 eval ac_new_set=\$ac_env_${ac_var}_set 3699 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3700 eval ac_new_val=\$ac_env_${ac_var}_value 3701 case $ac_old_set,$ac_new_set in 3702 set,) 3703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3704 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3705 ac_cache_corrupted=: ;; 3706 ,set) 3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3708 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3709 ac_cache_corrupted=: ;; 3710 ,);; 3711 *) 3712 if test "x$ac_old_val" != "x$ac_new_val"; then 3713 # differences in whitespace do not lead to failure. 3714 ac_old_val_w=`echo x $ac_old_val` 3715 ac_new_val_w=`echo x $ac_new_val` 3716 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3718 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3719 ac_cache_corrupted=: 3720 else 3721 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3722 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3723 eval $ac_var=\$ac_old_val 3724 fi 3725 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3726 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3728 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3729 fi;; 3730 esac 3731 # Pass precious variables to config.status. 3732 if test "$ac_new_set" = set; then 3733 case $ac_new_val in 3734 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3735 *) ac_arg=$ac_var=$ac_new_val ;; 3736 esac 3737 case " $ac_configure_args " in 3738 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3739 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3740 esac 3741 fi 3742 done 3743 if $ac_cache_corrupted; then 3744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3747 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3748 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3749 fi 3750 ## -------------------- ## 3751 ## Main body of script. ## 3752 ## -------------------- ## 3753 3754 ac_ext=c 3755 ac_cpp='$CPP $CPPFLAGS' 3756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3758 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3759 3760 3761 PACKAGE_COPYRIGHT_YEAR=2012 3762 3763 3764 cat >>confdefs.h <<_ACEOF 3765 #define PACKAGE_COPYRIGHT_YEAR $PACKAGE_COPYRIGHT_YEAR 3766 _ACEOF 3767 3768 3769 ac_aux_dir= 3770 for ac_dir in build-aux "$srcdir"/build-aux; do 3771 if test -f "$ac_dir/install-sh"; then 3772 ac_aux_dir=$ac_dir 3773 ac_install_sh="$ac_aux_dir/install-sh -c" 3774 break 3775 elif test -f "$ac_dir/install.sh"; then 3776 ac_aux_dir=$ac_dir 3777 ac_install_sh="$ac_aux_dir/install.sh -c" 3778 break 3779 elif test -f "$ac_dir/shtool"; then 3780 ac_aux_dir=$ac_dir 3781 ac_install_sh="$ac_aux_dir/shtool install -c" 3782 break 3783 fi 3784 done 3785 if test -z "$ac_aux_dir"; then 3786 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 3787 fi 3788 3789 # These three variables are undocumented and unsupported, 3790 # and are intended to be withdrawn in a future Autoconf release. 3791 # They can cause serious problems if a builder's source tree is in a directory 3792 # whose full name contains unusual characters. 3793 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3794 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3795 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3796 3797 3798 3799 3800 # Automake 1.10.3 and 1.11.1 fix a security flaw discussed here: 3801 # 3802 # http://thread.gmane.org/gmane.comp.sysutils.autotools.announce/131 3803 # 3804 # To avoid 1.11, we make 1.11.1 the minimum version. 3805 # 3806 # We want gnits strictness only when rolling a stable release. For 3807 # release candidates, we use version strings like 2.4.3_rc1, but gnits 3808 # doesn't like that, so we let the underscore disable gnits. Between 3809 # releases, we want to be able run make dist without being required to 3810 # add a bogus NEWS entry. In that case, the version string 3811 # automatically contains a dash, which we also let disable gnits. 3812 am__api_version='1.12' 3813 3814 # Find a good install program. We prefer a C program (faster), 3815 # so one script is as good as another. But avoid the broken or 3816 # incompatible versions: 3817 # SysV /etc/install, /usr/sbin/install 3818 # SunOS /usr/etc/install 3819 # IRIX /sbin/install 3820 # AIX /bin/install 3821 # AmigaOS /C/install, which installs bootblocks on floppy discs 3822 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3823 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3824 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3825 # OS/2's system install, which has a completely different semantic 3826 # ./install, which can be erroneously created by make from ./install.sh. 3827 # Reject install programs that cannot install multiple files. 3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3829 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3830 if test -z "$INSTALL"; then 3831 if ${ac_cv_path_install+:} false; then : 3832 $as_echo_n "(cached) " >&6 3833 else 3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3835 for as_dir in $PATH 3836 do 3837 IFS=$as_save_IFS 3838 test -z "$as_dir" && as_dir=. 3839 # Account for people who put trailing slashes in PATH elements. 3840 case $as_dir/ in #(( 3841 ./ | .// | /[cC]/* | \ 3842 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3843 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3844 /usr/ucb/* ) ;; 3845 *) 3846 # OSF1 and SCO ODT 3.0 have their own names for install. 3847 # Don't use installbsd from OSF since it installs stuff as root 3848 # by default. 3849 for ac_prog in ginstall scoinst install; do 3850 for ac_exec_ext in '' $ac_executable_extensions; do 3851 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3852 if test $ac_prog = install && 3853 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3854 # AIX install. It has an incompatible calling convention. 3855 : 3856 elif test $ac_prog = install && 3857 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3858 # program-specific install script used by HP pwplus--don't use. 3859 : 3860 else 3861 rm -rf conftest.one conftest.two conftest.dir 3862 echo one > conftest.one 3863 echo two > conftest.two 3864 mkdir conftest.dir 3865 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3866 test -s conftest.one && test -s conftest.two && 3867 test -s conftest.dir/conftest.one && 3868 test -s conftest.dir/conftest.two 3869 then 3870 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3871 break 3 3872 fi 3873 fi 3874 fi 3875 done 3876 done 3877 ;; 3878 esac 3879 3880 done 3881 IFS=$as_save_IFS 3882 3883 rm -rf conftest.one conftest.two conftest.dir 3884 3885 fi 3886 if test "${ac_cv_path_install+set}" = set; then 3887 INSTALL=$ac_cv_path_install 3888 else 3889 # As a last resort, use the slow shell script. Don't cache a 3890 # value for INSTALL within a source directory, because that will 3891 # break other packages using the cache if that directory is 3892 # removed, or if the value is a relative name. 3893 INSTALL=$ac_install_sh 3894 fi 3895 fi 3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3897 $as_echo "$INSTALL" >&6; } 3898 3899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3900 # It thinks the first close brace ends the variable substitution. 3901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3902 3903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3904 3905 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3906 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3908 $as_echo_n "checking whether build environment is sane... " >&6; } 3909 # Reject unsafe characters in $srcdir or the absolute working directory 3910 # name. Accept space and tab only in the latter. 3911 am_lf=' 3912 ' 3913 case `pwd` in 3914 *[\\\"\#\$\&\'\`$am_lf]*) 3915 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3916 esac 3917 case $srcdir in 3918 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3919 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3920 esac 3921 3922 # Do 'set' in a subshell so we don't clobber the current shell's 3923 # arguments. Must try -L first in case configure is actually a 3924 # symlink; some systems play weird games with the mod time of symlinks 3925 # (eg FreeBSD returns the mod time of the symlink's containing 3926 # directory). 3927 if ( 3928 am_has_slept=no 3929 for am_try in 1 2; do 3930 echo "timestamp, slept: $am_has_slept" > conftest.file 3931 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3932 if test "$*" = "X"; then 3933 # -L didn't work. 3934 set X `ls -t "$srcdir/configure" conftest.file` 3935 fi 3936 if test "$*" != "X $srcdir/configure conftest.file" \ 3937 && test "$*" != "X conftest.file $srcdir/configure"; then 3938 3939 # If neither matched, then we have a broken ls. This can happen 3940 # if, for instance, CONFIG_SHELL is bash and it inherits a 3941 # broken ls alias from the environment. This has actually 3942 # happened. Such a system could not be considered "sane". 3943 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3944 alias in your environment" "$LINENO" 5 3945 fi 3946 if test "$2" = conftest.file || test $am_try -eq 2; then 3947 break 3948 fi 3949 # Just in case. 3950 sleep 1 3951 am_has_slept=yes 3952 done 3953 test "$2" = conftest.file 3954 ) 3955 then 3956 # Ok. 3957 : 3958 else 3959 as_fn_error $? "newly created file is older than distributed files! 3960 Check your system clock" "$LINENO" 5 3961 fi 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3963 $as_echo "yes" >&6; } 3964 # If we didn't sleep, we still need to ensure time stamps of config.status and 3965 # generated files are strictly newer. 3966 am_sleep_pid= 3967 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3968 ( sleep 1 ) & 3969 am_sleep_pid=$! 3970 fi 3971 3972 rm -f conftest.file 3973 3974 test "$program_prefix" != NONE && 3975 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3976 # Use a double $ so make ignores it. 3977 test "$program_suffix" != NONE && 3978 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3979 # Double any \ or $. 3980 # By default was `s,x,x', remove it if useless. 3981 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3982 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3983 3984 # expand $ac_aux_dir to an absolute path 3985 am_aux_dir=`cd $ac_aux_dir && pwd` 3986 3987 if test x"${MISSING+set}" != xset; then 3988 case $am_aux_dir in 3989 *\ * | *\ *) 3990 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3991 *) 3992 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3993 esac 3994 fi 3995 # Use eval to expand $SHELL 3996 if eval "$MISSING --run true"; then 3997 am_missing_run="$MISSING --run " 3998 else 3999 am_missing_run= 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 4001 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 4002 fi 4003 4004 if test x"${install_sh}" != xset; then 4005 case $am_aux_dir in 4006 *\ * | *\ *) 4007 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 4008 *) 4009 install_sh="\${SHELL} $am_aux_dir/install-sh" 4010 esac 4011 fi 4012 4013 # Installed binaries are usually stripped using 'strip' when the user 4014 # run "make install-strip". However 'strip' might not be the right 4015 # tool to use in cross-compilation environments, therefore Automake 4016 # will honor the 'STRIP' environment variable to overrule this program. 4017 if test "$cross_compiling" != no; then 4018 if test -n "$ac_tool_prefix"; then 4019 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4020 set dummy ${ac_tool_prefix}strip; ac_word=$2 4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4022 $as_echo_n "checking for $ac_word... " >&6; } 4023 if ${ac_cv_prog_STRIP+:} false; then : 4024 $as_echo_n "(cached) " >&6 4025 else 4026 if test -n "$STRIP"; then 4027 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4028 else 4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4030 for as_dir in $PATH 4031 do 4032 IFS=$as_save_IFS 4033 test -z "$as_dir" && as_dir=. 4034 for ac_exec_ext in '' $ac_executable_extensions; do 4035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4036 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4038 break 2 4039 fi 4040 done 4041 done 4042 IFS=$as_save_IFS 4043 4044 fi 4045 fi 4046 STRIP=$ac_cv_prog_STRIP 4047 if test -n "$STRIP"; then 4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4049 $as_echo "$STRIP" >&6; } 4050 else 4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4052 $as_echo "no" >&6; } 4053 fi 4054 4055 4056 fi 4057 if test -z "$ac_cv_prog_STRIP"; then 4058 ac_ct_STRIP=$STRIP 4059 # Extract the first word of "strip", so it can be a program name with args. 4060 set dummy strip; ac_word=$2 4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4062 $as_echo_n "checking for $ac_word... " >&6; } 4063 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 4064 $as_echo_n "(cached) " >&6 4065 else 4066 if test -n "$ac_ct_STRIP"; then 4067 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 4068 else 4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4070 for as_dir in $PATH 4071 do 4072 IFS=$as_save_IFS 4073 test -z "$as_dir" && as_dir=. 4074 for ac_exec_ext in '' $ac_executable_extensions; do 4075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4076 ac_cv_prog_ac_ct_STRIP="strip" 4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4078 break 2 4079 fi 4080 done 4081 done 4082 IFS=$as_save_IFS 4083 4084 fi 4085 fi 4086 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4087 if test -n "$ac_ct_STRIP"; then 4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 4089 $as_echo "$ac_ct_STRIP" >&6; } 4090 else 4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4092 $as_echo "no" >&6; } 4093 fi 4094 4095 if test "x$ac_ct_STRIP" = x; then 4096 STRIP=":" 4097 else 4098 case $cross_compiling:$ac_tool_warned in 4099 yes:) 4100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4102 ac_tool_warned=yes ;; 4103 esac 4104 STRIP=$ac_ct_STRIP 4105 fi 4106 else 4107 STRIP="$ac_cv_prog_STRIP" 4108 fi 4109 4110 fi 4111 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 4112 4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 4114 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 4115 if test -z "$MKDIR_P"; then 4116 if ${ac_cv_path_mkdir+:} false; then : 4117 $as_echo_n "(cached) " >&6 4118 else 4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4120 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 4121 do 4122 IFS=$as_save_IFS 4123 test -z "$as_dir" && as_dir=. 4124 for ac_prog in mkdir gmkdir; do 4125 for ac_exec_ext in '' $ac_executable_extensions; do 4126 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 4127 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 4128 'mkdir (GNU coreutils) '* | \ 4129 'mkdir (coreutils) '* | \ 4130 'mkdir (fileutils) '4.1*) 4131 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 4132 break 3;; 4133 esac 4134 done 4135 done 4136 done 4137 IFS=$as_save_IFS 4138 4139 fi 4140 4141 test -d ./--version && rmdir ./--version 4142 if test "${ac_cv_path_mkdir+set}" = set; then 4143 MKDIR_P="$ac_cv_path_mkdir -p" 4144 else 4145 # As a last resort, use the slow shell script. Don't cache a 4146 # value for MKDIR_P within a source directory, because that will 4147 # break other packages using the cache if that directory is 4148 # removed, or if the value is a relative name. 4149 MKDIR_P="$ac_install_sh -d" 4150 fi 4151 fi 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 4153 $as_echo "$MKDIR_P" >&6; } 4154 4155 4156 for ac_prog in gawk mawk nawk awk 4157 do 4158 # Extract the first word of "$ac_prog", so it can be a program name with args. 4159 set dummy $ac_prog; ac_word=$2 4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4161 $as_echo_n "checking for $ac_word... " >&6; } 4162 if ${ac_cv_prog_AWK+:} false; then : 4163 $as_echo_n "(cached) " >&6 4164 else 4165 if test -n "$AWK"; then 4166 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4167 else 4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4169 for as_dir in $PATH 4170 do 4171 IFS=$as_save_IFS 4172 test -z "$as_dir" && as_dir=. 4173 for ac_exec_ext in '' $ac_executable_extensions; do 4174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4175 ac_cv_prog_AWK="$ac_prog" 4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4177 break 2 4178 fi 4179 done 4180 done 4181 IFS=$as_save_IFS 4182 4183 fi 4184 fi 4185 AWK=$ac_cv_prog_AWK 4186 if test -n "$AWK"; then 4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4188 $as_echo "$AWK" >&6; } 4189 else 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4191 $as_echo "no" >&6; } 4192 fi 4193 4194 4195 test -n "$AWK" && break 4196 done 4197 4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4199 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4200 set x ${MAKE-make} 4201 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4202 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4203 $as_echo_n "(cached) " >&6 4204 else 4205 cat >conftest.make <<\_ACEOF 4206 SHELL = /bin/sh 4207 all: 4208 @echo '@@@%%%=$(MAKE)=@@@%%%' 4209 _ACEOF 4210 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4211 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4212 *@@@%%%=?*=@@@%%%*) 4213 eval ac_cv_prog_make_${ac_make}_set=yes;; 4214 *) 4215 eval ac_cv_prog_make_${ac_make}_set=no;; 4216 esac 4217 rm -f conftest.make 4218 fi 4219 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4221 $as_echo "yes" >&6; } 4222 SET_MAKE= 4223 else 4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4225 $as_echo "no" >&6; } 4226 SET_MAKE="MAKE=${MAKE-make}" 4227 fi 4228 4229 rm -rf .tst 2>/dev/null 4230 mkdir .tst 2>/dev/null 4231 if test -d .tst; then 4232 am__leading_dot=. 4233 else 4234 am__leading_dot=_ 4235 fi 4236 rmdir .tst 2>/dev/null 4237 4238 # Check whether --enable-silent-rules was given. 4239 if test "${enable_silent_rules+set}" = set; then : 4240 enableval=$enable_silent_rules; 4241 fi 4242 4243 case $enable_silent_rules in # ((( 4244 yes) AM_DEFAULT_VERBOSITY=0;; 4245 no) AM_DEFAULT_VERBOSITY=1;; 4246 *) AM_DEFAULT_VERBOSITY=1;; 4247 esac 4248 am_make=${MAKE-make} 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 4250 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 4251 if ${am_cv_make_support_nested_variables+:} false; then : 4252 $as_echo_n "(cached) " >&6 4253 else 4254 if $as_echo 'TRUE=$(BAR$(V)) 4255 BAR0=false 4256 BAR1=true 4257 V=1 4258 am__doit: 4259 @$(TRUE) 4260 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 4261 am_cv_make_support_nested_variables=yes 4262 else 4263 am_cv_make_support_nested_variables=no 4264 fi 4265 fi 4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 4267 $as_echo "$am_cv_make_support_nested_variables" >&6; } 4268 if test $am_cv_make_support_nested_variables = yes; then 4269 AM_V='$(V)' 4270 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 4271 else 4272 AM_V=$AM_DEFAULT_VERBOSITY 4273 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 4274 fi 4275 AM_BACKSLASH='\' 4276 4277 if test "`cd $srcdir && pwd`" != "`pwd`"; then 4278 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 4279 # is not polluted with repeated "-I." 4280 am__isrc=' -I$(srcdir)' 4281 # test to see if srcdir already configured 4282 if test -f $srcdir/config.status; then 4283 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 4284 fi 4285 fi 4286 4287 # test whether we have cygpath 4288 if test -z "$CYGPATH_W"; then 4289 if (cygpath --version) >/dev/null 2>/dev/null; then 4290 CYGPATH_W='cygpath -w' 4291 else 4292 CYGPATH_W=echo 4293 fi 4294 fi 4295 4296 4297 # Define the identity of the package. 4298 PACKAGE='bison' 4299 VERSION='2.7' 4300 4301 4302 cat >>confdefs.h <<_ACEOF 4303 #define PACKAGE "$PACKAGE" 4304 _ACEOF 4305 4306 4307 cat >>confdefs.h <<_ACEOF 4308 #define VERSION "$VERSION" 4309 _ACEOF 4310 4311 # Some tools Automake needs. 4312 4313 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4314 4315 4316 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4317 4318 4319 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4320 4321 4322 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4323 4324 4325 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4326 4327 # For better backward compatibility. To be removed once Automake 1.9.x 4328 # dies out for good. For more background, see: 4329 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 4330 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 4331 mkdir_p='$(MKDIR_P)' 4332 4333 # We need awk for the "check" target. The system "awk" is bad on 4334 # some platforms. 4335 # Always define AMTAR for backward compatibility. Yes, it's still used 4336 # in the wild :-( We should find a proper way to deprecate it ... 4337 AMTAR='$${TAR-tar}' 4338 4339 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 4340 4341 4342 4343 4344 4345 # Check whether --enable-silent-rules was given. 4346 if test "${enable_silent_rules+set}" = set; then : 4347 enableval=$enable_silent_rules; 4348 fi 4349 4350 case $enable_silent_rules in # ((( 4351 yes) AM_DEFAULT_VERBOSITY=0;; 4352 no) AM_DEFAULT_VERBOSITY=1;; 4353 *) AM_DEFAULT_VERBOSITY=0;; 4354 esac 4355 am_make=${MAKE-make} 4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 4357 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 4358 if ${am_cv_make_support_nested_variables+:} false; then : 4359 $as_echo_n "(cached) " >&6 4360 else 4361 if $as_echo 'TRUE=$(BAR$(V)) 4362 BAR0=false 4363 BAR1=true 4364 V=1 4365 am__doit: 4366 @$(TRUE) 4367 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 4368 am_cv_make_support_nested_variables=yes 4369 else 4370 am_cv_make_support_nested_variables=no 4371 fi 4372 fi 4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 4374 $as_echo "$am_cv_make_support_nested_variables" >&6; } 4375 if test $am_cv_make_support_nested_variables = yes; then 4376 AM_V='$(V)' 4377 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 4378 else 4379 AM_V=$AM_DEFAULT_VERBOSITY 4380 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 4381 fi 4382 AM_BACKSLASH='\' 4383 4384 ac_config_headers="$ac_config_headers lib/config.h:lib/config.in.h" 4385 4386 4387 # Checks for the compiler. 4388 DEPDIR="${am__leading_dot}deps" 4389 4390 ac_config_commands="$ac_config_commands depfiles" 4391 4392 4393 am_make=${MAKE-make} 4394 cat > confinc << 'END' 4395 am__doit: 4396 @echo this is the am__doit target 4397 .PHONY: am__doit 4398 END 4399 # If we don't find an include directive, just comment out the code. 4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4401 $as_echo_n "checking for style of include used by $am_make... " >&6; } 4402 am__include="#" 4403 am__quote= 4404 _am_result=none 4405 # First try GNU make style include. 4406 echo "include confinc" > confmf 4407 # Ignore all kinds of additional output from 'make'. 4408 case `$am_make -s -f confmf 2> /dev/null` in #( 4409 *the\ am__doit\ target*) 4410 am__include=include 4411 am__quote= 4412 _am_result=GNU 4413 ;; 4414 esac 4415 # Now try BSD make style include. 4416 if test "$am__include" = "#"; then 4417 echo '.include "confinc"' > confmf 4418 case `$am_make -s -f confmf 2> /dev/null` in #( 4419 *the\ am__doit\ target*) 4420 am__include=.include 4421 am__quote="\"" 4422 _am_result=BSD 4423 ;; 4424 esac 4425 fi 4426 4427 4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4429 $as_echo "$_am_result" >&6; } 4430 rm -f confinc confmf 4431 4432 # Check whether --enable-dependency-tracking was given. 4433 if test "${enable_dependency_tracking+set}" = set; then : 4434 enableval=$enable_dependency_tracking; 4435 fi 4436 4437 if test "x$enable_dependency_tracking" != xno; then 4438 am_depcomp="$ac_aux_dir/depcomp" 4439 AMDEPBACKSLASH='\' 4440 am__nodep='_no' 4441 fi 4442 if test "x$enable_dependency_tracking" != xno; then 4443 AMDEP_TRUE= 4444 AMDEP_FALSE='#' 4445 else 4446 AMDEP_TRUE='#' 4447 AMDEP_FALSE= 4448 fi 4449 4450 4451 ac_ext=c 4452 ac_cpp='$CPP $CPPFLAGS' 4453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4455 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4456 if test -n "$ac_tool_prefix"; then 4457 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4458 set dummy ${ac_tool_prefix}gcc; ac_word=$2 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4460 $as_echo_n "checking for $ac_word... " >&6; } 4461 if ${ac_cv_prog_CC+:} false; then : 4462 $as_echo_n "(cached) " >&6 4463 else 4464 if test -n "$CC"; then 4465 ac_cv_prog_CC="$CC" # Let the user override the test. 4466 else 4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4468 for as_dir in $PATH 4469 do 4470 IFS=$as_save_IFS 4471 test -z "$as_dir" && as_dir=. 4472 for ac_exec_ext in '' $ac_executable_extensions; do 4473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4474 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4476 break 2 4477 fi 4478 done 4479 done 4480 IFS=$as_save_IFS 4481 4482 fi 4483 fi 4484 CC=$ac_cv_prog_CC 4485 if test -n "$CC"; then 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4487 $as_echo "$CC" >&6; } 4488 else 4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4490 $as_echo "no" >&6; } 4491 fi 4492 4493 4494 fi 4495 if test -z "$ac_cv_prog_CC"; then 4496 ac_ct_CC=$CC 4497 # Extract the first word of "gcc", so it can be a program name with args. 4498 set dummy gcc; ac_word=$2 4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4500 $as_echo_n "checking for $ac_word... " >&6; } 4501 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4502 $as_echo_n "(cached) " >&6 4503 else 4504 if test -n "$ac_ct_CC"; then 4505 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4506 else 4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4508 for as_dir in $PATH 4509 do 4510 IFS=$as_save_IFS 4511 test -z "$as_dir" && as_dir=. 4512 for ac_exec_ext in '' $ac_executable_extensions; do 4513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4514 ac_cv_prog_ac_ct_CC="gcc" 4515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4516 break 2 4517 fi 4518 done 4519 done 4520 IFS=$as_save_IFS 4521 4522 fi 4523 fi 4524 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4525 if test -n "$ac_ct_CC"; then 4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4527 $as_echo "$ac_ct_CC" >&6; } 4528 else 4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4530 $as_echo "no" >&6; } 4531 fi 4532 4533 if test "x$ac_ct_CC" = x; then 4534 CC="" 4535 else 4536 case $cross_compiling:$ac_tool_warned in 4537 yes:) 4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4540 ac_tool_warned=yes ;; 4541 esac 4542 CC=$ac_ct_CC 4543 fi 4544 else 4545 CC="$ac_cv_prog_CC" 4546 fi 4547 4548 if test -z "$CC"; then 4549 if test -n "$ac_tool_prefix"; then 4550 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4551 set dummy ${ac_tool_prefix}cc; ac_word=$2 4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4553 $as_echo_n "checking for $ac_word... " >&6; } 4554 if ${ac_cv_prog_CC+:} false; then : 4555 $as_echo_n "(cached) " >&6 4556 else 4557 if test -n "$CC"; then 4558 ac_cv_prog_CC="$CC" # Let the user override the test. 4559 else 4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4561 for as_dir in $PATH 4562 do 4563 IFS=$as_save_IFS 4564 test -z "$as_dir" && as_dir=. 4565 for ac_exec_ext in '' $ac_executable_extensions; do 4566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4567 ac_cv_prog_CC="${ac_tool_prefix}cc" 4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4569 break 2 4570 fi 4571 done 4572 done 4573 IFS=$as_save_IFS 4574 4575 fi 4576 fi 4577 CC=$ac_cv_prog_CC 4578 if test -n "$CC"; then 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4580 $as_echo "$CC" >&6; } 4581 else 4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4583 $as_echo "no" >&6; } 4584 fi 4585 4586 4587 fi 4588 fi 4589 if test -z "$CC"; then 4590 # Extract the first word of "cc", so it can be a program name with args. 4591 set dummy cc; ac_word=$2 4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4593 $as_echo_n "checking for $ac_word... " >&6; } 4594 if ${ac_cv_prog_CC+:} false; then : 4595 $as_echo_n "(cached) " >&6 4596 else 4597 if test -n "$CC"; then 4598 ac_cv_prog_CC="$CC" # Let the user override the test. 4599 else 4600 ac_prog_rejected=no 4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4602 for as_dir in $PATH 4603 do 4604 IFS=$as_save_IFS 4605 test -z "$as_dir" && as_dir=. 4606 for ac_exec_ext in '' $ac_executable_extensions; do 4607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4608 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4609 ac_prog_rejected=yes 4610 continue 4611 fi 4612 ac_cv_prog_CC="cc" 4613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4614 break 2 4615 fi 4616 done 4617 done 4618 IFS=$as_save_IFS 4619 4620 if test $ac_prog_rejected = yes; then 4621 # We found a bogon in the path, so make sure we never use it. 4622 set dummy $ac_cv_prog_CC 4623 shift 4624 if test $# != 0; then 4625 # We chose a different compiler from the bogus one. 4626 # However, it has the same basename, so the bogon will be chosen 4627 # first if we set CC to just the basename; use the full file name. 4628 shift 4629 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4630 fi 4631 fi 4632 fi 4633 fi 4634 CC=$ac_cv_prog_CC 4635 if test -n "$CC"; then 4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4637 $as_echo "$CC" >&6; } 4638 else 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4640 $as_echo "no" >&6; } 4641 fi 4642 4643 4644 fi 4645 if test -z "$CC"; then 4646 if test -n "$ac_tool_prefix"; then 4647 for ac_prog in cl.exe 4648 do 4649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4652 $as_echo_n "checking for $ac_word... " >&6; } 4653 if ${ac_cv_prog_CC+:} false; then : 4654 $as_echo_n "(cached) " >&6 4655 else 4656 if test -n "$CC"; then 4657 ac_cv_prog_CC="$CC" # Let the user override the test. 4658 else 4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4660 for as_dir in $PATH 4661 do 4662 IFS=$as_save_IFS 4663 test -z "$as_dir" && as_dir=. 4664 for ac_exec_ext in '' $ac_executable_extensions; do 4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4666 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4668 break 2 4669 fi 4670 done 4671 done 4672 IFS=$as_save_IFS 4673 4674 fi 4675 fi 4676 CC=$ac_cv_prog_CC 4677 if test -n "$CC"; then 4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4679 $as_echo "$CC" >&6; } 4680 else 4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4682 $as_echo "no" >&6; } 4683 fi 4684 4685 4686 test -n "$CC" && break 4687 done 4688 fi 4689 if test -z "$CC"; then 4690 ac_ct_CC=$CC 4691 for ac_prog in cl.exe 4692 do 4693 # Extract the first word of "$ac_prog", so it can be a program name with args. 4694 set dummy $ac_prog; ac_word=$2 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4696 $as_echo_n "checking for $ac_word... " >&6; } 4697 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4698 $as_echo_n "(cached) " >&6 4699 else 4700 if test -n "$ac_ct_CC"; then 4701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4702 else 4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4704 for as_dir in $PATH 4705 do 4706 IFS=$as_save_IFS 4707 test -z "$as_dir" && as_dir=. 4708 for ac_exec_ext in '' $ac_executable_extensions; do 4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4710 ac_cv_prog_ac_ct_CC="$ac_prog" 4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4712 break 2 4713 fi 4714 done 4715 done 4716 IFS=$as_save_IFS 4717 4718 fi 4719 fi 4720 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4721 if test -n "$ac_ct_CC"; then 4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4723 $as_echo "$ac_ct_CC" >&6; } 4724 else 4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4726 $as_echo "no" >&6; } 4727 fi 4728 4729 4730 test -n "$ac_ct_CC" && break 4731 done 4732 4733 if test "x$ac_ct_CC" = x; then 4734 CC="" 4735 else 4736 case $cross_compiling:$ac_tool_warned in 4737 yes:) 4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4740 ac_tool_warned=yes ;; 4741 esac 4742 CC=$ac_ct_CC 4743 fi 4744 fi 4745 4746 fi 4747 4748 4749 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4751 as_fn_error $? "no acceptable C compiler found in \$PATH 4752 See \`config.log' for more details" "$LINENO" 5; } 4753 4754 # Provide some information about the compiler. 4755 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4756 set X $ac_compile 4757 ac_compiler=$2 4758 for ac_option in --version -v -V -qversion; do 4759 { { ac_try="$ac_compiler $ac_option >&5" 4760 case "(($ac_try" in 4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4762 *) ac_try_echo=$ac_try;; 4763 esac 4764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4765 $as_echo "$ac_try_echo"; } >&5 4766 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4767 ac_status=$? 4768 if test -s conftest.err; then 4769 sed '10a\ 4770 ... rest of stderr output deleted ... 4771 10q' conftest.err >conftest.er1 4772 cat conftest.er1 >&5 4773 fi 4774 rm -f conftest.er1 conftest.err 4775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4776 test $ac_status = 0; } 4777 done 4778 4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4780 /* end confdefs.h. */ 4781 4782 int 4783 main () 4784 { 4785 4786 ; 4787 return 0; 4788 } 4789 _ACEOF 4790 ac_clean_files_save=$ac_clean_files 4791 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4792 # Try to create an executable without -o first, disregard a.out. 4793 # It will help us diagnose broken compilers, and finding out an intuition 4794 # of exeext. 4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4796 $as_echo_n "checking whether the C compiler works... " >&6; } 4797 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4798 4799 # The possible output files: 4800 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4801 4802 ac_rmfiles= 4803 for ac_file in $ac_files 4804 do 4805 case $ac_file in 4806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4807 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4808 esac 4809 done 4810 rm -f $ac_rmfiles 4811 4812 if { { ac_try="$ac_link_default" 4813 case "(($ac_try" in 4814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4815 *) ac_try_echo=$ac_try;; 4816 esac 4817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4818 $as_echo "$ac_try_echo"; } >&5 4819 (eval "$ac_link_default") 2>&5 4820 ac_status=$? 4821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4822 test $ac_status = 0; }; then : 4823 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4824 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4825 # in a Makefile. We should not override ac_cv_exeext if it was cached, 4826 # so that the user can short-circuit this test for compilers unknown to 4827 # Autoconf. 4828 for ac_file in $ac_files '' 4829 do 4830 test -f "$ac_file" || continue 4831 case $ac_file in 4832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4833 ;; 4834 [ab].out ) 4835 # We found the default executable, but exeext='' is most 4836 # certainly right. 4837 break;; 4838 *.* ) 4839 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4840 then :; else 4841 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4842 fi 4843 # We set ac_cv_exeext here because the later test for it is not 4844 # safe: cross compilers may not add the suffix if given an `-o' 4845 # argument, so we may need to know it at that point already. 4846 # Even if this section looks crufty: it has the advantage of 4847 # actually working. 4848 break;; 4849 * ) 4850 break;; 4851 esac 4852 done 4853 test "$ac_cv_exeext" = no && ac_cv_exeext= 4854 4855 else 4856 ac_file='' 4857 fi 4858 if test -z "$ac_file"; then : 4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4860 $as_echo "no" >&6; } 4861 $as_echo "$as_me: failed program was:" >&5 4862 sed 's/^/| /' conftest.$ac_ext >&5 4863 4864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4866 as_fn_error 77 "C compiler cannot create executables 4867 See \`config.log' for more details" "$LINENO" 5; } 4868 else 4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4870 $as_echo "yes" >&6; } 4871 fi 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4873 $as_echo_n "checking for C compiler default output file name... " >&6; } 4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4875 $as_echo "$ac_file" >&6; } 4876 ac_exeext=$ac_cv_exeext 4877 4878 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4879 ac_clean_files=$ac_clean_files_save 4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4881 $as_echo_n "checking for suffix of executables... " >&6; } 4882 if { { ac_try="$ac_link" 4883 case "(($ac_try" in 4884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4885 *) ac_try_echo=$ac_try;; 4886 esac 4887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4888 $as_echo "$ac_try_echo"; } >&5 4889 (eval "$ac_link") 2>&5 4890 ac_status=$? 4891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4892 test $ac_status = 0; }; then : 4893 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4894 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4895 # work properly (i.e., refer to `conftest.exe'), while it won't with 4896 # `rm'. 4897 for ac_file in conftest.exe conftest conftest.*; do 4898 test -f "$ac_file" || continue 4899 case $ac_file in 4900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4901 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4902 break;; 4903 * ) break;; 4904 esac 4905 done 4906 else 4907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4909 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4910 See \`config.log' for more details" "$LINENO" 5; } 4911 fi 4912 rm -f conftest conftest$ac_cv_exeext 4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4914 $as_echo "$ac_cv_exeext" >&6; } 4915 4916 rm -f conftest.$ac_ext 4917 EXEEXT=$ac_cv_exeext 4918 ac_exeext=$EXEEXT 4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4920 /* end confdefs.h. */ 4921 #include <stdio.h> 4922 int 4923 main () 4924 { 4925 FILE *f = fopen ("conftest.out", "w"); 4926 return ferror (f) || fclose (f) != 0; 4927 4928 ; 4929 return 0; 4930 } 4931 _ACEOF 4932 ac_clean_files="$ac_clean_files conftest.out" 4933 # Check that the compiler produces executables we can run. If not, either 4934 # the compiler is broken, or we cross compile. 4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4936 $as_echo_n "checking whether we are cross compiling... " >&6; } 4937 if test "$cross_compiling" != yes; then 4938 { { ac_try="$ac_link" 4939 case "(($ac_try" in 4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4941 *) ac_try_echo=$ac_try;; 4942 esac 4943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4944 $as_echo "$ac_try_echo"; } >&5 4945 (eval "$ac_link") 2>&5 4946 ac_status=$? 4947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4948 test $ac_status = 0; } 4949 if { ac_try='./conftest$ac_cv_exeext' 4950 { { case "(($ac_try" in 4951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4952 *) ac_try_echo=$ac_try;; 4953 esac 4954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4955 $as_echo "$ac_try_echo"; } >&5 4956 (eval "$ac_try") 2>&5 4957 ac_status=$? 4958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4959 test $ac_status = 0; }; }; then 4960 cross_compiling=no 4961 else 4962 if test "$cross_compiling" = maybe; then 4963 cross_compiling=yes 4964 else 4965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4967 as_fn_error $? "cannot run C compiled programs. 4968 If you meant to cross compile, use \`--host'. 4969 See \`config.log' for more details" "$LINENO" 5; } 4970 fi 4971 fi 4972 fi 4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4974 $as_echo "$cross_compiling" >&6; } 4975 4976 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4977 ac_clean_files=$ac_clean_files_save 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4979 $as_echo_n "checking for suffix of object files... " >&6; } 4980 if ${ac_cv_objext+:} false; then : 4981 $as_echo_n "(cached) " >&6 4982 else 4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4984 /* end confdefs.h. */ 4985 4986 int 4987 main () 4988 { 4989 4990 ; 4991 return 0; 4992 } 4993 _ACEOF 4994 rm -f conftest.o conftest.obj 4995 if { { ac_try="$ac_compile" 4996 case "(($ac_try" in 4997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4998 *) ac_try_echo=$ac_try;; 4999 esac 5000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5001 $as_echo "$ac_try_echo"; } >&5 5002 (eval "$ac_compile") 2>&5 5003 ac_status=$? 5004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5005 test $ac_status = 0; }; then : 5006 for ac_file in conftest.o conftest.obj conftest.*; do 5007 test -f "$ac_file" || continue; 5008 case $ac_file in 5009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 5010 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 5011 break;; 5012 esac 5013 done 5014 else 5015 $as_echo "$as_me: failed program was:" >&5 5016 sed 's/^/| /' conftest.$ac_ext >&5 5017 5018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5020 as_fn_error $? "cannot compute suffix of object files: cannot compile 5021 See \`config.log' for more details" "$LINENO" 5; } 5022 fi 5023 rm -f conftest.$ac_cv_objext conftest.$ac_ext 5024 fi 5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 5026 $as_echo "$ac_cv_objext" >&6; } 5027 OBJEXT=$ac_cv_objext 5028 ac_objext=$OBJEXT 5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5030 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5031 if ${ac_cv_c_compiler_gnu+:} false; then : 5032 $as_echo_n "(cached) " >&6 5033 else 5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5035 /* end confdefs.h. */ 5036 5037 int 5038 main () 5039 { 5040 #ifndef __GNUC__ 5041 choke me 5042 #endif 5043 5044 ; 5045 return 0; 5046 } 5047 _ACEOF 5048 if ac_fn_c_try_compile "$LINENO"; then : 5049 ac_compiler_gnu=yes 5050 else 5051 ac_compiler_gnu=no 5052 fi 5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5054 ac_cv_c_compiler_gnu=$ac_compiler_gnu 5055 5056 fi 5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5058 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 5059 if test $ac_compiler_gnu = yes; then 5060 GCC=yes 5061 else 5062 GCC= 5063 fi 5064 ac_test_CFLAGS=${CFLAGS+set} 5065 ac_save_CFLAGS=$CFLAGS 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5067 $as_echo_n "checking whether $CC accepts -g... " >&6; } 5068 if ${ac_cv_prog_cc_g+:} false; then : 5069 $as_echo_n "(cached) " >&6 5070 else 5071 ac_save_c_werror_flag=$ac_c_werror_flag 5072 ac_c_werror_flag=yes 5073 ac_cv_prog_cc_g=no 5074 CFLAGS="-g" 5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5076 /* end confdefs.h. */ 5077 5078 int 5079 main () 5080 { 5081 5082 ; 5083 return 0; 5084 } 5085 _ACEOF 5086 if ac_fn_c_try_compile "$LINENO"; then : 5087 ac_cv_prog_cc_g=yes 5088 else 5089 CFLAGS="" 5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5091 /* end confdefs.h. */ 5092 5093 int 5094 main () 5095 { 5096 5097 ; 5098 return 0; 5099 } 5100 _ACEOF 5101 if ac_fn_c_try_compile "$LINENO"; then : 5102 5103 else 5104 ac_c_werror_flag=$ac_save_c_werror_flag 5105 CFLAGS="-g" 5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5107 /* end confdefs.h. */ 5108 5109 int 5110 main () 5111 { 5112 5113 ; 5114 return 0; 5115 } 5116 _ACEOF 5117 if ac_fn_c_try_compile "$LINENO"; then : 5118 ac_cv_prog_cc_g=yes 5119 fi 5120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5121 fi 5122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5123 fi 5124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5125 ac_c_werror_flag=$ac_save_c_werror_flag 5126 fi 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5128 $as_echo "$ac_cv_prog_cc_g" >&6; } 5129 if test "$ac_test_CFLAGS" = set; then 5130 CFLAGS=$ac_save_CFLAGS 5131 elif test $ac_cv_prog_cc_g = yes; then 5132 if test "$GCC" = yes; then 5133 CFLAGS="-g -O2" 5134 else 5135 CFLAGS="-g" 5136 fi 5137 else 5138 if test "$GCC" = yes; then 5139 CFLAGS="-O2" 5140 else 5141 CFLAGS= 5142 fi 5143 fi 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5145 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5146 if ${ac_cv_prog_cc_c89+:} false; then : 5147 $as_echo_n "(cached) " >&6 5148 else 5149 ac_cv_prog_cc_c89=no 5150 ac_save_CC=$CC 5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5152 /* end confdefs.h. */ 5153 #include <stdarg.h> 5154 #include <stdio.h> 5155 struct stat; 5156 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5157 struct buf { int x; }; 5158 FILE * (*rcsopen) (struct buf *, struct stat *, int); 5159 static char *e (p, i) 5160 char **p; 5161 int i; 5162 { 5163 return p[i]; 5164 } 5165 static char *f (char * (*g) (char **, int), char **p, ...) 5166 { 5167 char *s; 5168 va_list v; 5169 va_start (v,p); 5170 s = g (p, va_arg (v,int)); 5171 va_end (v); 5172 return s; 5173 } 5174 5175 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5176 function prototypes and stuff, but not '\xHH' hex character constants. 5177 These don't provoke an error unfortunately, instead are silently treated 5178 as 'x'. The following induces an error, until -std is added to get 5179 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5180 array size at least. It's necessary to write '\x00'==0 to get something 5181 that's true only with -std. */ 5182 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5183 5184 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5185 inside strings and character constants. */ 5186 #define FOO(x) 'x' 5187 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5188 5189 int test (int i, double x); 5190 struct s1 {int (*f) (int a);}; 5191 struct s2 {int (*f) (double a);}; 5192 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5193 int argc; 5194 char **argv; 5195 int 5196 main () 5197 { 5198 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5199 ; 5200 return 0; 5201 } 5202 _ACEOF 5203 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5204 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5205 do 5206 CC="$ac_save_CC $ac_arg" 5207 if ac_fn_c_try_compile "$LINENO"; then : 5208 ac_cv_prog_cc_c89=$ac_arg 5209 fi 5210 rm -f core conftest.err conftest.$ac_objext 5211 test "x$ac_cv_prog_cc_c89" != "xno" && break 5212 done 5213 rm -f conftest.$ac_ext 5214 CC=$ac_save_CC 5215 5216 fi 5217 # AC_CACHE_VAL 5218 case "x$ac_cv_prog_cc_c89" in 5219 x) 5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5221 $as_echo "none needed" >&6; } ;; 5222 xno) 5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5224 $as_echo "unsupported" >&6; } ;; 5225 *) 5226 CC="$CC $ac_cv_prog_cc_c89" 5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5228 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5229 esac 5230 if test "x$ac_cv_prog_cc_c89" != xno; then : 5231 5232 fi 5233 5234 ac_ext=c 5235 ac_cpp='$CPP $CPPFLAGS' 5236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5238 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5239 5240 depcc="$CC" am_compiler_list= 5241 5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5243 $as_echo_n "checking dependency style of $depcc... " >&6; } 5244 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5245 $as_echo_n "(cached) " >&6 5246 else 5247 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5248 # We make a subdir and do the tests there. Otherwise we can end up 5249 # making bogus files that we don't know about and never remove. For 5250 # instance it was reported that on HP-UX the gcc test will end up 5251 # making a dummy file named 'D' -- because '-MD' means "put the output 5252 # in D". 5253 rm -rf conftest.dir 5254 mkdir conftest.dir 5255 # Copy depcomp to subdir because otherwise we won't find it if we're 5256 # using a relative directory. 5257 cp "$am_depcomp" conftest.dir 5258 cd conftest.dir 5259 # We will build objects and dependencies in a subdirectory because 5260 # it helps to detect inapplicable dependency modes. For instance 5261 # both Tru64's cc and ICC support -MD to output dependencies as a 5262 # side effect of compilation, but ICC will put the dependencies in 5263 # the current directory while Tru64 will put them in the object 5264 # directory. 5265 mkdir sub 5266 5267 am_cv_CC_dependencies_compiler_type=none 5268 if test "$am_compiler_list" = ""; then 5269 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5270 fi 5271 am__universal=false 5272 case " $depcc " in #( 5273 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5274 esac 5275 5276 for depmode in $am_compiler_list; do 5277 # Setup a source with many dependencies, because some compilers 5278 # like to wrap large dependency lists on column 80 (with \), and 5279 # we should not choose a depcomp mode which is confused by this. 5280 # 5281 # We need to recreate these files for each test, as the compiler may 5282 # overwrite some of them when testing with obscure command lines. 5283 # This happens at least with the AIX C compiler. 5284 : > sub/conftest.c 5285 for i in 1 2 3 4 5 6; do 5286 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5287 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5288 # Solaris 10 /bin/sh. 5289 echo '/* dummy */' > sub/conftst$i.h 5290 done 5291 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5292 5293 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5294 # mode. It turns out that the SunPro C++ compiler does not properly 5295 # handle '-M -o', and we need to detect this. Also, some Intel 5296 # versions had trouble with output in subdirs. 5297 am__obj=sub/conftest.${OBJEXT-o} 5298 am__minus_obj="-o $am__obj" 5299 case $depmode in 5300 gcc) 5301 # This depmode causes a compiler race in universal mode. 5302 test "$am__universal" = false || continue 5303 ;; 5304 nosideeffect) 5305 # After this tag, mechanisms are not by side-effect, so they'll 5306 # only be used when explicitly requested. 5307 if test "x$enable_dependency_tracking" = xyes; then 5308 continue 5309 else 5310 break 5311 fi 5312 ;; 5313 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5314 # This compiler won't grok '-c -o', but also, the minuso test has 5315 # not run yet. These depmodes are late enough in the game, and 5316 # so weak that their functioning should not be impacted. 5317 am__obj=conftest.${OBJEXT-o} 5318 am__minus_obj= 5319 ;; 5320 none) break ;; 5321 esac 5322 if depmode=$depmode \ 5323 source=sub/conftest.c object=$am__obj \ 5324 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5325 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5326 >/dev/null 2>conftest.err && 5327 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5328 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5329 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5330 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5331 # icc doesn't choke on unknown options, it will just issue warnings 5332 # or remarks (even with -Werror). So we grep stderr for any message 5333 # that says an option was ignored or not supported. 5334 # When given -MP, icc 7.0 and 7.1 complain thusly: 5335 # icc: Command line warning: ignoring option '-M'; no argument required 5336 # The diagnosis changed in icc 8.0: 5337 # icc: Command line remark: option '-MP' not supported 5338 if (grep 'ignoring option' conftest.err || 5339 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5340 am_cv_CC_dependencies_compiler_type=$depmode 5341 break 5342 fi 5343 fi 5344 done 5345 5346 cd .. 5347 rm -rf conftest.dir 5348 else 5349 am_cv_CC_dependencies_compiler_type=none 5350 fi 5351 5352 fi 5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5354 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5355 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5356 5357 if 5358 test "x$enable_dependency_tracking" != xno \ 5359 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5360 am__fastdepCC_TRUE= 5361 am__fastdepCC_FALSE='#' 5362 else 5363 am__fastdepCC_TRUE='#' 5364 am__fastdepCC_FALSE= 5365 fi 5366 5367 5368 case $ac_cv_prog_cc_stdc in #( 5369 no) : 5370 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 5371 *) : 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 5373 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 5374 if ${ac_cv_prog_cc_c99+:} false; then : 5375 $as_echo_n "(cached) " >&6 5376 else 5377 ac_cv_prog_cc_c99=no 5378 ac_save_CC=$CC 5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5380 /* end confdefs.h. */ 5381 #include <stdarg.h> 5382 #include <stdbool.h> 5383 #include <stdlib.h> 5384 #include <wchar.h> 5385 #include <stdio.h> 5386 5387 // Check varargs macros. These examples are taken from C99 6.10.3.5. 5388 #define debug(...) fprintf (stderr, __VA_ARGS__) 5389 #define showlist(...) puts (#__VA_ARGS__) 5390 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 5391 static void 5392 test_varargs_macros (void) 5393 { 5394 int x = 1234; 5395 int y = 5678; 5396 debug ("Flag"); 5397 debug ("X = %d\n", x); 5398 showlist (The first, second, and third items.); 5399 report (x>y, "x is %d but y is %d", x, y); 5400 } 5401 5402 // Check long long types. 5403 #define BIG64 18446744073709551615ull 5404 #define BIG32 4294967295ul 5405 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 5406 #if !BIG_OK 5407 your preprocessor is broken; 5408 #endif 5409 #if BIG_OK 5410 #else 5411 your preprocessor is broken; 5412 #endif 5413 static long long int bignum = -9223372036854775807LL; 5414 static unsigned long long int ubignum = BIG64; 5415 5416 struct incomplete_array 5417 { 5418 int datasize; 5419 double data[]; 5420 }; 5421 5422 struct named_init { 5423 int number; 5424 const wchar_t *name; 5425 double average; 5426 }; 5427 5428 typedef const char *ccp; 5429 5430 static inline int 5431 test_restrict (ccp restrict text) 5432 { 5433 // See if C++-style comments work. 5434 // Iterate through items via the restricted pointer. 5435 // Also check for declarations in for loops. 5436 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 5437 continue; 5438 return 0; 5439 } 5440 5441 // Check varargs and va_copy. 5442 static void 5443 test_varargs (const char *format, ...) 5444 { 5445 va_list args; 5446 va_start (args, format); 5447 va_list args_copy; 5448 va_copy (args_copy, args); 5449 5450 const char *str; 5451 int number; 5452 float fnumber; 5453 5454 while (*format) 5455 { 5456 switch (*format++) 5457 { 5458 case 's': // string 5459 str = va_arg (args_copy, const char *); 5460 break; 5461 case 'd': // int 5462 number = va_arg (args_copy, int); 5463 break; 5464 case 'f': // float 5465 fnumber = va_arg (args_copy, double); 5466 break; 5467 default: 5468 break; 5469 } 5470 } 5471 va_end (args_copy); 5472 va_end (args); 5473 } 5474 5475 int 5476 main () 5477 { 5478 5479 // Check bool. 5480 _Bool success = false; 5481 5482 // Check restrict. 5483 if (test_restrict ("String literal") == 0) 5484 success = true; 5485 char *restrict newvar = "Another string"; 5486 5487 // Check varargs. 5488 test_varargs ("s, d' f .", "string", 65, 34.234); 5489 test_varargs_macros (); 5490 5491 // Check flexible array members. 5492 struct incomplete_array *ia = 5493 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 5494 ia->datasize = 10; 5495 for (int i = 0; i < ia->datasize; ++i) 5496 ia->data[i] = i * 1.234; 5497 5498 // Check named initializers. 5499 struct named_init ni = { 5500 .number = 34, 5501 .name = L"Test wide string", 5502 .average = 543.34343, 5503 }; 5504 5505 ni.number = 58; 5506 5507 int dynamic_array[ni.number]; 5508 dynamic_array[ni.number - 1] = 543; 5509 5510 // work around unused variable warnings 5511 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 5512 || dynamic_array[ni.number - 1] != 543); 5513 5514 ; 5515 return 0; 5516 } 5517 _ACEOF 5518 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 5519 do 5520 CC="$ac_save_CC $ac_arg" 5521 if ac_fn_c_try_compile "$LINENO"; then : 5522 ac_cv_prog_cc_c99=$ac_arg 5523 fi 5524 rm -f core conftest.err conftest.$ac_objext 5525 test "x$ac_cv_prog_cc_c99" != "xno" && break 5526 done 5527 rm -f conftest.$ac_ext 5528 CC=$ac_save_CC 5529 5530 fi 5531 # AC_CACHE_VAL 5532 case "x$ac_cv_prog_cc_c99" in 5533 x) 5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5535 $as_echo "none needed" >&6; } ;; 5536 xno) 5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5538 $as_echo "unsupported" >&6; } ;; 5539 *) 5540 CC="$CC $ac_cv_prog_cc_c99" 5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 5542 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 5543 esac 5544 if test "x$ac_cv_prog_cc_c99" != xno; then : 5545 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 5546 else 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5548 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5549 if ${ac_cv_prog_cc_c89+:} false; then : 5550 $as_echo_n "(cached) " >&6 5551 else 5552 ac_cv_prog_cc_c89=no 5553 ac_save_CC=$CC 5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5555 /* end confdefs.h. */ 5556 #include <stdarg.h> 5557 #include <stdio.h> 5558 struct stat; 5559 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5560 struct buf { int x; }; 5561 FILE * (*rcsopen) (struct buf *, struct stat *, int); 5562 static char *e (p, i) 5563 char **p; 5564 int i; 5565 { 5566 return p[i]; 5567 } 5568 static char *f (char * (*g) (char **, int), char **p, ...) 5569 { 5570 char *s; 5571 va_list v; 5572 va_start (v,p); 5573 s = g (p, va_arg (v,int)); 5574 va_end (v); 5575 return s; 5576 } 5577 5578 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5579 function prototypes and stuff, but not '\xHH' hex character constants. 5580 These don't provoke an error unfortunately, instead are silently treated 5581 as 'x'. The following induces an error, until -std is added to get 5582 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5583 array size at least. It's necessary to write '\x00'==0 to get something 5584 that's true only with -std. */ 5585 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5586 5587 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5588 inside strings and character constants. */ 5589 #define FOO(x) 'x' 5590 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5591 5592 int test (int i, double x); 5593 struct s1 {int (*f) (int a);}; 5594 struct s2 {int (*f) (double a);}; 5595 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5596 int argc; 5597 char **argv; 5598 int 5599 main () 5600 { 5601 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5602 ; 5603 return 0; 5604 } 5605 _ACEOF 5606 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5607 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5608 do 5609 CC="$ac_save_CC $ac_arg" 5610 if ac_fn_c_try_compile "$LINENO"; then : 5611 ac_cv_prog_cc_c89=$ac_arg 5612 fi 5613 rm -f core conftest.err conftest.$ac_objext 5614 test "x$ac_cv_prog_cc_c89" != "xno" && break 5615 done 5616 rm -f conftest.$ac_ext 5617 CC=$ac_save_CC 5618 5619 fi 5620 # AC_CACHE_VAL 5621 case "x$ac_cv_prog_cc_c89" in 5622 x) 5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5624 $as_echo "none needed" >&6; } ;; 5625 xno) 5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5627 $as_echo "unsupported" >&6; } ;; 5628 *) 5629 CC="$CC $ac_cv_prog_cc_c89" 5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5631 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5632 esac 5633 if test "x$ac_cv_prog_cc_c89" != xno; then : 5634 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 5635 else 5636 ac_cv_prog_cc_stdc=no 5637 fi 5638 5639 fi 5640 ;; 5641 esac 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 5643 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 5644 if ${ac_cv_prog_cc_stdc+:} false; then : 5645 $as_echo_n "(cached) " >&6 5646 fi 5647 5648 case $ac_cv_prog_cc_stdc in #( 5649 no) : 5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5651 $as_echo "unsupported" >&6; } ;; #( 5652 '') : 5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5654 $as_echo "none needed" >&6; } ;; #( 5655 *) : 5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5657 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 5658 esac 5659 5660 ac_ext=cpp 5661 ac_cpp='$CXXCPP $CPPFLAGS' 5662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5665 if test -z "$CXX"; then 5666 if test -n "$CCC"; then 5667 CXX=$CCC 5668 else 5669 if test -n "$ac_tool_prefix"; then 5670 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5671 do 5672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5675 $as_echo_n "checking for $ac_word... " >&6; } 5676 if ${ac_cv_prog_CXX+:} false; then : 5677 $as_echo_n "(cached) " >&6 5678 else 5679 if test -n "$CXX"; then 5680 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5681 else 5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5683 for as_dir in $PATH 5684 do 5685 IFS=$as_save_IFS 5686 test -z "$as_dir" && as_dir=. 5687 for ac_exec_ext in '' $ac_executable_extensions; do 5688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5691 break 2 5692 fi 5693 done 5694 done 5695 IFS=$as_save_IFS 5696 5697 fi 5698 fi 5699 CXX=$ac_cv_prog_CXX 5700 if test -n "$CXX"; then 5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5702 $as_echo "$CXX" >&6; } 5703 else 5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5705 $as_echo "no" >&6; } 5706 fi 5707 5708 5709 test -n "$CXX" && break 5710 done 5711 fi 5712 if test -z "$CXX"; then 5713 ac_ct_CXX=$CXX 5714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5715 do 5716 # Extract the first word of "$ac_prog", so it can be a program name with args. 5717 set dummy $ac_prog; ac_word=$2 5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5719 $as_echo_n "checking for $ac_word... " >&6; } 5720 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5721 $as_echo_n "(cached) " >&6 5722 else 5723 if test -n "$ac_ct_CXX"; then 5724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5725 else 5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5727 for as_dir in $PATH 5728 do 5729 IFS=$as_save_IFS 5730 test -z "$as_dir" && as_dir=. 5731 for ac_exec_ext in '' $ac_executable_extensions; do 5732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5733 ac_cv_prog_ac_ct_CXX="$ac_prog" 5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5735 break 2 5736 fi 5737 done 5738 done 5739 IFS=$as_save_IFS 5740 5741 fi 5742 fi 5743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5744 if test -n "$ac_ct_CXX"; then 5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5746 $as_echo "$ac_ct_CXX" >&6; } 5747 else 5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5749 $as_echo "no" >&6; } 5750 fi 5751 5752 5753 test -n "$ac_ct_CXX" && break 5754 done 5755 5756 if test "x$ac_ct_CXX" = x; then 5757 CXX="g++" 5758 else 5759 case $cross_compiling:$ac_tool_warned in 5760 yes:) 5761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5763 ac_tool_warned=yes ;; 5764 esac 5765 CXX=$ac_ct_CXX 5766 fi 5767 fi 5768 5769 fi 5770 fi 5771 # Provide some information about the compiler. 5772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5773 set X $ac_compile 5774 ac_compiler=$2 5775 for ac_option in --version -v -V -qversion; do 5776 { { ac_try="$ac_compiler $ac_option >&5" 5777 case "(($ac_try" in 5778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5779 *) ac_try_echo=$ac_try;; 5780 esac 5781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5782 $as_echo "$ac_try_echo"; } >&5 5783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5784 ac_status=$? 5785 if test -s conftest.err; then 5786 sed '10a\ 5787 ... rest of stderr output deleted ... 5788 10q' conftest.err >conftest.er1 5789 cat conftest.er1 >&5 5790 fi 5791 rm -f conftest.er1 conftest.err 5792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5793 test $ac_status = 0; } 5794 done 5795 5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5797 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5798 if ${ac_cv_cxx_compiler_gnu+:} false; then : 5799 $as_echo_n "(cached) " >&6 5800 else 5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5802 /* end confdefs.h. */ 5803 5804 int 5805 main () 5806 { 5807 #ifndef __GNUC__ 5808 choke me 5809 #endif 5810 5811 ; 5812 return 0; 5813 } 5814 _ACEOF 5815 if ac_fn_cxx_try_compile "$LINENO"; then : 5816 ac_compiler_gnu=yes 5817 else 5818 ac_compiler_gnu=no 5819 fi 5820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5821 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5822 5823 fi 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5825 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5826 if test $ac_compiler_gnu = yes; then 5827 GXX=yes 5828 else 5829 GXX= 5830 fi 5831 ac_test_CXXFLAGS=${CXXFLAGS+set} 5832 ac_save_CXXFLAGS=$CXXFLAGS 5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5834 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 5835 if ${ac_cv_prog_cxx_g+:} false; then : 5836 $as_echo_n "(cached) " >&6 5837 else 5838 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5839 ac_cxx_werror_flag=yes 5840 ac_cv_prog_cxx_g=no 5841 CXXFLAGS="-g" 5842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5843 /* end confdefs.h. */ 5844 5845 int 5846 main () 5847 { 5848 5849 ; 5850 return 0; 5851 } 5852 _ACEOF 5853 if ac_fn_cxx_try_compile "$LINENO"; then : 5854 ac_cv_prog_cxx_g=yes 5855 else 5856 CXXFLAGS="" 5857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5858 /* end confdefs.h. */ 5859 5860 int 5861 main () 5862 { 5863 5864 ; 5865 return 0; 5866 } 5867 _ACEOF 5868 if ac_fn_cxx_try_compile "$LINENO"; then : 5869 5870 else 5871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5872 CXXFLAGS="-g" 5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5874 /* end confdefs.h. */ 5875 5876 int 5877 main () 5878 { 5879 5880 ; 5881 return 0; 5882 } 5883 _ACEOF 5884 if ac_fn_cxx_try_compile "$LINENO"; then : 5885 ac_cv_prog_cxx_g=yes 5886 fi 5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5888 fi 5889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5890 fi 5891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5892 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5893 fi 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5895 $as_echo "$ac_cv_prog_cxx_g" >&6; } 5896 if test "$ac_test_CXXFLAGS" = set; then 5897 CXXFLAGS=$ac_save_CXXFLAGS 5898 elif test $ac_cv_prog_cxx_g = yes; then 5899 if test "$GXX" = yes; then 5900 CXXFLAGS="-g -O2" 5901 else 5902 CXXFLAGS="-g" 5903 fi 5904 else 5905 if test "$GXX" = yes; then 5906 CXXFLAGS="-O2" 5907 else 5908 CXXFLAGS= 5909 fi 5910 fi 5911 ac_ext=c 5912 ac_cpp='$CPP $CPPFLAGS' 5913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5915 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5916 5917 depcc="$CXX" am_compiler_list= 5918 5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5920 $as_echo_n "checking dependency style of $depcc... " >&6; } 5921 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5922 $as_echo_n "(cached) " >&6 5923 else 5924 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5925 # We make a subdir and do the tests there. Otherwise we can end up 5926 # making bogus files that we don't know about and never remove. For 5927 # instance it was reported that on HP-UX the gcc test will end up 5928 # making a dummy file named 'D' -- because '-MD' means "put the output 5929 # in D". 5930 rm -rf conftest.dir 5931 mkdir conftest.dir 5932 # Copy depcomp to subdir because otherwise we won't find it if we're 5933 # using a relative directory. 5934 cp "$am_depcomp" conftest.dir 5935 cd conftest.dir 5936 # We will build objects and dependencies in a subdirectory because 5937 # it helps to detect inapplicable dependency modes. For instance 5938 # both Tru64's cc and ICC support -MD to output dependencies as a 5939 # side effect of compilation, but ICC will put the dependencies in 5940 # the current directory while Tru64 will put them in the object 5941 # directory. 5942 mkdir sub 5943 5944 am_cv_CXX_dependencies_compiler_type=none 5945 if test "$am_compiler_list" = ""; then 5946 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5947 fi 5948 am__universal=false 5949 case " $depcc " in #( 5950 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5951 esac 5952 5953 for depmode in $am_compiler_list; do 5954 # Setup a source with many dependencies, because some compilers 5955 # like to wrap large dependency lists on column 80 (with \), and 5956 # we should not choose a depcomp mode which is confused by this. 5957 # 5958 # We need to recreate these files for each test, as the compiler may 5959 # overwrite some of them when testing with obscure command lines. 5960 # This happens at least with the AIX C compiler. 5961 : > sub/conftest.c 5962 for i in 1 2 3 4 5 6; do 5963 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5964 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5965 # Solaris 10 /bin/sh. 5966 echo '/* dummy */' > sub/conftst$i.h 5967 done 5968 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5969 5970 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5971 # mode. It turns out that the SunPro C++ compiler does not properly 5972 # handle '-M -o', and we need to detect this. Also, some Intel 5973 # versions had trouble with output in subdirs. 5974 am__obj=sub/conftest.${OBJEXT-o} 5975 am__minus_obj="-o $am__obj" 5976 case $depmode in 5977 gcc) 5978 # This depmode causes a compiler race in universal mode. 5979 test "$am__universal" = false || continue 5980 ;; 5981 nosideeffect) 5982 # After this tag, mechanisms are not by side-effect, so they'll 5983 # only be used when explicitly requested. 5984 if test "x$enable_dependency_tracking" = xyes; then 5985 continue 5986 else 5987 break 5988 fi 5989 ;; 5990 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5991 # This compiler won't grok '-c -o', but also, the minuso test has 5992 # not run yet. These depmodes are late enough in the game, and 5993 # so weak that their functioning should not be impacted. 5994 am__obj=conftest.${OBJEXT-o} 5995 am__minus_obj= 5996 ;; 5997 none) break ;; 5998 esac 5999 if depmode=$depmode \ 6000 source=sub/conftest.c object=$am__obj \ 6001 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6002 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 6003 >/dev/null 2>conftest.err && 6004 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 6005 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6006 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 6007 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6008 # icc doesn't choke on unknown options, it will just issue warnings 6009 # or remarks (even with -Werror). So we grep stderr for any message 6010 # that says an option was ignored or not supported. 6011 # When given -MP, icc 7.0 and 7.1 complain thusly: 6012 # icc: Command line warning: ignoring option '-M'; no argument required 6013 # The diagnosis changed in icc 8.0: 6014 # icc: Command line remark: option '-MP' not supported 6015 if (grep 'ignoring option' conftest.err || 6016 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 6017 am_cv_CXX_dependencies_compiler_type=$depmode 6018 break 6019 fi 6020 fi 6021 done 6022 6023 cd .. 6024 rm -rf conftest.dir 6025 else 6026 am_cv_CXX_dependencies_compiler_type=none 6027 fi 6028 6029 fi 6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6031 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6032 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6033 6034 if 6035 test "x$enable_dependency_tracking" != xno \ 6036 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6037 am__fastdepCXX_TRUE= 6038 am__fastdepCXX_FALSE='#' 6039 else 6040 am__fastdepCXX_TRUE='#' 6041 am__fastdepCXX_FALSE= 6042 fi 6043 6044 6045 6046 # Gnulib (early checks). 6047 6048 ac_ext=c 6049 ac_cpp='$CPP $CPPFLAGS' 6050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6052 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6054 $as_echo_n "checking how to run the C preprocessor... " >&6; } 6055 # On Suns, sometimes $CPP names a directory. 6056 if test -n "$CPP" && test -d "$CPP"; then 6057 CPP= 6058 fi 6059 if test -z "$CPP"; then 6060 if ${ac_cv_prog_CPP+:} false; then : 6061 $as_echo_n "(cached) " >&6 6062 else 6063 # Double quotes because CPP needs to be expanded 6064 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6065 do 6066 ac_preproc_ok=false 6067 for ac_c_preproc_warn_flag in '' yes 6068 do 6069 # Use a header file that comes with gcc, so configuring glibc 6070 # with a fresh cross-compiler works. 6071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6072 # <limits.h> exists even on freestanding compilers. 6073 # On the NeXT, cc -E runs the code through the compiler's parser, 6074 # not just through cpp. "Syntax error" is here to catch this case. 6075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6076 /* end confdefs.h. */ 6077 #ifdef __STDC__ 6078 # include <limits.h> 6079 #else 6080 # include <assert.h> 6081 #endif 6082 Syntax error 6083 _ACEOF 6084 if ac_fn_c_try_cpp "$LINENO"; then : 6085 6086 else 6087 # Broken: fails on valid input. 6088 continue 6089 fi 6090 rm -f conftest.err conftest.i conftest.$ac_ext 6091 6092 # OK, works on sane cases. Now check whether nonexistent headers 6093 # can be detected and how. 6094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6095 /* end confdefs.h. */ 6096 #include <ac_nonexistent.h> 6097 _ACEOF 6098 if ac_fn_c_try_cpp "$LINENO"; then : 6099 # Broken: success on invalid input. 6100 continue 6101 else 6102 # Passes both tests. 6103 ac_preproc_ok=: 6104 break 6105 fi 6106 rm -f conftest.err conftest.i conftest.$ac_ext 6107 6108 done 6109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6110 rm -f conftest.i conftest.err conftest.$ac_ext 6111 if $ac_preproc_ok; then : 6112 break 6113 fi 6114 6115 done 6116 ac_cv_prog_CPP=$CPP 6117 6118 fi 6119 CPP=$ac_cv_prog_CPP 6120 else 6121 ac_cv_prog_CPP=$CPP 6122 fi 6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6124 $as_echo "$CPP" >&6; } 6125 ac_preproc_ok=false 6126 for ac_c_preproc_warn_flag in '' yes 6127 do 6128 # Use a header file that comes with gcc, so configuring glibc 6129 # with a fresh cross-compiler works. 6130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6131 # <limits.h> exists even on freestanding compilers. 6132 # On the NeXT, cc -E runs the code through the compiler's parser, 6133 # not just through cpp. "Syntax error" is here to catch this case. 6134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6135 /* end confdefs.h. */ 6136 #ifdef __STDC__ 6137 # include <limits.h> 6138 #else 6139 # include <assert.h> 6140 #endif 6141 Syntax error 6142 _ACEOF 6143 if ac_fn_c_try_cpp "$LINENO"; then : 6144 6145 else 6146 # Broken: fails on valid input. 6147 continue 6148 fi 6149 rm -f conftest.err conftest.i conftest.$ac_ext 6150 6151 # OK, works on sane cases. Now check whether nonexistent headers 6152 # can be detected and how. 6153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6154 /* end confdefs.h. */ 6155 #include <ac_nonexistent.h> 6156 _ACEOF 6157 if ac_fn_c_try_cpp "$LINENO"; then : 6158 # Broken: success on invalid input. 6159 continue 6160 else 6161 # Passes both tests. 6162 ac_preproc_ok=: 6163 break 6164 fi 6165 rm -f conftest.err conftest.i conftest.$ac_ext 6166 6167 done 6168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6169 rm -f conftest.i conftest.err conftest.$ac_ext 6170 if $ac_preproc_ok; then : 6171 6172 else 6173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6175 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6176 See \`config.log' for more details" "$LINENO" 5; } 6177 fi 6178 6179 ac_ext=c 6180 ac_cpp='$CPP $CPPFLAGS' 6181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6183 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6184 6185 6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6187 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6188 if ${ac_cv_path_GREP+:} false; then : 6189 $as_echo_n "(cached) " >&6 6190 else 6191 if test -z "$GREP"; then 6192 ac_path_GREP_found=false 6193 # Loop through the user's path and test for each of PROGNAME-LIST 6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6196 do 6197 IFS=$as_save_IFS 6198 test -z "$as_dir" && as_dir=. 6199 for ac_prog in grep ggrep; do 6200 for ac_exec_ext in '' $ac_executable_extensions; do 6201 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6202 as_fn_executable_p "$ac_path_GREP" || continue 6203 # Check for GNU ac_path_GREP and select it if it is found. 6204 # Check for GNU $ac_path_GREP 6205 case `"$ac_path_GREP" --version 2>&1` in 6206 *GNU*) 6207 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6208 *) 6209 ac_count=0 6210 $as_echo_n 0123456789 >"conftest.in" 6211 while : 6212 do 6213 cat "conftest.in" "conftest.in" >"conftest.tmp" 6214 mv "conftest.tmp" "conftest.in" 6215 cp "conftest.in" "conftest.nl" 6216 $as_echo 'GREP' >> "conftest.nl" 6217 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6218 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6219 as_fn_arith $ac_count + 1 && ac_count=$as_val 6220 if test $ac_count -gt ${ac_path_GREP_max-0}; then 6221 # Best one so far, save it but keep looking for a better one 6222 ac_cv_path_GREP="$ac_path_GREP" 6223 ac_path_GREP_max=$ac_count 6224 fi 6225 # 10*(2^10) chars as input seems more than enough 6226 test $ac_count -gt 10 && break 6227 done 6228 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6229 esac 6230 6231 $ac_path_GREP_found && break 3 6232 done 6233 done 6234 done 6235 IFS=$as_save_IFS 6236 if test -z "$ac_cv_path_GREP"; then 6237 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6238 fi 6239 else 6240 ac_cv_path_GREP=$GREP 6241 fi 6242 6243 fi 6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 6245 $as_echo "$ac_cv_path_GREP" >&6; } 6246 GREP="$ac_cv_path_GREP" 6247 6248 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6250 $as_echo_n "checking for egrep... " >&6; } 6251 if ${ac_cv_path_EGREP+:} false; then : 6252 $as_echo_n "(cached) " >&6 6253 else 6254 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6255 then ac_cv_path_EGREP="$GREP -E" 6256 else 6257 if test -z "$EGREP"; then 6258 ac_path_EGREP_found=false 6259 # Loop through the user's path and test for each of PROGNAME-LIST 6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6262 do 6263 IFS=$as_save_IFS 6264 test -z "$as_dir" && as_dir=. 6265 for ac_prog in egrep; do 6266 for ac_exec_ext in '' $ac_executable_extensions; do 6267 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6268 as_fn_executable_p "$ac_path_EGREP" || continue 6269 # Check for GNU ac_path_EGREP and select it if it is found. 6270 # Check for GNU $ac_path_EGREP 6271 case `"$ac_path_EGREP" --version 2>&1` in 6272 *GNU*) 6273 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6274 *) 6275 ac_count=0 6276 $as_echo_n 0123456789 >"conftest.in" 6277 while : 6278 do 6279 cat "conftest.in" "conftest.in" >"conftest.tmp" 6280 mv "conftest.tmp" "conftest.in" 6281 cp "conftest.in" "conftest.nl" 6282 $as_echo 'EGREP' >> "conftest.nl" 6283 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6285 as_fn_arith $ac_count + 1 && ac_count=$as_val 6286 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 6287 # Best one so far, save it but keep looking for a better one 6288 ac_cv_path_EGREP="$ac_path_EGREP" 6289 ac_path_EGREP_max=$ac_count 6290 fi 6291 # 10*(2^10) chars as input seems more than enough 6292 test $ac_count -gt 10 && break 6293 done 6294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6295 esac 6296 6297 $ac_path_EGREP_found && break 3 6298 done 6299 done 6300 done 6301 IFS=$as_save_IFS 6302 if test -z "$ac_cv_path_EGREP"; then 6303 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6304 fi 6305 else 6306 ac_cv_path_EGREP=$EGREP 6307 fi 6308 6309 fi 6310 fi 6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 6312 $as_echo "$ac_cv_path_EGREP" >&6; } 6313 EGREP="$ac_cv_path_EGREP" 6314 6315 6316 6317 6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 6319 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; } 6320 if ${gl_cv_c_amsterdam_compiler+:} false; then : 6321 $as_echo_n "(cached) " >&6 6322 else 6323 6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6325 /* end confdefs.h. */ 6326 6327 #ifdef __ACK__ 6328 Amsterdam 6329 #endif 6330 6331 _ACEOF 6332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6333 $EGREP "Amsterdam" >/dev/null 2>&1; then : 6334 gl_cv_c_amsterdam_compiler=yes 6335 else 6336 gl_cv_c_amsterdam_compiler=no 6337 fi 6338 rm -f conftest* 6339 6340 6341 fi 6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 6343 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; } 6344 if test -z "$AR"; then 6345 if test $gl_cv_c_amsterdam_compiler = yes; then 6346 AR='cc -c.a' 6347 if test -z "$ARFLAGS"; then 6348 ARFLAGS='-o' 6349 fi 6350 else 6351 if test -n "$ac_tool_prefix"; then 6352 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6353 set dummy ${ac_tool_prefix}ar; ac_word=$2 6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6355 $as_echo_n "checking for $ac_word... " >&6; } 6356 if ${ac_cv_prog_AR+:} false; then : 6357 $as_echo_n "(cached) " >&6 6358 else 6359 if test -n "$AR"; then 6360 ac_cv_prog_AR="$AR" # Let the user override the test. 6361 else 6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6363 for as_dir in $PATH 6364 do 6365 IFS=$as_save_IFS 6366 test -z "$as_dir" && as_dir=. 6367 for ac_exec_ext in '' $ac_executable_extensions; do 6368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6369 ac_cv_prog_AR="${ac_tool_prefix}ar" 6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6371 break 2 6372 fi 6373 done 6374 done 6375 IFS=$as_save_IFS 6376 6377 fi 6378 fi 6379 AR=$ac_cv_prog_AR 6380 if test -n "$AR"; then 6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6382 $as_echo "$AR" >&6; } 6383 else 6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6385 $as_echo "no" >&6; } 6386 fi 6387 6388 6389 fi 6390 if test -z "$ac_cv_prog_AR"; then 6391 ac_ct_AR=$AR 6392 # Extract the first word of "ar", so it can be a program name with args. 6393 set dummy ar; ac_word=$2 6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6395 $as_echo_n "checking for $ac_word... " >&6; } 6396 if ${ac_cv_prog_ac_ct_AR+:} false; then : 6397 $as_echo_n "(cached) " >&6 6398 else 6399 if test -n "$ac_ct_AR"; then 6400 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6401 else 6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6403 for as_dir in $PATH 6404 do 6405 IFS=$as_save_IFS 6406 test -z "$as_dir" && as_dir=. 6407 for ac_exec_ext in '' $ac_executable_extensions; do 6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6409 ac_cv_prog_ac_ct_AR="ar" 6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6411 break 2 6412 fi 6413 done 6414 done 6415 IFS=$as_save_IFS 6416 6417 fi 6418 fi 6419 ac_ct_AR=$ac_cv_prog_ac_ct_AR 6420 if test -n "$ac_ct_AR"; then 6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6422 $as_echo "$ac_ct_AR" >&6; } 6423 else 6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6425 $as_echo "no" >&6; } 6426 fi 6427 6428 if test "x$ac_ct_AR" = x; then 6429 AR="ar" 6430 else 6431 case $cross_compiling:$ac_tool_warned in 6432 yes:) 6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6435 ac_tool_warned=yes ;; 6436 esac 6437 AR=$ac_ct_AR 6438 fi 6439 else 6440 AR="$ac_cv_prog_AR" 6441 fi 6442 6443 if test -z "$ARFLAGS"; then 6444 ARFLAGS='cru' 6445 fi 6446 fi 6447 else 6448 if test -z "$ARFLAGS"; then 6449 ARFLAGS='cru' 6450 fi 6451 fi 6452 6453 6454 if test -z "$RANLIB"; then 6455 if test $gl_cv_c_amsterdam_compiler = yes; then 6456 RANLIB=':' 6457 else 6458 if test -n "$ac_tool_prefix"; then 6459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6462 $as_echo_n "checking for $ac_word... " >&6; } 6463 if ${ac_cv_prog_RANLIB+:} false; then : 6464 $as_echo_n "(cached) " >&6 6465 else 6466 if test -n "$RANLIB"; then 6467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6468 else 6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6470 for as_dir in $PATH 6471 do 6472 IFS=$as_save_IFS 6473 test -z "$as_dir" && as_dir=. 6474 for ac_exec_ext in '' $ac_executable_extensions; do 6475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6478 break 2 6479 fi 6480 done 6481 done 6482 IFS=$as_save_IFS 6483 6484 fi 6485 fi 6486 RANLIB=$ac_cv_prog_RANLIB 6487 if test -n "$RANLIB"; then 6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6489 $as_echo "$RANLIB" >&6; } 6490 else 6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6492 $as_echo "no" >&6; } 6493 fi 6494 6495 6496 fi 6497 if test -z "$ac_cv_prog_RANLIB"; then 6498 ac_ct_RANLIB=$RANLIB 6499 # Extract the first word of "ranlib", so it can be a program name with args. 6500 set dummy ranlib; ac_word=$2 6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6502 $as_echo_n "checking for $ac_word... " >&6; } 6503 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6504 $as_echo_n "(cached) " >&6 6505 else 6506 if test -n "$ac_ct_RANLIB"; then 6507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6508 else 6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6510 for as_dir in $PATH 6511 do 6512 IFS=$as_save_IFS 6513 test -z "$as_dir" && as_dir=. 6514 for ac_exec_ext in '' $ac_executable_extensions; do 6515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6516 ac_cv_prog_ac_ct_RANLIB="ranlib" 6517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6518 break 2 6519 fi 6520 done 6521 done 6522 IFS=$as_save_IFS 6523 6524 fi 6525 fi 6526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6527 if test -n "$ac_ct_RANLIB"; then 6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6529 $as_echo "$ac_ct_RANLIB" >&6; } 6530 else 6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6532 $as_echo "no" >&6; } 6533 fi 6534 6535 if test "x$ac_ct_RANLIB" = x; then 6536 RANLIB=":" 6537 else 6538 case $cross_compiling:$ac_tool_warned in 6539 yes:) 6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6542 ac_tool_warned=yes ;; 6543 esac 6544 RANLIB=$ac_ct_RANLIB 6545 fi 6546 else 6547 RANLIB="$ac_cv_prog_RANLIB" 6548 fi 6549 6550 fi 6551 fi 6552 6553 6554 if test "x$CC" != xcc; then 6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 6556 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 6557 else 6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 6559 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } 6560 fi 6561 set dummy $CC; ac_cc=`$as_echo "$2" | 6562 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 6563 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 6564 $as_echo_n "(cached) " >&6 6565 else 6566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6567 /* end confdefs.h. */ 6568 6569 int 6570 main () 6571 { 6572 6573 ; 6574 return 0; 6575 } 6576 _ACEOF 6577 # Make sure it works both with $CC and with simple cc. 6578 # We do the test twice because some compilers refuse to overwrite an 6579 # existing .o file with -o, though they will create one. 6580 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 6581 rm -f conftest2.* 6582 if { { case "(($ac_try" in 6583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6584 *) ac_try_echo=$ac_try;; 6585 esac 6586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6587 $as_echo "$ac_try_echo"; } >&5 6588 (eval "$ac_try") 2>&5 6589 ac_status=$? 6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6591 test $ac_status = 0; } && 6592 test -f conftest2.$ac_objext && { { case "(($ac_try" in 6593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6594 *) ac_try_echo=$ac_try;; 6595 esac 6596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6597 $as_echo "$ac_try_echo"; } >&5 6598 (eval "$ac_try") 2>&5 6599 ac_status=$? 6600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6601 test $ac_status = 0; }; 6602 then 6603 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 6604 if test "x$CC" != xcc; then 6605 # Test first that cc exists at all. 6606 if { ac_try='cc -c conftest.$ac_ext >&5' 6607 { { case "(($ac_try" in 6608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6609 *) ac_try_echo=$ac_try;; 6610 esac 6611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6612 $as_echo "$ac_try_echo"; } >&5 6613 (eval "$ac_try") 2>&5 6614 ac_status=$? 6615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6616 test $ac_status = 0; }; }; then 6617 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 6618 rm -f conftest2.* 6619 if { { case "(($ac_try" in 6620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6621 *) ac_try_echo=$ac_try;; 6622 esac 6623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6624 $as_echo "$ac_try_echo"; } >&5 6625 (eval "$ac_try") 2>&5 6626 ac_status=$? 6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6628 test $ac_status = 0; } && 6629 test -f conftest2.$ac_objext && { { case "(($ac_try" in 6630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6631 *) ac_try_echo=$ac_try;; 6632 esac 6633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 6634 $as_echo "$ac_try_echo"; } >&5 6635 (eval "$ac_try") 2>&5 6636 ac_status=$? 6637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6638 test $ac_status = 0; }; 6639 then 6640 # cc works too. 6641 : 6642 else 6643 # cc exists but doesn't like -o. 6644 eval ac_cv_prog_cc_${ac_cc}_c_o=no 6645 fi 6646 fi 6647 fi 6648 else 6649 eval ac_cv_prog_cc_${ac_cc}_c_o=no 6650 fi 6651 rm -f core conftest* 6652 6653 fi 6654 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6656 $as_echo "yes" >&6; } 6657 else 6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6659 $as_echo "no" >&6; } 6660 6661 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 6662 6663 fi 6664 6665 # FIXME: we rely on the cache variable name because 6666 # there is no other way. 6667 set dummy $CC 6668 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 6669 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 6670 if test "$am_t" != yes; then 6671 # Losing compiler, so override with the script. 6672 # FIXME: It is wrong to rewrite CC. 6673 # But if we don't then we get into trouble of one sort or another. 6674 # A longer-term fix would be to have automake use am__CC in this case, 6675 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 6676 CC="$am_aux_dir/compile $CC" 6677 fi 6678 6679 6680 # Make sure we can run config.sub. 6681 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 6682 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 6683 6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 6685 $as_echo_n "checking build system type... " >&6; } 6686 if ${ac_cv_build+:} false; then : 6687 $as_echo_n "(cached) " >&6 6688 else 6689 ac_build_alias=$build_alias 6690 test "x$ac_build_alias" = x && 6691 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 6692 test "x$ac_build_alias" = x && 6693 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 6694 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 6695 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 6696 6697 fi 6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 6699 $as_echo "$ac_cv_build" >&6; } 6700 case $ac_cv_build in 6701 *-*-*) ;; 6702 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 6703 esac 6704 build=$ac_cv_build 6705 ac_save_IFS=$IFS; IFS='-' 6706 set x $ac_cv_build 6707 shift 6708 build_cpu=$1 6709 build_vendor=$2 6710 shift; shift 6711 # Remember, the first character of IFS is used to create $*, 6712 # except with old shells: 6713 build_os=$* 6714 IFS=$ac_save_IFS 6715 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 6716 6717 6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 6719 $as_echo_n "checking host system type... " >&6; } 6720 if ${ac_cv_host+:} false; then : 6721 $as_echo_n "(cached) " >&6 6722 else 6723 if test "x$host_alias" = x; then 6724 ac_cv_host=$ac_cv_build 6725 else 6726 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 6727 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 6728 fi 6729 6730 fi 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 6732 $as_echo "$ac_cv_host" >&6; } 6733 case $ac_cv_host in 6734 *-*-*) ;; 6735 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 6736 esac 6737 host=$ac_cv_host 6738 ac_save_IFS=$IFS; IFS='-' 6739 set x $ac_cv_host 6740 shift 6741 host_cpu=$1 6742 host_vendor=$2 6743 shift; shift 6744 # Remember, the first character of IFS is used to create $*, 6745 # except with old shells: 6746 host_os=$* 6747 IFS=$ac_save_IFS 6748 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 6749 6750 6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6752 $as_echo_n "checking for ANSI C header files... " >&6; } 6753 if ${ac_cv_header_stdc+:} false; then : 6754 $as_echo_n "(cached) " >&6 6755 else 6756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6757 /* end confdefs.h. */ 6758 #include <stdlib.h> 6759 #include <stdarg.h> 6760 #include <string.h> 6761 #include <float.h> 6762 6763 int 6764 main () 6765 { 6766 6767 ; 6768 return 0; 6769 } 6770 _ACEOF 6771 if ac_fn_c_try_compile "$LINENO"; then : 6772 ac_cv_header_stdc=yes 6773 else 6774 ac_cv_header_stdc=no 6775 fi 6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6777 6778 if test $ac_cv_header_stdc = yes; then 6779 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6781 /* end confdefs.h. */ 6782 #include <string.h> 6783 6784 _ACEOF 6785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6786 $EGREP "memchr" >/dev/null 2>&1; then : 6787 6788 else 6789 ac_cv_header_stdc=no 6790 fi 6791 rm -f conftest* 6792 6793 fi 6794 6795 if test $ac_cv_header_stdc = yes; then 6796 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6798 /* end confdefs.h. */ 6799 #include <stdlib.h> 6800 6801 _ACEOF 6802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6803 $EGREP "free" >/dev/null 2>&1; then : 6804 6805 else 6806 ac_cv_header_stdc=no 6807 fi 6808 rm -f conftest* 6809 6810 fi 6811 6812 if test $ac_cv_header_stdc = yes; then 6813 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6814 if test "$cross_compiling" = yes; then : 6815 : 6816 else 6817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6818 /* end confdefs.h. */ 6819 #include <ctype.h> 6820 #include <stdlib.h> 6821 #if ((' ' & 0x0FF) == 0x020) 6822 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6823 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6824 #else 6825 # define ISLOWER(c) \ 6826 (('a' <= (c) && (c) <= 'i') \ 6827 || ('j' <= (c) && (c) <= 'r') \ 6828 || ('s' <= (c) && (c) <= 'z')) 6829 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6830 #endif 6831 6832 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6833 int 6834 main () 6835 { 6836 int i; 6837 for (i = 0; i < 256; i++) 6838 if (XOR (islower (i), ISLOWER (i)) 6839 || toupper (i) != TOUPPER (i)) 6840 return 2; 6841 return 0; 6842 } 6843 _ACEOF 6844 if ac_fn_c_try_run "$LINENO"; then : 6845 6846 else 6847 ac_cv_header_stdc=no 6848 fi 6849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6850 conftest.$ac_objext conftest.beam conftest.$ac_ext 6851 fi 6852 6853 fi 6854 fi 6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6856 $as_echo "$ac_cv_header_stdc" >&6; } 6857 if test $ac_cv_header_stdc = yes; then 6858 6859 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 6860 6861 fi 6862 6863 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 6864 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6865 inttypes.h stdint.h unistd.h 6866 do : 6867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6868 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6869 " 6870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6871 cat >>confdefs.h <<_ACEOF 6872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6873 _ACEOF 6874 6875 fi 6876 6877 done 6878 6879 6880 6881 6882 6883 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 6884 if test "x$ac_cv_header_minix_config_h" = xyes; then : 6885 MINIX=yes 6886 else 6887 MINIX= 6888 fi 6889 6890 6891 if test "$MINIX" = yes; then 6892 6893 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 6894 6895 6896 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 6897 6898 6899 $as_echo "#define _MINIX 1" >>confdefs.h 6900 6901 fi 6902 6903 case "$host_os" in 6904 hpux*) 6905 6906 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h 6907 6908 ;; 6909 esac 6910 6911 6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 6913 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 6914 if ${ac_cv_safe_to_define___extensions__+:} false; then : 6915 $as_echo_n "(cached) " >&6 6916 else 6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6918 /* end confdefs.h. */ 6919 6920 # define __EXTENSIONS__ 1 6921 $ac_includes_default 6922 int 6923 main () 6924 { 6925 6926 ; 6927 return 0; 6928 } 6929 _ACEOF 6930 if ac_fn_c_try_compile "$LINENO"; then : 6931 ac_cv_safe_to_define___extensions__=yes 6932 else 6933 ac_cv_safe_to_define___extensions__=no 6934 fi 6935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6936 fi 6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 6938 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 6939 test $ac_cv_safe_to_define___extensions__ = yes && 6940 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 6941 6942 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 6943 6944 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h 6945 6946 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 6947 6948 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6949 6950 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 # IEEE behaviour is the default on all CPUs except Alpha and SH 6963 # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 6964 # and the GCC 4.1.2 manual). 6965 case "$host_cpu" in 6966 alpha*) 6967 # On Alpha systems, a compiler option provides the behaviour. 6968 # See the ieee(3) manual page, also available at 6969 # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM> 6970 if test -n "$GCC"; then 6971 # GCC has the option -mieee. 6972 # For full IEEE compliance (rarely needed), use option -mieee-with-inexact. 6973 CPPFLAGS="$CPPFLAGS -mieee" 6974 else 6975 # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact. 6976 # For full IEEE compliance (rarely needed), use option -ieee_with_inexact. 6977 CPPFLAGS="$CPPFLAGS -ieee" 6978 fi 6979 ;; 6980 sh*) 6981 if test -n "$GCC"; then 6982 # GCC has the option -mieee. 6983 CPPFLAGS="$CPPFLAGS -mieee" 6984 fi 6985 ;; 6986 esac 6987 6988 # Check whether --enable-largefile was given. 6989 if test "${enable_largefile+set}" = set; then : 6990 enableval=$enable_largefile; 6991 fi 6992 6993 if test "$enable_largefile" != no; then 6994 6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 6996 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 6997 if ${ac_cv_sys_largefile_CC+:} false; then : 6998 $as_echo_n "(cached) " >&6 6999 else 7000 ac_cv_sys_largefile_CC=no 7001 if test "$GCC" != yes; then 7002 ac_save_CC=$CC 7003 while :; do 7004 # IRIX 6.2 and later do not support large files by default, 7005 # so use the C compiler's -n32 option if that helps. 7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7007 /* end confdefs.h. */ 7008 #include <sys/types.h> 7009 /* Check that off_t can represent 2**63 - 1 correctly. 7010 We can't simply define LARGE_OFF_T to be 9223372036854775807, 7011 since some C++ compilers masquerading as C compilers 7012 incorrectly reject 9223372036854775807. */ 7013 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 7014 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7015 && LARGE_OFF_T % 2147483647 == 1) 7016 ? 1 : -1]; 7017 int 7018 main () 7019 { 7020 7021 ; 7022 return 0; 7023 } 7024 _ACEOF 7025 if ac_fn_c_try_compile "$LINENO"; then : 7026 break 7027 fi 7028 rm -f core conftest.err conftest.$ac_objext 7029 CC="$CC -n32" 7030 if ac_fn_c_try_compile "$LINENO"; then : 7031 ac_cv_sys_largefile_CC=' -n32'; break 7032 fi 7033 rm -f core conftest.err conftest.$ac_objext 7034 break 7035 done 7036 CC=$ac_save_CC 7037 rm -f conftest.$ac_ext 7038 fi 7039 fi 7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 7041 $as_echo "$ac_cv_sys_largefile_CC" >&6; } 7042 if test "$ac_cv_sys_largefile_CC" != no; then 7043 CC=$CC$ac_cv_sys_largefile_CC 7044 fi 7045 7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 7047 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 7048 if ${ac_cv_sys_file_offset_bits+:} false; then : 7049 $as_echo_n "(cached) " >&6 7050 else 7051 while :; do 7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7053 /* end confdefs.h. */ 7054 #include <sys/types.h> 7055 /* Check that off_t can represent 2**63 - 1 correctly. 7056 We can't simply define LARGE_OFF_T to be 9223372036854775807, 7057 since some C++ compilers masquerading as C compilers 7058 incorrectly reject 9223372036854775807. */ 7059 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 7060 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7061 && LARGE_OFF_T % 2147483647 == 1) 7062 ? 1 : -1]; 7063 int 7064 main () 7065 { 7066 7067 ; 7068 return 0; 7069 } 7070 _ACEOF 7071 if ac_fn_c_try_compile "$LINENO"; then : 7072 ac_cv_sys_file_offset_bits=no; break 7073 fi 7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7076 /* end confdefs.h. */ 7077 #define _FILE_OFFSET_BITS 64 7078 #include <sys/types.h> 7079 /* Check that off_t can represent 2**63 - 1 correctly. 7080 We can't simply define LARGE_OFF_T to be 9223372036854775807, 7081 since some C++ compilers masquerading as C compilers 7082 incorrectly reject 9223372036854775807. */ 7083 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 7084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7085 && LARGE_OFF_T % 2147483647 == 1) 7086 ? 1 : -1]; 7087 int 7088 main () 7089 { 7090 7091 ; 7092 return 0; 7093 } 7094 _ACEOF 7095 if ac_fn_c_try_compile "$LINENO"; then : 7096 ac_cv_sys_file_offset_bits=64; break 7097 fi 7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7099 ac_cv_sys_file_offset_bits=unknown 7100 break 7101 done 7102 fi 7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 7104 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } 7105 case $ac_cv_sys_file_offset_bits in #( 7106 no | unknown) ;; 7107 *) 7108 cat >>confdefs.h <<_ACEOF 7109 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 7110 _ACEOF 7111 ;; 7112 esac 7113 rm -rf conftest* 7114 if test $ac_cv_sys_file_offset_bits = unknown; then 7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 7116 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 7117 if ${ac_cv_sys_large_files+:} false; then : 7118 $as_echo_n "(cached) " >&6 7119 else 7120 while :; do 7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7122 /* end confdefs.h. */ 7123 #include <sys/types.h> 7124 /* Check that off_t can represent 2**63 - 1 correctly. 7125 We can't simply define LARGE_OFF_T to be 9223372036854775807, 7126 since some C++ compilers masquerading as C compilers 7127 incorrectly reject 9223372036854775807. */ 7128 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 7129 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7130 && LARGE_OFF_T % 2147483647 == 1) 7131 ? 1 : -1]; 7132 int 7133 main () 7134 { 7135 7136 ; 7137 return 0; 7138 } 7139 _ACEOF 7140 if ac_fn_c_try_compile "$LINENO"; then : 7141 ac_cv_sys_large_files=no; break 7142 fi 7143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7145 /* end confdefs.h. */ 7146 #define _LARGE_FILES 1 7147 #include <sys/types.h> 7148 /* Check that off_t can represent 2**63 - 1 correctly. 7149 We can't simply define LARGE_OFF_T to be 9223372036854775807, 7150 since some C++ compilers masquerading as C compilers 7151 incorrectly reject 9223372036854775807. */ 7152 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 7153 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7154 && LARGE_OFF_T % 2147483647 == 1) 7155 ? 1 : -1]; 7156 int 7157 main () 7158 { 7159 7160 ; 7161 return 0; 7162 } 7163 _ACEOF 7164 if ac_fn_c_try_compile "$LINENO"; then : 7165 ac_cv_sys_large_files=1; break 7166 fi 7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7168 ac_cv_sys_large_files=unknown 7169 break 7170 done 7171 fi 7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 7173 $as_echo "$ac_cv_sys_large_files" >&6; } 7174 case $ac_cv_sys_large_files in #( 7175 no | unknown) ;; 7176 *) 7177 cat >>confdefs.h <<_ACEOF 7178 #define _LARGE_FILES $ac_cv_sys_large_files 7179 _ACEOF 7180 ;; 7181 esac 7182 rm -rf conftest* 7183 fi 7184 7185 7186 fi 7187 7188 7189 7190 7191 7192 7193 # Check whether --enable-threads was given. 7194 if test "${enable_threads+set}" = set; then : 7195 enableval=$enable_threads; gl_use_threads=$enableval 7196 else 7197 if test -n "$gl_use_threads_default"; then 7198 gl_use_threads="$gl_use_threads_default" 7199 else 7200 case "$host_os" in 7201 osf*) gl_use_threads=no ;; 7202 cygwin*) 7203 case `uname -r` in 7204 1.[0-5].*) gl_use_threads=no ;; 7205 *) gl_use_threads=yes ;; 7206 esac 7207 ;; 7208 *) gl_use_threads=yes ;; 7209 esac 7210 fi 7211 7212 fi 7213 7214 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then 7215 # For using <pthread.h>: 7216 case "$host_os" in 7217 osf*) 7218 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it 7219 # groks <pthread.h>. cc also understands the flag -pthread, but 7220 # we don't use it because 1. gcc-2.95 doesn't understand -pthread, 7221 # 2. putting a flag into CPPFLAGS that has an effect on the linker 7222 # causes the AC_LINK_IFELSE test below to succeed unexpectedly, 7223 # leading to wrong values of LIBTHREAD and LTLIBTHREAD. 7224 CPPFLAGS="$CPPFLAGS -D_REENTRANT" 7225 ;; 7226 esac 7227 # Some systems optimize for single-threaded programs by default, and 7228 # need special flags to disable these optimizations. For example, the 7229 # definition of 'errno' in <errno.h>. 7230 case "$host_os" in 7231 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; 7232 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; 7233 esac 7234 fi 7235 7236 7237 7238 7239 # Code from module alloca-opt: 7240 # Code from module announce-gen: 7241 # Code from module argmatch: 7242 # Code from module assert: 7243 # Code from module binary-io: 7244 # Code from module bitrotate: 7245 # Code from module c-ctype: 7246 # Code from module c-strcase: 7247 # Code from module c-strcaseeq: 7248 # Code from module calloc-posix: 7249 # Code from module cloexec: 7250 # Code from module close: 7251 # Code from module close-stream: 7252 # Code from module closeout: 7253 # Code from module config-h: 7254 # Code from module configmake: 7255 # Code from module dirname: 7256 # Code from module dirname-lgpl: 7257 # Code from module do-release-commit-and-tag: 7258 # Code from module dosname: 7259 # Code from module double-slash-root: 7260 # Code from module dup2: 7261 # Code from module environ: 7262 # Code from module errno: 7263 # Code from module error: 7264 # Code from module exitfail: 7265 # Code from module extensions: 7266 7267 # Code from module extern-inline: 7268 # Code from module fatal-signal: 7269 # Code from module fcntl: 7270 # Code from module fcntl-h: 7271 # Code from module fd-hook: 7272 # Code from module fd-safer-flag: 7273 # Code from module fdl: 7274 # Code from module float: 7275 # Code from module fopen: 7276 # Code from module fopen-safer: 7277 # Code from module fpending: 7278 # Code from module fpieee: 7279 7280 # Code from module fprintf-posix: 7281 # Code from module fpucw: 7282 # Code from module frexp-nolibm: 7283 # Code from module frexpl-nolibm: 7284 # Code from module fseterr: 7285 # Code from module fstat: 7286 # Code from module gendocs: 7287 # Code from module getdelim: 7288 # Code from module getdtablesize: 7289 # Code from module getline: 7290 # Code from module getopt-gnu: 7291 # Code from module getopt-posix: 7292 # Code from module gettext: 7293 # Code from module gettext-h: 7294 # Code from module git-version-gen: 7295 # Code from module gitlog-to-changelog: 7296 # Code from module gnu-web-doc-update: 7297 # Code from module gnumakefile: 7298 # Code from module gnupload: 7299 # Code from module gpl-3.0: 7300 # Code from module hash: 7301 # Code from module havelib: 7302 # Code from module include_next: 7303 # Code from module intprops: 7304 # Code from module inttypes: 7305 # Code from module inttypes-incomplete: 7306 # Code from module isnan: 7307 # Code from module isnand: 7308 # Code from module isnand-nolibm: 7309 # Code from module isnanf: 7310 # Code from module isnanf-nolibm: 7311 # Code from module isnanl: 7312 # Code from module isnanl-nolibm: 7313 # Code from module iswblank: 7314 # Code from module javacomp-script: 7315 # Code from module javaexec-script: 7316 # Code from module largefile: 7317 7318 # Code from module ldexp: 7319 # Code from module ldexpl: 7320 # Code from module localcharset: 7321 # Code from module lock: 7322 # Code from module maintainer-makefile: 7323 # Code from module malloc-gnu: 7324 # Code from module malloc-posix: 7325 # Code from module math: 7326 # Code from module mbchar: 7327 # Code from module mbrtowc: 7328 # Code from module mbschr: 7329 # Code from module mbsinit: 7330 # Code from module mbsrchr: 7331 # Code from module mbswidth: 7332 # Code from module mbuiter: 7333 # Code from module memchr: 7334 # Code from module msvc-inval: 7335 # Code from module msvc-nothrow: 7336 # Code from module multiarch: 7337 # Code from module nocrash: 7338 # Code from module obstack: 7339 # Code from module obstack-printf: 7340 # Code from module open: 7341 # Code from module pathmax: 7342 # Code from module perror: 7343 # Code from module pipe2: 7344 # Code from module pipe2-safer: 7345 # Code from module posix_spawn-internal: 7346 # Code from module posix_spawn_file_actions_addclose: 7347 # Code from module posix_spawn_file_actions_adddup2: 7348 # Code from module posix_spawn_file_actions_addopen: 7349 # Code from module posix_spawn_file_actions_destroy: 7350 # Code from module posix_spawn_file_actions_init: 7351 # Code from module posix_spawnattr_destroy: 7352 # Code from module posix_spawnattr_init: 7353 # Code from module posix_spawnattr_setflags: 7354 # Code from module posix_spawnattr_setsigmask: 7355 # Code from module posix_spawnp: 7356 # Code from module printf-frexp: 7357 # Code from module printf-frexpl: 7358 # Code from module printf-posix: 7359 # Code from module printf-safe: 7360 # Code from module progname: 7361 # Code from module quote: 7362 # Code from module quotearg: 7363 # Code from module quotearg-simple: 7364 # Code from module raise: 7365 # Code from module rawmemchr: 7366 # Code from module readme-release: 7367 # Code from module realloc-posix: 7368 # Code from module sched: 7369 # Code from module sigaction: 7370 # Code from module signal-h: 7371 # Code from module signbit: 7372 # Code from module sigprocmask: 7373 # Code from module size_max: 7374 # Code from module snippet/_Noreturn: 7375 # Code from module snippet/arg-nonnull: 7376 # Code from module snippet/c++defs: 7377 # Code from module snippet/warn-on-use: 7378 # Code from module snprintf: 7379 # Code from module snprintf-posix: 7380 # Code from module spawn: 7381 # Code from module spawn-pipe: 7382 # Code from module sprintf-posix: 7383 # Code from module ssize_t: 7384 # Code from module stat: 7385 # Code from module stdbool: 7386 # Code from module stddef: 7387 # Code from module stdint: 7388 # Code from module stdio: 7389 # Code from module stdlib: 7390 # Code from module stpcpy: 7391 # Code from module strchrnul: 7392 # Code from module strdup-posix: 7393 # Code from module streq: 7394 # Code from module strerror: 7395 # Code from module strerror-override: 7396 # Code from module strerror_r-posix: 7397 # Code from module string: 7398 # Code from module strndup: 7399 # Code from module strnlen: 7400 # Code from module strnlen1: 7401 # Code from module strtoul: 7402 # Code from module strverscmp: 7403 # Code from module sys_stat: 7404 # Code from module sys_types: 7405 # Code from module sys_wait: 7406 # Code from module threadlib: 7407 7408 7409 7410 # Code from module time: 7411 # Code from module unistd: 7412 # Code from module unistd-safer: 7413 # Code from module unitypes: 7414 # Code from module uniwidth/base: 7415 # Code from module uniwidth/width: 7416 # Code from module unlocked-io: 7417 # Code from module unsetenv: 7418 # Code from module update-copyright: 7419 # Code from module useless-if-before-free: 7420 # Code from module vasnprintf: 7421 # Code from module vc-list-files: 7422 # Code from module verify: 7423 # Code from module vfprintf-posix: 7424 # Code from module vsnprintf: 7425 # Code from module vsnprintf-posix: 7426 # Code from module vsprintf-posix: 7427 # Code from module wait-process: 7428 # Code from module waitpid: 7429 # Code from module warnings: 7430 # Code from module wchar: 7431 # Code from module wctype-h: 7432 # Code from module wcwidth: 7433 # Code from module xalloc: 7434 # Code from module xalloc-die: 7435 # Code from module xalloc-oversized: 7436 # Code from module xmemdup0: 7437 # Code from module xsize: 7438 # Code from module xstrndup: 7439 7440 7441 # Gnulib uses '#pragma GCC diagnostic push' to silence some 7442 # warnings, but older gcc doesn't support this. 7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma GCC diagnostic push works" >&5 7444 $as_echo_n "checking whether pragma GCC diagnostic push works... " >&6; } 7445 if ${lv_cv_gcc_pragma_push_works+:} false; then : 7446 $as_echo_n "(cached) " >&6 7447 else 7448 7449 save_CFLAGS=$CFLAGS 7450 CFLAGS='-Wunknown-pragmas -Werror' 7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7452 /* end confdefs.h. */ 7453 7454 #pragma GCC diagnostic push 7455 #pragma GCC diagnostic pop 7456 7457 int 7458 main () 7459 { 7460 7461 ; 7462 return 0; 7463 } 7464 _ACEOF 7465 if ac_fn_c_try_compile "$LINENO"; then : 7466 lv_cv_gcc_pragma_push_works=yes 7467 else 7468 lv_cv_gcc_pragma_push_works=no 7469 fi 7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7471 CFLAGS=$save_CFLAGS 7472 fi 7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lv_cv_gcc_pragma_push_works" >&5 7474 $as_echo "$lv_cv_gcc_pragma_push_works" >&6; } 7475 7476 # Check whether --enable-gcc-warnings was given. 7477 if test "${enable_gcc_warnings+set}" = set; then : 7478 enableval=$enable_gcc_warnings; case $enable_gcc_warnings in 7479 yes|no) ;; 7480 *) as_fn_error $? "invalid value for --gcc-warnings: $enable_gcc_warnings" "$LINENO" 5;; 7481 esac 7482 else 7483 enable_gcc_warnings=no 7484 fi 7485 7486 if test "$enable_gcc_warnings" = yes; then 7487 warn_common='-Wall -Wextra -Wno-sign-compare -Wcast-align 7488 -Wformat -Wpointer-arith -Wwrite-strings' 7489 warn_c='-Wbad-function-cast -Wshadow -Wstrict-prototypes' 7490 warn_cxx='-Wnoexcept' 7491 ac_ext=c 7492 ac_cpp='$CPP $CPPFLAGS' 7493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7495 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7496 7497 # Clang supports many of GCC's -W options, but only issues warnings 7498 # on the ones it does not recognize. In that case, gl_WARN_ADD 7499 # thinks the option is supported, and unknown options are then added 7500 # to CFLAGS. But then, when -Werror is added in the test suite for 7501 # instance, the warning about the unknown option turns into an 7502 # error. 7503 # 7504 # This should be addressed by gnulib's gl_WARN_ADD, but in the 7505 # meanwhile, turn warnings about unknown options into errors in 7506 # CFLAGS, and restore CFLAGS after the tests. 7507 save_CFLAGS=$CFLAGS 7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror=unknown-warning-option" >&5 7509 $as_echo_n "checking whether C compiler handles -Werror=unknown-warning-option... " >&6; } 7510 if ${gl_cv_warn_c__Werror_unknown_warning_option+:} false; then : 7511 $as_echo_n "(cached) " >&6 7512 else 7513 7514 gl_save_compiler_FLAGS="$CFLAGS" 7515 as_fn_append CFLAGS " -Werror=unknown-warning-option" 7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7517 /* end confdefs.h. */ 7518 7519 int 7520 main () 7521 { 7522 7523 ; 7524 return 0; 7525 } 7526 _ACEOF 7527 if ac_fn_c_try_compile "$LINENO"; then : 7528 gl_cv_warn_c__Werror_unknown_warning_option=yes 7529 else 7530 gl_cv_warn_c__Werror_unknown_warning_option=no 7531 fi 7532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7533 CFLAGS="$gl_save_compiler_FLAGS" 7534 7535 fi 7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror_unknown_warning_option" >&5 7537 $as_echo "$gl_cv_warn_c__Werror_unknown_warning_option" >&6; } 7538 if test "x$gl_cv_warn_c__Werror_unknown_warning_option" = xyes; then : 7539 as_fn_append CFLAGS " -Werror=unknown-warning-option" 7540 fi 7541 7542 7543 for i in $warn_common $warn_c; 7544 do 7545 as_gl_Warn=`$as_echo "gl_cv_warn_c_$i" | $as_tr_sh` 7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $i" >&5 7547 $as_echo_n "checking whether C compiler handles $i... " >&6; } 7548 if eval \${$as_gl_Warn+:} false; then : 7549 $as_echo_n "(cached) " >&6 7550 else 7551 7552 gl_save_compiler_FLAGS="$CFLAGS" 7553 as_fn_append CFLAGS " $i" 7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7555 /* end confdefs.h. */ 7556 7557 int 7558 main () 7559 { 7560 7561 ; 7562 return 0; 7563 } 7564 _ACEOF 7565 if ac_fn_c_try_compile "$LINENO"; then : 7566 eval "$as_gl_Warn=yes" 7567 else 7568 eval "$as_gl_Warn=no" 7569 fi 7570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7571 CFLAGS="$gl_save_compiler_FLAGS" 7572 7573 fi 7574 eval ac_res=\$$as_gl_Warn 7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 7576 $as_echo "$ac_res" >&6; } 7577 if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : 7578 as_fn_append WARN_CFLAGS " $i" 7579 fi 7580 7581 7582 done 7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror" >&5 7584 $as_echo_n "checking whether C compiler handles -Werror... " >&6; } 7585 if ${gl_cv_warn_c__Werror+:} false; then : 7586 $as_echo_n "(cached) " >&6 7587 else 7588 7589 gl_save_compiler_FLAGS="$CFLAGS" 7590 as_fn_append CFLAGS " -Werror" 7591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7592 /* end confdefs.h. */ 7593 7594 int 7595 main () 7596 { 7597 7598 ; 7599 return 0; 7600 } 7601 _ACEOF 7602 if ac_fn_c_try_compile "$LINENO"; then : 7603 gl_cv_warn_c__Werror=yes 7604 else 7605 gl_cv_warn_c__Werror=no 7606 fi 7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7608 CFLAGS="$gl_save_compiler_FLAGS" 7609 7610 fi 7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror" >&5 7612 $as_echo "$gl_cv_warn_c__Werror" >&6; } 7613 if test "x$gl_cv_warn_c__Werror" = xyes; then : 7614 as_fn_append WERROR_CFLAGS " -Werror" 7615 fi 7616 7617 7618 7619 # Warnings for the test suite, and maybe for bison if GCC is modern 7620 # enough. 7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wmissing-declarations" >&5 7622 $as_echo_n "checking whether C compiler handles -Wmissing-declarations... " >&6; } 7623 if ${gl_cv_warn_c__Wmissing_declarations+:} false; then : 7624 $as_echo_n "(cached) " >&6 7625 else 7626 7627 gl_save_compiler_FLAGS="$CFLAGS" 7628 as_fn_append CFLAGS " -Wmissing-declarations" 7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7630 /* end confdefs.h. */ 7631 7632 int 7633 main () 7634 { 7635 7636 ; 7637 return 0; 7638 } 7639 _ACEOF 7640 if ac_fn_c_try_compile "$LINENO"; then : 7641 gl_cv_warn_c__Wmissing_declarations=yes 7642 else 7643 gl_cv_warn_c__Wmissing_declarations=no 7644 fi 7645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7646 CFLAGS="$gl_save_compiler_FLAGS" 7647 7648 fi 7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wmissing_declarations" >&5 7650 $as_echo "$gl_cv_warn_c__Wmissing_declarations" >&6; } 7651 if test "x$gl_cv_warn_c__Wmissing_declarations" = xyes; then : 7652 as_fn_append WARN_CFLAGS_TEST " -Wmissing-declarations" 7653 fi 7654 7655 7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wmissing-prototypes" >&5 7657 $as_echo_n "checking whether C compiler handles -Wmissing-prototypes... " >&6; } 7658 if ${gl_cv_warn_c__Wmissing_prototypes+:} false; then : 7659 $as_echo_n "(cached) " >&6 7660 else 7661 7662 gl_save_compiler_FLAGS="$CFLAGS" 7663 as_fn_append CFLAGS " -Wmissing-prototypes" 7664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7665 /* end confdefs.h. */ 7666 7667 int 7668 main () 7669 { 7670 7671 ; 7672 return 0; 7673 } 7674 _ACEOF 7675 if ac_fn_c_try_compile "$LINENO"; then : 7676 gl_cv_warn_c__Wmissing_prototypes=yes 7677 else 7678 gl_cv_warn_c__Wmissing_prototypes=no 7679 fi 7680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7681 CFLAGS="$gl_save_compiler_FLAGS" 7682 7683 fi 7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wmissing_prototypes" >&5 7685 $as_echo "$gl_cv_warn_c__Wmissing_prototypes" >&6; } 7686 if test "x$gl_cv_warn_c__Wmissing_prototypes" = xyes; then : 7687 as_fn_append WARN_CFLAGS_TEST " -Wmissing-prototypes" 7688 fi 7689 7690 7691 test $lv_cv_gcc_pragma_push_works = yes && 7692 as_fn_append WARN_CFLAGS " $WARN_CFLAGS_TEST" 7693 7694 # Warnings for the test suite only. 7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wundef" >&5 7696 $as_echo_n "checking whether C compiler handles -Wundef... " >&6; } 7697 if ${gl_cv_warn_c__Wundef+:} false; then : 7698 $as_echo_n "(cached) " >&6 7699 else 7700 7701 gl_save_compiler_FLAGS="$CFLAGS" 7702 as_fn_append CFLAGS " -Wundef" 7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7704 /* end confdefs.h. */ 7705 7706 int 7707 main () 7708 { 7709 7710 ; 7711 return 0; 7712 } 7713 _ACEOF 7714 if ac_fn_c_try_compile "$LINENO"; then : 7715 gl_cv_warn_c__Wundef=yes 7716 else 7717 gl_cv_warn_c__Wundef=no 7718 fi 7719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7720 CFLAGS="$gl_save_compiler_FLAGS" 7721 7722 fi 7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wundef" >&5 7724 $as_echo "$gl_cv_warn_c__Wundef" >&6; } 7725 if test "x$gl_cv_warn_c__Wundef" = xyes; then : 7726 as_fn_append WARN_CFLAGS_TEST " -Wundef" 7727 fi 7728 7729 7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -pedantic" >&5 7731 $as_echo_n "checking whether C compiler handles -pedantic... " >&6; } 7732 if ${gl_cv_warn_c__pedantic+:} false; then : 7733 $as_echo_n "(cached) " >&6 7734 else 7735 7736 gl_save_compiler_FLAGS="$CFLAGS" 7737 as_fn_append CFLAGS " -pedantic" 7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7739 /* end confdefs.h. */ 7740 7741 int 7742 main () 7743 { 7744 7745 ; 7746 return 0; 7747 } 7748 _ACEOF 7749 if ac_fn_c_try_compile "$LINENO"; then : 7750 gl_cv_warn_c__pedantic=yes 7751 else 7752 gl_cv_warn_c__pedantic=no 7753 fi 7754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7755 CFLAGS="$gl_save_compiler_FLAGS" 7756 7757 fi 7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__pedantic" >&5 7759 $as_echo "$gl_cv_warn_c__pedantic" >&6; } 7760 if test "x$gl_cv_warn_c__pedantic" = xyes; then : 7761 as_fn_append WARN_CFLAGS_TEST " -pedantic" 7762 fi 7763 7764 7765 CFLAGS=$save_CFLAGS 7766 ac_ext=c 7767 ac_cpp='$CPP $CPPFLAGS' 7768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7770 ac_compiler_gnu=$ac_cv_c_compiler_gnu 7771 7772 7773 7774 ac_ext=cpp 7775 ac_cpp='$CXXCPP $CPPFLAGS' 7776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7779 7780 save_CXXFLAGS=$CXXFLAGS 7781 7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -Werror=unknown-warning-option" >&5 7783 $as_echo_n "checking whether C++ compiler handles -Werror=unknown-warning-option... " >&6; } 7784 if ${gl_cv_warn_cxx__Werror_unknown_warning_option+:} false; then : 7785 $as_echo_n "(cached) " >&6 7786 else 7787 7788 gl_save_compiler_FLAGS="$CXXFLAGS" 7789 as_fn_append CXXFLAGS " -Werror=unknown-warning-option" 7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7791 /* end confdefs.h. */ 7792 7793 int 7794 main () 7795 { 7796 7797 ; 7798 return 0; 7799 } 7800 _ACEOF 7801 if ac_fn_cxx_try_compile "$LINENO"; then : 7802 gl_cv_warn_cxx__Werror_unknown_warning_option=yes 7803 else 7804 gl_cv_warn_cxx__Werror_unknown_warning_option=no 7805 fi 7806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7807 CXXFLAGS="$gl_save_compiler_FLAGS" 7808 7809 fi 7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__Werror_unknown_warning_option" >&5 7811 $as_echo "$gl_cv_warn_cxx__Werror_unknown_warning_option" >&6; } 7812 if test "x$gl_cv_warn_cxx__Werror_unknown_warning_option" = xyes; then : 7813 as_fn_append CXXFLAGS " -Werror=unknown-warning-option" 7814 fi 7815 7816 7817 for i in $warn_common $warn_cxx; 7818 do 7819 as_gl_Warn=`$as_echo "gl_cv_warn_cxx_$i" | $as_tr_sh` 7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles $i" >&5 7821 $as_echo_n "checking whether C++ compiler handles $i... " >&6; } 7822 if eval \${$as_gl_Warn+:} false; then : 7823 $as_echo_n "(cached) " >&6 7824 else 7825 7826 gl_save_compiler_FLAGS="$CXXFLAGS" 7827 as_fn_append CXXFLAGS " $i" 7828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7829 /* end confdefs.h. */ 7830 7831 int 7832 main () 7833 { 7834 7835 ; 7836 return 0; 7837 } 7838 _ACEOF 7839 if ac_fn_cxx_try_compile "$LINENO"; then : 7840 eval "$as_gl_Warn=yes" 7841 else 7842 eval "$as_gl_Warn=no" 7843 fi 7844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7845 CXXFLAGS="$gl_save_compiler_FLAGS" 7846 7847 fi 7848 eval ac_res=\$$as_gl_Warn 7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 7850 $as_echo "$ac_res" >&6; } 7851 if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : 7852 as_fn_append WARN_CXXFLAGS " $i" 7853 fi 7854 7855 7856 done 7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -Wzero-as-null-pointer-constant" >&5 7858 $as_echo_n "checking whether C++ compiler handles -Wzero-as-null-pointer-constant... " >&6; } 7859 if ${gl_cv_warn_cxx__Wzero_as_null_pointer_constant+:} false; then : 7860 $as_echo_n "(cached) " >&6 7861 else 7862 7863 gl_save_compiler_FLAGS="$CXXFLAGS" 7864 as_fn_append CXXFLAGS " -Wzero-as-null-pointer-constant" 7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7866 /* end confdefs.h. */ 7867 7868 int 7869 main () 7870 { 7871 nullptr 7872 ; 7873 return 0; 7874 } 7875 _ACEOF 7876 if ac_fn_cxx_try_compile "$LINENO"; then : 7877 gl_cv_warn_cxx__Wzero_as_null_pointer_constant=yes 7878 else 7879 gl_cv_warn_cxx__Wzero_as_null_pointer_constant=no 7880 fi 7881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7882 CXXFLAGS="$gl_save_compiler_FLAGS" 7883 7884 fi 7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__Wzero_as_null_pointer_constant" >&5 7886 $as_echo "$gl_cv_warn_cxx__Wzero_as_null_pointer_constant" >&6; } 7887 if test "x$gl_cv_warn_cxx__Wzero_as_null_pointer_constant" = xyes; then : 7888 as_fn_append WARN_CXXFLAGS " -Wzero-as-null-pointer-constant" 7889 fi 7890 7891 7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -Werror" >&5 7893 $as_echo_n "checking whether C++ compiler handles -Werror... " >&6; } 7894 if ${gl_cv_warn_cxx__Werror+:} false; then : 7895 $as_echo_n "(cached) " >&6 7896 else 7897 7898 gl_save_compiler_FLAGS="$CXXFLAGS" 7899 as_fn_append CXXFLAGS " -Werror" 7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7901 /* end confdefs.h. */ 7902 7903 int 7904 main () 7905 { 7906 7907 ; 7908 return 0; 7909 } 7910 _ACEOF 7911 if ac_fn_cxx_try_compile "$LINENO"; then : 7912 gl_cv_warn_cxx__Werror=yes 7913 else 7914 gl_cv_warn_cxx__Werror=no 7915 fi 7916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7917 CXXFLAGS="$gl_save_compiler_FLAGS" 7918 7919 fi 7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__Werror" >&5 7921 $as_echo "$gl_cv_warn_cxx__Werror" >&6; } 7922 if test "x$gl_cv_warn_cxx__Werror" = xyes; then : 7923 as_fn_append WERROR_CXXFLAGS " -Werror" 7924 fi 7925 7926 7927 # Warnings for the test suite only. 7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -Wundef" >&5 7929 $as_echo_n "checking whether C++ compiler handles -Wundef... " >&6; } 7930 if ${gl_cv_warn_cxx__Wundef+:} false; then : 7931 $as_echo_n "(cached) " >&6 7932 else 7933 7934 gl_save_compiler_FLAGS="$CXXFLAGS" 7935 as_fn_append CXXFLAGS " -Wundef" 7936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7937 /* end confdefs.h. */ 7938 7939 int 7940 main () 7941 { 7942 7943 ; 7944 return 0; 7945 } 7946 _ACEOF 7947 if ac_fn_cxx_try_compile "$LINENO"; then : 7948 gl_cv_warn_cxx__Wundef=yes 7949 else 7950 gl_cv_warn_cxx__Wundef=no 7951 fi 7952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7953 CXXFLAGS="$gl_save_compiler_FLAGS" 7954 7955 fi 7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__Wundef" >&5 7957 $as_echo "$gl_cv_warn_cxx__Wundef" >&6; } 7958 if test "x$gl_cv_warn_cxx__Wundef" = xyes; then : 7959 as_fn_append WARN_CXXFLAGS_TEST " -Wundef" 7960 fi 7961 7962 7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -pedantic" >&5 7964 $as_echo_n "checking whether C++ compiler handles -pedantic... " >&6; } 7965 if ${gl_cv_warn_cxx__pedantic+:} false; then : 7966 $as_echo_n "(cached) " >&6 7967 else 7968 7969 gl_save_compiler_FLAGS="$CXXFLAGS" 7970 as_fn_append CXXFLAGS " -pedantic" 7971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7972 /* end confdefs.h. */ 7973 7974 int 7975 main () 7976 { 7977 7978 ; 7979 return 0; 7980 } 7981 _ACEOF 7982 if ac_fn_cxx_try_compile "$LINENO"; then : 7983 gl_cv_warn_cxx__pedantic=yes 7984 else 7985 gl_cv_warn_cxx__pedantic=no 7986 fi 7987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7988 CXXFLAGS="$gl_save_compiler_FLAGS" 7989 7990 fi 7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_cxx__pedantic" >&5 7992 $as_echo "$gl_cv_warn_cxx__pedantic" >&6; } 7993 if test "x$gl_cv_warn_cxx__pedantic" = xyes; then : 7994 as_fn_append WARN_CXXFLAGS_TEST " -pedantic" 7995 fi 7996 7997 7998 CXXFLAGS=$save_CXXFLAGS 7999 ac_ext=c 8000 ac_cpp='$CPP $CPPFLAGS' 8001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8003 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8004 8005 fi 8006 8007 8008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8009 /* end confdefs.h. */ 8010 #include <limits.h> 8011 int test_array[CHAR_BIT]; 8012 int 8013 main () 8014 { 8015 8016 ; 8017 return 0; 8018 } 8019 _ACEOF 8020 if ac_fn_c_try_compile "$LINENO"; then : 8021 8022 else 8023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8025 as_fn_error $? "cannot compile a simple C program 8026 See \`config.log' for more details" "$LINENO" 5; } 8027 fi 8028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8029 BISON_C_WORKS=: 8030 8031 8032 ac_ext=c 8033 ac_cpp='$CPP $CPPFLAGS' 8034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8036 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8037 8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports POSIXLY_CORRECT=1" >&5 8039 $as_echo_n "checking whether $CC supports POSIXLY_CORRECT=1... " >&6; } 8040 if ${bison_cv_c_supports_posixly_correct+:} false; then : 8041 $as_echo_n "(cached) " >&6 8042 else 8043 gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' 8044 case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in 8045 xx) gl_had_POSIXLY_CORRECT=exported ;; 8046 x) gl_had_POSIXLY_CORRECT=yes ;; 8047 *) gl_had_POSIXLY_CORRECT= ;; 8048 esac 8049 POSIXLY_CORRECT=1 8050 export POSIXLY_CORRECT 8051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8052 /* end confdefs.h. */ 8053 8054 int 8055 main () 8056 { 8057 8058 ; 8059 return 0; 8060 } 8061 _ACEOF 8062 if ac_fn_c_try_link "$LINENO"; then : 8063 bison_cv_c_supports_posixly_correct=yes 8064 else 8065 bison_cv_c_supports_posixly_correct=no 8066 fi 8067 rm -f core conftest.err conftest.$ac_objext \ 8068 conftest$ac_exeext conftest.$ac_ext 8069 case $gl_had_POSIXLY_CORRECT in 8070 exported) ;; 8071 yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; 8072 *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; 8073 esac 8074 8075 fi 8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bison_cv_c_supports_posixly_correct" >&5 8077 $as_echo "$bison_cv_c_supports_posixly_correct" >&6; } 8078 case $bison_cv_c_supports_posixly_correct in 8079 yes) C_COMPILER_POSIXLY_CORRECT=true 8080 ;; 8081 no) C_COMPILER_POSIXLY_CORRECT=false 8082 ;; 8083 esac 8084 8085 ac_ext=c 8086 ac_cpp='$CPP $CPPFLAGS' 8087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8089 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8090 8091 8092 8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX builds executables that work" >&5 8094 $as_echo_n "checking whether $CXX builds executables that work... " >&6; } 8095 if ${bison_cv_cxx_works+:} false; then : 8096 $as_echo_n "(cached) " >&6 8097 else 8098 ac_ext=cpp 8099 ac_cpp='$CXXCPP $CPPFLAGS' 8100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8103 8104 bison_cv_cxx_works=no 8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8106 /* end confdefs.h. */ 8107 #include <cstdlib> 8108 #include <iostream> 8109 #include <map> 8110 #include <string> 8111 using namespace std; 8112 int 8113 main () 8114 { 8115 std::cerr << ""; 8116 cout << ""; 8117 typedef std::pair<unsigned int, int> uipair; 8118 std::map<unsigned int, int> m; 8119 std::map<unsigned int, int>::iterator i; 8120 m.insert (uipair (4, -4)); 8121 for (i = m.begin (); i != m.end (); ++i) 8122 if (i->first != 4) 8123 return 1; 8124 ; 8125 return 0; 8126 } 8127 _ACEOF 8128 if ac_fn_cxx_try_compile "$LINENO"; then : 8129 if { ac_try='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_objext $LIBS >&5' 8130 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 8131 (eval $ac_try) 2>&5 8132 ac_status=$? 8133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8134 test $ac_status = 0; }; }; then : 8135 if test "$cross_compiling" = yes; then : 8136 bison_cv_cxx_works=cross 8137 else 8138 if { ac_try='./conftest$ac_exeext' 8139 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 8140 (eval $ac_try) 2>&5 8141 ac_status=$? 8142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8143 test $ac_status = 0; }; }; then : 8144 bison_cv_cxx_works=yes 8145 fi 8146 fi 8147 fi 8148 rm -f conftest$ac_exeext 8149 fi 8150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8151 ac_ext=c 8152 ac_cpp='$CPP $CPPFLAGS' 8153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8155 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8156 8157 fi 8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bison_cv_cxx_works" >&5 8159 $as_echo "$bison_cv_cxx_works" >&6; } 8160 8161 case $bison_cv_cxx_works in 8162 yes) 8163 BISON_CXX_WORKS=':';; 8164 no | cross) 8165 BISON_CXX_WORKS='exit 77';; 8166 esac 8167 8168 8169 if test $bison_cv_cxx_works = yes; then 8170 BISON_CXX_WORKS_TRUE= 8171 BISON_CXX_WORKS_FALSE='#' 8172 else 8173 BISON_CXX_WORKS_TRUE='#' 8174 BISON_CXX_WORKS_FALSE= 8175 fi 8176 8177 8178 ac_ext=cpp 8179 ac_cpp='$CXXCPP $CPPFLAGS' 8180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8183 8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports POSIXLY_CORRECT=1" >&5 8185 $as_echo_n "checking whether $CXX supports POSIXLY_CORRECT=1... " >&6; } 8186 if ${bison_cv_cxx_supports_posixly_correct+:} false; then : 8187 $as_echo_n "(cached) " >&6 8188 else 8189 gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' 8190 case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in 8191 xx) gl_had_POSIXLY_CORRECT=exported ;; 8192 x) gl_had_POSIXLY_CORRECT=yes ;; 8193 *) gl_had_POSIXLY_CORRECT= ;; 8194 esac 8195 POSIXLY_CORRECT=1 8196 export POSIXLY_CORRECT 8197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8198 /* end confdefs.h. */ 8199 8200 int 8201 main () 8202 { 8203 8204 ; 8205 return 0; 8206 } 8207 _ACEOF 8208 if ac_fn_cxx_try_link "$LINENO"; then : 8209 bison_cv_cxx_supports_posixly_correct=yes 8210 else 8211 bison_cv_cxx_supports_posixly_correct=no 8212 fi 8213 rm -f core conftest.err conftest.$ac_objext \ 8214 conftest$ac_exeext conftest.$ac_ext 8215 case $gl_had_POSIXLY_CORRECT in 8216 exported) ;; 8217 yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; 8218 *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; 8219 esac 8220 8221 fi 8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bison_cv_cxx_supports_posixly_correct" >&5 8223 $as_echo "$bison_cv_cxx_supports_posixly_correct" >&6; } 8224 case $bison_cv_cxx_supports_posixly_correct in 8225 yes) CXX_COMPILER_POSIXLY_CORRECT=true 8226 ;; 8227 no) CXX_COMPILER_POSIXLY_CORRECT=false 8228 ;; 8229 esac 8230 8231 ac_ext=c 8232 ac_cpp='$CPP $CPPFLAGS' 8233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8235 ac_compiler_gnu=$ac_cv_c_compiler_gnu 8236 8237 8238 8239 # Check whether --enable-yacc was given. 8240 if test "${enable_yacc+set}" = set; then : 8241 enableval=$enable_yacc; 8242 else 8243 enable_yacc=yes 8244 fi 8245 8246 case $enable_yacc in 8247 yes) 8248 YACC_SCRIPT=yacc 8249 YACC_LIBRARY=liby.a;; 8250 *) 8251 YACC_SCRIPT= 8252 YACC_LIBRARY=;; 8253 esac 8254 8255 8256 8257 # Checks for programs. 8258 8259 DOT=${DOT-"${am_missing_run}dot"} 8260 8261 for ac_prog in flex lex 8262 do 8263 # Extract the first word of "$ac_prog", so it can be a program name with args. 8264 set dummy $ac_prog; ac_word=$2 8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8266 $as_echo_n "checking for $ac_word... " >&6; } 8267 if ${ac_cv_prog_LEX+:} false; then : 8268 $as_echo_n "(cached) " >&6 8269 else 8270 if test -n "$LEX"; then 8271 ac_cv_prog_LEX="$LEX" # Let the user override the test. 8272 else 8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8274 for as_dir in $PATH 8275 do 8276 IFS=$as_save_IFS 8277 test -z "$as_dir" && as_dir=. 8278 for ac_exec_ext in '' $ac_executable_extensions; do 8279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8280 ac_cv_prog_LEX="$ac_prog" 8281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8282 break 2 8283 fi 8284 done 8285 done 8286 IFS=$as_save_IFS 8287 8288 fi 8289 fi 8290 LEX=$ac_cv_prog_LEX 8291 if test -n "$LEX"; then 8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 8293 $as_echo "$LEX" >&6; } 8294 else 8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8296 $as_echo "no" >&6; } 8297 fi 8298 8299 8300 test -n "$LEX" && break 8301 done 8302 test -n "$LEX" || LEX=":" 8303 8304 if test "x$LEX" != "x:"; then 8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lex is flex" >&5 8306 $as_echo_n "checking whether lex is flex... " >&6; } 8307 if ${ac_cv_prog_lex_is_flex+:} false; then : 8308 $as_echo_n "(cached) " >&6 8309 else 8310 cat >conftest.l <<_ACEOF 8311 %option debug nodefault noinput nounput noyywrap never-interactive 8312 %x SC_CONF_TEST 8313 %% 8314 a { BEGIN SC_CONF_TEST; } 8315 _ACEOF 8316 if { { ac_try="$LEX conftest.l" 8317 case "(($ac_try" in 8318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8319 *) ac_try_echo=$ac_try;; 8320 esac 8321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 8322 $as_echo "$ac_try_echo"; } >&5 8323 (eval "$LEX conftest.l") 2>&5 8324 ac_status=$? 8325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8326 test $ac_status = 0; }; then 8327 ac_cv_prog_lex_is_flex=yes 8328 else 8329 ac_cv_prog_lex_is_flex=no 8330 fi 8331 8332 fi 8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_is_flex" >&5 8334 $as_echo "$ac_cv_prog_lex_is_flex" >&6; } 8335 LEX_IS_FLEX=`test "$ac_cv_prog_lex_is_flex" = yes && echo true || echo false` 8336 8337 cat >conftest.l <<_ACEOF 8338 %% 8339 a { ECHO; } 8340 b { REJECT; } 8341 c { yymore (); } 8342 d { yyless (1); } 8343 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ 8344 yyless ((input () != 0)); } 8345 f { unput (yytext[0]); } 8346 . { BEGIN INITIAL; } 8347 %% 8348 #ifdef YYTEXT_POINTER 8349 extern char *yytext; 8350 #endif 8351 int 8352 main (void) 8353 { 8354 return ! yylex () + ! yywrap (); 8355 } 8356 _ACEOF 8357 { { ac_try="$LEX conftest.l" 8358 case "(($ac_try" in 8359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8360 *) ac_try_echo=$ac_try;; 8361 esac 8362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 8363 $as_echo "$ac_try_echo"; } >&5 8364 (eval "$LEX conftest.l") 2>&5 8365 ac_status=$? 8366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8367 test $ac_status = 0; } 8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 8369 $as_echo_n "checking lex output file root... " >&6; } 8370 if ${ac_cv_prog_lex_root+:} false; then : 8371 $as_echo_n "(cached) " >&6 8372 else 8373 8374 if test -f lex.yy.c; then 8375 ac_cv_prog_lex_root=lex.yy 8376 elif test -f lexyy.c; then 8377 ac_cv_prog_lex_root=lexyy 8378 else 8379 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 8380 fi 8381 fi 8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 8383 $as_echo "$ac_cv_prog_lex_root" >&6; } 8384 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 8385 8386 if test -z "${LEXLIB+set}"; then 8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 8388 $as_echo_n "checking lex library... " >&6; } 8389 if ${ac_cv_lib_lex+:} false; then : 8390 $as_echo_n "(cached) " >&6 8391 else 8392 8393 ac_save_LIBS=$LIBS 8394 ac_cv_lib_lex='none needed' 8395 for ac_lib in '' -lfl -ll; do 8396 LIBS="$ac_lib $ac_save_LIBS" 8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8398 /* end confdefs.h. */ 8399 `cat $LEX_OUTPUT_ROOT.c` 8400 _ACEOF 8401 if ac_fn_c_try_link "$LINENO"; then : 8402 ac_cv_lib_lex=$ac_lib 8403 fi 8404 rm -f core conftest.err conftest.$ac_objext \ 8405 conftest$ac_exeext conftest.$ac_ext 8406 test "$ac_cv_lib_lex" != 'none needed' && break 8407 done 8408 LIBS=$ac_save_LIBS 8409 8410 fi 8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 8412 $as_echo "$ac_cv_lib_lex" >&6; } 8413 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 8414 fi 8415 8416 8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 8418 $as_echo_n "checking whether yytext is a pointer... " >&6; } 8419 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 8420 $as_echo_n "(cached) " >&6 8421 else 8422 # POSIX says lex can declare yytext either as a pointer or an array; the 8423 # default is implementation-dependent. Figure out which it is, since 8424 # not all implementations provide the %pointer and %array declarations. 8425 ac_cv_prog_lex_yytext_pointer=no 8426 ac_save_LIBS=$LIBS 8427 LIBS="$LEXLIB $ac_save_LIBS" 8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8429 /* end confdefs.h. */ 8430 8431 #define YYTEXT_POINTER 1 8432 `cat $LEX_OUTPUT_ROOT.c` 8433 _ACEOF 8434 if ac_fn_c_try_link "$LINENO"; then : 8435 ac_cv_prog_lex_yytext_pointer=yes 8436 fi 8437 rm -f core conftest.err conftest.$ac_objext \ 8438 conftest$ac_exeext conftest.$ac_ext 8439 LIBS=$ac_save_LIBS 8440 8441 fi 8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 8443 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 8444 if test $ac_cv_prog_lex_yytext_pointer = yes; then 8445 8446 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 8447 8448 fi 8449 rm -f conftest.l $LEX_OUTPUT_ROOT.c 8450 8451 fi 8452 $LEX_IS_FLEX || as_fn_error $? "Flex is required" "$LINENO" 5 8453 for ac_prog in 'bison -y' byacc 8454 do 8455 # Extract the first word of "$ac_prog", so it can be a program name with args. 8456 set dummy $ac_prog; ac_word=$2 8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8458 $as_echo_n "checking for $ac_word... " >&6; } 8459 if ${ac_cv_prog_YACC+:} false; then : 8460 $as_echo_n "(cached) " >&6 8461 else 8462 if test -n "$YACC"; then 8463 ac_cv_prog_YACC="$YACC" # Let the user override the test. 8464 else 8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8466 for as_dir in $PATH 8467 do 8468 IFS=$as_save_IFS 8469 test -z "$as_dir" && as_dir=. 8470 for ac_exec_ext in '' $ac_executable_extensions; do 8471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8472 ac_cv_prog_YACC="$ac_prog" 8473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8474 break 2 8475 fi 8476 done 8477 done 8478 IFS=$as_save_IFS 8479 8480 fi 8481 fi 8482 YACC=$ac_cv_prog_YACC 8483 if test -n "$YACC"; then 8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 8485 $as_echo "$YACC" >&6; } 8486 else 8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8488 $as_echo "no" >&6; } 8489 fi 8490 8491 8492 test -n "$YACC" && break 8493 done 8494 test -n "$YACC" || YACC="yacc" 8495 8496 if test -n "$ac_tool_prefix"; then 8497 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 8498 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8500 $as_echo_n "checking for $ac_word... " >&6; } 8501 if ${ac_cv_prog_RANLIB+:} false; then : 8502 $as_echo_n "(cached) " >&6 8503 else 8504 if test -n "$RANLIB"; then 8505 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 8506 else 8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8508 for as_dir in $PATH 8509 do 8510 IFS=$as_save_IFS 8511 test -z "$as_dir" && as_dir=. 8512 for ac_exec_ext in '' $ac_executable_extensions; do 8513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8514 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 8515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8516 break 2 8517 fi 8518 done 8519 done 8520 IFS=$as_save_IFS 8521 8522 fi 8523 fi 8524 RANLIB=$ac_cv_prog_RANLIB 8525 if test -n "$RANLIB"; then 8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 8527 $as_echo "$RANLIB" >&6; } 8528 else 8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8530 $as_echo "no" >&6; } 8531 fi 8532 8533 8534 fi 8535 if test -z "$ac_cv_prog_RANLIB"; then 8536 ac_ct_RANLIB=$RANLIB 8537 # Extract the first word of "ranlib", so it can be a program name with args. 8538 set dummy ranlib; ac_word=$2 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8540 $as_echo_n "checking for $ac_word... " >&6; } 8541 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 8542 $as_echo_n "(cached) " >&6 8543 else 8544 if test -n "$ac_ct_RANLIB"; then 8545 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 8546 else 8547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8548 for as_dir in $PATH 8549 do 8550 IFS=$as_save_IFS 8551 test -z "$as_dir" && as_dir=. 8552 for ac_exec_ext in '' $ac_executable_extensions; do 8553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8554 ac_cv_prog_ac_ct_RANLIB="ranlib" 8555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8556 break 2 8557 fi 8558 done 8559 done 8560 IFS=$as_save_IFS 8561 8562 fi 8563 fi 8564 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 8565 if test -n "$ac_ct_RANLIB"; then 8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 8567 $as_echo "$ac_ct_RANLIB" >&6; } 8568 else 8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8570 $as_echo "no" >&6; } 8571 fi 8572 8573 if test "x$ac_ct_RANLIB" = x; then 8574 RANLIB=":" 8575 else 8576 case $cross_compiling:$ac_tool_warned in 8577 yes:) 8578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8580 ac_tool_warned=yes ;; 8581 esac 8582 RANLIB=$ac_ct_RANLIB 8583 fi 8584 else 8585 RANLIB="$ac_cv_prog_RANLIB" 8586 fi 8587 8588 8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU M4 that supports accurate traces" >&5 8590 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; } 8591 if ${ac_cv_path_M4+:} false; then : 8592 $as_echo_n "(cached) " >&6 8593 else 8594 rm -f conftest.m4f 8595 ac_had_posixly_correct=${POSIXLY_CORRECT:+yes} 8596 { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} 8597 if test -z "$M4"; then 8598 ac_path_M4_found=false 8599 # Loop through the user's path and test for each of PROGNAME-LIST 8600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8601 for as_dir in $PATH 8602 do 8603 IFS=$as_save_IFS 8604 test -z "$as_dir" && as_dir=. 8605 for ac_prog in m4 gm4 gnum4; do 8606 for ac_exec_ext in '' $ac_executable_extensions; do 8607 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext" 8608 as_fn_executable_p "$ac_path_M4" || continue 8609 # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F. 8610 # Root out GNU M4 1.4.15 with buggy false negative replacement strstr. 8611 # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy 8612 # false positive strstr. 8613 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)' 8614 ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl 8615 ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)' 8616 ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,:12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)' 8617 test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \ 8618 && test -z "`$as_echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \ 8619 && test -f conftest.m4f \ 8620 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=: 8621 rm -f conftest.m4f 8622 $ac_path_M4_found && break 3 8623 done 8624 done 8625 done 8626 IFS=$as_save_IFS 8627 if test -z "$ac_cv_path_M4"; then 8628 as_fn_error $? "no acceptable m4 could be found in \$PATH. 8629 GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended. 8630 GNU M4 1.4.15 uses a buggy replacement strstr on some systems. 8631 Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug." "$LINENO" 5 8632 fi 8633 else 8634 ac_cv_path_M4=$M4 8635 fi 8636 8637 fi 8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5 8639 $as_echo "$ac_cv_path_M4" >&6; } 8640 M4=$ac_cv_path_M4 8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_path_M4 accepts --gnu" >&5 8642 $as_echo_n "checking whether $ac_cv_path_M4 accepts --gnu... " >&6; } 8643 if ${ac_cv_prog_gnu_m4_gnu+:} false; then : 8644 $as_echo_n "(cached) " >&6 8645 else 8646 case `$M4 --help < /dev/null 2>&1` in 8647 *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;; 8648 *) ac_cv_prog_gnu_m4_gnu=no ;; 8649 esac 8650 fi 8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_gnu" >&5 8652 $as_echo "$ac_cv_prog_gnu_m4_gnu" >&6; } 8653 if test "$ac_cv_prog_gnu_m4_gnu" = yes; then 8654 M4_GNU=--gnu 8655 else 8656 M4_GNU= 8657 fi 8658 8659 if test x$ac_had_posixly_correct = xyes; then 8660 POSIXLY_CORRECT=: 8661 if test $ac_cv_prog_gnu_m4_gnu = no; then 8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the version of M4 that was found does not support -g" >&5 8663 $as_echo "$as_me: WARNING: the version of M4 that was found does not support -g" >&2;} 8664 { $as_echo "