A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for xinetd 2.3.15.4. 4 # 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 9 # This configure script is free software; the Free Software Foundation 10 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 14 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30 esac 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 72 # The user is always right. 73 if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 82 # IFS 83 # We need space, tab and new line, in precisely that order. Quoting is 84 # there to prevent editors from complaining about space-tab. 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 86 # splitting by setting IFS to empty value.) 87 IFS=" "" $as_nl" 88 89 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself= 91 case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 for as_dir in $PATH 95 do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100 IFS=$as_save_IFS 101 102 ;; 103 esac 104 # We did not find ourselves, most probably we were run as `sh COMMAND' 105 # in which case we are not to be found in the path. 106 if test "x$as_myself" = x; then 107 as_myself=$0 108 fi 109 if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121 done 122 PS1='$ ' 123 PS2='> ' 124 PS4='+ ' 125 126 # NLS nuisances. 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207 test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210 else 211 as_have_required=no 212 fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215 else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217 as_found=false 218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233 fi 234 fi 235 done;; 236 esac 237 as_found=false 238 done 239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242 fi; } 243 IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249 # neutralization value for shells without unset; and this also 250 # works around shells that cannot unset nonexistent variables. 251 # Preserve -v and -x to the replacement shell. 252 BASH_ENV=/dev/null 253 ENV=/dev/null 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255 case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260 esac 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262 # Admittedly, this is quite paranoid, since all the known shells bail 263 # out after a failed `exec'. 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265 exit 255 266 fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276 $0: including any error possibly output before this 277 $0: message. Then install a modern shell, or manually run 278 $0: the script under such a shell if you do have one." 279 fi 280 exit 1 281 fi 282 fi 283 fi 284 SHELL=${CONFIG_SHELL-/bin/sh} 285 export SHELL 286 # Unset more variables known to interfere with behavior of common tools. 287 CLICOLOR_FORCE= GREP_OPTIONS= 288 unset CLICOLOR_FORCE GREP_OPTIONS 289 290 ## --------------------- ## 291 ## M4sh Shell Functions. ## 292 ## --------------------- ## 293 # as_fn_unset VAR 294 # --------------- 295 # Portably unset VAR. 296 as_fn_unset () 297 { 298 { eval $1=; unset $1;} 299 } 300 as_unset=as_fn_unset 301 302 # as_fn_set_status STATUS 303 # ----------------------- 304 # Set $? to STATUS, without forking. 305 as_fn_set_status () 306 { 307 return $1 308 } # as_fn_set_status 309 310 # as_fn_exit STATUS 311 # ----------------- 312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313 as_fn_exit () 314 { 315 set +e 316 as_fn_set_status $1 317 exit $1 318 } # as_fn_exit 319 320 # as_fn_mkdir_p 321 # ------------- 322 # Create "$as_dir" as a directory, including parents if necessary. 323 as_fn_mkdir_p () 324 { 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342 $as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366 } # as_fn_mkdir_p 367 368 # as_fn_executable_p FILE 369 # ----------------------- 370 # Test if FILE is an executable regular file. 371 as_fn_executable_p () 372 { 373 test -f "$1" && test -x "$1" 374 } # as_fn_executable_p 375 # as_fn_append VAR VALUE 376 # ---------------------- 377 # Append the text in VALUE to the end of the definition contained in VAR. Take 378 # advantage of any shell optimizations that allow amortized linear growth over 379 # repeated appends, instead of the typical quadratic growth present in naive 380 # implementations. 381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386 else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391 fi # as_fn_append 392 393 # as_fn_arith ARG... 394 # ------------------ 395 # Perform arithmetic evaluation on the ARGs, and store the result in the 396 # global $as_val. Take advantage of shells that can avoid forks. The arguments 397 # must be portable across $(()) and expr. 398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403 else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408 fi # as_fn_arith 409 410 411 # as_fn_error STATUS ERROR [LINENO LOG_FD] 412 # ---------------------------------------- 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415 # script with STATUS, using 1 if that was 0. 416 as_fn_error () 417 { 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425 } # as_fn_error 426 427 if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430 else 431 as_expr=false 432 fi 433 434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436 else 437 as_basename=false 438 fi 439 440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442 else 443 as_dirname=false 444 fi 445 446 as_me=`$as_basename -- "$0" || 447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450 $as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465 # Avoid depending upon Character Ranges. 466 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469 as_cr_digits='0123456789' 470 as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506 } 507 508 ECHO_C= ECHO_N= ECHO_T= 509 case `echo -n x` in #((((( 510 -n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517 *) 518 ECHO_N='-n';; 519 esac 520 521 rm -f conf$$ conf$$.exe conf$$.file 522 if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524 else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527 fi 528 if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542 else 543 as_ln_s='cp -pR' 544 fi 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546 rmdir conf$$.dir 2>/dev/null 547 548 if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550 else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553 fi 554 555 as_test_x='test -x' 556 as_executable_p=as_fn_executable_p 557 558 # Sed expression to map a string onto a valid CPP name. 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561 # Sed expression to map a string onto a valid variable name. 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564 SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567 test -n "$DJDIR" || exec 7<&0 </dev/null 568 exec 6>&1 569 570 # Name of the host. 571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572 # so uname gets run too. 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575 # 576 # Initializations. 577 # 578 ac_default_prefix=/usr/local 579 ac_clean_files= 580 ac_config_libobj_dir=. 581 LIBOBJS= 582 cross_compiling=no 583 subdirs= 584 MFLAGS= 585 MAKEFLAGS= 586 587 # Identity of this package. 588 PACKAGE_NAME='xinetd' 589 PACKAGE_TARNAME='xinetd' 590 PACKAGE_VERSION='2.3.15.4' 591 PACKAGE_STRING='xinetd 2.3.15.4' 592 PACKAGE_BUGREPORT='' 593 PACKAGE_URL='' 594 595 # Factoring default headers for most tests. 596 ac_includes_default="\ 597 #include <stdio.h> 598 #ifdef HAVE_SYS_TYPES_H 599 # include <sys/types.h> 600 #endif 601 #ifdef HAVE_SYS_STAT_H 602 # include <sys/stat.h> 603 #endif 604 #ifdef STDC_HEADERS 605 # include <stdlib.h> 606 # include <stddef.h> 607 #else 608 # ifdef HAVE_STDLIB_H 609 # include <stdlib.h> 610 # endif 611 #endif 612 #ifdef HAVE_STRING_H 613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614 # include <memory.h> 615 # endif 616 # include <string.h> 617 #endif 618 #ifdef HAVE_STRINGS_H 619 # include <strings.h> 620 #endif 621 #ifdef HAVE_INTTYPES_H 622 # include <inttypes.h> 623 #endif 624 #ifdef HAVE_STDINT_H 625 # include <stdint.h> 626 #endif 627 #ifdef HAVE_UNISTD_H 628 # include <unistd.h> 629 #endif" 630 631 ac_header_list= 632 ac_subst_vars='am__EXEEXT_FALSE 633 am__EXEEXT_TRUE 634 LTLIBOBJS 635 LIBOBJS 636 HARDEN_LDFLAGS 637 HARDEN_CFLAGS 638 TIRPC_LIBS 639 TIRPC_CFLAGS 640 SELINUX_LIBS 641 SELINUX_CFLAGS 642 WRAP_LIBS 643 LIBM_LIBS 644 PKG_CONFIG_LIBDIR 645 PKG_CONFIG_PATH 646 PKG_CONFIG 647 LT_SYS_LIBRARY_PATH 648 OTOOL64 649 OTOOL 650 LIPO 651 NMEDIT 652 DSYMUTIL 653 MANIFEST_TOOL 654 RANLIB 655 ac_ct_AR 656 AR 657 DLLTOOL 658 OBJDUMP 659 NM 660 ac_ct_DUMPBIN 661 DUMPBIN 662 LD 663 FGREP 664 EGREP 665 GREP 666 SED 667 host_os 668 host_vendor 669 host_cpu 670 host 671 build_os 672 build_vendor 673 build_cpu 674 build 675 LIBTOOL 676 LN_S 677 CPP 678 am__fastdepCC_FALSE 679 am__fastdepCC_TRUE 680 CCDEPMODE 681 am__nodep 682 AMDEPBACKSLASH 683 AMDEP_FALSE 684 AMDEP_TRUE 685 am__include 686 DEPDIR 687 OBJEXT 688 EXEEXT 689 ac_ct_CC 690 CPPFLAGS 691 LDFLAGS 692 CFLAGS 693 CC 694 AM_BACKSLASH 695 AM_DEFAULT_VERBOSITY 696 AM_DEFAULT_V 697 AM_V 698 am__untar 699 am__tar 700 AMTAR 701 am__leading_dot 702 SET_MAKE 703 AWK 704 mkdir_p 705 MKDIR_P 706 INSTALL_STRIP_PROGRAM 707 STRIP 708 install_sh 709 MAKEINFO 710 AUTOHEADER 711 AUTOMAKE 712 AUTOCONF 713 ACLOCAL 714 VERSION 715 PACKAGE 716 CYGPATH_W 717 am__isrc 718 INSTALL_DATA 719 INSTALL_SCRIPT 720 INSTALL_PROGRAM 721 target_alias 722 host_alias 723 build_alias 724 LIBS 725 ECHO_T 726 ECHO_N 727 ECHO_C 728 DEFS 729 mandir 730 localedir 731 libdir 732 psdir 733 pdfdir 734 dvidir 735 htmldir 736 infodir 737 docdir 738 oldincludedir 739 includedir 740 localstatedir 741 sharedstatedir 742 sysconfdir 743 datadir 744 datarootdir 745 libexecdir 746 sbindir 747 bindir 748 program_transform_name 749 prefix 750 exec_prefix 751 PACKAGE_URL 752 PACKAGE_BUGREPORT 753 PACKAGE_STRING 754 PACKAGE_VERSION 755 PACKAGE_TARNAME 756 PACKAGE_NAME 757 PATH_SEPARATOR 758 SHELL 759 am__quote' 760 ac_subst_files='' 761 ac_user_opts=' 762 enable_option_checking 763 enable_silent_rules 764 enable_dependency_tracking 765 enable_shared 766 enable_static 767 with_pic 768 enable_fast_install 769 with_aix_soname 770 with_gnu_ld 771 with_sysroot 772 enable_libtool_lock 773 enable_debug 774 enable_werror 775 with_loadavg 776 with_libwrap 777 with_labeled_networking 778 with_rpc 779 ' 780 ac_precious_vars='build_alias 781 host_alias 782 target_alias 783 CC 784 CFLAGS 785 LDFLAGS 786 LIBS 787 CPPFLAGS 788 CPP 789 LT_SYS_LIBRARY_PATH 790 PKG_CONFIG 791 PKG_CONFIG_PATH 792 PKG_CONFIG_LIBDIR 793 SELINUX_CFLAGS 794 SELINUX_LIBS 795 TIRPC_CFLAGS 796 TIRPC_LIBS' 797 798 799 # Initialize some variables set by options. 800 ac_init_help= 801 ac_init_version=false 802 ac_unrecognized_opts= 803 ac_unrecognized_sep= 804 # The variables have the same names as the options, with 805 # dashes changed to underlines. 806 cache_file=/dev/null 807 exec_prefix=NONE 808 no_create= 809 no_recursion= 810 prefix=NONE 811 program_prefix=NONE 812 program_suffix=NONE 813 program_transform_name=s,x,x, 814 silent= 815 site= 816 srcdir= 817 verbose= 818 x_includes=NONE 819 x_libraries=NONE 820 821 # Installation directory options. 822 # These are left unexpanded so users can "make install exec_prefix=/foo" 823 # and all the variables that are supposed to be based on exec_prefix 824 # by default will actually change. 825 # Use braces instead of parens because sh, perl, etc. also accept them. 826 # (The list follows the same order as the GNU Coding Standards.) 827 bindir='${exec_prefix}/bin' 828 sbindir='${exec_prefix}/sbin' 829 libexecdir='${exec_prefix}/libexec' 830 datarootdir='${prefix}/share' 831 datadir='${datarootdir}' 832 sysconfdir='${prefix}/etc' 833 sharedstatedir='${prefix}/com' 834 localstatedir='${prefix}/var' 835 includedir='${prefix}/include' 836 oldincludedir='/usr/include' 837 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 838 infodir='${datarootdir}/info' 839 htmldir='${docdir}' 840 dvidir='${docdir}' 841 pdfdir='${docdir}' 842 psdir='${docdir}' 843 libdir='${exec_prefix}/lib' 844 localedir='${datarootdir}/locale' 845 mandir='${datarootdir}/man' 846 847 ac_prev= 848 ac_dashdash= 849 for ac_option 850 do 851 # If the previous option needs an argument, assign it. 852 if test -n "$ac_prev"; then 853 eval $ac_prev=\$ac_option 854 ac_prev= 855 continue 856 fi 857 858 case $ac_option in 859 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 860 *=) ac_optarg= ;; 861 *) ac_optarg=yes ;; 862 esac 863 864 # Accept the important Cygnus configure options, so we can diagnose typos. 865 866 case $ac_dashdash$ac_option in 867 --) 868 ac_dashdash=yes ;; 869 870 -bindir | --bindir | --bindi | --bind | --bin | --bi) 871 ac_prev=bindir ;; 872 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 873 bindir=$ac_optarg ;; 874 875 -build | --build | --buil | --bui | --bu) 876 ac_prev=build_alias ;; 877 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 878 build_alias=$ac_optarg ;; 879 880 -cache-file | --cache-file | --cache-fil | --cache-fi \ 881 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 882 ac_prev=cache_file ;; 883 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 884 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 885 cache_file=$ac_optarg ;; 886 887 --config-cache | -C) 888 cache_file=config.cache ;; 889 890 -datadir | --datadir | --datadi | --datad) 891 ac_prev=datadir ;; 892 -datadir=* | --datadir=* | --datadi=* | --datad=*) 893 datadir=$ac_optarg ;; 894 895 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 896 | --dataroo | --dataro | --datar) 897 ac_prev=datarootdir ;; 898 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 899 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 900 datarootdir=$ac_optarg ;; 901 902 -disable-* | --disable-*) 903 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 904 # Reject names that are not valid shell variable names. 905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 906 as_fn_error $? "invalid feature name: $ac_useropt" 907 ac_useropt_orig=$ac_useropt 908 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 909 case $ac_user_opts in 910 *" 911 "enable_$ac_useropt" 912 "*) ;; 913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 914 ac_unrecognized_sep=', ';; 915 esac 916 eval enable_$ac_useropt=no ;; 917 918 -docdir | --docdir | --docdi | --doc | --do) 919 ac_prev=docdir ;; 920 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 921 docdir=$ac_optarg ;; 922 923 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 924 ac_prev=dvidir ;; 925 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 926 dvidir=$ac_optarg ;; 927 928 -enable-* | --enable-*) 929 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 930 # Reject names that are not valid shell variable names. 931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 932 as_fn_error $? "invalid feature name: $ac_useropt" 933 ac_useropt_orig=$ac_useropt 934 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 935 case $ac_user_opts in 936 *" 937 "enable_$ac_useropt" 938 "*) ;; 939 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 940 ac_unrecognized_sep=', ';; 941 esac 942 eval enable_$ac_useropt=\$ac_optarg ;; 943 944 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 945 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 946 | --exec | --exe | --ex) 947 ac_prev=exec_prefix ;; 948 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 949 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 950 | --exec=* | --exe=* | --ex=*) 951 exec_prefix=$ac_optarg ;; 952 953 -gas | --gas | --ga | --g) 954 # Obsolete; use --with-gas. 955 with_gas=yes ;; 956 957 -help | --help | --hel | --he | -h) 958 ac_init_help=long ;; 959 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 960 ac_init_help=recursive ;; 961 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 962 ac_init_help=short ;; 963 964 -host | --host | --hos | --ho) 965 ac_prev=host_alias ;; 966 -host=* | --host=* | --hos=* | --ho=*) 967 host_alias=$ac_optarg ;; 968 969 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 970 ac_prev=htmldir ;; 971 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 972 | --ht=*) 973 htmldir=$ac_optarg ;; 974 975 -includedir | --includedir | --includedi | --included | --include \ 976 | --includ | --inclu | --incl | --inc) 977 ac_prev=includedir ;; 978 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 979 | --includ=* | --inclu=* | --incl=* | --inc=*) 980 includedir=$ac_optarg ;; 981 982 -infodir | --infodir | --infodi | --infod | --info | --inf) 983 ac_prev=infodir ;; 984 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 985 infodir=$ac_optarg ;; 986 987 -libdir | --libdir | --libdi | --libd) 988 ac_prev=libdir ;; 989 -libdir=* | --libdir=* | --libdi=* | --libd=*) 990 libdir=$ac_optarg ;; 991 992 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 993 | --libexe | --libex | --libe) 994 ac_prev=libexecdir ;; 995 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 996 | --libexe=* | --libex=* | --libe=*) 997 libexecdir=$ac_optarg ;; 998 999 -localedir | --localedir | --localedi | --localed | --locale) 1000 ac_prev=localedir ;; 1001 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1002 localedir=$ac_optarg ;; 1003 1004 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1005 | --localstate | --localstat | --localsta | --localst | --locals) 1006 ac_prev=localstatedir ;; 1007 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1008 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1009 localstatedir=$ac_optarg ;; 1010 1011 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1012 ac_prev=mandir ;; 1013 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1014 mandir=$ac_optarg ;; 1015 1016 -nfp | --nfp | --nf) 1017 # Obsolete; use --without-fp. 1018 with_fp=no ;; 1019 1020 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1021 | --no-cr | --no-c | -n) 1022 no_create=yes ;; 1023 1024 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1025 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1026 no_recursion=yes ;; 1027 1028 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1029 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1030 | --oldin | --oldi | --old | --ol | --o) 1031 ac_prev=oldincludedir ;; 1032 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1033 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1034 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1035 oldincludedir=$ac_optarg ;; 1036 1037 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1038 ac_prev=prefix ;; 1039 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1040 prefix=$ac_optarg ;; 1041 1042 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1043 | --program-pre | --program-pr | --program-p) 1044 ac_prev=program_prefix ;; 1045 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1046 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1047 program_prefix=$ac_optarg ;; 1048 1049 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1050 | --program-suf | --program-su | --program-s) 1051 ac_prev=program_suffix ;; 1052 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1053 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1054 program_suffix=$ac_optarg ;; 1055 1056 -program-transform-name | --program-transform-name \ 1057 | --program-transform-nam | --program-transform-na \ 1058 | --program-transform-n | --program-transform- \ 1059 | --program-transform | --program-transfor \ 1060 | --program-transfo | --program-transf \ 1061 | --program-trans | --program-tran \ 1062 | --progr-tra | --program-tr | --program-t) 1063 ac_prev=program_transform_name ;; 1064 -program-transform-name=* | --program-transform-name=* \ 1065 | --program-transform-nam=* | --program-transform-na=* \ 1066 | --program-transform-n=* | --program-transform-=* \ 1067 | --program-transform=* | --program-transfor=* \ 1068 | --program-transfo=* | --program-transf=* \ 1069 | --program-trans=* | --program-tran=* \ 1070 | --progr-tra=* | --program-tr=* | --program-t=*) 1071 program_transform_name=$ac_optarg ;; 1072 1073 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1074 ac_prev=pdfdir ;; 1075 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1076 pdfdir=$ac_optarg ;; 1077 1078 -psdir | --psdir | --psdi | --psd | --ps) 1079 ac_prev=psdir ;; 1080 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1081 psdir=$ac_optarg ;; 1082 1083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1084 | -silent | --silent | --silen | --sile | --sil) 1085 silent=yes ;; 1086 1087 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1088 ac_prev=sbindir ;; 1089 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1090 | --sbi=* | --sb=*) 1091 sbindir=$ac_optarg ;; 1092 1093 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1094 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1095 | --sharedst | --shareds | --shared | --share | --shar \ 1096 | --sha | --sh) 1097 ac_prev=sharedstatedir ;; 1098 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1099 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1100 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1101 | --sha=* | --sh=*) 1102 sharedstatedir=$ac_optarg ;; 1103 1104 -site | --site | --sit) 1105 ac_prev=site ;; 1106 -site=* | --site=* | --sit=*) 1107 site=$ac_optarg ;; 1108 1109 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1110 ac_prev=srcdir ;; 1111 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1112 srcdir=$ac_optarg ;; 1113 1114 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1115 | --syscon | --sysco | --sysc | --sys | --sy) 1116 ac_prev=sysconfdir ;; 1117 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1118 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1119 sysconfdir=$ac_optarg ;; 1120 1121 -target | --target | --targe | --targ | --tar | --ta | --t) 1122 ac_prev=target_alias ;; 1123 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1124 target_alias=$ac_optarg ;; 1125 1126 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1127 verbose=yes ;; 1128 1129 -version | --version | --versio | --versi | --vers | -V) 1130 ac_init_version=: ;; 1131 1132 -with-* | --with-*) 1133 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1134 # Reject names that are not valid shell variable names. 1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1136 as_fn_error $? "invalid package name: $ac_useropt" 1137 ac_useropt_orig=$ac_useropt 1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1139 case $ac_user_opts in 1140 *" 1141 "with_$ac_useropt" 1142 "*) ;; 1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1144 ac_unrecognized_sep=', ';; 1145 esac 1146 eval with_$ac_useropt=\$ac_optarg ;; 1147 1148 -without-* | --without-*) 1149 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1150 # Reject names that are not valid shell variable names. 1151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1152 as_fn_error $? "invalid package name: $ac_useropt" 1153 ac_useropt_orig=$ac_useropt 1154 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1155 case $ac_user_opts in 1156 *" 1157 "with_$ac_useropt" 1158 "*) ;; 1159 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1160 ac_unrecognized_sep=', ';; 1161 esac 1162 eval with_$ac_useropt=no ;; 1163 1164 --x) 1165 # Obsolete; use --with-x. 1166 with_x=yes ;; 1167 1168 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1169 | --x-incl | --x-inc | --x-in | --x-i) 1170 ac_prev=x_includes ;; 1171 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1172 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1173 x_includes=$ac_optarg ;; 1174 1175 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1176 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1177 ac_prev=x_libraries ;; 1178 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1179 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1180 x_libraries=$ac_optarg ;; 1181 1182 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1183 Try \`$0 --help' for more information" 1184 ;; 1185 1186 *=*) 1187 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1188 # Reject names that are not valid shell variable names. 1189 case $ac_envvar in #( 1190 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1191 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1192 esac 1193 eval $ac_envvar=\$ac_optarg 1194 export $ac_envvar ;; 1195 1196 *) 1197 # FIXME: should be removed in autoconf 3.0. 1198 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1199 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1200 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1201 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1202 ;; 1203 1204 esac 1205 done 1206 1207 if test -n "$ac_prev"; then 1208 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1209 as_fn_error $? "missing argument to $ac_option" 1210 fi 1211 1212 if test -n "$ac_unrecognized_opts"; then 1213 case $enable_option_checking in 1214 no) ;; 1215 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1216 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1217 esac 1218 fi 1219 1220 # Check all directory arguments for consistency. 1221 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1222 datadir sysconfdir sharedstatedir localstatedir includedir \ 1223 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1224 libdir localedir mandir 1225 do 1226 eval ac_val=\$$ac_var 1227 # Remove trailing slashes. 1228 case $ac_val in 1229 */ ) 1230 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1231 eval $ac_var=\$ac_val;; 1232 esac 1233 # Be sure to have absolute directory names. 1234 case $ac_val in 1235 [\\/$]* | ?:[\\/]* ) continue;; 1236 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1237 esac 1238 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1239 done 1240 1241 # There might be people who depend on the old broken behavior: `$host' 1242 # used to hold the argument of --host etc. 1243 # FIXME: To remove some day. 1244 build=$build_alias 1245 host=$host_alias 1246 target=$target_alias 1247 1248 # FIXME: To remove some day. 1249 if test "x$host_alias" != x; then 1250 if test "x$build_alias" = x; then 1251 cross_compiling=maybe 1252 elif test "x$build_alias" != "x$host_alias"; then 1253 cross_compiling=yes 1254 fi 1255 fi 1256 1257 ac_tool_prefix= 1258 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1259 1260 test "$silent" = yes && exec 6>/dev/null 1261 1262 1263 ac_pwd=`pwd` && test -n "$ac_pwd" && 1264 ac_ls_di=`ls -di .` && 1265 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1266 as_fn_error $? "working directory cannot be determined" 1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1268 as_fn_error $? "pwd does not report name of working directory" 1269 1270 1271 # Find the source files, if location was not specified. 1272 if test -z "$srcdir"; then 1273 ac_srcdir_defaulted=yes 1274 # Try the directory containing this script, then the parent directory. 1275 ac_confdir=`$as_dirname -- "$as_myself" || 1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1277 X"$as_myself" : 'X\(//\)[^/]' \| \ 1278 X"$as_myself" : 'X\(//\)$' \| \ 1279 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1280 $as_echo X"$as_myself" | 1281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1282 s//\1/ 1283 q 1284 } 1285 /^X\(\/\/\)[^/].*/{ 1286 s//\1/ 1287 q 1288 } 1289 /^X\(\/\/\)$/{ 1290 s//\1/ 1291 q 1292 } 1293 /^X\(\/\).*/{ 1294 s//\1/ 1295 q 1296 } 1297 s/.*/./; q'` 1298 srcdir=$ac_confdir 1299 if test ! -r "$srcdir/$ac_unique_file"; then 1300 srcdir=.. 1301 fi 1302 else 1303 ac_srcdir_defaulted=no 1304 fi 1305 if test ! -r "$srcdir/$ac_unique_file"; then 1306 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1307 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1308 fi 1309 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1310 ac_abs_confdir=`( 1311 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1312 pwd)` 1313 # When building in place, set srcdir=. 1314 if test "$ac_abs_confdir" = "$ac_pwd"; then 1315 srcdir=. 1316 fi 1317 # Remove unnecessary trailing slashes from srcdir. 1318 # Double slashes in file names in object file debugging info 1319 # mess up M-x gdb in Emacs. 1320 case $srcdir in 1321 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1322 esac 1323 for ac_var in $ac_precious_vars; do 1324 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1325 eval ac_env_${ac_var}_value=\$${ac_var} 1326 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1327 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1328 done 1329 1330 # 1331 # Report the --help message. 1332 # 1333 if test "$ac_init_help" = "long"; then 1334 # Omit some internal or obsolete options to make the list less imposing. 1335 # This message is too long to be a string in the A/UX 3.1 sh. 1336 cat <<_ACEOF 1337 \`configure' configures xinetd 2.3.15.4 to adapt to many kinds of systems. 1338 1339 Usage: $0 [OPTION]... [VAR=VALUE]... 1340 1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1342 VAR=VALUE. See below for descriptions of some of the useful variables. 1343 1344 Defaults for the options are specified in brackets. 1345 1346 Configuration: 1347 -h, --help display this help and exit 1348 --help=short display options specific to this package 1349 --help=recursive display the short help of all the included packages 1350 -V, --version display version information and exit 1351 -q, --quiet, --silent do not print \`checking ...' messages 1352 --cache-file=FILE cache test results in FILE [disabled] 1353 -C, --config-cache alias for \`--cache-file=config.cache' 1354 -n, --no-create do not create output files 1355 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1356 1357 Installation directories: 1358 --prefix=PREFIX install architecture-independent files in PREFIX 1359 [$ac_default_prefix] 1360 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1361 [PREFIX] 1362 1363 By default, \`make install' will install all the files in 1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1366 for instance \`--prefix=\$HOME'. 1367 1368 For better control, use the options below. 1369 1370 Fine tuning of the installation directories: 1371 --bindir=DIR user executables [EPREFIX/bin] 1372 --sbindir=DIR system admin executables [EPREFIX/sbin] 1373 --libexecdir=DIR program executables [EPREFIX/libexec] 1374 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1375 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1376 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1377 --libdir=DIR object code libraries [EPREFIX/lib] 1378 --includedir=DIR C header files [PREFIX/include] 1379 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1380 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1381 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1382 --infodir=DIR info documentation [DATAROOTDIR/info] 1383 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1384 --mandir=DIR man documentation [DATAROOTDIR/man] 1385 --docdir=DIR documentation root [DATAROOTDIR/doc/xinetd] 1386 --htmldir=DIR html documentation [DOCDIR] 1387 --dvidir=DIR dvi documentation [DOCDIR] 1388 --pdfdir=DIR pdf documentation [DOCDIR] 1389 --psdir=DIR ps documentation [DOCDIR] 1390 _ACEOF 1391 1392 cat <<\_ACEOF 1393 1394 Program names: 1395 --program-prefix=PREFIX prepend PREFIX to installed program names 1396 --program-suffix=SUFFIX append SUFFIX to installed program names 1397 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1398 1399 System types: 1400 --build=BUILD configure for building on BUILD [guessed] 1401 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1402 _ACEOF 1403 fi 1404 1405 if test -n "$ac_init_help"; then 1406 case $ac_init_help in 1407 short | recursive ) echo "Configuration of xinetd 2.3.15.4:";; 1408 esac 1409 cat <<\_ACEOF 1410 1411 Optional Features: 1412 --disable-option-checking ignore unrecognized --enable/--with options 1413 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1414 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1415 --enable-silent-rules less verbose build output (undo: "make V=1") 1416 --disable-silent-rules verbose build output (undo: "make V=0") 1417 --enable-dependency-tracking 1418 do not reject slow dependency extractors 1419 --disable-dependency-tracking 1420 speeds up one-time build 1421 --enable-shared[=PKGS] build shared libraries [default=yes] 1422 --enable-static[=PKGS] build static libraries [default=yes] 1423 --enable-fast-install[=PKGS] 1424 optimize for fast installation [default=yes] 1425 --disable-libtool-lock avoid locking (might break parallel builds) 1426 --enable-debug Build with debug symbols. 1427 --enable-werror Treat all warnings as errors, useful for development 1428 1429 Optional Packages: 1430 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1431 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1432 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1433 both] 1434 --with-aix-soname=aix|svr4|both 1435 shared library versioning (aka "SONAME") variant to 1436 provide on AIX, [default=aix]. 1437 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1438 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1439 compiler's sysroot if not specified). 1440 --without-loadavg Do not use loadavg for balancing 1441 --without-libwrap Do not use libwrap tcp_wrappers support 1442 --without-labeled-networking 1443 Do not use selinux for labeled networking 1444 --without-rpc Do not include RPC support 1445 1446 Some influential environment variables: 1447 CC C compiler command 1448 CFLAGS C compiler flags 1449 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1450 nonstandard directory <lib dir> 1451 LIBS libraries to pass to the linker, e.g. -l<library> 1452 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1453 you have headers in a nonstandard directory <include dir> 1454 CPP C preprocessor 1455 LT_SYS_LIBRARY_PATH 1456 User-defined run-time library search path. 1457 PKG_CONFIG path to pkg-config utility 1458 PKG_CONFIG_PATH 1459 directories to add to pkg-config's search path 1460 PKG_CONFIG_LIBDIR 1461 path overriding pkg-config's built-in search path 1462 SELINUX_CFLAGS 1463 C compiler flags for SELINUX, overriding pkg-config 1464 SELINUX_LIBS 1465 linker flags for SELINUX, overriding pkg-config 1466 TIRPC_CFLAGS 1467 C compiler flags for TIRPC, overriding pkg-config 1468 TIRPC_LIBS linker flags for TIRPC, overriding pkg-config 1469 1470 Use these variables to override the choices made by `configure' or to help 1471 it to find libraries and programs with nonstandard names/locations. 1472 1473 Report bugs to the package provider. 1474 _ACEOF 1475 ac_status=$? 1476 fi 1477 1478 if test "$ac_init_help" = "recursive"; then 1479 # If there are subdirs, report their specific --help. 1480 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1481 test -d "$ac_dir" || 1482 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1483 continue 1484 ac_builddir=. 1485 1486 case "$ac_dir" in 1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1488 *) 1489 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1490 # A ".." for each directory in $ac_dir_suffix. 1491 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1492 case $ac_top_builddir_sub in 1493 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1494 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1495 esac ;; 1496 esac 1497 ac_abs_top_builddir=$ac_pwd 1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1499 # for backward compatibility: 1500 ac_top_builddir=$ac_top_build_prefix 1501 1502 case $srcdir in 1503 .) # We are building in place. 1504 ac_srcdir=. 1505 ac_top_srcdir=$ac_top_builddir_sub 1506 ac_abs_top_srcdir=$ac_pwd ;; 1507 [\\/]* | ?:[\\/]* ) # Absolute name. 1508 ac_srcdir=$srcdir$ac_dir_suffix; 1509 ac_top_srcdir=$srcdir 1510 ac_abs_top_srcdir=$srcdir ;; 1511 *) # Relative name. 1512 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1513 ac_top_srcdir=$ac_top_build_prefix$srcdir 1514 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1515 esac 1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1517 1518 cd "$ac_dir" || { ac_status=$?; continue; } 1519 # Check for guested configure. 1520 if test -f "$ac_srcdir/configure.gnu"; then 1521 echo && 1522 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1523 elif test -f "$ac_srcdir/configure"; then 1524 echo && 1525 $SHELL "$ac_srcdir/configure" --help=recursive 1526 else 1527 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1528 fi || ac_status=$? 1529 cd "$ac_pwd" || { ac_status=$?; break; } 1530 done 1531 fi 1532 1533 test -n "$ac_init_help" && exit $ac_status 1534 if $ac_init_version; then 1535 cat <<\_ACEOF 1536 xinetd configure 2.3.15.4 1537 generated by GNU Autoconf 2.69 1538 1539 Copyright (C) 2012 Free Software Foundation, Inc. 1540 This configure script is free software; the Free Software Foundation 1541 gives unlimited permission to copy, distribute and modify it. 1542 _ACEOF 1543 exit 1544 fi 1545 1546 ## ------------------------ ## 1547 ## Autoconf initialization. ## 1548 ## ------------------------ ## 1549 1550 # ac_fn_c_try_compile LINENO 1551 # -------------------------- 1552 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1553 ac_fn_c_try_compile () 1554 { 1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1556 rm -f conftest.$ac_objext 1557 if { { ac_try="$ac_compile" 1558 case "(($ac_try" in 1559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1560 *) ac_try_echo=$ac_try;; 1561 esac 1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1563 $as_echo "$ac_try_echo"; } >&5 1564 (eval "$ac_compile") 2>conftest.err 1565 ac_status=$? 1566 if test -s conftest.err; then 1567 grep -v '^ *+' conftest.err >conftest.er1 1568 cat conftest.er1 >&5 1569 mv -f conftest.er1 conftest.err 1570 fi 1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1572 test $ac_status = 0; } && { 1573 test -z "$ac_c_werror_flag" || 1574 test ! -s conftest.err 1575 } && test -s conftest.$ac_objext; then : 1576 ac_retval=0 1577 else 1578 $as_echo "$as_me: failed program was:" >&5 1579 sed 's/^/| /' conftest.$ac_ext >&5 1580 1581 ac_retval=1 1582 fi 1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1584 as_fn_set_status $ac_retval 1585 1586 } # ac_fn_c_try_compile 1587 1588 # ac_fn_c_try_cpp LINENO 1589 # ---------------------- 1590 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1591 ac_fn_c_try_cpp () 1592 { 1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1594 if { { ac_try="$ac_cpp conftest.$ac_ext" 1595 case "(($ac_try" in 1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1597 *) ac_try_echo=$ac_try;; 1598 esac 1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1600 $as_echo "$ac_try_echo"; } >&5 1601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1602 ac_status=$? 1603 if test -s conftest.err; then 1604 grep -v '^ *+' conftest.err >conftest.er1 1605 cat conftest.er1 >&5 1606 mv -f conftest.er1 conftest.err 1607 fi 1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1609 test $ac_status = 0; } > conftest.i && { 1610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1611 test ! -s conftest.err 1612 }; then : 1613 ac_retval=0 1614 else 1615 $as_echo "$as_me: failed program was:" >&5 1616 sed 's/^/| /' conftest.$ac_ext >&5 1617 1618 ac_retval=1 1619 fi 1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1621 as_fn_set_status $ac_retval 1622 1623 } # ac_fn_c_try_cpp 1624 1625 # ac_fn_c_try_link LINENO 1626 # ----------------------- 1627 # Try to link conftest.$ac_ext, and return whether this succeeded. 1628 ac_fn_c_try_link () 1629 { 1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1631 rm -f conftest.$ac_objext conftest$ac_exeext 1632 if { { ac_try="$ac_link" 1633 case "(($ac_try" in 1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1635 *) ac_try_echo=$ac_try;; 1636 esac 1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1638 $as_echo "$ac_try_echo"; } >&5 1639 (eval "$ac_link") 2>conftest.err 1640 ac_status=$? 1641 if test -s conftest.err; then 1642 grep -v '^ *+' conftest.err >conftest.er1 1643 cat conftest.er1 >&5 1644 mv -f conftest.er1 conftest.err 1645 fi 1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1647 test $ac_status = 0; } && { 1648 test -z "$ac_c_werror_flag" || 1649 test ! -s conftest.err 1650 } && test -s conftest$ac_exeext && { 1651 test "$cross_compiling" = yes || 1652 test -x conftest$ac_exeext 1653 }; then : 1654 ac_retval=0 1655 else 1656 $as_echo "$as_me: failed program was:" >&5 1657 sed 's/^/| /' conftest.$ac_ext >&5 1658 1659 ac_retval=1 1660 fi 1661 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1662 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1663 # interfere with the next link command; also delete a directory that is 1664 # left behind by Apple's compiler. We do this before executing the actions. 1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1667 as_fn_set_status $ac_retval 1668 1669 } # ac_fn_c_try_link 1670 1671 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1672 # ------------------------------------------------------- 1673 # Tests whether HEADER exists and can be compiled using the include files in 1674 # INCLUDES, setting the cache variable VAR accordingly. 1675 ac_fn_c_check_header_compile () 1676 { 1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1679 $as_echo_n "checking for $2... " >&6; } 1680 if eval \${$3+:} false; then : 1681 $as_echo_n "(cached) " >&6 1682 else 1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1684 /* end confdefs.h. */ 1685 $4 1686 #include <$2> 1687 _ACEOF 1688 if ac_fn_c_try_compile "$LINENO"; then : 1689 eval "$3=yes" 1690 else 1691 eval "$3=no" 1692 fi 1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1694 fi 1695 eval ac_res=\$$3 1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1697 $as_echo "$ac_res" >&6; } 1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1699 1700 } # ac_fn_c_check_header_compile 1701 1702 # ac_fn_c_try_run LINENO 1703 # ---------------------- 1704 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1705 # that executables *can* be run. 1706 ac_fn_c_try_run () 1707 { 1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1709 if { { ac_try="$ac_link" 1710 case "(($ac_try" in 1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1712 *) ac_try_echo=$ac_try;; 1713 esac 1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1715 $as_echo "$ac_try_echo"; } >&5 1716 (eval "$ac_link") 2>&5 1717 ac_status=$? 1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1719 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1720 { { case "(($ac_try" in 1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1722 *) ac_try_echo=$ac_try;; 1723 esac 1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1725 $as_echo "$ac_try_echo"; } >&5 1726 (eval "$ac_try") 2>&5 1727 ac_status=$? 1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1729 test $ac_status = 0; }; }; then : 1730 ac_retval=0 1731 else 1732 $as_echo "$as_me: program exited with status $ac_status" >&5 1733 $as_echo "$as_me: failed program was:" >&5 1734 sed 's/^/| /' conftest.$ac_ext >&5 1735 1736 ac_retval=$ac_status 1737 fi 1738 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1740 as_fn_set_status $ac_retval 1741 1742 } # ac_fn_c_try_run 1743 1744 # ac_fn_c_check_func LINENO FUNC VAR 1745 # ---------------------------------- 1746 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1747 ac_fn_c_check_func () 1748 { 1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1751 $as_echo_n "checking for $2... " >&6; } 1752 if eval \${$3+:} false; then : 1753 $as_echo_n "(cached) " >&6 1754 else 1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1756 /* end confdefs.h. */ 1757 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1758 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1759 #define $2 innocuous_$2 1760 1761 /* System header to define __stub macros and hopefully few prototypes, 1762 which can conflict with char $2 (); below. 1763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1764 <limits.h> exists even on freestanding compilers. */ 1765 1766 #ifdef __STDC__ 1767 # include <limits.h> 1768 #else 1769 # include <assert.h> 1770 #endif 1771 1772 #undef $2 1773 1774 /* Override any GCC internal prototype to avoid an error. 1775 Use char because int might match the return type of a GCC 1776 builtin and then its argument prototype would still apply. */ 1777 #ifdef __cplusplus 1778 extern "C" 1779 #endif 1780 char $2 (); 1781 /* The GNU C library defines this for functions which it implements 1782 to always fail with ENOSYS. Some functions are actually named 1783 something starting with __ and the normal name is an alias. */ 1784 #if defined __stub_$2 || defined __stub___$2 1785 choke me 1786 #endif 1787 1788 int 1789 main () 1790 { 1791 return $2 (); 1792 ; 1793 return 0; 1794 } 1795 _ACEOF 1796 if ac_fn_c_try_link "$LINENO"; then : 1797 eval "$3=yes" 1798 else 1799 eval "$3=no" 1800 fi 1801 rm -f core conftest.err conftest.$ac_objext \ 1802 conftest$ac_exeext conftest.$ac_ext 1803 fi 1804 eval ac_res=\$$3 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1806 $as_echo "$ac_res" >&6; } 1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1808 1809 } # ac_fn_c_check_func 1810 1811 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1812 # ------------------------------------------------------- 1813 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1814 # the include files in INCLUDES and setting the cache variable VAR 1815 # accordingly. 1816 ac_fn_c_check_header_mongrel () 1817 { 1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1819 if eval \${$3+:} false; then : 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1821 $as_echo_n "checking for $2... " >&6; } 1822 if eval \${$3+:} false; then : 1823 $as_echo_n "(cached) " >&6 1824 fi 1825 eval ac_res=\$$3 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1827 $as_echo "$ac_res" >&6; } 1828 else 1829 # Is the header compilable? 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1831 $as_echo_n "checking $2 usability... " >&6; } 1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1833 /* end confdefs.h. */ 1834 $4 1835 #include <$2> 1836 _ACEOF 1837 if ac_fn_c_try_compile "$LINENO"; then : 1838 ac_header_compiler=yes 1839 else 1840 ac_header_compiler=no 1841 fi 1842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1844 $as_echo "$ac_header_compiler" >&6; } 1845 1846 # Is the header present? 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1848 $as_echo_n "checking $2 presence... " >&6; } 1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1850 /* end confdefs.h. */ 1851 #include <$2> 1852 _ACEOF 1853 if ac_fn_c_try_cpp "$LINENO"; then : 1854 ac_header_preproc=yes 1855 else 1856 ac_header_preproc=no 1857 fi 1858 rm -f conftest.err conftest.i conftest.$ac_ext 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1860 $as_echo "$ac_header_preproc" >&6; } 1861 1862 # So? What about this header? 1863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1864 yes:no: ) 1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1866 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1868 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1869 ;; 1870 no:yes:* ) 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1872 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1874 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1876 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1878 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1880 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1881 ;; 1882 esac 1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1884 $as_echo_n "checking for $2... " >&6; } 1885 if eval \${$3+:} false; then : 1886 $as_echo_n "(cached) " >&6 1887 else 1888 eval "$3=\$ac_header_compiler" 1889 fi 1890 eval ac_res=\$$3 1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1892 $as_echo "$ac_res" >&6; } 1893 fi 1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1895 1896 } # ac_fn_c_check_header_mongrel 1897 cat >config.log <<_ACEOF 1898 This file contains any messages produced by compilers while 1899 running configure, to aid debugging if configure makes a mistake. 1900 1901 It was created by xinetd $as_me 2.3.15.4, which was 1902 generated by GNU Autoconf 2.69. Invocation command line was 1903 1904 $ $0 $@ 1905 1906 _ACEOF 1907 exec 5>>config.log 1908 { 1909 cat <<_ASUNAME 1910 ## --------- ## 1911 ## Platform. ## 1912 ## --------- ## 1913 1914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1915 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1916 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1917 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1918 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1919 1920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1922 1923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1926 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1930 1931 _ASUNAME 1932 1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1934 for as_dir in $PATH 1935 do 1936 IFS=$as_save_IFS 1937 test -z "$as_dir" && as_dir=. 1938 $as_echo "PATH: $as_dir" 1939 done 1940 IFS=$as_save_IFS 1941 1942 } >&5 1943 1944 cat >&5 <<_ACEOF 1945 1946 1947 ## ----------- ## 1948 ## Core tests. ## 1949 ## ----------- ## 1950 1951 _ACEOF 1952 1953 1954 # Keep a trace of the command line. 1955 # Strip out --no-create and --no-recursion so they do not pile up. 1956 # Strip out --silent because we don't want to record it for future runs. 1957 # Also quote any args containing shell meta-characters. 1958 # Make two passes to allow for proper duplicate-argument suppression. 1959 ac_configure_args= 1960 ac_configure_args0= 1961 ac_configure_args1= 1962 ac_must_keep_next=false 1963 for ac_pass in 1 2 1964 do 1965 for ac_arg 1966 do 1967 case $ac_arg in 1968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1970 | -silent | --silent | --silen | --sile | --sil) 1971 continue ;; 1972 *\'*) 1973 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1974 esac 1975 case $ac_pass in 1976 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1977 2) 1978 as_fn_append ac_configure_args1 " '$ac_arg'" 1979 if test $ac_must_keep_next = true; then 1980 ac_must_keep_next=false # Got value, back to normal. 1981 else 1982 case $ac_arg in 1983 *=* | --config-cache | -C | -disable-* | --disable-* \ 1984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1986 | -with-* | --with-* | -without-* | --without-* | --x) 1987 case "$ac_configure_args0 " in 1988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1989 esac 1990 ;; 1991 -* ) ac_must_keep_next=true ;; 1992 esac 1993 fi 1994 as_fn_append ac_configure_args " '$ac_arg'" 1995 ;; 1996 esac 1997 done 1998 done 1999 { ac_configure_args0=; unset ac_configure_args0;} 2000 { ac_configure_args1=; unset ac_configure_args1;} 2001 2002 # When interrupted or exit'd, cleanup temporary files, and complete 2003 # config.log. We remove comments because anyway the quotes in there 2004 # would cause problems or look ugly. 2005 # WARNING: Use '\'' to represent an apostrophe within the trap. 2006 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2007 trap 'exit_status=$? 2008 # Save into config.log some information that might help in debugging. 2009 { 2010 echo 2011 2012 $as_echo "## ---------------- ## 2013 ## Cache variables. ## 2014 ## ---------------- ##" 2015 echo 2016 # The following way of writing the cache mishandles newlines in values, 2017 ( 2018 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2019 eval ac_val=\$$ac_var 2020 case $ac_val in #( 2021 *${as_nl}*) 2022 case $ac_var in #( 2023 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2025 esac 2026 case $ac_var in #( 2027 _ | IFS | as_nl) ;; #( 2028 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2029 *) { eval $ac_var=; unset $ac_var;} ;; 2030 esac ;; 2031 esac 2032 done 2033 (set) 2>&1 | 2034 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2035 *${as_nl}ac_space=\ *) 2036 sed -n \ 2037 "s/'\''/'\''\\\\'\'''\''/g; 2038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2039 ;; #( 2040 *) 2041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2042 ;; 2043 esac | 2044 sort 2045 ) 2046 echo 2047 2048 $as_echo "## ----------------- ## 2049 ## Output variables. ## 2050 ## ----------------- ##" 2051 echo 2052 for ac_var in $ac_subst_vars 2053 do 2054 eval ac_val=\$$ac_var 2055 case $ac_val in 2056 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2057 esac 2058 $as_echo "$ac_var='\''$ac_val'\''" 2059 done | sort 2060 echo 2061 2062 if test -n "$ac_subst_files"; then 2063 $as_echo "## ------------------- ## 2064 ## File substitutions. ## 2065 ## ------------------- ##" 2066 echo 2067 for ac_var in $ac_subst_files 2068 do 2069 eval ac_val=\$$ac_var 2070 case $ac_val in 2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2072 esac 2073 $as_echo "$ac_var='\''$ac_val'\''" 2074 done | sort 2075 echo 2076 fi 2077 2078 if test -s confdefs.h; then 2079 $as_echo "## ----------- ## 2080 ## confdefs.h. ## 2081 ## ----------- ##" 2082 echo 2083 cat confdefs.h 2084 echo 2085 fi 2086 test "$ac_signal" != 0 && 2087 $as_echo "$as_me: caught signal $ac_signal" 2088 $as_echo "$as_me: exit $exit_status" 2089 } >&5 2090 rm -f core *.core core.conftest.* && 2091 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2092 exit $exit_status 2093 ' 0 2094 for ac_signal in 1 2 13 15; do 2095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2096 done 2097 ac_signal=0 2098 2099 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2100 rm -f -r conftest* confdefs.h 2101 2102 $as_echo "/* confdefs.h */" > confdefs.h 2103 2104 # Predefined preprocessor variables. 2105 2106 cat >>confdefs.h <<_ACEOF 2107 #define PACKAGE_NAME "$PACKAGE_NAME" 2108 _ACEOF 2109 2110 cat >>confdefs.h <<_ACEOF 2111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2112 _ACEOF 2113 2114 cat >>confdefs.h <<_ACEOF 2115 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2116 _ACEOF 2117 2118 cat >>confdefs.h <<_ACEOF 2119 #define PACKAGE_STRING "$PACKAGE_STRING" 2120 _ACEOF 2121 2122 cat >>confdefs.h <<_ACEOF 2123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2124 _ACEOF 2125 2126 cat >>confdefs.h <<_ACEOF 2127 #define PACKAGE_URL "$PACKAGE_URL" 2128 _ACEOF 2129 2130 2131 # Let the site file select an alternate cache file if it wants to. 2132 # Prefer an explicitly selected file to automatically selected ones. 2133 ac_site_file1=NONE 2134 ac_site_file2=NONE 2135 if test -n "$CONFIG_SITE"; then 2136 # We do not want a PATH search for config.site. 2137 case $CONFIG_SITE in #(( 2138 -*) ac_site_file1=./$CONFIG_SITE;; 2139 */*) ac_site_file1=$CONFIG_SITE;; 2140 *) ac_site_file1=./$CONFIG_SITE;; 2141 esac 2142 elif test "x$prefix" != xNONE; then 2143 ac_site_file1=$prefix/share/config.site 2144 ac_site_file2=$prefix/etc/config.site 2145 else 2146 ac_site_file1=$ac_default_prefix/share/config.site 2147 ac_site_file2=$ac_default_prefix/etc/config.site 2148 fi 2149 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2150 do 2151 test "x$ac_site_file" = xNONE && continue 2152 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2154 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2155 sed 's/^/| /' "$ac_site_file" >&5 2156 . "$ac_site_file" \ 2157 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2159 as_fn_error $? "failed to load site script $ac_site_file 2160 See \`config.log' for more details" "$LINENO" 5; } 2161 fi 2162 done 2163 2164 if test -r "$cache_file"; then 2165 # Some versions of bash will fail to source /dev/null (special files 2166 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2167 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2169 $as_echo "$as_me: loading cache $cache_file" >&6;} 2170 case $cache_file in 2171 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2172 *) . "./$cache_file";; 2173 esac 2174 fi 2175 else 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2177 $as_echo "$as_me: creating cache $cache_file" >&6;} 2178 >$cache_file 2179 fi 2180 2181 as_fn_append ac_header_list " stdlib.h" 2182 as_fn_append ac_header_list " unistd.h" 2183 as_fn_append ac_header_list " sys/param.h" 2184 # Check that the precious variables saved in the cache have kept the same 2185 # value. 2186 ac_cache_corrupted=false 2187 for ac_var in $ac_precious_vars; do 2188 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2189 eval ac_new_set=\$ac_env_${ac_var}_set 2190 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2191 eval ac_new_val=\$ac_env_${ac_var}_value 2192 case $ac_old_set,$ac_new_set in 2193 set,) 2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2195 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2196 ac_cache_corrupted=: ;; 2197 ,set) 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2199 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2200 ac_cache_corrupted=: ;; 2201 ,);; 2202 *) 2203 if test "x$ac_old_val" != "x$ac_new_val"; then 2204 # differences in whitespace do not lead to failure. 2205 ac_old_val_w=`echo x $ac_old_val` 2206 ac_new_val_w=`echo x $ac_new_val` 2207 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2209 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2210 ac_cache_corrupted=: 2211 else 2212 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2213 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2214 eval $ac_var=\$ac_old_val 2215 fi 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2217 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2219 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2220 fi;; 2221 esac 2222 # Pass precious variables to config.status. 2223 if test "$ac_new_set" = set; then 2224 case $ac_new_val in 2225 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2226 *) ac_arg=$ac_var=$ac_new_val ;; 2227 esac 2228 case " $ac_configure_args " in 2229 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2230 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2231 esac 2232 fi 2233 done 2234 if $ac_cache_corrupted; then 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2238 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2239 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2240 fi 2241 ## -------------------- ## 2242 ## Main body of script. ## 2243 ## -------------------- ## 2244 2245 ac_ext=c 2246 ac_cpp='$CPP $CPPFLAGS' 2247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2249 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2250 2251 2252 2253 am__api_version='1.16' 2254 2255 ac_aux_dir= 2256 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2257 if test -f "$ac_dir/install-sh"; then 2258 ac_aux_dir=$ac_dir 2259 ac_install_sh="$ac_aux_dir/install-sh -c" 2260 break 2261 elif test -f "$ac_dir/install.sh"; then 2262 ac_aux_dir=$ac_dir 2263 ac_install_sh="$ac_aux_dir/install.sh -c" 2264 break 2265 elif test -f "$ac_dir/shtool"; then 2266 ac_aux_dir=$ac_dir 2267 ac_install_sh="$ac_aux_dir/shtool install -c" 2268 break 2269 fi 2270 done 2271 if test -z "$ac_aux_dir"; then 2272 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2273 fi 2274 2275 # These three variables are undocumented and unsupported, 2276 # and are intended to be withdrawn in a future Autoconf release. 2277 # They can cause serious problems if a builder's source tree is in a directory 2278 # whose full name contains unusual characters. 2279 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2280 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2281 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2282 2283 2284 # Find a good install program. We prefer a C program (faster), 2285 # so one script is as good as another. But avoid the broken or 2286 # incompatible versions: 2287 # SysV /etc/install, /usr/sbin/install 2288 # SunOS /usr/etc/install 2289 # IRIX /sbin/install 2290 # AIX /bin/install 2291 # AmigaOS /C/install, which installs bootblocks on floppy discs 2292 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2293 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2294 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2295 # OS/2's system install, which has a completely different semantic 2296 # ./install, which can be erroneously created by make from ./install.sh. 2297 # Reject install programs that cannot install multiple files. 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2299 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2300 if test -z "$INSTALL"; then 2301 if ${ac_cv_path_install+:} false; then : 2302 $as_echo_n "(cached) " >&6 2303 else 2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2305 for as_dir in $PATH 2306 do 2307 IFS=$as_save_IFS 2308 test -z "$as_dir" && as_dir=. 2309 # Account for people who put trailing slashes in PATH elements. 2310 case $as_dir/ in #(( 2311 ./ | .// | /[cC]/* | \ 2312 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2313 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2314 /usr/ucb/* ) ;; 2315 *) 2316 # OSF1 and SCO ODT 3.0 have their own names for install. 2317 # Don't use installbsd from OSF since it installs stuff as root 2318 # by default. 2319 for ac_prog in ginstall scoinst install; do 2320 for ac_exec_ext in '' $ac_executable_extensions; do 2321 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2322 if test $ac_prog = install && 2323 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2324 # AIX install. It has an incompatible calling convention. 2325 : 2326 elif test $ac_prog = install && 2327 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2328 # program-specific install script used by HP pwplus--don't use. 2329 : 2330 else 2331 rm -rf conftest.one conftest.two conftest.dir 2332 echo one > conftest.one 2333 echo two > conftest.two 2334 mkdir conftest.dir 2335 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2336 test -s conftest.one && test -s conftest.two && 2337 test -s conftest.dir/conftest.one && 2338 test -s conftest.dir/conftest.two 2339 then 2340 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2341 break 3 2342 fi 2343 fi 2344 fi 2345 done 2346 done 2347 ;; 2348 esac 2349 2350 done 2351 IFS=$as_save_IFS 2352 2353 rm -rf conftest.one conftest.two conftest.dir 2354 2355 fi 2356 if test "${ac_cv_path_install+set}" = set; then 2357 INSTALL=$ac_cv_path_install 2358 else 2359 # As a last resort, use the slow shell script. Don't cache a 2360 # value for INSTALL within a source directory, because that will 2361 # break other packages using the cache if that directory is 2362 # removed, or if the value is a relative name. 2363 INSTALL=$ac_install_sh 2364 fi 2365 fi 2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2367 $as_echo "$INSTALL" >&6; } 2368 2369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2370 # It thinks the first close brace ends the variable substitution. 2371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2372 2373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2374 2375 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2376 2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2378 $as_echo_n "checking whether build environment is sane... " >&6; } 2379 # Reject unsafe characters in $srcdir or the absolute working directory 2380 # name. Accept space and tab only in the latter. 2381 am_lf=' 2382 ' 2383 case `pwd` in 2384 *[\\\"\#\$\&\'\`$am_lf]*) 2385 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2386 esac 2387 case $srcdir in 2388 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2389 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2390 esac 2391 2392 # Do 'set' in a subshell so we don't clobber the current shell's 2393 # arguments. Must try -L first in case configure is actually a 2394 # symlink; some systems play weird games with the mod time of symlinks 2395 # (eg FreeBSD returns the mod time of the symlink's containing 2396 # directory). 2397 if ( 2398 am_has_slept=no 2399 for am_try in 1 2; do 2400 echo "timestamp, slept: $am_has_slept" > conftest.file 2401 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2402 if test "$*" = "X"; then 2403 # -L didn't work. 2404 set X `ls -t "$srcdir/configure" conftest.file` 2405 fi 2406 if test "$*" != "X $srcdir/configure conftest.file" \ 2407 && test "$*" != "X conftest.file $srcdir/configure"; then 2408 2409 # If neither matched, then we have a broken ls. This can happen 2410 # if, for instance, CONFIG_SHELL is bash and it inherits a 2411 # broken ls alias from the environment. This has actually 2412 # happened. Such a system could not be considered "sane". 2413 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2414 alias in your environment" "$LINENO" 5 2415 fi 2416 if test "$2" = conftest.file || test $am_try -eq 2; then 2417 break 2418 fi 2419 # Just in case. 2420 sleep 1 2421 am_has_slept=yes 2422 done 2423 test "$2" = conftest.file 2424 ) 2425 then 2426 # Ok. 2427 : 2428 else 2429 as_fn_error $? "newly created file is older than distributed files! 2430 Check your system clock" "$LINENO" 5 2431 fi 2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2433 $as_echo "yes" >&6; } 2434 # If we didn't sleep, we still need to ensure time stamps of config.status and 2435 # generated files are strictly newer. 2436 am_sleep_pid= 2437 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2438 ( sleep 1 ) & 2439 am_sleep_pid=$! 2440 fi 2441 2442 rm -f conftest.file 2443 2444 test "$program_prefix" != NONE && 2445 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2446 # Use a double $ so make ignores it. 2447 test "$program_suffix" != NONE && 2448 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2449 # Double any \ or $. 2450 # By default was `s,x,x', remove it if useless. 2451 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2452 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2453 2454 # Expand $ac_aux_dir to an absolute path. 2455 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2456 2457 if test x"${MISSING+set}" != xset; then 2458 case $am_aux_dir in 2459 *\ * | *\ *) 2460 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2461 *) 2462 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2463 esac 2464 fi 2465 # Use eval to expand $SHELL 2466 if eval "$MISSING --is-lightweight"; then 2467 am_missing_run="$MISSING " 2468 else 2469 am_missing_run= 2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2471 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2472 fi 2473 2474 if test x"${install_sh+set}" != xset; then 2475 case $am_aux_dir in 2476 *\ * | *\ *) 2477 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2478 *) 2479 install_sh="\${SHELL} $am_aux_dir/install-sh" 2480 esac 2481 fi 2482 2483 # Installed binaries are usually stripped using 'strip' when the user 2484 # run "make install-strip". However 'strip' might not be the right 2485 # tool to use in cross-compilation environments, therefore Automake 2486 # will honor the 'STRIP' environment variable to overrule this program. 2487 if test "$cross_compiling" != no; then 2488 if test -n "$ac_tool_prefix"; then 2489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2490 set dummy ${ac_tool_prefix}strip; ac_word=$2 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2492 $as_echo_n "checking for $ac_word... " >&6; } 2493 if ${ac_cv_prog_STRIP+:} false; then : 2494 $as_echo_n "(cached) " >&6 2495 else 2496 if test -n "$STRIP"; then 2497 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2498 else 2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2500 for as_dir in $PATH 2501 do 2502 IFS=$as_save_IFS 2503 test -z "$as_dir" && as_dir=. 2504 for ac_exec_ext in '' $ac_executable_extensions; do 2505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2506 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2508 break 2 2509 fi 2510 done 2511 done 2512 IFS=$as_save_IFS 2513 2514 fi 2515 fi 2516 STRIP=$ac_cv_prog_STRIP 2517 if test -n "$STRIP"; then 2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2519 $as_echo "$STRIP" >&6; } 2520 else 2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2522 $as_echo "no" >&6; } 2523 fi 2524 2525 2526 fi 2527 if test -z "$ac_cv_prog_STRIP"; then 2528 ac_ct_STRIP=$STRIP 2529 # Extract the first word of "strip", so it can be a program name with args. 2530 set dummy strip; ac_word=$2 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2532 $as_echo_n "checking for $ac_word... " >&6; } 2533 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2534 $as_echo_n "(cached) " >&6 2535 else 2536 if test -n "$ac_ct_STRIP"; then 2537 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2538 else 2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2540 for as_dir in $PATH 2541 do 2542 IFS=$as_save_IFS 2543 test -z "$as_dir" && as_dir=. 2544 for ac_exec_ext in '' $ac_executable_extensions; do 2545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2546 ac_cv_prog_ac_ct_STRIP="strip" 2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2548 break 2 2549 fi 2550 done 2551 done 2552 IFS=$as_save_IFS 2553 2554 fi 2555 fi 2556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2557 if test -n "$ac_ct_STRIP"; then 2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2559 $as_echo "$ac_ct_STRIP" >&6; } 2560 else 2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2562 $as_echo "no" >&6; } 2563 fi 2564 2565 if test "x$ac_ct_STRIP" = x; then 2566 STRIP=":" 2567 else 2568 case $cross_compiling:$ac_tool_warned in 2569 yes:) 2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2572 ac_tool_warned=yes ;; 2573 esac 2574 STRIP=$ac_ct_STRIP 2575 fi 2576 else 2577 STRIP="$ac_cv_prog_STRIP" 2578 fi 2579 2580 fi 2581 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2582 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2584 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2585 if test -z "$MKDIR_P"; then 2586 if ${ac_cv_path_mkdir+:} false; then : 2587 $as_echo_n "(cached) " >&6 2588 else 2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2590 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2591 do 2592 IFS=$as_save_IFS 2593 test -z "$as_dir" && as_dir=. 2594 for ac_prog in mkdir gmkdir; do 2595 for ac_exec_ext in '' $ac_executable_extensions; do 2596 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2597 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2598 'mkdir (GNU coreutils) '* | \ 2599 'mkdir (coreutils) '* | \ 2600 'mkdir (fileutils) '4.1*) 2601 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2602 break 3;; 2603 esac 2604 done 2605 done 2606 done 2607 IFS=$as_save_IFS 2608 2609 fi 2610 2611 test -d ./--version && rmdir ./--version 2612 if test "${ac_cv_path_mkdir+set}" = set; then 2613 MKDIR_P="$ac_cv_path_mkdir -p" 2614 else 2615 # As a last resort, use the slow shell script. Don't cache a 2616 # value for MKDIR_P within a source directory, because that will 2617 # break other packages using the cache if that directory is 2618 # removed, or if the value is a relative name. 2619 MKDIR_P="$ac_install_sh -d" 2620 fi 2621 fi 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2623 $as_echo "$MKDIR_P" >&6; } 2624 2625 for ac_prog in gawk mawk nawk awk 2626 do 2627 # Extract the first word of "$ac_prog", so it can be a program name with args. 2628 set dummy $ac_prog; ac_word=$2 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2630 $as_echo_n "checking for $ac_word... " >&6; } 2631 if ${ac_cv_prog_AWK+:} false; then : 2632 $as_echo_n "(cached) " >&6 2633 else 2634 if test -n "$AWK"; then 2635 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2636 else 2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2638 for as_dir in $PATH 2639 do 2640 IFS=$as_save_IFS 2641 test -z "$as_dir" && as_dir=. 2642 for ac_exec_ext in '' $ac_executable_extensions; do 2643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2644 ac_cv_prog_AWK="$ac_prog" 2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2646 break 2 2647 fi 2648 done 2649 done 2650 IFS=$as_save_IFS 2651 2652 fi 2653 fi 2654 AWK=$ac_cv_prog_AWK 2655 if test -n "$AWK"; then 2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2657 $as_echo "$AWK" >&6; } 2658 else 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2660 $as_echo "no" >&6; } 2661 fi 2662 2663 2664 test -n "$AWK" && break 2665 done 2666 2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2668 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2669 set x ${MAKE-make} 2670 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2671 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2672 $as_echo_n "(cached) " >&6 2673 else 2674 cat >conftest.make <<\_ACEOF 2675 SHELL = /bin/sh 2676 all: 2677 @echo '@@@%%%=$(MAKE)=@@@%%%' 2678 _ACEOF 2679 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2680 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2681 *@@@%%%=?*=@@@%%%*) 2682 eval ac_cv_prog_make_${ac_make}_set=yes;; 2683 *) 2684 eval ac_cv_prog_make_${ac_make}_set=no;; 2685 esac 2686 rm -f conftest.make 2687 fi 2688 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2690 $as_echo "yes" >&6; } 2691 SET_MAKE= 2692 else 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2694 $as_echo "no" >&6; } 2695 SET_MAKE="MAKE=${MAKE-make}" 2696 fi 2697 2698 rm -rf .tst 2>/dev/null 2699 mkdir .tst 2>/dev/null 2700 if test -d .tst; then 2701 am__leading_dot=. 2702 else 2703 am__leading_dot=_ 2704 fi 2705 rmdir .tst 2>/dev/null 2706 2707 # Check whether --enable-silent-rules was given. 2708 if test "${enable_silent_rules+set}" = set; then : 2709 enableval=$enable_silent_rules; 2710 fi 2711 2712 case $enable_silent_rules in # ((( 2713 yes) AM_DEFAULT_VERBOSITY=0;; 2714 no) AM_DEFAULT_VERBOSITY=1;; 2715 *) AM_DEFAULT_VERBOSITY=1;; 2716 esac 2717 am_make=${MAKE-make} 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2719 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2720 if ${am_cv_make_support_nested_variables+:} false; then : 2721 $as_echo_n "(cached) " >&6 2722 else 2723 if $as_echo 'TRUE=$(BAR$(V)) 2724 BAR0=false 2725 BAR1=true 2726 V=1 2727 am__doit: 2728 @$(TRUE) 2729 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2730 am_cv_make_support_nested_variables=yes 2731 else 2732 am_cv_make_support_nested_variables=no 2733 fi 2734 fi 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2736 $as_echo "$am_cv_make_support_nested_variables" >&6; } 2737 if test $am_cv_make_support_nested_variables = yes; then 2738 AM_V='$(V)' 2739 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2740 else 2741 AM_V=$AM_DEFAULT_VERBOSITY 2742 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2743 fi 2744 AM_BACKSLASH='\' 2745 2746 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2747 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2748 # is not polluted with repeated "-I." 2749 am__isrc=' -I$(srcdir)' 2750 # test to see if srcdir already configured 2751 if test -f $srcdir/config.status; then 2752 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2753 fi 2754 fi 2755 2756 # test whether we have cygpath 2757 if test -z "$CYGPATH_W"; then 2758 if (cygpath --version) >/dev/null 2>/dev/null; then 2759 CYGPATH_W='cygpath -w' 2760 else 2761 CYGPATH_W=echo 2762 fi 2763 fi 2764 2765 2766 # Define the identity of the package. 2767 PACKAGE='xinetd' 2768 VERSION='2.3.15.4' 2769 2770 2771 cat >>confdefs.h <<_ACEOF 2772 #define PACKAGE "$PACKAGE" 2773 _ACEOF 2774 2775 2776 cat >>confdefs.h <<_ACEOF 2777 #define VERSION "$VERSION" 2778 _ACEOF 2779 2780 # Some tools Automake needs. 2781 2782 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2783 2784 2785 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2786 2787 2788 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2789 2790 2791 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2792 2793 2794 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2795 2796 # For better backward compatibility. To be removed once Automake 1.9.x 2797 # dies out for good. For more background, see: 2798 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2799 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2800 mkdir_p='$(MKDIR_P)' 2801 2802 # We need awk for the "check" target (and possibly the TAP driver). The 2803 # system "awk" is bad on some platforms. 2804 # Always define AMTAR for backward compatibility. Yes, it's still used 2805 # in the wild :-( We should find a proper way to deprecate it ... 2806 AMTAR='$${TAR-tar}' 2807 2808 2809 # We'll loop over all known methods to create a tar archive until one works. 2810 _am_tools='gnutar pax cpio none' 2811 2812 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2813 2814 2815 2816 2817 2818 2819 # POSIX will say in a future version that running "rm -f" with no argument 2820 # is OK; and we want to be able to make that assumption in our Makefile 2821 # recipes. So use an aggressive probe to check that the usage we want is 2822 # actually supported "in the wild" to an acceptable degree. 2823 # See automake bug#10828. 2824 # To make any issue more visible, cause the running configure to be aborted 2825 # by default if the 'rm' program in use doesn't match our expectations; the 2826 # user can still override this though. 2827 if rm -f && rm -fr && rm -rf; then : OK; else 2828 cat >&2 <<'END' 2829 Oops! 2830 2831 Your 'rm' program seems unable to run without file operands specified 2832 on the command line, even when the '-f' option is present. This is contrary 2833 to the behaviour of most rm programs out there, and not conforming with 2834 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2835 2836 Please tell bug-automake@gnu.org about your system, including the value 2837 of your $PATH and any error possibly output before this message. This 2838 can help us improve future automake versions. 2839 2840 END 2841 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2842 echo 'Configuration will proceed anyway, since you have set the' >&2 2843 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2844 echo >&2 2845 else 2846 cat >&2 <<'END' 2847 Aborting the configuration process, to ensure you take notice of the issue. 2848 2849 You can download and install GNU coreutils to get an 'rm' implementation 2850 that behaves properly: <https://www.gnu.org/software/coreutils/>. 2851 2852 If you want to complete the configuration process using your problematic 2853 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2854 to "yes", and re-run configure. 2855 2856 END 2857 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2858 fi 2859 fi 2860 2861 # Check whether --enable-silent-rules was given. 2862 if test "${enable_silent_rules+set}" = set; then : 2863 enableval=$enable_silent_rules; 2864 fi 2865 2866 case $enable_silent_rules in # ((( 2867 yes) AM_DEFAULT_VERBOSITY=0;; 2868 no) AM_DEFAULT_VERBOSITY=1;; 2869 *) AM_DEFAULT_VERBOSITY=0;; 2870 esac 2871 am_make=${MAKE-make} 2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2873 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2874 if ${am_cv_make_support_nested_variables+:} false; then : 2875 $as_echo_n "(cached) " >&6 2876 else 2877 if $as_echo 'TRUE=$(BAR$(V)) 2878 BAR0=false 2879 BAR1=true 2880 V=1 2881 am__doit: 2882 @$(TRUE) 2883 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2884 am_cv_make_support_nested_variables=yes 2885 else 2886 am_cv_make_support_nested_variables=no 2887 fi 2888 fi 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2890 $as_echo "$am_cv_make_support_nested_variables" >&6; } 2891 if test $am_cv_make_support_nested_variables = yes; then 2892 AM_V='$(V)' 2893 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2894 else 2895 AM_V=$AM_DEFAULT_VERBOSITY 2896 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2897 fi 2898 AM_BACKSLASH='\' 2899 2900 ac_ext=c 2901 ac_cpp='$CPP $CPPFLAGS' 2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2905 2906 2907 # =========================== 2908 # Find required base packages 2909 # =========================== 2910 DEPDIR="${am__leading_dot}deps" 2911 2912 ac_config_commands="$ac_config_commands depfiles" 2913 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 2915 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 2916 cat > confinc.mk << 'END' 2917 am__doit: 2918 @echo this is the am__doit target >confinc.out 2919 .PHONY: am__doit 2920 END 2921 am__include="#" 2922 am__quote= 2923 # BSD make does it like this. 2924 echo '.include "confinc.mk" # ignored' > confmf.BSD 2925 # Other make implementations (GNU, Solaris 10, AIX) do it like this. 2926 echo 'include confinc.mk # ignored' > confmf.GNU 2927 _am_result=no 2928 for s in GNU BSD; do 2929 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 2930 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 2931 ac_status=$? 2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2933 (exit $ac_status); } 2934 case $?:`cat confinc.out 2>/dev/null` in #( 2935 '0:this is the am__doit target') : 2936 case $s in #( 2937 BSD) : 2938 am__include='.include' am__quote='"' ;; #( 2939 *) : 2940 am__include='include' am__quote='' ;; 2941 esac ;; #( 2942 *) : 2943 ;; 2944 esac 2945 if test "$am__include" != "#"; then 2946 _am_result="yes ($s style)" 2947 break 2948 fi 2949 done 2950 rm -f confinc.* confmf.* 2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 2952 $as_echo "${_am_result}" >&6; } 2953 2954 # Check whether --enable-dependency-tracking was given. 2955 if test "${enable_dependency_tracking+set}" = set; then : 2956 enableval=$enable_dependency_tracking; 2957 fi 2958 2959 if test "x$enable_dependency_tracking" != xno; then 2960 am_depcomp="$ac_aux_dir/depcomp" 2961 AMDEPBACKSLASH='\' 2962 am__nodep='_no' 2963 fi 2964 if test "x$enable_dependency_tracking" != xno; then 2965 AMDEP_TRUE= 2966 AMDEP_FALSE='#' 2967 else 2968 AMDEP_TRUE='#' 2969 AMDEP_FALSE= 2970 fi 2971 2972 2973 ac_ext=c 2974 ac_cpp='$CPP $CPPFLAGS' 2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2978 if test -n "$ac_tool_prefix"; then 2979 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2980 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2982 $as_echo_n "checking for $ac_word... " >&6; } 2983 if ${ac_cv_prog_CC+:} false; then : 2984 $as_echo_n "(cached) " >&6 2985 else 2986 if test -n "$CC"; then 2987 ac_cv_prog_CC="$CC" # Let the user override the test. 2988 else 2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2990 for as_dir in $PATH 2991 do 2992 IFS=$as_save_IFS 2993 test -z "$as_dir" && as_dir=. 2994 for ac_exec_ext in '' $ac_executable_extensions; do 2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2996 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2998 break 2 2999 fi 3000 done 3001 done 3002 IFS=$as_save_IFS 3003 3004 fi 3005 fi 3006 CC=$ac_cv_prog_CC 3007 if test -n "$CC"; then 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3009 $as_echo "$CC" >&6; } 3010 else 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3012 $as_echo "no" >&6; } 3013 fi 3014 3015 3016 fi 3017 if test -z "$ac_cv_prog_CC"; then 3018 ac_ct_CC=$CC 3019 # Extract the first word of "gcc", so it can be a program name with args. 3020 set dummy gcc; ac_word=$2 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3022 $as_echo_n "checking for $ac_word... " >&6; } 3023 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3024 $as_echo_n "(cached) " >&6 3025 else 3026 if test -n "$ac_ct_CC"; then 3027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3028 else 3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3030 for as_dir in $PATH 3031 do 3032 IFS=$as_save_IFS 3033 test -z "$as_dir" && as_dir=. 3034 for ac_exec_ext in '' $ac_executable_extensions; do 3035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3036 ac_cv_prog_ac_ct_CC="gcc" 3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3038 break 2 3039 fi 3040 done 3041 done 3042 IFS=$as_save_IFS 3043 3044 fi 3045 fi 3046 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3047 if test -n "$ac_ct_CC"; then 3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3049 $as_echo "$ac_ct_CC" >&6; } 3050 else 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3052 $as_echo "no" >&6; } 3053 fi 3054 3055 if test "x$ac_ct_CC" = x; then 3056 CC="" 3057 else 3058 case $cross_compiling:$ac_tool_warned in 3059 yes:) 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3062 ac_tool_warned=yes ;; 3063 esac 3064 CC=$ac_ct_CC 3065 fi 3066 else 3067 CC="$ac_cv_prog_CC" 3068 fi 3069 3070 if test -z "$CC"; then 3071 if test -n "$ac_tool_prefix"; then 3072 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3073 set dummy ${ac_tool_prefix}cc; ac_word=$2 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3075 $as_echo_n "checking for $ac_word... " >&6; } 3076 if ${ac_cv_prog_CC+:} false; then : 3077 $as_echo_n "(cached) " >&6 3078 else 3079 if test -n "$CC"; then 3080 ac_cv_prog_CC="$CC" # Let the user override the test. 3081 else 3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3083 for as_dir in $PATH 3084 do 3085 IFS=$as_save_IFS 3086 test -z "$as_dir" && as_dir=. 3087 for ac_exec_ext in '' $ac_executable_extensions; do 3088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3089 ac_cv_prog_CC="${ac_tool_prefix}cc" 3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3091 break 2 3092 fi 3093 done 3094 done 3095 IFS=$as_save_IFS 3096 3097 fi 3098 fi 3099 CC=$ac_cv_prog_CC 3100 if test -n "$CC"; then 3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3102 $as_echo "$CC" >&6; } 3103 else 3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3105 $as_echo "no" >&6; } 3106 fi 3107 3108 3109 fi 3110 fi 3111 if test -z "$CC"; then 3112 # Extract the first word of "cc", so it can be a program name with args. 3113 set dummy cc; ac_word=$2 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3115 $as_echo_n "checking for $ac_word... " >&6; } 3116 if ${ac_cv_prog_CC+:} false; then : 3117 $as_echo_n "(cached) " >&6 3118 else 3119 if test -n "$CC"; then 3120 ac_cv_prog_CC="$CC" # Let the user override the test. 3121 else 3122 ac_prog_rejected=no 3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3124 for as_dir in $PATH 3125 do 3126 IFS=$as_save_IFS 3127 test -z "$as_dir" && as_dir=. 3128 for ac_exec_ext in '' $ac_executable_extensions; do 3129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3130 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3131 ac_prog_rejected=yes 3132 continue 3133 fi 3134 ac_cv_prog_CC="cc" 3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3136 break 2 3137 fi 3138 done 3139 done 3140 IFS=$as_save_IFS 3141 3142 if test $ac_prog_rejected = yes; then 3143 # We found a bogon in the path, so make sure we never use it. 3144 set dummy $ac_cv_prog_CC 3145 shift 3146 if test $# != 0; then 3147 # We chose a different compiler from the bogus one. 3148 # However, it has the same basename, so the bogon will be chosen 3149 # first if we set CC to just the basename; use the full file name. 3150 shift 3151 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3152 fi 3153 fi 3154 fi 3155 fi 3156 CC=$ac_cv_prog_CC 3157 if test -n "$CC"; then 3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3159 $as_echo "$CC" >&6; } 3160 else 3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3162 $as_echo "no" >&6; } 3163 fi 3164 3165 3166 fi 3167 if test -z "$CC"; then 3168 if test -n "$ac_tool_prefix"; then 3169 for ac_prog in cl.exe 3170 do 3171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3174 $as_echo_n "checking for $ac_word... " >&6; } 3175 if ${ac_cv_prog_CC+:} false; then : 3176 $as_echo_n "(cached) " >&6 3177 else 3178 if test -n "$CC"; then 3179 ac_cv_prog_CC="$CC" # Let the user override the test. 3180 else 3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3182 for as_dir in $PATH 3183 do 3184 IFS=$as_save_IFS 3185 test -z "$as_dir" && as_dir=. 3186 for ac_exec_ext in '' $ac_executable_extensions; do 3187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3188 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3190 break 2 3191 fi 3192 done 3193 done 3194 IFS=$as_save_IFS 3195 3196 fi 3197 fi 3198 CC=$ac_cv_prog_CC 3199 if test -n "$CC"; then 3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3201 $as_echo "$CC" >&6; } 3202 else 3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3204 $as_echo "no" >&6; } 3205 fi 3206 3207 3208 test -n "$CC" && break 3209 done 3210 fi 3211 if test -z "$CC"; then 3212 ac_ct_CC=$CC 3213 for ac_prog in cl.exe 3214 do 3215 # Extract the first word of "$ac_prog", so it can be a program name with args. 3216 set dummy $ac_prog; ac_word=$2 3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3218 $as_echo_n "checking for $ac_word... " >&6; } 3219 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3220 $as_echo_n "(cached) " >&6 3221 else 3222 if test -n "$ac_ct_CC"; then 3223 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3224 else 3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3226 for as_dir in $PATH 3227 do 3228 IFS=$as_save_IFS 3229 test -z "$as_dir" && as_dir=. 3230 for ac_exec_ext in '' $ac_executable_extensions; do 3231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3232 ac_cv_prog_ac_ct_CC="$ac_prog" 3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3234 break 2 3235 fi 3236 done 3237 done 3238 IFS=$as_save_IFS 3239 3240 fi 3241 fi 3242 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3243 if test -n "$ac_ct_CC"; then 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3245 $as_echo "$ac_ct_CC" >&6; } 3246 else 3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3248 $as_echo "no" >&6; } 3249 fi 3250 3251 3252 test -n "$ac_ct_CC" && break 3253 done 3254 3255 if test "x$ac_ct_CC" = x; then 3256 CC="" 3257 else 3258 case $cross_compiling:$ac_tool_warned in 3259 yes:) 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3262 ac_tool_warned=yes ;; 3263 esac 3264 CC=$ac_ct_CC 3265 fi 3266 fi 3267 3268 fi 3269 3270 3271 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3273 as_fn_error $? "no acceptable C compiler found in \$PATH 3274 See \`config.log' for more details" "$LINENO" 5; } 3275 3276 # Provide some information about the compiler. 3277 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3278 set X $ac_compile 3279 ac_compiler=$2 3280 for ac_option in --version -v -V -qversion; do 3281 { { ac_try="$ac_compiler $ac_option >&5" 3282 case "(($ac_try" in 3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3284 *) ac_try_echo=$ac_try;; 3285 esac 3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3287 $as_echo "$ac_try_echo"; } >&5 3288 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3289 ac_status=$? 3290 if test -s conftest.err; then 3291 sed '10a\ 3292 ... rest of stderr output deleted ... 3293 10q' conftest.err >conftest.er1 3294 cat conftest.er1 >&5 3295 fi 3296 rm -f conftest.er1 conftest.err 3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3298 test $ac_status = 0; } 3299 done 3300 3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3302 /* end confdefs.h. */ 3303 3304 int 3305 main () 3306 { 3307 3308 ; 3309 return 0; 3310 } 3311 _ACEOF 3312 ac_clean_files_save=$ac_clean_files 3313 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3314 # Try to create an executable without -o first, disregard a.out. 3315 # It will help us diagnose broken compilers, and finding out an intuition 3316 # of exeext. 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3318 $as_echo_n "checking whether the C compiler works... " >&6; } 3319 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3320 3321 # The possible output files: 3322 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3323 3324 ac_rmfiles= 3325 for ac_file in $ac_files 3326 do 3327 case $ac_file in 3328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3329 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3330 esac 3331 done 3332 rm -f $ac_rmfiles 3333 3334 if { { ac_try="$ac_link_default" 3335 case "(($ac_try" in 3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3337 *) ac_try_echo=$ac_try;; 3338 esac 3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3340 $as_echo "$ac_try_echo"; } >&5 3341 (eval "$ac_link_default") 2>&5 3342 ac_status=$? 3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3344 test $ac_status = 0; }; then : 3345 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3346 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3347 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3348 # so that the user can short-circuit this test for compilers unknown to 3349 # Autoconf. 3350 for ac_file in $ac_files '' 3351 do 3352 test -f "$ac_file" || continue 3353 case $ac_file in 3354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3355 ;; 3356 [ab].out ) 3357 # We found the default executable, but exeext='' is most 3358 # certainly right. 3359 break;; 3360 *.* ) 3361 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3362 then :; else 3363 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3364 fi 3365 # We set ac_cv_exeext here because the later test for it is not 3366 # safe: cross compilers may not add the suffix if given an `-o' 3367 # argument, so we may need to know it at that point already. 3368 # Even if this section looks crufty: it has the advantage of 3369 # actually working. 3370 break;; 3371 * ) 3372 break;; 3373 esac 3374 done 3375 test "$ac_cv_exeext" = no && ac_cv_exeext= 3376 3377 else 3378 ac_file='' 3379 fi 3380 if test -z "$ac_file"; then : 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3382 $as_echo "no" >&6; } 3383 $as_echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3388 as_fn_error 77 "C compiler cannot create executables 3389 See \`config.log' for more details" "$LINENO" 5; } 3390 else 3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3392 $as_echo "yes" >&6; } 3393 fi 3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3395 $as_echo_n "checking for C compiler default output file name... " >&6; } 3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3397 $as_echo "$ac_file" >&6; } 3398 ac_exeext=$ac_cv_exeext 3399 3400 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3401 ac_clean_files=$ac_clean_files_save 3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3403 $as_echo_n "checking for suffix of executables... " >&6; } 3404 if { { ac_try="$ac_link" 3405 case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408 esac 3409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3410 $as_echo "$ac_try_echo"; } >&5 3411 (eval "$ac_link") 2>&5 3412 ac_status=$? 3413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3414 test $ac_status = 0; }; then : 3415 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3416 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3417 # work properly (i.e., refer to `conftest.exe'), while it won't with 3418 # `rm'. 3419 for ac_file in conftest.exe conftest conftest.*; do 3420 test -f "$ac_file" || continue 3421 case $ac_file in 3422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3423 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3424 break;; 3425 * ) break;; 3426 esac 3427 done 3428 else 3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3431 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3432 See \`config.log' for more details" "$LINENO" 5; } 3433 fi 3434 rm -f conftest conftest$ac_cv_exeext 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3436 $as_echo "$ac_cv_exeext" >&6; } 3437 3438 rm -f conftest.$ac_ext 3439 EXEEXT=$ac_cv_exeext 3440 ac_exeext=$EXEEXT 3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3442 /* end confdefs.h. */ 3443 #include <stdio.h> 3444 int 3445 main () 3446 { 3447 FILE *f = fopen ("conftest.out", "w"); 3448 return ferror (f) || fclose (f) != 0; 3449 3450 ; 3451 return 0; 3452 } 3453 _ACEOF 3454 ac_clean_files="$ac_clean_files conftest.out" 3455 # Check that the compiler produces executables we can run. If not, either 3456 # the compiler is broken, or we cross compile. 3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3458 $as_echo_n "checking whether we are cross compiling... " >&6; } 3459 if test "$cross_compiling" != yes; then 3460 { { ac_try="$ac_link" 3461 case "(($ac_try" in 3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3463 *) ac_try_echo=$ac_try;; 3464 esac 3465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3466 $as_echo "$ac_try_echo"; } >&5 3467 (eval "$ac_link") 2>&5 3468 ac_status=$? 3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3470 test $ac_status = 0; } 3471 if { ac_try='./conftest$ac_cv_exeext' 3472 { { case "(($ac_try" in 3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3474 *) ac_try_echo=$ac_try;; 3475 esac 3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3477 $as_echo "$ac_try_echo"; } >&5 3478 (eval "$ac_try") 2>&5 3479 ac_status=$? 3480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3481 test $ac_status = 0; }; }; then 3482 cross_compiling=no 3483 else 3484 if test "$cross_compiling" = maybe; then 3485 cross_compiling=yes 3486 else 3487 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3489 as_fn_error $? "cannot run C compiled programs. 3490 If you meant to cross compile, use \`--host'. 3491 See \`config.log' for more details" "$LINENO" 5; } 3492 fi 3493 fi 3494 fi 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3496 $as_echo "$cross_compiling" >&6; } 3497 3498 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3499 ac_clean_files=$ac_clean_files_save 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3501 $as_echo_n "checking for suffix of object files... " >&6; } 3502 if ${ac_cv_objext+:} false; then : 3503 $as_echo_n "(cached) " >&6 3504 else 3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3506 /* end confdefs.h. */ 3507 3508 int 3509 main () 3510 { 3511 3512 ; 3513 return 0; 3514 } 3515 _ACEOF 3516 rm -f conftest.o conftest.obj 3517 if { { ac_try="$ac_compile" 3518 case "(($ac_try" in 3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3520 *) ac_try_echo=$ac_try;; 3521 esac 3522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3523 $as_echo "$ac_try_echo"; } >&5 3524 (eval "$ac_compile") 2>&5 3525 ac_status=$? 3526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3527 test $ac_status = 0; }; then : 3528 for ac_file in conftest.o conftest.obj conftest.*; do 3529 test -f "$ac_file" || continue; 3530 case $ac_file in 3531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3532 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3533 break;; 3534 esac 3535 done 3536 else 3537 $as_echo "$as_me: failed program was:" >&5 3538 sed 's/^/| /' conftest.$ac_ext >&5 3539 3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3542 as_fn_error $? "cannot compute suffix of object files: cannot compile 3543 See \`config.log' for more details" "$LINENO" 5; } 3544 fi 3545 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3546 fi 3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3548 $as_echo "$ac_cv_objext" >&6; } 3549 OBJEXT=$ac_cv_objext 3550 ac_objext=$OBJEXT 3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3552 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3553 if ${ac_cv_c_compiler_gnu+:} false; then : 3554 $as_echo_n "(cached) " >&6 3555 else 3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3557 /* end confdefs.h. */ 3558 3559 int 3560 main () 3561 { 3562 #ifndef __GNUC__ 3563 choke me 3564 #endif 3565 3566 ; 3567 return 0; 3568 } 3569 _ACEOF 3570 if ac_fn_c_try_compile "$LINENO"; then : 3571 ac_compiler_gnu=yes 3572 else 3573 ac_compiler_gnu=no 3574 fi 3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3576 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3577 3578 fi 3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3580 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3581 if test $ac_compiler_gnu = yes; then 3582 GCC=yes 3583 else 3584 GCC= 3585 fi 3586 ac_test_CFLAGS=${CFLAGS+set} 3587 ac_save_CFLAGS=$CFLAGS 3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3589 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3590 if ${ac_cv_prog_cc_g+:} false; then : 3591 $as_echo_n "(cached) " >&6 3592 else 3593 ac_save_c_werror_flag=$ac_c_werror_flag 3594 ac_c_werror_flag=yes 3595 ac_cv_prog_cc_g=no 3596 CFLAGS="-g" 3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3598 /* end confdefs.h. */ 3599 3600 int 3601 main () 3602 { 3603 3604 ; 3605 return 0; 3606 } 3607 _ACEOF 3608 if ac_fn_c_try_compile "$LINENO"; then : 3609 ac_cv_prog_cc_g=yes 3610 else 3611 CFLAGS="" 3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3613 /* end confdefs.h. */ 3614 3615 int 3616 main () 3617 { 3618 3619 ; 3620 return 0; 3621 } 3622 _ACEOF 3623 if ac_fn_c_try_compile "$LINENO"; then : 3624 3625 else 3626 ac_c_werror_flag=$ac_save_c_werror_flag 3627 CFLAGS="-g" 3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3629 /* end confdefs.h. */ 3630 3631 int 3632 main () 3633 { 3634 3635 ; 3636 return 0; 3637 } 3638 _ACEOF 3639 if ac_fn_c_try_compile "$LINENO"; then : 3640 ac_cv_prog_cc_g=yes 3641 fi 3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3643 fi 3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3645 fi 3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3647 ac_c_werror_flag=$ac_save_c_werror_flag 3648 fi 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3650 $as_echo "$ac_cv_prog_cc_g" >&6; } 3651 if test "$ac_test_CFLAGS" = set; then 3652 CFLAGS=$ac_save_CFLAGS 3653 elif test $ac_cv_prog_cc_g = yes; then 3654 if test "$GCC" = yes; then 3655 CFLAGS="-g -O2" 3656 else 3657 CFLAGS="-g" 3658 fi 3659 else 3660 if test "$GCC" = yes; then 3661 CFLAGS="-O2" 3662 else 3663 CFLAGS= 3664 fi 3665 fi 3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3667 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3668 if ${ac_cv_prog_cc_c89+:} false; then : 3669 $as_echo_n "(cached) " >&6 3670 else 3671 ac_cv_prog_cc_c89=no 3672 ac_save_CC=$CC 3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3674 /* end confdefs.h. */ 3675 #include <stdarg.h> 3676 #include <stdio.h> 3677 struct stat; 3678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3679 struct buf { int x; }; 3680 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3681 static char *e (p, i) 3682 char **p; 3683 int i; 3684 { 3685 return p[i]; 3686 } 3687 static char *f (char * (*g) (char **, int), char **p, ...) 3688 { 3689 char *s; 3690 va_list v; 3691 va_start (v,p); 3692 s = g (p, va_arg (v,int)); 3693 va_end (v); 3694 return s; 3695 } 3696 3697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3698 function prototypes and stuff, but not '\xHH' hex character constants. 3699 These don't provoke an error unfortunately, instead are silently treated 3700 as 'x'. The following induces an error, until -std is added to get 3701 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3702 array size at least. It's necessary to write '\x00'==0 to get something 3703 that's true only with -std. */ 3704 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3705 3706 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3707 inside strings and character constants. */ 3708 #define FOO(x) 'x' 3709 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3710 3711 int test (int i, double x); 3712 struct s1 {int (*f) (int a);}; 3713 struct s2 {int (*f) (double a);}; 3714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3715 int argc; 3716 char **argv; 3717 int 3718 main () 3719 { 3720 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3721 ; 3722 return 0; 3723 } 3724 _ACEOF 3725 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3727 do 3728 CC="$ac_save_CC $ac_arg" 3729 if ac_fn_c_try_compile "$LINENO"; then : 3730 ac_cv_prog_cc_c89=$ac_arg 3731 fi 3732 rm -f core conftest.err conftest.$ac_objext 3733 test "x$ac_cv_prog_cc_c89" != "xno" && break 3734 done 3735 rm -f conftest.$ac_ext 3736 CC=$ac_save_CC 3737 3738 fi 3739 # AC_CACHE_VAL 3740 case "x$ac_cv_prog_cc_c89" in 3741 x) 3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3743 $as_echo "none needed" >&6; } ;; 3744 xno) 3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3746 $as_echo "unsupported" >&6; } ;; 3747 *) 3748 CC="$CC $ac_cv_prog_cc_c89" 3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3751 esac 3752 if test "x$ac_cv_prog_cc_c89" != xno; then : 3753 3754 fi 3755 3756 ac_ext=c 3757 ac_cpp='$CPP $CPPFLAGS' 3758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3760 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3761 3762 ac_ext=c 3763 ac_cpp='$CPP $CPPFLAGS' 3764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3766 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3768 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3769 if ${am_cv_prog_cc_c_o+:} false; then : 3770 $as_echo_n "(cached) " >&6 3771 else 3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3773 /* end confdefs.h. */ 3774 3775 int 3776 main () 3777 { 3778 3779 ; 3780 return 0; 3781 } 3782 _ACEOF 3783 # Make sure it works both with $CC and with simple cc. 3784 # Following AC_PROG_CC_C_O, we do the test twice because some 3785 # compilers refuse to overwrite an existing .o file with -o, 3786 # though they will create one. 3787 am_cv_prog_cc_c_o=yes 3788 for am_i in 1 2; do 3789 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3790 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3791 ac_status=$? 3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3793 (exit $ac_status); } \ 3794 && test -f conftest2.$ac_objext; then 3795 : OK 3796 else 3797 am_cv_prog_cc_c_o=no 3798 break 3799 fi 3800 done 3801 rm -f core conftest* 3802 unset am_i 3803 fi 3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3805 $as_echo "$am_cv_prog_cc_c_o" >&6; } 3806 if test "$am_cv_prog_cc_c_o" != yes; then 3807 # Losing compiler, so override with the script. 3808 # FIXME: It is wrong to rewrite CC. 3809 # But if we don't then we get into trouble of one sort or another. 3810 # A longer-term fix would be to have automake use am__CC in this case, 3811 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3812 CC="$am_aux_dir/compile $CC" 3813 fi 3814 ac_ext=c 3815 ac_cpp='$CPP $CPPFLAGS' 3816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3818 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3819 3820 3821 depcc="$CC" am_compiler_list= 3822 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3824 $as_echo_n "checking dependency style of $depcc... " >&6; } 3825 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3826 $as_echo_n "(cached) " >&6 3827 else 3828 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3829 # We make a subdir and do the tests there. Otherwise we can end up 3830 # making bogus files that we don't know about and never remove. For 3831 # instance it was reported that on HP-UX the gcc test will end up 3832 # making a dummy file named 'D' -- because '-MD' means "put the output 3833 # in D". 3834 rm -rf conftest.dir 3835 mkdir conftest.dir 3836 # Copy depcomp to subdir because otherwise we won't find it if we're 3837 # using a relative directory. 3838 cp "$am_depcomp" conftest.dir 3839 cd conftest.dir 3840 # We will build objects and dependencies in a subdirectory because 3841 # it helps to detect inapplicable dependency modes. For instance 3842 # both Tru64's cc and ICC support -MD to output dependencies as a 3843 # side effect of compilation, but ICC will put the dependencies in 3844 # the current directory while Tru64 will put them in the object 3845 # directory. 3846 mkdir sub 3847 3848 am_cv_CC_dependencies_compiler_type=none 3849 if test "$am_compiler_list" = ""; then 3850 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3851 fi 3852 am__universal=false 3853 case " $depcc " in #( 3854 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3855 esac 3856 3857 for depmode in $am_compiler_list; do 3858 # Setup a source with many dependencies, because some compilers 3859 # like to wrap large dependency lists on column 80 (with \), and 3860 # we should not choose a depcomp mode which is confused by this. 3861 # 3862 # We need to recreate these files for each test, as the compiler may 3863 # overwrite some of them when testing with obscure command lines. 3864 # This happens at least with the AIX C compiler. 3865 : > sub/conftest.c 3866 for i in 1 2 3 4 5 6; do 3867 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3868 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3869 # Solaris 10 /bin/sh. 3870 echo '/* dummy */' > sub/conftst$i.h 3871 done 3872 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3873 3874 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3875 # mode. It turns out that the SunPro C++ compiler does not properly 3876 # handle '-M -o', and we need to detect this. Also, some Intel 3877 # versions had trouble with output in subdirs. 3878 am__obj=sub/conftest.${OBJEXT-o} 3879 am__minus_obj="-o $am__obj" 3880 case $depmode in 3881 gcc) 3882 # This depmode causes a compiler race in universal mode. 3883 test "$am__universal" = false || continue 3884 ;; 3885 nosideeffect) 3886 # After this tag, mechanisms are not by side-effect, so they'll 3887 # only be used when explicitly requested. 3888 if test "x$enable_dependency_tracking" = xyes; then 3889 continue 3890 else 3891 break 3892 fi 3893 ;; 3894 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3895 # This compiler won't grok '-c -o', but also, the minuso test has 3896 # not run yet. These depmodes are late enough in the game, and 3897 # so weak that their functioning should not be impacted. 3898 am__obj=conftest.${OBJEXT-o} 3899 am__minus_obj= 3900 ;; 3901 none) break ;; 3902 esac 3903 if depmode=$depmode \ 3904 source=sub/conftest.c object=$am__obj \ 3905 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3906 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3907 >/dev/null 2>conftest.err && 3908 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3909 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3910 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3911 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3912 # icc doesn't choke on unknown options, it will just issue warnings 3913 # or remarks (even with -Werror). So we grep stderr for any message 3914 # that says an option was ignored or not supported. 3915 # When given -MP, icc 7.0 and 7.1 complain thusly: 3916 # icc: Command line warning: ignoring option '-M'; no argument required 3917 # The diagnosis changed in icc 8.0: 3918 # icc: Command line remark: option '-MP' not supported 3919 if (grep 'ignoring option' conftest.err || 3920 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3921 am_cv_CC_dependencies_compiler_type=$depmode 3922 break 3923 fi 3924 fi 3925 done 3926 3927 cd .. 3928 rm -rf conftest.dir 3929 else 3930 am_cv_CC_dependencies_compiler_type=none 3931 fi 3932 3933 fi 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3935 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3936 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3937 3938 if 3939 test "x$enable_dependency_tracking" != xno \ 3940 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3941 am__fastdepCC_TRUE= 3942 am__fastdepCC_FALSE='#' 3943 else 3944 am__fastdepCC_TRUE='#' 3945 am__fastdepCC_FALSE= 3946 fi 3947 3948 3949 ac_ext=c 3950 ac_cpp='$CPP $CPPFLAGS' 3951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3953 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3955 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3956 # On Suns, sometimes $CPP names a directory. 3957 if test -n "$CPP" && test -d "$CPP"; then 3958 CPP= 3959 fi 3960 if test -z "$CPP"; then 3961 if ${ac_cv_prog_CPP+:} false; then : 3962 $as_echo_n "(cached) " >&6 3963 else 3964 # Double quotes because CPP needs to be expanded 3965 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3966 do 3967 ac_preproc_ok=false 3968 for ac_c_preproc_warn_flag in '' yes 3969 do 3970 # Use a header file that comes with gcc, so configuring glibc 3971 # with a fresh cross-compiler works. 3972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3973 # <limits.h> exists even on freestanding compilers. 3974 # On the NeXT, cc -E runs the code through the compiler's parser, 3975 # not just through cpp. "Syntax error" is here to catch this case. 3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3977 /* end confdefs.h. */ 3978 #ifdef __STDC__ 3979 # include <limits.h> 3980 #else 3981 # include <assert.h> 3982 #endif 3983 Syntax error 3984 _ACEOF 3985 if ac_fn_c_try_cpp "$LINENO"; then : 3986 3987 else 3988 # Broken: fails on valid input. 3989 continue 3990 fi 3991 rm -f conftest.err conftest.i conftest.$ac_ext 3992 3993 # OK, works on sane cases. Now check whether nonexistent headers 3994 # can be detected and how. 3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3996 /* end confdefs.h. */ 3997 #include <ac_nonexistent.h> 3998 _ACEOF 3999 if ac_fn_c_try_cpp "$LINENO"; then : 4000 # Broken: success on invalid input. 4001 continue 4002 else 4003 # Passes both tests. 4004 ac_preproc_ok=: 4005 break 4006 fi 4007 rm -f conftest.err conftest.i conftest.$ac_ext 4008 4009 done 4010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4011 rm -f conftest.i conftest.err conftest.$ac_ext 4012 if $ac_preproc_ok; then : 4013 break 4014 fi 4015 4016 done 4017 ac_cv_prog_CPP=$CPP 4018 4019 fi 4020 CPP=$ac_cv_prog_CPP 4021 else 4022 ac_cv_prog_CPP=$CPP 4023 fi 4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4025 $as_echo "$CPP" >&6; } 4026 ac_preproc_ok=false 4027 for ac_c_preproc_warn_flag in '' yes 4028 do 4029 # Use a header file that comes with gcc, so configuring glibc 4030 # with a fresh cross-compiler works. 4031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4032 # <limits.h> exists even on freestanding compilers. 4033 # On the NeXT, cc -E runs the code through the compiler's parser, 4034 # not just through cpp. "Syntax error" is here to catch this case. 4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4036 /* end confdefs.h. */ 4037 #ifdef __STDC__ 4038 # include <limits.h> 4039 #else 4040 # include <assert.h> 4041 #endif 4042 Syntax error 4043 _ACEOF 4044 if ac_fn_c_try_cpp "$LINENO"; then : 4045 4046 else 4047 # Broken: fails on valid input. 4048 continue 4049 fi 4050 rm -f conftest.err conftest.i conftest.$ac_ext 4051 4052 # OK, works on sane cases. Now check whether nonexistent headers 4053 # can be detected and how. 4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4055 /* end confdefs.h. */ 4056 #include <ac_nonexistent.h> 4057 _ACEOF 4058 if ac_fn_c_try_cpp "$LINENO"; then : 4059 # Broken: success on invalid input. 4060 continue 4061 else 4062 # Passes both tests. 4063 ac_preproc_ok=: 4064 break 4065 fi 4066 rm -f conftest.err conftest.i conftest.$ac_ext 4067 4068 done 4069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4070 rm -f conftest.i conftest.err conftest.$ac_ext 4071 if $ac_preproc_ok; then : 4072 4073 else 4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4076 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4077 See \`config.log' for more details" "$LINENO" 5; } 4078 fi 4079 4080 ac_ext=c 4081 ac_cpp='$CPP $CPPFLAGS' 4082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4085 4086 ac_ext=c 4087 ac_cpp='$CPP $CPPFLAGS' 4088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4090 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4091 if test -n "$ac_tool_prefix"; then 4092 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4093 set dummy ${ac_tool_prefix}gcc; ac_word=$2 4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4095 $as_echo_n "checking for $ac_word... " >&6; } 4096 if ${ac_cv_prog_CC+:} false; then : 4097 $as_echo_n "(cached) " >&6 4098 else 4099 if test -n "$CC"; then 4100 ac_cv_prog_CC="$CC" # Let the user override the test. 4101 else 4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4103 for as_dir in $PATH 4104 do 4105 IFS=$as_save_IFS 4106 test -z "$as_dir" && as_dir=. 4107 for ac_exec_ext in '' $ac_executable_extensions; do 4108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4109 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4111 break 2 4112 fi 4113 done 4114 done 4115 IFS=$as_save_IFS 4116 4117 fi 4118 fi 4119 CC=$ac_cv_prog_CC 4120 if test -n "$CC"; then 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4122 $as_echo "$CC" >&6; } 4123 else 4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4125 $as_echo "no" >&6; } 4126 fi 4127 4128 4129 fi 4130 if test -z "$ac_cv_prog_CC"; then 4131 ac_ct_CC=$CC 4132 # Extract the first word of "gcc", so it can be a program name with args. 4133 set dummy gcc; ac_word=$2 4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4135 $as_echo_n "checking for $ac_word... " >&6; } 4136 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4137 $as_echo_n "(cached) " >&6 4138 else 4139 if test -n "$ac_ct_CC"; then 4140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4141 else 4142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4143 for as_dir in $PATH 4144 do 4145 IFS=$as_save_IFS 4146 test -z "$as_dir" && as_dir=. 4147 for ac_exec_ext in '' $ac_executable_extensions; do 4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4149 ac_cv_prog_ac_ct_CC="gcc" 4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4151 break 2 4152 fi 4153 done 4154 done 4155 IFS=$as_save_IFS 4156 4157 fi 4158 fi 4159 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4160 if test -n "$ac_ct_CC"; then 4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4162 $as_echo "$ac_ct_CC" >&6; } 4163 else 4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4165 $as_echo "no" >&6; } 4166 fi 4167 4168 if test "x$ac_ct_CC" = x; then 4169 CC="" 4170 else 4171 case $cross_compiling:$ac_tool_warned in 4172 yes:) 4173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4175 ac_tool_warned=yes ;; 4176 esac 4177 CC=$ac_ct_CC 4178 fi 4179 else 4180 CC="$ac_cv_prog_CC" 4181 fi 4182 4183 if test -z "$CC"; then 4184 if test -n "$ac_tool_prefix"; then 4185 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4186 set dummy ${ac_tool_prefix}cc; ac_word=$2 4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4188 $as_echo_n "checking for $ac_word... " >&6; } 4189 if ${ac_cv_prog_CC+:} false; then : 4190 $as_echo_n "(cached) " >&6 4191 else 4192 if test -n "$CC"; then 4193 ac_cv_prog_CC="$CC" # Let the user override the test. 4194 else 4195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4196 for as_dir in $PATH 4197 do 4198 IFS=$as_save_IFS 4199 test -z "$as_dir" && as_dir=. 4200 for ac_exec_ext in '' $ac_executable_extensions; do 4201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4202 ac_cv_prog_CC="${ac_tool_prefix}cc" 4203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4204 break 2 4205 fi 4206 done 4207 done 4208 IFS=$as_save_IFS 4209 4210 fi 4211 fi 4212 CC=$ac_cv_prog_CC 4213 if test -n "$CC"; then 4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4215 $as_echo "$CC" >&6; } 4216 else 4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4218 $as_echo "no" >&6; } 4219 fi 4220 4221 4222 fi 4223 fi 4224 if test -z "$CC"; then 4225 # Extract the first word of "cc", so it can be a program name with args. 4226 set dummy cc; ac_word=$2 4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4228 $as_echo_n "checking for $ac_word... " >&6; } 4229 if ${ac_cv_prog_CC+:} false; then : 4230 $as_echo_n "(cached) " >&6 4231 else 4232 if test -n "$CC"; then 4233 ac_cv_prog_CC="$CC" # Let the user override the test. 4234 else 4235 ac_prog_rejected=no 4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4237 for as_dir in $PATH 4238 do 4239 IFS=$as_save_IFS 4240 test -z "$as_dir" && as_dir=. 4241 for ac_exec_ext in '' $ac_executable_extensions; do 4242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4244 ac_prog_rejected=yes 4245 continue 4246 fi 4247 ac_cv_prog_CC="cc" 4248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4249 break 2 4250 fi 4251 done 4252 done 4253 IFS=$as_save_IFS 4254 4255 if test $ac_prog_rejected = yes; then 4256 # We found a bogon in the path, so make sure we never use it. 4257 set dummy $ac_cv_prog_CC 4258 shift 4259 if test $# != 0; then 4260 # We chose a different compiler from the bogus one. 4261 # However, it has the same basename, so the bogon will be chosen 4262 # first if we set CC to just the basename; use the full file name. 4263 shift 4264 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4265 fi 4266 fi 4267 fi 4268 fi 4269 CC=$ac_cv_prog_CC 4270 if test -n "$CC"; then 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4272 $as_echo "$CC" >&6; } 4273 else 4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4275 $as_echo "no" >&6; } 4276 fi 4277 4278 4279 fi 4280 if test -z "$CC"; then 4281 if test -n "$ac_tool_prefix"; then 4282 for ac_prog in cl.exe 4283 do 4284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4285 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4287 $as_echo_n "checking for $ac_word... " >&6; } 4288 if ${ac_cv_prog_CC+:} false; then : 4289 $as_echo_n "(cached) " >&6 4290 else 4291 if test -n "$CC"; then 4292 ac_cv_prog_CC="$CC" # Let the user override the test. 4293 else 4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4295 for as_dir in $PATH 4296 do 4297 IFS=$as_save_IFS 4298 test -z "$as_dir" && as_dir=. 4299 for ac_exec_ext in '' $ac_executable_extensions; do 4300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4301 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4303 break 2 4304 fi 4305 done 4306 done 4307 IFS=$as_save_IFS 4308 4309 fi 4310 fi 4311 CC=$ac_cv_prog_CC 4312 if test -n "$CC"; then 4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4314 $as_echo "$CC" >&6; } 4315 else 4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4317 $as_echo "no" >&6; } 4318 fi 4319 4320 4321 test -n "$CC" && break 4322 done 4323 fi 4324 if test -z "$CC"; then 4325 ac_ct_CC=$CC 4326 for ac_prog in cl.exe 4327 do 4328 # Extract the first word of "$ac_prog", so it can be a program name with args. 4329 set dummy $ac_prog; ac_word=$2 4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4331 $as_echo_n "checking for $ac_word... " >&6; } 4332 if ${ac_cv_prog_ac_ct_CC+:} false; then : 4333 $as_echo_n "(cached) " >&6 4334 else 4335 if test -n "$ac_ct_CC"; then 4336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4337 else 4338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4339 for as_dir in $PATH 4340 do 4341 IFS=$as_save_IFS 4342 test -z "$as_dir" && as_dir=. 4343 for ac_exec_ext in '' $ac_executable_extensions; do 4344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4345 ac_cv_prog_ac_ct_CC="$ac_prog" 4346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4347 break 2 4348 fi 4349 done 4350 done 4351 IFS=$as_save_IFS 4352 4353 fi 4354 fi 4355 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4356 if test -n "$ac_ct_CC"; then 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4358 $as_echo "$ac_ct_CC" >&6; } 4359 else 4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4361 $as_echo "no" >&6; } 4362 fi 4363 4364 4365 test -n "$ac_ct_CC" && break 4366 done 4367 4368 if test "x$ac_ct_CC" = x; then 4369 CC="" 4370 else 4371 case $cross_compiling:$ac_tool_warned in 4372 yes:) 4373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4375 ac_tool_warned=yes ;; 4376 esac 4377 CC=$ac_ct_CC 4378 fi 4379 fi 4380 4381 fi 4382 4383 4384 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4386 as_fn_error $? "no acceptable C compiler found in \$PATH 4387 See \`config.log' for more details" "$LINENO" 5; } 4388 4389 # Provide some information about the compiler. 4390 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4391 set X $ac_compile 4392 ac_compiler=$2 4393 for ac_option in --version -v -V -qversion; do 4394 { { ac_try="$ac_compiler $ac_option >&5" 4395 case "(($ac_try" in 4396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4397 *) ac_try_echo=$ac_try;; 4398 esac 4399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4400 $as_echo "$ac_try_echo"; } >&5 4401 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4402 ac_status=$? 4403 if test -s conftest.err; then 4404 sed '10a\ 4405 ... rest of stderr output deleted ... 4406 10q' conftest.err >conftest.er1 4407 cat conftest.er1 >&5 4408 fi 4409 rm -f conftest.er1 conftest.err 4410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4411 test $ac_status = 0; } 4412 done 4413 4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4415 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4416 if ${ac_cv_c_compiler_gnu+:} false; then : 4417 $as_echo_n "(cached) " >&6 4418 else 4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4420 /* end confdefs.h. */ 4421 4422 int 4423 main () 4424 { 4425 #ifndef __GNUC__ 4426 choke me 4427 #endif 4428 4429 ; 4430 return 0; 4431 } 4432 _ACEOF 4433 if ac_fn_c_try_compile "$LINENO"; then : 4434 ac_compiler_gnu=yes 4435 else 4436 ac_compiler_gnu=no 4437 fi 4438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4439 ac_cv_c_compiler_gnu=$ac_compiler_gnu 4440 4441 fi 4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4443 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4444 if test $ac_compiler_gnu = yes; then 4445 GCC=yes 4446 else 4447 GCC= 4448 fi 4449 ac_test_CFLAGS=${CFLAGS+set} 4450 ac_save_CFLAGS=$CFLAGS 4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4452 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4453 if ${ac_cv_prog_cc_g+:} false; then : 4454 $as_echo_n "(cached) " >&6 4455 else 4456 ac_save_c_werror_flag=$ac_c_werror_flag 4457 ac_c_werror_flag=yes 4458 ac_cv_prog_cc_g=no 4459 CFLAGS="-g" 4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4461 /* end confdefs.h. */ 4462 4463 int 4464 main () 4465 { 4466 4467 ; 4468 return 0; 4469 } 4470 _ACEOF 4471 if ac_fn_c_try_compile "$LINENO"; then : 4472 ac_cv_prog_cc_g=yes 4473 else 4474 CFLAGS="" 4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4476 /* end confdefs.h. */ 4477 4478 int 4479 main () 4480 { 4481 4482 ; 4483 return 0; 4484 } 4485 _ACEOF 4486 if ac_fn_c_try_compile "$LINENO"; then : 4487 4488 else 4489 ac_c_werror_flag=$ac_save_c_werror_flag 4490 CFLAGS="-g" 4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4492 /* end confdefs.h. */ 4493 4494 int 4495 main () 4496 { 4497 4498 ; 4499 return 0; 4500 } 4501 _ACEOF 4502 if ac_fn_c_try_compile "$LINENO"; then : 4503 ac_cv_prog_cc_g=yes 4504 fi 4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4506 fi 4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4508 fi 4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4510 ac_c_werror_flag=$ac_save_c_werror_flag 4511 fi 4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4513 $as_echo "$ac_cv_prog_cc_g" >&6; } 4514 if test "$ac_test_CFLAGS" = set; then 4515 CFLAGS=$ac_save_CFLAGS 4516 elif test $ac_cv_prog_cc_g = yes; then 4517 if test "$GCC" = yes; then 4518 CFLAGS="-g -O2" 4519 else 4520 CFLAGS="-g" 4521 fi 4522 else 4523 if test "$GCC" = yes; then 4524 CFLAGS="-O2" 4525 else 4526 CFLAGS= 4527 fi 4528 fi 4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4530 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4531 if ${ac_cv_prog_cc_c89+:} false; then : 4532 $as_echo_n "(cached) " >&6 4533 else 4534 ac_cv_prog_cc_c89=no 4535 ac_save_CC=$CC 4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4537 /* end confdefs.h. */ 4538 #include <stdarg.h> 4539 #include <stdio.h> 4540 struct stat; 4541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4542 struct buf { int x; }; 4543 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4544 static char *e (p, i) 4545 char **p; 4546 int i; 4547 { 4548 return p[i]; 4549 } 4550 static char *f (char * (*g) (char **, int), char **p, ...) 4551 { 4552 char *s; 4553 va_list v; 4554 va_start (v,p); 4555 s = g (p, va_arg (v,int)); 4556 va_end (v); 4557 return s; 4558 } 4559 4560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4561 function prototypes and stuff, but not '\xHH' hex character constants. 4562 These don't provoke an error unfortunately, instead are silently treated 4563 as 'x'. The following induces an error, until -std is added to get 4564 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4565 array size at least. It's necessary to write '\x00'==0 to get something 4566 that's true only with -std. */ 4567 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4568 4569 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4570 inside strings and character constants. */ 4571 #define FOO(x) 'x' 4572 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4573 4574 int test (int i, double x); 4575 struct s1 {int (*f) (int a);}; 4576 struct s2 {int (*f) (double a);}; 4577 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4578 int argc; 4579 char **argv; 4580 int 4581 main () 4582 { 4583 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4584 ; 4585 return 0; 4586 } 4587 _ACEOF 4588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4589 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4590 do 4591 CC="$ac_save_CC $ac_arg" 4592 if ac_fn_c_try_compile "$LINENO"; then : 4593 ac_cv_prog_cc_c89=$ac_arg 4594 fi 4595 rm -f core conftest.err conftest.$ac_objext 4596 test "x$ac_cv_prog_cc_c89" != "xno" && break 4597 done 4598 rm -f conftest.$ac_ext 4599 CC=$ac_save_CC 4600 4601 fi 4602 # AC_CACHE_VAL 4603 case "x$ac_cv_prog_cc_c89" in 4604 x) 4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4606 $as_echo "none needed" >&6; } ;; 4607 xno) 4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4609 $as_echo "unsupported" >&6; } ;; 4610 *) 4611 CC="$CC $ac_cv_prog_cc_c89" 4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4613 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4614 esac 4615 if test "x$ac_cv_prog_cc_c89" != xno; then : 4616 4617 fi 4618 4619 ac_ext=c 4620 ac_cpp='$CPP $CPPFLAGS' 4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4624 4625 ac_ext=c 4626 ac_cpp='$CPP $CPPFLAGS' 4627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4629 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4631 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4632 if ${am_cv_prog_cc_c_o+:} false; then : 4633 $as_echo_n "(cached) " >&6 4634 else 4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4636 /* end confdefs.h. */ 4637 4638 int 4639 main () 4640 { 4641 4642 ; 4643 return 0; 4644 } 4645 _ACEOF 4646 # Make sure it works both with $CC and with simple cc. 4647 # Following AC_PROG_CC_C_O, we do the test twice because some 4648 # compilers refuse to overwrite an existing .o file with -o, 4649 # though they will create one. 4650 am_cv_prog_cc_c_o=yes 4651 for am_i in 1 2; do 4652 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4653 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4654 ac_status=$? 4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4656 (exit $ac_status); } \ 4657 && test -f conftest2.$ac_objext; then 4658 : OK 4659 else 4660 am_cv_prog_cc_c_o=no 4661 break 4662 fi 4663 done 4664 rm -f core conftest* 4665 unset am_i 4666 fi 4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4668 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4669 if test "$am_cv_prog_cc_c_o" != yes; then 4670 # Losing compiler, so override with the script. 4671 # FIXME: It is wrong to rewrite CC. 4672 # But if we don't then we get into trouble of one sort or another. 4673 # A longer-term fix would be to have automake use am__CC in this case, 4674 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4675 CC="$am_aux_dir/compile $CC" 4676 fi 4677 ac_ext=c 4678 ac_cpp='$CPP $CPPFLAGS' 4679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4681 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4682 4683 4684 depcc="$CC" am_compiler_list= 4685 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4687 $as_echo_n "checking dependency style of $depcc... " >&6; } 4688 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4689 $as_echo_n "(cached) " >&6 4690 else 4691 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4692 # We make a subdir and do the tests there. Otherwise we can end up 4693 # making bogus files that we don't know about and never remove. For 4694 # instance it was reported that on HP-UX the gcc test will end up 4695 # making a dummy file named 'D' -- because '-MD' means "put the output 4696 # in D". 4697 rm -rf conftest.dir 4698 mkdir conftest.dir 4699 # Copy depcomp to subdir because otherwise we won't find it if we're 4700 # using a relative directory. 4701 cp "$am_depcomp" conftest.dir 4702 cd conftest.dir 4703 # We will build objects and dependencies in a subdirectory because 4704 # it helps to detect inapplicable dependency modes. For instance 4705 # both Tru64's cc and ICC support -MD to output dependencies as a 4706 # side effect of compilation, but ICC will put the dependencies in 4707 # the current directory while Tru64 will put them in the object 4708 # directory. 4709 mkdir sub 4710 4711 am_cv_CC_dependencies_compiler_type=none 4712 if test "$am_compiler_list" = ""; then 4713 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4714 fi 4715 am__universal=false 4716 case " $depcc " in #( 4717 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4718 esac 4719 4720 for depmode in $am_compiler_list; do 4721 # Setup a source with many dependencies, because some compilers 4722 # like to wrap large dependency lists on column 80 (with \), and 4723 # we should not choose a depcomp mode which is confused by this. 4724 # 4725 # We need to recreate these files for each test, as the compiler may 4726 # overwrite some of them when testing with obscure command lines. 4727 # This happens at least with the AIX C compiler. 4728 : > sub/conftest.c 4729 for i in 1 2 3 4 5 6; do 4730 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4731 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4732 # Solaris 10 /bin/sh. 4733 echo '/* dummy */' > sub/conftst$i.h 4734 done 4735 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4736 4737 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4738 # mode. It turns out that the SunPro C++ compiler does not properly 4739 # handle '-M -o', and we need to detect this. Also, some Intel 4740 # versions had trouble with output in subdirs. 4741 am__obj=sub/conftest.${OBJEXT-o} 4742 am__minus_obj="-o $am__obj" 4743 case $depmode in 4744 gcc) 4745 # This depmode causes a compiler race in universal mode. 4746 test "$am__universal" = false || continue 4747 ;; 4748 nosideeffect) 4749 # After this tag, mechanisms are not by side-effect, so they'll 4750 # only be used when explicitly requested. 4751 if test "x$enable_dependency_tracking" = xyes; then 4752 continue 4753 else 4754 break 4755 fi 4756 ;; 4757 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4758 # This compiler won't grok '-c -o', but also, the minuso test has 4759 # not run yet. These depmodes are late enough in the game, and 4760 # so weak that their functioning should not be impacted. 4761 am__obj=conftest.${OBJEXT-o} 4762 am__minus_obj= 4763 ;; 4764 none) break ;; 4765 esac 4766 if depmode=$depmode \ 4767 source=sub/conftest.c object=$am__obj \ 4768 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4769 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4770 >/dev/null 2>conftest.err && 4771 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4772 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4773 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4774 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4775 # icc doesn't choke on unknown options, it will just issue warnings 4776 # or remarks (even with -Werror). So we grep stderr for any message 4777 # that says an option was ignored or not supported. 4778 # When given -MP, icc 7.0 and 7.1 complain thusly: 4779 # icc: Command line warning: ignoring option '-M'; no argument required 4780 # The diagnosis changed in icc 8.0: 4781 # icc: Command line remark: option '-MP' not supported 4782 if (grep 'ignoring option' conftest.err || 4783 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4784 am_cv_CC_dependencies_compiler_type=$depmode 4785 break 4786 fi 4787 fi 4788 done 4789 4790 cd .. 4791 rm -rf conftest.dir 4792 else 4793 am_cv_CC_dependencies_compiler_type=none 4794 fi 4795 4796 fi 4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4798 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4799 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4800 4801 if 4802 test "x$enable_dependency_tracking" != xno \ 4803 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4804 am__fastdepCC_TRUE= 4805 am__fastdepCC_FALSE='#' 4806 else 4807 am__fastdepCC_TRUE='#' 4808 am__fastdepCC_FALSE= 4809 fi 4810 4811 4812 case $ac_cv_prog_cc_stdc in #( 4813 no) : 4814 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 4815 *) : 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4817 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4818 if ${ac_cv_prog_cc_c99+:} false; then : 4819 $as_echo_n "(cached) " >&6 4820 else 4821 ac_cv_prog_cc_c99=no 4822 ac_save_CC=$CC 4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4824 /* end confdefs.h. */ 4825 #include <stdarg.h> 4826 #include <stdbool.h> 4827 #include <stdlib.h> 4828 #include <wchar.h> 4829 #include <stdio.h> 4830 4831 // Check varargs macros. These examples are taken from C99 6.10.3.5. 4832 #define debug(...) fprintf (stderr, __VA_ARGS__) 4833 #define showlist(...) puts (#__VA_ARGS__) 4834 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4835 static void 4836 test_varargs_macros (void) 4837 { 4838 int x = 1234; 4839 int y = 5678; 4840 debug ("Flag"); 4841 debug ("X = %d\n", x); 4842 showlist (The first, second, and third items.); 4843 report (x>y, "x is %d but y is %d", x, y); 4844 } 4845 4846 // Check long long types. 4847 #define BIG64 18446744073709551615ull 4848 #define BIG32 4294967295ul 4849 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4850 #if !BIG_OK 4851 your preprocessor is broken; 4852 #endif 4853 #if BIG_OK 4854 #else 4855 your preprocessor is broken; 4856 #endif 4857 static long long int bignum = -9223372036854775807LL; 4858 static unsigned long long int ubignum = BIG64; 4859 4860 struct incomplete_array 4861 { 4862 int datasize; 4863 double data[]; 4864 }; 4865 4866 struct named_init { 4867 int number; 4868 const wchar_t *name; 4869 double average; 4870 }; 4871 4872 typedef const char *ccp; 4873 4874 static inline int 4875 test_restrict (ccp restrict text) 4876 { 4877 // See if C++-style comments work. 4878 // Iterate through items via the restricted pointer. 4879 // Also check for declarations in for loops. 4880 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4881 continue; 4882 return 0; 4883 } 4884 4885 // Check varargs and va_copy. 4886 static void 4887 test_varargs (const char *format, ...) 4888 { 4889 va_list args; 4890 va_start (args, format); 4891 va_list args_copy; 4892 va_copy (args_copy, args); 4893 4894 const char *str; 4895 int number; 4896 float fnumber; 4897 4898 while (*format) 4899 { 4900 switch (*format++) 4901 { 4902 case 's': // string 4903 str = va_arg (args_copy, const char *); 4904 break; 4905 case 'd': // int 4906 number = va_arg (args_copy, int); 4907 break; 4908 case 'f': // float 4909 fnumber = va_arg (args_copy, double); 4910 break; 4911 default: 4912 break; 4913 } 4914 } 4915 va_end (args_copy); 4916 va_end (args); 4917 } 4918 4919 int 4920 main () 4921 { 4922 4923 // Check bool. 4924 _Bool success = false; 4925 4926 // Check restrict. 4927 if (test_restrict ("String literal") == 0) 4928 success = true; 4929 char *restrict newvar = "Another string"; 4930 4931 // Check varargs. 4932 test_varargs ("s, d' f .", "string", 65, 34.234); 4933 test_varargs_macros (); 4934 4935 // Check flexible array members. 4936 struct incomplete_array *ia = 4937 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4938 ia->datasize = 10; 4939 for (int i = 0; i < ia->datasize; ++i) 4940 ia->data[i] = i * 1.234; 4941 4942 // Check named initializers. 4943 struct named_init ni = { 4944 .number = 34, 4945 .name = L"Test wide string", 4946 .average = 543.34343, 4947 }; 4948 4949 ni.number = 58; 4950 4951 int dynamic_array[ni.number]; 4952 dynamic_array[ni.number - 1] = 543; 4953 4954 // work around unused variable warnings 4955 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4956 || dynamic_array[ni.number - 1] != 543); 4957 4958 ; 4959 return 0; 4960 } 4961 _ACEOF 4962 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4963 do 4964 CC="$ac_save_CC $ac_arg" 4965 if ac_fn_c_try_compile "$LINENO"; then : 4966 ac_cv_prog_cc_c99=$ac_arg 4967 fi 4968 rm -f core conftest.err conftest.$ac_objext 4969 test "x$ac_cv_prog_cc_c99" != "xno" && break 4970 done 4971 rm -f conftest.$ac_ext 4972 CC=$ac_save_CC 4973 4974 fi 4975 # AC_CACHE_VAL 4976 case "x$ac_cv_prog_cc_c99" in 4977 x) 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4979 $as_echo "none needed" >&6; } ;; 4980 xno) 4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4982 $as_echo "unsupported" >&6; } ;; 4983 *) 4984 CC="$CC $ac_cv_prog_cc_c99" 4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4986 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4987 esac 4988 if test "x$ac_cv_prog_cc_c99" != xno; then : 4989 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4990 else 4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4993 if ${ac_cv_prog_cc_c89+:} false; then : 4994 $as_echo_n "(cached) " >&6 4995 else 4996 ac_cv_prog_cc_c89=no 4997 ac_save_CC=$CC 4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4999 /* end confdefs.h. */ 5000 #include <stdarg.h> 5001 #include <stdio.h> 5002 struct stat; 5003 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5004 struct buf { int x; }; 5005 FILE * (*rcsopen) (struct buf *, struct stat *, int); 5006 static char *e (p, i) 5007 char **p; 5008 int i; 5009 { 5010 return p[i]; 5011 } 5012 static char *f (char * (*g) (char **, int), char **p, ...) 5013 { 5014 char *s; 5015 va_list v; 5016 va_start (v,p); 5017 s = g (p, va_arg (v,int)); 5018 va_end (v); 5019 return s; 5020 } 5021 5022 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5023 function prototypes and stuff, but not '\xHH' hex character constants. 5024 These don't provoke an error unfortunately, instead are silently treated 5025 as 'x'. The following induces an error, until -std is added to get 5026 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5027 array size at least. It's necessary to write '\x00'==0 to get something 5028 that's true only with -std. */ 5029 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5030 5031 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5032 inside strings and character constants. */ 5033 #define FOO(x) 'x' 5034 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5035 5036 int test (int i, double x); 5037 struct s1 {int (*f) (int a);}; 5038 struct s2 {int (*f) (double a);}; 5039 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5040 int argc; 5041 char **argv; 5042 int 5043 main () 5044 { 5045 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5046 ; 5047 return 0; 5048 } 5049 _ACEOF 5050 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5051 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5052 do 5053 CC="$ac_save_CC $ac_arg" 5054 if ac_fn_c_try_compile "$LINENO"; then : 5055 ac_cv_prog_cc_c89=$ac_arg 5056 fi 5057 rm -f core conftest.err conftest.$ac_objext 5058 test "x$ac_cv_prog_cc_c89" != "xno" && break 5059 done 5060 rm -f conftest.$ac_ext 5061 CC=$ac_save_CC 5062 5063 fi 5064 # AC_CACHE_VAL 5065 case "x$ac_cv_prog_cc_c89" in 5066 x) 5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5068 $as_echo "none needed" >&6; } ;; 5069 xno) 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5071 $as_echo "unsupported" >&6; } ;; 5072 *) 5073 CC="$CC $ac_cv_prog_cc_c89" 5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5075 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5076 esac 5077 if test "x$ac_cv_prog_cc_c89" != xno; then : 5078 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 5079 else 5080 ac_cv_prog_cc_stdc=no 5081 fi 5082 5083 fi 5084 ;; 5085 esac 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 5087 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 5088 if ${ac_cv_prog_cc_stdc+:} false; then : 5089 $as_echo_n "(cached) " >&6 5090 fi 5091 5092 case $ac_cv_prog_cc_stdc in #( 5093 no) : 5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5095 $as_echo "unsupported" >&6; } ;; #( 5096 '') : 5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5098 $as_echo "none needed" >&6; } ;; #( 5099 *) : 5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 5101 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; 5102 esac 5103 5104 5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5106 $as_echo_n "checking whether ln -s works... " >&6; } 5107 LN_S=$as_ln_s 5108 if test "$LN_S" = "ln -s"; then 5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5110 $as_echo "yes" >&6; } 5111 else 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5113 $as_echo "no, using $LN_S" >&6; } 5114 fi 5115 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5117 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5118 set x ${MAKE-make} 5119 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5120 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5121 $as_echo_n "(cached) " >&6 5122 else 5123 cat >conftest.make <<\_ACEOF 5124 SHELL = /bin/sh 5125 all: 5126 @echo '@@@%%%=$(MAKE)=@@@%%%' 5127 _ACEOF 5128 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5129 case `${MAKE-make} -f conftest.make 2>/dev/null` in 5130 *@@@%%%=?*=@@@%%%*) 5131 eval ac_cv_prog_make_${ac_make}_set=yes;; 5132 *) 5133 eval ac_cv_prog_make_${ac_make}_set=no;; 5134 esac 5135 rm -f conftest.make 5136 fi 5137 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5139 $as_echo "yes" >&6; } 5140 SET_MAKE= 5141 else 5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5143 $as_echo "no" >&6; } 5144 SET_MAKE="MAKE=${MAKE-make}" 5145 fi 5146 5147 case `pwd` in 5148 *\ * | *\ *) 5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5150 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5151 esac 5152 5153 5154 5155 macro_version='2.4.6' 5156 macro_revision='2.4.6' 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 ltmain=$ac_aux_dir/ltmain.sh 5171 5172 # Make sure we can run config.sub. 5173 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5174 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5175 5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5177 $as_echo_n "checking build system type... " >&6; } 5178 if ${ac_cv_build+:} false; then : 5179 $as_echo_n "(cached) " >&6 5180 else 5181 ac_build_alias=$build_alias 5182 test "x$ac_build_alias" = x && 5183 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5184 test "x$ac_build_alias" = x && 5185 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 5186 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5187 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5188 5189 fi 5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5191 $as_echo "$ac_cv_build" >&6; } 5192 case $ac_cv_build in 5193 *-*-*) ;; 5194 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 5195 esac 5196 build=$ac_cv_build 5197 ac_save_IFS=$IFS; IFS='-' 5198 set x $ac_cv_build 5199 shift 5200 build_cpu=$1 5201 build_vendor=$2 5202 shift; shift 5203 # Remember, the first character of IFS is used to create $*, 5204 # except with old shells: 5205 build_os=$* 5206 IFS=$ac_save_IFS 5207 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5208 5209 5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5211 $as_echo_n "checking host system type... " >&6; } 5212 if ${ac_cv_host+:} false; then : 5213 $as_echo_n "(cached) " >&6 5214 else 5215 if test "x$host_alias" = x; then 5216 ac_cv_host=$ac_cv_build 5217 else 5218 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5219 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5220 fi 5221 5222 fi 5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5224 $as_echo "$ac_cv_host" >&6; } 5225 case $ac_cv_host in 5226 *-*-*) ;; 5227 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5228 esac 5229 host=$ac_cv_host 5230 ac_save_IFS=$IFS; IFS='-' 5231 set x $ac_cv_host 5232 shift 5233 host_cpu=$1 5234 host_vendor=$2 5235 shift; shift 5236 # Remember, the first character of IFS is used to create $*, 5237 # except with old shells: 5238 host_os=$* 5239 IFS=$ac_save_IFS 5240 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5241 5242 5243 # Backslashify metacharacters that are still active within 5244 # double-quoted strings. 5245 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5246 5247 # Same as above, but do not quote variable references. 5248 double_quote_subst='s/\(["`\\]\)/\\\1/g' 5249 5250 # Sed substitution to delay expansion of an escaped shell variable in a 5251 # double_quote_subst'ed string. 5252 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5253 5254 # Sed substitution to delay expansion of an escaped single quote. 5255 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5256 5257 # Sed substitution to avoid accidental globbing in evaled expressions 5258 no_glob_subst='s/\*/\\\*/g' 5259 5260 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5261 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5262 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5263 5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5265 $as_echo_n "checking how to print strings... " >&6; } 5266 # Test print first, because it will be a builtin if present. 5267 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5268 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5269 ECHO='print -r --' 5270 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5271 ECHO='printf %s\n' 5272 else 5273 # Use this function as a fallback that always works. 5274 func_fallback_echo () 5275 { 5276 eval 'cat <<_LTECHO_EOF 5277 $1 5278 _LTECHO_EOF' 5279 } 5280 ECHO='func_fallback_echo' 5281 fi 5282 5283 # func_echo_all arg... 5284 # Invoke $ECHO with all args, space-separated. 5285 func_echo_all () 5286 { 5287 $ECHO "" 5288 } 5289 5290 case $ECHO in 5291 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5292 $as_echo "printf" >&6; } ;; 5293 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5294 $as_echo "print -r" >&6; } ;; 5295 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5296 $as_echo "cat" >&6; } ;; 5297 esac 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5313 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 5314 if ${ac_cv_path_SED+:} false; then : 5315 $as_echo_n "(cached) " >&6 5316 else 5317 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5318 for ac_i in 1 2 3 4 5 6 7; do 5319 ac_script="$ac_script$as_nl$ac_script" 5320 done 5321 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5322 { ac_script=; unset ac_script;} 5323 if test -z "$SED"; then 5324 ac_path_SED_found=false 5325 # Loop through the user's path and test for each of PROGNAME-LIST 5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5327 for as_dir in $PATH 5328 do 5329 IFS=$as_save_IFS 5330 test -z "$as_dir" && as_dir=. 5331 for ac_prog in sed gsed; do 5332 for ac_exec_ext in '' $ac_executable_extensions; do 5333 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5334 as_fn_executable_p "$ac_path_SED" || continue 5335 # Check for GNU ac_path_SED and select it if it is found. 5336 # Check for GNU $ac_path_SED 5337 case `"$ac_path_SED" --version 2>&1` in 5338 *GNU*) 5339 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5340 *) 5341 ac_count=0 5342 $as_echo_n 0123456789 >"conftest.in" 5343 while : 5344 do 5345 cat "conftest.in" "conftest.in" >"conftest.tmp" 5346 mv "conftest.tmp" "conftest.in" 5347 cp "conftest.in" "conftest.nl" 5348 $as_echo '' >> "conftest.nl" 5349 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5351 as_fn_arith $ac_count + 1 && ac_count=$as_val 5352 if test $ac_count -gt ${ac_path_SED_max-0}; then 5353 # Best one so far, save it but keep looking for a better one 5354 ac_cv_path_SED="$ac_path_SED" 5355 ac_path_SED_max=$ac_count 5356 fi 5357 # 10*(2^10) chars as input seems more than enough 5358 test $ac_count -gt 10 && break 5359 done 5360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5361 esac 5362 5363 $ac_path_SED_found && break 3 5364 done 5365 done 5366 done 5367 IFS=$as_save_IFS 5368 if test -z "$ac_cv_path_SED"; then 5369 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5370 fi 5371 else 5372 ac_cv_path_SED=$SED 5373 fi 5374 5375 fi 5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5377 $as_echo "$ac_cv_path_SED" >&6; } 5378 SED="$ac_cv_path_SED" 5379 rm -f conftest.sed 5380 5381 test -z "$SED" && SED=sed 5382 Xsed="$SED -e 1s/^X//" 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5395 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5396 if ${ac_cv_path_GREP+:} false; then : 5397 $as_echo_n "(cached) " >&6 5398 else 5399 if test -z "$GREP"; then 5400 ac_path_GREP_found=false 5401 # Loop through the user's path and test for each of PROGNAME-LIST 5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5404 do 5405 IFS=$as_save_IFS 5406 test -z "$as_dir" && as_dir=. 5407 for ac_prog in grep ggrep; do 5408 for ac_exec_ext in '' $ac_executable_extensions; do 5409 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5410 as_fn_executable_p "$ac_path_GREP" || continue 5411 # Check for GNU ac_path_GREP and select it if it is found. 5412 # Check for GNU $ac_path_GREP 5413 case `"$ac_path_GREP" --version 2>&1` in 5414 *GNU*) 5415 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5416 *) 5417 ac_count=0 5418 $as_echo_n 0123456789 >"conftest.in" 5419 while : 5420 do 5421 cat "conftest.in" "conftest.in" >"conftest.tmp" 5422 mv "conftest.tmp" "conftest.in" 5423 cp "conftest.in" "conftest.nl" 5424 $as_echo 'GREP' >> "conftest.nl" 5425 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5427 as_fn_arith $ac_count + 1 && ac_count=$as_val 5428 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5429 # Best one so far, save it but keep looking for a better one 5430 ac_cv_path_GREP="$ac_path_GREP" 5431 ac_path_GREP_max=$ac_count 5432 fi 5433 # 10*(2^10) chars as input seems more than enough 5434 test $ac_count -gt 10 && break 5435 done 5436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5437 esac 5438 5439 $ac_path_GREP_found && break 3 5440 done 5441 done 5442 done 5443 IFS=$as_save_IFS 5444 if test -z "$ac_cv_path_GREP"; then 5445 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5446 fi 5447 else 5448 ac_cv_path_GREP=$GREP 5449 fi 5450 5451 fi 5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5453 $as_echo "$ac_cv_path_GREP" >&6; } 5454 GREP="$ac_cv_path_GREP" 5455 5456 5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5458 $as_echo_n "checking for egrep... " >&6; } 5459 if ${ac_cv_path_EGREP+:} false; then : 5460 $as_echo_n "(cached) " >&6 5461 else 5462 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5463 then ac_cv_path_EGREP="$GREP -E" 5464 else 5465 if test -z "$EGREP"; then 5466 ac_path_EGREP_found=false 5467 # Loop through the user's path and test for each of PROGNAME-LIST 5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5470 do 5471 IFS=$as_save_IFS 5472 test -z "$as_dir" && as_dir=. 5473 for ac_prog in egrep; do 5474 for ac_exec_ext in '' $ac_executable_extensions; do 5475 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5476 as_fn_executable_p "$ac_path_EGREP" || continue 5477 # Check for GNU ac_path_EGREP and select it if it is found. 5478 # Check for GNU $ac_path_EGREP 5479 case `"$ac_path_EGREP" --version 2>&1` in 5480 *GNU*) 5481 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5482 *) 5483 ac_count=0 5484 $as_echo_n 0123456789 >"conftest.in" 5485 while : 5486 do 5487 cat "conftest.in" "conftest.in" >"conftest.tmp" 5488 mv "conftest.tmp" "conftest.in" 5489 cp "conftest.in" "conftest.nl" 5490 $as_echo 'EGREP' >> "conftest.nl" 5491 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5493 as_fn_arith $ac_count + 1 && ac_count=$as_val 5494 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5495 # Best one so far, save it but keep looking for a better one 5496 ac_cv_path_EGREP="$ac_path_EGREP" 5497 ac_path_EGREP_max=$ac_count 5498 fi 5499 # 10*(2^10) chars as input seems more than enough 5500 test $ac_count -gt 10 && break 5501 done 5502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5503 esac 5504 5505 $ac_path_EGREP_found && break 3 5506 done 5507 done 5508 done 5509 IFS=$as_save_IFS 5510 if test -z "$ac_cv_path_EGREP"; then 5511 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5512 fi 5513 else 5514 ac_cv_path_EGREP=$EGREP 5515 fi 5516 5517 fi 5518 fi 5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5520 $as_echo "$ac_cv_path_EGREP" >&6; } 5521 EGREP="$ac_cv_path_EGREP" 5522 5523 5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5525 $as_echo_n "checking for fgrep... " >&6; } 5526 if ${ac_cv_path_FGREP+:} false; then : 5527 $as_echo_n "(cached) " >&6 5528 else 5529 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5530 then ac_cv_path_FGREP="$GREP -F" 5531 else 5532 if test -z "$FGREP"; then 5533 ac_path_FGREP_found=false 5534 # Loop through the user's path and test for each of PROGNAME-LIST 5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5536 for as_dir in $PATH