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