2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.69 for libwaveplot 1.0.
5
@%:@ Report bugs to <ben.sput@gmail.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 @%:@(
173
set -o posix ;; @%:@(
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
202
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
PATH=/empty FPATH=/empty; export PATH FPATH
207
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
test \$(( 1 + 1 )) = 2 || exit 1"
210
if (eval "$as_required") 2>/dev/null; then :
215
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
test -z "$as_dir" && as_dir=.
225
case $as_dir in @%:@(
227
for as_base in sh bash ksh sh5; do
228
# Try only shells that exist, to save several forks.
229
as_shell=$as_dir/$as_base
230
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
CONFIG_SHELL=$as_shell as_have_required=yes
233
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
CONFIG_SHELL=$SHELL as_have_required=yes
248
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270
if test x$as_have_required = xno; then :
271
$as_echo "$0: This script requires a shell more modern than all"
272
$as_echo "$0: the shells that I found on your system."
273
if test x${ZSH_VERSION+set} = xset ; then
274
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
277
$as_echo "$0: Please tell bug-autoconf@gnu.org and ben.sput@gmail.com
278
$0: about your system, including any error possibly output
279
$0: before this message. Then install a modern shell, or
280
$0: manually run the script under such a shell if you do
287
SHELL=${CONFIG_SHELL-/bin/sh}
289
# Unset more variables known to interfere with behavior of common tools.
290
CLICOLOR_FORCE= GREP_OPTIONS=
291
unset CLICOLOR_FORCE GREP_OPTIONS
293
## --------------------- ##
294
## M4sh Shell Functions. ##
295
## --------------------- ##
298
@%:@ Portably unset VAR.
301
{ eval $1=; unset $1;}
305
@%:@ as_fn_set_status STATUS
306
@%:@ -----------------------
307
@%:@ Set @S|@? to STATUS, without forking.
311
} @%:@ as_fn_set_status
313
@%:@ as_fn_exit STATUS
314
@%:@ -----------------
315
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
330
-*) as_dir=./$as_dir;;
332
test -d "$as_dir" || eval $as_mkdir_p || {
336
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339
as_dirs="'$as_qdir' $as_dirs"
340
as_dir=`$as_dirname -- "$as_dir" ||
341
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342
X"$as_dir" : 'X\(//\)[^/]' \| \
343
X"$as_dir" : 'X\(//\)$' \| \
344
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345
$as_echo X"$as_dir" |
346
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363
test -d "$as_dir" && break
365
test -z "$as_dirs" || eval "mkdir $as_dirs"
366
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371
@%:@ as_fn_executable_p FILE
372
@%:@ -----------------------
373
@%:@ Test if FILE is an executable regular file.
374
as_fn_executable_p ()
376
test -f "$1" && test -x "$1"
377
} @%:@ as_fn_executable_p
378
@%:@ as_fn_append VAR VALUE
379
@%:@ ----------------------
380
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
381
@%:@ advantage of any shell optimizations that allow amortized linear growth over
382
@%:@ repeated appends, instead of the typical quadratic growth present in naive
383
@%:@ implementations.
384
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385
eval 'as_fn_append ()
396
@%:@ as_fn_arith ARG...
397
@%:@ ------------------
398
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
399
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
400
@%:@ must be portable across @S|@(()) and expr.
401
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409
as_val=`expr "$@" || test $? -eq 1`
414
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
415
@%:@ ----------------------------------------
416
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418
@%:@ script with STATUS, using 1 if that was 0.
421
as_status=$1; test $as_status -eq 0 && as_status=1
423
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426
$as_echo "$as_me: error: $2" >&2
427
as_fn_exit $as_status
430
if expr a : '\(a\)' >/dev/null 2>&1 &&
431
test "X`expr 00001 : '.*\(...\)'`" = X001; then
437
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449
as_me=`$as_basename -- "$0" ||
450
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451
X"$0" : 'X\(//\)$' \| \
452
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454
sed '/^.*\/\([^/][^/]*\)\/*$/{
468
# Avoid depending upon Character Ranges.
469
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472
as_cr_digits='0123456789'
473
as_cr_alnum=$as_cr_Letters$as_cr_digits
476
as_lineno_1=$LINENO as_lineno_1a=$LINENO
477
as_lineno_2=$LINENO as_lineno_2a=$LINENO
478
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496
chmod +x "$as_me.lineno" ||
497
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500
# already done that, so ensure we don't try to do so again and fall
501
# in an infinite loop. This has already happened in practice.
502
_as_can_reexec=no; export _as_can_reexec
503
# Don't try to exec as it changes $[0], causing all sort of problems
504
# (the dirname of $[0] is not the place where we might find the
505
# original and so on. Autoconf is especially sensitive to this).
507
# Exit status is that of the last command.
511
ECHO_C= ECHO_N= ECHO_T=
512
case `echo -n x` in @%:@(((((
514
case `echo 'xy\c'` in
515
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
517
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524
rm -f conf$$ conf$$.exe conf$$.file
525
if test -d conf$$.dir; then
526
rm -f conf$$.dir/conf$$.file
529
mkdir conf$$.dir 2>/dev/null
531
if (echo >conf$$.file) 2>/dev/null; then
532
if ln -s conf$$.file conf$$ 2>/dev/null; then
534
# ... but there are two gotchas:
535
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537
# In both cases, we have to default to `cp -pR'.
538
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540
elif ln conf$$.file conf$$ 2>/dev/null; then
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549
rmdir conf$$.dir 2>/dev/null
551
if mkdir -p . 2>/dev/null; then
552
as_mkdir_p='mkdir -p "$as_dir"'
554
test -d ./-p && rmdir ./-p
559
as_executable_p=as_fn_executable_p
561
# Sed expression to map a string onto a valid CPP name.
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
# Sed expression to map a string onto a valid variable name.
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
SHELL=${CONFIG_SHELL-/bin/sh}
570
test -n "$DJDIR" || exec 7<&0 </dev/null
574
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575
# so uname gets run too.
576
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
ac_default_prefix=/usr/local
583
ac_config_libobj_dir=.
590
# Identity of this package.
591
PACKAGE_NAME='libwaveplot'
592
PACKAGE_TARNAME='libwaveplot'
593
PACKAGE_VERSION='1.0'
594
PACKAGE_STRING='libwaveplot 1.0'
595
PACKAGE_BUGREPORT='ben.sput@gmail.com'
598
ac_unique_file="src/waveplot.h"
599
# Factoring default headers for most tests.
600
ac_includes_default="\
602
#ifdef HAVE_SYS_TYPES_H
603
# include <sys/types.h>
605
#ifdef HAVE_SYS_STAT_H
606
# include <sys/stat.h>
612
# ifdef HAVE_STDLIB_H
617
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622
#ifdef HAVE_STRINGS_H
623
# include <strings.h>
625
#ifdef HAVE_INTTYPES_H
626
# include <inttypes.h>
635
ac_subst_vars='am__EXEEXT_FALSE
698
INSTALL_STRIP_PROGRAM
740
program_transform_name
753
enable_option_checking
759
enable_dependency_tracking
764
ac_precious_vars='build_alias
775
# Initialize some variables set by options.
777
ac_init_version=false
778
ac_unrecognized_opts=
780
# The variables have the same names as the options, with
781
# dashes changed to underlines.
789
program_transform_name=s,x,x,
797
# Installation directory options.
798
# These are left unexpanded so users can "make install exec_prefix=/foo"
799
# and all the variables that are supposed to be based on exec_prefix
800
# by default will actually change.
801
# Use braces instead of parens because sh, perl, etc. also accept them.
802
# (The list follows the same order as the GNU Coding Standards.)
803
bindir='${exec_prefix}/bin'
804
sbindir='${exec_prefix}/sbin'
805
libexecdir='${exec_prefix}/libexec'
806
datarootdir='${prefix}/share'
807
datadir='${datarootdir}'
808
sysconfdir='${prefix}/etc'
809
sharedstatedir='${prefix}/com'
810
localstatedir='${prefix}/var'
811
includedir='${prefix}/include'
812
oldincludedir='/usr/include'
813
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
814
infodir='${datarootdir}/info'
819
libdir='${exec_prefix}/lib'
820
localedir='${datarootdir}/locale'
821
mandir='${datarootdir}/man'
827
# If the previous option needs an argument, assign it.
828
if test -n "$ac_prev"; then
829
eval $ac_prev=\$ac_option
835
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840
# Accept the important Cygnus configure options, so we can diagnose typos.
842
case $ac_dashdash$ac_option in
846
-bindir | --bindir | --bindi | --bind | --bin | --bi)
848
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851
-build | --build | --buil | --bui | --bu)
852
ac_prev=build_alias ;;
853
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
854
build_alias=$ac_optarg ;;
856
-cache-file | --cache-file | --cache-fil | --cache-fi \
857
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
858
ac_prev=cache_file ;;
859
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
860
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
861
cache_file=$ac_optarg ;;
864
cache_file=config.cache ;;
866
-datadir | --datadir | --datadi | --datad)
868
-datadir=* | --datadir=* | --datadi=* | --datad=*)
869
datadir=$ac_optarg ;;
871
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
872
| --dataroo | --dataro | --datar)
873
ac_prev=datarootdir ;;
874
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
875
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
876
datarootdir=$ac_optarg ;;
878
-disable-* | --disable-*)
879
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880
# Reject names that are not valid shell variable names.
881
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882
as_fn_error $? "invalid feature name: $ac_useropt"
883
ac_useropt_orig=$ac_useropt
884
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885
case $ac_user_opts in
889
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
890
ac_unrecognized_sep=', ';;
892
eval enable_$ac_useropt=no ;;
894
-docdir | --docdir | --docdi | --doc | --do)
896
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
901
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904
-enable-* | --enable-*)
905
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906
# Reject names that are not valid shell variable names.
907
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908
as_fn_error $? "invalid feature name: $ac_useropt"
909
ac_useropt_orig=$ac_useropt
910
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911
case $ac_user_opts in
915
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
916
ac_unrecognized_sep=', ';;
918
eval enable_$ac_useropt=\$ac_optarg ;;
920
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922
| --exec | --exe | --ex)
923
ac_prev=exec_prefix ;;
924
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926
| --exec=* | --exe=* | --ex=*)
927
exec_prefix=$ac_optarg ;;
929
-gas | --gas | --ga | --g)
930
# Obsolete; use --with-gas.
933
-help | --help | --hel | --he | -h)
935
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936
ac_init_help=recursive ;;
937
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938
ac_init_help=short ;;
940
-host | --host | --hos | --ho)
941
ac_prev=host_alias ;;
942
-host=* | --host=* | --hos=* | --ho=*)
943
host_alias=$ac_optarg ;;
945
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949
htmldir=$ac_optarg ;;
951
-includedir | --includedir | --includedi | --included | --include \
952
| --includ | --inclu | --incl | --inc)
953
ac_prev=includedir ;;
954
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955
| --includ=* | --inclu=* | --incl=* | --inc=*)
956
includedir=$ac_optarg ;;
958
-infodir | --infodir | --infodi | --infod | --info | --inf)
960
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961
infodir=$ac_optarg ;;
963
-libdir | --libdir | --libdi | --libd)
965
-libdir=* | --libdir=* | --libdi=* | --libd=*)
968
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969
| --libexe | --libex | --libe)
970
ac_prev=libexecdir ;;
971
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972
| --libexe=* | --libex=* | --libe=*)
973
libexecdir=$ac_optarg ;;
975
-localedir | --localedir | --localedi | --localed | --locale)
977
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978
localedir=$ac_optarg ;;
980
-localstatedir | --localstatedir | --localstatedi | --localstated \
981
| --localstate | --localstat | --localsta | --localst | --locals)
982
ac_prev=localstatedir ;;
983
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985
localstatedir=$ac_optarg ;;
987
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993
# Obsolete; use --without-fp.
996
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
997
| --no-cr | --no-c | -n)
1000
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006
| --oldin | --oldi | --old | --ol | --o)
1007
ac_prev=oldincludedir ;;
1008
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011
oldincludedir=$ac_optarg ;;
1013
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016
prefix=$ac_optarg ;;
1018
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1019
| --program-pre | --program-pr | --program-p)
1020
ac_prev=program_prefix ;;
1021
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1022
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023
program_prefix=$ac_optarg ;;
1025
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1026
| --program-suf | --program-su | --program-s)
1027
ac_prev=program_suffix ;;
1028
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1029
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030
program_suffix=$ac_optarg ;;
1032
-program-transform-name | --program-transform-name \
1033
| --program-transform-nam | --program-transform-na \
1034
| --program-transform-n | --program-transform- \
1035
| --program-transform | --program-transfor \
1036
| --program-transfo | --program-transf \
1037
| --program-trans | --program-tran \
1038
| --progr-tra | --program-tr | --program-t)
1039
ac_prev=program_transform_name ;;
1040
-program-transform-name=* | --program-transform-name=* \
1041
| --program-transform-nam=* | --program-transform-na=* \
1042
| --program-transform-n=* | --program-transform-=* \
1043
| --program-transform=* | --program-transfor=* \
1044
| --program-transfo=* | --program-transf=* \
1045
| --program-trans=* | --program-tran=* \
1046
| --progr-tra=* | --program-tr=* | --program-t=*)
1047
program_transform_name=$ac_optarg ;;
1049
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052
pdfdir=$ac_optarg ;;
1054
-psdir | --psdir | --psdi | --psd | --ps)
1056
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060
| -silent | --silent | --silen | --sile | --sil)
1063
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067
sbindir=$ac_optarg ;;
1069
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1070
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071
| --sharedst | --shareds | --shared | --share | --shar \
1073
ac_prev=sharedstatedir ;;
1074
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078
sharedstatedir=$ac_optarg ;;
1080
-site | --site | --sit)
1082
-site=* | --site=* | --sit=*)
1085
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088
srcdir=$ac_optarg ;;
1090
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091
| --syscon | --sysco | --sysc | --sys | --sy)
1092
ac_prev=sysconfdir ;;
1093
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095
sysconfdir=$ac_optarg ;;
1097
-target | --target | --targe | --targ | --tar | --ta | --t)
1098
ac_prev=target_alias ;;
1099
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100
target_alias=$ac_optarg ;;
1102
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1105
-version | --version | --versio | --versi | --vers | -V)
1106
ac_init_version=: ;;
1109
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110
# Reject names that are not valid shell variable names.
1111
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112
as_fn_error $? "invalid package name: $ac_useropt"
1113
ac_useropt_orig=$ac_useropt
1114
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115
case $ac_user_opts in
1119
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120
ac_unrecognized_sep=', ';;
1122
eval with_$ac_useropt=\$ac_optarg ;;
1124
-without-* | --without-*)
1125
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126
# Reject names that are not valid shell variable names.
1127
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128
as_fn_error $? "invalid package name: $ac_useropt"
1129
ac_useropt_orig=$ac_useropt
1130
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131
case $ac_user_opts in
1135
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1136
ac_unrecognized_sep=', ';;
1138
eval with_$ac_useropt=no ;;
1141
# Obsolete; use --with-x.
1144
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1145
| --x-incl | --x-inc | --x-in | --x-i)
1146
ac_prev=x_includes ;;
1147
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1148
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1149
x_includes=$ac_optarg ;;
1151
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1152
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1153
ac_prev=x_libraries ;;
1154
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1155
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1156
x_libraries=$ac_optarg ;;
1158
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1159
Try \`$0 --help' for more information"
1163
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1164
# Reject names that are not valid shell variable names.
1165
case $ac_envvar in #(
1166
'' | [0-9]* | *[!_$as_cr_alnum]* )
1167
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1169
eval $ac_envvar=\$ac_optarg
1170
export $ac_envvar ;;
1173
# FIXME: should be removed in autoconf 3.0.
1174
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1175
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1177
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1183
if test -n "$ac_prev"; then
1184
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1185
as_fn_error $? "missing argument to $ac_option"
1188
if test -n "$ac_unrecognized_opts"; then
1189
case $enable_option_checking in
1191
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1192
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196
# Check all directory arguments for consistency.
1197
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1198
datadir sysconfdir sharedstatedir localstatedir includedir \
1199
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1200
libdir localedir mandir
1202
eval ac_val=\$$ac_var
1203
# Remove trailing slashes.
1206
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1207
eval $ac_var=\$ac_val;;
1209
# Be sure to have absolute directory names.
1211
[\\/$]* | ?:[\\/]* ) continue;;
1212
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1214
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1217
# There might be people who depend on the old broken behavior: `$host'
1218
# used to hold the argument of --host etc.
1219
# FIXME: To remove some day.
1222
target=$target_alias
1224
# FIXME: To remove some day.
1225
if test "x$host_alias" != x; then
1226
if test "x$build_alias" = x; then
1227
cross_compiling=maybe
1228
elif test "x$build_alias" != "x$host_alias"; then
1234
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1236
test "$silent" = yes && exec 6>/dev/null
1239
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1240
ac_ls_di=`ls -di .` &&
1241
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1242
as_fn_error $? "working directory cannot be determined"
1243
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244
as_fn_error $? "pwd does not report name of working directory"
1247
# Find the source files, if location was not specified.
1248
if test -z "$srcdir"; then
1249
ac_srcdir_defaulted=yes
1250
# Try the directory containing this script, then the parent directory.
1251
ac_confdir=`$as_dirname -- "$as_myself" ||
1252
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1253
X"$as_myself" : 'X\(//\)[^/]' \| \
1254
X"$as_myself" : 'X\(//\)$' \| \
1255
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1256
$as_echo X"$as_myself" |
1257
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275
if test ! -r "$srcdir/$ac_unique_file"; then
1279
ac_srcdir_defaulted=no
1281
if test ! -r "$srcdir/$ac_unique_file"; then
1282
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1283
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1285
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1287
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1289
# When building in place, set srcdir=.
1290
if test "$ac_abs_confdir" = "$ac_pwd"; then
1293
# Remove unnecessary trailing slashes from srcdir.
1294
# Double slashes in file names in object file debugging info
1295
# mess up M-x gdb in Emacs.
1297
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1299
for ac_var in $ac_precious_vars; do
1300
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1301
eval ac_env_${ac_var}_value=\$${ac_var}
1302
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1303
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1307
# Report the --help message.
1309
if test "$ac_init_help" = "long"; then
1310
# Omit some internal or obsolete options to make the list less imposing.
1311
# This message is too long to be a string in the A/UX 3.1 sh.
1313
\`configure' configures libwaveplot 1.0 to adapt to many kinds of systems.
1315
Usage: $0 [OPTION]... [VAR=VALUE]...
1317
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1318
VAR=VALUE. See below for descriptions of some of the useful variables.
1320
Defaults for the options are specified in brackets.
1323
-h, --help display this help and exit
1324
--help=short display options specific to this package
1325
--help=recursive display the short help of all the included packages
1326
-V, --version display version information and exit
1327
-q, --quiet, --silent do not print \`checking ...' messages
1328
--cache-file=FILE cache test results in FILE [disabled]
1329
-C, --config-cache alias for \`--cache-file=config.cache'
1330
-n, --no-create do not create output files
1331
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1333
Installation directories:
1334
--prefix=PREFIX install architecture-independent files in PREFIX
1335
@<:@@S|@ac_default_prefix@:>@
1336
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1339
By default, \`make install' will install all the files in
1340
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1341
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1342
for instance \`--prefix=\$HOME'.
1344
For better control, use the options below.
1346
Fine tuning of the installation directories:
1347
--bindir=DIR user executables [EPREFIX/bin]
1348
--sbindir=DIR system admin executables [EPREFIX/sbin]
1349
--libexecdir=DIR program executables [EPREFIX/libexec]
1350
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1351
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1352
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1353
--libdir=DIR object code libraries [EPREFIX/lib]
1354
--includedir=DIR C header files [PREFIX/include]
1355
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1356
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1357
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1358
--infodir=DIR info documentation [DATAROOTDIR/info]
1359
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1360
--mandir=DIR man documentation [DATAROOTDIR/man]
1361
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/libwaveplot@:>@
1362
--htmldir=DIR html documentation [DOCDIR]
1363
--dvidir=DIR dvi documentation [DOCDIR]
1364
--pdfdir=DIR pdf documentation [DOCDIR]
1365
--psdir=DIR ps documentation [DOCDIR]
1371
--program-prefix=PREFIX prepend PREFIX to installed program names
1372
--program-suffix=SUFFIX append SUFFIX to installed program names
1373
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1376
--build=BUILD configure for building on BUILD [guessed]
1377
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1381
if test -n "$ac_init_help"; then
1382
case $ac_init_help in
1383
short | recursive ) echo "Configuration of libwaveplot 1.0:";;
1388
--disable-option-checking ignore unrecognized --enable/--with options
1389
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1390
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1391
--enable-silent-rules less verbose build output (undo: "make V=1")
1392
--disable-silent-rules verbose build output (undo: "make V=0")
1393
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1394
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1395
--enable-fast-install@<:@=PKGS@:>@
1396
optimize for fast installation @<:@default=yes@:>@
1397
--enable-dependency-tracking
1398
do not reject slow dependency extractors
1399
--disable-dependency-tracking
1400
speeds up one-time build
1401
--disable-libtool-lock avoid locking (might break parallel builds)
1404
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1405
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1406
--with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1408
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1409
--with-sysroot=DIR Search for dependent libraries within DIR
1410
(or the compiler's sysroot if not specified).
1412
Some influential environment variables:
1413
CC C compiler command
1414
CFLAGS C compiler flags
1415
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1416
nonstandard directory <lib dir>
1417
LIBS libraries to pass to the linker, e.g. -l<library>
1418
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1419
you have headers in a nonstandard directory <include dir>
1422
Use these variables to override the choices made by `configure' or to help
1423
it to find libraries and programs with nonstandard names/locations.
1425
Report bugs to <ben.sput@gmail.com>.
1430
if test "$ac_init_help" = "recursive"; then
1431
# If there are subdirs, report their specific --help.
1432
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1433
test -d "$ac_dir" ||
1434
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1439
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1442
# A ".." for each directory in $ac_dir_suffix.
1443
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1444
case $ac_top_builddir_sub in
1445
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1449
ac_abs_top_builddir=$ac_pwd
1450
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1451
# for backward compatibility:
1452
ac_top_builddir=$ac_top_build_prefix
1455
.) # We are building in place.
1457
ac_top_srcdir=$ac_top_builddir_sub
1458
ac_abs_top_srcdir=$ac_pwd ;;
1459
[\\/]* | ?:[\\/]* ) # Absolute name.
1460
ac_srcdir=$srcdir$ac_dir_suffix;
1461
ac_top_srcdir=$srcdir
1462
ac_abs_top_srcdir=$srcdir ;;
1464
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1465
ac_top_srcdir=$ac_top_build_prefix$srcdir
1466
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1468
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1470
cd "$ac_dir" || { ac_status=$?; continue; }
1471
# Check for guested configure.
1472
if test -f "$ac_srcdir/configure.gnu"; then
1474
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1475
elif test -f "$ac_srcdir/configure"; then
1477
$SHELL "$ac_srcdir/configure" --help=recursive
1479
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481
cd "$ac_pwd" || { ac_status=$?; break; }
1485
test -n "$ac_init_help" && exit $ac_status
1486
if $ac_init_version; then
1488
libwaveplot configure 1.0
1489
generated by GNU Autoconf 2.69
1491
Copyright (C) 2012 Free Software Foundation, Inc.
1492
This configure script is free software; the Free Software Foundation
1493
gives unlimited permission to copy, distribute and modify it.
1498
## ------------------------ ##
1499
## Autoconf initialization. ##
1500
## ------------------------ ##
1502
@%:@ ac_fn_c_try_compile LINENO
1503
@%:@ --------------------------
1504
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1505
ac_fn_c_try_compile ()
1507
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508
rm -f conftest.$ac_objext
1509
if { { ac_try="$ac_compile"
1511
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1512
*) ac_try_echo=$ac_try;;
1514
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515
$as_echo "$ac_try_echo"; } >&5
1516
(eval "$ac_compile") 2>conftest.err
1518
if test -s conftest.err; then
1519
grep -v '^ *+' conftest.err >conftest.er1
1520
cat conftest.er1 >&5
1521
mv -f conftest.er1 conftest.err
1523
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524
test $ac_status = 0; } && {
1525
test -z "$ac_c_werror_flag" ||
1526
test ! -s conftest.err
1527
} && test -s conftest.$ac_objext; then :
1530
$as_echo "$as_me: failed program was:" >&5
1531
sed 's/^/| /' conftest.$ac_ext >&5
1535
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536
as_fn_set_status $ac_retval
1538
} @%:@ ac_fn_c_try_compile
1540
@%:@ ac_fn_c_try_link LINENO
1541
@%:@ -----------------------
1542
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1545
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546
rm -f conftest.$ac_objext conftest$ac_exeext
1547
if { { ac_try="$ac_link"
1549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550
*) ac_try_echo=$ac_try;;
1552
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553
$as_echo "$ac_try_echo"; } >&5
1554
(eval "$ac_link") 2>conftest.err
1556
if test -s conftest.err; then
1557
grep -v '^ *+' conftest.err >conftest.er1
1558
cat conftest.er1 >&5
1559
mv -f conftest.er1 conftest.err
1561
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562
test $ac_status = 0; } && {
1563
test -z "$ac_c_werror_flag" ||
1564
test ! -s conftest.err
1565
} && test -s conftest$ac_exeext && {
1566
test "$cross_compiling" = yes ||
1567
test -x conftest$ac_exeext
1571
$as_echo "$as_me: failed program was:" >&5
1572
sed 's/^/| /' conftest.$ac_ext >&5
1576
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1577
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1578
# interfere with the next link command; also delete a directory that is
1579
# left behind by Apple's compiler. We do this before executing the actions.
1580
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1581
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582
as_fn_set_status $ac_retval
1584
} @%:@ ac_fn_c_try_link
1586
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1587
@%:@ -------------------------------------------------------
1588
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1589
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1590
ac_fn_c_check_header_compile ()
1592
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1594
$as_echo_n "checking for $2... " >&6; }
1595
if eval \${$3+:} false; then :
1596
$as_echo_n "(cached) " >&6
1598
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1599
/* end confdefs.h. */
1603
if ac_fn_c_try_compile "$LINENO"; then :
1608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612
$as_echo "$ac_res" >&6; }
1613
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615
} @%:@ ac_fn_c_check_header_compile
1617
@%:@ ac_fn_c_try_cpp LINENO
1618
@%:@ ----------------------
1619
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1622
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623
if { { ac_try="$ac_cpp conftest.$ac_ext"
1625
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626
*) ac_try_echo=$ac_try;;
1628
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629
$as_echo "$ac_try_echo"; } >&5
1630
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1632
if test -s conftest.err; then
1633
grep -v '^ *+' conftest.err >conftest.er1
1634
cat conftest.er1 >&5
1635
mv -f conftest.er1 conftest.err
1637
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638
test $ac_status = 0; } > conftest.i && {
1639
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1640
test ! -s conftest.err
1644
$as_echo "$as_me: failed program was:" >&5
1645
sed 's/^/| /' conftest.$ac_ext >&5
1649
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
as_fn_set_status $ac_retval
1652
} @%:@ ac_fn_c_try_cpp
1654
@%:@ ac_fn_c_try_run LINENO
1655
@%:@ ----------------------
1656
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1657
@%:@ that executables *can* be run.
1660
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
if { { ac_try="$ac_link"
1663
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664
*) ac_try_echo=$ac_try;;
1666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667
$as_echo "$ac_try_echo"; } >&5
1668
(eval "$ac_link") 2>&5
1670
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1672
{ { case "(($ac_try" in
1673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674
*) ac_try_echo=$ac_try;;
1676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677
$as_echo "$ac_try_echo"; } >&5
1678
(eval "$ac_try") 2>&5
1680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681
test $ac_status = 0; }; }; then :
1684
$as_echo "$as_me: program exited with status $ac_status" >&5
1685
$as_echo "$as_me: failed program was:" >&5
1686
sed 's/^/| /' conftest.$ac_ext >&5
1688
ac_retval=$ac_status
1690
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692
as_fn_set_status $ac_retval
1694
} @%:@ ac_fn_c_try_run
1696
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1697
@%:@ ----------------------------------
1698
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1699
ac_fn_c_check_func ()
1701
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703
$as_echo_n "checking for $2... " >&6; }
1704
if eval \${$3+:} false; then :
1705
$as_echo_n "(cached) " >&6
1707
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708
/* end confdefs.h. */
1709
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1710
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1711
#define $2 innocuous_$2
1713
/* System header to define __stub macros and hopefully few prototypes,
1714
which can conflict with char $2 (); below.
1715
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1716
<limits.h> exists even on freestanding compilers. */
1719
# include <limits.h>
1721
# include <assert.h>
1726
/* Override any GCC internal prototype to avoid an error.
1727
Use char because int might match the return type of a GCC
1728
builtin and then its argument prototype would still apply. */
1733
/* The GNU C library defines this for functions which it implements
1734
to always fail with ENOSYS. Some functions are actually named
1735
something starting with __ and the normal name is an alias. */
1736
#if defined __stub_$2 || defined __stub___$2
1748
if ac_fn_c_try_link "$LINENO"; then :
1753
rm -f core conftest.err conftest.$ac_objext \
1754
conftest$ac_exeext conftest.$ac_ext
1757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758
$as_echo "$ac_res" >&6; }
1759
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761
} @%:@ ac_fn_c_check_func
1763
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1764
@%:@ -------------------------------------------------------
1765
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1766
@%:@ the include files in INCLUDES and setting the cache variable VAR
1768
ac_fn_c_check_header_mongrel ()
1770
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771
if eval \${$3+:} false; then :
1772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773
$as_echo_n "checking for $2... " >&6; }
1774
if eval \${$3+:} false; then :
1775
$as_echo_n "(cached) " >&6
1778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779
$as_echo "$ac_res" >&6; }
1781
# Is the header compilable?
1782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1783
$as_echo_n "checking $2 usability... " >&6; }
1784
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785
/* end confdefs.h. */
1789
if ac_fn_c_try_compile "$LINENO"; then :
1790
ac_header_compiler=yes
1792
ac_header_compiler=no
1794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1796
$as_echo "$ac_header_compiler" >&6; }
1798
# Is the header present?
1799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1800
$as_echo_n "checking $2 presence... " >&6; }
1801
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802
/* end confdefs.h. */
1805
if ac_fn_c_try_cpp "$LINENO"; then :
1806
ac_header_preproc=yes
1808
ac_header_preproc=no
1810
rm -f conftest.err conftest.i conftest.$ac_ext
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1812
$as_echo "$ac_header_preproc" >&6; }
1814
# So? What about this header?
1815
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1817
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1818
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1819
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1824
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1825
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1826
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1827
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1828
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1829
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1830
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1831
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1832
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1833
( $as_echo "## --------------------------------- ##
1834
## Report this to ben.sput@gmail.com ##
1835
## --------------------------------- ##"
1836
) | sed "s/^/$as_me: WARNING: /" >&2
1839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840
$as_echo_n "checking for $2... " >&6; }
1841
if eval \${$3+:} false; then :
1842
$as_echo_n "(cached) " >&6
1844
eval "$3=\$ac_header_compiler"
1847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848
$as_echo "$ac_res" >&6; }
1850
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852
} @%:@ ac_fn_c_check_header_mongrel
1854
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1855
@%:@ -------------------------------------------
1856
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1857
@%:@ variable VAR accordingly.
1858
ac_fn_c_check_type ()
1860
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862
$as_echo_n "checking for $2... " >&6; }
1863
if eval \${$3+:} false; then :
1864
$as_echo_n "(cached) " >&6
1867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868
/* end confdefs.h. */
1879
if ac_fn_c_try_compile "$LINENO"; then :
1880
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881
/* end confdefs.h. */
1892
if ac_fn_c_try_compile "$LINENO"; then :
1897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903
$as_echo "$ac_res" >&6; }
1904
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906
} @%:@ ac_fn_c_check_type
1908
@%:@ ac_fn_c_find_uintX_t LINENO BITS VAR
1909
@%:@ ------------------------------------
1910
@%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR
1912
ac_fn_c_find_uintX_t ()
1914
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1916
$as_echo_n "checking for uint$2_t... " >&6; }
1917
if eval \${$3+:} false; then :
1918
$as_echo_n "(cached) " >&6
1921
# Order is important - never check a type that is potentially smaller
1922
# than half of the expected target width.
1923
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1924
'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926
/* end confdefs.h. */
1927
$ac_includes_default
1931
static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@;
1932
test_array @<:@0@:>@ = 0;
1933
return test_array @<:@0@:>@;
1939
if ac_fn_c_try_compile "$LINENO"; then :
1940
case $ac_type in @%:@(
1942
eval "$3=yes" ;; @%:@(
1944
eval "$3=\$ac_type" ;;
1947
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948
if eval test \"x\$"$3"\" = x"no"; then :
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957
$as_echo "$ac_res" >&6; }
1958
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960
} @%:@ ac_fn_c_find_uintX_t
1961
cat >config.log <<_ACEOF
1962
This file contains any messages produced by compilers while
1963
running configure, to aid debugging if configure makes a mistake.
1965
It was created by libwaveplot $as_me 1.0, which was
1966
generated by GNU Autoconf 2.69. Invocation command line was
1978
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1979
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1980
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1981
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1982
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1984
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1985
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1987
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1988
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1989
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1990
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1991
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1992
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1993
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001
test -z "$as_dir" && as_dir=.
2002
$as_echo "PATH: $as_dir"
2018
# Keep a trace of the command line.
2019
# Strip out --no-create and --no-recursion so they do not pile up.
2020
# Strip out --silent because we don't want to record it for future runs.
2021
# Also quote any args containing shell meta-characters.
2022
# Make two passes to allow for proper duplicate-argument suppression.
2026
ac_must_keep_next=false
2032
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2033
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2034
| -silent | --silent | --silen | --sile | --sil)
2037
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2040
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2042
as_fn_append ac_configure_args1 " '$ac_arg'"
2043
if test $ac_must_keep_next = true; then
2044
ac_must_keep_next=false # Got value, back to normal.
2047
*=* | --config-cache | -C | -disable-* | --disable-* \
2048
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2049
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2050
| -with-* | --with-* | -without-* | --without-* | --x)
2051
case "$ac_configure_args0 " in
2052
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2055
-* ) ac_must_keep_next=true ;;
2058
as_fn_append ac_configure_args " '$ac_arg'"
2063
{ ac_configure_args0=; unset ac_configure_args0;}
2064
{ ac_configure_args1=; unset ac_configure_args1;}
2066
# When interrupted or exit'd, cleanup temporary files, and complete
2067
# config.log. We remove comments because anyway the quotes in there
2068
# would cause problems or look ugly.
2069
# WARNING: Use '\'' to represent an apostrophe within the trap.
2070
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2071
trap 'exit_status=$?
2072
# Save into config.log some information that might help in debugging.
2076
$as_echo "## ---------------- ##
2077
## Cache variables. ##
2078
## ---------------- ##"
2080
# The following way of writing the cache mishandles newlines in values,
2082
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2083
eval ac_val=\$$ac_var
2087
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2088
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2091
_ | IFS | as_nl) ;; #(
2092
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2093
*) { eval $ac_var=; unset $ac_var;} ;;
2098
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2099
*${as_nl}ac_space=\ *)
2101
"s/'\''/'\''\\\\'\'''\''/g;
2102
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2105
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2112
$as_echo "## ----------------- ##
2113
## Output variables. ##
2114
## ----------------- ##"
2116
for ac_var in $ac_subst_vars
2118
eval ac_val=\$$ac_var
2120
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122
$as_echo "$ac_var='\''$ac_val'\''"
2126
if test -n "$ac_subst_files"; then
2127
$as_echo "## ------------------- ##
2128
## File substitutions. ##
2129
## ------------------- ##"
2131
for ac_var in $ac_subst_files
2133
eval ac_val=\$$ac_var
2135
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2137
$as_echo "$ac_var='\''$ac_val'\''"
2142
if test -s confdefs.h; then
2143
$as_echo "## ----------- ##
2150
test "$ac_signal" != 0 &&
2151
$as_echo "$as_me: caught signal $ac_signal"
2152
$as_echo "$as_me: exit $exit_status"
2154
rm -f core *.core core.conftest.* &&
2155
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2158
for ac_signal in 1 2 13 15; do
2159
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2163
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2164
rm -f -r conftest* confdefs.h
2166
$as_echo "/* confdefs.h */" > confdefs.h
2168
# Predefined preprocessor variables.
2170
cat >>confdefs.h <<_ACEOF
2171
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2174
cat >>confdefs.h <<_ACEOF
2175
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2178
cat >>confdefs.h <<_ACEOF
2179
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2182
cat >>confdefs.h <<_ACEOF
2183
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2186
cat >>confdefs.h <<_ACEOF
2187
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2190
cat >>confdefs.h <<_ACEOF
2191
@%:@define PACKAGE_URL "$PACKAGE_URL"
2195
# Let the site file select an alternate cache file if it wants to.
2196
# Prefer an explicitly selected file to automatically selected ones.
2199
if test -n "$CONFIG_SITE"; then
2200
# We do not want a PATH search for config.site.
2201
case $CONFIG_SITE in @%:@((
2202
-*) ac_site_file1=./$CONFIG_SITE;;
2203
*/*) ac_site_file1=$CONFIG_SITE;;
2204
*) ac_site_file1=./$CONFIG_SITE;;
2206
elif test "x$prefix" != xNONE; then
2207
ac_site_file1=$prefix/share/config.site
2208
ac_site_file2=$prefix/etc/config.site
2210
ac_site_file1=$ac_default_prefix/share/config.site
2211
ac_site_file2=$ac_default_prefix/etc/config.site
2213
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2215
test "x$ac_site_file" = xNONE && continue
2216
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2217
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2218
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2219
sed 's/^/| /' "$ac_site_file" >&5
2221
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223
as_fn_error $? "failed to load site script $ac_site_file
2224
See \`config.log' for more details" "$LINENO" 5; }
2228
if test -r "$cache_file"; then
2229
# Some versions of bash will fail to source /dev/null (special files
2230
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2231
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2232
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2233
$as_echo "$as_me: loading cache $cache_file" >&6;}
2235
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2236
*) . "./$cache_file";;
2240
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2241
$as_echo "$as_me: creating cache $cache_file" >&6;}
2245
# Check that the precious variables saved in the cache have kept the same
2247
ac_cache_corrupted=false
2248
for ac_var in $ac_precious_vars; do
2249
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2250
eval ac_new_set=\$ac_env_${ac_var}_set
2251
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2252
eval ac_new_val=\$ac_env_${ac_var}_value
2253
case $ac_old_set,$ac_new_set in
2255
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2256
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2257
ac_cache_corrupted=: ;;
2259
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2260
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2261
ac_cache_corrupted=: ;;
2264
if test "x$ac_old_val" != "x$ac_new_val"; then
2265
# differences in whitespace do not lead to failure.
2266
ac_old_val_w=`echo x $ac_old_val`
2267
ac_new_val_w=`echo x $ac_new_val`
2268
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2269
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2270
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2271
ac_cache_corrupted=:
2273
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2274
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2275
eval $ac_var=\$ac_old_val
2277
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2278
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2280
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2283
# Pass precious variables to config.status.
2284
if test "$ac_new_set" = set; then
2286
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2287
*) ac_arg=$ac_var=$ac_new_val ;;
2289
case " $ac_configure_args " in
2290
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2291
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2295
if $ac_cache_corrupted; then
2296
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2297
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2299
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2300
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2302
## -------------------- ##
2303
## Main body of script. ##
2304
## -------------------- ##
2307
ac_cpp='$CPP $CPPFLAGS'
2308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2315
am__api_version='1.14'
2318
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2319
if test -f "$ac_dir/install-sh"; then
2321
ac_install_sh="$ac_aux_dir/install-sh -c"
2323
elif test -f "$ac_dir/install.sh"; then
2325
ac_install_sh="$ac_aux_dir/install.sh -c"
2327
elif test -f "$ac_dir/shtool"; then
2329
ac_install_sh="$ac_aux_dir/shtool install -c"
2333
if test -z "$ac_aux_dir"; then
2334
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2337
# These three variables are undocumented and unsupported,
2338
# and are intended to be withdrawn in a future Autoconf release.
2339
# They can cause serious problems if a builder's source tree is in a directory
2340
# whose full name contains unusual characters.
2341
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2342
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2343
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2346
# Find a good install program. We prefer a C program (faster),
2347
# so one script is as good as another. But avoid the broken or
2348
# incompatible versions:
2349
# SysV /etc/install, /usr/sbin/install
2350
# SunOS /usr/etc/install
2351
# IRIX /sbin/install
2353
# AmigaOS /C/install, which installs bootblocks on floppy discs
2354
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2355
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2356
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2357
# OS/2's system install, which has a completely different semantic
2358
# ./install, which can be erroneously created by make from ./install.sh.
2359
# Reject install programs that cannot install multiple files.
2360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2361
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2362
if test -z "$INSTALL"; then
2363
if ${ac_cv_path_install+:} false; then :
2364
$as_echo_n "(cached) " >&6
2366
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370
test -z "$as_dir" && as_dir=.
2371
# Account for people who put trailing slashes in PATH elements.
2372
case $as_dir/ in @%:@((
2373
./ | .// | /[cC]/* | \
2374
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2375
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2378
# OSF1 and SCO ODT 3.0 have their own names for install.
2379
# Don't use installbsd from OSF since it installs stuff as root
2381
for ac_prog in ginstall scoinst install; do
2382
for ac_exec_ext in '' $ac_executable_extensions; do
2383
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2384
if test $ac_prog = install &&
2385
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2386
# AIX install. It has an incompatible calling convention.
2388
elif test $ac_prog = install &&
2389
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2390
# program-specific install script used by HP pwplus--don't use.
2393
rm -rf conftest.one conftest.two conftest.dir
2394
echo one > conftest.one
2395
echo two > conftest.two
2397
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2398
test -s conftest.one && test -s conftest.two &&
2399
test -s conftest.dir/conftest.one &&
2400
test -s conftest.dir/conftest.two
2402
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2415
rm -rf conftest.one conftest.two conftest.dir
2418
if test "${ac_cv_path_install+set}" = set; then
2419
INSTALL=$ac_cv_path_install
2421
# As a last resort, use the slow shell script. Don't cache a
2422
# value for INSTALL within a source directory, because that will
2423
# break other packages using the cache if that directory is
2424
# removed, or if the value is a relative name.
2425
INSTALL=$ac_install_sh
2428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2429
$as_echo "$INSTALL" >&6; }
2431
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2432
# It thinks the first close brace ends the variable substitution.
2433
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2435
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2437
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2440
$as_echo_n "checking whether build environment is sane... " >&6; }
2441
# Reject unsafe characters in $srcdir or the absolute working directory
2442
# name. Accept space and tab only in the latter.
2446
*[\\\"\#\$\&\'\`$am_lf]*)
2447
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2450
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2451
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2454
# Do 'set' in a subshell so we don't clobber the current shell's
2455
# arguments. Must try -L first in case configure is actually a
2456
# symlink; some systems play weird games with the mod time of symlinks
2457
# (eg FreeBSD returns the mod time of the symlink's containing
2461
for am_try in 1 2; do
2462
echo "timestamp, slept: $am_has_slept" > conftest.file
2463
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2464
if test "$*" = "X"; then
2466
set X `ls -t "$srcdir/configure" conftest.file`
2468
if test "$*" != "X $srcdir/configure conftest.file" \
2469
&& test "$*" != "X conftest.file $srcdir/configure"; then
2471
# If neither matched, then we have a broken ls. This can happen
2472
# if, for instance, CONFIG_SHELL is bash and it inherits a
2473
# broken ls alias from the environment. This has actually
2474
# happened. Such a system could not be considered "sane".
2475
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2476
alias in your environment" "$LINENO" 5
2478
if test "$2" = conftest.file || test $am_try -eq 2; then
2485
test "$2" = conftest.file
2491
as_fn_error $? "newly created file is older than distributed files!
2492
Check your system clock" "$LINENO" 5
2494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2495
$as_echo "yes" >&6; }
2496
# If we didn't sleep, we still need to ensure time stamps of config.status and
2497
# generated files are strictly newer.
2499
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2506
test "$program_prefix" != NONE &&
2507
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2508
# Use a double $ so make ignores it.
2509
test "$program_suffix" != NONE &&
2510
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2511
# Double any \ or $.
2512
# By default was `s,x,x', remove it if useless.
2513
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2514
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2516
# expand $ac_aux_dir to an absolute path
2517
am_aux_dir=`cd $ac_aux_dir && pwd`
2519
if test x"${MISSING+set}" != xset; then
2522
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2524
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2527
# Use eval to expand $SHELL
2528
if eval "$MISSING --is-lightweight"; then
2529
am_missing_run="$MISSING "
2532
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2533
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2536
if test x"${install_sh}" != xset; then
2539
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2541
install_sh="\${SHELL} $am_aux_dir/install-sh"
2545
# Installed binaries are usually stripped using 'strip' when the user
2546
# run "make install-strip". However 'strip' might not be the right
2547
# tool to use in cross-compilation environments, therefore Automake
2548
# will honor the 'STRIP' environment variable to overrule this program.
2549
if test "$cross_compiling" != no; then
2550
if test -n "$ac_tool_prefix"; then
2551
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2552
set dummy ${ac_tool_prefix}strip; ac_word=$2
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2554
$as_echo_n "checking for $ac_word... " >&6; }
2555
if ${ac_cv_prog_STRIP+:} false; then :
2556
$as_echo_n "(cached) " >&6
2558
if test -n "$STRIP"; then
2559
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2561
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565
test -z "$as_dir" && as_dir=.
2566
for ac_exec_ext in '' $ac_executable_extensions; do
2567
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2568
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2569
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2578
STRIP=$ac_cv_prog_STRIP
2579
if test -n "$STRIP"; then
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2581
$as_echo "$STRIP" >&6; }
2583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584
$as_echo "no" >&6; }
2589
if test -z "$ac_cv_prog_STRIP"; then
2591
# Extract the first word of "strip", so it can be a program name with args.
2592
set dummy strip; ac_word=$2
2593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594
$as_echo_n "checking for $ac_word... " >&6; }
2595
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2596
$as_echo_n "(cached) " >&6
2598
if test -n "$ac_ct_STRIP"; then
2599
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2601
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605
test -z "$as_dir" && as_dir=.
2606
for ac_exec_ext in '' $ac_executable_extensions; do
2607
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608
ac_cv_prog_ac_ct_STRIP="strip"
2609
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2619
if test -n "$ac_ct_STRIP"; then
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2621
$as_echo "$ac_ct_STRIP" >&6; }
2623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624
$as_echo "no" >&6; }
2627
if test "x$ac_ct_STRIP" = x; then
2630
case $cross_compiling:$ac_tool_warned in
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2633
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2634
ac_tool_warned=yes ;;
2639
STRIP="$ac_cv_prog_STRIP"
2643
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2646
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2647
if test -z "$MKDIR_P"; then
2648
if ${ac_cv_path_mkdir+:} false; then :
2649
$as_echo_n "(cached) " >&6
2651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2655
test -z "$as_dir" && as_dir=.
2656
for ac_prog in mkdir gmkdir; do
2657
for ac_exec_ext in '' $ac_executable_extensions; do
2658
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2659
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2660
'mkdir (GNU coreutils) '* | \
2661
'mkdir (coreutils) '* | \
2662
'mkdir (fileutils) '4.1*)
2663
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2673
test -d ./--version && rmdir ./--version
2674
if test "${ac_cv_path_mkdir+set}" = set; then
2675
MKDIR_P="$ac_cv_path_mkdir -p"
2677
# As a last resort, use the slow shell script. Don't cache a
2678
# value for MKDIR_P within a source directory, because that will
2679
# break other packages using the cache if that directory is
2680
# removed, or if the value is a relative name.
2681
MKDIR_P="$ac_install_sh -d"
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2685
$as_echo "$MKDIR_P" >&6; }
2687
for ac_prog in gawk mawk nawk awk
2689
# Extract the first word of "$ac_prog", so it can be a program name with args.
2690
set dummy $ac_prog; ac_word=$2
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692
$as_echo_n "checking for $ac_word... " >&6; }
2693
if ${ac_cv_prog_AWK+:} false; then :
2694
$as_echo_n "(cached) " >&6
2696
if test -n "$AWK"; then
2697
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703
test -z "$as_dir" && as_dir=.
2704
for ac_exec_ext in '' $ac_executable_extensions; do
2705
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2706
ac_cv_prog_AWK="$ac_prog"
2707
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717
if test -n "$AWK"; then
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2719
$as_echo "$AWK" >&6; }
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722
$as_echo "no" >&6; }
2726
test -n "$AWK" && break
2729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2730
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2732
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2733
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2734
$as_echo_n "(cached) " >&6
2736
cat >conftest.make <<\_ACEOF
2739
@echo '@@@%%%=$(MAKE)=@@@%%%'
2741
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2742
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2744
eval ac_cv_prog_make_${ac_make}_set=yes;;
2746
eval ac_cv_prog_make_${ac_make}_set=no;;
2750
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2752
$as_echo "yes" >&6; }
2755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756
$as_echo "no" >&6; }
2757
SET_MAKE="MAKE=${MAKE-make}"
2760
rm -rf .tst 2>/dev/null
2761
mkdir .tst 2>/dev/null
2762
if test -d .tst; then
2767
rmdir .tst 2>/dev/null
2769
@%:@ Check whether --enable-silent-rules was given.
2770
if test "${enable_silent_rules+set}" = set; then :
2771
enableval=$enable_silent_rules;
2774
case $enable_silent_rules in @%:@ (((
2775
yes) AM_DEFAULT_VERBOSITY=0;;
2776
no) AM_DEFAULT_VERBOSITY=1;;
2777
*) AM_DEFAULT_VERBOSITY=1;;
2779
am_make=${MAKE-make}
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2781
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2782
if ${am_cv_make_support_nested_variables+:} false; then :
2783
$as_echo_n "(cached) " >&6
2785
if $as_echo 'TRUE=$(BAR$(V))
2791
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2792
am_cv_make_support_nested_variables=yes
2794
am_cv_make_support_nested_variables=no
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2798
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2799
if test $am_cv_make_support_nested_variables = yes; then
2801
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2803
AM_V=$AM_DEFAULT_VERBOSITY
2804
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2808
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2809
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2810
# is not polluted with repeated "-I."
2811
am__isrc=' -I$(srcdir)'
2812
# test to see if srcdir already configured
2813
if test -f $srcdir/config.status; then
2814
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2818
# test whether we have cygpath
2819
if test -z "$CYGPATH_W"; then
2820
if (cygpath --version) >/dev/null 2>/dev/null; then
2821
CYGPATH_W='cygpath -w'
2828
# Define the identity of the package.
2829
PACKAGE='libwaveplot'
2833
cat >>confdefs.h <<_ACEOF
2834
@%:@define PACKAGE "$PACKAGE"
2838
cat >>confdefs.h <<_ACEOF
2839
@%:@define VERSION "$VERSION"
2842
# Some tools Automake needs.
2844
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2847
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2850
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2853
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2856
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2858
# For better backward compatibility. To be removed once Automake 1.9.x
2859
# dies out for good. For more background, see:
2860
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2861
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2862
mkdir_p='$(MKDIR_P)'
2864
# We need awk for the "check" target. The system "awk" is bad on
2866
# Always define AMTAR for backward compatibility. Yes, it's still used
2867
# in the wild :-( We should find a proper way to deprecate it ...
2871
# We'll loop over all known methods to create a tar archive until one works.
2872
_am_tools='gnutar pax cpio none'
2874
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2881
# POSIX will say in a future version that running "rm -f" with no argument
2882
# is OK; and we want to be able to make that assumption in our Makefile
2883
# recipes. So use an aggressive probe to check that the usage we want is
2884
# actually supported "in the wild" to an acceptable degree.
2885
# See automake bug#10828.
2886
# To make any issue more visible, cause the running configure to be aborted
2887
# by default if the 'rm' program in use doesn't match our expectations; the
2888
# user can still override this though.
2889
if rm -f && rm -fr && rm -rf; then : OK; else
2893
Your 'rm' program seems unable to run without file operands specified
2894
on the command line, even when the '-f' option is present. This is contrary
2895
to the behaviour of most rm programs out there, and not conforming with
2896
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2898
Please tell bug-automake@gnu.org about your system, including the value
2899
of your $PATH and any error possibly output before this message. This
2900
can help us improve future automake versions.
2903
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2904
echo 'Configuration will proceed anyway, since you have set the' >&2
2905
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2909
Aborting the configuration process, to ensure you take notice of the issue.
2911
You can download and install GNU coreutils to get an 'rm' implementation
2912
that behaves properly: <http://www.gnu.org/software/coreutils/>.
2914
If you want to complete the configuration process using your problematic
2915
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2916
to "yes", and re-run configure.
2919
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2925
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2930
macro_version='2.4.2'
2931
macro_revision='1.3337'
2945
ltmain="$ac_aux_dir/ltmain.sh"
2947
# Make sure we can run config.sub.
2948
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2949
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2952
$as_echo_n "checking build system type... " >&6; }
2953
if ${ac_cv_build+:} false; then :
2954
$as_echo_n "(cached) " >&6
2956
ac_build_alias=$build_alias
2957
test "x$ac_build_alias" = x &&
2958
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2959
test "x$ac_build_alias" = x &&
2960
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2961
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2962
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2966
$as_echo "$ac_cv_build" >&6; }
2967
case $ac_cv_build in
2969
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2972
ac_save_IFS=$IFS; IFS='-'
2978
# Remember, the first character of IFS is used to create $*,
2979
# except with old shells:
2982
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2986
$as_echo_n "checking host system type... " >&6; }
2987
if ${ac_cv_host+:} false; then :
2988
$as_echo_n "(cached) " >&6
2990
if test "x$host_alias" = x; then
2991
ac_cv_host=$ac_cv_build
2993
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2994
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2999
$as_echo "$ac_cv_host" >&6; }
3002
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3005
ac_save_IFS=$IFS; IFS='-'
3011
# Remember, the first character of IFS is used to create $*,
3012
# except with old shells:
3015
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3018
# Backslashify metacharacters that are still active within
3019
# double-quoted strings.
3020
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3022
# Same as above, but do not quote variable references.
3023
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3025
# Sed substitution to delay expansion of an escaped shell variable in a
3026
# double_quote_subst'ed string.
3027
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3029
# Sed substitution to delay expansion of an escaped single quote.
3030
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3032
# Sed substitution to avoid accidental globbing in evaled expressions
3033
no_glob_subst='s/\*/\\\*/g'
3035
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3036
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3037
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3040
$as_echo_n "checking how to print strings... " >&6; }
3041
# Test print first, because it will be a builtin if present.
3042
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3043
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3045
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3048
# Use this function as a fallback that always works.
3049
func_fallback_echo ()
3051
eval 'cat <<_LTECHO_EOF
3055
ECHO='func_fallback_echo'
3058
# func_echo_all arg...
3059
# Invoke $ECHO with all args, space-separated.
3066
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3067
$as_echo "printf" >&6; } ;;
3068
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3069
$as_echo "print -r" >&6; } ;;
3070
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3071
$as_echo "cat" >&6; } ;;
3087
DEPDIR="${am__leading_dot}deps"
3089
ac_config_commands="$ac_config_commands depfiles"
3092
am_make=${MAKE-make}
3093
cat > confinc << 'END'
3095
@echo this is the am__doit target
3098
# If we don't find an include directive, just comment out the code.
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3100
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3104
# First try GNU make style include.
3105
echo "include confinc" > confmf
3106
# Ignore all kinds of additional output from 'make'.
3107
case `$am_make -s -f confmf 2> /dev/null` in #(
3108
*the\ am__doit\ target*)
3114
# Now try BSD make style include.
3115
if test "$am__include" = "#"; then
3116
echo '.include "confinc"' > confmf
3117
case `$am_make -s -f confmf 2> /dev/null` in #(
3118
*the\ am__doit\ target*)
3119
am__include=.include
3127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3128
$as_echo "$_am_result" >&6; }
3129
rm -f confinc confmf
3131
@%:@ Check whether --enable-dependency-tracking was given.
3132
if test "${enable_dependency_tracking+set}" = set; then :
3133
enableval=$enable_dependency_tracking;
3136
if test "x$enable_dependency_tracking" != xno; then
3137
am_depcomp="$ac_aux_dir/depcomp"
3141
if test "x$enable_dependency_tracking" != xno; then
3151
ac_cpp='$CPP $CPPFLAGS'
3152
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3153
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3154
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3155
if test -n "$ac_tool_prefix"; then
3156
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3157
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159
$as_echo_n "checking for $ac_word... " >&6; }
3160
if ${ac_cv_prog_CC+:} false; then :
3161
$as_echo_n "(cached) " >&6
3163
if test -n "$CC"; then
3164
ac_cv_prog_CC="$CC" # Let the user override the test.
3166
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170
test -z "$as_dir" && as_dir=.
3171
for ac_exec_ext in '' $ac_executable_extensions; do
3172
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3173
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3174
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184
if test -n "$CC"; then
3185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3186
$as_echo "$CC" >&6; }
3188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189
$as_echo "no" >&6; }
3194
if test -z "$ac_cv_prog_CC"; then
3196
# Extract the first word of "gcc", so it can be a program name with args.
3197
set dummy gcc; ac_word=$2
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199
$as_echo_n "checking for $ac_word... " >&6; }
3200
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3201
$as_echo_n "(cached) " >&6
3203
if test -n "$ac_ct_CC"; then
3204
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3206
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210
test -z "$as_dir" && as_dir=.
3211
for ac_exec_ext in '' $ac_executable_extensions; do
3212
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3213
ac_cv_prog_ac_ct_CC="gcc"
3214
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3224
if test -n "$ac_ct_CC"; then
3225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3226
$as_echo "$ac_ct_CC" >&6; }
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229
$as_echo "no" >&6; }
3232
if test "x$ac_ct_CC" = x; then
3235
case $cross_compiling:$ac_tool_warned in
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3238
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3239
ac_tool_warned=yes ;;
3247
if test -z "$CC"; then
3248
if test -n "$ac_tool_prefix"; then
3249
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3250
set dummy ${ac_tool_prefix}cc; ac_word=$2
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252
$as_echo_n "checking for $ac_word... " >&6; }
3253
if ${ac_cv_prog_CC+:} false; then :
3254
$as_echo_n "(cached) " >&6
3256
if test -n "$CC"; then
3257
ac_cv_prog_CC="$CC" # Let the user override the test.
3259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263
test -z "$as_dir" && as_dir=.
3264
for ac_exec_ext in '' $ac_executable_extensions; do
3265
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266
ac_cv_prog_CC="${ac_tool_prefix}cc"
3267
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277
if test -n "$CC"; then
3278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279
$as_echo "$CC" >&6; }
3281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282
$as_echo "no" >&6; }
3288
if test -z "$CC"; then
3289
# Extract the first word of "cc", so it can be a program name with args.
3290
set dummy cc; ac_word=$2
3291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292
$as_echo_n "checking for $ac_word... " >&6; }
3293
if ${ac_cv_prog_CC+:} false; then :
3294
$as_echo_n "(cached) " >&6
3296
if test -n "$CC"; then
3297
ac_cv_prog_CC="$CC" # Let the user override the test.
3300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304
test -z "$as_dir" && as_dir=.
3305
for ac_exec_ext in '' $ac_executable_extensions; do
3306
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3308
ac_prog_rejected=yes
3312
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319
if test $ac_prog_rejected = yes; then
3320
# We found a bogon in the path, so make sure we never use it.
3321
set dummy $ac_cv_prog_CC
3323
if test $@%:@ != 0; then
3324
# We chose a different compiler from the bogus one.
3325
# However, it has the same basename, so the bogon will be chosen
3326
# first if we set CC to just the basename; use the full file name.
3328
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3334
if test -n "$CC"; then
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3336
$as_echo "$CC" >&6; }
3338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339
$as_echo "no" >&6; }
3344
if test -z "$CC"; then
3345
if test -n "$ac_tool_prefix"; then
3346
for ac_prog in cl.exe
3348
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3349
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351
$as_echo_n "checking for $ac_word... " >&6; }
3352
if ${ac_cv_prog_CC+:} false; then :
3353
$as_echo_n "(cached) " >&6
3355
if test -n "$CC"; then
3356
ac_cv_prog_CC="$CC" # Let the user override the test.
3358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362
test -z "$as_dir" && as_dir=.
3363
for ac_exec_ext in '' $ac_executable_extensions; do
3364
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3365
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3366
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376
if test -n "$CC"; then
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3378
$as_echo "$CC" >&6; }
3380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381
$as_echo "no" >&6; }
3385
test -n "$CC" && break
3388
if test -z "$CC"; then
3390
for ac_prog in cl.exe
3392
# Extract the first word of "$ac_prog", so it can be a program name with args.
3393
set dummy $ac_prog; ac_word=$2
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395
$as_echo_n "checking for $ac_word... " >&6; }
3396
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3397
$as_echo_n "(cached) " >&6
3399
if test -n "$ac_ct_CC"; then
3400
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406
test -z "$as_dir" && as_dir=.
3407
for ac_exec_ext in '' $ac_executable_extensions; do
3408
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409
ac_cv_prog_ac_ct_CC="$ac_prog"
3410
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3420
if test -n "$ac_ct_CC"; then
3421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3422
$as_echo "$ac_ct_CC" >&6; }
3424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425
$as_echo "no" >&6; }
3429
test -n "$ac_ct_CC" && break
3432
if test "x$ac_ct_CC" = x; then
3435
case $cross_compiling:$ac_tool_warned in
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3438
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3439
ac_tool_warned=yes ;;
3448
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450
as_fn_error $? "no acceptable C compiler found in \$PATH
3451
See \`config.log' for more details" "$LINENO" 5; }
3453
# Provide some information about the compiler.
3454
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3457
for ac_option in --version -v -V -qversion; do
3458
{ { ac_try="$ac_compiler $ac_option >&5"
3460
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461
*) ac_try_echo=$ac_try;;
3463
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464
$as_echo "$ac_try_echo"; } >&5
3465
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3467
if test -s conftest.err; then
3469
... rest of stderr output deleted ...
3470
10q' conftest.err >conftest.er1
3471
cat conftest.er1 >&5
3473
rm -f conftest.er1 conftest.err
3474
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475
test $ac_status = 0; }
3478
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479
/* end confdefs.h. */
3489
ac_clean_files_save=$ac_clean_files
3490
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3491
# Try to create an executable without -o first, disregard a.out.
3492
# It will help us diagnose broken compilers, and finding out an intuition
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3495
$as_echo_n "checking whether the C compiler works... " >&6; }
3496
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3498
# The possible output files:
3499
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3502
for ac_file in $ac_files
3505
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3506
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3511
if { { ac_try="$ac_link_default"
3513
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514
*) ac_try_echo=$ac_try;;
3516
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517
$as_echo "$ac_try_echo"; } >&5
3518
(eval "$ac_link_default") 2>&5
3520
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521
test $ac_status = 0; }; then :
3522
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3523
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3524
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3525
# so that the user can short-circuit this test for compilers unknown to
3527
for ac_file in $ac_files ''
3529
test -f "$ac_file" || continue
3531
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3534
# We found the default executable, but exeext='' is most
3538
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3540
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3542
# We set ac_cv_exeext here because the later test for it is not
3543
# safe: cross compilers may not add the suffix if given an `-o'
3544
# argument, so we may need to know it at that point already.
3545
# Even if this section looks crufty: it has the advantage of
3552
test "$ac_cv_exeext" = no && ac_cv_exeext=
3557
if test -z "$ac_file"; then :
3558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559
$as_echo "no" >&6; }
3560
$as_echo "$as_me: failed program was:" >&5
3561
sed 's/^/| /' conftest.$ac_ext >&5
3563
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565
as_fn_error 77 "C compiler cannot create executables
3566
See \`config.log' for more details" "$LINENO" 5; }
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3569
$as_echo "yes" >&6; }
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3572
$as_echo_n "checking for C compiler default output file name... " >&6; }
3573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3574
$as_echo "$ac_file" >&6; }
3575
ac_exeext=$ac_cv_exeext
3577
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3578
ac_clean_files=$ac_clean_files_save
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3580
$as_echo_n "checking for suffix of executables... " >&6; }
3581
if { { ac_try="$ac_link"
3583
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584
*) ac_try_echo=$ac_try;;
3586
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3587
$as_echo "$ac_try_echo"; } >&5
3588
(eval "$ac_link") 2>&5
3590
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3591
test $ac_status = 0; }; then :
3592
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3593
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3594
# work properly (i.e., refer to `conftest.exe'), while it won't with
3596
for ac_file in conftest.exe conftest conftest.*; do
3597
test -f "$ac_file" || continue
3599
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3600
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3606
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3607
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3608
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3609
See \`config.log' for more details" "$LINENO" 5; }
3611
rm -f conftest conftest$ac_cv_exeext
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3613
$as_echo "$ac_cv_exeext" >&6; }
3615
rm -f conftest.$ac_ext
3616
EXEEXT=$ac_cv_exeext
3618
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619
/* end confdefs.h. */
3620
@%:@include <stdio.h>
3624
FILE *f = fopen ("conftest.out", "w");
3625
return ferror (f) || fclose (f) != 0;
3631
ac_clean_files="$ac_clean_files conftest.out"
3632
# Check that the compiler produces executables we can run. If not, either
3633
# the compiler is broken, or we cross compile.
3634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3635
$as_echo_n "checking whether we are cross compiling... " >&6; }
3636
if test "$cross_compiling" != yes; then
3637
{ { ac_try="$ac_link"
3639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640
*) ac_try_echo=$ac_try;;
3642
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3643
$as_echo "$ac_try_echo"; } >&5
3644
(eval "$ac_link") 2>&5
3646
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3647
test $ac_status = 0; }
3648
if { ac_try='./conftest$ac_cv_exeext'
3649
{ { case "(($ac_try" in
3650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651
*) ac_try_echo=$ac_try;;
3653
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3654
$as_echo "$ac_try_echo"; } >&5
3655
(eval "$ac_try") 2>&5
3657
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658
test $ac_status = 0; }; }; then
3661
if test "$cross_compiling" = maybe; then
3664
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666
as_fn_error $? "cannot run C compiled programs.
3667
If you meant to cross compile, use \`--host'.
3668
See \`config.log' for more details" "$LINENO" 5; }
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3673
$as_echo "$cross_compiling" >&6; }
3675
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3676
ac_clean_files=$ac_clean_files_save
3677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3678
$as_echo_n "checking for suffix of object files... " >&6; }
3679
if ${ac_cv_objext+:} false; then :
3680
$as_echo_n "(cached) " >&6
3682
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683
/* end confdefs.h. */
3693
rm -f conftest.o conftest.obj
3694
if { { ac_try="$ac_compile"
3696
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3697
*) ac_try_echo=$ac_try;;
3699
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3700
$as_echo "$ac_try_echo"; } >&5
3701
(eval "$ac_compile") 2>&5
3703
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3704
test $ac_status = 0; }; then :
3705
for ac_file in conftest.o conftest.obj conftest.*; do
3706
test -f "$ac_file" || continue;
3708
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3709
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3714
$as_echo "$as_me: failed program was:" >&5
3715
sed 's/^/| /' conftest.$ac_ext >&5
3717
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719
as_fn_error $? "cannot compute suffix of object files: cannot compile
3720
See \`config.log' for more details" "$LINENO" 5; }
3722
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3725
$as_echo "$ac_cv_objext" >&6; }
3726
OBJEXT=$ac_cv_objext
3728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3729
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3730
if ${ac_cv_c_compiler_gnu+:} false; then :
3731
$as_echo_n "(cached) " >&6
3733
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734
/* end confdefs.h. */
3747
if ac_fn_c_try_compile "$LINENO"; then :
3752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3757
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3758
if test $ac_compiler_gnu = yes; then
3763
ac_test_CFLAGS=${CFLAGS+set}
3764
ac_save_CFLAGS=$CFLAGS
3765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3766
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3767
if ${ac_cv_prog_cc_g+:} false; then :
3768
$as_echo_n "(cached) " >&6
3770
ac_save_c_werror_flag=$ac_c_werror_flag
3771
ac_c_werror_flag=yes
3774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775
/* end confdefs.h. */
3785
if ac_fn_c_try_compile "$LINENO"; then :
3789
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790
/* end confdefs.h. */
3800
if ac_fn_c_try_compile "$LINENO"; then :
3803
ac_c_werror_flag=$ac_save_c_werror_flag
3805
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806
/* end confdefs.h. */
3816
if ac_fn_c_try_compile "$LINENO"; then :
3819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824
ac_c_werror_flag=$ac_save_c_werror_flag
3826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3827
$as_echo "$ac_cv_prog_cc_g" >&6; }
3828
if test "$ac_test_CFLAGS" = set; then
3829
CFLAGS=$ac_save_CFLAGS
3830
elif test $ac_cv_prog_cc_g = yes; then
3831
if test "$GCC" = yes; then
3837
if test "$GCC" = yes; then
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3844
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3845
if ${ac_cv_prog_cc_c89+:} false; then :
3846
$as_echo_n "(cached) " >&6
3848
ac_cv_prog_cc_c89=no
3850
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851
/* end confdefs.h. */
3855
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3856
struct buf { int x; };
3857
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3858
static char *e (p, i)
3864
static char *f (char * (*g) (char **, int), char **p, ...)
3869
s = g (p, va_arg (v,int));
3874
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3875
function prototypes and stuff, but not '\xHH' hex character constants.
3876
These don't provoke an error unfortunately, instead are silently treated
3877
as 'x'. The following induces an error, until -std is added to get
3878
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3879
array size at least. It's necessary to write '\x00'==0 to get something
3880
that's true only with -std. */
3881
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3883
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3884
inside strings and character constants. */
3886
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3888
int test (int i, double x);
3889
struct s1 {int (*f) (int a);};
3890
struct s2 {int (*f) (double a);};
3891
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3897
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3902
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3903
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3905
CC="$ac_save_CC $ac_arg"
3906
if ac_fn_c_try_compile "$LINENO"; then :
3907
ac_cv_prog_cc_c89=$ac_arg
3909
rm -f core conftest.err conftest.$ac_objext
3910
test "x$ac_cv_prog_cc_c89" != "xno" && break
3912
rm -f conftest.$ac_ext
3917
case "x$ac_cv_prog_cc_c89" in
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3920
$as_echo "none needed" >&6; } ;;
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3923
$as_echo "unsupported" >&6; } ;;
3925
CC="$CC $ac_cv_prog_cc_c89"
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3927
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3929
if test "x$ac_cv_prog_cc_c89" != xno; then :
3934
ac_cpp='$CPP $CPPFLAGS'
3935
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3936
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3937
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940
ac_cpp='$CPP $CPPFLAGS'
3941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3945
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3946
if ${am_cv_prog_cc_c_o+:} false; then :
3947
$as_echo_n "(cached) " >&6
3949
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950
/* end confdefs.h. */
3960
# Make sure it works both with $CC and with simple cc.
3961
# Following AC_PROG_CC_C_O, we do the test twice because some
3962
# compilers refuse to overwrite an existing .o file with -o,
3963
# though they will create one.
3964
am_cv_prog_cc_c_o=yes
3966
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3967
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
(exit $ac_status); } \
3971
&& test -f conftest2.$ac_objext; then
3974
am_cv_prog_cc_c_o=no
3978
rm -f core conftest*
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3982
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3983
if test "$am_cv_prog_cc_c_o" != yes; then
3984
# Losing compiler, so override with the script.
3985
# FIXME: It is wrong to rewrite CC.
3986
# But if we don't then we get into trouble of one sort or another.
3987
# A longer-term fix would be to have automake use am__CC in this case,
3988
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3989
CC="$am_aux_dir/compile $CC"
3992
ac_cpp='$CPP $CPPFLAGS'
3993
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3998
depcc="$CC" am_compiler_list=
4000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4001
$as_echo_n "checking dependency style of $depcc... " >&6; }
4002
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4003
$as_echo_n "(cached) " >&6
4005
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4006
# We make a subdir and do the tests there. Otherwise we can end up
4007
# making bogus files that we don't know about and never remove. For
4008
# instance it was reported that on HP-UX the gcc test will end up
4009
# making a dummy file named 'D' -- because '-MD' means "put the output
4013
# Copy depcomp to subdir because otherwise we won't find it if we're
4014
# using a relative directory.
4015
cp "$am_depcomp" conftest.dir
4017
# We will build objects and dependencies in a subdirectory because
4018
# it helps to detect inapplicable dependency modes. For instance
4019
# both Tru64's cc and ICC support -MD to output dependencies as a
4020
# side effect of compilation, but ICC will put the dependencies in
4021
# the current directory while Tru64 will put them in the object
4025
am_cv_CC_dependencies_compiler_type=none
4026
if test "$am_compiler_list" = ""; then
4027
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4030
case " $depcc " in #(
4031
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4034
for depmode in $am_compiler_list; do
4035
# Setup a source with many dependencies, because some compilers
4036
# like to wrap large dependency lists on column 80 (with \), and
4037
# we should not choose a depcomp mode which is confused by this.
4039
# We need to recreate these files for each test, as the compiler may
4040
# overwrite some of them when testing with obscure command lines.
4041
# This happens at least with the AIX C compiler.
4043
for i in 1 2 3 4 5 6; do
4044
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4045
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4046
# Solaris 10 /bin/sh.
4047
echo '/* dummy */' > sub/conftst$i.h
4049
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4051
# We check with '-c' and '-o' for the sake of the "dashmstdout"
4052
# mode. It turns out that the SunPro C++ compiler does not properly
4053
# handle '-M -o', and we need to detect this. Also, some Intel
4054
# versions had trouble with output in subdirs.
4055
am__obj=sub/conftest.${OBJEXT-o}
4056
am__minus_obj="-o $am__obj"
4059
# This depmode causes a compiler race in universal mode.
4060
test "$am__universal" = false || continue
4063
# After this tag, mechanisms are not by side-effect, so they'll
4064
# only be used when explicitly requested.
4065
if test "x$enable_dependency_tracking" = xyes; then
4071
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4072
# This compiler won't grok '-c -o', but also, the minuso test has
4073
# not run yet. These depmodes are late enough in the game, and
4074
# so weak that their functioning should not be impacted.
4075
am__obj=conftest.${OBJEXT-o}
4080
if depmode=$depmode \
4081
source=sub/conftest.c object=$am__obj \
4082
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4083
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4084
>/dev/null 2>conftest.err &&
4085
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4086
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4087
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4088
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4089
# icc doesn't choke on unknown options, it will just issue warnings
4090
# or remarks (even with -Werror). So we grep stderr for any message
4091
# that says an option was ignored or not supported.
4092
# When given -MP, icc 7.0 and 7.1 complain thusly:
4093
# icc: Command line warning: ignoring option '-M'; no argument required
4094
# The diagnosis changed in icc 8.0:
4095
# icc: Command line remark: option '-MP' not supported
4096
if (grep 'ignoring option' conftest.err ||
4097
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4098
am_cv_CC_dependencies_compiler_type=$depmode
4107
am_cv_CC_dependencies_compiler_type=none
4111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4112
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4113
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4116
test "x$enable_dependency_tracking" != xno \
4117
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4119
am__fastdepCC_FALSE='#'
4121
am__fastdepCC_TRUE='#'
4122
am__fastdepCC_FALSE=
4126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4127
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4128
if ${ac_cv_path_SED+:} false; then :
4129
$as_echo_n "(cached) " >&6
4131
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4132
for ac_i in 1 2 3 4 5 6 7; do
4133
ac_script="$ac_script$as_nl$ac_script"
4135
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4136
{ ac_script=; unset ac_script;}
4137
if test -z "$SED"; then
4138
ac_path_SED_found=false
4139
# Loop through the user's path and test for each of PROGNAME-LIST
4140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4144
test -z "$as_dir" && as_dir=.
4145
for ac_prog in sed gsed; do
4146
for ac_exec_ext in '' $ac_executable_extensions; do
4147
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4148
as_fn_executable_p "$ac_path_SED" || continue
4149
# Check for GNU ac_path_SED and select it if it is found.
4150
# Check for GNU $ac_path_SED
4151
case `"$ac_path_SED" --version 2>&1` in
4153
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4156
$as_echo_n 0123456789 >"conftest.in"
4159
cat "conftest.in" "conftest.in" >"conftest.tmp"
4160
mv "conftest.tmp" "conftest.in"
4161
cp "conftest.in" "conftest.nl"
4162
$as_echo '' >> "conftest.nl"
4163
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4164
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4165
as_fn_arith $ac_count + 1 && ac_count=$as_val
4166
if test $ac_count -gt ${ac_path_SED_max-0}; then
4167
# Best one so far, save it but keep looking for a better one
4168
ac_cv_path_SED="$ac_path_SED"
4169
ac_path_SED_max=$ac_count
4171
# 10*(2^10) chars as input seems more than enough
4172
test $ac_count -gt 10 && break
4174
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4177
$ac_path_SED_found && break 3
4182
if test -z "$ac_cv_path_SED"; then
4183
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4191
$as_echo "$ac_cv_path_SED" >&6; }
4192
SED="$ac_cv_path_SED"
4195
test -z "$SED" && SED=sed
4196
Xsed="$SED -e 1s/^X//"
4208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4209
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4210
if ${ac_cv_path_GREP+:} false; then :
4211
$as_echo_n "(cached) " >&6
4213
if test -z "$GREP"; then
4214
ac_path_GREP_found=false
4215
# Loop through the user's path and test for each of PROGNAME-LIST
4216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4220
test -z "$as_dir" && as_dir=.
4221
for ac_prog in grep ggrep; do
4222
for ac_exec_ext in '' $ac_executable_extensions; do
4223
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4224
as_fn_executable_p "$ac_path_GREP" || continue
4225
# Check for GNU ac_path_GREP and select it if it is found.
4226
# Check for GNU $ac_path_GREP
4227
case `"$ac_path_GREP" --version 2>&1` in
4229
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4232
$as_echo_n 0123456789 >"conftest.in"
4235
cat "conftest.in" "conftest.in" >"conftest.tmp"
4236
mv "conftest.tmp" "conftest.in"
4237
cp "conftest.in" "conftest.nl"
4238
$as_echo 'GREP' >> "conftest.nl"
4239
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4240
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4241
as_fn_arith $ac_count + 1 && ac_count=$as_val
4242
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4243
# Best one so far, save it but keep looking for a better one
4244
ac_cv_path_GREP="$ac_path_GREP"
4245
ac_path_GREP_max=$ac_count
4247
# 10*(2^10) chars as input seems more than enough
4248
test $ac_count -gt 10 && break
4250
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4253
$ac_path_GREP_found && break 3
4258
if test -z "$ac_cv_path_GREP"; then
4259
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4262
ac_cv_path_GREP=$GREP
4266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4267
$as_echo "$ac_cv_path_GREP" >&6; }
4268
GREP="$ac_cv_path_GREP"
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4272
$as_echo_n "checking for egrep... " >&6; }
4273
if ${ac_cv_path_EGREP+:} false; then :
4274
$as_echo_n "(cached) " >&6
4276
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4277
then ac_cv_path_EGREP="$GREP -E"
4279
if test -z "$EGREP"; then
4280
ac_path_EGREP_found=false
4281
# Loop through the user's path and test for each of PROGNAME-LIST
4282
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4286
test -z "$as_dir" && as_dir=.
4287
for ac_prog in egrep; do
4288
for ac_exec_ext in '' $ac_executable_extensions; do
4289
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4290
as_fn_executable_p "$ac_path_EGREP" || continue
4291
# Check for GNU ac_path_EGREP and select it if it is found.
4292
# Check for GNU $ac_path_EGREP
4293
case `"$ac_path_EGREP" --version 2>&1` in
4295
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4298
$as_echo_n 0123456789 >"conftest.in"
4301
cat "conftest.in" "conftest.in" >"conftest.tmp"
4302
mv "conftest.tmp" "conftest.in"
4303
cp "conftest.in" "conftest.nl"
4304
$as_echo 'EGREP' >> "conftest.nl"
4305
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4306
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4307
as_fn_arith $ac_count + 1 && ac_count=$as_val
4308
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4309
# Best one so far, save it but keep looking for a better one
4310
ac_cv_path_EGREP="$ac_path_EGREP"
4311
ac_path_EGREP_max=$ac_count
4313
# 10*(2^10) chars as input seems more than enough
4314
test $ac_count -gt 10 && break
4316
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4319
$ac_path_EGREP_found && break 3
4324
if test -z "$ac_cv_path_EGREP"; then
4325
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4328
ac_cv_path_EGREP=$EGREP
4333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4334
$as_echo "$ac_cv_path_EGREP" >&6; }
4335
EGREP="$ac_cv_path_EGREP"
4338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4339
$as_echo_n "checking for fgrep... " >&6; }
4340
if ${ac_cv_path_FGREP+:} false; then :
4341
$as_echo_n "(cached) " >&6
4343
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4344
then ac_cv_path_FGREP="$GREP -F"
4346
if test -z "$FGREP"; then
4347
ac_path_FGREP_found=false
4348
# Loop through the user's path and test for each of PROGNAME-LIST
4349
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4353
test -z "$as_dir" && as_dir=.
4354
for ac_prog in fgrep; do
4355
for ac_exec_ext in '' $ac_executable_extensions; do
4356
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4357
as_fn_executable_p "$ac_path_FGREP" || continue
4358
# Check for GNU ac_path_FGREP and select it if it is found.
4359
# Check for GNU $ac_path_FGREP
4360
case `"$ac_path_FGREP" --version 2>&1` in
4362
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4365
$as_echo_n 0123456789 >"conftest.in"
4368
cat "conftest.in" "conftest.in" >"conftest.tmp"
4369
mv "conftest.tmp" "conftest.in"
4370
cp "conftest.in" "conftest.nl"
4371
$as_echo 'FGREP' >> "conftest.nl"
4372
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4373
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4374
as_fn_arith $ac_count + 1 && ac_count=$as_val
4375
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4376
# Best one so far, save it but keep looking for a better one
4377
ac_cv_path_FGREP="$ac_path_FGREP"
4378
ac_path_FGREP_max=$ac_count
4380
# 10*(2^10) chars as input seems more than enough
4381
test $ac_count -gt 10 && break
4383
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4386
$ac_path_FGREP_found && break 3
4391
if test -z "$ac_cv_path_FGREP"; then
4392
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4395
ac_cv_path_FGREP=$FGREP
4400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4401
$as_echo "$ac_cv_path_FGREP" >&6; }
4402
FGREP="$ac_cv_path_FGREP"
4405
test -z "$GREP" && GREP=grep
4425
@%:@ Check whether --with-gnu-ld was given.
4426
if test "${with_gnu_ld+set}" = set; then :
4427
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4433
if test "$GCC" = yes; then
4434
# Check if gcc -print-prog-name=ld gives a path.
4435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4436
$as_echo_n "checking for ld used by $CC... " >&6; }
4439
# gcc leaves a trailing carriage return which upsets mingw
4440
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4442
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4445
# Accept absolute paths.
4447
re_direlt='/[^/][^/]*/\.\./'
4448
# Canonicalize the pathname of ld
4449
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4450
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4451
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4453
test -z "$LD" && LD="$ac_prog"
4456
# If it fails, then pretend we aren't using GCC.
4460
# If it is relative, then search for the first ld in PATH.
4464
elif test "$with_gnu_ld" = yes; then
4465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4466
$as_echo_n "checking for GNU ld... " >&6; }
4468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4469
$as_echo_n "checking for non-GNU ld... " >&6; }
4471
if ${lt_cv_path_LD+:} false; then :
4472
$as_echo_n "(cached) " >&6
4474
if test -z "$LD"; then
4475
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4476
for ac_dir in $PATH; do
4478
test -z "$ac_dir" && ac_dir=.
4479
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4480
lt_cv_path_LD="$ac_dir/$ac_prog"
4481
# Check to see if the program is GNU ld. I'd rather use --version,
4482
# but apparently some variants of GNU ld only accept -v.
4483
# Break only if it was the GNU/non-GNU ld that we prefer.
4484
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4485
*GNU* | *'with BFD'*)
4486
test "$with_gnu_ld" != no && break
4489
test "$with_gnu_ld" != yes && break
4496
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4501
if test -n "$LD"; then
4502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4503
$as_echo "$LD" >&6; }
4505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506
$as_echo "no" >&6; }
4508
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4510
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4511
if ${lt_cv_prog_gnu_ld+:} false; then :
4512
$as_echo_n "(cached) " >&6
4514
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4515
case `$LD -v 2>&1 </dev/null` in
4516
*GNU* | *'with BFD'*)
4517
lt_cv_prog_gnu_ld=yes
4520
lt_cv_prog_gnu_ld=no
4524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4525
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4526
with_gnu_ld=$lt_cv_prog_gnu_ld
4536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4537
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4538
if ${lt_cv_path_NM+:} false; then :
4539
$as_echo_n "(cached) " >&6
4541
if test -n "$NM"; then
4542
# Let the user override the test.
4545
lt_nm_to_check="${ac_tool_prefix}nm"
4546
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4547
lt_nm_to_check="$lt_nm_to_check nm"
4549
for lt_tmp_nm in $lt_nm_to_check; do
4550
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4551
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4553
test -z "$ac_dir" && ac_dir=.
4554
tmp_nm="$ac_dir/$lt_tmp_nm"
4555
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4556
# Check to see if the nm accepts a BSD-compat flag.
4557
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4558
# nm: unknown option "B" ignored
4559
# Tru64's nm complains that /dev/null is an invalid object file
4560
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4561
*/dev/null* | *'Invalid file or object type'*)
4562
lt_cv_path_NM="$tmp_nm -B"
4566
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4568
lt_cv_path_NM="$tmp_nm -p"
4572
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4573
continue # so that we can try to find one that supports BSD flags
4582
: ${lt_cv_path_NM=no}
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4586
$as_echo "$lt_cv_path_NM" >&6; }
4587
if test "$lt_cv_path_NM" != "no"; then
4590
# Didn't find any BSD compatible name lister, look for dumpbin.
4591
if test -n "$DUMPBIN"; then :
4592
# Let the user override the test.
4594
if test -n "$ac_tool_prefix"; then
4595
for ac_prog in dumpbin "link -dump"
4597
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4598
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600
$as_echo_n "checking for $ac_word... " >&6; }
4601
if ${ac_cv_prog_DUMPBIN+:} false; then :
4602
$as_echo_n "(cached) " >&6
4604
if test -n "$DUMPBIN"; then
4605
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4607
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611
test -z "$as_dir" && as_dir=.
4612
for ac_exec_ext in '' $ac_executable_extensions; do
4613
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4614
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4615
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624
DUMPBIN=$ac_cv_prog_DUMPBIN
4625
if test -n "$DUMPBIN"; then
4626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4627
$as_echo "$DUMPBIN" >&6; }
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630
$as_echo "no" >&6; }
4634
test -n "$DUMPBIN" && break
4637
if test -z "$DUMPBIN"; then
4638
ac_ct_DUMPBIN=$DUMPBIN
4639
for ac_prog in dumpbin "link -dump"
4641
# Extract the first word of "$ac_prog", so it can be a program name with args.
4642
set dummy $ac_prog; ac_word=$2
4643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644
$as_echo_n "checking for $ac_word... " >&6; }
4645
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4646
$as_echo_n "(cached) " >&6
4648
if test -n "$ac_ct_DUMPBIN"; then
4649
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655
test -z "$as_dir" && as_dir=.
4656
for ac_exec_ext in '' $ac_executable_extensions; do
4657
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4658
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4659
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4669
if test -n "$ac_ct_DUMPBIN"; then
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4671
$as_echo "$ac_ct_DUMPBIN" >&6; }
4673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674
$as_echo "no" >&6; }
4678
test -n "$ac_ct_DUMPBIN" && break
4681
if test "x$ac_ct_DUMPBIN" = x; then
4684
case $cross_compiling:$ac_tool_warned in
4686
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688
ac_tool_warned=yes ;;
4690
DUMPBIN=$ac_ct_DUMPBIN
4694
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4696
DUMPBIN="$DUMPBIN -symbols"
4704
if test "$DUMPBIN" != ":"; then
4708
test -z "$NM" && NM=nm
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4716
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4717
if ${lt_cv_nm_interface+:} false; then :
4718
$as_echo_n "(cached) " >&6
4720
lt_cv_nm_interface="BSD nm"
4721
echo "int some_variable = 0;" > conftest.$ac_ext
4722
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4723
(eval "$ac_compile" 2>conftest.err)
4724
cat conftest.err >&5
4725
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4726
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4727
cat conftest.err >&5
4728
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4729
cat conftest.out >&5
4730
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4731
lt_cv_nm_interface="MS dumpbin"
4735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4736
$as_echo "$lt_cv_nm_interface" >&6; }
4738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4739
$as_echo_n "checking whether ln -s works... " >&6; }
4741
if test "$LN_S" = "ln -s"; then
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743
$as_echo "yes" >&6; }
4745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4746
$as_echo "no, using $LN_S" >&6; }
4749
# find the maximum length of command line arguments
4750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4751
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4752
if ${lt_cv_sys_max_cmd_len+:} false; then :
4753
$as_echo_n "(cached) " >&6
4760
# On DJGPP, this test can blow up pretty badly due to problems in libc
4761
# (any single argument exceeding 2000 bytes causes a buffer overrun
4762
# during glob expansion). Even if it were fixed, the result of this
4763
# check would be larger than it should be.
4764
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4768
# Under GNU Hurd, this test is not required because there is
4769
# no limit to the length of command line arguments.
4770
# Libtool will interpret -1 as no limit whatsoever
4771
lt_cv_sys_max_cmd_len=-1;
4774
cygwin* | mingw* | cegcc*)
4775
# On Win9x/ME, this test blows up -- it succeeds, but takes
4776
# about 5 minutes as the teststring grows exponentially.
4777
# Worse, since 9x/ME are not pre-emptively multitasking,
4778
# you end up with a "frozen" computer, even though with patience
4779
# the test eventually succeeds (with a max line length of 256k).
4780
# Instead, let's just punt: use the minimum linelength reported by
4781
# all of the supported platforms: 8192 (on NT/2K/XP).
4782
lt_cv_sys_max_cmd_len=8192;
4786
# On MiNT this can take a long time and run out of memory.
4787
lt_cv_sys_max_cmd_len=8192;
4791
# On AmigaOS with pdksh, this test takes hours, literally.
4792
# So we just punt and use a minimum line length of 8192.
4793
lt_cv_sys_max_cmd_len=8192;
4796
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4797
# This has been around since 386BSD, at least. Likely further.
4798
if test -x /sbin/sysctl; then
4799
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4800
elif test -x /usr/sbin/sysctl; then
4801
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4803
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4805
# And add a safety zone
4806
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4807
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4811
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4812
lt_cv_sys_max_cmd_len=196608
4816
# The test takes a long time on OS/2.
4817
lt_cv_sys_max_cmd_len=8192
4821
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4822
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4823
# nice to cause kernel panics so lets avoid the loop below.
4824
# First set a reasonable default.
4825
lt_cv_sys_max_cmd_len=16384
4827
if test -x /sbin/sysconfig; then
4828
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4829
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4834
lt_cv_sys_max_cmd_len=102400
4836
sysv5* | sco5v6* | sysv4.2uw2*)
4837
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4838
if test -n "$kargmax"; then
4839
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4841
lt_cv_sys_max_cmd_len=32768
4845
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4846
if test -n "$lt_cv_sys_max_cmd_len" && \
4847
test undefined != "$lt_cv_sys_max_cmd_len"; then
4848
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4849
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4851
# Make teststring a little bigger before we do anything with it.
4852
# a 1K string should be a reasonable start.
4853
for i in 1 2 3 4 5 6 7 8 ; do
4854
teststring=$teststring$teststring
4856
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4857
# If test is not a shell built-in, we'll probably end up computing a
4858
# maximum length that is only half of the actual maximum length, but
4860
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4861
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
4862
test $i != 17 # 1/2 MB should be enough
4865
teststring=$teststring$teststring
4867
# Only check the string length outside the loop.
4868
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4870
# Add a significant safety factor because C++ compilers can tack on
4871
# massive amounts of additional arguments before passing them to the
4872
# linker. It appears as though 1/2 is a usable value.
4873
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4880
if test -n $lt_cv_sys_max_cmd_len ; then
4881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4882
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4885
$as_echo "none" >&6; }
4887
max_cmd_len=$lt_cv_sys_max_cmd_len
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4899
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4900
# Try some XSI features
4903
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4905
&& eval 'test $(( 1 + 1 )) -eq 2 \
4906
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4909
$as_echo "$xsi_shell" >&6; }
4912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4913
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4915
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4917
&& lt_shell_append=yes
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4919
$as_echo "$lt_shell_append" >&6; }
4922
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4932
# test EBCDIC or ASCII
4933
case `echo X|tr X '\101'` in
4934
A) # ASCII based system
4935
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4936
lt_SP2NL='tr \040 \012'
4937
lt_NL2SP='tr \015\012 \040\040'
4939
*) # EBCDIC based system
4940
lt_SP2NL='tr \100 \n'
4941
lt_NL2SP='tr \r\n \100\100'
4953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4954
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4955
if ${lt_cv_to_host_file_cmd+:} false; then :
4956
$as_echo_n "(cached) " >&6
4961
*-*-mingw* ) # actually msys
4962
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4965
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4967
* ) # otherwise, assume *nix
4968
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4974
*-*-mingw* ) # actually msys
4975
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4978
lt_cv_to_host_file_cmd=func_convert_file_noop
4980
* ) # otherwise, assume *nix
4981
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4985
* ) # unhandled hosts (and "normal" native builds)
4986
lt_cv_to_host_file_cmd=func_convert_file_noop
4992
to_host_file_cmd=$lt_cv_to_host_file_cmd
4993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4994
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5001
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5002
if ${lt_cv_to_tool_file_cmd+:} false; then :
5003
$as_echo_n "(cached) " >&6
5005
#assume ordinary cross tools, or native build.
5006
lt_cv_to_tool_file_cmd=func_convert_file_noop
5010
*-*-mingw* ) # actually msys
5011
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5019
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5021
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5028
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5029
if ${lt_cv_ld_reload_flag+:} false; then :
5030
$as_echo_n "(cached) " >&6
5032
lt_cv_ld_reload_flag='-r'
5034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5035
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5036
reload_flag=$lt_cv_ld_reload_flag
5037
case $reload_flag in
5039
*) reload_flag=" $reload_flag" ;;
5041
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5043
cygwin* | mingw* | pw32* | cegcc*)
5044
if test "$GCC" != yes; then
5049
if test "$GCC" = yes; then
5050
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5052
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5065
if test -n "$ac_tool_prefix"; then
5066
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5067
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069
$as_echo_n "checking for $ac_word... " >&6; }
5070
if ${ac_cv_prog_OBJDUMP+:} false; then :
5071
$as_echo_n "(cached) " >&6
5073
if test -n "$OBJDUMP"; then
5074
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5076
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080
test -z "$as_dir" && as_dir=.
5081
for ac_exec_ext in '' $ac_executable_extensions; do
5082
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5083
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5084
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093
OBJDUMP=$ac_cv_prog_OBJDUMP
5094
if test -n "$OBJDUMP"; then
5095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5096
$as_echo "$OBJDUMP" >&6; }
5098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099
$as_echo "no" >&6; }
5104
if test -z "$ac_cv_prog_OBJDUMP"; then
5105
ac_ct_OBJDUMP=$OBJDUMP
5106
# Extract the first word of "objdump", so it can be a program name with args.
5107
set dummy objdump; ac_word=$2
5108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109
$as_echo_n "checking for $ac_word... " >&6; }
5110
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5111
$as_echo_n "(cached) " >&6
5113
if test -n "$ac_ct_OBJDUMP"; then
5114
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120
test -z "$as_dir" && as_dir=.
5121
for ac_exec_ext in '' $ac_executable_extensions; do
5122
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5124
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5134
if test -n "$ac_ct_OBJDUMP"; then
5135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5136
$as_echo "$ac_ct_OBJDUMP" >&6; }
5138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139
$as_echo "no" >&6; }
5142
if test "x$ac_ct_OBJDUMP" = x; then
5145
case $cross_compiling:$ac_tool_warned in
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5148
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5149
ac_tool_warned=yes ;;
5151
OBJDUMP=$ac_ct_OBJDUMP
5154
OBJDUMP="$ac_cv_prog_OBJDUMP"
5157
test -z "$OBJDUMP" && OBJDUMP=objdump
5167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5168
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5169
if ${lt_cv_deplibs_check_method+:} false; then :
5170
$as_echo_n "(cached) " >&6
5172
lt_cv_file_magic_cmd='$MAGIC_CMD'
5173
lt_cv_file_magic_test_file=
5174
lt_cv_deplibs_check_method='unknown'
5175
# Need to set the preceding variable on all platforms that support
5176
# interlibrary dependencies.
5177
# 'none' -- dependencies not supported.
5178
# `unknown' -- same as none, but documents that we really don't know.
5179
# 'pass_all' -- all dependencies passed with no checks.
5180
# 'test_compile' -- check by making test program.
5181
# 'file_magic [[regex]]' -- check by looking for files in library path
5182
# which responds to the $file_magic_cmd with a given extended regex.
5183
# If you have `file' or equivalent on your system and you're not sure
5184
# whether `pass_all' will *always* work, you probably want this one.
5188
lt_cv_deplibs_check_method=pass_all
5192
lt_cv_deplibs_check_method=pass_all
5196
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5197
lt_cv_file_magic_cmd='/usr/bin/file -L'
5198
lt_cv_file_magic_test_file=/shlib/libc.so
5202
# func_win32_libid is a shell function defined in ltmain.sh
5203
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5204
lt_cv_file_magic_cmd='func_win32_libid'
5208
# Base MSYS/MinGW do not provide the 'file' command needed by
5209
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5210
# unless we find 'file', for example because we are cross-compiling.
5211
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5212
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5213
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5214
lt_cv_file_magic_cmd='func_win32_libid'
5216
# Keep this pattern in sync with the one in func_win32_libid.
5217
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5218
lt_cv_file_magic_cmd='$OBJDUMP -f'
5223
# use the weaker test based on 'objdump'. See mingw*.
5224
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5225
lt_cv_file_magic_cmd='$OBJDUMP -f'
5228
darwin* | rhapsody*)
5229
lt_cv_deplibs_check_method=pass_all
5232
freebsd* | dragonfly*)
5233
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5236
# Not sure whether the presence of OpenBSD here was a mistake.
5237
# Let's accept both of them until this is cleared up.
5238
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5239
lt_cv_file_magic_cmd=/usr/bin/file
5240
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5244
lt_cv_deplibs_check_method=pass_all
5249
lt_cv_deplibs_check_method=pass_all
5252
hpux10.20* | hpux11*)
5253
lt_cv_file_magic_cmd=/usr/bin/file
5256
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5257
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5260
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5261
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5264
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5265
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5271
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5272
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5275
irix5* | irix6* | nonstopux*)
5277
*-32|*"-32 ") libmagic=32-bit;;
5278
*-n32|*"-n32 ") libmagic=N32;;
5279
*-64|*"-64 ") libmagic=64-bit;;
5280
*) libmagic=never-match;;
5282
lt_cv_deplibs_check_method=pass_all
5285
# This must be glibc/ELF.
5286
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5287
lt_cv_deplibs_check_method=pass_all
5290
netbsd* | netbsdelf*-gnu)
5291
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5292
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5294
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5299
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5300
lt_cv_file_magic_cmd=/usr/bin/file
5301
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5305
lt_cv_deplibs_check_method=pass_all
5309
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5310
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5312
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5316
osf3* | osf4* | osf5*)
5317
lt_cv_deplibs_check_method=pass_all
5321
lt_cv_deplibs_check_method=pass_all
5325
lt_cv_deplibs_check_method=pass_all
5328
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5329
lt_cv_deplibs_check_method=pass_all
5333
case $host_vendor in
5335
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5336
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5339
lt_cv_deplibs_check_method=pass_all
5342
lt_cv_file_magic_cmd='/bin/file'
5343
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5346
lt_cv_file_magic_cmd='/bin/file'
5347
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5348
lt_cv_file_magic_test_file=/lib/libc.so
5351
lt_cv_deplibs_check_method=pass_all
5354
lt_cv_deplibs_check_method=pass_all
5360
lt_cv_deplibs_check_method=pass_all
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5366
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5370
if test "$build" = "$host"; then
5373
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5376
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5382
file_magic_cmd=$lt_cv_file_magic_cmd
5383
deplibs_check_method=$lt_cv_deplibs_check_method
5384
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5407
if test -n "$ac_tool_prefix"; then
5408
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5409
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411
$as_echo_n "checking for $ac_word... " >&6; }
5412
if ${ac_cv_prog_DLLTOOL+:} false; then :
5413
$as_echo_n "(cached) " >&6
5415
if test -n "$DLLTOOL"; then
5416
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422
test -z "$as_dir" && as_dir=.
5423
for ac_exec_ext in '' $ac_executable_extensions; do
5424
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5425
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5426
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435
DLLTOOL=$ac_cv_prog_DLLTOOL
5436
if test -n "$DLLTOOL"; then
5437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5438
$as_echo "$DLLTOOL" >&6; }
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441
$as_echo "no" >&6; }
5446
if test -z "$ac_cv_prog_DLLTOOL"; then
5447
ac_ct_DLLTOOL=$DLLTOOL
5448
# Extract the first word of "dlltool", so it can be a program name with args.
5449
set dummy dlltool; ac_word=$2
5450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451
$as_echo_n "checking for $ac_word... " >&6; }
5452
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5453
$as_echo_n "(cached) " >&6
5455
if test -n "$ac_ct_DLLTOOL"; then
5456
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5458
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462
test -z "$as_dir" && as_dir=.
5463
for ac_exec_ext in '' $ac_executable_extensions; do
5464
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5466
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5476
if test -n "$ac_ct_DLLTOOL"; then
5477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5478
$as_echo "$ac_ct_DLLTOOL" >&6; }
5480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481
$as_echo "no" >&6; }
5484
if test "x$ac_ct_DLLTOOL" = x; then
5487
case $cross_compiling:$ac_tool_warned in
5489
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5490
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5491
ac_tool_warned=yes ;;
5493
DLLTOOL=$ac_ct_DLLTOOL
5496
DLLTOOL="$ac_cv_prog_DLLTOOL"
5499
test -z "$DLLTOOL" && DLLTOOL=dlltool
5510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5511
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5512
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5513
$as_echo_n "(cached) " >&6
5515
lt_cv_sharedlib_from_linklib_cmd='unknown'
5518
cygwin* | mingw* | pw32* | cegcc*)
5519
# two different shell functions defined in ltmain.sh
5520
# decide which to use based on capabilities of $DLLTOOL
5521
case `$DLLTOOL --help 2>&1` in
5522
*--identify-strict*)
5523
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5526
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5531
# fallback: assume linklib IS sharedlib
5532
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5538
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5539
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5540
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5549
if test -n "$ac_tool_prefix"; then
5552
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5553
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555
$as_echo_n "checking for $ac_word... " >&6; }
5556
if ${ac_cv_prog_AR+:} false; then :
5557
$as_echo_n "(cached) " >&6
5559
if test -n "$AR"; then
5560
ac_cv_prog_AR="$AR" # Let the user override the test.
5562
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566
test -z "$as_dir" && as_dir=.
5567
for ac_exec_ext in '' $ac_executable_extensions; do
5568
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5570
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580
if test -n "$AR"; then
5581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5582
$as_echo "$AR" >&6; }
5584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585
$as_echo "no" >&6; }
5589
test -n "$AR" && break
5592
if test -z "$AR"; then
5596
# Extract the first word of "$ac_prog", so it can be a program name with args.
5597
set dummy $ac_prog; ac_word=$2
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599
$as_echo_n "checking for $ac_word... " >&6; }
5600
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5601
$as_echo_n "(cached) " >&6
5603
if test -n "$ac_ct_AR"; then
5604
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610
test -z "$as_dir" && as_dir=.
5611
for ac_exec_ext in '' $ac_executable_extensions; do
5612
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613
ac_cv_prog_ac_ct_AR="$ac_prog"
5614
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5624
if test -n "$ac_ct_AR"; then
5625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5626
$as_echo "$ac_ct_AR" >&6; }
5628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629
$as_echo "no" >&6; }
5633
test -n "$ac_ct_AR" && break
5636
if test "x$ac_ct_AR" = x; then
5639
case $cross_compiling:$ac_tool_warned in
5641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643
ac_tool_warned=yes ;;
5662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5663
$as_echo_n "checking for archiver @FILE support... " >&6; }
5664
if ${lt_cv_ar_at_file+:} false; then :
5665
$as_echo_n "(cached) " >&6
5668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5669
/* end confdefs.h. */
5679
if ac_fn_c_try_compile "$LINENO"; then :
5680
echo conftest.$ac_objext > conftest.lst
5681
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5682
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5683
(eval $lt_ar_try) 2>&5
5685
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5686
test $ac_status = 0; }
5687
if test "$ac_status" -eq 0; then
5688
# Ensure the archiver fails upon bogus file names.
5689
rm -f conftest.$ac_objext libconftest.a
5690
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5691
(eval $lt_ar_try) 2>&5
5693
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5694
test $ac_status = 0; }
5695
if test "$ac_status" -ne 0; then
5699
rm -f conftest.* libconftest.a
5702
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5706
$as_echo "$lt_cv_ar_at_file" >&6; }
5708
if test "x$lt_cv_ar_at_file" = xno; then
5711
archiver_list_spec=$lt_cv_ar_at_file
5720
if test -n "$ac_tool_prefix"; then
5721
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5722
set dummy ${ac_tool_prefix}strip; ac_word=$2
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724
$as_echo_n "checking for $ac_word... " >&6; }
5725
if ${ac_cv_prog_STRIP+:} false; then :
5726
$as_echo_n "(cached) " >&6
5728
if test -n "$STRIP"; then
5729
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735
test -z "$as_dir" && as_dir=.
5736
for ac_exec_ext in '' $ac_executable_extensions; do
5737
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5739
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748
STRIP=$ac_cv_prog_STRIP
5749
if test -n "$STRIP"; then
5750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5751
$as_echo "$STRIP" >&6; }
5753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754
$as_echo "no" >&6; }
5759
if test -z "$ac_cv_prog_STRIP"; then
5761
# Extract the first word of "strip", so it can be a program name with args.
5762
set dummy strip; ac_word=$2
5763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764
$as_echo_n "checking for $ac_word... " >&6; }
5765
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5766
$as_echo_n "(cached) " >&6
5768
if test -n "$ac_ct_STRIP"; then
5769
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775
test -z "$as_dir" && as_dir=.
5776
for ac_exec_ext in '' $ac_executable_extensions; do
5777
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5778
ac_cv_prog_ac_ct_STRIP="strip"
5779
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5789
if test -n "$ac_ct_STRIP"; then
5790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5791
$as_echo "$ac_ct_STRIP" >&6; }
5793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794
$as_echo "no" >&6; }
5797
if test "x$ac_ct_STRIP" = x; then
5800
case $cross_compiling:$ac_tool_warned in
5802
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5803
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804
ac_tool_warned=yes ;;
5809
STRIP="$ac_cv_prog_STRIP"
5812
test -z "$STRIP" && STRIP=:
5819
if test -n "$ac_tool_prefix"; then
5820
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5821
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823
$as_echo_n "checking for $ac_word... " >&6; }
5824
if ${ac_cv_prog_RANLIB+:} false; then :
5825
$as_echo_n "(cached) " >&6
5827
if test -n "$RANLIB"; then
5828
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834
test -z "$as_dir" && as_dir=.
5835
for ac_exec_ext in '' $ac_executable_extensions; do
5836
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5838
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847
RANLIB=$ac_cv_prog_RANLIB
5848
if test -n "$RANLIB"; then
5849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5850
$as_echo "$RANLIB" >&6; }
5852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853
$as_echo "no" >&6; }
5858
if test -z "$ac_cv_prog_RANLIB"; then
5859
ac_ct_RANLIB=$RANLIB
5860
# Extract the first word of "ranlib", so it can be a program name with args.
5861
set dummy ranlib; ac_word=$2
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863
$as_echo_n "checking for $ac_word... " >&6; }
5864
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5865
$as_echo_n "(cached) " >&6
5867
if test -n "$ac_ct_RANLIB"; then
5868
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874
test -z "$as_dir" && as_dir=.
5875
for ac_exec_ext in '' $ac_executable_extensions; do
5876
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877
ac_cv_prog_ac_ct_RANLIB="ranlib"
5878
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5888
if test -n "$ac_ct_RANLIB"; then
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5890
$as_echo "$ac_ct_RANLIB" >&6; }
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893
$as_echo "no" >&6; }
5896
if test "x$ac_ct_RANLIB" = x; then
5899
case $cross_compiling:$ac_tool_warned in
5901
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5902
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5903
ac_tool_warned=yes ;;
5905
RANLIB=$ac_ct_RANLIB
5908
RANLIB="$ac_cv_prog_RANLIB"
5911
test -z "$RANLIB" && RANLIB=:
5918
# Determine commands to create old-style static archives.
5919
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5920
old_postinstall_cmds='chmod 644 $oldlib'
5921
old_postuninstall_cmds=
5923
if test -n "$RANLIB"; then
5926
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5929
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5932
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5937
lock_old_archive_extraction=yes ;;
5939
lock_old_archive_extraction=no ;;
5980
# If no C compiler was specified, use CC.
5983
# If no C compiler flags were specified, use CFLAGS.
5984
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5986
# Allow CC to be a program name with arguments.
5990
# Check for command to grab the raw symbol name followed by C symbol from nm.
5991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5992
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5993
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5994
$as_echo_n "(cached) " >&6
5997
# These are sane defaults that work on at least a few old systems.
5998
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6000
# Character class describing NM global symbol codes.
6001
symcode='[BCDEGRST]'
6003
# Regexp to match symbols that can be accessed directly from C.
6004
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6006
# Define system-specific variables.
6011
cygwin* | mingw* | pw32* | cegcc*)
6012
symcode='[ABCDGISTW]'
6015
if test "$host_cpu" = ia64; then
6016
symcode='[ABCDEGRST]'
6020
symcode='[BCDEGRST]'
6023
symcode='[BCDEGQRST]'
6034
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6042
# If we're using GNU nm, then use its standard symbol codes.
6043
case `$NM -V 2>&1` in
6044
*GNU* | *'with BFD'*)
6045
symcode='[ABCDGIRSTW]' ;;
6048
# Transform an extracted symbol line into a proper C declaration.
6049
# Some systems (esp. on ia64) link data and code symbols differently,
6050
# so use this general approach.
6051
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6053
# Transform an extracted symbol line into symbol name and symbol address
6054
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6055
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6057
# Handle CRLF in mingw tool chain
6061
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6065
# Try without a prefix underscore, then with it.
6066
for ac_symprfx in "" "_"; do
6068
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6069
symxfrm="\\1 $ac_symprfx\\2 \\2"
6071
# Write the raw and C identifiers.
6072
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6073
# Fake it for dumpbin and say T for any non-static function
6074
# and D for any global variable.
6075
# Also find C++ and __fastcall symbols from MSVC++,
6076
# which start with @ or ?.
6077
lt_cv_sys_global_symbol_pipe="$AWK '"\
6078
" {last_section=section; section=\$ 3};"\
6079
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6080
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6081
" \$ 0!~/External *\|/{next};"\
6082
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6083
" {if(hide[section]) next};"\
6084
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6085
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6086
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6087
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6088
" ' prfx=^$ac_symprfx"
6090
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6092
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6094
# Check to see that the pipe works correctly.
6098
cat > conftest.$ac_ext <<_LT_EOF
6103
void nm_test_func(void);
6104
void nm_test_func(void){}
6108
int main(){nm_test_var='a';nm_test_func();return(0);}
6111
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6112
(eval $ac_compile) 2>&5
6114
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6115
test $ac_status = 0; }; then
6116
# Now try to grab the symbols.
6118
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6119
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6121
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6122
test $ac_status = 0; } && test -s "$nlist"; then
6123
# Try sorting and uniquifying the output.
6124
if sort "$nlist" | uniq > "$nlist"T; then
6125
mv -f "$nlist"T "$nlist"
6130
# Make sure that we snagged all the symbols we need.
6131
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6132
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6133
cat <<_LT_EOF > conftest.$ac_ext
6134
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6135
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6136
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6137
relocations are performed -- see ld's documentation on pseudo-relocs. */
6138
# define LT@&t@_DLSYM_CONST
6139
#elif defined(__osf__)
6140
/* This system does not cope well with relocations in const data. */
6141
# define LT@&t@_DLSYM_CONST
6143
# define LT@&t@_DLSYM_CONST const
6151
# Now generate the symbol file.
6152
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6154
cat <<_LT_EOF >> conftest.$ac_ext
6156
/* The mapping between symbol names and symbols. */
6157
LT@&t@_DLSYM_CONST struct {
6161
lt__PROGRAM__LTX_preloaded_symbols[] =
6163
{ "@PROGRAM@", (void *) 0 },
6165
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6166
cat <<\_LT_EOF >> conftest.$ac_ext
6170
/* This works around a problem in FreeBSD linker */
6171
#ifdef FREEBSD_WORKAROUND
6172
static const void *lt_preloaded_setup() {
6173
return lt__PROGRAM__LTX_preloaded_symbols;
6181
# Now try linking the two files.
6182
mv conftest.$ac_objext conftstm.$ac_objext
6183
lt_globsym_save_LIBS=$LIBS
6184
lt_globsym_save_CFLAGS=$CFLAGS
6185
LIBS="conftstm.$ac_objext"
6186
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6187
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6188
(eval $ac_link) 2>&5
6190
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6191
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6194
LIBS=$lt_globsym_save_LIBS
6195
CFLAGS=$lt_globsym_save_CFLAGS
6197
echo "cannot find nm_test_func in $nlist" >&5
6200
echo "cannot find nm_test_var in $nlist" >&5
6203
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6206
echo "$progname: failed program was:" >&5
6207
cat conftest.$ac_ext >&5
6209
rm -rf conftest* conftst*
6211
# Do not use the global_symbol_pipe unless it works.
6212
if test "$pipe_works" = yes; then
6215
lt_cv_sys_global_symbol_pipe=
6221
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6222
lt_cv_sys_global_symbol_to_cdecl=
6224
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6226
$as_echo "failed" >&6; }
6228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6229
$as_echo "ok" >&6; }
6232
# Response file support.
6233
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6234
nm_file_list_spec='@'
6235
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6236
nm_file_list_spec='@'
6265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6266
$as_echo_n "checking for sysroot... " >&6; }
6268
@%:@ Check whether --with-sysroot was given.
6269
if test "${with_sysroot+set}" = set; then :
6270
withval=$with_sysroot;
6277
case ${with_sysroot} in #(
6279
if test "$GCC" = yes; then
6280
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6284
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6290
$as_echo "${with_sysroot}" >&6; }
6291
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6296
$as_echo "${lt_sysroot:-no}" >&6; }
6302
@%:@ Check whether --enable-libtool-lock was given.
6303
if test "${enable_libtool_lock+set}" = set; then :
6304
enableval=$enable_libtool_lock;
6307
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6309
# Some flags need to be propagated to the compiler or linker for good
6313
# Find out which ABI we are using.
6314
echo 'int i;' > conftest.$ac_ext
6315
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6316
(eval $ac_compile) 2>&5
6318
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6319
test $ac_status = 0; }; then
6320
case `/usr/bin/file conftest.$ac_objext` in
6332
# Find out which ABI we are using.
6333
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6334
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6335
(eval $ac_compile) 2>&5
6337
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6338
test $ac_status = 0; }; then
6339
if test "$lt_cv_prog_gnu_ld" = yes; then
6340
case `/usr/bin/file conftest.$ac_objext` in
6342
LD="${LD-ld} -melf32bsmip"
6345
LD="${LD-ld} -melf32bmipn32"
6348
LD="${LD-ld} -melf64bmip"
6352
case `/usr/bin/file conftest.$ac_objext` in
6368
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6369
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6370
# Find out which ABI we are using.
6371
echo 'int i;' > conftest.$ac_ext
6372
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6373
(eval $ac_compile) 2>&5
6375
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6376
test $ac_status = 0; }; then
6377
case `/usr/bin/file conftest.o` in
6380
x86_64-*kfreebsd*-gnu)
6381
LD="${LD-ld} -m elf_i386_fbsd"
6384
case `/usr/bin/file conftest.o` in
6386
LD="${LD-ld} -m elf32_x86_64"
6389
LD="${LD-ld} -m elf_i386"
6394
LD="${LD-ld} -m elf32lppclinux"
6397
LD="${LD-ld} -m elf32ppclinux"
6400
LD="${LD-ld} -m elf_s390"
6403
LD="${LD-ld} -m elf32_sparc"
6409
x86_64-*kfreebsd*-gnu)
6410
LD="${LD-ld} -m elf_x86_64_fbsd"
6413
LD="${LD-ld} -m elf_x86_64"
6416
LD="${LD-ld} -m elf64lppc"
6419
LD="${LD-ld} -m elf64ppc"
6421
s390*-*linux*|s390*-*tpf*)
6422
LD="${LD-ld} -m elf64_s390"
6425
LD="${LD-ld} -m elf64_sparc"
6435
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6436
SAVE_CFLAGS="$CFLAGS"
6437
CFLAGS="$CFLAGS -belf"
6438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6439
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6440
if ${lt_cv_cc_needs_belf+:} false; then :
6441
$as_echo_n "(cached) " >&6
6444
ac_cpp='$CPP $CPPFLAGS'
6445
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6449
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450
/* end confdefs.h. */
6460
if ac_fn_c_try_link "$LINENO"; then :
6461
lt_cv_cc_needs_belf=yes
6463
lt_cv_cc_needs_belf=no
6465
rm -f core conftest.err conftest.$ac_objext \
6466
conftest$ac_exeext conftest.$ac_ext
6468
ac_cpp='$CPP $CPPFLAGS'
6469
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6470
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6471
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6475
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6476
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6477
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6478
CFLAGS="$SAVE_CFLAGS"
6482
# Find out which ABI we are using.
6483
echo 'int i;' > conftest.$ac_ext
6484
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6485
(eval $ac_compile) 2>&5
6487
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6488
test $ac_status = 0; }; then
6489
case `/usr/bin/file conftest.o` in
6491
case $lt_cv_prog_gnu_ld in
6495
LD="${LD-ld} -m elf_x86_64"
6498
LD="${LD-ld} -m elf64_sparc"
6501
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6502
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6507
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6519
need_locks="$enable_libtool_lock"
6521
if test -n "$ac_tool_prefix"; then
6522
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6523
set dummy ${ac_tool_prefix}mt; ac_word=$2
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525
$as_echo_n "checking for $ac_word... " >&6; }
6526
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6527
$as_echo_n "(cached) " >&6
6529
if test -n "$MANIFEST_TOOL"; then
6530
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6532
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536
test -z "$as_dir" && as_dir=.
6537
for ac_exec_ext in '' $ac_executable_extensions; do
6538
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6539
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6540
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6550
if test -n "$MANIFEST_TOOL"; then
6551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6552
$as_echo "$MANIFEST_TOOL" >&6; }
6554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555
$as_echo "no" >&6; }
6560
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6561
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6562
# Extract the first word of "mt", so it can be a program name with args.
6563
set dummy mt; ac_word=$2
6564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565
$as_echo_n "checking for $ac_word... " >&6; }
6566
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6567
$as_echo_n "(cached) " >&6
6569
if test -n "$ac_ct_MANIFEST_TOOL"; then
6570
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6572
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576
test -z "$as_dir" && as_dir=.
6577
for ac_exec_ext in '' $ac_executable_extensions; do
6578
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6580
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6590
if test -n "$ac_ct_MANIFEST_TOOL"; then
6591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6592
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595
$as_echo "no" >&6; }
6598
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6601
case $cross_compiling:$ac_tool_warned in
6603
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605
ac_tool_warned=yes ;;
6607
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6610
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6613
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6615
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6616
if ${lt_cv_path_mainfest_tool+:} false; then :
6617
$as_echo_n "(cached) " >&6
6619
lt_cv_path_mainfest_tool=no
6620
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6621
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6622
cat conftest.err >&5
6623
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6624
lt_cv_path_mainfest_tool=yes
6628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6629
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6630
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6640
rhapsody* | darwin*)
6641
if test -n "$ac_tool_prefix"; then
6642
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6643
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645
$as_echo_n "checking for $ac_word... " >&6; }
6646
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6647
$as_echo_n "(cached) " >&6
6649
if test -n "$DSYMUTIL"; then
6650
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656
test -z "$as_dir" && as_dir=.
6657
for ac_exec_ext in '' $ac_executable_extensions; do
6658
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6660
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6670
if test -n "$DSYMUTIL"; then
6671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6672
$as_echo "$DSYMUTIL" >&6; }
6674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675
$as_echo "no" >&6; }
6680
if test -z "$ac_cv_prog_DSYMUTIL"; then
6681
ac_ct_DSYMUTIL=$DSYMUTIL
6682
# Extract the first word of "dsymutil", so it can be a program name with args.
6683
set dummy dsymutil; ac_word=$2
6684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685
$as_echo_n "checking for $ac_word... " >&6; }
6686
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6687
$as_echo_n "(cached) " >&6
6689
if test -n "$ac_ct_DSYMUTIL"; then
6690
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6692
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696
test -z "$as_dir" && as_dir=.
6697
for ac_exec_ext in '' $ac_executable_extensions; do
6698
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6699
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6700
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6710
if test -n "$ac_ct_DSYMUTIL"; then
6711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6712
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715
$as_echo "no" >&6; }
6718
if test "x$ac_ct_DSYMUTIL" = x; then
6721
case $cross_compiling:$ac_tool_warned in
6723
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725
ac_tool_warned=yes ;;
6727
DSYMUTIL=$ac_ct_DSYMUTIL
6730
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6733
if test -n "$ac_tool_prefix"; then
6734
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6735
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737
$as_echo_n "checking for $ac_word... " >&6; }
6738
if ${ac_cv_prog_NMEDIT+:} false; then :
6739
$as_echo_n "(cached) " >&6
6741
if test -n "$NMEDIT"; then
6742
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748
test -z "$as_dir" && as_dir=.
6749
for ac_exec_ext in '' $ac_executable_extensions; do
6750
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6751
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6752
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761
NMEDIT=$ac_cv_prog_NMEDIT
6762
if test -n "$NMEDIT"; then
6763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6764
$as_echo "$NMEDIT" >&6; }
6766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767
$as_echo "no" >&6; }
6772
if test -z "$ac_cv_prog_NMEDIT"; then
6773
ac_ct_NMEDIT=$NMEDIT
6774
# Extract the first word of "nmedit", so it can be a program name with args.
6775
set dummy nmedit; ac_word=$2
6776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777
$as_echo_n "checking for $ac_word... " >&6; }
6778
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6779
$as_echo_n "(cached) " >&6
6781
if test -n "$ac_ct_NMEDIT"; then
6782
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788
test -z "$as_dir" && as_dir=.
6789
for ac_exec_ext in '' $ac_executable_extensions; do
6790
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6791
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6792
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6802
if test -n "$ac_ct_NMEDIT"; then
6803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6804
$as_echo "$ac_ct_NMEDIT" >&6; }
6806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807
$as_echo "no" >&6; }
6810
if test "x$ac_ct_NMEDIT" = x; then
6813
case $cross_compiling:$ac_tool_warned in
6815
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6816
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817
ac_tool_warned=yes ;;
6819
NMEDIT=$ac_ct_NMEDIT
6822
NMEDIT="$ac_cv_prog_NMEDIT"
6825
if test -n "$ac_tool_prefix"; then
6826
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6827
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829
$as_echo_n "checking for $ac_word... " >&6; }
6830
if ${ac_cv_prog_LIPO+:} false; then :
6831
$as_echo_n "(cached) " >&6
6833
if test -n "$LIPO"; then
6834
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840
test -z "$as_dir" && as_dir=.
6841
for ac_exec_ext in '' $ac_executable_extensions; do
6842
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6843
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6844
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853
LIPO=$ac_cv_prog_LIPO
6854
if test -n "$LIPO"; then
6855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6856
$as_echo "$LIPO" >&6; }
6858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859
$as_echo "no" >&6; }
6864
if test -z "$ac_cv_prog_LIPO"; then
6866
# Extract the first word of "lipo", so it can be a program name with args.
6867
set dummy lipo; ac_word=$2
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869
$as_echo_n "checking for $ac_word... " >&6; }
6870
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6871
$as_echo_n "(cached) " >&6
6873
if test -n "$ac_ct_LIPO"; then
6874
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880
test -z "$as_dir" && as_dir=.
6881
for ac_exec_ext in '' $ac_executable_extensions; do
6882
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6883
ac_cv_prog_ac_ct_LIPO="lipo"
6884
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6894
if test -n "$ac_ct_LIPO"; then
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6896
$as_echo "$ac_ct_LIPO" >&6; }
6898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899
$as_echo "no" >&6; }
6902
if test "x$ac_ct_LIPO" = x; then
6905
case $cross_compiling:$ac_tool_warned in
6907
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6908
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6909
ac_tool_warned=yes ;;
6914
LIPO="$ac_cv_prog_LIPO"
6917
if test -n "$ac_tool_prefix"; then
6918
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6919
set dummy ${ac_tool_prefix}otool; ac_word=$2
6920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921
$as_echo_n "checking for $ac_word... " >&6; }
6922
if ${ac_cv_prog_OTOOL+:} false; then :
6923
$as_echo_n "(cached) " >&6
6925
if test -n "$OTOOL"; then
6926
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932
test -z "$as_dir" && as_dir=.
6933
for ac_exec_ext in '' $ac_executable_extensions; do
6934
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6935
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6936
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6945
OTOOL=$ac_cv_prog_OTOOL
6946
if test -n "$OTOOL"; then
6947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6948
$as_echo "$OTOOL" >&6; }
6950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951
$as_echo "no" >&6; }
6956
if test -z "$ac_cv_prog_OTOOL"; then
6958
# Extract the first word of "otool", so it can be a program name with args.
6959
set dummy otool; ac_word=$2
6960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961
$as_echo_n "checking for $ac_word... " >&6; }
6962
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6963
$as_echo_n "(cached) " >&6
6965
if test -n "$ac_ct_OTOOL"; then
6966
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972
test -z "$as_dir" && as_dir=.
6973
for ac_exec_ext in '' $ac_executable_extensions; do
6974
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6975
ac_cv_prog_ac_ct_OTOOL="otool"
6976
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6986
if test -n "$ac_ct_OTOOL"; then
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6988
$as_echo "$ac_ct_OTOOL" >&6; }
6990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991
$as_echo "no" >&6; }
6994
if test "x$ac_ct_OTOOL" = x; then
6997
case $cross_compiling:$ac_tool_warned in
6999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7001
ac_tool_warned=yes ;;
7006
OTOOL="$ac_cv_prog_OTOOL"
7009
if test -n "$ac_tool_prefix"; then
7010
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7011
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013
$as_echo_n "checking for $ac_word... " >&6; }
7014
if ${ac_cv_prog_OTOOL64+:} false; then :
7015
$as_echo_n "(cached) " >&6
7017
if test -n "$OTOOL64"; then
7018
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024
test -z "$as_dir" && as_dir=.
7025
for ac_exec_ext in '' $ac_executable_extensions; do
7026
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7028
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037
OTOOL64=$ac_cv_prog_OTOOL64
7038
if test -n "$OTOOL64"; then
7039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7040
$as_echo "$OTOOL64" >&6; }
7042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043
$as_echo "no" >&6; }
7048
if test -z "$ac_cv_prog_OTOOL64"; then
7049
ac_ct_OTOOL64=$OTOOL64
7050
# Extract the first word of "otool64", so it can be a program name with args.
7051
set dummy otool64; ac_word=$2
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053
$as_echo_n "checking for $ac_word... " >&6; }
7054
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7055
$as_echo_n "(cached) " >&6
7057
if test -n "$ac_ct_OTOOL64"; then
7058
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064
test -z "$as_dir" && as_dir=.
7065
for ac_exec_ext in '' $ac_executable_extensions; do
7066
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7067
ac_cv_prog_ac_ct_OTOOL64="otool64"
7068
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7078
if test -n "$ac_ct_OTOOL64"; then
7079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7080
$as_echo "$ac_ct_OTOOL64" >&6; }
7082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083
$as_echo "no" >&6; }
7086
if test "x$ac_ct_OTOOL64" = x; then
7089
case $cross_compiling:$ac_tool_warned in
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7092
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7093
ac_tool_warned=yes ;;
7095
OTOOL64=$ac_ct_OTOOL64
7098
OTOOL64="$ac_cv_prog_OTOOL64"
7127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7128
$as_echo_n "checking for -single_module linker flag... " >&6; }
7129
if ${lt_cv_apple_cc_single_mod+:} false; then :
7130
$as_echo_n "(cached) " >&6
7132
lt_cv_apple_cc_single_mod=no
7133
if test -z "${LT_MULTI_MODULE}"; then
7134
# By default we will add the -single_module flag. You can override
7135
# by either setting the environment variable LT_MULTI_MODULE
7136
# non-empty at configure time, or by adding -multi_module to the
7138
rm -rf libconftest.dylib*
7139
echo "int foo(void){return 1;}" > conftest.c
7140
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7141
-dynamiclib -Wl,-single_module conftest.c" >&5
7142
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7143
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7145
# If there is a non-empty error log, and "single_module"
7146
# appears in it, assume the flag caused a linker warning
7147
if test -s conftest.err && $GREP single_module conftest.err; then
7148
cat conftest.err >&5
7149
# Otherwise, if the output was created with a 0 exit code from
7150
# the compiler, it worked.
7151
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7152
lt_cv_apple_cc_single_mod=yes
7154
cat conftest.err >&5
7156
rm -rf libconftest.dylib*
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7161
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7164
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7165
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7166
$as_echo_n "(cached) " >&6
7168
lt_cv_ld_exported_symbols_list=no
7169
save_LDFLAGS=$LDFLAGS
7170
echo "_main" > conftest.sym
7171
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7172
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173
/* end confdefs.h. */
7183
if ac_fn_c_try_link "$LINENO"; then :
7184
lt_cv_ld_exported_symbols_list=yes
7186
lt_cv_ld_exported_symbols_list=no
7188
rm -f core conftest.err conftest.$ac_objext \
7189
conftest$ac_exeext conftest.$ac_ext
7190
LDFLAGS="$save_LDFLAGS"
7193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7194
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7197
$as_echo_n "checking for -force_load linker flag... " >&6; }
7198
if ${lt_cv_ld_force_load+:} false; then :
7199
$as_echo_n "(cached) " >&6
7201
lt_cv_ld_force_load=no
7202
cat > conftest.c << _LT_EOF
7203
int forced_loaded() { return 2;}
7205
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7206
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7207
echo "$AR cru libconftest.a conftest.o" >&5
7208
$AR cru libconftest.a conftest.o 2>&5
7209
echo "$RANLIB libconftest.a" >&5
7210
$RANLIB libconftest.a 2>&5
7211
cat > conftest.c << _LT_EOF
7212
int main() { return 0;}
7214
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7215
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7217
if test -s conftest.err && $GREP force_load conftest.err; then
7218
cat conftest.err >&5
7219
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7220
lt_cv_ld_force_load=yes
7222
cat conftest.err >&5
7224
rm -f conftest.err libconftest.a conftest conftest.c
7225
rm -rf conftest.dSYM
7228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7229
$as_echo "$lt_cv_ld_force_load" >&6; }
7231
rhapsody* | darwin1.[012])
7232
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7234
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7235
darwin*) # darwin 5.x on
7236
# if running on 10.5 or later, the deployment target defaults
7237
# to the OS version, if on x86, and 10.4, the deployment
7238
# target defaults to 10.4. Don't you love it?
7239
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7240
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7241
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7243
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7245
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7249
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7250
_lt_dar_single_mod='$single_module'
7252
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7253
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7255
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7257
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7258
_lt_dsymutil='~$DSYMUTIL $lib || :'
7266
ac_cpp='$CPP $CPPFLAGS'
7267
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7268
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7269
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7271
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7272
# On Suns, sometimes $CPP names a directory.
7273
if test -n "$CPP" && test -d "$CPP"; then
7276
if test -z "$CPP"; then
7277
if ${ac_cv_prog_CPP+:} false; then :
7278
$as_echo_n "(cached) " >&6
7280
# Double quotes because CPP needs to be expanded
7281
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7284
for ac_c_preproc_warn_flag in '' yes
7286
# Use a header file that comes with gcc, so configuring glibc
7287
# with a fresh cross-compiler works.
7288
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7289
# <limits.h> exists even on freestanding compilers.
7290
# On the NeXT, cc -E runs the code through the compiler's parser,
7291
# not just through cpp. "Syntax error" is here to catch this case.
7292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293
/* end confdefs.h. */
7295
@%:@ include <limits.h>
7297
@%:@ include <assert.h>
7301
if ac_fn_c_try_cpp "$LINENO"; then :
7304
# Broken: fails on valid input.
7307
rm -f conftest.err conftest.i conftest.$ac_ext
7309
# OK, works on sane cases. Now check whether nonexistent headers
7310
# can be detected and how.
7311
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7312
/* end confdefs.h. */
7313
@%:@include <ac_nonexistent.h>
7315
if ac_fn_c_try_cpp "$LINENO"; then :
7316
# Broken: success on invalid input.
7319
# Passes both tests.
7323
rm -f conftest.err conftest.i conftest.$ac_ext
7326
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7327
rm -f conftest.i conftest.err conftest.$ac_ext
7328
if $ac_preproc_ok; then :
7340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7341
$as_echo "$CPP" >&6; }
7343
for ac_c_preproc_warn_flag in '' yes
7345
# Use a header file that comes with gcc, so configuring glibc
7346
# with a fresh cross-compiler works.
7347
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7348
# <limits.h> exists even on freestanding compilers.
7349
# On the NeXT, cc -E runs the code through the compiler's parser,
7350
# not just through cpp. "Syntax error" is here to catch this case.
7351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7352
/* end confdefs.h. */
7354
@%:@ include <limits.h>
7356
@%:@ include <assert.h>
7360
if ac_fn_c_try_cpp "$LINENO"; then :
7363
# Broken: fails on valid input.
7366
rm -f conftest.err conftest.i conftest.$ac_ext
7368
# OK, works on sane cases. Now check whether nonexistent headers
7369
# can be detected and how.
7370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371
/* end confdefs.h. */
7372
@%:@include <ac_nonexistent.h>
7374
if ac_fn_c_try_cpp "$LINENO"; then :
7375
# Broken: success on invalid input.
7378
# Passes both tests.
7382
rm -f conftest.err conftest.i conftest.$ac_ext
7385
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7386
rm -f conftest.i conftest.err conftest.$ac_ext
7387
if $ac_preproc_ok; then :
7390
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7391
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7392
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7393
See \`config.log' for more details" "$LINENO" 5; }
7397
ac_cpp='$CPP $CPPFLAGS'
7398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7399
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7400
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7404
$as_echo_n "checking for ANSI C header files... " >&6; }
7405
if ${ac_cv_header_stdc+:} false; then :
7406
$as_echo_n "(cached) " >&6
7408
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7409
/* end confdefs.h. */
7423
if ac_fn_c_try_compile "$LINENO"; then :
7424
ac_cv_header_stdc=yes
7426
ac_cv_header_stdc=no
7428
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7430
if test $ac_cv_header_stdc = yes; then
7431
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7432
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433
/* end confdefs.h. */
7437
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7438
$EGREP "memchr" >/dev/null 2>&1; then :
7441
ac_cv_header_stdc=no
7447
if test $ac_cv_header_stdc = yes; then
7448
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7449
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450
/* end confdefs.h. */
7454
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7455
$EGREP "free" >/dev/null 2>&1; then :
7458
ac_cv_header_stdc=no
7464
if test $ac_cv_header_stdc = yes; then
7465
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7466
if test "$cross_compiling" = yes; then :
7469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470
/* end confdefs.h. */
7473
#if ((' ' & 0x0FF) == 0x020)
7474
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7475
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7477
# define ISLOWER(c) \
7478
(('a' <= (c) && (c) <= 'i') \
7479
|| ('j' <= (c) && (c) <= 'r') \
7480
|| ('s' <= (c) && (c) <= 'z'))
7481
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7484
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7489
for (i = 0; i < 256; i++)
7490
if (XOR (islower (i), ISLOWER (i))
7491
|| toupper (i) != TOUPPER (i))
7496
if ac_fn_c_try_run "$LINENO"; then :
7499
ac_cv_header_stdc=no
7501
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7502
conftest.$ac_objext conftest.beam conftest.$ac_ext
7507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7508
$as_echo "$ac_cv_header_stdc" >&6; }
7509
if test $ac_cv_header_stdc = yes; then
7511
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7515
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7516
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7517
inttypes.h stdint.h unistd.h
7519
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7520
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7522
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7523
cat >>confdefs.h <<_ACEOF
7524
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7532
for ac_header in dlfcn.h
7534
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7536
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7537
cat >>confdefs.h <<_ACEOF
7538
@%:@define HAVE_DLFCN_H 1
7559
@%:@ Check whether --enable-shared was given.
7560
if test "${enable_shared+set}" = set; then :
7561
enableval=$enable_shared; p=${PACKAGE-default}
7563
yes) enable_shared=yes ;;
7564
no) enable_shared=no ;;
7567
# Look at the argument we got. We use all the common list separators.
7568
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7569
for pkg in $enableval; do
7571
if test "X$pkg" = "X$p"; then
7590
@%:@ Check whether --enable-static was given.
7591
if test "${enable_static+set}" = set; then :
7592
enableval=$enable_static; p=${PACKAGE-default}
7594
yes) enable_static=yes ;;
7595
no) enable_static=no ;;
7598
# Look at the argument we got. We use all the common list separators.
7599
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7600
for pkg in $enableval; do
7602
if test "X$pkg" = "X$p"; then
7622
@%:@ Check whether --with-pic was given.
7623
if test "${with_pic+set}" = set; then :
7624
withval=$with_pic; lt_p=${PACKAGE-default}
7626
yes|no) pic_mode=$withval ;;
7629
# Look at the argument we got. We use all the common list separators.
7630
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7631
for lt_pkg in $withval; do
7633
if test "X$lt_pkg" = "X$lt_p"; then
7645
test -z "$pic_mode" && pic_mode=default
7653
@%:@ Check whether --enable-fast-install was given.
7654
if test "${enable_fast_install+set}" = set; then :
7655
enableval=$enable_fast_install; p=${PACKAGE-default}
7657
yes) enable_fast_install=yes ;;
7658
no) enable_fast_install=no ;;
7660
enable_fast_install=no
7661
# Look at the argument we got. We use all the common list separators.
7662
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7663
for pkg in $enableval; do
7665
if test "X$pkg" = "X$p"; then
7666
enable_fast_install=yes
7673
enable_fast_install=yes
7686
# This can be used to rebuild libtool when needed
7687
LIBTOOL_DEPS="$ltmain"
7689
# Always use our own libtool.
7690
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7721
test -z "$LN_S" && LN_S="ln -s"
7736
if test -n "${ZSH_VERSION+set}" ; then
7737
setopt NO_GLOB_SUBST
7740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7741
$as_echo_n "checking for objdir... " >&6; }
7742
if ${lt_cv_objdir+:} false; then :
7743
$as_echo_n "(cached) " >&6
7745
rm -f .libs 2>/dev/null
7746
mkdir .libs 2>/dev/null
7747
if test -d .libs; then
7750
# MS-DOS does not allow filenames that begin with a dot.
7753
rmdir .libs 2>/dev/null
7755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7756
$as_echo "$lt_cv_objdir" >&6; }
7757
objdir=$lt_cv_objdir
7763
cat >>confdefs.h <<_ACEOF
7764
@%:@define LT_OBJDIR "$lt_cv_objdir/"
7772
# AIX sometimes has problems with the GCC collect2 program. For some
7773
# reason, if we set the COLLECT_NAMES environment variable, the problems
7774
# vanish in a puff of smoke.
7775
if test "X${COLLECT_NAMES+set}" != Xset; then
7777
export COLLECT_NAMES
7784
can_build_shared=yes
7786
# All known linkers require a `.a' archive for static linking (except MSVC,
7787
# which needs '.lib').
7790
with_gnu_ld="$lt_cv_prog_gnu_ld"
7793
old_CFLAGS="$CFLAGS"
7795
# Set sane defaults for various variables
7796
test -z "$CC" && CC=cc
7797
test -z "$LTCC" && LTCC=$CC
7798
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7799
test -z "$LD" && LD=ld
7800
test -z "$ac_objext" && ac_objext=o
7802
for cc_temp in $compiler""; do
7804
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7805
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7810
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7813
# Only perform the check for file, if the check method requires it
7814
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7815
case $deplibs_check_method in
7817
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7819
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7820
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7821
$as_echo_n "(cached) " >&6
7825
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7828
lt_save_MAGIC_CMD="$MAGIC_CMD"
7829
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7830
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7831
for ac_dir in $ac_dummy; do
7833
test -z "$ac_dir" && ac_dir=.
7834
if test -f $ac_dir/${ac_tool_prefix}file; then
7835
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7836
if test -n "$file_magic_test_file"; then
7837
case $deplibs_check_method in
7839
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7840
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7841
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7842
$EGREP "$file_magic_regex" > /dev/null; then
7847
*** Warning: the command libtool uses to detect shared libraries,
7848
*** $file_magic_cmd, produces output that libtool cannot recognize.
7849
*** The result is that libtool may fail to recognize shared libraries
7850
*** as such. This will affect the creation of libtool libraries that
7851
*** depend on shared libraries, but programs linked with such libtool
7852
*** libraries will work regardless of this problem. Nevertheless, you
7853
*** may want to report the problem to your system manager and/or to
7854
*** bug-libtool@gnu.org
7864
MAGIC_CMD="$lt_save_MAGIC_CMD"
7869
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7870
if test -n "$MAGIC_CMD"; then
7871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7872
$as_echo "$MAGIC_CMD" >&6; }
7874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875
$as_echo "no" >&6; }
7882
if test -z "$lt_cv_path_MAGIC_CMD"; then
7883
if test -n "$ac_tool_prefix"; then
7884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7885
$as_echo_n "checking for file... " >&6; }
7886
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7887
$as_echo_n "(cached) " >&6
7891
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7894
lt_save_MAGIC_CMD="$MAGIC_CMD"
7895
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7896
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7897
for ac_dir in $ac_dummy; do
7899
test -z "$ac_dir" && ac_dir=.
7900
if test -f $ac_dir/file; then
7901
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7902
if test -n "$file_magic_test_file"; then
7903
case $deplibs_check_method in
7905
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7906
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7907
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7908
$EGREP "$file_magic_regex" > /dev/null; then
7913
*** Warning: the command libtool uses to detect shared libraries,
7914
*** $file_magic_cmd, produces output that libtool cannot recognize.
7915
*** The result is that libtool may fail to recognize shared libraries
7916
*** as such. This will affect the creation of libtool libraries that
7917
*** depend on shared libraries, but programs linked with such libtool
7918
*** libraries will work regardless of this problem. Nevertheless, you
7919
*** may want to report the problem to your system manager and/or to
7920
*** bug-libtool@gnu.org
7930
MAGIC_CMD="$lt_save_MAGIC_CMD"
7935
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7936
if test -n "$MAGIC_CMD"; then
7937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7938
$as_echo "$MAGIC_CMD" >&6; }
7940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941
$as_echo "no" >&6; }
7954
# Use C for the default configuration in the libtool script
7958
ac_cpp='$CPP $CPPFLAGS'
7959
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7960
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7961
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7964
# Source file extension for C test sources.
7967
# Object file extension for compiled C test sources.
7971
# Code to be used in simple compile tests
7972
lt_simple_compile_test_code="int some_variable = 0;"
7974
# Code to be used in simple link tests
7975
lt_simple_link_test_code='int main(){return(0);}'
7983
# If no C compiler was specified, use CC.
7986
# If no C compiler flags were specified, use CFLAGS.
7987
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7989
# Allow CC to be a program name with arguments.
7992
# Save the default compiler, since it gets overwritten when the other
7993
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7994
compiler_DEFAULT=$CC
7996
# save warnings/boilerplate of simple test code
7997
ac_outfile=conftest.$ac_objext
7998
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7999
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8000
_lt_compiler_boilerplate=`cat conftest.err`
8003
ac_outfile=conftest.$ac_objext
8004
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8005
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8006
_lt_linker_boilerplate=`cat conftest.err`
8011
## There is no encapsulation within the following macros, do not change
8012
## the running order or otherwise move them around unless you know exactly
8013
## what you are doing...
8014
if test -n "$compiler"; then
8016
lt_prog_compiler_no_builtin_flag=
8018
if test "$GCC" = yes; then
8019
case $cc_basename in
8021
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8023
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8027
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8028
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8029
$as_echo_n "(cached) " >&6
8031
lt_cv_prog_compiler_rtti_exceptions=no
8032
ac_outfile=conftest.$ac_objext
8033
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8034
lt_compiler_flag="-fno-rtti -fno-exceptions"
8035
# Insert the option either (1) after the last *FLAGS variable, or
8036
# (2) before a word containing "conftest.", or (3) at the end.
8037
# Note that $ac_compile itself does not contain backslashes and begins
8038
# with a dollar sign (not a hyphen), so the echo should work correctly.
8039
# The option is referenced via a variable to avoid confusing sed.
8040
lt_compile=`echo "$ac_compile" | $SED \
8041
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8042
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8043
-e 's:$: $lt_compiler_flag:'`
8044
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8045
(eval "$lt_compile" 2>conftest.err)
8047
cat conftest.err >&5
8048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049
if (exit $ac_status) && test -s "$ac_outfile"; then
8050
# The compiler can only warn and ignore the option if not recognized
8051
# So say no if there are warnings other than the usual output.
8052
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8053
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8054
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8055
lt_cv_prog_compiler_rtti_exceptions=yes
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8062
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8064
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8065
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8077
lt_prog_compiler_wl=
8078
lt_prog_compiler_pic=
8079
lt_prog_compiler_static=
8082
if test "$GCC" = yes; then
8083
lt_prog_compiler_wl='-Wl,'
8084
lt_prog_compiler_static='-static'
8088
# All AIX code is PIC.
8089
if test "$host_cpu" = ia64; then
8090
# AIX 5 now supports IA64 processor
8091
lt_prog_compiler_static='-Bstatic'
8098
# see comment about AmigaOS4 .so support
8099
lt_prog_compiler_pic='-fPIC'
8102
# FIXME: we need at least 68020 code to build shared libraries, but
8103
# adding the `-m68020' flag to GCC prevents building anything better,
8105
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8110
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8111
# PIC is the default for these OSes.
8114
mingw* | cygwin* | pw32* | os2* | cegcc*)
8115
# This hack is so that the source file can tell whether it is being
8116
# built for inclusion in a dll (and should export symbols for example).
8117
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8118
# (--disable-auto-import) libraries
8119
lt_prog_compiler_pic='-DDLL_EXPORT'
8122
darwin* | rhapsody*)
8123
# PIC is the default on this platform
8124
# Common symbols not allowed in MH_DYLIB files
8125
lt_prog_compiler_pic='-fno-common'
8129
# PIC is the default for Haiku.
8130
# The "-static" flag exists, but is broken.
8131
lt_prog_compiler_static=
8135
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8136
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8137
# sets the default TLS model and affects inlining.
8143
lt_prog_compiler_pic='-fPIC'
8149
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8150
# Instead, we relocate shared libraries at runtime.
8154
# Just because we use GCC doesn't mean we suddenly get shared libraries
8155
# on systems that don't support them.
8156
lt_prog_compiler_can_build_shared=no
8161
# QNX uses GNU C++, but need to define -shared option too, otherwise
8163
lt_prog_compiler_pic='-fPIC -shared'
8167
if test -d /usr/nec; then
8168
lt_prog_compiler_pic=-Kconform_pic
8173
lt_prog_compiler_pic='-fPIC'
8177
case $cc_basename in
8178
nvcc*) # Cuda Compiler Driver 2.2
8179
lt_prog_compiler_wl='-Xlinker '
8180
if test -n "$lt_prog_compiler_pic"; then
8181
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8186
# PORTME Check for flag to pass linker flags through the system compiler.
8189
lt_prog_compiler_wl='-Wl,'
8190
if test "$host_cpu" = ia64; then
8191
# AIX 5 now supports IA64 processor
8192
lt_prog_compiler_static='-Bstatic'
8194
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8198
mingw* | cygwin* | pw32* | os2* | cegcc*)
8199
# This hack is so that the source file can tell whether it is being
8200
# built for inclusion in a dll (and should export symbols for example).
8201
lt_prog_compiler_pic='-DDLL_EXPORT'
8204
hpux9* | hpux10* | hpux11*)
8205
lt_prog_compiler_wl='-Wl,'
8206
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8213
lt_prog_compiler_pic='+Z'
8216
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8217
lt_prog_compiler_static='${wl}-a ${wl}archive'
8220
irix5* | irix6* | nonstopux*)
8221
lt_prog_compiler_wl='-Wl,'
8222
# PIC (with -KPIC) is the default.
8223
lt_prog_compiler_static='-non_shared'
8226
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8227
case $cc_basename in
8228
# old Intel for x86_64 which still supported -KPIC.
8230
lt_prog_compiler_wl='-Wl,'
8231
lt_prog_compiler_pic='-KPIC'
8232
lt_prog_compiler_static='-static'
8234
# icc used to be incompatible with GCC.
8235
# ICC 10 doesn't accept -KPIC any more.
8237
lt_prog_compiler_wl='-Wl,'
8238
lt_prog_compiler_pic='-fPIC'
8239
lt_prog_compiler_static='-static'
8241
# Lahey Fortran 8.1.
8243
lt_prog_compiler_wl='-Wl,'
8244
lt_prog_compiler_pic='--shared'
8245
lt_prog_compiler_static='--static'
8248
# NAG Fortran compiler
8249
lt_prog_compiler_wl='-Wl,-Wl,,'
8250
lt_prog_compiler_pic='-PIC'
8251
lt_prog_compiler_static='-Bstatic'
8253
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8254
# Portland Group compilers (*not* the Pentium gcc compiler,
8255
# which looks to be a dead project)
8256
lt_prog_compiler_wl='-Wl,'
8257
lt_prog_compiler_pic='-fpic'
8258
lt_prog_compiler_static='-Bstatic'
8261
lt_prog_compiler_wl='-Wl,'
8262
# All Alpha code is PIC.
8263
lt_prog_compiler_static='-non_shared'
8265
xl* | bgxl* | bgf* | mpixl*)
8266
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8267
lt_prog_compiler_wl='-Wl,'
8268
lt_prog_compiler_pic='-qpic'
8269
lt_prog_compiler_static='-qstaticlink'
8272
case `$CC -V 2>&1 | sed 5q` in
8273
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8274
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8275
lt_prog_compiler_pic='-KPIC'
8276
lt_prog_compiler_static='-Bstatic'
8277
lt_prog_compiler_wl=''
8279
*Sun\ F* | *Sun*Fortran*)
8280
lt_prog_compiler_pic='-KPIC'
8281
lt_prog_compiler_static='-Bstatic'
8282
lt_prog_compiler_wl='-Qoption ld '
8286
lt_prog_compiler_pic='-KPIC'
8287
lt_prog_compiler_static='-Bstatic'
8288
lt_prog_compiler_wl='-Wl,'
8290
*Intel*\ [CF]*Compiler*)
8291
lt_prog_compiler_wl='-Wl,'
8292
lt_prog_compiler_pic='-fPIC'
8293
lt_prog_compiler_static='-static'
8296
lt_prog_compiler_wl='-Wl,'
8297
lt_prog_compiler_pic='-fpic'
8298
lt_prog_compiler_static='-Bstatic'
8306
lt_prog_compiler_pic='-KPIC'
8307
lt_prog_compiler_static='-Bstatic'
8311
# QNX uses GNU C++, but need to define -shared option too, otherwise
8313
lt_prog_compiler_pic='-fPIC -shared'
8316
osf3* | osf4* | osf5*)
8317
lt_prog_compiler_wl='-Wl,'
8318
# All OSF/1 code is PIC.
8319
lt_prog_compiler_static='-non_shared'
8323
lt_prog_compiler_static='-non_shared'
8327
lt_prog_compiler_pic='-KPIC'
8328
lt_prog_compiler_static='-Bstatic'
8329
case $cc_basename in
8330
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8331
lt_prog_compiler_wl='-Qoption ld ';;
8333
lt_prog_compiler_wl='-Wl,';;
8338
lt_prog_compiler_wl='-Qoption ld '
8339
lt_prog_compiler_pic='-PIC'
8340
lt_prog_compiler_static='-Bstatic'
8343
sysv4 | sysv4.2uw2* | sysv4.3*)
8344
lt_prog_compiler_wl='-Wl,'
8345
lt_prog_compiler_pic='-KPIC'
8346
lt_prog_compiler_static='-Bstatic'
8350
if test -d /usr/nec ;then
8351
lt_prog_compiler_pic='-Kconform_pic'
8352
lt_prog_compiler_static='-Bstatic'
8356
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8357
lt_prog_compiler_wl='-Wl,'
8358
lt_prog_compiler_pic='-KPIC'
8359
lt_prog_compiler_static='-Bstatic'
8363
lt_prog_compiler_wl='-Wl,'
8364
lt_prog_compiler_can_build_shared=no
8368
lt_prog_compiler_pic='-pic'
8369
lt_prog_compiler_static='-Bstatic'
8373
lt_prog_compiler_can_build_shared=no
8379
# For platforms which do not support PIC, -DPIC is meaningless:
8381
lt_prog_compiler_pic=
8384
lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8389
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8390
if ${lt_cv_prog_compiler_pic+:} false; then :
8391
$as_echo_n "(cached) " >&6
8393
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8396
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8397
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8400
# Check to make sure the PIC flag actually works.
8402
if test -n "$lt_prog_compiler_pic"; then
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8404
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8405
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8406
$as_echo_n "(cached) " >&6
8408
lt_cv_prog_compiler_pic_works=no
8409
ac_outfile=conftest.$ac_objext
8410
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8411
lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8412
# Insert the option either (1) after the last *FLAGS variable, or
8413
# (2) before a word containing "conftest.", or (3) at the end.
8414
# Note that $ac_compile itself does not contain backslashes and begins
8415
# with a dollar sign (not a hyphen), so the echo should work correctly.
8416
# The option is referenced via a variable to avoid confusing sed.
8417
lt_compile=`echo "$ac_compile" | $SED \
8418
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8419
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8420
-e 's:$: $lt_compiler_flag:'`
8421
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8422
(eval "$lt_compile" 2>conftest.err)
8424
cat conftest.err >&5
8425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426
if (exit $ac_status) && test -s "$ac_outfile"; then
8427
# The compiler can only warn and ignore the option if not recognized
8428
# So say no if there are warnings other than the usual output.
8429
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8430
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8431
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8432
lt_cv_prog_compiler_pic_works=yes
8438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8439
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8441
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8442
case $lt_prog_compiler_pic in
8444
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8447
lt_prog_compiler_pic=
8448
lt_prog_compiler_can_build_shared=no
8464
# Check to make sure the static flag actually works.
8466
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8468
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8469
if ${lt_cv_prog_compiler_static_works+:} false; then :
8470
$as_echo_n "(cached) " >&6
8472
lt_cv_prog_compiler_static_works=no
8473
save_LDFLAGS="$LDFLAGS"
8474
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8475
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8476
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8477
# The linker can only warn and ignore the option if not recognized
8478
# So say no if there are warnings
8479
if test -s conftest.err; then
8480
# Append any errors to the config.log.
8481
cat conftest.err 1>&5
8482
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8483
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8484
if diff conftest.exp conftest.er2 >/dev/null; then
8485
lt_cv_prog_compiler_static_works=yes
8488
lt_cv_prog_compiler_static_works=yes
8492
LDFLAGS="$save_LDFLAGS"
8495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8496
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8498
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8501
lt_prog_compiler_static=
8510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8511
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8512
if ${lt_cv_prog_compiler_c_o+:} false; then :
8513
$as_echo_n "(cached) " >&6
8515
lt_cv_prog_compiler_c_o=no
8516
$RM -r conftest 2>/dev/null
8520
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8522
lt_compiler_flag="-o out/conftest2.$ac_objext"
8523
# Insert the option either (1) after the last *FLAGS variable, or
8524
# (2) before a word containing "conftest.", or (3) at the end.
8525
# Note that $ac_compile itself does not contain backslashes and begins
8526
# with a dollar sign (not a hyphen), so the echo should work correctly.
8527
lt_compile=`echo "$ac_compile" | $SED \
8528
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8529
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8530
-e 's:$: $lt_compiler_flag:'`
8531
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8532
(eval "$lt_compile" 2>out/conftest.err)
8534
cat out/conftest.err >&5
8535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8538
# The compiler can only warn and ignore the option if not recognized
8539
# So say no if there are warnings
8540
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8541
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8542
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8543
lt_cv_prog_compiler_c_o=yes
8548
# SGI C++ compiler will create directory out/ii_files/ for
8549
# template instantiation
8550
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8551
$RM out/* && rmdir out
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8558
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8566
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8567
if ${lt_cv_prog_compiler_c_o+:} false; then :
8568
$as_echo_n "(cached) " >&6
8570
lt_cv_prog_compiler_c_o=no
8571
$RM -r conftest 2>/dev/null
8575
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8577
lt_compiler_flag="-o out/conftest2.$ac_objext"
8578
# Insert the option either (1) after the last *FLAGS variable, or
8579
# (2) before a word containing "conftest.", or (3) at the end.
8580
# Note that $ac_compile itself does not contain backslashes and begins
8581
# with a dollar sign (not a hyphen), so the echo should work correctly.
8582
lt_compile=`echo "$ac_compile" | $SED \
8583
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585
-e 's:$: $lt_compiler_flag:'`
8586
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8587
(eval "$lt_compile" 2>out/conftest.err)
8589
cat out/conftest.err >&5
8590
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8593
# The compiler can only warn and ignore the option if not recognized
8594
# So say no if there are warnings
8595
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8596
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8597
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8598
lt_cv_prog_compiler_c_o=yes
8603
# SGI C++ compiler will create directory out/ii_files/ for
8604
# template instantiation
8605
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8606
$RM out/* && rmdir out
8612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8613
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8618
hard_links="nottested"
8619
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8620
# do not overwrite the value of need_locks provided by the user
8621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8622
$as_echo_n "checking if we can lock with hard links... " >&6; }
8625
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8627
ln conftest.a conftest.b 2>&5 || hard_links=no
8628
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8630
$as_echo "$hard_links" >&6; }
8631
if test "$hard_links" = no; then
8632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8633
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8646
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8649
allow_undefined_flag=
8650
always_export_symbols=no
8652
archive_expsym_cmds=
8653
compiler_needs_object=no
8654
enable_shared_with_static_runtimes=no
8655
export_dynamic_flag_spec=
8656
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8657
hardcode_automatic=no
8659
hardcode_direct_absolute=no
8660
hardcode_libdir_flag_spec=
8661
hardcode_libdir_separator=
8663
hardcode_shlibpath_var=unsupported
8665
link_all_deplibs=unknown
8668
old_archive_from_new_cmds=
8669
old_archive_from_expsyms_cmds=
8670
thread_safe_flag_spec=
8671
whole_archive_flag_spec=
8672
# include_expsyms should be a list of space-separated symbols to be *always*
8673
# included in the symbol list
8675
# exclude_expsyms can be an extended regexp of symbols to exclude
8676
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8677
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8678
# as well as any symbol that contains `d'.
8679
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8680
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8681
# platforms (ab)use it in PIC code, but their linkers get confused if
8682
# the symbol is explicitly referenced. Since portable code cannot
8683
# rely on this symbol name, it's probably fine to never include it in
8684
# preloaded symbol tables.
8685
# Exclude shared library initialization/finalization symbols.
8686
extract_expsyms_cmds=
8689
cygwin* | mingw* | pw32* | cegcc*)
8690
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8691
# When not using gcc, we currently assume that we are using
8692
# Microsoft Visual C++.
8693
if test "$GCC" != yes; then
8698
# we just hope/assume this is gcc and not c89 (= MSVC++)
8704
linux* | k*bsd*-gnu | gnu*)
8711
# On some targets, GNU ld is compatible enough with the native linker
8712
# that we're better off using the native interface for both.
8713
lt_use_gnu_ld_interface=no
8714
if test "$with_gnu_ld" = yes; then
8717
# The AIX port of GNU ld has always aspired to compatibility
8718
# with the native linker. However, as the warning in the GNU ld
8719
# block says, versions before 2.19.5* couldn't really create working
8720
# shared libraries, regardless of the interface used.
8721
case `$LD -v 2>&1` in
8722
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8723
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8724
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8726
lt_use_gnu_ld_interface=yes
8731
lt_use_gnu_ld_interface=yes
8736
if test "$lt_use_gnu_ld_interface" = yes; then
8737
# If archive_cmds runs LD, not CC, wlarc should be empty
8740
# Set some defaults for GNU ld with shared library support. These
8741
# are reset later if shared libraries are not supported. Putting them
8742
# here allows them to be overridden if necessary.
8743
runpath_var=LD_RUN_PATH
8744
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8745
export_dynamic_flag_spec='${wl}--export-dynamic'
8746
# ancient GNU ld didn't support --whole-archive et. al.
8747
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8748
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8750
whole_archive_flag_spec=
8752
supports_anon_versioning=no
8753
case `$LD -v 2>&1` in
8754
*GNU\ gold*) supports_anon_versioning=yes ;;
8755
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8756
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8757
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8758
*\ 2.11.*) ;; # other 2.11 versions
8759
*) supports_anon_versioning=yes ;;
8762
# See if GNU ld supports shared libraries.
8765
# On AIX/PPC, the GNU linker is very broken
8766
if test "$host_cpu" != ia64; then
8770
*** Warning: the GNU linker, at least up to release 2.19, is reported
8771
*** to be unable to reliably create shared libraries on AIX.
8772
*** Therefore, libtool is disabling shared libraries support. If you
8773
*** really care for shared libraries, you may want to install binutils
8774
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8775
*** You will then need to restart the configuration process.
8784
# see comment about AmigaOS4 .so support
8785
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8786
archive_expsym_cmds=''
8789
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8790
hardcode_libdir_flag_spec='-L$libdir'
8791
hardcode_minus_L=yes
8797
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8798
allow_undefined_flag=unsupported
8799
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8800
# support --undefined. This deserves some investigation. FIXME
8801
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8807
cygwin* | mingw* | pw32* | cegcc*)
8808
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8809
# as there is no search path for DLLs.
8810
hardcode_libdir_flag_spec='-L$libdir'
8811
export_dynamic_flag_spec='${wl}--export-all-symbols'
8812
allow_undefined_flag=unsupported
8813
always_export_symbols=no
8814
enable_shared_with_static_runtimes=yes
8815
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8816
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8818
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8819
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8820
# If the export-symbols file already is a .def file (1st line
8821
# is EXPORTS), use it as is; otherwise, prepend...
8822
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8823
cp $export_symbols $output_objdir/$soname.def;
8825
echo EXPORTS > $output_objdir/$soname.def;
8826
cat $export_symbols >> $output_objdir/$soname.def;
8828
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8835
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8836
link_all_deplibs=yes
8841
hardcode_shlibpath_var=no
8842
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8843
export_dynamic_flag_spec='${wl}-E'
8844
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8845
# Instead, shared libraries are loaded at an image base (0x10000000 by
8846
# default) and relocated if they conflict, which is a slow very memory
8847
# consuming and fragmenting process. To avoid this, we pick a random,
8848
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8849
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8850
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8851
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8854
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8856
if test "$host_os" = linux-dietlibc; then
8857
case $cc_basename in
8858
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8861
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8862
&& test "$tmp_diet" = no
8864
tmp_addflag=' $pic_flag'
8865
tmp_sharedflag='-shared'
8866
case $cc_basename,$host_cpu in
8867
pgcc*) # Portland Group C compiler
8868
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8869
tmp_addflag=' $pic_flag'
8871
pgf77* | pgf90* | pgf95* | pgfortran*)
8872
# Portland Group f77 and f90 compilers
8873
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8874
tmp_addflag=' $pic_flag -Mnomain' ;;
8875
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8876
tmp_addflag=' -i_dynamic' ;;
8877
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8878
tmp_addflag=' -i_dynamic -nofor_main' ;;
8879
ifc* | ifort*) # Intel Fortran compiler
8880
tmp_addflag=' -nofor_main' ;;
8881
lf95*) # Lahey Fortran 8.1
8882
whole_archive_flag_spec=
8883
tmp_sharedflag='--shared' ;;
8884
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8885
tmp_sharedflag='-qmkshrobj'
8887
nvcc*) # Cuda Compiler Driver 2.2
8888
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8889
compiler_needs_object=yes
8892
case `$CC -V 2>&1 | sed 5q` in
8893
*Sun\ C*) # Sun C 5.9
8894
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8895
compiler_needs_object=yes
8896
tmp_sharedflag='-G' ;;
8897
*Sun\ F*) # Sun Fortran 8.3
8898
tmp_sharedflag='-G' ;;
8900
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8902
if test "x$supports_anon_versioning" = xyes; then
8903
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8904
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8905
echo "local: *; };" >> $output_objdir/$libname.ver~
8906
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8909
case $cc_basename in
8910
xlf* | bgf* | bgxlf* | mpixlf*)
8911
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8912
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8913
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8914
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8915
if test "x$supports_anon_versioning" = xyes; then
8916
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8917
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8918
echo "local: *; };" >> $output_objdir/$libname.ver~
8919
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8928
netbsd* | netbsdelf*-gnu)
8929
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8930
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8933
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8934
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8939
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8943
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8944
*** create shared libraries on Solaris systems. Therefore, libtool
8945
*** is disabling shared libraries support. We urge you to upgrade GNU
8946
*** binutils to release 2.9.1 or newer. Another option is to modify
8947
*** your PATH or compiler configuration so that the native linker is
8948
*** used, and then restart.
8951
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8952
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8953
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8959
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8960
case `$LD -v 2>&1` in
8961
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8965
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8966
*** reliably create shared libraries on SCO systems. Therefore, libtool
8967
*** is disabling shared libraries support. We urge you to upgrade GNU
8968
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8969
*** your PATH or compiler configuration so that the native linker is
8970
*** used, and then restart.
8975
# For security reasons, it is highly recommended that you always
8976
# use absolute paths for naming shared libraries, and exclude the
8977
# DT_RUNPATH tag from executables and libraries. But doing so
8978
# requires that you compile everything twice, which is a pain.
8979
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8980
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8981
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8991
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8994
hardcode_shlibpath_var=no
8998
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8999
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9007
if test "$ld_shlibs" = no; then
9009
hardcode_libdir_flag_spec=
9010
export_dynamic_flag_spec=
9011
whole_archive_flag_spec=
9014
# PORTME fill in a description of your system's linker (not GNU ld)
9017
allow_undefined_flag=unsupported
9018
always_export_symbols=yes
9019
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9020
# Note: this linker hardcodes the directories in LIBPATH if there
9021
# are no directories specified by -L.
9022
hardcode_minus_L=yes
9023
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9024
# Neither direct hardcoding nor static linking is supported with a
9026
hardcode_direct=unsupported
9031
if test "$host_cpu" = ia64; then
9032
# On IA64, the linker does run time linking by default, so we don't
9033
# have to do anything special.
9034
aix_use_runtimelinking=no
9035
exp_sym_flag='-Bexport'
9038
# If we're using GNU nm, then we don't want the "-C" option.
9039
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9040
# Also, AIX nm treats weak defined symbols like other global
9041
# defined symbols, whereas GNU nm marks them as "W".
9042
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9043
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9045
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9047
aix_use_runtimelinking=no
9049
# Test if we are trying to use run time linking or normal
9050
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9051
# need to do runtime linking.
9052
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9053
for ld_flag in $LDFLAGS; do
9054
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9055
aix_use_runtimelinking=yes
9062
exp_sym_flag='-bexport'
9063
no_entry_flag='-bnoentry'
9066
# When large executables or shared objects are built, AIX ld can
9067
# have problems creating the table of contents. If linking a library
9068
# or program results in "error TOC overflow" add -mminimal-toc to
9069
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9070
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9074
hardcode_direct_absolute=yes
9075
hardcode_libdir_separator=':'
9076
link_all_deplibs=yes
9077
file_list_spec='${wl}-f,'
9079
if test "$GCC" = yes; then
9080
case $host_os in aix4.[012]|aix4.[012].*)
9081
# We only want to do this on AIX 4.2 and lower, the check
9082
# below for broken collect2 doesn't work under 4.3+
9083
collect2name=`${CC} -print-prog-name=collect2`
9084
if test -f "$collect2name" &&
9085
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9087
# We have reworked collect2
9090
# We have old collect2
9091
hardcode_direct=unsupported
9092
# It fails to find uninstalled libraries when the uninstalled
9093
# path is not listed in the libpath. Setting hardcode_minus_L
9094
# to unsupported forces relinking
9095
hardcode_minus_L=yes
9096
hardcode_libdir_flag_spec='-L$libdir'
9097
hardcode_libdir_separator=
9101
shared_flag='-shared'
9102
if test "$aix_use_runtimelinking" = yes; then
9103
shared_flag="$shared_flag "'${wl}-G'
9108
if test "$host_cpu" = ia64; then
9109
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9110
# chokes on -Wl,-G. The following line is correct:
9113
if test "$aix_use_runtimelinking" = yes; then
9114
shared_flag='${wl}-G'
9116
shared_flag='${wl}-bM:SRE'
9121
export_dynamic_flag_spec='${wl}-bexpall'
9122
# It seems that -bexpall does not export symbols beginning with
9123
# underscore (_), so it is better to generate a list of symbols to export.
9124
always_export_symbols=yes
9125
if test "$aix_use_runtimelinking" = yes; then
9126
# Warning - without using the other runtime loading flags (-brtl),
9127
# -berok will link without error, but may produce a broken library.
9128
allow_undefined_flag='-berok'
9129
# Determine the default libpath from the value encoded in an
9131
if test "${lt_cv_aix_libpath+set}" = set; then
9132
aix_libpath=$lt_cv_aix_libpath
9134
if ${lt_cv_aix_libpath_+:} false; then :
9135
$as_echo_n "(cached) " >&6
9137
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138
/* end confdefs.h. */
9148
if ac_fn_c_try_link "$LINENO"; then :
9150
lt_aix_libpath_sed='
9151
/Import File Strings/,/^$/ {
9153
s/^0 *\([^ ]*\) *$/\1/
9157
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9158
# Check for a 64-bit object if we didn't find anything.
9159
if test -z "$lt_cv_aix_libpath_"; then
9160
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9163
rm -f core conftest.err conftest.$ac_objext \
9164
conftest$ac_exeext conftest.$ac_ext
9165
if test -z "$lt_cv_aix_libpath_"; then
9166
lt_cv_aix_libpath_="/usr/lib:/lib"
9171
aix_libpath=$lt_cv_aix_libpath_
9174
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9175
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9177
if test "$host_cpu" = ia64; then
9178
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9179
allow_undefined_flag="-z nodefs"
9180
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9182
# Determine the default libpath from the value encoded in an
9184
if test "${lt_cv_aix_libpath+set}" = set; then
9185
aix_libpath=$lt_cv_aix_libpath
9187
if ${lt_cv_aix_libpath_+:} false; then :
9188
$as_echo_n "(cached) " >&6
9190
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9191
/* end confdefs.h. */
9201
if ac_fn_c_try_link "$LINENO"; then :
9203
lt_aix_libpath_sed='
9204
/Import File Strings/,/^$/ {
9206
s/^0 *\([^ ]*\) *$/\1/
9210
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9211
# Check for a 64-bit object if we didn't find anything.
9212
if test -z "$lt_cv_aix_libpath_"; then
9213
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9216
rm -f core conftest.err conftest.$ac_objext \
9217
conftest$ac_exeext conftest.$ac_ext
9218
if test -z "$lt_cv_aix_libpath_"; then
9219
lt_cv_aix_libpath_="/usr/lib:/lib"
9224
aix_libpath=$lt_cv_aix_libpath_
9227
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9228
# Warning - without using the other run time loading flags,
9229
# -berok will link without error, but may produce a broken library.
9230
no_undefined_flag=' ${wl}-bernotok'
9231
allow_undefined_flag=' ${wl}-berok'
9232
if test "$with_gnu_ld" = yes; then
9233
# We only use this code for GNU lds that support --whole-archive.
9234
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9236
# Exported symbols can be pulled into shared objects from archives
9237
whole_archive_flag_spec='$convenience'
9239
archive_cmds_need_lc=yes
9240
# This is similar to how AIX traditionally builds its shared libraries.
9241
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9249
# see comment about AmigaOS4 .so support
9250
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251
archive_expsym_cmds=''
9254
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9255
hardcode_libdir_flag_spec='-L$libdir'
9256
hardcode_minus_L=yes
9262
export_dynamic_flag_spec=-rdynamic
9265
cygwin* | mingw* | pw32* | cegcc*)
9266
# When not using gcc, we currently assume that we are using
9267
# Microsoft Visual C++.
9268
# hardcode_libdir_flag_spec is actually meaningless, as there is
9269
# no search path for DLLs.
9270
case $cc_basename in
9273
hardcode_libdir_flag_spec=' '
9274
allow_undefined_flag=unsupported
9275
always_export_symbols=yes
9277
# Tell ltmain to make .lib files, not .a files.
9279
# Tell ltmain to make .dll files, not .so files.
9281
# FIXME: Setting linknames here is a bad hack.
9282
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9283
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9284
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9286
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9288
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9290
# The linker will not automatically build a static lib if we build a DLL.
9291
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9292
enable_shared_with_static_runtimes=yes
9293
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9294
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9296
old_postinstall_cmds='chmod 644 $oldlib'
9297
postlink_cmds='lt_outputfile="@OUTPUT@"~
9298
lt_tool_outputfile="@TOOL_OUTPUT@"~
9299
case $lt_outputfile in
9302
lt_outputfile="$lt_outputfile.exe"
9303
lt_tool_outputfile="$lt_tool_outputfile.exe"
9306
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9307
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9308
$RM "$lt_outputfile.manifest";
9312
# Assume MSVC wrapper
9313
hardcode_libdir_flag_spec=' '
9314
allow_undefined_flag=unsupported
9315
# Tell ltmain to make .lib files, not .a files.
9317
# Tell ltmain to make .dll files, not .so files.
9319
# FIXME: Setting linknames here is a bad hack.
9320
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9321
# The linker will automatically build a .lib file if we build a DLL.
9322
old_archive_from_new_cmds='true'
9323
# FIXME: Should let the user specify the lib program.
9324
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9325
enable_shared_with_static_runtimes=yes
9330
darwin* | rhapsody*)
9333
archive_cmds_need_lc=no
9335
hardcode_automatic=yes
9336
hardcode_shlibpath_var=unsupported
9337
if test "$lt_cv_ld_force_load" = "yes"; then
9338
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9341
whole_archive_flag_spec=''
9343
link_all_deplibs=yes
9344
allow_undefined_flag="$_lt_dar_allow_undefined"
9345
case $cc_basename in
9346
ifort*) _lt_dar_can_shared=yes ;;
9347
*) _lt_dar_can_shared=$GCC ;;
9349
if test "$_lt_dar_can_shared" = "yes"; then
9350
output_verbose_link_cmd=func_echo_all
9351
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9352
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9353
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9354
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9363
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9364
hardcode_libdir_flag_spec='-L$libdir'
9365
hardcode_shlibpath_var=no
9368
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9369
# support. Future versions do this automatically, but an explicit c++rt0.o
9370
# does not break anything, and helps significantly (at the cost of a little
9373
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9374
hardcode_libdir_flag_spec='-R$libdir'
9376
hardcode_shlibpath_var=no
9379
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9381
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383
hardcode_minus_L=yes
9384
hardcode_shlibpath_var=no
9387
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9388
freebsd* | dragonfly*)
9389
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9390
hardcode_libdir_flag_spec='-R$libdir'
9392
hardcode_shlibpath_var=no
9396
if test "$GCC" = yes; then
9397
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9399
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9401
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9402
hardcode_libdir_separator=:
9405
# hardcode_minus_L: Not really in the search PATH,
9406
# but as the default location of the library.
9407
hardcode_minus_L=yes
9408
export_dynamic_flag_spec='${wl}-E'
9412
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9413
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9415
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9417
if test "$with_gnu_ld" = no; then
9418
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9419
hardcode_libdir_separator=:
9421
hardcode_direct_absolute=yes
9422
export_dynamic_flag_spec='${wl}-E'
9423
# hardcode_minus_L: Not really in the search PATH,
9424
# but as the default location of the library.
9425
hardcode_minus_L=yes
9430
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9433
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9436
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9439
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9445
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9448
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9452
# Older versions of the 11.00 compiler do not understand -b yet
9453
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9455
$as_echo_n "checking if $CC understands -b... " >&6; }
9456
if ${lt_cv_prog_compiler__b+:} false; then :
9457
$as_echo_n "(cached) " >&6
9459
lt_cv_prog_compiler__b=no
9460
save_LDFLAGS="$LDFLAGS"
9461
LDFLAGS="$LDFLAGS -b"
9462
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9463
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9464
# The linker can only warn and ignore the option if not recognized
9465
# So say no if there are warnings
9466
if test -s conftest.err; then
9467
# Append any errors to the config.log.
9468
cat conftest.err 1>&5
9469
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9470
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9471
if diff conftest.exp conftest.er2 >/dev/null; then
9472
lt_cv_prog_compiler__b=yes
9475
lt_cv_prog_compiler__b=yes
9479
LDFLAGS="$save_LDFLAGS"
9482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9483
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9485
if test x"$lt_cv_prog_compiler__b" = xyes; then
9486
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9488
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9494
if test "$with_gnu_ld" = no; then
9495
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9496
hardcode_libdir_separator=:
9501
hardcode_shlibpath_var=no
9505
hardcode_direct_absolute=yes
9506
export_dynamic_flag_spec='${wl}-E'
9508
# hardcode_minus_L: Not really in the search PATH,
9509
# but as the default location of the library.
9510
hardcode_minus_L=yes
9516
irix5* | irix6* | nonstopux*)
9517
if test "$GCC" = yes; then
9518
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9519
# Try to use the -exported_symbol ld option, if it does not
9520
# work, assume that -exports_file does not work either and
9521
# implicitly export all symbols.
9522
# This should be the same for all languages, so no per-tag cache variable.
9523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9524
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9525
if ${lt_cv_irix_exported_symbol+:} false; then :
9526
$as_echo_n "(cached) " >&6
9528
save_LDFLAGS="$LDFLAGS"
9529
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9530
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531
/* end confdefs.h. */
9532
int foo (void) { return 0; }
9534
if ac_fn_c_try_link "$LINENO"; then :
9535
lt_cv_irix_exported_symbol=yes
9537
lt_cv_irix_exported_symbol=no
9539
rm -f core conftest.err conftest.$ac_objext \
9540
conftest$ac_exeext conftest.$ac_ext
9541
LDFLAGS="$save_LDFLAGS"
9543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9544
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9545
if test "$lt_cv_irix_exported_symbol" = yes; then
9546
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9549
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9550
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9552
archive_cmds_need_lc='no'
9553
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9554
hardcode_libdir_separator=:
9556
link_all_deplibs=yes
9559
netbsd* | netbsdelf*-gnu)
9560
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9561
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9563
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9565
hardcode_libdir_flag_spec='-R$libdir'
9567
hardcode_shlibpath_var=no
9571
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9573
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9574
hardcode_libdir_separator=:
9575
hardcode_shlibpath_var=no
9582
if test -f /usr/libexec/ld.so; then
9584
hardcode_shlibpath_var=no
9585
hardcode_direct_absolute=yes
9586
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9587
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9588
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9589
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9590
export_dynamic_flag_spec='${wl}-E'
9593
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9594
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9595
hardcode_libdir_flag_spec='-R$libdir'
9598
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9599
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9609
hardcode_libdir_flag_spec='-L$libdir'
9610
hardcode_minus_L=yes
9611
allow_undefined_flag=unsupported
9612
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9613
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9617
if test "$GCC" = yes; then
9618
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9619
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9621
allow_undefined_flag=' -expect_unresolved \*'
9622
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9624
archive_cmds_need_lc='no'
9625
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9626
hardcode_libdir_separator=:
9629
osf4* | osf5*) # as osf3* with the addition of -msym flag
9630
if test "$GCC" = yes; then
9631
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9632
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9633
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9635
allow_undefined_flag=' -expect_unresolved \*'
9636
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9637
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9638
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9640
# Both c and cxx compiler support -rpath directly
9641
hardcode_libdir_flag_spec='-rpath $libdir'
9643
archive_cmds_need_lc='no'
9644
hardcode_libdir_separator=:
9648
no_undefined_flag=' -z defs'
9649
if test "$GCC" = yes; then
9651
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9652
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9653
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9655
case `$CC -V 2>&1` in
9658
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9659
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9660
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9664
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9665
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9666
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9670
hardcode_libdir_flag_spec='-R$libdir'
9671
hardcode_shlibpath_var=no
9673
solaris2.[0-5] | solaris2.[0-5].*) ;;
9675
# The compiler driver will combine and reorder linker options,
9676
# but understands `-z linker_flag'. GCC discards it without `$wl',
9677
# but is careful enough not to reorder.
9678
# Supported since Solaris 2.6 (maybe 2.5.1?)
9679
if test "$GCC" = yes; then
9680
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9682
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9686
link_all_deplibs=yes
9690
if test "x$host_vendor" = xsequent; then
9691
# Use $CC to link under sequent, because it throws in some extra .o
9692
# files that make .init and .fini sections work.
9693
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9695
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9697
hardcode_libdir_flag_spec='-L$libdir'
9699
hardcode_minus_L=yes
9700
hardcode_shlibpath_var=no
9704
case $host_vendor in
9706
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9707
hardcode_direct=yes # is this really true???
9710
## LD is ld it makes a PLAMLIB
9711
## CC just makes a GrossModule.
9712
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9713
reload_cmds='$CC -r -o $output$reload_objs'
9717
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9718
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9721
runpath_var='LD_RUN_PATH'
9722
hardcode_shlibpath_var=no
9726
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727
hardcode_shlibpath_var=no
9728
export_dynamic_flag_spec='-Bexport'
9732
if test -d /usr/nec; then
9733
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9734
hardcode_shlibpath_var=no
9735
runpath_var=LD_RUN_PATH
9736
hardcode_runpath_var=yes
9741
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9742
no_undefined_flag='${wl}-z,text'
9743
archive_cmds_need_lc=no
9744
hardcode_shlibpath_var=no
9745
runpath_var='LD_RUN_PATH'
9747
if test "$GCC" = yes; then
9748
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9749
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9751
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9752
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9756
sysv5* | sco3.2v5* | sco5v6*)
9757
# Note: We can NOT use -z defs as we might desire, because we do not
9758
# link with -lc, and that would cause any symbols used from libc to
9759
# always be unresolved, which means just about no library would
9760
# ever link correctly. If we're not using GNU ld we use -z text
9761
# though, which does catch some bad symbols but isn't as heavy-handed
9763
no_undefined_flag='${wl}-z,text'
9764
allow_undefined_flag='${wl}-z,nodefs'
9765
archive_cmds_need_lc=no
9766
hardcode_shlibpath_var=no
9767
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9768
hardcode_libdir_separator=':'
9769
link_all_deplibs=yes
9770
export_dynamic_flag_spec='${wl}-Bexport'
9771
runpath_var='LD_RUN_PATH'
9773
if test "$GCC" = yes; then
9774
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9775
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9777
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9778
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9783
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9784
hardcode_libdir_flag_spec='-L$libdir'
9785
hardcode_shlibpath_var=no
9793
if test x$host_vendor = xsni; then
9795
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9796
export_dynamic_flag_spec='${wl}-Blargedynsym'
9802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9803
$as_echo "$ld_shlibs" >&6; }
9804
test "$ld_shlibs" = no && can_build_shared=no
9806
with_gnu_ld=$with_gnu_ld
9823
# Do we need to explicitly link libc?
9825
case "x$archive_cmds_need_lc" in
9827
# Assume -lc should be added
9828
archive_cmds_need_lc=yes
9830
if test "$enable_shared" = yes && test "$GCC" = yes; then
9831
case $archive_cmds in
9833
# FIXME: we may have to deal with multi-command sequences.
9836
# Test whether the compiler implicitly links with -lc since on some
9837
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9838
# to ld, don't add -lc before -lgcc.
9839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9840
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9841
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9842
$as_echo_n "(cached) " >&6
9845
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9847
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9848
(eval $ac_compile) 2>&5
9850
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9851
test $ac_status = 0; } 2>conftest.err; then
9854
libobjs=conftest.$ac_objext
9856
wl=$lt_prog_compiler_wl
9857
pic_flag=$lt_prog_compiler_pic
9863
lt_save_allow_undefined_flag=$allow_undefined_flag
9864
allow_undefined_flag=
9865
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9866
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9868
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9869
test $ac_status = 0; }
9871
lt_cv_archive_cmds_need_lc=no
9873
lt_cv_archive_cmds_need_lc=yes
9875
allow_undefined_flag=$lt_save_allow_undefined_flag
9877
cat conftest.err 1>&5
9882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9883
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9884
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10043
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10045
if test "$GCC" = yes; then
10047
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10048
*) lt_awk_arg="/^libraries:/" ;;
10051
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10052
*) lt_sed_strip_eq="s,=/,/,g" ;;
10054
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10055
case $lt_search_path_spec in
10057
# if the path contains ";" then we assume it to be the separator
10058
# otherwise default to the standard path separator (i.e. ":") - it is
10059
# assumed that no part of a normal pathname contains ";" but that should
10060
# okay in the real world where ";" in dirpaths is itself problematic.
10061
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10064
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10067
# Ok, now we have the path, separated by spaces, we can step through it
10068
# and add multilib dir if necessary.
10069
lt_tmp_lt_search_path_spec=
10070
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10071
for lt_sys_path in $lt_search_path_spec; do
10072
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10073
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10075
test -d "$lt_sys_path" && \
10076
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10079
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10080
BEGIN {RS=" "; FS="/|\n";} {
10083
for (lt_i = NF; lt_i > 0; lt_i--) {
10084
if ($lt_i != "" && $lt_i != ".") {
10085
if ($lt_i == "..") {
10088
if (lt_count == 0) {
10089
lt_foo="/" $lt_i lt_foo;
10096
if (lt_foo != "") { lt_freq[lt_foo]++; }
10097
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10099
# AWK program above erroneously prepends '/' to C:/dos/paths
10102
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10103
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10105
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10107
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10109
library_names_spec=
10110
libname_spec='lib$name'
10114
postuninstall_cmds=
10118
shlibpath_overrides_runpath=unknown
10120
dynamic_linker="$host_os ld.so"
10121
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10122
need_lib_prefix=unknown
10123
hardcode_into_libs=no
10125
# when you set need_version to no, make sure it does not cause -set_version
10126
# flags to be left without arguments
10127
need_version=unknown
10131
version_type=linux # correct to gnu/linux during the next big refactor
10132
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10133
shlibpath_var=LIBPATH
10135
# AIX 3 has no versioning support, so we append a major version to the name.
10136
soname_spec='${libname}${release}${shared_ext}$major'
10140
version_type=linux # correct to gnu/linux during the next big refactor
10143
hardcode_into_libs=yes
10144
if test "$host_cpu" = ia64; then
10145
# AIX 5 supports IA64
10146
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10147
shlibpath_var=LD_LIBRARY_PATH
10149
# With GCC up to 2.95.x, collect2 would create an import file
10150
# for dependence libraries. The import file would start with
10151
# the line `#! .'. This would cause the generated library to
10152
# depend on `.', always an invalid library. This was fixed in
10153
# development snapshots of GCC prior to 3.0.
10155
aix4 | aix4.[01] | aix4.[01].*)
10156
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10158
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10161
can_build_shared=no
10165
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10166
# soname into executable. Probably we can add versioning support to
10167
# collect2, so additional links can be useful in future.
10168
if test "$aix_use_runtimelinking" = yes; then
10169
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10170
# instead of lib<name>.a to let people know that these are not
10171
# typical AIX shared libraries.
10172
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10174
# We preserve .a as extension for shared libraries through AIX4.2
10175
# and later when we are not doing run time linking.
10176
library_names_spec='${libname}${release}.a $libname.a'
10177
soname_spec='${libname}${release}${shared_ext}$major'
10179
shlibpath_var=LIBPATH
10186
# Since July 2007 AmigaOS4 officially supports .so libraries.
10187
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10188
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10191
library_names_spec='$libname.ixlibrary $libname.a'
10192
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10193
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10199
library_names_spec='${libname}${shared_ext}'
10200
dynamic_linker="$host_os ld.so"
10201
shlibpath_var=LIBRARY_PATH
10205
version_type=linux # correct to gnu/linux during the next big refactor
10207
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10208
soname_spec='${libname}${release}${shared_ext}$major'
10209
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10210
shlibpath_var=LD_LIBRARY_PATH
10211
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10212
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10213
# the default ld.so.conf also contains /usr/contrib/lib and
10214
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10215
# libtool to hard-code these into programs
10218
cygwin* | mingw* | pw32* | cegcc*)
10219
version_type=windows
10224
case $GCC,$cc_basename in
10227
library_names_spec='$libname.dll.a'
10228
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10229
postinstall_cmds='base_file=`basename \${file}`~
10230
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10231
dldir=$destdir/`dirname \$dlpath`~
10232
test -d \$dldir || mkdir -p \$dldir~
10233
$install_prog $dir/$dlname \$dldir/$dlname~
10234
chmod a+x \$dldir/$dlname~
10235
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10236
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10238
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10239
dlpath=$dir/\$dldll~
10241
shlibpath_overrides_runpath=yes
10245
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10246
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10248
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10251
# MinGW DLLs use traditional 'lib' prefix
10252
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10255
# pw32 DLLs use 'pw' prefix rather than 'lib'
10256
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10259
dynamic_linker='Win32 ld.exe'
10264
libname_spec='$name'
10265
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10266
library_names_spec='${libname}.dll.lib'
10270
sys_lib_search_path_spec=
10273
for lt_path in $LIB
10276
# Let DOS variable expansion print the short 8.3 style file name.
10277
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10278
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10281
# Convert to MSYS style.
10282
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10285
# Convert to unix form, then to dos form, then back to unix form
10286
# but this time dos style (no spaces!) so that the unix form looks
10287
# like /cygdrive/c/PROGRA~1:/cygdr...
10288
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10289
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10290
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10293
sys_lib_search_path_spec="$LIB"
10294
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10295
# It is most probably a Windows format PATH.
10296
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10298
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10300
# FIXME: find the short name or the path components, as spaces are
10301
# common. (e.g. "Program Files" -> "PROGRA~1")
10305
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10306
postinstall_cmds='base_file=`basename \${file}`~
10307
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10308
dldir=$destdir/`dirname \$dlpath`~
10309
test -d \$dldir || mkdir -p \$dldir~
10310
$install_prog $dir/$dlname \$dldir/$dlname'
10311
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10312
dlpath=$dir/\$dldll~
10314
shlibpath_overrides_runpath=yes
10315
dynamic_linker='Win32 link.exe'
10319
# Assume MSVC wrapper
10320
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10321
dynamic_linker='Win32 ld.exe'
10324
# FIXME: first we should search . and the directory the executable is in
10328
darwin* | rhapsody*)
10329
dynamic_linker="$host_os dyld"
10330
version_type=darwin
10333
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10334
soname_spec='${libname}${release}${major}$shared_ext'
10335
shlibpath_overrides_runpath=yes
10336
shlibpath_var=DYLD_LIBRARY_PATH
10337
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10339
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10340
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10344
version_type=linux # correct to gnu/linux during the next big refactor
10347
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10348
soname_spec='${libname}${release}${shared_ext}$major'
10349
shlibpath_var=LD_LIBRARY_PATH
10352
freebsd* | dragonfly*)
10353
# DragonFly does not have aout. When/if they implement a new
10354
# versioning mechanism, adjust this.
10355
if test -x /usr/bin/objformat; then
10356
objformat=`/usr/bin/objformat`
10359
freebsd[23].*) objformat=aout ;;
10360
*) objformat=elf ;;
10363
version_type=freebsd-$objformat
10364
case $version_type in
10366
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10371
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10375
shlibpath_var=LD_LIBRARY_PATH
10378
shlibpath_overrides_runpath=yes
10380
freebsd3.[01]* | freebsdelf3.[01]*)
10381
shlibpath_overrides_runpath=yes
10382
hardcode_into_libs=yes
10384
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10385
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10386
shlibpath_overrides_runpath=no
10387
hardcode_into_libs=yes
10389
*) # from 4.6 on, and DragonFly
10390
shlibpath_overrides_runpath=yes
10391
hardcode_into_libs=yes
10397
version_type=linux # correct to gnu/linux during the next big refactor
10400
dynamic_linker="$host_os runtime_loader"
10401
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10402
soname_spec='${libname}${release}${shared_ext}$major'
10403
shlibpath_var=LIBRARY_PATH
10404
shlibpath_overrides_runpath=yes
10405
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10406
hardcode_into_libs=yes
10409
hpux9* | hpux10* | hpux11*)
10410
# Give a soname corresponding to the major version so that dld.sl refuses to
10411
# link against other versions.
10418
hardcode_into_libs=yes
10419
dynamic_linker="$host_os dld.so"
10420
shlibpath_var=LD_LIBRARY_PATH
10421
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10422
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10423
soname_spec='${libname}${release}${shared_ext}$major'
10424
if test "X$HPUX_IA64_MODE" = X32; then
10425
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10427
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10429
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10433
hardcode_into_libs=yes
10434
dynamic_linker="$host_os dld.sl"
10435
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10436
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10437
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438
soname_spec='${libname}${release}${shared_ext}$major'
10439
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10440
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10444
dynamic_linker="$host_os dld.sl"
10445
shlibpath_var=SHLIB_PATH
10446
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10448
soname_spec='${libname}${release}${shared_ext}$major'
10451
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10452
postinstall_cmds='chmod 555 $lib'
10453
# or fails outright, so override atomically:
10454
install_override_mode=555
10458
version_type=linux # correct to gnu/linux during the next big refactor
10461
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10462
soname_spec='${libname}${release}${shared_ext}$major'
10463
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10464
shlibpath_var=LD_LIBRARY_PATH
10465
shlibpath_overrides_runpath=no
10466
hardcode_into_libs=yes
10469
irix5* | irix6* | nonstopux*)
10471
nonstopux*) version_type=nonstopux ;;
10473
if test "$lt_cv_prog_gnu_ld" = yes; then
10474
version_type=linux # correct to gnu/linux during the next big refactor
10481
soname_spec='${libname}${release}${shared_ext}$major'
10482
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10484
irix5* | nonstopux*)
10485
libsuff= shlibsuff=
10488
case $LD in # libtool.m4 will add one of these switches to LD
10489
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10490
libsuff= shlibsuff= libmagic=32-bit;;
10491
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10492
libsuff=32 shlibsuff=N32 libmagic=N32;;
10493
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10494
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10495
*) libsuff= shlibsuff= libmagic=never-match;;
10499
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10500
shlibpath_overrides_runpath=no
10501
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10502
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10503
hardcode_into_libs=yes
10506
# No shared lib support for Linux oldld, aout, or coff.
10507
linux*oldld* | linux*aout* | linux*coff*)
10511
# This must be glibc/ELF.
10512
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10513
version_type=linux # correct to gnu/linux during the next big refactor
10516
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517
soname_spec='${libname}${release}${shared_ext}$major'
10518
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10519
shlibpath_var=LD_LIBRARY_PATH
10520
shlibpath_overrides_runpath=no
10522
# Some binutils ld are patched to set DT_RUNPATH
10523
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10524
$as_echo_n "(cached) " >&6
10526
lt_cv_shlibpath_overrides_runpath=no
10527
save_LDFLAGS=$LDFLAGS
10528
save_libdir=$libdir
10529
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10530
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532
/* end confdefs.h. */
10542
if ac_fn_c_try_link "$LINENO"; then :
10543
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10544
lt_cv_shlibpath_overrides_runpath=yes
10547
rm -f core conftest.err conftest.$ac_objext \
10548
conftest$ac_exeext conftest.$ac_ext
10549
LDFLAGS=$save_LDFLAGS
10550
libdir=$save_libdir
10554
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10556
# This implies no fast_install, which is unacceptable.
10557
# Some rework will be needed to allow for fast_install
10558
# before this can be enabled.
10559
hardcode_into_libs=yes
10561
# Append ld.so.conf contents to the search path
10562
if test -f /etc/ld.so.conf; then
10563
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10564
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10567
# We used to test for /lib/ld.so.1 and disable shared libraries on
10568
# powerpc, because MkLinux only supported shared libraries with the
10569
# GNU dynamic linker. Since this was broken with cross compilers,
10570
# most powerpc-linux boxes support dynamic linking these days and
10571
# people can always --disable-shared, the test was removed, and we
10572
# assume the GNU/Linux dynamic linker is in use.
10573
dynamic_linker='GNU/Linux ld.so'
10580
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10581
soname_spec='${libname}${release}${shared_ext}$major'
10582
shlibpath_var=LD_LIBRARY_PATH
10583
shlibpath_overrides_runpath=no
10584
hardcode_into_libs=yes
10585
dynamic_linker='NetBSD ld.elf_so'
10592
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10593
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10594
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10595
dynamic_linker='NetBSD (a.out) ld.so'
10597
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10598
soname_spec='${libname}${release}${shared_ext}$major'
10599
dynamic_linker='NetBSD ld.elf_so'
10601
shlibpath_var=LD_LIBRARY_PATH
10602
shlibpath_overrides_runpath=yes
10603
hardcode_into_libs=yes
10607
version_type=linux # correct to gnu/linux during the next big refactor
10608
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609
shlibpath_var=LD_LIBRARY_PATH
10610
shlibpath_overrides_runpath=yes
10617
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618
soname_spec='${libname}${release}${shared_ext}$major'
10619
shlibpath_var=LD_LIBRARY_PATH
10620
shlibpath_overrides_runpath=no
10621
hardcode_into_libs=yes
10622
dynamic_linker='ldqnx.so'
10627
sys_lib_dlsearch_path_spec="/usr/lib"
10629
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10631
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10632
*) need_version=no ;;
10634
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10635
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10636
shlibpath_var=LD_LIBRARY_PATH
10637
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10639
openbsd2.[89] | openbsd2.[89].*)
10640
shlibpath_overrides_runpath=no
10643
shlibpath_overrides_runpath=yes
10647
shlibpath_overrides_runpath=yes
10652
libname_spec='$name'
10655
library_names_spec='$libname${shared_ext} $libname.a'
10656
dynamic_linker='OS/2 ld.exe'
10657
shlibpath_var=LIBPATH
10660
osf3* | osf4* | osf5*)
10664
soname_spec='${libname}${release}${shared_ext}$major'
10665
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10666
shlibpath_var=LD_LIBRARY_PATH
10667
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10668
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10676
version_type=linux # correct to gnu/linux during the next big refactor
10679
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10680
soname_spec='${libname}${release}${shared_ext}$major'
10681
shlibpath_var=LD_LIBRARY_PATH
10682
shlibpath_overrides_runpath=yes
10683
hardcode_into_libs=yes
10684
# ldd complains unless libraries are executable
10685
postinstall_cmds='chmod +x $lib'
10690
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10691
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10692
shlibpath_var=LD_LIBRARY_PATH
10693
shlibpath_overrides_runpath=yes
10694
if test "$with_gnu_ld" = yes; then
10701
version_type=linux # correct to gnu/linux during the next big refactor
10702
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703
soname_spec='${libname}${release}${shared_ext}$major'
10704
shlibpath_var=LD_LIBRARY_PATH
10705
case $host_vendor in
10707
shlibpath_overrides_runpath=no
10709
runpath_var=LD_RUN_PATH
10717
shlibpath_overrides_runpath=no
10718
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10724
if test -d /usr/nec ;then
10725
version_type=linux # correct to gnu/linux during the next big refactor
10726
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10727
soname_spec='$libname${shared_ext}.$major'
10728
shlibpath_var=LD_LIBRARY_PATH
10732
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10733
version_type=freebsd-elf
10736
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737
soname_spec='${libname}${release}${shared_ext}$major'
10738
shlibpath_var=LD_LIBRARY_PATH
10739
shlibpath_overrides_runpath=yes
10740
hardcode_into_libs=yes
10741
if test "$with_gnu_ld" = yes; then
10742
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10744
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10747
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10751
sys_lib_dlsearch_path_spec='/usr/lib'
10755
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10756
version_type=linux # correct to gnu/linux during the next big refactor
10759
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760
shlibpath_var=LD_LIBRARY_PATH
10761
shlibpath_overrides_runpath=no
10762
hardcode_into_libs=yes
10766
version_type=linux # correct to gnu/linux during the next big refactor
10767
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10768
soname_spec='${libname}${release}${shared_ext}$major'
10769
shlibpath_var=LD_LIBRARY_PATH
10776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10777
$as_echo "$dynamic_linker" >&6; }
10778
test "$dynamic_linker" = no && can_build_shared=no
10780
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10781
if test "$GCC" = yes; then
10782
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10785
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10786
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10788
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10789
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10884
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10886
if test -n "$hardcode_libdir_flag_spec" ||
10887
test -n "$runpath_var" ||
10888
test "X$hardcode_automatic" = "Xyes" ; then
10890
# We can hardcode non-existent directories.
10891
if test "$hardcode_direct" != no &&
10892
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10893
# have to relink, otherwise we might link with an installed library
10894
# when we should be linking with a yet-to-be-installed one
10895
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10896
test "$hardcode_minus_L" != no; then
10897
# Linking always hardcodes the temporary library directory.
10898
hardcode_action=relink
10900
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10901
hardcode_action=immediate
10904
# We cannot hardcode anything, or else we can only hardcode existing
10906
hardcode_action=unsupported
10908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10909
$as_echo "$hardcode_action" >&6; }
10911
if test "$hardcode_action" = relink ||
10912
test "$inherit_rpath" = yes; then
10913
# Fast installation is not supported
10914
enable_fast_install=no
10915
elif test "$shlibpath_overrides_runpath" = yes ||
10916
test "$enable_shared" = no; then
10917
# Fast installation is not necessary
10918
enable_fast_install=needless
10926
if test "x$enable_dlopen" != xyes; then
10927
enable_dlopen=unknown
10928
enable_dlopen_self=unknown
10929
enable_dlopen_self_static=unknown
10936
lt_cv_dlopen="load_add_on"
10938
lt_cv_dlopen_self=yes
10941
mingw* | pw32* | cegcc*)
10942
lt_cv_dlopen="LoadLibrary"
10947
lt_cv_dlopen="dlopen"
10952
# if libdl is installed we need to link against it
10953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10954
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10955
if ${ac_cv_lib_dl_dlopen+:} false; then :
10956
$as_echo_n "(cached) " >&6
10958
ac_check_lib_save_LIBS=$LIBS
10960
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961
/* end confdefs.h. */
10963
/* Override any GCC internal prototype to avoid an error.
10964
Use char because int might match the return type of a GCC
10965
builtin and then its argument prototype would still apply. */
10978
if ac_fn_c_try_link "$LINENO"; then :
10979
ac_cv_lib_dl_dlopen=yes
10981
ac_cv_lib_dl_dlopen=no
10983
rm -f core conftest.err conftest.$ac_objext \
10984
conftest$ac_exeext conftest.$ac_ext
10985
LIBS=$ac_check_lib_save_LIBS
10987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10988
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10989
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10990
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10993
lt_cv_dlopen="dyld"
10995
lt_cv_dlopen_self=yes
11002
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11003
if test "x$ac_cv_func_shl_load" = xyes; then :
11004
lt_cv_dlopen="shl_load"
11006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11007
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11008
if ${ac_cv_lib_dld_shl_load+:} false; then :
11009
$as_echo_n "(cached) " >&6
11011
ac_check_lib_save_LIBS=$LIBS
11013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014
/* end confdefs.h. */
11016
/* Override any GCC internal prototype to avoid an error.
11017
Use char because int might match the return type of a GCC
11018
builtin and then its argument prototype would still apply. */
11026
return shl_load ();
11031
if ac_fn_c_try_link "$LINENO"; then :
11032
ac_cv_lib_dld_shl_load=yes
11034
ac_cv_lib_dld_shl_load=no
11036
rm -f core conftest.err conftest.$ac_objext \
11037
conftest$ac_exeext conftest.$ac_ext
11038
LIBS=$ac_check_lib_save_LIBS
11040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11041
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11042
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11043
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11045
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11046
if test "x$ac_cv_func_dlopen" = xyes; then :
11047
lt_cv_dlopen="dlopen"
11049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11050
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11051
if ${ac_cv_lib_dl_dlopen+:} false; then :
11052
$as_echo_n "(cached) " >&6
11054
ac_check_lib_save_LIBS=$LIBS
11056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057
/* end confdefs.h. */
11059
/* Override any GCC internal prototype to avoid an error.
11060
Use char because int might match the return type of a GCC
11061
builtin and then its argument prototype would still apply. */
11074
if ac_fn_c_try_link "$LINENO"; then :
11075
ac_cv_lib_dl_dlopen=yes
11077
ac_cv_lib_dl_dlopen=no
11079
rm -f core conftest.err conftest.$ac_objext \
11080
conftest$ac_exeext conftest.$ac_ext
11081
LIBS=$ac_check_lib_save_LIBS
11083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11084
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11085
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11086
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11089
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11090
if ${ac_cv_lib_svld_dlopen+:} false; then :
11091
$as_echo_n "(cached) " >&6
11093
ac_check_lib_save_LIBS=$LIBS
11094
LIBS="-lsvld $LIBS"
11095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096
/* end confdefs.h. */
11098
/* Override any GCC internal prototype to avoid an error.
11099
Use char because int might match the return type of a GCC
11100
builtin and then its argument prototype would still apply. */
11113
if ac_fn_c_try_link "$LINENO"; then :
11114
ac_cv_lib_svld_dlopen=yes
11116
ac_cv_lib_svld_dlopen=no
11118
rm -f core conftest.err conftest.$ac_objext \
11119
conftest$ac_exeext conftest.$ac_ext
11120
LIBS=$ac_check_lib_save_LIBS
11122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11123
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11124
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11125
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11128
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11129
if ${ac_cv_lib_dld_dld_link+:} false; then :
11130
$as_echo_n "(cached) " >&6
11132
ac_check_lib_save_LIBS=$LIBS
11134
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135
/* end confdefs.h. */
11137
/* Override any GCC internal prototype to avoid an error.
11138
Use char because int might match the return type of a GCC
11139
builtin and then its argument prototype would still apply. */
11147
return dld_link ();
11152
if ac_fn_c_try_link "$LINENO"; then :
11153
ac_cv_lib_dld_dld_link=yes
11155
ac_cv_lib_dld_dld_link=no
11157
rm -f core conftest.err conftest.$ac_objext \
11158
conftest$ac_exeext conftest.$ac_ext
11159
LIBS=$ac_check_lib_save_LIBS
11161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11162
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11163
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11164
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11185
if test "x$lt_cv_dlopen" != xno; then
11191
case $lt_cv_dlopen in
11193
save_CPPFLAGS="$CPPFLAGS"
11194
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11196
save_LDFLAGS="$LDFLAGS"
11197
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11200
LIBS="$lt_cv_dlopen_libs $LIBS"
11202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11203
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11204
if ${lt_cv_dlopen_self+:} false; then :
11205
$as_echo_n "(cached) " >&6
11207
if test "$cross_compiling" = yes; then :
11208
lt_cv_dlopen_self=cross
11210
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11211
lt_status=$lt_dlunknown
11212
cat > conftest.$ac_ext <<_LT_EOF
11213
#line $LINENO "configure"
11214
#include "confdefs.h"
11223
# define LT_DLGLOBAL RTLD_GLOBAL
11226
# define LT_DLGLOBAL DL_GLOBAL
11228
# define LT_DLGLOBAL 0
11232
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11233
find out it does not work in some platform. */
11234
#ifndef LT_DLLAZY_OR_NOW
11236
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11239
# define LT_DLLAZY_OR_NOW DL_LAZY
11242
# define LT_DLLAZY_OR_NOW RTLD_NOW
11245
# define LT_DLLAZY_OR_NOW DL_NOW
11247
# define LT_DLLAZY_OR_NOW 0
11254
/* When -fvisbility=hidden is used, assume the code has been annotated
11255
correspondingly for the symbols needed. */
11256
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11257
int fnord () __attribute__((visibility("default")));
11260
int fnord () { return 42; }
11263
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11264
int status = $lt_dlunknown;
11268
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11271
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11272
else puts (dlerror ());
11274
/* dlclose (self); */
11282
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11283
(eval $ac_link) 2>&5
11285
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11286
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11287
(./conftest; exit; ) >&5 2>/dev/null
11289
case x$lt_status in
11290
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11291
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11292
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11295
# compilation failed
11296
lt_cv_dlopen_self=no
11303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11304
$as_echo "$lt_cv_dlopen_self" >&6; }
11306
if test "x$lt_cv_dlopen_self" = xyes; then
11307
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11309
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11310
if ${lt_cv_dlopen_self_static+:} false; then :
11311
$as_echo_n "(cached) " >&6
11313
if test "$cross_compiling" = yes; then :
11314
lt_cv_dlopen_self_static=cross
11316
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11317
lt_status=$lt_dlunknown
11318
cat > conftest.$ac_ext <<_LT_EOF
11319
#line $LINENO "configure"
11320
#include "confdefs.h"
11329
# define LT_DLGLOBAL RTLD_GLOBAL
11332
# define LT_DLGLOBAL DL_GLOBAL
11334
# define LT_DLGLOBAL 0
11338
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11339
find out it does not work in some platform. */
11340
#ifndef LT_DLLAZY_OR_NOW
11342
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11345
# define LT_DLLAZY_OR_NOW DL_LAZY
11348
# define LT_DLLAZY_OR_NOW RTLD_NOW
11351
# define LT_DLLAZY_OR_NOW DL_NOW
11353
# define LT_DLLAZY_OR_NOW 0
11360
/* When -fvisbility=hidden is used, assume the code has been annotated
11361
correspondingly for the symbols needed. */
11362
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11363
int fnord () __attribute__((visibility("default")));
11366
int fnord () { return 42; }
11369
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11370
int status = $lt_dlunknown;
11374
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11377
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11378
else puts (dlerror ());
11380
/* dlclose (self); */
11388
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11389
(eval $ac_link) 2>&5
11391
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11392
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11393
(./conftest; exit; ) >&5 2>/dev/null
11395
case x$lt_status in
11396
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11397
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11398
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11401
# compilation failed
11402
lt_cv_dlopen_self_static=no
11409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11410
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11413
CPPFLAGS="$save_CPPFLAGS"
11414
LDFLAGS="$save_LDFLAGS"
11419
case $lt_cv_dlopen_self in
11420
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11421
*) enable_dlopen_self=unknown ;;
11424
case $lt_cv_dlopen_self_static in
11425
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11426
*) enable_dlopen_self_static=unknown ;;
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11449
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11450
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11451
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11452
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11454
$as_echo "yes" >&6; }
11456
# FIXME - insert some real tests, host_os isn't really good enough
11459
if test -n "$STRIP" ; then
11460
striplib="$STRIP -x"
11461
old_striplib="$STRIP -S"
11462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11463
$as_echo "yes" >&6; }
11465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11466
$as_echo "no" >&6; }
11470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11471
$as_echo "no" >&6; }
11487
# Report which library types will actually be built
11488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11489
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11491
$as_echo "$can_build_shared" >&6; }
11493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11494
$as_echo_n "checking whether to build shared libraries... " >&6; }
11495
test "$can_build_shared" = "no" && enable_shared=no
11497
# On AIX, shared libraries and static libraries use the same namespace, and
11498
# are all built from PIC.
11501
test "$enable_shared" = yes && enable_static=no
11502
if test -n "$RANLIB"; then
11503
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11504
postinstall_cmds='$RANLIB $lib'
11509
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11510
test "$enable_shared" = yes && enable_static=no
11514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11515
$as_echo "$enable_shared" >&6; }
11517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11518
$as_echo_n "checking whether to build static libraries... " >&6; }
11519
# Make sure either enable_shared or enable_static is yes.
11520
test "$enable_shared" = yes || enable_static=yes
11521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11522
$as_echo "$enable_static" >&6; }
11529
ac_cpp='$CPP $CPPFLAGS'
11530
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11531
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11532
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11550
ac_config_commands="$ac_config_commands libtool"
11555
# Only expand once:
11559
# Checks for programs.
11561
ac_cpp='$CPP $CPPFLAGS'
11562
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11563
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11564
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11565
if test -n "$ac_tool_prefix"; then
11566
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11567
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11569
$as_echo_n "checking for $ac_word... " >&6; }
11570
if ${ac_cv_prog_CC+:} false; then :
11571
$as_echo_n "(cached) " >&6
11573
if test -n "$CC"; then
11574
ac_cv_prog_CC="$CC" # Let the user override the test.
11576
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11577
for as_dir in $PATH
11580
test -z "$as_dir" && as_dir=.
11581
for ac_exec_ext in '' $ac_executable_extensions; do
11582
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11583
ac_cv_prog_CC="${ac_tool_prefix}gcc"
11584
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11594
if test -n "$CC"; then
11595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11596
$as_echo "$CC" >&6; }
11598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11599
$as_echo "no" >&6; }
11604
if test -z "$ac_cv_prog_CC"; then
11606
# Extract the first word of "gcc", so it can be a program name with args.
11607
set dummy gcc; ac_word=$2
11608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11609
$as_echo_n "checking for $ac_word... " >&6; }
11610
if ${ac_cv_prog_ac_ct_CC+:} false; then :
11611
$as_echo_n "(cached) " >&6
11613
if test -n "$ac_ct_CC"; then
11614
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11617
for as_dir in $PATH
11620
test -z "$as_dir" && as_dir=.
11621
for ac_exec_ext in '' $ac_executable_extensions; do
11622
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11623
ac_cv_prog_ac_ct_CC="gcc"
11624
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11633
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11634
if test -n "$ac_ct_CC"; then
11635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11636
$as_echo "$ac_ct_CC" >&6; }
11638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639
$as_echo "no" >&6; }
11642
if test "x$ac_ct_CC" = x; then
11645
case $cross_compiling:$ac_tool_warned in
11647
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11648
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11649
ac_tool_warned=yes ;;
11654
CC="$ac_cv_prog_CC"
11657
if test -z "$CC"; then
11658
if test -n "$ac_tool_prefix"; then
11659
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11660
set dummy ${ac_tool_prefix}cc; ac_word=$2
11661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11662
$as_echo_n "checking for $ac_word... " >&6; }
11663
if ${ac_cv_prog_CC+:} false; then :
11664
$as_echo_n "(cached) " >&6
11666
if test -n "$CC"; then
11667
ac_cv_prog_CC="$CC" # Let the user override the test.
11669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11670
for as_dir in $PATH
11673
test -z "$as_dir" && as_dir=.
11674
for ac_exec_ext in '' $ac_executable_extensions; do
11675
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11676
ac_cv_prog_CC="${ac_tool_prefix}cc"
11677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11687
if test -n "$CC"; then
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11689
$as_echo "$CC" >&6; }
11691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11692
$as_echo "no" >&6; }
11698
if test -z "$CC"; then
11699
# Extract the first word of "cc", so it can be a program name with args.
11700
set dummy cc; ac_word=$2
11701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11702
$as_echo_n "checking for $ac_word... " >&6; }
11703
if ${ac_cv_prog_CC+:} false; then :
11704
$as_echo_n "(cached) " >&6
11706
if test -n "$CC"; then
11707
ac_cv_prog_CC="$CC" # Let the user override the test.
11709
ac_prog_rejected=no
11710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11711
for as_dir in $PATH
11714
test -z "$as_dir" && as_dir=.
11715
for ac_exec_ext in '' $ac_executable_extensions; do
11716
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11717
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11718
ac_prog_rejected=yes
11722
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11729
if test $ac_prog_rejected = yes; then
11730
# We found a bogon in the path, so make sure we never use it.
11731
set dummy $ac_cv_prog_CC
11733
if test $@%:@ != 0; then
11734
# We chose a different compiler from the bogus one.
11735
# However, it has the same basename, so the bogon will be chosen
11736
# first if we set CC to just the basename; use the full file name.
11738
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11744
if test -n "$CC"; then
11745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11746
$as_echo "$CC" >&6; }
11748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749
$as_echo "no" >&6; }
11754
if test -z "$CC"; then
11755
if test -n "$ac_tool_prefix"; then
11756
for ac_prog in cl.exe
11758
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11759
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11761
$as_echo_n "checking for $ac_word... " >&6; }
11762
if ${ac_cv_prog_CC+:} false; then :
11763
$as_echo_n "(cached) " >&6
11765
if test -n "$CC"; then
11766
ac_cv_prog_CC="$CC" # Let the user override the test.
11768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11769
for as_dir in $PATH
11772
test -z "$as_dir" && as_dir=.
11773
for ac_exec_ext in '' $ac_executable_extensions; do
11774
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11775
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11776
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11786
if test -n "$CC"; then
11787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11788
$as_echo "$CC" >&6; }
11790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11791
$as_echo "no" >&6; }
11795
test -n "$CC" && break
11798
if test -z "$CC"; then
11800
for ac_prog in cl.exe
11802
# Extract the first word of "$ac_prog", so it can be a program name with args.
11803
set dummy $ac_prog; ac_word=$2
11804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11805
$as_echo_n "checking for $ac_word... " >&6; }
11806
if ${ac_cv_prog_ac_ct_CC+:} false; then :
11807
$as_echo_n "(cached) " >&6
11809
if test -n "$ac_ct_CC"; then
11810
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813
for as_dir in $PATH
11816
test -z "$as_dir" && as_dir=.
11817
for ac_exec_ext in '' $ac_executable_extensions; do
11818
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11819
ac_cv_prog_ac_ct_CC="$ac_prog"
11820
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11829
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11830
if test -n "$ac_ct_CC"; then
11831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11832
$as_echo "$ac_ct_CC" >&6; }
11834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11835
$as_echo "no" >&6; }
11839
test -n "$ac_ct_CC" && break
11842
if test "x$ac_ct_CC" = x; then
11845
case $cross_compiling:$ac_tool_warned in
11847
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11848
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11849
ac_tool_warned=yes ;;
11858
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11859
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11860
as_fn_error $? "no acceptable C compiler found in \$PATH
11861
See \`config.log' for more details" "$LINENO" 5; }
11863
# Provide some information about the compiler.
11864
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11867
for ac_option in --version -v -V -qversion; do
11868
{ { ac_try="$ac_compiler $ac_option >&5"
11869
case "(($ac_try" in
11870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11871
*) ac_try_echo=$ac_try;;
11873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11874
$as_echo "$ac_try_echo"; } >&5
11875
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11877
if test -s conftest.err; then
11879
... rest of stderr output deleted ...
11880
10q' conftest.err >conftest.er1
11881
cat conftest.er1 >&5
11883
rm -f conftest.er1 conftest.err
11884
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11885
test $ac_status = 0; }
11888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11889
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11890
if ${ac_cv_c_compiler_gnu+:} false; then :
11891
$as_echo_n "(cached) " >&6
11893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894
/* end confdefs.h. */
11907
if ac_fn_c_try_compile "$LINENO"; then :
11908
ac_compiler_gnu=yes
11912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11913
ac_cv_c_compiler_gnu=$ac_compiler_gnu
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11917
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11918
if test $ac_compiler_gnu = yes; then
11923
ac_test_CFLAGS=${CFLAGS+set}
11924
ac_save_CFLAGS=$CFLAGS
11925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11926
$as_echo_n "checking whether $CC accepts -g... " >&6; }
11927
if ${ac_cv_prog_cc_g+:} false; then :
11928
$as_echo_n "(cached) " >&6
11930
ac_save_c_werror_flag=$ac_c_werror_flag
11931
ac_c_werror_flag=yes
11934
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935
/* end confdefs.h. */
11945
if ac_fn_c_try_compile "$LINENO"; then :
11946
ac_cv_prog_cc_g=yes
11949
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950
/* end confdefs.h. */
11960
if ac_fn_c_try_compile "$LINENO"; then :
11963
ac_c_werror_flag=$ac_save_c_werror_flag
11965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966
/* end confdefs.h. */
11976
if ac_fn_c_try_compile "$LINENO"; then :
11977
ac_cv_prog_cc_g=yes
11979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11984
ac_c_werror_flag=$ac_save_c_werror_flag
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11987
$as_echo "$ac_cv_prog_cc_g" >&6; }
11988
if test "$ac_test_CFLAGS" = set; then
11989
CFLAGS=$ac_save_CFLAGS
11990
elif test $ac_cv_prog_cc_g = yes; then
11991
if test "$GCC" = yes; then
11997
if test "$GCC" = yes; then
12003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12004
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12005
if ${ac_cv_prog_cc_c89+:} false; then :
12006
$as_echo_n "(cached) " >&6
12008
ac_cv_prog_cc_c89=no
12010
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011
/* end confdefs.h. */
12012
#include <stdarg.h>
12015
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12016
struct buf { int x; };
12017
FILE * (*rcsopen) (struct buf *, struct stat *, int);
12018
static char *e (p, i)
12024
static char *f (char * (*g) (char **, int), char **p, ...)
12029
s = g (p, va_arg (v,int));
12034
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12035
function prototypes and stuff, but not '\xHH' hex character constants.
12036
These don't provoke an error unfortunately, instead are silently treated
12037
as 'x'. The following induces an error, until -std is added to get
12038
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12039
array size at least. It's necessary to write '\x00'==0 to get something
12040
that's true only with -std. */
12041
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12043
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12044
inside strings and character constants. */
12046
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12048
int test (int i, double x);
12049
struct s1 {int (*f) (int a);};
12050
struct s2 {int (*f) (double a);};
12051
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12057
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12062
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12063
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12065
CC="$ac_save_CC $ac_arg"
12066
if ac_fn_c_try_compile "$LINENO"; then :
12067
ac_cv_prog_cc_c89=$ac_arg
12069
rm -f core conftest.err conftest.$ac_objext
12070
test "x$ac_cv_prog_cc_c89" != "xno" && break
12072
rm -f conftest.$ac_ext
12077
case "x$ac_cv_prog_cc_c89" in
12079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12080
$as_echo "none needed" >&6; } ;;
12082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12083
$as_echo "unsupported" >&6; } ;;
12085
CC="$CC $ac_cv_prog_cc_c89"
12086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12087
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12089
if test "x$ac_cv_prog_cc_c89" != xno; then :
12094
ac_cpp='$CPP $CPPFLAGS'
12095
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12096
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12097
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12100
ac_cpp='$CPP $CPPFLAGS'
12101
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12102
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12105
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12106
if ${am_cv_prog_cc_c_o+:} false; then :
12107
$as_echo_n "(cached) " >&6
12109
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110
/* end confdefs.h. */
12120
# Make sure it works both with $CC and with simple cc.
12121
# Following AC_PROG_CC_C_O, we do the test twice because some
12122
# compilers refuse to overwrite an existing .o file with -o,
12123
# though they will create one.
12124
am_cv_prog_cc_c_o=yes
12125
for am_i in 1 2; do
12126
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12127
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130
(exit $ac_status); } \
12131
&& test -f conftest2.$ac_objext; then
12134
am_cv_prog_cc_c_o=no
12138
rm -f core conftest*
12141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12142
$as_echo "$am_cv_prog_cc_c_o" >&6; }
12143
if test "$am_cv_prog_cc_c_o" != yes; then
12144
# Losing compiler, so override with the script.
12145
# FIXME: It is wrong to rewrite CC.
12146
# But if we don't then we get into trouble of one sort or another.
12147
# A longer-term fix would be to have automake use am__CC in this case,
12148
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12149
CC="$am_aux_dir/compile $CC"
12152
ac_cpp='$CPP $CPPFLAGS'
12153
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12154
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12155
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12158
depcc="$CC" am_compiler_list=
12160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12161
$as_echo_n "checking dependency style of $depcc... " >&6; }
12162
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12163
$as_echo_n "(cached) " >&6
12165
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12166
# We make a subdir and do the tests there. Otherwise we can end up
12167
# making bogus files that we don't know about and never remove. For
12168
# instance it was reported that on HP-UX the gcc test will end up
12169
# making a dummy file named 'D' -- because '-MD' means "put the output
12171
rm -rf conftest.dir
12173
# Copy depcomp to subdir because otherwise we won't find it if we're
12174
# using a relative directory.
12175
cp "$am_depcomp" conftest.dir
12177
# We will build objects and dependencies in a subdirectory because
12178
# it helps to detect inapplicable dependency modes. For instance
12179
# both Tru64's cc and ICC support -MD to output dependencies as a
12180
# side effect of compilation, but ICC will put the dependencies in
12181
# the current directory while Tru64 will put them in the object
12185
am_cv_CC_dependencies_compiler_type=none
12186
if test "$am_compiler_list" = ""; then
12187
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12189
am__universal=false
12190
case " $depcc " in #(
12191
*\ -arch\ *\ -arch\ *) am__universal=true ;;
12194
for depmode in $am_compiler_list; do
12195
# Setup a source with many dependencies, because some compilers
12196
# like to wrap large dependency lists on column 80 (with \), and
12197
# we should not choose a depcomp mode which is confused by this.
12199
# We need to recreate these files for each test, as the compiler may
12200
# overwrite some of them when testing with obscure command lines.
12201
# This happens at least with the AIX C compiler.
12203
for i in 1 2 3 4 5 6; do
12204
echo '#include "conftst'$i'.h"' >> sub/conftest.c
12205
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12206
# Solaris 10 /bin/sh.
12207
echo '/* dummy */' > sub/conftst$i.h
12209
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12211
# We check with '-c' and '-o' for the sake of the "dashmstdout"
12212
# mode. It turns out that the SunPro C++ compiler does not properly
12213
# handle '-M -o', and we need to detect this. Also, some Intel
12214
# versions had trouble with output in subdirs.
12215
am__obj=sub/conftest.${OBJEXT-o}
12216
am__minus_obj="-o $am__obj"
12219
# This depmode causes a compiler race in universal mode.
12220
test "$am__universal" = false || continue
12223
# After this tag, mechanisms are not by side-effect, so they'll
12224
# only be used when explicitly requested.
12225
if test "x$enable_dependency_tracking" = xyes; then
12231
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12232
# This compiler won't grok '-c -o', but also, the minuso test has
12233
# not run yet. These depmodes are late enough in the game, and
12234
# so weak that their functioning should not be impacted.
12235
am__obj=conftest.${OBJEXT-o}
12240
if depmode=$depmode \
12241
source=sub/conftest.c object=$am__obj \
12242
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12243
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12244
>/dev/null 2>conftest.err &&
12245
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12246
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12247
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12248
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12249
# icc doesn't choke on unknown options, it will just issue warnings
12250
# or remarks (even with -Werror). So we grep stderr for any message
12251
# that says an option was ignored or not supported.
12252
# When given -MP, icc 7.0 and 7.1 complain thusly:
12253
# icc: Command line warning: ignoring option '-M'; no argument required
12254
# The diagnosis changed in icc 8.0:
12255
# icc: Command line remark: option '-MP' not supported
12256
if (grep 'ignoring option' conftest.err ||
12257
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12258
am_cv_CC_dependencies_compiler_type=$depmode
12265
rm -rf conftest.dir
12267
am_cv_CC_dependencies_compiler_type=none
12271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12272
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12273
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12276
test "x$enable_dependency_tracking" != xno \
12277
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12278
am__fastdepCC_TRUE=
12279
am__fastdepCC_FALSE='#'
12281
am__fastdepCC_TRUE='#'
12282
am__fastdepCC_FALSE=
12287
# Checks for libraries.
12289
# Checks for header files.
12290
for ac_header in stdint.h stdlib.h string.h
12292
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12293
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12294
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12295
cat >>confdefs.h <<_ACEOF
12296
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12303
for ac_header in libavcodec/avcodec.h libavformat/avformat.h libavresample/avresample.h
12305
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12306
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12307
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12308
cat >>confdefs.h <<_ACEOF
12309
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12317
# Checks for typedefs, structures, and compiler characteristics.
12318
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12319
if test "x$ac_cv_type_size_t" = xyes; then :
12323
cat >>confdefs.h <<_ACEOF
12324
@%:@define size_t unsigned int
12329
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
12330
case $ac_cv_c_uint16_t in #(
12335
cat >>confdefs.h <<_ACEOF
12336
@%:@define uint16_t $ac_cv_c_uint16_t
12341
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
12342
case $ac_cv_c_uint32_t in #(
12346
$as_echo "@%:@define _UINT32_T 1" >>confdefs.h
12349
cat >>confdefs.h <<_ACEOF
12350
@%:@define uint32_t $ac_cv_c_uint32_t
12355
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12356
case $ac_cv_c_uint8_t in #(
12360
$as_echo "@%:@define _UINT8_T 1" >>confdefs.h
12363
cat >>confdefs.h <<_ACEOF
12364
@%:@define uint8_t $ac_cv_c_uint8_t
12370
# Checks for library functions.
12371
for ac_header in stdlib.h
12373
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12374
if test "x$ac_cv_header_stdlib_h" = xyes; then :
12375
cat >>confdefs.h <<_ACEOF
12376
@%:@define HAVE_STDLIB_H 1
12383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12384
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12385
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12386
$as_echo_n "(cached) " >&6
12388
if test "$cross_compiling" = yes; then :
12389
ac_cv_func_malloc_0_nonnull=no
12391
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392
/* end confdefs.h. */
12393
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12394
# include <stdlib.h>
12402
return ! malloc (0);
12407
if ac_fn_c_try_run "$LINENO"; then :
12408
ac_cv_func_malloc_0_nonnull=yes
12410
ac_cv_func_malloc_0_nonnull=no
12412
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12413
conftest.$ac_objext conftest.beam conftest.$ac_ext
12417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12418
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12419
if test $ac_cv_func_malloc_0_nonnull = yes; then :
12421
$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
12424
$as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
12426
case " $LIB@&t@OBJS " in
12427
*" malloc.$ac_objext "* ) ;;
12428
*) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
12433
$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
12439
ac_config_files="$ac_config_files Makefile src/Makefile"
12441
cat >confcache <<\_ACEOF
12442
# This file is a shell script that caches the results of configure
12443
# tests run on this system so they can be shared between configure
12444
# scripts and configure runs, see configure's option --config-cache.
12445
# It is not useful on other systems. If it contains results you don't
12446
# want to keep, you may remove or edit it.
12448
# config.status only pays attention to the cache file if you give it
12449
# the --recheck option to rerun configure.
12451
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12452
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12453
# following values.
12457
# The following way of writing the cache mishandles newlines in values,
12458
# but we know of no workaround that is simple, portable, and efficient.
12459
# So, we kill variables containing newlines.
12460
# Ultrix sh set writes to stderr and can't be redirected directly,
12461
# and sets the high bit in the cache file unless we assign to the vars.
12463
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12464
eval ac_val=\$$ac_var
12468
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12469
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12472
_ | IFS | as_nl) ;; #(
12473
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12474
*) { eval $ac_var=; unset $ac_var;} ;;
12480
case $as_nl`(ac_space=' '; set) 2>&1` in #(
12481
*${as_nl}ac_space=\ *)
12482
# `set' does not quote correctly, so add quotes: double-quote
12483
# substitution turns \\\\ into \\, and sed turns \\ into \.
12486
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12489
# `set' quotes correctly as required by POSIX, so do not add quotes.
12490
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12499
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12501
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12503
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12504
if test -w "$cache_file"; then
12505
if test "x$cache_file" != "x/dev/null"; then
12506
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12507
$as_echo "$as_me: updating cache $cache_file" >&6;}
12508
if test ! -f "$cache_file" || test -h "$cache_file"; then
12509
cat confcache >"$cache_file"
12511
case $cache_file in #(
12513
mv -f confcache "$cache_file"$$ &&
12514
mv -f "$cache_file"$$ "$cache_file" ;; #(
12516
mv -f confcache "$cache_file" ;;
12521
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12522
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12527
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12528
# Let make expand exec_prefix.
12529
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12531
# Transform confdefs.h into DEFS.
12532
# Protect against shell expansion while executing Makefile rules.
12533
# Protect against Makefile macro expansion.
12535
# If the first sed substitution is executed (which looks for macros that
12536
# take arguments), then branch to the quote section. Otherwise,
12537
# look for a macro that doesn't take arguments.
12547
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
12549
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
12553
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12566
DEFS=`sed -n "$ac_script" confdefs.h`
12572
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
12573
# 1. Remove the extension, and $U if already installed.
12574
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12575
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12576
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12577
# will be set to the directory where LIBOBJS objects are built.
12578
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12579
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12581
LIB@&t@OBJS=$ac_libobjs
12583
LTLIBOBJS=$ac_ltlibobjs
12586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12587
$as_echo_n "checking that generated files are newer than configure... " >&6; }
12588
if test -n "$am_sleep_pid"; then
12589
# Hide warnings about reused PIDs.
12590
wait $am_sleep_pid 2>/dev/null
12592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12593
$as_echo "done" >&6; }
12594
if test -n "$EXEEXT"; then
12596
am__EXEEXT_FALSE='#'
12598
am__EXEEXT_TRUE='#'
12602
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12603
as_fn_error $? "conditional \"AMDEP\" was never defined.
12604
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12606
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12607
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12608
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12610
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12611
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12612
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12615
: "${CONFIG_STATUS=./config.status}"
12617
ac_clean_files_save=$ac_clean_files
12618
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12619
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12620
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12622
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12624
# Generated by $as_me.
12625
# Run this file to recreate the current configuration.
12626
# Compiler output produced by configure, useful for debugging
12627
# configure, is in config.log if it exists.
12630
ac_cs_recheck=false
12633
SHELL=\${CONFIG_SHELL-$SHELL}
12636
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12637
## -------------------- ##
12638
## M4sh Initialization. ##
12639
## -------------------- ##
12641
# Be more Bourne compatible
12642
DUALCASE=1; export DUALCASE # for MKS sh
12643
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12646
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12647
# is contrary to our usage. Disable this feature.
12648
alias -g '${1+"$@"}'='"$@"'
12649
setopt NO_GLOB_SUBST
12651
case `(set -o) 2>/dev/null` in @%:@(
12653
set -o posix ;; @%:@(
12663
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12664
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12665
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12666
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12667
# Prefer a ksh shell builtin over an external printf program on Solaris,
12668
# but without wasting forks for bash or zsh.
12669
if test -z "$BASH_VERSION$ZSH_VERSION" \
12670
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12671
as_echo='print -r --'
12672
as_echo_n='print -rn --'
12673
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12674
as_echo='printf %s\n'
12675
as_echo_n='printf %s'
12677
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12678
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12679
as_echo_n='/usr/ucb/echo -n'
12681
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12682
as_echo_n_body='eval
12686
expr "X$arg" : "X\\(.*\\)$as_nl";
12687
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12689
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12691
export as_echo_n_body
12692
as_echo_n='sh -c $as_echo_n_body as_echo'
12694
export as_echo_body
12695
as_echo='sh -c $as_echo_body as_echo'
12698
# The user is always right.
12699
if test "${PATH_SEPARATOR+set}" != set; then
12701
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12702
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12709
# We need space, tab and new line, in precisely that order. Quoting is
12710
# there to prevent editors from complaining about space-tab.
12711
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12712
# splitting by setting IFS to empty value.)
12715
# Find who we are. Look in the path if we contain no directory separator.
12718
*[\\/]* ) as_myself=$0 ;;
12719
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12720
for as_dir in $PATH
12723
test -z "$as_dir" && as_dir=.
12724
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12730
# We did not find ourselves, most probably we were run as `sh COMMAND'
12731
# in which case we are not to be found in the path.
12732
if test "x$as_myself" = x; then
12735
if test ! -f "$as_myself"; then
12736
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12740
# Unset variables that we do not need and which cause bugs (e.g. in
12741
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12742
# suppresses any "Segmentation fault" message there. '((' could
12743
# trigger a bug in pdksh 5.2.14.
12744
for as_var in BASH_ENV ENV MAIL MAILPATH
12745
do eval test x\${$as_var+set} = xset \
12746
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12759
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12762
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
12763
@%:@ ----------------------------------------
12764
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12765
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12766
@%:@ script with STATUS, using 1 if that was 0.
12769
as_status=$1; test $as_status -eq 0 && as_status=1
12771
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12772
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12774
$as_echo "$as_me: error: $2" >&2
12775
as_fn_exit $as_status
12779
@%:@ as_fn_set_status STATUS
12780
@%:@ -----------------------
12781
@%:@ Set @S|@? to STATUS, without forking.
12782
as_fn_set_status ()
12785
} @%:@ as_fn_set_status
12787
@%:@ as_fn_exit STATUS
12788
@%:@ -----------------
12789
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12793
as_fn_set_status $1
12797
@%:@ as_fn_unset VAR
12798
@%:@ ---------------
12799
@%:@ Portably unset VAR.
12802
{ eval $1=; unset $1;}
12804
as_unset=as_fn_unset
12805
@%:@ as_fn_append VAR VALUE
12806
@%:@ ----------------------
12807
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
12808
@%:@ advantage of any shell optimizations that allow amortized linear growth over
12809
@%:@ repeated appends, instead of the typical quadratic growth present in naive
12810
@%:@ implementations.
12811
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12812
eval 'as_fn_append ()
12823
@%:@ as_fn_arith ARG...
12824
@%:@ ------------------
12825
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
12826
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
12827
@%:@ must be portable across @S|@(()) and expr.
12828
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12829
eval 'as_fn_arith ()
12836
as_val=`expr "$@" || test $? -eq 1`
12841
if expr a : '\(a\)' >/dev/null 2>&1 &&
12842
test "X`expr 00001 : '.*\(...\)'`" = X001; then
12848
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12849
as_basename=basename
12854
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12860
as_me=`$as_basename -- "$0" ||
12861
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12862
X"$0" : 'X\(//\)$' \| \
12863
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12865
sed '/^.*\/\([^/][^/]*\)\/*$/{
12879
# Avoid depending upon Character Ranges.
12880
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12881
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12882
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12883
as_cr_digits='0123456789'
12884
as_cr_alnum=$as_cr_Letters$as_cr_digits
12886
ECHO_C= ECHO_N= ECHO_T=
12887
case `echo -n x` in @%:@(((((
12889
case `echo 'xy\c'` in
12890
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
12892
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12899
rm -f conf$$ conf$$.exe conf$$.file
12900
if test -d conf$$.dir; then
12901
rm -f conf$$.dir/conf$$.file
12904
mkdir conf$$.dir 2>/dev/null
12906
if (echo >conf$$.file) 2>/dev/null; then
12907
if ln -s conf$$.file conf$$ 2>/dev/null; then
12909
# ... but there are two gotchas:
12910
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12911
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12912
# In both cases, we have to default to `cp -pR'.
12913
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12915
elif ln conf$$.file conf$$ 2>/dev/null; then
12923
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12924
rmdir conf$$.dir 2>/dev/null
12929
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
12934
-*) as_dir=./$as_dir;;
12936
test -d "$as_dir" || eval $as_mkdir_p || {
12940
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12941
*) as_qdir=$as_dir;;
12943
as_dirs="'$as_qdir' $as_dirs"
12944
as_dir=`$as_dirname -- "$as_dir" ||
12945
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12946
X"$as_dir" : 'X\(//\)[^/]' \| \
12947
X"$as_dir" : 'X\(//\)$' \| \
12948
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12949
$as_echo X"$as_dir" |
12950
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12954
/^X\(\/\/\)[^/].*/{
12967
test -d "$as_dir" && break
12969
test -z "$as_dirs" || eval "mkdir $as_dirs"
12970
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12973
} @%:@ as_fn_mkdir_p
12974
if mkdir -p . 2>/dev/null; then
12975
as_mkdir_p='mkdir -p "$as_dir"'
12977
test -d ./-p && rmdir ./-p
12982
@%:@ as_fn_executable_p FILE
12983
@%:@ -----------------------
12984
@%:@ Test if FILE is an executable regular file.
12985
as_fn_executable_p ()
12987
test -f "$1" && test -x "$1"
12988
} @%:@ as_fn_executable_p
12989
as_test_x='test -x'
12990
as_executable_p=as_fn_executable_p
12992
# Sed expression to map a string onto a valid CPP name.
12993
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12995
# Sed expression to map a string onto a valid variable name.
12996
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13000
## ----------------------------------- ##
13001
## Main body of $CONFIG_STATUS script. ##
13002
## ----------------------------------- ##
13004
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13006
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13007
# Save the log message, to keep $0 and so on meaningful, and to
13008
# report actual input values of CONFIG_FILES etc. instead of their
13009
# values after options handling.
13011
This file was extended by libwaveplot $as_me 1.0, which was
13012
generated by GNU Autoconf 2.69. Invocation command line was
13014
CONFIG_FILES = $CONFIG_FILES
13015
CONFIG_HEADERS = $CONFIG_HEADERS
13016
CONFIG_LINKS = $CONFIG_LINKS
13017
CONFIG_COMMANDS = $CONFIG_COMMANDS
13020
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13025
case $ac_config_files in *"
13026
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13031
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13032
# Files that config.status was made for.
13033
config_files="$ac_config_files"
13034
config_commands="$ac_config_commands"
13038
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13040
\`$as_me' instantiates files and other configuration actions
13041
from templates according to the current configuration. Unless the files
13042
and actions are specified as TAGs, all are instantiated by default.
13044
Usage: $0 [OPTION]... [TAG]...
13046
-h, --help print this help, then exit
13047
-V, --version print version number and configuration settings, then exit
13048
--config print configuration, then exit
13049
-q, --quiet, --silent
13050
do not print progress messages
13051
-d, --debug don't remove temporary files
13052
--recheck update $as_me by reconfiguring in the same conditions
13053
--file=FILE[:TEMPLATE]
13054
instantiate the configuration file FILE
13056
Configuration files:
13059
Configuration commands:
13062
Report bugs to <ben.sput@gmail.com>."
13065
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13066
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13068
libwaveplot config.status 1.0
13069
configured by $0, generated by GNU Autoconf 2.69,
13070
with options \\"\$ac_cs_config\\"
13072
Copyright (C) 2012 Free Software Foundation, Inc.
13073
This config.status script is free software; the Free Software Foundation
13074
gives unlimited permission to copy, distribute and modify it."
13081
test -n "\$AWK" || AWK=awk
13084
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13085
# The default lists apply if the user does not specify any file.
13091
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13092
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13096
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13108
# Handling of the options.
13109
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13111
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13112
$as_echo "$ac_cs_version"; exit ;;
13113
--config | --confi | --conf | --con | --co | --c )
13114
$as_echo "$ac_cs_config"; exit ;;
13115
--debug | --debu | --deb | --de | --d | -d )
13117
--file | --fil | --fi | --f )
13120
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13121
'') as_fn_error $? "missing file argument" ;;
13123
as_fn_append CONFIG_FILES " '$ac_optarg'"
13124
ac_need_defaults=false;;
13125
--he | --h | --help | --hel | -h )
13126
$as_echo "$ac_cs_usage"; exit ;;
13127
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13128
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13131
# This is an error.
13132
-*) as_fn_error $? "unrecognized option: \`$1'
13133
Try \`$0 --help' for more information." ;;
13135
*) as_fn_append ac_config_targets " $1"
13136
ac_need_defaults=false ;;
13142
ac_configure_extra_args=
13144
if $ac_cs_silent; then
13146
ac_configure_extra_args="$ac_configure_extra_args --silent"
13150
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13151
if \$ac_cs_recheck; then
13152
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13154
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13155
CONFIG_SHELL='$SHELL'
13156
export CONFIG_SHELL
13161
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13165
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
13166
@%:@@%:@ Running $as_me. @%:@@%:@
13172
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13176
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13179
# The HP-UX ksh and POSIX shell print the target directory to stdout
13180
# if CDPATH is set.
13181
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13183
sed_quote_subst='$sed_quote_subst'
13184
double_quote_subst='$double_quote_subst'
13185
delay_variable_subst='$delay_variable_subst'
13186
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13187
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13188
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13189
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13190
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13191
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13192
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13193
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13194
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13195
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13196
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13197
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13198
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13199
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13200
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13201
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13202
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13203
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13204
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13205
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13206
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13207
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13208
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13209
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13210
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13211
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13212
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13213
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13214
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13215
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13216
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13217
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13218
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13219
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13220
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13221
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13222
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13223
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13224
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13225
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13226
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13227
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13228
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13229
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13230
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13231
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13232
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13233
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13234
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13235
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13236
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13237
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13238
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13239
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13240
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13241
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13242
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13243
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13244
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13245
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13246
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13247
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13248
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13249
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13250
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13251
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13252
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13253
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13254
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13255
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13256
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13257
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13258
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13259
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13260
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13261
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13262
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13263
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13264
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13265
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13266
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13267
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13268
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13269
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13270
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13271
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13272
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13273
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13274
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13275
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13276
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13277
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13278
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13279
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13280
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13281
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13282
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13283
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13284
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13285
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13286
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13287
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13288
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13289
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13290
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13291
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13292
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13293
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13294
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13295
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13296
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13297
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13298
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13299
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13300
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13301
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13302
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13303
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13304
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13305
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13306
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13307
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13308
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13309
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13310
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13311
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13312
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13313
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13314
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13315
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13318
LTCFLAGS='$LTCFLAGS'
13319
compiler='$compiler_DEFAULT'
13321
# A function that is used when there is no print builtin or printf.
13322
func_fallback_echo ()
13324
eval 'cat <<_LTECHO_EOF
13329
# Quote evaled strings.
13344
deplibs_check_method \
13349
sharedlib_from_linklib_cmd \
13352
archiver_list_spec \
13358
lt_cv_sys_global_symbol_pipe \
13359
lt_cv_sys_global_symbol_to_cdecl \
13360
lt_cv_sys_global_symbol_to_c_name_address \
13361
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13362
nm_file_list_spec \
13363
lt_prog_compiler_no_builtin_flag \
13364
lt_prog_compiler_pic \
13365
lt_prog_compiler_wl \
13366
lt_prog_compiler_static \
13367
lt_cv_prog_compiler_c_o \
13376
export_dynamic_flag_spec \
13377
whole_archive_flag_spec \
13378
compiler_needs_object \
13380
allow_undefined_flag \
13381
no_undefined_flag \
13382
hardcode_libdir_flag_spec \
13383
hardcode_libdir_separator \
13387
variables_saved_for_relink \
13389
library_names_spec \
13391
install_override_mode \
13395
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13396
*[\\\\\\\`\\"\\\$]*)
13397
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13400
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13405
# Double-quote double-evaled strings.
13406
for var in reload_cmds \
13407
old_postinstall_cmds \
13408
old_postuninstall_cmds \
13410
extract_expsyms_cmds \
13411
old_archive_from_new_cmds \
13412
old_archive_from_expsyms_cmds \
13414
archive_expsym_cmds \
13416
module_expsym_cmds \
13417
export_symbols_cmds \
13421
postuninstall_cmds \
13423
sys_lib_search_path_spec \
13424
sys_lib_dlsearch_path_spec; do
13425
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13426
*[\\\\\\\`\\"\\\$]*)
13427
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13430
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13435
ac_aux_dir='$ac_aux_dir'
13436
xsi_shell='$xsi_shell'
13437
lt_shell_append='$lt_shell_append'
13439
# See if we are running on zsh, and set the options which allow our
13440
# commands through without removal of \ escapes INIT.
13441
if test -n "\${ZSH_VERSION+set}" ; then
13442
setopt NO_GLOB_SUBST
13448
TIMESTAMP='$TIMESTAMP'
13457
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13459
# Handling of arguments.
13460
for ac_config_target in $ac_config_targets
13462
case $ac_config_target in
13463
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13464
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13465
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13466
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13468
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13473
# If the user did not use the arguments to specify the items to instantiate,
13474
# then the envvar interface is used. Set only those that are not.
13475
# We use the long form for the default assignment because of an extremely
13476
# bizarre bug on SunOS 4.1.3.
13477
if $ac_need_defaults; then
13478
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13479
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13482
# Have a temporary directory for convenience. Make it in the build tree
13483
# simply because there is no reason against having it here, and in addition,
13484
# creating and moving files from /tmp can sometimes cause problems.
13485
# Hook for its removal unless debugging.
13486
# Note that there is a small window in which the directory will not be cleaned:
13487
# after its creation but before its name has been assigned to `$tmp'.
13491
trap 'exit_status=$?
13492
: "${ac_tmp:=$tmp}"
13493
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13495
trap 'as_fn_exit 1' 1 2 13 15
13497
# Create a (secure) tmp directory for tmp files.
13500
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13504
tmp=./conf$$-$RANDOM
13505
(umask 077 && mkdir "$tmp")
13506
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13509
# Set up the scripts for CONFIG_FILES section.
13510
# No need to generate them if there are no CONFIG_FILES.
13511
# This happens for instance with `./config.status config.h'.
13512
if test -n "$CONFIG_FILES"; then
13515
ac_cr=`echo X | tr X '\015'`
13516
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13517
# But we know of no other shell where ac_cr would be empty at this
13518
# point, so we can use a bashism as a fallback.
13519
if test "x$ac_cr" = x; then
13520
eval ac_cr=\$\'\\r\'
13522
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13523
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13526
ac_cs_awk_cr=$ac_cr
13529
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13534
echo "cat >conf$$subs.awk <<_ACEOF" &&
13535
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13537
} >conf$$subs.sh ||
13538
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13539
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13541
for ac_last_try in false false false false false :; do
13542
. ./conf$$subs.sh ||
13543
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13545
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13546
if test $ac_delim_n = $ac_delim_num; then
13548
elif $ac_last_try; then
13549
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13551
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13554
rm -f conf$$subs.sh
13556
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13557
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13561
s/^/S["/; s/!.*/"]=/
13571
s/\(.\{148\}\)..*/\1/
13573
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13578
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13585
s/\(.\{148\}\)..*/\1/
13587
s/["\\]/\\&/g; s/^/"/; s/$/"/
13591
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13596
' <conf$$subs.awk | sed '
13601
' >>$CONFIG_STATUS || ac_write_fail=1
13602
rm -f conf$$subs.awk
13603
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13605
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13606
for (key in S) S_is_set[key] = 1
13612
nfields = split(line, field, "@")
13614
len = length(field[1])
13615
for (i = 2; i < nfields; i++) {
13617
keylen = length(key)
13618
if (S_is_set[key]) {
13620
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13621
len += length(value) + length(field[++i])
13632
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13633
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13634
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13637
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13638
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13641
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13642
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13643
# trailing colons and then remove the whole line if VPATH becomes empty
13644
# (actually we leave an empty line to preserve line numbers).
13645
if test "x$srcdir" = x.; then
13646
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13664
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13665
fi # test -n "$CONFIG_FILES"
13668
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
13673
:[FHLC]) ac_mode=$ac_tag; continue;;
13675
case $ac_mode$ac_tag in
13677
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13678
:[FH]-) ac_tag=-:-;;
13679
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13696
-) ac_f="$ac_tmp/stdin";;
13697
*) # Look for the file first in the build tree, then in the source tree
13698
# (if the path is not absolute). The absolute path cannot be DOS-style,
13699
# because $ac_f cannot contain `:'.
13703
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13705
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13707
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13708
as_fn_append ac_file_inputs " '$ac_f'"
13711
# Let's still pretend it is `configure' which instantiates (i.e., don't
13712
# use $as_me), people would be surprised to read:
13713
# /* config.h. Generated by config.status. */
13714
configure_input='Generated from '`
13715
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13717
if test x"$ac_file" != x-; then
13718
configure_input="$ac_file. $configure_input"
13719
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13720
$as_echo "$as_me: creating $ac_file" >&6;}
13722
# Neutralize special characters interpreted by sed in replacement strings.
13723
case $configure_input in #(
13724
*\&* | *\|* | *\\* )
13725
ac_sed_conf_input=`$as_echo "$configure_input" |
13726
sed 's/[\\\\&|]/\\\\&/g'`;; #(
13727
*) ac_sed_conf_input=$configure_input;;
13731
*:-:* | *:-) cat >"$ac_tmp/stdin" \
13732
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13737
ac_dir=`$as_dirname -- "$ac_file" ||
13738
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13739
X"$ac_file" : 'X\(//\)[^/]' \| \
13740
X"$ac_file" : 'X\(//\)$' \| \
13741
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13742
$as_echo X"$ac_file" |
13743
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13747
/^X\(\/\/\)[^/].*/{
13760
as_dir="$ac_dir"; as_fn_mkdir_p
13764
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13766
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13767
# A ".." for each directory in $ac_dir_suffix.
13768
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13769
case $ac_top_builddir_sub in
13770
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13771
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13774
ac_abs_top_builddir=$ac_pwd
13775
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13776
# for backward compatibility:
13777
ac_top_builddir=$ac_top_build_prefix
13780
.) # We are building in place.
13782
ac_top_srcdir=$ac_top_builddir_sub
13783
ac_abs_top_srcdir=$ac_pwd ;;
13784
[\\/]* | ?:[\\/]* ) # Absolute name.
13785
ac_srcdir=$srcdir$ac_dir_suffix;
13786
ac_top_srcdir=$srcdir
13787
ac_abs_top_srcdir=$srcdir ;;
13788
*) # Relative name.
13789
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13790
ac_top_srcdir=$ac_top_build_prefix$srcdir
13791
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13793
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13803
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13804
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13806
ac_MKDIR_P=$MKDIR_P
13808
[\\/$]* | ?:[\\/]* ) ;;
13809
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13813
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13814
# If the template does not know about datarootdir, expand it.
13815
# FIXME: This hack should be removed a few years after 2.60.
13816
ac_datarootdir_hack=; ac_datarootdir_seen=
13827
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13828
*datarootdir*) ac_datarootdir_seen=yes;;
13829
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13830
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13831
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13833
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13834
ac_datarootdir_hack='
13835
s&@datadir@&$datadir&g
13836
s&@docdir@&$docdir&g
13837
s&@infodir@&$infodir&g
13838
s&@localedir@&$localedir&g
13839
s&@mandir@&$mandir&g
13840
s&\\\${datarootdir}&$datarootdir&g' ;;
13844
# Neutralize VPATH when `$srcdir' = `.'.
13845
# Shell code in configure.ac might set extrasub.
13846
# FIXME: do we really want to maintain this feature?
13847
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13848
ac_sed_extra="$ac_vpsub
13851
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13853
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13854
s|@configure_input@|$ac_sed_conf_input|;t t
13855
s&@top_builddir@&$ac_top_builddir_sub&;t t
13856
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13857
s&@srcdir@&$ac_srcdir&;t t
13858
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13859
s&@top_srcdir@&$ac_top_srcdir&;t t
13860
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13861
s&@builddir@&$ac_builddir&;t t
13862
s&@abs_builddir@&$ac_abs_builddir&;t t
13863
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13864
s&@INSTALL@&$ac_INSTALL&;t t
13865
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13866
$ac_datarootdir_hack
13868
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13869
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13871
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13872
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13873
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13874
"$ac_tmp/out"`; test -z "$ac_out"; } &&
13875
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13876
which seems to be undefined. Please make sure it is defined" >&5
13877
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13878
which seems to be undefined. Please make sure it is defined" >&2;}
13880
rm -f "$ac_tmp/stdin"
13882
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13883
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13885
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13889
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13890
$as_echo "$as_me: executing $ac_file commands" >&6;}
13895
case $ac_file$ac_mode in
13896
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13897
# Older Autoconf quotes --file arguments for eval, but not when files
13898
# are listed without --file. Let's play safe and only enable the eval
13899
# if we detect the quoting.
13900
case $CONFIG_FILES in
13901
*\'*) eval set x "$CONFIG_FILES" ;;
13902
*) set x $CONFIG_FILES ;;
13907
# Strip MF so we end up with the name of the file.
13908
mf=`echo "$mf" | sed -e 's/:.*$//'`
13909
# Check whether this is an Automake generated Makefile or not.
13910
# We used to match only the files named 'Makefile.in', but
13911
# some people rename them; so instead we look at the file content.
13912
# Grep'ing the first line is not enough: some people post-process
13913
# each Makefile.in and add a new line on top of each file to say so.
13914
# Grep'ing the whole file is not good either: AIX grep has a line
13915
# limit of 2048, but all sed's we know have understand at least 4000.
13916
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13917
dirpart=`$as_dirname -- "$mf" ||
13918
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13919
X"$mf" : 'X\(//\)[^/]' \| \
13920
X"$mf" : 'X\(//\)$' \| \
13921
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13923
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13927
/^X\(\/\/\)[^/].*/{
13943
# Extract the definition of DEPDIR, am__include, and am__quote
13944
# from the Makefile without running 'make'.
13945
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13946
test -z "$DEPDIR" && continue
13947
am__include=`sed -n 's/^am__include = //p' < "$mf"`
13948
test -z "$am__include" && continue
13949
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13950
# Find all dependency output files, they are included files with
13951
# $(DEPDIR) in their names. We invoke sed twice because it is the
13952
# simplest approach to changing $(DEPDIR) to its actual value in the
13954
for file in `sed -n "
13955
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13956
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13957
# Make sure the directory exists.
13958
test -f "$dirpart/$file" && continue
13959
fdir=`$as_dirname -- "$file" ||
13960
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13961
X"$file" : 'X\(//\)[^/]' \| \
13962
X"$file" : 'X\(//\)$' \| \
13963
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13964
$as_echo X"$file" |
13965
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13969
/^X\(\/\/\)[^/].*/{
13982
as_dir=$dirpart/$fdir; as_fn_mkdir_p
13983
# echo "creating $dirpart/$file"
13984
echo '# dummy' > "$dirpart/$file"
13991
# See if we are running on zsh, and set the options which allow our
13992
# commands through without removal of \ escapes.
13993
if test -n "${ZSH_VERSION+set}" ; then
13994
setopt NO_GLOB_SUBST
13997
cfgfile="${ofile}T"
13998
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14001
cat <<_LT_EOF >> "$cfgfile"
14004
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14005
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14006
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14007
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14009
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14010
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14012
# Written by Gordon Matzigkeit, 1996
14014
# This file is part of GNU Libtool.
14016
# GNU Libtool is free software; you can redistribute it and/or
14017
# modify it under the terms of the GNU General Public License as
14018
# published by the Free Software Foundation; either version 2 of
14019
# the License, or (at your option) any later version.
14021
# As a special exception to the GNU General Public License,
14022
# if you distribute this file as part of a program or library that
14023
# is built using GNU Libtool, you may include this file under the
14024
# same distribution terms that you use for the rest of that program.
14026
# GNU Libtool is distributed in the hope that it will be useful,
14027
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14028
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14029
# GNU General Public License for more details.
14031
# You should have received a copy of the GNU General Public License
14032
# along with GNU Libtool; see the file COPYING. If not, a copy
14033
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14034
# obtained by writing to the Free Software Foundation, Inc.,
14035
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14038
# The names of the tagged configurations supported by this script.
14041
# ### BEGIN LIBTOOL CONFIG
14043
# Which release of libtool.m4 was used?
14044
macro_version=$macro_version
14045
macro_revision=$macro_revision
14047
# Whether or not to build shared libraries.
14048
build_libtool_libs=$enable_shared
14050
# Whether or not to build static libraries.
14051
build_old_libs=$enable_static
14053
# What type of objects to build.
14056
# Whether or not to optimize for fast installation.
14057
fast_install=$enable_fast_install
14059
# Shell to use when invoking shell scripts.
14062
# An echo program that protects backslashes.
14065
# The PATH separator for the build system.
14066
PATH_SEPARATOR=$lt_PATH_SEPARATOR
14069
host_alias=$host_alias
14073
# The build system.
14074
build_alias=$build_alias
14078
# A sed program that does not truncate output.
14081
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14082
Xsed="\$SED -e 1s/^X//"
14084
# A grep program that handles long lines.
14090
# A literal string matcher.
14093
# A BSD- or MS-compatible name lister.
14096
# Whether we need soft or hard links.
14099
# What is the maximum length of a command?
14100
max_cmd_len=$max_cmd_len
14102
# Object file suffix (normally "o").
14105
# Executable file suffix (normally "").
14108
# whether the shell understands "unset".
14111
# turn spaces into newlines.
14114
# turn newlines into spaces.
14117
# convert \$build file names to \$host format.
14118
to_host_file_cmd=$lt_cv_to_host_file_cmd
14120
# convert \$build files to toolchain format.
14121
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14123
# An object symbol dumper.
14124
OBJDUMP=$lt_OBJDUMP
14126
# Method to check whether dependent libraries are shared objects.
14127
deplibs_check_method=$lt_deplibs_check_method
14129
# Command to use when deplibs_check_method = "file_magic".
14130
file_magic_cmd=$lt_file_magic_cmd
14132
# How to find potential files when deplibs_check_method = "file_magic".
14133
file_magic_glob=$lt_file_magic_glob
14135
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14136
want_nocaseglob=$lt_want_nocaseglob
14138
# DLL creation program.
14139
DLLTOOL=$lt_DLLTOOL
14141
# Command to associate shared and link libraries.
14142
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14147
# Flags to create an archive.
14148
AR_FLAGS=$lt_AR_FLAGS
14150
# How to feed a file listing to the archiver.
14151
archiver_list_spec=$lt_archiver_list_spec
14153
# A symbol stripping program.
14156
# Commands used to install an old-style archive.
14158
old_postinstall_cmds=$lt_old_postinstall_cmds
14159
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14161
# Whether to use a lock for old archive extraction.
14162
lock_old_archive_extraction=$lock_old_archive_extraction
14167
# LTCC compiler flags.
14168
LTCFLAGS=$lt_CFLAGS
14170
# Take the output of nm and produce a listing of raw symbols and C names.
14171
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14173
# Transform the output of nm in a proper C declaration.
14174
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14176
# Transform the output of nm in a C name address pair.
14177
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14179
# Transform the output of nm in a C name address pair when lib prefix is needed.
14180
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14182
# Specify filename containing input files for \$NM.
14183
nm_file_list_spec=$lt_nm_file_list_spec
14185
# The root where to search for dependent libraries,and in which our libraries should be installed.
14186
lt_sysroot=$lt_sysroot
14188
# The name of the directory that contains temporary libtool files.
14191
# Used to examine libraries when file_magic_cmd begins with "file".
14192
MAGIC_CMD=$MAGIC_CMD
14194
# Must we lock files when doing compilation?
14195
need_locks=$lt_need_locks
14198
MANIFEST_TOOL=$lt_MANIFEST_TOOL
14200
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14201
DSYMUTIL=$lt_DSYMUTIL
14203
# Tool to change global to local symbols on Mac OS X.
14206
# Tool to manipulate fat objects and archives on Mac OS X.
14209
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14212
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14213
OTOOL64=$lt_OTOOL64
14215
# Old archive suffix (normally "a").
14218
# Shared library suffix (normally ".so").
14219
shrext_cmds=$lt_shrext_cmds
14221
# The commands to extract the exported symbol list from a shared archive.
14222
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14224
# Variables whose values should be saved in libtool wrapper scripts and
14225
# restored at link time.
14226
variables_saved_for_relink=$lt_variables_saved_for_relink
14228
# Do we need the "lib" prefix for modules?
14229
need_lib_prefix=$need_lib_prefix
14231
# Do we need a version for libraries?
14232
need_version=$need_version
14234
# Library versioning type.
14235
version_type=$version_type
14237
# Shared library runtime path variable.
14238
runpath_var=$runpath_var
14240
# Shared library path variable.
14241
shlibpath_var=$shlibpath_var
14243
# Is shlibpath searched before the hard-coded library search path?
14244
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14246
# Format of library name prefix.
14247
libname_spec=$lt_libname_spec
14249
# List of archive names. First name is the real one, the rest are links.
14250
# The last name is the one that the linker finds with -lNAME
14251
library_names_spec=$lt_library_names_spec
14253
# The coded name of the library, if different from the real name.
14254
soname_spec=$lt_soname_spec
14256
# Permission mode override for installation of shared libraries.
14257
install_override_mode=$lt_install_override_mode
14259
# Command to use after installation of a shared archive.
14260
postinstall_cmds=$lt_postinstall_cmds
14262
# Command to use after uninstallation of a shared archive.
14263
postuninstall_cmds=$lt_postuninstall_cmds
14265
# Commands used to finish a libtool library installation in a directory.
14266
finish_cmds=$lt_finish_cmds
14268
# As "finish_cmds", except a single script fragment to be evaled but
14270
finish_eval=$lt_finish_eval
14272
# Whether we should hardcode library paths into libraries.
14273
hardcode_into_libs=$hardcode_into_libs
14275
# Compile-time system search path for libraries.
14276
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14278
# Run-time system search path for libraries.
14279
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14281
# Whether dlopen is supported.
14282
dlopen_support=$enable_dlopen
14284
# Whether dlopen of programs is supported.
14285
dlopen_self=$enable_dlopen_self
14287
# Whether dlopen of statically linked programs is supported.
14288
dlopen_self_static=$enable_dlopen_self_static
14290
# Commands to strip libraries.
14291
old_striplib=$lt_old_striplib
14292
striplib=$lt_striplib
14295
# The linker used to build libraries.
14298
# How to create reloadable object files.
14299
reload_flag=$lt_reload_flag
14300
reload_cmds=$lt_reload_cmds
14302
# Commands used to build an old-style archive.
14303
old_archive_cmds=$lt_old_archive_cmds
14305
# A language specific compiler.
14308
# Is the compiler the GNU compiler?
14311
# Compiler flag to turn off builtin functions.
14312
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14314
# Additional compiler flags for building library objects.
14315
pic_flag=$lt_lt_prog_compiler_pic
14317
# How to pass a linker flag through the compiler.
14318
wl=$lt_lt_prog_compiler_wl
14320
# Compiler flag to prevent dynamic linking.
14321
link_static_flag=$lt_lt_prog_compiler_static
14323
# Does compiler simultaneously support -c and -o options?
14324
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14326
# Whether or not to add -lc for building shared libraries.
14327
build_libtool_need_lc=$archive_cmds_need_lc
14329
# Whether or not to disallow shared libs when runtime libs are static.
14330
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14332
# Compiler flag to allow reflexive dlopens.
14333
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14335
# Compiler flag to generate shared objects directly from archives.
14336
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14338
# Whether the compiler copes with passing no objects directly.
14339
compiler_needs_object=$lt_compiler_needs_object
14341
# Create an old-style archive from a shared archive.
14342
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14344
# Create a temporary old-style archive to link instead of a shared archive.
14345
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14347
# Commands used to build a shared archive.
14348
archive_cmds=$lt_archive_cmds
14349
archive_expsym_cmds=$lt_archive_expsym_cmds
14351
# Commands used to build a loadable module if different from building
14352
# a shared archive.
14353
module_cmds=$lt_module_cmds
14354
module_expsym_cmds=$lt_module_expsym_cmds
14356
# Whether we are building with GNU ld or not.
14357
with_gnu_ld=$lt_with_gnu_ld
14359
# Flag that allows shared libraries with undefined symbols to be built.
14360
allow_undefined_flag=$lt_allow_undefined_flag
14362
# Flag that enforces no undefined symbols.
14363
no_undefined_flag=$lt_no_undefined_flag
14365
# Flag to hardcode \$libdir into a binary during linking.
14366
# This must work even if \$libdir does not exist
14367
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14369
# Whether we need a single "-rpath" flag with a separated argument.
14370
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14372
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14373
# DIR into the resulting binary.
14374
hardcode_direct=$hardcode_direct
14376
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14377
# DIR into the resulting binary and the resulting library dependency is
14378
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14379
# library is relocated.
14380
hardcode_direct_absolute=$hardcode_direct_absolute
14382
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14383
# into the resulting binary.
14384
hardcode_minus_L=$hardcode_minus_L
14386
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14387
# into the resulting binary.
14388
hardcode_shlibpath_var=$hardcode_shlibpath_var
14390
# Set to "yes" if building a shared library automatically hardcodes DIR
14391
# into the library and all subsequent libraries and executables linked
14393
hardcode_automatic=$hardcode_automatic
14395
# Set to yes if linker adds runtime paths of dependent libraries
14396
# to runtime path list.
14397
inherit_rpath=$inherit_rpath
14399
# Whether libtool must link a program against all its dependency libraries.
14400
link_all_deplibs=$link_all_deplibs
14402
# Set to "yes" if exported symbols are required.
14403
always_export_symbols=$always_export_symbols
14405
# The commands to list exported symbols.
14406
export_symbols_cmds=$lt_export_symbols_cmds
14408
# Symbols that should not be listed in the preloaded symbols.
14409
exclude_expsyms=$lt_exclude_expsyms
14411
# Symbols that must always be exported.
14412
include_expsyms=$lt_include_expsyms
14414
# Commands necessary for linking programs (against libraries) with templates.
14415
prelink_cmds=$lt_prelink_cmds
14417
# Commands necessary for finishing linking programs.
14418
postlink_cmds=$lt_postlink_cmds
14420
# Specify filename containing input files.
14421
file_list_spec=$lt_file_list_spec
14423
# How to hardcode a shared library path into an executable.
14424
hardcode_action=$hardcode_action
14426
# ### END LIBTOOL CONFIG
14432
cat <<\_LT_EOF >> "$cfgfile"
14433
# AIX sometimes has problems with the GCC collect2 program. For some
14434
# reason, if we set the COLLECT_NAMES environment variable, the problems
14435
# vanish in a puff of smoke.
14436
if test "X${COLLECT_NAMES+set}" != Xset; then
14438
export COLLECT_NAMES
14445
ltmain="$ac_aux_dir/ltmain.sh"
14448
# We use sed instead of cat because bash on DJGPP gets confused if
14449
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14450
# text mode, it properly converts lines to CR/LF. This bash problem
14451
# is reportedly fixed, but why not run on old versions too?
14452
sed '$q' "$ltmain" >> "$cfgfile" \
14453
|| (rm -f "$cfgfile"; exit 1)
14455
if test x"$xsi_shell" = xyes; then
14456
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14460
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14461
\ * ) func_dirname_result="${3}" ;;\
14463
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14464
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14465
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14466
test 0 -eq $? || _lt_function_replace_fail=:
14469
sed -e '/^func_basename ()$/,/^} # func_basename /c\
14472
\ func_basename_result="${1##*/}"\
14473
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14474
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14475
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14476
test 0 -eq $? || _lt_function_replace_fail=:
14479
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14480
func_dirname_and_basename ()\
14483
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14484
\ * ) func_dirname_result="${3}" ;;\
14486
\ func_basename_result="${1##*/}"\
14487
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14488
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14489
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14490
test 0 -eq $? || _lt_function_replace_fail=:
14493
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14496
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14497
\ # positional parameters, so assign one to ordinary parameter first.\
14498
\ func_stripname_result=${3}\
14499
\ func_stripname_result=${func_stripname_result#"${1}"}\
14500
\ func_stripname_result=${func_stripname_result%"${2}"}\
14501
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14502
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14503
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14504
test 0 -eq $? || _lt_function_replace_fail=:
14507
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14508
func_split_long_opt ()\
14510
\ func_split_long_opt_name=${1%%=*}\
14511
\ func_split_long_opt_arg=${1#*=}\
14512
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14513
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14514
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14515
test 0 -eq $? || _lt_function_replace_fail=:
14518
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14519
func_split_short_opt ()\
14521
\ func_split_short_opt_arg=${1#??}\
14522
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14523
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14524
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14525
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14526
test 0 -eq $? || _lt_function_replace_fail=:
14529
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14533
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14534
\ *) func_lo2o_result=${1} ;;\
14536
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14537
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14538
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14539
test 0 -eq $? || _lt_function_replace_fail=:
14542
sed -e '/^func_xform ()$/,/^} # func_xform /c\
14545
func_xform_result=${1%.*}.lo\
14546
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14547
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14548
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14549
test 0 -eq $? || _lt_function_replace_fail=:
14552
sed -e '/^func_arith ()$/,/^} # func_arith /c\
14555
func_arith_result=$(( $* ))\
14556
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14557
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14558
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14559
test 0 -eq $? || _lt_function_replace_fail=:
14562
sed -e '/^func_len ()$/,/^} # func_len /c\
14565
func_len_result=${#1}\
14566
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14567
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14568
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14569
test 0 -eq $? || _lt_function_replace_fail=:
14573
if test x"$lt_shell_append" = xyes; then
14574
sed -e '/^func_append ()$/,/^} # func_append /c\
14577
eval "${1}+=\\${2}"\
14578
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14579
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14580
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14581
test 0 -eq $? || _lt_function_replace_fail=:
14584
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14585
func_append_quoted ()\
14587
\ func_quote_for_eval "${2}"\
14588
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14589
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14590
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14591
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14592
test 0 -eq $? || _lt_function_replace_fail=:
14595
# Save a `func_append' function call where possible by direct use of '+='
14596
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14597
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14598
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14599
test 0 -eq $? || _lt_function_replace_fail=:
14601
# Save a `func_append' function call even when '+=' is not available
14602
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14603
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14604
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14605
test 0 -eq $? || _lt_function_replace_fail=:
14608
if test x"$_lt_function_replace_fail" = x":"; then
14609
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14610
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14614
mv -f "$cfgfile" "$ofile" ||
14615
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14626
ac_clean_files=$ac_clean_files_save
14628
test $ac_write_fail = 0 ||
14629
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14632
# configure is writing to config.log, and then calls config.status.
14633
# config.status does its own redirection, appending to config.log.
14634
# Unfortunately, on DOS this fails, as config.log is still kept open
14635
# by configure, so config.status won't be able to write to it; its
14636
# output is simply discarded. So we exec the FD to /dev/null,
14637
# effectively closing config.log, so it can be properly (re)opened and
14638
# appended to by config.status. When coming back to configure, we
14639
# need to make the FD available again.
14640
if test "$no_create" != yes; then
14642
ac_config_status_args=
14643
test "$silent" = yes &&
14644
ac_config_status_args="$ac_config_status_args --quiet"
14646
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14648
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
14649
# would make configure fail if this is the last instruction.
14650
$ac_cs_success || as_fn_exit 1
14652
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14653
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14654
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}