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.4. 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 test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212 else 213 as_have_required=no 214 fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217 else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219 as_found=false 220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221 do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235 fi 236 fi 237 done;; 238 esac 239 as_found=false 240 done 241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244 fi; } 245 IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251 # neutralization value for shells without unset; and this also 252 # works around shells that cannot unset nonexistent variables. 253 # Preserve -v and -x to the replacement shell. 254 BASH_ENV=/dev/null 255 ENV=/dev/null 256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257 case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262 esac 263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264 # Admittedly, this is quite paranoid, since all the known shells bail 265 # out after a failed `exec'. 266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267 exit 255 268 fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278 $0: 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.4' 594 PACKAGE_STRING='libisoburn 1.5.4' 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 OTOOL64 670 OTOOL 671 LIPO 672 NMEDIT 673 DSYMUTIL 674 MANIFEST_TOOL 675 RANLIB 676 ac_ct_AR 677 AR 678 DLLTOOL 679 OBJDUMP 680 LN_S 681 NM 682 ac_ct_DUMPBIN 683 DUMPBIN 684 LD 685 FGREP 686 SED 687 LIBTOOL 688 EGREP 689 GREP 690 CPP 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.4 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.4:";; 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.4 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_run LINENO 1649 # ---------------------- 1650 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1651 # that executables *can* be run. 1652 ac_fn_c_try_run () 1653 { 1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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>&5 1663 ac_status=$? 1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1665 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1666 { { case "(($ac_try" in 1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1668 *) ac_try_echo=$ac_try;; 1669 esac 1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1671 $as_echo "$ac_try_echo"; } >&5 1672 (eval "$ac_try") 2>&5 1673 ac_status=$? 1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1675 test $ac_status = 0; }; }; then : 1676 ac_retval=0 1677 else 1678 $as_echo "$as_me: program exited with status $ac_status" >&5 1679 $as_echo "$as_me: failed program was:" >&5 1680 sed 's/^/| /' conftest.$ac_ext >&5 1681 1682 ac_retval=$ac_status 1683 fi 1684 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1686 as_fn_set_status $ac_retval 1687 1688 } # ac_fn_c_try_run 1689 1690 # ac_fn_c_try_cpp LINENO 1691 # ---------------------- 1692 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1693 ac_fn_c_try_cpp () 1694 { 1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1696 if { { ac_try="$ac_cpp conftest.$ac_ext" 1697 case "(($ac_try" in 1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1699 *) ac_try_echo=$ac_try;; 1700 esac 1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1702 $as_echo "$ac_try_echo"; } >&5 1703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1704 ac_status=$? 1705 if test -s conftest.err; then 1706 grep -v '^ *+' conftest.err >conftest.er1 1707 cat conftest.er1 >&5 1708 mv -f conftest.er1 conftest.err 1709 fi 1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1711 test $ac_status = 0; } > conftest.i && { 1712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1713 test ! -s conftest.err 1714 }; then : 1715 ac_retval=0 1716 else 1717 $as_echo "$as_me: failed program was:" >&5 1718 sed 's/^/| /' conftest.$ac_ext >&5 1719 1720 ac_retval=1 1721 fi 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1723 as_fn_set_status $ac_retval 1724 1725 } # ac_fn_c_try_cpp 1726 1727 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1728 # ------------------------------------------------------- 1729 # Tests whether HEADER exists and can be compiled using the include files in 1730 # INCLUDES, setting the cache variable VAR accordingly. 1731 ac_fn_c_check_header_compile () 1732 { 1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1735 $as_echo_n "checking for $2... " >&6; } 1736 if eval \${$3+:} false; then : 1737 $as_echo_n "(cached) " >&6 1738 else 1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1740 /* end confdefs.h. */ 1741 $4 1742 #include <$2> 1743 _ACEOF 1744 if ac_fn_c_try_compile "$LINENO"; then : 1745 eval "$3=yes" 1746 else 1747 eval "$3=no" 1748 fi 1749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1750 fi 1751 eval ac_res=\$$3 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1753 $as_echo "$ac_res" >&6; } 1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1755 1756 } # ac_fn_c_check_header_compile 1757 1758 # ac_fn_c_try_link LINENO 1759 # ----------------------- 1760 # Try to link conftest.$ac_ext, and return whether this succeeded. 1761 ac_fn_c_try_link () 1762 { 1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1764 rm -f conftest.$ac_objext conftest$ac_exeext 1765 if { { ac_try="$ac_link" 1766 case "(($ac_try" in 1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1768 *) ac_try_echo=$ac_try;; 1769 esac 1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1771 $as_echo "$ac_try_echo"; } >&5 1772 (eval "$ac_link") 2>conftest.err 1773 ac_status=$? 1774 if test -s conftest.err; then 1775 grep -v '^ *+' conftest.err >conftest.er1 1776 cat conftest.er1 >&5 1777 mv -f conftest.er1 conftest.err 1778 fi 1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1780 test $ac_status = 0; } && { 1781 test -z "$ac_c_werror_flag" || 1782 test ! -s conftest.err 1783 } && test -s conftest$ac_exeext && { 1784 test "$cross_compiling" = yes || 1785 test -x conftest$ac_exeext 1786 }; then : 1787 ac_retval=0 1788 else 1789 $as_echo "$as_me: failed program was:" >&5 1790 sed 's/^/| /' conftest.$ac_ext >&5 1791 1792 ac_retval=1 1793 fi 1794 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1795 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1796 # interfere with the next link command; also delete a directory that is 1797 # left behind by Apple's compiler. We do this before executing the actions. 1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1800 as_fn_set_status $ac_retval 1801 1802 } # ac_fn_c_try_link 1803 1804 # ac_fn_c_check_func LINENO FUNC VAR 1805 # ---------------------------------- 1806 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1807 ac_fn_c_check_func () 1808 { 1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1811 $as_echo_n "checking for $2... " >&6; } 1812 if eval \${$3+:} false; then : 1813 $as_echo_n "(cached) " >&6 1814 else 1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1816 /* end confdefs.h. */ 1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1818 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1819 #define $2 innocuous_$2 1820 1821 /* System header to define __stub macros and hopefully few prototypes, 1822 which can conflict with char $2 (); below. 1823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1824 <limits.h> exists even on freestanding compilers. */ 1825 1826 #ifdef __STDC__ 1827 # include <limits.h> 1828 #else 1829 # include <assert.h> 1830 #endif 1831 1832 #undef $2 1833 1834 /* Override any GCC internal prototype to avoid an error. 1835 Use char because int might match the return type of a GCC 1836 builtin and then its argument prototype would still apply. */ 1837 #ifdef __cplusplus 1838 extern "C" 1839 #endif 1840 char $2 (); 1841 /* The GNU C library defines this for functions which it implements 1842 to always fail with ENOSYS. Some functions are actually named 1843 something starting with __ and the normal name is an alias. */ 1844 #if defined __stub_$2 || defined __stub___$2 1845 choke me 1846 #endif 1847 1848 int 1849 main () 1850 { 1851 return $2 (); 1852 ; 1853 return 0; 1854 } 1855 _ACEOF 1856 if ac_fn_c_try_link "$LINENO"; then : 1857 eval "$3=yes" 1858 else 1859 eval "$3=no" 1860 fi 1861 rm -f core conftest.err conftest.$ac_objext \ 1862 conftest$ac_exeext conftest.$ac_ext 1863 fi 1864 eval ac_res=\$$3 1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1866 $as_echo "$ac_res" >&6; } 1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1868 1869 } # ac_fn_c_check_func 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.4, 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.4' 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=4 3112 3113 3114 3115 3116 3117 3118 LT_RELEASE=$ISOBURN_MAJOR_VERSION.$ISOBURN_MINOR_VERSION 3119 LT_CURRENT=112 3120 LT_AGE=111 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 ac_ext=c 4299 ac_cpp='$CPP $CPPFLAGS' 4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4304 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4305 # On Suns, sometimes $CPP names a directory. 4306 if test -n "$CPP" && test -d "$CPP"; then 4307 CPP= 4308 fi 4309 if test -z "$CPP"; then 4310 if ${ac_cv_prog_CPP+:} false; then : 4311 $as_echo_n "(cached) " >&6 4312 else 4313 # Double quotes because CPP needs to be expanded 4314 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4315 do 4316 ac_preproc_ok=false 4317 for ac_c_preproc_warn_flag in '' yes 4318 do 4319 # Use a header file that comes with gcc, so configuring glibc 4320 # with a fresh cross-compiler works. 4321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4322 # <limits.h> exists even on freestanding compilers. 4323 # On the NeXT, cc -E runs the code through the compiler's parser, 4324 # not just through cpp. "Syntax error" is here to catch this case. 4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4326 /* end confdefs.h. */ 4327 #ifdef __STDC__ 4328 # include <limits.h> 4329 #else 4330 # include <assert.h> 4331 #endif 4332 Syntax error 4333 _ACEOF 4334 if ac_fn_c_try_cpp "$LINENO"; then : 4335 4336 else 4337 # Broken: fails on valid input. 4338 continue 4339 fi 4340 rm -f conftest.err conftest.i conftest.$ac_ext 4341 4342 # OK, works on sane cases. Now check whether nonexistent headers 4343 # can be detected and how. 4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4345 /* end confdefs.h. */ 4346 #include <ac_nonexistent.h> 4347 _ACEOF 4348 if ac_fn_c_try_cpp "$LINENO"; then : 4349 # Broken: success on invalid input. 4350 continue 4351 else 4352 # Passes both tests. 4353 ac_preproc_ok=: 4354 break 4355 fi 4356 rm -f conftest.err conftest.i conftest.$ac_ext 4357 4358 done 4359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4360 rm -f conftest.i conftest.err conftest.$ac_ext 4361 if $ac_preproc_ok; then : 4362 break 4363 fi 4364 4365 done 4366 ac_cv_prog_CPP=$CPP 4367 4368 fi 4369 CPP=$ac_cv_prog_CPP 4370 else 4371 ac_cv_prog_CPP=$CPP 4372 fi 4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4374 $as_echo "$CPP" >&6; } 4375 ac_preproc_ok=false 4376 for ac_c_preproc_warn_flag in '' yes 4377 do 4378 # Use a header file that comes with gcc, so configuring glibc 4379 # with a fresh cross-compiler works. 4380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4381 # <limits.h> exists even on freestanding compilers. 4382 # On the NeXT, cc -E runs the code through the compiler's parser, 4383 # not just through cpp. "Syntax error" is here to catch this case. 4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4385 /* end confdefs.h. */ 4386 #ifdef __STDC__ 4387 # include <limits.h> 4388 #else 4389 # include <assert.h> 4390 #endif 4391 Syntax error 4392 _ACEOF 4393 if ac_fn_c_try_cpp "$LINENO"; then : 4394 4395 else 4396 # Broken: fails on valid input. 4397 continue 4398 fi 4399 rm -f conftest.err conftest.i conftest.$ac_ext 4400 4401 # OK, works on sane cases. Now check whether nonexistent headers 4402 # can be detected and how. 4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4404 /* end confdefs.h. */ 4405 #include <ac_nonexistent.h> 4406 _ACEOF 4407 if ac_fn_c_try_cpp "$LINENO"; then : 4408 # Broken: success on invalid input. 4409 continue 4410 else 4411 # Passes both tests. 4412 ac_preproc_ok=: 4413 break 4414 fi 4415 rm -f conftest.err conftest.i conftest.$ac_ext 4416 4417 done 4418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4419 rm -f conftest.i conftest.err conftest.$ac_ext 4420 if $ac_preproc_ok; then : 4421 4422 else 4423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4425 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4426 See \`config.log' for more details" "$LINENO" 5; } 4427 fi 4428 4429 ac_ext=c 4430 ac_cpp='$CPP $CPPFLAGS' 4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4433 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4434 4435 4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4437 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4438 if ${ac_cv_path_GREP+:} false; then : 4439 $as_echo_n "(cached) " >&6 4440 else 4441 if test -z "$GREP"; then 4442 ac_path_GREP_found=false 4443 # Loop through the user's path and test for each of PROGNAME-LIST 4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4445 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4446 do 4447 IFS=$as_save_IFS 4448 test -z "$as_dir" && as_dir=. 4449 for ac_prog in grep ggrep; do 4450 for ac_exec_ext in '' $ac_executable_extensions; do 4451 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4452 as_fn_executable_p "$ac_path_GREP" || continue 4453 # Check for GNU ac_path_GREP and select it if it is found. 4454 # Check for GNU $ac_path_GREP 4455 case `"$ac_path_GREP" --version 2>&1` in 4456 *GNU*) 4457 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4458 *) 4459 ac_count=0 4460 $as_echo_n 0123456789 >"conftest.in" 4461 while : 4462 do 4463 cat "conftest.in" "conftest.in" >"conftest.tmp" 4464 mv "conftest.tmp" "conftest.in" 4465 cp "conftest.in" "conftest.nl" 4466 $as_echo 'GREP' >> "conftest.nl" 4467 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4468 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4469 as_fn_arith $ac_count + 1 && ac_count=$as_val 4470 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4471 # Best one so far, save it but keep looking for a better one 4472 ac_cv_path_GREP="$ac_path_GREP" 4473 ac_path_GREP_max=$ac_count 4474 fi 4475 # 10*(2^10) chars as input seems more than enough 4476 test $ac_count -gt 10 && break 4477 done 4478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4479 esac 4480 4481 $ac_path_GREP_found && break 3 4482 done 4483 done 4484 done 4485 IFS=$as_save_IFS 4486 if test -z "$ac_cv_path_GREP"; then 4487 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4488 fi 4489 else 4490 ac_cv_path_GREP=$GREP 4491 fi 4492 4493 fi 4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4495 $as_echo "$ac_cv_path_GREP" >&6; } 4496 GREP="$ac_cv_path_GREP" 4497 4498 4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4500 $as_echo_n "checking for egrep... " >&6; } 4501 if ${ac_cv_path_EGREP+:} false; then : 4502 $as_echo_n "(cached) " >&6 4503 else 4504 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4505 then ac_cv_path_EGREP="$GREP -E" 4506 else 4507 if test -z "$EGREP"; then 4508 ac_path_EGREP_found=false 4509 # Loop through the user's path and test for each of PROGNAME-LIST 4510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4511 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4512 do 4513 IFS=$as_save_IFS 4514 test -z "$as_dir" && as_dir=. 4515 for ac_prog in egrep; do 4516 for ac_exec_ext in '' $ac_executable_extensions; do 4517 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4518 as_fn_executable_p "$ac_path_EGREP" || continue 4519 # Check for GNU ac_path_EGREP and select it if it is found. 4520 # Check for GNU $ac_path_EGREP 4521 case `"$ac_path_EGREP" --version 2>&1` in 4522 *GNU*) 4523 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4524 *) 4525 ac_count=0 4526 $as_echo_n 0123456789 >"conftest.in" 4527 while : 4528 do 4529 cat "conftest.in" "conftest.in" >"conftest.tmp" 4530 mv "conftest.tmp" "conftest.in" 4531 cp "conftest.in" "conftest.nl" 4532 $as_echo 'EGREP' >> "conftest.nl" 4533 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4534 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4535 as_fn_arith $ac_count + 1 && ac_count=$as_val 4536 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4537 # Best one so far, save it but keep looking for a better one 4538 ac_cv_path_EGREP="$ac_path_EGREP" 4539 ac_path_EGREP_max=$ac_count 4540 fi 4541 # 10*(2^10) chars as input seems more than enough 4542 test $ac_count -gt 10 && break 4543 done 4544 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4545 esac 4546 4547 $ac_path_EGREP_found && break 3 4548 done 4549 done 4550 done 4551 IFS=$as_save_IFS 4552 if test -z "$ac_cv_path_EGREP"; then 4553 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4554 fi 4555 else 4556 ac_cv_path_EGREP=$EGREP 4557 fi 4558 4559 fi 4560 fi 4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4562 $as_echo "$ac_cv_path_EGREP" >&6; } 4563 EGREP="$ac_cv_path_EGREP" 4564 4565 4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4567 $as_echo_n "checking for ANSI C header files... " >&6; } 4568 if ${ac_cv_header_stdc+:} false; then : 4569 $as_echo_n "(cached) " >&6 4570 else 4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4572 /* end confdefs.h. */ 4573 #include <stdlib.h> 4574 #include <stdarg.h> 4575 #include <string.h> 4576 #include <float.h> 4577 4578 int 4579 main () 4580 { 4581 4582 ; 4583 return 0; 4584 } 4585 _ACEOF 4586 if ac_fn_c_try_compile "$LINENO"; then : 4587 ac_cv_header_stdc=yes 4588 else 4589 ac_cv_header_stdc=no 4590 fi 4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4592 4593 if test $ac_cv_header_stdc = yes; then 4594 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4596 /* end confdefs.h. */ 4597 #include <string.h> 4598 4599 _ACEOF 4600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4601 $EGREP "memchr" >/dev/null 2>&1; then : 4602 4603 else 4604 ac_cv_header_stdc=no 4605 fi 4606 rm -f conftest* 4607 4608 fi 4609 4610 if test $ac_cv_header_stdc = yes; then 4611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4613 /* end confdefs.h. */ 4614 #include <stdlib.h> 4615 4616 _ACEOF 4617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4618 $EGREP "free" >/dev/null 2>&1; then : 4619 4620 else 4621 ac_cv_header_stdc=no 4622 fi 4623 rm -f conftest* 4624 4625 fi 4626 4627 if test $ac_cv_header_stdc = yes; then 4628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4629 if test "$cross_compiling" = yes; then : 4630 : 4631 else 4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4633 /* end confdefs.h. */ 4634 #include <ctype.h> 4635 #include <stdlib.h> 4636 #if ((' ' & 0x0FF) == 0x020) 4637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4639 #else 4640 # define ISLOWER(c) \ 4641 (('a' <= (c) && (c) <= 'i') \ 4642 || ('j' <= (c) && (c) <= 'r') \ 4643 || ('s' <= (c) && (c) <= 'z')) 4644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4645 #endif 4646 4647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4648 int 4649 main () 4650 { 4651 int i; 4652 for (i = 0; i < 256; i++) 4653 if (XOR (islower (i), ISLOWER (i)) 4654 || toupper (i) != TOUPPER (i)) 4655 return 2; 4656 return 0; 4657 } 4658 _ACEOF 4659 if ac_fn_c_try_run "$LINENO"; then : 4660 4661 else 4662 ac_cv_header_stdc=no 4663 fi 4664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4665 conftest.$ac_objext conftest.beam conftest.$ac_ext 4666 fi 4667 4668 fi 4669 fi 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4671 $as_echo "$ac_cv_header_stdc" >&6; } 4672 if test $ac_cv_header_stdc = yes; then 4673 4674 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4675 4676 fi 4677 4678 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4679 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4680 inttypes.h stdint.h unistd.h 4681 do : 4682 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4683 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4684 " 4685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4686 cat >>confdefs.h <<_ACEOF 4687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4688 _ACEOF 4689 4690 fi 4691 4692 done 4693 4694 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4696 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4697 if ${ac_cv_c_bigendian+:} false; then : 4698 $as_echo_n "(cached) " >&6 4699 else 4700 ac_cv_c_bigendian=unknown 4701 # See if we're dealing with a universal compiler. 4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4703 /* end confdefs.h. */ 4704 #ifndef __APPLE_CC__ 4705 not a universal capable compiler 4706 #endif 4707 typedef int dummy; 4708 4709 _ACEOF 4710 if ac_fn_c_try_compile "$LINENO"; then : 4711 4712 # Check for potential -arch flags. It is not universal unless 4713 # there are at least two -arch flags with different values. 4714 ac_arch= 4715 ac_prev= 4716 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4717 if test -n "$ac_prev"; then 4718 case $ac_word in 4719 i?86 | x86_64 | ppc | ppc64) 4720 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4721 ac_arch=$ac_word 4722 else 4723 ac_cv_c_bigendian=universal 4724 break 4725 fi 4726 ;; 4727 esac 4728 ac_prev= 4729 elif test "x$ac_word" = "x-arch"; then 4730 ac_prev=arch 4731 fi 4732 done 4733 fi 4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4735 if test $ac_cv_c_bigendian = unknown; then 4736 # See if sys/param.h defines the BYTE_ORDER macro. 4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4738 /* end confdefs.h. */ 4739 #include <sys/types.h> 4740 #include <sys/param.h> 4741 4742 int 4743 main () 4744 { 4745 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4746 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4747 && LITTLE_ENDIAN) 4748 bogus endian macros 4749 #endif 4750 4751 ; 4752 return 0; 4753 } 4754 _ACEOF 4755 if ac_fn_c_try_compile "$LINENO"; then : 4756 # It does; now see whether it defined to BIG_ENDIAN or not. 4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4758 /* end confdefs.h. */ 4759 #include <sys/types.h> 4760 #include <sys/param.h> 4761 4762 int 4763 main () 4764 { 4765 #if BYTE_ORDER != BIG_ENDIAN 4766 not big endian 4767 #endif 4768 4769 ; 4770 return 0; 4771 } 4772 _ACEOF 4773 if ac_fn_c_try_compile "$LINENO"; then : 4774 ac_cv_c_bigendian=yes 4775 else 4776 ac_cv_c_bigendian=no 4777 fi 4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4779 fi 4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4781 fi 4782 if test $ac_cv_c_bigendian = unknown; then 4783 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4785 /* end confdefs.h. */ 4786 #include <limits.h> 4787 4788 int 4789 main () 4790 { 4791 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4792 bogus endian macros 4793 #endif 4794 4795 ; 4796 return 0; 4797 } 4798 _ACEOF 4799 if ac_fn_c_try_compile "$LINENO"; then : 4800 # It does; now see whether it defined to _BIG_ENDIAN or not. 4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4802 /* end confdefs.h. */ 4803 #include <limits.h> 4804 4805 int 4806 main () 4807 { 4808 #ifndef _BIG_ENDIAN 4809 not big endian 4810 #endif 4811 4812 ; 4813 return 0; 4814 } 4815 _ACEOF 4816 if ac_fn_c_try_compile "$LINENO"; then : 4817 ac_cv_c_bigendian=yes 4818 else 4819 ac_cv_c_bigendian=no 4820 fi 4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4822 fi 4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4824 fi 4825 if test $ac_cv_c_bigendian = unknown; then 4826 # Compile a test program. 4827 if test "$cross_compiling" = yes; then : 4828 # Try to guess by grepping values from an object file. 4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4830 /* end confdefs.h. */ 4831 short int ascii_mm[] = 4832 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4833 short int ascii_ii[] = 4834 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4835 int use_ascii (int i) { 4836 return ascii_mm[i] + ascii_ii[i]; 4837 } 4838 short int ebcdic_ii[] = 4839 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4840 short int ebcdic_mm[] = 4841 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4842 int use_ebcdic (int i) { 4843 return ebcdic_mm[i] + ebcdic_ii[i]; 4844 } 4845 extern int foo; 4846 4847 int 4848 main () 4849 { 4850 return use_ascii (foo) == use_ebcdic (foo); 4851 ; 4852 return 0; 4853 } 4854 _ACEOF 4855 if ac_fn_c_try_compile "$LINENO"; then : 4856 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4857 ac_cv_c_bigendian=yes 4858 fi 4859 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4860 if test "$ac_cv_c_bigendian" = unknown; then 4861 ac_cv_c_bigendian=no 4862 else 4863 # finding both strings is unlikely to happen, but who knows? 4864 ac_cv_c_bigendian=unknown 4865 fi 4866 fi 4867 fi 4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4869 else 4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4871 /* end confdefs.h. */ 4872 $ac_includes_default 4873 int 4874 main () 4875 { 4876 4877 /* Are we little or big endian? From Harbison&Steele. */ 4878 union 4879 { 4880 long int l; 4881 char c[sizeof (long int)]; 4882 } u; 4883 u.l = 1; 4884 return u.c[sizeof (long int) - 1] == 1; 4885 4886 ; 4887 return 0; 4888 } 4889 _ACEOF 4890 if ac_fn_c_try_run "$LINENO"; then : 4891 ac_cv_c_bigendian=no 4892 else 4893 ac_cv_c_bigendian=yes 4894 fi 4895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4896 conftest.$ac_objext conftest.beam conftest.$ac_ext 4897 fi 4898 4899 fi 4900 fi 4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4902 $as_echo "$ac_cv_c_bigendian" >&6; } 4903 case $ac_cv_c_bigendian in #( 4904 yes) 4905 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4906 ;; #( 4907 no) 4908 ;; #( 4909 universal) 4910 4911 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4912 4913 ;; #( 4914 *) 4915 as_fn_error $? "unknown endianness 4916 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4917 esac 4918 4919 4920 # Check whether --enable-largefile was given. 4921 if test "${enable_largefile+set}" = set; then : 4922 enableval=$enable_largefile; 4923 fi 4924 4925 if test "$enable_largefile" != no; then 4926 4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 4928 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4929 if ${ac_cv_sys_largefile_CC+:} false; then : 4930 $as_echo_n "(cached) " >&6 4931 else 4932 ac_cv_sys_largefile_CC=no 4933 if test "$GCC" != yes; then 4934 ac_save_CC=$CC 4935 while :; do 4936 # IRIX 6.2 and later do not support large files by default, 4937 # so use the C compiler's -n32 option if that helps. 4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4939 /* end confdefs.h. */ 4940 #include <sys/types.h> 4941 /* Check that off_t can represent 2**63 - 1 correctly. 4942 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4943 since some C++ compilers masquerading as C compilers 4944 incorrectly reject 9223372036854775807. */ 4945 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4947 && LARGE_OFF_T % 2147483647 == 1) 4948 ? 1 : -1]; 4949 int 4950 main () 4951 { 4952 4953 ; 4954 return 0; 4955 } 4956 _ACEOF 4957 if ac_fn_c_try_compile "$LINENO"; then : 4958 break 4959 fi 4960 rm -f core conftest.err conftest.$ac_objext 4961 CC="$CC -n32" 4962 if ac_fn_c_try_compile "$LINENO"; then : 4963 ac_cv_sys_largefile_CC=' -n32'; break 4964 fi 4965 rm -f core conftest.err conftest.$ac_objext 4966 break 4967 done 4968 CC=$ac_save_CC 4969 rm -f conftest.$ac_ext 4970 fi 4971 fi 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 4973 $as_echo "$ac_cv_sys_largefile_CC" >&6; } 4974 if test "$ac_cv_sys_largefile_CC" != no; then 4975 CC=$CC$ac_cv_sys_largefile_CC 4976 fi 4977 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 4979 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4980 if ${ac_cv_sys_file_offset_bits+:} false; then : 4981 $as_echo_n "(cached) " >&6 4982 else 4983 while :; do 4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4985 /* end confdefs.h. */ 4986 #include <sys/types.h> 4987 /* Check that off_t can represent 2**63 - 1 correctly. 4988 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4989 since some C++ compilers masquerading as C compilers 4990 incorrectly reject 9223372036854775807. */ 4991 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4992 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4993 && LARGE_OFF_T % 2147483647 == 1) 4994 ? 1 : -1]; 4995 int 4996 main () 4997 { 4998 4999 ; 5000 return 0; 5001 } 5002 _ACEOF 5003 if ac_fn_c_try_compile "$LINENO"; then : 5004 ac_cv_sys_file_offset_bits=no; break 5005 fi 5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5008 /* end confdefs.h. */ 5009 #define _FILE_OFFSET_BITS 64 5010 #include <sys/types.h> 5011 /* Check that off_t can represent 2**63 - 1 correctly. 5012 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5013 since some C++ compilers masquerading as C compilers 5014 incorrectly reject 9223372036854775807. */ 5015 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 5016 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5017 && LARGE_OFF_T % 2147483647 == 1) 5018 ? 1 : -1]; 5019 int 5020 main () 5021 { 5022 5023 ; 5024 return 0; 5025 } 5026 _ACEOF 5027 if ac_fn_c_try_compile "$LINENO"; then : 5028 ac_cv_sys_file_offset_bits=64; break 5029 fi 5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5031 ac_cv_sys_file_offset_bits=unknown 5032 break 5033 done 5034 fi 5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 5036 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5037 case $ac_cv_sys_file_offset_bits in #( 5038 no | unknown) ;; 5039 *) 5040 cat >>confdefs.h <<_ACEOF 5041 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5042 _ACEOF 5043 ;; 5044 esac 5045 rm -rf conftest* 5046 if test $ac_cv_sys_file_offset_bits = unknown; then 5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5048 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5049 if ${ac_cv_sys_large_files+:} false; then : 5050 $as_echo_n "(cached) " >&6 5051 else 5052 while :; do 5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5054 /* end confdefs.h. */ 5055 #include <sys/types.h> 5056 /* Check that off_t can represent 2**63 - 1 correctly. 5057 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5058 since some C++ compilers masquerading as C compilers 5059 incorrectly reject 9223372036854775807. */ 5060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 5061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5062 && LARGE_OFF_T % 2147483647 == 1) 5063 ? 1 : -1]; 5064 int 5065 main () 5066 { 5067 5068 ; 5069 return 0; 5070 } 5071 _ACEOF 5072 if ac_fn_c_try_compile "$LINENO"; then : 5073 ac_cv_sys_large_files=no; break 5074 fi 5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5077 /* end confdefs.h. */ 5078 #define _LARGE_FILES 1 5079 #include <sys/types.h> 5080 /* Check that off_t can represent 2**63 - 1 correctly. 5081 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5082 since some C++ compilers masquerading as C compilers 5083 incorrectly reject 9223372036854775807. */ 5084 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 5085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5086 && LARGE_OFF_T % 2147483647 == 1) 5087 ? 1 : -1]; 5088 int 5089 main () 5090 { 5091 5092 ; 5093 return 0; 5094 } 5095 _ACEOF 5096 if ac_fn_c_try_compile "$LINENO"; then : 5097 ac_cv_sys_large_files=1; break 5098 fi 5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5100 ac_cv_sys_large_files=unknown 5101 break 5102 done 5103 fi 5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 5105 $as_echo "$ac_cv_sys_large_files" >&6; } 5106 case $ac_cv_sys_large_files in #( 5107 no | unknown) ;; 5108 *) 5109 cat >>confdefs.h <<_ACEOF 5110 #define _LARGE_FILES $ac_cv_sys_large_files 5111 _ACEOF 5112 ;; 5113 esac 5114 rm -rf conftest* 5115 fi 5116 5117 5118 fi 5119 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 5121 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 5122 if ${ac_cv_sys_largefile_source+:} false; then : 5123 $as_echo_n "(cached) " >&6 5124 else 5125 while :; do 5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5127 /* end confdefs.h. */ 5128 #include <sys/types.h> /* for off_t */ 5129 #include <stdio.h> 5130 int 5131 main () 5132 { 5133 int (*fp) (FILE *, off_t, int) = fseeko; 5134 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 5135 ; 5136 return 0; 5137 } 5138 _ACEOF 5139 if ac_fn_c_try_link "$LINENO"; then : 5140 ac_cv_sys_largefile_source=no; break 5141 fi 5142 rm -f core conftest.err conftest.$ac_objext \ 5143 conftest$ac_exeext conftest.$ac_ext 5144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5145 /* end confdefs.h. */ 5146 #define _LARGEFILE_SOURCE 1 5147 #include <sys/types.h> /* for off_t */ 5148 #include <stdio.h> 5149 int 5150 main () 5151 { 5152 int (*fp) (FILE *, off_t, int) = fseeko; 5153 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); 5154 ; 5155 return 0; 5156 } 5157 _ACEOF 5158 if ac_fn_c_try_link "$LINENO"; then : 5159 ac_cv_sys_largefile_source=1; break 5160 fi 5161 rm -f core conftest.err conftest.$ac_objext \ 5162 conftest$ac_exeext conftest.$ac_ext 5163 ac_cv_sys_largefile_source=unknown 5164 break 5165 done 5166 fi 5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 5168 $as_echo "$ac_cv_sys_largefile_source" >&6; } 5169 case $ac_cv_sys_largefile_source in #( 5170 no | unknown) ;; 5171 *) 5172 cat >>confdefs.h <<_ACEOF 5173 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 5174 _ACEOF 5175 ;; 5176 esac 5177 rm -rf conftest* 5178 5179 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 5180 # in glibc 2.1.3, but that breaks too many other things. 5181 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 5182 if test $ac_cv_sys_largefile_source != unknown; then 5183 5184 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 5185 5186 fi 5187 5188 ac_fn_c_check_func "$LINENO" "fseeko" "ac_cv_func_fseeko" 5189 if test "x$ac_cv_func_fseeko" = xyes; then : 5190 5191 fi 5192 5193 if test ! $ac_cv_func_fseeko; then 5194 as_fn_error $? "Libburn requires largefile support." "$LINENO" 5 5195 fi 5196 5197 if test x$LIBISOBURN_OLD_ICONV_CONFIGURE = x 5198 then 5199 5200 5201 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv() in separate -liconv " >&5 5203 $as_echo_n "checking for iconv() in separate -liconv ... " >&6; } 5204 libburnia_liconv="no" 5205 libburnia_save_LIBS="$LIBS" 5206 LIBS="$LIBS -liconv" 5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5208 /* end confdefs.h. */ 5209 #include <stdlib.h> 5210 #include <iconv.h> 5211 int 5212 main () 5213 { 5214 iconv_t cd = iconv_open("",""); 5215 iconv(cd,NULL,NULL,NULL,NULL); 5216 iconv_close(cd); 5217 ; 5218 return 0; 5219 } 5220 _ACEOF 5221 if ac_fn_c_try_link "$LINENO"; then : 5222 libburnia_liconv="yes" 5223 else 5224 LIBS="$libburnia_save_LIBS" 5225 5226 fi 5227 rm -f core conftest.err conftest.$ac_objext \ 5228 conftest$ac_exeext conftest.$ac_ext 5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libburnia_liconv" >&5 5230 $as_echo "$libburnia_liconv" >&6; } 5231 5232 if test x"$libburnia_save_LIBS" = x"$LIBS" 5233 then 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv in -liconv" >&5 5235 $as_echo_n "checking for libiconv in -liconv... " >&6; } 5236 if ${ac_cv_lib_iconv_libiconv+:} false; then : 5237 $as_echo_n "(cached) " >&6 5238 else 5239 ac_check_lib_save_LIBS=$LIBS 5240 LIBS="-liconv $LIBS" 5241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5242 /* end confdefs.h. */ 5243 5244 /* Override any GCC internal prototype to avoid an error. 5245 Use char because int might match the return type of a GCC 5246 builtin and then its argument prototype would still apply. */ 5247 #ifdef __cplusplus 5248 extern "C" 5249 #endif 5250 char libiconv (); 5251 int 5252 main () 5253 { 5254 return libiconv (); 5255 ; 5256 return 0; 5257 } 5258 _ACEOF 5259 if ac_fn_c_try_link "$LINENO"; then : 5260 ac_cv_lib_iconv_libiconv=yes 5261 else 5262 ac_cv_lib_iconv_libiconv=no 5263 fi 5264 rm -f core conftest.err conftest.$ac_objext \ 5265 conftest$ac_exeext conftest.$ac_ext 5266 LIBS=$ac_check_lib_save_LIBS 5267 fi 5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv" >&5 5269 $as_echo "$ac_cv_lib_iconv_libiconv" >&6; } 5270 if test "x$ac_cv_lib_iconv_libiconv" = xyes; then : 5271 cat >>confdefs.h <<_ACEOF 5272 #define HAVE_LIBICONV 1 5273 _ACEOF 5274 5275 LIBS="-liconv $LIBS" 5276 5277 fi 5278 5279 fi 5280 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for const qualifier with iconv() " >&5 5282 $as_echo_n "checking for const qualifier with iconv() ... " >&6; } 5283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5284 /* end confdefs.h. */ 5285 5286 #include <stdlib.h> 5287 #include <iconv.h> 5288 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 5289 5290 int 5291 main () 5292 { 5293 5294 ; 5295 return 0; 5296 } 5297 _ACEOF 5298 if ac_fn_c_try_compile "$LINENO"; then : 5299 libburnia_iconv_const="" 5300 else 5301 libburnia_iconv_const="const" 5302 5303 fi 5304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5305 if test x$libburnia_iconv_const = xconst 5306 then 5307 cat >>confdefs.h <<_ACEOF 5308 #define ICONV_CONST const 5309 _ACEOF 5310 5311 else 5312 cat >>confdefs.h <<_ACEOF 5313 #define ICONV_CONST /**/ 5314 _ACEOF 5315 5316 fi 5317 test -z "$libburnia_iconv_const" && libburnia_iconv_const="no" 5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libburnia_iconv_const" >&5 5319 $as_echo "$libburnia_iconv_const" >&6; } 5320 5321 5322 else 5323 5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5 5325 $as_echo_n "checking for iconv in -liconv... " >&6; } 5326 if ${ac_cv_lib_iconv_iconv+:} false; then : 5327 $as_echo_n "(cached) " >&6 5328 else 5329 ac_check_lib_save_LIBS=$LIBS 5330 LIBS="-liconv $LIBS" 5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5332 /* end confdefs.h. */ 5333 5334 /* Override any GCC internal prototype to avoid an error. 5335 Use char because int might match the return type of a GCC 5336 builtin and then its argument prototype would still apply. */ 5337 #ifdef __cplusplus 5338 extern "C" 5339 #endif 5340 char iconv (); 5341 int 5342 main () 5343 { 5344 return iconv (); 5345 ; 5346 return 0; 5347 } 5348 _ACEOF 5349 if ac_fn_c_try_link "$LINENO"; then : 5350 ac_cv_lib_iconv_iconv=yes 5351 else 5352 ac_cv_lib_iconv_iconv=no 5353 fi 5354 rm -f core conftest.err conftest.$ac_objext \ 5355 conftest$ac_exeext conftest.$ac_ext 5356 LIBS=$ac_check_lib_save_LIBS 5357 fi 5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv" >&5 5359 $as_echo "$ac_cv_lib_iconv_iconv" >&6; } 5360 if test "x$ac_cv_lib_iconv_iconv" = xyes; then : 5361 cat >>confdefs.h <<_ACEOF 5362 #define HAVE_LIBICONV 1 5363 _ACEOF 5364 5365 LIBS="-liconv $LIBS" 5366 5367 fi 5368 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv in -liconv" >&5 5370 $as_echo_n "checking for libiconv in -liconv... " >&6; } 5371 if ${ac_cv_lib_iconv_libiconv+:} false; then : 5372 $as_echo_n "(cached) " >&6 5373 else 5374 ac_check_lib_save_LIBS=$LIBS 5375 LIBS="-liconv $LIBS" 5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5377 /* end confdefs.h. */ 5378 5379 /* Override any GCC internal prototype to avoid an error. 5380 Use char because int might match the return type of a GCC 5381 builtin and then its argument prototype would still apply. */ 5382 #ifdef __cplusplus 5383 extern "C" 5384 #endif 5385 char libiconv (); 5386 int 5387 main () 5388 { 5389 return libiconv (); 5390 ; 5391 return 0; 5392 } 5393 _ACEOF 5394 if ac_fn_c_try_link "$LINENO"; then : 5395 ac_cv_lib_iconv_libiconv=yes 5396 else 5397 ac_cv_lib_iconv_libiconv=no 5398 fi 5399 rm -f core conftest.err conftest.$ac_objext \ 5400 conftest$ac_exeext conftest.$ac_ext 5401 LIBS=$ac_check_lib_save_LIBS 5402 fi 5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv" >&5 5404 $as_echo "$ac_cv_lib_iconv_libiconv" >&6; } 5405 if test "x$ac_cv_lib_iconv_libiconv" = xyes; then : 5406 cat >>confdefs.h <<_ACEOF 5407 #define HAVE_LIBICONV 1 5408 _ACEOF 5409 5410 LIBS="-liconv $LIBS" 5411 5412 fi 5413 5414 5415 fi 5416 5417 case `pwd` in 5418 *\ * | *\ *) 5419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5420 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5421 esac 5422 5423 5424 5425 macro_version='2.4.2' 5426 macro_revision='1.3337' 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 ltmain="$ac_aux_dir/ltmain.sh" 5441 5442 # Backslashify metacharacters that are still active within 5443 # double-quoted strings. 5444 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5445 5446 # Same as above, but do not quote variable references. 5447 double_quote_subst='s/\(["`\\]\)/\\\1/g' 5448 5449 # Sed substitution to delay expansion of an escaped shell variable in a 5450 # double_quote_subst'ed string. 5451 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5452 5453 # Sed substitution to delay expansion of an escaped single quote. 5454 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5455 5456 # Sed substitution to avoid accidental globbing in evaled expressions 5457 no_glob_subst='s/\*/\\\*/g' 5458 5459 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5460 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5461 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5462 5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5464 $as_echo_n "checking how to print strings... " >&6; } 5465 # Test print first, because it will be a builtin if present. 5466 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5467 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5468 ECHO='print -r --' 5469 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5470 ECHO='printf %s\n' 5471 else 5472 # Use this function as a fallback that always works. 5473 func_fallback_echo () 5474 { 5475 eval 'cat <<_LTECHO_EOF 5476 $1 5477 _LTECHO_EOF' 5478 } 5479 ECHO='func_fallback_echo' 5480 fi 5481 5482 # func_echo_all arg... 5483 # Invoke $ECHO with all args, space-separated. 5484 func_echo_all () 5485 { 5486 $ECHO "" 5487 } 5488 5489 case "$ECHO" in 5490 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5491 $as_echo "printf" >&6; } ;; 5492 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5493 $as_echo "print -r" >&6; } ;; 5494 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5495 $as_echo "cat" >&6; } ;; 5496 esac 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5512 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 5513 if ${ac_cv_path_SED+:} false; then : 5514 $as_echo_n "(cached) " >&6 5515 else 5516 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5517 for ac_i in 1 2 3 4 5 6 7; do 5518 ac_script="$ac_script$as_nl$ac_script" 5519 done 5520 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5521 { ac_script=; unset ac_script;} 5522 if test -z "$SED"; then 5523 ac_path_SED_found=false 5524 # Loop through the user's path and test for each of PROGNAME-LIST 5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5526 for as_dir in $PATH 5527 do 5528 IFS=$as_save_IFS 5529 test -z "$as_dir" && as_dir=. 5530 for ac_prog in sed gsed; do 5531 for ac_exec_ext in '' $ac_executable_extensions; do 5532 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5533 as_fn_executable_p "$ac_path_SED" || continue 5534 # Check for GNU ac_path_SED and select it if it is found. 5535 # Check for GNU $ac_path_SED 5536 case `"$ac_path_SED" --version 2>&1` in 5537 *GNU*) 5538 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5539 *) 5540 ac_count=0 5541 $as_echo_n 0123456789 >"conftest.in" 5542 while : 5543 do 5544 cat "conftest.in" "conftest.in" >"conftest.tmp" 5545 mv "conftest.tmp" "conftest.in" 5546 cp "conftest.in" "conftest.nl" 5547 $as_echo '' >> "conftest.nl" 5548 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5549 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5550 as_fn_arith $ac_count + 1 && ac_count=$as_val 5551 if test $ac_count -gt ${ac_path_SED_max-0}; then 5552 # Best one so far, save it but keep looking for a better one 5553 ac_cv_path_SED="$ac_path_SED" 5554 ac_path_SED_max=$ac_count 5555 fi 5556 # 10*(2^10) chars as input seems more than enough 5557 test $ac_count -gt 10 && break 5558 done 5559 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5560 esac 5561 5562 $ac_path_SED_found && break 3 5563 done 5564 done 5565 done 5566 IFS=$as_save_IFS 5567 if test -z "$ac_cv_path_SED"; then 5568 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5569 fi 5570 else 5571 ac_cv_path_SED=$SED 5572 fi 5573 5574 fi 5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5576 $as_echo "$ac_cv_path_SED" >&6; } 5577 SED="$ac_cv_path_SED" 5578 rm -f conftest.sed 5579 5580 test -z "$SED" && SED=sed 5581 Xsed="$SED -e 1s/^X//" 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5594 $as_echo_n "checking for fgrep... " >&6; } 5595 if ${ac_cv_path_FGREP+:} false; then : 5596 $as_echo_n "(cached) " >&6 5597 else 5598 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5599 then ac_cv_path_FGREP="$GREP -F" 5600 else 5601 if test -z "$FGREP"; then 5602 ac_path_FGREP_found=false 5603 # Loop through the user's path and test for each of PROGNAME-LIST 5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5605 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5606 do 5607 IFS=$as_save_IFS 5608 test -z "$as_dir" && as_dir=. 5609 for ac_prog in fgrep; do 5610 for ac_exec_ext in '' $ac_executable_extensions; do 5611 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5612 as_fn_executable_p "$ac_path_FGREP" || continue 5613 # Check for GNU ac_path_FGREP and select it if it is found. 5614 # Check for GNU $ac_path_FGREP 5615 case `"$ac_path_FGREP" --version 2>&1` in 5616 *GNU*) 5617 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5618 *) 5619 ac_count=0 5620 $as_echo_n 0123456789 >"conftest.in" 5621 while :