2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for sbsigntool 0.6.
5
# Report bugs to <jeremy.kerr@canonical.com>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in #(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
test \$(( 1 + 1 )) = 2 || exit 1"
202
if (eval "$as_required") 2>/dev/null; then :
207
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215
test -z "$as_dir" && as_dir=.
219
for as_base in sh bash ksh sh5; do
220
# Try only shells that exist, to save several forks.
221
as_shell=$as_dir/$as_base
222
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224
CONFIG_SHELL=$as_shell as_have_required=yes
225
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235
CONFIG_SHELL=$SHELL as_have_required=yes
240
if test "x$CONFIG_SHELL" != x; then :
242
# We cannot yet assume a decent shell, so we have to provide a
243
# neutralization value for shells without unset; and this also
244
# works around shells that cannot unset nonexistent variables.
245
# Preserve -v and -x to the replacement shell.
248
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250
*v*x* | *x*v* ) as_opts=-vx ;;
255
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256
# Admittedly, this is quite paranoid, since all the known shells bail
257
# out after a failed `exec'.
258
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262
if test x$as_have_required = xno; then :
263
$as_echo "$0: This script requires a shell more modern than all"
264
$as_echo "$0: the shells that I found on your system."
265
if test x${ZSH_VERSION+set} = xset ; then
266
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
269
$as_echo "$0: Please tell bug-autoconf@gnu.org and
270
$0: jeremy.kerr@canonical.com about your system, including
271
$0: any error possibly output before this message. Then
272
$0: install a modern shell, or manually run the script
273
$0: under such a shell if you do have one."
279
SHELL=${CONFIG_SHELL-/bin/sh}
281
# Unset more variables known to interfere with behavior of common tools.
282
CLICOLOR_FORCE= GREP_OPTIONS=
283
unset CLICOLOR_FORCE GREP_OPTIONS
285
## --------------------- ##
286
## M4sh Shell Functions. ##
287
## --------------------- ##
290
# Portably unset VAR.
293
{ eval $1=; unset $1;}
297
# as_fn_set_status STATUS
298
# -----------------------
299
# Set $? to STATUS, without forking.
307
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317
# Create "$as_dir" as a directory, including parents if necessary.
322
-*) as_dir=./$as_dir;;
324
test -d "$as_dir" || eval $as_mkdir_p || {
328
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331
as_dirs="'$as_qdir' $as_dirs"
332
as_dir=`$as_dirname -- "$as_dir" ||
333
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334
X"$as_dir" : 'X\(//\)[^/]' \| \
335
X"$as_dir" : 'X\(//\)$' \| \
336
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337
$as_echo X"$as_dir" |
338
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355
test -d "$as_dir" && break
357
test -z "$as_dirs" || eval "mkdir $as_dirs"
358
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363
# as_fn_executable_p FILE
364
# -----------------------
365
# Test if FILE is an executable regular file.
366
as_fn_executable_p ()
368
test -f "$1" && test -x "$1"
369
} # as_fn_executable_p
370
# as_fn_append VAR VALUE
371
# ----------------------
372
# Append the text in VALUE to the end of the definition contained in VAR. Take
373
# advantage of any shell optimizations that allow amortized linear growth over
374
# repeated appends, instead of the typical quadratic growth present in naive
376
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377
eval 'as_fn_append ()
390
# Perform arithmetic evaluation on the ARGs, and store the result in the
391
# global $as_val. Take advantage of shells that can avoid forks. The arguments
392
# must be portable across $(()) and expr.
393
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401
as_val=`expr "$@" || test $? -eq 1`
406
# as_fn_error STATUS ERROR [LINENO LOG_FD]
407
# ----------------------------------------
408
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410
# script with STATUS, using 1 if that was 0.
413
as_status=$1; test $as_status -eq 0 && as_status=1
415
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418
$as_echo "$as_me: error: $2" >&2
419
as_fn_exit $as_status
422
if expr a : '\(a\)' >/dev/null 2>&1 &&
423
test "X`expr 00001 : '.*\(...\)'`" = X001; then
429
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441
as_me=`$as_basename -- "$0" ||
442
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443
X"$0" : 'X\(//\)$' \| \
444
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446
sed '/^.*\/\([^/][^/]*\)\/*$/{
460
# Avoid depending upon Character Ranges.
461
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464
as_cr_digits='0123456789'
465
as_cr_alnum=$as_cr_Letters$as_cr_digits
468
as_lineno_1=$LINENO as_lineno_1a=$LINENO
469
as_lineno_2=$LINENO as_lineno_2a=$LINENO
470
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488
chmod +x "$as_me.lineno" ||
489
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492
# already done that, so ensure we don't try to do so again and fall
493
# in an infinite loop. This has already happened in practice.
494
_as_can_reexec=no; export _as_can_reexec
495
# Don't try to exec as it changes $[0], causing all sort of problems
496
# (the dirname of $[0] is not the place where we might find the
497
# original and so on. Autoconf is especially sensitive to this).
499
# Exit status is that of the last command.
503
ECHO_C= ECHO_N= ECHO_T=
504
case `echo -n x` in #(((((
506
case `echo 'xy\c'` in
507
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
509
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516
rm -f conf$$ conf$$.exe conf$$.file
517
if test -d conf$$.dir; then
518
rm -f conf$$.dir/conf$$.file
521
mkdir conf$$.dir 2>/dev/null
523
if (echo >conf$$.file) 2>/dev/null; then
524
if ln -s conf$$.file conf$$ 2>/dev/null; then
526
# ... but there are two gotchas:
527
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529
# In both cases, we have to default to `cp -pR'.
530
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532
elif ln conf$$.file conf$$ 2>/dev/null; then
540
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541
rmdir conf$$.dir 2>/dev/null
543
if mkdir -p . 2>/dev/null; then
544
as_mkdir_p='mkdir -p "$as_dir"'
546
test -d ./-p && rmdir ./-p
551
as_executable_p=as_fn_executable_p
553
# Sed expression to map a string onto a valid CPP name.
554
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
# Sed expression to map a string onto a valid variable name.
557
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560
test -n "$DJDIR" || exec 7<&0 </dev/null
564
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565
# so uname gets run too.
566
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571
ac_default_prefix=/usr/local
573
ac_config_libobj_dir=.
580
# Identity of this package.
581
PACKAGE_NAME='sbsigntool'
582
PACKAGE_TARNAME='sbsigntool'
583
PACKAGE_VERSION='0.6'
584
PACKAGE_STRING='sbsigntool 0.6'
585
PACKAGE_BUGREPORT='jeremy.kerr@canonical.com'
588
ac_unique_file="src/sbsign.c"
589
# Factoring default headers for most tests.
590
ac_includes_default="\
592
#ifdef HAVE_SYS_TYPES_H
593
# include <sys/types.h>
595
#ifdef HAVE_SYS_STAT_H
596
# include <sys/stat.h>
602
# ifdef HAVE_STDLIB_H
607
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612
#ifdef HAVE_STRINGS_H
613
# include <strings.h>
615
#ifdef HAVE_INTTYPES_H
616
# include <inttypes.h>
625
ac_subst_vars='am__EXEEXT_FALSE
643
am__fastdepCCAS_FALSE
673
INSTALL_STRIP_PROGRAM
715
program_transform_name
728
enable_option_checking
729
enable_dependency_tracking
731
ac_precious_vars='build_alias
751
# Initialize some variables set by options.
753
ac_init_version=false
754
ac_unrecognized_opts=
756
# The variables have the same names as the options, with
757
# dashes changed to underlines.
765
program_transform_name=s,x,x,
773
# Installation directory options.
774
# These are left unexpanded so users can "make install exec_prefix=/foo"
775
# and all the variables that are supposed to be based on exec_prefix
776
# by default will actually change.
777
# Use braces instead of parens because sh, perl, etc. also accept them.
778
# (The list follows the same order as the GNU Coding Standards.)
779
bindir='${exec_prefix}/bin'
780
sbindir='${exec_prefix}/sbin'
781
libexecdir='${exec_prefix}/libexec'
782
datarootdir='${prefix}/share'
783
datadir='${datarootdir}'
784
sysconfdir='${prefix}/etc'
785
sharedstatedir='${prefix}/com'
786
localstatedir='${prefix}/var'
787
includedir='${prefix}/include'
788
oldincludedir='/usr/include'
789
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790
infodir='${datarootdir}/info'
795
libdir='${exec_prefix}/lib'
796
localedir='${datarootdir}/locale'
797
mandir='${datarootdir}/man'
803
# If the previous option needs an argument, assign it.
804
if test -n "$ac_prev"; then
805
eval $ac_prev=\$ac_option
811
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816
# Accept the important Cygnus configure options, so we can diagnose typos.
818
case $ac_dashdash$ac_option in
822
-bindir | --bindir | --bindi | --bind | --bin | --bi)
824
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827
-build | --build | --buil | --bui | --bu)
828
ac_prev=build_alias ;;
829
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
830
build_alias=$ac_optarg ;;
832
-cache-file | --cache-file | --cache-fil | --cache-fi \
833
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834
ac_prev=cache_file ;;
835
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837
cache_file=$ac_optarg ;;
840
cache_file=config.cache ;;
842
-datadir | --datadir | --datadi | --datad)
844
-datadir=* | --datadir=* | --datadi=* | --datad=*)
845
datadir=$ac_optarg ;;
847
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848
| --dataroo | --dataro | --datar)
849
ac_prev=datarootdir ;;
850
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852
datarootdir=$ac_optarg ;;
854
-disable-* | --disable-*)
855
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856
# Reject names that are not valid shell variable names.
857
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858
as_fn_error $? "invalid feature name: $ac_useropt"
859
ac_useropt_orig=$ac_useropt
860
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861
case $ac_user_opts in
865
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866
ac_unrecognized_sep=', ';;
868
eval enable_$ac_useropt=no ;;
870
-docdir | --docdir | --docdi | --doc | --do)
872
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880
-enable-* | --enable-*)
881
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882
# Reject names that are not valid shell variable names.
883
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884
as_fn_error $? "invalid feature name: $ac_useropt"
885
ac_useropt_orig=$ac_useropt
886
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887
case $ac_user_opts in
891
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892
ac_unrecognized_sep=', ';;
894
eval enable_$ac_useropt=\$ac_optarg ;;
896
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898
| --exec | --exe | --ex)
899
ac_prev=exec_prefix ;;
900
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902
| --exec=* | --exe=* | --ex=*)
903
exec_prefix=$ac_optarg ;;
905
-gas | --gas | --ga | --g)
906
# Obsolete; use --with-gas.
909
-help | --help | --hel | --he | -h)
911
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912
ac_init_help=recursive ;;
913
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914
ac_init_help=short ;;
916
-host | --host | --hos | --ho)
917
ac_prev=host_alias ;;
918
-host=* | --host=* | --hos=* | --ho=*)
919
host_alias=$ac_optarg ;;
921
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
923
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
925
htmldir=$ac_optarg ;;
927
-includedir | --includedir | --includedi | --included | --include \
928
| --includ | --inclu | --incl | --inc)
929
ac_prev=includedir ;;
930
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931
| --includ=* | --inclu=* | --incl=* | --inc=*)
932
includedir=$ac_optarg ;;
934
-infodir | --infodir | --infodi | --infod | --info | --inf)
936
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937
infodir=$ac_optarg ;;
939
-libdir | --libdir | --libdi | --libd)
941
-libdir=* | --libdir=* | --libdi=* | --libd=*)
944
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945
| --libexe | --libex | --libe)
946
ac_prev=libexecdir ;;
947
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948
| --libexe=* | --libex=* | --libe=*)
949
libexecdir=$ac_optarg ;;
951
-localedir | --localedir | --localedi | --localed | --locale)
953
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954
localedir=$ac_optarg ;;
956
-localstatedir | --localstatedir | --localstatedi | --localstated \
957
| --localstate | --localstat | --localsta | --localst | --locals)
958
ac_prev=localstatedir ;;
959
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961
localstatedir=$ac_optarg ;;
963
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
965
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
969
# Obsolete; use --without-fp.
972
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
973
| --no-cr | --no-c | -n)
976
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
977
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982
| --oldin | --oldi | --old | --ol | --o)
983
ac_prev=oldincludedir ;;
984
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987
oldincludedir=$ac_optarg ;;
989
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
991
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994
-program-prefix | --program-prefix | --program-prefi | --program-pref \
995
| --program-pre | --program-pr | --program-p)
996
ac_prev=program_prefix ;;
997
-program-prefix=* | --program-prefix=* | --program-prefi=* \
998
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999
program_prefix=$ac_optarg ;;
1001
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1002
| --program-suf | --program-su | --program-s)
1003
ac_prev=program_suffix ;;
1004
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1005
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006
program_suffix=$ac_optarg ;;
1008
-program-transform-name | --program-transform-name \
1009
| --program-transform-nam | --program-transform-na \
1010
| --program-transform-n | --program-transform- \
1011
| --program-transform | --program-transfor \
1012
| --program-transfo | --program-transf \
1013
| --program-trans | --program-tran \
1014
| --progr-tra | --program-tr | --program-t)
1015
ac_prev=program_transform_name ;;
1016
-program-transform-name=* | --program-transform-name=* \
1017
| --program-transform-nam=* | --program-transform-na=* \
1018
| --program-transform-n=* | --program-transform-=* \
1019
| --program-transform=* | --program-transfor=* \
1020
| --program-transfo=* | --program-transf=* \
1021
| --program-trans=* | --program-tran=* \
1022
| --progr-tra=* | --program-tr=* | --program-t=*)
1023
program_transform_name=$ac_optarg ;;
1025
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1027
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028
pdfdir=$ac_optarg ;;
1030
-psdir | --psdir | --psdi | --psd | --ps)
1032
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036
| -silent | --silent | --silen | --sile | --sil)
1039
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043
sbindir=$ac_optarg ;;
1045
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1046
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1047
| --sharedst | --shareds | --shared | --share | --shar \
1049
ac_prev=sharedstatedir ;;
1050
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1051
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1052
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054
sharedstatedir=$ac_optarg ;;
1056
-site | --site | --sit)
1058
-site=* | --site=* | --sit=*)
1061
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1064
srcdir=$ac_optarg ;;
1066
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1067
| --syscon | --sysco | --sysc | --sys | --sy)
1068
ac_prev=sysconfdir ;;
1069
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1070
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1071
sysconfdir=$ac_optarg ;;
1073
-target | --target | --targe | --targ | --tar | --ta | --t)
1074
ac_prev=target_alias ;;
1075
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1076
target_alias=$ac_optarg ;;
1078
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1081
-version | --version | --versio | --versi | --vers | -V)
1082
ac_init_version=: ;;
1085
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086
# Reject names that are not valid shell variable names.
1087
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088
as_fn_error $? "invalid package name: $ac_useropt"
1089
ac_useropt_orig=$ac_useropt
1090
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091
case $ac_user_opts in
1095
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1096
ac_unrecognized_sep=', ';;
1098
eval with_$ac_useropt=\$ac_optarg ;;
1100
-without-* | --without-*)
1101
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1102
# Reject names that are not valid shell variable names.
1103
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104
as_fn_error $? "invalid package name: $ac_useropt"
1105
ac_useropt_orig=$ac_useropt
1106
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107
case $ac_user_opts in
1111
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1112
ac_unrecognized_sep=', ';;
1114
eval with_$ac_useropt=no ;;
1117
# Obsolete; use --with-x.
1120
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1121
| --x-incl | --x-inc | --x-in | --x-i)
1122
ac_prev=x_includes ;;
1123
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1124
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1125
x_includes=$ac_optarg ;;
1127
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1128
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1129
ac_prev=x_libraries ;;
1130
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1131
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1132
x_libraries=$ac_optarg ;;
1134
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1135
Try \`$0 --help' for more information"
1139
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140
# Reject names that are not valid shell variable names.
1141
case $ac_envvar in #(
1142
'' | [0-9]* | *[!_$as_cr_alnum]* )
1143
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1145
eval $ac_envvar=\$ac_optarg
1146
export $ac_envvar ;;
1149
# FIXME: should be removed in autoconf 3.0.
1150
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1152
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159
if test -n "$ac_prev"; then
1160
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1161
as_fn_error $? "missing argument to $ac_option"
1164
if test -n "$ac_unrecognized_opts"; then
1165
case $enable_option_checking in
1167
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1168
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172
# Check all directory arguments for consistency.
1173
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174
datadir sysconfdir sharedstatedir localstatedir includedir \
1175
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176
libdir localedir mandir
1178
eval ac_val=\$$ac_var
1179
# Remove trailing slashes.
1182
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183
eval $ac_var=\$ac_val;;
1185
# Be sure to have absolute directory names.
1187
[\\/$]* | ?:[\\/]* ) continue;;
1188
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1193
# There might be people who depend on the old broken behavior: `$host'
1194
# used to hold the argument of --host etc.
1195
# FIXME: To remove some day.
1198
target=$target_alias
1200
# FIXME: To remove some day.
1201
if test "x$host_alias" != x; then
1202
if test "x$build_alias" = x; then
1203
cross_compiling=maybe
1204
elif test "x$build_alias" != "x$host_alias"; then
1210
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212
test "$silent" = yes && exec 6>/dev/null
1215
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216
ac_ls_di=`ls -di .` &&
1217
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218
as_fn_error $? "working directory cannot be determined"
1219
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220
as_fn_error $? "pwd does not report name of working directory"
1223
# Find the source files, if location was not specified.
1224
if test -z "$srcdir"; then
1225
ac_srcdir_defaulted=yes
1226
# Try the directory containing this script, then the parent directory.
1227
ac_confdir=`$as_dirname -- "$as_myself" ||
1228
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229
X"$as_myself" : 'X\(//\)[^/]' \| \
1230
X"$as_myself" : 'X\(//\)$' \| \
1231
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1232
$as_echo X"$as_myself" |
1233
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251
if test ! -r "$srcdir/$ac_unique_file"; then
1255
ac_srcdir_defaulted=no
1257
if test ! -r "$srcdir/$ac_unique_file"; then
1258
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1261
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1265
# When building in place, set srcdir=.
1266
if test "$ac_abs_confdir" = "$ac_pwd"; then
1269
# Remove unnecessary trailing slashes from srcdir.
1270
# Double slashes in file names in object file debugging info
1271
# mess up M-x gdb in Emacs.
1273
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275
for ac_var in $ac_precious_vars; do
1276
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1277
eval ac_env_${ac_var}_value=\$${ac_var}
1278
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1279
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283
# Report the --help message.
1285
if test "$ac_init_help" = "long"; then
1286
# Omit some internal or obsolete options to make the list less imposing.
1287
# This message is too long to be a string in the A/UX 3.1 sh.
1289
\`configure' configures sbsigntool 0.6 to adapt to many kinds of systems.
1291
Usage: $0 [OPTION]... [VAR=VALUE]...
1293
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294
VAR=VALUE. See below for descriptions of some of the useful variables.
1296
Defaults for the options are specified in brackets.
1299
-h, --help display this help and exit
1300
--help=short display options specific to this package
1301
--help=recursive display the short help of all the included packages
1302
-V, --version display version information and exit
1303
-q, --quiet, --silent do not print \`checking ...' messages
1304
--cache-file=FILE cache test results in FILE [disabled]
1305
-C, --config-cache alias for \`--cache-file=config.cache'
1306
-n, --no-create do not create output files
1307
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1309
Installation directories:
1310
--prefix=PREFIX install architecture-independent files in PREFIX
1311
[$ac_default_prefix]
1312
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315
By default, \`make install' will install all the files in
1316
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1317
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318
for instance \`--prefix=\$HOME'.
1320
For better control, use the options below.
1322
Fine tuning of the installation directories:
1323
--bindir=DIR user executables [EPREFIX/bin]
1324
--sbindir=DIR system admin executables [EPREFIX/sbin]
1325
--libexecdir=DIR program executables [EPREFIX/libexec]
1326
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1327
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1328
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1329
--libdir=DIR object code libraries [EPREFIX/lib]
1330
--includedir=DIR C header files [PREFIX/include]
1331
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1332
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334
--infodir=DIR info documentation [DATAROOTDIR/info]
1335
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336
--mandir=DIR man documentation [DATAROOTDIR/man]
1337
--docdir=DIR documentation root [DATAROOTDIR/doc/sbsigntool]
1338
--htmldir=DIR html documentation [DOCDIR]
1339
--dvidir=DIR dvi documentation [DOCDIR]
1340
--pdfdir=DIR pdf documentation [DOCDIR]
1341
--psdir=DIR ps documentation [DOCDIR]
1347
--program-prefix=PREFIX prepend PREFIX to installed program names
1348
--program-suffix=SUFFIX append SUFFIX to installed program names
1349
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1353
if test -n "$ac_init_help"; then
1354
case $ac_init_help in
1355
short | recursive ) echo "Configuration of sbsigntool 0.6:";;
1360
--disable-option-checking ignore unrecognized --enable/--with options
1361
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1362
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1363
--disable-dependency-tracking speeds up one-time build
1364
--enable-dependency-tracking do not reject slow dependency extractors
1366
Some influential environment variables:
1367
CC C compiler command
1368
CFLAGS C compiler flags
1369
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1370
nonstandard directory <lib dir>
1371
LIBS libraries to pass to the linker, e.g. -l<library>
1372
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1373
you have headers in a nonstandard directory <include dir>
1374
CCAS assembler compiler command (defaults to CC)
1375
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1377
PKG_CONFIG path to pkg-config utility
1379
directories to add to pkg-config's search path
1381
path overriding pkg-config's built-in search path
1383
C compiler flags for libcrypto, overriding pkg-config
1385
linker flags for libcrypto, overriding pkg-config
1386
uuid_CFLAGS C compiler flags for uuid, overriding pkg-config
1387
uuid_LIBS linker flags for uuid, overriding pkg-config
1389
Use these variables to override the choices made by `configure' or to help
1390
it to find libraries and programs with nonstandard names/locations.
1392
Report bugs to <jeremy.kerr@canonical.com>.
1397
if test "$ac_init_help" = "recursive"; then
1398
# If there are subdirs, report their specific --help.
1399
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400
test -d "$ac_dir" ||
1401
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1409
# A ".." for each directory in $ac_dir_suffix.
1410
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1411
case $ac_top_builddir_sub in
1412
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416
ac_abs_top_builddir=$ac_pwd
1417
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418
# for backward compatibility:
1419
ac_top_builddir=$ac_top_build_prefix
1422
.) # We are building in place.
1424
ac_top_srcdir=$ac_top_builddir_sub
1425
ac_abs_top_srcdir=$ac_pwd ;;
1426
[\\/]* | ?:[\\/]* ) # Absolute name.
1427
ac_srcdir=$srcdir$ac_dir_suffix;
1428
ac_top_srcdir=$srcdir
1429
ac_abs_top_srcdir=$srcdir ;;
1431
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432
ac_top_srcdir=$ac_top_build_prefix$srcdir
1433
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437
cd "$ac_dir" || { ac_status=$?; continue; }
1438
# Check for guested configure.
1439
if test -f "$ac_srcdir/configure.gnu"; then
1441
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442
elif test -f "$ac_srcdir/configure"; then
1444
$SHELL "$ac_srcdir/configure" --help=recursive
1446
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448
cd "$ac_pwd" || { ac_status=$?; break; }
1452
test -n "$ac_init_help" && exit $ac_status
1453
if $ac_init_version; then
1455
sbsigntool configure 0.6
1456
generated by GNU Autoconf 2.69
1458
Copyright (C) 2012 Free Software Foundation, Inc.
1459
This configure script is free software; the Free Software Foundation
1460
gives unlimited permission to copy, distribute and modify it.
1465
## ------------------------ ##
1466
## Autoconf initialization. ##
1467
## ------------------------ ##
1469
# ac_fn_c_try_compile LINENO
1470
# --------------------------
1471
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1472
ac_fn_c_try_compile ()
1474
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475
rm -f conftest.$ac_objext
1476
if { { ac_try="$ac_compile"
1478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479
*) ac_try_echo=$ac_try;;
1481
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482
$as_echo "$ac_try_echo"; } >&5
1483
(eval "$ac_compile") 2>conftest.err
1485
if test -s conftest.err; then
1486
grep -v '^ *+' conftest.err >conftest.er1
1487
cat conftest.er1 >&5
1488
mv -f conftest.er1 conftest.err
1490
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491
test $ac_status = 0; } && {
1492
test -z "$ac_c_werror_flag" ||
1493
test ! -s conftest.err
1494
} && test -s conftest.$ac_objext; then :
1497
$as_echo "$as_me: failed program was:" >&5
1498
sed 's/^/| /' conftest.$ac_ext >&5
1502
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503
as_fn_set_status $ac_retval
1505
} # ac_fn_c_try_compile
1507
# ac_fn_c_try_cpp LINENO
1508
# ----------------------
1509
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1512
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513
if { { ac_try="$ac_cpp conftest.$ac_ext"
1515
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516
*) ac_try_echo=$ac_try;;
1518
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519
$as_echo "$ac_try_echo"; } >&5
1520
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1522
if test -s conftest.err; then
1523
grep -v '^ *+' conftest.err >conftest.er1
1524
cat conftest.er1 >&5
1525
mv -f conftest.er1 conftest.err
1527
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528
test $ac_status = 0; } > conftest.i && {
1529
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1530
test ! -s conftest.err
1534
$as_echo "$as_me: failed program was:" >&5
1535
sed 's/^/| /' conftest.$ac_ext >&5
1539
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540
as_fn_set_status $ac_retval
1544
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1545
# -------------------------------------------------------
1546
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1547
# the include files in INCLUDES and setting the cache variable VAR
1549
ac_fn_c_check_header_mongrel ()
1551
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552
if eval \${$3+:} false; then :
1553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1554
$as_echo_n "checking for $2... " >&6; }
1555
if eval \${$3+:} false; then :
1556
$as_echo_n "(cached) " >&6
1559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1560
$as_echo "$ac_res" >&6; }
1562
# Is the header compilable?
1563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1564
$as_echo_n "checking $2 usability... " >&6; }
1565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1566
/* end confdefs.h. */
1570
if ac_fn_c_try_compile "$LINENO"; then :
1571
ac_header_compiler=yes
1573
ac_header_compiler=no
1575
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1577
$as_echo "$ac_header_compiler" >&6; }
1579
# Is the header present?
1580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1581
$as_echo_n "checking $2 presence... " >&6; }
1582
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1583
/* end confdefs.h. */
1586
if ac_fn_c_try_cpp "$LINENO"; then :
1587
ac_header_preproc=yes
1589
ac_header_preproc=no
1591
rm -f conftest.err conftest.i conftest.$ac_ext
1592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1593
$as_echo "$ac_header_preproc" >&6; }
1595
# So? What about this header?
1596
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1598
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1599
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1600
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1601
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1604
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1605
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1606
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1607
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1608
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1609
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1610
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1611
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1612
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1613
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1614
( $as_echo "## ---------------------------------------- ##
1615
## Report this to jeremy.kerr@canonical.com ##
1616
## ---------------------------------------- ##"
1617
) | sed "s/^/$as_me: WARNING: /" >&2
1620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621
$as_echo_n "checking for $2... " >&6; }
1622
if eval \${$3+:} false; then :
1623
$as_echo_n "(cached) " >&6
1625
eval "$3=\$ac_header_compiler"
1628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629
$as_echo "$ac_res" >&6; }
1631
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633
} # ac_fn_c_check_header_mongrel
1635
# ac_fn_c_try_run LINENO
1636
# ----------------------
1637
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1638
# that executables *can* be run.
1641
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642
if { { ac_try="$ac_link"
1644
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645
*) ac_try_echo=$ac_try;;
1647
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648
$as_echo "$ac_try_echo"; } >&5
1649
(eval "$ac_link") 2>&5
1651
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1653
{ { case "(($ac_try" in
1654
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655
*) ac_try_echo=$ac_try;;
1657
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658
$as_echo "$ac_try_echo"; } >&5
1659
(eval "$ac_try") 2>&5
1661
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662
test $ac_status = 0; }; }; then :
1665
$as_echo "$as_me: program exited with status $ac_status" >&5
1666
$as_echo "$as_me: failed program was:" >&5
1667
sed 's/^/| /' conftest.$ac_ext >&5
1669
ac_retval=$ac_status
1671
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673
as_fn_set_status $ac_retval
1677
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1678
# -------------------------------------------------------
1679
# Tests whether HEADER exists and can be compiled using the include files in
1680
# INCLUDES, setting the cache variable VAR accordingly.
1681
ac_fn_c_check_header_compile ()
1683
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685
$as_echo_n "checking for $2... " >&6; }
1686
if eval \${$3+:} false; then :
1687
$as_echo_n "(cached) " >&6
1689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690
/* end confdefs.h. */
1694
if ac_fn_c_try_compile "$LINENO"; then :
1699
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703
$as_echo "$ac_res" >&6; }
1704
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706
} # ac_fn_c_check_header_compile
1707
cat >config.log <<_ACEOF
1708
This file contains any messages produced by compilers while
1709
running configure, to aid debugging if configure makes a mistake.
1711
It was created by sbsigntool $as_me 0.6, which was
1712
generated by GNU Autoconf 2.69. Invocation command line was
1724
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1725
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1726
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1727
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1728
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1730
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1731
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1733
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1734
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1735
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1736
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1737
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1738
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1739
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747
test -z "$as_dir" && as_dir=.
1748
$as_echo "PATH: $as_dir"
1764
# Keep a trace of the command line.
1765
# Strip out --no-create and --no-recursion so they do not pile up.
1766
# Strip out --silent because we don't want to record it for future runs.
1767
# Also quote any args containing shell meta-characters.
1768
# Make two passes to allow for proper duplicate-argument suppression.
1772
ac_must_keep_next=false
1778
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1779
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1780
| -silent | --silent | --silen | --sile | --sil)
1783
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1786
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1788
as_fn_append ac_configure_args1 " '$ac_arg'"
1789
if test $ac_must_keep_next = true; then
1790
ac_must_keep_next=false # Got value, back to normal.
1793
*=* | --config-cache | -C | -disable-* | --disable-* \
1794
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1795
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1796
| -with-* | --with-* | -without-* | --without-* | --x)
1797
case "$ac_configure_args0 " in
1798
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1801
-* ) ac_must_keep_next=true ;;
1804
as_fn_append ac_configure_args " '$ac_arg'"
1809
{ ac_configure_args0=; unset ac_configure_args0;}
1810
{ ac_configure_args1=; unset ac_configure_args1;}
1812
# When interrupted or exit'd, cleanup temporary files, and complete
1813
# config.log. We remove comments because anyway the quotes in there
1814
# would cause problems or look ugly.
1815
# WARNING: Use '\'' to represent an apostrophe within the trap.
1816
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1817
trap 'exit_status=$?
1818
# Save into config.log some information that might help in debugging.
1822
$as_echo "## ---------------- ##
1823
## Cache variables. ##
1824
## ---------------- ##"
1826
# The following way of writing the cache mishandles newlines in values,
1828
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1829
eval ac_val=\$$ac_var
1833
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1834
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1837
_ | IFS | as_nl) ;; #(
1838
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1839
*) { eval $ac_var=; unset $ac_var;} ;;
1844
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1845
*${as_nl}ac_space=\ *)
1847
"s/'\''/'\''\\\\'\'''\''/g;
1848
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1851
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1858
$as_echo "## ----------------- ##
1859
## Output variables. ##
1860
## ----------------- ##"
1862
for ac_var in $ac_subst_vars
1864
eval ac_val=\$$ac_var
1866
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868
$as_echo "$ac_var='\''$ac_val'\''"
1872
if test -n "$ac_subst_files"; then
1873
$as_echo "## ------------------- ##
1874
## File substitutions. ##
1875
## ------------------- ##"
1877
for ac_var in $ac_subst_files
1879
eval ac_val=\$$ac_var
1881
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1883
$as_echo "$ac_var='\''$ac_val'\''"
1888
if test -s confdefs.h; then
1889
$as_echo "## ----------- ##
1896
test "$ac_signal" != 0 &&
1897
$as_echo "$as_me: caught signal $ac_signal"
1898
$as_echo "$as_me: exit $exit_status"
1900
rm -f core *.core core.conftest.* &&
1901
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1904
for ac_signal in 1 2 13 15; do
1905
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1909
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1910
rm -f -r conftest* confdefs.h
1912
$as_echo "/* confdefs.h */" > confdefs.h
1914
# Predefined preprocessor variables.
1916
cat >>confdefs.h <<_ACEOF
1917
#define PACKAGE_NAME "$PACKAGE_NAME"
1920
cat >>confdefs.h <<_ACEOF
1921
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1924
cat >>confdefs.h <<_ACEOF
1925
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1928
cat >>confdefs.h <<_ACEOF
1929
#define PACKAGE_STRING "$PACKAGE_STRING"
1932
cat >>confdefs.h <<_ACEOF
1933
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1936
cat >>confdefs.h <<_ACEOF
1937
#define PACKAGE_URL "$PACKAGE_URL"
1941
# Let the site file select an alternate cache file if it wants to.
1942
# Prefer an explicitly selected file to automatically selected ones.
1945
if test -n "$CONFIG_SITE"; then
1946
# We do not want a PATH search for config.site.
1947
case $CONFIG_SITE in #((
1948
-*) ac_site_file1=./$CONFIG_SITE;;
1949
*/*) ac_site_file1=$CONFIG_SITE;;
1950
*) ac_site_file1=./$CONFIG_SITE;;
1952
elif test "x$prefix" != xNONE; then
1953
ac_site_file1=$prefix/share/config.site
1954
ac_site_file2=$prefix/etc/config.site
1956
ac_site_file1=$ac_default_prefix/share/config.site
1957
ac_site_file2=$ac_default_prefix/etc/config.site
1959
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1961
test "x$ac_site_file" = xNONE && continue
1962
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1963
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1964
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1965
sed 's/^/| /' "$ac_site_file" >&5
1967
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1968
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1969
as_fn_error $? "failed to load site script $ac_site_file
1970
See \`config.log' for more details" "$LINENO" 5; }
1974
if test -r "$cache_file"; then
1975
# Some versions of bash will fail to source /dev/null (special files
1976
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
1977
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1978
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1979
$as_echo "$as_me: loading cache $cache_file" >&6;}
1981
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1982
*) . "./$cache_file";;
1986
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1987
$as_echo "$as_me: creating cache $cache_file" >&6;}
1991
# Check that the precious variables saved in the cache have kept the same
1993
ac_cache_corrupted=false
1994
for ac_var in $ac_precious_vars; do
1995
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1996
eval ac_new_set=\$ac_env_${ac_var}_set
1997
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1998
eval ac_new_val=\$ac_env_${ac_var}_value
1999
case $ac_old_set,$ac_new_set in
2001
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2002
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2003
ac_cache_corrupted=: ;;
2005
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2006
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2007
ac_cache_corrupted=: ;;
2010
if test "x$ac_old_val" != "x$ac_new_val"; then
2011
# differences in whitespace do not lead to failure.
2012
ac_old_val_w=`echo x $ac_old_val`
2013
ac_new_val_w=`echo x $ac_new_val`
2014
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2015
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2016
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2017
ac_cache_corrupted=:
2019
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2020
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2021
eval $ac_var=\$ac_old_val
2023
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2024
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2025
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2026
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2029
# Pass precious variables to config.status.
2030
if test "$ac_new_set" = set; then
2032
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2033
*) ac_arg=$ac_var=$ac_new_val ;;
2035
case " $ac_configure_args " in
2036
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2037
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2041
if $ac_cache_corrupted; then
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2045
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2046
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2048
## -------------------- ##
2049
## Main body of script. ##
2050
## -------------------- ##
2053
ac_cpp='$CPP $CPPFLAGS'
2054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2055
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2056
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060
am__api_version='1.11'
2063
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2064
if test -f "$ac_dir/install-sh"; then
2066
ac_install_sh="$ac_aux_dir/install-sh -c"
2068
elif test -f "$ac_dir/install.sh"; then
2070
ac_install_sh="$ac_aux_dir/install.sh -c"
2072
elif test -f "$ac_dir/shtool"; then
2074
ac_install_sh="$ac_aux_dir/shtool install -c"
2078
if test -z "$ac_aux_dir"; then
2079
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2082
# These three variables are undocumented and unsupported,
2083
# and are intended to be withdrawn in a future Autoconf release.
2084
# They can cause serious problems if a builder's source tree is in a directory
2085
# whose full name contains unusual characters.
2086
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2087
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2088
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2091
# Find a good install program. We prefer a C program (faster),
2092
# so one script is as good as another. But avoid the broken or
2093
# incompatible versions:
2094
# SysV /etc/install, /usr/sbin/install
2095
# SunOS /usr/etc/install
2096
# IRIX /sbin/install
2098
# AmigaOS /C/install, which installs bootblocks on floppy discs
2099
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2100
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2101
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2102
# OS/2's system install, which has a completely different semantic
2103
# ./install, which can be erroneously created by make from ./install.sh.
2104
# Reject install programs that cannot install multiple files.
2105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2106
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2107
if test -z "$INSTALL"; then
2108
if ${ac_cv_path_install+:} false; then :
2109
$as_echo_n "(cached) " >&6
2111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115
test -z "$as_dir" && as_dir=.
2116
# Account for people who put trailing slashes in PATH elements.
2117
case $as_dir/ in #((
2118
./ | .// | /[cC]/* | \
2119
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2120
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2123
# OSF1 and SCO ODT 3.0 have their own names for install.
2124
# Don't use installbsd from OSF since it installs stuff as root
2126
for ac_prog in ginstall scoinst install; do
2127
for ac_exec_ext in '' $ac_executable_extensions; do
2128
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2129
if test $ac_prog = install &&
2130
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2131
# AIX install. It has an incompatible calling convention.
2133
elif test $ac_prog = install &&
2134
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2135
# program-specific install script used by HP pwplus--don't use.
2138
rm -rf conftest.one conftest.two conftest.dir
2139
echo one > conftest.one
2140
echo two > conftest.two
2142
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2143
test -s conftest.one && test -s conftest.two &&
2144
test -s conftest.dir/conftest.one &&
2145
test -s conftest.dir/conftest.two
2147
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2160
rm -rf conftest.one conftest.two conftest.dir
2163
if test "${ac_cv_path_install+set}" = set; then
2164
INSTALL=$ac_cv_path_install
2166
# As a last resort, use the slow shell script. Don't cache a
2167
# value for INSTALL within a source directory, because that will
2168
# break other packages using the cache if that directory is
2169
# removed, or if the value is a relative name.
2170
INSTALL=$ac_install_sh
2173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2174
$as_echo "$INSTALL" >&6; }
2176
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2177
# It thinks the first close brace ends the variable substitution.
2178
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2180
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2182
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2185
$as_echo_n "checking whether build environment is sane... " >&6; }
2188
echo timestamp > conftest.file
2189
# Reject unsafe characters in $srcdir or the absolute working directory
2190
# name. Accept space and tab only in the latter.
2194
*[\\\"\#\$\&\'\`$am_lf]*)
2195
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2198
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2199
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2202
# Do `set' in a subshell so we don't clobber the current shell's
2203
# arguments. Must try -L first in case configure is actually a
2204
# symlink; some systems play weird games with the mod time of symlinks
2205
# (eg FreeBSD returns the mod time of the symlink's containing
2208
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2209
if test "$*" = "X"; then
2211
set X `ls -t "$srcdir/configure" conftest.file`
2214
if test "$*" != "X $srcdir/configure conftest.file" \
2215
&& test "$*" != "X conftest.file $srcdir/configure"; then
2217
# If neither matched, then we have a broken ls. This can happen
2218
# if, for instance, CONFIG_SHELL is bash and it inherits a
2219
# broken ls alias from the environment. This has actually
2220
# happened. Such a system could not be considered "sane".
2221
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2222
alias in your environment" "$LINENO" 5
2225
test "$2" = conftest.file
2231
as_fn_error $? "newly created file is older than distributed files!
2232
Check your system clock" "$LINENO" 5
2234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2235
$as_echo "yes" >&6; }
2236
test "$program_prefix" != NONE &&
2237
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2238
# Use a double $ so make ignores it.
2239
test "$program_suffix" != NONE &&
2240
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2241
# Double any \ or $.
2242
# By default was `s,x,x', remove it if useless.
2243
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2244
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2246
# expand $ac_aux_dir to an absolute path
2247
am_aux_dir=`cd $ac_aux_dir && pwd`
2249
if test x"${MISSING+set}" != xset; then
2252
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2254
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2257
# Use eval to expand $SHELL
2258
if eval "$MISSING --run true"; then
2259
am_missing_run="$MISSING --run "
2262
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2263
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2266
if test x"${install_sh}" != xset; then
2269
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2271
install_sh="\${SHELL} $am_aux_dir/install-sh"
2275
# Installed binaries are usually stripped using `strip' when the user
2276
# run `make install-strip'. However `strip' might not be the right
2277
# tool to use in cross-compilation environments, therefore Automake
2278
# will honor the `STRIP' environment variable to overrule this program.
2279
if test "$cross_compiling" != no; then
2280
if test -n "$ac_tool_prefix"; then
2281
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2282
set dummy ${ac_tool_prefix}strip; ac_word=$2
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2284
$as_echo_n "checking for $ac_word... " >&6; }
2285
if ${ac_cv_prog_STRIP+:} false; then :
2286
$as_echo_n "(cached) " >&6
2288
if test -n "$STRIP"; then
2289
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2291
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295
test -z "$as_dir" && as_dir=.
2296
for ac_exec_ext in '' $ac_executable_extensions; do
2297
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2298
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2299
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2308
STRIP=$ac_cv_prog_STRIP
2309
if test -n "$STRIP"; then
2310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2311
$as_echo "$STRIP" >&6; }
2313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2314
$as_echo "no" >&6; }
2319
if test -z "$ac_cv_prog_STRIP"; then
2321
# Extract the first word of "strip", so it can be a program name with args.
2322
set dummy strip; ac_word=$2
2323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2324
$as_echo_n "checking for $ac_word... " >&6; }
2325
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2326
$as_echo_n "(cached) " >&6
2328
if test -n "$ac_ct_STRIP"; then
2329
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335
test -z "$as_dir" && as_dir=.
2336
for ac_exec_ext in '' $ac_executable_extensions; do
2337
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338
ac_cv_prog_ac_ct_STRIP="strip"
2339
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2348
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2349
if test -n "$ac_ct_STRIP"; then
2350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2351
$as_echo "$ac_ct_STRIP" >&6; }
2353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2354
$as_echo "no" >&6; }
2357
if test "x$ac_ct_STRIP" = x; then
2360
case $cross_compiling:$ac_tool_warned in
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2363
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2364
ac_tool_warned=yes ;;
2369
STRIP="$ac_cv_prog_STRIP"
2373
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2376
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2377
if test -z "$MKDIR_P"; then
2378
if ${ac_cv_path_mkdir+:} false; then :
2379
$as_echo_n "(cached) " >&6
2381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2385
test -z "$as_dir" && as_dir=.
2386
for ac_prog in mkdir gmkdir; do
2387
for ac_exec_ext in '' $ac_executable_extensions; do
2388
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2389
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2390
'mkdir (GNU coreutils) '* | \
2391
'mkdir (coreutils) '* | \
2392
'mkdir (fileutils) '4.1*)
2393
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2403
test -d ./--version && rmdir ./--version
2404
if test "${ac_cv_path_mkdir+set}" = set; then
2405
MKDIR_P="$ac_cv_path_mkdir -p"
2407
# As a last resort, use the slow shell script. Don't cache a
2408
# value for MKDIR_P within a source directory, because that will
2409
# break other packages using the cache if that directory is
2410
# removed, or if the value is a relative name.
2411
MKDIR_P="$ac_install_sh -d"
2414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2415
$as_echo "$MKDIR_P" >&6; }
2419
[\\/$]* | ?:[\\/]*) ;;
2420
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2423
for ac_prog in gawk mawk nawk awk
2425
# Extract the first word of "$ac_prog", so it can be a program name with args.
2426
set dummy $ac_prog; ac_word=$2
2427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2428
$as_echo_n "checking for $ac_word... " >&6; }
2429
if ${ac_cv_prog_AWK+:} false; then :
2430
$as_echo_n "(cached) " >&6
2432
if test -n "$AWK"; then
2433
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2435
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439
test -z "$as_dir" && as_dir=.
2440
for ac_exec_ext in '' $ac_executable_extensions; do
2441
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2442
ac_cv_prog_AWK="$ac_prog"
2443
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2453
if test -n "$AWK"; then
2454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2455
$as_echo "$AWK" >&6; }
2457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458
$as_echo "no" >&6; }
2462
test -n "$AWK" && break
2465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2466
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2468
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2469
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2470
$as_echo_n "(cached) " >&6
2472
cat >conftest.make <<\_ACEOF
2475
@echo '@@@%%%=$(MAKE)=@@@%%%'
2477
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2478
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2480
eval ac_cv_prog_make_${ac_make}_set=yes;;
2482
eval ac_cv_prog_make_${ac_make}_set=no;;
2486
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2488
$as_echo "yes" >&6; }
2491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492
$as_echo "no" >&6; }
2493
SET_MAKE="MAKE=${MAKE-make}"
2496
rm -rf .tst 2>/dev/null
2497
mkdir .tst 2>/dev/null
2498
if test -d .tst; then
2503
rmdir .tst 2>/dev/null
2505
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2506
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2507
# is not polluted with repeated "-I."
2508
am__isrc=' -I$(srcdir)'
2509
# test to see if srcdir already configured
2510
if test -f $srcdir/config.status; then
2511
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2515
# test whether we have cygpath
2516
if test -z "$CYGPATH_W"; then
2517
if (cygpath --version) >/dev/null 2>/dev/null; then
2518
CYGPATH_W='cygpath -w'
2525
# Define the identity of the package.
2526
PACKAGE='sbsigntool'
2530
cat >>confdefs.h <<_ACEOF
2531
#define PACKAGE "$PACKAGE"
2535
cat >>confdefs.h <<_ACEOF
2536
#define VERSION "$VERSION"
2539
# Some tools Automake needs.
2541
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2544
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2547
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2550
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2553
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2555
# We need awk for the "check" target. The system "awk" is bad on
2557
# Always define AMTAR for backward compatibility. Yes, it's still used
2558
# in the wild :-( We should find a proper way to deprecate it ...
2561
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2570
ac_config_headers="$ac_config_headers config.h"
2574
DEPDIR="${am__leading_dot}deps"
2576
ac_config_commands="$ac_config_commands depfiles"
2579
am_make=${MAKE-make}
2580
cat > confinc << 'END'
2582
@echo this is the am__doit target
2585
# If we don't find an include directive, just comment out the code.
2586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2587
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2591
# First try GNU make style include.
2592
echo "include confinc" > confmf
2593
# Ignore all kinds of additional output from `make'.
2594
case `$am_make -s -f confmf 2> /dev/null` in #(
2595
*the\ am__doit\ target*)
2601
# Now try BSD make style include.
2602
if test "$am__include" = "#"; then
2603
echo '.include "confinc"' > confmf
2604
case `$am_make -s -f confmf 2> /dev/null` in #(
2605
*the\ am__doit\ target*)
2606
am__include=.include
2614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2615
$as_echo "$_am_result" >&6; }
2616
rm -f confinc confmf
2618
# Check whether --enable-dependency-tracking was given.
2619
if test "${enable_dependency_tracking+set}" = set; then :
2620
enableval=$enable_dependency_tracking;
2623
if test "x$enable_dependency_tracking" != xno; then
2624
am_depcomp="$ac_aux_dir/depcomp"
2628
if test "x$enable_dependency_tracking" != xno; then
2638
ac_cpp='$CPP $CPPFLAGS'
2639
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2642
if test -n "$ac_tool_prefix"; then
2643
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2644
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646
$as_echo_n "checking for $ac_word... " >&6; }
2647
if ${ac_cv_prog_CC+:} false; then :
2648
$as_echo_n "(cached) " >&6
2650
if test -n "$CC"; then
2651
ac_cv_prog_CC="$CC" # Let the user override the test.
2653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657
test -z "$as_dir" && as_dir=.
2658
for ac_exec_ext in '' $ac_executable_extensions; do
2659
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2661
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671
if test -n "$CC"; then
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2673
$as_echo "$CC" >&6; }
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676
$as_echo "no" >&6; }
2681
if test -z "$ac_cv_prog_CC"; then
2683
# Extract the first word of "gcc", so it can be a program name with args.
2684
set dummy gcc; ac_word=$2
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686
$as_echo_n "checking for $ac_word... " >&6; }
2687
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2688
$as_echo_n "(cached) " >&6
2690
if test -n "$ac_ct_CC"; then
2691
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2693
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697
test -z "$as_dir" && as_dir=.
2698
for ac_exec_ext in '' $ac_executable_extensions; do
2699
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700
ac_cv_prog_ac_ct_CC="gcc"
2701
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2711
if test -n "$ac_ct_CC"; then
2712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2713
$as_echo "$ac_ct_CC" >&6; }
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716
$as_echo "no" >&6; }
2719
if test "x$ac_ct_CC" = x; then
2722
case $cross_compiling:$ac_tool_warned in
2724
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2725
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2726
ac_tool_warned=yes ;;
2734
if test -z "$CC"; then
2735
if test -n "$ac_tool_prefix"; then
2736
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2737
set dummy ${ac_tool_prefix}cc; ac_word=$2
2738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2739
$as_echo_n "checking for $ac_word... " >&6; }
2740
if ${ac_cv_prog_CC+:} false; then :
2741
$as_echo_n "(cached) " >&6
2743
if test -n "$CC"; then
2744
ac_cv_prog_CC="$CC" # Let the user override the test.
2746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750
test -z "$as_dir" && as_dir=.
2751
for ac_exec_ext in '' $ac_executable_extensions; do
2752
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753
ac_cv_prog_CC="${ac_tool_prefix}cc"
2754
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2764
if test -n "$CC"; then
2765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2766
$as_echo "$CC" >&6; }
2768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2769
$as_echo "no" >&6; }
2775
if test -z "$CC"; then
2776
# Extract the first word of "cc", so it can be a program name with args.
2777
set dummy cc; ac_word=$2
2778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779
$as_echo_n "checking for $ac_word... " >&6; }
2780
if ${ac_cv_prog_CC+:} false; then :
2781
$as_echo_n "(cached) " >&6
2783
if test -n "$CC"; then
2784
ac_cv_prog_CC="$CC" # Let the user override the test.
2787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791
test -z "$as_dir" && as_dir=.
2792
for ac_exec_ext in '' $ac_executable_extensions; do
2793
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2795
ac_prog_rejected=yes
2799
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806
if test $ac_prog_rejected = yes; then
2807
# We found a bogon in the path, so make sure we never use it.
2808
set dummy $ac_cv_prog_CC
2810
if test $# != 0; then
2811
# We chose a different compiler from the bogus one.
2812
# However, it has the same basename, so the bogon will be chosen
2813
# first if we set CC to just the basename; use the full file name.
2815
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2821
if test -n "$CC"; then
2822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2823
$as_echo "$CC" >&6; }
2825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826
$as_echo "no" >&6; }
2831
if test -z "$CC"; then
2832
if test -n "$ac_tool_prefix"; then
2833
for ac_prog in cl.exe
2835
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2836
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838
$as_echo_n "checking for $ac_word... " >&6; }
2839
if ${ac_cv_prog_CC+:} false; then :
2840
$as_echo_n "(cached) " >&6
2842
if test -n "$CC"; then
2843
ac_cv_prog_CC="$CC" # Let the user override the test.
2845
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849
test -z "$as_dir" && as_dir=.
2850
for ac_exec_ext in '' $ac_executable_extensions; do
2851
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2852
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2853
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863
if test -n "$CC"; then
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865
$as_echo "$CC" >&6; }
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868
$as_echo "no" >&6; }
2872
test -n "$CC" && break
2875
if test -z "$CC"; then
2877
for ac_prog in cl.exe
2879
# Extract the first word of "$ac_prog", so it can be a program name with args.
2880
set dummy $ac_prog; ac_word=$2
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
$as_echo_n "checking for $ac_word... " >&6; }
2883
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2884
$as_echo_n "(cached) " >&6
2886
if test -n "$ac_ct_CC"; then
2887
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893
test -z "$as_dir" && as_dir=.
2894
for ac_exec_ext in '' $ac_executable_extensions; do
2895
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896
ac_cv_prog_ac_ct_CC="$ac_prog"
2897
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907
if test -n "$ac_ct_CC"; then
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2909
$as_echo "$ac_ct_CC" >&6; }
2911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912
$as_echo "no" >&6; }
2916
test -n "$ac_ct_CC" && break
2919
if test "x$ac_ct_CC" = x; then
2922
case $cross_compiling:$ac_tool_warned in
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2925
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2926
ac_tool_warned=yes ;;
2935
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2936
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2937
as_fn_error $? "no acceptable C compiler found in \$PATH
2938
See \`config.log' for more details" "$LINENO" 5; }
2940
# Provide some information about the compiler.
2941
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2944
for ac_option in --version -v -V -qversion; do
2945
{ { ac_try="$ac_compiler $ac_option >&5"
2947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948
*) ac_try_echo=$ac_try;;
2950
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951
$as_echo "$ac_try_echo"; } >&5
2952
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2954
if test -s conftest.err; then
2956
... rest of stderr output deleted ...
2957
10q' conftest.err >conftest.er1
2958
cat conftest.er1 >&5
2960
rm -f conftest.er1 conftest.err
2961
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962
test $ac_status = 0; }
2965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966
/* end confdefs.h. */
2976
ac_clean_files_save=$ac_clean_files
2977
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2978
# Try to create an executable without -o first, disregard a.out.
2979
# It will help us diagnose broken compilers, and finding out an intuition
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2982
$as_echo_n "checking whether the C compiler works... " >&6; }
2983
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2985
# The possible output files:
2986
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2989
for ac_file in $ac_files
2992
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2993
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2998
if { { ac_try="$ac_link_default"
3000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001
*) ac_try_echo=$ac_try;;
3003
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004
$as_echo "$ac_try_echo"; } >&5
3005
(eval "$ac_link_default") 2>&5
3007
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008
test $ac_status = 0; }; then :
3009
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3010
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3011
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3012
# so that the user can short-circuit this test for compilers unknown to
3014
for ac_file in $ac_files ''
3016
test -f "$ac_file" || continue
3018
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3021
# We found the default executable, but exeext='' is most
3025
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3027
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3029
# We set ac_cv_exeext here because the later test for it is not
3030
# safe: cross compilers may not add the suffix if given an `-o'
3031
# argument, so we may need to know it at that point already.
3032
# Even if this section looks crufty: it has the advantage of
3039
test "$ac_cv_exeext" = no && ac_cv_exeext=
3044
if test -z "$ac_file"; then :
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046
$as_echo "no" >&6; }
3047
$as_echo "$as_me: failed program was:" >&5
3048
sed 's/^/| /' conftest.$ac_ext >&5
3050
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052
as_fn_error 77 "C compiler cannot create executables
3053
See \`config.log' for more details" "$LINENO" 5; }
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056
$as_echo "yes" >&6; }
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3059
$as_echo_n "checking for C compiler default output file name... " >&6; }
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3061
$as_echo "$ac_file" >&6; }
3062
ac_exeext=$ac_cv_exeext
3064
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3065
ac_clean_files=$ac_clean_files_save
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3067
$as_echo_n "checking for suffix of executables... " >&6; }
3068
if { { ac_try="$ac_link"
3070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071
*) ac_try_echo=$ac_try;;
3073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074
$as_echo "$ac_try_echo"; } >&5
3075
(eval "$ac_link") 2>&5
3077
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078
test $ac_status = 0; }; then :
3079
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3080
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3081
# work properly (i.e., refer to `conftest.exe'), while it won't with
3083
for ac_file in conftest.exe conftest conftest.*; do
3084
test -f "$ac_file" || continue
3086
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3087
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3093
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3096
See \`config.log' for more details" "$LINENO" 5; }
3098
rm -f conftest conftest$ac_cv_exeext
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3100
$as_echo "$ac_cv_exeext" >&6; }
3102
rm -f conftest.$ac_ext
3103
EXEEXT=$ac_cv_exeext
3105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106
/* end confdefs.h. */
3111
FILE *f = fopen ("conftest.out", "w");
3112
return ferror (f) || fclose (f) != 0;
3118
ac_clean_files="$ac_clean_files conftest.out"
3119
# Check that the compiler produces executables we can run. If not, either
3120
# the compiler is broken, or we cross compile.
3121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3122
$as_echo_n "checking whether we are cross compiling... " >&6; }
3123
if test "$cross_compiling" != yes; then
3124
{ { ac_try="$ac_link"
3126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127
*) ac_try_echo=$ac_try;;
3129
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130
$as_echo "$ac_try_echo"; } >&5
3131
(eval "$ac_link") 2>&5
3133
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134
test $ac_status = 0; }
3135
if { ac_try='./conftest$ac_cv_exeext'
3136
{ { case "(($ac_try" in
3137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
*) ac_try_echo=$ac_try;;
3140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141
$as_echo "$ac_try_echo"; } >&5
3142
(eval "$ac_try") 2>&5
3144
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145
test $ac_status = 0; }; }; then
3148
if test "$cross_compiling" = maybe; then
3151
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153
as_fn_error $? "cannot run C compiled programs.
3154
If you meant to cross compile, use \`--host'.
3155
See \`config.log' for more details" "$LINENO" 5; }
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3160
$as_echo "$cross_compiling" >&6; }
3162
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3163
ac_clean_files=$ac_clean_files_save
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3165
$as_echo_n "checking for suffix of object files... " >&6; }
3166
if ${ac_cv_objext+:} false; then :
3167
$as_echo_n "(cached) " >&6
3169
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170
/* end confdefs.h. */
3180
rm -f conftest.o conftest.obj
3181
if { { ac_try="$ac_compile"
3183
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184
*) ac_try_echo=$ac_try;;
3186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187
$as_echo "$ac_try_echo"; } >&5
3188
(eval "$ac_compile") 2>&5
3190
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191
test $ac_status = 0; }; then :
3192
for ac_file in conftest.o conftest.obj conftest.*; do
3193
test -f "$ac_file" || continue;
3195
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3196
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3201
$as_echo "$as_me: failed program was:" >&5
3202
sed 's/^/| /' conftest.$ac_ext >&5
3204
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206
as_fn_error $? "cannot compute suffix of object files: cannot compile
3207
See \`config.log' for more details" "$LINENO" 5; }
3209
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3212
$as_echo "$ac_cv_objext" >&6; }
3213
OBJEXT=$ac_cv_objext
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3216
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3217
if ${ac_cv_c_compiler_gnu+:} false; then :
3218
$as_echo_n "(cached) " >&6
3220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221
/* end confdefs.h. */
3234
if ac_fn_c_try_compile "$LINENO"; then :
3239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3244
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3245
if test $ac_compiler_gnu = yes; then
3250
ac_test_CFLAGS=${CFLAGS+set}
3251
ac_save_CFLAGS=$CFLAGS
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3253
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3254
if ${ac_cv_prog_cc_g+:} false; then :
3255
$as_echo_n "(cached) " >&6
3257
ac_save_c_werror_flag=$ac_c_werror_flag
3258
ac_c_werror_flag=yes
3261
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262
/* end confdefs.h. */
3272
if ac_fn_c_try_compile "$LINENO"; then :
3276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277
/* end confdefs.h. */
3287
if ac_fn_c_try_compile "$LINENO"; then :
3290
ac_c_werror_flag=$ac_save_c_werror_flag
3292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293
/* end confdefs.h. */
3303
if ac_fn_c_try_compile "$LINENO"; then :
3306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311
ac_c_werror_flag=$ac_save_c_werror_flag
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3314
$as_echo "$ac_cv_prog_cc_g" >&6; }
3315
if test "$ac_test_CFLAGS" = set; then
3316
CFLAGS=$ac_save_CFLAGS
3317
elif test $ac_cv_prog_cc_g = yes; then
3318
if test "$GCC" = yes; then
3324
if test "$GCC" = yes; then
3330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3331
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3332
if ${ac_cv_prog_cc_c89+:} false; then :
3333
$as_echo_n "(cached) " >&6
3335
ac_cv_prog_cc_c89=no
3337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338
/* end confdefs.h. */
3342
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3343
struct buf { int x; };
3344
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3345
static char *e (p, i)
3351
static char *f (char * (*g) (char **, int), char **p, ...)
3356
s = g (p, va_arg (v,int));
3361
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3362
function prototypes and stuff, but not '\xHH' hex character constants.
3363
These don't provoke an error unfortunately, instead are silently treated
3364
as 'x'. The following induces an error, until -std is added to get
3365
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3366
array size at least. It's necessary to write '\x00'==0 to get something
3367
that's true only with -std. */
3368
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3370
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3371
inside strings and character constants. */
3373
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3375
int test (int i, double x);
3376
struct s1 {int (*f) (int a);};
3377
struct s2 {int (*f) (double a);};
3378
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3384
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3389
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3390
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3392
CC="$ac_save_CC $ac_arg"
3393
if ac_fn_c_try_compile "$LINENO"; then :
3394
ac_cv_prog_cc_c89=$ac_arg
3396
rm -f core conftest.err conftest.$ac_objext
3397
test "x$ac_cv_prog_cc_c89" != "xno" && break
3399
rm -f conftest.$ac_ext
3404
case "x$ac_cv_prog_cc_c89" in
3406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3407
$as_echo "none needed" >&6; } ;;
3409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3410
$as_echo "unsupported" >&6; } ;;
3412
CC="$CC $ac_cv_prog_cc_c89"
3413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3414
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3416
if test "x$ac_cv_prog_cc_c89" != xno; then :
3421
ac_cpp='$CPP $CPPFLAGS'
3422
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426
depcc="$CC" am_compiler_list=
3428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3429
$as_echo_n "checking dependency style of $depcc... " >&6; }
3430
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3431
$as_echo_n "(cached) " >&6
3433
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3434
# We make a subdir and do the tests there. Otherwise we can end up
3435
# making bogus files that we don't know about and never remove. For
3436
# instance it was reported that on HP-UX the gcc test will end up
3437
# making a dummy file named `D' -- because `-MD' means `put the output
3441
# Copy depcomp to subdir because otherwise we won't find it if we're
3442
# using a relative directory.
3443
cp "$am_depcomp" conftest.dir
3445
# We will build objects and dependencies in a subdirectory because
3446
# it helps to detect inapplicable dependency modes. For instance
3447
# both Tru64's cc and ICC support -MD to output dependencies as a
3448
# side effect of compilation, but ICC will put the dependencies in
3449
# the current directory while Tru64 will put them in the object
3453
am_cv_CC_dependencies_compiler_type=none
3454
if test "$am_compiler_list" = ""; then
3455
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3458
case " $depcc " in #(
3459
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3462
for depmode in $am_compiler_list; do
3463
# Setup a source with many dependencies, because some compilers
3464
# like to wrap large dependency lists on column 80 (with \), and
3465
# we should not choose a depcomp mode which is confused by this.
3467
# We need to recreate these files for each test, as the compiler may
3468
# overwrite some of them when testing with obscure command lines.
3469
# This happens at least with the AIX C compiler.
3471
for i in 1 2 3 4 5 6; do
3472
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3473
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3474
# Solaris 8's {/usr,}/bin/sh.
3475
touch sub/conftst$i.h
3477
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3479
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3480
# mode. It turns out that the SunPro C++ compiler does not properly
3481
# handle `-M -o', and we need to detect this. Also, some Intel
3482
# versions had trouble with output in subdirs
3483
am__obj=sub/conftest.${OBJEXT-o}
3484
am__minus_obj="-o $am__obj"
3487
# This depmode causes a compiler race in universal mode.
3488
test "$am__universal" = false || continue
3491
# after this tag, mechanisms are not by side-effect, so they'll
3492
# only be used when explicitly requested
3493
if test "x$enable_dependency_tracking" = xyes; then
3499
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3500
# This compiler won't grok `-c -o', but also, the minuso test has
3501
# not run yet. These depmodes are late enough in the game, and
3502
# so weak that their functioning should not be impacted.
3503
am__obj=conftest.${OBJEXT-o}
3508
if depmode=$depmode \
3509
source=sub/conftest.c object=$am__obj \
3510
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3511
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3512
>/dev/null 2>conftest.err &&
3513
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3514
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3515
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3516
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3517
# icc doesn't choke on unknown options, it will just issue warnings
3518
# or remarks (even with -Werror). So we grep stderr for any message
3519
# that says an option was ignored or not supported.
3520
# When given -MP, icc 7.0 and 7.1 complain thusly:
3521
# icc: Command line warning: ignoring option '-M'; no argument required
3522
# The diagnosis changed in icc 8.0:
3523
# icc: Command line remark: option '-MP' not supported
3524
if (grep 'ignoring option' conftest.err ||
3525
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3526
am_cv_CC_dependencies_compiler_type=$depmode
3535
am_cv_CC_dependencies_compiler_type=none
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3540
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3541
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3544
test "x$enable_dependency_tracking" != xno \
3545
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3547
am__fastdepCC_FALSE='#'
3549
am__fastdepCC_TRUE='#'
3550
am__fastdepCC_FALSE=
3554
# By default we simply use the C compiler to build assembly code.
3556
test "${CCAS+set}" = set || CCAS=$CC
3557
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3561
depcc="$CCAS" am_compiler_list=
3563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3564
$as_echo_n "checking dependency style of $depcc... " >&6; }
3565
if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3566
$as_echo_n "(cached) " >&6
3568
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3569
# We make a subdir and do the tests there. Otherwise we can end up
3570
# making bogus files that we don't know about and never remove. For
3571
# instance it was reported that on HP-UX the gcc test will end up
3572
# making a dummy file named `D' -- because `-MD' means `put the output
3576
# Copy depcomp to subdir because otherwise we won't find it if we're
3577
# using a relative directory.
3578
cp "$am_depcomp" conftest.dir
3580
# We will build objects and dependencies in a subdirectory because
3581
# it helps to detect inapplicable dependency modes. For instance
3582
# both Tru64's cc and ICC support -MD to output dependencies as a
3583
# side effect of compilation, but ICC will put the dependencies in
3584
# the current directory while Tru64 will put them in the object
3588
am_cv_CCAS_dependencies_compiler_type=none
3589
if test "$am_compiler_list" = ""; then
3590
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3595
for depmode in $am_compiler_list; do
3596
# Setup a source with many dependencies, because some compilers
3597
# like to wrap large dependency lists on column 80 (with \), and
3598
# we should not choose a depcomp mode which is confused by this.
3600
# We need to recreate these files for each test, as the compiler may
3601
# overwrite some of them when testing with obscure command lines.
3602
# This happens at least with the AIX C compiler.
3604
for i in 1 2 3 4 5 6; do
3605
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3606
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3607
# Solaris 8's {/usr,}/bin/sh.
3608
touch sub/conftst$i.h
3610
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3612
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3613
# mode. It turns out that the SunPro C++ compiler does not properly
3614
# handle `-M -o', and we need to detect this. Also, some Intel
3615
# versions had trouble with output in subdirs
3616
am__obj=sub/conftest.${OBJEXT-o}
3617
am__minus_obj="-o $am__obj"
3620
# This depmode causes a compiler race in universal mode.
3621
test "$am__universal" = false || continue
3624
# after this tag, mechanisms are not by side-effect, so they'll
3625
# only be used when explicitly requested
3626
if test "x$enable_dependency_tracking" = xyes; then
3632
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3633
# This compiler won't grok `-c -o', but also, the minuso test has
3634
# not run yet. These depmodes are late enough in the game, and
3635
# so weak that their functioning should not be impacted.
3636
am__obj=conftest.${OBJEXT-o}
3641
if depmode=$depmode \
3642
source=sub/conftest.c object=$am__obj \
3643
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3644
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3645
>/dev/null 2>conftest.err &&
3646
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3647
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3648
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3649
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3650
# icc doesn't choke on unknown options, it will just issue warnings
3651
# or remarks (even with -Werror). So we grep stderr for any message
3652
# that says an option was ignored or not supported.
3653
# When given -MP, icc 7.0 and 7.1 complain thusly:
3654
# icc: Command line warning: ignoring option '-M'; no argument required
3655
# The diagnosis changed in icc 8.0:
3656
# icc: Command line remark: option '-MP' not supported
3657
if (grep 'ignoring option' conftest.err ||
3658
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3659
am_cv_CCAS_dependencies_compiler_type=$depmode
3668
am_cv_CCAS_dependencies_compiler_type=none
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3673
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3674
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3677
test "x$enable_dependency_tracking" != xno \
3678
&& test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3679
am__fastdepCCAS_TRUE=
3680
am__fastdepCCAS_FALSE='#'
3682
am__fastdepCCAS_TRUE='#'
3683
am__fastdepCCAS_FALSE=
3688
ac_cpp='$CPP $CPPFLAGS'
3689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692
if test -n "$ac_tool_prefix"; then
3693
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3694
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696
$as_echo_n "checking for $ac_word... " >&6; }
3697
if ${ac_cv_prog_CC+:} false; then :
3698
$as_echo_n "(cached) " >&6
3700
if test -n "$CC"; then
3701
ac_cv_prog_CC="$CC" # Let the user override the test.
3703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707
test -z "$as_dir" && as_dir=.
3708
for ac_exec_ext in '' $ac_executable_extensions; do
3709
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3710
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3711
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721
if test -n "$CC"; then
3722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723
$as_echo "$CC" >&6; }
3725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726
$as_echo "no" >&6; }
3731
if test -z "$ac_cv_prog_CC"; then
3733
# Extract the first word of "gcc", so it can be a program name with args.
3734
set dummy gcc; ac_word=$2
3735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736
$as_echo_n "checking for $ac_word... " >&6; }
3737
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3738
$as_echo_n "(cached) " >&6
3740
if test -n "$ac_ct_CC"; then
3741
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747
test -z "$as_dir" && as_dir=.
3748
for ac_exec_ext in '' $ac_executable_extensions; do
3749
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3750
ac_cv_prog_ac_ct_CC="gcc"
3751
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3761
if test -n "$ac_ct_CC"; then
3762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3763
$as_echo "$ac_ct_CC" >&6; }
3765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766
$as_echo "no" >&6; }
3769
if test "x$ac_ct_CC" = x; then
3772
case $cross_compiling:$ac_tool_warned in
3774
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3775
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3776
ac_tool_warned=yes ;;
3784
if test -z "$CC"; then
3785
if test -n "$ac_tool_prefix"; then
3786
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3787
set dummy ${ac_tool_prefix}cc; ac_word=$2
3788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789
$as_echo_n "checking for $ac_word... " >&6; }
3790
if ${ac_cv_prog_CC+:} false; then :
3791
$as_echo_n "(cached) " >&6
3793
if test -n "$CC"; then
3794
ac_cv_prog_CC="$CC" # Let the user override the test.
3796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800
test -z "$as_dir" && as_dir=.
3801
for ac_exec_ext in '' $ac_executable_extensions; do
3802
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3803
ac_cv_prog_CC="${ac_tool_prefix}cc"
3804
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814
if test -n "$CC"; then
3815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816
$as_echo "$CC" >&6; }
3818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819
$as_echo "no" >&6; }
3825
if test -z "$CC"; then
3826
# Extract the first word of "cc", so it can be a program name with args.
3827
set dummy cc; ac_word=$2
3828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829
$as_echo_n "checking for $ac_word... " >&6; }
3830
if ${ac_cv_prog_CC+:} false; then :
3831
$as_echo_n "(cached) " >&6
3833
if test -n "$CC"; then
3834
ac_cv_prog_CC="$CC" # Let the user override the test.
3837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841
test -z "$as_dir" && as_dir=.
3842
for ac_exec_ext in '' $ac_executable_extensions; do
3843
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3845
ac_prog_rejected=yes
3849
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856
if test $ac_prog_rejected = yes; then
3857
# We found a bogon in the path, so make sure we never use it.
3858
set dummy $ac_cv_prog_CC
3860
if test $# != 0; then
3861
# We chose a different compiler from the bogus one.
3862
# However, it has the same basename, so the bogon will be chosen
3863
# first if we set CC to just the basename; use the full file name.
3865
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3871
if test -n "$CC"; then
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873
$as_echo "$CC" >&6; }
3875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876
$as_echo "no" >&6; }
3881
if test -z "$CC"; then
3882
if test -n "$ac_tool_prefix"; then
3883
for ac_prog in cl.exe
3885
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3886
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888
$as_echo_n "checking for $ac_word... " >&6; }
3889
if ${ac_cv_prog_CC+:} false; then :
3890
$as_echo_n "(cached) " >&6
3892
if test -n "$CC"; then
3893
ac_cv_prog_CC="$CC" # Let the user override the test.
3895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899
test -z "$as_dir" && as_dir=.
3900
for ac_exec_ext in '' $ac_executable_extensions; do
3901
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913
if test -n "$CC"; then
3914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3915
$as_echo "$CC" >&6; }
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918
$as_echo "no" >&6; }
3922
test -n "$CC" && break
3925
if test -z "$CC"; then
3927
for ac_prog in cl.exe
3929
# Extract the first word of "$ac_prog", so it can be a program name with args.
3930
set dummy $ac_prog; ac_word=$2
3931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932
$as_echo_n "checking for $ac_word... " >&6; }
3933
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3934
$as_echo_n "(cached) " >&6
3936
if test -n "$ac_ct_CC"; then
3937
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943
test -z "$as_dir" && as_dir=.
3944
for ac_exec_ext in '' $ac_executable_extensions; do
3945
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946
ac_cv_prog_ac_ct_CC="$ac_prog"
3947
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3957
if test -n "$ac_ct_CC"; then
3958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3959
$as_echo "$ac_ct_CC" >&6; }
3961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962
$as_echo "no" >&6; }
3966
test -n "$ac_ct_CC" && break
3969
if test "x$ac_ct_CC" = x; then
3972
case $cross_compiling:$ac_tool_warned in
3974
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3975
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3976
ac_tool_warned=yes ;;
3985
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987
as_fn_error $? "no acceptable C compiler found in \$PATH
3988
See \`config.log' for more details" "$LINENO" 5; }
3990
# Provide some information about the compiler.
3991
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3994
for ac_option in --version -v -V -qversion; do
3995
{ { ac_try="$ac_compiler $ac_option >&5"
3997
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
*) ac_try_echo=$ac_try;;
4000
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001
$as_echo "$ac_try_echo"; } >&5
4002
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4004
if test -s conftest.err; then
4006
... rest of stderr output deleted ...
4007
10q' conftest.err >conftest.er1
4008
cat conftest.er1 >&5
4010
rm -f conftest.er1 conftest.err
4011
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012
test $ac_status = 0; }
4015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4016
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4017
if ${ac_cv_c_compiler_gnu+:} false; then :
4018
$as_echo_n "(cached) " >&6
4020
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021
/* end confdefs.h. */
4034
if ac_fn_c_try_compile "$LINENO"; then :
4039
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4044
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4045
if test $ac_compiler_gnu = yes; then
4050
ac_test_CFLAGS=${CFLAGS+set}
4051
ac_save_CFLAGS=$CFLAGS
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4053
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4054
if ${ac_cv_prog_cc_g+:} false; then :
4055
$as_echo_n "(cached) " >&6
4057
ac_save_c_werror_flag=$ac_c_werror_flag
4058
ac_c_werror_flag=yes
4061
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062
/* end confdefs.h. */
4072
if ac_fn_c_try_compile "$LINENO"; then :
4076
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077
/* end confdefs.h. */
4087
if ac_fn_c_try_compile "$LINENO"; then :
4090
ac_c_werror_flag=$ac_save_c_werror_flag
4092
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093
/* end confdefs.h. */
4103
if ac_fn_c_try_compile "$LINENO"; then :
4106
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111
ac_c_werror_flag=$ac_save_c_werror_flag
4113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4114
$as_echo "$ac_cv_prog_cc_g" >&6; }
4115
if test "$ac_test_CFLAGS" = set; then
4116
CFLAGS=$ac_save_CFLAGS
4117
elif test $ac_cv_prog_cc_g = yes; then
4118
if test "$GCC" = yes; then
4124
if test "$GCC" = yes; then
4130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4131
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4132
if ${ac_cv_prog_cc_c89+:} false; then :
4133
$as_echo_n "(cached) " >&6
4135
ac_cv_prog_cc_c89=no
4137
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138
/* end confdefs.h. */
4142
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4143
struct buf { int x; };
4144
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4145
static char *e (p, i)
4151
static char *f (char * (*g) (char **, int), char **p, ...)
4156
s = g (p, va_arg (v,int));
4161
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4162
function prototypes and stuff, but not '\xHH' hex character constants.
4163
These don't provoke an error unfortunately, instead are silently treated
4164
as 'x'. The following induces an error, until -std is added to get
4165
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4166
array size at least. It's necessary to write '\x00'==0 to get something
4167
that's true only with -std. */
4168
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4170
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4171
inside strings and character constants. */
4173
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4175
int test (int i, double x);
4176
struct s1 {int (*f) (int a);};
4177
struct s2 {int (*f) (double a);};
4178
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4184
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4189
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4190
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4192
CC="$ac_save_CC $ac_arg"
4193
if ac_fn_c_try_compile "$LINENO"; then :
4194
ac_cv_prog_cc_c89=$ac_arg
4196
rm -f core conftest.err conftest.$ac_objext
4197
test "x$ac_cv_prog_cc_c89" != "xno" && break
4199
rm -f conftest.$ac_ext
4204
case "x$ac_cv_prog_cc_c89" in
4206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4207
$as_echo "none needed" >&6; } ;;
4209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4210
$as_echo "unsupported" >&6; } ;;
4212
CC="$CC $ac_cv_prog_cc_c89"
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4214
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4216
if test "x$ac_cv_prog_cc_c89" != xno; then :
4221
ac_cpp='$CPP $CPPFLAGS'
4222
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4226
depcc="$CC" am_compiler_list=
4228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4229
$as_echo_n "checking dependency style of $depcc... " >&6; }
4230
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4231
$as_echo_n "(cached) " >&6
4233
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4234
# We make a subdir and do the tests there. Otherwise we can end up
4235
# making bogus files that we don't know about and never remove. For
4236
# instance it was reported that on HP-UX the gcc test will end up
4237
# making a dummy file named `D' -- because `-MD' means `put the output
4241
# Copy depcomp to subdir because otherwise we won't find it if we're
4242
# using a relative directory.
4243
cp "$am_depcomp" conftest.dir
4245
# We will build objects and dependencies in a subdirectory because
4246
# it helps to detect inapplicable dependency modes. For instance
4247
# both Tru64's cc and ICC support -MD to output dependencies as a
4248
# side effect of compilation, but ICC will put the dependencies in
4249
# the current directory while Tru64 will put them in the object
4253
am_cv_CC_dependencies_compiler_type=none
4254
if test "$am_compiler_list" = ""; then
4255
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4258
case " $depcc " in #(
4259
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4262
for depmode in $am_compiler_list; do
4263
# Setup a source with many dependencies, because some compilers
4264
# like to wrap large dependency lists on column 80 (with \), and
4265
# we should not choose a depcomp mode which is confused by this.
4267
# We need to recreate these files for each test, as the compiler may
4268
# overwrite some of them when testing with obscure command lines.
4269
# This happens at least with the AIX C compiler.
4271
for i in 1 2 3 4 5 6; do
4272
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4273
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4274
# Solaris 8's {/usr,}/bin/sh.
4275
touch sub/conftst$i.h
4277
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4279
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4280
# mode. It turns out that the SunPro C++ compiler does not properly
4281
# handle `-M -o', and we need to detect this. Also, some Intel
4282
# versions had trouble with output in subdirs
4283
am__obj=sub/conftest.${OBJEXT-o}
4284
am__minus_obj="-o $am__obj"
4287
# This depmode causes a compiler race in universal mode.
4288
test "$am__universal" = false || continue
4291
# after this tag, mechanisms are not by side-effect, so they'll
4292
# only be used when explicitly requested
4293
if test "x$enable_dependency_tracking" = xyes; then
4299
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4300
# This compiler won't grok `-c -o', but also, the minuso test has
4301
# not run yet. These depmodes are late enough in the game, and
4302
# so weak that their functioning should not be impacted.
4303
am__obj=conftest.${OBJEXT-o}
4308
if depmode=$depmode \
4309
source=sub/conftest.c object=$am__obj \
4310
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4311
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4312
>/dev/null 2>conftest.err &&
4313
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4314
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4315
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4316
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4317
# icc doesn't choke on unknown options, it will just issue warnings
4318
# or remarks (even with -Werror). So we grep stderr for any message
4319
# that says an option was ignored or not supported.
4320
# When given -MP, icc 7.0 and 7.1 complain thusly:
4321
# icc: Command line warning: ignoring option '-M'; no argument required
4322
# The diagnosis changed in icc 8.0:
4323
# icc: Command line remark: option '-MP' not supported
4324
if (grep 'ignoring option' conftest.err ||
4325
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4326
am_cv_CC_dependencies_compiler_type=$depmode
4335
am_cv_CC_dependencies_compiler_type=none
4339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4340
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4341
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4344
test "x$enable_dependency_tracking" != xno \
4345
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4347
am__fastdepCC_FALSE='#'
4349
am__fastdepCC_TRUE='#'
4350
am__fastdepCC_FALSE=
4354
if test "x$CC" != xcc; then
4355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4356
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4359
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4361
set dummy $CC; ac_cc=`$as_echo "$2" |
4362
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4363
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4364
$as_echo_n "(cached) " >&6
4366
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367
/* end confdefs.h. */
4377
# Make sure it works both with $CC and with simple cc.
4378
# We do the test twice because some compilers refuse to overwrite an
4379
# existing .o file with -o, though they will create one.
4380
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4382
if { { case "(($ac_try" in
4383
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384
*) ac_try_echo=$ac_try;;
4386
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387
$as_echo "$ac_try_echo"; } >&5
4388
(eval "$ac_try") 2>&5
4390
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391
test $ac_status = 0; } &&
4392
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4393
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394
*) ac_try_echo=$ac_try;;
4396
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4397
$as_echo "$ac_try_echo"; } >&5
4398
(eval "$ac_try") 2>&5
4400
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4401
test $ac_status = 0; };
4403
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4404
if test "x$CC" != xcc; then
4405
# Test first that cc exists at all.
4406
if { ac_try='cc -c conftest.$ac_ext >&5'
4407
{ { case "(($ac_try" in
4408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409
*) ac_try_echo=$ac_try;;
4411
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4412
$as_echo "$ac_try_echo"; } >&5
4413
(eval "$ac_try") 2>&5
4415
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4416
test $ac_status = 0; }; }; then
4417
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4419
if { { case "(($ac_try" in
4420
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421
*) ac_try_echo=$ac_try;;
4423
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4424
$as_echo "$ac_try_echo"; } >&5
4425
(eval "$ac_try") 2>&5
4427
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428
test $ac_status = 0; } &&
4429
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4430
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431
*) ac_try_echo=$ac_try;;
4433
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434
$as_echo "$ac_try_echo"; } >&5
4435
(eval "$ac_try") 2>&5
4437
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438
test $ac_status = 0; };
4443
# cc exists but doesn't like -o.
4444
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4449
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4451
rm -f core conftest*
4454
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4456
$as_echo "yes" >&6; }
4458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459
$as_echo "no" >&6; }
4461
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4465
# FIXME: we rely on the cache variable name because
4466
# there is no other way.
4468
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4469
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4470
if test "$am_t" != yes; then
4471
# Losing compiler, so override with the script.
4472
# FIXME: It is wrong to rewrite CC.
4473
# But if we don't then we get into trouble of one sort or another.
4474
# A longer-term fix would be to have automake use am__CC in this case,
4475
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4476
CC="$am_aux_dir/compile $CC"
4481
ac_cpp='$CPP $CPPFLAGS'
4482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4486
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4487
# On Suns, sometimes $CPP names a directory.
4488
if test -n "$CPP" && test -d "$CPP"; then
4491
if test -z "$CPP"; then
4492
if ${ac_cv_prog_CPP+:} false; then :
4493
$as_echo_n "(cached) " >&6
4495
# Double quotes because CPP needs to be expanded
4496
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4499
for ac_c_preproc_warn_flag in '' yes
4501
# Use a header file that comes with gcc, so configuring glibc
4502
# with a fresh cross-compiler works.
4503
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504
# <limits.h> exists even on freestanding compilers.
4505
# On the NeXT, cc -E runs the code through the compiler's parser,
4506
# not just through cpp. "Syntax error" is here to catch this case.
4507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508
/* end confdefs.h. */
4510
# include <limits.h>
4512
# include <assert.h>
4516
if ac_fn_c_try_cpp "$LINENO"; then :
4519
# Broken: fails on valid input.
4522
rm -f conftest.err conftest.i conftest.$ac_ext
4524
# OK, works on sane cases. Now check whether nonexistent headers
4525
# can be detected and how.
4526
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527
/* end confdefs.h. */
4528
#include <ac_nonexistent.h>
4530
if ac_fn_c_try_cpp "$LINENO"; then :
4531
# Broken: success on invalid input.
4534
# Passes both tests.
4538
rm -f conftest.err conftest.i conftest.$ac_ext
4541
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4542
rm -f conftest.i conftest.err conftest.$ac_ext
4543
if $ac_preproc_ok; then :
4555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4556
$as_echo "$CPP" >&6; }
4558
for ac_c_preproc_warn_flag in '' yes
4560
# Use a header file that comes with gcc, so configuring glibc
4561
# with a fresh cross-compiler works.
4562
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4563
# <limits.h> exists even on freestanding compilers.
4564
# On the NeXT, cc -E runs the code through the compiler's parser,
4565
# not just through cpp. "Syntax error" is here to catch this case.
4566
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567
/* end confdefs.h. */
4569
# include <limits.h>
4571
# include <assert.h>
4575
if ac_fn_c_try_cpp "$LINENO"; then :
4578
# Broken: fails on valid input.
4581
rm -f conftest.err conftest.i conftest.$ac_ext
4583
# OK, works on sane cases. Now check whether nonexistent headers
4584
# can be detected and how.
4585
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586
/* end confdefs.h. */
4587
#include <ac_nonexistent.h>
4589
if ac_fn_c_try_cpp "$LINENO"; then :
4590
# Broken: success on invalid input.
4593
# Passes both tests.
4597
rm -f conftest.err conftest.i conftest.$ac_ext
4600
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4601
rm -f conftest.i conftest.err conftest.$ac_ext
4602
if $ac_preproc_ok; then :
4605
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4606
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4607
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4608
See \`config.log' for more details" "$LINENO" 5; }
4612
ac_cpp='$CPP $CPPFLAGS'
4613
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4617
if test -n "$ac_tool_prefix"; then
4618
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4619
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621
$as_echo_n "checking for $ac_word... " >&6; }
4622
if ${ac_cv_prog_RANLIB+:} false; then :
4623
$as_echo_n "(cached) " >&6
4625
if test -n "$RANLIB"; then
4626
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632
test -z "$as_dir" && as_dir=.
4633
for ac_exec_ext in '' $ac_executable_extensions; do
4634
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4636
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645
RANLIB=$ac_cv_prog_RANLIB
4646
if test -n "$RANLIB"; then
4647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4648
$as_echo "$RANLIB" >&6; }
4650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651
$as_echo "no" >&6; }
4656
if test -z "$ac_cv_prog_RANLIB"; then
4657
ac_ct_RANLIB=$RANLIB
4658
# Extract the first word of "ranlib", so it can be a program name with args.
4659
set dummy ranlib; ac_word=$2
4660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661
$as_echo_n "checking for $ac_word... " >&6; }
4662
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4663
$as_echo_n "(cached) " >&6
4665
if test -n "$ac_ct_RANLIB"; then
4666
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672
test -z "$as_dir" && as_dir=.
4673
for ac_exec_ext in '' $ac_executable_extensions; do
4674
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675
ac_cv_prog_ac_ct_RANLIB="ranlib"
4676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4686
if test -n "$ac_ct_RANLIB"; then
4687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4688
$as_echo "$ac_ct_RANLIB" >&6; }
4690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691
$as_echo "no" >&6; }
4694
if test "x$ac_ct_RANLIB" = x; then
4697
case $cross_compiling:$ac_tool_warned in
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701
ac_tool_warned=yes ;;
4703
RANLIB=$ac_ct_RANLIB
4706
RANLIB="$ac_cv_prog_RANLIB"
4711
if test -n "$ac_tool_prefix"; then
4712
# Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4713
set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715
$as_echo_n "checking for $ac_word... " >&6; }
4716
if ${ac_cv_prog_OBJCOPY+:} false; then :
4717
$as_echo_n "(cached) " >&6
4719
if test -n "$OBJCOPY"; then
4720
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726
test -z "$as_dir" && as_dir=.
4727
for ac_exec_ext in '' $ac_executable_extensions; do
4728
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729
ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4730
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739
OBJCOPY=$ac_cv_prog_OBJCOPY
4740
if test -n "$OBJCOPY"; then
4741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4742
$as_echo "$OBJCOPY" >&6; }
4744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745
$as_echo "no" >&6; }
4750
if test -z "$ac_cv_prog_OBJCOPY"; then
4751
ac_ct_OBJCOPY=$OBJCOPY
4752
# Extract the first word of "objcopy", so it can be a program name with args.
4753
set dummy objcopy; ac_word=$2
4754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755
$as_echo_n "checking for $ac_word... " >&6; }
4756
if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
4757
$as_echo_n "(cached) " >&6
4759
if test -n "$ac_ct_OBJCOPY"; then
4760
ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766
test -z "$as_dir" && as_dir=.
4767
for ac_exec_ext in '' $ac_executable_extensions; do
4768
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4769
ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4770
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779
ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4780
if test -n "$ac_ct_OBJCOPY"; then
4781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4782
$as_echo "$ac_ct_OBJCOPY" >&6; }
4784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785
$as_echo "no" >&6; }
4788
if test "x$ac_ct_OBJCOPY" = x; then
4791
case $cross_compiling:$ac_tool_warned in
4793
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4794
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4795
ac_tool_warned=yes ;;
4797
OBJCOPY=$ac_ct_OBJCOPY
4800
OBJCOPY="$ac_cv_prog_OBJCOPY"
4803
if test -n "$ac_tool_prefix"; then
4804
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4805
set dummy ${ac_tool_prefix}strip; ac_word=$2
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807
$as_echo_n "checking for $ac_word... " >&6; }
4808
if ${ac_cv_prog_STRIP+:} false; then :
4809
$as_echo_n "(cached) " >&6
4811
if test -n "$STRIP"; then
4812
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818
test -z "$as_dir" && as_dir=.
4819
for ac_exec_ext in '' $ac_executable_extensions; do
4820
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4822
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831
STRIP=$ac_cv_prog_STRIP
4832
if test -n "$STRIP"; then
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4834
$as_echo "$STRIP" >&6; }
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837
$as_echo "no" >&6; }
4842
if test -z "$ac_cv_prog_STRIP"; then
4844
# Extract the first word of "strip", so it can be a program name with args.
4845
set dummy strip; ac_word=$2
4846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847
$as_echo_n "checking for $ac_word... " >&6; }
4848
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4849
$as_echo_n "(cached) " >&6
4851
if test -n "$ac_ct_STRIP"; then
4852
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858
test -z "$as_dir" && as_dir=.
4859
for ac_exec_ext in '' $ac_executable_extensions; do
4860
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861
ac_cv_prog_ac_ct_STRIP="strip"
4862
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4872
if test -n "$ac_ct_STRIP"; then
4873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4874
$as_echo "$ac_ct_STRIP" >&6; }
4876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877
$as_echo "no" >&6; }
4880
if test "x$ac_ct_STRIP" = x; then
4883
case $cross_compiling:$ac_tool_warned in
4885
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4886
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4887
ac_tool_warned=yes ;;
4892
STRIP="$ac_cv_prog_STRIP"
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4899
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4900
if ${ac_cv_path_GREP+:} false; then :
4901
$as_echo_n "(cached) " >&6
4903
if test -z "$GREP"; then
4904
ac_path_GREP_found=false
4905
# Loop through the user's path and test for each of PROGNAME-LIST
4906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4910
test -z "$as_dir" && as_dir=.
4911
for ac_prog in grep ggrep; do
4912
for ac_exec_ext in '' $ac_executable_extensions; do
4913
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4914
as_fn_executable_p "$ac_path_GREP" || continue
4915
# Check for GNU ac_path_GREP and select it if it is found.
4916
# Check for GNU $ac_path_GREP
4917
case `"$ac_path_GREP" --version 2>&1` in
4919
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4922
$as_echo_n 0123456789 >"conftest.in"
4925
cat "conftest.in" "conftest.in" >"conftest.tmp"
4926
mv "conftest.tmp" "conftest.in"
4927
cp "conftest.in" "conftest.nl"
4928
$as_echo 'GREP' >> "conftest.nl"
4929
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4930
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4931
as_fn_arith $ac_count + 1 && ac_count=$as_val
4932
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4933
# Best one so far, save it but keep looking for a better one
4934
ac_cv_path_GREP="$ac_path_GREP"
4935
ac_path_GREP_max=$ac_count
4937
# 10*(2^10) chars as input seems more than enough
4938
test $ac_count -gt 10 && break
4940
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4943
$ac_path_GREP_found && break 3
4948
if test -z "$ac_cv_path_GREP"; then
4949
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4952
ac_cv_path_GREP=$GREP
4956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4957
$as_echo "$ac_cv_path_GREP" >&6; }
4958
GREP="$ac_cv_path_GREP"
4961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4962
$as_echo_n "checking for egrep... " >&6; }
4963
if ${ac_cv_path_EGREP+:} false; then :
4964
$as_echo_n "(cached) " >&6
4966
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4967
then ac_cv_path_EGREP="$GREP -E"
4969
if test -z "$EGREP"; then
4970
ac_path_EGREP_found=false
4971
# Loop through the user's path and test for each of PROGNAME-LIST
4972
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4976
test -z "$as_dir" && as_dir=.
4977
for ac_prog in egrep; do
4978
for ac_exec_ext in '' $ac_executable_extensions; do
4979
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4980
as_fn_executable_p "$ac_path_EGREP" || continue
4981
# Check for GNU ac_path_EGREP and select it if it is found.
4982
# Check for GNU $ac_path_EGREP
4983
case `"$ac_path_EGREP" --version 2>&1` in
4985
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4988
$as_echo_n 0123456789 >"conftest.in"
4991
cat "conftest.in" "conftest.in" >"conftest.tmp"
4992
mv "conftest.tmp" "conftest.in"
4993
cp "conftest.in" "conftest.nl"
4994
$as_echo 'EGREP' >> "conftest.nl"
4995
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4996
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4997
as_fn_arith $ac_count + 1 && ac_count=$as_val
4998
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4999
# Best one so far, save it but keep looking for a better one
5000
ac_cv_path_EGREP="$ac_path_EGREP"
5001
ac_path_EGREP_max=$ac_count
5003
# 10*(2^10) chars as input seems more than enough
5004
test $ac_count -gt 10 && break
5006
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5009
$ac_path_EGREP_found && break 3
5014
if test -z "$ac_cv_path_EGREP"; then
5015
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5018
ac_cv_path_EGREP=$EGREP
5023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5024
$as_echo "$ac_cv_path_EGREP" >&6; }
5025
EGREP="$ac_cv_path_EGREP"
5028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5029
$as_echo_n "checking for ANSI C header files... " >&6; }
5030
if ${ac_cv_header_stdc+:} false; then :
5031
$as_echo_n "(cached) " >&6
5033
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034
/* end confdefs.h. */
5048
if ac_fn_c_try_compile "$LINENO"; then :
5049
ac_cv_header_stdc=yes
5051
ac_cv_header_stdc=no
5053
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5055
if test $ac_cv_header_stdc = yes; then
5056
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5057
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058
/* end confdefs.h. */
5062
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5063
$EGREP "memchr" >/dev/null 2>&1; then :
5066
ac_cv_header_stdc=no
5072
if test $ac_cv_header_stdc = yes; then
5073
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075
/* end confdefs.h. */
5079
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5080
$EGREP "free" >/dev/null 2>&1; then :
5083
ac_cv_header_stdc=no
5089
if test $ac_cv_header_stdc = yes; then
5090
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5091
if test "$cross_compiling" = yes; then :
5094
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095
/* end confdefs.h. */
5098
#if ((' ' & 0x0FF) == 0x020)
5099
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5100
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5102
# define ISLOWER(c) \
5103
(('a' <= (c) && (c) <= 'i') \
5104
|| ('j' <= (c) && (c) <= 'r') \
5105
|| ('s' <= (c) && (c) <= 'z'))
5106
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5109
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5114
for (i = 0; i < 256; i++)
5115
if (XOR (islower (i), ISLOWER (i))
5116
|| toupper (i) != TOUPPER (i))
5121
if ac_fn_c_try_run "$LINENO"; then :
5124
ac_cv_header_stdc=no
5126
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5127
conftest.$ac_objext conftest.beam conftest.$ac_ext
5132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5133
$as_echo "$ac_cv_header_stdc" >&6; }
5134
if test $ac_cv_header_stdc = yes; then
5136
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5140
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5141
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5142
inttypes.h stdint.h unistd.h
5144
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5145
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5147
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5148
cat >>confdefs.h <<_ACEOF
5149
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5157
ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
5158
if test "x$ac_cv_header_bfd_h" = xyes; then :
5161
as_fn_error $? "bfd.h not found.
5162
bfd.h is usually distributed in a binutils development package." "$LINENO" 5
5167
if test $cross_compiling = no; then
5169
HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
5175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system endianness" >&5
5176
$as_echo_n "checking build system endianness... " >&6; }
5177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178
/* end confdefs.h. */
5183
#if __BYTE_ORDER != __LITTLE_ENDIAN
5190
if ac_fn_c_try_cpp "$LINENO"; then :
5195
rm -f conftest.err conftest.i conftest.$ac_ext
5197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5198
/* end confdefs.h. */
5203
#if __BYTE_ORDER != __BIG_ENDIAN
5210
if ac_fn_c_try_cpp "$LINENO"; then :
5215
rm -f conftest.err conftest.i conftest.$ac_ext
5218
if test x"$endian" != "xbig" -a x"$endian" != "xlittle"; then
5219
as_fn_error $? "Can't determine endianness; is endian.h present?" "$LINENO" 5
5221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $endian" >&5
5222
$as_echo "$endian" >&6; }
5224
cat >>confdefs.h <<_ACEOF
5225
#define HAVE_LITTLE_ENDIAN $little_endian
5229
cat >>confdefs.h <<_ACEOF
5230
#define HAVE_BIG_ENDIAN $big_endian
5241
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5242
if test -n "$ac_tool_prefix"; then
5243
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5244
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246
$as_echo_n "checking for $ac_word... " >&6; }
5247
if ${ac_cv_path_PKG_CONFIG+:} false; then :
5248
$as_echo_n "(cached) " >&6
5252
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259
test -z "$as_dir" && as_dir=.
5260
for ac_exec_ext in '' $ac_executable_extensions; do
5261
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5263
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5274
if test -n "$PKG_CONFIG"; then
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5276
$as_echo "$PKG_CONFIG" >&6; }
5278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279
$as_echo "no" >&6; }
5284
if test -z "$ac_cv_path_PKG_CONFIG"; then
5285
ac_pt_PKG_CONFIG=$PKG_CONFIG
5286
# Extract the first word of "pkg-config", so it can be a program name with args.
5287
set dummy pkg-config; ac_word=$2
5288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289
$as_echo_n "checking for $ac_word... " >&6; }
5290
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5291
$as_echo_n "(cached) " >&6
5293
case $ac_pt_PKG_CONFIG in
5295
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302
test -z "$as_dir" && as_dir=.
5303
for ac_exec_ext in '' $ac_executable_extensions; do
5304
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5305
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5306
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5317
if test -n "$ac_pt_PKG_CONFIG"; then
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5319
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322
$as_echo "no" >&6; }
5325
if test "x$ac_pt_PKG_CONFIG" = x; then
5328
case $cross_compiling:$ac_tool_warned in
5330
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5331
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5332
ac_tool_warned=yes ;;
5334
PKG_CONFIG=$ac_pt_PKG_CONFIG
5337
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5341
if test -n "$PKG_CONFIG"; then
5342
_pkg_min_version=0.9.0
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5344
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5345
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5347
$as_echo "yes" >&6; }
5349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350
$as_echo "no" >&6; }
5356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcrypto" >&5
5357
$as_echo_n "checking for libcrypto... " >&6; }
5359
if test -n "$libcrypto_CFLAGS"; then
5360
pkg_cv_libcrypto_CFLAGS="$libcrypto_CFLAGS"
5361
elif test -n "$PKG_CONFIG"; then
5362
if test -n "$PKG_CONFIG" && \
5363
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5
5364
($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
5366
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5367
test $ac_status = 0; }; then
5368
pkg_cv_libcrypto_CFLAGS=`$PKG_CONFIG --cflags "libcrypto" 2>/dev/null`
5369
test "x$?" != "x0" && pkg_failed=yes
5376
if test -n "$libcrypto_LIBS"; then
5377
pkg_cv_libcrypto_LIBS="$libcrypto_LIBS"
5378
elif test -n "$PKG_CONFIG"; then
5379
if test -n "$PKG_CONFIG" && \
5380
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5
5381
($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
5383
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5384
test $ac_status = 0; }; then
5385
pkg_cv_libcrypto_LIBS=`$PKG_CONFIG --libs "libcrypto" 2>/dev/null`
5386
test "x$?" != "x0" && pkg_failed=yes
5396
if test $pkg_failed = yes; then
5397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398
$as_echo "no" >&6; }
5400
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5401
_pkg_short_errors_supported=yes
5403
_pkg_short_errors_supported=no
5405
if test $_pkg_short_errors_supported = yes; then
5406
libcrypto_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto" 2>&1`
5408
libcrypto_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto" 2>&1`
5410
# Put the nasty error message in config.log where it belongs
5411
echo "$libcrypto_PKG_ERRORS" >&5
5413
as_fn_error $? "libcrypto (from the OpenSSL package) is required" "$LINENO" 5
5414
elif test $pkg_failed = untried; then
5415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416
$as_echo "no" >&6; }
5417
as_fn_error $? "libcrypto (from the OpenSSL package) is required" "$LINENO" 5
5419
libcrypto_CFLAGS=$pkg_cv_libcrypto_CFLAGS
5420
libcrypto_LIBS=$pkg_cv_libcrypto_LIBS
5421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5422
$as_echo "yes" >&6; }
5428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5
5429
$as_echo_n "checking for uuid... " >&6; }
5431
if test -n "$uuid_CFLAGS"; then
5432
pkg_cv_uuid_CFLAGS="$uuid_CFLAGS"
5433
elif test -n "$PKG_CONFIG"; then
5434
if test -n "$PKG_CONFIG" && \
5435
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
5436
($PKG_CONFIG --exists --print-errors "uuid") 2>&5
5438
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5439
test $ac_status = 0; }; then
5440
pkg_cv_uuid_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
5441
test "x$?" != "x0" && pkg_failed=yes
5448
if test -n "$uuid_LIBS"; then
5449
pkg_cv_uuid_LIBS="$uuid_LIBS"
5450
elif test -n "$PKG_CONFIG"; then
5451
if test -n "$PKG_CONFIG" && \
5452
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
5453
($PKG_CONFIG --exists --print-errors "uuid") 2>&5
5455
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5456
test $ac_status = 0; }; then
5457
pkg_cv_uuid_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
5458
test "x$?" != "x0" && pkg_failed=yes
5468
if test $pkg_failed = yes; then
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470
$as_echo "no" >&6; }
5472
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5473
_pkg_short_errors_supported=yes
5475
_pkg_short_errors_supported=no
5477
if test $_pkg_short_errors_supported = yes; then
5478
uuid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1`
5480
uuid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1`
5482
# Put the nasty error message in config.log where it belongs
5483
echo "$uuid_PKG_ERRORS" >&5
5485
as_fn_error $? "libuuid (from the uuid package) is required" "$LINENO" 5
5486
elif test $pkg_failed = untried; then
5487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488
$as_echo "no" >&6; }
5489
as_fn_error $? "libuuid (from the uuid package) is required" "$LINENO" 5
5491
uuid_CFLAGS=$pkg_cv_uuid_CFLAGS
5492
uuid_LIBS=$pkg_cv_uuid_LIBS
5493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5494
$as_echo "yes" >&6; }
5498
EFI_ARCH=$(uname -m)
5499
EFI_CPPFLAGS="-I/usr/include/efi -I/usr/include/efi/$EFI_ARCH \
5500
-DEFI_FUNCTION_WRAPPER"
5501
CPPFLAGS_save="$CPPFLAGS"
5502
CPPFLAGS="$CPPFLAGS $EFI_CPPFLAGS"
5503
for ac_header in efi.h
5505
ac_fn_c_check_header_compile "$LINENO" "efi.h" "ac_cv_header_efi_h" "$EFI_INCLUDES
5507
if test "x$ac_cv_header_efi_h" = xyes; then :
5508
cat >>confdefs.h <<_ACEOF
5509
#define HAVE_EFI_H 1
5516
CPPFLAGS="$CPPFLAGS_save"
5517
EFI_CPPFLAGS=$EFI_CPPFLAGS
5520
ac_config_files="$ac_config_files Makefile src/Makefile lib/ccan/Makefile docs/Makefile tests/Makefile"
5522
cat >confcache <<\_ACEOF
5523
# This file is a shell script that caches the results of configure
5524
# tests run on this system so they can be shared between configure
5525
# scripts and configure runs, see configure's option --config-cache.
5526
# It is not useful on other systems. If it contains results you don't
5527
# want to keep, you may remove or edit it.
5529
# config.status only pays attention to the cache file if you give it
5530
# the --recheck option to rerun configure.
5532
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5533
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5538
# The following way of writing the cache mishandles newlines in values,
5539
# but we know of no workaround that is simple, portable, and efficient.
5540
# So, we kill variables containing newlines.
5541
# Ultrix sh set writes to stderr and can't be redirected directly,
5542
# and sets the high bit in the cache file unless we assign to the vars.
5544
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5545
eval ac_val=\$$ac_var
5549
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5550
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5553
_ | IFS | as_nl) ;; #(
5554
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5555
*) { eval $ac_var=; unset $ac_var;} ;;
5561
case $as_nl`(ac_space=' '; set) 2>&1` in #(
5562
*${as_nl}ac_space=\ *)
5563
# `set' does not quote correctly, so add quotes: double-quote
5564
# substitution turns \\\\ into \\, and sed turns \\ into \.
5567
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5570
# `set' quotes correctly as required by POSIX, so do not add quotes.
5571
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5580
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5582
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5584
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5585
if test -w "$cache_file"; then
5586
if test "x$cache_file" != "x/dev/null"; then
5587
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5588
$as_echo "$as_me: updating cache $cache_file" >&6;}
5589
if test ! -f "$cache_file" || test -h "$cache_file"; then
5590
cat confcache >"$cache_file"
5592
case $cache_file in #(
5594
mv -f confcache "$cache_file"$$ &&
5595
mv -f "$cache_file"$$ "$cache_file" ;; #(
5597
mv -f confcache "$cache_file" ;;
5602
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5603
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5608
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5609
# Let make expand exec_prefix.
5610
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5612
DEFS=-DHAVE_CONFIG_H
5617
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5618
# 1. Remove the extension, and $U if already installed.
5619
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5620
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5621
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5622
# will be set to the directory where LIBOBJS objects are built.
5623
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5624
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5628
LTLIBOBJS=$ac_ltlibobjs
5631
if test -n "$EXEEXT"; then
5633
am__EXEEXT_FALSE='#'
5639
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5640
as_fn_error $? "conditional \"AMDEP\" was never defined.
5641
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5643
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5644
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5645
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5647
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
5648
as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
5649
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5651
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5652
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5653
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5656
: "${CONFIG_STATUS=./config.status}"
5658
ac_clean_files_save=$ac_clean_files
5659
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5660
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5661
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5663
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5665
# Generated by $as_me.
5666
# Run this file to recreate the current configuration.
5667
# Compiler output produced by configure, useful for debugging
5668
# configure, is in config.log if it exists.
5674
SHELL=\${CONFIG_SHELL-$SHELL}
5677
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5678
## -------------------- ##
5679
## M4sh Initialization. ##
5680
## -------------------- ##
5682
# Be more Bourne compatible
5683
DUALCASE=1; export DUALCASE # for MKS sh
5684
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5687
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5688
# is contrary to our usage. Disable this feature.
5689
alias -g '${1+"$@"}'='"$@"'
5690
setopt NO_GLOB_SUBST
5692
case `(set -o) 2>/dev/null` in #(
5704
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5705
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5706
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5707
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5708
# Prefer a ksh shell builtin over an external printf program on Solaris,
5709
# but without wasting forks for bash or zsh.
5710
if test -z "$BASH_VERSION$ZSH_VERSION" \
5711
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5712
as_echo='print -r --'
5713
as_echo_n='print -rn --'
5714
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5715
as_echo='printf %s\n'
5716
as_echo_n='printf %s'
5718
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5719
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5720
as_echo_n='/usr/ucb/echo -n'
5722
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5723
as_echo_n_body='eval
5727
expr "X$arg" : "X\\(.*\\)$as_nl";
5728
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5730
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5732
export as_echo_n_body
5733
as_echo_n='sh -c $as_echo_n_body as_echo'
5736
as_echo='sh -c $as_echo_body as_echo'
5739
# The user is always right.
5740
if test "${PATH_SEPARATOR+set}" != set; then
5742
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5743
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5750
# We need space, tab and new line, in precisely that order. Quoting is
5751
# there to prevent editors from complaining about space-tab.
5752
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5753
# splitting by setting IFS to empty value.)
5756
# Find who we are. Look in the path if we contain no directory separator.
5759
*[\\/]* ) as_myself=$0 ;;
5760
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764
test -z "$as_dir" && as_dir=.
5765
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5771
# We did not find ourselves, most probably we were run as `sh COMMAND'
5772
# in which case we are not to be found in the path.
5773
if test "x$as_myself" = x; then
5776
if test ! -f "$as_myself"; then
5777
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5781
# Unset variables that we do not need and which cause bugs (e.g. in
5782
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5783
# suppresses any "Segmentation fault" message there. '((' could
5784
# trigger a bug in pdksh 5.2.14.
5785
for as_var in BASH_ENV ENV MAIL MAILPATH
5786
do eval test x\${$as_var+set} = xset \
5787
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5800
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5803
# as_fn_error STATUS ERROR [LINENO LOG_FD]
5804
# ----------------------------------------
5805
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5806
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5807
# script with STATUS, using 1 if that was 0.
5810
as_status=$1; test $as_status -eq 0 && as_status=1
5812
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5813
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5815
$as_echo "$as_me: error: $2" >&2
5816
as_fn_exit $as_status
5820
# as_fn_set_status STATUS
5821
# -----------------------
5822
# Set $? to STATUS, without forking.
5826
} # as_fn_set_status
5830
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5840
# Portably unset VAR.
5843
{ eval $1=; unset $1;}
5845
as_unset=as_fn_unset
5846
# as_fn_append VAR VALUE
5847
# ----------------------
5848
# Append the text in VALUE to the end of the definition contained in VAR. Take
5849
# advantage of any shell optimizations that allow amortized linear growth over
5850
# repeated appends, instead of the typical quadratic growth present in naive
5852
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5853
eval 'as_fn_append ()
5864
# as_fn_arith ARG...
5865
# ------------------
5866
# Perform arithmetic evaluation on the ARGs, and store the result in the
5867
# global $as_val. Take advantage of shells that can avoid forks. The arguments
5868
# must be portable across $(()) and expr.
5869
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5870
eval 'as_fn_arith ()
5877
as_val=`expr "$@" || test $? -eq 1`
5882
if expr a : '\(a\)' >/dev/null 2>&1 &&
5883
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5889
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5890
as_basename=basename
5895
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5901
as_me=`$as_basename -- "$0" ||
5902
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5903
X"$0" : 'X\(//\)$' \| \
5904
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5906
sed '/^.*\/\([^/][^/]*\)\/*$/{
5920
# Avoid depending upon Character Ranges.
5921
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5922
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5923
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5924
as_cr_digits='0123456789'
5925
as_cr_alnum=$as_cr_Letters$as_cr_digits
5927
ECHO_C= ECHO_N= ECHO_T=
5928
case `echo -n x` in #(((((
5930
case `echo 'xy\c'` in
5931
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5933
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5940
rm -f conf$$ conf$$.exe conf$$.file
5941
if test -d conf$$.dir; then
5942
rm -f conf$$.dir/conf$$.file
5945
mkdir conf$$.dir 2>/dev/null
5947
if (echo >conf$$.file) 2>/dev/null; then
5948
if ln -s conf$$.file conf$$ 2>/dev/null; then
5950
# ... but there are two gotchas:
5951
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5952
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5953
# In both cases, we have to default to `cp -pR'.
5954
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5956
elif ln conf$$.file conf$$ 2>/dev/null; then
5964
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5965
rmdir conf$$.dir 2>/dev/null
5970
# Create "$as_dir" as a directory, including parents if necessary.
5975
-*) as_dir=./$as_dir;;
5977
test -d "$as_dir" || eval $as_mkdir_p || {
5981
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5982
*) as_qdir=$as_dir;;
5984
as_dirs="'$as_qdir' $as_dirs"
5985
as_dir=`$as_dirname -- "$as_dir" ||
5986
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5987
X"$as_dir" : 'X\(//\)[^/]' \| \
5988
X"$as_dir" : 'X\(//\)$' \| \
5989
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5990
$as_echo X"$as_dir" |
5991
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6008
test -d "$as_dir" && break
6010
test -z "$as_dirs" || eval "mkdir $as_dirs"
6011
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6015
if mkdir -p . 2>/dev/null; then
6016
as_mkdir_p='mkdir -p "$as_dir"'
6018
test -d ./-p && rmdir ./-p
6023
# as_fn_executable_p FILE
6024
# -----------------------
6025
# Test if FILE is an executable regular file.
6026
as_fn_executable_p ()
6028
test -f "$1" && test -x "$1"
6029
} # as_fn_executable_p
6031
as_executable_p=as_fn_executable_p
6033
# Sed expression to map a string onto a valid CPP name.
6034
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6036
# Sed expression to map a string onto a valid variable name.
6037
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6041
## ----------------------------------- ##
6042
## Main body of $CONFIG_STATUS script. ##
6043
## ----------------------------------- ##
6045
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6047
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6048
# Save the log message, to keep $0 and so on meaningful, and to
6049
# report actual input values of CONFIG_FILES etc. instead of their
6050
# values after options handling.
6052
This file was extended by sbsigntool $as_me 0.6, which was
6053
generated by GNU Autoconf 2.69. Invocation command line was
6055
CONFIG_FILES = $CONFIG_FILES
6056
CONFIG_HEADERS = $CONFIG_HEADERS
6057
CONFIG_LINKS = $CONFIG_LINKS
6058
CONFIG_COMMANDS = $CONFIG_COMMANDS
6061
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6066
case $ac_config_files in *"
6067
"*) set x $ac_config_files; shift; ac_config_files=$*;;
6070
case $ac_config_headers in *"
6071
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6075
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6076
# Files that config.status was made for.
6077
config_files="$ac_config_files"
6078
config_headers="$ac_config_headers"
6079
config_commands="$ac_config_commands"
6083
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6085
\`$as_me' instantiates files and other configuration actions
6086
from templates according to the current configuration. Unless the files
6087
and actions are specified as TAGs, all are instantiated by default.
6089
Usage: $0 [OPTION]... [TAG]...
6091
-h, --help print this help, then exit
6092
-V, --version print version number and configuration settings, then exit
6093
--config print configuration, then exit
6094
-q, --quiet, --silent
6095
do not print progress messages
6096
-d, --debug don't remove temporary files
6097
--recheck update $as_me by reconfiguring in the same conditions
6098
--file=FILE[:TEMPLATE]
6099
instantiate the configuration file FILE
6100
--header=FILE[:TEMPLATE]
6101
instantiate the configuration header FILE
6103
Configuration files:
6106
Configuration headers:
6109
Configuration commands:
6112
Report bugs to <jeremy.kerr@canonical.com>."
6115
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6116
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6118
sbsigntool config.status 0.6
6119
configured by $0, generated by GNU Autoconf 2.69,
6120
with options \\"\$ac_cs_config\\"
6122
Copyright (C) 2012 Free Software Foundation, Inc.
6123
This config.status script is free software; the Free Software Foundation
6124
gives unlimited permission to copy, distribute and modify it."
6131
test -n "\$AWK" || AWK=awk
6134
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6135
# The default lists apply if the user does not specify any file.
6141
ac_option=`expr "X$1" : 'X\([^=]*\)='`
6142
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6146
ac_option=`expr "X$1" : 'X\([^=]*\)='`
6158
# Handling of the options.
6159
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6161
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6162
$as_echo "$ac_cs_version"; exit ;;
6163
--config | --confi | --conf | --con | --co | --c )
6164
$as_echo "$ac_cs_config"; exit ;;
6165
--debug | --debu | --deb | --de | --d | -d )
6167
--file | --fil | --fi | --f )
6170
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6171
'') as_fn_error $? "missing file argument" ;;
6173
as_fn_append CONFIG_FILES " '$ac_optarg'"
6174
ac_need_defaults=false;;
6175
--header | --heade | --head | --hea )
6178
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6180
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6181
ac_need_defaults=false;;
6183
# Conflict between --help and --header
6184
as_fn_error $? "ambiguous option: \`$1'
6185
Try \`$0 --help' for more information.";;
6186
--help | --hel | -h )
6187
$as_echo "$ac_cs_usage"; exit ;;
6188
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6189
| -silent | --silent | --silen | --sile | --sil | --si | --s)
6193
-*) as_fn_error $? "unrecognized option: \`$1'
6194
Try \`$0 --help' for more information." ;;
6196
*) as_fn_append ac_config_targets " $1"
6197
ac_need_defaults=false ;;
6203
ac_configure_extra_args=
6205
if $ac_cs_silent; then
6207
ac_configure_extra_args="$ac_configure_extra_args --silent"
6211
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6212
if \$ac_cs_recheck; then
6213
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6215
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6216
CONFIG_SHELL='$SHELL'
6222
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6226
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6227
## Running $as_me. ##
6233
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6237
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6241
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6243
# Handling of arguments.
6244
for ac_config_target in $ac_config_targets
6246
case $ac_config_target in
6247
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6248
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6249
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6250
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6251
"lib/ccan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ccan/Makefile" ;;
6252
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
6253
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6255
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6260
# If the user did not use the arguments to specify the items to instantiate,
6261
# then the envvar interface is used. Set only those that are not.
6262
# We use the long form for the default assignment because of an extremely
6263
# bizarre bug on SunOS 4.1.3.
6264
if $ac_need_defaults; then
6265
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6266
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6267
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6270
# Have a temporary directory for convenience. Make it in the build tree
6271
# simply because there is no reason against having it here, and in addition,
6272
# creating and moving files from /tmp can sometimes cause problems.
6273
# Hook for its removal unless debugging.
6274
# Note that there is a small window in which the directory will not be cleaned:
6275
# after its creation but before its name has been assigned to `$tmp'.
6279
trap 'exit_status=$?
6281
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6283
trap 'as_fn_exit 1' 1 2 13 15
6285
# Create a (secure) tmp directory for tmp files.
6288
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6292
tmp=./conf$$-$RANDOM
6293
(umask 077 && mkdir "$tmp")
6294
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6297
# Set up the scripts for CONFIG_FILES section.
6298
# No need to generate them if there are no CONFIG_FILES.
6299
# This happens for instance with `./config.status config.h'.
6300
if test -n "$CONFIG_FILES"; then
6303
ac_cr=`echo X | tr X '\015'`
6304
# On cygwin, bash can eat \r inside `` if the user requested igncr.
6305
# But we know of no other shell where ac_cr would be empty at this
6306
# point, so we can use a bashism as a fallback.
6307
if test "x$ac_cr" = x; then
6308
eval ac_cr=\$\'\\r\'
6310
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6311
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6317
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6322
echo "cat >conf$$subs.awk <<_ACEOF" &&
6323
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6326
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6327
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6329
for ac_last_try in false false false false false :; do
6330
. ./conf$$subs.sh ||
6331
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6333
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6334
if test $ac_delim_n = $ac_delim_num; then
6336
elif $ac_last_try; then
6337
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6339
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6344
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6345
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6349
s/^/S["/; s/!.*/"]=/
6359
s/\(.\{148\}\)..*/\1/
6361
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6366
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6373
s/\(.\{148\}\)..*/\1/
6375
s/["\\]/\\&/g; s/^/"/; s/$/"/
6379
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6384
' <conf$$subs.awk | sed '
6389
' >>$CONFIG_STATUS || ac_write_fail=1
6390
rm -f conf$$subs.awk
6391
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6393
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6394
for (key in S) S_is_set[key] = 1
6400
nfields = split(line, field, "@")
6402
len = length(field[1])
6403
for (i = 2; i < nfields; i++) {
6405
keylen = length(key)
6406
if (S_is_set[key]) {
6408
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6409
len += length(value) + length(field[++i])
6420
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6421
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6422
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6425
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6426
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6429
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6430
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6431
# trailing colons and then remove the whole line if VPATH becomes empty
6432
# (actually we leave an empty line to preserve line numbers).
6433
if test "x$srcdir" = x.; then
6434
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6452
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6453
fi # test -n "$CONFIG_FILES"
6455
# Set up the scripts for CONFIG_HEADERS section.
6456
# No need to generate them if there are no CONFIG_HEADERS.
6457
# This happens for instance with `./config.status Makefile'.
6458
if test -n "$CONFIG_HEADERS"; then
6459
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6463
# Transform confdefs.h into an awk script `defines.awk', embedded as
6464
# here-document in config.status, that substitutes the proper values into
6465
# config.h.in to produce config.h.
6467
# Create a delimiter string that does not exist in confdefs.h, to ease
6468
# handling of long lines.
6470
for ac_last_try in false false :; do
6471
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6472
if test -z "$ac_tt"; then
6474
elif $ac_last_try; then
6475
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6477
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6481
# For the awk script, D is an array of macro values keyed by name,
6482
# likewise P contains macro parameters if any. Preserve backslash
6483
# newline sequences.
6485
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6487
s/.\{148\}/&'"$ac_delim"'/g
6490
s/^[ ]*#[ ]*define[ ][ ]*/ /
6497
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6499
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6503
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6504
D["\1"]=" \3\\\\\\n"\\/p
6506
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6511
s/.\{148\}/&'"$ac_delim"'/g
6516
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6519
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6521
' <confdefs.h | sed '
6522
s/'"$ac_delim"'/"\\\
6523
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6526
for (key in D) D_is_set[key] = 1
6529
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6531
split(line, arg, " ")
6532
if (arg[1] == "#") {
6536
defundef = substr(arg[1], 2)
6539
split(mac1, mac2, "(") #)
6541
prefix = substr(line, 1, index(line, defundef) - 1)
6542
if (D_is_set[macro]) {
6543
# Preserve the white space surrounding the "#".
6544
print prefix "define", macro P[macro] D[macro]
6547
# Replace #undef with comments. This is necessary, for example,
6548
# in the case of _POSIX_SOURCE, which is predefined and required
6549
# on some systems where configure will not decide to define it.
6550
if (defundef == "undef") {
6551
print "/*", prefix defundef, macro, "*/"
6559
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6560
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6561
fi # test -n "$CONFIG_HEADERS"
6564
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6569
:[FHLC]) ac_mode=$ac_tag; continue;;
6571
case $ac_mode$ac_tag in
6573
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6574
:[FH]-) ac_tag=-:-;;
6575
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6592
-) ac_f="$ac_tmp/stdin";;
6593
*) # Look for the file first in the build tree, then in the source tree
6594
# (if the path is not absolute). The absolute path cannot be DOS-style,
6595
# because $ac_f cannot contain `:'.
6599
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6601
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6603
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6604
as_fn_append ac_file_inputs " '$ac_f'"
6607
# Let's still pretend it is `configure' which instantiates (i.e., don't
6608
# use $as_me), people would be surprised to read:
6609
# /* config.h. Generated by config.status. */
6610
configure_input='Generated from '`
6611
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6613
if test x"$ac_file" != x-; then
6614
configure_input="$ac_file. $configure_input"
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6616
$as_echo "$as_me: creating $ac_file" >&6;}
6618
# Neutralize special characters interpreted by sed in replacement strings.
6619
case $configure_input in #(
6620
*\&* | *\|* | *\\* )
6621
ac_sed_conf_input=`$as_echo "$configure_input" |
6622
sed 's/[\\\\&|]/\\\\&/g'`;; #(
6623
*) ac_sed_conf_input=$configure_input;;
6627
*:-:* | *:-) cat >"$ac_tmp/stdin" \
6628
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6633
ac_dir=`$as_dirname -- "$ac_file" ||
6634
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6635
X"$ac_file" : 'X\(//\)[^/]' \| \
6636
X"$ac_file" : 'X\(//\)$' \| \
6637
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6638
$as_echo X"$ac_file" |
6639
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6656
as_dir="$ac_dir"; as_fn_mkdir_p
6660
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6662
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6663
# A ".." for each directory in $ac_dir_suffix.
6664
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6665
case $ac_top_builddir_sub in
6666
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6667
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6670
ac_abs_top_builddir=$ac_pwd
6671
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6672
# for backward compatibility:
6673
ac_top_builddir=$ac_top_build_prefix
6676
.) # We are building in place.
6678
ac_top_srcdir=$ac_top_builddir_sub
6679
ac_abs_top_srcdir=$ac_pwd ;;
6680
[\\/]* | ?:[\\/]* ) # Absolute name.
6681
ac_srcdir=$srcdir$ac_dir_suffix;
6682
ac_top_srcdir=$srcdir
6683
ac_abs_top_srcdir=$srcdir ;;
6685
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6686
ac_top_srcdir=$ac_top_build_prefix$srcdir
6687
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6689
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6699
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6700
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6704
[\\/$]* | ?:[\\/]* ) ;;
6705
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6709
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6710
# If the template does not know about datarootdir, expand it.
6711
# FIXME: This hack should be removed a few years after 2.60.
6712
ac_datarootdir_hack=; ac_datarootdir_seen=
6723
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6724
*datarootdir*) ac_datarootdir_seen=yes;;
6725
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6726
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6727
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6729
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6730
ac_datarootdir_hack='
6731
s&@datadir@&$datadir&g
6732
s&@docdir@&$docdir&g
6733
s&@infodir@&$infodir&g
6734
s&@localedir@&$localedir&g
6735
s&@mandir@&$mandir&g
6736
s&\\\${datarootdir}&$datarootdir&g' ;;
6740
# Neutralize VPATH when `$srcdir' = `.'.
6741
# Shell code in configure.ac might set extrasub.
6742
# FIXME: do we really want to maintain this feature?
6743
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6744
ac_sed_extra="$ac_vpsub
6747
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6749
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6750
s|@configure_input@|$ac_sed_conf_input|;t t
6751
s&@top_builddir@&$ac_top_builddir_sub&;t t
6752
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6753
s&@srcdir@&$ac_srcdir&;t t
6754
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6755
s&@top_srcdir@&$ac_top_srcdir&;t t
6756
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6757
s&@builddir@&$ac_builddir&;t t
6758
s&@abs_builddir@&$ac_abs_builddir&;t t
6759
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6760
s&@INSTALL@&$ac_INSTALL&;t t
6761
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6762
$ac_datarootdir_hack
6764
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6765
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6767
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6768
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6769
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6770
"$ac_tmp/out"`; test -z "$ac_out"; } &&
6771
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6772
which seems to be undefined. Please make sure it is defined" >&5
6773
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6774
which seems to be undefined. Please make sure it is defined" >&2;}
6776
rm -f "$ac_tmp/stdin"
6778
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6779
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6781
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6787
if test x"$ac_file" != x-; then
6789
$as_echo "/* $configure_input */" \
6790
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6791
} >"$ac_tmp/config.h" \
6792
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6793
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6794
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6795
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6798
mv "$ac_tmp/config.h" "$ac_file" \
6799
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6802
$as_echo "/* $configure_input */" \
6803
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6804
|| as_fn_error $? "could not create -" "$LINENO" 5
6806
# Compute "$ac_file"'s index in $config_headers.
6809
for _am_header in $config_headers :; do
6811
$_am_arg | $_am_arg:* )
6814
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6817
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6818
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6819
X"$_am_arg" : 'X\(//\)[^/]' \| \
6820
X"$_am_arg" : 'X\(//\)$' \| \
6821
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6822
$as_echo X"$_am_arg" |
6823
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6839
s/.*/./; q'`/stamp-h$_am_stamp_count
6842
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6843
$as_echo "$as_me: executing $ac_file commands" >&6;}
6848
case $ac_file$ac_mode in
6849
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6850
# Autoconf 2.62 quotes --file arguments for eval, but not when files
6851
# are listed without --file. Let's play safe and only enable the eval
6852
# if we detect the quoting.
6853
case $CONFIG_FILES in
6854
*\'*) eval set x "$CONFIG_FILES" ;;
6855
*) set x $CONFIG_FILES ;;
6860
# Strip MF so we end up with the name of the file.
6861
mf=`echo "$mf" | sed -e 's/:.*$//'`
6862
# Check whether this is an Automake generated Makefile or not.
6863
# We used to match only the files named `Makefile.in', but
6864
# some people rename them; so instead we look at the file content.
6865
# Grep'ing the first line is not enough: some people post-process
6866
# each Makefile.in and add a new line on top of each file to say so.
6867
# Grep'ing the whole file is not good either: AIX grep has a line
6868
# limit of 2048, but all sed's we know have understand at least 4000.
6869
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6870
dirpart=`$as_dirname -- "$mf" ||
6871
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6872
X"$mf" : 'X\(//\)[^/]' \| \
6873
X"$mf" : 'X\(//\)$' \| \
6874
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6876
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6896
# Extract the definition of DEPDIR, am__include, and am__quote
6897
# from the Makefile without running `make'.
6898
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6899
test -z "$DEPDIR" && continue
6900
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6901
test -z "am__include" && continue
6902
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6903
# When using ansi2knr, U may be empty or an underscore; expand it
6904
U=`sed -n 's/^U = //p' < "$mf"`
6905
# Find all dependency output files, they are included files with
6906
# $(DEPDIR) in their names. We invoke sed twice because it is the
6907
# simplest approach to changing $(DEPDIR) to its actual value in the
6909
for file in `sed -n "
6910
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6911
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6912
# Make sure the directory exists.
6913
test -f "$dirpart/$file" && continue
6914
fdir=`$as_dirname -- "$file" ||
6915
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6916
X"$file" : 'X\(//\)[^/]' \| \
6917
X"$file" : 'X\(//\)$' \| \
6918
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6920
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6937
as_dir=$dirpart/$fdir; as_fn_mkdir_p
6938
# echo "creating $dirpart/$file"
6939
echo '# dummy' > "$dirpart/$file"
6951
ac_clean_files=$ac_clean_files_save
6953
test $ac_write_fail = 0 ||
6954
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6957
# configure is writing to config.log, and then calls config.status.
6958
# config.status does its own redirection, appending to config.log.
6959
# Unfortunately, on DOS this fails, as config.log is still kept open
6960
# by configure, so config.status won't be able to write to it; its
6961
# output is simply discarded. So we exec the FD to /dev/null,
6962
# effectively closing config.log, so it can be properly (re)opened and
6963
# appended to by config.status. When coming back to configure, we
6964
# need to make the FD available again.
6965
if test "$no_create" != yes; then
6967
ac_config_status_args=
6968
test "$silent" = yes &&
6969
ac_config_status_args="$ac_config_status_args --quiet"
6971
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6973
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6974
# would make configure fail if this is the last instruction.
6975
$ac_cs_success || as_fn_exit 1
6977
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6979
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}