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