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