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