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