1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for e2tools 0.1.0. 4# 5# Report bugs to <https://github.com/e2tools/e2tools/issues>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270$0: https://github.com/e2tools/e2tools/issues about your 271$0: system, including any error possibly output before this 272$0: message. Then install a modern shell, or manually run 273$0: the script under such a shell if you do have one." 274 fi 275 exit 1 276fi 277fi 278fi 279SHELL=${CONFIG_SHELL-/bin/sh} 280export SHELL 281# Unset more variables known to interfere with behavior of common tools. 282CLICOLOR_FORCE= GREP_OPTIONS= 283unset CLICOLOR_FORCE GREP_OPTIONS 284 285## --------------------- ## 286## M4sh Shell Functions. ## 287## --------------------- ## 288# as_fn_unset VAR 289# --------------- 290# Portably unset VAR. 291as_fn_unset () 292{ 293 { eval $1=; unset $1;} 294} 295as_unset=as_fn_unset 296 297# as_fn_set_status STATUS 298# ----------------------- 299# Set $? to STATUS, without forking. 300as_fn_set_status () 301{ 302 return $1 303} # as_fn_set_status 304 305# as_fn_exit STATUS 306# ----------------- 307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308as_fn_exit () 309{ 310 set +e 311 as_fn_set_status $1 312 exit $1 313} # as_fn_exit 314 315# as_fn_mkdir_p 316# ------------- 317# Create "$as_dir" as a directory, including parents if necessary. 318as_fn_mkdir_p () 319{ 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337$as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361} # as_fn_mkdir_p 362 363# as_fn_executable_p FILE 364# ----------------------- 365# Test if FILE is an executable regular file. 366as_fn_executable_p () 367{ 368 test -f "$1" && test -x "$1" 369} # as_fn_executable_p 370# as_fn_append VAR VALUE 371# ---------------------- 372# Append the text in VALUE to the end of the definition contained in VAR. Take 373# advantage of any shell optimizations that allow amortized linear growth over 374# repeated appends, instead of the typical quadratic growth present in naive 375# implementations. 376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386fi # as_fn_append 387 388# as_fn_arith ARG... 389# ------------------ 390# Perform arithmetic evaluation on the ARGs, and store the result in the 391# global $as_val. Take advantage of shells that can avoid forks. The arguments 392# must be portable across $(()) and expr. 393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403fi # as_fn_arith 404 405 406# as_fn_error STATUS ERROR [LINENO LOG_FD] 407# ---------------------------------------- 408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410# script with STATUS, using 1 if that was 0. 411as_fn_error () 412{ 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420} # as_fn_error 421 422if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 424 as_expr=expr 425else 426 as_expr=false 427fi 428 429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430 as_basename=basename 431else 432 as_basename=false 433fi 434 435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437else 438 as_dirname=false 439fi 440 441as_me=`$as_basename -- "$0" || 442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 443 X"$0" : 'X\(//\)$' \| \ 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445$as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 460# Avoid depending upon Character Ranges. 461as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464as_cr_digits='0123456789' 465as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 482 N 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 485 t loop 486 s/-\n.*// 487 ' >$as_me.lineno && 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501} 502 503ECHO_C= ECHO_N= ECHO_T= 504case `echo -n x` in #((((( 505-n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512*) 513 ECHO_N='-n';; 514esac 515 516rm -f conf$$ conf$$.exe conf$$.file 517if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522fi 523if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 534 else 535 as_ln_s='cp -pR' 536 fi 537else 538 as_ln_s='cp -pR' 539fi 540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541rmdir conf$$.dir 2>/dev/null 542 543if mkdir -p . 2>/dev/null; then 544 as_mkdir_p='mkdir -p "$as_dir"' 545else 546 test -d ./-p && rmdir ./-p 547 as_mkdir_p=false 548fi 549 550as_test_x='test -x' 551as_executable_p=as_fn_executable_p 552 553# Sed expression to map a string onto a valid CPP name. 554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 555 556# Sed expression to map a string onto a valid variable name. 557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 558 559 560test -n "$DJDIR" || exec 7<&0 </dev/null 561exec 6>&1 562 563# Name of the host. 564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 565# so uname gets run too. 566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 567 568# 569# Initializations. 570# 571ac_default_prefix=/usr/local 572ac_clean_files= 573ac_config_libobj_dir=. 574LIBOBJS= 575cross_compiling=no 576subdirs= 577MFLAGS= 578MAKEFLAGS= 579 580# Identity of this package. 581PACKAGE_NAME='e2tools' 582PACKAGE_TARNAME='e2tools' 583PACKAGE_VERSION='0.1.0' 584PACKAGE_STRING='e2tools 0.1.0' 585PACKAGE_BUGREPORT='https://github.com/e2tools/e2tools/issues' 586PACKAGE_URL='https://e2tools.github.io/' 587 588ac_unique_file="e2tools.c" 589# Factoring default headers for most tests. 590ac_includes_default="\ 591#include <stdio.h> 592#ifdef HAVE_SYS_TYPES_H 593# include <sys/types.h> 594#endif 595#ifdef HAVE_SYS_STAT_H 596# include <sys/stat.h> 597#endif 598#ifdef STDC_HEADERS 599# include <stdlib.h> 600# include <stddef.h> 601#else 602# ifdef HAVE_STDLIB_H 603# include <stdlib.h> 604# endif 605#endif 606#ifdef HAVE_STRING_H 607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 608# include <memory.h> 609# endif 610# include <string.h> 611#endif 612#ifdef HAVE_STRINGS_H 613# include <strings.h> 614#endif 615#ifdef HAVE_INTTYPES_H 616# include <inttypes.h> 617#endif 618#ifdef HAVE_STDINT_H 619# include <stdint.h> 620#endif 621#ifdef HAVE_UNISTD_H 622# include <unistd.h> 623#endif" 624 625gl_header_list= 626ac_subst_vars='gltests_LTLIBOBJS 627gltests_LIBOBJS 628gl_LTLIBOBJS 629gl_LIBOBJS 630am__EXEEXT_FALSE 631am__EXEEXT_TRUE 632LTLIBOBJS 633LIBOBJS 634HAVE_EXT2FS_XATTRS_FALSE 635HAVE_EXT2FS_XATTRS_TRUE 636ALLOCA 637COM_ERR_LIBS 638COM_ERR_CFLAGS 639EXT2FS_LIBS 640EXT2FS_CFLAGS 641PKG_CONFIG_LIBDIR 642PKG_CONFIG_PATH 643PKG_CONFIG 644LIBGNU_LTLIBDEPS 645LIBGNU_LIBDEPS 646gltests_WITNESS 647WINDOWS_64_BIT_OFF_T 648NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H 649NEXT_SYS_TYPES_H 650NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H 651NEXT_INTTYPES_H 652UINT64_MAX_EQ_ULONG_MAX 653UINT32_MAX_LT_UINTMAX_MAX 654PRIPTR_PREFIX 655PRI_MACROS_BROKEN 656INT64_MAX_EQ_LONG_MAX 657INT32_MAX_LT_INTMAX_MAX 658REPLACE_STRTOUMAX 659REPLACE_STRTOIMAX 660HAVE_DECL_STRTOUMAX 661HAVE_DECL_STRTOIMAX 662HAVE_DECL_IMAXDIV 663HAVE_DECL_IMAXABS 664GNULIB_STRTOUMAX 665GNULIB_STRTOIMAX 666GNULIB_IMAXDIV 667GNULIB_IMAXABS 668GL_GENERATE_STDINT_H_FALSE 669GL_GENERATE_STDINT_H_TRUE 670STDINT_H 671WINT_T_SUFFIX 672WCHAR_T_SUFFIX 673SIG_ATOMIC_T_SUFFIX 674SIZE_T_SUFFIX 675PTRDIFF_T_SUFFIX 676HAVE_SIGNED_WINT_T 677HAVE_SIGNED_WCHAR_T 678HAVE_SIGNED_SIG_ATOMIC_T 679BITSIZEOF_WINT_T 680BITSIZEOF_WCHAR_T 681BITSIZEOF_SIG_ATOMIC_T 682BITSIZEOF_SIZE_T 683BITSIZEOF_PTRDIFF_T 684APPLE_UNIVERSAL_BUILD 685HAVE_SYS_BITYPES_H 686HAVE_SYS_INTTYPES_H 687HAVE_STDINT_H 688NEXT_AS_FIRST_DIRECTIVE_STDINT_H 689NEXT_STDINT_H 690host_os 691host_vendor 692host_cpu 693host 694build_os 695build_vendor 696build_cpu 697build 698PRAGMA_COLUMNS 699PRAGMA_SYSTEM_HEADER 700INCLUDE_NEXT_AS_FIRST_DIRECTIVE 701INCLUDE_NEXT 702HAVE_SYS_TYPES_H 703HAVE_INTTYPES_H 704HAVE_WCHAR_H 705HAVE_UNSIGNED_LONG_LONG_INT 706HAVE_LONG_LONG_INT 707GL_COND_LIBTOOL_FALSE 708GL_COND_LIBTOOL_TRUE 709MKE2FS 710DD 711CHMOD 712SED 713LN_S 714RANLIB 715ARFLAGS 716AR 717EGREP 718GREP 719CPP 720am__fastdepCC_FALSE 721am__fastdepCC_TRUE 722CCDEPMODE 723am__nodep 724AMDEPBACKSLASH 725AMDEP_FALSE 726AMDEP_TRUE 727am__include 728DEPDIR 729OBJEXT 730EXEEXT 731ac_ct_CC 732CPPFLAGS 733LDFLAGS 734CFLAGS 735CC 736AM_BACKSLASH 737AM_DEFAULT_VERBOSITY 738AM_DEFAULT_V 739AM_V 740am__untar 741am__tar 742AMTAR 743am__leading_dot 744SET_MAKE 745AWK 746mkdir_p 747MKDIR_P 748INSTALL_STRIP_PROGRAM 749STRIP 750install_sh 751MAKEINFO 752AUTOHEADER 753AUTOMAKE 754AUTOCONF 755ACLOCAL 756VERSION 757PACKAGE 758CYGPATH_W 759am__isrc 760INSTALL_DATA 761INSTALL_SCRIPT 762INSTALL_PROGRAM 763target_alias 764host_alias 765build_alias 766LIBS 767ECHO_T 768ECHO_N 769ECHO_C 770DEFS 771mandir 772localedir 773libdir 774psdir 775pdfdir 776dvidir 777htmldir 778infodir 779docdir 780oldincludedir 781includedir 782localstatedir 783sharedstatedir 784sysconfdir 785datadir 786datarootdir 787libexecdir 788sbindir 789bindir 790program_transform_name 791prefix 792exec_prefix 793PACKAGE_URL 794PACKAGE_BUGREPORT 795PACKAGE_STRING 796PACKAGE_VERSION 797PACKAGE_TARNAME 798PACKAGE_NAME 799PATH_SEPARATOR 800SHELL 801am__quote' 802ac_subst_files='' 803ac_user_opts=' 804enable_option_checking 805enable_silent_rules 806enable_dependency_tracking 807' 808 ac_precious_vars='build_alias 809host_alias 810target_alias 811CC 812CFLAGS 813LDFLAGS 814LIBS 815CPPFLAGS 816CPP 817CHMOD 818DD 819MKE2FS 820PKG_CONFIG 821PKG_CONFIG_PATH 822PKG_CONFIG_LIBDIR 823EXT2FS_CFLAGS 824EXT2FS_LIBS 825COM_ERR_CFLAGS 826COM_ERR_LIBS' 827 828 829# Initialize some variables set by options. 830ac_init_help= 831ac_init_version=false 832ac_unrecognized_opts= 833ac_unrecognized_sep= 834# The variables have the same names as the options, with 835# dashes changed to underlines. 836cache_file=/dev/null 837exec_prefix=NONE 838no_create= 839no_recursion= 840prefix=NONE 841program_prefix=NONE 842program_suffix=NONE 843program_transform_name=s,x,x, 844silent= 845site= 846srcdir= 847verbose= 848x_includes=NONE 849x_libraries=NONE 850 851# Installation directory options. 852# These are left unexpanded so users can "make install exec_prefix=/foo" 853# and all the variables that are supposed to be based on exec_prefix 854# by default will actually change. 855# Use braces instead of parens because sh, perl, etc. also accept them. 856# (The list follows the same order as the GNU Coding Standards.) 857bindir='${exec_prefix}/bin' 858sbindir='${exec_prefix}/sbin' 859libexecdir='${exec_prefix}/libexec' 860datarootdir='${prefix}/share' 861datadir='${datarootdir}' 862sysconfdir='${prefix}/etc' 863sharedstatedir='${prefix}/com' 864localstatedir='${prefix}/var' 865includedir='${prefix}/include' 866oldincludedir='/usr/include' 867docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 868infodir='${datarootdir}/info' 869htmldir='${docdir}' 870dvidir='${docdir}' 871pdfdir='${docdir}' 872psdir='${docdir}' 873libdir='${exec_prefix}/lib' 874localedir='${datarootdir}/locale' 875mandir='${datarootdir}/man' 876 877ac_prev= 878ac_dashdash= 879for ac_option 880do 881 # If the previous option needs an argument, assign it. 882 if test -n "$ac_prev"; then 883 eval $ac_prev=\$ac_option 884 ac_prev= 885 continue 886 fi 887 888 case $ac_option in 889 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 890 *=) ac_optarg= ;; 891 *) ac_optarg=yes ;; 892 esac 893 894 # Accept the important Cygnus configure options, so we can diagnose typos. 895 896 case $ac_dashdash$ac_option in 897 --) 898 ac_dashdash=yes ;; 899 900 -bindir | --bindir | --bindi | --bind | --bin | --bi) 901 ac_prev=bindir ;; 902 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 903 bindir=$ac_optarg ;; 904 905 -build | --build | --buil | --bui | --bu) 906 ac_prev=build_alias ;; 907 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 908 build_alias=$ac_optarg ;; 909 910 -cache-file | --cache-file | --cache-fil | --cache-fi \ 911 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 912 ac_prev=cache_file ;; 913 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 914 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 915 cache_file=$ac_optarg ;; 916 917 --config-cache | -C) 918 cache_file=config.cache ;; 919 920 -datadir | --datadir | --datadi | --datad) 921 ac_prev=datadir ;; 922 -datadir=* | --datadir=* | --datadi=* | --datad=*) 923 datadir=$ac_optarg ;; 924 925 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 926 | --dataroo | --dataro | --datar) 927 ac_prev=datarootdir ;; 928 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 929 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 930 datarootdir=$ac_optarg ;; 931 932 -disable-* | --disable-*) 933 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 934 # Reject names that are not valid shell variable names. 935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 936 as_fn_error $? "invalid feature name: $ac_useropt" 937 ac_useropt_orig=$ac_useropt 938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 939 case $ac_user_opts in 940 *" 941"enable_$ac_useropt" 942"*) ;; 943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 944 ac_unrecognized_sep=', ';; 945 esac 946 eval enable_$ac_useropt=no ;; 947 948 -docdir | --docdir | --docdi | --doc | --do) 949 ac_prev=docdir ;; 950 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 951 docdir=$ac_optarg ;; 952 953 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 954 ac_prev=dvidir ;; 955 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 956 dvidir=$ac_optarg ;; 957 958 -enable-* | --enable-*) 959 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 960 # Reject names that are not valid shell variable names. 961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 962 as_fn_error $? "invalid feature name: $ac_useropt" 963 ac_useropt_orig=$ac_useropt 964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 965 case $ac_user_opts in 966 *" 967"enable_$ac_useropt" 968"*) ;; 969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 970 ac_unrecognized_sep=', ';; 971 esac 972 eval enable_$ac_useropt=\$ac_optarg ;; 973 974 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 975 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 976 | --exec | --exe | --ex) 977 ac_prev=exec_prefix ;; 978 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 979 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 980 | --exec=* | --exe=* | --ex=*) 981 exec_prefix=$ac_optarg ;; 982 983 -gas | --gas | --ga | --g) 984 # Obsolete; use --with-gas. 985 with_gas=yes ;; 986 987 -help | --help | --hel | --he | -h) 988 ac_init_help=long ;; 989 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 990 ac_init_help=recursive ;; 991 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 992 ac_init_help=short ;; 993 994 -host | --host | --hos | --ho) 995 ac_prev=host_alias ;; 996 -host=* | --host=* | --hos=* | --ho=*) 997 host_alias=$ac_optarg ;; 998 999 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1000 ac_prev=htmldir ;; 1001 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1002 | --ht=*) 1003 htmldir=$ac_optarg ;; 1004 1005 -includedir | --includedir | --includedi | --included | --include \ 1006 | --includ | --inclu | --incl | --inc) 1007 ac_prev=includedir ;; 1008 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1009 | --includ=* | --inclu=* | --incl=* | --inc=*) 1010 includedir=$ac_optarg ;; 1011 1012 -infodir | --infodir | --infodi | --infod | --info | --inf) 1013 ac_prev=infodir ;; 1014 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1015 infodir=$ac_optarg ;; 1016 1017 -libdir | --libdir | --libdi | --libd) 1018 ac_prev=libdir ;; 1019 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1020 libdir=$ac_optarg ;; 1021 1022 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1023 | --libexe | --libex | --libe) 1024 ac_prev=libexecdir ;; 1025 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1026 | --libexe=* | --libex=* | --libe=*) 1027 libexecdir=$ac_optarg ;; 1028 1029 -localedir | --localedir | --localedi | --localed | --locale) 1030 ac_prev=localedir ;; 1031 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1032 localedir=$ac_optarg ;; 1033 1034 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1035 | --localstate | --localstat | --localsta | --localst | --locals) 1036 ac_prev=localstatedir ;; 1037 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1038 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1039 localstatedir=$ac_optarg ;; 1040 1041 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1042 ac_prev=mandir ;; 1043 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1044 mandir=$ac_optarg ;; 1045 1046 -nfp | --nfp | --nf) 1047 # Obsolete; use --without-fp. 1048 with_fp=no ;; 1049 1050 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1051 | --no-cr | --no-c | -n) 1052 no_create=yes ;; 1053 1054 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1055 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1056 no_recursion=yes ;; 1057 1058 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1059 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1060 | --oldin | --oldi | --old | --ol | --o) 1061 ac_prev=oldincludedir ;; 1062 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1063 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1064 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1065 oldincludedir=$ac_optarg ;; 1066 1067 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1068 ac_prev=prefix ;; 1069 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1070 prefix=$ac_optarg ;; 1071 1072 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1073 | --program-pre | --program-pr | --program-p) 1074 ac_prev=program_prefix ;; 1075 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1076 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1077 program_prefix=$ac_optarg ;; 1078 1079 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1080 | --program-suf | --program-su | --program-s) 1081 ac_prev=program_suffix ;; 1082 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1083 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1084 program_suffix=$ac_optarg ;; 1085 1086 -program-transform-name | --program-transform-name \ 1087 | --program-transform-nam | --program-transform-na \ 1088 | --program-transform-n | --program-transform- \ 1089 | --program-transform | --program-transfor \ 1090 | --program-transfo | --program-transf \ 1091 | --program-trans | --program-tran \ 1092 | --progr-tra | --program-tr | --program-t) 1093 ac_prev=program_transform_name ;; 1094 -program-transform-name=* | --program-transform-name=* \ 1095 | --program-transform-nam=* | --program-transform-na=* \ 1096 | --program-transform-n=* | --program-transform-=* \ 1097 | --program-transform=* | --program-transfor=* \ 1098 | --program-transfo=* | --program-transf=* \ 1099 | --program-trans=* | --program-tran=* \ 1100 | --progr-tra=* | --program-tr=* | --program-t=*) 1101 program_transform_name=$ac_optarg ;; 1102 1103 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1104 ac_prev=pdfdir ;; 1105 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1106 pdfdir=$ac_optarg ;; 1107 1108 -psdir | --psdir | --psdi | --psd | --ps) 1109 ac_prev=psdir ;; 1110 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1111 psdir=$ac_optarg ;; 1112 1113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1114 | -silent | --silent | --silen | --sile | --sil) 1115 silent=yes ;; 1116 1117 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1118 ac_prev=sbindir ;; 1119 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1120 | --sbi=* | --sb=*) 1121 sbindir=$ac_optarg ;; 1122 1123 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1124 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1125 | --sharedst | --shareds | --shared | --share | --shar \ 1126 | --sha | --sh) 1127 ac_prev=sharedstatedir ;; 1128 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1129 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1130 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1131 | --sha=* | --sh=*) 1132 sharedstatedir=$ac_optarg ;; 1133 1134 -site | --site | --sit) 1135 ac_prev=site ;; 1136 -site=* | --site=* | --sit=*) 1137 site=$ac_optarg ;; 1138 1139 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1140 ac_prev=srcdir ;; 1141 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1142 srcdir=$ac_optarg ;; 1143 1144 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1145 | --syscon | --sysco | --sysc | --sys | --sy) 1146 ac_prev=sysconfdir ;; 1147 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1148 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1149 sysconfdir=$ac_optarg ;; 1150 1151 -target | --target | --targe | --targ | --tar | --ta | --t) 1152 ac_prev=target_alias ;; 1153 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1154 target_alias=$ac_optarg ;; 1155 1156 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1157 verbose=yes ;; 1158 1159 -version | --version | --versio | --versi | --vers | -V) 1160 ac_init_version=: ;; 1161 1162 -with-* | --with-*) 1163 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1164 # Reject names that are not valid shell variable names. 1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1166 as_fn_error $? "invalid package name: $ac_useropt" 1167 ac_useropt_orig=$ac_useropt 1168 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1169 case $ac_user_opts in 1170 *" 1171"with_$ac_useropt" 1172"*) ;; 1173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1174 ac_unrecognized_sep=', ';; 1175 esac 1176 eval with_$ac_useropt=\$ac_optarg ;; 1177 1178 -without-* | --without-*) 1179 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1180 # Reject names that are not valid shell variable names. 1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1182 as_fn_error $? "invalid package name: $ac_useropt" 1183 ac_useropt_orig=$ac_useropt 1184 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1185 case $ac_user_opts in 1186 *" 1187"with_$ac_useropt" 1188"*) ;; 1189 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1190 ac_unrecognized_sep=', ';; 1191 esac 1192 eval with_$ac_useropt=no ;; 1193 1194 --x) 1195 # Obsolete; use --with-x. 1196 with_x=yes ;; 1197 1198 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1199 | --x-incl | --x-inc | --x-in | --x-i) 1200 ac_prev=x_includes ;; 1201 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1202 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1203 x_includes=$ac_optarg ;; 1204 1205 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1206 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1207 ac_prev=x_libraries ;; 1208 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1209 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1210 x_libraries=$ac_optarg ;; 1211 1212 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1213Try \`$0 --help' for more information" 1214 ;; 1215 1216 *=*) 1217 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1218 # Reject names that are not valid shell variable names. 1219 case $ac_envvar in #( 1220 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1221 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1222 esac 1223 eval $ac_envvar=\$ac_optarg 1224 export $ac_envvar ;; 1225 1226 *) 1227 # FIXME: should be removed in autoconf 3.0. 1228 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1230 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1231 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1232 ;; 1233 1234 esac 1235done 1236 1237if test -n "$ac_prev"; then 1238 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1239 as_fn_error $? "missing argument to $ac_option" 1240fi 1241 1242if test -n "$ac_unrecognized_opts"; then 1243 case $enable_option_checking in 1244 no) ;; 1245 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1246 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1247 esac 1248fi 1249 1250# Check all directory arguments for consistency. 1251for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1252 datadir sysconfdir sharedstatedir localstatedir includedir \ 1253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1254 libdir localedir mandir 1255do 1256 eval ac_val=\$$ac_var 1257 # Remove trailing slashes. 1258 case $ac_val in 1259 */ ) 1260 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1261 eval $ac_var=\$ac_val;; 1262 esac 1263 # Be sure to have absolute directory names. 1264 case $ac_val in 1265 [\\/$]* | ?:[\\/]* ) continue;; 1266 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1267 esac 1268 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1269done 1270 1271# There might be people who depend on the old broken behavior: `$host' 1272# used to hold the argument of --host etc. 1273# FIXME: To remove some day. 1274build=$build_alias 1275host=$host_alias 1276target=$target_alias 1277 1278# FIXME: To remove some day. 1279if test "x$host_alias" != x; then 1280 if test "x$build_alias" = x; then 1281 cross_compiling=maybe 1282 elif test "x$build_alias" != "x$host_alias"; then 1283 cross_compiling=yes 1284 fi 1285fi 1286 1287ac_tool_prefix= 1288test -n "$host_alias" && ac_tool_prefix=$host_alias- 1289 1290test "$silent" = yes && exec 6>/dev/null 1291 1292 1293ac_pwd=`pwd` && test -n "$ac_pwd" && 1294ac_ls_di=`ls -di .` && 1295ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1296 as_fn_error $? "working directory cannot be determined" 1297test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1298 as_fn_error $? "pwd does not report name of working directory" 1299 1300 1301# Find the source files, if location was not specified. 1302if test -z "$srcdir"; then 1303 ac_srcdir_defaulted=yes 1304 # Try the directory containing this script, then the parent directory. 1305 ac_confdir=`$as_dirname -- "$as_myself" || 1306$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1307 X"$as_myself" : 'X\(//\)[^/]' \| \ 1308 X"$as_myself" : 'X\(//\)$' \| \ 1309 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1310$as_echo X"$as_myself" | 1311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1312 s//\1/ 1313 q 1314 } 1315 /^X\(\/\/\)[^/].*/{ 1316 s//\1/ 1317 q 1318 } 1319 /^X\(\/\/\)$/{ 1320 s//\1/ 1321 q 1322 } 1323 /^X\(\/\).*/{ 1324 s//\1/ 1325 q 1326 } 1327 s/.*/./; q'` 1328 srcdir=$ac_confdir 1329 if test ! -r "$srcdir/$ac_unique_file"; then 1330 srcdir=.. 1331 fi 1332else 1333 ac_srcdir_defaulted=no 1334fi 1335if test ! -r "$srcdir/$ac_unique_file"; then 1336 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1337 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1338fi 1339ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1340ac_abs_confdir=`( 1341 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1342 pwd)` 1343# When building in place, set srcdir=. 1344if test "$ac_abs_confdir" = "$ac_pwd"; then 1345 srcdir=. 1346fi 1347# Remove unnecessary trailing slashes from srcdir. 1348# Double slashes in file names in object file debugging info 1349# mess up M-x gdb in Emacs. 1350case $srcdir in 1351*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1352esac 1353for ac_var in $ac_precious_vars; do 1354 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1355 eval ac_env_${ac_var}_value=\$${ac_var} 1356 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1357 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1358done 1359 1360# 1361# Report the --help message. 1362# 1363if test "$ac_init_help" = "long"; then 1364 # Omit some internal or obsolete options to make the list less imposing. 1365 # This message is too long to be a string in the A/UX 3.1 sh. 1366 cat <<_ACEOF 1367\`configure' configures e2tools 0.1.0 to adapt to many kinds of systems. 1368 1369Usage: $0 [OPTION]... [VAR=VALUE]... 1370 1371To assign environment variables (e.g., CC, CFLAGS...), specify them as 1372VAR=VALUE. See below for descriptions of some of the useful variables. 1373 1374Defaults for the options are specified in brackets. 1375 1376Configuration: 1377 -h, --help display this help and exit 1378 --help=short display options specific to this package 1379 --help=recursive display the short help of all the included packages 1380 -V, --version display version information and exit 1381 -q, --quiet, --silent do not print \`checking ...' messages 1382 --cache-file=FILE cache test results in FILE [disabled] 1383 -C, --config-cache alias for \`--cache-file=config.cache' 1384 -n, --no-create do not create output files 1385 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1386 1387Installation directories: 1388 --prefix=PREFIX install architecture-independent files in PREFIX 1389 [$ac_default_prefix] 1390 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1391 [PREFIX] 1392 1393By default, \`make install' will install all the files in 1394\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1395an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1396for instance \`--prefix=\$HOME'. 1397 1398For better control, use the options below. 1399 1400Fine tuning of the installation directories: 1401 --bindir=DIR user executables [EPREFIX/bin] 1402 --sbindir=DIR system admin executables [EPREFIX/sbin] 1403 --libexecdir=DIR program executables [EPREFIX/libexec] 1404 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1405 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1406 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1407 --libdir=DIR object code libraries [EPREFIX/lib] 1408 --includedir=DIR C header files [PREFIX/include] 1409 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1410 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1411 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1412 --infodir=DIR info documentation [DATAROOTDIR/info] 1413 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1414 --mandir=DIR man documentation [DATAROOTDIR/man] 1415 --docdir=DIR documentation root [DATAROOTDIR/doc/e2tools] 1416 --htmldir=DIR html documentation [DOCDIR] 1417 --dvidir=DIR dvi documentation [DOCDIR] 1418 --pdfdir=DIR pdf documentation [DOCDIR] 1419 --psdir=DIR ps documentation [DOCDIR] 1420_ACEOF 1421 1422 cat <<\_ACEOF 1423 1424Program names: 1425 --program-prefix=PREFIX prepend PREFIX to installed program names 1426 --program-suffix=SUFFIX append SUFFIX to installed program names 1427 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1428 1429System types: 1430 --build=BUILD configure for building on BUILD [guessed] 1431 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1432_ACEOF 1433fi 1434 1435if test -n "$ac_init_help"; then 1436 case $ac_init_help in 1437 short | recursive ) echo "Configuration of e2tools 0.1.0:";; 1438 esac 1439 cat <<\_ACEOF 1440 1441Optional Features: 1442 --disable-option-checking ignore unrecognized --enable/--with options 1443 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1444 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1445 --enable-silent-rules less verbose build output (undo: "make V=1") 1446 --disable-silent-rules verbose build output (undo: "make V=0") 1447 --enable-dependency-tracking 1448 do not reject slow dependency extractors 1449 --disable-dependency-tracking 1450 speeds up one-time build 1451 1452Some influential environment variables: 1453 CC C compiler command 1454 CFLAGS C compiler flags 1455 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1456 nonstandard directory <lib dir> 1457 LIBS libraries to pass to the linker, e.g. -l<library> 1458 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1459 you have headers in a nonstandard directory <include dir> 1460 CPP C preprocessor 1461 CHMOD chmod command 1462 DD dd command 1463 MKE2FS mkfs.ext2 command 1464 PKG_CONFIG path to pkg-config utility 1465 PKG_CONFIG_PATH 1466 directories to add to pkg-config's search path 1467 PKG_CONFIG_LIBDIR 1468 path overriding pkg-config's built-in search path 1469 EXT2FS_CFLAGS 1470 C compiler flags for EXT2FS, overriding pkg-config 1471 EXT2FS_LIBS linker flags for EXT2FS, overriding pkg-config 1472 COM_ERR_CFLAGS 1473 C compiler flags for COM_ERR, overriding pkg-config 1474 COM_ERR_LIBS 1475 linker flags for COM_ERR, overriding pkg-config 1476 1477Use these variables to override the choices made by `configure' or to help 1478it to find libraries and programs with nonstandard names/locations. 1479 1480Report bugs to <https://github.com/e2tools/e2tools/issues>. 1481e2tools home page: <https://e2tools.github.io/>. 1482_ACEOF 1483ac_status=$? 1484fi 1485 1486if test "$ac_init_help" = "recursive"; then 1487 # If there are subdirs, report their specific --help. 1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1489 test -d "$ac_dir" || 1490 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1491 continue 1492 ac_builddir=. 1493 1494case "$ac_dir" in 1495.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1496*) 1497 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1498 # A ".." for each directory in $ac_dir_suffix. 1499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1500 case $ac_top_builddir_sub in 1501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1503 esac ;; 1504esac 1505ac_abs_top_builddir=$ac_pwd 1506ac_abs_builddir=$ac_pwd$ac_dir_suffix 1507# for backward compatibility: 1508ac_top_builddir=$ac_top_build_prefix 1509 1510case $srcdir in 1511 .) # We are building in place. 1512 ac_srcdir=. 1513 ac_top_srcdir=$ac_top_builddir_sub 1514 ac_abs_top_srcdir=$ac_pwd ;; 1515 [\\/]* | ?:[\\/]* ) # Absolute name. 1516 ac_srcdir=$srcdir$ac_dir_suffix; 1517 ac_top_srcdir=$srcdir 1518 ac_abs_top_srcdir=$srcdir ;; 1519 *) # Relative name. 1520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1521 ac_top_srcdir=$ac_top_build_prefix$srcdir 1522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1523esac 1524ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1525 1526 cd "$ac_dir" || { ac_status=$?; continue; } 1527 # Check for guested configure. 1528 if test -f "$ac_srcdir/configure.gnu"; then 1529 echo && 1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1531 elif test -f "$ac_srcdir/configure"; then 1532 echo && 1533 $SHELL "$ac_srcdir/configure" --help=recursive 1534 else 1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1536 fi || ac_status=$? 1537 cd "$ac_pwd" || { ac_status=$?; break; } 1538 done 1539fi 1540 1541test -n "$ac_init_help" && exit $ac_status 1542if $ac_init_version; then 1543 cat <<\_ACEOF 1544e2tools configure 0.1.0 1545generated by GNU Autoconf 2.69 1546 1547Copyright (C) 2012 Free Software Foundation, Inc. 1548This configure script is free software; the Free Software Foundation 1549gives unlimited permission to copy, distribute and modify it. 1550_ACEOF 1551 exit 1552fi 1553 1554## ------------------------ ## 1555## Autoconf initialization. ## 1556## ------------------------ ## 1557 1558# ac_fn_c_try_compile LINENO 1559# -------------------------- 1560# Try to compile conftest.$ac_ext, and return whether this succeeded. 1561ac_fn_c_try_compile () 1562{ 1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1564 rm -f conftest.$ac_objext 1565 if { { ac_try="$ac_compile" 1566case "(($ac_try" in 1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1568 *) ac_try_echo=$ac_try;; 1569esac 1570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1571$as_echo "$ac_try_echo"; } >&5 1572 (eval "$ac_compile") 2>conftest.err 1573 ac_status=$? 1574 if test -s conftest.err; then 1575 grep -v '^ *+' conftest.err >conftest.er1 1576 cat conftest.er1 >&5 1577 mv -f conftest.er1 conftest.err 1578 fi 1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1580 test $ac_status = 0; } && { 1581 test -z "$ac_c_werror_flag" || 1582 test ! -s conftest.err 1583 } && test -s conftest.$ac_objext; then : 1584 ac_retval=0 1585else 1586 $as_echo "$as_me: failed program was:" >&5 1587sed 's/^/| /' conftest.$ac_ext >&5 1588 1589 ac_retval=1 1590fi 1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1592 as_fn_set_status $ac_retval 1593 1594} # ac_fn_c_try_compile 1595 1596# ac_fn_c_try_cpp LINENO 1597# ---------------------- 1598# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1599ac_fn_c_try_cpp () 1600{ 1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1602 if { { ac_try="$ac_cpp conftest.$ac_ext" 1603case "(($ac_try" in 1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1605 *) ac_try_echo=$ac_try;; 1606esac 1607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1608$as_echo "$ac_try_echo"; } >&5 1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1610 ac_status=$? 1611 if test -s conftest.err; then 1612 grep -v '^ *+' conftest.err >conftest.er1 1613 cat conftest.er1 >&5 1614 mv -f conftest.er1 conftest.err 1615 fi 1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1617 test $ac_status = 0; } > conftest.i && { 1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1619 test ! -s conftest.err 1620 }; then : 1621 ac_retval=0 1622else 1623 $as_echo "$as_me: failed program was:" >&5 1624sed 's/^/| /' conftest.$ac_ext >&5 1625 1626 ac_retval=1 1627fi 1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1629 as_fn_set_status $ac_retval 1630 1631} # ac_fn_c_try_cpp 1632 1633# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1634# ------------------------------------------------------- 1635# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1636# the include files in INCLUDES and setting the cache variable VAR 1637# accordingly. 1638ac_fn_c_check_header_mongrel () 1639{ 1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1641 if eval \${$3+:} false; then : 1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1643$as_echo_n "checking for $2... " >&6; } 1644if eval \${$3+:} false; then : 1645 $as_echo_n "(cached) " >&6 1646fi 1647eval ac_res=\$$3 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1649$as_echo "$ac_res" >&6; } 1650else 1651 # Is the header compilable? 1652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1653$as_echo_n "checking $2 usability... " >&6; } 1654cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1655/* end confdefs.h. */ 1656$4 1657#include <$2> 1658_ACEOF 1659if ac_fn_c_try_compile "$LINENO"; then : 1660 ac_header_compiler=yes 1661else 1662 ac_header_compiler=no 1663fi 1664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1666$as_echo "$ac_header_compiler" >&6; } 1667 1668# Is the header present? 1669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1670$as_echo_n "checking $2 presence... " >&6; } 1671cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1672/* end confdefs.h. */ 1673#include <$2> 1674_ACEOF 1675if ac_fn_c_try_cpp "$LINENO"; then : 1676 ac_header_preproc=yes 1677else 1678 ac_header_preproc=no 1679fi 1680rm -f conftest.err conftest.i conftest.$ac_ext 1681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1682$as_echo "$ac_header_preproc" >&6; } 1683 1684# So? What about this header? 1685case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1686 yes:no: ) 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1688$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1690$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1691 ;; 1692 no:yes:* ) 1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1694$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1696$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1698$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1700$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1702$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1703( $as_echo "## -------------------------------------------------------- ## 1704## Report this to https://github.com/e2tools/e2tools/issues ## 1705## -------------------------------------------------------- ##" 1706 ) | sed "s/^/$as_me: WARNING: /" >&2 1707 ;; 1708esac 1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1710$as_echo_n "checking for $2... " >&6; } 1711if eval \${$3+:} false; then : 1712 $as_echo_n "(cached) " >&6 1713else 1714 eval "$3=\$ac_header_compiler" 1715fi 1716eval ac_res=\$$3 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1718$as_echo "$ac_res" >&6; } 1719fi 1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1721 1722} # ac_fn_c_check_header_mongrel 1723 1724# ac_fn_c_try_run LINENO 1725# ---------------------- 1726# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1727# that executables *can* be run. 1728ac_fn_c_try_run () 1729{ 1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1731 if { { ac_try="$ac_link" 1732case "(($ac_try" in 1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1734 *) ac_try_echo=$ac_try;; 1735esac 1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1737$as_echo "$ac_try_echo"; } >&5 1738 (eval "$ac_link") 2>&5 1739 ac_status=$? 1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1741 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1742 { { case "(($ac_try" in 1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1744 *) ac_try_echo=$ac_try;; 1745esac 1746eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1747$as_echo "$ac_try_echo"; } >&5 1748 (eval "$ac_try") 2>&5 1749 ac_status=$? 1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1751 test $ac_status = 0; }; }; then : 1752 ac_retval=0 1753else 1754 $as_echo "$as_me: program exited with status $ac_status" >&5 1755 $as_echo "$as_me: failed program was:" >&5 1756sed 's/^/| /' conftest.$ac_ext >&5 1757 1758 ac_retval=$ac_status 1759fi 1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1762 as_fn_set_status $ac_retval 1763 1764} # ac_fn_c_try_run 1765 1766# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1767# ------------------------------------------------------- 1768# Tests whether HEADER exists and can be compiled using the include files in 1769# INCLUDES, setting the cache variable VAR accordingly. 1770ac_fn_c_check_header_compile () 1771{ 1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1774$as_echo_n "checking for $2... " >&6; } 1775if eval \${$3+:} false; then : 1776 $as_echo_n "(cached) " >&6 1777else 1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1779/* end confdefs.h. */ 1780$4 1781#include <$2> 1782_ACEOF 1783if ac_fn_c_try_compile "$LINENO"; then : 1784 eval "$3=yes" 1785else 1786 eval "$3=no" 1787fi 1788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1789fi 1790eval ac_res=\$$3 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792$as_echo "$ac_res" >&6; } 1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1794 1795} # ac_fn_c_check_header_compile 1796 1797# ac_fn_c_try_link LINENO 1798# ----------------------- 1799# Try to link conftest.$ac_ext, and return whether this succeeded. 1800ac_fn_c_try_link () 1801{ 1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1803 rm -f conftest.$ac_objext conftest$ac_exeext 1804 if { { ac_try="$ac_link" 1805case "(($ac_try" in 1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1807 *) ac_try_echo=$ac_try;; 1808esac 1809eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1810$as_echo "$ac_try_echo"; } >&5 1811 (eval "$ac_link") 2>conftest.err 1812 ac_status=$? 1813 if test -s conftest.err; then 1814 grep -v '^ *+' conftest.err >conftest.er1 1815 cat conftest.er1 >&5 1816 mv -f conftest.er1 conftest.err 1817 fi 1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1819 test $ac_status = 0; } && { 1820 test -z "$ac_c_werror_flag" || 1821 test ! -s conftest.err 1822 } && test -s conftest$ac_exeext && { 1823 test "$cross_compiling" = yes || 1824 test -x conftest$ac_exeext 1825 }; then : 1826 ac_retval=0 1827else 1828 $as_echo "$as_me: failed program was:" >&5 1829sed 's/^/| /' conftest.$ac_ext >&5 1830 1831 ac_retval=1 1832fi 1833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1835 # interfere with the next link command; also delete a directory that is 1836 # left behind by Apple's compiler. We do this before executing the actions. 1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1839 as_fn_set_status $ac_retval 1840 1841} # ac_fn_c_try_link 1842 1843# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1844# -------------------------------------------- 1845# Tries to find the compile-time value of EXPR in a program that includes 1846# INCLUDES, setting VAR accordingly. Returns whether the value could be 1847# computed 1848ac_fn_c_compute_int () 1849{ 1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1851 if test "$cross_compiling" = yes; then 1852 # Depending upon the size, compute the lo and hi bounds. 1853cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1854/* end confdefs.h. */ 1855$4 1856int 1857main () 1858{ 1859static int test_array [1 - 2 * !(($2) >= 0)]; 1860test_array [0] = 0; 1861return test_array [0]; 1862 1863 ; 1864 return 0; 1865} 1866_ACEOF 1867if ac_fn_c_try_compile "$LINENO"; then : 1868 ac_lo=0 ac_mid=0 1869 while :; do 1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1871/* end confdefs.h. */ 1872$4 1873int 1874main () 1875{ 1876static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1877test_array [0] = 0; 1878return test_array [0]; 1879 1880 ; 1881 return 0; 1882} 1883_ACEOF 1884if ac_fn_c_try_compile "$LINENO"; then : 1885 ac_hi=$ac_mid; break 1886else 1887 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1888 if test $ac_lo -le $ac_mid; then 1889 ac_lo= ac_hi= 1890 break 1891 fi 1892 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1893fi 1894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1895 done 1896else 1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1898/* end confdefs.h. */ 1899$4 1900int 1901main () 1902{ 1903static int test_array [1 - 2 * !(($2) < 0)]; 1904test_array [0] = 0; 1905return test_array [0]; 1906 1907 ; 1908 return 0; 1909} 1910_ACEOF 1911if ac_fn_c_try_compile "$LINENO"; then : 1912 ac_hi=-1 ac_mid=-1 1913 while :; do 1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1915/* end confdefs.h. */ 1916$4 1917int 1918main () 1919{ 1920static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1921test_array [0] = 0; 1922return test_array [0]; 1923 1924 ; 1925 return 0; 1926} 1927_ACEOF 1928if ac_fn_c_try_compile "$LINENO"; then : 1929 ac_lo=$ac_mid; break 1930else 1931 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1932 if test $ac_mid -le $ac_hi; then 1933 ac_lo= ac_hi= 1934 break 1935 fi 1936 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1937fi 1938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1939 done 1940else 1941 ac_lo= ac_hi= 1942fi 1943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1944fi 1945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1946# Binary search between lo and hi bounds. 1947while test "x$ac_lo" != "x$ac_hi"; do 1948 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1950/* end confdefs.h. */ 1951$4 1952int 1953main () 1954{ 1955static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1956test_array [0] = 0; 1957return test_array [0]; 1958 1959 ; 1960 return 0; 1961} 1962_ACEOF 1963if ac_fn_c_try_compile "$LINENO"; then : 1964 ac_hi=$ac_mid 1965else 1966 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1967fi 1968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1969done 1970case $ac_lo in #(( 1971?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1972'') ac_retval=1 ;; 1973esac 1974 else 1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1976/* end confdefs.h. */ 1977$4 1978static long int longval () { return $2; } 1979static unsigned long int ulongval () { return $2; } 1980#include <stdio.h> 1981#include <stdlib.h> 1982int 1983main () 1984{ 1985 1986 FILE *f = fopen ("conftest.val", "w"); 1987 if (! f) 1988 return 1; 1989 if (($2) < 0) 1990 { 1991 long int i = longval (); 1992 if (i != ($2)) 1993 return 1; 1994 fprintf (f, "%ld", i); 1995 } 1996 else 1997 { 1998 unsigned long int i = ulongval (); 1999 if (i != ($2)) 2000 return 1; 2001 fprintf (f, "%lu", i); 2002 } 2003 /* Do not output a trailing newline, as this causes \r\n confusion 2004 on some platforms. */ 2005 return ferror (f) || fclose (f) != 0; 2006 2007 ; 2008 return 0; 2009} 2010_ACEOF 2011if ac_fn_c_try_run "$LINENO"; then : 2012 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2013else 2014 ac_retval=1 2015fi 2016rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2017 conftest.$ac_objext conftest.beam conftest.$ac_ext 2018rm -f conftest.val 2019 2020 fi 2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2022 as_fn_set_status $ac_retval 2023 2024} # ac_fn_c_compute_int 2025 2026# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2027# ------------------------------------------- 2028# Tests whether TYPE exists after having included INCLUDES, setting cache 2029# variable VAR accordingly. 2030ac_fn_c_check_type () 2031{ 2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2034$as_echo_n "checking for $2... " >&6; } 2035if eval \${$3+:} false; then : 2036 $as_echo_n "(cached) " >&6 2037else 2038 eval "$3=no" 2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2040/* end confdefs.h. */ 2041$4 2042int 2043main () 2044{ 2045if (sizeof ($2)) 2046 return 0; 2047 ; 2048 return 0; 2049} 2050_ACEOF 2051if ac_fn_c_try_compile "$LINENO"; then : 2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2053/* end confdefs.h. */ 2054$4 2055int 2056main () 2057{ 2058if (sizeof (($2))) 2059 return 0; 2060 ; 2061 return 0; 2062} 2063_ACEOF 2064if ac_fn_c_try_compile "$LINENO"; then : 2065 2066else 2067 eval "$3=yes" 2068fi 2069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2070fi 2071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2072fi 2073eval ac_res=\$$3 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2075$as_echo "$ac_res" >&6; } 2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2077 2078} # ac_fn_c_check_type 2079 2080# ac_fn_c_find_uintX_t LINENO BITS VAR 2081# ------------------------------------ 2082# Finds an unsigned integer type with width BITS, setting cache variable VAR 2083# accordingly. 2084ac_fn_c_find_uintX_t () 2085{ 2086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2088$as_echo_n "checking for uint$2_t... " >&6; } 2089if eval \${$3+:} false; then : 2090 $as_echo_n "(cached) " >&6 2091else 2092 eval "$3=no" 2093 # Order is important - never check a type that is potentially smaller 2094 # than half of the expected target width. 2095 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 2096 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2098/* end confdefs.h. */ 2099$ac_includes_default 2100int 2101main () 2102{ 2103static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2104test_array [0] = 0; 2105return test_array [0]; 2106 2107 ; 2108 return 0; 2109} 2110_ACEOF 2111if ac_fn_c_try_compile "$LINENO"; then : 2112 case $ac_type in #( 2113 uint$2_t) : 2114 eval "$3=yes" ;; #( 2115 *) : 2116 eval "$3=\$ac_type" ;; 2117esac 2118fi 2119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2120 if eval test \"x\$"$3"\" = x"no"; then : 2121 2122else 2123 break 2124fi 2125 done 2126fi 2127eval ac_res=\$$3 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2129$as_echo "$ac_res" >&6; } 2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2131 2132} # ac_fn_c_find_uintX_t 2133 2134# ac_fn_c_find_intX_t LINENO BITS VAR 2135# ----------------------------------- 2136# Finds a signed integer type with width BITS, setting cache variable VAR 2137# accordingly. 2138ac_fn_c_find_intX_t () 2139{ 2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 2142$as_echo_n "checking for int$2_t... " >&6; } 2143if eval \${$3+:} false; then : 2144 $as_echo_n "(cached) " >&6 2145else 2146 eval "$3=no" 2147 # Order is important - never check a type that is potentially smaller 2148 # than half of the expected target width. 2149 for ac_type in int$2_t 'int' 'long int' \ 2150 'long long int' 'short int' 'signed char'; do 2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2152/* end confdefs.h. */ 2153$ac_includes_default 2154 enum { N = $2 / 2 - 1 }; 2155int 2156main () 2157{ 2158static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 2159test_array [0] = 0; 2160return test_array [0]; 2161 2162 ; 2163 return 0; 2164} 2165_ACEOF 2166if ac_fn_c_try_compile "$LINENO"; then : 2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2168/* end confdefs.h. */ 2169$ac_includes_default 2170 enum { N = $2 / 2 - 1 }; 2171int 2172main () 2173{ 2174static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 2175 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 2176test_array [0] = 0; 2177return test_array [0]; 2178 2179 ; 2180 return 0; 2181} 2182_ACEOF 2183if ac_fn_c_try_compile "$LINENO"; then : 2184 2185else 2186 case $ac_type in #( 2187 int$2_t) : 2188 eval "$3=yes" ;; #( 2189 *) : 2190 eval "$3=\$ac_type" ;; 2191esac 2192fi 2193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2194fi 2195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2196 if eval test \"x\$"$3"\" = x"no"; then : 2197 2198else 2199 break 2200fi 2201 done 2202fi 2203eval ac_res=\$$3 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2205$as_echo "$ac_res" >&6; } 2206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2207 2208} # ac_fn_c_find_intX_t 2209 2210# ac_fn_c_check_func LINENO FUNC VAR 2211# ---------------------------------- 2212# Tests whether FUNC exists, setting the cache variable VAR accordingly 2213ac_fn_c_check_func () 2214{ 2215 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2217$as_echo_n "checking for $2... " >&6; } 2218if eval \${$3+:} false; then : 2219 $as_echo_n "(cached) " >&6 2220else 2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2222/* end confdefs.h. */ 2223/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2224 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2225#define $2 innocuous_$2 2226 2227/* System header to define __stub macros and hopefully few prototypes, 2228 which can conflict with char $2 (); below. 2229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2230 <limits.h> exists even on freestanding compilers. */ 2231 2232#ifdef __STDC__ 2233# include <limits.h> 2234#else 2235# include <assert.h> 2236#endif 2237 2238#undef $2 2239 2240/* Override any GCC internal prototype to avoid an error. 2241 Use char because int might match the return type of a GCC 2242 builtin and then its argument prototype would still apply. */ 2243#ifdef __cplusplus 2244extern "C" 2245#endif 2246char $2 (); 2247/* The GNU C library defines this for functions which it implements 2248 to always fail with ENOSYS. Some functions are actually named 2249 something starting with __ and the normal name is an alias. */ 2250#if defined __stub_$2 || defined __stub___$2 2251choke me 2252#endif 2253 2254int 2255main () 2256{ 2257return $2 (); 2258 ; 2259 return 0; 2260} 2261_ACEOF 2262if ac_fn_c_try_link "$LINENO"; then : 2263 eval "$3=yes" 2264else 2265 eval "$3=no" 2266fi 2267rm -f core conftest.err conftest.$ac_objext \ 2268 conftest$ac_exeext conftest.$ac_ext 2269fi 2270eval ac_res=\$$3 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2272$as_echo "$ac_res" >&6; } 2273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2274 2275} # ac_fn_c_check_func 2276cat >config.log <<_ACEOF 2277This file contains any messages produced by compilers while 2278running configure, to aid debugging if configure makes a mistake. 2279 2280It was created by e2tools $as_me 0.1.0, which was 2281generated by GNU Autoconf 2.69. Invocation command line was 2282 2283 $ $0 $@ 2284 2285_ACEOF 2286exec 5>>config.log 2287{ 2288cat <<_ASUNAME 2289## --------- ## 2290## Platform. ## 2291## --------- ## 2292 2293hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2294uname -m = `(uname -m) 2>/dev/null || echo unknown` 2295uname -r = `(uname -r) 2>/dev/null || echo unknown` 2296uname -s = `(uname -s) 2>/dev/null || echo unknown` 2297uname -v = `(uname -v) 2>/dev/null || echo unknown` 2298 2299/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2300/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2301 2302/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2303/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2304/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2305/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2306/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2307/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2308/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2309 2310_ASUNAME 2311 2312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2313for as_dir in $PATH 2314do 2315 IFS=$as_save_IFS 2316 test -z "$as_dir" && as_dir=. 2317 $as_echo "PATH: $as_dir" 2318 done 2319IFS=$as_save_IFS 2320 2321} >&5 2322 2323cat >&5 <<_ACEOF 2324 2325 2326## ----------- ## 2327## Core tests. ## 2328## ----------- ## 2329 2330_ACEOF 2331 2332 2333# Keep a trace of the command line. 2334# Strip out --no-create and --no-recursion so they do not pile up. 2335# Strip out --silent because we don't want to record it for future runs. 2336# Also quote any args containing shell meta-characters. 2337# Make two passes to allow for proper duplicate-argument suppression. 2338ac_configure_args= 2339ac_configure_args0= 2340ac_configure_args1= 2341ac_must_keep_next=false 2342for ac_pass in 1 2 2343do 2344 for ac_arg 2345 do 2346 case $ac_arg in 2347 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2349 | -silent | --silent | --silen | --sile | --sil) 2350 continue ;; 2351 *\'*) 2352 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2353 esac 2354 case $ac_pass in 2355 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2356 2) 2357 as_fn_append ac_configure_args1 " '$ac_arg'" 2358 if test $ac_must_keep_next = true; then 2359 ac_must_keep_next=false # Got value, back to normal. 2360 else 2361 case $ac_arg in 2362 *=* | --config-cache | -C | -disable-* | --disable-* \ 2363 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2364 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2365 | -with-* | --with-* | -without-* | --without-* | --x) 2366 case "$ac_configure_args0 " in 2367 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2368 esac 2369 ;; 2370 -* ) ac_must_keep_next=true ;; 2371 esac 2372 fi 2373 as_fn_append ac_configure_args " '$ac_arg'" 2374 ;; 2375 esac 2376 done 2377done 2378{ ac_configure_args0=; unset ac_configure_args0;} 2379{ ac_configure_args1=; unset ac_configure_args1;} 2380 2381# When interrupted or exit'd, cleanup temporary files, and complete 2382# config.log. We remove comments because anyway the quotes in there 2383# would cause problems or look ugly. 2384# WARNING: Use '\'' to represent an apostrophe within the trap. 2385# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2386trap 'exit_status=$? 2387 # Save into config.log some information that might help in debugging. 2388 { 2389 echo 2390 2391 $as_echo "## ---------------- ## 2392## Cache variables. ## 2393## ---------------- ##" 2394 echo 2395 # The following way of writing the cache mishandles newlines in values, 2396( 2397 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2398 eval ac_val=\$$ac_var 2399 case $ac_val in #( 2400 *${as_nl}*) 2401 case $ac_var in #( 2402 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2403$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2404 esac 2405 case $ac_var in #( 2406 _ | IFS | as_nl) ;; #( 2407 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2408 *) { eval $ac_var=; unset $ac_var;} ;; 2409 esac ;; 2410 esac 2411 done 2412 (set) 2>&1 | 2413 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2414 *${as_nl}ac_space=\ *) 2415 sed -n \ 2416 "s/'\''/'\''\\\\'\'''\''/g; 2417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2418 ;; #( 2419 *) 2420 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2421 ;; 2422 esac | 2423 sort 2424) 2425 echo 2426 2427 $as_echo "## ----------------- ## 2428## Output variables. ## 2429## ----------------- ##" 2430 echo 2431 for ac_var in $ac_subst_vars 2432 do 2433 eval ac_val=\$$ac_var 2434 case $ac_val in 2435 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2436 esac 2437 $as_echo "$ac_var='\''$ac_val'\''" 2438 done | sort 2439 echo 2440 2441 if test -n "$ac_subst_files"; then 2442 $as_echo "## ------------------- ## 2443## File substitutions. ## 2444## ------------------- ##" 2445 echo 2446 for ac_var in $ac_subst_files 2447 do 2448 eval ac_val=\$$ac_var 2449 case $ac_val in 2450 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2451 esac 2452 $as_echo "$ac_var='\''$ac_val'\''" 2453 done | sort 2454 echo 2455 fi 2456 2457 if test -s confdefs.h; then 2458 $as_echo "## ----------- ## 2459## confdefs.h. ## 2460## ----------- ##" 2461 echo 2462 cat confdefs.h 2463 echo 2464 fi 2465 test "$ac_signal" != 0 && 2466 $as_echo "$as_me: caught signal $ac_signal" 2467 $as_echo "$as_me: exit $exit_status" 2468 } >&5 2469 rm -f core *.core core.conftest.* && 2470 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2471 exit $exit_status 2472' 0 2473for ac_signal in 1 2 13 15; do 2474 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2475done 2476ac_signal=0 2477 2478# confdefs.h avoids OS command line length limits that DEFS can exceed. 2479rm -f -r conftest* confdefs.h 2480 2481$as_echo "/* confdefs.h */" > confdefs.h 2482 2483# Predefined preprocessor variables. 2484 2485cat >>confdefs.h <<_ACEOF 2486#define PACKAGE_NAME "$PACKAGE_NAME" 2487_ACEOF 2488 2489cat >>confdefs.h <<_ACEOF 2490#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2491_ACEOF 2492 2493cat >>confdefs.h <<_ACEOF 2494#define PACKAGE_VERSION "$PACKAGE_VERSION" 2495_ACEOF 2496 2497cat >>confdefs.h <<_ACEOF 2498#define PACKAGE_STRING "$PACKAGE_STRING" 2499_ACEOF 2500 2501cat >>confdefs.h <<_ACEOF 2502#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2503_ACEOF 2504 2505cat >>confdefs.h <<_ACEOF 2506#define PACKAGE_URL "$PACKAGE_URL" 2507_ACEOF 2508 2509 2510# Let the site file select an alternate cache file if it wants to. 2511# Prefer an explicitly selected file to automatically selected ones. 2512ac_site_file1=NONE 2513ac_site_file2=NONE 2514if test -n "$CONFIG_SITE"; then 2515 # We do not want a PATH search for config.site. 2516 case $CONFIG_SITE in #(( 2517 -*) ac_site_file1=./$CONFIG_SITE;; 2518 */*) ac_site_file1=$CONFIG_SITE;; 2519 *) ac_site_file1=./$CONFIG_SITE;; 2520 esac 2521elif test "x$prefix" != xNONE; then 2522 ac_site_file1=$prefix/share/config.site 2523 ac_site_file2=$prefix/etc/config.site 2524else 2525 ac_site_file1=$ac_default_prefix/share/config.site 2526 ac_site_file2=$ac_default_prefix/etc/config.site 2527fi 2528for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2529do 2530 test "x$ac_site_file" = xNONE && continue 2531 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2533$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2534 sed 's/^/| /' "$ac_site_file" >&5 2535 . "$ac_site_file" \ 2536 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2538as_fn_error $? "failed to load site script $ac_site_file 2539See \`config.log' for more details" "$LINENO" 5; } 2540 fi 2541done 2542 2543if test -r "$cache_file"; then 2544 # Some versions of bash will fail to source /dev/null (special files 2545 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2546 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2547 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2548$as_echo "$as_me: loading cache $cache_file" >&6;} 2549 case $cache_file in 2550 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2551 *) . "./$cache_file";; 2552 esac 2553 fi 2554else 2555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2556$as_echo "$as_me: creating cache $cache_file" >&6;} 2557 >$cache_file 2558fi 2559 2560gl_header_list="$gl_header_list wchar.h" 2561gl_header_list="$gl_header_list stdint.h" 2562gl_header_list="$gl_header_list inttypes.h" 2563gl_header_list="$gl_header_list utime.h" 2564# Check that the precious variables saved in the cache have kept the same 2565# value. 2566ac_cache_corrupted=false 2567for ac_var in $ac_precious_vars; do 2568 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2569 eval ac_new_set=\$ac_env_${ac_var}_set 2570 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2571 eval ac_new_val=\$ac_env_${ac_var}_value 2572 case $ac_old_set,$ac_new_set in 2573 set,) 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2575$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2576 ac_cache_corrupted=: ;; 2577 ,set) 2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2579$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2580 ac_cache_corrupted=: ;; 2581 ,);; 2582 *) 2583 if test "x$ac_old_val" != "x$ac_new_val"; then 2584 # differences in whitespace do not lead to failure. 2585 ac_old_val_w=`echo x $ac_old_val` 2586 ac_new_val_w=`echo x $ac_new_val` 2587 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2589$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2590 ac_cache_corrupted=: 2591 else 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2593$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2594 eval $ac_var=\$ac_old_val 2595 fi 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2597$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2599$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2600 fi;; 2601 esac 2602 # Pass precious variables to config.status. 2603 if test "$ac_new_set" = set; then 2604 case $ac_new_val in 2605 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2606 *) ac_arg=$ac_var=$ac_new_val ;; 2607 esac 2608 case " $ac_configure_args " in 2609 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2610 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2611 esac 2612 fi 2613done 2614if $ac_cache_corrupted; then 2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2618$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2619 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2620fi 2621## -------------------- ## 2622## Main body of script. ## 2623## -------------------- ## 2624 2625ac_ext=c 2626ac_cpp='$CPP $CPPFLAGS' 2627ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2628ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2629ac_compiler_gnu=$ac_cv_c_compiler_gnu 2630 2631 2632ac_aux_dir= 2633for ac_dir in build-aux "$srcdir"/build-aux; do 2634 if test -f "$ac_dir/install-sh"; then 2635 ac_aux_dir=$ac_dir 2636 ac_install_sh="$ac_aux_dir/install-sh -c" 2637 break 2638 elif test -f "$ac_dir/install.sh"; then 2639 ac_aux_dir=$ac_dir 2640 ac_install_sh="$ac_aux_dir/install.sh -c" 2641 break 2642 elif test -f "$ac_dir/shtool"; then 2643 ac_aux_dir=$ac_dir 2644 ac_install_sh="$ac_aux_dir/shtool install -c" 2645 break 2646 fi 2647done 2648if test -z "$ac_aux_dir"; then 2649 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2650fi 2651 2652# These three variables are undocumented and unsupported, 2653# and are intended to be withdrawn in a future Autoconf release. 2654# They can cause serious problems if a builder's source tree is in a directory 2655# whose full name contains unusual characters. 2656ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2657ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2658ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2659 2660 2661ac_config_headers="$ac_config_headers e2tools-autoconfig.h" 2662 2663 2664 2665am__api_version='1.16' 2666 2667# Find a good install program. We prefer a C program (faster), 2668# so one script is as good as another. But avoid the broken or 2669# incompatible versions: 2670# SysV /etc/install, /usr/sbin/install 2671# SunOS /usr/etc/install 2672# IRIX /sbin/install 2673# AIX /bin/install 2674# AmigaOS /C/install, which installs bootblocks on floppy discs 2675# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2676# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2677# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2678# OS/2's system install, which has a completely different semantic 2679# ./install, which can be erroneously created by make from ./install.sh. 2680# Reject install programs that cannot install multiple files. 2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2682$as_echo_n "checking for a BSD-compatible install... " >&6; } 2683if test -z "$INSTALL"; then 2684if ${ac_cv_path_install+:} false; then : 2685 $as_echo_n "(cached) " >&6 2686else 2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2688for as_dir in $PATH 2689do 2690 IFS=$as_save_IFS 2691 test -z "$as_dir" && as_dir=. 2692 # Account for people who put trailing slashes in PATH elements. 2693case $as_dir/ in #(( 2694 ./ | .// | /[cC]/* | \ 2695 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2696 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2697 /usr/ucb/* ) ;; 2698 *) 2699 # OSF1 and SCO ODT 3.0 have their own names for install. 2700 # Don't use installbsd from OSF since it installs stuff as root 2701 # by default. 2702 for ac_prog in ginstall scoinst install; do 2703 for ac_exec_ext in '' $ac_executable_extensions; do 2704 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2705 if test $ac_prog = install && 2706 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2707 # AIX install. It has an incompatible calling convention. 2708 : 2709 elif test $ac_prog = install && 2710 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2711 # program-specific install script used by HP pwplus--don't use. 2712 : 2713 else 2714 rm -rf conftest.one conftest.two conftest.dir 2715 echo one > conftest.one 2716 echo two > conftest.two 2717 mkdir conftest.dir 2718 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2719 test -s conftest.one && test -s conftest.two && 2720 test -s conftest.dir/conftest.one && 2721 test -s conftest.dir/conftest.two 2722 then 2723 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2724 break 3 2725 fi 2726 fi 2727 fi 2728 done 2729 done 2730 ;; 2731esac 2732 2733 done 2734IFS=$as_save_IFS 2735 2736rm -rf conftest.one conftest.two conftest.dir 2737 2738fi 2739 if test "${ac_cv_path_install+set}" = set; then 2740 INSTALL=$ac_cv_path_install 2741 else 2742 # As a last resort, use the slow shell script. Don't cache a 2743 # value for INSTALL within a source directory, because that will 2744 # break other packages using the cache if that directory is 2745 # removed, or if the value is a relative name. 2746 INSTALL=$ac_install_sh 2747 fi 2748fi 2749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2750$as_echo "$INSTALL" >&6; } 2751 2752# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2753# It thinks the first close brace ends the variable substitution. 2754test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2755 2756test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2757 2758test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2759 2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2761$as_echo_n "checking whether build environment is sane... " >&6; } 2762# Reject unsafe characters in $srcdir or the absolute working directory 2763# name. Accept space and tab only in the latter. 2764am_lf=' 2765' 2766case `pwd` in 2767 *[\\\"\#\$\&\'\`$am_lf]*) 2768 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2769esac 2770case $srcdir in 2771 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2772 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2773esac 2774 2775# Do 'set' in a subshell so we don't clobber the current shell's 2776# arguments. Must try -L first in case configure is actually a 2777# symlink; some systems play weird games with the mod time of symlinks 2778# (eg FreeBSD returns the mod time of the symlink's containing 2779# directory). 2780if ( 2781 am_has_slept=no 2782 for am_try in 1 2; do 2783 echo "timestamp, slept: $am_has_slept" > conftest.file 2784 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2785 if test "$*" = "X"; then 2786 # -L didn't work. 2787 set X `ls -t "$srcdir/configure" conftest.file` 2788 fi 2789 if test "$*" != "X $srcdir/configure conftest.file" \ 2790 && test "$*" != "X conftest.file $srcdir/configure"; then 2791 2792 # If neither matched, then we have a broken ls. This can happen 2793 # if, for instance, CONFIG_SHELL is bash and it inherits a 2794 # broken ls alias from the environment. This has actually 2795 # happened. Such a system could not be considered "sane". 2796 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2797 alias in your environment" "$LINENO" 5 2798 fi 2799 if test "$2" = conftest.file || test $am_try -eq 2; then 2800 break 2801 fi 2802 # Just in case. 2803 sleep 1 2804 am_has_slept=yes 2805 done 2806 test "$2" = conftest.file 2807 ) 2808then 2809 # Ok. 2810 : 2811else 2812 as_fn_error $? "newly created file is older than distributed files! 2813Check your system clock" "$LINENO" 5 2814fi 2815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2816$as_echo "yes" >&6; } 2817# If we didn't sleep, we still need to ensure time stamps of config.status and 2818# generated files are strictly newer. 2819am_sleep_pid= 2820if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2821 ( sleep 1 ) & 2822 am_sleep_pid=$! 2823fi 2824 2825rm -f conftest.file 2826 2827test "$program_prefix" != NONE && 2828 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2829# Use a double $ so make ignores it. 2830test "$program_suffix" != NONE && 2831 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2832# Double any \ or $. 2833# By default was `s,x,x', remove it if useless. 2834ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2835program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2836 2837# Expand $ac_aux_dir to an absolute path. 2838am_aux_dir=`cd "$ac_aux_dir" && pwd` 2839 2840if test x"${MISSING+set}" != xset; then 2841 case $am_aux_dir in 2842 *\ * | *\ *) 2843 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2844 *) 2845 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2846 esac 2847fi 2848# Use eval to expand $SHELL 2849if eval "$MISSING --is-lightweight"; then 2850 am_missing_run="$MISSING " 2851else 2852 am_missing_run= 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2854$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2855fi 2856 2857if test x"${install_sh+set}" != xset; then 2858 case $am_aux_dir in 2859 *\ * | *\ *) 2860 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2861 *) 2862 install_sh="\${SHELL} $am_aux_dir/install-sh" 2863 esac 2864fi 2865 2866# Installed binaries are usually stripped using 'strip' when the user 2867# run "make install-strip". However 'strip' might not be the right 2868# tool to use in cross-compilation environments, therefore Automake 2869# will honor the 'STRIP' environment variable to overrule this program. 2870if test "$cross_compiling" != no; then 2871 if test -n "$ac_tool_prefix"; then 2872 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2873set dummy ${ac_tool_prefix}strip; ac_word=$2 2874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2875$as_echo_n "checking for $ac_word... " >&6; } 2876if ${ac_cv_prog_STRIP+:} false; then : 2877 $as_echo_n "(cached) " >&6 2878else 2879 if test -n "$STRIP"; then 2880 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2881else 2882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2883for as_dir in $PATH 2884do 2885 IFS=$as_save_IFS 2886 test -z "$as_dir" && as_dir=. 2887 for ac_exec_ext in '' $ac_executable_extensions; do 2888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2889 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2891 break 2 2892 fi 2893done 2894 done 2895IFS=$as_save_IFS 2896 2897fi 2898fi 2899STRIP=$ac_cv_prog_STRIP 2900if test -n "$STRIP"; then 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2902$as_echo "$STRIP" >&6; } 2903else 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2905$as_echo "no" >&6; } 2906fi 2907 2908 2909fi 2910if test -z "$ac_cv_prog_STRIP"; then 2911 ac_ct_STRIP=$STRIP 2912 # Extract the first word of "strip", so it can be a program name with args. 2913set dummy strip; ac_word=$2 2914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2915$as_echo_n "checking for $ac_word... " >&6; } 2916if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2917 $as_echo_n "(cached) " >&6 2918else 2919 if test -n "$ac_ct_STRIP"; then 2920 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2921else 2922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2923for as_dir in $PATH 2924do 2925 IFS=$as_save_IFS 2926 test -z "$as_dir" && as_dir=. 2927 for ac_exec_ext in '' $ac_executable_extensions; do 2928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2929 ac_cv_prog_ac_ct_STRIP="strip" 2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2931 break 2 2932 fi 2933done 2934 done 2935IFS=$as_save_IFS 2936 2937fi 2938fi 2939ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2940if test -n "$ac_ct_STRIP"; then 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2942$as_echo "$ac_ct_STRIP" >&6; } 2943else 2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2945$as_echo "no" >&6; } 2946fi 2947 2948 if test "x$ac_ct_STRIP" = x; then 2949 STRIP=":" 2950 else 2951 case $cross_compiling:$ac_tool_warned in 2952yes:) 2953{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2954$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2955ac_tool_warned=yes ;; 2956esac 2957 STRIP=$ac_ct_STRIP 2958 fi 2959else 2960 STRIP="$ac_cv_prog_STRIP" 2961fi 2962 2963fi 2964INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2965 2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2967$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2968if test -z "$MKDIR_P"; then 2969 if ${ac_cv_path_mkdir+:} false; then : 2970 $as_echo_n "(cached) " >&6 2971else 2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2973for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2974do 2975 IFS=$as_save_IFS 2976 test -z "$as_dir" && as_dir=. 2977 for ac_prog in mkdir gmkdir; do 2978 for ac_exec_ext in '' $ac_executable_extensions; do 2979 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2980 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2981 'mkdir (GNU coreutils) '* | \ 2982 'mkdir (coreutils) '* | \ 2983 'mkdir (fileutils) '4.1*) 2984 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2985 break 3;; 2986 esac 2987 done 2988 done 2989 done 2990IFS=$as_save_IFS 2991 2992fi 2993 2994 test -d ./--version && rmdir ./--version 2995 if test "${ac_cv_path_mkdir+set}" = set; then 2996 MKDIR_P="$ac_cv_path_mkdir -p" 2997 else 2998 # As a last resort, use the slow shell script. Don't cache a 2999 # value for MKDIR_P within a source directory, because that will 3000 # break other packages using the cache if that directory is 3001 # removed, or if the value is a relative name. 3002 MKDIR_P="$ac_install_sh -d" 3003 fi 3004fi 3005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3006$as_echo "$MKDIR_P" >&6; } 3007 3008for ac_prog in gawk mawk nawk awk 3009do 3010 # Extract the first word of "$ac_prog", so it can be a program name with args. 3011set dummy $ac_prog; ac_word=$2 3012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3013$as_echo_n "checking for $ac_word... " >&6; } 3014if ${ac_cv_prog_AWK+:} false; then : 3015 $as_echo_n "(cached) " >&6 3016else 3017 if test -n "$AWK"; then 3018 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3019else 3020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3021for as_dir in $PATH 3022do 3023 IFS=$as_save_IFS 3024 test -z "$as_dir" && as_dir=. 3025 for ac_exec_ext in '' $ac_executable_extensions; do 3026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3027 ac_cv_prog_AWK="$ac_prog" 3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3029 break 2 3030 fi 3031done 3032 done 3033IFS=$as_save_IFS 3034 3035fi 3036fi 3037AWK=$ac_cv_prog_AWK 3038if test -n "$AWK"; then 3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3040$as_echo "$AWK" >&6; } 3041else 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3043$as_echo "no" >&6; } 3044fi 3045 3046 3047 test -n "$AWK" && break 3048done 3049 3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3051$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3052set x ${MAKE-make} 3053ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3054if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3055 $as_echo_n "(cached) " >&6 3056else 3057 cat >conftest.make <<\_ACEOF 3058SHELL = /bin/sh 3059all: 3060 @echo '@@@%%%=$(MAKE)=@@@%%%' 3061_ACEOF 3062# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3063case `${MAKE-make} -f conftest.make 2>/dev/null` in 3064 *@@@%%%=?*=@@@%%%*) 3065 eval ac_cv_prog_make_${ac_make}_set=yes;; 3066 *) 3067 eval ac_cv_prog_make_${ac_make}_set=no;; 3068esac 3069rm -f conftest.make 3070fi 3071if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3073$as_echo "yes" >&6; } 3074 SET_MAKE= 3075else 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3077$as_echo "no" >&6; } 3078 SET_MAKE="MAKE=${MAKE-make}" 3079fi 3080 3081rm -rf .tst 2>/dev/null 3082mkdir .tst 2>/dev/null 3083if test -d .tst; then 3084 am__leading_dot=. 3085else 3086 am__leading_dot=_ 3087fi 3088rmdir .tst 2>/dev/null 3089 3090# Check whether --enable-silent-rules was given. 3091if test "${enable_silent_rules+set}" = set; then : 3092 enableval=$enable_silent_rules; 3093fi 3094 3095case $enable_silent_rules in # ((( 3096 yes) AM_DEFAULT_VERBOSITY=0;; 3097 no) AM_DEFAULT_VERBOSITY=1;; 3098 *) AM_DEFAULT_VERBOSITY=1;; 3099esac 3100am_make=${MAKE-make} 3101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3102$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3103if ${am_cv_make_support_nested_variables+:} false; then : 3104 $as_echo_n "(cached) " >&6 3105else 3106 if $as_echo 'TRUE=$(BAR$(V)) 3107BAR0=false 3108BAR1=true 3109V=1 3110am__doit: 3111 @$(TRUE) 3112.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3113 am_cv_make_support_nested_variables=yes 3114else 3115 am_cv_make_support_nested_variables=no 3116fi 3117fi 3118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3119$as_echo "$am_cv_make_support_nested_variables" >&6; } 3120if test $am_cv_make_support_nested_variables = yes; then 3121 AM_V='$(V)' 3122 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3123else 3124 AM_V=$AM_DEFAULT_VERBOSITY 3125 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3126fi 3127AM_BACKSLASH='\' 3128 3129if test "`cd $srcdir && pwd`" != "`pwd`"; then 3130 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3131 # is not polluted with repeated "-I." 3132 am__isrc=' -I$(srcdir)' 3133 # test to see if srcdir already configured 3134 if test -f $srcdir/config.status; then 3135 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3136 fi 3137fi 3138 3139# test whether we have cygpath 3140if test -z "$CYGPATH_W"; then 3141 if (cygpath --version) >/dev/null 2>/dev/null; then 3142 CYGPATH_W='cygpath -w' 3143 else 3144 CYGPATH_W=echo 3145 fi 3146fi 3147 3148 3149# Define the identity of the package. 3150 PACKAGE='e2tools' 3151 VERSION='0.1.0' 3152 3153 3154cat >>confdefs.h <<_ACEOF 3155#define PACKAGE "$PACKAGE" 3156_ACEOF 3157 3158 3159cat >>confdefs.h <<_ACEOF 3160#define VERSION "$VERSION" 3161_ACEOF 3162 3163# Some tools Automake needs. 3164 3165ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3166 3167 3168AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3169 3170 3171AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3172 3173 3174AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3175 3176 3177MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3178 3179# For better backward compatibility. To be removed once Automake 1.9.x 3180# dies out for good. For more background, see: 3181# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3182# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3183mkdir_p='$(MKDIR_P)' 3184 3185# We need awk for the "check" target (and possibly the TAP driver). The 3186# system "awk" is bad on some platforms. 3187# Always define AMTAR for backward compatibility. Yes, it's still used 3188# in the wild :-( We should find a proper way to deprecate it ... 3189AMTAR='$${TAR-tar}' 3190 3191 3192# We'll loop over all known methods to create a tar archive until one works. 3193_am_tools='gnutar pax cpio none' 3194 3195am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3196 3197 3198 3199 3200 3201 3202# POSIX will say in a future version that running "rm -f" with no argument 3203# is OK; and we want to be able to make that assumption in our Makefile 3204# recipes. So use an aggressive probe to check that the usage we want is 3205# actually supported "in the wild" to an acceptable degree. 3206# See automake bug#10828. 3207# To make any issue more visible, cause the running configure to be aborted 3208# by default if the 'rm' program in use doesn't match our expectations; the 3209# user can still override this though. 3210if rm -f && rm -fr && rm -rf; then : OK; else 3211 cat >&2 <<'END' 3212Oops! 3213 3214Your 'rm' program seems unable to run without file operands specified 3215on the command line, even when the '-f' option is present. This is contrary 3216to the behaviour of most rm programs out there, and not conforming with 3217the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3218 3219Please tell bug-automake@gnu.org about your system, including the value 3220of your $PATH and any error possibly output before this message. This 3221can help us improve future automake versions. 3222 3223END 3224 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3225 echo 'Configuration will proceed anyway, since you have set the' >&2 3226 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3227 echo >&2 3228 else 3229 cat >&2 <<'END' 3230Aborting the configuration process, to ensure you take notice of the issue. 3231 3232You can download and install GNU coreutils to get an 'rm' implementation 3233that behaves properly: <https://www.gnu.org/software/coreutils/>. 3234 3235If you want to complete the configuration process using your problematic 3236'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3237to "yes", and re-run configure. 3238 3239END 3240 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3241 fi 3242fi 3243 3244 3245 3246ac_ext=c 3247ac_cpp='$CPP $CPPFLAGS' 3248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3250ac_compiler_gnu=$ac_cv_c_compiler_gnu 3251if test -n "$ac_tool_prefix"; then 3252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3253set dummy ${ac_tool_prefix}gcc; ac_word=$2 3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3255$as_echo_n "checking for $ac_word... " >&6; } 3256if ${ac_cv_prog_CC+:} false; then : 3257 $as_echo_n "(cached) " >&6 3258else 3259 if test -n "$CC"; then 3260 ac_cv_prog_CC="$CC" # Let the user override the test. 3261else 3262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3263for as_dir in $PATH 3264do 3265 IFS=$as_save_IFS 3266 test -z "$as_dir" && as_dir=. 3267 for ac_exec_ext in '' $ac_executable_extensions; do 3268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3269 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3271 break 2 3272 fi 3273done 3274 done 3275IFS=$as_save_IFS 3276 3277fi 3278fi 3279CC=$ac_cv_prog_CC 3280if test -n "$CC"; then 3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3282$as_echo "$CC" >&6; } 3283else 3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3285$as_echo "no" >&6; } 3286fi 3287 3288 3289fi 3290if test -z "$ac_cv_prog_CC"; then 3291 ac_ct_CC=$CC 3292 # Extract the first word of "gcc", so it can be a program name with args. 3293set dummy gcc; ac_word=$2 3294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3295$as_echo_n "checking for $ac_word... " >&6; } 3296if ${ac_cv_prog_ac_ct_CC+:} false; then : 3297 $as_echo_n "(cached) " >&6 3298else 3299 if test -n "$ac_ct_CC"; then 3300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3301else 3302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3303for as_dir in $PATH 3304do 3305 IFS=$as_save_IFS 3306 test -z "$as_dir" && as_dir=. 3307 for ac_exec_ext in '' $ac_executable_extensions; do 3308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3309 ac_cv_prog_ac_ct_CC="gcc" 3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3311 break 2 3312 fi 3313done 3314 done 3315IFS=$as_save_IFS 3316 3317fi 3318fi 3319ac_ct_CC=$ac_cv_prog_ac_ct_CC 3320if test -n "$ac_ct_CC"; then 3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3322$as_echo "$ac_ct_CC" >&6; } 3323else 3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3325$as_echo "no" >&6; } 3326fi 3327 3328 if test "x$ac_ct_CC" = x; then 3329 CC="" 3330 else 3331 case $cross_compiling:$ac_tool_warned in 3332yes:) 3333{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3334$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3335ac_tool_warned=yes ;; 3336esac 3337 CC=$ac_ct_CC 3338 fi 3339else 3340 CC="$ac_cv_prog_CC" 3341fi 3342 3343if test -z "$CC"; then 3344 if test -n "$ac_tool_prefix"; then 3345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3346set dummy ${ac_tool_prefix}cc; ac_word=$2 3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3348$as_echo_n "checking for $ac_word... " >&6; } 3349if ${ac_cv_prog_CC+:} false; then : 3350 $as_echo_n "(cached) " >&6 3351else 3352 if test -n "$CC"; then 3353 ac_cv_prog_CC="$CC" # Let the user override the test. 3354else 3355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3356for as_dir in $PATH 3357do 3358 IFS=$as_save_IFS 3359 test -z "$as_dir" && as_dir=. 3360 for ac_exec_ext in '' $ac_executable_extensions; do 3361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3362 ac_cv_prog_CC="${ac_tool_prefix}cc" 3363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3364 break 2 3365 fi 3366done 3367 done 3368IFS=$as_save_IFS 3369 3370fi 3371fi 3372CC=$ac_cv_prog_CC 3373if test -n "$CC"; then 3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3375$as_echo "$CC" >&6; } 3376else 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3378$as_echo "no" >&6; } 3379fi 3380 3381 3382 fi 3383fi 3384if test -z "$CC"; then 3385 # Extract the first word of "cc", so it can be a program name with args. 3386set dummy cc; ac_word=$2 3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3388$as_echo_n "checking for $ac_word... " >&6; } 3389if ${ac_cv_prog_CC+:} false; then : 3390 $as_echo_n "(cached) " >&6 3391else 3392 if test -n "$CC"; then 3393 ac_cv_prog_CC="$CC" # Let the user override the test. 3394else 3395 ac_prog_rejected=no 3396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3397for as_dir in $PATH 3398do 3399 IFS=$as_save_IFS 3400 test -z "$as_dir" && as_dir=. 3401 for ac_exec_ext in '' $ac_executable_extensions; do 3402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3404 ac_prog_rejected=yes 3405 continue 3406 fi 3407 ac_cv_prog_CC="cc" 3408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3409 break 2 3410 fi 3411done 3412 done 3413IFS=$as_save_IFS 3414 3415if test $ac_prog_rejected = yes; then 3416 # We found a bogon in the path, so make sure we never use it. 3417 set dummy $ac_cv_prog_CC 3418 shift 3419 if test $# != 0; then 3420 # We chose a different compiler from the bogus one. 3421 # However, it has the same basename, so the bogon will be chosen 3422 # first if we set CC to just the basename; use the full file name. 3423 shift 3424 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3425 fi 3426fi 3427fi 3428fi 3429CC=$ac_cv_prog_CC 3430if test -n "$CC"; then 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3432$as_echo "$CC" >&6; } 3433else 3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3435$as_echo "no" >&6; } 3436fi 3437 3438 3439fi 3440if test -z "$CC"; then 3441 if test -n "$ac_tool_prefix"; then 3442 for ac_prog in cl.exe 3443 do 3444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3445set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3447$as_echo_n "checking for $ac_word... " >&6; } 3448if ${ac_cv_prog_CC+:} false; then : 3449 $as_echo_n "(cached) " >&6 3450else 3451 if test -n "$CC"; then 3452 ac_cv_prog_CC="$CC" # Let the user override the test. 3453else 3454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3455for as_dir in $PATH 3456do 3457 IFS=$as_save_IFS 3458 test -z "$as_dir" && as_dir=. 3459 for ac_exec_ext in '' $ac_executable_extensions; do 3460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3461 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3463 break 2 3464 fi 3465done 3466 done 3467IFS=$as_save_IFS 3468 3469fi 3470fi 3471CC=$ac_cv_prog_CC 3472if test -n "$CC"; then 3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3474$as_echo "$CC" >&6; } 3475else 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3477$as_echo "no" >&6; } 3478fi 3479 3480 3481 test -n "$CC" && break 3482 done 3483fi 3484if test -z "$CC"; then 3485 ac_ct_CC=$CC 3486 for ac_prog in cl.exe 3487do 3488 # Extract the first word of "$ac_prog", so it can be a program name with args. 3489set dummy $ac_prog; ac_word=$2 3490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3491$as_echo_n "checking for $ac_word... " >&6; } 3492if ${ac_cv_prog_ac_ct_CC+:} false; then : 3493 $as_echo_n "(cached) " >&6 3494else 3495 if test -n "$ac_ct_CC"; then 3496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3497else 3498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3499for as_dir in $PATH 3500do 3501 IFS=$as_save_IFS 3502 test -z "$as_dir" && as_dir=. 3503 for ac_exec_ext in '' $ac_executable_extensions; do 3504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3505 ac_cv_prog_ac_ct_CC="$ac_prog" 3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3507 break 2 3508 fi 3509done 3510 done 3511IFS=$as_save_IFS 3512 3513fi 3514fi 3515ac_ct_CC=$ac_cv_prog_ac_ct_CC 3516if test -n "$ac_ct_CC"; then 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3518$as_echo "$ac_ct_CC" >&6; } 3519else 3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3521$as_echo "no" >&6; } 3522fi 3523 3524 3525 test -n "$ac_ct_CC" && break 3526done 3527 3528 if test "x$ac_ct_CC" = x; then 3529 CC="" 3530 else 3531 case $cross_compiling:$ac_tool_warned in 3532yes:) 3533{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3534$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3535ac_tool_warned=yes ;; 3536esac 3537 CC=$ac_ct_CC 3538 fi 3539fi 3540 3541fi 3542 3543 3544test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3546as_fn_error $? "no acceptable C compiler found in \$PATH 3547See \`config.log' for more details" "$LINENO" 5; } 3548 3549# Provide some information about the compiler. 3550$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3551set X $ac_compile 3552ac_compiler=$2 3553for ac_option in --version -v -V -qversion; do 3554 { { ac_try="$ac_compiler $ac_option >&5" 3555case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558esac 3559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3560$as_echo "$ac_try_echo"; } >&5 3561 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3562 ac_status=$? 3563 if test -s conftest.err; then 3564 sed '10a\ 3565... rest of stderr output deleted ... 3566 10q' conftest.err >conftest.er1 3567 cat conftest.er1 >&5 3568 fi 3569 rm -f conftest.er1 conftest.err 3570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3571 test $ac_status = 0; } 3572done 3573 3574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3575/* end confdefs.h. */ 3576 3577int 3578main () 3579{ 3580 3581 ; 3582 return 0; 3583} 3584_ACEOF 3585ac_clean_files_save=$ac_clean_files 3586ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3587# Try to create an executable without -o first, disregard a.out. 3588# It will help us diagnose broken compilers, and finding out an intuition 3589# of exeext. 3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3591$as_echo_n "checking whether the C compiler works... " >&6; } 3592ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3593 3594# The possible output files: 3595ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3596 3597ac_rmfiles= 3598for ac_file in $ac_files 3599do 3600 case $ac_file in 3601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3602 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3603 esac 3604done 3605rm -f $ac_rmfiles 3606 3607if { { ac_try="$ac_link_default" 3608case "(($ac_try" in 3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3610 *) ac_try_echo=$ac_try;; 3611esac 3612eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3613$as_echo "$ac_try_echo"; } >&5 3614 (eval "$ac_link_default") 2>&5 3615 ac_status=$? 3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3617 test $ac_status = 0; }; then : 3618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3619# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3620# in a Makefile. We should not override ac_cv_exeext if it was cached, 3621# so that the user can short-circuit this test for compilers unknown to 3622# Autoconf. 3623for ac_file in $ac_files '' 3624do 3625 test -f "$ac_file" || continue 3626 case $ac_file in 3627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3628 ;; 3629 [ab].out ) 3630 # We found the default executable, but exeext='' is most 3631 # certainly right. 3632 break;; 3633 *.* ) 3634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3635 then :; else 3636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3637 fi 3638 # We set ac_cv_exeext here because the later test for it is not 3639 # safe: cross compilers may not add the suffix if given an `-o' 3640 # argument, so we may need to know it at that point already. 3641 # Even if this section looks crufty: it has the advantage of 3642 # actually working. 3643 break;; 3644 * ) 3645 break;; 3646 esac 3647done 3648test "$ac_cv_exeext" = no && ac_cv_exeext= 3649 3650else 3651 ac_file='' 3652fi 3653if test -z "$ac_file"; then : 3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3655$as_echo "no" >&6; } 3656$as_echo "$as_me: failed program was:" >&5 3657sed 's/^/| /' conftest.$ac_ext >&5 3658 3659{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3660$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3661as_fn_error 77 "C compiler cannot create executables 3662See \`config.log' for more details" "$LINENO" 5; } 3663else 3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3665$as_echo "yes" >&6; } 3666fi 3667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3668$as_echo_n "checking for C compiler default output file name... " >&6; } 3669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3670$as_echo "$ac_file" >&6; } 3671ac_exeext=$ac_cv_exeext 3672 3673rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3674ac_clean_files=$ac_clean_files_save 3675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3676$as_echo_n "checking for suffix of executables... " >&6; } 3677if { { ac_try="$ac_link" 3678case "(($ac_try" in 3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3680 *) ac_try_echo=$ac_try;; 3681esac 3682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3683$as_echo "$ac_try_echo"; } >&5 3684 (eval "$ac_link") 2>&5 3685 ac_status=$? 3686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3687 test $ac_status = 0; }; then : 3688 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3689# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3690# work properly (i.e., refer to `conftest.exe'), while it won't with 3691# `rm'. 3692for ac_file in conftest.exe conftest conftest.*; do 3693 test -f "$ac_file" || continue 3694 case $ac_file in 3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3696 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3697 break;; 3698 * ) break;; 3699 esac 3700done 3701else 3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3703$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3704as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3705See \`config.log' for more details" "$LINENO" 5; } 3706fi 3707rm -f conftest conftest$ac_cv_exeext 3708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3709$as_echo "$ac_cv_exeext" >&6; } 3710 3711rm -f conftest.$ac_ext 3712EXEEXT=$ac_cv_exeext 3713ac_exeext=$EXEEXT 3714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3715/* end confdefs.h. */ 3716#include <stdio.h> 3717int 3718main () 3719{ 3720FILE *f = fopen ("conftest.out", "w"); 3721 return ferror (f) || fclose (f) != 0; 3722 3723 ; 3724 return 0; 3725} 3726_ACEOF 3727ac_clean_files="$ac_clean_files conftest.out" 3728# Check that the compiler produces executables we can run. If not, either 3729# the compiler is broken, or we cross compile. 3730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3731$as_echo_n "checking whether we are cross compiling... " >&6; } 3732if test "$cross_compiling" != yes; then 3733 { { ac_try="$ac_link" 3734case "(($ac_try" in 3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3736 *) ac_try_echo=$ac_try;; 3737esac 3738eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3739$as_echo "$ac_try_echo"; } >&5 3740 (eval "$ac_link") 2>&5 3741 ac_status=$? 3742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3743 test $ac_status = 0; } 3744 if { ac_try='./conftest$ac_cv_exeext' 3745 { { case "(($ac_try" in 3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3747 *) ac_try_echo=$ac_try;; 3748esac 3749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3750$as_echo "$ac_try_echo"; } >&5 3751 (eval "$ac_try") 2>&5 3752 ac_status=$? 3753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3754 test $ac_status = 0; }; }; then 3755 cross_compiling=no 3756 else 3757 if test "$cross_compiling" = maybe; then 3758 cross_compiling=yes 3759 else 3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3762as_fn_error $? "cannot run C compiled programs. 3763If you meant to cross compile, use \`--host'. 3764See \`config.log' for more details" "$LINENO" 5; } 3765 fi 3766 fi 3767fi 3768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3769$as_echo "$cross_compiling" >&6; } 3770 3771rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3772ac_clean_files=$ac_clean_files_save 3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3774$as_echo_n "checking for suffix of object files... " >&6; } 3775if ${ac_cv_objext+:} false; then : 3776 $as_echo_n "(cached) " >&6 3777else 3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3779/* end confdefs.h. */ 3780 3781int 3782main () 3783{ 3784 3785 ; 3786 return 0; 3787} 3788_ACEOF 3789rm -f conftest.o conftest.obj 3790if { { ac_try="$ac_compile" 3791case "(($ac_try" in 3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3793 *) ac_try_echo=$ac_try;; 3794esac 3795eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3796$as_echo "$ac_try_echo"; } >&5 3797 (eval "$ac_compile") 2>&5 3798 ac_status=$? 3799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3800 test $ac_status = 0; }; then : 3801 for ac_file in conftest.o conftest.obj conftest.*; do 3802 test -f "$ac_file" || continue; 3803 case $ac_file in 3804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3805 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3806 break;; 3807 esac 3808done 3809else 3810 $as_echo "$as_me: failed program was:" >&5 3811sed 's/^/| /' conftest.$ac_ext >&5 3812 3813{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3815as_fn_error $? "cannot compute suffix of object files: cannot compile 3816See \`config.log' for more details" "$LINENO" 5; } 3817fi 3818rm -f conftest.$ac_cv_objext conftest.$ac_ext 3819fi 3820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3821$as_echo "$ac_cv_objext" >&6; } 3822OBJEXT=$ac_cv_objext 3823ac_objext=$OBJEXT 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3825$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3826if ${ac_cv_c_compiler_gnu+:} false; then : 3827 $as_echo_n "(cached) " >&6 3828else 3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3830/* end confdefs.h. */ 3831 3832int 3833main () 3834{ 3835#ifndef __GNUC__ 3836 choke me 3837#endif 3838 3839 ; 3840 return 0; 3841} 3842_ACEOF 3843if ac_fn_c_try_compile "$LINENO"; then : 3844 ac_compiler_gnu=yes 3845else 3846 ac_compiler_gnu=no 3847fi 3848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3849ac_cv_c_compiler_gnu=$ac_compiler_gnu 3850 3851fi 3852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3853$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3854if test $ac_compiler_gnu = yes; then 3855 GCC=yes 3856else 3857 GCC= 3858fi 3859ac_test_CFLAGS=${CFLAGS+set} 3860ac_save_CFLAGS=$CFLAGS 3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3862$as_echo_n "checking whether $CC accepts -g... " >&6; } 3863if ${ac_cv_prog_cc_g+:} false; then : 3864 $as_echo_n "(cached) " >&6 3865else 3866 ac_save_c_werror_flag=$ac_c_werror_flag 3867 ac_c_werror_flag=yes 3868 ac_cv_prog_cc_g=no 3869 CFLAGS="-g" 3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3871/* end confdefs.h. */ 3872 3873int 3874main () 3875{ 3876 3877 ; 3878 return 0; 3879} 3880_ACEOF 3881if ac_fn_c_try_compile "$LINENO"; then : 3882 ac_cv_prog_cc_g=yes 3883else 3884 CFLAGS="" 3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3886/* end confdefs.h. */ 3887 3888int 3889main () 3890{ 3891 3892 ; 3893 return 0; 3894} 3895_ACEOF 3896if ac_fn_c_try_compile "$LINENO"; then : 3897 3898else 3899 ac_c_werror_flag=$ac_save_c_werror_flag 3900 CFLAGS="-g" 3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3902/* end confdefs.h. */ 3903 3904int 3905main () 3906{ 3907 3908 ; 3909 return 0; 3910} 3911_ACEOF 3912if ac_fn_c_try_compile "$LINENO"; then : 3913 ac_cv_prog_cc_g=yes 3914fi 3915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3916fi 3917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3918fi 3919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3920 ac_c_werror_flag=$ac_save_c_werror_flag 3921fi 3922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3923$as_echo "$ac_cv_prog_cc_g" >&6; } 3924if test "$ac_test_CFLAGS" = set; then 3925 CFLAGS=$ac_save_CFLAGS 3926elif test $ac_cv_prog_cc_g = yes; then 3927 if test "$GCC" = yes; then 3928 CFLAGS="-g -O2" 3929 else 3930 CFLAGS="-g" 3931 fi 3932else 3933 if test "$GCC" = yes; then 3934 CFLAGS="-O2" 3935 else 3936 CFLAGS= 3937 fi 3938fi 3939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3940$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3941if ${ac_cv_prog_cc_c89+:} false; then : 3942 $as_echo_n "(cached) " >&6 3943else 3944 ac_cv_prog_cc_c89=no 3945ac_save_CC=$CC 3946cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3947/* end confdefs.h. */ 3948#include <stdarg.h> 3949#include <stdio.h> 3950struct stat; 3951/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3952struct buf { int x; }; 3953FILE * (*rcsopen) (struct buf *, struct stat *, int); 3954static char *e (p, i) 3955 char **p; 3956 int i; 3957{ 3958 return p[i]; 3959} 3960static char *f (char * (*g) (char **, int), char **p, ...) 3961{ 3962 char *s; 3963 va_list v; 3964 va_start (v,p); 3965 s = g (p, va_arg (v,int)); 3966 va_end (v); 3967 return s; 3968} 3969 3970/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3971 function prototypes and stuff, but not '\xHH' hex character constants. 3972 These don't provoke an error unfortunately, instead are silently treated 3973 as 'x'. The following induces an error, until -std is added to get 3974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3975 array size at least. It's necessary to write '\x00'==0 to get something 3976 that's true only with -std. */ 3977int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3978 3979/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3980 inside strings and character constants. */ 3981#define FOO(x) 'x' 3982int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3983 3984int test (int i, double x); 3985struct s1 {int (*f) (int a);}; 3986struct s2 {int (*f) (double a);}; 3987int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3988int argc; 3989char **argv; 3990int 3991main () 3992{ 3993return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3994 ; 3995 return 0; 3996} 3997_ACEOF 3998for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4000do 4001 CC="$ac_save_CC $ac_arg" 4002 if ac_fn_c_try_compile "$LINENO"; then : 4003 ac_cv_prog_cc_c89=$ac_arg 4004fi 4005rm -f core conftest.err conftest.$ac_objext 4006 test "x$ac_cv_prog_cc_c89" != "xno" && break 4007done 4008rm -f conftest.$ac_ext 4009CC=$ac_save_CC 4010 4011fi 4012# AC_CACHE_VAL 4013case "x$ac_cv_prog_cc_c89" in 4014 x) 4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4016$as_echo "none needed" >&6; } ;; 4017 xno) 4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4019$as_echo "unsupported" >&6; } ;; 4020 *) 4021 CC="$CC $ac_cv_prog_cc_c89" 4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4023$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4024esac 4025if test "x$ac_cv_prog_cc_c89" != xno; then : 4026 4027fi 4028 4029ac_ext=c 4030ac_cpp='$CPP $CPPFLAGS' 4031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4033ac_compiler_gnu=$ac_cv_c_compiler_gnu 4034 4035ac_ext=c 4036ac_cpp='$CPP $CPPFLAGS' 4037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4039ac_compiler_gnu=$ac_cv_c_compiler_gnu 4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4041$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4042if ${am_cv_prog_cc_c_o+:} false; then : 4043 $as_echo_n "(cached) " >&6 4044else 4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4046/* end confdefs.h. */ 4047 4048int 4049main () 4050{ 4051 4052 ; 4053 return 0; 4054} 4055_ACEOF 4056 # Make sure it works both with $CC and with simple cc. 4057 # Following AC_PROG_CC_C_O, we do the test twice because some 4058 # compilers refuse to overwrite an existing .o file with -o, 4059 # though they will create one. 4060 am_cv_prog_cc_c_o=yes 4061 for am_i in 1 2; do 4062 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4063 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4064 ac_status=$? 4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4066 (exit $ac_status); } \ 4067 && test -f conftest2.$ac_objext; then 4068 : OK 4069 else 4070 am_cv_prog_cc_c_o=no 4071 break 4072 fi 4073 done 4074 rm -f core conftest* 4075 unset am_i 4076fi 4077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4078$as_echo "$am_cv_prog_cc_c_o" >&6; } 4079if test "$am_cv_prog_cc_c_o" != yes; then 4080 # Losing compiler, so override with the script. 4081 # FIXME: It is wrong to rewrite CC. 4082 # But if we don't then we get into trouble of one sort or another. 4083 # A longer-term fix would be to have automake use am__CC in this case, 4084 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4085 CC="$am_aux_dir/compile $CC" 4086fi 4087ac_ext=c 4088ac_cpp='$CPP $CPPFLAGS' 4089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4091ac_compiler_gnu=$ac_cv_c_compiler_gnu 4092 4093DEPDIR="${am__leading_dot}deps" 4094 4095ac_config_commands="$ac_config_commands depfiles" 4096 4097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 4098$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 4099cat > confinc.mk << 'END' 4100am__doit: 4101 @echo this is the am__doit target >confinc.out 4102.PHONY: am__doit 4103END 4104am__include="#" 4105am__quote= 4106# BSD make does it like this. 4107echo '.include "confinc.mk" # ignored' > confmf.BSD 4108# Other make implementations (GNU, Solaris 10, AIX) do it like this. 4109echo 'include confinc.mk # ignored' > confmf.GNU 4110_am_result=no 4111for s in GNU BSD; do 4112 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 4113 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 4114 ac_status=$? 4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4116 (exit $ac_status); } 4117 case $?:`cat confinc.out 2>/dev/null` in #( 4118 '0:this is the am__doit target') : 4119 case $s in #( 4120 BSD) : 4121 am__include='.include' am__quote='"' ;; #( 4122 *) : 4123 am__include='include' am__quote='' ;; 4124esac ;; #( 4125 *) : 4126 ;; 4127esac 4128 if test "$am__include" != "#"; then 4129 _am_result="yes ($s style)" 4130 break 4131 fi 4132done 4133rm -f confinc.* confmf.* 4134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 4135$as_echo "${_am_result}" >&6; } 4136 4137# Check whether --enable-dependency-tracking was given. 4138if test "${enable_dependency_tracking+set}" = set; then : 4139 enableval=$enable_dependency_tracking; 4140fi 4141 4142if test "x$enable_dependency_tracking" != xno; then 4143 am_depcomp="$ac_aux_dir/depcomp" 4144 AMDEPBACKSLASH='\' 4145 am__nodep='_no' 4146fi 4147 if test "x$enable_dependency_tracking" != xno; then 4148 AMDEP_TRUE= 4149 AMDEP_FALSE='#' 4150else 4151 AMDEP_TRUE='#' 4152 AMDEP_FALSE= 4153fi 4154 4155 4156 4157depcc="$CC" am_compiler_list= 4158 4159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4160$as_echo_n "checking dependency style of $depcc... " >&6; } 4161if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4162 $as_echo_n "(cached) " >&6 4163else 4164 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4165 # We make a subdir and do the tests there. Otherwise we can end up 4166 # making bogus files that we don't know about and never remove. For 4167 # instance it was reported that on HP-UX the gcc test will end up 4168 # making a dummy file named 'D' -- because '-MD' means "put the output 4169 # in D". 4170 rm -rf conftest.dir 4171 mkdir conftest.dir 4172 # Copy depcomp to subdir because otherwise we won't find it if we're 4173 # using a relative directory. 4174 cp "$am_depcomp" conftest.dir 4175 cd conftest.dir 4176 # We will build objects and dependencies in a subdirectory because 4177 # it helps to detect inapplicable dependency modes. For instance 4178 # both Tru64's cc and ICC support -MD to output dependencies as a 4179 # side effect of compilation, but ICC will put the dependencies in 4180 # the current directory while Tru64 will put them in the object 4181 # directory. 4182 mkdir sub 4183 4184 am_cv_CC_dependencies_compiler_type=none 4185 if test "$am_compiler_list" = ""; then 4186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4187 fi 4188 am__universal=false 4189 case " $depcc " in #( 4190 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4191 esac 4192 4193 for depmode in $am_compiler_list; do 4194 # Setup a source with many dependencies, because some compilers 4195 # like to wrap large dependency lists on column 80 (with \), and 4196 # we should not choose a depcomp mode which is confused by this. 4197 # 4198 # We need to recreate these files for each test, as the compiler may 4199 # overwrite some of them when testing with obscure command lines. 4200 # This happens at least with the AIX C compiler. 4201 : > sub/conftest.c 4202 for i in 1 2 3 4 5 6; do 4203 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4204 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4205 # Solaris 10 /bin/sh. 4206 echo '/* dummy */' > sub/conftst$i.h 4207 done 4208 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4209 4210 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4211 # mode. It turns out that the SunPro C++ compiler does not properly 4212 # handle '-M -o', and we need to detect this. Also, some Intel 4213 # versions had trouble with output in subdirs. 4214 am__obj=sub/conftest.${OBJEXT-o} 4215 am__minus_obj="-o $am__obj" 4216 case $depmode in 4217 gcc) 4218 # This depmode causes a compiler race in universal mode. 4219 test "$am__universal" = false || continue 4220 ;; 4221 nosideeffect) 4222 # After this tag, mechanisms are not by side-effect, so they'll 4223 # only be used when explicitly requested. 4224 if test "x$enable_dependency_tracking" = xyes; then 4225 continue 4226 else 4227 break 4228 fi 4229 ;; 4230 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4231 # This compiler won't grok '-c -o', but also, the minuso test has 4232 # not run yet. These depmodes are late enough in the game, and 4233 # so weak that their functioning should not be impacted. 4234 am__obj=conftest.${OBJEXT-o} 4235 am__minus_obj= 4236 ;; 4237 none) break ;; 4238 esac 4239 if depmode=$depmode \ 4240 source=sub/conftest.c object=$am__obj \ 4241 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4242 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4243 >/dev/null 2>conftest.err && 4244 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4245 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4246 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4247 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4248 # icc doesn't choke on unknown options, it will just issue warnings 4249 # or remarks (even with -Werror). So we grep stderr for any message 4250 # that says an option was ignored or not supported. 4251 # When given -MP, icc 7.0 and 7.1 complain thusly: 4252 # icc: Command line warning: ignoring option '-M'; no argument required 4253 # The diagnosis changed in icc 8.0: 4254 # icc: Command line remark: option '-MP' not supported 4255 if (grep 'ignoring option' conftest.err || 4256 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4257 am_cv_CC_dependencies_compiler_type=$depmode 4258 break 4259 fi 4260 fi 4261 done 4262 4263 cd .. 4264 rm -rf conftest.dir 4265else 4266 am_cv_CC_dependencies_compiler_type=none 4267fi 4268 4269fi 4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4271$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4272CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4273 4274 if 4275 test "x$enable_dependency_tracking" != xno \ 4276 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4277 am__fastdepCC_TRUE= 4278 am__fastdepCC_FALSE='#' 4279else 4280 am__fastdepCC_TRUE='#' 4281 am__fastdepCC_FALSE= 4282fi 4283 4284 4285 4286ac_ext=c 4287ac_cpp='$CPP $CPPFLAGS' 4288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4290ac_compiler_gnu=$ac_cv_c_compiler_gnu 4291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4292$as_echo_n "checking how to run the C preprocessor... " >&6; } 4293# On Suns, sometimes $CPP names a directory. 4294if test -n "$CPP" && test -d "$CPP"; then 4295 CPP= 4296fi 4297if test -z "$CPP"; then 4298 if ${ac_cv_prog_CPP+:} false; then : 4299 $as_echo_n "(cached) " >&6 4300else 4301 # Double quotes because CPP needs to be expanded 4302 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4303 do 4304 ac_preproc_ok=false 4305for ac_c_preproc_warn_flag in '' yes 4306do 4307 # Use a header file that comes with gcc, so configuring glibc 4308 # with a fresh cross-compiler works. 4309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4310 # <limits.h> exists even on freestanding compilers. 4311 # On the NeXT, cc -E runs the code through the compiler's parser, 4312 # not just through cpp. "Syntax error" is here to catch this case. 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4314/* end confdefs.h. */ 4315#ifdef __STDC__ 4316# include <limits.h> 4317#else 4318# include <assert.h> 4319#endif 4320 Syntax error 4321_ACEOF 4322if ac_fn_c_try_cpp "$LINENO"; then : 4323 4324else 4325 # Broken: fails on valid input. 4326continue 4327fi 4328rm -f conftest.err conftest.i conftest.$ac_ext 4329 4330 # OK, works on sane cases. Now check whether nonexistent headers 4331 # can be detected and how. 4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4333/* end confdefs.h. */ 4334#include <ac_nonexistent.h> 4335_ACEOF 4336if ac_fn_c_try_cpp "$LINENO"; then : 4337 # Broken: success on invalid input. 4338continue 4339else 4340 # Passes both tests. 4341ac_preproc_ok=: 4342break 4343fi 4344rm -f conftest.err conftest.i conftest.$ac_ext 4345 4346done 4347# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4348rm -f conftest.i conftest.err conftest.$ac_ext 4349if $ac_preproc_ok; then : 4350 break 4351fi 4352 4353 done 4354 ac_cv_prog_CPP=$CPP 4355 4356fi 4357 CPP=$ac_cv_prog_CPP 4358else 4359 ac_cv_prog_CPP=$CPP 4360fi 4361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4362$as_echo "$CPP" >&6; } 4363ac_preproc_ok=false 4364for ac_c_preproc_warn_flag in '' yes 4365do 4366 # Use a header file that comes with gcc, so configuring glibc 4367 # with a fresh cross-compiler works. 4368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4369 # <limits.h> exists even on freestanding compilers. 4370 # On the NeXT, cc -E runs the code through the compiler's parser, 4371 # not just through cpp. "Syntax error" is here to catch this case. 4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4373/* end confdefs.h. */ 4374#ifdef __STDC__ 4375# include <limits.h> 4376#else 4377# include <assert.h> 4378#endif 4379 Syntax error 4380_ACEOF 4381if ac_fn_c_try_cpp "$LINENO"; then : 4382 4383else 4384 # Broken: fails on valid input. 4385continue 4386fi 4387rm -f conftest.err conftest.i conftest.$ac_ext 4388 4389 # OK, works on sane cases. Now check whether nonexistent headers 4390 # can be detected and how. 4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4392/* end confdefs.h. */ 4393#include <ac_nonexistent.h> 4394_ACEOF 4395if ac_fn_c_try_cpp "$LINENO"; then : 4396 # Broken: success on invalid input. 4397continue 4398else 4399 # Passes both tests. 4400ac_preproc_ok=: 4401break 4402fi 4403rm -f conftest.err conftest.i conftest.$ac_ext 4404 4405done 4406# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4407rm -f conftest.i conftest.err conftest.$ac_ext 4408if $ac_preproc_ok; then : 4409 4410else 4411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4412$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4413as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4414See \`config.log' for more details" "$LINENO" 5; } 4415fi 4416 4417ac_ext=c 4418ac_cpp='$CPP $CPPFLAGS' 4419ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4420ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4421ac_compiler_gnu=$ac_cv_c_compiler_gnu 4422 4423 4424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4425$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4426if ${ac_cv_path_GREP+:} false; then : 4427 $as_echo_n "(cached) " >&6 4428else 4429 if test -z "$GREP"; then 4430 ac_path_GREP_found=false 4431 # Loop through the user's path and test for each of PROGNAME-LIST 4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4433for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4434do 4435 IFS=$as_save_IFS 4436 test -z "$as_dir" && as_dir=. 4437 for ac_prog in grep ggrep; do 4438 for ac_exec_ext in '' $ac_executable_extensions; do 4439 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4440 as_fn_executable_p "$ac_path_GREP" || continue 4441# Check for GNU ac_path_GREP and select it if it is found. 4442 # Check for GNU $ac_path_GREP 4443case `"$ac_path_GREP" --version 2>&1` in 4444*GNU*) 4445 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4446*) 4447 ac_count=0 4448 $as_echo_n 0123456789 >"conftest.in" 4449 while : 4450 do 4451 cat "conftest.in" "conftest.in" >"conftest.tmp" 4452 mv "conftest.tmp" "conftest.in" 4453 cp "conftest.in" "conftest.nl" 4454 $as_echo 'GREP' >> "conftest.nl" 4455 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4457 as_fn_arith $ac_count + 1 && ac_count=$as_val 4458 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4459 # Best one so far, save it but keep looking for a better one 4460 ac_cv_path_GREP="$ac_path_GREP" 4461 ac_path_GREP_max=$ac_count 4462 fi 4463 # 10*(2^10) chars as input seems more than enough 4464 test $ac_count -gt 10 && break 4465 done 4466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4467esac 4468 4469 $ac_path_GREP_found && break 3 4470 done 4471 done 4472 done 4473IFS=$as_save_IFS 4474 if test -z "$ac_cv_path_GREP"; then 4475 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4476 fi 4477else 4478 ac_cv_path_GREP=$GREP 4479fi 4480 4481fi 4482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4483$as_echo "$ac_cv_path_GREP" >&6; } 4484 GREP="$ac_cv_path_GREP" 4485 4486 4487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4488$as_echo_n "checking for egrep... " >&6; } 4489if ${ac_cv_path_EGREP+:} false; then : 4490 $as_echo_n "(cached) " >&6 4491else 4492 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4493 then ac_cv_path_EGREP="$GREP -E" 4494 else 4495 if test -z "$EGREP"; then 4496 ac_path_EGREP_found=false 4497 # Loop through the user's path and test for each of PROGNAME-LIST 4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4499for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4500do 4501 IFS=$as_save_IFS 4502 test -z "$as_dir" && as_dir=. 4503 for ac_prog in egrep; do 4504 for ac_exec_ext in '' $ac_executable_extensions; do 4505 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4506 as_fn_executable_p "$ac_path_EGREP" || continue 4507# Check for GNU ac_path_EGREP and select it if it is found. 4508 # Check for GNU $ac_path_EGREP 4509case `"$ac_path_EGREP" --version 2>&1` in 4510*GNU*) 4511 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4512*) 4513 ac_count=0 4514 $as_echo_n 0123456789 >"conftest.in" 4515 while : 4516 do 4517 cat "conftest.in" "conftest.in" >"conftest.tmp" 4518 mv "conftest.tmp" "conftest.in" 4519 cp "conftest.in" "conftest.nl" 4520 $as_echo 'EGREP' >> "conftest.nl" 4521 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4522 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4523 as_fn_arith $ac_count + 1 && ac_count=$as_val 4524 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4525 # Best one so far, save it but keep looking for a better one 4526 ac_cv_path_EGREP="$ac_path_EGREP" 4527 ac_path_EGREP_max=$ac_count 4528 fi 4529 # 10*(2^10) chars as input seems more than enough 4530 test $ac_count -gt 10 && break 4531 done 4532 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4533esac 4534 4535 $ac_path_EGREP_found && break 3 4536 done 4537 done 4538 done 4539IFS=$as_save_IFS 4540 if test -z "$ac_cv_path_EGREP"; then 4541 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4542 fi 4543else 4544 ac_cv_path_EGREP=$EGREP 4545fi 4546 4547 fi 4548fi 4549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4550$as_echo "$ac_cv_path_EGREP" >&6; } 4551 EGREP="$ac_cv_path_EGREP" 4552 4553 4554 4555 4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 4557$as_echo_n "checking for Minix Amsterdam compiler... " >&6; } 4558if ${gl_cv_c_amsterdam_compiler+:} false; then : 4559 $as_echo_n "(cached) " >&6 4560else 4561 4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4563/* end confdefs.h. */ 4564 4565#ifdef __ACK__ 4566Amsterdam 4567#endif 4568 4569_ACEOF 4570if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4571 $EGREP "Amsterdam" >/dev/null 2>&1; then : 4572 gl_cv_c_amsterdam_compiler=yes 4573else 4574 gl_cv_c_amsterdam_compiler=no 4575fi 4576rm -f conftest* 4577 4578 4579fi 4580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 4581$as_echo "$gl_cv_c_amsterdam_compiler" >&6; } 4582 if test -z "$AR"; then 4583 if test $gl_cv_c_amsterdam_compiler = yes; then 4584 AR='cc -c.a' 4585 if test -z "$ARFLAGS"; then 4586 ARFLAGS='-o' 4587 fi 4588 else 4589 if test -n "$ac_tool_prefix"; then 4590 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 4591set dummy ${ac_tool_prefix}ar; ac_word=$2 4592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4593$as_echo_n "checking for $ac_word... " >&6; } 4594if ${ac_cv_prog_AR+:} false; then : 4595 $as_echo_n "(cached) " >&6 4596else 4597 if test -n "$AR"; then 4598 ac_cv_prog_AR="$AR" # Let the user override the test. 4599else 4600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4601for as_dir in $PATH 4602do 4603 IFS=$as_save_IFS 4604 test -z "$as_dir" && as_dir=. 4605 for ac_exec_ext in '' $ac_executable_extensions; do 4606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4607 ac_cv_prog_AR="${ac_tool_prefix}ar" 4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4609 break 2 4610 fi 4611done 4612 done 4613IFS=$as_save_IFS 4614 4615fi 4616fi 4617AR=$ac_cv_prog_AR 4618if test -n "$AR"; then 4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4620$as_echo "$AR" >&6; } 4621else 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4623$as_echo "no" >&6; } 4624fi 4625 4626 4627fi 4628if test -z "$ac_cv_prog_AR"; then 4629 ac_ct_AR=$AR 4630 # Extract the first word of "ar", so it can be a program name with args. 4631set dummy ar; ac_word=$2 4632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4633$as_echo_n "checking for $ac_word... " >&6; } 4634if ${ac_cv_prog_ac_ct_AR+:} false; then : 4635 $as_echo_n "(cached) " >&6 4636else 4637 if test -n "$ac_ct_AR"; then 4638 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4639else 4640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4641for as_dir in $PATH 4642do 4643 IFS=$as_save_IFS 4644 test -z "$as_dir" && as_dir=. 4645 for ac_exec_ext in '' $ac_executable_extensions; do 4646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4647 ac_cv_prog_ac_ct_AR="ar" 4648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4649 break 2 4650 fi 4651done 4652 done 4653IFS=$as_save_IFS 4654 4655fi 4656fi 4657ac_ct_AR=$ac_cv_prog_ac_ct_AR 4658if test -n "$ac_ct_AR"; then 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4660$as_echo "$ac_ct_AR" >&6; } 4661else 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4663$as_echo "no" >&6; } 4664fi 4665 4666 if test "x$ac_ct_AR" = x; then 4667 AR="ar" 4668 else 4669 case $cross_compiling:$ac_tool_warned in 4670yes:) 4671{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4672$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4673ac_tool_warned=yes ;; 4674esac 4675 AR=$ac_ct_AR 4676 fi 4677else 4678 AR="$ac_cv_prog_AR" 4679fi 4680 4681 if test -z "$ARFLAGS"; then 4682 ARFLAGS='cr' 4683 fi 4684 fi 4685 else 4686 if test -z "$ARFLAGS"; then 4687 ARFLAGS='cr' 4688 fi 4689 fi 4690 4691 4692 if test -z "$RANLIB"; then 4693 if test $gl_cv_c_amsterdam_compiler = yes; then 4694 RANLIB=':' 4695 else 4696 if test -n "$ac_tool_prefix"; then 4697 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4698set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4700$as_echo_n "checking for $ac_word... " >&6; } 4701if ${ac_cv_prog_RANLIB+:} false; then : 4702 $as_echo_n "(cached) " >&6 4703else 4704 if test -n "$RANLIB"; then 4705 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4706else 4707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4708for as_dir in $PATH 4709do 4710 IFS=$as_save_IFS 4711 test -z "$as_dir" && as_dir=. 4712 for ac_exec_ext in '' $ac_executable_extensions; do 4713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4714 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4716 break 2 4717 fi 4718done 4719 done 4720IFS=$as_save_IFS 4721 4722fi 4723fi 4724RANLIB=$ac_cv_prog_RANLIB 4725if test -n "$RANLIB"; then 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4727$as_echo "$RANLIB" >&6; } 4728else 4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4730$as_echo "no" >&6; } 4731fi 4732 4733 4734fi 4735if test -z "$ac_cv_prog_RANLIB"; then 4736 ac_ct_RANLIB=$RANLIB 4737 # Extract the first word of "ranlib", so it can be a program name with args. 4738set dummy ranlib; ac_word=$2 4739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4740$as_echo_n "checking for $ac_word... " >&6; } 4741if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4742 $as_echo_n "(cached) " >&6 4743else 4744 if test -n "$ac_ct_RANLIB"; then 4745 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4746else 4747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4748for as_dir in $PATH 4749do 4750 IFS=$as_save_IFS 4751 test -z "$as_dir" && as_dir=. 4752 for ac_exec_ext in '' $ac_executable_extensions; do 4753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4754 ac_cv_prog_ac_ct_RANLIB="ranlib" 4755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4756 break 2 4757 fi 4758done 4759 done 4760IFS=$as_save_IFS 4761 4762fi 4763fi 4764ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4765if test -n "$ac_ct_RANLIB"; then 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4767$as_echo "$ac_ct_RANLIB" >&6; } 4768else 4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4770$as_echo "no" >&6; } 4771fi 4772 4773 if test "x$ac_ct_RANLIB" = x; then 4774 RANLIB=":" 4775 else 4776 case $cross_compiling:$ac_tool_warned in 4777yes:) 4778{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4779$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4780ac_tool_warned=yes ;; 4781esac 4782 RANLIB=$ac_ct_RANLIB 4783 fi 4784else 4785 RANLIB="$ac_cv_prog_RANLIB" 4786fi 4787 4788 fi 4789 fi 4790 4791 4792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4793$as_echo_n "checking for ANSI C header files... " >&6; } 4794if ${ac_cv_header_stdc+:} false; then : 4795 $as_echo_n "(cached) " >&6 4796else 4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4798/* end confdefs.h. */ 4799#include <stdlib.h> 4800#include <stdarg.h> 4801#include <string.h> 4802#include <float.h> 4803 4804int 4805main () 4806{ 4807 4808 ; 4809 return 0; 4810} 4811_ACEOF 4812if ac_fn_c_try_compile "$LINENO"; then : 4813 ac_cv_header_stdc=yes 4814else 4815 ac_cv_header_stdc=no 4816fi 4817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4818 4819if test $ac_cv_header_stdc = yes; then 4820 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4822/* end confdefs.h. */ 4823#include <string.h> 4824 4825_ACEOF 4826if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4827 $EGREP "memchr" >/dev/null 2>&1; then : 4828 4829else 4830 ac_cv_header_stdc=no 4831fi 4832rm -f conftest* 4833 4834fi 4835 4836if test $ac_cv_header_stdc = yes; then 4837 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4839/* end confdefs.h. */ 4840#include <stdlib.h> 4841 4842_ACEOF 4843if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4844 $EGREP "free" >/dev/null 2>&1; then : 4845 4846else 4847 ac_cv_header_stdc=no 4848fi 4849rm -f conftest* 4850 4851fi 4852 4853if test $ac_cv_header_stdc = yes; then 4854 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4855 if test "$cross_compiling" = yes; then : 4856 : 4857else 4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4859/* end confdefs.h. */ 4860#include <ctype.h> 4861#include <stdlib.h> 4862#if ((' ' & 0x0FF) == 0x020) 4863# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4864# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4865#else 4866# define ISLOWER(c) \ 4867 (('a' <= (c) && (c) <= 'i') \ 4868 || ('j' <= (c) && (c) <= 'r') \ 4869 || ('s' <= (c) && (c) <= 'z')) 4870# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4871#endif 4872 4873#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4874int 4875main () 4876{ 4877 int i; 4878 for (i = 0; i < 256; i++) 4879 if (XOR (islower (i), ISLOWER (i)) 4880 || toupper (i) != TOUPPER (i)) 4881 return 2; 4882 return 0; 4883} 4884_ACEOF 4885if ac_fn_c_try_run "$LINENO"; then : 4886 4887else 4888 ac_cv_header_stdc=no 4889fi 4890rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4891 conftest.$ac_objext conftest.beam conftest.$ac_ext 4892fi 4893 4894fi 4895fi 4896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4897$as_echo "$ac_cv_header_stdc" >&6; } 4898if test $ac_cv_header_stdc = yes; then 4899 4900$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4901 4902fi 4903 4904# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4905for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4906 inttypes.h stdint.h unistd.h 4907do : 4908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4909ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4910" 4911if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4912 cat >>confdefs.h <<_ACEOF 4913#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4914_ACEOF 4915 4916fi 4917 4918done 4919 4920 4921 4922 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4923if test "x$ac_cv_header_minix_config_h" = xyes; then : 4924 MINIX=yes 4925else 4926 MINIX= 4927fi 4928 4929 4930 if test "$MINIX" = yes; then 4931 4932$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4933 4934 4935$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4936 4937 4938$as_echo "#define _MINIX 1" >>confdefs.h 4939 4940 4941$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h 4942 4943 fi 4944 4945 4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4947$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4948if ${ac_cv_safe_to_define___extensions__+:} false; then : 4949 $as_echo_n "(cached) " >&6 4950else 4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4952/* end confdefs.h. */ 4953 4954# define __EXTENSIONS__ 1 4955 $ac_includes_default 4956int 4957main () 4958{ 4959 4960 ; 4961 return 0; 4962} 4963_ACEOF 4964if ac_fn_c_try_compile "$LINENO"; then : 4965 ac_cv_safe_to_define___extensions__=yes 4966else 4967 ac_cv_safe_to_define___extensions__=no 4968fi 4969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4970fi 4971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4972$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4973 test $ac_cv_safe_to_define___extensions__ = yes && 4974 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4975 4976 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4977 4978 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h 4979 4980 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4981 4982 $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h 4983 4984 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4985 4986 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4987 4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 4989$as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; } 4990if ${ac_cv_should_define__xopen_source+:} false; then : 4991 $as_echo_n "(cached) " >&6 4992else 4993 ac_cv_should_define__xopen_source=no 4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4995/* end confdefs.h. */ 4996 4997 #include <wchar.h> 4998 mbstate_t x; 4999int 5000main () 5001{ 5002 5003 ; 5004 return 0; 5005} 5006_ACEOF 5007if ac_fn_c_try_compile "$LINENO"; then : 5008 5009else 5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5011/* end confdefs.h. */ 5012 5013 #define _XOPEN_SOURCE 500 5014 #include <wchar.h> 5015 mbstate_t x; 5016int 5017main () 5018{ 5019 5020 ; 5021 return 0; 5022} 5023_ACEOF 5024if ac_fn_c_try_compile "$LINENO"; then : 5025 ac_cv_should_define__xopen_source=yes 5026fi 5027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5028fi 5029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5030fi 5031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 5032$as_echo "$ac_cv_should_define__xopen_source" >&6; } 5033 test $ac_cv_should_define__xopen_source = yes && 5034 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 # Code from module absolute-header: 5046 # Code from module extensions: 5047 5048 # Code from module include_next: 5049 # Code from module inttypes: 5050 # Code from module inttypes-incomplete: 5051 # Code from module multiarch: 5052 # Code from module snippet/arg-nonnull: 5053 # Code from module snippet/c++defs: 5054 # Code from module snippet/warn-on-use: 5055 # Code from module ssize_t: 5056 # Code from module stdint: 5057 # Code from module sys_types: 5058 5059 5060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5061$as_echo_n "checking whether ln -s works... " >&6; } 5062LN_S=$as_ln_s 5063if test "$LN_S" = "ln -s"; then 5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5065$as_echo "yes" >&6; } 5066else 5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5068$as_echo "no, using $LN_S" >&6; } 5069fi 5070 5071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5072$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5073if ${ac_cv_path_SED+:} false; then : 5074 $as_echo_n "(cached) " >&6 5075else 5076 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5077 for ac_i in 1 2 3 4 5 6 7; do 5078 ac_script="$ac_script$as_nl$ac_script" 5079 done 5080 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5081 { ac_script=; unset ac_script;} 5082 if test -z "$SED"; then 5083 ac_path_SED_found=false 5084 # Loop through the user's path and test for each of PROGNAME-LIST 5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5086for as_dir in $PATH 5087do 5088 IFS=$as_save_IFS 5089 test -z "$as_dir" && as_dir=. 5090 for ac_prog in sed gsed; do 5091 for ac_exec_ext in '' $ac_executable_extensions; do 5092 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5093 as_fn_executable_p "$ac_path_SED" || continue 5094# Check for GNU ac_path_SED and select it if it is found. 5095 # Check for GNU $ac_path_SED 5096case `"$ac_path_SED" --version 2>&1` in 5097*GNU*) 5098 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5099*) 5100 ac_count=0 5101 $as_echo_n 0123456789 >"conftest.in" 5102 while : 5103 do 5104 cat "conftest.in" "conftest.in" >"conftest.tmp" 5105 mv "conftest.tmp" "conftest.in" 5106 cp "conftest.in" "conftest.nl" 5107 $as_echo '' >> "conftest.nl" 5108 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5110 as_fn_arith $ac_count + 1 && ac_count=$as_val 5111 if test $ac_count -gt ${ac_path_SED_max-0}; then 5112 # Best one so far, save it but keep looking for a better one 5113 ac_cv_path_SED="$ac_path_SED" 5114 ac_path_SED_max=$ac_count 5115 fi 5116 # 10*(2^10) chars as input seems more than enough 5117 test $ac_count -gt 10 && break 5118 done 5119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5120esac 5121 5122 $ac_path_SED_found && break 3 5123 done 5124 done 5125 done 5126IFS=$as_save_IFS 5127 if test -z "$ac_cv_path_SED"; then 5128 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5129 fi 5130else 5131 ac_cv_path_SED=$SED 5132fi 5133 5134fi 5135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5136$as_echo "$ac_cv_path_SED" >&6; } 5137 SED="$ac_cv_path_SED" 5138 rm -f conftest.sed 5139 5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5141$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5142set x ${MAKE-make} 5143ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5144if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5145 $as_echo_n "(cached) " >&6 5146else 5147 cat >conftest.make <<\_ACEOF 5148SHELL = /bin/sh 5149all: 5150 @echo '@@@%%%=$(MAKE)=@@@%%%' 5151_ACEOF 5152# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5153case `${MAKE-make} -f conftest.make 2>/dev/null` in 5154 *@@@%%%=?*=@@@%%%*) 5155 eval ac_cv_prog_make_${ac_make}_set=yes;; 5156 *) 5157 eval ac_cv_prog_make_${ac_make}_set=no;; 5158esac 5159rm -f conftest.make 5160fi 5161if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5163$as_echo "yes" >&6; } 5164 SET_MAKE= 5165else 5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5167$as_echo "no" >&6; } 5168 SET_MAKE="MAKE=${MAKE-make}" 5169fi 5170 5171 5172 5173# Extract the first word of "chmod", so it can be a program name with args. 5174set dummy chmod; ac_word=$2 5175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5176$as_echo_n "checking for $ac_word... " >&6; } 5177if ${ac_cv_path_CHMOD+:} false; then : 5178 $as_echo_n "(cached) " >&6 5179else 5180 case $CHMOD in 5181 [\\/]* | ?:[\\/]*) 5182 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path. 5183 ;; 5184 *) 5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5186for as_dir in $PATH 5187do 5188 IFS=$as_save_IFS 5189 test -z "$as_dir" && as_dir=. 5190 for ac_exec_ext in '' $ac_executable_extensions; do 5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5192 ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext" 5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5194 break 2 5195 fi 5196done 5197 done 5198IFS=$as_save_IFS 5199 5200 ;; 5201esac 5202fi 5203CHMOD=$ac_cv_path_CHMOD 5204if test -n "$CHMOD"; then 5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5 5206$as_echo "$CHMOD" >&6; } 5207else 5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5209$as_echo "no" >&6; } 5210fi 5211 5212 5213 5214 5215# Extract the first word of "dd", so it can be a program name with args. 5216set dummy dd; ac_word=$2 5217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5218$as_echo_n "checking for $ac_word... " >&6; } 5219if ${ac_cv_path_DD+:} false; then : 5220 $as_echo_n "(cached) " >&6 5221else 5222 case $DD in 5223 [\\/]* | ?:[\\/]*) 5224 ac_cv_path_DD="$DD" # Let the user override the test with a path. 5225 ;; 5226 *) 5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5228for as_dir in $PATH 5229do 5230 IFS=$as_save_IFS 5231 test -z "$as_dir" && as_dir=. 5232 for ac_exec_ext in '' $ac_executable_extensions; do 5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5234 ac_cv_path_DD="$as_dir/$ac_word$ac_exec_ext" 5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5236 break 2 5237 fi 5238done 5239 done 5240IFS=$as_save_IFS 5241 5242 ;; 5243esac 5244fi 5245DD=$ac_cv_path_DD 5246if test -n "$DD"; then 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DD" >&5 5248$as_echo "$DD" >&6; } 5249else 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5251$as_echo "no" >&6; } 5252fi 5253 5254 5255 5256 5257# Extract the first word of "mkfs.ext2", so it can be a program name with args. 5258set dummy mkfs.ext2; ac_word=$2 5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5260$as_echo_n "checking for $ac_word... " >&6; } 5261if ${ac_cv_path_MKE2FS+:} false; then : 5262 $as_echo_n "(cached) " >&6 5263else 5264 case $MKE2FS in 5265 [\\/]* | ?:[\\/]*) 5266 ac_cv_path_MKE2FS="$MKE2FS" # Let the user override the test with a path. 5267 ;; 5268 *) 5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5270for as_dir in $PATH 5271do 5272 IFS=$as_save_IFS 5273 test -z "$as_dir" && as_dir=. 5274 for ac_exec_ext in '' $ac_executable_extensions; do 5275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5276 ac_cv_path_MKE2FS="$as_dir/$ac_word$ac_exec_ext" 5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5278 break 2 5279 fi 5280done 5281 done 5282IFS=$as_save_IFS 5283 5284 ;; 5285esac 5286fi 5287MKE2FS=$ac_cv_path_MKE2FS 5288if test -n "$MKE2FS"; then 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKE2FS" >&5 5290$as_echo "$MKE2FS" >&6; } 5291else 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5293$as_echo "no" >&6; } 5294fi 5295 5296 5297 5298 5299 5300 5301 5302 5303 LIBC_FATAL_STDERR_=1 5304 export LIBC_FATAL_STDERR_ 5305 5306 5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 5308$as_echo_n "checking for unsigned long long int... " >&6; } 5309if ${ac_cv_type_unsigned_long_long_int+:} false; then : 5310 $as_echo_n "(cached) " >&6 5311else 5312 ac_cv_type_unsigned_long_long_int=yes 5313 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5315/* end confdefs.h. */ 5316 5317 /* For now, do not test the preprocessor; as of 2007 there are too many 5318 implementations with broken preprocessors. Perhaps this can 5319 be revisited in 2012. In the meantime, code should not expect 5320 #if to work with literals wider than 32 bits. */ 5321 /* Test literals. */ 5322 long long int ll = 9223372036854775807ll; 5323 long long int nll = -9223372036854775807LL; 5324 unsigned long long int ull = 18446744073709551615ULL; 5325 /* Test constant expressions. */ 5326 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 5327 ? 1 : -1)]; 5328 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 5329 ? 1 : -1)]; 5330 int i = 63; 5331int 5332main () 5333{ 5334/* Test availability of runtime routines for shift and division. */ 5335 long long int llmax = 9223372036854775807ll; 5336 unsigned long long int ullmax = 18446744073709551615ull; 5337 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 5338 | (llmax / ll) | (llmax % ll) 5339 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 5340 | (ullmax / ull) | (ullmax % ull)); 5341 ; 5342 return 0; 5343} 5344 5345_ACEOF 5346if ac_fn_c_try_link "$LINENO"; then : 5347 5348else 5349 ac_cv_type_unsigned_long_long_int=no 5350fi 5351rm -f core conftest.err conftest.$ac_objext \ 5352 conftest$ac_exeext conftest.$ac_ext 5353 fi 5354fi 5355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 5356$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } 5357 if test $ac_cv_type_unsigned_long_long_int = yes; then 5358 5359$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h 5360 5361 fi 5362 5363 5364 5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 5366$as_echo_n "checking for long long int... " >&6; } 5367if ${ac_cv_type_long_long_int+:} false; then : 5368 $as_echo_n "(cached) " >&6 5369else 5370 ac_cv_type_long_long_int=yes 5371 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 5372 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int 5373 if test $ac_cv_type_long_long_int = yes; then 5374 if test "$cross_compiling" = yes; then : 5375 : 5376else 5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5378/* end confdefs.h. */ 5379#include <limits.h> 5380 #ifndef LLONG_MAX 5381 # define HALF \ 5382 (1LL << (sizeof (long long int) * CHAR_BIT - 2)) 5383 # define LLONG_MAX (HALF - 1 + HALF) 5384 #endif 5385int 5386main () 5387{ 5388long long int n = 1; 5389 int i; 5390 for (i = 0; ; i++) 5391 { 5392 long long int m = n << i; 5393 if (m >> i != n) 5394 return 1; 5395 if (LLONG_MAX / 2 < m) 5396 break; 5397 } 5398 return 0; 5399 ; 5400 return 0; 5401} 5402_ACEOF 5403if ac_fn_c_try_run "$LINENO"; then : 5404 5405else 5406 ac_cv_type_long_long_int=no 5407fi 5408rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5409 conftest.$ac_objext conftest.beam conftest.$ac_ext 5410fi 5411 5412 fi 5413 fi 5414fi 5415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 5416$as_echo "$ac_cv_type_long_long_int" >&6; } 5417 if test $ac_cv_type_long_long_int = yes; then 5418 5419$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h 5420 5421 fi 5422 5423 5424 5425 5426 5427 for ac_header in $gl_header_list 5428do : 5429 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5430ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5431if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5432 cat >>confdefs.h <<_ACEOF 5433#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5434_ACEOF 5435 5436fi 5437 5438done 5439 5440 5441 5442 5443 5444 5445 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 5447$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } 5448if ${gl_cv_have_include_next+:} false; then : 5449 $as_echo_n "(cached) " >&6 5450else 5451 rm -rf conftestd1a conftestd1b conftestd2 5452 mkdir conftestd1a conftestd1b conftestd2 5453 cat <<EOF > conftestd1a/conftest.h 5454#define DEFINED_IN_CONFTESTD1 5455#include_next <conftest.h> 5456#ifdef DEFINED_IN_CONFTESTD2 5457int foo; 5458#else 5459#error "include_next doesn't work" 5460#endif 5461EOF 5462 cat <<EOF > conftestd1b/conftest.h 5463#define DEFINED_IN_CONFTESTD1 5464#include <stdio.h> 5465#include_next <conftest.h> 5466#ifdef DEFINED_IN_CONFTESTD2 5467int foo; 5468#else 5469#error "include_next doesn't work" 5470#endif 5471EOF 5472 cat <<EOF > conftestd2/conftest.h 5473#ifndef DEFINED_IN_CONFTESTD1 5474#error "include_next test doesn't work" 5475#endif 5476#define DEFINED_IN_CONFTESTD2 5477EOF 5478 gl_save_CPPFLAGS="$CPPFLAGS" 5479 CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" 5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5481/* end confdefs.h. */ 5482#include <conftest.h> 5483_ACEOF 5484if ac_fn_c_try_compile "$LINENO"; then : 5485 gl_cv_have_include_next=yes 5486else 5487 CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" 5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5489/* end confdefs.h. */ 5490#include <conftest.h> 5491_ACEOF 5492if ac_fn_c_try_compile "$LINENO"; then : 5493 gl_cv_have_include_next=buggy 5494else 5495 gl_cv_have_include_next=no 5496fi 5497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5498 5499fi 5500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5501 CPPFLAGS="$gl_save_CPPFLAGS" 5502 rm -rf conftestd1a conftestd1b conftestd2 5503 5504fi 5505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 5506$as_echo "$gl_cv_have_include_next" >&6; } 5507 PRAGMA_SYSTEM_HEADER= 5508 if test $gl_cv_have_include_next = yes; then 5509 INCLUDE_NEXT=include_next 5510 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next 5511 if test -n "$GCC"; then 5512 PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' 5513 fi 5514 else 5515 if test $gl_cv_have_include_next = buggy; then 5516 INCLUDE_NEXT=include 5517 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next 5518 else 5519 INCLUDE_NEXT=include 5520 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include 5521 fi 5522 fi 5523 5524 5525 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 5527$as_echo_n "checking whether system header files limit the line length... " >&6; } 5528if ${gl_cv_pragma_columns+:} false; then : 5529 $as_echo_n "(cached) " >&6 5530else 5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5532/* end confdefs.h. */ 5533 5534#ifdef __TANDEM 5535choke me 5536#endif 5537 5538_ACEOF 5539if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5540 $EGREP "choke me" >/dev/null 2>&1; then : 5541 gl_cv_pragma_columns=yes 5542else 5543 gl_cv_pragma_columns=no 5544fi 5545rm -f conftest* 5546 5547 5548fi 5549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 5550$as_echo "$gl_cv_pragma_columns" >&6; } 5551 if test $gl_cv_pragma_columns = yes; then 5552 PRAGMA_COLUMNS="#pragma COLUMNS 10000" 5553 else 5554 PRAGMA_COLUMNS= 5555 fi 5556 5557 5558# Make sure we can run config.sub. 5559$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5560 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5561 5562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5563$as_echo_n "checking build system type... " >&6; } 5564if ${ac_cv_build+:} false; then : 5565 $as_echo_n "(cached) " >&6 5566else 5567 ac_build_alias=$build_alias 5568test "x$ac_build_alias" = x && 5569 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5570test "x$ac_build_alias" = x && 5571 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 5572ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5573 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5574 5575fi 5576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5577$as_echo "$ac_cv_build" >&6; } 5578case $ac_cv_build in 5579*-*-*) ;; 5580*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 5581esac 5582build=$ac_cv_build 5583ac_save_IFS=$IFS; IFS='-' 5584set x $ac_cv_build 5585shift 5586build_cpu=$1 5587build_vendor=$2 5588shift; shift 5589# Remember, the first character of IFS is used to create $*, 5590# except with old shells: 5591build_os=$* 5592IFS=$ac_save_IFS 5593case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5594 5595 5596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5597$as_echo_n "checking host system type... " >&6; } 5598if ${ac_cv_host+:} false; then : 5599 $as_echo_n "(cached) " >&6 5600else 5601 if test "x$host_alias" = x; then 5602 ac_cv_host=$ac_cv_build 5603else 5604 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5605 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5606fi 5607 5608fi 5609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5610$as_echo "$ac_cv_host" >&6; } 5611case $ac_cv_host in 5612*-*-*) ;; 5613*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5614esac 5615host=$ac_cv_host 5616ac_save_IFS=$IFS; IFS='-' 5617set x $ac_cv_host 5618shift 5619host_cpu=$1 5620host_vendor=$2 5621shift; shift 5622# Remember, the first character of IFS is used to create $*, 5623# except with old shells: 5624host_os=$* 5625IFS=$ac_save_IFS 5626case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5627 5628 5629 5630 5631 5632 5633 5634 5635 gl_cv_c_multiarch=no 5636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5637/* end confdefs.h. */ 5638#ifndef __APPLE_CC__ 5639 not a universal capable compiler 5640 #endif 5641 typedef int dummy; 5642 5643_ACEOF 5644if ac_fn_c_try_compile "$LINENO"; then : 5645 5646 arch= 5647 prev= 5648 for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do 5649 if test -n "$prev"; then 5650 case $word in 5651 i?86 | x86_64 | ppc | ppc64) 5652 if test -z "$arch" || test "$arch" = "$word"; then 5653 arch="$word" 5654 else 5655 gl_cv_c_multiarch=yes 5656 fi 5657 ;; 5658 esac 5659 prev= 5660 else 5661 if test "x$word" = "x-arch"; then 5662 prev=arch 5663 fi 5664 fi 5665 done 5666 5667fi 5668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5669 if test $gl_cv_c_multiarch = yes; then 5670 APPLE_UNIVERSAL_BUILD=1 5671 else 5672 APPLE_UNIVERSAL_BUILD=0 5673 fi 5674 5675 5676 5677 5678 5679 if test $ac_cv_type_long_long_int = yes; then 5680 HAVE_LONG_LONG_INT=1 5681 else 5682 HAVE_LONG_LONG_INT=0 5683 fi 5684 5685 5686 if test $ac_cv_type_unsigned_long_long_int = yes; then 5687 HAVE_UNSIGNED_LONG_LONG_INT=1 5688 else 5689 HAVE_UNSIGNED_LONG_LONG_INT=0 5690 fi 5691 5692 5693 5694 : 5695 5696 5697 5698 5699 5700 if test $ac_cv_header_wchar_h = yes; then 5701 HAVE_WCHAR_H=1 5702 else 5703 HAVE_WCHAR_H=0 5704 fi 5705 5706 5707 if test $ac_cv_header_inttypes_h = yes; then 5708 HAVE_INTTYPES_H=1 5709 else 5710 HAVE_INTTYPES_H=0 5711 fi 5712 5713 5714 if test $ac_cv_header_sys_types_h = yes; then 5715 HAVE_SYS_TYPES_H=1 5716 else 5717 HAVE_SYS_TYPES_H=0 5718 fi 5719 5720 5721 5722 5723 5724 5725 5726 5727 : 5728 5729 5730 5731 5732 5733 5734 5735 5736 if test $gl_cv_have_include_next = yes; then 5737 gl_cv_next_stdint_h='<'stdint.h'>' 5738 else 5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5 5740$as_echo_n "checking absolute name of <stdint.h>... " >&6; } 5741if ${gl_cv_next_stdint_h+:} false; then : 5742 $as_echo_n "(cached) " >&6 5743else 5744 5745 if test $ac_cv_header_stdint_h = yes; then 5746 5747 5748 5749 5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5751/* end confdefs.h. */ 5752#include <stdint.h> 5753_ACEOF 5754 case "$host_os" in 5755 aix*) gl_absname_cpp="$ac_cpp -C" ;; 5756 *) gl_absname_cpp="$ac_cpp" ;; 5757 esac 5758 5759 case "$host_os" in 5760 mingw*) 5761 gl_dirsep_regex='[/\\]' 5762 ;; 5763 *) 5764 gl_dirsep_regex='\/' 5765 ;; 5766 esac 5767 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' 5768 gl_header_literal_regex=`echo 'stdint.h' \ 5769 | sed -e "$gl_make_literal_regex_sed"` 5770 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ 5771 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ 5772 s|^/[^/]|//&| 5773 p 5774 q 5775 }' 5776 5777 gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | 5778 sed -n "$gl_absolute_header_sed"` 5779 5780 gl_header=$gl_cv_absolute_stdint_h 5781 gl_cv_next_stdint_h='"'$gl_header'"' 5782 else 5783 gl_cv_next_stdint_h='<'stdint.h'>' 5784 fi 5785 5786 5787fi 5788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 5789$as_echo "$gl_cv_next_stdint_h" >&6; } 5790 fi 5791 NEXT_STDINT_H=$gl_cv_next_stdint_h 5792 5793 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then 5794 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' 5795 gl_next_as_first_directive='<'stdint.h'>' 5796 else 5797 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' 5798 gl_next_as_first_directive=$gl_cv_next_stdint_h 5799 fi 5800 NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive 5801 5802 5803 5804 5805 if test $ac_cv_header_stdint_h = yes; then 5806 HAVE_STDINT_H=1 5807 else 5808 HAVE_STDINT_H=0 5809 fi 5810 5811 5812 if test $ac_cv_header_stdint_h = yes; then 5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 5814$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } 5815if ${gl_cv_header_working_stdint_h+:} false; then : 5816 $as_echo_n "(cached) " >&6 5817else 5818 gl_cv_header_working_stdint_h=no 5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5820/* end confdefs.h. */ 5821 5822 5823#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ 5824#include <stdint.h> 5825/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */ 5826#if !(defined WCHAR_MIN && defined WCHAR_MAX) 5827#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>" 5828#endif 5829 5830 5831 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 5832 included before <wchar.h>. */ 5833 #include <stddef.h> 5834 #include <signal.h> 5835 #if HAVE_WCHAR_H 5836 # include <stdio.h> 5837 # include <time.h> 5838 # include <wchar.h> 5839 #endif 5840 5841 5842#ifdef INT8_MAX 5843int8_t a1 = INT8_MAX; 5844int8_t a1min = INT8_MIN; 5845#endif 5846#ifdef INT16_MAX 5847int16_t a2 = INT16_MAX; 5848int16_t a2min = INT16_MIN; 5849#endif 5850#ifdef INT32_MAX 5851int32_t a3 = INT32_MAX; 5852int32_t a3min = INT32_MIN; 5853#endif 5854#ifdef INT64_MAX 5855int64_t a4 = INT64_MAX; 5856int64_t a4min = INT64_MIN; 5857#endif 5858#ifdef UINT8_MAX 5859uint8_t b1 = UINT8_MAX; 5860#else 5861typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; 5862#endif 5863#ifdef UINT16_MAX 5864uint16_t b2 = UINT16_MAX; 5865#endif 5866#ifdef UINT32_MAX 5867uint32_t b3 = UINT32_MAX; 5868#endif 5869#ifdef UINT64_MAX 5870uint64_t b4 = UINT64_MAX; 5871#endif 5872int_least8_t c1 = INT8_C (0x7f); 5873int_least8_t c1max = INT_LEAST8_MAX; 5874int_least8_t c1min = INT_LEAST8_MIN; 5875int_least16_t c2 = INT16_C (0x7fff); 5876int_least16_t c2max = INT_LEAST16_MAX; 5877int_least16_t c2min = INT_LEAST16_MIN; 5878int_least32_t c3 = INT32_C (0x7fffffff); 5879int_least32_t c3max = INT_LEAST32_MAX; 5880int_least32_t c3min = INT_LEAST32_MIN; 5881int_least64_t c4 = INT64_C (0x7fffffffffffffff); 5882int_least64_t c4max = INT_LEAST64_MAX; 5883int_least64_t c4min = INT_LEAST64_MIN; 5884uint_least8_t d1 = UINT8_C (0xff); 5885uint_least8_t d1max = UINT_LEAST8_MAX; 5886uint_least16_t d2 = UINT16_C (0xffff); 5887uint_least16_t d2max = UINT_LEAST16_MAX; 5888uint_least32_t d3 = UINT32_C (0xffffffff); 5889uint_least32_t d3max = UINT_LEAST32_MAX; 5890uint_least64_t d4 = UINT64_C (0xffffffffffffffff); 5891uint_least64_t d4max = UINT_LEAST64_MAX; 5892int_fast8_t e1 = INT_FAST8_MAX; 5893int_fast8_t e1min = INT_FAST8_MIN; 5894int_fast16_t e2 = INT_FAST16_MAX; 5895int_fast16_t e2min = INT_FAST16_MIN; 5896int_fast32_t e3 = INT_FAST32_MAX; 5897int_fast32_t e3min = INT_FAST32_MIN; 5898int_fast64_t e4 = INT_FAST64_MAX; 5899int_fast64_t e4min = INT_FAST64_MIN; 5900uint_fast8_t f1 = UINT_FAST8_MAX; 5901uint_fast16_t f2 = UINT_FAST16_MAX; 5902uint_fast32_t f3 = UINT_FAST32_MAX; 5903uint_fast64_t f4 = UINT_FAST64_MAX; 5904#ifdef INTPTR_MAX 5905intptr_t g = INTPTR_MAX; 5906intptr_t gmin = INTPTR_MIN; 5907#endif 5908#ifdef UINTPTR_MAX 5909uintptr_t h = UINTPTR_MAX; 5910#endif 5911intmax_t i = INTMAX_MAX; 5912uintmax_t j = UINTMAX_MAX; 5913 5914#include <limits.h> /* for CHAR_BIT */ 5915#define TYPE_MINIMUM(t) \ 5916 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) 5917#define TYPE_MAXIMUM(t) \ 5918 ((t) ((t) 0 < (t) -1 \ 5919 ? (t) -1 \ 5920 : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) 5921struct s { 5922 int check_PTRDIFF: 5923 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) 5924 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) 5925 ? 1 : -1; 5926 /* Detect bug in FreeBSD 6.0 / ia64. */ 5927 int check_SIG_ATOMIC: 5928 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) 5929 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) 5930 ? 1 : -1; 5931 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; 5932 int check_WCHAR: 5933 WCHAR_MIN == TYPE_MINIMUM (wchar_t) 5934 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) 5935 ? 1 : -1; 5936 /* Detect bug in mingw. */ 5937 int check_WINT: 5938 WINT_MIN == TYPE_MINIMUM (wint_t) 5939 && WINT_MAX == TYPE_MAXIMUM (wint_t) 5940 ? 1 : -1; 5941 5942 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ 5943 int check_UINT8_C: 5944 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; 5945 int check_UINT16_C: 5946 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; 5947 5948 /* Detect bugs in OpenBSD 3.9 stdint.h. */ 5949#ifdef UINT8_MAX 5950 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; 5951#endif 5952#ifdef UINT16_MAX 5953 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; 5954#endif 5955#ifdef UINT32_MAX 5956 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; 5957#endif 5958#ifdef UINT64_MAX 5959 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; 5960#endif 5961 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; 5962 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; 5963 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; 5964 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; 5965 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; 5966 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; 5967 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; 5968 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; 5969 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; 5970 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; 5971 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; 5972}; 5973 5974int 5975main () 5976{ 5977 5978 ; 5979 return 0; 5980} 5981_ACEOF 5982if ac_fn_c_try_compile "$LINENO"; then : 5983 if test "$cross_compiling" = yes; then : 5984 gl_cv_header_working_stdint_h=yes 5985 5986else 5987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5988/* end confdefs.h. */ 5989 5990 5991#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ 5992#include <stdint.h> 5993 5994 5995 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 5996 included before <wchar.h>. */ 5997 #include <stddef.h> 5998 #include <signal.h> 5999 #if HAVE_WCHAR_H 6000 # include <stdio.h> 6001 # include <time.h> 6002 # include <wchar.h> 6003 #endif 6004 6005 6006#include <stdio.h> 6007#include <string.h> 6008#define MVAL(macro) MVAL1(macro) 6009#define MVAL1(expression) #expression 6010static const char *macro_values[] = 6011 { 6012#ifdef INT8_MAX 6013 MVAL (INT8_MAX), 6014#endif 6015#ifdef INT16_MAX 6016 MVAL (INT16_MAX), 6017#endif 6018#ifdef INT32_MAX 6019 MVAL (INT32_MAX), 6020#endif 6021#ifdef INT64_MAX 6022 MVAL (INT64_MAX), 6023#endif 6024#ifdef UINT8_MAX 6025 MVAL (UINT8_MAX), 6026#endif 6027#ifdef UINT16_MAX 6028 MVAL (UINT16_MAX), 6029#endif 6030#ifdef UINT32_MAX 6031 MVAL (UINT32_MAX), 6032#endif 6033#ifdef UINT64_MAX 6034 MVAL (UINT64_MAX), 6035#endif 6036 NULL 6037 }; 6038 6039int 6040main () 6041{ 6042 6043 const char **mv; 6044 for (mv = macro_values; *mv != NULL; mv++) 6045 { 6046 const char *value = *mv; 6047 /* Test whether it looks like a cast expression. */ 6048 if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 6049 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 6050 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 6051 || strncmp (value, "((int)"/*)*/, 6) == 0 6052 || strncmp (value, "((signed short)"/*)*/, 15) == 0 6053 || strncmp (value, "((signed char)"/*)*/, 14) == 0) 6054 return mv - macro_values + 1; 6055 } 6056 return 0; 6057 6058 ; 6059 return 0; 6060} 6061_ACEOF 6062if ac_fn_c_try_run "$LINENO"; then : 6063 gl_cv_header_working_stdint_h=yes 6064fi 6065rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6066 conftest.$ac_objext conftest.beam conftest.$ac_ext 6067fi 6068 6069 6070fi 6071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6072 6073fi 6074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 6075$as_echo "$gl_cv_header_working_stdint_h" >&6; } 6076 fi 6077 if test "$gl_cv_header_working_stdint_h" = yes; then 6078 STDINT_H= 6079 else 6080 for ac_header in sys/inttypes.h sys/bitypes.h 6081do : 6082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6083ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6084if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6085 cat >>confdefs.h <<_ACEOF 6086#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6087_ACEOF 6088 6089fi 6090 6091done 6092 6093 if test $ac_cv_header_sys_inttypes_h = yes; then 6094 HAVE_SYS_INTTYPES_H=1 6095 else 6096 HAVE_SYS_INTTYPES_H=0 6097 fi 6098 6099 if test $ac_cv_header_sys_bitypes_h = yes; then 6100 HAVE_SYS_BITYPES_H=1 6101 else 6102 HAVE_SYS_BITYPES_H=0 6103 fi 6104 6105 6106 6107 6108 if test $APPLE_UNIVERSAL_BUILD = 0; then 6109 6110 6111 for gltype in ptrdiff_t size_t ; do 6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 6113$as_echo_n "checking for bit size of $gltype... " >&6; } 6114if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : 6115 $as_echo_n "(cached) " >&6 6116else 6117 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 6118 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 6119 included before <wchar.h>. */ 6120 #include <stddef.h> 6121 #include <signal.h> 6122 #if HAVE_WCHAR_H 6123 # include <stdio.h> 6124 # include <time.h> 6125 # include <wchar.h> 6126 #endif 6127 6128#include <limits.h>"; then : 6129 6130else 6131 result=unknown 6132fi 6133 6134 eval gl_cv_bitsizeof_${gltype}=\$result 6135 6136fi 6137eval ac_res=\$gl_cv_bitsizeof_${gltype} 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6139$as_echo "$ac_res" >&6; } 6140 eval result=\$gl_cv_bitsizeof_${gltype} 6141 if test $result = unknown; then 6142 result=0 6143 fi 6144 GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` 6145 cat >>confdefs.h <<_ACEOF 6146#define BITSIZEOF_${GLTYPE} $result 6147_ACEOF 6148 6149 eval BITSIZEOF_${GLTYPE}=\$result 6150 done 6151 6152 6153 fi 6154 6155 6156 for gltype in sig_atomic_t wchar_t wint_t ; do 6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 6158$as_echo_n "checking for bit size of $gltype... " >&6; } 6159if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : 6160 $as_echo_n "(cached) " >&6 6161else 6162 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 6163 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 6164 included before <wchar.h>. */ 6165 #include <stddef.h> 6166 #include <signal.h> 6167 #if HAVE_WCHAR_H 6168 # include <stdio.h> 6169 # include <time.h> 6170 # include <wchar.h> 6171 #endif 6172 6173#include <limits.h>"; then : 6174 6175else 6176 result=unknown 6177fi 6178 6179 eval gl_cv_bitsizeof_${gltype}=\$result 6180 6181fi 6182eval ac_res=\$gl_cv_bitsizeof_${gltype} 6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6184$as_echo "$ac_res" >&6; } 6185 eval result=\$gl_cv_bitsizeof_${gltype} 6186 if test $result = unknown; then 6187 result=0 6188 fi 6189 GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` 6190 cat >>confdefs.h <<_ACEOF 6191#define BITSIZEOF_${GLTYPE} $result 6192_ACEOF 6193 6194 eval BITSIZEOF_${GLTYPE}=\$result 6195 done 6196 6197 6198 6199 6200 for gltype in sig_atomic_t wchar_t wint_t ; do 6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 6202$as_echo_n "checking whether $gltype is signed... " >&6; } 6203if eval \${gl_cv_type_${gltype}_signed+:} false; then : 6204 $as_echo_n "(cached) " >&6 6205else 6206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6207/* end confdefs.h. */ 6208 6209 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 6210 included before <wchar.h>. */ 6211 #include <stddef.h> 6212 #include <signal.h> 6213 #if HAVE_WCHAR_H 6214 # include <stdio.h> 6215 # include <time.h> 6216 # include <wchar.h> 6217 #endif 6218 6219 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; 6220int 6221main () 6222{ 6223 6224 ; 6225 return 0; 6226} 6227_ACEOF 6228if ac_fn_c_try_compile "$LINENO"; then : 6229 result=yes 6230else 6231 result=no 6232fi 6233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6234 eval gl_cv_type_${gltype}_signed=\$result 6235 6236fi 6237eval ac_res=\$gl_cv_type_${gltype}_signed 6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6239$as_echo "$ac_res" >&6; } 6240 eval result=\$gl_cv_type_${gltype}_signed 6241 GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` 6242 if test "$result" = yes; then 6243 cat >>confdefs.h <<_ACEOF 6244#define HAVE_SIGNED_${GLTYPE} 1 6245_ACEOF 6246 6247 eval HAVE_SIGNED_${GLTYPE}=1 6248 else 6249 eval HAVE_SIGNED_${GLTYPE}=0 6250 fi 6251 done 6252 6253 6254 gl_cv_type_ptrdiff_t_signed=yes 6255 gl_cv_type_size_t_signed=no 6256 if test $APPLE_UNIVERSAL_BUILD = 0; then 6257 6258 6259 for gltype in ptrdiff_t size_t ; do 6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 6261$as_echo_n "checking for $gltype integer literal suffix... " >&6; } 6262if eval \${gl_cv_type_${gltype}_suffix+:} false; then : 6263 $as_echo_n "(cached) " >&6 6264else 6265 eval gl_cv_type_${gltype}_suffix=no 6266 eval result=\$gl_cv_type_${gltype}_signed 6267 if test "$result" = yes; then 6268 glsufu= 6269 else 6270 glsufu=u 6271 fi 6272 for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do 6273 case $glsuf in 6274 '') gltype1='int';; 6275 l) gltype1='long int';; 6276 ll) gltype1='long long int';; 6277 i64) gltype1='__int64';; 6278 u) gltype1='unsigned int';; 6279 ul) gltype1='unsigned long int';; 6280 ull) gltype1='unsigned long long int';; 6281 ui64)gltype1='unsigned __int64';; 6282 esac 6283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6284/* end confdefs.h. */ 6285 6286 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 6287 included before <wchar.h>. */ 6288 #include <stddef.h> 6289 #include <signal.h> 6290 #if HAVE_WCHAR_H 6291 # include <stdio.h> 6292 # include <time.h> 6293 # include <wchar.h> 6294 #endif 6295 6296 extern $gltype foo; 6297 extern $gltype1 foo; 6298int 6299main () 6300{ 6301 6302 ; 6303 return 0; 6304} 6305_ACEOF 6306if ac_fn_c_try_compile "$LINENO"; then : 6307 eval gl_cv_type_${gltype}_suffix=\$glsuf 6308fi 6309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6310 eval result=\$gl_cv_type_${gltype}_suffix 6311 test "$result" != no && break 6312 done 6313fi 6314eval ac_res=\$gl_cv_type_${gltype}_suffix 6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6316$as_echo "$ac_res" >&6; } 6317 GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` 6318 eval result=\$gl_cv_type_${gltype}_suffix 6319 test "$result" = no && result= 6320 eval ${GLTYPE}_SUFFIX=\$result 6321 cat >>confdefs.h <<_ACEOF 6322#define ${GLTYPE}_SUFFIX $result 6323_ACEOF 6324 6325 done 6326 6327 6328 fi 6329 6330 6331 for gltype in sig_atomic_t wchar_t wint_t ; do 6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 6333$as_echo_n "checking for $gltype integer literal suffix... " >&6; } 6334if eval \${gl_cv_type_${gltype}_suffix+:} false; then : 6335 $as_echo_n "(cached) " >&6 6336else 6337 eval gl_cv_type_${gltype}_suffix=no 6338 eval result=\$gl_cv_type_${gltype}_signed 6339 if test "$result" = yes; then 6340 glsufu= 6341 else 6342 glsufu=u 6343 fi 6344 for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do 6345 case $glsuf in 6346 '') gltype1='int';; 6347 l) gltype1='long int';; 6348 ll) gltype1='long long int';; 6349 i64) gltype1='__int64';; 6350 u) gltype1='unsigned int';; 6351 ul) gltype1='unsigned long int';; 6352 ull) gltype1='unsigned long long int';; 6353 ui64)gltype1='unsigned __int64';; 6354 esac 6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6356/* end confdefs.h. */ 6357 6358 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 6359 included before <wchar.h>. */ 6360 #include <stddef.h> 6361 #include <signal.h> 6362 #if HAVE_WCHAR_H 6363 # include <stdio.h> 6364 # include <time.h> 6365 # include <wchar.h> 6366 #endif 6367 6368 extern $gltype foo; 6369 extern $gltype1 foo; 6370int 6371main () 6372{ 6373 6374 ; 6375 return 0; 6376} 6377_ACEOF 6378if ac_fn_c_try_compile "$LINENO"; then : 6379 eval gl_cv_type_${gltype}_suffix=\$glsuf 6380fi 6381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6382 eval result=\$gl_cv_type_${gltype}_suffix 6383 test "$result" != no && break 6384 done 6385fi 6386eval ac_res=\$gl_cv_type_${gltype}_suffix 6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6388$as_echo "$ac_res" >&6; } 6389 GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` 6390 eval result=\$gl_cv_type_${gltype}_suffix 6391 test "$result" = no && result= 6392 eval ${GLTYPE}_SUFFIX=\$result 6393 cat >>confdefs.h <<_ACEOF 6394#define ${GLTYPE}_SUFFIX $result 6395_ACEOF 6396 6397 done 6398 6399 6400 6401 if test $BITSIZEOF_WINT_T -lt 32; then 6402 BITSIZEOF_WINT_T=32 6403 fi 6404 6405 STDINT_H=stdint.h 6406 fi 6407 6408 if test -n "$STDINT_H"; then 6409 GL_GENERATE_STDINT_H_TRUE= 6410 GL_GENERATE_STDINT_H_FALSE='#' 6411else 6412 GL_GENERATE_STDINT_H_TRUE='#' 6413 GL_GENERATE_STDINT_H_FALSE= 6414fi 6415 6416 6417 6418 6419 6420 6421 6422 6423 GNULIB_IMAXABS=0; 6424 GNULIB_IMAXDIV=0; 6425 GNULIB_STRTOIMAX=0; 6426 GNULIB_STRTOUMAX=0; 6427 HAVE_DECL_IMAXABS=1; 6428 HAVE_DECL_IMAXDIV=1; 6429 HAVE_DECL_STRTOIMAX=1; 6430 HAVE_DECL_STRTOUMAX=1; 6431 REPLACE_STRTOIMAX=0; 6432 REPLACE_STRTOUMAX=0; 6433 INT32_MAX_LT_INTMAX_MAX=1; 6434 INT64_MAX_EQ_LONG_MAX='defined _LP64'; 6435 PRI_MACROS_BROKEN=0; 6436 PRIPTR_PREFIX=__PRIPTR_PREFIX; 6437 UINT32_MAX_LT_UINTMAX_MAX=1; 6438 UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; 6439 6440 6441 6442 6443 : 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 : 6458 6459 6460 6461 6462 6463 6464 6465 6466 if test $gl_cv_have_include_next = yes; then 6467 gl_cv_next_inttypes_h='<'inttypes.h'>' 6468 else 6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5 6470$as_echo_n "checking absolute name of <inttypes.h>... " >&6; } 6471if ${gl_cv_next_inttypes_h+:} false; then : 6472 $as_echo_n "(cached) " >&6 6473else 6474 6475 if test $ac_cv_header_inttypes_h = yes; then 6476 6477 6478 6479 6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6481/* end confdefs.h. */ 6482#include <inttypes.h> 6483_ACEOF 6484 case "$host_os" in 6485 aix*) gl_absname_cpp="$ac_cpp -C" ;; 6486 *) gl_absname_cpp="$ac_cpp" ;; 6487 esac 6488 6489 case "$host_os" in 6490 mingw*) 6491 gl_dirsep_regex='[/\\]' 6492 ;; 6493 *) 6494 gl_dirsep_regex='\/' 6495 ;; 6496 esac 6497 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' 6498 gl_header_literal_regex=`echo 'inttypes.h' \ 6499 | sed -e "$gl_make_literal_regex_sed"` 6500 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ 6501 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ 6502 s|^/[^/]|//&| 6503 p 6504 q 6505 }' 6506 6507 gl_cv_absolute_inttypes_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | 6508 sed -n "$gl_absolute_header_sed"` 6509 6510 gl_header=$gl_cv_absolute_inttypes_h 6511 gl_cv_next_inttypes_h='"'$gl_header'"' 6512 else 6513 gl_cv_next_inttypes_h='<'inttypes.h'>' 6514 fi 6515 6516 6517fi 6518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 6519$as_echo "$gl_cv_next_inttypes_h" >&6; } 6520 fi 6521 NEXT_INTTYPES_H=$gl_cv_next_inttypes_h 6522 6523 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then 6524 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' 6525 gl_next_as_first_directive='<'inttypes.h'>' 6526 else 6527 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' 6528 gl_next_as_first_directive=$gl_cv_next_inttypes_h 6529 fi 6530 NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive 6531 6532 6533 6534 6535 6536 6537 6538 6539 for gl_func in imaxabs imaxdiv strtoimax strtoumax; do 6540 as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` 6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 6542$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } 6543if eval \${$as_gl_Symbol+:} false; then : 6544 $as_echo_n "(cached) " >&6 6545else 6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6547/* end confdefs.h. */ 6548#include <inttypes.h> 6549 6550int 6551main () 6552{ 6553#undef $gl_func 6554 (void) $gl_func; 6555 ; 6556 return 0; 6557} 6558_ACEOF 6559if ac_fn_c_try_compile "$LINENO"; then : 6560 eval "$as_gl_Symbol=yes" 6561else 6562 eval "$as_gl_Symbol=no" 6563fi 6564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6565fi 6566eval ac_res=\$$as_gl_Symbol 6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6568$as_echo "$ac_res" >&6; } 6569 if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : 6570 cat >>confdefs.h <<_ACEOF 6571#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 6572_ACEOF 6573 6574 eval ac_cv_have_decl_$gl_func=yes 6575fi 6576 done 6577 6578 6579 6580 for ac_header in inttypes.h 6581do : 6582 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 6583if test "x$ac_cv_header_inttypes_h" = xyes; then : 6584 cat >>confdefs.h <<_ACEOF 6585#define HAVE_INTTYPES_H 1 6586_ACEOF 6587 6588fi 6589 6590done 6591 6592 if test $ac_cv_header_inttypes_h = yes; then 6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5 6594$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; } 6595if ${gt_cv_inttypes_pri_broken+:} false; then : 6596 $as_echo_n "(cached) " >&6 6597else 6598 6599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6600/* end confdefs.h. */ 6601 6602#include <inttypes.h> 6603#ifdef PRId32 6604char *p = PRId32; 6605#endif 6606 6607int 6608main () 6609{ 6610 6611 ; 6612 return 0; 6613} 6614_ACEOF 6615if ac_fn_c_try_compile "$LINENO"; then : 6616 gt_cv_inttypes_pri_broken=no 6617else 6618 gt_cv_inttypes_pri_broken=yes 6619fi 6620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6621 6622fi 6623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5 6624$as_echo "$gt_cv_inttypes_pri_broken" >&6; } 6625 fi 6626 if test "$gt_cv_inttypes_pri_broken" = yes; then 6627 6628cat >>confdefs.h <<_ACEOF 6629#define PRI_MACROS_BROKEN 1 6630_ACEOF 6631 6632 PRI_MACROS_BROKEN=1 6633 else 6634 PRI_MACROS_BROKEN=0 6635 fi 6636 6637 6638 6639 6640ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6641if test "x$ac_cv_type_pid_t" = xyes; then : 6642 6643else 6644 6645cat >>confdefs.h <<_ACEOF 6646#define pid_t int 6647_ACEOF 6648 6649fi 6650 6651ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 6652if test "x$ac_cv_type_mode_t" = xyes; then : 6653 6654else 6655 6656cat >>confdefs.h <<_ACEOF 6657#define mode_t int 6658_ACEOF 6659 6660fi 6661 6662 6663 6664 WINDOWS_64_BIT_OFF_T=0 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 if test $gl_cv_have_include_next = yes; then 6679 gl_cv_next_sys_types_h='<'sys/types.h'>' 6680 else 6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5 6682$as_echo_n "checking absolute name of <sys/types.h>... " >&6; } 6683if ${gl_cv_next_sys_types_h+:} false; then : 6684 $as_echo_n "(cached) " >&6 6685else 6686 6687 6688 6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6690/* end confdefs.h. */ 6691#include <sys/types.h> 6692_ACEOF 6693 case "$host_os" in 6694 aix*) gl_absname_cpp="$ac_cpp -C" ;; 6695 *) gl_absname_cpp="$ac_cpp" ;; 6696 esac 6697 6698 case "$host_os" in 6699 mingw*) 6700 gl_dirsep_regex='[/\\]' 6701 ;; 6702 *) 6703 gl_dirsep_regex='\/' 6704 ;; 6705 esac 6706 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' 6707 gl_header_literal_regex=`echo 'sys/types.h' \ 6708 | sed -e "$gl_make_literal_regex_sed"` 6709 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ 6710 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ 6711 s|^/[^/]|//&| 6712 p 6713 q 6714 }' 6715 6716 gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | 6717 sed -n "$gl_absolute_header_sed"` 6718 6719 gl_header=$gl_cv_absolute_sys_types_h 6720 gl_cv_next_sys_types_h='"'$gl_header'"' 6721 6722 6723fi 6724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 6725$as_echo "$gl_cv_next_sys_types_h" >&6; } 6726 fi 6727 NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h 6728 6729 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then 6730 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' 6731 gl_next_as_first_directive='<'sys/types.h'>' 6732 else 6733 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' 6734 gl_next_as_first_directive=$gl_cv_next_sys_types_h 6735 fi 6736 NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 if false; then 6750 GL_COND_LIBTOOL_TRUE= 6751 GL_COND_LIBTOOL_FALSE='#' 6752else 6753 GL_COND_LIBTOOL_TRUE='#' 6754 GL_COND_LIBTOOL_FALSE= 6755fi 6756 6757 gl_cond_libtool=false 6758 gl_libdeps= 6759 gl_ltlibdeps= 6760 gl_m4_base='m4' 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 gl_source_base='lib' 6771 6772 6773 6774 6775 6776 PRIPTR_PREFIX= 6777 if test -n "$STDINT_H"; then 6778 PRIPTR_PREFIX='"l"' 6779 else 6780 for glpfx in '' l ll I64; do 6781 case $glpfx in 6782 '') gltype1='int';; 6783 l) gltype1='long int';; 6784 ll) gltype1='long long int';; 6785 I64) gltype1='__int64';; 6786 esac 6787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6788/* end confdefs.h. */ 6789#include <stdint.h> 6790 extern intptr_t foo; 6791 extern $gltype1 foo; 6792int 6793main () 6794{ 6795 6796 ; 6797 return 0; 6798} 6799_ACEOF 6800if ac_fn_c_try_compile "$LINENO"; then : 6801 PRIPTR_PREFIX='"'$glpfx'"' 6802fi 6803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6804 test -n "$PRIPTR_PREFIX" && break 6805 done 6806 fi 6807 6808 6809 6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5 6811$as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; } 6812if ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+:} false; then : 6813 $as_echo_n "(cached) " >&6 6814else 6815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6816/* end confdefs.h. */ 6817/* Work also in C++ mode. */ 6818 #define __STDC_LIMIT_MACROS 1 6819 6820 /* Work if build is not clean. */ 6821 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 6822 6823 #include <limits.h> 6824 #if HAVE_STDINT_H 6825 #include <stdint.h> 6826 #endif 6827 6828 #if defined INT32_MAX && defined INTMAX_MAX 6829 #define CONDITION (INT32_MAX < INTMAX_MAX) 6830 #elif HAVE_LONG_LONG_INT 6831 #define CONDITION (sizeof (int) < sizeof (long long int)) 6832 #else 6833 #define CONDITION 0 6834 #endif 6835 int test[CONDITION ? 1 : -1]; 6836int 6837main () 6838{ 6839 6840 ; 6841 return 0; 6842} 6843_ACEOF 6844if ac_fn_c_try_compile "$LINENO"; then : 6845 gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes 6846else 6847 gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no 6848fi 6849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6850fi 6851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5 6852$as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; } 6853 if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then 6854 INT32_MAX_LT_INTMAX_MAX=1; 6855 else 6856 INT32_MAX_LT_INTMAX_MAX=0; 6857 fi 6858 6859 6860 if test $APPLE_UNIVERSAL_BUILD = 0; then 6861 6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5 6863$as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; } 6864if ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+:} false; then : 6865 $as_echo_n "(cached) " >&6 6866else 6867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6868/* end confdefs.h. */ 6869/* Work also in C++ mode. */ 6870 #define __STDC_LIMIT_MACROS 1 6871 6872 /* Work if build is not clean. */ 6873 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 6874 6875 #include <limits.h> 6876 #if HAVE_STDINT_H 6877 #include <stdint.h> 6878 #endif 6879 6880 #if defined INT64_MAX 6881 #define CONDITION (INT64_MAX == LONG_MAX) 6882 #elif HAVE_LONG_LONG_INT 6883 #define CONDITION (sizeof (long long int) == sizeof (long int)) 6884 #else 6885 #define CONDITION 0 6886 #endif 6887 int test[CONDITION ? 1 : -1]; 6888int 6889main () 6890{ 6891 6892 ; 6893 return 0; 6894} 6895_ACEOF 6896if ac_fn_c_try_compile "$LINENO"; then : 6897 gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes 6898else 6899 gl_cv_test_INT64_MAX_EQ_LONG_MAX=no 6900fi 6901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6902fi 6903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5 6904$as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; } 6905 if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then 6906 INT64_MAX_EQ_LONG_MAX=1; 6907 else 6908 INT64_MAX_EQ_LONG_MAX=0; 6909 fi 6910 6911 6912 else 6913 INT64_MAX_EQ_LONG_MAX=-1 6914 fi 6915 6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5 6917$as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; } 6918if ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+:} false; then : 6919 $as_echo_n "(cached) " >&6 6920else 6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6922/* end confdefs.h. */ 6923/* Work also in C++ mode. */ 6924 #define __STDC_LIMIT_MACROS 1 6925 6926 /* Work if build is not clean. */ 6927 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 6928 6929 #include <limits.h> 6930 #if HAVE_STDINT_H 6931 #include <stdint.h> 6932 #endif 6933 6934 #if defined UINT32_MAX && defined UINTMAX_MAX 6935 #define CONDITION (UINT32_MAX < UINTMAX_MAX) 6936 #elif HAVE_LONG_LONG_INT 6937 #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int)) 6938 #else 6939 #define CONDITION 0 6940 #endif 6941 int test[CONDITION ? 1 : -1]; 6942int 6943main () 6944{ 6945 6946 ; 6947 return 0; 6948} 6949_ACEOF 6950if ac_fn_c_try_compile "$LINENO"; then : 6951 gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes 6952else 6953 gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no 6954fi 6955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6956fi 6957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5 6958$as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; } 6959 if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then 6960 UINT32_MAX_LT_UINTMAX_MAX=1; 6961 else 6962 UINT32_MAX_LT_UINTMAX_MAX=0; 6963 fi 6964 6965 6966 if test $APPLE_UNIVERSAL_BUILD = 0; then 6967 6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5 6969$as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; } 6970if ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+:} false; then : 6971 $as_echo_n "(cached) " >&6 6972else 6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6974/* end confdefs.h. */ 6975/* Work also in C++ mode. */ 6976 #define __STDC_LIMIT_MACROS 1 6977 6978 /* Work if build is not clean. */ 6979 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 6980 6981 #include <limits.h> 6982 #if HAVE_STDINT_H 6983 #include <stdint.h> 6984 #endif 6985 6986 #if defined UINT64_MAX 6987 #define CONDITION (UINT64_MAX == ULONG_MAX) 6988 #elif HAVE_LONG_LONG_INT 6989 #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int)) 6990 #else 6991 #define CONDITION 0 6992 #endif 6993 int test[CONDITION ? 1 : -1]; 6994int 6995main () 6996{ 6997 6998 ; 6999 return 0; 7000} 7001_ACEOF 7002if ac_fn_c_try_compile "$LINENO"; then : 7003 gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes 7004else 7005 gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no 7006fi 7007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7008fi 7009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5 7010$as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; } 7011 if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then 7012 UINT64_MAX_EQ_ULONG_MAX=1; 7013 else 7014 UINT64_MAX_EQ_ULONG_MAX=0; 7015 fi 7016 7017 7018 else 7019 UINT64_MAX_EQ_ULONG_MAX=-1 7020 fi 7021 7022 7023 7024 7025 7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 7027$as_echo_n "checking for ssize_t... " >&6; } 7028if ${gt_cv_ssize_t+:} false; then : 7029 $as_echo_n "(cached) " >&6 7030else 7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7032/* end confdefs.h. */ 7033#include <sys/types.h> 7034int 7035main () 7036{ 7037int x = sizeof (ssize_t *) + sizeof (ssize_t); 7038 return !x; 7039 ; 7040 return 0; 7041} 7042_ACEOF 7043if ac_fn_c_try_compile "$LINENO"; then : 7044 gt_cv_ssize_t=yes 7045else 7046 gt_cv_ssize_t=no 7047fi 7048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7049fi 7050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 7051$as_echo "$gt_cv_ssize_t" >&6; } 7052 if test $gt_cv_ssize_t = no; then 7053 7054$as_echo "#define ssize_t int" >>confdefs.h 7055 7056 fi 7057 7058 7059 7060 7061 # End of code from modules 7062 7063 7064 7065 7066 7067 7068 7069 gltests_libdeps= 7070 gltests_ltlibdeps= 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 gl_source_base='tests' 7081 gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS 7082 7083 gl_module_indicator_condition=$gltests_WITNESS 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 LIBGNU_LIBDEPS="$gl_libdeps" 7094 7095 LIBGNU_LTLIBDEPS="$gl_ltlibdeps" 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 7106 if test -n "$ac_tool_prefix"; then 7107 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 7108set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 7109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7110$as_echo_n "checking for $ac_word... " >&6; } 7111if ${ac_cv_path_PKG_CONFIG+:} false; then : 7112 $as_echo_n "(cached) " >&6 7113else 7114 case $PKG_CONFIG in 7115 [\\/]* | ?:[\\/]*) 7116 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7117 ;; 7118 *) 7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7120for as_dir in $PATH 7121do 7122 IFS=$as_save_IFS 7123 test -z "$as_dir" && as_dir=. 7124 for ac_exec_ext in '' $ac_executable_extensions; do 7125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7126 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 7127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7128 break 2 7129 fi 7130done 7131 done 7132IFS=$as_save_IFS 7133 7134 ;; 7135esac 7136fi 7137PKG_CONFIG=$ac_cv_path_PKG_CONFIG 7138if test -n "$PKG_CONFIG"; then 7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7140$as_echo "$PKG_CONFIG" >&6; } 7141else 7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7143$as_echo "no" >&6; } 7144fi 7145 7146 7147fi 7148if test -z "$ac_cv_path_PKG_CONFIG"; then 7149 ac_pt_PKG_CONFIG=$PKG_CONFIG 7150 # Extract the first word of "pkg-config", so it can be a program name with args. 7151set dummy pkg-config; ac_word=$2 7152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7153$as_echo_n "checking for $ac_word... " >&6; } 7154if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 7155 $as_echo_n "(cached) " >&6 7156else 7157 case $ac_pt_PKG_CONFIG in 7158 [\\/]* | ?:[\\/]*) 7159 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 7160 ;; 7161 *) 7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7163for as_dir in $PATH 7164do 7165 IFS=$as_save_IFS 7166 test -z "$as_dir" && as_dir=. 7167 for ac_exec_ext in '' $ac_executable_extensions; do 7168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7169 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7171 break 2 7172 fi 7173done 7174 done 7175IFS=$as_save_IFS 7176 7177 ;; 7178esac 7179fi 7180ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 7181if test -n "$ac_pt_PKG_CONFIG"; then 7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 7183$as_echo "$ac_pt_PKG_CONFIG" >&6; } 7184else 7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7186$as_echo "no" >&6; } 7187fi 7188 7189 if test "x$ac_pt_PKG_CONFIG" = x; then 7190 PKG_CONFIG="" 7191 else 7192 case $cross_compiling:$ac_tool_warned in 7193yes:) 7194{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7195$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7196ac_tool_warned=yes ;; 7197esac 7198 PKG_CONFIG=$ac_pt_PKG_CONFIG 7199 fi 7200else 7201 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 7202fi 7203 7204fi 7205if test -n "$PKG_CONFIG"; then 7206 _pkg_min_version=0.9.0 7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 7208$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 7209 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7211$as_echo "yes" >&6; } 7212 else 7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7214$as_echo "no" >&6; } 7215 PKG_CONFIG="" 7216 fi 7217fi 7218 7219pkg_failed=no 7220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXT2FS" >&5 7221$as_echo_n "checking for EXT2FS... " >&6; } 7222 7223if test -n "$EXT2FS_CFLAGS"; then 7224 pkg_cv_EXT2FS_CFLAGS="$EXT2FS_CFLAGS" 7225 elif test -n "$PKG_CONFIG"; then 7226 if test -n "$PKG_CONFIG" && \ 7227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ext2fs >= 1.27\""; } >&5 7228 ($PKG_CONFIG --exists --print-errors "ext2fs >= 1.27") 2>&5 7229 ac_status=$? 7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7231 test $ac_status = 0; }; then 7232 pkg_cv_EXT2FS_CFLAGS=`$PKG_CONFIG --cflags "ext2fs >= 1.27" 2>/dev/null` 7233 test "x$?" != "x0" && pkg_failed=yes 7234else 7235 pkg_failed=yes 7236fi 7237 else 7238 pkg_failed=untried 7239fi 7240if test -n "$EXT2FS_LIBS"; then 7241 pkg_cv_EXT2FS_LIBS="$EXT2FS_LIBS" 7242 elif test -n "$PKG_CONFIG"; then 7243 if test -n "$PKG_CONFIG" && \ 7244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ext2fs >= 1.27\""; } >&5 7245 ($PKG_CONFIG --exists --print-errors "ext2fs >= 1.27") 2>&5 7246 ac_status=$? 7247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7248 test $ac_status = 0; }; then 7249 pkg_cv_EXT2FS_LIBS=`$PKG_CONFIG --libs "ext2fs >= 1.27" 2>/dev/null` 7250 test "x$?" != "x0" && pkg_failed=yes 7251else 7252 pkg_failed=yes 7253fi 7254 else 7255 pkg_failed=untried 7256fi 7257 7258 7259 7260if test $pkg_failed = yes; then 7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7262$as_echo "no" >&6; } 7263 7264if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 7265 _pkg_short_errors_supported=yes 7266else 7267 _pkg_short_errors_supported=no 7268fi 7269 if test $_pkg_short_errors_supported = yes; then 7270 EXT2FS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ext2fs >= 1.27" 2>&1` 7271 else 7272 EXT2FS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ext2fs >= 1.27" 2>&1` 7273 fi 7274 # Put the nasty error message in config.log where it belongs 7275 echo "$EXT2FS_PKG_ERRORS" >&5 7276 7277 7278 as_fn_error $? "Sorry, but we do require libext2fs (part of e2fsprogs)." "$LINENO" 5 7279elif test $pkg_failed = untried; then 7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7281$as_echo "no" >&6; } 7282 7283 as_fn_error $? "Sorry, but we do require libext2fs (part of e2fsprogs)." "$LINENO" 5 7284else 7285 EXT2FS_CFLAGS=$pkg_cv_EXT2FS_CFLAGS 7286 EXT2FS_LIBS=$pkg_cv_EXT2FS_LIBS 7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7288$as_echo "yes" >&6; } 7289 7290fi 7291 7292pkg_failed=no 7293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for COM_ERR" >&5 7294$as_echo_n "checking for COM_ERR... " >&6; } 7295 7296if test -n "$COM_ERR_CFLAGS"; then 7297 pkg_cv_COM_ERR_CFLAGS="$COM_ERR_CFLAGS" 7298 elif test -n "$PKG_CONFIG"; then 7299 if test -n "$PKG_CONFIG" && \ 7300 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"com_err\""; } >&5 7301 ($PKG_CONFIG --exists --print-errors "com_err") 2>&5 7302 ac_status=$? 7303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7304 test $ac_status = 0; }; then 7305 pkg_cv_COM_ERR_CFLAGS=`$PKG_CONFIG --cflags "com_err" 2>/dev/null` 7306 test "x$?" != "x0" && pkg_failed=yes 7307else 7308 pkg_failed=yes 7309fi 7310 else 7311 pkg_failed=untried 7312fi 7313if test -n "$COM_ERR_LIBS"; then 7314 pkg_cv_COM_ERR_LIBS="$COM_ERR_LIBS" 7315 elif test -n "$PKG_CONFIG"; then 7316 if test -n "$PKG_CONFIG" && \ 7317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"com_err\""; } >&5 7318 ($PKG_CONFIG --exists --print-errors "com_err") 2>&5 7319 ac_status=$? 7320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7321 test $ac_status = 0; }; then 7322 pkg_cv_COM_ERR_LIBS=`$PKG_CONFIG --libs "com_err" 2>/dev/null` 7323 test "x$?" != "x0" && pkg_failed=yes 7324else 7325 pkg_failed=yes 7326fi 7327 else 7328 pkg_failed=untried 7329fi 7330 7331 7332 7333if test $pkg_failed = yes; then 7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7335$as_echo "no" >&6; } 7336 7337if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 7338 _pkg_short_errors_supported=yes 7339else 7340 _pkg_short_errors_supported=no 7341fi 7342 if test $_pkg_short_errors_supported = yes; then 7343 COM_ERR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "com_err" 2>&1` 7344 else 7345 COM_ERR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "com_err" 2>&1` 7346 fi 7347 # Put the nasty error message in config.log where it belongs 7348 echo "$COM_ERR_PKG_ERRORS" >&5 7349 7350 7351 as_fn_error $? "Sorry, but we do require libcom_err (part of e2fsprogs)." "$LINENO" 5 7352elif test $pkg_failed = untried; then 7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7354$as_echo "no" >&6; } 7355 7356 as_fn_error $? "Sorry, but we do require libcom_err (part of e2fsprogs)." "$LINENO" 5 7357else 7358 COM_ERR_CFLAGS=$pkg_cv_COM_ERR_CFLAGS 7359 COM_ERR_LIBS=$pkg_cv_COM_ERR_LIBS 7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7361$as_echo "yes" >&6; } 7362 7363fi 7364 7365 7366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7367$as_echo_n "checking for ANSI C header files... " >&6; } 7368if ${ac_cv_header_stdc+:} false; then : 7369 $as_echo_n "(cached) " >&6 7370else 7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7372/* end confdefs.h. */ 7373#include <stdlib.h> 7374#include <stdarg.h> 7375#include <string.h> 7376#include <float.h> 7377 7378int 7379main () 7380{ 7381 7382 ; 7383 return 0; 7384} 7385_ACEOF 7386if ac_fn_c_try_compile "$LINENO"; then : 7387 ac_cv_header_stdc=yes 7388else 7389 ac_cv_header_stdc=no 7390fi 7391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7392 7393if test $ac_cv_header_stdc = yes; then 7394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7396/* end confdefs.h. */ 7397#include <string.h> 7398 7399_ACEOF 7400if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7401 $EGREP "memchr" >/dev/null 2>&1; then : 7402 7403else 7404 ac_cv_header_stdc=no 7405fi 7406rm -f conftest* 7407 7408fi 7409 7410if test $ac_cv_header_stdc = yes; then 7411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7413/* end confdefs.h. */ 7414#include <stdlib.h> 7415 7416_ACEOF 7417if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7418 $EGREP "free" >/dev/null 2>&1; then : 7419 7420else 7421 ac_cv_header_stdc=no 7422fi 7423rm -f conftest* 7424 7425fi 7426 7427if test $ac_cv_header_stdc = yes; then 7428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7429 if test "$cross_compiling" = yes; then : 7430 : 7431else 7432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7433/* end confdefs.h. */ 7434#include <ctype.h> 7435#include <stdlib.h> 7436#if ((' ' & 0x0FF) == 0x020) 7437# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7438# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7439#else 7440# define ISLOWER(c) \ 7441 (('a' <= (c) && (c) <= 'i') \ 7442 || ('j' <= (c) && (c) <= 'r') \ 7443 || ('s' <= (c) && (c) <= 'z')) 7444# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7445#endif 7446 7447#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7448int 7449main () 7450{ 7451 int i; 7452 for (i = 0; i < 256; i++) 7453 if (XOR (islower (i), ISLOWER (i)) 7454 || toupper (i) != TOUPPER (i)) 7455 return 2; 7456 return 0; 7457} 7458_ACEOF 7459if ac_fn_c_try_run "$LINENO"; then : 7460 7461else 7462 ac_cv_header_stdc=no 7463fi 7464rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7465 conftest.$ac_objext conftest.beam conftest.$ac_ext 7466fi 7467 7468fi 7469fi 7470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7471$as_echo "$ac_cv_header_stdc" >&6; } 7472if test $ac_cv_header_stdc = yes; then 7473 7474$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7475 7476fi 7477 7478for ac_header in errno.h fcntl.h sys/time.h unistd.h 7479do : 7480 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7481ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7482if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7483 cat >>confdefs.h <<_ACEOF 7484#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7485_ACEOF 7486 7487fi 7488 7489done 7490 7491 7492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 7493$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7494if ${ac_cv_c_const+:} false; then : 7495 $as_echo_n "(cached) " >&6 7496else 7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7498/* end confdefs.h. */ 7499 7500int 7501main () 7502{ 7503 7504#ifndef __cplusplus 7505 /* Ultrix mips cc rejects this sort of thing. */ 7506 typedef int charset[2]; 7507 const charset cs = { 0, 0 }; 7508 /* SunOS 4.1.1 cc rejects this. */ 7509 char const *const *pcpcc; 7510 char **ppc; 7511 /* NEC SVR4.0.2 mips cc rejects this. */ 7512 struct point {int x, y;}; 7513 static struct point const zero = {0,0}; 7514 /* AIX XL C 1.02.0.0 rejects this. 7515 It does not let you subtract one const X* pointer from another in 7516 an arm of an if-expression whose if-part is not a constant 7517 expression */ 7518 const char *g = "string"; 7519 pcpcc = &g + (g ? g-g : 0); 7520 /* HPUX 7.0 cc rejects these. */ 7521 ++pcpcc; 7522 ppc = (char**) pcpcc; 7523 pcpcc = (char const *const *) ppc; 7524 { /* SCO 3.2v4 cc rejects this sort of thing. */ 7525 char tx; 7526 char *t = &tx; 7527 char const *s = 0 ? (char *) 0 : (char const *) 0; 7528 7529 *t++ = 0; 7530 if (s) return 0; 7531 } 7532 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 7533 int x[] = {25, 17}; 7534 const int *foo = &x[0]; 7535 ++foo; 7536 } 7537 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7538 typedef const int *iptr; 7539 iptr p = 0; 7540 ++p; 7541 } 7542 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 7543 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7544 struct s { int j; const int *ap[3]; } bx; 7545 struct s *b = &bx; b->j = 5; 7546 } 7547 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7548 const int foo = 10; 7549 if (!foo) return 0; 7550 } 7551 return !cs[0] && !zero.x; 7552#endif 7553 7554 ; 7555 return 0; 7556} 7557_ACEOF 7558if ac_fn_c_try_compile "$LINENO"; then : 7559 ac_cv_c_const=yes 7560else 7561 ac_cv_c_const=no 7562fi 7563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7564fi 7565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 7566$as_echo "$ac_cv_c_const" >&6; } 7567if test $ac_cv_c_const = no; then 7568 7569$as_echo "#define const /**/" >>confdefs.h 7570 7571fi 7572 7573ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 7574if test "x$ac_cv_type_mode_t" = xyes; then : 7575 7576else 7577 7578cat >>confdefs.h <<_ACEOF 7579#define mode_t int 7580_ACEOF 7581 7582fi 7583 7584ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 7585if test "x$ac_cv_type_off_t" = xyes; then : 7586 7587else 7588 7589cat >>confdefs.h <<_ACEOF 7590#define off_t long int 7591_ACEOF 7592 7593fi 7594 7595ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" 7596case $ac_cv_c_uint8_t in #( 7597 no|yes) ;; #( 7598 *) 7599 7600$as_echo "#define _UINT8_T 1" >>confdefs.h 7601 7602 7603cat >>confdefs.h <<_ACEOF 7604#define uint8_t $ac_cv_c_uint8_t 7605_ACEOF 7606;; 7607 esac 7608 7609ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" 7610case $ac_cv_c_uint16_t in #( 7611 no|yes) ;; #( 7612 *) 7613 7614 7615cat >>confdefs.h <<_ACEOF 7616#define uint16_t $ac_cv_c_uint16_t 7617_ACEOF 7618;; 7619 esac 7620 7621ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 7622case $ac_cv_c_uint32_t in #( 7623 no|yes) ;; #( 7624 *) 7625 7626$as_echo "#define _UINT32_T 1" >>confdefs.h 7627 7628 7629cat >>confdefs.h <<_ACEOF 7630#define uint32_t $ac_cv_c_uint32_t 7631_ACEOF 7632;; 7633 esac 7634 7635ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 7636case $ac_cv_c_uint64_t in #( 7637 no|yes) ;; #( 7638 *) 7639 7640$as_echo "#define _UINT64_T 1" >>confdefs.h 7641 7642 7643cat >>confdefs.h <<_ACEOF 7644#define uint64_t $ac_cv_c_uint64_t 7645_ACEOF 7646;; 7647 esac 7648 7649ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" 7650case $ac_cv_c_int8_t in #( 7651 no|yes) ;; #( 7652 *) 7653 7654cat >>confdefs.h <<_ACEOF 7655#define int8_t $ac_cv_c_int8_t 7656_ACEOF 7657;; 7658esac 7659 7660ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" 7661case $ac_cv_c_int16_t in #( 7662 no|yes) ;; #( 7663 *) 7664 7665cat >>confdefs.h <<_ACEOF 7666#define int16_t $ac_cv_c_int16_t 7667_ACEOF 7668;; 7669esac 7670 7671ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" 7672case $ac_cv_c_int32_t in #( 7673 no|yes) ;; #( 7674 *) 7675 7676cat >>confdefs.h <<_ACEOF 7677#define int32_t $ac_cv_c_int32_t 7678_ACEOF 7679;; 7680esac 7681 7682ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 7683case $ac_cv_c_int64_t in #( 7684 no|yes) ;; #( 7685 *) 7686 7687cat >>confdefs.h <<_ACEOF 7688#define int64_t $ac_cv_c_int64_t 7689_ACEOF 7690;; 7691esac 7692 7693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7694$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 7695if ${ac_cv_header_time+:} false; then : 7696 $as_echo_n "(cached) " >&6 7697else 7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7699/* end confdefs.h. */ 7700#include <sys/types.h> 7701#include <sys/time.h> 7702#include <time.h> 7703 7704int 7705main () 7706{ 7707if ((struct tm *) 0) 7708return 0; 7709 ; 7710 return 0; 7711} 7712_ACEOF 7713if ac_fn_c_try_compile "$LINENO"; then : 7714 ac_cv_header_time=yes 7715else 7716 ac_cv_header_time=no 7717fi 7718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7719fi 7720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 7721$as_echo "$ac_cv_header_time" >&6; } 7722if test $ac_cv_header_time = yes; then 7723 7724$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 7725 7726fi 7727 7728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7729$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7730if ${ac_cv_struct_tm+:} false; then : 7731 $as_echo_n "(cached) " >&6 7732else 7733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7734/* end confdefs.h. */ 7735#include <sys/types.h> 7736#include <time.h> 7737 7738int 7739main () 7740{ 7741struct tm tm; 7742 int *p = &tm.tm_sec; 7743 return !p; 7744 ; 7745 return 0; 7746} 7747_ACEOF 7748if ac_fn_c_try_compile "$LINENO"; then : 7749 ac_cv_struct_tm=time.h 7750else 7751 ac_cv_struct_tm=sys/time.h 7752fi 7753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7754fi 7755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 7756$as_echo "$ac_cv_struct_tm" >&6; } 7757if test $ac_cv_struct_tm = sys/time.h; then 7758 7759$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 7760 7761fi 7762 7763 7764ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 7765if test "x$ac_cv_type_size_t" = xyes; then : 7766 7767else 7768 7769cat >>confdefs.h <<_ACEOF 7770#define size_t unsigned int 7771_ACEOF 7772 7773fi 7774 7775# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7776# for constant arguments. Useless! 7777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 7778$as_echo_n "checking for working alloca.h... " >&6; } 7779if ${ac_cv_working_alloca_h+:} false; then : 7780 $as_echo_n "(cached) " >&6 7781else 7782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7783/* end confdefs.h. */ 7784#include <alloca.h> 7785int 7786main () 7787{ 7788char *p = (char *) alloca (2 * sizeof (int)); 7789 if (p) return 0; 7790 ; 7791 return 0; 7792} 7793_ACEOF 7794if ac_fn_c_try_link "$LINENO"; then : 7795 ac_cv_working_alloca_h=yes 7796else 7797 ac_cv_working_alloca_h=no 7798fi 7799rm -f core conftest.err conftest.$ac_objext \ 7800 conftest$ac_exeext conftest.$ac_ext 7801fi 7802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 7803$as_echo "$ac_cv_working_alloca_h" >&6; } 7804if test $ac_cv_working_alloca_h = yes; then 7805 7806$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 7807 7808fi 7809 7810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7811$as_echo_n "checking for alloca... " >&6; } 7812if ${ac_cv_func_alloca_works+:} false; then : 7813 $as_echo_n "(cached) " >&6 7814else 7815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7816/* end confdefs.h. */ 7817#ifdef __GNUC__ 7818# define alloca __builtin_alloca 7819#else 7820# ifdef _MSC_VER 7821# include <malloc.h> 7822# define alloca _alloca 7823# else 7824# ifdef HAVE_ALLOCA_H 7825# include <alloca.h> 7826# else 7827# ifdef _AIX 7828 #pragma alloca 7829# else 7830# ifndef alloca /* predefined by HP cc +Olibcalls */ 7831void *alloca (size_t); 7832# endif 7833# endif 7834# endif 7835# endif 7836#endif 7837 7838int 7839main () 7840{ 7841char *p = (char *) alloca (1); 7842 if (p) return 0; 7843 ; 7844 return 0; 7845} 7846_ACEOF 7847if ac_fn_c_try_link "$LINENO"; then : 7848 ac_cv_func_alloca_works=yes 7849else 7850 ac_cv_func_alloca_works=no 7851fi 7852rm -f core conftest.err conftest.$ac_objext \ 7853 conftest$ac_exeext conftest.$ac_ext 7854fi 7855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 7856$as_echo "$ac_cv_func_alloca_works" >&6; } 7857 7858if test $ac_cv_func_alloca_works = yes; then 7859 7860$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 7861 7862else 7863 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 7864# that cause trouble. Some versions do not even contain alloca or 7865# contain a buggy version. If you still want to use their alloca, 7866# use ar to extract alloca.o from them instead of compiling alloca.c. 7867 7868ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 7869 7870$as_echo "#define C_ALLOCA 1" >>confdefs.h 7871 7872 7873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7874$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7875if ${ac_cv_os_cray+:} false; then : 7876 $as_echo_n "(cached) " >&6 7877else 7878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7879/* end confdefs.h. */ 7880#if defined CRAY && ! defined CRAY2 7881webecray 7882#else 7883wenotbecray 7884#endif 7885 7886_ACEOF 7887if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7888 $EGREP "webecray" >/dev/null 2>&1; then : 7889 ac_cv_os_cray=yes 7890else 7891 ac_cv_os_cray=no 7892fi 7893rm -f conftest* 7894 7895fi 7896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 7897$as_echo "$ac_cv_os_cray" >&6; } 7898if test $ac_cv_os_cray = yes; then 7899 for ac_func in _getb67 GETB67 getb67; do 7900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7901ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 7902if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7903 7904cat >>confdefs.h <<_ACEOF 7905#define CRAY_STACKSEG_END $ac_func 7906_ACEOF 7907 7908 break 7909fi 7910 7911 done 7912fi 7913 7914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 7915$as_echo_n "checking stack direction for C alloca... " >&6; } 7916if ${ac_cv_c_stack_direction+:} false; then : 7917 $as_echo_n "(cached) " >&6 7918else 7919 if test "$cross_compiling" = yes; then : 7920 ac_cv_c_stack_direction=0 7921else 7922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7923/* end confdefs.h. */ 7924$ac_includes_default 7925int 7926find_stack_direction (int *addr, int depth) 7927{ 7928 int dir, dummy = 0; 7929 if (! addr) 7930 addr = &dummy; 7931 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; 7932 dir = depth ? find_stack_direction (addr, depth - 1) : 0; 7933 return dir + dummy; 7934} 7935 7936int 7937main (int argc, char **argv) 7938{ 7939 return find_stack_direction (0, argc + !argv + 20) < 0; 7940} 7941_ACEOF 7942if ac_fn_c_try_run "$LINENO"; then : 7943 ac_cv_c_stack_direction=1 7944else 7945 ac_cv_c_stack_direction=-1 7946fi 7947rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7948 conftest.$ac_objext conftest.beam conftest.$ac_ext 7949fi 7950 7951fi 7952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 7953$as_echo "$ac_cv_c_stack_direction" >&6; } 7954cat >>confdefs.h <<_ACEOF 7955#define STACK_DIRECTION $ac_cv_c_stack_direction 7956_ACEOF 7957 7958 7959fi 7960 7961 7962 7963 7964 7965 7966 7967 : 7968 7969 7970 7971 7972 7973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5 7974$as_echo_n "checking whether utime accepts a null argument... " >&6; } 7975if ${ac_cv_func_utime_null+:} false; then : 7976 $as_echo_n "(cached) " >&6 7977else 7978 rm -f conftest.data; >conftest.data 7979# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong. 7980if test "$cross_compiling" = yes; then : 7981 ac_cv_func_utime_null='guessing yes' 7982else 7983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7984/* end confdefs.h. */ 7985$ac_includes_default 7986 #ifdef HAVE_UTIME_H 7987 # include <utime.h> 7988 #endif 7989int 7990main () 7991{ 7992struct stat s, t; 7993 return ! (stat ("conftest.data", &s) == 0 7994 && utime ("conftest.data", 0) == 0 7995 && stat ("conftest.data", &t) == 0 7996 && t.st_mtime >= s.st_mtime 7997 && t.st_mtime - s.st_mtime < 120); 7998 ; 7999 return 0; 8000} 8001_ACEOF 8002if ac_fn_c_try_run "$LINENO"; then : 8003 ac_cv_func_utime_null=yes 8004else 8005 ac_cv_func_utime_null=no 8006fi 8007rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8008 conftest.$ac_objext conftest.beam conftest.$ac_ext 8009fi 8010 8011fi 8012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5 8013$as_echo "$ac_cv_func_utime_null" >&6; } 8014if test "x$ac_cv_func_utime_null" != xno; then 8015 ac_cv_func_utime_null=yes 8016 8017$as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h 8018 8019fi 8020rm -f conftest.data 8021 8022for ac_func in gettimeofday regcomp strdup strtol 8023do : 8024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8025ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8026if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8027 cat >>confdefs.h <<_ACEOF 8028#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8029_ACEOF 8030 8031fi 8032done 8033 8034 8035 8036orig_CFLAGS="$CFLAGS" 8037orig_LIBS="$LIBS" 8038CFLAGS="$CFLAGS $EXT2FS_CFLAGS" 8039LIBS="$LIBS $EXT2FS_LIBS" 8040 8041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_xattrs_read in -lext2fs" >&5 8042$as_echo_n "checking for ext2fs_xattrs_read in -lext2fs... " >&6; } 8043if ${ac_cv_lib_ext2fs_ext2fs_xattrs_read+:} false; then : 8044 $as_echo_n "(cached) " >&6 8045else 8046 ac_check_lib_save_LIBS=$LIBS 8047LIBS="-lext2fs $LIBS" 8048cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8049/* end confdefs.h. */ 8050 8051/* Override any GCC internal prototype to avoid an error. 8052 Use char because int might match the return type of a GCC 8053 builtin and then its argument prototype would still apply. */ 8054#ifdef __cplusplus 8055extern "C" 8056#endif 8057char ext2fs_xattrs_read (); 8058int 8059main () 8060{ 8061return ext2fs_xattrs_read (); 8062 ; 8063 return 0; 8064} 8065_ACEOF 8066if ac_fn_c_try_link "$LINENO"; then : 8067 ac_cv_lib_ext2fs_ext2fs_xattrs_read=yes 8068else 8069 ac_cv_lib_ext2fs_ext2fs_xattrs_read=no 8070fi 8071rm -f core conftest.err conftest.$ac_objext \ 8072 conftest$ac_exeext conftest.$ac_ext 8073LIBS=$ac_check_lib_save_LIBS 8074fi 8075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_xattrs_read" >&5 8076$as_echo "$ac_cv_lib_ext2fs_ext2fs_xattrs_read" >&6; } 8077if test "x$ac_cv_lib_ext2fs_ext2fs_xattrs_read" = xyes; then : 8078 have_ext2fs_xattrs=yes 8079 8080else 8081 have_ext2fs_xattrs=no 8082 8083fi 8084 8085 8086CFLAGS="$orig_CFLAGS" 8087LIBS="$orig_LIBS" 8088 8089 if test "x$have_ext2fs_xattrs" = "xyes"; then 8090 HAVE_EXT2FS_XATTRS_TRUE= 8091 HAVE_EXT2FS_XATTRS_FALSE='#' 8092else 8093 HAVE_EXT2FS_XATTRS_TRUE='#' 8094 HAVE_EXT2FS_XATTRS_FALSE= 8095fi 8096 8097if test -z "$HAVE_EXT2FS_XATTRS_TRUE"; then : 8098 8099$as_echo "#define HAVE_EXT2FS_XATTRS 1" >>confdefs.h 8100 8101 8102fi 8103 8104 8105 8106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((naked)) is available" >&5 8107$as_echo_n "checking whether __attribute__((naked)) is available... " >&6; } 8108orig_CFLAGS="$CFLAGS" 8109CFLAGS="$CFLAGS -Wall -Wextra -pedantic -Werror" 8110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8111/* end confdefs.h. */ 8112 8113static void test_function(void) 8114 __attribute__(( naked )) 8115 __attribute__(( used )); 8116static void test_function(void) 8117{ 8118 switch (0) { 8119 case 0: 8120 break; 8121 } 8122} 8123 8124_ACEOF 8125if ac_fn_c_try_compile "$LINENO"; then : 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8127$as_echo "yes" >&6; } 8128 8129$as_echo "#define FUNCTION_ATTRIBUTE_NAKED_IF_POSSIBLE __attribute__((naked))" >>confdefs.h 8130 8131 8132else 8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8134$as_echo "no" >&6; } 8135 8136$as_echo "#define FUNCTION_ATTRIBUTE_NAKED_IF_POSSIBLE /**/" >>confdefs.h 8137 8138 8139fi 8140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8141CFLAGS="$orig_CFLAGS" 8142 8143 8144 8145CFLAGS="$CFLAGS -Wall" 8146 8147ac_config_files="$ac_config_files Makefile lib/Makefile" 8148 8149cat >confcache <<\_ACEOF 8150# This file is a shell script that caches the results of configure 8151# tests run on this system so they can be shared between configure 8152# scripts and configure runs, see configure's option --config-cache. 8153# It is not useful on other systems. If it contains results you don't 8154# want to keep, you may remove or edit it. 8155# 8156# config.status only pays attention to the cache file if you give it 8157# the --recheck option to rerun configure. 8158# 8159# `ac_cv_env_foo' variables (set or unset) will be overridden when 8160# loading this file, other *unset* `ac_cv_foo' will be assigned the 8161# following values. 8162 8163_ACEOF 8164 8165# The following way of writing the cache mishandles newlines in values, 8166# but we know of no workaround that is simple, portable, and efficient. 8167# So, we kill variables containing newlines. 8168# Ultrix sh set writes to stderr and can't be redirected directly, 8169# and sets the high bit in the cache file unless we assign to the vars. 8170( 8171 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8172 eval ac_val=\$$ac_var 8173 case $ac_val in #( 8174 *${as_nl}*) 8175 case $ac_var in #( 8176 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8177$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8178 esac 8179 case $ac_var in #( 8180 _ | IFS | as_nl) ;; #( 8181 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8182 *) { eval $ac_var=; unset $ac_var;} ;; 8183 esac ;; 8184 esac 8185 done 8186 8187 (set) 2>&1 | 8188 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8189 *${as_nl}ac_space=\ *) 8190 # `set' does not quote correctly, so add quotes: double-quote 8191 # substitution turns \\\\ into \\, and sed turns \\ into \. 8192 sed -n \ 8193 "s/'/'\\\\''/g; 8194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8195 ;; #( 8196 *) 8197 # `set' quotes correctly as required by POSIX, so do not add quotes. 8198 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8199 ;; 8200 esac | 8201 sort 8202) | 8203 sed ' 8204 /^ac_cv_env_/b end 8205 t clear 8206 :clear 8207 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8208 t end 8209 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8210 :end' >>confcache 8211if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8212 if test -w "$cache_file"; then 8213 if test "x$cache_file" != "x/dev/null"; then 8214 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8215$as_echo "$as_me: updating cache $cache_file" >&6;} 8216 if test ! -f "$cache_file" || test -h "$cache_file"; then 8217 cat confcache >"$cache_file" 8218 else 8219 case $cache_file in #( 8220 */* | ?:*) 8221 mv -f confcache "$cache_file"$$ && 8222 mv -f "$cache_file"$$ "$cache_file" ;; #( 8223 *) 8224 mv -f confcache "$cache_file" ;; 8225 esac 8226 fi 8227 fi 8228 else 8229 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8230$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8231 fi 8232fi 8233rm -f confcache 8234 8235test "x$prefix" = xNONE && prefix=$ac_default_prefix 8236# Let make expand exec_prefix. 8237test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8238 8239DEFS=-DHAVE_CONFIG_H 8240 8241ac_libobjs= 8242ac_ltlibobjs= 8243U= 8244for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8245 # 1. Remove the extension, and $U if already installed. 8246 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8247 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 8248 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8249 # will be set to the directory where LIBOBJS objects are built. 8250 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8251 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8252done 8253LIBOBJS=$ac_libobjs 8254 8255LTLIBOBJS=$ac_ltlibobjs 8256 8257 8258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 8259$as_echo_n "checking that generated files are newer than configure... " >&6; } 8260 if test -n "$am_sleep_pid"; then 8261 # Hide warnings about reused PIDs. 8262 wait $am_sleep_pid 2>/dev/null 8263 fi 8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 8265$as_echo "done" >&6; } 8266 if test -n "$EXEEXT"; then 8267 am__EXEEXT_TRUE= 8268 am__EXEEXT_FALSE='#' 8269else 8270 am__EXEEXT_TRUE='#' 8271 am__EXEEXT_FALSE= 8272fi 8273 8274if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 8275 as_fn_error $? "conditional \"AMDEP\" was never defined. 8276Usually this means the macro was only invoked conditionally." "$LINENO" 5 8277fi 8278if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 8279 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 8280Usually this means the macro was only invoked conditionally." "$LINENO" 5 8281fi 8282if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then 8283 as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. 8284Usually this means the macro was only invoked conditionally." "$LINENO" 5 8285fi 8286if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then 8287 as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined. 8288Usually this means the macro was only invoked conditionally." "$LINENO" 5 8289fi 8290 8291 gl_libobjs= 8292 gl_ltlibobjs= 8293 if test -n "$gl_LIBOBJS"; then 8294 # Remove the extension. 8295 sed_drop_objext='s/\.o$//;s/\.obj$//' 8296 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do 8297 gl_libobjs="$gl_libobjs $i.$ac_objext" 8298 gl_ltlibobjs="$gl_ltlibobjs $i.lo" 8299 done 8300 fi 8301 gl_LIBOBJS=$gl_libobjs 8302 8303 gl_LTLIBOBJS=$gl_ltlibobjs 8304 8305 8306 8307 gltests_libobjs= 8308 gltests_ltlibobjs= 8309 if test -n "$gltests_LIBOBJS"; then 8310 # Remove the extension. 8311 sed_drop_objext='s/\.o$//;s/\.obj$//' 8312 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do 8313 gltests_libobjs="$gltests_libobjs $i.$ac_objext" 8314 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" 8315 done 8316 fi 8317 gltests_LIBOBJS=$gltests_libobjs 8318 8319 gltests_LTLIBOBJS=$gltests_ltlibobjs 8320 8321 8322if test -z "${HAVE_EXT2FS_XATTRS_TRUE}" && test -z "${HAVE_EXT2FS_XATTRS_FALSE}"; then 8323 as_fn_error $? "conditional \"HAVE_EXT2FS_XATTRS\" was never defined. 8324Usually this means the macro was only invoked conditionally." "$LINENO" 5 8325fi 8326 8327: "${CONFIG_STATUS=./config.status}" 8328ac_write_fail=0 8329ac_clean_files_save=$ac_clean_files 8330ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8331{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8332$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8333as_write_fail=0 8334cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8335#! $SHELL 8336# Generated by $as_me. 8337# Run this file to recreate the current configuration. 8338# Compiler output produced by configure, useful for debugging 8339# configure, is in config.log if it exists. 8340 8341debug=false 8342ac_cs_recheck=false 8343ac_cs_silent=false 8344 8345SHELL=\${CONFIG_SHELL-$SHELL} 8346export SHELL 8347_ASEOF 8348cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8349## -------------------- ## 8350## M4sh Initialization. ## 8351## -------------------- ## 8352 8353# Be more Bourne compatible 8354DUALCASE=1; export DUALCASE # for MKS sh 8355if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8356 emulate sh 8357 NULLCMD=: 8358 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8359 # is contrary to our usage. Disable this feature. 8360 alias -g '${1+"$@"}'='"$@"' 8361 setopt NO_GLOB_SUBST 8362else 8363 case `(set -o) 2>/dev/null` in #( 8364 *posix*) : 8365 set -o posix ;; #( 8366 *) : 8367 ;; 8368esac 8369fi 8370 8371 8372as_nl=' 8373' 8374export as_nl 8375# Printing a long string crashes Solaris 7 /usr/bin/printf. 8376as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8377as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8378as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8379# Prefer a ksh shell builtin over an external printf program on Solaris, 8380# but without wasting forks for bash or zsh. 8381if test -z "$BASH_VERSION$ZSH_VERSION" \ 8382 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8383 as_echo='print -r --' 8384 as_echo_n='print -rn --' 8385elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8386 as_echo='printf %s\n' 8387 as_echo_n='printf %s' 8388else 8389 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8390 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8391 as_echo_n='/usr/ucb/echo -n' 8392 else 8393 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8394 as_echo_n_body='eval 8395 arg=$1; 8396 case $arg in #( 8397 *"$as_nl"*) 8398 expr "X$arg" : "X\\(.*\\)$as_nl"; 8399 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8400 esac; 8401 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8402 ' 8403 export as_echo_n_body 8404 as_echo_n='sh -c $as_echo_n_body as_echo' 8405 fi 8406 export as_echo_body 8407 as_echo='sh -c $as_echo_body as_echo' 8408fi 8409 8410# The user is always right. 8411if test "${PATH_SEPARATOR+set}" != set; then 8412 PATH_SEPARATOR=: 8413 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8414 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8415 PATH_SEPARATOR=';' 8416 } 8417fi 8418 8419 8420# IFS 8421# We need space, tab and new line, in precisely that order. Quoting is 8422# there to prevent editors from complaining about space-tab. 8423# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8424# splitting by setting IFS to empty value.) 8425IFS=" "" $as_nl" 8426 8427# Find who we are. Look in the path if we contain no directory separator. 8428as_myself= 8429case $0 in #(( 8430 *[\\/]* ) as_myself=$0 ;; 8431 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8432for as_dir in $PATH 8433do 8434 IFS=$as_save_IFS 8435 test -z "$as_dir" && as_dir=. 8436 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8437 done 8438IFS=$as_save_IFS 8439 8440 ;; 8441esac 8442# We did not find ourselves, most probably we were run as `sh COMMAND' 8443# in which case we are not to be found in the path. 8444if test "x$as_myself" = x; then 8445 as_myself=$0 8446fi 8447if test ! -f "$as_myself"; then 8448 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8449 exit 1 8450fi 8451 8452# Unset variables that we do not need and which cause bugs (e.g. in 8453# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8454# suppresses any "Segmentation fault" message there. '((' could 8455# trigger a bug in pdksh 5.2.14. 8456for as_var in BASH_ENV ENV MAIL MAILPATH 8457do eval test x\${$as_var+set} = xset \ 8458 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8459done 8460PS1='$ ' 8461PS2='> ' 8462PS4='+ ' 8463 8464# NLS nuisances. 8465LC_ALL=C 8466export LC_ALL 8467LANGUAGE=C 8468export LANGUAGE 8469 8470# CDPATH. 8471(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8472 8473 8474# as_fn_error STATUS ERROR [LINENO LOG_FD] 8475# ---------------------------------------- 8476# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8477# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8478# script with STATUS, using 1 if that was 0. 8479as_fn_error () 8480{ 8481 as_status=$1; test $as_status -eq 0 && as_status=1 8482 if test "$4"; then 8483 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8484 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8485 fi 8486 $as_echo "$as_me: error: $2" >&2 8487 as_fn_exit $as_status 8488} # as_fn_error 8489 8490 8491# as_fn_set_status STATUS 8492# ----------------------- 8493# Set $? to STATUS, without forking. 8494as_fn_set_status () 8495{ 8496 return $1 8497} # as_fn_set_status 8498 8499# as_fn_exit STATUS 8500# ----------------- 8501# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8502as_fn_exit () 8503{ 8504 set +e 8505 as_fn_set_status $1 8506 exit $1 8507} # as_fn_exit 8508 8509# as_fn_unset VAR 8510# --------------- 8511# Portably unset VAR. 8512as_fn_unset () 8513{ 8514 { eval $1=; unset $1;} 8515} 8516as_unset=as_fn_unset 8517# as_fn_append VAR VALUE 8518# ---------------------- 8519# Append the text in VALUE to the end of the definition contained in VAR. Take 8520# advantage of any shell optimizations that allow amortized linear growth over 8521# repeated appends, instead of the typical quadratic growth present in naive 8522# implementations. 8523if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8524 eval 'as_fn_append () 8525 { 8526 eval $1+=\$2 8527 }' 8528else 8529 as_fn_append () 8530 { 8531 eval $1=\$$1\$2 8532 } 8533fi # as_fn_append 8534 8535# as_fn_arith ARG... 8536# ------------------ 8537# Perform arithmetic evaluation on the ARGs, and store the result in the 8538# global $as_val. Take advantage of shells that can avoid forks. The arguments 8539# must be portable across $(()) and expr. 8540if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8541 eval 'as_fn_arith () 8542 { 8543 as_val=$(( $* )) 8544 }' 8545else 8546 as_fn_arith () 8547 { 8548 as_val=`expr "$@" || test $? -eq 1` 8549 } 8550fi # as_fn_arith 8551 8552 8553if expr a : '\(a\)' >/dev/null 2>&1 && 8554 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8555 as_expr=expr 8556else 8557 as_expr=false 8558fi 8559 8560if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8561 as_basename=basename 8562else 8563 as_basename=false 8564fi 8565 8566if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8567 as_dirname=dirname 8568else 8569 as_dirname=false 8570fi 8571 8572as_me=`$as_basename -- "$0" || 8573$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8574 X"$0" : 'X\(//\)$' \| \ 8575 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8576$as_echo X/"$0" | 8577 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8578 s//\1/ 8579 q 8580 } 8581 /^X\/\(\/\/\)$/{ 8582 s//\1/ 8583 q 8584 } 8585 /^X\/\(\/\).*/{ 8586 s//\1/ 8587 q 8588 } 8589 s/.*/./; q'` 8590 8591# Avoid depending upon Character Ranges. 8592as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8593as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8594as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8595as_cr_digits='0123456789' 8596as_cr_alnum=$as_cr_Letters$as_cr_digits 8597 8598ECHO_C= ECHO_N= ECHO_T= 8599case `echo -n x` in #((((( 8600-n*) 8601 case `echo 'xy\c'` in 8602 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8603 xy) ECHO_C='\c';; 8604 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8605 ECHO_T=' ';; 8606 esac;; 8607*) 8608 ECHO_N='-n';; 8609esac 8610 8611rm -f conf$$ conf$$.exe conf$$.file 8612if test -d conf$$.dir; then 8613 rm -f conf$$.dir/conf$$.file 8614else 8615 rm -f conf$$.dir 8616 mkdir conf$$.dir 2>/dev/null 8617fi 8618if (echo >conf$$.file) 2>/dev/null; then 8619 if ln -s conf$$.file conf$$ 2>/dev/null; then 8620 as_ln_s='ln -s' 8621 # ... but there are two gotchas: 8622 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8623 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8624 # In both cases, we have to default to `cp -pR'. 8625 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8626 as_ln_s='cp -pR' 8627 elif ln conf$$.file conf$$ 2>/dev/null; then 8628 as_ln_s=ln 8629 else 8630 as_ln_s='cp -pR' 8631 fi 8632else 8633 as_ln_s='cp -pR' 8634fi 8635rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8636rmdir conf$$.dir 2>/dev/null 8637 8638 8639# as_fn_mkdir_p 8640# ------------- 8641# Create "$as_dir" as a directory, including parents if necessary. 8642as_fn_mkdir_p () 8643{ 8644 8645 case $as_dir in #( 8646 -*) as_dir=./$as_dir;; 8647 esac 8648 test -d "$as_dir" || eval $as_mkdir_p || { 8649 as_dirs= 8650 while :; do 8651 case $as_dir in #( 8652 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8653 *) as_qdir=$as_dir;; 8654 esac 8655 as_dirs="'$as_qdir' $as_dirs" 8656 as_dir=`$as_dirname -- "$as_dir" || 8657$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8658 X"$as_dir" : 'X\(//\)[^/]' \| \ 8659 X"$as_dir" : 'X\(//\)$' \| \ 8660 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8661$as_echo X"$as_dir" | 8662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8663 s//\1/ 8664 q 8665 } 8666 /^X\(\/\/\)[^/].*/{ 8667 s//\1/ 8668 q 8669 } 8670 /^X\(\/\/\)$/{ 8671 s//\1/ 8672 q 8673 } 8674 /^X\(\/\).*/{ 8675 s//\1/ 8676 q 8677 } 8678 s/.*/./; q'` 8679 test -d "$as_dir" && break 8680 done 8681 test -z "$as_dirs" || eval "mkdir $as_dirs" 8682 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8683 8684 8685} # as_fn_mkdir_p 8686if mkdir -p . 2>/dev/null; then 8687 as_mkdir_p='mkdir -p "$as_dir"' 8688else 8689 test -d ./-p && rmdir ./-p 8690 as_mkdir_p=false 8691fi 8692 8693 8694# as_fn_executable_p FILE 8695# ----------------------- 8696# Test if FILE is an executable regular file. 8697as_fn_executable_p () 8698{ 8699 test -f "$1" && test -x "$1" 8700} # as_fn_executable_p 8701as_test_x='test -x' 8702as_executable_p=as_fn_executable_p 8703 8704# Sed expression to map a string onto a valid CPP name. 8705as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8706 8707# Sed expression to map a string onto a valid variable name. 8708as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8709 8710 8711exec 6>&1 8712## ----------------------------------- ## 8713## Main body of $CONFIG_STATUS script. ## 8714## ----------------------------------- ## 8715_ASEOF 8716test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8717 8718cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8719# Save the log message, to keep $0 and so on meaningful, and to 8720# report actual input values of CONFIG_FILES etc. instead of their 8721# values after options handling. 8722ac_log=" 8723This file was extended by e2tools $as_me 0.1.0, which was 8724generated by GNU Autoconf 2.69. Invocation command line was 8725 8726 CONFIG_FILES = $CONFIG_FILES 8727 CONFIG_HEADERS = $CONFIG_HEADERS 8728 CONFIG_LINKS = $CONFIG_LINKS 8729 CONFIG_COMMANDS = $CONFIG_COMMANDS 8730 $ $0 $@ 8731 8732on `(hostname || uname -n) 2>/dev/null | sed 1q` 8733" 8734 8735_ACEOF 8736 8737case $ac_config_files in *" 8738"*) set x $ac_config_files; shift; ac_config_files=$*;; 8739esac 8740 8741case $ac_config_headers in *" 8742"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8743esac 8744 8745 8746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8747# Files that config.status was made for. 8748config_files="$ac_config_files" 8749config_headers="$ac_config_headers" 8750config_commands="$ac_config_commands" 8751 8752_ACEOF 8753 8754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8755ac_cs_usage="\ 8756\`$as_me' instantiates files and other configuration actions 8757from templates according to the current configuration. Unless the files 8758and actions are specified as TAGs, all are instantiated by default. 8759 8760Usage: $0 [OPTION]... [TAG]... 8761 8762 -h, --help print this help, then exit 8763 -V, --version print version number and configuration settings, then exit 8764 --config print configuration, then exit 8765 -q, --quiet, --silent 8766 do not print progress messages 8767 -d, --debug don't remove temporary files 8768 --recheck update $as_me by reconfiguring in the same conditions 8769 --file=FILE[:TEMPLATE] 8770 instantiate the configuration file FILE 8771 --header=FILE[:TEMPLATE] 8772 instantiate the configuration header FILE 8773 8774Configuration files: 8775$config_files 8776 8777Configuration headers: 8778$config_headers 8779 8780Configuration commands: 8781$config_commands 8782 8783Report bugs to <https://github.com/e2tools/e2tools/issues>. 8784e2tools home page: <https://e2tools.github.io/>." 8785 8786_ACEOF 8787cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8788ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8789ac_cs_version="\\ 8790e2tools config.status 0.1.0 8791configured by $0, generated by GNU Autoconf 2.69, 8792 with options \\"\$ac_cs_config\\" 8793 8794Copyright (C) 2012 Free Software Foundation, Inc. 8795This config.status script is free software; the Free Software Foundation 8796gives unlimited permission to copy, distribute and modify it." 8797 8798ac_pwd='$ac_pwd' 8799srcdir='$srcdir' 8800INSTALL='$INSTALL' 8801MKDIR_P='$MKDIR_P' 8802AWK='$AWK' 8803test -n "\$AWK" || AWK=awk 8804_ACEOF 8805 8806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8807# The default lists apply if the user does not specify any file. 8808ac_need_defaults=: 8809while test $# != 0 8810do 8811 case $1 in 8812 --*=?*) 8813 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8814 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8815 ac_shift=: 8816 ;; 8817 --*=) 8818 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8819 ac_optarg= 8820 ac_shift=: 8821 ;; 8822 *) 8823 ac_option=$1 8824 ac_optarg=$2 8825 ac_shift=shift 8826 ;; 8827 esac 8828 8829 case $ac_option in 8830 # Handling of the options. 8831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8832 ac_cs_recheck=: ;; 8833 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8834 $as_echo "$ac_cs_version"; exit ;; 8835 --config | --confi | --conf | --con | --co | --c ) 8836 $as_echo "$ac_cs_config"; exit ;; 8837 --debug | --debu | --deb | --de | --d | -d ) 8838 debug=: ;; 8839 --file | --fil | --fi | --f ) 8840 $ac_shift 8841 case $ac_optarg in 8842 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8843 '') as_fn_error $? "missing file argument" ;; 8844 esac 8845 as_fn_append CONFIG_FILES " '$ac_optarg'" 8846 ac_need_defaults=false;; 8847 --header | --heade | --head | --hea ) 8848 $ac_shift 8849 case $ac_optarg in 8850 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8851 esac 8852 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8853 ac_need_defaults=false;; 8854 --he | --h) 8855 # Conflict between --help and --header 8856 as_fn_error $? "ambiguous option: \`$1' 8857Try \`$0 --help' for more information.";; 8858 --help | --hel | -h ) 8859 $as_echo "$ac_cs_usage"; exit ;; 8860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8861 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8862 ac_cs_silent=: ;; 8863 8864 # This is an error. 8865 -*) as_fn_error $? "unrecognized option: \`$1' 8866Try \`$0 --help' for more information." ;; 8867 8868 *) as_fn_append ac_config_targets " $1" 8869 ac_need_defaults=false ;; 8870 8871 esac 8872 shift 8873done 8874 8875ac_configure_extra_args= 8876 8877if $ac_cs_silent; then 8878 exec 6>/dev/null 8879 ac_configure_extra_args="$ac_configure_extra_args --silent" 8880fi 8881 8882_ACEOF 8883cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8884if \$ac_cs_recheck; then 8885 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8886 shift 8887 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 8888 CONFIG_SHELL='$SHELL' 8889 export CONFIG_SHELL 8890 exec "\$@" 8891fi 8892 8893_ACEOF 8894cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8895exec 5>>config.log 8896{ 8897 echo 8898 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8899## Running $as_me. ## 8900_ASBOX 8901 $as_echo "$ac_log" 8902} >&5 8903 8904_ACEOF 8905cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8906# 8907# INIT-COMMANDS 8908# 8909AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 8910 8911_ACEOF 8912 8913cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8914 8915# Handling of arguments. 8916for ac_config_target in $ac_config_targets 8917do 8918 case $ac_config_target in 8919 "e2tools-autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS e2tools-autoconfig.h" ;; 8920 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8921 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8922 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 8923 8924 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8925 esac 8926done 8927 8928 8929# If the user did not use the arguments to specify the items to instantiate, 8930# then the envvar interface is used. Set only those that are not. 8931# We use the long form for the default assignment because of an extremely 8932# bizarre bug on SunOS 4.1.3. 8933if $ac_need_defaults; then 8934 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8935 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8936 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 8937fi 8938 8939# Have a temporary directory for convenience. Make it in the build tree 8940# simply because there is no reason against having it here, and in addition, 8941# creating and moving files from /tmp can sometimes cause problems. 8942# Hook for its removal unless debugging. 8943# Note that there is a small window in which the directory will not be cleaned: 8944# after its creation but before its name has been assigned to `$tmp'. 8945$debug || 8946{ 8947 tmp= ac_tmp= 8948 trap 'exit_status=$? 8949 : "${ac_tmp:=$tmp}" 8950 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8951' 0 8952 trap 'as_fn_exit 1' 1 2 13 15 8953} 8954# Create a (secure) tmp directory for tmp files. 8955 8956{ 8957 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8958 test -d "$tmp" 8959} || 8960{ 8961 tmp=./conf$$-$RANDOM 8962 (umask 077 && mkdir "$tmp") 8963} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8964ac_tmp=$tmp 8965 8966# Set up the scripts for CONFIG_FILES section. 8967# No need to generate them if there are no CONFIG_FILES. 8968# This happens for instance with `./config.status config.h'. 8969if test -n "$CONFIG_FILES"; then 8970 8971 8972ac_cr=`echo X | tr X '\015'` 8973# On cygwin, bash can eat \r inside `` if the user requested igncr. 8974# But we know of no other shell where ac_cr would be empty at this 8975# point, so we can use a bashism as a fallback. 8976if test "x$ac_cr" = x; then 8977 eval ac_cr=\$\'\\r\' 8978fi 8979ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8980if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8981 ac_cs_awk_cr='\\r' 8982else 8983 ac_cs_awk_cr=$ac_cr 8984fi 8985 8986echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8987_ACEOF 8988 8989 8990{ 8991 echo "cat >conf$$subs.awk <<_ACEOF" && 8992 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8993 echo "_ACEOF" 8994} >conf$$subs.sh || 8995 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8996ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8997ac_delim='%!_!# ' 8998for ac_last_try in false false false false false :; do 8999 . ./conf$$subs.sh || 9000 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9001 9002 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 9003 if test $ac_delim_n = $ac_delim_num; then 9004 break 9005 elif $ac_last_try; then 9006 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 9007 else 9008 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9009 fi 9010done 9011rm -f conf$$subs.sh 9012 9013cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9014cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 9015_ACEOF 9016sed -n ' 9017h 9018s/^/S["/; s/!.*/"]=/ 9019p 9020g 9021s/^[^!]*!// 9022:repl 9023t repl 9024s/'"$ac_delim"'$// 9025t delim 9026:nl 9027h 9028s/\(.\{148\}\)..*/\1/ 9029t more1 9030s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 9031p 9032n 9033b repl 9034:more1 9035s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9036p 9037g 9038s/.\{148\}// 9039t nl 9040:delim 9041h 9042s/\(.\{148\}\)..*/\1/ 9043t more2 9044s/["\\]/\\&/g; s/^/"/; s/$/"/ 9045p 9046b 9047:more2 9048s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 9049p 9050g 9051s/.\{148\}// 9052t delim 9053' <conf$$subs.awk | sed ' 9054/^[^""]/{ 9055 N 9056 s/\n// 9057} 9058' >>$CONFIG_STATUS || ac_write_fail=1 9059rm -f conf$$subs.awk 9060cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9061_ACAWK 9062cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 9063 for (key in S) S_is_set[key] = 1 9064 FS = "" 9065 9066} 9067{ 9068 line = $ 0 9069 nfields = split(line, field, "@") 9070 substed = 0 9071 len = length(field[1]) 9072 for (i = 2; i < nfields; i++) { 9073 key = field[i] 9074 keylen = length(key) 9075 if (S_is_set[key]) { 9076 value = S[key] 9077 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9078 len += length(value) + length(field[++i]) 9079 substed = 1 9080 } else 9081 len += 1 + keylen 9082 } 9083 9084 print line 9085} 9086 9087_ACAWK 9088_ACEOF 9089cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9090if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9091 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9092else 9093 cat 9094fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9095 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9096_ACEOF 9097 9098# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9099# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9100# trailing colons and then remove the whole line if VPATH becomes empty 9101# (actually we leave an empty line to preserve line numbers). 9102if test "x$srcdir" = x.; then 9103 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9104h 9105s/// 9106s/^/:/ 9107s/[ ]*$/:/ 9108s/:\$(srcdir):/:/g 9109s/:\${srcdir}:/:/g 9110s/:@srcdir@:/:/g 9111s/^:*// 9112s/:*$// 9113x 9114s/\(=[ ]*\).*/\1/ 9115G 9116s/\n// 9117s/^[^=]*=[ ]*$// 9118}' 9119fi 9120 9121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9122fi # test -n "$CONFIG_FILES" 9123 9124# Set up the scripts for CONFIG_HEADERS section. 9125# No need to generate them if there are no CONFIG_HEADERS. 9126# This happens for instance with `./config.status Makefile'. 9127if test -n "$CONFIG_HEADERS"; then 9128cat >"$ac_tmp/defines.awk" <<\_ACAWK || 9129BEGIN { 9130_ACEOF 9131 9132# Transform confdefs.h into an awk script `defines.awk', embedded as 9133# here-document in config.status, that substitutes the proper values into 9134# config.h.in to produce config.h. 9135 9136# Create a delimiter string that does not exist in confdefs.h, to ease 9137# handling of long lines. 9138ac_delim='%!_!# ' 9139for ac_last_try in false false :; do 9140 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9141 if test -z "$ac_tt"; then 9142 break 9143 elif $ac_last_try; then 9144 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9145 else 9146 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9147 fi 9148done 9149 9150# For the awk script, D is an array of macro values keyed by name, 9151# likewise P contains macro parameters if any. Preserve backslash 9152# newline sequences. 9153 9154ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9155sed -n ' 9156s/.\{148\}/&'"$ac_delim"'/g 9157t rset 9158:rset 9159s/^[ ]*#[ ]*define[ ][ ]*/ / 9160t def 9161d 9162:def 9163s/\\$// 9164t bsnl 9165s/["\\]/\\&/g 9166s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9167D["\1"]=" \3"/p 9168s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9169d 9170:bsnl 9171s/["\\]/\\&/g 9172s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9173D["\1"]=" \3\\\\\\n"\\/p 9174t cont 9175s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9176t cont 9177d 9178:cont 9179n 9180s/.\{148\}/&'"$ac_delim"'/g 9181t clear 9182:clear 9183s/\\$// 9184t bsnlc 9185s/["\\]/\\&/g; s/^/"/; s/$/"/p 9186d 9187:bsnlc 9188s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9189b cont 9190' <confdefs.h | sed ' 9191s/'"$ac_delim"'/"\\\ 9192"/g' >>$CONFIG_STATUS || ac_write_fail=1 9193 9194cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9195 for (key in D) D_is_set[key] = 1 9196 FS = "" 9197} 9198/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9199 line = \$ 0 9200 split(line, arg, " ") 9201 if (arg[1] == "#") { 9202 defundef = arg[2] 9203 mac1 = arg[3] 9204 } else { 9205 defundef = substr(arg[1], 2) 9206 mac1 = arg[2] 9207 } 9208 split(mac1, mac2, "(") #) 9209 macro = mac2[1] 9210 prefix = substr(line, 1, index(line, defundef) - 1) 9211 if (D_is_set[macro]) { 9212 # Preserve the white space surrounding the "#". 9213 print prefix "define", macro P[macro] D[macro] 9214 next 9215 } else { 9216 # Replace #undef with comments. This is necessary, for example, 9217 # in the case of _POSIX_SOURCE, which is predefined and required 9218 # on some systems where configure will not decide to define it. 9219 if (defundef == "undef") { 9220 print "/*", prefix defundef, macro, "*/" 9221 next 9222 } 9223 } 9224} 9225{ print } 9226_ACAWK 9227_ACEOF 9228cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9229 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 9230fi # test -n "$CONFIG_HEADERS" 9231 9232 9233eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 9234shift 9235for ac_tag 9236do 9237 case $ac_tag in 9238 :[FHLC]) ac_mode=$ac_tag; continue;; 9239 esac 9240 case $ac_mode$ac_tag in 9241 :[FHL]*:*);; 9242 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9243 :[FH]-) ac_tag=-:-;; 9244 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9245 esac 9246 ac_save_IFS=$IFS 9247 IFS=: 9248 set x $ac_tag 9249 IFS=$ac_save_IFS 9250 shift 9251 ac_file=$1 9252 shift 9253 9254 case $ac_mode in 9255 :L) ac_source=$1;; 9256 :[FH]) 9257 ac_file_inputs= 9258 for ac_f 9259 do 9260 case $ac_f in 9261 -) ac_f="$ac_tmp/stdin";; 9262 *) # Look for the file first in the build tree, then in the source tree 9263 # (if the path is not absolute). The absolute path cannot be DOS-style, 9264 # because $ac_f cannot contain `:'. 9265 test -f "$ac_f" || 9266 case $ac_f in 9267 [\\/$]*) false;; 9268 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9269 esac || 9270 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9271 esac 9272 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9273 as_fn_append ac_file_inputs " '$ac_f'" 9274 done 9275 9276 # Let's still pretend it is `configure' which instantiates (i.e., don't 9277 # use $as_me), people would be surprised to read: 9278 # /* config.h. Generated by config.status. */ 9279 configure_input='Generated from '` 9280 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9281 `' by configure.' 9282 if test x"$ac_file" != x-; then 9283 configure_input="$ac_file. $configure_input" 9284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 9285$as_echo "$as_me: creating $ac_file" >&6;} 9286 fi 9287 # Neutralize special characters interpreted by sed in replacement strings. 9288 case $configure_input in #( 9289 *\&* | *\|* | *\\* ) 9290 ac_sed_conf_input=`$as_echo "$configure_input" | 9291 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9292 *) ac_sed_conf_input=$configure_input;; 9293 esac 9294 9295 case $ac_tag in 9296 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9297 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9298 esac 9299 ;; 9300 esac 9301 9302 ac_dir=`$as_dirname -- "$ac_file" || 9303$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9304 X"$ac_file" : 'X\(//\)[^/]' \| \ 9305 X"$ac_file" : 'X\(//\)$' \| \ 9306 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9307$as_echo X"$ac_file" | 9308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9309 s//\1/ 9310 q 9311 } 9312 /^X\(\/\/\)[^/].*/{ 9313 s//\1/ 9314 q 9315 } 9316 /^X\(\/\/\)$/{ 9317 s//\1/ 9318 q 9319 } 9320 /^X\(\/\).*/{ 9321 s//\1/ 9322 q 9323 } 9324 s/.*/./; q'` 9325 as_dir="$ac_dir"; as_fn_mkdir_p 9326 ac_builddir=. 9327 9328case "$ac_dir" in 9329.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9330*) 9331 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 9332 # A ".." for each directory in $ac_dir_suffix. 9333 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9334 case $ac_top_builddir_sub in 9335 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9336 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9337 esac ;; 9338esac 9339ac_abs_top_builddir=$ac_pwd 9340ac_abs_builddir=$ac_pwd$ac_dir_suffix 9341# for backward compatibility: 9342ac_top_builddir=$ac_top_build_prefix 9343 9344case $srcdir in 9345 .) # We are building in place. 9346 ac_srcdir=. 9347 ac_top_srcdir=$ac_top_builddir_sub 9348 ac_abs_top_srcdir=$ac_pwd ;; 9349 [\\/]* | ?:[\\/]* ) # Absolute name. 9350 ac_srcdir=$srcdir$ac_dir_suffix; 9351 ac_top_srcdir=$srcdir 9352 ac_abs_top_srcdir=$srcdir ;; 9353 *) # Relative name. 9354 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9355 ac_top_srcdir=$ac_top_build_prefix$srcdir 9356 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9357esac 9358ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9359 9360 9361 case $ac_mode in 9362 :F) 9363 # 9364 # CONFIG_FILE 9365 # 9366 9367 case $INSTALL in 9368 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9369 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9370 esac 9371 ac_MKDIR_P=$MKDIR_P 9372 case $MKDIR_P in 9373 [\\/$]* | ?:[\\/]* ) ;; 9374 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 9375 esac 9376_ACEOF 9377 9378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9379# If the template does not know about datarootdir, expand it. 9380# FIXME: This hack should be removed a few years after 2.60. 9381ac_datarootdir_hack=; ac_datarootdir_seen= 9382ac_sed_dataroot=' 9383/datarootdir/ { 9384 p 9385 q 9386} 9387/@datadir@/p 9388/@docdir@/p 9389/@infodir@/p 9390/@localedir@/p 9391/@mandir@/p' 9392case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9393*datarootdir*) ac_datarootdir_seen=yes;; 9394*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9396$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9397_ACEOF 9398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9399 ac_datarootdir_hack=' 9400 s&@datadir@&$datadir&g 9401 s&@docdir@&$docdir&g 9402 s&@infodir@&$infodir&g 9403 s&@localedir@&$localedir&g 9404 s&@mandir@&$mandir&g 9405 s&\\\${datarootdir}&$datarootdir&g' ;; 9406esac 9407_ACEOF 9408 9409# Neutralize VPATH when `$srcdir' = `.'. 9410# Shell code in configure.ac might set extrasub. 9411# FIXME: do we really want to maintain this feature? 9412cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9413ac_sed_extra="$ac_vpsub 9414$extrasub 9415_ACEOF 9416cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9417:t 9418/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9419s|@configure_input@|$ac_sed_conf_input|;t t 9420s&@top_builddir@&$ac_top_builddir_sub&;t t 9421s&@top_build_prefix@&$ac_top_build_prefix&;t t 9422s&@srcdir@&$ac_srcdir&;t t 9423s&@abs_srcdir@&$ac_abs_srcdir&;t t 9424s&@top_srcdir@&$ac_top_srcdir&;t t 9425s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9426s&@builddir@&$ac_builddir&;t t 9427s&@abs_builddir@&$ac_abs_builddir&;t t 9428s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9429s&@INSTALL@&$ac_INSTALL&;t t 9430s&@MKDIR_P@&$ac_MKDIR_P&;t t 9431$ac_datarootdir_hack 9432" 9433eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9434 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9435 9436test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9437 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9438 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9439 "$ac_tmp/out"`; test -z "$ac_out"; } && 9440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9441which seems to be undefined. Please make sure it is defined" >&5 9442$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9443which seems to be undefined. Please make sure it is defined" >&2;} 9444 9445 rm -f "$ac_tmp/stdin" 9446 case $ac_file in 9447 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9448 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9449 esac \ 9450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9451 ;; 9452 :H) 9453 # 9454 # CONFIG_HEADER 9455 # 9456 if test x"$ac_file" != x-; then 9457 { 9458 $as_echo "/* $configure_input */" \ 9459 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9460 } >"$ac_tmp/config.h" \ 9461 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9462 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9463 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9464$as_echo "$as_me: $ac_file is unchanged" >&6;} 9465 else 9466 rm -f "$ac_file" 9467 mv "$ac_tmp/config.h" "$ac_file" \ 9468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9469 fi 9470 else 9471 $as_echo "/* $configure_input */" \ 9472 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9473 || as_fn_error $? "could not create -" "$LINENO" 5 9474 fi 9475# Compute "$ac_file"'s index in $config_headers. 9476_am_arg="$ac_file" 9477_am_stamp_count=1 9478for _am_header in $config_headers :; do 9479 case $_am_header in 9480 $_am_arg | $_am_arg:* ) 9481 break ;; 9482 * ) 9483 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9484 esac 9485done 9486echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9487$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9488 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9489 X"$_am_arg" : 'X\(//\)$' \| \ 9490 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9491$as_echo X"$_am_arg" | 9492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9493 s//\1/ 9494 q 9495 } 9496 /^X\(\/\/\)[^/].*/{ 9497 s//\1/ 9498 q 9499 } 9500 /^X\(\/\/\)$/{ 9501 s//\1/ 9502 q 9503 } 9504 /^X\(\/\).*/{ 9505 s//\1/ 9506 q 9507 } 9508 s/.*/./; q'`/stamp-h$_am_stamp_count 9509 ;; 9510 9511 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 9512$as_echo "$as_me: executing $ac_file commands" >&6;} 9513 ;; 9514 esac 9515 9516 9517 case $ac_file$ac_mode in 9518 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9519 # Older Autoconf quotes --file arguments for eval, but not when files 9520 # are listed without --file. Let's play safe and only enable the eval 9521 # if we detect the quoting. 9522 # TODO: see whether this extra hack can be removed once we start 9523 # requiring Autoconf 2.70 or later. 9524 case $CONFIG_FILES in #( 9525 *\'*) : 9526 eval set x "$CONFIG_FILES" ;; #( 9527 *) : 9528 set x $CONFIG_FILES ;; #( 9529 *) : 9530 ;; 9531esac 9532 shift 9533 # Used to flag and report bootstrapping failures. 9534 am_rc=0 9535 for am_mf 9536 do 9537 # Strip MF so we end up with the name of the file. 9538 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 9539 # Check whether this is an Automake generated Makefile which includes 9540 # dependency-tracking related rules and includes. 9541 # Grep'ing the whole file directly is not great: AIX grep has a line 9542 # limit of 2048, but all sed's we know have understand at least 4000. 9543 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 9544 || continue 9545 am_dirpart=`$as_dirname -- "$am_mf" || 9546$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9547 X"$am_mf" : 'X\(//\)[^/]' \| \ 9548 X"$am_mf" : 'X\(//\)$' \| \ 9549 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 9550$as_echo X"$am_mf" | 9551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9552 s//\1/ 9553 q 9554 } 9555 /^X\(\/\/\)[^/].*/{ 9556 s//\1/ 9557 q 9558 } 9559 /^X\(\/\/\)$/{ 9560 s//\1/ 9561 q 9562 } 9563 /^X\(\/\).*/{ 9564 s//\1/ 9565 q 9566 } 9567 s/.*/./; q'` 9568 am_filepart=`$as_basename -- "$am_mf" || 9569$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 9570 X"$am_mf" : 'X\(//\)$' \| \ 9571 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 9572$as_echo X/"$am_mf" | 9573 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9574 s//\1/ 9575 q 9576 } 9577 /^X\/\(\/\/\)$/{ 9578 s//\1/ 9579 q 9580 } 9581 /^X\/\(\/\).*/{ 9582 s//\1/ 9583 q 9584 } 9585 s/.*/./; q'` 9586 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 9587 && sed -e '/# am--include-marker/d' "$am_filepart" \ 9588 | $MAKE -f - am--depfiles" >&5 9589 (cd "$am_dirpart" \ 9590 && sed -e '/# am--include-marker/d' "$am_filepart" \ 9591 | $MAKE -f - am--depfiles) >&5 2>&5 9592 ac_status=$? 9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9594 (exit $ac_status); } || am_rc=$? 9595 done 9596 if test $am_rc -ne 0; then 9597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9598$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9599as_fn_error $? "Something went wrong bootstrapping makefile fragments 9600 for automatic dependency tracking. Try re-running configure with the 9601 '--disable-dependency-tracking' option to at least be able to build 9602 the package (albeit without support for automatic dependency tracking). 9603See \`config.log' for more details" "$LINENO" 5; } 9604 fi 9605 { am_dirpart=; unset am_dirpart;} 9606 { am_filepart=; unset am_filepart;} 9607 { am_mf=; unset am_mf;} 9608 { am_rc=; unset am_rc;} 9609 rm -f conftest-deps.mk 9610} 9611 ;; 9612 9613 esac 9614done # for ac_tag 9615 9616 9617as_fn_exit 0 9618_ACEOF 9619ac_clean_files=$ac_clean_files_save 9620 9621test $ac_write_fail = 0 || 9622 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9623 9624 9625# configure is writing to config.log, and then calls config.status. 9626# config.status does its own redirection, appending to config.log. 9627# Unfortunately, on DOS this fails, as config.log is still kept open 9628# by configure, so config.status won't be able to write to it; its 9629# output is simply discarded. So we exec the FD to /dev/null, 9630# effectively closing config.log, so it can be properly (re)opened and 9631# appended to by config.status. When coming back to configure, we 9632# need to make the FD available again. 9633if test "$no_create" != yes; then 9634 ac_cs_success=: 9635 ac_config_status_args= 9636 test "$silent" = yes && 9637 ac_config_status_args="$ac_config_status_args --quiet" 9638 exec 5>/dev/null 9639 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9640 exec 5>>config.log 9641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9642 # would make configure fail if this is the last instruction. 9643 $ac_cs_success || as_fn_exit 1 9644fi 9645if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9647$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9648fi 9649 9650