2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for libee 0.1.0.
5
# Report bugs to <rgerhards@adiscon.com>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: rgerhards@adiscon.com about your system, including any
235
$0: error possibly output before this message. Then install
236
$0: a modern shell, or manually run the script under such a
237
$0: shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
chmod +x "$as_me.lineno" ||
445
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
# Don't try to exec as it changes $[0], causing all sort of problems
448
# (the dirname of $[0] is not the place where we might find the
449
# original and so on. Autoconf is especially sensitive to this).
451
# Exit status is that of the last command.
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in #(((((
458
case `echo 'xy\c'` in
459
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
461
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
rm -f conf$$.dir/conf$$.file
473
mkdir conf$$.dir 2>/dev/null
475
if (echo >conf$$.file) 2>/dev/null; then
476
if ln -s conf$$.file conf$$ 2>/dev/null; then
478
# ... but there are two gotchas:
479
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
482
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
elif ln conf$$.file conf$$ 2>/dev/null; then
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
495
if mkdir -p . 2>/dev/null; then
496
as_mkdir_p='mkdir -p "$as_dir"'
498
test -d ./-p && rmdir ./-p
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
test -n "$DJDIR" || exec 7<&0 </dev/null
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686
# so uname gets run too.
687
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692
ac_default_prefix=/usr/local
694
ac_config_libobj_dir=.
701
# Identity of this package.
703
PACKAGE_TARNAME='libee'
704
PACKAGE_VERSION='0.1.0'
705
PACKAGE_STRING='libee 0.1.0'
706
PACKAGE_BUGREPORT='rgerhards@adiscon.com'
709
ac_unique_file="src/ctx.c"
710
# Factoring default headers for most tests.
711
ac_includes_default="\
713
#ifdef HAVE_SYS_TYPES_H
714
# include <sys/types.h>
716
#ifdef HAVE_SYS_STAT_H
717
# include <sys/stat.h>
723
# ifdef HAVE_STDLIB_H
728
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733
#ifdef HAVE_STRINGS_H
734
# include <strings.h>
736
#ifdef HAVE_INTTYPES_H
737
# include <inttypes.h>
746
ac_subst_vars='am__EXEEXT_FALSE
751
ENABLE_TESTBENCH_FALSE
752
ENABLE_TESTBENCH_TRUE
817
INSTALL_STRIP_PROGRAM
859
program_transform_name
872
enable_option_checking
874
enable_dependency_tracking
884
ac_precious_vars='build_alias
898
# Initialize some variables set by options.
900
ac_init_version=false
901
ac_unrecognized_opts=
903
# The variables have the same names as the options, with
904
# dashes changed to underlines.
912
program_transform_name=s,x,x,
920
# Installation directory options.
921
# These are left unexpanded so users can "make install exec_prefix=/foo"
922
# and all the variables that are supposed to be based on exec_prefix
923
# by default will actually change.
924
# Use braces instead of parens because sh, perl, etc. also accept them.
925
# (The list follows the same order as the GNU Coding Standards.)
926
bindir='${exec_prefix}/bin'
927
sbindir='${exec_prefix}/sbin'
928
libexecdir='${exec_prefix}/libexec'
929
datarootdir='${prefix}/share'
930
datadir='${datarootdir}'
931
sysconfdir='${prefix}/etc'
932
sharedstatedir='${prefix}/com'
933
localstatedir='${prefix}/var'
934
includedir='${prefix}/include'
935
oldincludedir='/usr/include'
936
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
937
infodir='${datarootdir}/info'
942
libdir='${exec_prefix}/lib'
943
localedir='${datarootdir}/locale'
944
mandir='${datarootdir}/man'
950
# If the previous option needs an argument, assign it.
951
if test -n "$ac_prev"; then
952
eval $ac_prev=\$ac_option
958
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962
# Accept the important Cygnus configure options, so we can diagnose typos.
964
case $ac_dashdash$ac_option in
968
-bindir | --bindir | --bindi | --bind | --bin | --bi)
970
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
973
-build | --build | --buil | --bui | --bu)
974
ac_prev=build_alias ;;
975
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
976
build_alias=$ac_optarg ;;
978
-cache-file | --cache-file | --cache-fil | --cache-fi \
979
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
980
ac_prev=cache_file ;;
981
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
982
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
983
cache_file=$ac_optarg ;;
986
cache_file=config.cache ;;
988
-datadir | --datadir | --datadi | --datad)
990
-datadir=* | --datadir=* | --datadi=* | --datad=*)
991
datadir=$ac_optarg ;;
993
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
994
| --dataroo | --dataro | --datar)
995
ac_prev=datarootdir ;;
996
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
997
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
998
datarootdir=$ac_optarg ;;
1000
-disable-* | --disable-*)
1001
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002
# Reject names that are not valid shell variable names.
1003
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004
as_fn_error "invalid feature name: $ac_useropt"
1005
ac_useropt_orig=$ac_useropt
1006
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007
case $ac_user_opts in
1009
"enable_$ac_useropt"
1011
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1012
ac_unrecognized_sep=', ';;
1014
eval enable_$ac_useropt=no ;;
1016
-docdir | --docdir | --docdi | --doc | --do)
1018
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1019
docdir=$ac_optarg ;;
1021
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1023
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1024
dvidir=$ac_optarg ;;
1026
-enable-* | --enable-*)
1027
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1028
# Reject names that are not valid shell variable names.
1029
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030
as_fn_error "invalid feature name: $ac_useropt"
1031
ac_useropt_orig=$ac_useropt
1032
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033
case $ac_user_opts in
1035
"enable_$ac_useropt"
1037
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1038
ac_unrecognized_sep=', ';;
1040
eval enable_$ac_useropt=\$ac_optarg ;;
1042
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1043
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1044
| --exec | --exe | --ex)
1045
ac_prev=exec_prefix ;;
1046
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1047
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1048
| --exec=* | --exe=* | --ex=*)
1049
exec_prefix=$ac_optarg ;;
1051
-gas | --gas | --ga | --g)
1052
# Obsolete; use --with-gas.
1055
-help | --help | --hel | --he | -h)
1056
ac_init_help=long ;;
1057
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1058
ac_init_help=recursive ;;
1059
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1060
ac_init_help=short ;;
1062
-host | --host | --hos | --ho)
1063
ac_prev=host_alias ;;
1064
-host=* | --host=* | --hos=* | --ho=*)
1065
host_alias=$ac_optarg ;;
1067
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1069
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1071
htmldir=$ac_optarg ;;
1073
-includedir | --includedir | --includedi | --included | --include \
1074
| --includ | --inclu | --incl | --inc)
1075
ac_prev=includedir ;;
1076
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1077
| --includ=* | --inclu=* | --incl=* | --inc=*)
1078
includedir=$ac_optarg ;;
1080
-infodir | --infodir | --infodi | --infod | --info | --inf)
1082
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1083
infodir=$ac_optarg ;;
1085
-libdir | --libdir | --libdi | --libd)
1087
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1088
libdir=$ac_optarg ;;
1090
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1091
| --libexe | --libex | --libe)
1092
ac_prev=libexecdir ;;
1093
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1094
| --libexe=* | --libex=* | --libe=*)
1095
libexecdir=$ac_optarg ;;
1097
-localedir | --localedir | --localedi | --localed | --locale)
1098
ac_prev=localedir ;;
1099
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1100
localedir=$ac_optarg ;;
1102
-localstatedir | --localstatedir | --localstatedi | --localstated \
1103
| --localstate | --localstat | --localsta | --localst | --locals)
1104
ac_prev=localstatedir ;;
1105
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1106
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1107
localstatedir=$ac_optarg ;;
1109
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1111
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1112
mandir=$ac_optarg ;;
1114
-nfp | --nfp | --nf)
1115
# Obsolete; use --without-fp.
1118
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1119
| --no-cr | --no-c | -n)
1122
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1123
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1126
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1127
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1128
| --oldin | --oldi | --old | --ol | --o)
1129
ac_prev=oldincludedir ;;
1130
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1131
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1132
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1133
oldincludedir=$ac_optarg ;;
1135
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1137
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1138
prefix=$ac_optarg ;;
1140
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1141
| --program-pre | --program-pr | --program-p)
1142
ac_prev=program_prefix ;;
1143
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1144
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1145
program_prefix=$ac_optarg ;;
1147
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1148
| --program-suf | --program-su | --program-s)
1149
ac_prev=program_suffix ;;
1150
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1151
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1152
program_suffix=$ac_optarg ;;
1154
-program-transform-name | --program-transform-name \
1155
| --program-transform-nam | --program-transform-na \
1156
| --program-transform-n | --program-transform- \
1157
| --program-transform | --program-transfor \
1158
| --program-transfo | --program-transf \
1159
| --program-trans | --program-tran \
1160
| --progr-tra | --program-tr | --program-t)
1161
ac_prev=program_transform_name ;;
1162
-program-transform-name=* | --program-transform-name=* \
1163
| --program-transform-nam=* | --program-transform-na=* \
1164
| --program-transform-n=* | --program-transform-=* \
1165
| --program-transform=* | --program-transfor=* \
1166
| --program-transfo=* | --program-transf=* \
1167
| --program-trans=* | --program-tran=* \
1168
| --progr-tra=* | --program-tr=* | --program-t=*)
1169
program_transform_name=$ac_optarg ;;
1171
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1173
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1174
pdfdir=$ac_optarg ;;
1176
-psdir | --psdir | --psdi | --psd | --ps)
1178
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1181
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1182
| -silent | --silent | --silen | --sile | --sil)
1185
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1187
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1189
sbindir=$ac_optarg ;;
1191
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1192
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1193
| --sharedst | --shareds | --shared | --share | --shar \
1195
ac_prev=sharedstatedir ;;
1196
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1197
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1198
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1200
sharedstatedir=$ac_optarg ;;
1202
-site | --site | --sit)
1204
-site=* | --site=* | --sit=*)
1207
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1209
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1210
srcdir=$ac_optarg ;;
1212
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1213
| --syscon | --sysco | --sysc | --sys | --sy)
1214
ac_prev=sysconfdir ;;
1215
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1216
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1217
sysconfdir=$ac_optarg ;;
1219
-target | --target | --targe | --targ | --tar | --ta | --t)
1220
ac_prev=target_alias ;;
1221
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1222
target_alias=$ac_optarg ;;
1224
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1227
-version | --version | --versio | --versi | --vers | -V)
1228
ac_init_version=: ;;
1231
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232
# Reject names that are not valid shell variable names.
1233
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1234
as_fn_error "invalid package name: $ac_useropt"
1235
ac_useropt_orig=$ac_useropt
1236
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237
case $ac_user_opts in
1241
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1242
ac_unrecognized_sep=', ';;
1244
eval with_$ac_useropt=\$ac_optarg ;;
1246
-without-* | --without-*)
1247
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248
# Reject names that are not valid shell variable names.
1249
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250
as_fn_error "invalid package name: $ac_useropt"
1251
ac_useropt_orig=$ac_useropt
1252
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253
case $ac_user_opts in
1257
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1258
ac_unrecognized_sep=', ';;
1260
eval with_$ac_useropt=no ;;
1263
# Obsolete; use --with-x.
1266
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1267
| --x-incl | --x-inc | --x-in | --x-i)
1268
ac_prev=x_includes ;;
1269
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1270
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1271
x_includes=$ac_optarg ;;
1273
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1274
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1275
ac_prev=x_libraries ;;
1276
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1277
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1278
x_libraries=$ac_optarg ;;
1280
-*) as_fn_error "unrecognized option: \`$ac_option'
1281
Try \`$0 --help' for more information."
1285
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1286
# Reject names that are not valid shell variable names.
1287
case $ac_envvar in #(
1288
'' | [0-9]* | *[!_$as_cr_alnum]* )
1289
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1291
eval $ac_envvar=\$ac_optarg
1292
export $ac_envvar ;;
1295
# FIXME: should be removed in autoconf 3.0.
1296
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1298
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1305
if test -n "$ac_prev"; then
1306
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1307
as_fn_error "missing argument to $ac_option"
1310
if test -n "$ac_unrecognized_opts"; then
1311
case $enable_option_checking in
1313
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1314
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1318
# Check all directory arguments for consistency.
1319
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1320
datadir sysconfdir sharedstatedir localstatedir includedir \
1321
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1322
libdir localedir mandir
1324
eval ac_val=\$$ac_var
1325
# Remove trailing slashes.
1328
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1329
eval $ac_var=\$ac_val;;
1331
# Be sure to have absolute directory names.
1333
[\\/$]* | ?:[\\/]* ) continue;;
1334
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1336
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1339
# There might be people who depend on the old broken behavior: `$host'
1340
# used to hold the argument of --host etc.
1341
# FIXME: To remove some day.
1344
target=$target_alias
1346
# FIXME: To remove some day.
1347
if test "x$host_alias" != x; then
1348
if test "x$build_alias" = x; then
1349
cross_compiling=maybe
1350
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1351
If a cross compiler is detected then cross compile mode will be used." >&2
1352
elif test "x$build_alias" != "x$host_alias"; then
1358
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1360
test "$silent" = yes && exec 6>/dev/null
1363
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1364
ac_ls_di=`ls -di .` &&
1365
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1366
as_fn_error "working directory cannot be determined"
1367
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368
as_fn_error "pwd does not report name of working directory"
1371
# Find the source files, if location was not specified.
1372
if test -z "$srcdir"; then
1373
ac_srcdir_defaulted=yes
1374
# Try the directory containing this script, then the parent directory.
1375
ac_confdir=`$as_dirname -- "$as_myself" ||
1376
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377
X"$as_myself" : 'X\(//\)[^/]' \| \
1378
X"$as_myself" : 'X\(//\)$' \| \
1379
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380
$as_echo X"$as_myself" |
1381
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399
if test ! -r "$srcdir/$ac_unique_file"; then
1403
ac_srcdir_defaulted=no
1405
if test ! -r "$srcdir/$ac_unique_file"; then
1406
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1407
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1409
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1411
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1413
# When building in place, set srcdir=.
1414
if test "$ac_abs_confdir" = "$ac_pwd"; then
1417
# Remove unnecessary trailing slashes from srcdir.
1418
# Double slashes in file names in object file debugging info
1419
# mess up M-x gdb in Emacs.
1421
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423
for ac_var in $ac_precious_vars; do
1424
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1425
eval ac_env_${ac_var}_value=\$${ac_var}
1426
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1427
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1431
# Report the --help message.
1433
if test "$ac_init_help" = "long"; then
1434
# Omit some internal or obsolete options to make the list less imposing.
1435
# This message is too long to be a string in the A/UX 3.1 sh.
1437
\`configure' configures libee 0.1.0 to adapt to many kinds of systems.
1439
Usage: $0 [OPTION]... [VAR=VALUE]...
1441
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442
VAR=VALUE. See below for descriptions of some of the useful variables.
1444
Defaults for the options are specified in brackets.
1447
-h, --help display this help and exit
1448
--help=short display options specific to this package
1449
--help=recursive display the short help of all the included packages
1450
-V, --version display version information and exit
1451
-q, --quiet, --silent do not print \`checking...' messages
1452
--cache-file=FILE cache test results in FILE [disabled]
1453
-C, --config-cache alias for \`--cache-file=config.cache'
1454
-n, --no-create do not create output files
1455
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1457
Installation directories:
1458
--prefix=PREFIX install architecture-independent files in PREFIX
1459
[$ac_default_prefix]
1460
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463
By default, \`make install' will install all the files in
1464
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466
for instance \`--prefix=\$HOME'.
1468
For better control, use the options below.
1470
Fine tuning of the installation directories:
1471
--bindir=DIR user executables [EPREFIX/bin]
1472
--sbindir=DIR system admin executables [EPREFIX/sbin]
1473
--libexecdir=DIR program executables [EPREFIX/libexec]
1474
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477
--libdir=DIR object code libraries [EPREFIX/lib]
1478
--includedir=DIR C header files [PREFIX/include]
1479
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1480
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482
--infodir=DIR info documentation [DATAROOTDIR/info]
1483
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484
--mandir=DIR man documentation [DATAROOTDIR/man]
1485
--docdir=DIR documentation root [DATAROOTDIR/doc/libee]
1486
--htmldir=DIR html documentation [DOCDIR]
1487
--dvidir=DIR dvi documentation [DOCDIR]
1488
--pdfdir=DIR pdf documentation [DOCDIR]
1489
--psdir=DIR ps documentation [DOCDIR]
1495
--program-prefix=PREFIX prepend PREFIX to installed program names
1496
--program-suffix=SUFFIX append SUFFIX to installed program names
1497
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1500
--build=BUILD configure for building on BUILD [guessed]
1501
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1505
if test -n "$ac_init_help"; then
1506
case $ac_init_help in
1507
short | recursive ) echo "Configuration of libee 0.1.0:";;
1512
--disable-option-checking ignore unrecognized --enable/--with options
1513
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515
--enable-silent-rules less verbose build output (undo: `make V=1')
1516
--disable-silent-rules verbose build output (undo: `make V=0')
1517
--disable-dependency-tracking speeds up one-time build
1518
--enable-dependency-tracking do not reject slow dependency extractors
1519
--enable-shared[=PKGS] build shared libraries [default=yes]
1520
--enable-static[=PKGS] build static libraries [default=yes]
1521
--enable-fast-install[=PKGS]
1522
optimize for fast installation [default=yes]
1523
--disable-libtool-lock avoid locking (might break parallel builds)
1524
--enable-testbench file input module enabled [default=yes]
1525
--enable-debug Enable debug mode [default=no]
1528
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530
--with-pic try to use only PIC/non-PIC objects [default=use
1532
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1534
Some influential environment variables:
1535
CC C compiler command
1536
CFLAGS C compiler flags
1537
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1538
nonstandard directory <lib dir>
1539
LIBS libraries to pass to the linker, e.g. -l<library>
1540
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1541
you have headers in a nonstandard directory <include dir>
1543
PKG_CONFIG path to pkg-config utility
1545
C compiler flags for LIBESTR, overriding pkg-config
1547
linker flags for LIBESTR, overriding pkg-config
1549
Use these variables to override the choices made by `configure' or to help
1550
it to find libraries and programs with nonstandard names/locations.
1552
Report bugs to <rgerhards@adiscon.com>.
1557
if test "$ac_init_help" = "recursive"; then
1558
# If there are subdirs, report their specific --help.
1559
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1560
test -d "$ac_dir" ||
1561
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1566
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1568
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1569
# A ".." for each directory in $ac_dir_suffix.
1570
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1571
case $ac_top_builddir_sub in
1572
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1573
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1576
ac_abs_top_builddir=$ac_pwd
1577
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1578
# for backward compatibility:
1579
ac_top_builddir=$ac_top_build_prefix
1582
.) # We are building in place.
1584
ac_top_srcdir=$ac_top_builddir_sub
1585
ac_abs_top_srcdir=$ac_pwd ;;
1586
[\\/]* | ?:[\\/]* ) # Absolute name.
1587
ac_srcdir=$srcdir$ac_dir_suffix;
1588
ac_top_srcdir=$srcdir
1589
ac_abs_top_srcdir=$srcdir ;;
1591
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1592
ac_top_srcdir=$ac_top_build_prefix$srcdir
1593
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1595
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1597
cd "$ac_dir" || { ac_status=$?; continue; }
1598
# Check for guested configure.
1599
if test -f "$ac_srcdir/configure.gnu"; then
1601
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1602
elif test -f "$ac_srcdir/configure"; then
1604
$SHELL "$ac_srcdir/configure" --help=recursive
1606
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1608
cd "$ac_pwd" || { ac_status=$?; break; }
1612
test -n "$ac_init_help" && exit $ac_status
1613
if $ac_init_version; then
1615
libee configure 0.1.0
1616
generated by GNU Autoconf 2.65
1618
Copyright (C) 2009 Free Software Foundation, Inc.
1619
This configure script is free software; the Free Software Foundation
1620
gives unlimited permission to copy, distribute and modify it.
1625
## ------------------------ ##
1626
## Autoconf initialization. ##
1627
## ------------------------ ##
1629
# ac_fn_c_try_compile LINENO
1630
# --------------------------
1631
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1632
ac_fn_c_try_compile ()
1634
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635
rm -f conftest.$ac_objext
1636
if { { ac_try="$ac_compile"
1638
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639
*) ac_try_echo=$ac_try;;
1641
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642
$as_echo "$ac_try_echo"; } >&5
1643
(eval "$ac_compile") 2>conftest.err
1645
if test -s conftest.err; then
1646
grep -v '^ *+' conftest.err >conftest.er1
1647
cat conftest.er1 >&5
1648
mv -f conftest.er1 conftest.err
1650
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651
test $ac_status = 0; } && {
1652
test -z "$ac_c_werror_flag" ||
1653
test ! -s conftest.err
1654
} && test -s conftest.$ac_objext; then :
1657
$as_echo "$as_me: failed program was:" >&5
1658
sed 's/^/| /' conftest.$ac_ext >&5
1662
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1663
as_fn_set_status $ac_retval
1665
} # ac_fn_c_try_compile
1667
# ac_fn_c_try_link LINENO
1668
# -----------------------
1669
# Try to link conftest.$ac_ext, and return whether this succeeded.
1672
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673
rm -f conftest.$ac_objext conftest$ac_exeext
1674
if { { ac_try="$ac_link"
1676
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677
*) ac_try_echo=$ac_try;;
1679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680
$as_echo "$ac_try_echo"; } >&5
1681
(eval "$ac_link") 2>conftest.err
1683
if test -s conftest.err; then
1684
grep -v '^ *+' conftest.err >conftest.er1
1685
cat conftest.er1 >&5
1686
mv -f conftest.er1 conftest.err
1688
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689
test $ac_status = 0; } && {
1690
test -z "$ac_c_werror_flag" ||
1691
test ! -s conftest.err
1692
} && test -s conftest$ac_exeext && {
1693
test "$cross_compiling" = yes ||
1694
$as_test_x conftest$ac_exeext
1698
$as_echo "$as_me: failed program was:" >&5
1699
sed 's/^/| /' conftest.$ac_ext >&5
1703
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1704
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1705
# interfere with the next link command; also delete a directory that is
1706
# left behind by Apple's compiler. We do this before executing the actions.
1707
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1708
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709
as_fn_set_status $ac_retval
1711
} # ac_fn_c_try_link
1713
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1714
# -------------------------------------------------------
1715
# Tests whether HEADER exists and can be compiled using the include files in
1716
# INCLUDES, setting the cache variable VAR accordingly.
1717
ac_fn_c_check_header_compile ()
1719
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721
$as_echo_n "checking for $2... " >&6; }
1722
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1723
$as_echo_n "(cached) " >&6
1725
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1726
/* end confdefs.h. */
1730
if ac_fn_c_try_compile "$LINENO"; then :
1735
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739
$as_echo "$ac_res" >&6; }
1740
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742
} # ac_fn_c_check_header_compile
1744
# ac_fn_c_try_cpp LINENO
1745
# ----------------------
1746
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1749
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750
if { { ac_try="$ac_cpp conftest.$ac_ext"
1752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753
*) ac_try_echo=$ac_try;;
1755
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756
$as_echo "$ac_try_echo"; } >&5
1757
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1759
if test -s conftest.err; then
1760
grep -v '^ *+' conftest.err >conftest.er1
1761
cat conftest.er1 >&5
1762
mv -f conftest.er1 conftest.err
1764
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765
test $ac_status = 0; } >/dev/null && {
1766
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1767
test ! -s conftest.err
1771
$as_echo "$as_me: failed program was:" >&5
1772
sed 's/^/| /' conftest.$ac_ext >&5
1776
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777
as_fn_set_status $ac_retval
1781
# ac_fn_c_try_run LINENO
1782
# ----------------------
1783
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1784
# that executables *can* be run.
1787
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788
if { { ac_try="$ac_link"
1790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791
*) ac_try_echo=$ac_try;;
1793
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794
$as_echo "$ac_try_echo"; } >&5
1795
(eval "$ac_link") 2>&5
1797
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1799
{ { case "(($ac_try" in
1800
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801
*) ac_try_echo=$ac_try;;
1803
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804
$as_echo "$ac_try_echo"; } >&5
1805
(eval "$ac_try") 2>&5
1807
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808
test $ac_status = 0; }; }; then :
1811
$as_echo "$as_me: program exited with status $ac_status" >&5
1812
$as_echo "$as_me: failed program was:" >&5
1813
sed 's/^/| /' conftest.$ac_ext >&5
1815
ac_retval=$ac_status
1817
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1818
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819
as_fn_set_status $ac_retval
1823
# ac_fn_c_check_func LINENO FUNC VAR
1824
# ----------------------------------
1825
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1826
ac_fn_c_check_func ()
1828
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830
$as_echo_n "checking for $2... " >&6; }
1831
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1832
$as_echo_n "(cached) " >&6
1834
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835
/* end confdefs.h. */
1836
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1837
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1838
#define $2 innocuous_$2
1840
/* System header to define __stub macros and hopefully few prototypes,
1841
which can conflict with char $2 (); below.
1842
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1843
<limits.h> exists even on freestanding compilers. */
1846
# include <limits.h>
1848
# include <assert.h>
1853
/* Override any GCC internal prototype to avoid an error.
1854
Use char because int might match the return type of a GCC
1855
builtin and then its argument prototype would still apply. */
1860
/* The GNU C library defines this for functions which it implements
1861
to always fail with ENOSYS. Some functions are actually named
1862
something starting with __ and the normal name is an alias. */
1863
#if defined __stub_$2 || defined __stub___$2
1875
if ac_fn_c_try_link "$LINENO"; then :
1880
rm -f core conftest.err conftest.$ac_objext \
1881
conftest$ac_exeext conftest.$ac_ext
1884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885
$as_echo "$ac_res" >&6; }
1886
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888
} # ac_fn_c_check_func
1890
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1891
# -------------------------------------------------------
1892
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1893
# the include files in INCLUDES and setting the cache variable VAR
1895
ac_fn_c_check_header_mongrel ()
1897
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900
$as_echo_n "checking for $2... " >&6; }
1901
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1902
$as_echo_n "(cached) " >&6
1905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906
$as_echo "$ac_res" >&6; }
1908
# Is the header compilable?
1909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1910
$as_echo_n "checking $2 usability... " >&6; }
1911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912
/* end confdefs.h. */
1916
if ac_fn_c_try_compile "$LINENO"; then :
1917
ac_header_compiler=yes
1919
ac_header_compiler=no
1921
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1923
$as_echo "$ac_header_compiler" >&6; }
1925
# Is the header present?
1926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1927
$as_echo_n "checking $2 presence... " >&6; }
1928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929
/* end confdefs.h. */
1932
if ac_fn_c_try_cpp "$LINENO"; then :
1933
ac_header_preproc=yes
1935
ac_header_preproc=no
1937
rm -f conftest.err conftest.$ac_ext
1938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1939
$as_echo "$ac_header_preproc" >&6; }
1941
# So? What about this header?
1942
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1944
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1945
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1946
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1950
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1951
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1952
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1953
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1954
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1955
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1957
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1958
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1959
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1961
## ------------------------------------ ##
1962
## Report this to rgerhards@adiscon.com ##
1963
## ------------------------------------ ##
1965
) | sed "s/^/$as_me: WARNING: /" >&2
1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969
$as_echo_n "checking for $2... " >&6; }
1970
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1971
$as_echo_n "(cached) " >&6
1973
eval "$3=\$ac_header_compiler"
1976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977
$as_echo "$ac_res" >&6; }
1979
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981
} # ac_fn_c_check_header_mongrel
1982
cat >config.log <<_ACEOF
1983
This file contains any messages produced by compilers while
1984
running configure, to aid debugging if configure makes a mistake.
1986
It was created by libee $as_me 0.1.0, which was
1987
generated by GNU Autoconf 2.65. Invocation command line was
1999
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2000
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2001
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2002
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2003
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2005
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2006
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2008
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2009
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2010
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2011
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2012
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2013
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2014
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022
test -z "$as_dir" && as_dir=.
2023
$as_echo "PATH: $as_dir"
2039
# Keep a trace of the command line.
2040
# Strip out --no-create and --no-recursion so they do not pile up.
2041
# Strip out --silent because we don't want to record it for future runs.
2042
# Also quote any args containing shell meta-characters.
2043
# Make two passes to allow for proper duplicate-argument suppression.
2047
ac_must_keep_next=false
2053
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2054
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2055
| -silent | --silent | --silen | --sile | --sil)
2058
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2061
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2063
as_fn_append ac_configure_args1 " '$ac_arg'"
2064
if test $ac_must_keep_next = true; then
2065
ac_must_keep_next=false # Got value, back to normal.
2068
*=* | --config-cache | -C | -disable-* | --disable-* \
2069
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2070
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2071
| -with-* | --with-* | -without-* | --without-* | --x)
2072
case "$ac_configure_args0 " in
2073
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2076
-* ) ac_must_keep_next=true ;;
2079
as_fn_append ac_configure_args " '$ac_arg'"
2084
{ ac_configure_args0=; unset ac_configure_args0;}
2085
{ ac_configure_args1=; unset ac_configure_args1;}
2087
# When interrupted or exit'd, cleanup temporary files, and complete
2088
# config.log. We remove comments because anyway the quotes in there
2089
# would cause problems or look ugly.
2090
# WARNING: Use '\'' to represent an apostrophe within the trap.
2091
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2092
trap 'exit_status=$?
2093
# Save into config.log some information that might help in debugging.
2098
## ---------------- ##
2099
## Cache variables. ##
2100
## ---------------- ##
2103
# The following way of writing the cache mishandles newlines in values,
2105
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2106
eval ac_val=\$$ac_var
2110
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2111
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2114
_ | IFS | as_nl) ;; #(
2115
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2116
*) { eval $ac_var=; unset $ac_var;} ;;
2121
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2122
*${as_nl}ac_space=\ *)
2124
"s/'\''/'\''\\\\'\'''\''/g;
2125
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2128
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136
## ----------------- ##
2137
## Output variables. ##
2138
## ----------------- ##
2141
for ac_var in $ac_subst_vars
2143
eval ac_val=\$$ac_var
2145
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2147
$as_echo "$ac_var='\''$ac_val'\''"
2151
if test -n "$ac_subst_files"; then
2153
## ------------------- ##
2154
## File substitutions. ##
2155
## ------------------- ##
2158
for ac_var in $ac_subst_files
2160
eval ac_val=\$$ac_var
2162
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2164
$as_echo "$ac_var='\''$ac_val'\''"
2169
if test -s confdefs.h; then
2179
test "$ac_signal" != 0 &&
2180
$as_echo "$as_me: caught signal $ac_signal"
2181
$as_echo "$as_me: exit $exit_status"
2183
rm -f core *.core core.conftest.* &&
2184
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2187
for ac_signal in 1 2 13 15; do
2188
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2192
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2193
rm -f -r conftest* confdefs.h
2195
$as_echo "/* confdefs.h */" > confdefs.h
2197
# Predefined preprocessor variables.
2199
cat >>confdefs.h <<_ACEOF
2200
#define PACKAGE_NAME "$PACKAGE_NAME"
2203
cat >>confdefs.h <<_ACEOF
2204
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2207
cat >>confdefs.h <<_ACEOF
2208
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2211
cat >>confdefs.h <<_ACEOF
2212
#define PACKAGE_STRING "$PACKAGE_STRING"
2215
cat >>confdefs.h <<_ACEOF
2216
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2219
cat >>confdefs.h <<_ACEOF
2220
#define PACKAGE_URL "$PACKAGE_URL"
2224
# Let the site file select an alternate cache file if it wants to.
2225
# Prefer an explicitly selected file to automatically selected ones.
2228
if test -n "$CONFIG_SITE"; then
2229
ac_site_file1=$CONFIG_SITE
2230
elif test "x$prefix" != xNONE; then
2231
ac_site_file1=$prefix/share/config.site
2232
ac_site_file2=$prefix/etc/config.site
2234
ac_site_file1=$ac_default_prefix/share/config.site
2235
ac_site_file2=$ac_default_prefix/etc/config.site
2237
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2239
test "x$ac_site_file" = xNONE && continue
2240
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2242
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2243
sed 's/^/| /' "$ac_site_file" >&5
2248
if test -r "$cache_file"; then
2249
# Some versions of bash will fail to source /dev/null (special files
2250
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2251
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2252
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2253
$as_echo "$as_me: loading cache $cache_file" >&6;}
2255
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2256
*) . "./$cache_file";;
2260
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2261
$as_echo "$as_me: creating cache $cache_file" >&6;}
2265
# Check that the precious variables saved in the cache have kept the same
2267
ac_cache_corrupted=false
2268
for ac_var in $ac_precious_vars; do
2269
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2270
eval ac_new_set=\$ac_env_${ac_var}_set
2271
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2272
eval ac_new_val=\$ac_env_${ac_var}_value
2273
case $ac_old_set,$ac_new_set in
2275
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2276
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2277
ac_cache_corrupted=: ;;
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2280
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2281
ac_cache_corrupted=: ;;
2284
if test "x$ac_old_val" != "x$ac_new_val"; then
2285
# differences in whitespace do not lead to failure.
2286
ac_old_val_w=`echo x $ac_old_val`
2287
ac_new_val_w=`echo x $ac_new_val`
2288
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2289
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2290
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2291
ac_cache_corrupted=:
2293
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2294
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2295
eval $ac_var=\$ac_old_val
2297
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2298
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2299
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2300
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2303
# Pass precious variables to config.status.
2304
if test "$ac_new_set" = set; then
2306
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2307
*) ac_arg=$ac_var=$ac_new_val ;;
2309
case " $ac_configure_args " in
2310
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2311
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2315
if $ac_cache_corrupted; then
2316
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2317
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2318
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2319
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2320
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2322
## -------------------- ##
2323
## Main body of script. ##
2324
## -------------------- ##
2327
ac_cpp='$CPP $CPPFLAGS'
2328
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2333
am__api_version='1.11'
2336
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2337
for ac_t in install-sh install.sh shtool; do
2338
if test -f "$ac_dir/$ac_t"; then
2340
ac_install_sh="$ac_aux_dir/$ac_t -c"
2345
if test -z "$ac_aux_dir"; then
2346
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2349
# These three variables are undocumented and unsupported,
2350
# and are intended to be withdrawn in a future Autoconf release.
2351
# They can cause serious problems if a builder's source tree is in a directory
2352
# whose full name contains unusual characters.
2353
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2354
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2355
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2358
# Find a good install program. We prefer a C program (faster),
2359
# so one script is as good as another. But avoid the broken or
2360
# incompatible versions:
2361
# SysV /etc/install, /usr/sbin/install
2362
# SunOS /usr/etc/install
2363
# IRIX /sbin/install
2365
# AmigaOS /C/install, which installs bootblocks on floppy discs
2366
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2367
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2368
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369
# OS/2's system install, which has a completely different semantic
2370
# ./install, which can be erroneously created by make from ./install.sh.
2371
# Reject install programs that cannot install multiple files.
2372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2373
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2374
if test -z "$INSTALL"; then
2375
if test "${ac_cv_path_install+set}" = set; then :
2376
$as_echo_n "(cached) " >&6
2378
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382
test -z "$as_dir" && as_dir=.
2383
# Account for people who put trailing slashes in PATH elements.
2384
case $as_dir/ in #((
2385
./ | .// | /[cC]/* | \
2386
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2387
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2390
# OSF1 and SCO ODT 3.0 have their own names for install.
2391
# Don't use installbsd from OSF since it installs stuff as root
2393
for ac_prog in ginstall scoinst install; do
2394
for ac_exec_ext in '' $ac_executable_extensions; do
2395
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2396
if test $ac_prog = install &&
2397
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398
# AIX install. It has an incompatible calling convention.
2400
elif test $ac_prog = install &&
2401
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402
# program-specific install script used by HP pwplus--don't use.
2405
rm -rf conftest.one conftest.two conftest.dir
2406
echo one > conftest.one
2407
echo two > conftest.two
2409
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2410
test -s conftest.one && test -s conftest.two &&
2411
test -s conftest.dir/conftest.one &&
2412
test -s conftest.dir/conftest.two
2414
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2427
rm -rf conftest.one conftest.two conftest.dir
2430
if test "${ac_cv_path_install+set}" = set; then
2431
INSTALL=$ac_cv_path_install
2433
# As a last resort, use the slow shell script. Don't cache a
2434
# value for INSTALL within a source directory, because that will
2435
# break other packages using the cache if that directory is
2436
# removed, or if the value is a relative name.
2437
INSTALL=$ac_install_sh
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2441
$as_echo "$INSTALL" >&6; }
2443
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2444
# It thinks the first close brace ends the variable substitution.
2445
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2447
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2449
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2452
$as_echo_n "checking whether build environment is sane... " >&6; }
2455
echo timestamp > conftest.file
2456
# Reject unsafe characters in $srcdir or the absolute working directory
2457
# name. Accept space and tab only in the latter.
2461
*[\\\"\#\$\&\'\`$am_lf]*)
2462
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2465
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2466
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2469
# Do `set' in a subshell so we don't clobber the current shell's
2470
# arguments. Must try -L first in case configure is actually a
2471
# symlink; some systems play weird games with the mod time of symlinks
2472
# (eg FreeBSD returns the mod time of the symlink's containing
2475
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476
if test "$*" = "X"; then
2478
set X `ls -t "$srcdir/configure" conftest.file`
2481
if test "$*" != "X $srcdir/configure conftest.file" \
2482
&& test "$*" != "X conftest.file $srcdir/configure"; then
2484
# If neither matched, then we have a broken ls. This can happen
2485
# if, for instance, CONFIG_SHELL is bash and it inherits a
2486
# broken ls alias from the environment. This has actually
2487
# happened. Such a system could not be considered "sane".
2488
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2489
alias in your environment" "$LINENO" 5
2492
test "$2" = conftest.file
2498
as_fn_error "newly created file is older than distributed files!
2499
Check your system clock" "$LINENO" 5
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2502
$as_echo "yes" >&6; }
2503
test "$program_prefix" != NONE &&
2504
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2505
# Use a double $ so make ignores it.
2506
test "$program_suffix" != NONE &&
2507
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2508
# Double any \ or $.
2509
# By default was `s,x,x', remove it if useless.
2510
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2511
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2513
# expand $ac_aux_dir to an absolute path
2514
am_aux_dir=`cd $ac_aux_dir && pwd`
2516
if test x"${MISSING+set}" != xset; then
2519
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2521
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2524
# Use eval to expand $SHELL
2525
if eval "$MISSING --run true"; then
2526
am_missing_run="$MISSING --run "
2529
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2530
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2533
if test x"${install_sh}" != xset; then
2536
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2538
install_sh="\${SHELL} $am_aux_dir/install-sh"
2542
# Installed binaries are usually stripped using `strip' when the user
2543
# run `make install-strip'. However `strip' might not be the right
2544
# tool to use in cross-compilation environments, therefore Automake
2545
# will honor the `STRIP' environment variable to overrule this program.
2546
if test "$cross_compiling" != no; then
2547
if test -n "$ac_tool_prefix"; then
2548
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2549
set dummy ${ac_tool_prefix}strip; ac_word=$2
2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551
$as_echo_n "checking for $ac_word... " >&6; }
2552
if test "${ac_cv_prog_STRIP+set}" = set; then :
2553
$as_echo_n "(cached) " >&6
2555
if test -n "$STRIP"; then
2556
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562
test -z "$as_dir" && as_dir=.
2563
for ac_exec_ext in '' $ac_executable_extensions; do
2564
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2565
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2566
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575
STRIP=$ac_cv_prog_STRIP
2576
if test -n "$STRIP"; then
2577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2578
$as_echo "$STRIP" >&6; }
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581
$as_echo "no" >&6; }
2586
if test -z "$ac_cv_prog_STRIP"; then
2588
# Extract the first word of "strip", so it can be a program name with args.
2589
set dummy strip; ac_word=$2
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591
$as_echo_n "checking for $ac_word... " >&6; }
2592
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2593
$as_echo_n "(cached) " >&6
2595
if test -n "$ac_ct_STRIP"; then
2596
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2598
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602
test -z "$as_dir" && as_dir=.
2603
for ac_exec_ext in '' $ac_executable_extensions; do
2604
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605
ac_cv_prog_ac_ct_STRIP="strip"
2606
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2616
if test -n "$ac_ct_STRIP"; then
2617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2618
$as_echo "$ac_ct_STRIP" >&6; }
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621
$as_echo "no" >&6; }
2624
if test "x$ac_ct_STRIP" = x; then
2627
case $cross_compiling:$ac_tool_warned in
2629
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2630
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2631
ac_tool_warned=yes ;;
2636
STRIP="$ac_cv_prog_STRIP"
2640
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2643
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2644
if test -z "$MKDIR_P"; then
2645
if test "${ac_cv_path_mkdir+set}" = set; then :
2646
$as_echo_n "(cached) " >&6
2648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2652
test -z "$as_dir" && as_dir=.
2653
for ac_prog in mkdir gmkdir; do
2654
for ac_exec_ext in '' $ac_executable_extensions; do
2655
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2656
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2657
'mkdir (GNU coreutils) '* | \
2658
'mkdir (coreutils) '* | \
2659
'mkdir (fileutils) '4.1*)
2660
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2670
test -d ./--version && rmdir ./--version
2671
if test "${ac_cv_path_mkdir+set}" = set; then
2672
MKDIR_P="$ac_cv_path_mkdir -p"
2674
# As a last resort, use the slow shell script. Don't cache a
2675
# value for MKDIR_P within a source directory, because that will
2676
# break other packages using the cache if that directory is
2677
# removed, or if the value is a relative name.
2678
MKDIR_P="$ac_install_sh -d"
2681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2682
$as_echo "$MKDIR_P" >&6; }
2686
[\\/$]* | ?:[\\/]*) ;;
2687
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2690
for ac_prog in gawk mawk nawk awk
2692
# Extract the first word of "$ac_prog", so it can be a program name with args.
2693
set dummy $ac_prog; ac_word=$2
2694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695
$as_echo_n "checking for $ac_word... " >&6; }
2696
if test "${ac_cv_prog_AWK+set}" = set; then :
2697
$as_echo_n "(cached) " >&6
2699
if test -n "$AWK"; then
2700
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706
test -z "$as_dir" && as_dir=.
2707
for ac_exec_ext in '' $ac_executable_extensions; do
2708
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709
ac_cv_prog_AWK="$ac_prog"
2710
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720
if test -n "$AWK"; then
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2722
$as_echo "$AWK" >&6; }
2724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725
$as_echo "no" >&6; }
2729
test -n "$AWK" && break
2732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2733
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2735
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2736
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2737
$as_echo_n "(cached) " >&6
2739
cat >conftest.make <<\_ACEOF
2742
@echo '@@@%%%=$(MAKE)=@@@%%%'
2744
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2745
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2747
eval ac_cv_prog_make_${ac_make}_set=yes;;
2749
eval ac_cv_prog_make_${ac_make}_set=no;;
2753
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755
$as_echo "yes" >&6; }
2758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759
$as_echo "no" >&6; }
2760
SET_MAKE="MAKE=${MAKE-make}"
2763
rm -rf .tst 2>/dev/null
2764
mkdir .tst 2>/dev/null
2765
if test -d .tst; then
2770
rmdir .tst 2>/dev/null
2772
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2773
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2774
# is not polluted with repeated "-I."
2775
am__isrc=' -I$(srcdir)'
2776
# test to see if srcdir already configured
2777
if test -f $srcdir/config.status; then
2778
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2782
# test whether we have cygpath
2783
if test -z "$CYGPATH_W"; then
2784
if (cygpath --version) >/dev/null 2>/dev/null; then
2785
CYGPATH_W='cygpath -w'
2792
# Define the identity of the package.
2797
cat >>confdefs.h <<_ACEOF
2798
#define PACKAGE "$PACKAGE"
2802
cat >>confdefs.h <<_ACEOF
2803
#define VERSION "$VERSION"
2806
# Some tools Automake needs.
2808
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2811
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2814
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2817
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2820
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2822
# We need awk for the "check" target. The system "awk" is bad on
2824
# Always define AMTAR for backward compatibility.
2826
AMTAR=${AMTAR-"${am_missing_run}tar"}
2828
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2834
# Check whether --enable-silent-rules was given.
2835
if test "${enable_silent_rules+set}" = set; then :
2836
enableval=$enable_silent_rules;
2839
case $enable_silent_rules in
2840
yes) AM_DEFAULT_VERBOSITY=0;;
2841
no) AM_DEFAULT_VERBOSITY=1;;
2842
*) AM_DEFAULT_VERBOSITY=0;;
2847
ac_config_headers="$ac_config_headers config.h"
2850
# Checks for programs.
2852
ac_cpp='$CPP $CPPFLAGS'
2853
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2854
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2855
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2856
if test -n "$ac_tool_prefix"; then
2857
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2858
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860
$as_echo_n "checking for $ac_word... " >&6; }
2861
if test "${ac_cv_prog_CC+set}" = set; then :
2862
$as_echo_n "(cached) " >&6
2864
if test -n "$CC"; then
2865
ac_cv_prog_CC="$CC" # Let the user override the test.
2867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871
test -z "$as_dir" && as_dir=.
2872
for ac_exec_ext in '' $ac_executable_extensions; do
2873
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2875
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885
if test -n "$CC"; then
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887
$as_echo "$CC" >&6; }
2889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890
$as_echo "no" >&6; }
2895
if test -z "$ac_cv_prog_CC"; then
2897
# Extract the first word of "gcc", so it can be a program name with args.
2898
set dummy gcc; ac_word=$2
2899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900
$as_echo_n "checking for $ac_word... " >&6; }
2901
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2902
$as_echo_n "(cached) " >&6
2904
if test -n "$ac_ct_CC"; then
2905
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911
test -z "$as_dir" && as_dir=.
2912
for ac_exec_ext in '' $ac_executable_extensions; do
2913
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2914
ac_cv_prog_ac_ct_CC="gcc"
2915
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2925
if test -n "$ac_ct_CC"; then
2926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2927
$as_echo "$ac_ct_CC" >&6; }
2929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930
$as_echo "no" >&6; }
2933
if test "x$ac_ct_CC" = x; then
2936
case $cross_compiling:$ac_tool_warned in
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2939
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2940
ac_tool_warned=yes ;;
2948
if test -z "$CC"; then
2949
if test -n "$ac_tool_prefix"; then
2950
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2951
set dummy ${ac_tool_prefix}cc; ac_word=$2
2952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953
$as_echo_n "checking for $ac_word... " >&6; }
2954
if test "${ac_cv_prog_CC+set}" = set; then :
2955
$as_echo_n "(cached) " >&6
2957
if test -n "$CC"; then
2958
ac_cv_prog_CC="$CC" # Let the user override the test.
2960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964
test -z "$as_dir" && as_dir=.
2965
for ac_exec_ext in '' $ac_executable_extensions; do
2966
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967
ac_cv_prog_CC="${ac_tool_prefix}cc"
2968
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2978
if test -n "$CC"; then
2979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980
$as_echo "$CC" >&6; }
2982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983
$as_echo "no" >&6; }
2989
if test -z "$CC"; then
2990
# Extract the first word of "cc", so it can be a program name with args.
2991
set dummy cc; ac_word=$2
2992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993
$as_echo_n "checking for $ac_word... " >&6; }
2994
if test "${ac_cv_prog_CC+set}" = set; then :
2995
$as_echo_n "(cached) " >&6
2997
if test -n "$CC"; then
2998
ac_cv_prog_CC="$CC" # Let the user override the test.
3001
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005
test -z "$as_dir" && as_dir=.
3006
for ac_exec_ext in '' $ac_executable_extensions; do
3007
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3009
ac_prog_rejected=yes
3013
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020
if test $ac_prog_rejected = yes; then
3021
# We found a bogon in the path, so make sure we never use it.
3022
set dummy $ac_cv_prog_CC
3024
if test $# != 0; then
3025
# We chose a different compiler from the bogus one.
3026
# However, it has the same basename, so the bogon will be chosen
3027
# first if we set CC to just the basename; use the full file name.
3029
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3035
if test -n "$CC"; then
3036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3037
$as_echo "$CC" >&6; }
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040
$as_echo "no" >&6; }
3045
if test -z "$CC"; then
3046
if test -n "$ac_tool_prefix"; then
3047
for ac_prog in cl.exe
3049
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3050
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052
$as_echo_n "checking for $ac_word... " >&6; }
3053
if test "${ac_cv_prog_CC+set}" = set; then :
3054
$as_echo_n "(cached) " >&6
3056
if test -n "$CC"; then
3057
ac_cv_prog_CC="$CC" # Let the user override the test.
3059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063
test -z "$as_dir" && as_dir=.
3064
for ac_exec_ext in '' $ac_executable_extensions; do
3065
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3067
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077
if test -n "$CC"; then
3078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3079
$as_echo "$CC" >&6; }
3081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082
$as_echo "no" >&6; }
3086
test -n "$CC" && break
3089
if test -z "$CC"; then
3091
for ac_prog in cl.exe
3093
# Extract the first word of "$ac_prog", so it can be a program name with args.
3094
set dummy $ac_prog; ac_word=$2
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096
$as_echo_n "checking for $ac_word... " >&6; }
3097
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3098
$as_echo_n "(cached) " >&6
3100
if test -n "$ac_ct_CC"; then
3101
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107
test -z "$as_dir" && as_dir=.
3108
for ac_exec_ext in '' $ac_executable_extensions; do
3109
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110
ac_cv_prog_ac_ct_CC="$ac_prog"
3111
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3121
if test -n "$ac_ct_CC"; then
3122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3123
$as_echo "$ac_ct_CC" >&6; }
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126
$as_echo "no" >&6; }
3130
test -n "$ac_ct_CC" && break
3133
if test "x$ac_ct_CC" = x; then
3136
case $cross_compiling:$ac_tool_warned in
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3139
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3140
ac_tool_warned=yes ;;
3149
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151
as_fn_error "no acceptable C compiler found in \$PATH
3152
See \`config.log' for more details." "$LINENO" 5; }
3154
# Provide some information about the compiler.
3155
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3158
for ac_option in --version -v -V -qversion; do
3159
{ { ac_try="$ac_compiler $ac_option >&5"
3161
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162
*) ac_try_echo=$ac_try;;
3164
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3165
$as_echo "$ac_try_echo"; } >&5
3166
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3168
if test -s conftest.err; then
3170
... rest of stderr output deleted ...
3171
10q' conftest.err >conftest.er1
3172
cat conftest.er1 >&5
3174
rm -f conftest.er1 conftest.err
3175
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176
test $ac_status = 0; }
3179
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180
/* end confdefs.h. */
3190
ac_clean_files_save=$ac_clean_files
3191
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3192
# Try to create an executable without -o first, disregard a.out.
3193
# It will help us diagnose broken compilers, and finding out an intuition
3195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3196
$as_echo_n "checking whether the C compiler works... " >&6; }
3197
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3199
# The possible output files:
3200
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3203
for ac_file in $ac_files
3206
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3207
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3212
if { { ac_try="$ac_link_default"
3214
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215
*) ac_try_echo=$ac_try;;
3217
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218
$as_echo "$ac_try_echo"; } >&5
3219
(eval "$ac_link_default") 2>&5
3221
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222
test $ac_status = 0; }; then :
3223
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3224
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3225
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3226
# so that the user can short-circuit this test for compilers unknown to
3228
for ac_file in $ac_files ''
3230
test -f "$ac_file" || continue
3232
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3235
# We found the default executable, but exeext='' is most
3239
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3241
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3243
# We set ac_cv_exeext here because the later test for it is not
3244
# safe: cross compilers may not add the suffix if given an `-o'
3245
# argument, so we may need to know it at that point already.
3246
# Even if this section looks crufty: it has the advantage of
3253
test "$ac_cv_exeext" = no && ac_cv_exeext=
3258
if test -z "$ac_file"; then :
3259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260
$as_echo "no" >&6; }
3261
$as_echo "$as_me: failed program was:" >&5
3262
sed 's/^/| /' conftest.$ac_ext >&5
3264
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3265
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3266
{ as_fn_set_status 77
3267
as_fn_error "C compiler cannot create executables
3268
See \`config.log' for more details." "$LINENO" 5; }; }
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3271
$as_echo "yes" >&6; }
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3274
$as_echo_n "checking for C compiler default output file name... " >&6; }
3275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3276
$as_echo "$ac_file" >&6; }
3277
ac_exeext=$ac_cv_exeext
3279
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3280
ac_clean_files=$ac_clean_files_save
3281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3282
$as_echo_n "checking for suffix of executables... " >&6; }
3283
if { { ac_try="$ac_link"
3285
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286
*) ac_try_echo=$ac_try;;
3288
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289
$as_echo "$ac_try_echo"; } >&5
3290
(eval "$ac_link") 2>&5
3292
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293
test $ac_status = 0; }; then :
3294
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3295
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3296
# work properly (i.e., refer to `conftest.exe'), while it won't with
3298
for ac_file in conftest.exe conftest conftest.*; do
3299
test -f "$ac_file" || continue
3301
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3302
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3308
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310
as_fn_error "cannot compute suffix of executables: cannot compile and link
3311
See \`config.log' for more details." "$LINENO" 5; }
3313
rm -f conftest conftest$ac_cv_exeext
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3315
$as_echo "$ac_cv_exeext" >&6; }
3317
rm -f conftest.$ac_ext
3318
EXEEXT=$ac_cv_exeext
3320
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321
/* end confdefs.h. */
3326
FILE *f = fopen ("conftest.out", "w");
3327
return ferror (f) || fclose (f) != 0;
3333
ac_clean_files="$ac_clean_files conftest.out"
3334
# Check that the compiler produces executables we can run. If not, either
3335
# the compiler is broken, or we cross compile.
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3337
$as_echo_n "checking whether we are cross compiling... " >&6; }
3338
if test "$cross_compiling" != yes; then
3339
{ { ac_try="$ac_link"
3341
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342
*) ac_try_echo=$ac_try;;
3344
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345
$as_echo "$ac_try_echo"; } >&5
3346
(eval "$ac_link") 2>&5
3348
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349
test $ac_status = 0; }
3350
if { ac_try='./conftest$ac_cv_exeext'
3351
{ { case "(($ac_try" in
3352
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353
*) ac_try_echo=$ac_try;;
3355
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356
$as_echo "$ac_try_echo"; } >&5
3357
(eval "$ac_try") 2>&5
3359
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360
test $ac_status = 0; }; }; then
3363
if test "$cross_compiling" = maybe; then
3366
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368
as_fn_error "cannot run C compiled programs.
3369
If you meant to cross compile, use \`--host'.
3370
See \`config.log' for more details." "$LINENO" 5; }
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3375
$as_echo "$cross_compiling" >&6; }
3377
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3378
ac_clean_files=$ac_clean_files_save
3379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3380
$as_echo_n "checking for suffix of object files... " >&6; }
3381
if test "${ac_cv_objext+set}" = set; then :
3382
$as_echo_n "(cached) " >&6
3384
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385
/* end confdefs.h. */
3395
rm -f conftest.o conftest.obj
3396
if { { ac_try="$ac_compile"
3398
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399
*) ac_try_echo=$ac_try;;
3401
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402
$as_echo "$ac_try_echo"; } >&5
3403
(eval "$ac_compile") 2>&5
3405
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406
test $ac_status = 0; }; then :
3407
for ac_file in conftest.o conftest.obj conftest.*; do
3408
test -f "$ac_file" || continue;
3410
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3411
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3416
$as_echo "$as_me: failed program was:" >&5
3417
sed 's/^/| /' conftest.$ac_ext >&5
3419
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421
as_fn_error "cannot compute suffix of object files: cannot compile
3422
See \`config.log' for more details." "$LINENO" 5; }
3424
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3427
$as_echo "$ac_cv_objext" >&6; }
3428
OBJEXT=$ac_cv_objext
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3431
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3432
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3433
$as_echo_n "(cached) " >&6
3435
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436
/* end confdefs.h. */
3449
if ac_fn_c_try_compile "$LINENO"; then :
3454
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3459
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3460
if test $ac_compiler_gnu = yes; then
3465
ac_test_CFLAGS=${CFLAGS+set}
3466
ac_save_CFLAGS=$CFLAGS
3467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3468
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3469
if test "${ac_cv_prog_cc_g+set}" = set; then :
3470
$as_echo_n "(cached) " >&6
3472
ac_save_c_werror_flag=$ac_c_werror_flag
3473
ac_c_werror_flag=yes
3476
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477
/* end confdefs.h. */
3487
if ac_fn_c_try_compile "$LINENO"; then :
3491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492
/* end confdefs.h. */
3502
if ac_fn_c_try_compile "$LINENO"; then :
3505
ac_c_werror_flag=$ac_save_c_werror_flag
3507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508
/* end confdefs.h. */
3518
if ac_fn_c_try_compile "$LINENO"; then :
3521
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526
ac_c_werror_flag=$ac_save_c_werror_flag
3528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3529
$as_echo "$ac_cv_prog_cc_g" >&6; }
3530
if test "$ac_test_CFLAGS" = set; then
3531
CFLAGS=$ac_save_CFLAGS
3532
elif test $ac_cv_prog_cc_g = yes; then
3533
if test "$GCC" = yes; then
3539
if test "$GCC" = yes; then
3545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3546
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3547
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3548
$as_echo_n "(cached) " >&6
3550
ac_cv_prog_cc_c89=no
3552
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553
/* end confdefs.h. */
3556
#include <sys/types.h>
3557
#include <sys/stat.h>
3558
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3559
struct buf { int x; };
3560
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3561
static char *e (p, i)
3567
static char *f (char * (*g) (char **, int), char **p, ...)
3572
s = g (p, va_arg (v,int));
3577
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3578
function prototypes and stuff, but not '\xHH' hex character constants.
3579
These don't provoke an error unfortunately, instead are silently treated
3580
as 'x'. The following induces an error, until -std is added to get
3581
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3582
array size at least. It's necessary to write '\x00'==0 to get something
3583
that's true only with -std. */
3584
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3586
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3587
inside strings and character constants. */
3589
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3591
int test (int i, double x);
3592
struct s1 {int (*f) (int a);};
3593
struct s2 {int (*f) (double a);};
3594
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3600
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3605
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3606
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3608
CC="$ac_save_CC $ac_arg"
3609
if ac_fn_c_try_compile "$LINENO"; then :
3610
ac_cv_prog_cc_c89=$ac_arg
3612
rm -f core conftest.err conftest.$ac_objext
3613
test "x$ac_cv_prog_cc_c89" != "xno" && break
3615
rm -f conftest.$ac_ext
3620
case "x$ac_cv_prog_cc_c89" in
3622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3623
$as_echo "none needed" >&6; } ;;
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3626
$as_echo "unsupported" >&6; } ;;
3628
CC="$CC $ac_cv_prog_cc_c89"
3629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3630
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3632
if test "x$ac_cv_prog_cc_c89" != xno; then :
3637
ac_cpp='$CPP $CPPFLAGS'
3638
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3639
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3640
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3641
DEPDIR="${am__leading_dot}deps"
3643
ac_config_commands="$ac_config_commands depfiles"
3646
am_make=${MAKE-make}
3647
cat > confinc << 'END'
3649
@echo this is the am__doit target
3652
# If we don't find an include directive, just comment out the code.
3653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3654
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3658
# First try GNU make style include.
3659
echo "include confinc" > confmf
3660
# Ignore all kinds of additional output from `make'.
3661
case `$am_make -s -f confmf 2> /dev/null` in #(
3662
*the\ am__doit\ target*)
3668
# Now try BSD make style include.
3669
if test "$am__include" = "#"; then
3670
echo '.include "confinc"' > confmf
3671
case `$am_make -s -f confmf 2> /dev/null` in #(
3672
*the\ am__doit\ target*)
3673
am__include=.include
3681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3682
$as_echo "$_am_result" >&6; }
3683
rm -f confinc confmf
3685
# Check whether --enable-dependency-tracking was given.
3686
if test "${enable_dependency_tracking+set}" = set; then :
3687
enableval=$enable_dependency_tracking;
3690
if test "x$enable_dependency_tracking" != xno; then
3691
am_depcomp="$ac_aux_dir/depcomp"
3694
if test "x$enable_dependency_tracking" != xno; then
3704
depcc="$CC" am_compiler_list=
3706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3707
$as_echo_n "checking dependency style of $depcc... " >&6; }
3708
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3709
$as_echo_n "(cached) " >&6
3711
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3712
# We make a subdir and do the tests there. Otherwise we can end up
3713
# making bogus files that we don't know about and never remove. For
3714
# instance it was reported that on HP-UX the gcc test will end up
3715
# making a dummy file named `D' -- because `-MD' means `put the output
3718
# Copy depcomp to subdir because otherwise we won't find it if we're
3719
# using a relative directory.
3720
cp "$am_depcomp" conftest.dir
3722
# We will build objects and dependencies in a subdirectory because
3723
# it helps to detect inapplicable dependency modes. For instance
3724
# both Tru64's cc and ICC support -MD to output dependencies as a
3725
# side effect of compilation, but ICC will put the dependencies in
3726
# the current directory while Tru64 will put them in the object
3730
am_cv_CC_dependencies_compiler_type=none
3731
if test "$am_compiler_list" = ""; then
3732
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3735
case " $depcc " in #(
3736
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3739
for depmode in $am_compiler_list; do
3740
# Setup a source with many dependencies, because some compilers
3741
# like to wrap large dependency lists on column 80 (with \), and
3742
# we should not choose a depcomp mode which is confused by this.
3744
# We need to recreate these files for each test, as the compiler may
3745
# overwrite some of them when testing with obscure command lines.
3746
# This happens at least with the AIX C compiler.
3748
for i in 1 2 3 4 5 6; do
3749
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3750
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3751
# Solaris 8's {/usr,}/bin/sh.
3752
touch sub/conftst$i.h
3754
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3756
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3757
# mode. It turns out that the SunPro C++ compiler does not properly
3758
# handle `-M -o', and we need to detect this. Also, some Intel
3759
# versions had trouble with output in subdirs
3760
am__obj=sub/conftest.${OBJEXT-o}
3761
am__minus_obj="-o $am__obj"
3764
# This depmode causes a compiler race in universal mode.
3765
test "$am__universal" = false || continue
3768
# after this tag, mechanisms are not by side-effect, so they'll
3769
# only be used when explicitly requested
3770
if test "x$enable_dependency_tracking" = xyes; then
3776
msvisualcpp | msvcmsys)
3777
# This compiler won't grok `-c -o', but also, the minuso test has
3778
# not run yet. These depmodes are late enough in the game, and
3779
# so weak that their functioning should not be impacted.
3780
am__obj=conftest.${OBJEXT-o}
3785
if depmode=$depmode \
3786
source=sub/conftest.c object=$am__obj \
3787
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3788
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3789
>/dev/null 2>conftest.err &&
3790
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3791
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3792
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3793
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3794
# icc doesn't choke on unknown options, it will just issue warnings
3795
# or remarks (even with -Werror). So we grep stderr for any message
3796
# that says an option was ignored or not supported.
3797
# When given -MP, icc 7.0 and 7.1 complain thusly:
3798
# icc: Command line warning: ignoring option '-M'; no argument required
3799
# The diagnosis changed in icc 8.0:
3800
# icc: Command line remark: option '-MP' not supported
3801
if (grep 'ignoring option' conftest.err ||
3802
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3803
am_cv_CC_dependencies_compiler_type=$depmode
3812
am_cv_CC_dependencies_compiler_type=none
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3817
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3818
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3821
test "x$enable_dependency_tracking" != xno \
3822
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3824
am__fastdepCC_FALSE='#'
3826
am__fastdepCC_TRUE='#'
3827
am__fastdepCC_FALSE=
3831
if test "x$CC" != xcc; then
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3833
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3836
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3838
set dummy $CC; ac_cc=`$as_echo "$2" |
3839
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3840
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3841
$as_echo_n "(cached) " >&6
3843
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844
/* end confdefs.h. */
3854
# Make sure it works both with $CC and with simple cc.
3855
# We do the test twice because some compilers refuse to overwrite an
3856
# existing .o file with -o, though they will create one.
3857
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3859
if { { case "(($ac_try" in
3860
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861
*) ac_try_echo=$ac_try;;
3863
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864
$as_echo "$ac_try_echo"; } >&5
3865
(eval "$ac_try") 2>&5
3867
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3868
test $ac_status = 0; } &&
3869
test -f conftest2.$ac_objext && { { case "(($ac_try" in
3870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3871
*) ac_try_echo=$ac_try;;
3873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874
$as_echo "$ac_try_echo"; } >&5
3875
(eval "$ac_try") 2>&5
3877
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878
test $ac_status = 0; };
3880
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3881
if test "x$CC" != xcc; then
3882
# Test first that cc exists at all.
3883
if { ac_try='cc -c conftest.$ac_ext >&5'
3884
{ { case "(($ac_try" in
3885
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3886
*) ac_try_echo=$ac_try;;
3888
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3889
$as_echo "$ac_try_echo"; } >&5
3890
(eval "$ac_try") 2>&5
3892
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893
test $ac_status = 0; }; }; then
3894
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3896
if { { case "(($ac_try" in
3897
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898
*) ac_try_echo=$ac_try;;
3900
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3901
$as_echo "$ac_try_echo"; } >&5
3902
(eval "$ac_try") 2>&5
3904
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905
test $ac_status = 0; } &&
3906
test -f conftest2.$ac_objext && { { case "(($ac_try" in
3907
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908
*) ac_try_echo=$ac_try;;
3910
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911
$as_echo "$ac_try_echo"; } >&5
3912
(eval "$ac_try") 2>&5
3914
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915
test $ac_status = 0; };
3920
# cc exists but doesn't like -o.
3921
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3926
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3928
rm -f core conftest*
3931
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3933
$as_echo "yes" >&6; }
3935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936
$as_echo "no" >&6; }
3938
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3942
# FIXME: we rely on the cache variable name because
3943
# there is no other way.
3945
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3946
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3947
if test "$am_t" != yes; then
3948
# Losing compiler, so override with the script.
3949
# FIXME: It is wrong to rewrite CC.
3950
# But if we don't then we get into trouble of one sort or another.
3951
# A longer-term fix would be to have automake use am__CC in this case,
3952
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3953
CC="$am_aux_dir/compile $CC"
3957
if test "$GCC" = "yes"
3958
then CFLAGS="$CFLAGS -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g"
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3964
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3969
macro_version='2.2.6b'
3970
macro_revision='1.3017'
3984
ltmain="$ac_aux_dir/ltmain.sh"
3986
# Make sure we can run config.sub.
3987
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3988
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3991
$as_echo_n "checking build system type... " >&6; }
3992
if test "${ac_cv_build+set}" = set; then :
3993
$as_echo_n "(cached) " >&6
3995
ac_build_alias=$build_alias
3996
test "x$ac_build_alias" = x &&
3997
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3998
test "x$ac_build_alias" = x &&
3999
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4000
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4001
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4005
$as_echo "$ac_cv_build" >&6; }
4006
case $ac_cv_build in
4008
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4011
ac_save_IFS=$IFS; IFS='-'
4017
# Remember, the first character of IFS is used to create $*,
4018
# except with old shells:
4021
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4025
$as_echo_n "checking host system type... " >&6; }
4026
if test "${ac_cv_host+set}" = set; then :
4027
$as_echo_n "(cached) " >&6
4029
if test "x$host_alias" = x; then
4030
ac_cv_host=$ac_cv_build
4032
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4033
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4038
$as_echo "$ac_cv_host" >&6; }
4041
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4044
ac_save_IFS=$IFS; IFS='-'
4050
# Remember, the first character of IFS is used to create $*,
4051
# except with old shells:
4054
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4058
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4059
if test "${ac_cv_path_SED+set}" = set; then :
4060
$as_echo_n "(cached) " >&6
4062
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4063
for ac_i in 1 2 3 4 5 6 7; do
4064
ac_script="$ac_script$as_nl$ac_script"
4066
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4067
{ ac_script=; unset ac_script;}
4068
if test -z "$SED"; then
4069
ac_path_SED_found=false
4070
# Loop through the user's path and test for each of PROGNAME-LIST
4071
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075
test -z "$as_dir" && as_dir=.
4076
for ac_prog in sed gsed; do
4077
for ac_exec_ext in '' $ac_executable_extensions; do
4078
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4079
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4080
# Check for GNU ac_path_SED and select it if it is found.
4081
# Check for GNU $ac_path_SED
4082
case `"$ac_path_SED" --version 2>&1` in
4084
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4087
$as_echo_n 0123456789 >"conftest.in"
4090
cat "conftest.in" "conftest.in" >"conftest.tmp"
4091
mv "conftest.tmp" "conftest.in"
4092
cp "conftest.in" "conftest.nl"
4093
$as_echo '' >> "conftest.nl"
4094
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4095
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4096
as_fn_arith $ac_count + 1 && ac_count=$as_val
4097
if test $ac_count -gt ${ac_path_SED_max-0}; then
4098
# Best one so far, save it but keep looking for a better one
4099
ac_cv_path_SED="$ac_path_SED"
4100
ac_path_SED_max=$ac_count
4102
# 10*(2^10) chars as input seems more than enough
4103
test $ac_count -gt 10 && break
4105
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4108
$ac_path_SED_found && break 3
4113
if test -z "$ac_cv_path_SED"; then
4114
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4122
$as_echo "$ac_cv_path_SED" >&6; }
4123
SED="$ac_cv_path_SED"
4126
test -z "$SED" && SED=sed
4127
Xsed="$SED -e 1s/^X//"
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4140
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4141
if test "${ac_cv_path_GREP+set}" = set; then :
4142
$as_echo_n "(cached) " >&6
4144
if test -z "$GREP"; then
4145
ac_path_GREP_found=false
4146
# Loop through the user's path and test for each of PROGNAME-LIST
4147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4151
test -z "$as_dir" && as_dir=.
4152
for ac_prog in grep ggrep; do
4153
for ac_exec_ext in '' $ac_executable_extensions; do
4154
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4155
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4156
# Check for GNU ac_path_GREP and select it if it is found.
4157
# Check for GNU $ac_path_GREP
4158
case `"$ac_path_GREP" --version 2>&1` in
4160
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4163
$as_echo_n 0123456789 >"conftest.in"
4166
cat "conftest.in" "conftest.in" >"conftest.tmp"
4167
mv "conftest.tmp" "conftest.in"
4168
cp "conftest.in" "conftest.nl"
4169
$as_echo 'GREP' >> "conftest.nl"
4170
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4171
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4172
as_fn_arith $ac_count + 1 && ac_count=$as_val
4173
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4174
# Best one so far, save it but keep looking for a better one
4175
ac_cv_path_GREP="$ac_path_GREP"
4176
ac_path_GREP_max=$ac_count
4178
# 10*(2^10) chars as input seems more than enough
4179
test $ac_count -gt 10 && break
4181
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4184
$ac_path_GREP_found && break 3
4189
if test -z "$ac_cv_path_GREP"; then
4190
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4193
ac_cv_path_GREP=$GREP
4197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4198
$as_echo "$ac_cv_path_GREP" >&6; }
4199
GREP="$ac_cv_path_GREP"
4202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4203
$as_echo_n "checking for egrep... " >&6; }
4204
if test "${ac_cv_path_EGREP+set}" = set; then :
4205
$as_echo_n "(cached) " >&6
4207
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4208
then ac_cv_path_EGREP="$GREP -E"
4210
if test -z "$EGREP"; then
4211
ac_path_EGREP_found=false
4212
# Loop through the user's path and test for each of PROGNAME-LIST
4213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4217
test -z "$as_dir" && as_dir=.
4218
for ac_prog in egrep; do
4219
for ac_exec_ext in '' $ac_executable_extensions; do
4220
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4221
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4222
# Check for GNU ac_path_EGREP and select it if it is found.
4223
# Check for GNU $ac_path_EGREP
4224
case `"$ac_path_EGREP" --version 2>&1` in
4226
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4229
$as_echo_n 0123456789 >"conftest.in"
4232
cat "conftest.in" "conftest.in" >"conftest.tmp"
4233
mv "conftest.tmp" "conftest.in"
4234
cp "conftest.in" "conftest.nl"
4235
$as_echo 'EGREP' >> "conftest.nl"
4236
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4237
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4238
as_fn_arith $ac_count + 1 && ac_count=$as_val
4239
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4240
# Best one so far, save it but keep looking for a better one
4241
ac_cv_path_EGREP="$ac_path_EGREP"
4242
ac_path_EGREP_max=$ac_count
4244
# 10*(2^10) chars as input seems more than enough
4245
test $ac_count -gt 10 && break
4247
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4250
$ac_path_EGREP_found && break 3
4255
if test -z "$ac_cv_path_EGREP"; then
4256
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4259
ac_cv_path_EGREP=$EGREP
4264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4265
$as_echo "$ac_cv_path_EGREP" >&6; }
4266
EGREP="$ac_cv_path_EGREP"
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4270
$as_echo_n "checking for fgrep... " >&6; }
4271
if test "${ac_cv_path_FGREP+set}" = set; then :
4272
$as_echo_n "(cached) " >&6
4274
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4275
then ac_cv_path_FGREP="$GREP -F"
4277
if test -z "$FGREP"; then
4278
ac_path_FGREP_found=false
4279
# Loop through the user's path and test for each of PROGNAME-LIST
4280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4284
test -z "$as_dir" && as_dir=.
4285
for ac_prog in fgrep; do
4286
for ac_exec_ext in '' $ac_executable_extensions; do
4287
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4288
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4289
# Check for GNU ac_path_FGREP and select it if it is found.
4290
# Check for GNU $ac_path_FGREP
4291
case `"$ac_path_FGREP" --version 2>&1` in
4293
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4296
$as_echo_n 0123456789 >"conftest.in"
4299
cat "conftest.in" "conftest.in" >"conftest.tmp"
4300
mv "conftest.tmp" "conftest.in"
4301
cp "conftest.in" "conftest.nl"
4302
$as_echo 'FGREP' >> "conftest.nl"
4303
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4304
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4305
as_fn_arith $ac_count + 1 && ac_count=$as_val
4306
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4307
# Best one so far, save it but keep looking for a better one
4308
ac_cv_path_FGREP="$ac_path_FGREP"
4309
ac_path_FGREP_max=$ac_count
4311
# 10*(2^10) chars as input seems more than enough
4312
test $ac_count -gt 10 && break
4314
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4317
$ac_path_FGREP_found && break 3
4322
if test -z "$ac_cv_path_FGREP"; then
4323
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4326
ac_cv_path_FGREP=$FGREP
4331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4332
$as_echo "$ac_cv_path_FGREP" >&6; }
4333
FGREP="$ac_cv_path_FGREP"
4336
test -z "$GREP" && GREP=grep
4356
# Check whether --with-gnu-ld was given.
4357
if test "${with_gnu_ld+set}" = set; then :
4358
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4364
if test "$GCC" = yes; then
4365
# Check if gcc -print-prog-name=ld gives a path.
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4367
$as_echo_n "checking for ld used by $CC... " >&6; }
4370
# gcc leaves a trailing carriage return which upsets mingw
4371
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4373
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4376
# Accept absolute paths.
4378
re_direlt='/[^/][^/]*/\.\./'
4379
# Canonicalize the pathname of ld
4380
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4381
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4382
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4384
test -z "$LD" && LD="$ac_prog"
4387
# If it fails, then pretend we aren't using GCC.
4391
# If it is relative, then search for the first ld in PATH.
4395
elif test "$with_gnu_ld" = yes; then
4396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4397
$as_echo_n "checking for GNU ld... " >&6; }
4399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4400
$as_echo_n "checking for non-GNU ld... " >&6; }
4402
if test "${lt_cv_path_LD+set}" = set; then :
4403
$as_echo_n "(cached) " >&6
4405
if test -z "$LD"; then
4406
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4407
for ac_dir in $PATH; do
4409
test -z "$ac_dir" && ac_dir=.
4410
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4411
lt_cv_path_LD="$ac_dir/$ac_prog"
4412
# Check to see if the program is GNU ld. I'd rather use --version,
4413
# but apparently some variants of GNU ld only accept -v.
4414
# Break only if it was the GNU/non-GNU ld that we prefer.
4415
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4416
*GNU* | *'with BFD'*)
4417
test "$with_gnu_ld" != no && break
4420
test "$with_gnu_ld" != yes && break
4427
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4432
if test -n "$LD"; then
4433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4434
$as_echo "$LD" >&6; }
4436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437
$as_echo "no" >&6; }
4439
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4441
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4442
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4443
$as_echo_n "(cached) " >&6
4445
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4446
case `$LD -v 2>&1 </dev/null` in
4447
*GNU* | *'with BFD'*)
4448
lt_cv_prog_gnu_ld=yes
4451
lt_cv_prog_gnu_ld=no
4455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4456
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4457
with_gnu_ld=$lt_cv_prog_gnu_ld
4467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4468
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4469
if test "${lt_cv_path_NM+set}" = set; then :
4470
$as_echo_n "(cached) " >&6
4472
if test -n "$NM"; then
4473
# Let the user override the test.
4476
lt_nm_to_check="${ac_tool_prefix}nm"
4477
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4478
lt_nm_to_check="$lt_nm_to_check nm"
4480
for lt_tmp_nm in $lt_nm_to_check; do
4481
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4482
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4484
test -z "$ac_dir" && ac_dir=.
4485
tmp_nm="$ac_dir/$lt_tmp_nm"
4486
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4487
# Check to see if the nm accepts a BSD-compat flag.
4488
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4489
# nm: unknown option "B" ignored
4490
# Tru64's nm complains that /dev/null is an invalid object file
4491
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4492
*/dev/null* | *'Invalid file or object type'*)
4493
lt_cv_path_NM="$tmp_nm -B"
4497
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4499
lt_cv_path_NM="$tmp_nm -p"
4503
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4504
continue # so that we can try to find one that supports BSD flags
4513
: ${lt_cv_path_NM=no}
4516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4517
$as_echo "$lt_cv_path_NM" >&6; }
4518
if test "$lt_cv_path_NM" != "no"; then
4521
# Didn't find any BSD compatible name lister, look for dumpbin.
4522
if test -n "$ac_tool_prefix"; then
4523
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4525
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4526
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528
$as_echo_n "checking for $ac_word... " >&6; }
4529
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4530
$as_echo_n "(cached) " >&6
4532
if test -n "$DUMPBIN"; then
4533
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539
test -z "$as_dir" && as_dir=.
4540
for ac_exec_ext in '' $ac_executable_extensions; do
4541
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4543
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552
DUMPBIN=$ac_cv_prog_DUMPBIN
4553
if test -n "$DUMPBIN"; then
4554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4555
$as_echo "$DUMPBIN" >&6; }
4557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558
$as_echo "no" >&6; }
4562
test -n "$DUMPBIN" && break
4565
if test -z "$DUMPBIN"; then
4566
ac_ct_DUMPBIN=$DUMPBIN
4567
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4569
# Extract the first word of "$ac_prog", so it can be a program name with args.
4570
set dummy $ac_prog; ac_word=$2
4571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572
$as_echo_n "checking for $ac_word... " >&6; }
4573
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4574
$as_echo_n "(cached) " >&6
4576
if test -n "$ac_ct_DUMPBIN"; then
4577
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583
test -z "$as_dir" && as_dir=.
4584
for ac_exec_ext in '' $ac_executable_extensions; do
4585
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4586
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4587
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4597
if test -n "$ac_ct_DUMPBIN"; then
4598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4599
$as_echo "$ac_ct_DUMPBIN" >&6; }
4601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602
$as_echo "no" >&6; }
4606
test -n "$ac_ct_DUMPBIN" && break
4609
if test "x$ac_ct_DUMPBIN" = x; then
4612
case $cross_compiling:$ac_tool_warned in
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616
ac_tool_warned=yes ;;
4618
DUMPBIN=$ac_ct_DUMPBIN
4623
if test "$DUMPBIN" != ":"; then
4627
test -z "$NM" && NM=nm
4634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4635
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4636
if test "${lt_cv_nm_interface+set}" = set; then :
4637
$as_echo_n "(cached) " >&6
4639
lt_cv_nm_interface="BSD nm"
4640
echo "int some_variable = 0;" > conftest.$ac_ext
4641
(eval echo "\"\$as_me:4641: $ac_compile\"" >&5)
4642
(eval "$ac_compile" 2>conftest.err)
4643
cat conftest.err >&5
4644
(eval echo "\"\$as_me:4644: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4645
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4646
cat conftest.err >&5
4647
(eval echo "\"\$as_me:4647: output\"" >&5)
4648
cat conftest.out >&5
4649
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4650
lt_cv_nm_interface="MS dumpbin"
4654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4655
$as_echo "$lt_cv_nm_interface" >&6; }
4657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4658
$as_echo_n "checking whether ln -s works... " >&6; }
4660
if test "$LN_S" = "ln -s"; then
4661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4662
$as_echo "yes" >&6; }
4664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4665
$as_echo "no, using $LN_S" >&6; }
4668
# find the maximum length of command line arguments
4669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4670
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4671
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4672
$as_echo_n "(cached) " >&6
4679
# On DJGPP, this test can blow up pretty badly due to problems in libc
4680
# (any single argument exceeding 2000 bytes causes a buffer overrun
4681
# during glob expansion). Even if it were fixed, the result of this
4682
# check would be larger than it should be.
4683
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4687
# Under GNU Hurd, this test is not required because there is
4688
# no limit to the length of command line arguments.
4689
# Libtool will interpret -1 as no limit whatsoever
4690
lt_cv_sys_max_cmd_len=-1;
4693
cygwin* | mingw* | cegcc*)
4694
# On Win9x/ME, this test blows up -- it succeeds, but takes
4695
# about 5 minutes as the teststring grows exponentially.
4696
# Worse, since 9x/ME are not pre-emptively multitasking,
4697
# you end up with a "frozen" computer, even though with patience
4698
# the test eventually succeeds (with a max line length of 256k).
4699
# Instead, let's just punt: use the minimum linelength reported by
4700
# all of the supported platforms: 8192 (on NT/2K/XP).
4701
lt_cv_sys_max_cmd_len=8192;
4705
# On AmigaOS with pdksh, this test takes hours, literally.
4706
# So we just punt and use a minimum line length of 8192.
4707
lt_cv_sys_max_cmd_len=8192;
4710
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4711
# This has been around since 386BSD, at least. Likely further.
4712
if test -x /sbin/sysctl; then
4713
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4714
elif test -x /usr/sbin/sysctl; then
4715
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4717
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4719
# And add a safety zone
4720
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4721
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4725
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4726
lt_cv_sys_max_cmd_len=196608
4730
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4731
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4732
# nice to cause kernel panics so lets avoid the loop below.
4733
# First set a reasonable default.
4734
lt_cv_sys_max_cmd_len=16384
4736
if test -x /sbin/sysconfig; then
4737
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4738
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4743
lt_cv_sys_max_cmd_len=102400
4745
sysv5* | sco5v6* | sysv4.2uw2*)
4746
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4747
if test -n "$kargmax"; then
4748
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4750
lt_cv_sys_max_cmd_len=32768
4754
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4755
if test -n "$lt_cv_sys_max_cmd_len"; then
4756
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4757
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4759
# Make teststring a little bigger before we do anything with it.
4760
# a 1K string should be a reasonable start.
4761
for i in 1 2 3 4 5 6 7 8 ; do
4762
teststring=$teststring$teststring
4764
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4765
# If test is not a shell built-in, we'll probably end up computing a
4766
# maximum length that is only half of the actual maximum length, but
4768
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4769
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4770
test $i != 17 # 1/2 MB should be enough
4773
teststring=$teststring$teststring
4775
# Only check the string length outside the loop.
4776
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4778
# Add a significant safety factor because C++ compilers can tack on
4779
# massive amounts of additional arguments before passing them to the
4780
# linker. It appears as though 1/2 is a usable value.
4781
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4788
if test -n $lt_cv_sys_max_cmd_len ; then
4789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4790
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4793
$as_echo "none" >&6; }
4795
max_cmd_len=$lt_cv_sys_max_cmd_len
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4807
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4808
# Try some XSI features
4811
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4813
&& eval 'test $(( 1 + 1 )) -eq 2 \
4814
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4817
$as_echo "$xsi_shell" >&6; }
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4821
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4823
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4825
&& lt_shell_append=yes
4826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4827
$as_echo "$lt_shell_append" >&6; }
4830
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4840
# test EBCDIC or ASCII
4841
case `echo X|tr X '\101'` in
4842
A) # ASCII based system
4843
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4844
lt_SP2NL='tr \040 \012'
4845
lt_NL2SP='tr \015\012 \040\040'
4847
*) # EBCDIC based system
4848
lt_SP2NL='tr \100 \n'
4849
lt_NL2SP='tr \r\n \100\100'
4861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4862
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4863
if test "${lt_cv_ld_reload_flag+set}" = set; then :
4864
$as_echo_n "(cached) " >&6
4866
lt_cv_ld_reload_flag='-r'
4868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4869
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4870
reload_flag=$lt_cv_ld_reload_flag
4871
case $reload_flag in
4873
*) reload_flag=" $reload_flag" ;;
4875
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4878
if test "$GCC" = yes; then
4879
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4881
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4894
if test -n "$ac_tool_prefix"; then
4895
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4896
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898
$as_echo_n "checking for $ac_word... " >&6; }
4899
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4900
$as_echo_n "(cached) " >&6
4902
if test -n "$OBJDUMP"; then
4903
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909
test -z "$as_dir" && as_dir=.
4910
for ac_exec_ext in '' $ac_executable_extensions; do
4911
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4913
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922
OBJDUMP=$ac_cv_prog_OBJDUMP
4923
if test -n "$OBJDUMP"; then
4924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4925
$as_echo "$OBJDUMP" >&6; }
4927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928
$as_echo "no" >&6; }
4933
if test -z "$ac_cv_prog_OBJDUMP"; then
4934
ac_ct_OBJDUMP=$OBJDUMP
4935
# Extract the first word of "objdump", so it can be a program name with args.
4936
set dummy objdump; ac_word=$2
4937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938
$as_echo_n "checking for $ac_word... " >&6; }
4939
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4940
$as_echo_n "(cached) " >&6
4942
if test -n "$ac_ct_OBJDUMP"; then
4943
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949
test -z "$as_dir" && as_dir=.
4950
for ac_exec_ext in '' $ac_executable_extensions; do
4951
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4953
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4963
if test -n "$ac_ct_OBJDUMP"; then
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4965
$as_echo "$ac_ct_OBJDUMP" >&6; }
4967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968
$as_echo "no" >&6; }
4971
if test "x$ac_ct_OBJDUMP" = x; then
4974
case $cross_compiling:$ac_tool_warned in
4976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978
ac_tool_warned=yes ;;
4980
OBJDUMP=$ac_ct_OBJDUMP
4983
OBJDUMP="$ac_cv_prog_OBJDUMP"
4986
test -z "$OBJDUMP" && OBJDUMP=objdump
4996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4997
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4998
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4999
$as_echo_n "(cached) " >&6
5001
lt_cv_file_magic_cmd='$MAGIC_CMD'
5002
lt_cv_file_magic_test_file=
5003
lt_cv_deplibs_check_method='unknown'
5004
# Need to set the preceding variable on all platforms that support
5005
# interlibrary dependencies.
5006
# 'none' -- dependencies not supported.
5007
# `unknown' -- same as none, but documents that we really don't know.
5008
# 'pass_all' -- all dependencies passed with no checks.
5009
# 'test_compile' -- check by making test program.
5010
# 'file_magic [[regex]]' -- check by looking for files in library path
5011
# which responds to the $file_magic_cmd with a given extended regex.
5012
# If you have `file' or equivalent on your system and you're not sure
5013
# whether `pass_all' will *always* work, you probably want this one.
5017
lt_cv_deplibs_check_method=pass_all
5021
lt_cv_deplibs_check_method=pass_all
5025
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5026
lt_cv_file_magic_cmd='/usr/bin/file -L'
5027
lt_cv_file_magic_test_file=/shlib/libc.so
5031
# func_win32_libid is a shell function defined in ltmain.sh
5032
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5033
lt_cv_file_magic_cmd='func_win32_libid'
5037
# Base MSYS/MinGW do not provide the 'file' command needed by
5038
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5039
# unless we find 'file', for example because we are cross-compiling.
5040
if ( file / ) >/dev/null 2>&1; then
5041
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5042
lt_cv_file_magic_cmd='func_win32_libid'
5044
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5045
lt_cv_file_magic_cmd='$OBJDUMP -f'
5050
# use the weaker test based on 'objdump'. See mingw*.
5051
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5052
lt_cv_file_magic_cmd='$OBJDUMP -f'
5055
darwin* | rhapsody*)
5056
lt_cv_deplibs_check_method=pass_all
5059
freebsd* | dragonfly*)
5060
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5063
# Not sure whether the presence of OpenBSD here was a mistake.
5064
# Let's accept both of them until this is cleared up.
5065
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5066
lt_cv_file_magic_cmd=/usr/bin/file
5067
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5071
lt_cv_deplibs_check_method=pass_all
5076
lt_cv_deplibs_check_method=pass_all
5079
hpux10.20* | hpux11*)
5080
lt_cv_file_magic_cmd=/usr/bin/file
5083
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5084
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5087
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5088
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5091
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5092
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5098
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5099
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5102
irix5* | irix6* | nonstopux*)
5104
*-32|*"-32 ") libmagic=32-bit;;
5105
*-n32|*"-n32 ") libmagic=N32;;
5106
*-64|*"-64 ") libmagic=64-bit;;
5107
*) libmagic=never-match;;
5109
lt_cv_deplibs_check_method=pass_all
5112
# This must be Linux ELF.
5113
linux* | k*bsd*-gnu)
5114
lt_cv_deplibs_check_method=pass_all
5118
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5119
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5121
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5126
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5127
lt_cv_file_magic_cmd=/usr/bin/file
5128
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5132
lt_cv_deplibs_check_method=pass_all
5136
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5137
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5139
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5143
osf3* | osf4* | osf5*)
5144
lt_cv_deplibs_check_method=pass_all
5148
lt_cv_deplibs_check_method=pass_all
5152
lt_cv_deplibs_check_method=pass_all
5155
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5156
lt_cv_deplibs_check_method=pass_all
5160
case $host_vendor in
5162
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]'
5163
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5166
lt_cv_deplibs_check_method=pass_all
5169
lt_cv_file_magic_cmd='/bin/file'
5170
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5173
lt_cv_file_magic_cmd='/bin/file'
5174
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5175
lt_cv_file_magic_test_file=/lib/libc.so
5178
lt_cv_deplibs_check_method=pass_all
5181
lt_cv_deplibs_check_method=pass_all
5187
lt_cv_deplibs_check_method=pass_all
5192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5193
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5194
file_magic_cmd=$lt_cv_file_magic_cmd
5195
deplibs_check_method=$lt_cv_deplibs_check_method
5196
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5209
if test -n "$ac_tool_prefix"; then
5210
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5211
set dummy ${ac_tool_prefix}ar; ac_word=$2
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213
$as_echo_n "checking for $ac_word... " >&6; }
5214
if test "${ac_cv_prog_AR+set}" = set; then :
5215
$as_echo_n "(cached) " >&6
5217
if test -n "$AR"; then
5218
ac_cv_prog_AR="$AR" # Let the user override the test.
5220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224
test -z "$as_dir" && as_dir=.
5225
for ac_exec_ext in '' $ac_executable_extensions; do
5226
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227
ac_cv_prog_AR="${ac_tool_prefix}ar"
5228
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238
if test -n "$AR"; then
5239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5240
$as_echo "$AR" >&6; }
5242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243
$as_echo "no" >&6; }
5248
if test -z "$ac_cv_prog_AR"; then
5250
# Extract the first word of "ar", so it can be a program name with args.
5251
set dummy ar; ac_word=$2
5252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253
$as_echo_n "checking for $ac_word... " >&6; }
5254
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5255
$as_echo_n "(cached) " >&6
5257
if test -n "$ac_ct_AR"; then
5258
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264
test -z "$as_dir" && as_dir=.
5265
for ac_exec_ext in '' $ac_executable_extensions; do
5266
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5267
ac_cv_prog_ac_ct_AR="ar"
5268
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5278
if test -n "$ac_ct_AR"; then
5279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5280
$as_echo "$ac_ct_AR" >&6; }
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283
$as_echo "no" >&6; }
5286
if test "x$ac_ct_AR" = x; then
5289
case $cross_compiling:$ac_tool_warned in
5291
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5292
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5293
ac_tool_warned=yes ;;
5301
test -z "$AR" && AR=ar
5302
test -z "$AR_FLAGS" && AR_FLAGS=cru
5314
if test -n "$ac_tool_prefix"; then
5315
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5316
set dummy ${ac_tool_prefix}strip; ac_word=$2
5317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318
$as_echo_n "checking for $ac_word... " >&6; }
5319
if test "${ac_cv_prog_STRIP+set}" = set; then :
5320
$as_echo_n "(cached) " >&6
5322
if test -n "$STRIP"; then
5323
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329
test -z "$as_dir" && as_dir=.
5330
for ac_exec_ext in '' $ac_executable_extensions; do
5331
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5332
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5333
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342
STRIP=$ac_cv_prog_STRIP
5343
if test -n "$STRIP"; then
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5345
$as_echo "$STRIP" >&6; }
5347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348
$as_echo "no" >&6; }
5353
if test -z "$ac_cv_prog_STRIP"; then
5355
# Extract the first word of "strip", so it can be a program name with args.
5356
set dummy strip; ac_word=$2
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358
$as_echo_n "checking for $ac_word... " >&6; }
5359
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5360
$as_echo_n "(cached) " >&6
5362
if test -n "$ac_ct_STRIP"; then
5363
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369
test -z "$as_dir" && as_dir=.
5370
for ac_exec_ext in '' $ac_executable_extensions; do
5371
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372
ac_cv_prog_ac_ct_STRIP="strip"
5373
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5382
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5383
if test -n "$ac_ct_STRIP"; then
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5385
$as_echo "$ac_ct_STRIP" >&6; }
5387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388
$as_echo "no" >&6; }
5391
if test "x$ac_ct_STRIP" = x; then
5394
case $cross_compiling:$ac_tool_warned in
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5397
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5398
ac_tool_warned=yes ;;
5403
STRIP="$ac_cv_prog_STRIP"
5406
test -z "$STRIP" && STRIP=:
5413
if test -n "$ac_tool_prefix"; then
5414
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5415
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417
$as_echo_n "checking for $ac_word... " >&6; }
5418
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5419
$as_echo_n "(cached) " >&6
5421
if test -n "$RANLIB"; then
5422
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428
test -z "$as_dir" && as_dir=.
5429
for ac_exec_ext in '' $ac_executable_extensions; do
5430
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5431
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5432
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441
RANLIB=$ac_cv_prog_RANLIB
5442
if test -n "$RANLIB"; then
5443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5444
$as_echo "$RANLIB" >&6; }
5446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447
$as_echo "no" >&6; }
5452
if test -z "$ac_cv_prog_RANLIB"; then
5453
ac_ct_RANLIB=$RANLIB
5454
# Extract the first word of "ranlib", so it can be a program name with args.
5455
set dummy ranlib; ac_word=$2
5456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457
$as_echo_n "checking for $ac_word... " >&6; }
5458
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5459
$as_echo_n "(cached) " >&6
5461
if test -n "$ac_ct_RANLIB"; then
5462
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468
test -z "$as_dir" && as_dir=.
5469
for ac_exec_ext in '' $ac_executable_extensions; do
5470
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471
ac_cv_prog_ac_ct_RANLIB="ranlib"
5472
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5482
if test -n "$ac_ct_RANLIB"; then
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5484
$as_echo "$ac_ct_RANLIB" >&6; }
5486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487
$as_echo "no" >&6; }
5490
if test "x$ac_ct_RANLIB" = x; then
5493
case $cross_compiling:$ac_tool_warned in
5495
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5496
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5497
ac_tool_warned=yes ;;
5499
RANLIB=$ac_ct_RANLIB
5502
RANLIB="$ac_cv_prog_RANLIB"
5505
test -z "$RANLIB" && RANLIB=:
5512
# Determine commands to create old-style static archives.
5513
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5514
old_postinstall_cmds='chmod 644 $oldlib'
5515
old_postuninstall_cmds=
5517
if test -n "$RANLIB"; then
5520
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5523
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5526
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5562
# If no C compiler was specified, use CC.
5565
# If no C compiler flags were specified, use CFLAGS.
5566
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5568
# Allow CC to be a program name with arguments.
5572
# Check for command to grab the raw symbol name followed by C symbol from nm.
5573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5574
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5575
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5576
$as_echo_n "(cached) " >&6
5579
# These are sane defaults that work on at least a few old systems.
5580
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5582
# Character class describing NM global symbol codes.
5583
symcode='[BCDEGRST]'
5585
# Regexp to match symbols that can be accessed directly from C.
5586
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5588
# Define system-specific variables.
5593
cygwin* | mingw* | pw32* | cegcc*)
5594
symcode='[ABCDGISTW]'
5597
if test "$host_cpu" = ia64; then
5598
symcode='[ABCDEGRST]'
5602
symcode='[BCDEGRST]'
5605
symcode='[BCDEGQRST]'
5616
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5624
# If we're using GNU nm, then use its standard symbol codes.
5625
case `$NM -V 2>&1` in
5626
*GNU* | *'with BFD'*)
5627
symcode='[ABCDGIRSTW]' ;;
5630
# Transform an extracted symbol line into a proper C declaration.
5631
# Some systems (esp. on ia64) link data and code symbols differently,
5632
# so use this general approach.
5633
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5635
# Transform an extracted symbol line into symbol name and symbol address
5636
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5637
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'"
5639
# Handle CRLF in mingw tool chain
5643
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5647
# Try without a prefix underscore, then with it.
5648
for ac_symprfx in "" "_"; do
5650
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5651
symxfrm="\\1 $ac_symprfx\\2 \\2"
5653
# Write the raw and C identifiers.
5654
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5655
# Fake it for dumpbin and say T for any non-static function
5656
# and D for any global variable.
5657
# Also find C++ and __fastcall symbols from MSVC++,
5658
# which start with @ or ?.
5659
lt_cv_sys_global_symbol_pipe="$AWK '"\
5660
" {last_section=section; section=\$ 3};"\
5661
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5662
" \$ 0!~/External *\|/{next};"\
5663
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5664
" {if(hide[section]) next};"\
5665
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5666
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5667
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5668
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5669
" ' prfx=^$ac_symprfx"
5671
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5674
# Check to see that the pipe works correctly.
5678
cat > conftest.$ac_ext <<_LT_EOF
5683
void nm_test_func(void);
5684
void nm_test_func(void){}
5688
int main(){nm_test_var='a';nm_test_func();return(0);}
5691
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5692
(eval $ac_compile) 2>&5
5694
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5695
test $ac_status = 0; }; then
5696
# Now try to grab the symbols.
5698
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5699
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5701
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5702
test $ac_status = 0; } && test -s "$nlist"; then
5703
# Try sorting and uniquifying the output.
5704
if sort "$nlist" | uniq > "$nlist"T; then
5705
mv -f "$nlist"T "$nlist"
5710
# Make sure that we snagged all the symbols we need.
5711
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5712
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5713
cat <<_LT_EOF > conftest.$ac_ext
5719
# Now generate the symbol file.
5720
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5722
cat <<_LT_EOF >> conftest.$ac_ext
5724
/* The mapping between symbol names and symbols. */
5729
lt__PROGRAM__LTX_preloaded_symbols[] =
5731
{ "@PROGRAM@", (void *) 0 },
5733
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5734
cat <<\_LT_EOF >> conftest.$ac_ext
5738
/* This works around a problem in FreeBSD linker */
5739
#ifdef FREEBSD_WORKAROUND
5740
static const void *lt_preloaded_setup() {
5741
return lt__PROGRAM__LTX_preloaded_symbols;
5749
# Now try linking the two files.
5750
mv conftest.$ac_objext conftstm.$ac_objext
5751
lt_save_LIBS="$LIBS"
5752
lt_save_CFLAGS="$CFLAGS"
5753
LIBS="conftstm.$ac_objext"
5754
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5755
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5756
(eval $ac_link) 2>&5
5758
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5759
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5762
LIBS="$lt_save_LIBS"
5763
CFLAGS="$lt_save_CFLAGS"
5765
echo "cannot find nm_test_func in $nlist" >&5
5768
echo "cannot find nm_test_var in $nlist" >&5
5771
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5774
echo "$progname: failed program was:" >&5
5775
cat conftest.$ac_ext >&5
5777
rm -rf conftest* conftst*
5779
# Do not use the global_symbol_pipe unless it works.
5780
if test "$pipe_works" = yes; then
5783
lt_cv_sys_global_symbol_pipe=
5789
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5790
lt_cv_sys_global_symbol_to_cdecl=
5792
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5794
$as_echo "failed" >&6; }
5796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5797
$as_echo "ok" >&6; }
5822
# Check whether --enable-libtool-lock was given.
5823
if test "${enable_libtool_lock+set}" = set; then :
5824
enableval=$enable_libtool_lock;
5827
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5829
# Some flags need to be propagated to the compiler or linker for good
5833
# Find out which ABI we are using.
5834
echo 'int i;' > conftest.$ac_ext
5835
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5836
(eval $ac_compile) 2>&5
5838
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5839
test $ac_status = 0; }; then
5840
case `/usr/bin/file conftest.$ac_objext` in
5852
# Find out which ABI we are using.
5853
echo '#line 5853 "configure"' > conftest.$ac_ext
5854
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5855
(eval $ac_compile) 2>&5
5857
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5858
test $ac_status = 0; }; then
5859
if test "$lt_cv_prog_gnu_ld" = yes; then
5860
case `/usr/bin/file conftest.$ac_objext` in
5862
LD="${LD-ld} -melf32bsmip"
5865
LD="${LD-ld} -melf32bmipn32"
5868
LD="${LD-ld} -melf64bmip"
5872
case `/usr/bin/file conftest.$ac_objext` in
5888
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5889
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5890
# Find out which ABI we are using.
5891
echo 'int i;' > conftest.$ac_ext
5892
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5893
(eval $ac_compile) 2>&5
5895
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5896
test $ac_status = 0; }; then
5897
case `/usr/bin/file conftest.o` in
5900
x86_64-*kfreebsd*-gnu)
5901
LD="${LD-ld} -m elf_i386_fbsd"
5904
LD="${LD-ld} -m elf_i386"
5906
ppc64-*linux*|powerpc64-*linux*)
5907
LD="${LD-ld} -m elf32ppclinux"
5910
LD="${LD-ld} -m elf_s390"
5913
LD="${LD-ld} -m elf32_sparc"
5919
x86_64-*kfreebsd*-gnu)
5920
LD="${LD-ld} -m elf_x86_64_fbsd"
5923
LD="${LD-ld} -m elf_x86_64"
5925
ppc*-*linux*|powerpc*-*linux*)
5926
LD="${LD-ld} -m elf64ppc"
5928
s390*-*linux*|s390*-*tpf*)
5929
LD="${LD-ld} -m elf64_s390"
5932
LD="${LD-ld} -m elf64_sparc"
5942
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5943
SAVE_CFLAGS="$CFLAGS"
5944
CFLAGS="$CFLAGS -belf"
5945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5946
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5947
if test "${lt_cv_cc_needs_belf+set}" = set; then :
5948
$as_echo_n "(cached) " >&6
5951
ac_cpp='$CPP $CPPFLAGS'
5952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5956
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5957
/* end confdefs.h. */
5967
if ac_fn_c_try_link "$LINENO"; then :
5968
lt_cv_cc_needs_belf=yes
5970
lt_cv_cc_needs_belf=no
5972
rm -f core conftest.err conftest.$ac_objext \
5973
conftest$ac_exeext conftest.$ac_ext
5975
ac_cpp='$CPP $CPPFLAGS'
5976
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5977
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5978
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5982
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5983
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5984
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5985
CFLAGS="$SAVE_CFLAGS"
5989
# Find out which ABI we are using.
5990
echo 'int i;' > conftest.$ac_ext
5991
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5992
(eval $ac_compile) 2>&5
5994
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5995
test $ac_status = 0; }; then
5996
case `/usr/bin/file conftest.o` in
5998
case $lt_cv_prog_gnu_ld in
5999
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6001
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6013
need_locks="$enable_libtool_lock"
6017
rhapsody* | darwin*)
6018
if test -n "$ac_tool_prefix"; then
6019
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6020
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022
$as_echo_n "checking for $ac_word... " >&6; }
6023
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6024
$as_echo_n "(cached) " >&6
6026
if test -n "$DSYMUTIL"; then
6027
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033
test -z "$as_dir" && as_dir=.
6034
for ac_exec_ext in '' $ac_executable_extensions; do
6035
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6037
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6047
if test -n "$DSYMUTIL"; then
6048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6049
$as_echo "$DSYMUTIL" >&6; }
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052
$as_echo "no" >&6; }
6057
if test -z "$ac_cv_prog_DSYMUTIL"; then
6058
ac_ct_DSYMUTIL=$DSYMUTIL
6059
# Extract the first word of "dsymutil", so it can be a program name with args.
6060
set dummy dsymutil; ac_word=$2
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062
$as_echo_n "checking for $ac_word... " >&6; }
6063
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6064
$as_echo_n "(cached) " >&6
6066
if test -n "$ac_ct_DSYMUTIL"; then
6067
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073
test -z "$as_dir" && as_dir=.
6074
for ac_exec_ext in '' $ac_executable_extensions; do
6075
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6077
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6087
if test -n "$ac_ct_DSYMUTIL"; then
6088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6089
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092
$as_echo "no" >&6; }
6095
if test "x$ac_ct_DSYMUTIL" = x; then
6098
case $cross_compiling:$ac_tool_warned in
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102
ac_tool_warned=yes ;;
6104
DSYMUTIL=$ac_ct_DSYMUTIL
6107
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6110
if test -n "$ac_tool_prefix"; then
6111
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6112
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114
$as_echo_n "checking for $ac_word... " >&6; }
6115
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6116
$as_echo_n "(cached) " >&6
6118
if test -n "$NMEDIT"; then
6119
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125
test -z "$as_dir" && as_dir=.
6126
for ac_exec_ext in '' $ac_executable_extensions; do
6127
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6129
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138
NMEDIT=$ac_cv_prog_NMEDIT
6139
if test -n "$NMEDIT"; then
6140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6141
$as_echo "$NMEDIT" >&6; }
6143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144
$as_echo "no" >&6; }
6149
if test -z "$ac_cv_prog_NMEDIT"; then
6150
ac_ct_NMEDIT=$NMEDIT
6151
# Extract the first word of "nmedit", so it can be a program name with args.
6152
set dummy nmedit; ac_word=$2
6153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154
$as_echo_n "checking for $ac_word... " >&6; }
6155
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6156
$as_echo_n "(cached) " >&6
6158
if test -n "$ac_ct_NMEDIT"; then
6159
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165
test -z "$as_dir" && as_dir=.
6166
for ac_exec_ext in '' $ac_executable_extensions; do
6167
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6168
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6169
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6179
if test -n "$ac_ct_NMEDIT"; then
6180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6181
$as_echo "$ac_ct_NMEDIT" >&6; }
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184
$as_echo "no" >&6; }
6187
if test "x$ac_ct_NMEDIT" = x; then
6190
case $cross_compiling:$ac_tool_warned in
6192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6193
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6194
ac_tool_warned=yes ;;
6196
NMEDIT=$ac_ct_NMEDIT
6199
NMEDIT="$ac_cv_prog_NMEDIT"
6202
if test -n "$ac_tool_prefix"; then
6203
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6204
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206
$as_echo_n "checking for $ac_word... " >&6; }
6207
if test "${ac_cv_prog_LIPO+set}" = set; then :
6208
$as_echo_n "(cached) " >&6
6210
if test -n "$LIPO"; then
6211
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217
test -z "$as_dir" && as_dir=.
6218
for ac_exec_ext in '' $ac_executable_extensions; do
6219
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6220
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6221
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230
LIPO=$ac_cv_prog_LIPO
6231
if test -n "$LIPO"; then
6232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6233
$as_echo "$LIPO" >&6; }
6235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236
$as_echo "no" >&6; }
6241
if test -z "$ac_cv_prog_LIPO"; then
6243
# Extract the first word of "lipo", so it can be a program name with args.
6244
set dummy lipo; ac_word=$2
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246
$as_echo_n "checking for $ac_word... " >&6; }
6247
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6248
$as_echo_n "(cached) " >&6
6250
if test -n "$ac_ct_LIPO"; then
6251
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257
test -z "$as_dir" && as_dir=.
6258
for ac_exec_ext in '' $ac_executable_extensions; do
6259
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260
ac_cv_prog_ac_ct_LIPO="lipo"
6261
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6271
if test -n "$ac_ct_LIPO"; then
6272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6273
$as_echo "$ac_ct_LIPO" >&6; }
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276
$as_echo "no" >&6; }
6279
if test "x$ac_ct_LIPO" = x; then
6282
case $cross_compiling:$ac_tool_warned in
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6285
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6286
ac_tool_warned=yes ;;
6291
LIPO="$ac_cv_prog_LIPO"
6294
if test -n "$ac_tool_prefix"; then
6295
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6296
set dummy ${ac_tool_prefix}otool; ac_word=$2
6297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298
$as_echo_n "checking for $ac_word... " >&6; }
6299
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6300
$as_echo_n "(cached) " >&6
6302
if test -n "$OTOOL"; then
6303
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309
test -z "$as_dir" && as_dir=.
6310
for ac_exec_ext in '' $ac_executable_extensions; do
6311
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6313
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322
OTOOL=$ac_cv_prog_OTOOL
6323
if test -n "$OTOOL"; then
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6325
$as_echo "$OTOOL" >&6; }
6327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328
$as_echo "no" >&6; }
6333
if test -z "$ac_cv_prog_OTOOL"; then
6335
# Extract the first word of "otool", so it can be a program name with args.
6336
set dummy otool; ac_word=$2
6337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338
$as_echo_n "checking for $ac_word... " >&6; }
6339
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6340
$as_echo_n "(cached) " >&6
6342
if test -n "$ac_ct_OTOOL"; then
6343
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349
test -z "$as_dir" && as_dir=.
6350
for ac_exec_ext in '' $ac_executable_extensions; do
6351
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352
ac_cv_prog_ac_ct_OTOOL="otool"
6353
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6363
if test -n "$ac_ct_OTOOL"; then
6364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6365
$as_echo "$ac_ct_OTOOL" >&6; }
6367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368
$as_echo "no" >&6; }
6371
if test "x$ac_ct_OTOOL" = x; then
6374
case $cross_compiling:$ac_tool_warned in
6376
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6377
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6378
ac_tool_warned=yes ;;
6383
OTOOL="$ac_cv_prog_OTOOL"
6386
if test -n "$ac_tool_prefix"; then
6387
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6388
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390
$as_echo_n "checking for $ac_word... " >&6; }
6391
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6392
$as_echo_n "(cached) " >&6
6394
if test -n "$OTOOL64"; then
6395
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6401
test -z "$as_dir" && as_dir=.
6402
for ac_exec_ext in '' $ac_executable_extensions; do
6403
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6405
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414
OTOOL64=$ac_cv_prog_OTOOL64
6415
if test -n "$OTOOL64"; then
6416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6417
$as_echo "$OTOOL64" >&6; }
6419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420
$as_echo "no" >&6; }
6425
if test -z "$ac_cv_prog_OTOOL64"; then
6426
ac_ct_OTOOL64=$OTOOL64
6427
# Extract the first word of "otool64", so it can be a program name with args.
6428
set dummy otool64; ac_word=$2
6429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430
$as_echo_n "checking for $ac_word... " >&6; }
6431
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6432
$as_echo_n "(cached) " >&6
6434
if test -n "$ac_ct_OTOOL64"; then
6435
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6437
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441
test -z "$as_dir" && as_dir=.
6442
for ac_exec_ext in '' $ac_executable_extensions; do
6443
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444
ac_cv_prog_ac_ct_OTOOL64="otool64"
6445
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6455
if test -n "$ac_ct_OTOOL64"; then
6456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6457
$as_echo "$ac_ct_OTOOL64" >&6; }
6459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460
$as_echo "no" >&6; }
6463
if test "x$ac_ct_OTOOL64" = x; then
6466
case $cross_compiling:$ac_tool_warned in
6468
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6469
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6470
ac_tool_warned=yes ;;
6472
OTOOL64=$ac_ct_OTOOL64
6475
OTOOL64="$ac_cv_prog_OTOOL64"
6504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6505
$as_echo_n "checking for -single_module linker flag... " >&6; }
6506
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6507
$as_echo_n "(cached) " >&6
6509
lt_cv_apple_cc_single_mod=no
6510
if test -z "${LT_MULTI_MODULE}"; then
6511
# By default we will add the -single_module flag. You can override
6512
# by either setting the environment variable LT_MULTI_MODULE
6513
# non-empty at configure time, or by adding -multi_module to the
6515
rm -rf libconftest.dylib*
6516
echo "int foo(void){return 1;}" > conftest.c
6517
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6518
-dynamiclib -Wl,-single_module conftest.c" >&5
6519
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6520
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6522
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6523
lt_cv_apple_cc_single_mod=yes
6525
cat conftest.err >&5
6527
rm -rf libconftest.dylib*
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6532
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6534
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6535
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6536
$as_echo_n "(cached) " >&6
6538
lt_cv_ld_exported_symbols_list=no
6539
save_LDFLAGS=$LDFLAGS
6540
echo "_main" > conftest.sym
6541
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6542
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6543
/* end confdefs.h. */
6553
if ac_fn_c_try_link "$LINENO"; then :
6554
lt_cv_ld_exported_symbols_list=yes
6556
lt_cv_ld_exported_symbols_list=no
6558
rm -f core conftest.err conftest.$ac_objext \
6559
conftest$ac_exeext conftest.$ac_ext
6560
LDFLAGS="$save_LDFLAGS"
6563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6564
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6566
rhapsody* | darwin1.[012])
6567
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6569
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6570
darwin*) # darwin 5.x on
6571
# if running on 10.5 or later, the deployment target defaults
6572
# to the OS version, if on x86, and 10.4, the deployment
6573
# target defaults to 10.4. Don't you love it?
6574
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6575
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6576
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6578
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6580
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6584
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6585
_lt_dar_single_mod='$single_module'
6587
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6588
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6590
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6592
if test "$DSYMUTIL" != ":"; then
6593
_lt_dsymutil='~$DSYMUTIL $lib || :'
6601
ac_cpp='$CPP $CPPFLAGS'
6602
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6606
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6607
# On Suns, sometimes $CPP names a directory.
6608
if test -n "$CPP" && test -d "$CPP"; then
6611
if test -z "$CPP"; then
6612
if test "${ac_cv_prog_CPP+set}" = set; then :
6613
$as_echo_n "(cached) " >&6
6615
# Double quotes because CPP needs to be expanded
6616
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6619
for ac_c_preproc_warn_flag in '' yes
6621
# Use a header file that comes with gcc, so configuring glibc
6622
# with a fresh cross-compiler works.
6623
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6624
# <limits.h> exists even on freestanding compilers.
6625
# On the NeXT, cc -E runs the code through the compiler's parser,
6626
# not just through cpp. "Syntax error" is here to catch this case.
6627
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628
/* end confdefs.h. */
6630
# include <limits.h>
6632
# include <assert.h>
6636
if ac_fn_c_try_cpp "$LINENO"; then :
6639
# Broken: fails on valid input.
6642
rm -f conftest.err conftest.$ac_ext
6644
# OK, works on sane cases. Now check whether nonexistent headers
6645
# can be detected and how.
6646
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647
/* end confdefs.h. */
6648
#include <ac_nonexistent.h>
6650
if ac_fn_c_try_cpp "$LINENO"; then :
6651
# Broken: success on invalid input.
6654
# Passes both tests.
6658
rm -f conftest.err conftest.$ac_ext
6661
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6662
rm -f conftest.err conftest.$ac_ext
6663
if $ac_preproc_ok; then :
6675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6676
$as_echo "$CPP" >&6; }
6678
for ac_c_preproc_warn_flag in '' yes
6680
# Use a header file that comes with gcc, so configuring glibc
6681
# with a fresh cross-compiler works.
6682
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6683
# <limits.h> exists even on freestanding compilers.
6684
# On the NeXT, cc -E runs the code through the compiler's parser,
6685
# not just through cpp. "Syntax error" is here to catch this case.
6686
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687
/* end confdefs.h. */
6689
# include <limits.h>
6691
# include <assert.h>
6695
if ac_fn_c_try_cpp "$LINENO"; then :
6698
# Broken: fails on valid input.
6701
rm -f conftest.err conftest.$ac_ext
6703
# OK, works on sane cases. Now check whether nonexistent headers
6704
# can be detected and how.
6705
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706
/* end confdefs.h. */
6707
#include <ac_nonexistent.h>
6709
if ac_fn_c_try_cpp "$LINENO"; then :
6710
# Broken: success on invalid input.
6713
# Passes both tests.
6717
rm -f conftest.err conftest.$ac_ext
6720
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6721
rm -f conftest.err conftest.$ac_ext
6722
if $ac_preproc_ok; then :
6725
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6726
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6727
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6728
See \`config.log' for more details." "$LINENO" 5; }
6732
ac_cpp='$CPP $CPPFLAGS'
6733
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6734
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6735
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6739
$as_echo_n "checking for ANSI C header files... " >&6; }
6740
if test "${ac_cv_header_stdc+set}" = set; then :
6741
$as_echo_n "(cached) " >&6
6743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744
/* end confdefs.h. */
6758
if ac_fn_c_try_compile "$LINENO"; then :
6759
ac_cv_header_stdc=yes
6761
ac_cv_header_stdc=no
6763
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6765
if test $ac_cv_header_stdc = yes; then
6766
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768
/* end confdefs.h. */
6772
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6773
$EGREP "memchr" >/dev/null 2>&1; then :
6776
ac_cv_header_stdc=no
6782
if test $ac_cv_header_stdc = yes; then
6783
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6784
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785
/* end confdefs.h. */
6789
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6790
$EGREP "free" >/dev/null 2>&1; then :
6793
ac_cv_header_stdc=no
6799
if test $ac_cv_header_stdc = yes; then
6800
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6801
if test "$cross_compiling" = yes; then :
6804
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6805
/* end confdefs.h. */
6808
#if ((' ' & 0x0FF) == 0x020)
6809
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6810
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6812
# define ISLOWER(c) \
6813
(('a' <= (c) && (c) <= 'i') \
6814
|| ('j' <= (c) && (c) <= 'r') \
6815
|| ('s' <= (c) && (c) <= 'z'))
6816
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6819
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6824
for (i = 0; i < 256; i++)
6825
if (XOR (islower (i), ISLOWER (i))
6826
|| toupper (i) != TOUPPER (i))
6831
if ac_fn_c_try_run "$LINENO"; then :
6834
ac_cv_header_stdc=no
6836
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6837
conftest.$ac_objext conftest.beam conftest.$ac_ext
6842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6843
$as_echo "$ac_cv_header_stdc" >&6; }
6844
if test $ac_cv_header_stdc = yes; then
6846
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6850
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6851
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6852
inttypes.h stdint.h unistd.h
6854
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6855
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6857
eval as_val=\$$as_ac_Header
6858
if test "x$as_val" = x""yes; then :
6859
cat >>confdefs.h <<_ACEOF
6860
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6868
for ac_header in dlfcn.h
6870
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6872
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6873
cat >>confdefs.h <<_ACEOF
6874
#define HAVE_DLFCN_H 1
6893
# Check whether --enable-shared was given.
6894
if test "${enable_shared+set}" = set; then :
6895
enableval=$enable_shared; p=${PACKAGE-default}
6897
yes) enable_shared=yes ;;
6898
no) enable_shared=no ;;
6901
# Look at the argument we got. We use all the common list separators.
6902
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6903
for pkg in $enableval; do
6905
if test "X$pkg" = "X$p"; then
6924
# Check whether --enable-static was given.
6925
if test "${enable_static+set}" = set; then :
6926
enableval=$enable_static; p=${PACKAGE-default}
6928
yes) enable_static=yes ;;
6929
no) enable_static=no ;;
6932
# Look at the argument we got. We use all the common list separators.
6933
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6934
for pkg in $enableval; do
6936
if test "X$pkg" = "X$p"; then
6956
# Check whether --with-pic was given.
6957
if test "${with_pic+set}" = set; then :
6958
withval=$with_pic; pic_mode="$withval"
6964
test -z "$pic_mode" && pic_mode=default
6972
# Check whether --enable-fast-install was given.
6973
if test "${enable_fast_install+set}" = set; then :
6974
enableval=$enable_fast_install; p=${PACKAGE-default}
6976
yes) enable_fast_install=yes ;;
6977
no) enable_fast_install=no ;;
6979
enable_fast_install=no
6980
# Look at the argument we got. We use all the common list separators.
6981
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6982
for pkg in $enableval; do
6984
if test "X$pkg" = "X$p"; then
6985
enable_fast_install=yes
6992
enable_fast_install=yes
7005
# This can be used to rebuild libtool when needed
7006
LIBTOOL_DEPS="$ltmain"
7008
# Always use our own libtool.
7009
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7035
test -z "$LN_S" && LN_S="ln -s"
7050
if test -n "${ZSH_VERSION+set}" ; then
7051
setopt NO_GLOB_SUBST
7054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7055
$as_echo_n "checking for objdir... " >&6; }
7056
if test "${lt_cv_objdir+set}" = set; then :
7057
$as_echo_n "(cached) " >&6
7059
rm -f .libs 2>/dev/null
7060
mkdir .libs 2>/dev/null
7061
if test -d .libs; then
7064
# MS-DOS does not allow filenames that begin with a dot.
7067
rmdir .libs 2>/dev/null
7069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7070
$as_echo "$lt_cv_objdir" >&6; }
7071
objdir=$lt_cv_objdir
7077
cat >>confdefs.h <<_ACEOF
7078
#define LT_OBJDIR "$lt_cv_objdir/"
7099
# AIX sometimes has problems with the GCC collect2 program. For some
7100
# reason, if we set the COLLECT_NAMES environment variable, the problems
7101
# vanish in a puff of smoke.
7102
if test "X${COLLECT_NAMES+set}" != Xset; then
7104
export COLLECT_NAMES
7109
# Sed substitution that helps us do robust quoting. It backslashifies
7110
# metacharacters that are still active within double-quoted strings.
7111
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7113
# Same as above, but do not quote variable references.
7114
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7116
# Sed substitution to delay expansion of an escaped shell variable in a
7117
# double_quote_subst'ed string.
7118
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7120
# Sed substitution to delay expansion of an escaped single quote.
7121
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7123
# Sed substitution to avoid accidental globbing in evaled expressions
7124
no_glob_subst='s/\*/\\\*/g'
7128
can_build_shared=yes
7130
# All known linkers require a `.a' archive for static linking (except MSVC,
7131
# which needs '.lib').
7134
with_gnu_ld="$lt_cv_prog_gnu_ld"
7137
old_CFLAGS="$CFLAGS"
7139
# Set sane defaults for various variables
7140
test -z "$CC" && CC=cc
7141
test -z "$LTCC" && LTCC=$CC
7142
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7143
test -z "$LD" && LD=ld
7144
test -z "$ac_objext" && ac_objext=o
7146
for cc_temp in $compiler""; do
7148
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7149
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7154
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7157
# Only perform the check for file, if the check method requires it
7158
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7159
case $deplibs_check_method in
7161
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7163
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7164
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7165
$as_echo_n "(cached) " >&6
7169
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7172
lt_save_MAGIC_CMD="$MAGIC_CMD"
7173
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7174
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7175
for ac_dir in $ac_dummy; do
7177
test -z "$ac_dir" && ac_dir=.
7178
if test -f $ac_dir/${ac_tool_prefix}file; then
7179
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7180
if test -n "$file_magic_test_file"; then
7181
case $deplibs_check_method in
7183
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7184
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7185
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7186
$EGREP "$file_magic_regex" > /dev/null; then
7191
*** Warning: the command libtool uses to detect shared libraries,
7192
*** $file_magic_cmd, produces output that libtool cannot recognize.
7193
*** The result is that libtool may fail to recognize shared libraries
7194
*** as such. This will affect the creation of libtool libraries that
7195
*** depend on shared libraries, but programs linked with such libtool
7196
*** libraries will work regardless of this problem. Nevertheless, you
7197
*** may want to report the problem to your system manager and/or to
7198
*** bug-libtool@gnu.org
7208
MAGIC_CMD="$lt_save_MAGIC_CMD"
7213
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7214
if test -n "$MAGIC_CMD"; then
7215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7216
$as_echo "$MAGIC_CMD" >&6; }
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219
$as_echo "no" >&6; }
7226
if test -z "$lt_cv_path_MAGIC_CMD"; then
7227
if test -n "$ac_tool_prefix"; then
7228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7229
$as_echo_n "checking for file... " >&6; }
7230
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7231
$as_echo_n "(cached) " >&6
7235
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7238
lt_save_MAGIC_CMD="$MAGIC_CMD"
7239
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7240
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7241
for ac_dir in $ac_dummy; do
7243
test -z "$ac_dir" && ac_dir=.
7244
if test -f $ac_dir/file; then
7245
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7246
if test -n "$file_magic_test_file"; then
7247
case $deplibs_check_method in
7249
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7250
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7251
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7252
$EGREP "$file_magic_regex" > /dev/null; then
7257
*** Warning: the command libtool uses to detect shared libraries,
7258
*** $file_magic_cmd, produces output that libtool cannot recognize.
7259
*** The result is that libtool may fail to recognize shared libraries
7260
*** as such. This will affect the creation of libtool libraries that
7261
*** depend on shared libraries, but programs linked with such libtool
7262
*** libraries will work regardless of this problem. Nevertheless, you
7263
*** may want to report the problem to your system manager and/or to
7264
*** bug-libtool@gnu.org
7274
MAGIC_CMD="$lt_save_MAGIC_CMD"
7279
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7280
if test -n "$MAGIC_CMD"; then
7281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7282
$as_echo "$MAGIC_CMD" >&6; }
7284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285
$as_echo "no" >&6; }
7298
# Use C for the default configuration in the libtool script
7302
ac_cpp='$CPP $CPPFLAGS'
7303
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7304
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7305
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7308
# Source file extension for C test sources.
7311
# Object file extension for compiled C test sources.
7315
# Code to be used in simple compile tests
7316
lt_simple_compile_test_code="int some_variable = 0;"
7318
# Code to be used in simple link tests
7319
lt_simple_link_test_code='int main(){return(0);}'
7327
# If no C compiler was specified, use CC.
7330
# If no C compiler flags were specified, use CFLAGS.
7331
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7333
# Allow CC to be a program name with arguments.
7336
# Save the default compiler, since it gets overwritten when the other
7337
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7338
compiler_DEFAULT=$CC
7340
# save warnings/boilerplate of simple test code
7341
ac_outfile=conftest.$ac_objext
7342
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7343
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7344
_lt_compiler_boilerplate=`cat conftest.err`
7347
ac_outfile=conftest.$ac_objext
7348
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7349
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7350
_lt_linker_boilerplate=`cat conftest.err`
7355
## There is no encapsulation within the following macros, do not change
7356
## the running order or otherwise move them around unless you know exactly
7357
## what you are doing...
7358
if test -n "$compiler"; then
7360
lt_prog_compiler_no_builtin_flag=
7362
if test "$GCC" = yes; then
7363
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7366
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7367
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7368
$as_echo_n "(cached) " >&6
7370
lt_cv_prog_compiler_rtti_exceptions=no
7371
ac_outfile=conftest.$ac_objext
7372
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7373
lt_compiler_flag="-fno-rtti -fno-exceptions"
7374
# Insert the option either (1) after the last *FLAGS variable, or
7375
# (2) before a word containing "conftest.", or (3) at the end.
7376
# Note that $ac_compile itself does not contain backslashes and begins
7377
# with a dollar sign (not a hyphen), so the echo should work correctly.
7378
# The option is referenced via a variable to avoid confusing sed.
7379
lt_compile=`echo "$ac_compile" | $SED \
7380
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7381
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7382
-e 's:$: $lt_compiler_flag:'`
7383
(eval echo "\"\$as_me:7383: $lt_compile\"" >&5)
7384
(eval "$lt_compile" 2>conftest.err)
7386
cat conftest.err >&5
7387
echo "$as_me:7387: \$? = $ac_status" >&5
7388
if (exit $ac_status) && test -s "$ac_outfile"; then
7389
# The compiler can only warn and ignore the option if not recognized
7390
# So say no if there are warnings other than the usual output.
7391
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7392
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7393
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7394
lt_cv_prog_compiler_rtti_exceptions=yes
7400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7401
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7403
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7404
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7416
lt_prog_compiler_wl=
7417
lt_prog_compiler_pic=
7418
lt_prog_compiler_static=
7420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7421
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7423
if test "$GCC" = yes; then
7424
lt_prog_compiler_wl='-Wl,'
7425
lt_prog_compiler_static='-static'
7429
# All AIX code is PIC.
7430
if test "$host_cpu" = ia64; then
7431
# AIX 5 now supports IA64 processor
7432
lt_prog_compiler_static='-Bstatic'
7439
# see comment about AmigaOS4 .so support
7440
lt_prog_compiler_pic='-fPIC'
7443
# FIXME: we need at least 68020 code to build shared libraries, but
7444
# adding the `-m68020' flag to GCC prevents building anything better,
7446
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7451
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7452
# PIC is the default for these OSes.
7455
mingw* | cygwin* | pw32* | os2* | cegcc*)
7456
# This hack is so that the source file can tell whether it is being
7457
# built for inclusion in a dll (and should export symbols for example).
7458
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7459
# (--disable-auto-import) libraries
7460
lt_prog_compiler_pic='-DDLL_EXPORT'
7463
darwin* | rhapsody*)
7464
# PIC is the default on this platform
7465
# Common symbols not allowed in MH_DYLIB files
7466
lt_prog_compiler_pic='-fno-common'
7470
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7471
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7472
# sets the default TLS model and affects inlining.
7478
lt_prog_compiler_pic='-fPIC'
7484
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7485
# Instead, we relocate shared libraries at runtime.
7489
# Just because we use GCC doesn't mean we suddenly get shared libraries
7490
# on systems that don't support them.
7491
lt_prog_compiler_can_build_shared=no
7496
# QNX uses GNU C++, but need to define -shared option too, otherwise
7498
lt_prog_compiler_pic='-fPIC -shared'
7502
if test -d /usr/nec; then
7503
lt_prog_compiler_pic=-Kconform_pic
7508
lt_prog_compiler_pic='-fPIC'
7512
# PORTME Check for flag to pass linker flags through the system compiler.
7515
lt_prog_compiler_wl='-Wl,'
7516
if test "$host_cpu" = ia64; then
7517
# AIX 5 now supports IA64 processor
7518
lt_prog_compiler_static='-Bstatic'
7520
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7524
mingw* | cygwin* | pw32* | os2* | cegcc*)
7525
# This hack is so that the source file can tell whether it is being
7526
# built for inclusion in a dll (and should export symbols for example).
7527
lt_prog_compiler_pic='-DDLL_EXPORT'
7530
hpux9* | hpux10* | hpux11*)
7531
lt_prog_compiler_wl='-Wl,'
7532
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7539
lt_prog_compiler_pic='+Z'
7542
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7543
lt_prog_compiler_static='${wl}-a ${wl}archive'
7546
irix5* | irix6* | nonstopux*)
7547
lt_prog_compiler_wl='-Wl,'
7548
# PIC (with -KPIC) is the default.
7549
lt_prog_compiler_static='-non_shared'
7552
linux* | k*bsd*-gnu)
7553
case $cc_basename in
7554
# old Intel for x86_64 which still supported -KPIC.
7556
lt_prog_compiler_wl='-Wl,'
7557
lt_prog_compiler_pic='-KPIC'
7558
lt_prog_compiler_static='-static'
7560
# icc used to be incompatible with GCC.
7561
# ICC 10 doesn't accept -KPIC any more.
7563
lt_prog_compiler_wl='-Wl,'
7564
lt_prog_compiler_pic='-fPIC'
7565
lt_prog_compiler_static='-static'
7567
# Lahey Fortran 8.1.
7569
lt_prog_compiler_wl='-Wl,'
7570
lt_prog_compiler_pic='--shared'
7571
lt_prog_compiler_static='--static'
7573
pgcc* | pgf77* | pgf90* | pgf95*)
7574
# Portland Group compilers (*not* the Pentium gcc compiler,
7575
# which looks to be a dead project)
7576
lt_prog_compiler_wl='-Wl,'
7577
lt_prog_compiler_pic='-fpic'
7578
lt_prog_compiler_static='-Bstatic'
7581
lt_prog_compiler_wl='-Wl,'
7582
# All Alpha code is PIC.
7583
lt_prog_compiler_static='-non_shared'
7586
# IBM XL C 8.0/Fortran 10.1 on PPC
7587
lt_prog_compiler_wl='-Wl,'
7588
lt_prog_compiler_pic='-qpic'
7589
lt_prog_compiler_static='-qstaticlink'
7592
case `$CC -V 2>&1 | sed 5q` in
7595
lt_prog_compiler_pic='-KPIC'
7596
lt_prog_compiler_static='-Bstatic'
7597
lt_prog_compiler_wl='-Wl,'
7600
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7601
lt_prog_compiler_pic='-KPIC'
7602
lt_prog_compiler_static='-Bstatic'
7603
lt_prog_compiler_wl=''
7611
lt_prog_compiler_pic='-KPIC'
7612
lt_prog_compiler_static='-Bstatic'
7616
# QNX uses GNU C++, but need to define -shared option too, otherwise
7618
lt_prog_compiler_pic='-fPIC -shared'
7621
osf3* | osf4* | osf5*)
7622
lt_prog_compiler_wl='-Wl,'
7623
# All OSF/1 code is PIC.
7624
lt_prog_compiler_static='-non_shared'
7628
lt_prog_compiler_static='-non_shared'
7632
lt_prog_compiler_pic='-KPIC'
7633
lt_prog_compiler_static='-Bstatic'
7634
case $cc_basename in
7636
lt_prog_compiler_wl='-Qoption ld ';;
7638
lt_prog_compiler_wl='-Wl,';;
7643
lt_prog_compiler_wl='-Qoption ld '
7644
lt_prog_compiler_pic='-PIC'
7645
lt_prog_compiler_static='-Bstatic'
7648
sysv4 | sysv4.2uw2* | sysv4.3*)
7649
lt_prog_compiler_wl='-Wl,'
7650
lt_prog_compiler_pic='-KPIC'
7651
lt_prog_compiler_static='-Bstatic'
7655
if test -d /usr/nec ;then
7656
lt_prog_compiler_pic='-Kconform_pic'
7657
lt_prog_compiler_static='-Bstatic'
7661
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7662
lt_prog_compiler_wl='-Wl,'
7663
lt_prog_compiler_pic='-KPIC'
7664
lt_prog_compiler_static='-Bstatic'
7668
lt_prog_compiler_wl='-Wl,'
7669
lt_prog_compiler_can_build_shared=no
7673
lt_prog_compiler_pic='-pic'
7674
lt_prog_compiler_static='-Bstatic'
7678
lt_prog_compiler_can_build_shared=no
7684
# For platforms which do not support PIC, -DPIC is meaningless:
7686
lt_prog_compiler_pic=
7689
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7693
$as_echo "$lt_prog_compiler_pic" >&6; }
7701
# Check to make sure the PIC flag actually works.
7703
if test -n "$lt_prog_compiler_pic"; then
7704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7705
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7706
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7707
$as_echo_n "(cached) " >&6
7709
lt_cv_prog_compiler_pic_works=no
7710
ac_outfile=conftest.$ac_objext
7711
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7712
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7713
# Insert the option either (1) after the last *FLAGS variable, or
7714
# (2) before a word containing "conftest.", or (3) at the end.
7715
# Note that $ac_compile itself does not contain backslashes and begins
7716
# with a dollar sign (not a hyphen), so the echo should work correctly.
7717
# The option is referenced via a variable to avoid confusing sed.
7718
lt_compile=`echo "$ac_compile" | $SED \
7719
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7720
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7721
-e 's:$: $lt_compiler_flag:'`
7722
(eval echo "\"\$as_me:7722: $lt_compile\"" >&5)
7723
(eval "$lt_compile" 2>conftest.err)
7725
cat conftest.err >&5
7726
echo "$as_me:7726: \$? = $ac_status" >&5
7727
if (exit $ac_status) && test -s "$ac_outfile"; then
7728
# The compiler can only warn and ignore the option if not recognized
7729
# So say no if there are warnings other than the usual output.
7730
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7731
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7732
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7733
lt_cv_prog_compiler_pic_works=yes
7739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7740
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7742
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7743
case $lt_prog_compiler_pic in
7745
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7748
lt_prog_compiler_pic=
7749
lt_prog_compiler_can_build_shared=no
7760
# Check to make sure the static flag actually works.
7762
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7764
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7765
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7766
$as_echo_n "(cached) " >&6
7768
lt_cv_prog_compiler_static_works=no
7769
save_LDFLAGS="$LDFLAGS"
7770
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7771
echo "$lt_simple_link_test_code" > conftest.$ac_ext
7772
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7773
# The linker can only warn and ignore the option if not recognized
7774
# So say no if there are warnings
7775
if test -s conftest.err; then
7776
# Append any errors to the config.log.
7777
cat conftest.err 1>&5
7778
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7779
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7780
if diff conftest.exp conftest.er2 >/dev/null; then
7781
lt_cv_prog_compiler_static_works=yes
7784
lt_cv_prog_compiler_static_works=yes
7788
LDFLAGS="$save_LDFLAGS"
7791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7792
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7794
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7797
lt_prog_compiler_static=
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7807
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7808
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7809
$as_echo_n "(cached) " >&6
7811
lt_cv_prog_compiler_c_o=no
7812
$RM -r conftest 2>/dev/null
7816
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7818
lt_compiler_flag="-o out/conftest2.$ac_objext"
7819
# Insert the option either (1) after the last *FLAGS variable, or
7820
# (2) before a word containing "conftest.", or (3) at the end.
7821
# Note that $ac_compile itself does not contain backslashes and begins
7822
# with a dollar sign (not a hyphen), so the echo should work correctly.
7823
lt_compile=`echo "$ac_compile" | $SED \
7824
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7825
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7826
-e 's:$: $lt_compiler_flag:'`
7827
(eval echo "\"\$as_me:7827: $lt_compile\"" >&5)
7828
(eval "$lt_compile" 2>out/conftest.err)
7830
cat out/conftest.err >&5
7831
echo "$as_me:7831: \$? = $ac_status" >&5
7832
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7834
# The compiler can only warn and ignore the option if not recognized
7835
# So say no if there are warnings
7836
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7837
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7838
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7839
lt_cv_prog_compiler_c_o=yes
7844
# SGI C++ compiler will create directory out/ii_files/ for
7845
# template instantiation
7846
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7847
$RM out/* && rmdir out
7853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7854
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7862
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7863
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7864
$as_echo_n "(cached) " >&6
7866
lt_cv_prog_compiler_c_o=no
7867
$RM -r conftest 2>/dev/null
7871
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7873
lt_compiler_flag="-o out/conftest2.$ac_objext"
7874
# Insert the option either (1) after the last *FLAGS variable, or
7875
# (2) before a word containing "conftest.", or (3) at the end.
7876
# Note that $ac_compile itself does not contain backslashes and begins
7877
# with a dollar sign (not a hyphen), so the echo should work correctly.
7878
lt_compile=`echo "$ac_compile" | $SED \
7879
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7880
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7881
-e 's:$: $lt_compiler_flag:'`
7882
(eval echo "\"\$as_me:7882: $lt_compile\"" >&5)
7883
(eval "$lt_compile" 2>out/conftest.err)
7885
cat out/conftest.err >&5
7886
echo "$as_me:7886: \$? = $ac_status" >&5
7887
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7889
# The compiler can only warn and ignore the option if not recognized
7890
# So say no if there are warnings
7891
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7892
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7893
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7894
lt_cv_prog_compiler_c_o=yes
7899
# SGI C++ compiler will create directory out/ii_files/ for
7900
# template instantiation
7901
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7902
$RM out/* && rmdir out
7908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7909
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7914
hard_links="nottested"
7915
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7916
# do not overwrite the value of need_locks provided by the user
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7918
$as_echo_n "checking if we can lock with hard links... " >&6; }
7921
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7923
ln conftest.a conftest.b 2>&5 || hard_links=no
7924
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7926
$as_echo "$hard_links" >&6; }
7927
if test "$hard_links" = no; then
7928
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7929
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7942
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7945
allow_undefined_flag=
7946
always_export_symbols=no
7948
archive_expsym_cmds=
7949
compiler_needs_object=no
7950
enable_shared_with_static_runtimes=no
7951
export_dynamic_flag_spec=
7952
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7953
hardcode_automatic=no
7955
hardcode_direct_absolute=no
7956
hardcode_libdir_flag_spec=
7957
hardcode_libdir_flag_spec_ld=
7958
hardcode_libdir_separator=
7960
hardcode_shlibpath_var=unsupported
7962
link_all_deplibs=unknown
7965
old_archive_from_new_cmds=
7966
old_archive_from_expsyms_cmds=
7967
thread_safe_flag_spec=
7968
whole_archive_flag_spec=
7969
# include_expsyms should be a list of space-separated symbols to be *always*
7970
# included in the symbol list
7972
# exclude_expsyms can be an extended regexp of symbols to exclude
7973
# it will be wrapped by ` (' and `)$', so one must not match beginning or
7974
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7975
# as well as any symbol that contains `d'.
7976
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7977
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7978
# platforms (ab)use it in PIC code, but their linkers get confused if
7979
# the symbol is explicitly referenced. Since portable code cannot
7980
# rely on this symbol name, it's probably fine to never include it in
7981
# preloaded symbol tables.
7982
# Exclude shared library initialization/finalization symbols.
7983
extract_expsyms_cmds=
7986
cygwin* | mingw* | pw32* | cegcc*)
7987
# FIXME: the MSVC++ port hasn't been tested in a loooong time
7988
# When not using gcc, we currently assume that we are using
7989
# Microsoft Visual C++.
7990
if test "$GCC" != yes; then
7995
# we just hope/assume this is gcc and not c89 (= MSVC++)
8004
if test "$with_gnu_ld" = yes; then
8005
# If archive_cmds runs LD, not CC, wlarc should be empty
8008
# Set some defaults for GNU ld with shared library support. These
8009
# are reset later if shared libraries are not supported. Putting them
8010
# here allows them to be overridden if necessary.
8011
runpath_var=LD_RUN_PATH
8012
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8013
export_dynamic_flag_spec='${wl}--export-dynamic'
8014
# ancient GNU ld didn't support --whole-archive et. al.
8015
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8016
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8018
whole_archive_flag_spec=
8020
supports_anon_versioning=no
8021
case `$LD -v 2>&1` in
8022
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8023
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8024
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8025
*\ 2.11.*) ;; # other 2.11 versions
8026
*) supports_anon_versioning=yes ;;
8029
# See if GNU ld supports shared libraries.
8032
# On AIX/PPC, the GNU linker is very broken
8033
if test "$host_cpu" != ia64; then
8037
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8038
*** to be unable to reliably create shared libraries on AIX.
8039
*** Therefore, libtool is disabling shared libraries support. If you
8040
*** really care for shared libraries, you may want to modify your PATH
8041
*** so that a non-GNU linker is found, and then restart.
8050
# see comment about AmigaOS4 .so support
8051
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8052
archive_expsym_cmds=''
8055
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)'
8056
hardcode_libdir_flag_spec='-L$libdir'
8057
hardcode_minus_L=yes
8063
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8064
allow_undefined_flag=unsupported
8065
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8066
# support --undefined. This deserves some investigation. FIXME
8067
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8073
cygwin* | mingw* | pw32* | cegcc*)
8074
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8075
# as there is no search path for DLLs.
8076
hardcode_libdir_flag_spec='-L$libdir'
8077
allow_undefined_flag=unsupported
8078
always_export_symbols=no
8079
enable_shared_with_static_runtimes=yes
8080
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8082
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8083
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8084
# If the export-symbols file already is a .def file (1st line
8085
# is EXPORTS), use it as is; otherwise, prepend...
8086
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8087
cp $export_symbols $output_objdir/$soname.def;
8089
echo EXPORTS > $output_objdir/$soname.def;
8090
cat $export_symbols >> $output_objdir/$soname.def;
8092
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8100
hardcode_shlibpath_var=no
8101
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8102
export_dynamic_flag_spec='${wl}-E'
8103
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8104
# Instead, shared libraries are loaded at an image base (0x10000000 by
8105
# default) and relocated if they conflict, which is a slow very memory
8106
# consuming and fragmenting process. To avoid this, we pick a random,
8107
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8108
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8109
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8110
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'
8113
gnu* | linux* | tpf* | k*bsd*-gnu)
8115
if test "$host_os" = linux-dietlibc; then
8116
case $cc_basename in
8117
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8120
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8121
&& test "$tmp_diet" = no
8124
tmp_sharedflag='-shared'
8125
case $cc_basename,$host_cpu in
8126
pgcc*) # Portland Group C compiler
8127
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8128
tmp_addflag=' $pic_flag'
8130
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8131
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8132
tmp_addflag=' $pic_flag -Mnomain' ;;
8133
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8134
tmp_addflag=' -i_dynamic' ;;
8135
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8136
tmp_addflag=' -i_dynamic -nofor_main' ;;
8137
ifc* | ifort*) # Intel Fortran compiler
8138
tmp_addflag=' -nofor_main' ;;
8139
lf95*) # Lahey Fortran 8.1
8140
whole_archive_flag_spec=
8141
tmp_sharedflag='--shared' ;;
8142
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8143
tmp_sharedflag='-qmkshrobj'
8146
case `$CC -V 2>&1 | sed 5q` in
8147
*Sun\ C*) # Sun C 5.9
8148
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8149
compiler_needs_object=yes
8150
tmp_sharedflag='-G' ;;
8151
*Sun\ F*) # Sun Fortran 8.3
8152
tmp_sharedflag='-G' ;;
8154
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8156
if test "x$supports_anon_versioning" = xyes; then
8157
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8158
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8159
echo "local: *; };" >> $output_objdir/$libname.ver~
8160
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8163
case $cc_basename in
8165
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8166
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8167
hardcode_libdir_flag_spec=
8168
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8169
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8170
if test "x$supports_anon_versioning" = xyes; then
8171
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8172
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8173
echo "local: *; };" >> $output_objdir/$libname.ver~
8174
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8184
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8185
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8188
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8189
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8194
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8198
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8199
*** create shared libraries on Solaris systems. Therefore, libtool
8200
*** is disabling shared libraries support. We urge you to upgrade GNU
8201
*** binutils to release 2.9.1 or newer. Another option is to modify
8202
*** your PATH or compiler configuration so that the native linker is
8203
*** used, and then restart.
8206
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8207
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8208
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8214
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8215
case `$LD -v 2>&1` in
8216
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8220
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8221
*** reliably create shared libraries on SCO systems. Therefore, libtool
8222
*** is disabling shared libraries support. We urge you to upgrade GNU
8223
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8224
*** your PATH or compiler configuration so that the native linker is
8225
*** used, and then restart.
8230
# For security reasons, it is highly recommended that you always
8231
# use absolute paths for naming shared libraries, and exclude the
8232
# DT_RUNPATH tag from executables and libraries. But doing so
8233
# requires that you compile everything twice, which is a pain.
8234
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8235
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8236
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8237
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8246
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8249
hardcode_shlibpath_var=no
8253
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8254
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8255
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8262
if test "$ld_shlibs" = no; then
8264
hardcode_libdir_flag_spec=
8265
export_dynamic_flag_spec=
8266
whole_archive_flag_spec=
8269
# PORTME fill in a description of your system's linker (not GNU ld)
8272
allow_undefined_flag=unsupported
8273
always_export_symbols=yes
8274
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'
8275
# Note: this linker hardcodes the directories in LIBPATH if there
8276
# are no directories specified by -L.
8277
hardcode_minus_L=yes
8278
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8279
# Neither direct hardcoding nor static linking is supported with a
8281
hardcode_direct=unsupported
8286
if test "$host_cpu" = ia64; then
8287
# On IA64, the linker does run time linking by default, so we don't
8288
# have to do anything special.
8289
aix_use_runtimelinking=no
8290
exp_sym_flag='-Bexport'
8293
# If we're using GNU nm, then we don't want the "-C" option.
8294
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8295
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8296
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8298
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'
8300
aix_use_runtimelinking=no
8302
# Test if we are trying to use run time linking or normal
8303
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8304
# need to do runtime linking.
8305
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8306
for ld_flag in $LDFLAGS; do
8307
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8308
aix_use_runtimelinking=yes
8315
exp_sym_flag='-bexport'
8316
no_entry_flag='-bnoentry'
8319
# When large executables or shared objects are built, AIX ld can
8320
# have problems creating the table of contents. If linking a library
8321
# or program results in "error TOC overflow" add -mminimal-toc to
8322
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8323
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8327
hardcode_direct_absolute=yes
8328
hardcode_libdir_separator=':'
8329
link_all_deplibs=yes
8330
file_list_spec='${wl}-f,'
8332
if test "$GCC" = yes; then
8333
case $host_os in aix4.[012]|aix4.[012].*)
8334
# We only want to do this on AIX 4.2 and lower, the check
8335
# below for broken collect2 doesn't work under 4.3+
8336
collect2name=`${CC} -print-prog-name=collect2`
8337
if test -f "$collect2name" &&
8338
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8340
# We have reworked collect2
8343
# We have old collect2
8344
hardcode_direct=unsupported
8345
# It fails to find uninstalled libraries when the uninstalled
8346
# path is not listed in the libpath. Setting hardcode_minus_L
8347
# to unsupported forces relinking
8348
hardcode_minus_L=yes
8349
hardcode_libdir_flag_spec='-L$libdir'
8350
hardcode_libdir_separator=
8354
shared_flag='-shared'
8355
if test "$aix_use_runtimelinking" = yes; then
8356
shared_flag="$shared_flag "'${wl}-G'
8360
if test "$host_cpu" = ia64; then
8361
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8362
# chokes on -Wl,-G. The following line is correct:
8365
if test "$aix_use_runtimelinking" = yes; then
8366
shared_flag='${wl}-G'
8368
shared_flag='${wl}-bM:SRE'
8373
export_dynamic_flag_spec='${wl}-bexpall'
8374
# It seems that -bexpall does not export symbols beginning with
8375
# underscore (_), so it is better to generate a list of symbols to export.
8376
always_export_symbols=yes
8377
if test "$aix_use_runtimelinking" = yes; then
8378
# Warning - without using the other runtime loading flags (-brtl),
8379
# -berok will link without error, but may produce a broken library.
8380
allow_undefined_flag='-berok'
8381
# Determine the default libpath from the value encoded in an
8383
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384
/* end confdefs.h. */
8394
if ac_fn_c_try_link "$LINENO"; then :
8396
lt_aix_libpath_sed='
8397
/Import File Strings/,/^$/ {
8403
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8404
# Check for a 64-bit object if we didn't find anything.
8405
if test -z "$aix_libpath"; then
8406
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8409
rm -f core conftest.err conftest.$ac_objext \
8410
conftest$ac_exeext conftest.$ac_ext
8411
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8413
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8414
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8416
if test "$host_cpu" = ia64; then
8417
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8418
allow_undefined_flag="-z nodefs"
8419
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"
8421
# Determine the default libpath from the value encoded in an
8423
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424
/* end confdefs.h. */
8434
if ac_fn_c_try_link "$LINENO"; then :
8436
lt_aix_libpath_sed='
8437
/Import File Strings/,/^$/ {
8443
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8444
# Check for a 64-bit object if we didn't find anything.
8445
if test -z "$aix_libpath"; then
8446
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8449
rm -f core conftest.err conftest.$ac_objext \
8450
conftest$ac_exeext conftest.$ac_ext
8451
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8453
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8454
# Warning - without using the other run time loading flags,
8455
# -berok will link without error, but may produce a broken library.
8456
no_undefined_flag=' ${wl}-bernotok'
8457
allow_undefined_flag=' ${wl}-berok'
8458
# Exported symbols can be pulled into shared objects from archives
8459
whole_archive_flag_spec='$convenience'
8460
archive_cmds_need_lc=yes
8461
# This is similar to how AIX traditionally builds its shared libraries.
8462
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'
8470
# see comment about AmigaOS4 .so support
8471
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8472
archive_expsym_cmds=''
8475
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)'
8476
hardcode_libdir_flag_spec='-L$libdir'
8477
hardcode_minus_L=yes
8483
export_dynamic_flag_spec=-rdynamic
8486
cygwin* | mingw* | pw32* | cegcc*)
8487
# When not using gcc, we currently assume that we are using
8488
# Microsoft Visual C++.
8489
# hardcode_libdir_flag_spec is actually meaningless, as there is
8490
# no search path for DLLs.
8491
hardcode_libdir_flag_spec=' '
8492
allow_undefined_flag=unsupported
8493
# Tell ltmain to make .lib files, not .a files.
8495
# Tell ltmain to make .dll files, not .so files.
8497
# FIXME: Setting linknames here is a bad hack.
8498
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8499
# The linker will automatically build a .lib file if we build a DLL.
8500
old_archive_from_new_cmds='true'
8501
# FIXME: Should let the user specify the lib program.
8502
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8503
fix_srcfile_path='`cygpath -w "$srcfile"`'
8504
enable_shared_with_static_runtimes=yes
8507
darwin* | rhapsody*)
8510
archive_cmds_need_lc=no
8512
hardcode_automatic=yes
8513
hardcode_shlibpath_var=unsupported
8514
whole_archive_flag_spec=''
8515
link_all_deplibs=yes
8516
allow_undefined_flag="$_lt_dar_allow_undefined"
8517
case $cc_basename in
8518
ifort*) _lt_dar_can_shared=yes ;;
8519
*) _lt_dar_can_shared=$GCC ;;
8521
if test "$_lt_dar_can_shared" = "yes"; then
8522
output_verbose_link_cmd=echo
8523
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8524
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8525
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}"
8526
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}"
8535
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8536
hardcode_libdir_flag_spec='-L$libdir'
8537
hardcode_shlibpath_var=no
8544
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8545
# support. Future versions do this automatically, but an explicit c++rt0.o
8546
# does not break anything, and helps significantly (at the cost of a little
8549
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8550
hardcode_libdir_flag_spec='-R$libdir'
8552
hardcode_shlibpath_var=no
8555
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8557
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8559
hardcode_minus_L=yes
8560
hardcode_shlibpath_var=no
8563
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8564
freebsd* | dragonfly*)
8565
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8566
hardcode_libdir_flag_spec='-R$libdir'
8568
hardcode_shlibpath_var=no
8572
if test "$GCC" = yes; then
8573
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8575
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'
8577
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8578
hardcode_libdir_separator=:
8581
# hardcode_minus_L: Not really in the search PATH,
8582
# but as the default location of the library.
8583
hardcode_minus_L=yes
8584
export_dynamic_flag_spec='${wl}-E'
8588
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8589
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8591
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8593
if test "$with_gnu_ld" = no; then
8594
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8595
hardcode_libdir_flag_spec_ld='+b $libdir'
8596
hardcode_libdir_separator=:
8598
hardcode_direct_absolute=yes
8599
export_dynamic_flag_spec='${wl}-E'
8600
# hardcode_minus_L: Not really in the search PATH,
8601
# but as the default location of the library.
8602
hardcode_minus_L=yes
8607
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8610
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8613
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8616
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8622
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8625
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8628
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8632
if test "$with_gnu_ld" = no; then
8633
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8634
hardcode_libdir_separator=:
8639
hardcode_shlibpath_var=no
8643
hardcode_direct_absolute=yes
8644
export_dynamic_flag_spec='${wl}-E'
8646
# hardcode_minus_L: Not really in the search PATH,
8647
# but as the default location of the library.
8648
hardcode_minus_L=yes
8654
irix5* | irix6* | nonstopux*)
8655
if test "$GCC" = yes; then
8656
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8657
# Try to use the -exported_symbol ld option, if it does not
8658
# work, assume that -exports_file does not work either and
8659
# implicitly export all symbols.
8660
save_LDFLAGS="$LDFLAGS"
8661
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8662
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663
/* end confdefs.h. */
8666
if ac_fn_c_try_link "$LINENO"; then :
8667
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8670
rm -f core conftest.err conftest.$ac_objext \
8671
conftest$ac_exeext conftest.$ac_ext
8672
LDFLAGS="$save_LDFLAGS"
8674
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8675
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8677
archive_cmds_need_lc='no'
8678
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8679
hardcode_libdir_separator=:
8681
link_all_deplibs=yes
8685
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8686
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8688
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8690
hardcode_libdir_flag_spec='-R$libdir'
8692
hardcode_shlibpath_var=no
8696
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8698
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8699
hardcode_libdir_separator=:
8700
hardcode_shlibpath_var=no
8707
if test -f /usr/libexec/ld.so; then
8709
hardcode_shlibpath_var=no
8710
hardcode_direct_absolute=yes
8711
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8712
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8713
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8714
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8715
export_dynamic_flag_spec='${wl}-E'
8718
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8719
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8720
hardcode_libdir_flag_spec='-R$libdir'
8723
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8724
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8734
hardcode_libdir_flag_spec='-L$libdir'
8735
hardcode_minus_L=yes
8736
allow_undefined_flag=unsupported
8737
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'
8738
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8742
if test "$GCC" = yes; then
8743
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8744
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8746
allow_undefined_flag=' -expect_unresolved \*'
8747
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8749
archive_cmds_need_lc='no'
8750
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8751
hardcode_libdir_separator=:
8754
osf4* | osf5*) # as osf3* with the addition of -msym flag
8755
if test "$GCC" = yes; then
8756
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8757
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8758
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8760
allow_undefined_flag=' -expect_unresolved \*'
8761
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8762
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~
8763
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8765
# Both c and cxx compiler support -rpath directly
8766
hardcode_libdir_flag_spec='-rpath $libdir'
8768
archive_cmds_need_lc='no'
8769
hardcode_libdir_separator=:
8773
no_undefined_flag=' -z defs'
8774
if test "$GCC" = yes; then
8776
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8777
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8778
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8780
case `$CC -V 2>&1` in
8783
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8784
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8785
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8789
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8790
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8791
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8795
hardcode_libdir_flag_spec='-R$libdir'
8796
hardcode_shlibpath_var=no
8798
solaris2.[0-5] | solaris2.[0-5].*) ;;
8800
# The compiler driver will combine and reorder linker options,
8801
# but understands `-z linker_flag'. GCC discards it without `$wl',
8802
# but is careful enough not to reorder.
8803
# Supported since Solaris 2.6 (maybe 2.5.1?)
8804
if test "$GCC" = yes; then
8805
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8807
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8811
link_all_deplibs=yes
8815
if test "x$host_vendor" = xsequent; then
8816
# Use $CC to link under sequent, because it throws in some extra .o
8817
# files that make .init and .fini sections work.
8818
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8820
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8822
hardcode_libdir_flag_spec='-L$libdir'
8824
hardcode_minus_L=yes
8825
hardcode_shlibpath_var=no
8829
case $host_vendor in
8831
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8832
hardcode_direct=yes # is this really true???
8835
## LD is ld it makes a PLAMLIB
8836
## CC just makes a GrossModule.
8837
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8838
reload_cmds='$CC -r -o $output$reload_objs'
8842
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8843
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8846
runpath_var='LD_RUN_PATH'
8847
hardcode_shlibpath_var=no
8851
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8852
hardcode_shlibpath_var=no
8853
export_dynamic_flag_spec='-Bexport'
8857
if test -d /usr/nec; then
8858
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8859
hardcode_shlibpath_var=no
8860
runpath_var=LD_RUN_PATH
8861
hardcode_runpath_var=yes
8866
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8867
no_undefined_flag='${wl}-z,text'
8868
archive_cmds_need_lc=no
8869
hardcode_shlibpath_var=no
8870
runpath_var='LD_RUN_PATH'
8872
if test "$GCC" = yes; then
8873
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8874
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8876
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8877
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8881
sysv5* | sco3.2v5* | sco5v6*)
8882
# Note: We can NOT use -z defs as we might desire, because we do not
8883
# link with -lc, and that would cause any symbols used from libc to
8884
# always be unresolved, which means just about no library would
8885
# ever link correctly. If we're not using GNU ld we use -z text
8886
# though, which does catch some bad symbols but isn't as heavy-handed
8888
no_undefined_flag='${wl}-z,text'
8889
allow_undefined_flag='${wl}-z,nodefs'
8890
archive_cmds_need_lc=no
8891
hardcode_shlibpath_var=no
8892
hardcode_libdir_flag_spec='${wl}-R,$libdir'
8893
hardcode_libdir_separator=':'
8894
link_all_deplibs=yes
8895
export_dynamic_flag_spec='${wl}-Bexport'
8896
runpath_var='LD_RUN_PATH'
8898
if test "$GCC" = yes; then
8899
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8900
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8902
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8903
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8908
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8909
hardcode_libdir_flag_spec='-L$libdir'
8910
hardcode_shlibpath_var=no
8918
if test x$host_vendor = xsni; then
8920
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8921
export_dynamic_flag_spec='${wl}-Blargedynsym'
8927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8928
$as_echo "$ld_shlibs" >&6; }
8929
test "$ld_shlibs" = no && can_build_shared=no
8931
with_gnu_ld=$with_gnu_ld
8948
# Do we need to explicitly link libc?
8950
case "x$archive_cmds_need_lc" in
8952
# Assume -lc should be added
8953
archive_cmds_need_lc=yes
8955
if test "$enable_shared" = yes && test "$GCC" = yes; then
8956
case $archive_cmds in
8958
# FIXME: we may have to deal with multi-command sequences.
8961
# Test whether the compiler implicitly links with -lc since on some
8962
# systems, -lgcc has to come before -lc. If gcc already passes -lc
8963
# to ld, don't add -lc before -lgcc.
8964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8965
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8967
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8970
(eval $ac_compile) 2>&5
8972
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8973
test $ac_status = 0; } 2>conftest.err; then
8976
libobjs=conftest.$ac_objext
8978
wl=$lt_prog_compiler_wl
8979
pic_flag=$lt_prog_compiler_pic
8985
lt_save_allow_undefined_flag=$allow_undefined_flag
8986
allow_undefined_flag=
8987
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8988
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8990
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8991
test $ac_status = 0; }
8993
archive_cmds_need_lc=no
8995
archive_cmds_need_lc=yes
8997
allow_undefined_flag=$lt_save_allow_undefined_flag
8999
cat conftest.err 1>&5
9002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9003
$as_echo "$archive_cmds_need_lc" >&6; }
9166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9167
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9169
if test "$GCC" = yes; then
9171
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9172
*) lt_awk_arg="/^libraries:/" ;;
9174
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9175
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9176
# if the path contains ";" then we assume it to be the separator
9177
# otherwise default to the standard path separator (i.e. ":") - it is
9178
# assumed that no part of a normal pathname contains ";" but that should
9179
# okay in the real world where ";" in dirpaths is itself problematic.
9180
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9182
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9184
# Ok, now we have the path, separated by spaces, we can step through it
9185
# and add multilib dir if necessary.
9186
lt_tmp_lt_search_path_spec=
9187
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9188
for lt_sys_path in $lt_search_path_spec; do
9189
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9190
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9192
test -d "$lt_sys_path" && \
9193
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9196
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9197
BEGIN {RS=" "; FS="/|\n";} {
9200
for (lt_i = NF; lt_i > 0; lt_i--) {
9201
if ($lt_i != "" && $lt_i != ".") {
9202
if ($lt_i == "..") {
9205
if (lt_count == 0) {
9206
lt_foo="/" $lt_i lt_foo;
9213
if (lt_foo != "") { lt_freq[lt_foo]++; }
9214
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9216
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9218
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9221
libname_spec='lib$name'
9229
shlibpath_overrides_runpath=unknown
9231
dynamic_linker="$host_os ld.so"
9232
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9233
need_lib_prefix=unknown
9234
hardcode_into_libs=no
9236
# when you set need_version to no, make sure it does not cause -set_version
9237
# flags to be left without arguments
9238
need_version=unknown
9243
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9244
shlibpath_var=LIBPATH
9246
# AIX 3 has no versioning support, so we append a major version to the name.
9247
soname_spec='${libname}${release}${shared_ext}$major'
9254
hardcode_into_libs=yes
9255
if test "$host_cpu" = ia64; then
9256
# AIX 5 supports IA64
9257
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9258
shlibpath_var=LD_LIBRARY_PATH
9260
# With GCC up to 2.95.x, collect2 would create an import file
9261
# for dependence libraries. The import file would start with
9262
# the line `#! .'. This would cause the generated library to
9263
# depend on `.', always an invalid library. This was fixed in
9264
# development snapshots of GCC prior to 3.0.
9266
aix4 | aix4.[01] | aix4.[01].*)
9267
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9269
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9276
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9277
# soname into executable. Probably we can add versioning support to
9278
# collect2, so additional links can be useful in future.
9279
if test "$aix_use_runtimelinking" = yes; then
9280
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9281
# instead of lib<name>.a to let people know that these are not
9282
# typical AIX shared libraries.
9283
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9285
# We preserve .a as extension for shared libraries through AIX4.2
9286
# and later when we are not doing run time linking.
9287
library_names_spec='${libname}${release}.a $libname.a'
9288
soname_spec='${libname}${release}${shared_ext}$major'
9290
shlibpath_var=LIBPATH
9297
# Since July 2007 AmigaOS4 officially supports .so libraries.
9298
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9299
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9302
library_names_spec='$libname.ixlibrary $libname.a'
9303
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9304
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9310
library_names_spec='${libname}${shared_ext}'
9311
dynamic_linker="$host_os ld.so"
9312
shlibpath_var=LIBRARY_PATH
9318
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9319
soname_spec='${libname}${release}${shared_ext}$major'
9320
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9321
shlibpath_var=LD_LIBRARY_PATH
9322
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9323
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9324
# the default ld.so.conf also contains /usr/contrib/lib and
9325
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9326
# libtool to hard-code these into programs
9329
cygwin* | mingw* | pw32* | cegcc*)
9330
version_type=windows
9335
case $GCC,$host_os in
9336
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9337
library_names_spec='$libname.dll.a'
9338
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9339
postinstall_cmds='base_file=`basename \${file}`~
9340
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9341
dldir=$destdir/`dirname \$dlpath`~
9342
test -d \$dldir || mkdir -p \$dldir~
9343
$install_prog $dir/$dlname \$dldir/$dlname~
9344
chmod a+x \$dldir/$dlname~
9345
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9346
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9348
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9349
dlpath=$dir/\$dldll~
9351
shlibpath_overrides_runpath=yes
9355
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9356
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9357
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9360
# MinGW DLLs use traditional 'lib' prefix
9361
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9362
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9363
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9364
# It is most probably a Windows format PATH printed by
9365
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9366
# path with ; separators, and with drive letters. We can handle the
9367
# drive letters (cygwin fileutils understands them), so leave them,
9368
# especially as we might pass files found there to a mingw objdump,
9369
# which wouldn't understand a cygwinified path. Ahh.
9370
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9372
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9376
# pw32 DLLs use 'pw' prefix rather than 'lib'
9377
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9383
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9386
dynamic_linker='Win32 ld.exe'
9387
# FIXME: first we should search . and the directory the executable is in
9391
darwin* | rhapsody*)
9392
dynamic_linker="$host_os dyld"
9396
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9397
soname_spec='${libname}${release}${major}$shared_ext'
9398
shlibpath_overrides_runpath=yes
9399
shlibpath_var=DYLD_LIBRARY_PATH
9400
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9402
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9403
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9410
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9411
soname_spec='${libname}${release}${shared_ext}$major'
9412
shlibpath_var=LD_LIBRARY_PATH
9419
freebsd* | dragonfly*)
9420
# DragonFly does not have aout. When/if they implement a new
9421
# versioning mechanism, adjust this.
9422
if test -x /usr/bin/objformat; then
9423
objformat=`/usr/bin/objformat`
9426
freebsd[123]*) objformat=aout ;;
9430
version_type=freebsd-$objformat
9431
case $version_type in
9433
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9438
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9442
shlibpath_var=LD_LIBRARY_PATH
9445
shlibpath_overrides_runpath=yes
9447
freebsd3.[01]* | freebsdelf3.[01]*)
9448
shlibpath_overrides_runpath=yes
9449
hardcode_into_libs=yes
9451
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9452
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9453
shlibpath_overrides_runpath=no
9454
hardcode_into_libs=yes
9456
*) # from 4.6 on, and DragonFly
9457
shlibpath_overrides_runpath=yes
9458
hardcode_into_libs=yes
9467
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9468
soname_spec='${libname}${release}${shared_ext}$major'
9469
shlibpath_var=LD_LIBRARY_PATH
9470
hardcode_into_libs=yes
9473
hpux9* | hpux10* | hpux11*)
9474
# Give a soname corresponding to the major version so that dld.sl refuses to
9475
# link against other versions.
9482
hardcode_into_libs=yes
9483
dynamic_linker="$host_os dld.so"
9484
shlibpath_var=LD_LIBRARY_PATH
9485
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9486
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9487
soname_spec='${libname}${release}${shared_ext}$major'
9488
if test "X$HPUX_IA64_MODE" = X32; then
9489
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9491
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9493
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9497
hardcode_into_libs=yes
9498
dynamic_linker="$host_os dld.sl"
9499
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9500
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9501
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9502
soname_spec='${libname}${release}${shared_ext}$major'
9503
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9504
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9508
dynamic_linker="$host_os dld.sl"
9509
shlibpath_var=SHLIB_PATH
9510
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9511
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9512
soname_spec='${libname}${release}${shared_ext}$major'
9515
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9516
postinstall_cmds='chmod 555 $lib'
9523
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9524
soname_spec='${libname}${release}${shared_ext}$major'
9525
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9526
shlibpath_var=LD_LIBRARY_PATH
9527
shlibpath_overrides_runpath=no
9528
hardcode_into_libs=yes
9531
irix5* | irix6* | nonstopux*)
9533
nonstopux*) version_type=nonstopux ;;
9535
if test "$lt_cv_prog_gnu_ld" = yes; then
9543
soname_spec='${libname}${release}${shared_ext}$major'
9544
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9546
irix5* | nonstopux*)
9550
case $LD in # libtool.m4 will add one of these switches to LD
9551
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9552
libsuff= shlibsuff= libmagic=32-bit;;
9553
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9554
libsuff=32 shlibsuff=N32 libmagic=N32;;
9555
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9556
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9557
*) libsuff= shlibsuff= libmagic=never-match;;
9561
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9562
shlibpath_overrides_runpath=no
9563
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9564
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9565
hardcode_into_libs=yes
9568
# No shared lib support for Linux oldld, aout, or coff.
9569
linux*oldld* | linux*aout* | linux*coff*)
9573
# This must be Linux ELF.
9574
linux* | k*bsd*-gnu)
9578
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9579
soname_spec='${libname}${release}${shared_ext}$major'
9580
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9581
shlibpath_var=LD_LIBRARY_PATH
9582
shlibpath_overrides_runpath=no
9583
# Some binutils ld are patched to set DT_RUNPATH
9584
save_LDFLAGS=$LDFLAGS
9586
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9587
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9588
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589
/* end confdefs.h. */
9599
if ac_fn_c_try_link "$LINENO"; then :
9600
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9601
shlibpath_overrides_runpath=yes
9604
rm -f core conftest.err conftest.$ac_objext \
9605
conftest$ac_exeext conftest.$ac_ext
9606
LDFLAGS=$save_LDFLAGS
9609
# This implies no fast_install, which is unacceptable.
9610
# Some rework will be needed to allow for fast_install
9611
# before this can be enabled.
9612
hardcode_into_libs=yes
9614
# Add ABI-specific directories to the system library path.
9615
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9617
# Append ld.so.conf contents to the search path
9618
if test -f /etc/ld.so.conf; then
9619
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;/^$/d' | tr '\n' ' '`
9620
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9623
# We used to test for /lib/ld.so.1 and disable shared libraries on
9624
# powerpc, because MkLinux only supported shared libraries with the
9625
# GNU dynamic linker. Since this was broken with cross compilers,
9626
# most powerpc-linux boxes support dynamic linking these days and
9627
# people can always --disable-shared, the test was removed, and we
9628
# assume the GNU/Linux dynamic linker is in use.
9629
dynamic_linker='GNU/Linux ld.so'
9636
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9638
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9639
dynamic_linker='NetBSD (a.out) ld.so'
9641
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9642
soname_spec='${libname}${release}${shared_ext}$major'
9643
dynamic_linker='NetBSD ld.elf_so'
9645
shlibpath_var=LD_LIBRARY_PATH
9646
shlibpath_overrides_runpath=yes
9647
hardcode_into_libs=yes
9652
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9653
shlibpath_var=LD_LIBRARY_PATH
9654
shlibpath_overrides_runpath=yes
9661
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9662
soname_spec='${libname}${release}${shared_ext}$major'
9663
shlibpath_var=LD_LIBRARY_PATH
9664
shlibpath_overrides_runpath=no
9665
hardcode_into_libs=yes
9666
dynamic_linker='ldqnx.so'
9671
sys_lib_dlsearch_path_spec="/usr/lib"
9673
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9675
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9676
*) need_version=no ;;
9678
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9679
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9680
shlibpath_var=LD_LIBRARY_PATH
9681
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9683
openbsd2.[89] | openbsd2.[89].*)
9684
shlibpath_overrides_runpath=no
9687
shlibpath_overrides_runpath=yes
9691
shlibpath_overrides_runpath=yes
9696
libname_spec='$name'
9699
library_names_spec='$libname${shared_ext} $libname.a'
9700
dynamic_linker='OS/2 ld.exe'
9701
shlibpath_var=LIBPATH
9704
osf3* | osf4* | osf5*)
9708
soname_spec='${libname}${release}${shared_ext}$major'
9709
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9710
shlibpath_var=LD_LIBRARY_PATH
9711
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9712
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9723
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9724
soname_spec='${libname}${release}${shared_ext}$major'
9725
shlibpath_var=LD_LIBRARY_PATH
9726
shlibpath_overrides_runpath=yes
9727
hardcode_into_libs=yes
9728
# ldd complains unless libraries are executable
9729
postinstall_cmds='chmod +x $lib'
9734
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9735
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9736
shlibpath_var=LD_LIBRARY_PATH
9737
shlibpath_overrides_runpath=yes
9738
if test "$with_gnu_ld" = yes; then
9746
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9747
soname_spec='${libname}${release}${shared_ext}$major'
9748
shlibpath_var=LD_LIBRARY_PATH
9749
case $host_vendor in
9751
shlibpath_overrides_runpath=no
9753
runpath_var=LD_RUN_PATH
9761
shlibpath_overrides_runpath=no
9762
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9768
if test -d /usr/nec ;then
9770
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9771
soname_spec='$libname${shared_ext}.$major'
9772
shlibpath_var=LD_LIBRARY_PATH
9776
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9777
version_type=freebsd-elf
9780
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9781
soname_spec='${libname}${release}${shared_ext}$major'
9782
shlibpath_var=LD_LIBRARY_PATH
9783
shlibpath_overrides_runpath=yes
9784
hardcode_into_libs=yes
9785
if test "$with_gnu_ld" = yes; then
9786
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9788
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9791
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9795
sys_lib_dlsearch_path_spec='/usr/lib'
9799
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9803
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9804
shlibpath_var=LD_LIBRARY_PATH
9805
shlibpath_overrides_runpath=no
9806
hardcode_into_libs=yes
9811
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9812
soname_spec='${libname}${release}${shared_ext}$major'
9813
shlibpath_var=LD_LIBRARY_PATH
9820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9821
$as_echo "$dynamic_linker" >&6; }
9822
test "$dynamic_linker" = no && can_build_shared=no
9824
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9825
if test "$GCC" = yes; then
9826
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9829
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9830
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9832
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9833
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9923
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9925
if test -n "$hardcode_libdir_flag_spec" ||
9926
test -n "$runpath_var" ||
9927
test "X$hardcode_automatic" = "Xyes" ; then
9929
# We can hardcode non-existent directories.
9930
if test "$hardcode_direct" != no &&
9931
# If the only mechanism to avoid hardcoding is shlibpath_var, we
9932
# have to relink, otherwise we might link with an installed library
9933
# when we should be linking with a yet-to-be-installed one
9934
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9935
test "$hardcode_minus_L" != no; then
9936
# Linking always hardcodes the temporary library directory.
9937
hardcode_action=relink
9939
# We can link without hardcoding, and we can hardcode nonexisting dirs.
9940
hardcode_action=immediate
9943
# We cannot hardcode anything, or else we can only hardcode existing
9945
hardcode_action=unsupported
9947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9948
$as_echo "$hardcode_action" >&6; }
9950
if test "$hardcode_action" = relink ||
9951
test "$inherit_rpath" = yes; then
9952
# Fast installation is not supported
9953
enable_fast_install=no
9954
elif test "$shlibpath_overrides_runpath" = yes ||
9955
test "$enable_shared" = no; then
9956
# Fast installation is not necessary
9957
enable_fast_install=needless
9965
if test "x$enable_dlopen" != xyes; then
9966
enable_dlopen=unknown
9967
enable_dlopen_self=unknown
9968
enable_dlopen_self_static=unknown
9975
lt_cv_dlopen="load_add_on"
9977
lt_cv_dlopen_self=yes
9980
mingw* | pw32* | cegcc*)
9981
lt_cv_dlopen="LoadLibrary"
9986
lt_cv_dlopen="dlopen"
9991
# if libdl is installed we need to link against it
9992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9993
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9994
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9995
$as_echo_n "(cached) " >&6
9997
ac_check_lib_save_LIBS=$LIBS
9999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000
/* end confdefs.h. */
10002
/* Override any GCC internal prototype to avoid an error.
10003
Use char because int might match the return type of a GCC
10004
builtin and then its argument prototype would still apply. */
10017
if ac_fn_c_try_link "$LINENO"; then :
10018
ac_cv_lib_dl_dlopen=yes
10020
ac_cv_lib_dl_dlopen=no
10022
rm -f core conftest.err conftest.$ac_objext \
10023
conftest$ac_exeext conftest.$ac_ext
10024
LIBS=$ac_check_lib_save_LIBS
10026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10027
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10028
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10029
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10032
lt_cv_dlopen="dyld"
10034
lt_cv_dlopen_self=yes
10041
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10042
if test "x$ac_cv_func_shl_load" = x""yes; then :
10043
lt_cv_dlopen="shl_load"
10045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10046
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10047
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10048
$as_echo_n "(cached) " >&6
10050
ac_check_lib_save_LIBS=$LIBS
10052
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053
/* end confdefs.h. */
10055
/* Override any GCC internal prototype to avoid an error.
10056
Use char because int might match the return type of a GCC
10057
builtin and then its argument prototype would still apply. */
10065
return shl_load ();
10070
if ac_fn_c_try_link "$LINENO"; then :
10071
ac_cv_lib_dld_shl_load=yes
10073
ac_cv_lib_dld_shl_load=no
10075
rm -f core conftest.err conftest.$ac_objext \
10076
conftest$ac_exeext conftest.$ac_ext
10077
LIBS=$ac_check_lib_save_LIBS
10079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10080
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10081
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10082
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10084
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10085
if test "x$ac_cv_func_dlopen" = x""yes; then :
10086
lt_cv_dlopen="dlopen"
10088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10089
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10090
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10091
$as_echo_n "(cached) " >&6
10093
ac_check_lib_save_LIBS=$LIBS
10095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096
/* end confdefs.h. */
10098
/* Override any GCC internal prototype to avoid an error.
10099
Use char because int might match the return type of a GCC
10100
builtin and then its argument prototype would still apply. */
10113
if ac_fn_c_try_link "$LINENO"; then :
10114
ac_cv_lib_dl_dlopen=yes
10116
ac_cv_lib_dl_dlopen=no
10118
rm -f core conftest.err conftest.$ac_objext \
10119
conftest$ac_exeext conftest.$ac_ext
10120
LIBS=$ac_check_lib_save_LIBS
10122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10123
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10124
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10125
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10128
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10129
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10130
$as_echo_n "(cached) " >&6
10132
ac_check_lib_save_LIBS=$LIBS
10133
LIBS="-lsvld $LIBS"
10134
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135
/* end confdefs.h. */
10137
/* Override any GCC internal prototype to avoid an error.
10138
Use char because int might match the return type of a GCC
10139
builtin and then its argument prototype would still apply. */
10152
if ac_fn_c_try_link "$LINENO"; then :
10153
ac_cv_lib_svld_dlopen=yes
10155
ac_cv_lib_svld_dlopen=no
10157
rm -f core conftest.err conftest.$ac_objext \
10158
conftest$ac_exeext conftest.$ac_ext
10159
LIBS=$ac_check_lib_save_LIBS
10161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10162
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10163
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10164
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10167
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10168
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10169
$as_echo_n "(cached) " >&6
10171
ac_check_lib_save_LIBS=$LIBS
10173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174
/* end confdefs.h. */
10176
/* Override any GCC internal prototype to avoid an error.
10177
Use char because int might match the return type of a GCC
10178
builtin and then its argument prototype would still apply. */
10186
return dld_link ();
10191
if ac_fn_c_try_link "$LINENO"; then :
10192
ac_cv_lib_dld_dld_link=yes
10194
ac_cv_lib_dld_dld_link=no
10196
rm -f core conftest.err conftest.$ac_objext \
10197
conftest$ac_exeext conftest.$ac_ext
10198
LIBS=$ac_check_lib_save_LIBS
10200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10201
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10202
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10203
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10224
if test "x$lt_cv_dlopen" != xno; then
10230
case $lt_cv_dlopen in
10232
save_CPPFLAGS="$CPPFLAGS"
10233
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10235
save_LDFLAGS="$LDFLAGS"
10236
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10239
LIBS="$lt_cv_dlopen_libs $LIBS"
10241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10242
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10243
if test "${lt_cv_dlopen_self+set}" = set; then :
10244
$as_echo_n "(cached) " >&6
10246
if test "$cross_compiling" = yes; then :
10247
lt_cv_dlopen_self=cross
10249
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10250
lt_status=$lt_dlunknown
10251
cat > conftest.$ac_ext <<_LT_EOF
10252
#line 10252 "configure"
10253
#include "confdefs.h"
10262
# define LT_DLGLOBAL RTLD_GLOBAL
10265
# define LT_DLGLOBAL DL_GLOBAL
10267
# define LT_DLGLOBAL 0
10271
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10272
find out it does not work in some platform. */
10273
#ifndef LT_DLLAZY_OR_NOW
10275
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10278
# define LT_DLLAZY_OR_NOW DL_LAZY
10281
# define LT_DLLAZY_OR_NOW RTLD_NOW
10284
# define LT_DLLAZY_OR_NOW DL_NOW
10286
# define LT_DLLAZY_OR_NOW 0
10293
void fnord() { int i=42;}
10296
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10297
int status = $lt_dlunknown;
10301
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10302
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10303
/* dlclose (self); */
10311
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10312
(eval $ac_link) 2>&5
10314
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10315
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10316
(./conftest; exit; ) >&5 2>/dev/null
10318
case x$lt_status in
10319
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10320
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10321
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10324
# compilation failed
10325
lt_cv_dlopen_self=no
10332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10333
$as_echo "$lt_cv_dlopen_self" >&6; }
10335
if test "x$lt_cv_dlopen_self" = xyes; then
10336
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10338
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10339
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10340
$as_echo_n "(cached) " >&6
10342
if test "$cross_compiling" = yes; then :
10343
lt_cv_dlopen_self_static=cross
10345
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10346
lt_status=$lt_dlunknown
10347
cat > conftest.$ac_ext <<_LT_EOF
10348
#line 10348 "configure"
10349
#include "confdefs.h"
10358
# define LT_DLGLOBAL RTLD_GLOBAL
10361
# define LT_DLGLOBAL DL_GLOBAL
10363
# define LT_DLGLOBAL 0
10367
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10368
find out it does not work in some platform. */
10369
#ifndef LT_DLLAZY_OR_NOW
10371
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10374
# define LT_DLLAZY_OR_NOW DL_LAZY
10377
# define LT_DLLAZY_OR_NOW RTLD_NOW
10380
# define LT_DLLAZY_OR_NOW DL_NOW
10382
# define LT_DLLAZY_OR_NOW 0
10389
void fnord() { int i=42;}
10392
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10393
int status = $lt_dlunknown;
10397
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10398
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10399
/* dlclose (self); */
10407
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10408
(eval $ac_link) 2>&5
10410
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10411
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10412
(./conftest; exit; ) >&5 2>/dev/null
10414
case x$lt_status in
10415
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10416
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10417
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10420
# compilation failed
10421
lt_cv_dlopen_self_static=no
10428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10429
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10432
CPPFLAGS="$save_CPPFLAGS"
10433
LDFLAGS="$save_LDFLAGS"
10438
case $lt_cv_dlopen_self in
10439
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10440
*) enable_dlopen_self=unknown ;;
10443
case $lt_cv_dlopen_self_static in
10444
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10445
*) enable_dlopen_self_static=unknown ;;
10467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10468
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10469
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10470
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10471
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10473
$as_echo "yes" >&6; }
10475
# FIXME - insert some real tests, host_os isn't really good enough
10478
if test -n "$STRIP" ; then
10479
striplib="$STRIP -x"
10480
old_striplib="$STRIP -S"
10481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10482
$as_echo "yes" >&6; }
10484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10485
$as_echo "no" >&6; }
10489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10490
$as_echo "no" >&6; }
10506
# Report which library types will actually be built
10507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10508
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10510
$as_echo "$can_build_shared" >&6; }
10512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10513
$as_echo_n "checking whether to build shared libraries... " >&6; }
10514
test "$can_build_shared" = "no" && enable_shared=no
10516
# On AIX, shared libraries and static libraries use the same namespace, and
10517
# are all built from PIC.
10520
test "$enable_shared" = yes && enable_static=no
10521
if test -n "$RANLIB"; then
10522
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10523
postinstall_cmds='$RANLIB $lib'
10528
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10529
test "$enable_shared" = yes && enable_static=no
10533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10534
$as_echo "$enable_shared" >&6; }
10536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10537
$as_echo_n "checking whether to build static libraries... " >&6; }
10538
# Make sure either enable_shared or enable_static is yes.
10539
test "$enable_shared" = yes || enable_static=yes
10540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10541
$as_echo "$enable_static" >&6; }
10548
ac_cpp='$CPP $CPPFLAGS'
10549
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10550
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10551
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10567
ac_config_commands="$ac_config_commands libtool"
10572
# Only expand once:
10576
# Checks for libraries.
10579
#AC_SEARCH_LIBS(clock_gettime, rt)
10583
# Extract the first word of "xml2-config", so it can be a program name with args.
10584
set dummy xml2-config; ac_word=$2
10585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10586
$as_echo_n "checking for $ac_word... " >&6; }
10587
if test "${ac_cv_prog_HAVE_LIBXML2_CONFIG+set}" = set; then :
10588
$as_echo_n "(cached) " >&6
10590
if test -n "$HAVE_LIBXML2_CONFIG"; then
10591
ac_cv_prog_HAVE_LIBXML2_CONFIG="$HAVE_LIBXML2_CONFIG" # Let the user override the test.
10593
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10594
for as_dir in $PATH
10597
test -z "$as_dir" && as_dir=.
10598
for ac_exec_ext in '' $ac_executable_extensions; do
10599
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10600
ac_cv_prog_HAVE_LIBXML2_CONFIG="yes"
10601
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10610
HAVE_LIBXML2_CONFIG=$ac_cv_prog_HAVE_LIBXML2_CONFIG
10611
if test -n "$HAVE_LIBXML2_CONFIG"; then
10612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LIBXML2_CONFIG" >&5
10613
$as_echo "$HAVE_LIBXML2_CONFIG" >&6; }
10615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10616
$as_echo "no" >&6; }
10620
if test "x${HAVE_LIBXML2_CONFIG}" != "xyes"; then
10621
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10622
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10623
as_fn_error "xml2-config not found in PATH - this means libxml2 development package is missing
10624
See \`config.log' for more details." "$LINENO" 5; }
10626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadFile in -lxml2" >&5
10627
$as_echo_n "checking for xmlReadFile in -lxml2... " >&6; }
10628
if test "${ac_cv_lib_xml2_xmlReadFile+set}" = set; then :
10629
$as_echo_n "(cached) " >&6
10631
ac_check_lib_save_LIBS=$LIBS
10632
LIBS="-lxml2 `xml2-config --libs`
10634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635
/* end confdefs.h. */
10637
/* Override any GCC internal prototype to avoid an error.
10638
Use char because int might match the return type of a GCC
10639
builtin and then its argument prototype would still apply. */
10643
char xmlReadFile ();
10647
return xmlReadFile ();
10652
if ac_fn_c_try_link "$LINENO"; then :
10653
ac_cv_lib_xml2_xmlReadFile=yes
10655
ac_cv_lib_xml2_xmlReadFile=no
10657
rm -f core conftest.err conftest.$ac_objext \
10658
conftest$ac_exeext conftest.$ac_ext
10659
LIBS=$ac_check_lib_save_LIBS
10661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadFile" >&5
10662
$as_echo "$ac_cv_lib_xml2_xmlReadFile" >&6; }
10663
if test "x$ac_cv_lib_xml2_xmlReadFile" = x""yes; then :
10664
LIBXML2_CFLAGS=`xml2-config --cflags`
10665
LIBXML2_LIBS=`xml2-config --libs`
10668
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10669
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10670
as_fn_error "libxml2 is missing
10671
See \`config.log' for more details." "$LINENO" 5; }
10679
# Checks for header files.
10681
#AC_CHECK_HEADERS([])
10683
# Checks for typedefs, structures, and compiler characteristics.
10689
# Checks for library functions.
10690
for ac_header in stdlib.h
10692
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
10693
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
10694
cat >>confdefs.h <<_ACEOF
10695
#define HAVE_STDLIB_H 1
10702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
10703
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
10704
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
10705
$as_echo_n "(cached) " >&6
10707
if test "$cross_compiling" = yes; then :
10708
ac_cv_func_malloc_0_nonnull=no
10710
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711
/* end confdefs.h. */
10712
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
10713
# include <stdlib.h>
10721
return ! malloc (0);
10726
if ac_fn_c_try_run "$LINENO"; then :
10727
ac_cv_func_malloc_0_nonnull=yes
10729
ac_cv_func_malloc_0_nonnull=no
10731
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10732
conftest.$ac_objext conftest.beam conftest.$ac_ext
10736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
10737
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
10738
if test $ac_cv_func_malloc_0_nonnull = yes; then :
10740
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
10743
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
10745
case " $LIBOBJS " in
10746
*" malloc.$ac_objext "* ) ;;
10747
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
10752
$as_echo "#define malloc rpl_malloc" >>confdefs.h
10757
#AC_FUNC_SELECT_ARGTYPES
10759
#AC_CHECK_FUNCS([])
10761
LIBEE_CFLAGS="-I\$(top_srcdir)/include"
10762
LIBEE_LIBS="\$(top_builddir)/src/libee.la"
10766
# modules we require
10769
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10770
if test -n "$ac_tool_prefix"; then
10771
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10772
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10774
$as_echo_n "checking for $ac_word... " >&6; }
10775
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10776
$as_echo_n "(cached) " >&6
10778
case $PKG_CONFIG in
10780
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10784
for as_dir in $PATH
10787
test -z "$as_dir" && as_dir=.
10788
for ac_exec_ext in '' $ac_executable_extensions; do
10789
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10790
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10791
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10801
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10802
if test -n "$PKG_CONFIG"; then
10803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10804
$as_echo "$PKG_CONFIG" >&6; }
10806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807
$as_echo "no" >&6; }
10812
if test -z "$ac_cv_path_PKG_CONFIG"; then
10813
ac_pt_PKG_CONFIG=$PKG_CONFIG
10814
# Extract the first word of "pkg-config", so it can be a program name with args.
10815
set dummy pkg-config; ac_word=$2
10816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10817
$as_echo_n "checking for $ac_word... " >&6; }
10818
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10819
$as_echo_n "(cached) " >&6
10821
case $ac_pt_PKG_CONFIG in
10823
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10826
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827
for as_dir in $PATH
10830
test -z "$as_dir" && as_dir=.
10831
for ac_exec_ext in '' $ac_executable_extensions; do
10832
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10833
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10834
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10844
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10845
if test -n "$ac_pt_PKG_CONFIG"; then
10846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10847
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
10849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10850
$as_echo "no" >&6; }
10853
if test "x$ac_pt_PKG_CONFIG" = x; then
10856
case $cross_compiling:$ac_tool_warned in
10858
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10859
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10860
ac_tool_warned=yes ;;
10862
PKG_CONFIG=$ac_pt_PKG_CONFIG
10865
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10869
if test -n "$PKG_CONFIG"; then
10870
_pkg_min_version=0.9.0
10871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10872
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10873
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10875
$as_echo "yes" >&6; }
10877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10878
$as_echo "no" >&6; }
10885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBESTR" >&5
10886
$as_echo_n "checking for LIBESTR... " >&6; }
10888
if test -n "$LIBESTR_CFLAGS"; then
10889
pkg_cv_LIBESTR_CFLAGS="$LIBESTR_CFLAGS"
10890
elif test -n "$PKG_CONFIG"; then
10891
if test -n "$PKG_CONFIG" && \
10892
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libestr >= 0.0.0\""; } >&5
10893
($PKG_CONFIG --exists --print-errors "libestr >= 0.0.0") 2>&5
10895
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896
test $ac_status = 0; }; then
10897
pkg_cv_LIBESTR_CFLAGS=`$PKG_CONFIG --cflags "libestr >= 0.0.0" 2>/dev/null`
10904
if test -n "$LIBESTR_LIBS"; then
10905
pkg_cv_LIBESTR_LIBS="$LIBESTR_LIBS"
10906
elif test -n "$PKG_CONFIG"; then
10907
if test -n "$PKG_CONFIG" && \
10908
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libestr >= 0.0.0\""; } >&5
10909
($PKG_CONFIG --exists --print-errors "libestr >= 0.0.0") 2>&5
10911
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10912
test $ac_status = 0; }; then
10913
pkg_cv_LIBESTR_LIBS=`$PKG_CONFIG --libs "libestr >= 0.0.0" 2>/dev/null`
10923
if test $pkg_failed = yes; then
10925
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10926
_pkg_short_errors_supported=yes
10928
_pkg_short_errors_supported=no
10930
if test $_pkg_short_errors_supported = yes; then
10931
LIBESTR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libestr >= 0.0.0" 2>&1`
10933
LIBESTR_PKG_ERRORS=`$PKG_CONFIG --print-errors "libestr >= 0.0.0" 2>&1`
10935
# Put the nasty error message in config.log where it belongs
10936
echo "$LIBESTR_PKG_ERRORS" >&5
10938
as_fn_error "Package requirements (libestr >= 0.0.0) were not met:
10940
$LIBESTR_PKG_ERRORS
10942
Consider adjusting the PKG_CONFIG_PATH environment variable if you
10943
installed software in a non-standard prefix.
10945
Alternatively, you may set the environment variables LIBESTR_CFLAGS
10946
and LIBESTR_LIBS to avoid the need to call pkg-config.
10947
See the pkg-config man page for more details.
10949
elif test $pkg_failed = untried; then
10950
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10951
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10952
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
10953
is in your PATH or set the PKG_CONFIG environment variable to the full
10954
path to pkg-config.
10956
Alternatively, you may set the environment variables LIBESTR_CFLAGS
10957
and LIBESTR_LIBS to avoid the need to call pkg-config.
10958
See the pkg-config man page for more details.
10960
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10961
See \`config.log' for more details." "$LINENO" 5; }
10963
LIBESTR_CFLAGS=$pkg_cv_LIBESTR_CFLAGS
10964
LIBESTR_LIBS=$pkg_cv_LIBESTR_LIBS
10965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10966
$as_echo "yes" >&6; }
10970
# enable/disable the testbench (e.g. because some important parts
10972
# Check whether --enable-testbench was given.
10973
if test "${enable_testbench+set}" = set; then :
10974
enableval=$enable_testbench; case "${enableval}" in
10975
yes) enable_testbench="yes" ;;
10976
no) enable_testbench="no" ;;
10977
*) as_fn_error "bad value ${enableval} for --enable-testbench" "$LINENO" 5 ;;
10980
enable_testbench=yes
10984
if test x$enable_testbench = xyes; then
10985
ENABLE_TESTBENCH_TRUE=
10986
ENABLE_TESTBENCH_FALSE='#'
10988
ENABLE_TESTBENCH_TRUE='#'
10989
ENABLE_TESTBENCH_FALSE=
10994
# debug mode settings
10995
# Check whether --enable-debug was given.
10996
if test "${enable_debug+set}" = set; then :
10997
enableval=$enable_debug; case "${enableval}" in
10998
yes) enable_debug="yes" ;;
10999
no) enable_debug="no" ;;
11000
*) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
11007
if test x$enable_debug = xyes; then
11009
ENABLE_DEBUG_FALSE='#'
11011
ENABLE_DEBUG_TRUE='#'
11012
ENABLE_DEBUG_FALSE=
11015
if test "$enable_debug" = "yes"; then
11017
$as_echo "#define DEBUG 1" >>confdefs.h
11020
if test "$enable_debug" = "no"; then
11022
$as_echo "#define NDEBUG 1" >>confdefs.h
11028
ac_config_files="$ac_config_files Makefile libee.pc src/Makefile include/Makefile include/libee/Makefile tests/Makefile"
11030
cat >confcache <<\_ACEOF
11031
# This file is a shell script that caches the results of configure
11032
# tests run on this system so they can be shared between configure
11033
# scripts and configure runs, see configure's option --config-cache.
11034
# It is not useful on other systems. If it contains results you don't
11035
# want to keep, you may remove or edit it.
11037
# config.status only pays attention to the cache file if you give it
11038
# the --recheck option to rerun configure.
11040
# `ac_cv_env_foo' variables (set or unset) will be overridden when
11041
# loading this file, other *unset* `ac_cv_foo' will be assigned the
11042
# following values.
11046
# The following way of writing the cache mishandles newlines in values,
11047
# but we know of no workaround that is simple, portable, and efficient.
11048
# So, we kill variables containing newlines.
11049
# Ultrix sh set writes to stderr and can't be redirected directly,
11050
# and sets the high bit in the cache file unless we assign to the vars.
11052
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11053
eval ac_val=\$$ac_var
11057
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11058
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11061
_ | IFS | as_nl) ;; #(
11062
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11063
*) { eval $ac_var=; unset $ac_var;} ;;
11069
case $as_nl`(ac_space=' '; set) 2>&1` in #(
11070
*${as_nl}ac_space=\ *)
11071
# `set' does not quote correctly, so add quotes: double-quote
11072
# substitution turns \\\\ into \\, and sed turns \\ into \.
11075
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11078
# `set' quotes correctly as required by POSIX, so do not add quotes.
11079
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11088
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11090
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11092
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11093
if test -w "$cache_file"; then
11094
test "x$cache_file" != "x/dev/null" &&
11095
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11096
$as_echo "$as_me: updating cache $cache_file" >&6;}
11097
cat confcache >$cache_file
11099
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11100
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11105
test "x$prefix" = xNONE && prefix=$ac_default_prefix
11106
# Let make expand exec_prefix.
11107
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11109
DEFS=-DHAVE_CONFIG_H
11113
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11114
# 1. Remove the extension, and $U if already installed.
11115
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11116
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11117
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11118
# will be set to the directory where LIBOBJS objects are built.
11119
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11120
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11122
LIBOBJS=$ac_libobjs
11124
LTLIBOBJS=$ac_ltlibobjs
11127
if test -n "$EXEEXT"; then
11129
am__EXEEXT_FALSE='#'
11131
am__EXEEXT_TRUE='#'
11135
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11136
as_fn_error "conditional \"AMDEP\" was never defined.
11137
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11139
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11140
as_fn_error "conditional \"am__fastdepCC\" was never defined.
11141
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11143
if test -z "${ENABLE_TESTBENCH_TRUE}" && test -z "${ENABLE_TESTBENCH_FALSE}"; then
11144
as_fn_error "conditional \"ENABLE_TESTBENCH\" was never defined.
11145
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11147
if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
11148
as_fn_error "conditional \"ENABLE_DEBUG\" was never defined.
11149
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11152
: ${CONFIG_STATUS=./config.status}
11154
ac_clean_files_save=$ac_clean_files
11155
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11156
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11157
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11159
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11161
# Generated by $as_me.
11162
# Run this file to recreate the current configuration.
11163
# Compiler output produced by configure, useful for debugging
11164
# configure, is in config.log if it exists.
11167
ac_cs_recheck=false
11170
SHELL=\${CONFIG_SHELL-$SHELL}
11173
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11174
## -------------------- ##
11175
## M4sh Initialization. ##
11176
## -------------------- ##
11178
# Be more Bourne compatible
11179
DUALCASE=1; export DUALCASE # for MKS sh
11180
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11183
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11184
# is contrary to our usage. Disable this feature.
11185
alias -g '${1+"$@"}'='"$@"'
11186
setopt NO_GLOB_SUBST
11188
case `(set -o) 2>/dev/null` in #(
11200
# Printing a long string crashes Solaris 7 /usr/bin/printf.
11201
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11202
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11203
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11204
# Prefer a ksh shell builtin over an external printf program on Solaris,
11205
# but without wasting forks for bash or zsh.
11206
if test -z "$BASH_VERSION$ZSH_VERSION" \
11207
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11208
as_echo='print -r --'
11209
as_echo_n='print -rn --'
11210
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11211
as_echo='printf %s\n'
11212
as_echo_n='printf %s'
11214
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11215
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11216
as_echo_n='/usr/ucb/echo -n'
11218
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11219
as_echo_n_body='eval
11223
expr "X$arg" : "X\\(.*\\)$as_nl";
11224
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11226
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11228
export as_echo_n_body
11229
as_echo_n='sh -c $as_echo_n_body as_echo'
11231
export as_echo_body
11232
as_echo='sh -c $as_echo_body as_echo'
11235
# The user is always right.
11236
if test "${PATH_SEPARATOR+set}" != set; then
11238
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11239
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11246
# We need space, tab and new line, in precisely that order. Quoting is
11247
# there to prevent editors from complaining about space-tab.
11248
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11249
# splitting by setting IFS to empty value.)
11252
# Find who we are. Look in the path if we contain no directory separator.
11254
*[\\/]* ) as_myself=$0 ;;
11255
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11256
for as_dir in $PATH
11259
test -z "$as_dir" && as_dir=.
11260
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11266
# We did not find ourselves, most probably we were run as `sh COMMAND'
11267
# in which case we are not to be found in the path.
11268
if test "x$as_myself" = x; then
11271
if test ! -f "$as_myself"; then
11272
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11276
# Unset variables that we do not need and which cause bugs (e.g. in
11277
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11278
# suppresses any "Segmentation fault" message there. '((' could
11279
# trigger a bug in pdksh 5.2.14.
11280
for as_var in BASH_ENV ENV MAIL MAILPATH
11281
do eval test x\${$as_var+set} = xset \
11282
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11295
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11298
# as_fn_error ERROR [LINENO LOG_FD]
11299
# ---------------------------------
11300
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11301
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11302
# script with status $?, using 1 if that was 0.
11305
as_status=$?; test $as_status -eq 0 && as_status=1
11307
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11308
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11310
$as_echo "$as_me: error: $1" >&2
11311
as_fn_exit $as_status
11315
# as_fn_set_status STATUS
11316
# -----------------------
11317
# Set $? to STATUS, without forking.
11318
as_fn_set_status ()
11321
} # as_fn_set_status
11323
# as_fn_exit STATUS
11324
# -----------------
11325
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11329
as_fn_set_status $1
11335
# Portably unset VAR.
11338
{ eval $1=; unset $1;}
11340
as_unset=as_fn_unset
11341
# as_fn_append VAR VALUE
11342
# ----------------------
11343
# Append the text in VALUE to the end of the definition contained in VAR. Take
11344
# advantage of any shell optimizations that allow amortized linear growth over
11345
# repeated appends, instead of the typical quadratic growth present in naive
11347
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11348
eval 'as_fn_append ()
11359
# as_fn_arith ARG...
11360
# ------------------
11361
# Perform arithmetic evaluation on the ARGs, and store the result in the
11362
# global $as_val. Take advantage of shells that can avoid forks. The arguments
11363
# must be portable across $(()) and expr.
11364
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11365
eval 'as_fn_arith ()
11372
as_val=`expr "$@" || test $? -eq 1`
11377
if expr a : '\(a\)' >/dev/null 2>&1 &&
11378
test "X`expr 00001 : '.*\(...\)'`" = X001; then
11384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11385
as_basename=basename
11390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11396
as_me=`$as_basename -- "$0" ||
11397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11398
X"$0" : 'X\(//\)$' \| \
11399
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11401
sed '/^.*\/\([^/][^/]*\)\/*$/{
11415
# Avoid depending upon Character Ranges.
11416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11418
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11419
as_cr_digits='0123456789'
11420
as_cr_alnum=$as_cr_Letters$as_cr_digits
11422
ECHO_C= ECHO_N= ECHO_T=
11423
case `echo -n x` in #(((((
11425
case `echo 'xy\c'` in
11426
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
11428
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11435
rm -f conf$$ conf$$.exe conf$$.file
11436
if test -d conf$$.dir; then
11437
rm -f conf$$.dir/conf$$.file
11440
mkdir conf$$.dir 2>/dev/null
11442
if (echo >conf$$.file) 2>/dev/null; then
11443
if ln -s conf$$.file conf$$ 2>/dev/null; then
11445
# ... but there are two gotchas:
11446
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11447
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11448
# In both cases, we have to default to `cp -p'.
11449
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11451
elif ln conf$$.file conf$$ 2>/dev/null; then
11459
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11460
rmdir conf$$.dir 2>/dev/null
11465
# Create "$as_dir" as a directory, including parents if necessary.
11470
-*) as_dir=./$as_dir;;
11472
test -d "$as_dir" || eval $as_mkdir_p || {
11476
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11477
*) as_qdir=$as_dir;;
11479
as_dirs="'$as_qdir' $as_dirs"
11480
as_dir=`$as_dirname -- "$as_dir" ||
11481
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11482
X"$as_dir" : 'X\(//\)[^/]' \| \
11483
X"$as_dir" : 'X\(//\)$' \| \
11484
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11485
$as_echo X"$as_dir" |
11486
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11490
/^X\(\/\/\)[^/].*/{
11503
test -d "$as_dir" && break
11505
test -z "$as_dirs" || eval "mkdir $as_dirs"
11506
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
11510
if mkdir -p . 2>/dev/null; then
11511
as_mkdir_p='mkdir -p "$as_dir"'
11513
test -d ./-p && rmdir ./-p
11517
if test -x / >/dev/null 2>&1; then
11518
as_test_x='test -x'
11520
if ls -dL / >/dev/null 2>&1; then
11527
if test -d "$1"; then
11533
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11534
???[sx]*):;;*)false;;esac;fi
11538
as_executable_p=$as_test_x
11540
# Sed expression to map a string onto a valid CPP name.
11541
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11543
# Sed expression to map a string onto a valid variable name.
11544
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11548
## ----------------------------------- ##
11549
## Main body of $CONFIG_STATUS script. ##
11550
## ----------------------------------- ##
11552
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11554
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11555
# Save the log message, to keep $0 and so on meaningful, and to
11556
# report actual input values of CONFIG_FILES etc. instead of their
11557
# values after options handling.
11559
This file was extended by libee $as_me 0.1.0, which was
11560
generated by GNU Autoconf 2.65. Invocation command line was
11562
CONFIG_FILES = $CONFIG_FILES
11563
CONFIG_HEADERS = $CONFIG_HEADERS
11564
CONFIG_LINKS = $CONFIG_LINKS
11565
CONFIG_COMMANDS = $CONFIG_COMMANDS
11568
on `(hostname || uname -n) 2>/dev/null | sed 1q`
11573
case $ac_config_files in *"
11574
"*) set x $ac_config_files; shift; ac_config_files=$*;;
11577
case $ac_config_headers in *"
11578
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11582
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11583
# Files that config.status was made for.
11584
config_files="$ac_config_files"
11585
config_headers="$ac_config_headers"
11586
config_commands="$ac_config_commands"
11590
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11592
\`$as_me' instantiates files and other configuration actions
11593
from templates according to the current configuration. Unless the files
11594
and actions are specified as TAGs, all are instantiated by default.
11596
Usage: $0 [OPTION]... [TAG]...
11598
-h, --help print this help, then exit
11599
-V, --version print version number and configuration settings, then exit
11600
--config print configuration, then exit
11601
-q, --quiet, --silent
11602
do not print progress messages
11603
-d, --debug don't remove temporary files
11604
--recheck update $as_me by reconfiguring in the same conditions
11605
--file=FILE[:TEMPLATE]
11606
instantiate the configuration file FILE
11607
--header=FILE[:TEMPLATE]
11608
instantiate the configuration header FILE
11610
Configuration files:
11613
Configuration headers:
11616
Configuration commands:
11619
Report bugs to <rgerhards@adiscon.com>."
11622
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11623
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11625
libee config.status 0.1.0
11626
configured by $0, generated by GNU Autoconf 2.65,
11627
with options \\"\$ac_cs_config\\"
11629
Copyright (C) 2009 Free Software Foundation, Inc.
11630
This config.status script is free software; the Free Software Foundation
11631
gives unlimited permission to copy, distribute and modify it."
11638
test -n "\$AWK" || AWK=awk
11641
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11642
# The default lists apply if the user does not specify any file.
11648
ac_option=`expr "X$1" : 'X\([^=]*\)='`
11649
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11660
# Handling of the options.
11661
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11663
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11664
$as_echo "$ac_cs_version"; exit ;;
11665
--config | --confi | --conf | --con | --co | --c )
11666
$as_echo "$ac_cs_config"; exit ;;
11667
--debug | --debu | --deb | --de | --d | -d )
11669
--file | --fil | --fi | --f )
11672
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11674
as_fn_append CONFIG_FILES " '$ac_optarg'"
11675
ac_need_defaults=false;;
11676
--header | --heade | --head | --hea )
11679
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11681
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11682
ac_need_defaults=false;;
11684
# Conflict between --help and --header
11685
as_fn_error "ambiguous option: \`$1'
11686
Try \`$0 --help' for more information.";;
11687
--help | --hel | -h )
11688
$as_echo "$ac_cs_usage"; exit ;;
11689
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
11690
| -silent | --silent | --silen | --sile | --sil | --si | --s)
11693
# This is an error.
11694
-*) as_fn_error "unrecognized option: \`$1'
11695
Try \`$0 --help' for more information." ;;
11697
*) as_fn_append ac_config_targets " $1"
11698
ac_need_defaults=false ;;
11704
ac_configure_extra_args=
11706
if $ac_cs_silent; then
11708
ac_configure_extra_args="$ac_configure_extra_args --silent"
11712
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11713
if \$ac_cs_recheck; then
11714
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11716
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11717
CONFIG_SHELL='$SHELL'
11718
export CONFIG_SHELL
11723
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11727
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11728
## Running $as_me. ##
11734
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11738
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11741
# The HP-UX ksh and POSIX shell print the target directory to stdout
11742
# if CDPATH is set.
11743
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11745
sed_quote_subst='$sed_quote_subst'
11746
double_quote_subst='$double_quote_subst'
11747
delay_variable_subst='$delay_variable_subst'
11748
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11749
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11750
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11751
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11752
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11753
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11754
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11755
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11756
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11757
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11758
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11759
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11760
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11761
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11762
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11763
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11764
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11765
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11766
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11767
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11768
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11769
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11770
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11771
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11772
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11773
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11774
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11775
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11776
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11777
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11778
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11779
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11780
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11781
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11782
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11783
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11784
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11785
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11786
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11787
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11788
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11789
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11790
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11791
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11792
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
11793
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11794
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11795
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11796
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11797
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11798
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11799
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11800
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11801
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11802
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11803
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11804
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11805
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11806
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11807
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11808
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11809
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11810
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11811
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11812
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11813
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11814
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11815
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11816
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11817
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11818
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11819
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11820
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11821
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11822
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11823
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11824
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11825
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11826
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11827
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11828
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11829
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11830
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11831
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11832
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11833
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11834
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11835
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11836
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11837
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11838
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11839
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11840
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11841
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11842
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11843
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11844
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11845
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11846
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11847
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11848
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11849
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11850
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11851
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11852
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11853
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11854
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11855
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11856
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11857
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11858
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11859
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11860
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11861
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11862
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11863
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11864
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11865
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11868
LTCFLAGS='$LTCFLAGS'
11869
compiler='$compiler_DEFAULT'
11871
# Quote evaled strings.
11883
deplibs_check_method \
11892
lt_cv_sys_global_symbol_pipe \
11893
lt_cv_sys_global_symbol_to_cdecl \
11894
lt_cv_sys_global_symbol_to_c_name_address \
11895
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11898
lt_prog_compiler_no_builtin_flag \
11899
lt_prog_compiler_wl \
11900
lt_prog_compiler_pic \
11901
lt_prog_compiler_static \
11902
lt_cv_prog_compiler_c_o \
11910
export_dynamic_flag_spec \
11911
whole_archive_flag_spec \
11912
compiler_needs_object \
11914
allow_undefined_flag \
11915
no_undefined_flag \
11916
hardcode_libdir_flag_spec \
11917
hardcode_libdir_flag_spec_ld \
11918
hardcode_libdir_separator \
11923
variables_saved_for_relink \
11925
library_names_spec \
11930
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11931
*[\\\\\\\`\\"\\\$]*)
11932
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11935
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11940
# Double-quote double-evaled strings.
11941
for var in reload_cmds \
11942
old_postinstall_cmds \
11943
old_postuninstall_cmds \
11945
extract_expsyms_cmds \
11946
old_archive_from_new_cmds \
11947
old_archive_from_expsyms_cmds \
11949
archive_expsym_cmds \
11951
module_expsym_cmds \
11952
export_symbols_cmds \
11955
postuninstall_cmds \
11957
sys_lib_search_path_spec \
11958
sys_lib_dlsearch_path_spec; do
11959
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11960
*[\\\\\\\`\\"\\\$]*)
11961
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11964
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11969
# Fix-up fallback echo if it was mangled by the above quoting rules.
11971
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11975
ac_aux_dir='$ac_aux_dir'
11976
xsi_shell='$xsi_shell'
11977
lt_shell_append='$lt_shell_append'
11979
# See if we are running on zsh, and set the options which allow our
11980
# commands through without removal of \ escapes INIT.
11981
if test -n "\${ZSH_VERSION+set}" ; then
11982
setopt NO_GLOB_SUBST
11988
TIMESTAMP='$TIMESTAMP'
11997
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11999
# Handling of arguments.
12000
for ac_config_target in $ac_config_targets
12002
case $ac_config_target in
12003
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12004
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12005
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12006
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12007
"libee.pc") CONFIG_FILES="$CONFIG_FILES libee.pc" ;;
12008
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12009
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
12010
"include/libee/Makefile") CONFIG_FILES="$CONFIG_FILES include/libee/Makefile" ;;
12011
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12013
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12018
# If the user did not use the arguments to specify the items to instantiate,
12019
# then the envvar interface is used. Set only those that are not.
12020
# We use the long form for the default assignment because of an extremely
12021
# bizarre bug on SunOS 4.1.3.
12022
if $ac_need_defaults; then
12023
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12024
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12025
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12028
# Have a temporary directory for convenience. Make it in the build tree
12029
# simply because there is no reason against having it here, and in addition,
12030
# creating and moving files from /tmp can sometimes cause problems.
12031
# Hook for its removal unless debugging.
12032
# Note that there is a small window in which the directory will not be cleaned:
12033
# after its creation but before its name has been assigned to `$tmp'.
12037
trap 'exit_status=$?
12038
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12040
trap 'as_fn_exit 1' 1 2 13 15
12042
# Create a (secure) tmp directory for tmp files.
12045
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12046
test -n "$tmp" && test -d "$tmp"
12049
tmp=./conf$$-$RANDOM
12050
(umask 077 && mkdir "$tmp")
12051
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
12053
# Set up the scripts for CONFIG_FILES section.
12054
# No need to generate them if there are no CONFIG_FILES.
12055
# This happens for instance with `./config.status config.h'.
12056
if test -n "$CONFIG_FILES"; then
12059
ac_cr=`echo X | tr X '\015'`
12060
# On cygwin, bash can eat \r inside `` if the user requested igncr.
12061
# But we know of no other shell where ac_cr would be empty at this
12062
# point, so we can use a bashism as a fallback.
12063
if test "x$ac_cr" = x; then
12064
eval ac_cr=\$\'\\r\'
12066
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12067
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12070
ac_cs_awk_cr=$ac_cr
12073
echo 'BEGIN {' >"$tmp/subs1.awk" &&
12078
echo "cat >conf$$subs.awk <<_ACEOF" &&
12079
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12081
} >conf$$subs.sh ||
12082
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12083
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12085
for ac_last_try in false false false false false :; do
12086
. ./conf$$subs.sh ||
12087
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12089
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12090
if test $ac_delim_n = $ac_delim_num; then
12092
elif $ac_last_try; then
12093
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12095
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12098
rm -f conf$$subs.sh
12100
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12101
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12105
s/^/S["/; s/!.*/"]=/
12115
s/\(.\{148\}\)..*/\1/
12117
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12122
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12129
s/\(.\{148\}\)..*/\1/
12131
s/["\\]/\\&/g; s/^/"/; s/$/"/
12135
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12140
' <conf$$subs.awk | sed '
12145
' >>$CONFIG_STATUS || ac_write_fail=1
12146
rm -f conf$$subs.awk
12147
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12149
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12150
for (key in S) S_is_set[key] = 1
12156
nfields = split(line, field, "@")
12158
len = length(field[1])
12159
for (i = 2; i < nfields; i++) {
12161
keylen = length(key)
12162
if (S_is_set[key]) {
12164
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12165
len += length(value) + length(field[++i])
12176
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12177
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12178
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12181
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12182
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
12185
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12186
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12187
# trailing colons and then remove the whole line if VPATH becomes empty
12188
# (actually we leave an empty line to preserve line numbers).
12189
if test "x$srcdir" = x.; then
12190
ac_vpsub='/^[ ]*VPATH[ ]*=/{
12191
s/:*\$(srcdir):*/:/
12192
s/:*\${srcdir}:*/:/
12194
s/^\([^=]*=[ ]*\):*/\1/
12200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12201
fi # test -n "$CONFIG_FILES"
12203
# Set up the scripts for CONFIG_HEADERS section.
12204
# No need to generate them if there are no CONFIG_HEADERS.
12205
# This happens for instance with `./config.status Makefile'.
12206
if test -n "$CONFIG_HEADERS"; then
12207
cat >"$tmp/defines.awk" <<\_ACAWK ||
12211
# Transform confdefs.h into an awk script `defines.awk', embedded as
12212
# here-document in config.status, that substitutes the proper values into
12213
# config.h.in to produce config.h.
12215
# Create a delimiter string that does not exist in confdefs.h, to ease
12216
# handling of long lines.
12218
for ac_last_try in false false :; do
12219
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12220
if test -z "$ac_t"; then
12222
elif $ac_last_try; then
12223
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12225
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12229
# For the awk script, D is an array of macro values keyed by name,
12230
# likewise P contains macro parameters if any. Preserve backslash
12231
# newline sequences.
12233
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12235
s/.\{148\}/&'"$ac_delim"'/g
12238
s/^[ ]*#[ ]*define[ ][ ]*/ /
12245
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12247
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12251
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12252
D["\1"]=" \3\\\\\\n"\\/p
12254
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12259
s/.\{148\}/&'"$ac_delim"'/g
12264
s/["\\]/\\&/g; s/^/"/; s/$/"/p
12267
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12269
' <confdefs.h | sed '
12270
s/'"$ac_delim"'/"\\\
12271
"/g' >>$CONFIG_STATUS || ac_write_fail=1
12273
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12274
for (key in D) D_is_set[key] = 1
12277
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12279
split(line, arg, " ")
12280
if (arg[1] == "#") {
12284
defundef = substr(arg[1], 2)
12287
split(mac1, mac2, "(") #)
12289
prefix = substr(line, 1, index(line, defundef) - 1)
12290
if (D_is_set[macro]) {
12291
# Preserve the white space surrounding the "#".
12292
print prefix "define", macro P[macro] D[macro]
12295
# Replace #undef with comments. This is necessary, for example,
12296
# in the case of _POSIX_SOURCE, which is predefined and required
12297
# on some systems where configure will not decide to define it.
12298
if (defundef == "undef") {
12299
print "/*", prefix defundef, macro, "*/"
12307
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12308
as_fn_error "could not setup config headers machinery" "$LINENO" 5
12309
fi # test -n "$CONFIG_HEADERS"
12312
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12317
:[FHLC]) ac_mode=$ac_tag; continue;;
12319
case $ac_mode$ac_tag in
12321
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12322
:[FH]-) ac_tag=-:-;;
12323
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12340
-) ac_f="$tmp/stdin";;
12341
*) # Look for the file first in the build tree, then in the source tree
12342
# (if the path is not absolute). The absolute path cannot be DOS-style,
12343
# because $ac_f cannot contain `:'.
12347
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12349
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12351
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12352
as_fn_append ac_file_inputs " '$ac_f'"
12355
# Let's still pretend it is `configure' which instantiates (i.e., don't
12356
# use $as_me), people would be surprised to read:
12357
# /* config.h. Generated by config.status. */
12358
configure_input='Generated from '`
12359
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12361
if test x"$ac_file" != x-; then
12362
configure_input="$ac_file. $configure_input"
12363
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12364
$as_echo "$as_me: creating $ac_file" >&6;}
12366
# Neutralize special characters interpreted by sed in replacement strings.
12367
case $configure_input in #(
12368
*\&* | *\|* | *\\* )
12369
ac_sed_conf_input=`$as_echo "$configure_input" |
12370
sed 's/[\\\\&|]/\\\\&/g'`;; #(
12371
*) ac_sed_conf_input=$configure_input;;
12375
*:-:* | *:-) cat >"$tmp/stdin" \
12376
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12381
ac_dir=`$as_dirname -- "$ac_file" ||
12382
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12383
X"$ac_file" : 'X\(//\)[^/]' \| \
12384
X"$ac_file" : 'X\(//\)$' \| \
12385
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12386
$as_echo X"$ac_file" |
12387
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12391
/^X\(\/\/\)[^/].*/{
12404
as_dir="$ac_dir"; as_fn_mkdir_p
12408
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12410
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12411
# A ".." for each directory in $ac_dir_suffix.
12412
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12413
case $ac_top_builddir_sub in
12414
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12415
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12418
ac_abs_top_builddir=$ac_pwd
12419
ac_abs_builddir=$ac_pwd$ac_dir_suffix
12420
# for backward compatibility:
12421
ac_top_builddir=$ac_top_build_prefix
12424
.) # We are building in place.
12426
ac_top_srcdir=$ac_top_builddir_sub
12427
ac_abs_top_srcdir=$ac_pwd ;;
12428
[\\/]* | ?:[\\/]* ) # Absolute name.
12429
ac_srcdir=$srcdir$ac_dir_suffix;
12430
ac_top_srcdir=$srcdir
12431
ac_abs_top_srcdir=$srcdir ;;
12432
*) # Relative name.
12433
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12434
ac_top_srcdir=$ac_top_build_prefix$srcdir
12435
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12437
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12447
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12448
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12450
ac_MKDIR_P=$MKDIR_P
12452
[\\/$]* | ?:[\\/]* ) ;;
12453
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12457
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12458
# If the template does not know about datarootdir, expand it.
12459
# FIXME: This hack should be removed a few years after 2.60.
12460
ac_datarootdir_hack=; ac_datarootdir_seen=
12471
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12472
*datarootdir*) ac_datarootdir_seen=yes;;
12473
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12474
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12475
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12477
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12478
ac_datarootdir_hack='
12479
s&@datadir@&$datadir&g
12480
s&@docdir@&$docdir&g
12481
s&@infodir@&$infodir&g
12482
s&@localedir@&$localedir&g
12483
s&@mandir@&$mandir&g
12484
s&\\\${datarootdir}&$datarootdir&g' ;;
12488
# Neutralize VPATH when `$srcdir' = `.'.
12489
# Shell code in configure.ac might set extrasub.
12490
# FIXME: do we really want to maintain this feature?
12491
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12492
ac_sed_extra="$ac_vpsub
12495
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12497
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12498
s|@configure_input@|$ac_sed_conf_input|;t t
12499
s&@top_builddir@&$ac_top_builddir_sub&;t t
12500
s&@top_build_prefix@&$ac_top_build_prefix&;t t
12501
s&@srcdir@&$ac_srcdir&;t t
12502
s&@abs_srcdir@&$ac_abs_srcdir&;t t
12503
s&@top_srcdir@&$ac_top_srcdir&;t t
12504
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12505
s&@builddir@&$ac_builddir&;t t
12506
s&@abs_builddir@&$ac_abs_builddir&;t t
12507
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12508
s&@INSTALL@&$ac_INSTALL&;t t
12509
s&@MKDIR_P@&$ac_MKDIR_P&;t t
12510
$ac_datarootdir_hack
12512
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12513
|| as_fn_error "could not create $ac_file" "$LINENO" 5
12515
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12516
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12517
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12518
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12519
which seems to be undefined. Please make sure it is defined." >&5
12520
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12521
which seems to be undefined. Please make sure it is defined." >&2;}
12525
-) cat "$tmp/out" && rm -f "$tmp/out";;
12526
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12528
|| as_fn_error "could not create $ac_file" "$LINENO" 5
12534
if test x"$ac_file" != x-; then
12536
$as_echo "/* $configure_input */" \
12537
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12538
} >"$tmp/config.h" \
12539
|| as_fn_error "could not create $ac_file" "$LINENO" 5
12540
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12541
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12542
$as_echo "$as_me: $ac_file is unchanged" >&6;}
12545
mv "$tmp/config.h" "$ac_file" \
12546
|| as_fn_error "could not create $ac_file" "$LINENO" 5
12549
$as_echo "/* $configure_input */" \
12550
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12551
|| as_fn_error "could not create -" "$LINENO" 5
12553
# Compute "$ac_file"'s index in $config_headers.
12556
for _am_header in $config_headers :; do
12557
case $_am_header in
12558
$_am_arg | $_am_arg:* )
12561
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
12564
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12565
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12566
X"$_am_arg" : 'X\(//\)[^/]' \| \
12567
X"$_am_arg" : 'X\(//\)$' \| \
12568
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12569
$as_echo X"$_am_arg" |
12570
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12574
/^X\(\/\/\)[^/].*/{
12586
s/.*/./; q'`/stamp-h$_am_stamp_count
12589
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12590
$as_echo "$as_me: executing $ac_file commands" >&6;}
12595
case $ac_file$ac_mode in
12596
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12597
# Autoconf 2.62 quotes --file arguments for eval, but not when files
12598
# are listed without --file. Let's play safe and only enable the eval
12599
# if we detect the quoting.
12600
case $CONFIG_FILES in
12601
*\'*) eval set x "$CONFIG_FILES" ;;
12602
*) set x $CONFIG_FILES ;;
12607
# Strip MF so we end up with the name of the file.
12608
mf=`echo "$mf" | sed -e 's/:.*$//'`
12609
# Check whether this is an Automake generated Makefile or not.
12610
# We used to match only the files named `Makefile.in', but
12611
# some people rename them; so instead we look at the file content.
12612
# Grep'ing the first line is not enough: some people post-process
12613
# each Makefile.in and add a new line on top of each file to say so.
12614
# Grep'ing the whole file is not good either: AIX grep has a line
12615
# limit of 2048, but all sed's we know have understand at least 4000.
12616
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12617
dirpart=`$as_dirname -- "$mf" ||
12618
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12619
X"$mf" : 'X\(//\)[^/]' \| \
12620
X"$mf" : 'X\(//\)$' \| \
12621
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12623
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12627
/^X\(\/\/\)[^/].*/{
12643
# Extract the definition of DEPDIR, am__include, and am__quote
12644
# from the Makefile without running `make'.
12645
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12646
test -z "$DEPDIR" && continue
12647
am__include=`sed -n 's/^am__include = //p' < "$mf"`
12648
test -z "am__include" && continue
12649
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12650
# When using ansi2knr, U may be empty or an underscore; expand it
12651
U=`sed -n 's/^U = //p' < "$mf"`
12652
# Find all dependency output files, they are included files with
12653
# $(DEPDIR) in their names. We invoke sed twice because it is the
12654
# simplest approach to changing $(DEPDIR) to its actual value in the
12656
for file in `sed -n "
12657
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12658
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12659
# Make sure the directory exists.
12660
test -f "$dirpart/$file" && continue
12661
fdir=`$as_dirname -- "$file" ||
12662
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12663
X"$file" : 'X\(//\)[^/]' \| \
12664
X"$file" : 'X\(//\)$' \| \
12665
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12666
$as_echo X"$file" |
12667
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12671
/^X\(\/\/\)[^/].*/{
12684
as_dir=$dirpart/$fdir; as_fn_mkdir_p
12685
# echo "creating $dirpart/$file"
12686
echo '# dummy' > "$dirpart/$file"
12693
# See if we are running on zsh, and set the options which allow our
12694
# commands through without removal of \ escapes.
12695
if test -n "${ZSH_VERSION+set}" ; then
12696
setopt NO_GLOB_SUBST
12699
cfgfile="${ofile}T"
12700
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12703
cat <<_LT_EOF >> "$cfgfile"
12706
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12707
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12708
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12709
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12711
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12712
# 2006, 2007, 2008 Free Software Foundation, Inc.
12713
# Written by Gordon Matzigkeit, 1996
12715
# This file is part of GNU Libtool.
12717
# GNU Libtool is free software; you can redistribute it and/or
12718
# modify it under the terms of the GNU General Public License as
12719
# published by the Free Software Foundation; either version 2 of
12720
# the License, or (at your option) any later version.
12722
# As a special exception to the GNU General Public License,
12723
# if you distribute this file as part of a program or library that
12724
# is built using GNU Libtool, you may include this file under the
12725
# same distribution terms that you use for the rest of that program.
12727
# GNU Libtool is distributed in the hope that it will be useful,
12728
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12729
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12730
# GNU General Public License for more details.
12732
# You should have received a copy of the GNU General Public License
12733
# along with GNU Libtool; see the file COPYING. If not, a copy
12734
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12735
# obtained by writing to the Free Software Foundation, Inc.,
12736
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12739
# The names of the tagged configurations supported by this script.
12742
# ### BEGIN LIBTOOL CONFIG
12744
# Which release of libtool.m4 was used?
12745
macro_version=$macro_version
12746
macro_revision=$macro_revision
12748
# Whether or not to build shared libraries.
12749
build_libtool_libs=$enable_shared
12751
# Whether or not to build static libraries.
12752
build_old_libs=$enable_static
12754
# What type of objects to build.
12757
# Whether or not to optimize for fast installation.
12758
fast_install=$enable_fast_install
12761
host_alias=$host_alias
12765
# The build system.
12766
build_alias=$build_alias
12770
# A sed program that does not truncate output.
12773
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12774
Xsed="\$SED -e 1s/^X//"
12776
# A grep program that handles long lines.
12782
# A literal string matcher.
12785
# A BSD- or MS-compatible name lister.
12788
# Whether we need soft or hard links.
12791
# What is the maximum length of a command?
12792
max_cmd_len=$max_cmd_len
12794
# Object file suffix (normally "o").
12797
# Executable file suffix (normally "").
12800
# whether the shell understands "unset".
12803
# turn spaces into newlines.
12806
# turn newlines into spaces.
12809
# How to create reloadable object files.
12810
reload_flag=$lt_reload_flag
12811
reload_cmds=$lt_reload_cmds
12813
# An object symbol dumper.
12814
OBJDUMP=$lt_OBJDUMP
12816
# Method to check whether dependent libraries are shared objects.
12817
deplibs_check_method=$lt_deplibs_check_method
12819
# Command to use when deplibs_check_method == "file_magic".
12820
file_magic_cmd=$lt_file_magic_cmd
12824
AR_FLAGS=$lt_AR_FLAGS
12826
# A symbol stripping program.
12829
# Commands used to install an old-style archive.
12831
old_postinstall_cmds=$lt_old_postinstall_cmds
12832
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12837
# LTCC compiler flags.
12838
LTCFLAGS=$lt_CFLAGS
12840
# Take the output of nm and produce a listing of raw symbols and C names.
12841
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12843
# Transform the output of nm in a proper C declaration.
12844
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12846
# Transform the output of nm in a C name address pair.
12847
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12849
# Transform the output of nm in a C name address pair when lib prefix is needed.
12850
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12852
# The name of the directory that contains temporary libtool files.
12855
# Shell to use when invoking shell scripts.
12858
# An echo program that does not interpret backslashes.
12861
# Used to examine libraries when file_magic_cmd begins with "file".
12862
MAGIC_CMD=$MAGIC_CMD
12864
# Must we lock files when doing compilation?
12865
need_locks=$lt_need_locks
12867
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12868
DSYMUTIL=$lt_DSYMUTIL
12870
# Tool to change global to local symbols on Mac OS X.
12873
# Tool to manipulate fat objects and archives on Mac OS X.
12876
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12879
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12880
OTOOL64=$lt_OTOOL64
12882
# Old archive suffix (normally "a").
12885
# Shared library suffix (normally ".so").
12886
shrext_cmds=$lt_shrext_cmds
12888
# The commands to extract the exported symbol list from a shared archive.
12889
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12891
# Variables whose values should be saved in libtool wrapper scripts and
12892
# restored at link time.
12893
variables_saved_for_relink=$lt_variables_saved_for_relink
12895
# Do we need the "lib" prefix for modules?
12896
need_lib_prefix=$need_lib_prefix
12898
# Do we need a version for libraries?
12899
need_version=$need_version
12901
# Library versioning type.
12902
version_type=$version_type
12904
# Shared library runtime path variable.
12905
runpath_var=$runpath_var
12907
# Shared library path variable.
12908
shlibpath_var=$shlibpath_var
12910
# Is shlibpath searched before the hard-coded library search path?
12911
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12913
# Format of library name prefix.
12914
libname_spec=$lt_libname_spec
12916
# List of archive names. First name is the real one, the rest are links.
12917
# The last name is the one that the linker finds with -lNAME
12918
library_names_spec=$lt_library_names_spec
12920
# The coded name of the library, if different from the real name.
12921
soname_spec=$lt_soname_spec
12923
# Command to use after installation of a shared archive.
12924
postinstall_cmds=$lt_postinstall_cmds
12926
# Command to use after uninstallation of a shared archive.
12927
postuninstall_cmds=$lt_postuninstall_cmds
12929
# Commands used to finish a libtool library installation in a directory.
12930
finish_cmds=$lt_finish_cmds
12932
# As "finish_cmds", except a single script fragment to be evaled but
12934
finish_eval=$lt_finish_eval
12936
# Whether we should hardcode library paths into libraries.
12937
hardcode_into_libs=$hardcode_into_libs
12939
# Compile-time system search path for libraries.
12940
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12942
# Run-time system search path for libraries.
12943
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12945
# Whether dlopen is supported.
12946
dlopen_support=$enable_dlopen
12948
# Whether dlopen of programs is supported.
12949
dlopen_self=$enable_dlopen_self
12951
# Whether dlopen of statically linked programs is supported.
12952
dlopen_self_static=$enable_dlopen_self_static
12954
# Commands to strip libraries.
12955
old_striplib=$lt_old_striplib
12956
striplib=$lt_striplib
12959
# The linker used to build libraries.
12962
# Commands used to build an old-style archive.
12963
old_archive_cmds=$lt_old_archive_cmds
12965
# A language specific compiler.
12968
# Is the compiler the GNU compiler?
12971
# Compiler flag to turn off builtin functions.
12972
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12974
# How to pass a linker flag through the compiler.
12975
wl=$lt_lt_prog_compiler_wl
12977
# Additional compiler flags for building library objects.
12978
pic_flag=$lt_lt_prog_compiler_pic
12980
# Compiler flag to prevent dynamic linking.
12981
link_static_flag=$lt_lt_prog_compiler_static
12983
# Does compiler simultaneously support -c and -o options?
12984
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12986
# Whether or not to add -lc for building shared libraries.
12987
build_libtool_need_lc=$archive_cmds_need_lc
12989
# Whether or not to disallow shared libs when runtime libs are static.
12990
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12992
# Compiler flag to allow reflexive dlopens.
12993
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12995
# Compiler flag to generate shared objects directly from archives.
12996
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12998
# Whether the compiler copes with passing no objects directly.
12999
compiler_needs_object=$lt_compiler_needs_object
13001
# Create an old-style archive from a shared archive.
13002
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13004
# Create a temporary old-style archive to link instead of a shared archive.
13005
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13007
# Commands used to build a shared archive.
13008
archive_cmds=$lt_archive_cmds
13009
archive_expsym_cmds=$lt_archive_expsym_cmds
13011
# Commands used to build a loadable module if different from building
13012
# a shared archive.
13013
module_cmds=$lt_module_cmds
13014
module_expsym_cmds=$lt_module_expsym_cmds
13016
# Whether we are building with GNU ld or not.
13017
with_gnu_ld=$lt_with_gnu_ld
13019
# Flag that allows shared libraries with undefined symbols to be built.
13020
allow_undefined_flag=$lt_allow_undefined_flag
13022
# Flag that enforces no undefined symbols.
13023
no_undefined_flag=$lt_no_undefined_flag
13025
# Flag to hardcode \$libdir into a binary during linking.
13026
# This must work even if \$libdir does not exist
13027
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13029
# If ld is used when linking, flag to hardcode \$libdir into a binary
13030
# during linking. This must work even if \$libdir does not exist.
13031
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13033
# Whether we need a single "-rpath" flag with a separated argument.
13034
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13036
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13037
# DIR into the resulting binary.
13038
hardcode_direct=$hardcode_direct
13040
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13041
# DIR into the resulting binary and the resulting library dependency is
13042
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13043
# library is relocated.
13044
hardcode_direct_absolute=$hardcode_direct_absolute
13046
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13047
# into the resulting binary.
13048
hardcode_minus_L=$hardcode_minus_L
13050
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13051
# into the resulting binary.
13052
hardcode_shlibpath_var=$hardcode_shlibpath_var
13054
# Set to "yes" if building a shared library automatically hardcodes DIR
13055
# into the library and all subsequent libraries and executables linked
13057
hardcode_automatic=$hardcode_automatic
13059
# Set to yes if linker adds runtime paths of dependent libraries
13060
# to runtime path list.
13061
inherit_rpath=$inherit_rpath
13063
# Whether libtool must link a program against all its dependency libraries.
13064
link_all_deplibs=$link_all_deplibs
13066
# Fix the shell variable \$srcfile for the compiler.
13067
fix_srcfile_path=$lt_fix_srcfile_path
13069
# Set to "yes" if exported symbols are required.
13070
always_export_symbols=$always_export_symbols
13072
# The commands to list exported symbols.
13073
export_symbols_cmds=$lt_export_symbols_cmds
13075
# Symbols that should not be listed in the preloaded symbols.
13076
exclude_expsyms=$lt_exclude_expsyms
13078
# Symbols that must always be exported.
13079
include_expsyms=$lt_include_expsyms
13081
# Commands necessary for linking programs (against libraries) with templates.
13082
prelink_cmds=$lt_prelink_cmds
13084
# Specify filename containing input files.
13085
file_list_spec=$lt_file_list_spec
13087
# How to hardcode a shared library path into an executable.
13088
hardcode_action=$hardcode_action
13090
# ### END LIBTOOL CONFIG
13096
cat <<\_LT_EOF >> "$cfgfile"
13097
# AIX sometimes has problems with the GCC collect2 program. For some
13098
# reason, if we set the COLLECT_NAMES environment variable, the problems
13099
# vanish in a puff of smoke.
13100
if test "X${COLLECT_NAMES+set}" != Xset; then
13102
export COLLECT_NAMES
13109
ltmain="$ac_aux_dir/ltmain.sh"
13112
# We use sed instead of cat because bash on DJGPP gets confused if
13113
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13114
# text mode, it properly converts lines to CR/LF. This bash problem
13115
# is reportedly fixed, but why not run on old versions too?
13116
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13117
|| (rm -f "$cfgfile"; exit 1)
13121
cat << \_LT_EOF >> "$cfgfile"
13123
# func_dirname file append nondir_replacement
13124
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13125
# otherwise set result to NONDIR_REPLACEMENT.
13129
*/*) func_dirname_result="${1%/*}${2}" ;;
13130
* ) func_dirname_result="${3}" ;;
13134
# func_basename file
13137
func_basename_result="${1##*/}"
13140
# func_dirname_and_basename file append nondir_replacement
13141
# perform func_basename and func_dirname in a single function
13143
# dirname: Compute the dirname of FILE. If nonempty,
13144
# add APPEND to the result, otherwise set result
13145
# to NONDIR_REPLACEMENT.
13146
# value returned in "$func_dirname_result"
13147
# basename: Compute filename of FILE.
13148
# value retuned in "$func_basename_result"
13149
# Implementation must be kept synchronized with func_dirname
13150
# and func_basename. For efficiency, we do not delegate to
13151
# those functions but instead duplicate the functionality here.
13152
func_dirname_and_basename ()
13155
*/*) func_dirname_result="${1%/*}${2}" ;;
13156
* ) func_dirname_result="${3}" ;;
13158
func_basename_result="${1##*/}"
13161
# func_stripname prefix suffix name
13162
# strip PREFIX and SUFFIX off of NAME.
13163
# PREFIX and SUFFIX must not contain globbing or regex special
13164
# characters, hashes, percent signs, but SUFFIX may contain a leading
13165
# dot (in which case that matches only a dot).
13168
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13169
# positional parameters, so assign one to ordinary parameter first.
13170
func_stripname_result=${3}
13171
func_stripname_result=${func_stripname_result#"${1}"}
13172
func_stripname_result=${func_stripname_result%"${2}"}
13178
func_opt_split_opt=${1%%=*}
13179
func_opt_split_arg=${1#*=}
13186
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13187
*) func_lo2o_result=${1} ;;
13191
# func_xform libobj-or-source
13194
func_xform_result=${1%.*}.lo
13197
# func_arith arithmetic-term...
13200
func_arith_result=$(( $* ))
13204
# STRING may not start with a hyphen.
13207
func_len_result=${#1}
13212
*) # Bourne compatible functions.
13213
cat << \_LT_EOF >> "$cfgfile"
13215
# func_dirname file append nondir_replacement
13216
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13217
# otherwise set result to NONDIR_REPLACEMENT.
13220
# Extract subdirectory from the argument.
13221
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13222
if test "X$func_dirname_result" = "X${1}"; then
13223
func_dirname_result="${3}"
13225
func_dirname_result="$func_dirname_result${2}"
13229
# func_basename file
13232
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13236
# func_stripname prefix suffix name
13237
# strip PREFIX and SUFFIX off of NAME.
13238
# PREFIX and SUFFIX must not contain globbing or regex special
13239
# characters, hashes, percent signs, but SUFFIX may contain a leading
13240
# dot (in which case that matches only a dot).
13241
# func_strip_suffix prefix name
13245
.*) func_stripname_result=`$ECHO "X${3}" \
13246
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13247
*) func_stripname_result=`$ECHO "X${3}" \
13248
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13253
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13254
my_sed_long_arg='1s/^-[^=]*=//'
13259
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13260
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13266
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13269
# func_xform libobj-or-source
13272
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13275
# func_arith arithmetic-term...
13278
func_arith_result=`expr "$@"`
13282
# STRING may not start with a hyphen.
13285
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13291
case $lt_shell_append in
13293
cat << \_LT_EOF >> "$cfgfile"
13295
# func_append var value
13296
# Append VALUE to the end of shell variable VAR.
13304
cat << \_LT_EOF >> "$cfgfile"
13306
# func_append var value
13307
# Append VALUE to the end of shell variable VAR.
13318
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13319
|| (rm -f "$cfgfile"; exit 1)
13321
mv -f "$cfgfile" "$ofile" ||
13322
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13333
ac_clean_files=$ac_clean_files_save
13335
test $ac_write_fail = 0 ||
13336
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13339
# configure is writing to config.log, and then calls config.status.
13340
# config.status does its own redirection, appending to config.log.
13341
# Unfortunately, on DOS this fails, as config.log is still kept open
13342
# by configure, so config.status won't be able to write to it; its
13343
# output is simply discarded. So we exec the FD to /dev/null,
13344
# effectively closing config.log, so it can be properly (re)opened and
13345
# appended to by config.status. When coming back to configure, we
13346
# need to make the FD available again.
13347
if test "$no_create" != yes; then
13349
ac_config_status_args=
13350
test "$silent" = yes &&
13351
ac_config_status_args="$ac_config_status_args --quiet"
13353
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13355
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
13356
# would make configure fail if this is the last instruction.
13357
$ac_cs_success || as_fn_exit $?
13359
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13360
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13361
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13367
echo "*****************************************************"
13368
echo "libee will be compiled with the following settings:"
13370
echo "Debug mode enabled: $enable_debug"
13371
echo "Testbench enabled: $enable_testbench"