2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for biosdevname 0.3.7.
5
# Report bugs to <Matt_Domsch@dell.com>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: Matt_Domsch@dell.com about your system, including any
235
$0: error possibly output before this message. Then install
236
$0: a modern shell, or manually run the script under such a
237
$0: shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error STATUS ERROR [LINENO LOG_FD]
363
# ----------------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with STATUS, using 1 if that was 0.
369
as_status=$1; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374
$as_echo "$as_me: error: $2" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
chmod +x "$as_me.lineno" ||
445
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
# Don't try to exec as it changes $[0], causing all sort of problems
448
# (the dirname of $[0] is not the place where we might find the
449
# original and so on. Autoconf is especially sensitive to this).
451
# Exit status is that of the last command.
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in #(((((
458
case `echo 'xy\c'` in
459
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
461
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
rm -f conf$$.dir/conf$$.file
473
mkdir conf$$.dir 2>/dev/null
475
if (echo >conf$$.file) 2>/dev/null; then
476
if ln -s conf$$.file conf$$ 2>/dev/null; then
478
# ... but there are two gotchas:
479
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
482
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
elif ln conf$$.file conf$$ 2>/dev/null; then
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
495
if mkdir -p . 2>/dev/null; then
496
as_mkdir_p='mkdir -p "$as_dir"'
498
test -d ./-p && rmdir ./-p
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532
test -n "$DJDIR" || exec 7<&0 </dev/null
536
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537
# so uname gets run too.
538
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
ac_default_prefix=/usr/local
545
ac_config_libobj_dir=.
552
# Identity of this package.
553
PACKAGE_NAME='biosdevname'
554
PACKAGE_TARNAME='biosdevname'
555
PACKAGE_VERSION='0.3.7'
556
PACKAGE_STRING='biosdevname 0.3.7'
557
PACKAGE_BUGREPORT='Matt_Domsch@dell.com'
560
# Factoring default headers for most tests.
561
ac_includes_default="\
563
#ifdef HAVE_SYS_TYPES_H
564
# include <sys/types.h>
566
#ifdef HAVE_SYS_STAT_H
567
# include <sys/stat.h>
573
# ifdef HAVE_STDLIB_H
578
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583
#ifdef HAVE_STRINGS_H
584
# include <strings.h>
586
#ifdef HAVE_INTTYPES_H
587
# include <inttypes.h>
596
ac_unique_file="src/read_proc.c"
599
ac_subst_vars='am__EXEEXT_FALSE
616
MAINTAINER_MODE_FALSE
635
INSTALL_STRIP_PROGRAM
687
program_transform_name
700
enable_option_checking
701
enable_dependency_tracking
702
enable_maintainer_mode
704
ac_precious_vars='build_alias
718
# Initialize some variables set by options.
720
ac_init_version=false
721
ac_unrecognized_opts=
723
# The variables have the same names as the options, with
724
# dashes changed to underlines.
732
program_transform_name=s,x,x,
740
# Installation directory options.
741
# These are left unexpanded so users can "make install exec_prefix=/foo"
742
# and all the variables that are supposed to be based on exec_prefix
743
# by default will actually change.
744
# Use braces instead of parens because sh, perl, etc. also accept them.
745
# (The list follows the same order as the GNU Coding Standards.)
746
bindir='${exec_prefix}/bin'
747
sbindir='${exec_prefix}/sbin'
748
libexecdir='${exec_prefix}/libexec'
749
datarootdir='${prefix}/share'
750
datadir='${datarootdir}'
751
sysconfdir='${prefix}/etc'
752
sharedstatedir='${prefix}/com'
753
localstatedir='${prefix}/var'
754
includedir='${prefix}/include'
755
oldincludedir='/usr/include'
756
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
757
infodir='${datarootdir}/info'
762
libdir='${exec_prefix}/lib'
763
localedir='${datarootdir}/locale'
764
mandir='${datarootdir}/man'
770
# If the previous option needs an argument, assign it.
771
if test -n "$ac_prev"; then
772
eval $ac_prev=\$ac_option
778
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783
# Accept the important Cygnus configure options, so we can diagnose typos.
785
case $ac_dashdash$ac_option in
789
-bindir | --bindir | --bindi | --bind | --bin | --bi)
791
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
794
-build | --build | --buil | --bui | --bu)
795
ac_prev=build_alias ;;
796
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
797
build_alias=$ac_optarg ;;
799
-cache-file | --cache-file | --cache-fil | --cache-fi \
800
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
801
ac_prev=cache_file ;;
802
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
803
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
804
cache_file=$ac_optarg ;;
807
cache_file=config.cache ;;
809
-datadir | --datadir | --datadi | --datad)
811
-datadir=* | --datadir=* | --datadi=* | --datad=*)
812
datadir=$ac_optarg ;;
814
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
815
| --dataroo | --dataro | --datar)
816
ac_prev=datarootdir ;;
817
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
818
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
819
datarootdir=$ac_optarg ;;
821
-disable-* | --disable-*)
822
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823
# Reject names that are not valid shell variable names.
824
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825
as_fn_error $? "invalid feature name: $ac_useropt"
826
ac_useropt_orig=$ac_useropt
827
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828
case $ac_user_opts in
832
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
833
ac_unrecognized_sep=', ';;
835
eval enable_$ac_useropt=no ;;
837
-docdir | --docdir | --docdi | --doc | --do)
839
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
842
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
847
-enable-* | --enable-*)
848
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
849
# Reject names that are not valid shell variable names.
850
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
851
as_fn_error $? "invalid feature name: $ac_useropt"
852
ac_useropt_orig=$ac_useropt
853
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854
case $ac_user_opts in
858
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
859
ac_unrecognized_sep=', ';;
861
eval enable_$ac_useropt=\$ac_optarg ;;
863
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
864
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
865
| --exec | --exe | --ex)
866
ac_prev=exec_prefix ;;
867
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
868
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
869
| --exec=* | --exe=* | --ex=*)
870
exec_prefix=$ac_optarg ;;
872
-gas | --gas | --ga | --g)
873
# Obsolete; use --with-gas.
876
-help | --help | --hel | --he | -h)
878
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
879
ac_init_help=recursive ;;
880
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
881
ac_init_help=short ;;
883
-host | --host | --hos | --ho)
884
ac_prev=host_alias ;;
885
-host=* | --host=* | --hos=* | --ho=*)
886
host_alias=$ac_optarg ;;
888
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892
htmldir=$ac_optarg ;;
894
-includedir | --includedir | --includedi | --included | --include \
895
| --includ | --inclu | --incl | --inc)
896
ac_prev=includedir ;;
897
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
898
| --includ=* | --inclu=* | --incl=* | --inc=*)
899
includedir=$ac_optarg ;;
901
-infodir | --infodir | --infodi | --infod | --info | --inf)
903
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
904
infodir=$ac_optarg ;;
906
-libdir | --libdir | --libdi | --libd)
908
-libdir=* | --libdir=* | --libdi=* | --libd=*)
911
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
912
| --libexe | --libex | --libe)
913
ac_prev=libexecdir ;;
914
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
915
| --libexe=* | --libex=* | --libe=*)
916
libexecdir=$ac_optarg ;;
918
-localedir | --localedir | --localedi | --localed | --locale)
920
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
921
localedir=$ac_optarg ;;
923
-localstatedir | --localstatedir | --localstatedi | --localstated \
924
| --localstate | --localstat | --localsta | --localst | --locals)
925
ac_prev=localstatedir ;;
926
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
927
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
928
localstatedir=$ac_optarg ;;
930
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
936
# Obsolete; use --without-fp.
939
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
940
| --no-cr | --no-c | -n)
943
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
944
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
947
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
948
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
949
| --oldin | --oldi | --old | --ol | --o)
950
ac_prev=oldincludedir ;;
951
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
952
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
953
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
954
oldincludedir=$ac_optarg ;;
956
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
961
-program-prefix | --program-prefix | --program-prefi | --program-pref \
962
| --program-pre | --program-pr | --program-p)
963
ac_prev=program_prefix ;;
964
-program-prefix=* | --program-prefix=* | --program-prefi=* \
965
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
966
program_prefix=$ac_optarg ;;
968
-program-suffix | --program-suffix | --program-suffi | --program-suff \
969
| --program-suf | --program-su | --program-s)
970
ac_prev=program_suffix ;;
971
-program-suffix=* | --program-suffix=* | --program-suffi=* \
972
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
973
program_suffix=$ac_optarg ;;
975
-program-transform-name | --program-transform-name \
976
| --program-transform-nam | --program-transform-na \
977
| --program-transform-n | --program-transform- \
978
| --program-transform | --program-transfor \
979
| --program-transfo | --program-transf \
980
| --program-trans | --program-tran \
981
| --progr-tra | --program-tr | --program-t)
982
ac_prev=program_transform_name ;;
983
-program-transform-name=* | --program-transform-name=* \
984
| --program-transform-nam=* | --program-transform-na=* \
985
| --program-transform-n=* | --program-transform-=* \
986
| --program-transform=* | --program-transfor=* \
987
| --program-transfo=* | --program-transf=* \
988
| --program-trans=* | --program-tran=* \
989
| --progr-tra=* | --program-tr=* | --program-t=*)
990
program_transform_name=$ac_optarg ;;
992
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
997
-psdir | --psdir | --psdi | --psd | --ps)
999
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1002
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1003
| -silent | --silent | --silen | --sile | --sil)
1006
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1008
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1010
sbindir=$ac_optarg ;;
1012
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1013
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1014
| --sharedst | --shareds | --shared | --share | --shar \
1016
ac_prev=sharedstatedir ;;
1017
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1018
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1019
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1021
sharedstatedir=$ac_optarg ;;
1023
-site | --site | --sit)
1025
-site=* | --site=* | --sit=*)
1028
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1031
srcdir=$ac_optarg ;;
1033
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1034
| --syscon | --sysco | --sysc | --sys | --sy)
1035
ac_prev=sysconfdir ;;
1036
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1037
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1038
sysconfdir=$ac_optarg ;;
1040
-target | --target | --targe | --targ | --tar | --ta | --t)
1041
ac_prev=target_alias ;;
1042
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1043
target_alias=$ac_optarg ;;
1045
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1048
-version | --version | --versio | --versi | --vers | -V)
1049
ac_init_version=: ;;
1052
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1053
# Reject names that are not valid shell variable names.
1054
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055
as_fn_error $? "invalid package name: $ac_useropt"
1056
ac_useropt_orig=$ac_useropt
1057
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058
case $ac_user_opts in
1062
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1063
ac_unrecognized_sep=', ';;
1065
eval with_$ac_useropt=\$ac_optarg ;;
1067
-without-* | --without-*)
1068
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1069
# Reject names that are not valid shell variable names.
1070
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071
as_fn_error $? "invalid package name: $ac_useropt"
1072
ac_useropt_orig=$ac_useropt
1073
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074
case $ac_user_opts in
1078
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1079
ac_unrecognized_sep=', ';;
1081
eval with_$ac_useropt=no ;;
1084
# Obsolete; use --with-x.
1087
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1088
| --x-incl | --x-inc | --x-in | --x-i)
1089
ac_prev=x_includes ;;
1090
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1091
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1092
x_includes=$ac_optarg ;;
1094
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1095
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1096
ac_prev=x_libraries ;;
1097
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1098
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1099
x_libraries=$ac_optarg ;;
1101
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1102
Try \`$0 --help' for more information"
1106
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1107
# Reject names that are not valid shell variable names.
1108
case $ac_envvar in #(
1109
'' | [0-9]* | *[!_$as_cr_alnum]* )
1110
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1112
eval $ac_envvar=\$ac_optarg
1113
export $ac_envvar ;;
1116
# FIXME: should be removed in autoconf 3.0.
1117
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1118
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1119
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1120
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1126
if test -n "$ac_prev"; then
1127
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1128
as_fn_error $? "missing argument to $ac_option"
1131
if test -n "$ac_unrecognized_opts"; then
1132
case $enable_option_checking in
1134
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1135
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139
# Check all directory arguments for consistency.
1140
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1141
datadir sysconfdir sharedstatedir localstatedir includedir \
1142
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1143
libdir localedir mandir
1145
eval ac_val=\$$ac_var
1146
# Remove trailing slashes.
1149
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1150
eval $ac_var=\$ac_val;;
1152
# Be sure to have absolute directory names.
1154
[\\/$]* | ?:[\\/]* ) continue;;
1155
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1157
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1160
# There might be people who depend on the old broken behavior: `$host'
1161
# used to hold the argument of --host etc.
1162
# FIXME: To remove some day.
1165
target=$target_alias
1167
# FIXME: To remove some day.
1168
if test "x$host_alias" != x; then
1169
if test "x$build_alias" = x; then
1170
cross_compiling=maybe
1171
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1172
If a cross compiler is detected then cross compile mode will be used" >&2
1173
elif test "x$build_alias" != "x$host_alias"; then
1179
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1181
test "$silent" = yes && exec 6>/dev/null
1184
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1185
ac_ls_di=`ls -di .` &&
1186
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1187
as_fn_error $? "working directory cannot be determined"
1188
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1189
as_fn_error $? "pwd does not report name of working directory"
1192
# Find the source files, if location was not specified.
1193
if test -z "$srcdir"; then
1194
ac_srcdir_defaulted=yes
1195
# Try the directory containing this script, then the parent directory.
1196
ac_confdir=`$as_dirname -- "$as_myself" ||
1197
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1198
X"$as_myself" : 'X\(//\)[^/]' \| \
1199
X"$as_myself" : 'X\(//\)$' \| \
1200
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1201
$as_echo X"$as_myself" |
1202
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1220
if test ! -r "$srcdir/$ac_unique_file"; then
1224
ac_srcdir_defaulted=no
1226
if test ! -r "$srcdir/$ac_unique_file"; then
1227
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1228
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1230
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1232
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1234
# When building in place, set srcdir=.
1235
if test "$ac_abs_confdir" = "$ac_pwd"; then
1238
# Remove unnecessary trailing slashes from srcdir.
1239
# Double slashes in file names in object file debugging info
1240
# mess up M-x gdb in Emacs.
1242
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244
for ac_var in $ac_precious_vars; do
1245
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1246
eval ac_env_${ac_var}_value=\$${ac_var}
1247
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1248
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1252
# Report the --help message.
1254
if test "$ac_init_help" = "long"; then
1255
# Omit some internal or obsolete options to make the list less imposing.
1256
# This message is too long to be a string in the A/UX 3.1 sh.
1258
\`configure' configures biosdevname 0.3.7 to adapt to many kinds of systems.
1260
Usage: $0 [OPTION]... [VAR=VALUE]...
1262
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1263
VAR=VALUE. See below for descriptions of some of the useful variables.
1265
Defaults for the options are specified in brackets.
1268
-h, --help display this help and exit
1269
--help=short display options specific to this package
1270
--help=recursive display the short help of all the included packages
1271
-V, --version display version information and exit
1272
-q, --quiet, --silent do not print \`checking ...' messages
1273
--cache-file=FILE cache test results in FILE [disabled]
1274
-C, --config-cache alias for \`--cache-file=config.cache'
1275
-n, --no-create do not create output files
1276
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1278
Installation directories:
1279
--prefix=PREFIX install architecture-independent files in PREFIX
1280
[$ac_default_prefix]
1281
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1284
By default, \`make install' will install all the files in
1285
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1286
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1287
for instance \`--prefix=\$HOME'.
1289
For better control, use the options below.
1291
Fine tuning of the installation directories:
1292
--bindir=DIR user executables [EPREFIX/bin]
1293
--sbindir=DIR system admin executables [EPREFIX/sbin]
1294
--libexecdir=DIR program executables [EPREFIX/libexec]
1295
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1296
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1297
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1298
--libdir=DIR object code libraries [EPREFIX/lib]
1299
--includedir=DIR C header files [PREFIX/include]
1300
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1301
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1302
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1303
--infodir=DIR info documentation [DATAROOTDIR/info]
1304
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1305
--mandir=DIR man documentation [DATAROOTDIR/man]
1306
--docdir=DIR documentation root [DATAROOTDIR/doc/biosdevname]
1307
--htmldir=DIR html documentation [DOCDIR]
1308
--dvidir=DIR dvi documentation [DOCDIR]
1309
--pdfdir=DIR pdf documentation [DOCDIR]
1310
--psdir=DIR ps documentation [DOCDIR]
1316
--program-prefix=PREFIX prepend PREFIX to installed program names
1317
--program-suffix=SUFFIX append SUFFIX to installed program names
1318
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1322
if test -n "$ac_init_help"; then
1323
case $ac_init_help in
1324
short | recursive ) echo "Configuration of biosdevname 0.3.7:";;
1329
--disable-option-checking ignore unrecognized --enable/--with options
1330
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1331
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1332
--disable-dependency-tracking speeds up one-time build
1333
--enable-dependency-tracking do not reject slow dependency extractors
1334
--enable-maintainer-mode enable make rules and dependencies not useful
1335
(and sometimes confusing) to the casual installer
1337
Some influential environment variables:
1338
CC C compiler command
1339
CFLAGS C compiler flags
1340
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1341
nonstandard directory <lib dir>
1342
LIBS libraries to pass to the linker, e.g. -l<library>
1343
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1344
you have headers in a nonstandard directory <include dir>
1346
CXX C++ compiler command
1347
CXXFLAGS C++ compiler flags
1349
Use these variables to override the choices made by `configure' or to help
1350
it to find libraries and programs with nonstandard names/locations.
1352
Report bugs to <Matt_Domsch@dell.com>.
1357
if test "$ac_init_help" = "recursive"; then
1358
# If there are subdirs, report their specific --help.
1359
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1360
test -d "$ac_dir" ||
1361
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1366
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1369
# A ".." for each directory in $ac_dir_suffix.
1370
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1371
case $ac_top_builddir_sub in
1372
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1376
ac_abs_top_builddir=$ac_pwd
1377
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1378
# for backward compatibility:
1379
ac_top_builddir=$ac_top_build_prefix
1382
.) # We are building in place.
1384
ac_top_srcdir=$ac_top_builddir_sub
1385
ac_abs_top_srcdir=$ac_pwd ;;
1386
[\\/]* | ?:[\\/]* ) # Absolute name.
1387
ac_srcdir=$srcdir$ac_dir_suffix;
1388
ac_top_srcdir=$srcdir
1389
ac_abs_top_srcdir=$srcdir ;;
1391
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1392
ac_top_srcdir=$ac_top_build_prefix$srcdir
1393
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1395
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1397
cd "$ac_dir" || { ac_status=$?; continue; }
1398
# Check for guested configure.
1399
if test -f "$ac_srcdir/configure.gnu"; then
1401
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1402
elif test -f "$ac_srcdir/configure"; then
1404
$SHELL "$ac_srcdir/configure" --help=recursive
1406
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1408
cd "$ac_pwd" || { ac_status=$?; break; }
1412
test -n "$ac_init_help" && exit $ac_status
1413
if $ac_init_version; then
1415
biosdevname configure 0.3.7
1416
generated by GNU Autoconf 2.67
1418
Copyright (C) 2010 Free Software Foundation, Inc.
1419
This configure script is free software; the Free Software Foundation
1420
gives unlimited permission to copy, distribute and modify it.
1425
## ------------------------ ##
1426
## Autoconf initialization. ##
1427
## ------------------------ ##
1429
# ac_fn_c_try_compile LINENO
1430
# --------------------------
1431
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1432
ac_fn_c_try_compile ()
1434
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435
rm -f conftest.$ac_objext
1436
if { { ac_try="$ac_compile"
1438
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1439
*) ac_try_echo=$ac_try;;
1441
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1442
$as_echo "$ac_try_echo"; } >&5
1443
(eval "$ac_compile") 2>conftest.err
1445
if test -s conftest.err; then
1446
grep -v '^ *+' conftest.err >conftest.er1
1447
cat conftest.er1 >&5
1448
mv -f conftest.er1 conftest.err
1450
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1451
test $ac_status = 0; } && {
1452
test -z "$ac_c_werror_flag" ||
1453
test ! -s conftest.err
1454
} && test -s conftest.$ac_objext; then :
1457
$as_echo "$as_me: failed program was:" >&5
1458
sed 's/^/| /' conftest.$ac_ext >&5
1462
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1463
as_fn_set_status $ac_retval
1465
} # ac_fn_c_try_compile
1467
# ac_fn_c_try_cpp LINENO
1468
# ----------------------
1469
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1472
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473
if { { ac_try="$ac_cpp conftest.$ac_ext"
1475
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1476
*) ac_try_echo=$ac_try;;
1478
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479
$as_echo "$ac_try_echo"; } >&5
1480
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1482
if test -s conftest.err; then
1483
grep -v '^ *+' conftest.err >conftest.er1
1484
cat conftest.er1 >&5
1485
mv -f conftest.er1 conftest.err
1487
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488
test $ac_status = 0; } > conftest.i && {
1489
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1490
test ! -s conftest.err
1494
$as_echo "$as_me: failed program was:" >&5
1495
sed 's/^/| /' conftest.$ac_ext >&5
1499
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1500
as_fn_set_status $ac_retval
1504
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1505
# -------------------------------------------------------
1506
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1507
# the include files in INCLUDES and setting the cache variable VAR
1509
ac_fn_c_check_header_mongrel ()
1511
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512
if eval "test \"\${$3+set}\"" = set; then :
1513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1514
$as_echo_n "checking for $2... " >&6; }
1515
if eval "test \"\${$3+set}\"" = set; then :
1516
$as_echo_n "(cached) " >&6
1519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1520
$as_echo "$ac_res" >&6; }
1522
# Is the header compilable?
1523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1524
$as_echo_n "checking $2 usability... " >&6; }
1525
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1526
/* end confdefs.h. */
1530
if ac_fn_c_try_compile "$LINENO"; then :
1531
ac_header_compiler=yes
1533
ac_header_compiler=no
1535
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1537
$as_echo "$ac_header_compiler" >&6; }
1539
# Is the header present?
1540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1541
$as_echo_n "checking $2 presence... " >&6; }
1542
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1543
/* end confdefs.h. */
1546
if ac_fn_c_try_cpp "$LINENO"; then :
1547
ac_header_preproc=yes
1549
ac_header_preproc=no
1551
rm -f conftest.err conftest.i conftest.$ac_ext
1552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1553
$as_echo "$ac_header_preproc" >&6; }
1555
# So? What about this header?
1556
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1558
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1559
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1560
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1561
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1564
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1565
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1566
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1567
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1568
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1569
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1570
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1571
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1572
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1573
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1574
( $as_echo "## ----------------------------------- ##
1575
## Report this to Matt_Domsch@dell.com ##
1576
## ----------------------------------- ##"
1577
) | sed "s/^/$as_me: WARNING: /" >&2
1580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1581
$as_echo_n "checking for $2... " >&6; }
1582
if eval "test \"\${$3+set}\"" = set; then :
1583
$as_echo_n "(cached) " >&6
1585
eval "$3=\$ac_header_compiler"
1588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589
$as_echo "$ac_res" >&6; }
1591
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1593
} # ac_fn_c_check_header_mongrel
1595
# ac_fn_c_try_run LINENO
1596
# ----------------------
1597
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1598
# that executables *can* be run.
1601
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602
if { { ac_try="$ac_link"
1604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605
*) ac_try_echo=$ac_try;;
1607
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608
$as_echo "$ac_try_echo"; } >&5
1609
(eval "$ac_link") 2>&5
1611
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1613
{ { case "(($ac_try" in
1614
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615
*) ac_try_echo=$ac_try;;
1617
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618
$as_echo "$ac_try_echo"; } >&5
1619
(eval "$ac_try") 2>&5
1621
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622
test $ac_status = 0; }; }; then :
1625
$as_echo "$as_me: program exited with status $ac_status" >&5
1626
$as_echo "$as_me: failed program was:" >&5
1627
sed 's/^/| /' conftest.$ac_ext >&5
1629
ac_retval=$ac_status
1631
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1633
as_fn_set_status $ac_retval
1637
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1638
# -------------------------------------------------------
1639
# Tests whether HEADER exists and can be compiled using the include files in
1640
# INCLUDES, setting the cache variable VAR accordingly.
1641
ac_fn_c_check_header_compile ()
1643
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645
$as_echo_n "checking for $2... " >&6; }
1646
if eval "test \"\${$3+set}\"" = set; then :
1647
$as_echo_n "(cached) " >&6
1649
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650
/* end confdefs.h. */
1654
if ac_fn_c_try_compile "$LINENO"; then :
1659
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663
$as_echo "$ac_res" >&6; }
1664
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1666
} # ac_fn_c_check_header_compile
1668
# ac_fn_cxx_try_compile LINENO
1669
# ----------------------------
1670
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1671
ac_fn_cxx_try_compile ()
1673
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674
rm -f conftest.$ac_objext
1675
if { { ac_try="$ac_compile"
1677
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678
*) ac_try_echo=$ac_try;;
1680
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681
$as_echo "$ac_try_echo"; } >&5
1682
(eval "$ac_compile") 2>conftest.err
1684
if test -s conftest.err; then
1685
grep -v '^ *+' conftest.err >conftest.er1
1686
cat conftest.er1 >&5
1687
mv -f conftest.er1 conftest.err
1689
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690
test $ac_status = 0; } && {
1691
test -z "$ac_cxx_werror_flag" ||
1692
test ! -s conftest.err
1693
} && test -s conftest.$ac_objext; then :
1696
$as_echo "$as_me: failed program was:" >&5
1697
sed 's/^/| /' conftest.$ac_ext >&5
1701
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702
as_fn_set_status $ac_retval
1704
} # ac_fn_cxx_try_compile
1706
# ac_fn_c_try_link LINENO
1707
# -----------------------
1708
# Try to link conftest.$ac_ext, and return whether this succeeded.
1711
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712
rm -f conftest.$ac_objext conftest$ac_exeext
1713
if { { ac_try="$ac_link"
1715
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716
*) ac_try_echo=$ac_try;;
1718
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719
$as_echo "$ac_try_echo"; } >&5
1720
(eval "$ac_link") 2>conftest.err
1722
if test -s conftest.err; then
1723
grep -v '^ *+' conftest.err >conftest.er1
1724
cat conftest.er1 >&5
1725
mv -f conftest.er1 conftest.err
1727
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728
test $ac_status = 0; } && {
1729
test -z "$ac_c_werror_flag" ||
1730
test ! -s conftest.err
1731
} && test -s conftest$ac_exeext && {
1732
test "$cross_compiling" = yes ||
1733
$as_test_x conftest$ac_exeext
1737
$as_echo "$as_me: failed program was:" >&5
1738
sed 's/^/| /' conftest.$ac_ext >&5
1742
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744
# interfere with the next link command; also delete a directory that is
1745
# left behind by Apple's compiler. We do this before executing the actions.
1746
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748
as_fn_set_status $ac_retval
1750
} # ac_fn_c_try_link
1752
# ac_fn_c_check_func LINENO FUNC VAR
1753
# ----------------------------------
1754
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1755
ac_fn_c_check_func ()
1757
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759
$as_echo_n "checking for $2... " >&6; }
1760
if eval "test \"\${$3+set}\"" = set; then :
1761
$as_echo_n "(cached) " >&6
1763
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764
/* end confdefs.h. */
1765
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1767
#define $2 innocuous_$2
1769
/* System header to define __stub macros and hopefully few prototypes,
1770
which can conflict with char $2 (); below.
1771
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772
<limits.h> exists even on freestanding compilers. */
1775
# include <limits.h>
1777
# include <assert.h>
1782
/* Override any GCC internal prototype to avoid an error.
1783
Use char because int might match the return type of a GCC
1784
builtin and then its argument prototype would still apply. */
1789
/* The GNU C library defines this for functions which it implements
1790
to always fail with ENOSYS. Some functions are actually named
1791
something starting with __ and the normal name is an alias. */
1792
#if defined __stub_$2 || defined __stub___$2
1804
if ac_fn_c_try_link "$LINENO"; then :
1809
rm -f core conftest.err conftest.$ac_objext \
1810
conftest$ac_exeext conftest.$ac_ext
1813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814
$as_echo "$ac_res" >&6; }
1815
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1817
} # ac_fn_c_check_func
1819
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1820
# ----------------------------------------------------
1821
# Tries to find if the field MEMBER exists in type AGGR, after including
1822
# INCLUDES, setting cache variable VAR accordingly.
1823
ac_fn_c_check_member ()
1825
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1827
$as_echo_n "checking for $2.$3... " >&6; }
1828
if eval "test \"\${$4+set}\"" = set; then :
1829
$as_echo_n "(cached) " >&6
1831
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832
/* end confdefs.h. */
1844
if ac_fn_c_try_compile "$LINENO"; then :
1847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848
/* end confdefs.h. */
1854
if (sizeof ac_aggr.$3)
1860
if ac_fn_c_try_compile "$LINENO"; then :
1865
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871
$as_echo "$ac_res" >&6; }
1872
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874
} # ac_fn_c_check_member
1876
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1877
# -------------------------------------------
1878
# Tests whether TYPE exists after having included INCLUDES, setting cache
1879
# variable VAR accordingly.
1880
ac_fn_c_check_type ()
1882
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884
$as_echo_n "checking for $2... " >&6; }
1885
if eval "test \"\${$3+set}\"" = set; then :
1886
$as_echo_n "(cached) " >&6
1889
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890
/* end confdefs.h. */
1901
if ac_fn_c_try_compile "$LINENO"; then :
1902
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903
/* end confdefs.h. */
1914
if ac_fn_c_try_compile "$LINENO"; then :
1919
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925
$as_echo "$ac_res" >&6; }
1926
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1928
} # ac_fn_c_check_type
1930
# ac_fn_c_find_uintX_t LINENO BITS VAR
1931
# ------------------------------------
1932
# Finds an unsigned integer type with width BITS, setting cache variable VAR
1934
ac_fn_c_find_uintX_t ()
1936
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1938
$as_echo_n "checking for uint$2_t... " >&6; }
1939
if eval "test \"\${$3+set}\"" = set; then :
1940
$as_echo_n "(cached) " >&6
1943
# Order is important - never check a type that is potentially smaller
1944
# than half of the expected target width.
1945
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1946
'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1947
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948
/* end confdefs.h. */
1949
$ac_includes_default
1953
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1960
if ac_fn_c_try_compile "$LINENO"; then :
1965
eval "$3=\$ac_type" ;;
1968
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969
if eval test \"x\$"$3"\" = x"no"; then :
1977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1978
$as_echo "$ac_res" >&6; }
1979
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981
} # ac_fn_c_find_uintX_t
1982
cat >config.log <<_ACEOF
1983
This file contains any messages produced by compilers while
1984
running configure, to aid debugging if configure makes a mistake.
1986
It was created by biosdevname $as_me 0.3.7, which was
1987
generated by GNU Autoconf 2.67. Invocation command line was
1999
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2000
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2001
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2002
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2003
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2005
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2006
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2008
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2009
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2010
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2011
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2012
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2013
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2014
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022
test -z "$as_dir" && as_dir=.
2023
$as_echo "PATH: $as_dir"
2039
# Keep a trace of the command line.
2040
# Strip out --no-create and --no-recursion so they do not pile up.
2041
# Strip out --silent because we don't want to record it for future runs.
2042
# Also quote any args containing shell meta-characters.
2043
# Make two passes to allow for proper duplicate-argument suppression.
2047
ac_must_keep_next=false
2053
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2054
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2055
| -silent | --silent | --silen | --sile | --sil)
2058
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2061
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2063
as_fn_append ac_configure_args1 " '$ac_arg'"
2064
if test $ac_must_keep_next = true; then
2065
ac_must_keep_next=false # Got value, back to normal.
2068
*=* | --config-cache | -C | -disable-* | --disable-* \
2069
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2070
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2071
| -with-* | --with-* | -without-* | --without-* | --x)
2072
case "$ac_configure_args0 " in
2073
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2076
-* ) ac_must_keep_next=true ;;
2079
as_fn_append ac_configure_args " '$ac_arg'"
2084
{ ac_configure_args0=; unset ac_configure_args0;}
2085
{ ac_configure_args1=; unset ac_configure_args1;}
2087
# When interrupted or exit'd, cleanup temporary files, and complete
2088
# config.log. We remove comments because anyway the quotes in there
2089
# would cause problems or look ugly.
2090
# WARNING: Use '\'' to represent an apostrophe within the trap.
2091
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2092
trap 'exit_status=$?
2093
# Save into config.log some information that might help in debugging.
2097
$as_echo "## ---------------- ##
2098
## Cache variables. ##
2099
## ---------------- ##"
2101
# The following way of writing the cache mishandles newlines in values,
2103
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2104
eval ac_val=\$$ac_var
2108
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2109
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2112
_ | IFS | as_nl) ;; #(
2113
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2114
*) { eval $ac_var=; unset $ac_var;} ;;
2119
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2120
*${as_nl}ac_space=\ *)
2122
"s/'\''/'\''\\\\'\'''\''/g;
2123
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2126
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2133
$as_echo "## ----------------- ##
2134
## Output variables. ##
2135
## ----------------- ##"
2137
for ac_var in $ac_subst_vars
2139
eval ac_val=\$$ac_var
2141
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2143
$as_echo "$ac_var='\''$ac_val'\''"
2147
if test -n "$ac_subst_files"; then
2148
$as_echo "## ------------------- ##
2149
## File substitutions. ##
2150
## ------------------- ##"
2152
for ac_var in $ac_subst_files
2154
eval ac_val=\$$ac_var
2156
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2158
$as_echo "$ac_var='\''$ac_val'\''"
2163
if test -s confdefs.h; then
2164
$as_echo "## ----------- ##
2171
test "$ac_signal" != 0 &&
2172
$as_echo "$as_me: caught signal $ac_signal"
2173
$as_echo "$as_me: exit $exit_status"
2175
rm -f core *.core core.conftest.* &&
2176
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2179
for ac_signal in 1 2 13 15; do
2180
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2184
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2185
rm -f -r conftest* confdefs.h
2187
$as_echo "/* confdefs.h */" > confdefs.h
2189
# Predefined preprocessor variables.
2191
cat >>confdefs.h <<_ACEOF
2192
#define PACKAGE_NAME "$PACKAGE_NAME"
2195
cat >>confdefs.h <<_ACEOF
2196
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2199
cat >>confdefs.h <<_ACEOF
2200
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2203
cat >>confdefs.h <<_ACEOF
2204
#define PACKAGE_STRING "$PACKAGE_STRING"
2207
cat >>confdefs.h <<_ACEOF
2208
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2211
cat >>confdefs.h <<_ACEOF
2212
#define PACKAGE_URL "$PACKAGE_URL"
2216
# Let the site file select an alternate cache file if it wants to.
2217
# Prefer an explicitly selected file to automatically selected ones.
2220
if test -n "$CONFIG_SITE"; then
2221
# We do not want a PATH search for config.site.
2222
case $CONFIG_SITE in #((
2223
-*) ac_site_file1=./$CONFIG_SITE;;
2224
*/*) ac_site_file1=$CONFIG_SITE;;
2225
*) ac_site_file1=./$CONFIG_SITE;;
2227
elif test "x$prefix" != xNONE; then
2228
ac_site_file1=$prefix/share/config.site
2229
ac_site_file2=$prefix/etc/config.site
2231
ac_site_file1=$ac_default_prefix/share/config.site
2232
ac_site_file2=$ac_default_prefix/etc/config.site
2234
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2236
test "x$ac_site_file" = xNONE && continue
2237
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2238
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2239
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2240
sed 's/^/| /' "$ac_site_file" >&5
2242
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244
as_fn_error $? "failed to load site script $ac_site_file
2245
See \`config.log' for more details" "$LINENO" 5 ; }
2249
if test -r "$cache_file"; then
2250
# Some versions of bash will fail to source /dev/null (special files
2251
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2252
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2253
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2254
$as_echo "$as_me: loading cache $cache_file" >&6;}
2256
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2257
*) . "./$cache_file";;
2261
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2262
$as_echo "$as_me: creating cache $cache_file" >&6;}
2266
as_fn_append ac_header_list " stdlib.h"
2267
as_fn_append ac_header_list " unistd.h"
2268
as_fn_append ac_header_list " sys/param.h"
2269
# Check that the precious variables saved in the cache have kept the same
2271
ac_cache_corrupted=false
2272
for ac_var in $ac_precious_vars; do
2273
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2274
eval ac_new_set=\$ac_env_${ac_var}_set
2275
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2276
eval ac_new_val=\$ac_env_${ac_var}_value
2277
case $ac_old_set,$ac_new_set in
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2280
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2281
ac_cache_corrupted=: ;;
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2284
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2285
ac_cache_corrupted=: ;;
2288
if test "x$ac_old_val" != "x$ac_new_val"; then
2289
# differences in whitespace do not lead to failure.
2290
ac_old_val_w=`echo x $ac_old_val`
2291
ac_new_val_w=`echo x $ac_new_val`
2292
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2293
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2294
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2295
ac_cache_corrupted=:
2297
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2298
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2299
eval $ac_var=\$ac_old_val
2301
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2302
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2303
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2304
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2307
# Pass precious variables to config.status.
2308
if test "$ac_new_set" = set; then
2310
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2311
*) ac_arg=$ac_var=$ac_new_val ;;
2313
case " $ac_configure_args " in
2314
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2315
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2319
if $ac_cache_corrupted; then
2320
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2323
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2324
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2326
## -------------------- ##
2327
## Main body of script. ##
2328
## -------------------- ##
2331
ac_cpp='$CPP $CPPFLAGS'
2332
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2333
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2334
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2338
ac_cpp='$CPP $CPPFLAGS'
2339
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2344
ac_cpp='$CPP $CPPFLAGS'
2345
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348
if test -n "$ac_tool_prefix"; then
2349
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2350
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352
$as_echo_n "checking for $ac_word... " >&6; }
2353
if test "${ac_cv_prog_CC+set}" = set; then :
2354
$as_echo_n "(cached) " >&6
2356
if test -n "$CC"; then
2357
ac_cv_prog_CC="$CC" # Let the user override the test.
2359
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363
test -z "$as_dir" && as_dir=.
2364
for ac_exec_ext in '' $ac_executable_extensions; do
2365
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2367
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2377
if test -n "$CC"; then
2378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2379
$as_echo "$CC" >&6; }
2381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382
$as_echo "no" >&6; }
2387
if test -z "$ac_cv_prog_CC"; then
2389
# Extract the first word of "gcc", so it can be a program name with args.
2390
set dummy gcc; ac_word=$2
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392
$as_echo_n "checking for $ac_word... " >&6; }
2393
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2394
$as_echo_n "(cached) " >&6
2396
if test -n "$ac_ct_CC"; then
2397
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403
test -z "$as_dir" && as_dir=.
2404
for ac_exec_ext in '' $ac_executable_extensions; do
2405
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406
ac_cv_prog_ac_ct_CC="gcc"
2407
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2417
if test -n "$ac_ct_CC"; then
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2419
$as_echo "$ac_ct_CC" >&6; }
2421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2422
$as_echo "no" >&6; }
2425
if test "x$ac_ct_CC" = x; then
2428
case $cross_compiling:$ac_tool_warned in
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2431
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432
ac_tool_warned=yes ;;
2440
if test -z "$CC"; then
2441
if test -n "$ac_tool_prefix"; then
2442
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2443
set dummy ${ac_tool_prefix}cc; ac_word=$2
2444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445
$as_echo_n "checking for $ac_word... " >&6; }
2446
if test "${ac_cv_prog_CC+set}" = set; then :
2447
$as_echo_n "(cached) " >&6
2449
if test -n "$CC"; then
2450
ac_cv_prog_CC="$CC" # Let the user override the test.
2452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456
test -z "$as_dir" && as_dir=.
2457
for ac_exec_ext in '' $ac_executable_extensions; do
2458
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459
ac_cv_prog_CC="${ac_tool_prefix}cc"
2460
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470
if test -n "$CC"; then
2471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2472
$as_echo "$CC" >&6; }
2474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475
$as_echo "no" >&6; }
2481
if test -z "$CC"; then
2482
# Extract the first word of "cc", so it can be a program name with args.
2483
set dummy cc; ac_word=$2
2484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485
$as_echo_n "checking for $ac_word... " >&6; }
2486
if test "${ac_cv_prog_CC+set}" = set; then :
2487
$as_echo_n "(cached) " >&6
2489
if test -n "$CC"; then
2490
ac_cv_prog_CC="$CC" # Let the user override the test.
2493
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497
test -z "$as_dir" && as_dir=.
2498
for ac_exec_ext in '' $ac_executable_extensions; do
2499
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2501
ac_prog_rejected=yes
2505
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2512
if test $ac_prog_rejected = yes; then
2513
# We found a bogon in the path, so make sure we never use it.
2514
set dummy $ac_cv_prog_CC
2516
if test $# != 0; then
2517
# We chose a different compiler from the bogus one.
2518
# However, it has the same basename, so the bogon will be chosen
2519
# first if we set CC to just the basename; use the full file name.
2521
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2527
if test -n "$CC"; then
2528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2529
$as_echo "$CC" >&6; }
2531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532
$as_echo "no" >&6; }
2537
if test -z "$CC"; then
2538
if test -n "$ac_tool_prefix"; then
2539
for ac_prog in cl.exe
2541
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2542
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544
$as_echo_n "checking for $ac_word... " >&6; }
2545
if test "${ac_cv_prog_CC+set}" = set; then :
2546
$as_echo_n "(cached) " >&6
2548
if test -n "$CC"; then
2549
ac_cv_prog_CC="$CC" # Let the user override the test.
2551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555
test -z "$as_dir" && as_dir=.
2556
for ac_exec_ext in '' $ac_executable_extensions; do
2557
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2558
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2559
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569
if test -n "$CC"; then
2570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2571
$as_echo "$CC" >&6; }
2573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574
$as_echo "no" >&6; }
2578
test -n "$CC" && break
2581
if test -z "$CC"; then
2583
for ac_prog in cl.exe
2585
# Extract the first word of "$ac_prog", so it can be a program name with args.
2586
set dummy $ac_prog; ac_word=$2
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588
$as_echo_n "checking for $ac_word... " >&6; }
2589
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2590
$as_echo_n "(cached) " >&6
2592
if test -n "$ac_ct_CC"; then
2593
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599
test -z "$as_dir" && as_dir=.
2600
for ac_exec_ext in '' $ac_executable_extensions; do
2601
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602
ac_cv_prog_ac_ct_CC="$ac_prog"
2603
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2613
if test -n "$ac_ct_CC"; then
2614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2615
$as_echo "$ac_ct_CC" >&6; }
2617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618
$as_echo "no" >&6; }
2622
test -n "$ac_ct_CC" && break
2625
if test "x$ac_ct_CC" = x; then
2628
case $cross_compiling:$ac_tool_warned in
2630
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2631
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2632
ac_tool_warned=yes ;;
2641
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2642
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2643
as_fn_error $? "no acceptable C compiler found in \$PATH
2644
See \`config.log' for more details" "$LINENO" 5 ; }
2646
# Provide some information about the compiler.
2647
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2650
for ac_option in --version -v -V -qversion; do
2651
{ { ac_try="$ac_compiler $ac_option >&5"
2653
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654
*) ac_try_echo=$ac_try;;
2656
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2657
$as_echo "$ac_try_echo"; } >&5
2658
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2660
if test -s conftest.err; then
2662
... rest of stderr output deleted ...
2663
10q' conftest.err >conftest.er1
2664
cat conftest.er1 >&5
2666
rm -f conftest.er1 conftest.err
2667
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668
test $ac_status = 0; }
2671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672
/* end confdefs.h. */
2682
ac_clean_files_save=$ac_clean_files
2683
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2684
# Try to create an executable without -o first, disregard a.out.
2685
# It will help us diagnose broken compilers, and finding out an intuition
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2688
$as_echo_n "checking whether the C compiler works... " >&6; }
2689
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2691
# The possible output files:
2692
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2695
for ac_file in $ac_files
2698
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2699
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2704
if { { ac_try="$ac_link_default"
2706
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707
*) ac_try_echo=$ac_try;;
2709
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710
$as_echo "$ac_try_echo"; } >&5
2711
(eval "$ac_link_default") 2>&5
2713
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2714
test $ac_status = 0; }; then :
2715
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2716
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2717
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2718
# so that the user can short-circuit this test for compilers unknown to
2720
for ac_file in $ac_files ''
2722
test -f "$ac_file" || continue
2724
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2727
# We found the default executable, but exeext='' is most
2731
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2733
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735
# We set ac_cv_exeext here because the later test for it is not
2736
# safe: cross compilers may not add the suffix if given an `-o'
2737
# argument, so we may need to know it at that point already.
2738
# Even if this section looks crufty: it has the advantage of
2745
test "$ac_cv_exeext" = no && ac_cv_exeext=
2750
if test -z "$ac_file"; then :
2751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752
$as_echo "no" >&6; }
2753
$as_echo "$as_me: failed program was:" >&5
2754
sed 's/^/| /' conftest.$ac_ext >&5
2756
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2757
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2758
as_fn_error 77 "C compiler cannot create executables
2759
See \`config.log' for more details" "$LINENO" 5 ; }
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2762
$as_echo "yes" >&6; }
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2765
$as_echo_n "checking for C compiler default output file name... " >&6; }
2766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2767
$as_echo "$ac_file" >&6; }
2768
ac_exeext=$ac_cv_exeext
2770
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2771
ac_clean_files=$ac_clean_files_save
2772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2773
$as_echo_n "checking for suffix of executables... " >&6; }
2774
if { { ac_try="$ac_link"
2776
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777
*) ac_try_echo=$ac_try;;
2779
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2780
$as_echo "$ac_try_echo"; } >&5
2781
(eval "$ac_link") 2>&5
2783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784
test $ac_status = 0; }; then :
2785
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2786
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2787
# work properly (i.e., refer to `conftest.exe'), while it won't with
2789
for ac_file in conftest.exe conftest conftest.*; do
2790
test -f "$ac_file" || continue
2792
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2793
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2799
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2800
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2802
See \`config.log' for more details" "$LINENO" 5 ; }
2804
rm -f conftest conftest$ac_cv_exeext
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2806
$as_echo "$ac_cv_exeext" >&6; }
2808
rm -f conftest.$ac_ext
2809
EXEEXT=$ac_cv_exeext
2811
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812
/* end confdefs.h. */
2817
FILE *f = fopen ("conftest.out", "w");
2818
return ferror (f) || fclose (f) != 0;
2824
ac_clean_files="$ac_clean_files conftest.out"
2825
# Check that the compiler produces executables we can run. If not, either
2826
# the compiler is broken, or we cross compile.
2827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2828
$as_echo_n "checking whether we are cross compiling... " >&6; }
2829
if test "$cross_compiling" != yes; then
2830
{ { ac_try="$ac_link"
2832
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833
*) ac_try_echo=$ac_try;;
2835
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836
$as_echo "$ac_try_echo"; } >&5
2837
(eval "$ac_link") 2>&5
2839
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840
test $ac_status = 0; }
2841
if { ac_try='./conftest$ac_cv_exeext'
2842
{ { case "(($ac_try" in
2843
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
*) ac_try_echo=$ac_try;;
2846
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847
$as_echo "$ac_try_echo"; } >&5
2848
(eval "$ac_try") 2>&5
2850
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851
test $ac_status = 0; }; }; then
2854
if test "$cross_compiling" = maybe; then
2857
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2858
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2859
as_fn_error $? "cannot run C compiled programs.
2860
If you meant to cross compile, use \`--host'.
2861
See \`config.log' for more details" "$LINENO" 5 ; }
2865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2866
$as_echo "$cross_compiling" >&6; }
2868
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2869
ac_clean_files=$ac_clean_files_save
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2871
$as_echo_n "checking for suffix of object files... " >&6; }
2872
if test "${ac_cv_objext+set}" = set; then :
2873
$as_echo_n "(cached) " >&6
2875
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876
/* end confdefs.h. */
2886
rm -f conftest.o conftest.obj
2887
if { { ac_try="$ac_compile"
2889
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890
*) ac_try_echo=$ac_try;;
2892
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893
$as_echo "$ac_try_echo"; } >&5
2894
(eval "$ac_compile") 2>&5
2896
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897
test $ac_status = 0; }; then :
2898
for ac_file in conftest.o conftest.obj conftest.*; do
2899
test -f "$ac_file" || continue;
2901
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2902
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2907
$as_echo "$as_me: failed program was:" >&5
2908
sed 's/^/| /' conftest.$ac_ext >&5
2910
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2911
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912
as_fn_error $? "cannot compute suffix of object files: cannot compile
2913
See \`config.log' for more details" "$LINENO" 5 ; }
2915
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2918
$as_echo "$ac_cv_objext" >&6; }
2919
OBJEXT=$ac_cv_objext
2921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2922
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2923
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2924
$as_echo_n "(cached) " >&6
2926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927
/* end confdefs.h. */
2940
if ac_fn_c_try_compile "$LINENO"; then :
2945
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2950
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2951
if test $ac_compiler_gnu = yes; then
2956
ac_test_CFLAGS=${CFLAGS+set}
2957
ac_save_CFLAGS=$CFLAGS
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2959
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2960
if test "${ac_cv_prog_cc_g+set}" = set; then :
2961
$as_echo_n "(cached) " >&6
2963
ac_save_c_werror_flag=$ac_c_werror_flag
2964
ac_c_werror_flag=yes
2967
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968
/* end confdefs.h. */
2978
if ac_fn_c_try_compile "$LINENO"; then :
2982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983
/* end confdefs.h. */
2993
if ac_fn_c_try_compile "$LINENO"; then :
2996
ac_c_werror_flag=$ac_save_c_werror_flag
2998
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999
/* end confdefs.h. */
3009
if ac_fn_c_try_compile "$LINENO"; then :
3012
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017
ac_c_werror_flag=$ac_save_c_werror_flag
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3020
$as_echo "$ac_cv_prog_cc_g" >&6; }
3021
if test "$ac_test_CFLAGS" = set; then
3022
CFLAGS=$ac_save_CFLAGS
3023
elif test $ac_cv_prog_cc_g = yes; then
3024
if test "$GCC" = yes; then
3030
if test "$GCC" = yes; then
3036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3037
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3038
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3039
$as_echo_n "(cached) " >&6
3041
ac_cv_prog_cc_c89=no
3043
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044
/* end confdefs.h. */
3047
#include <sys/types.h>
3048
#include <sys/stat.h>
3049
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3050
struct buf { int x; };
3051
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3052
static char *e (p, i)
3058
static char *f (char * (*g) (char **, int), char **p, ...)
3063
s = g (p, va_arg (v,int));
3068
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3069
function prototypes and stuff, but not '\xHH' hex character constants.
3070
These don't provoke an error unfortunately, instead are silently treated
3071
as 'x'. The following induces an error, until -std is added to get
3072
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3073
array size at least. It's necessary to write '\x00'==0 to get something
3074
that's true only with -std. */
3075
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3077
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3078
inside strings and character constants. */
3080
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3082
int test (int i, double x);
3083
struct s1 {int (*f) (int a);};
3084
struct s2 {int (*f) (double a);};
3085
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3091
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3096
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3097
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3099
CC="$ac_save_CC $ac_arg"
3100
if ac_fn_c_try_compile "$LINENO"; then :
3101
ac_cv_prog_cc_c89=$ac_arg
3103
rm -f core conftest.err conftest.$ac_objext
3104
test "x$ac_cv_prog_cc_c89" != "xno" && break
3106
rm -f conftest.$ac_ext
3111
case "x$ac_cv_prog_cc_c89" in
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3114
$as_echo "none needed" >&6; } ;;
3116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3117
$as_echo "unsupported" >&6; } ;;
3119
CC="$CC $ac_cv_prog_cc_c89"
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3121
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3123
if test "x$ac_cv_prog_cc_c89" != xno; then :
3128
ac_cpp='$CPP $CPPFLAGS'
3129
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3135
ac_cpp='$CPP $CPPFLAGS'
3136
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3140
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3141
# On Suns, sometimes $CPP names a directory.
3142
if test -n "$CPP" && test -d "$CPP"; then
3145
if test -z "$CPP"; then
3146
if test "${ac_cv_prog_CPP+set}" = set; then :
3147
$as_echo_n "(cached) " >&6
3149
# Double quotes because CPP needs to be expanded
3150
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3153
for ac_c_preproc_warn_flag in '' yes
3155
# Use a header file that comes with gcc, so configuring glibc
3156
# with a fresh cross-compiler works.
3157
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3158
# <limits.h> exists even on freestanding compilers.
3159
# On the NeXT, cc -E runs the code through the compiler's parser,
3160
# not just through cpp. "Syntax error" is here to catch this case.
3161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162
/* end confdefs.h. */
3164
# include <limits.h>
3166
# include <assert.h>
3170
if ac_fn_c_try_cpp "$LINENO"; then :
3173
# Broken: fails on valid input.
3176
rm -f conftest.err conftest.i conftest.$ac_ext
3178
# OK, works on sane cases. Now check whether nonexistent headers
3179
# can be detected and how.
3180
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181
/* end confdefs.h. */
3182
#include <ac_nonexistent.h>
3184
if ac_fn_c_try_cpp "$LINENO"; then :
3185
# Broken: success on invalid input.
3188
# Passes both tests.
3192
rm -f conftest.err conftest.i conftest.$ac_ext
3195
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3196
rm -f conftest.i conftest.err conftest.$ac_ext
3197
if $ac_preproc_ok; then :
3209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3210
$as_echo "$CPP" >&6; }
3212
for ac_c_preproc_warn_flag in '' yes
3214
# Use a header file that comes with gcc, so configuring glibc
3215
# with a fresh cross-compiler works.
3216
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217
# <limits.h> exists even on freestanding compilers.
3218
# On the NeXT, cc -E runs the code through the compiler's parser,
3219
# not just through cpp. "Syntax error" is here to catch this case.
3220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221
/* end confdefs.h. */
3223
# include <limits.h>
3225
# include <assert.h>
3229
if ac_fn_c_try_cpp "$LINENO"; then :
3232
# Broken: fails on valid input.
3235
rm -f conftest.err conftest.i conftest.$ac_ext
3237
# OK, works on sane cases. Now check whether nonexistent headers
3238
# can be detected and how.
3239
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240
/* end confdefs.h. */
3241
#include <ac_nonexistent.h>
3243
if ac_fn_c_try_cpp "$LINENO"; then :
3244
# Broken: success on invalid input.
3247
# Passes both tests.
3251
rm -f conftest.err conftest.i conftest.$ac_ext
3254
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3255
rm -f conftest.i conftest.err conftest.$ac_ext
3256
if $ac_preproc_ok; then :
3259
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3262
See \`config.log' for more details" "$LINENO" 5 ; }
3266
ac_cpp='$CPP $CPPFLAGS'
3267
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3273
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3274
if test "${ac_cv_path_GREP+set}" = set; then :
3275
$as_echo_n "(cached) " >&6
3277
if test -z "$GREP"; then
3278
ac_path_GREP_found=false
3279
# Loop through the user's path and test for each of PROGNAME-LIST
3280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3284
test -z "$as_dir" && as_dir=.
3285
for ac_prog in grep ggrep; do
3286
for ac_exec_ext in '' $ac_executable_extensions; do
3287
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3288
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3289
# Check for GNU ac_path_GREP and select it if it is found.
3290
# Check for GNU $ac_path_GREP
3291
case `"$ac_path_GREP" --version 2>&1` in
3293
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3296
$as_echo_n 0123456789 >"conftest.in"
3299
cat "conftest.in" "conftest.in" >"conftest.tmp"
3300
mv "conftest.tmp" "conftest.in"
3301
cp "conftest.in" "conftest.nl"
3302
$as_echo 'GREP' >> "conftest.nl"
3303
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3304
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3305
as_fn_arith $ac_count + 1 && ac_count=$as_val
3306
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3307
# Best one so far, save it but keep looking for a better one
3308
ac_cv_path_GREP="$ac_path_GREP"
3309
ac_path_GREP_max=$ac_count
3311
# 10*(2^10) chars as input seems more than enough
3312
test $ac_count -gt 10 && break
3314
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3317
$ac_path_GREP_found && break 3
3322
if test -z "$ac_cv_path_GREP"; then
3323
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3326
ac_cv_path_GREP=$GREP
3330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3331
$as_echo "$ac_cv_path_GREP" >&6; }
3332
GREP="$ac_cv_path_GREP"
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3336
$as_echo_n "checking for egrep... " >&6; }
3337
if test "${ac_cv_path_EGREP+set}" = set; then :
3338
$as_echo_n "(cached) " >&6
3340
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3341
then ac_cv_path_EGREP="$GREP -E"
3343
if test -z "$EGREP"; then
3344
ac_path_EGREP_found=false
3345
# Loop through the user's path and test for each of PROGNAME-LIST
3346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3350
test -z "$as_dir" && as_dir=.
3351
for ac_prog in egrep; do
3352
for ac_exec_ext in '' $ac_executable_extensions; do
3353
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3354
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3355
# Check for GNU ac_path_EGREP and select it if it is found.
3356
# Check for GNU $ac_path_EGREP
3357
case `"$ac_path_EGREP" --version 2>&1` in
3359
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3362
$as_echo_n 0123456789 >"conftest.in"
3365
cat "conftest.in" "conftest.in" >"conftest.tmp"
3366
mv "conftest.tmp" "conftest.in"
3367
cp "conftest.in" "conftest.nl"
3368
$as_echo 'EGREP' >> "conftest.nl"
3369
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3370
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3371
as_fn_arith $ac_count + 1 && ac_count=$as_val
3372
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3373
# Best one so far, save it but keep looking for a better one
3374
ac_cv_path_EGREP="$ac_path_EGREP"
3375
ac_path_EGREP_max=$ac_count
3377
# 10*(2^10) chars as input seems more than enough
3378
test $ac_count -gt 10 && break
3380
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3383
$ac_path_EGREP_found && break 3
3388
if test -z "$ac_cv_path_EGREP"; then
3389
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3392
ac_cv_path_EGREP=$EGREP
3397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3398
$as_echo "$ac_cv_path_EGREP" >&6; }
3399
EGREP="$ac_cv_path_EGREP"
3402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3403
$as_echo_n "checking for ANSI C header files... " >&6; }
3404
if test "${ac_cv_header_stdc+set}" = set; then :
3405
$as_echo_n "(cached) " >&6
3407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408
/* end confdefs.h. */
3422
if ac_fn_c_try_compile "$LINENO"; then :
3423
ac_cv_header_stdc=yes
3425
ac_cv_header_stdc=no
3427
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429
if test $ac_cv_header_stdc = yes; then
3430
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3431
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432
/* end confdefs.h. */
3436
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3437
$EGREP "memchr" >/dev/null 2>&1; then :
3440
ac_cv_header_stdc=no
3446
if test $ac_cv_header_stdc = yes; then
3447
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3448
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449
/* end confdefs.h. */
3453
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3454
$EGREP "free" >/dev/null 2>&1; then :
3457
ac_cv_header_stdc=no
3463
if test $ac_cv_header_stdc = yes; then
3464
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3465
if test "$cross_compiling" = yes; then :
3468
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469
/* end confdefs.h. */
3472
#if ((' ' & 0x0FF) == 0x020)
3473
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3474
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3476
# define ISLOWER(c) \
3477
(('a' <= (c) && (c) <= 'i') \
3478
|| ('j' <= (c) && (c) <= 'r') \
3479
|| ('s' <= (c) && (c) <= 'z'))
3480
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3483
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3488
for (i = 0; i < 256; i++)
3489
if (XOR (islower (i), ISLOWER (i))
3490
|| toupper (i) != TOUPPER (i))
3495
if ac_fn_c_try_run "$LINENO"; then :
3498
ac_cv_header_stdc=no
3500
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3501
conftest.$ac_objext conftest.beam conftest.$ac_ext
3506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3507
$as_echo "$ac_cv_header_stdc" >&6; }
3508
if test $ac_cv_header_stdc = yes; then
3510
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3514
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3515
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3516
inttypes.h stdint.h unistd.h
3518
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3519
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3521
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3522
cat >>confdefs.h <<_ACEOF
3523
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3532
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3533
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3540
if test "$MINIX" = yes; then
3542
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3545
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3548
$as_echo "#define _MINIX 1" >>confdefs.h
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3554
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3555
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3556
$as_echo_n "(cached) " >&6
3558
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559
/* end confdefs.h. */
3561
# define __EXTENSIONS__ 1
3562
$ac_includes_default
3571
if ac_fn_c_try_compile "$LINENO"; then :
3572
ac_cv_safe_to_define___extensions__=yes
3574
ac_cv_safe_to_define___extensions__=no
3576
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3579
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3580
test $ac_cv_safe_to_define___extensions__ = yes &&
3581
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3583
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3585
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3587
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3589
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3593
ac_config_headers="$ac_config_headers config.h"
3596
am__api_version='1.11'
3599
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3600
if test -f "$ac_dir/install-sh"; then
3602
ac_install_sh="$ac_aux_dir/install-sh -c"
3604
elif test -f "$ac_dir/install.sh"; then
3606
ac_install_sh="$ac_aux_dir/install.sh -c"
3608
elif test -f "$ac_dir/shtool"; then
3610
ac_install_sh="$ac_aux_dir/shtool install -c"
3614
if test -z "$ac_aux_dir"; then
3615
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3618
# These three variables are undocumented and unsupported,
3619
# and are intended to be withdrawn in a future Autoconf release.
3620
# They can cause serious problems if a builder's source tree is in a directory
3621
# whose full name contains unusual characters.
3622
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3623
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3624
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3627
# Find a good install program. We prefer a C program (faster),
3628
# so one script is as good as another. But avoid the broken or
3629
# incompatible versions:
3630
# SysV /etc/install, /usr/sbin/install
3631
# SunOS /usr/etc/install
3632
# IRIX /sbin/install
3634
# AmigaOS /C/install, which installs bootblocks on floppy discs
3635
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3636
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3637
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3638
# OS/2's system install, which has a completely different semantic
3639
# ./install, which can be erroneously created by make from ./install.sh.
3640
# Reject install programs that cannot install multiple files.
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3642
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3643
if test -z "$INSTALL"; then
3644
if test "${ac_cv_path_install+set}" = set; then :
3645
$as_echo_n "(cached) " >&6
3647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651
test -z "$as_dir" && as_dir=.
3652
# Account for people who put trailing slashes in PATH elements.
3653
case $as_dir/ in #((
3654
./ | .// | /[cC]/* | \
3655
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3656
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3659
# OSF1 and SCO ODT 3.0 have their own names for install.
3660
# Don't use installbsd from OSF since it installs stuff as root
3662
for ac_prog in ginstall scoinst install; do
3663
for ac_exec_ext in '' $ac_executable_extensions; do
3664
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3665
if test $ac_prog = install &&
3666
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3667
# AIX install. It has an incompatible calling convention.
3669
elif test $ac_prog = install &&
3670
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3671
# program-specific install script used by HP pwplus--don't use.
3674
rm -rf conftest.one conftest.two conftest.dir
3675
echo one > conftest.one
3676
echo two > conftest.two
3678
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3679
test -s conftest.one && test -s conftest.two &&
3680
test -s conftest.dir/conftest.one &&
3681
test -s conftest.dir/conftest.two
3683
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3696
rm -rf conftest.one conftest.two conftest.dir
3699
if test "${ac_cv_path_install+set}" = set; then
3700
INSTALL=$ac_cv_path_install
3702
# As a last resort, use the slow shell script. Don't cache a
3703
# value for INSTALL within a source directory, because that will
3704
# break other packages using the cache if that directory is
3705
# removed, or if the value is a relative name.
3706
INSTALL=$ac_install_sh
3709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3710
$as_echo "$INSTALL" >&6; }
3712
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3713
# It thinks the first close brace ends the variable substitution.
3714
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3716
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3718
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3721
$as_echo_n "checking whether build environment is sane... " >&6; }
3724
echo timestamp > conftest.file
3725
# Reject unsafe characters in $srcdir or the absolute working directory
3726
# name. Accept space and tab only in the latter.
3730
*[\\\"\#\$\&\'\`$am_lf]*)
3731
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3734
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3735
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3738
# Do `set' in a subshell so we don't clobber the current shell's
3739
# arguments. Must try -L first in case configure is actually a
3740
# symlink; some systems play weird games with the mod time of symlinks
3741
# (eg FreeBSD returns the mod time of the symlink's containing
3744
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3745
if test "$*" = "X"; then
3747
set X `ls -t "$srcdir/configure" conftest.file`
3750
if test "$*" != "X $srcdir/configure conftest.file" \
3751
&& test "$*" != "X conftest.file $srcdir/configure"; then
3753
# If neither matched, then we have a broken ls. This can happen
3754
# if, for instance, CONFIG_SHELL is bash and it inherits a
3755
# broken ls alias from the environment. This has actually
3756
# happened. Such a system could not be considered "sane".
3757
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3758
alias in your environment" "$LINENO" 5
3761
test "$2" = conftest.file
3767
as_fn_error $? "newly created file is older than distributed files!
3768
Check your system clock" "$LINENO" 5
3770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3771
$as_echo "yes" >&6; }
3772
test "$program_prefix" != NONE &&
3773
program_transform_name="s&^&$program_prefix&;$program_transform_name"
3774
# Use a double $ so make ignores it.
3775
test "$program_suffix" != NONE &&
3776
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3777
# Double any \ or $.
3778
# By default was `s,x,x', remove it if useless.
3779
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3780
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3782
# expand $ac_aux_dir to an absolute path
3783
am_aux_dir=`cd $ac_aux_dir && pwd`
3785
if test x"${MISSING+set}" != xset; then
3788
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3790
MISSING="\${SHELL} $am_aux_dir/missing" ;;
3793
# Use eval to expand $SHELL
3794
if eval "$MISSING --run true"; then
3795
am_missing_run="$MISSING --run "
3798
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3799
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3802
if test x"${install_sh}" != xset; then
3805
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3807
install_sh="\${SHELL} $am_aux_dir/install-sh"
3811
# Installed binaries are usually stripped using `strip' when the user
3812
# run `make install-strip'. However `strip' might not be the right
3813
# tool to use in cross-compilation environments, therefore Automake
3814
# will honor the `STRIP' environment variable to overrule this program.
3815
if test "$cross_compiling" != no; then
3816
if test -n "$ac_tool_prefix"; then
3817
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3818
set dummy ${ac_tool_prefix}strip; ac_word=$2
3819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820
$as_echo_n "checking for $ac_word... " >&6; }
3821
if test "${ac_cv_prog_STRIP+set}" = set; then :
3822
$as_echo_n "(cached) " >&6
3824
if test -n "$STRIP"; then
3825
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831
test -z "$as_dir" && as_dir=.
3832
for ac_exec_ext in '' $ac_executable_extensions; do
3833
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3834
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3835
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844
STRIP=$ac_cv_prog_STRIP
3845
if test -n "$STRIP"; then
3846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3847
$as_echo "$STRIP" >&6; }
3849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850
$as_echo "no" >&6; }
3855
if test -z "$ac_cv_prog_STRIP"; then
3857
# Extract the first word of "strip", so it can be a program name with args.
3858
set dummy strip; ac_word=$2
3859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860
$as_echo_n "checking for $ac_word... " >&6; }
3861
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3862
$as_echo_n "(cached) " >&6
3864
if test -n "$ac_ct_STRIP"; then
3865
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871
test -z "$as_dir" && as_dir=.
3872
for ac_exec_ext in '' $ac_executable_extensions; do
3873
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3874
ac_cv_prog_ac_ct_STRIP="strip"
3875
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3884
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3885
if test -n "$ac_ct_STRIP"; then
3886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3887
$as_echo "$ac_ct_STRIP" >&6; }
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890
$as_echo "no" >&6; }
3893
if test "x$ac_ct_STRIP" = x; then
3896
case $cross_compiling:$ac_tool_warned in
3898
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3899
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3900
ac_tool_warned=yes ;;
3905
STRIP="$ac_cv_prog_STRIP"
3909
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3912
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3913
if test -z "$MKDIR_P"; then
3914
if test "${ac_cv_path_mkdir+set}" = set; then :
3915
$as_echo_n "(cached) " >&6
3917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3921
test -z "$as_dir" && as_dir=.
3922
for ac_prog in mkdir gmkdir; do
3923
for ac_exec_ext in '' $ac_executable_extensions; do
3924
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3925
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3926
'mkdir (GNU coreutils) '* | \
3927
'mkdir (coreutils) '* | \
3928
'mkdir (fileutils) '4.1*)
3929
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3939
test -d ./--version && rmdir ./--version
3940
if test "${ac_cv_path_mkdir+set}" = set; then
3941
MKDIR_P="$ac_cv_path_mkdir -p"
3943
# As a last resort, use the slow shell script. Don't cache a
3944
# value for MKDIR_P within a source directory, because that will
3945
# break other packages using the cache if that directory is
3946
# removed, or if the value is a relative name.
3947
MKDIR_P="$ac_install_sh -d"
3950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3951
$as_echo "$MKDIR_P" >&6; }
3955
[\\/$]* | ?:[\\/]*) ;;
3956
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3959
for ac_prog in gawk mawk nawk awk
3961
# Extract the first word of "$ac_prog", so it can be a program name with args.
3962
set dummy $ac_prog; ac_word=$2
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964
$as_echo_n "checking for $ac_word... " >&6; }
3965
if test "${ac_cv_prog_AWK+set}" = set; then :
3966
$as_echo_n "(cached) " >&6
3968
if test -n "$AWK"; then
3969
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975
test -z "$as_dir" && as_dir=.
3976
for ac_exec_ext in '' $ac_executable_extensions; do
3977
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3978
ac_cv_prog_AWK="$ac_prog"
3979
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989
if test -n "$AWK"; then
3990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3991
$as_echo "$AWK" >&6; }
3993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994
$as_echo "no" >&6; }
3998
test -n "$AWK" && break
4001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4002
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4004
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4005
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4006
$as_echo_n "(cached) " >&6
4008
cat >conftest.make <<\_ACEOF
4011
@echo '@@@%%%=$(MAKE)=@@@%%%'
4013
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4014
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4016
eval ac_cv_prog_make_${ac_make}_set=yes;;
4018
eval ac_cv_prog_make_${ac_make}_set=no;;
4022
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024
$as_echo "yes" >&6; }
4027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028
$as_echo "no" >&6; }
4029
SET_MAKE="MAKE=${MAKE-make}"
4032
rm -rf .tst 2>/dev/null
4033
mkdir .tst 2>/dev/null
4034
if test -d .tst; then
4039
rmdir .tst 2>/dev/null
4041
DEPDIR="${am__leading_dot}deps"
4043
ac_config_commands="$ac_config_commands depfiles"
4046
am_make=${MAKE-make}
4047
cat > confinc << 'END'
4049
@echo this is the am__doit target
4052
# If we don't find an include directive, just comment out the code.
4053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4054
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4058
# First try GNU make style include.
4059
echo "include confinc" > confmf
4060
# Ignore all kinds of additional output from `make'.
4061
case `$am_make -s -f confmf 2> /dev/null` in #(
4062
*the\ am__doit\ target*)
4068
# Now try BSD make style include.
4069
if test "$am__include" = "#"; then
4070
echo '.include "confinc"' > confmf
4071
case `$am_make -s -f confmf 2> /dev/null` in #(
4072
*the\ am__doit\ target*)
4073
am__include=.include
4081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4082
$as_echo "$_am_result" >&6; }
4083
rm -f confinc confmf
4085
# Check whether --enable-dependency-tracking was given.
4086
if test "${enable_dependency_tracking+set}" = set; then :
4087
enableval=$enable_dependency_tracking;
4090
if test "x$enable_dependency_tracking" != xno; then
4091
am_depcomp="$ac_aux_dir/depcomp"
4094
if test "x$enable_dependency_tracking" != xno; then
4103
if test "`cd $srcdir && pwd`" != "`pwd`"; then
4104
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4105
# is not polluted with repeated "-I."
4106
am__isrc=' -I$(srcdir)'
4107
# test to see if srcdir already configured
4108
if test -f $srcdir/config.status; then
4109
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4113
# test whether we have cygpath
4114
if test -z "$CYGPATH_W"; then
4115
if (cygpath --version) >/dev/null 2>/dev/null; then
4116
CYGPATH_W='cygpath -w'
4123
# Define the identity of the package.
4124
PACKAGE='biosdevname'
4128
cat >>confdefs.h <<_ACEOF
4129
#define PACKAGE "$PACKAGE"
4133
cat >>confdefs.h <<_ACEOF
4134
#define VERSION "$VERSION"
4137
# Some tools Automake needs.
4139
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4142
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4145
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4148
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4151
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4153
# We need awk for the "check" target. The system "awk" is bad on
4155
# Always define AMTAR for backward compatibility.
4157
AMTAR=${AMTAR-"${am_missing_run}tar"}
4159
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4164
depcc="$CC" am_compiler_list=
4166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4167
$as_echo_n "checking dependency style of $depcc... " >&6; }
4168
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4169
$as_echo_n "(cached) " >&6
4171
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4172
# We make a subdir and do the tests there. Otherwise we can end up
4173
# making bogus files that we don't know about and never remove. For
4174
# instance it was reported that on HP-UX the gcc test will end up
4175
# making a dummy file named `D' -- because `-MD' means `put the output
4178
# Copy depcomp to subdir because otherwise we won't find it if we're
4179
# using a relative directory.
4180
cp "$am_depcomp" conftest.dir
4182
# We will build objects and dependencies in a subdirectory because
4183
# it helps to detect inapplicable dependency modes. For instance
4184
# both Tru64's cc and ICC support -MD to output dependencies as a
4185
# side effect of compilation, but ICC will put the dependencies in
4186
# the current directory while Tru64 will put them in the object
4190
am_cv_CC_dependencies_compiler_type=none
4191
if test "$am_compiler_list" = ""; then
4192
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4195
case " $depcc " in #(
4196
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4199
for depmode in $am_compiler_list; do
4200
# Setup a source with many dependencies, because some compilers
4201
# like to wrap large dependency lists on column 80 (with \), and
4202
# we should not choose a depcomp mode which is confused by this.
4204
# We need to recreate these files for each test, as the compiler may
4205
# overwrite some of them when testing with obscure command lines.
4206
# This happens at least with the AIX C compiler.
4208
for i in 1 2 3 4 5 6; do
4209
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4210
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4211
# Solaris 8's {/usr,}/bin/sh.
4212
touch sub/conftst$i.h
4214
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4216
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4217
# mode. It turns out that the SunPro C++ compiler does not properly
4218
# handle `-M -o', and we need to detect this. Also, some Intel
4219
# versions had trouble with output in subdirs
4220
am__obj=sub/conftest.${OBJEXT-o}
4221
am__minus_obj="-o $am__obj"
4224
# This depmode causes a compiler race in universal mode.
4225
test "$am__universal" = false || continue
4228
# after this tag, mechanisms are not by side-effect, so they'll
4229
# only be used when explicitly requested
4230
if test "x$enable_dependency_tracking" = xyes; then
4236
msvisualcpp | msvcmsys)
4237
# This compiler won't grok `-c -o', but also, the minuso test has
4238
# not run yet. These depmodes are late enough in the game, and
4239
# so weak that their functioning should not be impacted.
4240
am__obj=conftest.${OBJEXT-o}
4245
if depmode=$depmode \
4246
source=sub/conftest.c object=$am__obj \
4247
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4248
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4249
>/dev/null 2>conftest.err &&
4250
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4251
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4252
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4253
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4254
# icc doesn't choke on unknown options, it will just issue warnings
4255
# or remarks (even with -Werror). So we grep stderr for any message
4256
# that says an option was ignored or not supported.
4257
# When given -MP, icc 7.0 and 7.1 complain thusly:
4258
# icc: Command line warning: ignoring option '-M'; no argument required
4259
# The diagnosis changed in icc 8.0:
4260
# icc: Command line remark: option '-MP' not supported
4261
if (grep 'ignoring option' conftest.err ||
4262
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4263
am_cv_CC_dependencies_compiler_type=$depmode
4272
am_cv_CC_dependencies_compiler_type=none
4276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4277
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4278
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4281
test "x$enable_dependency_tracking" != xno \
4282
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4284
am__fastdepCC_FALSE='#'
4286
am__fastdepCC_TRUE='#'
4287
am__fastdepCC_FALSE=
4293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4294
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4295
# Check whether --enable-maintainer-mode was given.
4296
if test "${enable_maintainer_mode+set}" = set; then :
4297
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4299
USE_MAINTAINER_MODE=no
4302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4303
$as_echo "$USE_MAINTAINER_MODE" >&6; }
4304
if test $USE_MAINTAINER_MODE = yes; then
4305
MAINTAINER_MODE_TRUE=
4306
MAINTAINER_MODE_FALSE='#'
4308
MAINTAINER_MODE_TRUE='#'
4309
MAINTAINER_MODE_FALSE=
4312
MAINT=$MAINTAINER_MODE_TRUE
4316
# Checks for programs.
4317
for ac_prog in gawk mawk nawk awk
4319
# Extract the first word of "$ac_prog", so it can be a program name with args.
4320
set dummy $ac_prog; ac_word=$2
4321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4322
$as_echo_n "checking for $ac_word... " >&6; }
4323
if test "${ac_cv_prog_AWK+set}" = set; then :
4324
$as_echo_n "(cached) " >&6
4326
if test -n "$AWK"; then
4327
ac_cv_prog_AWK="$AWK" # Let the user override the test.
4329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333
test -z "$as_dir" && as_dir=.
4334
for ac_exec_ext in '' $ac_executable_extensions; do
4335
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4336
ac_cv_prog_AWK="$ac_prog"
4337
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347
if test -n "$AWK"; then
4348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4349
$as_echo "$AWK" >&6; }
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352
$as_echo "no" >&6; }
4356
test -n "$AWK" && break
4360
ac_cpp='$CPP $CPPFLAGS'
4361
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364
if test -n "$ac_tool_prefix"; then
4365
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4366
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368
$as_echo_n "checking for $ac_word... " >&6; }
4369
if test "${ac_cv_prog_CC+set}" = set; then :
4370
$as_echo_n "(cached) " >&6
4372
if test -n "$CC"; then
4373
ac_cv_prog_CC="$CC" # Let the user override the test.
4375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379
test -z "$as_dir" && as_dir=.
4380
for ac_exec_ext in '' $ac_executable_extensions; do
4381
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4383
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393
if test -n "$CC"; then
4394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4395
$as_echo "$CC" >&6; }
4397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398
$as_echo "no" >&6; }
4403
if test -z "$ac_cv_prog_CC"; then
4405
# Extract the first word of "gcc", so it can be a program name with args.
4406
set dummy gcc; ac_word=$2
4407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408
$as_echo_n "checking for $ac_word... " >&6; }
4409
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4410
$as_echo_n "(cached) " >&6
4412
if test -n "$ac_ct_CC"; then
4413
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419
test -z "$as_dir" && as_dir=.
4420
for ac_exec_ext in '' $ac_executable_extensions; do
4421
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422
ac_cv_prog_ac_ct_CC="gcc"
4423
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4433
if test -n "$ac_ct_CC"; then
4434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4435
$as_echo "$ac_ct_CC" >&6; }
4437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438
$as_echo "no" >&6; }
4441
if test "x$ac_ct_CC" = x; then
4444
case $cross_compiling:$ac_tool_warned in
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448
ac_tool_warned=yes ;;
4456
if test -z "$CC"; then
4457
if test -n "$ac_tool_prefix"; then
4458
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4459
set dummy ${ac_tool_prefix}cc; ac_word=$2
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461
$as_echo_n "checking for $ac_word... " >&6; }
4462
if test "${ac_cv_prog_CC+set}" = set; then :
4463
$as_echo_n "(cached) " >&6
4465
if test -n "$CC"; then
4466
ac_cv_prog_CC="$CC" # Let the user override the test.
4468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472
test -z "$as_dir" && as_dir=.
4473
for ac_exec_ext in '' $ac_executable_extensions; do
4474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475
ac_cv_prog_CC="${ac_tool_prefix}cc"
4476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486
if test -n "$CC"; then
4487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4488
$as_echo "$CC" >&6; }
4490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491
$as_echo "no" >&6; }
4497
if test -z "$CC"; then
4498
# Extract the first word of "cc", so it can be a program name with args.
4499
set dummy cc; ac_word=$2
4500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501
$as_echo_n "checking for $ac_word... " >&6; }
4502
if test "${ac_cv_prog_CC+set}" = set; then :
4503
$as_echo_n "(cached) " >&6
4505
if test -n "$CC"; then
4506
ac_cv_prog_CC="$CC" # Let the user override the test.
4509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513
test -z "$as_dir" && as_dir=.
4514
for ac_exec_ext in '' $ac_executable_extensions; do
4515
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4517
ac_prog_rejected=yes
4521
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528
if test $ac_prog_rejected = yes; then
4529
# We found a bogon in the path, so make sure we never use it.
4530
set dummy $ac_cv_prog_CC
4532
if test $# != 0; then
4533
# We chose a different compiler from the bogus one.
4534
# However, it has the same basename, so the bogon will be chosen
4535
# first if we set CC to just the basename; use the full file name.
4537
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4543
if test -n "$CC"; then
4544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4545
$as_echo "$CC" >&6; }
4547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548
$as_echo "no" >&6; }
4553
if test -z "$CC"; then
4554
if test -n "$ac_tool_prefix"; then
4555
for ac_prog in cl.exe
4557
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4558
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560
$as_echo_n "checking for $ac_word... " >&6; }
4561
if test "${ac_cv_prog_CC+set}" = set; then :
4562
$as_echo_n "(cached) " >&6
4564
if test -n "$CC"; then
4565
ac_cv_prog_CC="$CC" # Let the user override the test.
4567
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571
test -z "$as_dir" && as_dir=.
4572
for ac_exec_ext in '' $ac_executable_extensions; do
4573
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4574
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4575
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585
if test -n "$CC"; then
4586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4587
$as_echo "$CC" >&6; }
4589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590
$as_echo "no" >&6; }
4594
test -n "$CC" && break
4597
if test -z "$CC"; then
4599
for ac_prog in cl.exe
4601
# Extract the first word of "$ac_prog", so it can be a program name with args.
4602
set dummy $ac_prog; ac_word=$2
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604
$as_echo_n "checking for $ac_word... " >&6; }
4605
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4606
$as_echo_n "(cached) " >&6
4608
if test -n "$ac_ct_CC"; then
4609
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615
test -z "$as_dir" && as_dir=.
4616
for ac_exec_ext in '' $ac_executable_extensions; do
4617
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618
ac_cv_prog_ac_ct_CC="$ac_prog"
4619
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4629
if test -n "$ac_ct_CC"; then
4630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4631
$as_echo "$ac_ct_CC" >&6; }
4633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634
$as_echo "no" >&6; }
4638
test -n "$ac_ct_CC" && break
4641
if test "x$ac_ct_CC" = x; then
4644
case $cross_compiling:$ac_tool_warned in
4646
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648
ac_tool_warned=yes ;;
4657
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4658
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4659
as_fn_error $? "no acceptable C compiler found in \$PATH
4660
See \`config.log' for more details" "$LINENO" 5 ; }
4662
# Provide some information about the compiler.
4663
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4666
for ac_option in --version -v -V -qversion; do
4667
{ { ac_try="$ac_compiler $ac_option >&5"
4669
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670
*) ac_try_echo=$ac_try;;
4672
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4673
$as_echo "$ac_try_echo"; } >&5
4674
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4676
if test -s conftest.err; then
4678
... rest of stderr output deleted ...
4679
10q' conftest.err >conftest.er1
4680
cat conftest.er1 >&5
4682
rm -f conftest.er1 conftest.err
4683
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4684
test $ac_status = 0; }
4687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4688
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4689
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4690
$as_echo_n "(cached) " >&6
4692
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693
/* end confdefs.h. */
4706
if ac_fn_c_try_compile "$LINENO"; then :
4711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4712
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4716
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4717
if test $ac_compiler_gnu = yes; then
4722
ac_test_CFLAGS=${CFLAGS+set}
4723
ac_save_CFLAGS=$CFLAGS
4724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4725
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4726
if test "${ac_cv_prog_cc_g+set}" = set; then :
4727
$as_echo_n "(cached) " >&6
4729
ac_save_c_werror_flag=$ac_c_werror_flag
4730
ac_c_werror_flag=yes
4733
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734
/* end confdefs.h. */
4744
if ac_fn_c_try_compile "$LINENO"; then :
4748
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749
/* end confdefs.h. */
4759
if ac_fn_c_try_compile "$LINENO"; then :
4762
ac_c_werror_flag=$ac_save_c_werror_flag
4764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765
/* end confdefs.h. */
4775
if ac_fn_c_try_compile "$LINENO"; then :
4778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4783
ac_c_werror_flag=$ac_save_c_werror_flag
4785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4786
$as_echo "$ac_cv_prog_cc_g" >&6; }
4787
if test "$ac_test_CFLAGS" = set; then
4788
CFLAGS=$ac_save_CFLAGS
4789
elif test $ac_cv_prog_cc_g = yes; then
4790
if test "$GCC" = yes; then
4796
if test "$GCC" = yes; then
4802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4803
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4804
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4805
$as_echo_n "(cached) " >&6
4807
ac_cv_prog_cc_c89=no
4809
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810
/* end confdefs.h. */
4813
#include <sys/types.h>
4814
#include <sys/stat.h>
4815
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4816
struct buf { int x; };
4817
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4818
static char *e (p, i)
4824
static char *f (char * (*g) (char **, int), char **p, ...)
4829
s = g (p, va_arg (v,int));
4834
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4835
function prototypes and stuff, but not '\xHH' hex character constants.
4836
These don't provoke an error unfortunately, instead are silently treated
4837
as 'x'. The following induces an error, until -std is added to get
4838
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4839
array size at least. It's necessary to write '\x00'==0 to get something
4840
that's true only with -std. */
4841
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4843
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4844
inside strings and character constants. */
4846
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4848
int test (int i, double x);
4849
struct s1 {int (*f) (int a);};
4850
struct s2 {int (*f) (double a);};
4851
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4857
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4862
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4863
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4865
CC="$ac_save_CC $ac_arg"
4866
if ac_fn_c_try_compile "$LINENO"; then :
4867
ac_cv_prog_cc_c89=$ac_arg
4869
rm -f core conftest.err conftest.$ac_objext
4870
test "x$ac_cv_prog_cc_c89" != "xno" && break
4872
rm -f conftest.$ac_ext
4877
case "x$ac_cv_prog_cc_c89" in
4879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4880
$as_echo "none needed" >&6; } ;;
4882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4883
$as_echo "unsupported" >&6; } ;;
4885
CC="$CC $ac_cv_prog_cc_c89"
4886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4887
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4889
if test "x$ac_cv_prog_cc_c89" != xno; then :
4894
ac_cpp='$CPP $CPPFLAGS'
4895
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4896
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4897
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4899
if test "x$CC" != xcc; then
4900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4901
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4904
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4906
set dummy $CC; ac_cc=`$as_echo "$2" |
4907
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4908
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
4909
$as_echo_n "(cached) " >&6
4911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912
/* end confdefs.h. */
4922
# Make sure it works both with $CC and with simple cc.
4923
# We do the test twice because some compilers refuse to overwrite an
4924
# existing .o file with -o, though they will create one.
4925
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4927
if { { case "(($ac_try" in
4928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929
*) ac_try_echo=$ac_try;;
4931
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4932
$as_echo "$ac_try_echo"; } >&5
4933
(eval "$ac_try") 2>&5
4935
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4936
test $ac_status = 0; } &&
4937
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939
*) ac_try_echo=$ac_try;;
4941
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4942
$as_echo "$ac_try_echo"; } >&5
4943
(eval "$ac_try") 2>&5
4945
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4946
test $ac_status = 0; };
4948
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4949
if test "x$CC" != xcc; then
4950
# Test first that cc exists at all.
4951
if { ac_try='cc -c conftest.$ac_ext >&5'
4952
{ { case "(($ac_try" in
4953
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954
*) ac_try_echo=$ac_try;;
4956
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4957
$as_echo "$ac_try_echo"; } >&5
4958
(eval "$ac_try") 2>&5
4960
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4961
test $ac_status = 0; }; }; then
4962
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4964
if { { case "(($ac_try" in
4965
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4966
*) ac_try_echo=$ac_try;;
4968
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4969
$as_echo "$ac_try_echo"; } >&5
4970
(eval "$ac_try") 2>&5
4972
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4973
test $ac_status = 0; } &&
4974
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4975
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4976
*) ac_try_echo=$ac_try;;
4978
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4979
$as_echo "$ac_try_echo"; } >&5
4980
(eval "$ac_try") 2>&5
4982
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4983
test $ac_status = 0; };
4988
# cc exists but doesn't like -o.
4989
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4994
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4996
rm -f core conftest*
4999
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5001
$as_echo "yes" >&6; }
5003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004
$as_echo "no" >&6; }
5006
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5010
# FIXME: we rely on the cache variable name because
5011
# there is no other way.
5013
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5014
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5015
if test "$am_t" != yes; then
5016
# Losing compiler, so override with the script.
5017
# FIXME: It is wrong to rewrite CC.
5018
# But if we don't then we get into trouble of one sort or another.
5019
# A longer-term fix would be to have automake use am__CC in this case,
5020
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5021
CC="$am_aux_dir/compile $CC"
5025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5026
$as_echo_n "checking whether ln -s works... " >&6; }
5028
if test "$LN_S" = "ln -s"; then
5029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5030
$as_echo "yes" >&6; }
5032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5033
$as_echo "no, using $LN_S" >&6; }
5037
ac_cpp='$CXXCPP $CPPFLAGS'
5038
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5041
if test -z "$CXX"; then
5042
if test -n "$CCC"; then
5045
if test -n "$ac_tool_prefix"; then
5046
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5048
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5049
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051
$as_echo_n "checking for $ac_word... " >&6; }
5052
if test "${ac_cv_prog_CXX+set}" = set; then :
5053
$as_echo_n "(cached) " >&6
5055
if test -n "$CXX"; then
5056
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062
test -z "$as_dir" && as_dir=.
5063
for ac_exec_ext in '' $ac_executable_extensions; do
5064
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5066
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076
if test -n "$CXX"; then
5077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5078
$as_echo "$CXX" >&6; }
5080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081
$as_echo "no" >&6; }
5085
test -n "$CXX" && break
5088
if test -z "$CXX"; then
5090
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5092
# Extract the first word of "$ac_prog", so it can be a program name with args.
5093
set dummy $ac_prog; ac_word=$2
5094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095
$as_echo_n "checking for $ac_word... " >&6; }
5096
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5097
$as_echo_n "(cached) " >&6
5099
if test -n "$ac_ct_CXX"; then
5100
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106
test -z "$as_dir" && as_dir=.
5107
for ac_exec_ext in '' $ac_executable_extensions; do
5108
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5109
ac_cv_prog_ac_ct_CXX="$ac_prog"
5110
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5120
if test -n "$ac_ct_CXX"; then
5121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5122
$as_echo "$ac_ct_CXX" >&6; }
5124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125
$as_echo "no" >&6; }
5129
test -n "$ac_ct_CXX" && break
5132
if test "x$ac_ct_CXX" = x; then
5135
case $cross_compiling:$ac_tool_warned in
5137
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5138
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5139
ac_tool_warned=yes ;;
5147
# Provide some information about the compiler.
5148
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5151
for ac_option in --version -v -V -qversion; do
5152
{ { ac_try="$ac_compiler $ac_option >&5"
5154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5155
*) ac_try_echo=$ac_try;;
5157
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5158
$as_echo "$ac_try_echo"; } >&5
5159
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5161
if test -s conftest.err; then
5163
... rest of stderr output deleted ...
5164
10q' conftest.err >conftest.er1
5165
cat conftest.er1 >&5
5167
rm -f conftest.er1 conftest.err
5168
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5169
test $ac_status = 0; }
5172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5173
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5174
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5175
$as_echo_n "(cached) " >&6
5177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178
/* end confdefs.h. */
5191
if ac_fn_cxx_try_compile "$LINENO"; then :
5196
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5197
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5201
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5202
if test $ac_compiler_gnu = yes; then
5207
ac_test_CXXFLAGS=${CXXFLAGS+set}
5208
ac_save_CXXFLAGS=$CXXFLAGS
5209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5210
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5211
if test "${ac_cv_prog_cxx_g+set}" = set; then :
5212
$as_echo_n "(cached) " >&6
5214
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5215
ac_cxx_werror_flag=yes
5218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219
/* end confdefs.h. */
5229
if ac_fn_cxx_try_compile "$LINENO"; then :
5230
ac_cv_prog_cxx_g=yes
5233
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234
/* end confdefs.h. */
5244
if ac_fn_cxx_try_compile "$LINENO"; then :
5247
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5249
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250
/* end confdefs.h. */
5260
if ac_fn_cxx_try_compile "$LINENO"; then :
5261
ac_cv_prog_cxx_g=yes
5263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5265
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5267
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5268
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5271
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5272
if test "$ac_test_CXXFLAGS" = set; then
5273
CXXFLAGS=$ac_save_CXXFLAGS
5274
elif test $ac_cv_prog_cxx_g = yes; then
5275
if test "$GXX" = yes; then
5281
if test "$GXX" = yes; then
5288
ac_cpp='$CPP $CPPFLAGS'
5289
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5290
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5291
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5293
depcc="$CXX" am_compiler_list=
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5296
$as_echo_n "checking dependency style of $depcc... " >&6; }
5297
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5298
$as_echo_n "(cached) " >&6
5300
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5301
# We make a subdir and do the tests there. Otherwise we can end up
5302
# making bogus files that we don't know about and never remove. For
5303
# instance it was reported that on HP-UX the gcc test will end up
5304
# making a dummy file named `D' -- because `-MD' means `put the output
5307
# Copy depcomp to subdir because otherwise we won't find it if we're
5308
# using a relative directory.
5309
cp "$am_depcomp" conftest.dir
5311
# We will build objects and dependencies in a subdirectory because
5312
# it helps to detect inapplicable dependency modes. For instance
5313
# both Tru64's cc and ICC support -MD to output dependencies as a
5314
# side effect of compilation, but ICC will put the dependencies in
5315
# the current directory while Tru64 will put them in the object
5319
am_cv_CXX_dependencies_compiler_type=none
5320
if test "$am_compiler_list" = ""; then
5321
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5324
case " $depcc " in #(
5325
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5328
for depmode in $am_compiler_list; do
5329
# Setup a source with many dependencies, because some compilers
5330
# like to wrap large dependency lists on column 80 (with \), and
5331
# we should not choose a depcomp mode which is confused by this.
5333
# We need to recreate these files for each test, as the compiler may
5334
# overwrite some of them when testing with obscure command lines.
5335
# This happens at least with the AIX C compiler.
5337
for i in 1 2 3 4 5 6; do
5338
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5339
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5340
# Solaris 8's {/usr,}/bin/sh.
5341
touch sub/conftst$i.h
5343
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5345
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5346
# mode. It turns out that the SunPro C++ compiler does not properly
5347
# handle `-M -o', and we need to detect this. Also, some Intel
5348
# versions had trouble with output in subdirs
5349
am__obj=sub/conftest.${OBJEXT-o}
5350
am__minus_obj="-o $am__obj"
5353
# This depmode causes a compiler race in universal mode.
5354
test "$am__universal" = false || continue
5357
# after this tag, mechanisms are not by side-effect, so they'll
5358
# only be used when explicitly requested
5359
if test "x$enable_dependency_tracking" = xyes; then
5365
msvisualcpp | msvcmsys)
5366
# This compiler won't grok `-c -o', but also, the minuso test has
5367
# not run yet. These depmodes are late enough in the game, and
5368
# so weak that their functioning should not be impacted.
5369
am__obj=conftest.${OBJEXT-o}
5374
if depmode=$depmode \
5375
source=sub/conftest.c object=$am__obj \
5376
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5377
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5378
>/dev/null 2>conftest.err &&
5379
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5380
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5381
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5382
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5383
# icc doesn't choke on unknown options, it will just issue warnings
5384
# or remarks (even with -Werror). So we grep stderr for any message
5385
# that says an option was ignored or not supported.
5386
# When given -MP, icc 7.0 and 7.1 complain thusly:
5387
# icc: Command line warning: ignoring option '-M'; no argument required
5388
# The diagnosis changed in icc 8.0:
5389
# icc: Command line remark: option '-MP' not supported
5390
if (grep 'ignoring option' conftest.err ||
5391
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5392
am_cv_CXX_dependencies_compiler_type=$depmode
5401
am_cv_CXX_dependencies_compiler_type=none
5405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5406
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5407
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5410
test "x$enable_dependency_tracking" != xno \
5411
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5412
am__fastdepCXX_TRUE=
5413
am__fastdepCXX_FALSE='#'
5415
am__fastdepCXX_TRUE='#'
5416
am__fastdepCXX_FALSE=
5420
if test -n "$ac_tool_prefix"; then
5421
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5422
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424
$as_echo_n "checking for $ac_word... " >&6; }
5425
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5426
$as_echo_n "(cached) " >&6
5428
if test -n "$RANLIB"; then
5429
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5431
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435
test -z "$as_dir" && as_dir=.
5436
for ac_exec_ext in '' $ac_executable_extensions; do
5437
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5438
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5439
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448
RANLIB=$ac_cv_prog_RANLIB
5449
if test -n "$RANLIB"; then
5450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5451
$as_echo "$RANLIB" >&6; }
5453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454
$as_echo "no" >&6; }
5459
if test -z "$ac_cv_prog_RANLIB"; then
5460
ac_ct_RANLIB=$RANLIB
5461
# Extract the first word of "ranlib", so it can be a program name with args.
5462
set dummy ranlib; ac_word=$2
5463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464
$as_echo_n "checking for $ac_word... " >&6; }
5465
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5466
$as_echo_n "(cached) " >&6
5468
if test -n "$ac_ct_RANLIB"; then
5469
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475
test -z "$as_dir" && as_dir=.
5476
for ac_exec_ext in '' $ac_executable_extensions; do
5477
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478
ac_cv_prog_ac_ct_RANLIB="ranlib"
5479
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5489
if test -n "$ac_ct_RANLIB"; then
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5491
$as_echo "$ac_ct_RANLIB" >&6; }
5493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494
$as_echo "no" >&6; }
5497
if test "x$ac_ct_RANLIB" = x; then
5500
case $cross_compiling:$ac_tool_warned in
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5503
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5504
ac_tool_warned=yes ;;
5506
RANLIB=$ac_ct_RANLIB
5509
RANLIB="$ac_cv_prog_RANLIB"
5512
for ac_prog in readelf
5514
# Extract the first word of "$ac_prog", so it can be a program name with args.
5515
set dummy $ac_prog; ac_word=$2
5516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517
$as_echo_n "checking for $ac_word... " >&6; }
5518
if test "${ac_cv_prog_READELF+set}" = set; then :
5519
$as_echo_n "(cached) " >&6
5521
if test -n "$READELF"; then
5522
ac_cv_prog_READELF="$READELF" # Let the user override the test.
5524
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528
test -z "$as_dir" && as_dir=.
5529
for ac_exec_ext in '' $ac_executable_extensions; do
5530
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531
ac_cv_prog_READELF="$ac_prog"
5532
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541
READELF=$ac_cv_prog_READELF
5542
if test -n "$READELF"; then
5543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
5544
$as_echo "$READELF" >&6; }
5546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547
$as_echo "no" >&6; }
5551
test -n "$READELF" && break
5554
for ac_func in realpath
5556
ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
5557
if test "x$ac_cv_func_realpath" = x""yes; then :
5558
cat >>confdefs.h <<_ACEOF
5559
#define HAVE_REALPATH 1
5565
# Checks for libraries.
5566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf in -lc" >&5
5567
$as_echo_n "checking for snprintf in -lc... " >&6; }
5568
if test "${ac_cv_lib_c_snprintf+set}" = set; then :
5569
$as_echo_n "(cached) " >&6
5571
ac_check_lib_save_LIBS=$LIBS
5573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574
/* end confdefs.h. */
5576
/* Override any GCC internal prototype to avoid an error.
5577
Use char because int might match the return type of a GCC
5578
builtin and then its argument prototype would still apply. */
5591
if ac_fn_c_try_link "$LINENO"; then :
5592
ac_cv_lib_c_snprintf=yes
5594
ac_cv_lib_c_snprintf=no
5596
rm -f core conftest.err conftest.$ac_objext \
5597
conftest$ac_exeext conftest.$ac_ext
5598
LIBS=$ac_check_lib_save_LIBS
5600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_snprintf" >&5
5601
$as_echo "$ac_cv_lib_c_snprintf" >&6; }
5602
if test "x$ac_cv_lib_c_snprintf" = x""yes; then :
5603
cat >>confdefs.h <<_ACEOF
5611
# libz has to come before libpci because libpci needs it now.
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
5613
$as_echo_n "checking for gzopen in -lz... " >&6; }
5614
if test "${ac_cv_lib_z_gzopen+set}" = set; then :
5615
$as_echo_n "(cached) " >&6
5617
ac_check_lib_save_LIBS=$LIBS
5619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620
/* end confdefs.h. */
5622
/* Override any GCC internal prototype to avoid an error.
5623
Use char because int might match the return type of a GCC
5624
builtin and then its argument prototype would still apply. */
5637
if ac_fn_c_try_link "$LINENO"; then :
5638
ac_cv_lib_z_gzopen=yes
5640
ac_cv_lib_z_gzopen=no
5642
rm -f core conftest.err conftest.$ac_objext \
5643
conftest$ac_exeext conftest.$ac_ext
5644
LIBS=$ac_check_lib_save_LIBS
5646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
5647
$as_echo "$ac_cv_lib_z_gzopen" >&6; }
5648
if test "x$ac_cv_lib_z_gzopen" = x""yes; then :
5651
as_fn_error $? "You must install zlib-devel (Fedora/Red Hat/SuSE), libzip-dev (Debian/Ubuntu), or equivalent" "$LINENO" 5
5654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pci_alloc in -lpci" >&5
5655
$as_echo_n "checking for pci_alloc in -lpci... " >&6; }
5656
if test "${ac_cv_lib_pci_pci_alloc+set}" = set; then :
5657
$as_echo_n "(cached) " >&6
5659
ac_check_lib_save_LIBS=$LIBS
5660
LIBS="-lpci -lz $LIBS"
5661
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662
/* end confdefs.h. */
5664
/* Override any GCC internal prototype to avoid an error.
5665
Use char because int might match the return type of a GCC
5666
builtin and then its argument prototype would still apply. */
5674
return pci_alloc ();
5679
if ac_fn_c_try_link "$LINENO"; then :
5680
ac_cv_lib_pci_pci_alloc=yes
5682
ac_cv_lib_pci_pci_alloc=no
5684
rm -f core conftest.err conftest.$ac_objext \
5685
conftest$ac_exeext conftest.$ac_ext
5686
LIBS=$ac_check_lib_save_LIBS
5688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pci_pci_alloc" >&5
5689
$as_echo "$ac_cv_lib_pci_pci_alloc" >&6; }
5690
if test "x$ac_cv_lib_pci_pci_alloc" = x""yes; then :
5693
as_fn_error $? "You must install pciutils-devel (Fedora/Red Hat/SuSE), pciutils-dev (Debian/Ubuntu), or equivalent" "$LINENO" 5
5697
# Checks for header files.
5698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5699
$as_echo_n "checking for ANSI C header files... " >&6; }
5700
if test "${ac_cv_header_stdc+set}" = set; then :
5701
$as_echo_n "(cached) " >&6
5703
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5704
/* end confdefs.h. */
5718
if ac_fn_c_try_compile "$LINENO"; then :
5719
ac_cv_header_stdc=yes
5721
ac_cv_header_stdc=no
5723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5725
if test $ac_cv_header_stdc = yes; then
5726
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5727
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5728
/* end confdefs.h. */
5732
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5733
$EGREP "memchr" >/dev/null 2>&1; then :
5736
ac_cv_header_stdc=no
5742
if test $ac_cv_header_stdc = yes; then
5743
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5744
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745
/* end confdefs.h. */
5749
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5750
$EGREP "free" >/dev/null 2>&1; then :
5753
ac_cv_header_stdc=no
5759
if test $ac_cv_header_stdc = yes; then
5760
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5761
if test "$cross_compiling" = yes; then :
5764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5765
/* end confdefs.h. */
5768
#if ((' ' & 0x0FF) == 0x020)
5769
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5770
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5772
# define ISLOWER(c) \
5773
(('a' <= (c) && (c) <= 'i') \
5774
|| ('j' <= (c) && (c) <= 'r') \
5775
|| ('s' <= (c) && (c) <= 'z'))
5776
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5779
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5784
for (i = 0; i < 256; i++)
5785
if (XOR (islower (i), ISLOWER (i))
5786
|| toupper (i) != TOUPPER (i))
5791
if ac_fn_c_try_run "$LINENO"; then :
5794
ac_cv_header_stdc=no
5796
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5797
conftest.$ac_objext conftest.beam conftest.$ac_ext
5802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5803
$as_echo "$ac_cv_header_stdc" >&6; }
5804
if test $ac_cv_header_stdc = yes; then
5806
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
5811
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5812
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
5813
$as_echo_n "(cached) " >&6
5815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5816
/* end confdefs.h. */
5817
#include <sys/types.h>
5818
#include <sys/wait.h>
5820
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5823
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5831
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5836
if ac_fn_c_try_compile "$LINENO"; then :
5837
ac_cv_header_sys_wait_h=yes
5839
ac_cv_header_sys_wait_h=no
5841
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
5844
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
5845
if test $ac_cv_header_sys_wait_h = yes; then
5847
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
5851
for ac_header in fcntl.h limits.h locale.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/time.h syslog.h unistd.h
5853
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5854
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5855
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5856
cat >>confdefs.h <<_ACEOF
5857
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5864
ac_fn_c_check_header_mongrel "$LINENO" "pci/pci.h" "ac_cv_header_pci_pci_h" "$ac_includes_default"
5865
if test "x$ac_cv_header_pci_pci_h" = x""yes; then :
5868
as_fn_error $? "You must install pciutils-devel or equivalent" "$LINENO" 5
5872
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
5873
if test "x$ac_cv_header_zlib_h" = x""yes; then :
5876
as_fn_error $? "You must install zlib-devel or equivalent" "$LINENO" 5
5881
# Check for pci_dev.domain
5882
ac_fn_c_check_member "$LINENO" "struct pci_dev" "domain" "ac_cv_member_struct_pci_dev_domain" "#include<pci/pci.h>
5884
if test "x$ac_cv_member_struct_pci_dev_domain" = x""yes; then :
5886
cat >>confdefs.h <<_ACEOF
5887
#define HAVE_STRUCT_PCI_DEV_DOMAIN 1
5894
# Checks for typedefs, structures, and compiler characteristics.
5895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5896
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5897
if test "${ac_cv_c_const+set}" = set; then :
5898
$as_echo_n "(cached) " >&6
5900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5901
/* end confdefs.h. */
5906
/* FIXME: Include the comments suggested by Paul. */
5908
/* Ultrix mips cc rejects this. */
5909
typedef int charset[2];
5911
/* SunOS 4.1.1 cc rejects this. */
5912
char const *const *pcpcc;
5914
/* NEC SVR4.0.2 mips cc rejects this. */
5915
struct point {int x, y;};
5916
static struct point const zero = {0,0};
5917
/* AIX XL C 1.02.0.0 rejects this.
5918
It does not let you subtract one const X* pointer from another in
5919
an arm of an if-expression whose if-part is not a constant
5921
const char *g = "string";
5922
pcpcc = &g + (g ? g-g : 0);
5923
/* HPUX 7.0 cc rejects these. */
5925
ppc = (char**) pcpcc;
5926
pcpcc = (char const *const *) ppc;
5927
{ /* SCO 3.2v4 cc rejects this. */
5929
char const *s = 0 ? (char *) 0 : (char const *) 0;
5934
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5936
const int *foo = &x[0];
5939
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5940
typedef const int *iptr;
5944
{ /* AIX XL C 1.02.0.0 rejects this saying
5945
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5946
struct s { int j; const int *ap[3]; };
5947
struct s *b; b->j = 5;
5949
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5953
return !cs[0] && !zero.x;
5960
if ac_fn_c_try_compile "$LINENO"; then :
5965
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5968
$as_echo "$ac_cv_c_const" >&6; }
5969
if test $ac_cv_c_const = no; then
5971
$as_echo "#define const /**/" >>confdefs.h
5975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5976
$as_echo_n "checking for inline... " >&6; }
5977
if test "${ac_cv_c_inline+set}" = set; then :
5978
$as_echo_n "(cached) " >&6
5981
for ac_kw in inline __inline__ __inline; do
5982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5983
/* end confdefs.h. */
5986
static $ac_kw foo_t static_foo () {return 0; }
5987
$ac_kw foo_t foo () {return 0; }
5991
if ac_fn_c_try_compile "$LINENO"; then :
5992
ac_cv_c_inline=$ac_kw
5994
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995
test "$ac_cv_c_inline" != no && break
5999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6000
$as_echo "$ac_cv_c_inline" >&6; }
6002
case $ac_cv_c_inline in
6005
case $ac_cv_c_inline in
6007
*) ac_val=$ac_cv_c_inline;;
6009
cat >>confdefs.h <<_ACEOF
6011
#define inline $ac_val
6017
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6018
if test "x$ac_cv_type_off_t" = x""yes; then :
6022
cat >>confdefs.h <<_ACEOF
6023
#define off_t long int
6028
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6029
if test "x$ac_cv_type_size_t" = x""yes; then :
6033
cat >>confdefs.h <<_ACEOF
6034
#define size_t unsigned int
6039
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
6040
if test "x$ac_cv_type_ssize_t" = x""yes; then :
6044
cat >>confdefs.h <<_ACEOF
6050
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
6051
case $ac_cv_c_uint8_t in #(
6055
$as_echo "#define _UINT8_T 1" >>confdefs.h
6058
cat >>confdefs.h <<_ACEOF
6059
#define uint8_t $ac_cv_c_uint8_t
6064
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
6065
case $ac_cv_c_uint16_t in #(
6070
cat >>confdefs.h <<_ACEOF
6071
#define uint16_t $ac_cv_c_uint16_t
6076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6077
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6078
if test "${ac_cv_header_time+set}" = set; then :
6079
$as_echo_n "(cached) " >&6
6081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6082
/* end confdefs.h. */
6083
#include <sys/types.h>
6084
#include <sys/time.h>
6090
if ((struct tm *) 0)
6096
if ac_fn_c_try_compile "$LINENO"; then :
6097
ac_cv_header_time=yes
6099
ac_cv_header_time=no
6101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6104
$as_echo "$ac_cv_header_time" >&6; }
6105
if test $ac_cv_header_time = yes; then
6107
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6112
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6113
if test "${ac_cv_struct_tm+set}" = set; then :
6114
$as_echo_n "(cached) " >&6
6116
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6117
/* end confdefs.h. */
6118
#include <sys/types.h>
6125
int *p = &tm.tm_sec;
6131
if ac_fn_c_try_compile "$LINENO"; then :
6132
ac_cv_struct_tm=time.h
6134
ac_cv_struct_tm=sys/time.h
6136
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6139
$as_echo "$ac_cv_struct_tm" >&6; }
6140
if test $ac_cv_struct_tm = sys/time.h; then
6142
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6147
# Checks for library functions.
6148
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6149
# for constant arguments. Useless!
6150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6151
$as_echo_n "checking for working alloca.h... " >&6; }
6152
if test "${ac_cv_working_alloca_h+set}" = set; then :
6153
$as_echo_n "(cached) " >&6
6155
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6156
/* end confdefs.h. */
6161
char *p = (char *) alloca (2 * sizeof (int));
6167
if ac_fn_c_try_link "$LINENO"; then :
6168
ac_cv_working_alloca_h=yes
6170
ac_cv_working_alloca_h=no
6172
rm -f core conftest.err conftest.$ac_objext \
6173
conftest$ac_exeext conftest.$ac_ext
6175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6176
$as_echo "$ac_cv_working_alloca_h" >&6; }
6177
if test $ac_cv_working_alloca_h = yes; then
6179
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6184
$as_echo_n "checking for alloca... " >&6; }
6185
if test "${ac_cv_func_alloca_works+set}" = set; then :
6186
$as_echo_n "(cached) " >&6
6188
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189
/* end confdefs.h. */
6191
# define alloca __builtin_alloca
6194
# include <malloc.h>
6195
# define alloca _alloca
6197
# ifdef HAVE_ALLOCA_H
6198
# include <alloca.h>
6203
# ifndef alloca /* predefined by HP cc +Olibcalls */
6214
char *p = (char *) alloca (1);
6220
if ac_fn_c_try_link "$LINENO"; then :
6221
ac_cv_func_alloca_works=yes
6223
ac_cv_func_alloca_works=no
6225
rm -f core conftest.err conftest.$ac_objext \
6226
conftest$ac_exeext conftest.$ac_ext
6228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6229
$as_echo "$ac_cv_func_alloca_works" >&6; }
6231
if test $ac_cv_func_alloca_works = yes; then
6233
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6236
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
6237
# that cause trouble. Some versions do not even contain alloca or
6238
# contain a buggy version. If you still want to use their alloca,
6239
# use ar to extract alloca.o from them instead of compiling alloca.c.
6241
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6243
$as_echo "#define C_ALLOCA 1" >>confdefs.h
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6247
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6248
if test "${ac_cv_os_cray+set}" = set; then :
6249
$as_echo_n "(cached) " >&6
6251
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252
/* end confdefs.h. */
6253
#if defined CRAY && ! defined CRAY2
6260
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6261
$EGREP "webecray" >/dev/null 2>&1; then :
6269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6270
$as_echo "$ac_cv_os_cray" >&6; }
6271
if test $ac_cv_os_cray = yes; then
6272
for ac_func in _getb67 GETB67 getb67; do
6273
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6274
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6275
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6277
cat >>confdefs.h <<_ACEOF
6278
#define CRAY_STACKSEG_END $ac_func
6287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6288
$as_echo_n "checking stack direction for C alloca... " >&6; }
6289
if test "${ac_cv_c_stack_direction+set}" = set; then :
6290
$as_echo_n "(cached) " >&6
6292
if test "$cross_compiling" = yes; then :
6293
ac_cv_c_stack_direction=0
6295
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296
/* end confdefs.h. */
6297
$ac_includes_default
6299
find_stack_direction ()
6301
static char *addr = 0;
6306
return find_stack_direction ();
6309
return (&dummy > addr) ? 1 : -1;
6315
return find_stack_direction () < 0;
6318
if ac_fn_c_try_run "$LINENO"; then :
6319
ac_cv_c_stack_direction=1
6321
ac_cv_c_stack_direction=-1
6323
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6324
conftest.$ac_objext conftest.beam conftest.$ac_ext
6328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6329
$as_echo "$ac_cv_c_stack_direction" >&6; }
6330
cat >>confdefs.h <<_ACEOF
6331
#define STACK_DIRECTION $ac_cv_c_stack_direction
6337
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6338
if test "x$ac_cv_type_pid_t" = x""yes; then :
6342
cat >>confdefs.h <<_ACEOF
6348
for ac_header in vfork.h
6350
ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
6351
if test "x$ac_cv_header_vfork_h" = x""yes; then :
6352
cat >>confdefs.h <<_ACEOF
6353
#define HAVE_VFORK_H 1
6360
for ac_func in fork vfork
6362
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6363
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6364
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6365
cat >>confdefs.h <<_ACEOF
6366
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6372
if test "x$ac_cv_func_fork" = xyes; then
6373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
6374
$as_echo_n "checking for working fork... " >&6; }
6375
if test "${ac_cv_func_fork_works+set}" = set; then :
6376
$as_echo_n "(cached) " >&6
6378
if test "$cross_compiling" = yes; then :
6379
ac_cv_func_fork_works=cross
6381
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382
/* end confdefs.h. */
6383
$ac_includes_default
6388
/* By Ruediger Kuhlmann. */
6395
if ac_fn_c_try_run "$LINENO"; then :
6396
ac_cv_func_fork_works=yes
6398
ac_cv_func_fork_works=no
6400
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6401
conftest.$ac_objext conftest.beam conftest.$ac_ext
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
6406
$as_echo "$ac_cv_func_fork_works" >&6; }
6409
ac_cv_func_fork_works=$ac_cv_func_fork
6411
if test "x$ac_cv_func_fork_works" = xcross; then
6413
*-*-amigaos* | *-*-msdosdjgpp*)
6414
# Override, as these systems have only a dummy fork() stub
6415
ac_cv_func_fork_works=no
6418
ac_cv_func_fork_works=yes
6421
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6422
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6424
ac_cv_func_vfork_works=$ac_cv_func_vfork
6425
if test "x$ac_cv_func_vfork" = xyes; then
6426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
6427
$as_echo_n "checking for working vfork... " >&6; }
6428
if test "${ac_cv_func_vfork_works+set}" = set; then :
6429
$as_echo_n "(cached) " >&6
6431
if test "$cross_compiling" = yes; then :
6432
ac_cv_func_vfork_works=cross
6434
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435
/* end confdefs.h. */
6436
/* Thanks to Paul Eggert for this test. */
6437
$ac_includes_default
6438
#include <sys/wait.h>
6442
/* On some sparc systems, changes by the child to local and incoming
6443
argument registers are propagated back to the parent. The compiler
6444
is told about this with #include <vfork.h>, but some compilers
6445
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
6446
static variable whose address is put into a register that is
6447
clobbered by the vfork. */
6450
sparc_address_test (int arg)
6452
sparc_address_test (arg) int arg;
6473
pid_t parent = getpid ();
6476
sparc_address_test (0);
6481
/* Here is another test for sparc vfork register problems. This
6482
test uses lots of local variables, at least as many local
6483
variables as main has allocated so far including compiler
6484
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
6485
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
6486
reuse the register of parent for one of the local variables,
6487
since it will think that parent can't possibly be used any more
6488
in this routine. Assigning to the local variable will thus
6489
munge parent in the parent process. */
6491
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6492
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6493
/* Convince the compiler that p..p7 are live; otherwise, it might
6494
use the same hardware register for all 8 local variables. */
6495
if (p != p1 || p != p2 || p != p3 || p != p4
6496
|| p != p5 || p != p6 || p != p7)
6499
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6500
from child file descriptors. If the child closes a descriptor
6501
before it execs or exits, this munges the parent's descriptor
6502
as well. Test for this by closing stdout in the child. */
6503
_exit(close(fileno(stdout)) != 0);
6508
while (wait(&status) != child)
6511
/* Was there some problem with vforking? */
6514
/* Did the child fail? (This shouldn't happen.) */
6517
/* Did the vfork/compiler bug occur? */
6518
|| parent != getpid()
6520
/* Did the file descriptor bug occur? */
6521
|| fstat(fileno(stdout), &st) != 0
6526
if ac_fn_c_try_run "$LINENO"; then :
6527
ac_cv_func_vfork_works=yes
6529
ac_cv_func_vfork_works=no
6531
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6532
conftest.$ac_objext conftest.beam conftest.$ac_ext
6536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
6537
$as_echo "$ac_cv_func_vfork_works" >&6; }
6540
if test "x$ac_cv_func_fork_works" = xcross; then
6541
ac_cv_func_vfork_works=$ac_cv_func_vfork
6542
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6543
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6546
if test "x$ac_cv_func_vfork_works" = xyes; then
6548
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
6552
$as_echo "#define vfork fork" >>confdefs.h
6555
if test "x$ac_cv_func_fork_works" = xyes; then
6557
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
6561
if test $ac_cv_c_compiler_gnu = yes; then
6562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6563
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6564
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
6565
$as_echo_n "(cached) " >&6
6567
ac_pattern="Autoconf.*'x'"
6568
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569
/* end confdefs.h. */
6573
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
6575
ac_cv_prog_gcc_traditional=yes
6577
ac_cv_prog_gcc_traditional=no
6582
if test $ac_cv_prog_gcc_traditional = no; then
6583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584
/* end confdefs.h. */
6588
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6589
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
6590
ac_cv_prog_gcc_traditional=yes
6596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
6597
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
6598
if test $ac_cv_prog_gcc_traditional = yes; then
6599
CC="$CC -traditional"
6603
for ac_header in stdlib.h
6605
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6606
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
6607
cat >>confdefs.h <<_ACEOF
6608
#define HAVE_STDLIB_H 1
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6616
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6617
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
6618
$as_echo_n "(cached) " >&6
6620
if test "$cross_compiling" = yes; then :
6621
ac_cv_func_malloc_0_nonnull=no
6623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624
/* end confdefs.h. */
6625
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
6626
# include <stdlib.h>
6634
return ! malloc (0);
6639
if ac_fn_c_try_run "$LINENO"; then :
6640
ac_cv_func_malloc_0_nonnull=yes
6642
ac_cv_func_malloc_0_nonnull=no
6644
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6645
conftest.$ac_objext conftest.beam conftest.$ac_ext
6649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6650
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6651
if test $ac_cv_func_malloc_0_nonnull = yes; then :
6653
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
6656
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
6658
case " $LIBOBJS " in
6659
*" malloc.$ac_objext "* ) ;;
6660
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6665
$as_echo "#define malloc rpl_malloc" >>confdefs.h
6670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
6671
$as_echo_n "checking for working memcmp... " >&6; }
6672
if test "${ac_cv_func_memcmp_working+set}" = set; then :
6673
$as_echo_n "(cached) " >&6
6675
if test "$cross_compiling" = yes; then :
6676
ac_cv_func_memcmp_working=no
6678
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679
/* end confdefs.h. */
6680
$ac_includes_default
6685
/* Some versions of memcmp are not 8-bit clean. */
6686
char c0 = '\100', c1 = '\200', c2 = '\201';
6687
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6690
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6691
or more and with at least one buffer not starting on a 4-byte boundary.
6692
William Lewis provided this test program. */
6697
for (i = 0; i < 4; i++)
6701
strcpy (a, "--------01111111");
6702
strcpy (b, "--------10000000");
6703
if (memcmp (a, b, 16) >= 0)
6713
if ac_fn_c_try_run "$LINENO"; then :
6714
ac_cv_func_memcmp_working=yes
6716
ac_cv_func_memcmp_working=no
6718
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6719
conftest.$ac_objext conftest.beam conftest.$ac_ext
6723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
6724
$as_echo "$ac_cv_func_memcmp_working" >&6; }
6725
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
6726
*" memcmp.$ac_objext "* ) ;;
6727
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
6735
for ac_header in $ac_header_list
6737
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6738
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6740
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6741
cat >>confdefs.h <<_ACEOF
6742
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6756
for ac_func in getpagesize
6758
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6759
if test "x$ac_cv_func_getpagesize" = x""yes; then :
6760
cat >>confdefs.h <<_ACEOF
6761
#define HAVE_GETPAGESIZE 1
6767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6768
$as_echo_n "checking for working mmap... " >&6; }
6769
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6770
$as_echo_n "(cached) " >&6
6772
if test "$cross_compiling" = yes; then :
6773
ac_cv_func_mmap_fixed_mapped=no
6775
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776
/* end confdefs.h. */
6777
$ac_includes_default
6778
/* malloc might have been renamed as rpl_malloc. */
6781
/* Thanks to Mike Haertel and Jim Avera for this test.
6782
Here is a matrix of mmap possibilities:
6783
mmap private not fixed
6784
mmap private fixed at somewhere currently unmapped
6785
mmap private fixed at somewhere already mapped
6786
mmap shared not fixed
6787
mmap shared fixed at somewhere currently unmapped
6788
mmap shared fixed at somewhere already mapped
6789
For private mappings, we should verify that changes cannot be read()
6790
back from the file, nor mmap's back from the file at a different
6791
address. (There have been systems where private was not correctly
6792
implemented like the infamous i386 svr4.0, and systems where the
6793
VM page cache was not coherent with the file system buffer cache
6794
like early versions of FreeBSD and possibly contemporary NetBSD.)
6795
For shared mappings, we should conversely verify that changes get
6796
propagated back to all the places they're supposed to be.
6798
Grep wants private fixed already mapped.
6799
The main things grep needs to know about mmap are:
6800
* does it exist and is it safe to write into the mmap'd area
6801
* how to use it (BSD variants) */
6804
#include <sys/mman.h>
6806
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6810
/* This mess was copied from the GNU getpagesize.h. */
6811
#ifndef HAVE_GETPAGESIZE
6812
# ifdef _SC_PAGESIZE
6813
# define getpagesize() sysconf(_SC_PAGESIZE)
6814
# else /* no _SC_PAGESIZE */
6815
# ifdef HAVE_SYS_PARAM_H
6816
# include <sys/param.h>
6817
# ifdef EXEC_PAGESIZE
6818
# define getpagesize() EXEC_PAGESIZE
6819
# else /* no EXEC_PAGESIZE */
6821
# define getpagesize() NBPG * CLSIZE
6824
# endif /* no CLSIZE */
6825
# else /* no NBPG */
6827
# define getpagesize() NBPC
6828
# else /* no NBPC */
6830
# define getpagesize() PAGESIZE
6831
# endif /* PAGESIZE */
6832
# endif /* no NBPC */
6833
# endif /* no NBPG */
6834
# endif /* no EXEC_PAGESIZE */
6835
# else /* no HAVE_SYS_PARAM_H */
6836
# define getpagesize() 8192 /* punt totally */
6837
# endif /* no HAVE_SYS_PARAM_H */
6838
# endif /* no _SC_PAGESIZE */
6840
#endif /* no HAVE_GETPAGESIZE */
6845
char *data, *data2, *data3;
6850
pagesize = getpagesize ();
6852
/* First, make a file with some known garbage in it. */
6853
data = (char *) malloc (pagesize);
6856
for (i = 0; i < pagesize; ++i)
6857
*(data + i) = rand ();
6859
fd = creat ("conftest.mmap", 0600);
6862
if (write (fd, data, pagesize) != pagesize)
6866
/* Next, check that the tail of a page is zero-filled. File must have
6867
non-zero length, otherwise we risk SIGBUS for entire page. */
6868
fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6872
if (write (fd2, cdata2, 1) != 1)
6874
data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6875
if (data2 == MAP_FAILED)
6877
for (i = 0; i < pagesize; ++i)
6881
if (munmap (data2, pagesize))
6884
/* Next, try to mmap the file at a fixed address which already has
6885
something else allocated at it. If we can, also make sure that
6886
we see the same garbage. */
6887
fd = open ("conftest.mmap", O_RDWR);
6890
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6891
MAP_PRIVATE | MAP_FIXED, fd, 0L))
6893
for (i = 0; i < pagesize; ++i)
6894
if (*(data + i) != *(data2 + i))
6897
/* Finally, make sure that changes to the mapped area do not
6898
percolate back to the file as seen by read(). (This is a bug on
6899
some variants of i386 svr4.0.) */
6900
for (i = 0; i < pagesize; ++i)
6901
*(data2 + i) = *(data2 + i) + 1;
6902
data3 = (char *) malloc (pagesize);
6905
if (read (fd, data3, pagesize) != pagesize)
6907
for (i = 0; i < pagesize; ++i)
6908
if (*(data + i) != *(data3 + i))
6914
if ac_fn_c_try_run "$LINENO"; then :
6915
ac_cv_func_mmap_fixed_mapped=yes
6917
ac_cv_func_mmap_fixed_mapped=no
6919
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6920
conftest.$ac_objext conftest.beam conftest.$ac_ext
6924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6925
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6926
if test $ac_cv_func_mmap_fixed_mapped = yes; then
6928
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
6931
rm -f conftest.mmap conftest.txt
6933
for ac_header in stdlib.h
6935
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6936
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
6937
cat >>confdefs.h <<_ACEOF
6938
#define HAVE_STDLIB_H 1
6945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6946
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6947
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
6948
$as_echo_n "(cached) " >&6
6950
if test "$cross_compiling" = yes; then :
6951
ac_cv_func_realloc_0_nonnull=no
6953
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954
/* end confdefs.h. */
6955
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
6956
# include <stdlib.h>
6964
return ! realloc (0, 0);
6969
if ac_fn_c_try_run "$LINENO"; then :
6970
ac_cv_func_realloc_0_nonnull=yes
6972
ac_cv_func_realloc_0_nonnull=no
6974
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6975
conftest.$ac_objext conftest.beam conftest.$ac_ext
6979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6980
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6981
if test $ac_cv_func_realloc_0_nonnull = yes; then :
6983
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
6986
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h
6988
case " $LIBOBJS " in
6989
*" realloc.$ac_objext "* ) ;;
6990
*) LIBOBJS="$LIBOBJS realloc.$ac_objext"
6995
$as_echo "#define realloc rpl_realloc" >>confdefs.h
7000
for ac_header in sys/select.h sys/socket.h
7002
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7003
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7004
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7005
cat >>confdefs.h <<_ACEOF
7006
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
7014
$as_echo_n "checking types of arguments for select... " >&6; }
7015
if test "${ac_cv_func_select_args+set}" = set; then :
7016
$as_echo_n "(cached) " >&6
7018
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
7019
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
7020
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
7021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022
/* end confdefs.h. */
7023
$ac_includes_default
7024
#ifdef HAVE_SYS_SELECT_H
7025
# include <sys/select.h>
7027
#ifdef HAVE_SYS_SOCKET_H
7028
# include <sys/socket.h>
7034
extern int select ($ac_arg1,
7035
$ac_arg234, $ac_arg234, $ac_arg234,
7041
if ac_fn_c_try_compile "$LINENO"; then :
7042
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
7044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048
# Provide a safe default value.
7049
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
7053
$as_echo "$ac_cv_func_select_args" >&6; }
7054
ac_save_IFS=$IFS; IFS=','
7055
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
7059
cat >>confdefs.h <<_ACEOF
7060
#define SELECT_TYPE_ARG1 $1
7064
cat >>confdefs.h <<_ACEOF
7065
#define SELECT_TYPE_ARG234 ($2)
7069
cat >>confdefs.h <<_ACEOF
7070
#define SELECT_TYPE_ARG5 ($3)
7075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
7076
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
7077
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
7078
$as_echo_n "(cached) " >&6
7080
rm -f conftest.sym conftest.file
7082
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7083
if test "$cross_compiling" = yes; then :
7084
ac_cv_func_lstat_dereferences_slashed_symlink=no
7086
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7087
/* end confdefs.h. */
7088
$ac_includes_default
7093
/* Linux will dereference the symlink and fail, as required by POSIX.
7094
That is better in the sense that it means we will not
7095
have to compile and use the lstat wrapper. */
7096
return lstat ("conftest.sym/", &sbuf) == 0;
7101
if ac_fn_c_try_run "$LINENO"; then :
7102
ac_cv_func_lstat_dereferences_slashed_symlink=yes
7104
ac_cv_func_lstat_dereferences_slashed_symlink=no
7106
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7107
conftest.$ac_objext conftest.beam conftest.$ac_ext
7111
# If the `ln -s' command failed, then we probably don't even
7112
# have an lstat function.
7113
ac_cv_func_lstat_dereferences_slashed_symlink=no
7115
rm -f conftest.sym conftest.file
7118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7119
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7121
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7123
cat >>confdefs.h <<_ACEOF
7124
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7128
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
7129
case " $LIBOBJS " in
7130
*" lstat.$ac_objext "* ) ;;
7131
*) LIBOBJS="$LIBOBJS lstat.$ac_objext"
7137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
7138
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
7139
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
7140
$as_echo_n "(cached) " >&6
7142
if test "$cross_compiling" = yes; then :
7143
ac_cv_func_stat_empty_string_bug=yes
7145
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7146
/* end confdefs.h. */
7147
$ac_includes_default
7152
return stat ("", &sbuf) == 0;
7157
if ac_fn_c_try_run "$LINENO"; then :
7158
ac_cv_func_stat_empty_string_bug=no
7160
ac_cv_func_stat_empty_string_bug=yes
7162
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7163
conftest.$ac_objext conftest.beam conftest.$ac_ext
7167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
7168
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
7169
if test $ac_cv_func_stat_empty_string_bug = yes; then
7170
case " $LIBOBJS " in
7171
*" stat.$ac_objext "* ) ;;
7172
*) LIBOBJS="$LIBOBJS stat.$ac_objext"
7177
cat >>confdefs.h <<_ACEOF
7178
#define HAVE_STAT_EMPTY_STRING_BUG 1
7183
for ac_func in vprintf
7185
ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
7186
if test "x$ac_cv_func_vprintf" = x""yes; then :
7187
cat >>confdefs.h <<_ACEOF
7188
#define HAVE_VPRINTF 1
7191
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
7192
if test "x$ac_cv_func__doprnt" = x""yes; then :
7194
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
7202
for ac_func in dup2 gettimeofday memset munmap select socket strcasecmp strchr strdup strerror strncasecmp strpbrk strrchr strstr strtol strtoul
7204
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7205
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7206
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7207
cat >>confdefs.h <<_ACEOF
7208
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7215
# this is ugly, but accounts for SLES 10, Red Hat/Fedora, and Ubuntu
7216
# handles default udev rules as of udev 114 or thereabouts
7217
RULEDEST=/lib/udev/rules.d/71-biosdevname.rules
7219
if [ -e /etc/udev/rules.d/60-net.rules ]; then
7221
RULEDEST=/etc/udev/rules.d/60-biosdevname.rules
7222
elif [ -e /etc/udev/rules.d/31-network.rules ]; then
7224
RULEDEST=/etc/udev/rules.d/31-biosdevname.rules
7225
elif [ -e /etc/udev/rules.d/25-iftab.rules ]; then
7227
RULEDEST=/etc/udev/rules.d/25-biosdevname.rules
7229
RULEDIR=$(dirname $RULEDEST)
7235
echo "PACKAGE_NAME='$PACKAGE_NAME'" > version
7236
echo "PACKAGE_VERSION='$PACKAGE_VERSION'" >> version
7237
echo "PACKAGE_STRING='$PACKAGE_STRING'" >> version
7239
ac_config_files="$ac_config_files Makefile biosdevname.spec.fedora biosdevname.spec.suse"
7241
cat >confcache <<\_ACEOF
7242
# This file is a shell script that caches the results of configure
7243
# tests run on this system so they can be shared between configure
7244
# scripts and configure runs, see configure's option --config-cache.
7245
# It is not useful on other systems. If it contains results you don't
7246
# want to keep, you may remove or edit it.
7248
# config.status only pays attention to the cache file if you give it
7249
# the --recheck option to rerun configure.
7251
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7252
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7257
# The following way of writing the cache mishandles newlines in values,
7258
# but we know of no workaround that is simple, portable, and efficient.
7259
# So, we kill variables containing newlines.
7260
# Ultrix sh set writes to stderr and can't be redirected directly,
7261
# and sets the high bit in the cache file unless we assign to the vars.
7263
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7264
eval ac_val=\$$ac_var
7268
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7269
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7272
_ | IFS | as_nl) ;; #(
7273
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7274
*) { eval $ac_var=; unset $ac_var;} ;;
7280
case $as_nl`(ac_space=' '; set) 2>&1` in #(
7281
*${as_nl}ac_space=\ *)
7282
# `set' does not quote correctly, so add quotes: double-quote
7283
# substitution turns \\\\ into \\, and sed turns \\ into \.
7286
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7289
# `set' quotes correctly as required by POSIX, so do not add quotes.
7290
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7299
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7301
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7303
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7304
if test -w "$cache_file"; then
7305
test "x$cache_file" != "x/dev/null" &&
7306
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7307
$as_echo "$as_me: updating cache $cache_file" >&6;}
7308
cat confcache >$cache_file
7310
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7311
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7316
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7317
# Let make expand exec_prefix.
7318
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7320
DEFS=-DHAVE_CONFIG_H
7325
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7326
# 1. Remove the extension, and $U if already installed.
7327
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7328
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7329
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7330
# will be set to the directory where LIBOBJS objects are built.
7331
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7332
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7336
LTLIBOBJS=$ac_ltlibobjs
7339
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7340
as_fn_error $? "conditional \"AMDEP\" was never defined.
7341
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7343
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7344
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7345
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7347
if test -n "$EXEEXT"; then
7349
am__EXEEXT_FALSE='#'
7355
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7356
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
7357
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7359
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7360
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7361
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7364
: ${CONFIG_STATUS=./config.status}
7366
ac_clean_files_save=$ac_clean_files
7367
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7368
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7369
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7371
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7373
# Generated by $as_me.
7374
# Run this file to recreate the current configuration.
7375
# Compiler output produced by configure, useful for debugging
7376
# configure, is in config.log if it exists.
7382
SHELL=\${CONFIG_SHELL-$SHELL}
7385
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7386
## -------------------- ##
7387
## M4sh Initialization. ##
7388
## -------------------- ##
7390
# Be more Bourne compatible
7391
DUALCASE=1; export DUALCASE # for MKS sh
7392
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7395
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7396
# is contrary to our usage. Disable this feature.
7397
alias -g '${1+"$@"}'='"$@"'
7398
setopt NO_GLOB_SUBST
7400
case `(set -o) 2>/dev/null` in #(
7412
# Printing a long string crashes Solaris 7 /usr/bin/printf.
7413
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7414
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7415
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7416
# Prefer a ksh shell builtin over an external printf program on Solaris,
7417
# but without wasting forks for bash or zsh.
7418
if test -z "$BASH_VERSION$ZSH_VERSION" \
7419
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7420
as_echo='print -r --'
7421
as_echo_n='print -rn --'
7422
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7423
as_echo='printf %s\n'
7424
as_echo_n='printf %s'
7426
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7427
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7428
as_echo_n='/usr/ucb/echo -n'
7430
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7431
as_echo_n_body='eval
7435
expr "X$arg" : "X\\(.*\\)$as_nl";
7436
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7438
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7440
export as_echo_n_body
7441
as_echo_n='sh -c $as_echo_n_body as_echo'
7444
as_echo='sh -c $as_echo_body as_echo'
7447
# The user is always right.
7448
if test "${PATH_SEPARATOR+set}" != set; then
7450
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7451
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7458
# We need space, tab and new line, in precisely that order. Quoting is
7459
# there to prevent editors from complaining about space-tab.
7460
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7461
# splitting by setting IFS to empty value.)
7464
# Find who we are. Look in the path if we contain no directory separator.
7466
*[\\/]* ) as_myself=$0 ;;
7467
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471
test -z "$as_dir" && as_dir=.
7472
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7478
# We did not find ourselves, most probably we were run as `sh COMMAND'
7479
# in which case we are not to be found in the path.
7480
if test "x$as_myself" = x; then
7483
if test ! -f "$as_myself"; then
7484
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7488
# Unset variables that we do not need and which cause bugs (e.g. in
7489
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7490
# suppresses any "Segmentation fault" message there. '((' could
7491
# trigger a bug in pdksh 5.2.14.
7492
for as_var in BASH_ENV ENV MAIL MAILPATH
7493
do eval test x\${$as_var+set} = xset \
7494
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7507
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7510
# as_fn_error STATUS ERROR [LINENO LOG_FD]
7511
# ----------------------------------------
7512
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7513
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7514
# script with STATUS, using 1 if that was 0.
7517
as_status=$1; test $as_status -eq 0 && as_status=1
7519
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7520
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7522
$as_echo "$as_me: error: $2" >&2
7523
as_fn_exit $as_status
7527
# as_fn_set_status STATUS
7528
# -----------------------
7529
# Set $? to STATUS, without forking.
7533
} # as_fn_set_status
7537
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7547
# Portably unset VAR.
7550
{ eval $1=; unset $1;}
7552
as_unset=as_fn_unset
7553
# as_fn_append VAR VALUE
7554
# ----------------------
7555
# Append the text in VALUE to the end of the definition contained in VAR. Take
7556
# advantage of any shell optimizations that allow amortized linear growth over
7557
# repeated appends, instead of the typical quadratic growth present in naive
7559
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7560
eval 'as_fn_append ()
7571
# as_fn_arith ARG...
7572
# ------------------
7573
# Perform arithmetic evaluation on the ARGs, and store the result in the
7574
# global $as_val. Take advantage of shells that can avoid forks. The arguments
7575
# must be portable across $(()) and expr.
7576
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7577
eval 'as_fn_arith ()
7584
as_val=`expr "$@" || test $? -eq 1`
7589
if expr a : '\(a\)' >/dev/null 2>&1 &&
7590
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7596
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7597
as_basename=basename
7602
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7608
as_me=`$as_basename -- "$0" ||
7609
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7610
X"$0" : 'X\(//\)$' \| \
7611
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7613
sed '/^.*\/\([^/][^/]*\)\/*$/{
7627
# Avoid depending upon Character Ranges.
7628
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7629
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7630
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7631
as_cr_digits='0123456789'
7632
as_cr_alnum=$as_cr_Letters$as_cr_digits
7634
ECHO_C= ECHO_N= ECHO_T=
7635
case `echo -n x` in #(((((
7637
case `echo 'xy\c'` in
7638
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7640
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7647
rm -f conf$$ conf$$.exe conf$$.file
7648
if test -d conf$$.dir; then
7649
rm -f conf$$.dir/conf$$.file
7652
mkdir conf$$.dir 2>/dev/null
7654
if (echo >conf$$.file) 2>/dev/null; then
7655
if ln -s conf$$.file conf$$ 2>/dev/null; then
7657
# ... but there are two gotchas:
7658
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7659
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7660
# In both cases, we have to default to `cp -p'.
7661
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7663
elif ln conf$$.file conf$$ 2>/dev/null; then
7671
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7672
rmdir conf$$.dir 2>/dev/null
7677
# Create "$as_dir" as a directory, including parents if necessary.
7682
-*) as_dir=./$as_dir;;
7684
test -d "$as_dir" || eval $as_mkdir_p || {
7688
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7689
*) as_qdir=$as_dir;;
7691
as_dirs="'$as_qdir' $as_dirs"
7692
as_dir=`$as_dirname -- "$as_dir" ||
7693
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7694
X"$as_dir" : 'X\(//\)[^/]' \| \
7695
X"$as_dir" : 'X\(//\)$' \| \
7696
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7697
$as_echo X"$as_dir" |
7698
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7715
test -d "$as_dir" && break
7717
test -z "$as_dirs" || eval "mkdir $as_dirs"
7718
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7722
if mkdir -p . 2>/dev/null; then
7723
as_mkdir_p='mkdir -p "$as_dir"'
7725
test -d ./-p && rmdir ./-p
7729
if test -x / >/dev/null 2>&1; then
7732
if ls -dL / >/dev/null 2>&1; then
7739
if test -d "$1"; then
7745
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7746
???[sx]*):;;*)false;;esac;fi
7750
as_executable_p=$as_test_x
7752
# Sed expression to map a string onto a valid CPP name.
7753
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7755
# Sed expression to map a string onto a valid variable name.
7756
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7760
## ----------------------------------- ##
7761
## Main body of $CONFIG_STATUS script. ##
7762
## ----------------------------------- ##
7764
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7766
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7767
# Save the log message, to keep $0 and so on meaningful, and to
7768
# report actual input values of CONFIG_FILES etc. instead of their
7769
# values after options handling.
7771
This file was extended by biosdevname $as_me 0.3.7, which was
7772
generated by GNU Autoconf 2.67. Invocation command line was
7774
CONFIG_FILES = $CONFIG_FILES
7775
CONFIG_HEADERS = $CONFIG_HEADERS
7776
CONFIG_LINKS = $CONFIG_LINKS
7777
CONFIG_COMMANDS = $CONFIG_COMMANDS
7780
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7785
case $ac_config_files in *"
7786
"*) set x $ac_config_files; shift; ac_config_files=$*;;
7789
case $ac_config_headers in *"
7790
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7794
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7795
# Files that config.status was made for.
7796
config_files="$ac_config_files"
7797
config_headers="$ac_config_headers"
7798
config_commands="$ac_config_commands"
7802
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7804
\`$as_me' instantiates files and other configuration actions
7805
from templates according to the current configuration. Unless the files
7806
and actions are specified as TAGs, all are instantiated by default.
7808
Usage: $0 [OPTION]... [TAG]...
7810
-h, --help print this help, then exit
7811
-V, --version print version number and configuration settings, then exit
7812
--config print configuration, then exit
7813
-q, --quiet, --silent
7814
do not print progress messages
7815
-d, --debug don't remove temporary files
7816
--recheck update $as_me by reconfiguring in the same conditions
7817
--file=FILE[:TEMPLATE]
7818
instantiate the configuration file FILE
7819
--header=FILE[:TEMPLATE]
7820
instantiate the configuration header FILE
7822
Configuration files:
7825
Configuration headers:
7828
Configuration commands:
7831
Report bugs to <Matt_Domsch@dell.com>."
7834
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7835
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7837
biosdevname config.status 0.3.7
7838
configured by $0, generated by GNU Autoconf 2.67,
7839
with options \\"\$ac_cs_config\\"
7841
Copyright (C) 2010 Free Software Foundation, Inc.
7842
This config.status script is free software; the Free Software Foundation
7843
gives unlimited permission to copy, distribute and modify it."
7850
test -n "\$AWK" || AWK=awk
7853
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7854
# The default lists apply if the user does not specify any file.
7860
ac_option=`expr "X$1" : 'X\([^=]*\)='`
7861
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7865
ac_option=`expr "X$1" : 'X\([^=]*\)='`
7877
# Handling of the options.
7878
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7880
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7881
$as_echo "$ac_cs_version"; exit ;;
7882
--config | --confi | --conf | --con | --co | --c )
7883
$as_echo "$ac_cs_config"; exit ;;
7884
--debug | --debu | --deb | --de | --d | -d )
7886
--file | --fil | --fi | --f )
7889
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7890
'') as_fn_error $? "missing file argument" ;;
7892
as_fn_append CONFIG_FILES " '$ac_optarg'"
7893
ac_need_defaults=false;;
7894
--header | --heade | --head | --hea )
7897
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7899
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7900
ac_need_defaults=false;;
7902
# Conflict between --help and --header
7903
as_fn_error $? "ambiguous option: \`$1'
7904
Try \`$0 --help' for more information.";;
7905
--help | --hel | -h )
7906
$as_echo "$ac_cs_usage"; exit ;;
7907
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7908
| -silent | --silent | --silen | --sile | --sil | --si | --s)
7912
-*) as_fn_error $? "unrecognized option: \`$1'
7913
Try \`$0 --help' for more information." ;;
7915
*) as_fn_append ac_config_targets " $1"
7916
ac_need_defaults=false ;;
7922
ac_configure_extra_args=
7924
if $ac_cs_silent; then
7926
ac_configure_extra_args="$ac_configure_extra_args --silent"
7930
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7931
if \$ac_cs_recheck; then
7932
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7934
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7935
CONFIG_SHELL='$SHELL'
7941
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7945
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7946
## Running $as_me. ##
7952
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7956
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7960
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7962
# Handling of arguments.
7963
for ac_config_target in $ac_config_targets
7965
case $ac_config_target in
7966
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7967
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7968
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7969
"biosdevname.spec.fedora") CONFIG_FILES="$CONFIG_FILES biosdevname.spec.fedora" ;;
7970
"biosdevname.spec.suse") CONFIG_FILES="$CONFIG_FILES biosdevname.spec.suse" ;;
7972
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
7977
# If the user did not use the arguments to specify the items to instantiate,
7978
# then the envvar interface is used. Set only those that are not.
7979
# We use the long form for the default assignment because of an extremely
7980
# bizarre bug on SunOS 4.1.3.
7981
if $ac_need_defaults; then
7982
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7983
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7984
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7987
# Have a temporary directory for convenience. Make it in the build tree
7988
# simply because there is no reason against having it here, and in addition,
7989
# creating and moving files from /tmp can sometimes cause problems.
7990
# Hook for its removal unless debugging.
7991
# Note that there is a small window in which the directory will not be cleaned:
7992
# after its creation but before its name has been assigned to `$tmp'.
7996
trap 'exit_status=$?
7997
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7999
trap 'as_fn_exit 1' 1 2 13 15
8001
# Create a (secure) tmp directory for tmp files.
8004
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8005
test -n "$tmp" && test -d "$tmp"
8008
tmp=./conf$$-$RANDOM
8009
(umask 077 && mkdir "$tmp")
8010
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8012
# Set up the scripts for CONFIG_FILES section.
8013
# No need to generate them if there are no CONFIG_FILES.
8014
# This happens for instance with `./config.status config.h'.
8015
if test -n "$CONFIG_FILES"; then
8018
ac_cr=`echo X | tr X '\015'`
8019
# On cygwin, bash can eat \r inside `` if the user requested igncr.
8020
# But we know of no other shell where ac_cr would be empty at this
8021
# point, so we can use a bashism as a fallback.
8022
if test "x$ac_cr" = x; then
8023
eval ac_cr=\$\'\\r\'
8025
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8026
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8032
echo 'BEGIN {' >"$tmp/subs1.awk" &&
8037
echo "cat >conf$$subs.awk <<_ACEOF" &&
8038
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8041
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8042
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8044
for ac_last_try in false false false false false :; do
8045
. ./conf$$subs.sh ||
8046
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8048
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8049
if test $ac_delim_n = $ac_delim_num; then
8051
elif $ac_last_try; then
8052
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8054
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8059
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8060
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8064
s/^/S["/; s/!.*/"]=/
8074
s/\(.\{148\}\)..*/\1/
8076
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8081
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8088
s/\(.\{148\}\)..*/\1/
8090
s/["\\]/\\&/g; s/^/"/; s/$/"/
8094
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8099
' <conf$$subs.awk | sed '
8104
' >>$CONFIG_STATUS || ac_write_fail=1
8105
rm -f conf$$subs.awk
8106
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8108
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8109
for (key in S) S_is_set[key] = 1
8115
nfields = split(line, field, "@")
8117
len = length(field[1])
8118
for (i = 2; i < nfields; i++) {
8120
keylen = length(key)
8121
if (S_is_set[key]) {
8123
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8124
len += length(value) + length(field[++i])
8135
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8136
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8137
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8140
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8141
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8144
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8145
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8146
# trailing colons and then remove the whole line if VPATH becomes empty
8147
# (actually we leave an empty line to preserve line numbers).
8148
if test "x$srcdir" = x.; then
8149
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8167
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8168
fi # test -n "$CONFIG_FILES"
8170
# Set up the scripts for CONFIG_HEADERS section.
8171
# No need to generate them if there are no CONFIG_HEADERS.
8172
# This happens for instance with `./config.status Makefile'.
8173
if test -n "$CONFIG_HEADERS"; then
8174
cat >"$tmp/defines.awk" <<\_ACAWK ||
8178
# Transform confdefs.h into an awk script `defines.awk', embedded as
8179
# here-document in config.status, that substitutes the proper values into
8180
# config.h.in to produce config.h.
8182
# Create a delimiter string that does not exist in confdefs.h, to ease
8183
# handling of long lines.
8185
for ac_last_try in false false :; do
8186
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8187
if test -z "$ac_t"; then
8189
elif $ac_last_try; then
8190
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8192
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8196
# For the awk script, D is an array of macro values keyed by name,
8197
# likewise P contains macro parameters if any. Preserve backslash
8198
# newline sequences.
8200
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8202
s/.\{148\}/&'"$ac_delim"'/g
8205
s/^[ ]*#[ ]*define[ ][ ]*/ /
8212
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8214
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8218
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8219
D["\1"]=" \3\\\\\\n"\\/p
8221
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8226
s/.\{148\}/&'"$ac_delim"'/g
8231
s/["\\]/\\&/g; s/^/"/; s/$/"/p
8234
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8236
' <confdefs.h | sed '
8237
s/'"$ac_delim"'/"\\\
8238
"/g' >>$CONFIG_STATUS || ac_write_fail=1
8240
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8241
for (key in D) D_is_set[key] = 1
8244
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8246
split(line, arg, " ")
8247
if (arg[1] == "#") {
8251
defundef = substr(arg[1], 2)
8254
split(mac1, mac2, "(") #)
8256
prefix = substr(line, 1, index(line, defundef) - 1)
8257
if (D_is_set[macro]) {
8258
# Preserve the white space surrounding the "#".
8259
print prefix "define", macro P[macro] D[macro]
8262
# Replace #undef with comments. This is necessary, for example,
8263
# in the case of _POSIX_SOURCE, which is predefined and required
8264
# on some systems where configure will not decide to define it.
8265
if (defundef == "undef") {
8266
print "/*", prefix defundef, macro, "*/"
8274
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8275
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8276
fi # test -n "$CONFIG_HEADERS"
8279
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8284
:[FHLC]) ac_mode=$ac_tag; continue;;
8286
case $ac_mode$ac_tag in
8288
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
8289
:[FH]-) ac_tag=-:-;;
8290
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8307
-) ac_f="$tmp/stdin";;
8308
*) # Look for the file first in the build tree, then in the source tree
8309
# (if the path is not absolute). The absolute path cannot be DOS-style,
8310
# because $ac_f cannot contain `:'.
8314
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8316
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
8318
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8319
as_fn_append ac_file_inputs " '$ac_f'"
8322
# Let's still pretend it is `configure' which instantiates (i.e., don't
8323
# use $as_me), people would be surprised to read:
8324
# /* config.h. Generated by config.status. */
8325
configure_input='Generated from '`
8326
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8328
if test x"$ac_file" != x-; then
8329
configure_input="$ac_file. $configure_input"
8330
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8331
$as_echo "$as_me: creating $ac_file" >&6;}
8333
# Neutralize special characters interpreted by sed in replacement strings.
8334
case $configure_input in #(
8335
*\&* | *\|* | *\\* )
8336
ac_sed_conf_input=`$as_echo "$configure_input" |
8337
sed 's/[\\\\&|]/\\\\&/g'`;; #(
8338
*) ac_sed_conf_input=$configure_input;;
8342
*:-:* | *:-) cat >"$tmp/stdin" \
8343
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8348
ac_dir=`$as_dirname -- "$ac_file" ||
8349
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8350
X"$ac_file" : 'X\(//\)[^/]' \| \
8351
X"$ac_file" : 'X\(//\)$' \| \
8352
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8353
$as_echo X"$ac_file" |
8354
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8371
as_dir="$ac_dir"; as_fn_mkdir_p
8375
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8377
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8378
# A ".." for each directory in $ac_dir_suffix.
8379
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8380
case $ac_top_builddir_sub in
8381
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8382
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8385
ac_abs_top_builddir=$ac_pwd
8386
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8387
# for backward compatibility:
8388
ac_top_builddir=$ac_top_build_prefix
8391
.) # We are building in place.
8393
ac_top_srcdir=$ac_top_builddir_sub
8394
ac_abs_top_srcdir=$ac_pwd ;;
8395
[\\/]* | ?:[\\/]* ) # Absolute name.
8396
ac_srcdir=$srcdir$ac_dir_suffix;
8397
ac_top_srcdir=$srcdir
8398
ac_abs_top_srcdir=$srcdir ;;
8400
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8401
ac_top_srcdir=$ac_top_build_prefix$srcdir
8402
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8404
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8414
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8415
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8419
[\\/$]* | ?:[\\/]* ) ;;
8420
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8424
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8425
# If the template does not know about datarootdir, expand it.
8426
# FIXME: This hack should be removed a few years after 2.60.
8427
ac_datarootdir_hack=; ac_datarootdir_seen=
8438
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8439
*datarootdir*) ac_datarootdir_seen=yes;;
8440
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8441
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8442
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8444
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8445
ac_datarootdir_hack='
8446
s&@datadir@&$datadir&g
8447
s&@docdir@&$docdir&g
8448
s&@infodir@&$infodir&g
8449
s&@localedir@&$localedir&g
8450
s&@mandir@&$mandir&g
8451
s&\\\${datarootdir}&$datarootdir&g' ;;
8455
# Neutralize VPATH when `$srcdir' = `.'.
8456
# Shell code in configure.ac might set extrasub.
8457
# FIXME: do we really want to maintain this feature?
8458
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8459
ac_sed_extra="$ac_vpsub
8462
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8464
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8465
s|@configure_input@|$ac_sed_conf_input|;t t
8466
s&@top_builddir@&$ac_top_builddir_sub&;t t
8467
s&@top_build_prefix@&$ac_top_build_prefix&;t t
8468
s&@srcdir@&$ac_srcdir&;t t
8469
s&@abs_srcdir@&$ac_abs_srcdir&;t t
8470
s&@top_srcdir@&$ac_top_srcdir&;t t
8471
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8472
s&@builddir@&$ac_builddir&;t t
8473
s&@abs_builddir@&$ac_abs_builddir&;t t
8474
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8475
s&@INSTALL@&$ac_INSTALL&;t t
8476
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8477
$ac_datarootdir_hack
8479
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8480
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8482
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8483
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8484
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8485
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8486
which seems to be undefined. Please make sure it is defined" >&5
8487
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8488
which seems to be undefined. Please make sure it is defined" >&2;}
8492
-) cat "$tmp/out" && rm -f "$tmp/out";;
8493
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8495
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8501
if test x"$ac_file" != x-; then
8503
$as_echo "/* $configure_input */" \
8504
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8505
} >"$tmp/config.h" \
8506
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8507
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8508
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8509
$as_echo "$as_me: $ac_file is unchanged" >&6;}
8512
mv "$tmp/config.h" "$ac_file" \
8513
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8516
$as_echo "/* $configure_input */" \
8517
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8518
|| as_fn_error $? "could not create -" "$LINENO" 5
8520
# Compute "$ac_file"'s index in $config_headers.
8523
for _am_header in $config_headers :; do
8525
$_am_arg | $_am_arg:* )
8528
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
8531
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8532
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8533
X"$_am_arg" : 'X\(//\)[^/]' \| \
8534
X"$_am_arg" : 'X\(//\)$' \| \
8535
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8536
$as_echo X"$_am_arg" |
8537
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8553
s/.*/./; q'`/stamp-h$_am_stamp_count
8556
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8557
$as_echo "$as_me: executing $ac_file commands" >&6;}
8562
case $ac_file$ac_mode in
8563
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8564
# Autoconf 2.62 quotes --file arguments for eval, but not when files
8565
# are listed without --file. Let's play safe and only enable the eval
8566
# if we detect the quoting.
8567
case $CONFIG_FILES in
8568
*\'*) eval set x "$CONFIG_FILES" ;;
8569
*) set x $CONFIG_FILES ;;
8574
# Strip MF so we end up with the name of the file.
8575
mf=`echo "$mf" | sed -e 's/:.*$//'`
8576
# Check whether this is an Automake generated Makefile or not.
8577
# We used to match only the files named `Makefile.in', but
8578
# some people rename them; so instead we look at the file content.
8579
# Grep'ing the first line is not enough: some people post-process
8580
# each Makefile.in and add a new line on top of each file to say so.
8581
# Grep'ing the whole file is not good either: AIX grep has a line
8582
# limit of 2048, but all sed's we know have understand at least 4000.
8583
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8584
dirpart=`$as_dirname -- "$mf" ||
8585
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8586
X"$mf" : 'X\(//\)[^/]' \| \
8587
X"$mf" : 'X\(//\)$' \| \
8588
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8590
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8610
# Extract the definition of DEPDIR, am__include, and am__quote
8611
# from the Makefile without running `make'.
8612
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8613
test -z "$DEPDIR" && continue
8614
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8615
test -z "am__include" && continue
8616
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8617
# When using ansi2knr, U may be empty or an underscore; expand it
8618
U=`sed -n 's/^U = //p' < "$mf"`
8619
# Find all dependency output files, they are included files with
8620
# $(DEPDIR) in their names. We invoke sed twice because it is the
8621
# simplest approach to changing $(DEPDIR) to its actual value in the
8623
for file in `sed -n "
8624
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8625
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8626
# Make sure the directory exists.
8627
test -f "$dirpart/$file" && continue
8628
fdir=`$as_dirname -- "$file" ||
8629
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8630
X"$file" : 'X\(//\)[^/]' \| \
8631
X"$file" : 'X\(//\)$' \| \
8632
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8634
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8651
as_dir=$dirpart/$fdir; as_fn_mkdir_p
8652
# echo "creating $dirpart/$file"
8653
echo '# dummy' > "$dirpart/$file"
8665
ac_clean_files=$ac_clean_files_save
8667
test $ac_write_fail = 0 ||
8668
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8671
# configure is writing to config.log, and then calls config.status.
8672
# config.status does its own redirection, appending to config.log.
8673
# Unfortunately, on DOS this fails, as config.log is still kept open
8674
# by configure, so config.status won't be able to write to it; its
8675
# output is simply discarded. So we exec the FD to /dev/null,
8676
# effectively closing config.log, so it can be properly (re)opened and
8677
# appended to by config.status. When coming back to configure, we
8678
# need to make the FD available again.
8679
if test "$no_create" != yes; then
8681
ac_config_status_args=
8682
test "$silent" = yes &&
8683
ac_config_status_args="$ac_config_status_args --quiet"
8685
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8687
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8688
# would make configure fail if this is the last instruction.
8689
$ac_cs_success || as_fn_exit 1
8691
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8692
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8693
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}