2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.69 for cloog 0.18.1.
5
@%:@ Report bugs to <cloog-development@googlegroups.com>.
8
@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
@%:@ This configure script is free software; the Free Software Foundation
12
@%:@ gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in @%:@(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in @%:@(
173
set -o posix ;; @%:@(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
PATH=/empty FPATH=/empty; export PATH FPATH
207
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
test \$(( 1 + 1 )) = 2 || exit 1"
210
if (eval "$as_required") 2>/dev/null; then :
215
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
test -z "$as_dir" && as_dir=.
225
case $as_dir in @%:@(
227
for as_base in sh bash ksh sh5; do
228
# Try only shells that exist, to save several forks.
229
as_shell=$as_dir/$as_base
230
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
CONFIG_SHELL=$as_shell as_have_required=yes
233
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
CONFIG_SHELL=$SHELL as_have_required=yes
248
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270
if test x$as_have_required = xno; then :
271
$as_echo "$0: This script requires a shell more modern than all"
272
$as_echo "$0: the shells that I found on your system."
273
if test x${ZSH_VERSION+set} = xset ; then
274
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
277
$as_echo "$0: Please tell bug-autoconf@gnu.org and
278
$0: cloog-development@googlegroups.com about your system,
279
$0: including any error possibly output before this
280
$0: message. Then install a modern shell, or manually run
281
$0: the script under such a shell if you do have one."
287
SHELL=${CONFIG_SHELL-/bin/sh}
289
# Unset more variables known to interfere with behavior of common tools.
290
CLICOLOR_FORCE= GREP_OPTIONS=
291
unset CLICOLOR_FORCE GREP_OPTIONS
293
## --------------------- ##
294
## M4sh Shell Functions. ##
295
## --------------------- ##
298
@%:@ Portably unset VAR.
301
{ eval $1=; unset $1;}
305
@%:@ as_fn_set_status STATUS
306
@%:@ -----------------------
307
@%:@ Set @S|@? to STATUS, without forking.
311
} @%:@ as_fn_set_status
313
@%:@ as_fn_exit STATUS
314
@%:@ -----------------
315
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
330
-*) as_dir=./$as_dir;;
332
test -d "$as_dir" || eval $as_mkdir_p || {
336
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339
as_dirs="'$as_qdir' $as_dirs"
340
as_dir=`$as_dirname -- "$as_dir" ||
341
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342
X"$as_dir" : 'X\(//\)[^/]' \| \
343
X"$as_dir" : 'X\(//\)$' \| \
344
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345
$as_echo X"$as_dir" |
346
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363
test -d "$as_dir" && break
365
test -z "$as_dirs" || eval "mkdir $as_dirs"
366
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371
@%:@ as_fn_executable_p FILE
372
@%:@ -----------------------
373
@%:@ Test if FILE is an executable regular file.
374
as_fn_executable_p ()
376
test -f "$1" && test -x "$1"
377
} @%:@ as_fn_executable_p
378
@%:@ as_fn_append VAR VALUE
379
@%:@ ----------------------
380
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
381
@%:@ advantage of any shell optimizations that allow amortized linear growth over
382
@%:@ repeated appends, instead of the typical quadratic growth present in naive
383
@%:@ implementations.
384
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385
eval 'as_fn_append ()
396
@%:@ as_fn_arith ARG...
397
@%:@ ------------------
398
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
399
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
400
@%:@ must be portable across @S|@(()) and expr.
401
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409
as_val=`expr "$@" || test $? -eq 1`
414
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
415
@%:@ ----------------------------------------
416
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418
@%:@ script with STATUS, using 1 if that was 0.
421
as_status=$1; test $as_status -eq 0 && as_status=1
423
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426
$as_echo "$as_me: error: $2" >&2
427
as_fn_exit $as_status
430
if expr a : '\(a\)' >/dev/null 2>&1 &&
431
test "X`expr 00001 : '.*\(...\)'`" = X001; then
437
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449
as_me=`$as_basename -- "$0" ||
450
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451
X"$0" : 'X\(//\)$' \| \
452
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454
sed '/^.*\/\([^/][^/]*\)\/*$/{
468
# Avoid depending upon Character Ranges.
469
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472
as_cr_digits='0123456789'
473
as_cr_alnum=$as_cr_Letters$as_cr_digits
476
as_lineno_1=$LINENO as_lineno_1a=$LINENO
477
as_lineno_2=$LINENO as_lineno_2a=$LINENO
478
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496
chmod +x "$as_me.lineno" ||
497
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500
# already done that, so ensure we don't try to do so again and fall
501
# in an infinite loop. This has already happened in practice.
502
_as_can_reexec=no; export _as_can_reexec
503
# Don't try to exec as it changes $[0], causing all sort of problems
504
# (the dirname of $[0] is not the place where we might find the
505
# original and so on. Autoconf is especially sensitive to this).
507
# Exit status is that of the last command.
511
ECHO_C= ECHO_N= ECHO_T=
512
case `echo -n x` in @%:@(((((
514
case `echo 'xy\c'` in
515
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
517
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524
rm -f conf$$ conf$$.exe conf$$.file
525
if test -d conf$$.dir; then
526
rm -f conf$$.dir/conf$$.file
529
mkdir conf$$.dir 2>/dev/null
531
if (echo >conf$$.file) 2>/dev/null; then
532
if ln -s conf$$.file conf$$ 2>/dev/null; then
534
# ... but there are two gotchas:
535
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537
# In both cases, we have to default to `cp -pR'.
538
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540
elif ln conf$$.file conf$$ 2>/dev/null; then
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549
rmdir conf$$.dir 2>/dev/null
551
if mkdir -p . 2>/dev/null; then
552
as_mkdir_p='mkdir -p "$as_dir"'
554
test -d ./-p && rmdir ./-p
559
as_executable_p=as_fn_executable_p
561
# Sed expression to map a string onto a valid CPP name.
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
# Sed expression to map a string onto a valid variable name.
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
SHELL=${CONFIG_SHELL-/bin/sh}
570
test -n "$DJDIR" || exec 7<&0 </dev/null
574
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575
# so uname gets run too.
576
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
ac_default_prefix=/usr/local
583
ac_config_libobj_dir=.
590
# Identity of this package.
592
PACKAGE_TARNAME='cloog'
593
PACKAGE_VERSION='0.18.1'
594
PACKAGE_STRING='cloog 0.18.1'
595
PACKAGE_BUGREPORT='cloog-development@googlegroups.com'
598
ac_unique_file="source/cloog.c"
599
# Factoring default headers for most tests.
600
ac_includes_default="\
602
#ifdef HAVE_SYS_TYPES_H
603
# include <sys/types.h>
605
#ifdef HAVE_SYS_STAT_H
606
# include <sys/stat.h>
612
# ifdef HAVE_STDLIB_H
617
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622
#ifdef HAVE_STRINGS_H
623
# include <strings.h>
625
#ifdef HAVE_INTTYPES_H
626
# include <inttypes.h>
635
enable_option_checking=no
636
ac_subst_vars='am__EXEEXT_FALSE
663
NEED_GET_MEMORY_FUNCTIONS_FALSE
664
NEED_GET_MEMORY_FUNCTIONS_TRUE
730
INSTALL_STRIP_PROGRAM
773
program_transform_name
786
enable_option_checking
788
enable_dependency_tracking
796
enable_portable_binary
811
ac_precious_vars='build_alias
823
# Initialize some variables set by options.
825
ac_init_version=false
826
ac_unrecognized_opts=
828
# The variables have the same names as the options, with
829
# dashes changed to underlines.
837
program_transform_name=s,x,x,
845
# Installation directory options.
846
# These are left unexpanded so users can "make install exec_prefix=/foo"
847
# and all the variables that are supposed to be based on exec_prefix
848
# by default will actually change.
849
# Use braces instead of parens because sh, perl, etc. also accept them.
850
# (The list follows the same order as the GNU Coding Standards.)
851
bindir='${exec_prefix}/bin'
852
sbindir='${exec_prefix}/sbin'
853
libexecdir='${exec_prefix}/libexec'
854
datarootdir='${prefix}/share'
855
datadir='${datarootdir}'
856
sysconfdir='${prefix}/etc'
857
sharedstatedir='${prefix}/com'
858
localstatedir='${prefix}/var'
859
includedir='${prefix}/include'
860
oldincludedir='/usr/include'
861
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
862
infodir='${datarootdir}/info'
867
libdir='${exec_prefix}/lib'
868
localedir='${datarootdir}/locale'
869
mandir='${datarootdir}/man'
875
# If the previous option needs an argument, assign it.
876
if test -n "$ac_prev"; then
877
eval $ac_prev=\$ac_option
883
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
888
# Accept the important Cygnus configure options, so we can diagnose typos.
890
case $ac_dashdash$ac_option in
894
-bindir | --bindir | --bindi | --bind | --bin | --bi)
896
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
899
-build | --build | --buil | --bui | --bu)
900
ac_prev=build_alias ;;
901
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
902
build_alias=$ac_optarg ;;
904
-cache-file | --cache-file | --cache-fil | --cache-fi \
905
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
906
ac_prev=cache_file ;;
907
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
908
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
909
cache_file=$ac_optarg ;;
912
cache_file=config.cache ;;
914
-datadir | --datadir | --datadi | --datad)
916
-datadir=* | --datadir=* | --datadi=* | --datad=*)
917
datadir=$ac_optarg ;;
919
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
920
| --dataroo | --dataro | --datar)
921
ac_prev=datarootdir ;;
922
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
923
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
924
datarootdir=$ac_optarg ;;
926
-disable-* | --disable-*)
927
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
928
# Reject names that are not valid shell variable names.
929
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930
as_fn_error $? "invalid feature name: $ac_useropt"
931
ac_useropt_orig=$ac_useropt
932
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933
case $ac_user_opts in
937
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
938
ac_unrecognized_sep=', ';;
940
eval enable_$ac_useropt=no ;;
942
-docdir | --docdir | --docdi | --doc | --do)
944
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
947
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
949
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
952
-enable-* | --enable-*)
953
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954
# Reject names that are not valid shell variable names.
955
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
956
as_fn_error $? "invalid feature name: $ac_useropt"
957
ac_useropt_orig=$ac_useropt
958
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959
case $ac_user_opts in
963
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
964
ac_unrecognized_sep=', ';;
966
eval enable_$ac_useropt=\$ac_optarg ;;
968
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
969
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
970
| --exec | --exe | --ex)
971
ac_prev=exec_prefix ;;
972
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
973
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
974
| --exec=* | --exe=* | --ex=*)
975
exec_prefix=$ac_optarg ;;
977
-gas | --gas | --ga | --g)
978
# Obsolete; use --with-gas.
981
-help | --help | --hel | --he | -h)
983
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
984
ac_init_help=recursive ;;
985
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
986
ac_init_help=short ;;
988
-host | --host | --hos | --ho)
989
ac_prev=host_alias ;;
990
-host=* | --host=* | --hos=* | --ho=*)
991
host_alias=$ac_optarg ;;
993
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
995
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
997
htmldir=$ac_optarg ;;
999
-includedir | --includedir | --includedi | --included | --include \
1000
| --includ | --inclu | --incl | --inc)
1001
ac_prev=includedir ;;
1002
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1003
| --includ=* | --inclu=* | --incl=* | --inc=*)
1004
includedir=$ac_optarg ;;
1006
-infodir | --infodir | --infodi | --infod | --info | --inf)
1008
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1009
infodir=$ac_optarg ;;
1011
-libdir | --libdir | --libdi | --libd)
1013
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1014
libdir=$ac_optarg ;;
1016
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1017
| --libexe | --libex | --libe)
1018
ac_prev=libexecdir ;;
1019
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1020
| --libexe=* | --libex=* | --libe=*)
1021
libexecdir=$ac_optarg ;;
1023
-localedir | --localedir | --localedi | --localed | --locale)
1024
ac_prev=localedir ;;
1025
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1026
localedir=$ac_optarg ;;
1028
-localstatedir | --localstatedir | --localstatedi | --localstated \
1029
| --localstate | --localstat | --localsta | --localst | --locals)
1030
ac_prev=localstatedir ;;
1031
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1032
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1033
localstatedir=$ac_optarg ;;
1035
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1037
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1038
mandir=$ac_optarg ;;
1040
-nfp | --nfp | --nf)
1041
# Obsolete; use --without-fp.
1044
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1045
| --no-cr | --no-c | -n)
1048
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1049
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1052
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1053
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1054
| --oldin | --oldi | --old | --ol | --o)
1055
ac_prev=oldincludedir ;;
1056
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1057
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1058
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1059
oldincludedir=$ac_optarg ;;
1061
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1063
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1064
prefix=$ac_optarg ;;
1066
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1067
| --program-pre | --program-pr | --program-p)
1068
ac_prev=program_prefix ;;
1069
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1070
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1071
program_prefix=$ac_optarg ;;
1073
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1074
| --program-suf | --program-su | --program-s)
1075
ac_prev=program_suffix ;;
1076
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1077
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1078
program_suffix=$ac_optarg ;;
1080
-program-transform-name | --program-transform-name \
1081
| --program-transform-nam | --program-transform-na \
1082
| --program-transform-n | --program-transform- \
1083
| --program-transform | --program-transfor \
1084
| --program-transfo | --program-transf \
1085
| --program-trans | --program-tran \
1086
| --progr-tra | --program-tr | --program-t)
1087
ac_prev=program_transform_name ;;
1088
-program-transform-name=* | --program-transform-name=* \
1089
| --program-transform-nam=* | --program-transform-na=* \
1090
| --program-transform-n=* | --program-transform-=* \
1091
| --program-transform=* | --program-transfor=* \
1092
| --program-transfo=* | --program-transf=* \
1093
| --program-trans=* | --program-tran=* \
1094
| --progr-tra=* | --program-tr=* | --program-t=*)
1095
program_transform_name=$ac_optarg ;;
1097
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1099
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1100
pdfdir=$ac_optarg ;;
1102
-psdir | --psdir | --psdi | --psd | --ps)
1104
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1107
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1108
| -silent | --silent | --silen | --sile | --sil)
1111
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1113
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1115
sbindir=$ac_optarg ;;
1117
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1118
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1119
| --sharedst | --shareds | --shared | --share | --shar \
1121
ac_prev=sharedstatedir ;;
1122
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1123
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1124
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1126
sharedstatedir=$ac_optarg ;;
1128
-site | --site | --sit)
1130
-site=* | --site=* | --sit=*)
1133
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1135
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1136
srcdir=$ac_optarg ;;
1138
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1139
| --syscon | --sysco | --sysc | --sys | --sy)
1140
ac_prev=sysconfdir ;;
1141
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1142
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1143
sysconfdir=$ac_optarg ;;
1145
-target | --target | --targe | --targ | --tar | --ta | --t)
1146
ac_prev=target_alias ;;
1147
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1148
target_alias=$ac_optarg ;;
1150
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1153
-version | --version | --versio | --versi | --vers | -V)
1154
ac_init_version=: ;;
1157
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1158
# Reject names that are not valid shell variable names.
1159
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160
as_fn_error $? "invalid package name: $ac_useropt"
1161
ac_useropt_orig=$ac_useropt
1162
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163
case $ac_user_opts in
1167
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1168
ac_unrecognized_sep=', ';;
1170
eval with_$ac_useropt=\$ac_optarg ;;
1172
-without-* | --without-*)
1173
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1174
# Reject names that are not valid shell variable names.
1175
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176
as_fn_error $? "invalid package name: $ac_useropt"
1177
ac_useropt_orig=$ac_useropt
1178
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179
case $ac_user_opts in
1183
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1184
ac_unrecognized_sep=', ';;
1186
eval with_$ac_useropt=no ;;
1189
# Obsolete; use --with-x.
1192
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1193
| --x-incl | --x-inc | --x-in | --x-i)
1194
ac_prev=x_includes ;;
1195
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1196
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1197
x_includes=$ac_optarg ;;
1199
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1200
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1201
ac_prev=x_libraries ;;
1202
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1203
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1204
x_libraries=$ac_optarg ;;
1206
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1207
Try \`$0 --help' for more information"
1211
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1212
# Reject names that are not valid shell variable names.
1213
case $ac_envvar in #(
1214
'' | [0-9]* | *[!_$as_cr_alnum]* )
1215
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1217
eval $ac_envvar=\$ac_optarg
1218
export $ac_envvar ;;
1221
# FIXME: should be removed in autoconf 3.0.
1222
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1223
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1225
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1231
if test -n "$ac_prev"; then
1232
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1233
as_fn_error $? "missing argument to $ac_option"
1236
if test -n "$ac_unrecognized_opts"; then
1237
case $enable_option_checking in
1239
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1240
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1244
# Check all directory arguments for consistency.
1245
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1246
datadir sysconfdir sharedstatedir localstatedir includedir \
1247
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1248
libdir localedir mandir
1250
eval ac_val=\$$ac_var
1251
# Remove trailing slashes.
1254
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1255
eval $ac_var=\$ac_val;;
1257
# Be sure to have absolute directory names.
1259
[\\/$]* | ?:[\\/]* ) continue;;
1260
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1262
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1265
# There might be people who depend on the old broken behavior: `$host'
1266
# used to hold the argument of --host etc.
1267
# FIXME: To remove some day.
1270
target=$target_alias
1272
# FIXME: To remove some day.
1273
if test "x$host_alias" != x; then
1274
if test "x$build_alias" = x; then
1275
cross_compiling=maybe
1276
elif test "x$build_alias" != "x$host_alias"; then
1282
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1284
test "$silent" = yes && exec 6>/dev/null
1287
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1288
ac_ls_di=`ls -di .` &&
1289
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1290
as_fn_error $? "working directory cannot be determined"
1291
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292
as_fn_error $? "pwd does not report name of working directory"
1295
# Find the source files, if location was not specified.
1296
if test -z "$srcdir"; then
1297
ac_srcdir_defaulted=yes
1298
# Try the directory containing this script, then the parent directory.
1299
ac_confdir=`$as_dirname -- "$as_myself" ||
1300
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301
X"$as_myself" : 'X\(//\)[^/]' \| \
1302
X"$as_myself" : 'X\(//\)$' \| \
1303
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1304
$as_echo X"$as_myself" |
1305
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323
if test ! -r "$srcdir/$ac_unique_file"; then
1327
ac_srcdir_defaulted=no
1329
if test ! -r "$srcdir/$ac_unique_file"; then
1330
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1331
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1333
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1335
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1337
# When building in place, set srcdir=.
1338
if test "$ac_abs_confdir" = "$ac_pwd"; then
1341
# Remove unnecessary trailing slashes from srcdir.
1342
# Double slashes in file names in object file debugging info
1343
# mess up M-x gdb in Emacs.
1345
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1347
for ac_var in $ac_precious_vars; do
1348
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1349
eval ac_env_${ac_var}_value=\$${ac_var}
1350
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1351
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1355
# Report the --help message.
1357
if test "$ac_init_help" = "long"; then
1358
# Omit some internal or obsolete options to make the list less imposing.
1359
# This message is too long to be a string in the A/UX 3.1 sh.
1361
\`configure' configures cloog 0.18.1 to adapt to many kinds of systems.
1363
Usage: $0 [OPTION]... [VAR=VALUE]...
1365
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1366
VAR=VALUE. See below for descriptions of some of the useful variables.
1368
Defaults for the options are specified in brackets.
1371
-h, --help display this help and exit
1372
--help=short display options specific to this package
1373
--help=recursive display the short help of all the included packages
1374
-V, --version display version information and exit
1375
-q, --quiet, --silent do not print \`checking ...' messages
1376
--cache-file=FILE cache test results in FILE [disabled]
1377
-C, --config-cache alias for \`--cache-file=config.cache'
1378
-n, --no-create do not create output files
1379
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1381
Installation directories:
1382
--prefix=PREFIX install architecture-independent files in PREFIX
1383
@<:@@S|@ac_default_prefix@:>@
1384
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1387
By default, \`make install' will install all the files in
1388
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1389
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1390
for instance \`--prefix=\$HOME'.
1392
For better control, use the options below.
1394
Fine tuning of the installation directories:
1395
--bindir=DIR user executables [EPREFIX/bin]
1396
--sbindir=DIR system admin executables [EPREFIX/sbin]
1397
--libexecdir=DIR program executables [EPREFIX/libexec]
1398
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1399
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1400
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1401
--libdir=DIR object code libraries [EPREFIX/lib]
1402
--includedir=DIR C header files [PREFIX/include]
1403
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1404
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1405
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1406
--infodir=DIR info documentation [DATAROOTDIR/info]
1407
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1408
--mandir=DIR man documentation [DATAROOTDIR/man]
1409
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/cloog@:>@
1410
--htmldir=DIR html documentation [DOCDIR]
1411
--dvidir=DIR dvi documentation [DOCDIR]
1412
--pdfdir=DIR pdf documentation [DOCDIR]
1413
--psdir=DIR ps documentation [DOCDIR]
1419
--program-prefix=PREFIX prepend PREFIX to installed program names
1420
--program-suffix=SUFFIX append SUFFIX to installed program names
1421
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1424
--build=BUILD configure for building on BUILD [guessed]
1425
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1429
if test -n "$ac_init_help"; then
1430
case $ac_init_help in
1431
short | recursive ) echo "Configuration of cloog 0.18.1:";;
1436
--disable-option-checking ignore unrecognized --enable/--with options
1437
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1438
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1439
--enable-silent-rules less verbose build output (undo: `make V=1')
1440
--disable-silent-rules verbose build output (undo: `make V=0')
1441
--disable-dependency-tracking speeds up one-time build
1442
--enable-dependency-tracking do not reject slow dependency extractors
1443
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1444
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1445
--enable-fast-install@<:@=PKGS@:>@
1446
optimize for fast installation @<:@default=yes@:>@
1447
--disable-libtool-lock avoid locking (might break parallel builds)
1448
--enable-portable-binary
1449
disable compiler optimizations that would produce
1453
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1454
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1455
--with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1457
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1458
--with-sysroot=DIR Search for dependent libraries within DIR
1459
(or the compiler's sysroot if not specified).
1460
--with-gcc-arch=<arch> use architecture <arch> for gcc -march/-mtune,
1462
--with-isl=no|system|build|bundled
1464
--with-isl-prefix=DIR Prefix of isl installation
1465
--with-isl-exec-prefix=DIR
1466
Exec prefix of isl installation
1467
--with-isl-builddir=DIR Location of isl builddir
1468
--with-gmp=system|build Which gmp to use
1469
--with-gmp-prefix=DIR Prefix of gmp installation
1470
--with-gmp-exec-prefix=DIR
1471
Exec prefix of gmp installation
1472
--with-gmp-builddir=DIR Location of gmp builddir
1473
--with-osl=no|system|build|bundled
1475
--with-osl-prefix=DIR Prefix of osl installation
1476
--with-osl-exec-prefix=DIR
1477
Exec prefix of osl installation
1478
--with-osl-builddir=DIR Location of osl builddir
1480
Some influential environment variables:
1481
CC C compiler command
1482
CFLAGS C compiler flags
1483
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1484
nonstandard directory <lib dir>
1485
LIBS libraries to pass to the linker, e.g. -l<library>
1486
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1487
you have headers in a nonstandard directory <include dir>
1490
Use these variables to override the choices made by `configure' or to help
1491
it to find libraries and programs with nonstandard names/locations.
1493
Report bugs to <cloog-development@googlegroups.com>.
1498
if test "$ac_init_help" = "recursive"; then
1499
# If there are subdirs, report their specific --help.
1500
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1501
test -d "$ac_dir" ||
1502
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1507
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1510
# A ".." for each directory in $ac_dir_suffix.
1511
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1512
case $ac_top_builddir_sub in
1513
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1517
ac_abs_top_builddir=$ac_pwd
1518
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1519
# for backward compatibility:
1520
ac_top_builddir=$ac_top_build_prefix
1523
.) # We are building in place.
1525
ac_top_srcdir=$ac_top_builddir_sub
1526
ac_abs_top_srcdir=$ac_pwd ;;
1527
[\\/]* | ?:[\\/]* ) # Absolute name.
1528
ac_srcdir=$srcdir$ac_dir_suffix;
1529
ac_top_srcdir=$srcdir
1530
ac_abs_top_srcdir=$srcdir ;;
1532
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1533
ac_top_srcdir=$ac_top_build_prefix$srcdir
1534
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1536
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1538
cd "$ac_dir" || { ac_status=$?; continue; }
1539
# Check for guested configure.
1540
if test -f "$ac_srcdir/configure.gnu"; then
1542
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1543
elif test -f "$ac_srcdir/configure"; then
1545
$SHELL "$ac_srcdir/configure" --help=recursive
1547
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549
cd "$ac_pwd" || { ac_status=$?; break; }
1553
test -n "$ac_init_help" && exit $ac_status
1554
if $ac_init_version; then
1556
cloog configure 0.18.1
1557
generated by GNU Autoconf 2.69
1559
Copyright (C) 2012 Free Software Foundation, Inc.
1560
This configure script is free software; the Free Software Foundation
1561
gives unlimited permission to copy, distribute and modify it.
1566
## ------------------------ ##
1567
## Autoconf initialization. ##
1568
## ------------------------ ##
1570
@%:@ ac_fn_c_try_compile LINENO
1571
@%:@ --------------------------
1572
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1573
ac_fn_c_try_compile ()
1575
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576
rm -f conftest.$ac_objext
1577
if { { ac_try="$ac_compile"
1579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1580
*) ac_try_echo=$ac_try;;
1582
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583
$as_echo "$ac_try_echo"; } >&5
1584
(eval "$ac_compile") 2>conftest.err
1586
if test -s conftest.err; then
1587
grep -v '^ *+' conftest.err >conftest.er1
1588
cat conftest.er1 >&5
1589
mv -f conftest.er1 conftest.err
1591
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592
test $ac_status = 0; } && {
1593
test -z "$ac_c_werror_flag" ||
1594
test ! -s conftest.err
1595
} && test -s conftest.$ac_objext; then :
1598
$as_echo "$as_me: failed program was:" >&5
1599
sed 's/^/| /' conftest.$ac_ext >&5
1603
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604
as_fn_set_status $ac_retval
1606
} @%:@ ac_fn_c_try_compile
1608
@%:@ ac_fn_c_try_link LINENO
1609
@%:@ -----------------------
1610
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1613
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614
rm -f conftest.$ac_objext conftest$ac_exeext
1615
if { { ac_try="$ac_link"
1617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618
*) ac_try_echo=$ac_try;;
1620
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621
$as_echo "$ac_try_echo"; } >&5
1622
(eval "$ac_link") 2>conftest.err
1624
if test -s conftest.err; then
1625
grep -v '^ *+' conftest.err >conftest.er1
1626
cat conftest.er1 >&5
1627
mv -f conftest.er1 conftest.err
1629
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630
test $ac_status = 0; } && {
1631
test -z "$ac_c_werror_flag" ||
1632
test ! -s conftest.err
1633
} && test -s conftest$ac_exeext && {
1634
test "$cross_compiling" = yes ||
1635
test -x conftest$ac_exeext
1639
$as_echo "$as_me: failed program was:" >&5
1640
sed 's/^/| /' conftest.$ac_ext >&5
1644
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1645
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1646
# interfere with the next link command; also delete a directory that is
1647
# left behind by Apple's compiler. We do this before executing the actions.
1648
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
as_fn_set_status $ac_retval
1652
} @%:@ ac_fn_c_try_link
1654
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655
@%:@ -------------------------------------------------------
1656
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1657
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1658
ac_fn_c_check_header_compile ()
1660
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662
$as_echo_n "checking for $2... " >&6; }
1663
if eval \${$3+:} false; then :
1664
$as_echo_n "(cached) " >&6
1666
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667
/* end confdefs.h. */
1671
if ac_fn_c_try_compile "$LINENO"; then :
1676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680
$as_echo "$ac_res" >&6; }
1681
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683
} @%:@ ac_fn_c_check_header_compile
1685
@%:@ ac_fn_c_try_cpp LINENO
1686
@%:@ ----------------------
1687
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1690
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691
if { { ac_try="$ac_cpp conftest.$ac_ext"
1693
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694
*) ac_try_echo=$ac_try;;
1696
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697
$as_echo "$ac_try_echo"; } >&5
1698
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1700
if test -s conftest.err; then
1701
grep -v '^ *+' conftest.err >conftest.er1
1702
cat conftest.er1 >&5
1703
mv -f conftest.er1 conftest.err
1705
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706
test $ac_status = 0; } > conftest.i && {
1707
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1708
test ! -s conftest.err
1712
$as_echo "$as_me: failed program was:" >&5
1713
sed 's/^/| /' conftest.$ac_ext >&5
1717
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
as_fn_set_status $ac_retval
1720
} @%:@ ac_fn_c_try_cpp
1722
@%:@ ac_fn_c_try_run LINENO
1723
@%:@ ----------------------
1724
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1725
@%:@ that executables *can* be run.
1728
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729
if { { ac_try="$ac_link"
1731
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732
*) ac_try_echo=$ac_try;;
1734
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735
$as_echo "$ac_try_echo"; } >&5
1736
(eval "$ac_link") 2>&5
1738
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1740
{ { case "(($ac_try" in
1741
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742
*) ac_try_echo=$ac_try;;
1744
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745
$as_echo "$ac_try_echo"; } >&5
1746
(eval "$ac_try") 2>&5
1748
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749
test $ac_status = 0; }; }; then :
1752
$as_echo "$as_me: program exited with status $ac_status" >&5
1753
$as_echo "$as_me: failed program was:" >&5
1754
sed 's/^/| /' conftest.$ac_ext >&5
1756
ac_retval=$ac_status
1758
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760
as_fn_set_status $ac_retval
1762
} @%:@ ac_fn_c_try_run
1764
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1765
@%:@ ----------------------------------
1766
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1767
ac_fn_c_check_func ()
1769
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771
$as_echo_n "checking for $2... " >&6; }
1772
if eval \${$3+:} false; then :
1773
$as_echo_n "(cached) " >&6
1775
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776
/* end confdefs.h. */
1777
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1779
#define $2 innocuous_$2
1781
/* System header to define __stub macros and hopefully few prototypes,
1782
which can conflict with char $2 (); below.
1783
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784
<limits.h> exists even on freestanding compilers. */
1787
# include <limits.h>
1789
# include <assert.h>
1794
/* Override any GCC internal prototype to avoid an error.
1795
Use char because int might match the return type of a GCC
1796
builtin and then its argument prototype would still apply. */
1801
/* The GNU C library defines this for functions which it implements
1802
to always fail with ENOSYS. Some functions are actually named
1803
something starting with __ and the normal name is an alias. */
1804
#if defined __stub_$2 || defined __stub___$2
1816
if ac_fn_c_try_link "$LINENO"; then :
1821
rm -f core conftest.err conftest.$ac_objext \
1822
conftest$ac_exeext conftest.$ac_ext
1825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826
$as_echo "$ac_res" >&6; }
1827
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829
} @%:@ ac_fn_c_check_func
1831
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1832
@%:@ -------------------------------------------
1833
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1834
@%:@ variable VAR accordingly.
1835
ac_fn_c_check_type ()
1837
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839
$as_echo_n "checking for $2... " >&6; }
1840
if eval \${$3+:} false; then :
1841
$as_echo_n "(cached) " >&6
1844
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845
/* end confdefs.h. */
1856
if ac_fn_c_try_compile "$LINENO"; then :
1857
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858
/* end confdefs.h. */
1869
if ac_fn_c_try_compile "$LINENO"; then :
1874
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880
$as_echo "$ac_res" >&6; }
1881
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
} @%:@ ac_fn_c_check_type
1885
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1886
@%:@ -------------------------------------------------------
1887
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1888
@%:@ the include files in INCLUDES and setting the cache variable VAR
1890
ac_fn_c_check_header_mongrel ()
1892
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893
if eval \${$3+:} false; then :
1894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895
$as_echo_n "checking for $2... " >&6; }
1896
if eval \${$3+:} false; then :
1897
$as_echo_n "(cached) " >&6
1900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901
$as_echo "$ac_res" >&6; }
1903
# Is the header compilable?
1904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1905
$as_echo_n "checking $2 usability... " >&6; }
1906
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907
/* end confdefs.h. */
1911
if ac_fn_c_try_compile "$LINENO"; then :
1912
ac_header_compiler=yes
1914
ac_header_compiler=no
1916
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1918
$as_echo "$ac_header_compiler" >&6; }
1920
# Is the header present?
1921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1922
$as_echo_n "checking $2 presence... " >&6; }
1923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924
/* end confdefs.h. */
1927
if ac_fn_c_try_cpp "$LINENO"; then :
1928
ac_header_preproc=yes
1930
ac_header_preproc=no
1932
rm -f conftest.err conftest.i conftest.$ac_ext
1933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1934
$as_echo "$ac_header_preproc" >&6; }
1936
# So? What about this header?
1937
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1940
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1941
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1942
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1946
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1947
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1948
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1950
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1952
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1953
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1954
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1955
( $as_echo "## ------------------------------------------------- ##
1956
## Report this to cloog-development@googlegroups.com ##
1957
## ------------------------------------------------- ##"
1958
) | sed "s/^/$as_me: WARNING: /" >&2
1961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962
$as_echo_n "checking for $2... " >&6; }
1963
if eval \${$3+:} false; then :
1964
$as_echo_n "(cached) " >&6
1966
eval "$3=\$ac_header_compiler"
1969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970
$as_echo "$ac_res" >&6; }
1972
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974
} @%:@ ac_fn_c_check_header_mongrel
1976
@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1977
@%:@ ---------------------------------------------
1978
@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1980
ac_fn_c_check_decl ()
1982
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983
as_decl_name=`echo $2|sed 's/ *(.*//'`
1984
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1986
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1987
if eval \${$3+:} false; then :
1988
$as_echo_n "(cached) " >&6
1990
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991
/* end confdefs.h. */
1996
@%:@ifndef $as_decl_name
1997
@%:@ifdef __cplusplus
1998
(void) $as_decl_use;
2000
(void) $as_decl_name;
2008
if ac_fn_c_try_compile "$LINENO"; then :
2013
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017
$as_echo "$ac_res" >&6; }
2018
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020
} @%:@ ac_fn_c_check_decl
2021
cat >config.log <<_ACEOF
2022
This file contains any messages produced by compilers while
2023
running configure, to aid debugging if configure makes a mistake.
2025
It was created by cloog $as_me 0.18.1, which was
2026
generated by GNU Autoconf 2.69. Invocation command line was
2038
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2039
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2040
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2041
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2042
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2044
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2045
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2047
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2048
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2049
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2050
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2051
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2052
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2053
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061
test -z "$as_dir" && as_dir=.
2062
$as_echo "PATH: $as_dir"
2078
# Keep a trace of the command line.
2079
# Strip out --no-create and --no-recursion so they do not pile up.
2080
# Strip out --silent because we don't want to record it for future runs.
2081
# Also quote any args containing shell meta-characters.
2082
# Make two passes to allow for proper duplicate-argument suppression.
2086
ac_must_keep_next=false
2092
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2093
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2094
| -silent | --silent | --silen | --sile | --sil)
2097
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2100
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2102
as_fn_append ac_configure_args1 " '$ac_arg'"
2103
if test $ac_must_keep_next = true; then
2104
ac_must_keep_next=false # Got value, back to normal.
2107
*=* | --config-cache | -C | -disable-* | --disable-* \
2108
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2109
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2110
| -with-* | --with-* | -without-* | --without-* | --x)
2111
case "$ac_configure_args0 " in
2112
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2115
-* ) ac_must_keep_next=true ;;
2118
as_fn_append ac_configure_args " '$ac_arg'"
2123
{ ac_configure_args0=; unset ac_configure_args0;}
2124
{ ac_configure_args1=; unset ac_configure_args1;}
2126
# When interrupted or exit'd, cleanup temporary files, and complete
2127
# config.log. We remove comments because anyway the quotes in there
2128
# would cause problems or look ugly.
2129
# WARNING: Use '\'' to represent an apostrophe within the trap.
2130
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2131
trap 'exit_status=$?
2132
# Save into config.log some information that might help in debugging.
2136
$as_echo "## ---------------- ##
2137
## Cache variables. ##
2138
## ---------------- ##"
2140
# The following way of writing the cache mishandles newlines in values,
2142
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2143
eval ac_val=\$$ac_var
2147
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2148
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2151
_ | IFS | as_nl) ;; #(
2152
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2153
*) { eval $ac_var=; unset $ac_var;} ;;
2158
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2159
*${as_nl}ac_space=\ *)
2161
"s/'\''/'\''\\\\'\'''\''/g;
2162
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172
$as_echo "## ----------------- ##
2173
## Output variables. ##
2174
## ----------------- ##"
2176
for ac_var in $ac_subst_vars
2178
eval ac_val=\$$ac_var
2180
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182
$as_echo "$ac_var='\''$ac_val'\''"
2186
if test -n "$ac_subst_files"; then
2187
$as_echo "## ------------------- ##
2188
## File substitutions. ##
2189
## ------------------- ##"
2191
for ac_var in $ac_subst_files
2193
eval ac_val=\$$ac_var
2195
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197
$as_echo "$ac_var='\''$ac_val'\''"
2202
if test -s confdefs.h; then
2203
$as_echo "## ----------- ##
2210
test "$ac_signal" != 0 &&
2211
$as_echo "$as_me: caught signal $ac_signal"
2212
$as_echo "$as_me: exit $exit_status"
2214
rm -f core *.core core.conftest.* &&
2215
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2218
for ac_signal in 1 2 13 15; do
2219
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2223
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2224
rm -f -r conftest* confdefs.h
2226
$as_echo "/* confdefs.h */" > confdefs.h
2228
# Predefined preprocessor variables.
2230
cat >>confdefs.h <<_ACEOF
2231
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2234
cat >>confdefs.h <<_ACEOF
2235
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2238
cat >>confdefs.h <<_ACEOF
2239
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2242
cat >>confdefs.h <<_ACEOF
2243
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2246
cat >>confdefs.h <<_ACEOF
2247
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2250
cat >>confdefs.h <<_ACEOF
2251
@%:@define PACKAGE_URL "$PACKAGE_URL"
2255
# Let the site file select an alternate cache file if it wants to.
2256
# Prefer an explicitly selected file to automatically selected ones.
2259
if test -n "$CONFIG_SITE"; then
2260
# We do not want a PATH search for config.site.
2261
case $CONFIG_SITE in @%:@((
2262
-*) ac_site_file1=./$CONFIG_SITE;;
2263
*/*) ac_site_file1=$CONFIG_SITE;;
2264
*) ac_site_file1=./$CONFIG_SITE;;
2266
elif test "x$prefix" != xNONE; then
2267
ac_site_file1=$prefix/share/config.site
2268
ac_site_file2=$prefix/etc/config.site
2270
ac_site_file1=$ac_default_prefix/share/config.site
2271
ac_site_file2=$ac_default_prefix/etc/config.site
2273
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2275
test "x$ac_site_file" = xNONE && continue
2276
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2277
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2278
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2279
sed 's/^/| /' "$ac_site_file" >&5
2281
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2282
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283
as_fn_error $? "failed to load site script $ac_site_file
2284
See \`config.log' for more details" "$LINENO" 5; }
2288
if test -r "$cache_file"; then
2289
# Some versions of bash will fail to source /dev/null (special files
2290
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2291
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2292
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2293
$as_echo "$as_me: loading cache $cache_file" >&6;}
2295
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2296
*) . "./$cache_file";;
2300
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2301
$as_echo "$as_me: creating cache $cache_file" >&6;}
2305
# Check that the precious variables saved in the cache have kept the same
2307
ac_cache_corrupted=false
2308
for ac_var in $ac_precious_vars; do
2309
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310
eval ac_new_set=\$ac_env_${ac_var}_set
2311
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312
eval ac_new_val=\$ac_env_${ac_var}_value
2313
case $ac_old_set,$ac_new_set in
2315
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317
ac_cache_corrupted=: ;;
2319
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2320
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321
ac_cache_corrupted=: ;;
2324
if test "x$ac_old_val" != "x$ac_new_val"; then
2325
# differences in whitespace do not lead to failure.
2326
ac_old_val_w=`echo x $ac_old_val`
2327
ac_new_val_w=`echo x $ac_new_val`
2328
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2329
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2330
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2331
ac_cache_corrupted=:
2333
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2334
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2335
eval $ac_var=\$ac_old_val
2337
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2338
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2339
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2340
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2343
# Pass precious variables to config.status.
2344
if test "$ac_new_set" = set; then
2346
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347
*) ac_arg=$ac_var=$ac_new_val ;;
2349
case " $ac_configure_args " in
2350
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2355
if $ac_cache_corrupted; then
2356
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2357
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2358
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2359
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2360
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2362
## -------------------- ##
2363
## Main body of script. ##
2364
## -------------------- ##
2367
ac_cpp='$CPP $CPPFLAGS'
2368
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2375
for ac_dir in autoconf "$srcdir"/autoconf; do
2376
if test -f "$ac_dir/install-sh"; then
2378
ac_install_sh="$ac_aux_dir/install-sh -c"
2380
elif test -f "$ac_dir/install.sh"; then
2382
ac_install_sh="$ac_aux_dir/install.sh -c"
2384
elif test -f "$ac_dir/shtool"; then
2386
ac_install_sh="$ac_aux_dir/shtool install -c"
2390
if test -z "$ac_aux_dir"; then
2391
as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2394
# These three variables are undocumented and unsupported,
2395
# and are intended to be withdrawn in a future Autoconf release.
2396
# They can cause serious problems if a builder's source tree is in a directory
2397
# whose full name contains unusual characters.
2398
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2399
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2400
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411
am__api_version='1.11'
2413
# Find a good install program. We prefer a C program (faster),
2414
# so one script is as good as another. But avoid the broken or
2415
# incompatible versions:
2416
# SysV /etc/install, /usr/sbin/install
2417
# SunOS /usr/etc/install
2418
# IRIX /sbin/install
2420
# AmigaOS /C/install, which installs bootblocks on floppy discs
2421
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2422
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2423
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2424
# OS/2's system install, which has a completely different semantic
2425
# ./install, which can be erroneously created by make from ./install.sh.
2426
# Reject install programs that cannot install multiple files.
2427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2428
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2429
if test -z "$INSTALL"; then
2430
if ${ac_cv_path_install+:} false; then :
2431
$as_echo_n "(cached) " >&6
2433
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437
test -z "$as_dir" && as_dir=.
2438
# Account for people who put trailing slashes in PATH elements.
2439
case $as_dir/ in @%:@((
2440
./ | .// | /[cC]/* | \
2441
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2442
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2445
# OSF1 and SCO ODT 3.0 have their own names for install.
2446
# Don't use installbsd from OSF since it installs stuff as root
2448
for ac_prog in ginstall scoinst install; do
2449
for ac_exec_ext in '' $ac_executable_extensions; do
2450
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2451
if test $ac_prog = install &&
2452
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2453
# AIX install. It has an incompatible calling convention.
2455
elif test $ac_prog = install &&
2456
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2457
# program-specific install script used by HP pwplus--don't use.
2460
rm -rf conftest.one conftest.two conftest.dir
2461
echo one > conftest.one
2462
echo two > conftest.two
2464
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2465
test -s conftest.one && test -s conftest.two &&
2466
test -s conftest.dir/conftest.one &&
2467
test -s conftest.dir/conftest.two
2469
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2482
rm -rf conftest.one conftest.two conftest.dir
2485
if test "${ac_cv_path_install+set}" = set; then
2486
INSTALL=$ac_cv_path_install
2488
# As a last resort, use the slow shell script. Don't cache a
2489
# value for INSTALL within a source directory, because that will
2490
# break other packages using the cache if that directory is
2491
# removed, or if the value is a relative name.
2492
INSTALL=$ac_install_sh
2495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2496
$as_echo "$INSTALL" >&6; }
2498
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499
# It thinks the first close brace ends the variable substitution.
2500
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2502
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2504
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2507
$as_echo_n "checking whether build environment is sane... " >&6; }
2510
echo timestamp > conftest.file
2511
# Reject unsafe characters in $srcdir or the absolute working directory
2512
# name. Accept space and tab only in the latter.
2516
*[\\\"\#\$\&\'\`$am_lf]*)
2517
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2520
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2521
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2524
# Do `set' in a subshell so we don't clobber the current shell's
2525
# arguments. Must try -L first in case configure is actually a
2526
# symlink; some systems play weird games with the mod time of symlinks
2527
# (eg FreeBSD returns the mod time of the symlink's containing
2530
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2531
if test "$*" = "X"; then
2533
set X `ls -t "$srcdir/configure" conftest.file`
2536
if test "$*" != "X $srcdir/configure conftest.file" \
2537
&& test "$*" != "X conftest.file $srcdir/configure"; then
2539
# If neither matched, then we have a broken ls. This can happen
2540
# if, for instance, CONFIG_SHELL is bash and it inherits a
2541
# broken ls alias from the environment. This has actually
2542
# happened. Such a system could not be considered "sane".
2543
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2544
alias in your environment" "$LINENO" 5
2547
test "$2" = conftest.file
2553
as_fn_error $? "newly created file is older than distributed files!
2554
Check your system clock" "$LINENO" 5
2556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557
$as_echo "yes" >&6; }
2558
test "$program_prefix" != NONE &&
2559
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2560
# Use a double $ so make ignores it.
2561
test "$program_suffix" != NONE &&
2562
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2563
# Double any \ or $.
2564
# By default was `s,x,x', remove it if useless.
2565
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2566
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2568
# expand $ac_aux_dir to an absolute path
2569
am_aux_dir=`cd $ac_aux_dir && pwd`
2571
if test x"${MISSING+set}" != xset; then
2574
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2576
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2579
# Use eval to expand $SHELL
2580
if eval "$MISSING --run true"; then
2581
am_missing_run="$MISSING --run "
2584
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2585
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2588
if test x"${install_sh}" != xset; then
2591
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2593
install_sh="\${SHELL} $am_aux_dir/install-sh"
2597
# Installed binaries are usually stripped using `strip' when the user
2598
# run `make install-strip'. However `strip' might not be the right
2599
# tool to use in cross-compilation environments, therefore Automake
2600
# will honor the `STRIP' environment variable to overrule this program.
2601
if test "$cross_compiling" != no; then
2602
if test -n "$ac_tool_prefix"; then
2603
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2604
set dummy ${ac_tool_prefix}strip; ac_word=$2
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
$as_echo_n "checking for $ac_word... " >&6; }
2607
if ${ac_cv_prog_STRIP+:} false; then :
2608
$as_echo_n "(cached) " >&6
2610
if test -n "$STRIP"; then
2611
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617
test -z "$as_dir" && as_dir=.
2618
for ac_exec_ext in '' $ac_executable_extensions; do
2619
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2621
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630
STRIP=$ac_cv_prog_STRIP
2631
if test -n "$STRIP"; then
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2633
$as_echo "$STRIP" >&6; }
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
$as_echo "no" >&6; }
2641
if test -z "$ac_cv_prog_STRIP"; then
2643
# Extract the first word of "strip", so it can be a program name with args.
2644
set dummy strip; ac_word=$2
2645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646
$as_echo_n "checking for $ac_word... " >&6; }
2647
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2648
$as_echo_n "(cached) " >&6
2650
if test -n "$ac_ct_STRIP"; then
2651
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657
test -z "$as_dir" && as_dir=.
2658
for ac_exec_ext in '' $ac_executable_extensions; do
2659
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660
ac_cv_prog_ac_ct_STRIP="strip"
2661
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2671
if test -n "$ac_ct_STRIP"; then
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2673
$as_echo "$ac_ct_STRIP" >&6; }
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676
$as_echo "no" >&6; }
2679
if test "x$ac_ct_STRIP" = x; then
2682
case $cross_compiling:$ac_tool_warned in
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2685
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686
ac_tool_warned=yes ;;
2691
STRIP="$ac_cv_prog_STRIP"
2695
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2698
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2699
if test -z "$MKDIR_P"; then
2700
if ${ac_cv_path_mkdir+:} false; then :
2701
$as_echo_n "(cached) " >&6
2703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2707
test -z "$as_dir" && as_dir=.
2708
for ac_prog in mkdir gmkdir; do
2709
for ac_exec_ext in '' $ac_executable_extensions; do
2710
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2711
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2712
'mkdir (GNU coreutils) '* | \
2713
'mkdir (coreutils) '* | \
2714
'mkdir (fileutils) '4.1*)
2715
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2725
test -d ./--version && rmdir ./--version
2726
if test "${ac_cv_path_mkdir+set}" = set; then
2727
MKDIR_P="$ac_cv_path_mkdir -p"
2729
# As a last resort, use the slow shell script. Don't cache a
2730
# value for MKDIR_P within a source directory, because that will
2731
# break other packages using the cache if that directory is
2732
# removed, or if the value is a relative name.
2733
MKDIR_P="$ac_install_sh -d"
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2737
$as_echo "$MKDIR_P" >&6; }
2741
[\\/$]* | ?:[\\/]*) ;;
2742
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2745
for ac_prog in gawk mawk nawk awk
2747
# Extract the first word of "$ac_prog", so it can be a program name with args.
2748
set dummy $ac_prog; ac_word=$2
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750
$as_echo_n "checking for $ac_word... " >&6; }
2751
if ${ac_cv_prog_AWK+:} false; then :
2752
$as_echo_n "(cached) " >&6
2754
if test -n "$AWK"; then
2755
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2757
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761
test -z "$as_dir" && as_dir=.
2762
for ac_exec_ext in '' $ac_executable_extensions; do
2763
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764
ac_cv_prog_AWK="$ac_prog"
2765
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775
if test -n "$AWK"; then
2776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2777
$as_echo "$AWK" >&6; }
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780
$as_echo "no" >&6; }
2784
test -n "$AWK" && break
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2788
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2790
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2791
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2792
$as_echo_n "(cached) " >&6
2794
cat >conftest.make <<\_ACEOF
2797
@echo '@@@%%%=$(MAKE)=@@@%%%'
2799
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2800
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2802
eval ac_cv_prog_make_${ac_make}_set=yes;;
2804
eval ac_cv_prog_make_${ac_make}_set=no;;
2808
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2810
$as_echo "yes" >&6; }
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814
$as_echo "no" >&6; }
2815
SET_MAKE="MAKE=${MAKE-make}"
2818
rm -rf .tst 2>/dev/null
2819
mkdir .tst 2>/dev/null
2820
if test -d .tst; then
2825
rmdir .tst 2>/dev/null
2827
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2828
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2829
# is not polluted with repeated "-I."
2830
am__isrc=' -I$(srcdir)'
2831
# test to see if srcdir already configured
2832
if test -f $srcdir/config.status; then
2833
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2837
# test whether we have cygpath
2838
if test -z "$CYGPATH_W"; then
2839
if (cygpath --version) >/dev/null 2>/dev/null; then
2840
CYGPATH_W='cygpath -w'
2847
# Define the identity of the package.
2852
cat >>confdefs.h <<_ACEOF
2853
@%:@define PACKAGE "$PACKAGE"
2857
cat >>confdefs.h <<_ACEOF
2858
@%:@define VERSION "$VERSION"
2861
# Some tools Automake needs.
2863
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2866
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2869
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2872
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2875
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2877
# We need awk for the "check" target. The system "awk" is bad on
2879
# Always define AMTAR for backward compatibility. Yes, it's still used
2880
# in the wild :-( We should find a proper way to deprecate it ...
2883
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2889
@%:@ Check whether --enable-silent-rules was given.
2890
if test "${enable_silent_rules+set}" = set; then :
2891
enableval=$enable_silent_rules;
2894
case $enable_silent_rules in
2895
yes) AM_DEFAULT_VERBOSITY=0;;
2896
no) AM_DEFAULT_VERBOSITY=1;;
2897
*) AM_DEFAULT_VERBOSITY=0;;
2899
am_make=${MAKE-make}
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2901
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2902
if ${am_cv_make_support_nested_variables+:} false; then :
2903
$as_echo_n "(cached) " >&6
2905
if $as_echo 'TRUE=$(BAR$(V))
2911
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2912
am_cv_make_support_nested_variables=yes
2914
am_cv_make_support_nested_variables=no
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2918
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2919
if test $am_cv_make_support_nested_variables = yes; then
2921
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2923
AM_V=$AM_DEFAULT_VERBOSITY
2924
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2931
ac_cpp='$CPP $CPPFLAGS'
2932
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935
if test -n "$ac_tool_prefix"; then
2936
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2937
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939
$as_echo_n "checking for $ac_word... " >&6; }
2940
if ${ac_cv_prog_CC+:} false; then :
2941
$as_echo_n "(cached) " >&6
2943
if test -n "$CC"; then
2944
ac_cv_prog_CC="$CC" # Let the user override the test.
2946
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950
test -z "$as_dir" && as_dir=.
2951
for ac_exec_ext in '' $ac_executable_extensions; do
2952
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2954
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964
if test -n "$CC"; then
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966
$as_echo "$CC" >&6; }
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969
$as_echo "no" >&6; }
2974
if test -z "$ac_cv_prog_CC"; then
2976
# Extract the first word of "gcc", so it can be a program name with args.
2977
set dummy gcc; ac_word=$2
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979
$as_echo_n "checking for $ac_word... " >&6; }
2980
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2981
$as_echo_n "(cached) " >&6
2983
if test -n "$ac_ct_CC"; then
2984
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990
test -z "$as_dir" && as_dir=.
2991
for ac_exec_ext in '' $ac_executable_extensions; do
2992
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993
ac_cv_prog_ac_ct_CC="gcc"
2994
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3004
if test -n "$ac_ct_CC"; then
3005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3006
$as_echo "$ac_ct_CC" >&6; }
3008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009
$as_echo "no" >&6; }
3012
if test "x$ac_ct_CC" = x; then
3015
case $cross_compiling:$ac_tool_warned in
3017
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019
ac_tool_warned=yes ;;
3027
if test -z "$CC"; then
3028
if test -n "$ac_tool_prefix"; then
3029
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3030
set dummy ${ac_tool_prefix}cc; ac_word=$2
3031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032
$as_echo_n "checking for $ac_word... " >&6; }
3033
if ${ac_cv_prog_CC+:} false; then :
3034
$as_echo_n "(cached) " >&6
3036
if test -n "$CC"; then
3037
ac_cv_prog_CC="$CC" # Let the user override the test.
3039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043
test -z "$as_dir" && as_dir=.
3044
for ac_exec_ext in '' $ac_executable_extensions; do
3045
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046
ac_cv_prog_CC="${ac_tool_prefix}cc"
3047
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057
if test -n "$CC"; then
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059
$as_echo "$CC" >&6; }
3061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062
$as_echo "no" >&6; }
3068
if test -z "$CC"; then
3069
# Extract the first word of "cc", so it can be a program name with args.
3070
set dummy cc; ac_word=$2
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072
$as_echo_n "checking for $ac_word... " >&6; }
3073
if ${ac_cv_prog_CC+:} false; then :
3074
$as_echo_n "(cached) " >&6
3076
if test -n "$CC"; then
3077
ac_cv_prog_CC="$CC" # Let the user override the test.
3080
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084
test -z "$as_dir" && as_dir=.
3085
for ac_exec_ext in '' $ac_executable_extensions; do
3086
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3088
ac_prog_rejected=yes
3092
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099
if test $ac_prog_rejected = yes; then
3100
# We found a bogon in the path, so make sure we never use it.
3101
set dummy $ac_cv_prog_CC
3103
if test $@%:@ != 0; then
3104
# We chose a different compiler from the bogus one.
3105
# However, it has the same basename, so the bogon will be chosen
3106
# first if we set CC to just the basename; use the full file name.
3108
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3114
if test -n "$CC"; then
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116
$as_echo "$CC" >&6; }
3118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119
$as_echo "no" >&6; }
3124
if test -z "$CC"; then
3125
if test -n "$ac_tool_prefix"; then
3126
for ac_prog in cl.exe
3128
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3129
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131
$as_echo_n "checking for $ac_word... " >&6; }
3132
if ${ac_cv_prog_CC+:} false; then :
3133
$as_echo_n "(cached) " >&6
3135
if test -n "$CC"; then
3136
ac_cv_prog_CC="$CC" # Let the user override the test.
3138
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142
test -z "$as_dir" && as_dir=.
3143
for ac_exec_ext in '' $ac_executable_extensions; do
3144
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3146
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156
if test -n "$CC"; then
3157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158
$as_echo "$CC" >&6; }
3160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161
$as_echo "no" >&6; }
3165
test -n "$CC" && break
3168
if test -z "$CC"; then
3170
for ac_prog in cl.exe
3172
# Extract the first word of "$ac_prog", so it can be a program name with args.
3173
set dummy $ac_prog; ac_word=$2
3174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175
$as_echo_n "checking for $ac_word... " >&6; }
3176
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3177
$as_echo_n "(cached) " >&6
3179
if test -n "$ac_ct_CC"; then
3180
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186
test -z "$as_dir" && as_dir=.
3187
for ac_exec_ext in '' $ac_executable_extensions; do
3188
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189
ac_cv_prog_ac_ct_CC="$ac_prog"
3190
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3200
if test -n "$ac_ct_CC"; then
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3202
$as_echo "$ac_ct_CC" >&6; }
3204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205
$as_echo "no" >&6; }
3209
test -n "$ac_ct_CC" && break
3212
if test "x$ac_ct_CC" = x; then
3215
case $cross_compiling:$ac_tool_warned in
3217
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3218
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3219
ac_tool_warned=yes ;;
3228
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230
as_fn_error $? "no acceptable C compiler found in \$PATH
3231
See \`config.log' for more details" "$LINENO" 5; }
3233
# Provide some information about the compiler.
3234
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3237
for ac_option in --version -v -V -qversion; do
3238
{ { ac_try="$ac_compiler $ac_option >&5"
3240
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241
*) ac_try_echo=$ac_try;;
3243
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244
$as_echo "$ac_try_echo"; } >&5
3245
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3247
if test -s conftest.err; then
3249
... rest of stderr output deleted ...
3250
10q' conftest.err >conftest.er1
3251
cat conftest.er1 >&5
3253
rm -f conftest.er1 conftest.err
3254
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255
test $ac_status = 0; }
3258
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259
/* end confdefs.h. */
3269
ac_clean_files_save=$ac_clean_files
3270
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3271
# Try to create an executable without -o first, disregard a.out.
3272
# It will help us diagnose broken compilers, and finding out an intuition
3274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3275
$as_echo_n "checking whether the C compiler works... " >&6; }
3276
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3278
# The possible output files:
3279
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3282
for ac_file in $ac_files
3285
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3286
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3291
if { { ac_try="$ac_link_default"
3293
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294
*) ac_try_echo=$ac_try;;
3296
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297
$as_echo "$ac_try_echo"; } >&5
3298
(eval "$ac_link_default") 2>&5
3300
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301
test $ac_status = 0; }; then :
3302
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3303
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3304
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3305
# so that the user can short-circuit this test for compilers unknown to
3307
for ac_file in $ac_files ''
3309
test -f "$ac_file" || continue
3311
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3314
# We found the default executable, but exeext='' is most
3318
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3320
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3322
# We set ac_cv_exeext here because the later test for it is not
3323
# safe: cross compilers may not add the suffix if given an `-o'
3324
# argument, so we may need to know it at that point already.
3325
# Even if this section looks crufty: it has the advantage of
3332
test "$ac_cv_exeext" = no && ac_cv_exeext=
3337
if test -z "$ac_file"; then :
3338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339
$as_echo "no" >&6; }
3340
$as_echo "$as_me: failed program was:" >&5
3341
sed 's/^/| /' conftest.$ac_ext >&5
3343
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345
as_fn_error 77 "C compiler cannot create executables
3346
See \`config.log' for more details" "$LINENO" 5; }
3348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3349
$as_echo "yes" >&6; }
3351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3352
$as_echo_n "checking for C compiler default output file name... " >&6; }
3353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3354
$as_echo "$ac_file" >&6; }
3355
ac_exeext=$ac_cv_exeext
3357
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3358
ac_clean_files=$ac_clean_files_save
3359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3360
$as_echo_n "checking for suffix of executables... " >&6; }
3361
if { { ac_try="$ac_link"
3363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364
*) ac_try_echo=$ac_try;;
3366
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367
$as_echo "$ac_try_echo"; } >&5
3368
(eval "$ac_link") 2>&5
3370
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371
test $ac_status = 0; }; then :
3372
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3373
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3374
# work properly (i.e., refer to `conftest.exe'), while it won't with
3376
for ac_file in conftest.exe conftest conftest.*; do
3377
test -f "$ac_file" || continue
3379
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3380
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3386
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3389
See \`config.log' for more details" "$LINENO" 5; }
3391
rm -f conftest conftest$ac_cv_exeext
3392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3393
$as_echo "$ac_cv_exeext" >&6; }
3395
rm -f conftest.$ac_ext
3396
EXEEXT=$ac_cv_exeext
3398
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399
/* end confdefs.h. */
3400
@%:@include <stdio.h>
3404
FILE *f = fopen ("conftest.out", "w");
3405
return ferror (f) || fclose (f) != 0;
3411
ac_clean_files="$ac_clean_files conftest.out"
3412
# Check that the compiler produces executables we can run. If not, either
3413
# the compiler is broken, or we cross compile.
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3415
$as_echo_n "checking whether we are cross compiling... " >&6; }
3416
if test "$cross_compiling" != yes; then
3417
{ { ac_try="$ac_link"
3419
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420
*) ac_try_echo=$ac_try;;
3422
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423
$as_echo "$ac_try_echo"; } >&5
3424
(eval "$ac_link") 2>&5
3426
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427
test $ac_status = 0; }
3428
if { ac_try='./conftest$ac_cv_exeext'
3429
{ { case "(($ac_try" in
3430
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431
*) ac_try_echo=$ac_try;;
3433
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434
$as_echo "$ac_try_echo"; } >&5
3435
(eval "$ac_try") 2>&5
3437
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438
test $ac_status = 0; }; }; then
3441
if test "$cross_compiling" = maybe; then
3444
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446
as_fn_error $? "cannot run C compiled programs.
3447
If you meant to cross compile, use \`--host'.
3448
See \`config.log' for more details" "$LINENO" 5; }
3452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3453
$as_echo "$cross_compiling" >&6; }
3455
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3456
ac_clean_files=$ac_clean_files_save
3457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3458
$as_echo_n "checking for suffix of object files... " >&6; }
3459
if ${ac_cv_objext+:} false; then :
3460
$as_echo_n "(cached) " >&6
3462
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463
/* end confdefs.h. */
3473
rm -f conftest.o conftest.obj
3474
if { { ac_try="$ac_compile"
3476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
*) ac_try_echo=$ac_try;;
3479
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480
$as_echo "$ac_try_echo"; } >&5
3481
(eval "$ac_compile") 2>&5
3483
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484
test $ac_status = 0; }; then :
3485
for ac_file in conftest.o conftest.obj conftest.*; do
3486
test -f "$ac_file" || continue;
3488
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3489
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3494
$as_echo "$as_me: failed program was:" >&5
3495
sed 's/^/| /' conftest.$ac_ext >&5
3497
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499
as_fn_error $? "cannot compute suffix of object files: cannot compile
3500
See \`config.log' for more details" "$LINENO" 5; }
3502
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3505
$as_echo "$ac_cv_objext" >&6; }
3506
OBJEXT=$ac_cv_objext
3508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3509
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3510
if ${ac_cv_c_compiler_gnu+:} false; then :
3511
$as_echo_n "(cached) " >&6
3513
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514
/* end confdefs.h. */
3527
if ac_fn_c_try_compile "$LINENO"; then :
3532
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3537
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3538
if test $ac_compiler_gnu = yes; then
3543
ac_test_CFLAGS=${CFLAGS+set}
3544
ac_save_CFLAGS=$CFLAGS
3545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3546
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3547
if ${ac_cv_prog_cc_g+:} false; then :
3548
$as_echo_n "(cached) " >&6
3550
ac_save_c_werror_flag=$ac_c_werror_flag
3551
ac_c_werror_flag=yes
3554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555
/* end confdefs.h. */
3565
if ac_fn_c_try_compile "$LINENO"; then :
3569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570
/* end confdefs.h. */
3580
if ac_fn_c_try_compile "$LINENO"; then :
3583
ac_c_werror_flag=$ac_save_c_werror_flag
3585
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586
/* end confdefs.h. */
3596
if ac_fn_c_try_compile "$LINENO"; then :
3599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604
ac_c_werror_flag=$ac_save_c_werror_flag
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3607
$as_echo "$ac_cv_prog_cc_g" >&6; }
3608
if test "$ac_test_CFLAGS" = set; then
3609
CFLAGS=$ac_save_CFLAGS
3610
elif test $ac_cv_prog_cc_g = yes; then
3611
if test "$GCC" = yes; then
3617
if test "$GCC" = yes; then
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3624
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3625
if ${ac_cv_prog_cc_c89+:} false; then :
3626
$as_echo_n "(cached) " >&6
3628
ac_cv_prog_cc_c89=no
3630
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631
/* end confdefs.h. */
3635
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3636
struct buf { int x; };
3637
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3638
static char *e (p, i)
3644
static char *f (char * (*g) (char **, int), char **p, ...)
3649
s = g (p, va_arg (v,int));
3654
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3655
function prototypes and stuff, but not '\xHH' hex character constants.
3656
These don't provoke an error unfortunately, instead are silently treated
3657
as 'x'. The following induces an error, until -std is added to get
3658
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3659
array size at least. It's necessary to write '\x00'==0 to get something
3660
that's true only with -std. */
3661
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3664
inside strings and character constants. */
3666
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668
int test (int i, double x);
3669
struct s1 {int (*f) (int a);};
3670
struct s2 {int (*f) (double a);};
3671
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3677
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3683
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685
CC="$ac_save_CC $ac_arg"
3686
if ac_fn_c_try_compile "$LINENO"; then :
3687
ac_cv_prog_cc_c89=$ac_arg
3689
rm -f core conftest.err conftest.$ac_objext
3690
test "x$ac_cv_prog_cc_c89" != "xno" && break
3692
rm -f conftest.$ac_ext
3697
case "x$ac_cv_prog_cc_c89" in
3699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3700
$as_echo "none needed" >&6; } ;;
3702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3703
$as_echo "unsupported" >&6; } ;;
3705
CC="$CC $ac_cv_prog_cc_c89"
3706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3707
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709
if test "x$ac_cv_prog_cc_c89" != xno; then :
3714
ac_cpp='$CPP $CPPFLAGS'
3715
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3718
DEPDIR="${am__leading_dot}deps"
3720
ac_config_commands="$ac_config_commands depfiles"
3723
am_make=${MAKE-make}
3724
cat > confinc << 'END'
3726
@echo this is the am__doit target
3729
# If we don't find an include directive, just comment out the code.
3730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3731
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3735
# First try GNU make style include.
3736
echo "include confinc" > confmf
3737
# Ignore all kinds of additional output from `make'.
3738
case `$am_make -s -f confmf 2> /dev/null` in #(
3739
*the\ am__doit\ target*)
3745
# Now try BSD make style include.
3746
if test "$am__include" = "#"; then
3747
echo '.include "confinc"' > confmf
3748
case `$am_make -s -f confmf 2> /dev/null` in #(
3749
*the\ am__doit\ target*)
3750
am__include=.include
3758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3759
$as_echo "$_am_result" >&6; }
3760
rm -f confinc confmf
3762
@%:@ Check whether --enable-dependency-tracking was given.
3763
if test "${enable_dependency_tracking+set}" = set; then :
3764
enableval=$enable_dependency_tracking;
3767
if test "x$enable_dependency_tracking" != xno; then
3768
am_depcomp="$ac_aux_dir/depcomp"
3772
if test "x$enable_dependency_tracking" != xno; then
3782
depcc="$CC" am_compiler_list=
3784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3785
$as_echo_n "checking dependency style of $depcc... " >&6; }
3786
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3787
$as_echo_n "(cached) " >&6
3789
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3790
# We make a subdir and do the tests there. Otherwise we can end up
3791
# making bogus files that we don't know about and never remove. For
3792
# instance it was reported that on HP-UX the gcc test will end up
3793
# making a dummy file named `D' -- because `-MD' means `put the output
3797
# Copy depcomp to subdir because otherwise we won't find it if we're
3798
# using a relative directory.
3799
cp "$am_depcomp" conftest.dir
3801
# We will build objects and dependencies in a subdirectory because
3802
# it helps to detect inapplicable dependency modes. For instance
3803
# both Tru64's cc and ICC support -MD to output dependencies as a
3804
# side effect of compilation, but ICC will put the dependencies in
3805
# the current directory while Tru64 will put them in the object
3809
am_cv_CC_dependencies_compiler_type=none
3810
if test "$am_compiler_list" = ""; then
3811
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3814
case " $depcc " in #(
3815
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3818
for depmode in $am_compiler_list; do
3819
# Setup a source with many dependencies, because some compilers
3820
# like to wrap large dependency lists on column 80 (with \), and
3821
# we should not choose a depcomp mode which is confused by this.
3823
# We need to recreate these files for each test, as the compiler may
3824
# overwrite some of them when testing with obscure command lines.
3825
# This happens at least with the AIX C compiler.
3827
for i in 1 2 3 4 5 6; do
3828
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3829
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3830
# Solaris 8's {/usr,}/bin/sh.
3831
touch sub/conftst$i.h
3833
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3835
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3836
# mode. It turns out that the SunPro C++ compiler does not properly
3837
# handle `-M -o', and we need to detect this. Also, some Intel
3838
# versions had trouble with output in subdirs
3839
am__obj=sub/conftest.${OBJEXT-o}
3840
am__minus_obj="-o $am__obj"
3843
# This depmode causes a compiler race in universal mode.
3844
test "$am__universal" = false || continue
3847
# after this tag, mechanisms are not by side-effect, so they'll
3848
# only be used when explicitly requested
3849
if test "x$enable_dependency_tracking" = xyes; then
3855
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3856
# This compiler won't grok `-c -o', but also, the minuso test has
3857
# not run yet. These depmodes are late enough in the game, and
3858
# so weak that their functioning should not be impacted.
3859
am__obj=conftest.${OBJEXT-o}
3864
if depmode=$depmode \
3865
source=sub/conftest.c object=$am__obj \
3866
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3867
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3868
>/dev/null 2>conftest.err &&
3869
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3870
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3871
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3872
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3873
# icc doesn't choke on unknown options, it will just issue warnings
3874
# or remarks (even with -Werror). So we grep stderr for any message
3875
# that says an option was ignored or not supported.
3876
# When given -MP, icc 7.0 and 7.1 complain thusly:
3877
# icc: Command line warning: ignoring option '-M'; no argument required
3878
# The diagnosis changed in icc 8.0:
3879
# icc: Command line remark: option '-MP' not supported
3880
if (grep 'ignoring option' conftest.err ||
3881
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3882
am_cv_CC_dependencies_compiler_type=$depmode
3891
am_cv_CC_dependencies_compiler_type=none
3895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3896
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3897
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3900
test "x$enable_dependency_tracking" != xno \
3901
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3903
am__fastdepCC_FALSE='#'
3905
am__fastdepCC_TRUE='#'
3906
am__fastdepCC_FALSE=
3910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3911
$as_echo_n "checking whether ln -s works... " >&6; }
3913
if test "$LN_S" = "ln -s"; then
3914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915
$as_echo "yes" >&6; }
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3918
$as_echo "no, using $LN_S" >&6; }
3921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3922
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3924
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3925
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3926
$as_echo_n "(cached) " >&6
3928
cat >conftest.make <<\_ACEOF
3931
@echo '@@@%%%=$(MAKE)=@@@%%%'
3933
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3934
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3936
eval ac_cv_prog_make_${ac_make}_set=yes;;
3938
eval ac_cv_prog_make_${ac_make}_set=no;;
3942
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3944
$as_echo "yes" >&6; }
3947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948
$as_echo "no" >&6; }
3949
SET_MAKE="MAKE=${MAKE-make}"
3952
# Extract the first word of "cd", so it can be a program name with args.
3953
set dummy cd; ac_word=$2
3954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955
$as_echo_n "checking for $ac_word... " >&6; }
3956
if ${ac_cv_prog_CD+:} false; then :
3957
$as_echo_n "(cached) " >&6
3959
if test -n "$CD"; then
3960
ac_cv_prog_CD="$CD" # Let the user override the test.
3962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966
test -z "$as_dir" && as_dir=.
3967
for ac_exec_ext in '' $ac_executable_extensions; do
3968
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980
if test -n "$CD"; then
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CD" >&5
3982
$as_echo "$CD" >&6; }
3984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985
$as_echo "no" >&6; }
3992
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3993
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3998
macro_version='2.4.2'
3999
macro_revision='1.3337'
4013
ltmain="$ac_aux_dir/ltmain.sh"
4015
# Make sure we can run config.sub.
4016
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4017
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4020
$as_echo_n "checking build system type... " >&6; }
4021
if ${ac_cv_build+:} false; then :
4022
$as_echo_n "(cached) " >&6
4024
ac_build_alias=$build_alias
4025
test "x$ac_build_alias" = x &&
4026
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4027
test "x$ac_build_alias" = x &&
4028
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4029
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4030
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4034
$as_echo "$ac_cv_build" >&6; }
4035
case $ac_cv_build in
4037
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4040
ac_save_IFS=$IFS; IFS='-'
4046
# Remember, the first character of IFS is used to create $*,
4047
# except with old shells:
4050
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4054
$as_echo_n "checking host system type... " >&6; }
4055
if ${ac_cv_host+:} false; then :
4056
$as_echo_n "(cached) " >&6
4058
if test "x$host_alias" = x; then
4059
ac_cv_host=$ac_cv_build
4061
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4062
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4067
$as_echo "$ac_cv_host" >&6; }
4070
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4073
ac_save_IFS=$IFS; IFS='-'
4079
# Remember, the first character of IFS is used to create $*,
4080
# except with old shells:
4083
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4086
# Backslashify metacharacters that are still active within
4087
# double-quoted strings.
4088
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4090
# Same as above, but do not quote variable references.
4091
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4093
# Sed substitution to delay expansion of an escaped shell variable in a
4094
# double_quote_subst'ed string.
4095
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4097
# Sed substitution to delay expansion of an escaped single quote.
4098
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4100
# Sed substitution to avoid accidental globbing in evaled expressions
4101
no_glob_subst='s/\*/\\\*/g'
4103
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4104
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4105
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4108
$as_echo_n "checking how to print strings... " >&6; }
4109
# Test print first, because it will be a builtin if present.
4110
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4111
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4113
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4116
# Use this function as a fallback that always works.
4117
func_fallback_echo ()
4119
eval 'cat <<_LTECHO_EOF
4123
ECHO='func_fallback_echo'
4126
# func_echo_all arg...
4127
# Invoke $ECHO with all args, space-separated.
4134
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4135
$as_echo "printf" >&6; } ;;
4136
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4137
$as_echo "print -r" >&6; } ;;
4138
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4139
$as_echo "cat" >&6; } ;;
4155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4156
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4157
if ${ac_cv_path_SED+:} false; then :
4158
$as_echo_n "(cached) " >&6
4160
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4161
for ac_i in 1 2 3 4 5 6 7; do
4162
ac_script="$ac_script$as_nl$ac_script"
4164
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4165
{ ac_script=; unset ac_script;}
4166
if test -z "$SED"; then
4167
ac_path_SED_found=false
4168
# Loop through the user's path and test for each of PROGNAME-LIST
4169
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173
test -z "$as_dir" && as_dir=.
4174
for ac_prog in sed gsed; do
4175
for ac_exec_ext in '' $ac_executable_extensions; do
4176
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4177
as_fn_executable_p "$ac_path_SED" || continue
4178
# Check for GNU ac_path_SED and select it if it is found.
4179
# Check for GNU $ac_path_SED
4180
case `"$ac_path_SED" --version 2>&1` in
4182
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4185
$as_echo_n 0123456789 >"conftest.in"
4188
cat "conftest.in" "conftest.in" >"conftest.tmp"
4189
mv "conftest.tmp" "conftest.in"
4190
cp "conftest.in" "conftest.nl"
4191
$as_echo '' >> "conftest.nl"
4192
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4193
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4194
as_fn_arith $ac_count + 1 && ac_count=$as_val
4195
if test $ac_count -gt ${ac_path_SED_max-0}; then
4196
# Best one so far, save it but keep looking for a better one
4197
ac_cv_path_SED="$ac_path_SED"
4198
ac_path_SED_max=$ac_count
4200
# 10*(2^10) chars as input seems more than enough
4201
test $ac_count -gt 10 && break
4203
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4206
$ac_path_SED_found && break 3
4211
if test -z "$ac_cv_path_SED"; then
4212
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4220
$as_echo "$ac_cv_path_SED" >&6; }
4221
SED="$ac_cv_path_SED"
4224
test -z "$SED" && SED=sed
4225
Xsed="$SED -e 1s/^X//"
4237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4238
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4239
if ${ac_cv_path_GREP+:} false; then :
4240
$as_echo_n "(cached) " >&6
4242
if test -z "$GREP"; then
4243
ac_path_GREP_found=false
4244
# Loop through the user's path and test for each of PROGNAME-LIST
4245
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4249
test -z "$as_dir" && as_dir=.
4250
for ac_prog in grep ggrep; do
4251
for ac_exec_ext in '' $ac_executable_extensions; do
4252
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4253
as_fn_executable_p "$ac_path_GREP" || continue
4254
# Check for GNU ac_path_GREP and select it if it is found.
4255
# Check for GNU $ac_path_GREP
4256
case `"$ac_path_GREP" --version 2>&1` in
4258
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4261
$as_echo_n 0123456789 >"conftest.in"
4264
cat "conftest.in" "conftest.in" >"conftest.tmp"
4265
mv "conftest.tmp" "conftest.in"
4266
cp "conftest.in" "conftest.nl"
4267
$as_echo 'GREP' >> "conftest.nl"
4268
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4269
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4270
as_fn_arith $ac_count + 1 && ac_count=$as_val
4271
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4272
# Best one so far, save it but keep looking for a better one
4273
ac_cv_path_GREP="$ac_path_GREP"
4274
ac_path_GREP_max=$ac_count
4276
# 10*(2^10) chars as input seems more than enough
4277
test $ac_count -gt 10 && break
4279
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4282
$ac_path_GREP_found && break 3
4287
if test -z "$ac_cv_path_GREP"; then
4288
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4291
ac_cv_path_GREP=$GREP
4295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4296
$as_echo "$ac_cv_path_GREP" >&6; }
4297
GREP="$ac_cv_path_GREP"
4300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4301
$as_echo_n "checking for egrep... " >&6; }
4302
if ${ac_cv_path_EGREP+:} false; then :
4303
$as_echo_n "(cached) " >&6
4305
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4306
then ac_cv_path_EGREP="$GREP -E"
4308
if test -z "$EGREP"; then
4309
ac_path_EGREP_found=false
4310
# Loop through the user's path and test for each of PROGNAME-LIST
4311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4315
test -z "$as_dir" && as_dir=.
4316
for ac_prog in egrep; do
4317
for ac_exec_ext in '' $ac_executable_extensions; do
4318
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4319
as_fn_executable_p "$ac_path_EGREP" || continue
4320
# Check for GNU ac_path_EGREP and select it if it is found.
4321
# Check for GNU $ac_path_EGREP
4322
case `"$ac_path_EGREP" --version 2>&1` in
4324
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4327
$as_echo_n 0123456789 >"conftest.in"
4330
cat "conftest.in" "conftest.in" >"conftest.tmp"
4331
mv "conftest.tmp" "conftest.in"
4332
cp "conftest.in" "conftest.nl"
4333
$as_echo 'EGREP' >> "conftest.nl"
4334
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336
as_fn_arith $ac_count + 1 && ac_count=$as_val
4337
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4338
# Best one so far, save it but keep looking for a better one
4339
ac_cv_path_EGREP="$ac_path_EGREP"
4340
ac_path_EGREP_max=$ac_count
4342
# 10*(2^10) chars as input seems more than enough
4343
test $ac_count -gt 10 && break
4345
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4348
$ac_path_EGREP_found && break 3
4353
if test -z "$ac_cv_path_EGREP"; then
4354
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4357
ac_cv_path_EGREP=$EGREP
4362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4363
$as_echo "$ac_cv_path_EGREP" >&6; }
4364
EGREP="$ac_cv_path_EGREP"
4367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4368
$as_echo_n "checking for fgrep... " >&6; }
4369
if ${ac_cv_path_FGREP+:} false; then :
4370
$as_echo_n "(cached) " >&6
4372
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4373
then ac_cv_path_FGREP="$GREP -F"
4375
if test -z "$FGREP"; then
4376
ac_path_FGREP_found=false
4377
# Loop through the user's path and test for each of PROGNAME-LIST
4378
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4382
test -z "$as_dir" && as_dir=.
4383
for ac_prog in fgrep; do
4384
for ac_exec_ext in '' $ac_executable_extensions; do
4385
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4386
as_fn_executable_p "$ac_path_FGREP" || continue
4387
# Check for GNU ac_path_FGREP and select it if it is found.
4388
# Check for GNU $ac_path_FGREP
4389
case `"$ac_path_FGREP" --version 2>&1` in
4391
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4394
$as_echo_n 0123456789 >"conftest.in"
4397
cat "conftest.in" "conftest.in" >"conftest.tmp"
4398
mv "conftest.tmp" "conftest.in"
4399
cp "conftest.in" "conftest.nl"
4400
$as_echo 'FGREP' >> "conftest.nl"
4401
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403
as_fn_arith $ac_count + 1 && ac_count=$as_val
4404
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4405
# Best one so far, save it but keep looking for a better one
4406
ac_cv_path_FGREP="$ac_path_FGREP"
4407
ac_path_FGREP_max=$ac_count
4409
# 10*(2^10) chars as input seems more than enough
4410
test $ac_count -gt 10 && break
4412
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4415
$ac_path_FGREP_found && break 3
4420
if test -z "$ac_cv_path_FGREP"; then
4421
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4424
ac_cv_path_FGREP=$FGREP
4429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4430
$as_echo "$ac_cv_path_FGREP" >&6; }
4431
FGREP="$ac_cv_path_FGREP"
4434
test -z "$GREP" && GREP=grep
4454
@%:@ Check whether --with-gnu-ld was given.
4455
if test "${with_gnu_ld+set}" = set; then :
4456
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4462
if test "$GCC" = yes; then
4463
# Check if gcc -print-prog-name=ld gives a path.
4464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4465
$as_echo_n "checking for ld used by $CC... " >&6; }
4468
# gcc leaves a trailing carriage return which upsets mingw
4469
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4471
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4474
# Accept absolute paths.
4476
re_direlt='/[^/][^/]*/\.\./'
4477
# Canonicalize the pathname of ld
4478
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4479
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4480
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4482
test -z "$LD" && LD="$ac_prog"
4485
# If it fails, then pretend we aren't using GCC.
4489
# If it is relative, then search for the first ld in PATH.
4493
elif test "$with_gnu_ld" = yes; then
4494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4495
$as_echo_n "checking for GNU ld... " >&6; }
4497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4498
$as_echo_n "checking for non-GNU ld... " >&6; }
4500
if ${lt_cv_path_LD+:} false; then :
4501
$as_echo_n "(cached) " >&6
4503
if test -z "$LD"; then
4504
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4505
for ac_dir in $PATH; do
4507
test -z "$ac_dir" && ac_dir=.
4508
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4509
lt_cv_path_LD="$ac_dir/$ac_prog"
4510
# Check to see if the program is GNU ld. I'd rather use --version,
4511
# but apparently some variants of GNU ld only accept -v.
4512
# Break only if it was the GNU/non-GNU ld that we prefer.
4513
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4514
*GNU* | *'with BFD'*)
4515
test "$with_gnu_ld" != no && break
4518
test "$with_gnu_ld" != yes && break
4525
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4530
if test -n "$LD"; then
4531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4532
$as_echo "$LD" >&6; }
4534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535
$as_echo "no" >&6; }
4537
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4539
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4540
if ${lt_cv_prog_gnu_ld+:} false; then :
4541
$as_echo_n "(cached) " >&6
4543
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4544
case `$LD -v 2>&1 </dev/null` in
4545
*GNU* | *'with BFD'*)
4546
lt_cv_prog_gnu_ld=yes
4549
lt_cv_prog_gnu_ld=no
4553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4554
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4555
with_gnu_ld=$lt_cv_prog_gnu_ld
4565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4566
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4567
if ${lt_cv_path_NM+:} false; then :
4568
$as_echo_n "(cached) " >&6
4570
if test -n "$NM"; then
4571
# Let the user override the test.
4574
lt_nm_to_check="${ac_tool_prefix}nm"
4575
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4576
lt_nm_to_check="$lt_nm_to_check nm"
4578
for lt_tmp_nm in $lt_nm_to_check; do
4579
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4580
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4582
test -z "$ac_dir" && ac_dir=.
4583
tmp_nm="$ac_dir/$lt_tmp_nm"
4584
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4585
# Check to see if the nm accepts a BSD-compat flag.
4586
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4587
# nm: unknown option "B" ignored
4588
# Tru64's nm complains that /dev/null is an invalid object file
4589
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4590
*/dev/null* | *'Invalid file or object type'*)
4591
lt_cv_path_NM="$tmp_nm -B"
4595
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4597
lt_cv_path_NM="$tmp_nm -p"
4601
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4602
continue # so that we can try to find one that supports BSD flags
4611
: ${lt_cv_path_NM=no}
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4615
$as_echo "$lt_cv_path_NM" >&6; }
4616
if test "$lt_cv_path_NM" != "no"; then
4619
# Didn't find any BSD compatible name lister, look for dumpbin.
4620
if test -n "$DUMPBIN"; then :
4621
# Let the user override the test.
4623
if test -n "$ac_tool_prefix"; then
4624
for ac_prog in dumpbin "link -dump"
4626
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4627
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629
$as_echo_n "checking for $ac_word... " >&6; }
4630
if ${ac_cv_prog_DUMPBIN+:} false; then :
4631
$as_echo_n "(cached) " >&6
4633
if test -n "$DUMPBIN"; then
4634
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4636
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640
test -z "$as_dir" && as_dir=.
4641
for ac_exec_ext in '' $ac_executable_extensions; do
4642
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4644
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653
DUMPBIN=$ac_cv_prog_DUMPBIN
4654
if test -n "$DUMPBIN"; then
4655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4656
$as_echo "$DUMPBIN" >&6; }
4658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659
$as_echo "no" >&6; }
4663
test -n "$DUMPBIN" && break
4666
if test -z "$DUMPBIN"; then
4667
ac_ct_DUMPBIN=$DUMPBIN
4668
for ac_prog in dumpbin "link -dump"
4670
# Extract the first word of "$ac_prog", so it can be a program name with args.
4671
set dummy $ac_prog; ac_word=$2
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673
$as_echo_n "checking for $ac_word... " >&6; }
4674
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4675
$as_echo_n "(cached) " >&6
4677
if test -n "$ac_ct_DUMPBIN"; then
4678
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4680
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684
test -z "$as_dir" && as_dir=.
4685
for ac_exec_ext in '' $ac_executable_extensions; do
4686
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4688
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4698
if test -n "$ac_ct_DUMPBIN"; then
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4700
$as_echo "$ac_ct_DUMPBIN" >&6; }
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703
$as_echo "no" >&6; }
4707
test -n "$ac_ct_DUMPBIN" && break
4710
if test "x$ac_ct_DUMPBIN" = x; then
4713
case $cross_compiling:$ac_tool_warned in
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4716
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4717
ac_tool_warned=yes ;;
4719
DUMPBIN=$ac_ct_DUMPBIN
4723
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4725
DUMPBIN="$DUMPBIN -symbols"
4733
if test "$DUMPBIN" != ":"; then
4737
test -z "$NM" && NM=nm
4744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4745
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4746
if ${lt_cv_nm_interface+:} false; then :
4747
$as_echo_n "(cached) " >&6
4749
lt_cv_nm_interface="BSD nm"
4750
echo "int some_variable = 0;" > conftest.$ac_ext
4751
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4752
(eval "$ac_compile" 2>conftest.err)
4753
cat conftest.err >&5
4754
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4755
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4756
cat conftest.err >&5
4757
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4758
cat conftest.out >&5
4759
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4760
lt_cv_nm_interface="MS dumpbin"
4764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4765
$as_echo "$lt_cv_nm_interface" >&6; }
4767
# find the maximum length of command line arguments
4768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4769
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4770
if ${lt_cv_sys_max_cmd_len+:} false; then :
4771
$as_echo_n "(cached) " >&6
4778
# On DJGPP, this test can blow up pretty badly due to problems in libc
4779
# (any single argument exceeding 2000 bytes causes a buffer overrun
4780
# during glob expansion). Even if it were fixed, the result of this
4781
# check would be larger than it should be.
4782
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4786
# Under GNU Hurd, this test is not required because there is
4787
# no limit to the length of command line arguments.
4788
# Libtool will interpret -1 as no limit whatsoever
4789
lt_cv_sys_max_cmd_len=-1;
4792
cygwin* | mingw* | cegcc*)
4793
# On Win9x/ME, this test blows up -- it succeeds, but takes
4794
# about 5 minutes as the teststring grows exponentially.
4795
# Worse, since 9x/ME are not pre-emptively multitasking,
4796
# you end up with a "frozen" computer, even though with patience
4797
# the test eventually succeeds (with a max line length of 256k).
4798
# Instead, let's just punt: use the minimum linelength reported by
4799
# all of the supported platforms: 8192 (on NT/2K/XP).
4800
lt_cv_sys_max_cmd_len=8192;
4804
# On MiNT this can take a long time and run out of memory.
4805
lt_cv_sys_max_cmd_len=8192;
4809
# On AmigaOS with pdksh, this test takes hours, literally.
4810
# So we just punt and use a minimum line length of 8192.
4811
lt_cv_sys_max_cmd_len=8192;
4814
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4815
# This has been around since 386BSD, at least. Likely further.
4816
if test -x /sbin/sysctl; then
4817
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4818
elif test -x /usr/sbin/sysctl; then
4819
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4821
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4823
# And add a safety zone
4824
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4825
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4829
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4830
lt_cv_sys_max_cmd_len=196608
4834
# The test takes a long time on OS/2.
4835
lt_cv_sys_max_cmd_len=8192
4839
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4840
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4841
# nice to cause kernel panics so lets avoid the loop below.
4842
# First set a reasonable default.
4843
lt_cv_sys_max_cmd_len=16384
4845
if test -x /sbin/sysconfig; then
4846
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4847
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4852
lt_cv_sys_max_cmd_len=102400
4854
sysv5* | sco5v6* | sysv4.2uw2*)
4855
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4856
if test -n "$kargmax"; then
4857
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4859
lt_cv_sys_max_cmd_len=32768
4863
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4864
if test -n "$lt_cv_sys_max_cmd_len" && \
4865
test undefined != "$lt_cv_sys_max_cmd_len"; then
4866
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4867
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4869
# Make teststring a little bigger before we do anything with it.
4870
# a 1K string should be a reasonable start.
4871
for i in 1 2 3 4 5 6 7 8 ; do
4872
teststring=$teststring$teststring
4874
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4875
# If test is not a shell built-in, we'll probably end up computing a
4876
# maximum length that is only half of the actual maximum length, but
4878
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4879
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
4880
test $i != 17 # 1/2 MB should be enough
4883
teststring=$teststring$teststring
4885
# Only check the string length outside the loop.
4886
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4888
# Add a significant safety factor because C++ compilers can tack on
4889
# massive amounts of additional arguments before passing them to the
4890
# linker. It appears as though 1/2 is a usable value.
4891
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4898
if test -n $lt_cv_sys_max_cmd_len ; then
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4900
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4903
$as_echo "none" >&6; }
4905
max_cmd_len=$lt_cv_sys_max_cmd_len
4916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4917
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4918
# Try some XSI features
4921
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4923
&& eval 'test $(( 1 + 1 )) -eq 2 \
4924
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4927
$as_echo "$xsi_shell" >&6; }
4930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4931
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4933
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4935
&& lt_shell_append=yes
4936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4937
$as_echo "$lt_shell_append" >&6; }
4940
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4950
# test EBCDIC or ASCII
4951
case `echo X|tr X '\101'` in
4952
A) # ASCII based system
4953
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4954
lt_SP2NL='tr \040 \012'
4955
lt_NL2SP='tr \015\012 \040\040'
4957
*) # EBCDIC based system
4958
lt_SP2NL='tr \100 \n'
4959
lt_NL2SP='tr \r\n \100\100'
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4972
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4973
if ${lt_cv_to_host_file_cmd+:} false; then :
4974
$as_echo_n "(cached) " >&6
4979
*-*-mingw* ) # actually msys
4980
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4983
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4985
* ) # otherwise, assume *nix
4986
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4992
*-*-mingw* ) # actually msys
4993
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4996
lt_cv_to_host_file_cmd=func_convert_file_noop
4998
* ) # otherwise, assume *nix
4999
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5003
* ) # unhandled hosts (and "normal" native builds)
5004
lt_cv_to_host_file_cmd=func_convert_file_noop
5010
to_host_file_cmd=$lt_cv_to_host_file_cmd
5011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5012
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5019
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5020
if ${lt_cv_to_tool_file_cmd+:} false; then :
5021
$as_echo_n "(cached) " >&6
5023
#assume ordinary cross tools, or native build.
5024
lt_cv_to_tool_file_cmd=func_convert_file_noop
5028
*-*-mingw* ) # actually msys
5029
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5037
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5039
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5046
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5047
if ${lt_cv_ld_reload_flag+:} false; then :
5048
$as_echo_n "(cached) " >&6
5050
lt_cv_ld_reload_flag='-r'
5052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5053
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5054
reload_flag=$lt_cv_ld_reload_flag
5055
case $reload_flag in
5057
*) reload_flag=" $reload_flag" ;;
5059
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5061
cygwin* | mingw* | pw32* | cegcc*)
5062
if test "$GCC" != yes; then
5067
if test "$GCC" = yes; then
5068
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5070
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5083
if test -n "$ac_tool_prefix"; then
5084
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5085
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087
$as_echo_n "checking for $ac_word... " >&6; }
5088
if ${ac_cv_prog_OBJDUMP+:} false; then :
5089
$as_echo_n "(cached) " >&6
5091
if test -n "$OBJDUMP"; then
5092
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098
test -z "$as_dir" && as_dir=.
5099
for ac_exec_ext in '' $ac_executable_extensions; do
5100
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5102
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111
OBJDUMP=$ac_cv_prog_OBJDUMP
5112
if test -n "$OBJDUMP"; then
5113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5114
$as_echo "$OBJDUMP" >&6; }
5116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117
$as_echo "no" >&6; }
5122
if test -z "$ac_cv_prog_OBJDUMP"; then
5123
ac_ct_OBJDUMP=$OBJDUMP
5124
# Extract the first word of "objdump", so it can be a program name with args.
5125
set dummy objdump; ac_word=$2
5126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127
$as_echo_n "checking for $ac_word... " >&6; }
5128
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5129
$as_echo_n "(cached) " >&6
5131
if test -n "$ac_ct_OBJDUMP"; then
5132
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5134
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138
test -z "$as_dir" && as_dir=.
5139
for ac_exec_ext in '' $ac_executable_extensions; do
5140
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5142
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5152
if test -n "$ac_ct_OBJDUMP"; then
5153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5154
$as_echo "$ac_ct_OBJDUMP" >&6; }
5156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157
$as_echo "no" >&6; }
5160
if test "x$ac_ct_OBJDUMP" = x; then
5163
case $cross_compiling:$ac_tool_warned in
5165
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167
ac_tool_warned=yes ;;
5169
OBJDUMP=$ac_ct_OBJDUMP
5172
OBJDUMP="$ac_cv_prog_OBJDUMP"
5175
test -z "$OBJDUMP" && OBJDUMP=objdump
5185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5186
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5187
if ${lt_cv_deplibs_check_method+:} false; then :
5188
$as_echo_n "(cached) " >&6
5190
lt_cv_file_magic_cmd='$MAGIC_CMD'
5191
lt_cv_file_magic_test_file=
5192
lt_cv_deplibs_check_method='unknown'
5193
# Need to set the preceding variable on all platforms that support
5194
# interlibrary dependencies.
5195
# 'none' -- dependencies not supported.
5196
# `unknown' -- same as none, but documents that we really don't know.
5197
# 'pass_all' -- all dependencies passed with no checks.
5198
# 'test_compile' -- check by making test program.
5199
# 'file_magic [[regex]]' -- check by looking for files in library path
5200
# which responds to the $file_magic_cmd with a given extended regex.
5201
# If you have `file' or equivalent on your system and you're not sure
5202
# whether `pass_all' will *always* work, you probably want this one.
5206
lt_cv_deplibs_check_method=pass_all
5210
lt_cv_deplibs_check_method=pass_all
5214
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5215
lt_cv_file_magic_cmd='/usr/bin/file -L'
5216
lt_cv_file_magic_test_file=/shlib/libc.so
5220
# func_win32_libid is a shell function defined in ltmain.sh
5221
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5222
lt_cv_file_magic_cmd='func_win32_libid'
5226
# Base MSYS/MinGW do not provide the 'file' command needed by
5227
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5228
# unless we find 'file', for example because we are cross-compiling.
5229
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5230
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5231
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5232
lt_cv_file_magic_cmd='func_win32_libid'
5234
# Keep this pattern in sync with the one in func_win32_libid.
5235
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5236
lt_cv_file_magic_cmd='$OBJDUMP -f'
5241
# use the weaker test based on 'objdump'. See mingw*.
5242
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5243
lt_cv_file_magic_cmd='$OBJDUMP -f'
5246
darwin* | rhapsody*)
5247
lt_cv_deplibs_check_method=pass_all
5250
freebsd* | dragonfly*)
5251
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5254
# Not sure whether the presence of OpenBSD here was a mistake.
5255
# Let's accept both of them until this is cleared up.
5256
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5257
lt_cv_file_magic_cmd=/usr/bin/file
5258
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5262
lt_cv_deplibs_check_method=pass_all
5267
lt_cv_deplibs_check_method=pass_all
5270
hpux10.20* | hpux11*)
5271
lt_cv_file_magic_cmd=/usr/bin/file
5274
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5275
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5278
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5279
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5282
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5283
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5289
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5290
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5293
irix5* | irix6* | nonstopux*)
5295
*-32|*"-32 ") libmagic=32-bit;;
5296
*-n32|*"-n32 ") libmagic=N32;;
5297
*-64|*"-64 ") libmagic=64-bit;;
5298
*) libmagic=never-match;;
5300
lt_cv_deplibs_check_method=pass_all
5303
# This must be glibc/ELF.
5304
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5305
lt_cv_deplibs_check_method=pass_all
5308
netbsd* | netbsdelf*-gnu)
5309
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5310
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5312
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5317
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5318
lt_cv_file_magic_cmd=/usr/bin/file
5319
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5323
lt_cv_deplibs_check_method=pass_all
5327
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5328
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5330
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5334
osf3* | osf4* | osf5*)
5335
lt_cv_deplibs_check_method=pass_all
5339
lt_cv_deplibs_check_method=pass_all
5343
lt_cv_deplibs_check_method=pass_all
5346
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5347
lt_cv_deplibs_check_method=pass_all
5351
case $host_vendor in
5353
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]'
5354
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5357
lt_cv_deplibs_check_method=pass_all
5360
lt_cv_file_magic_cmd='/bin/file'
5361
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5364
lt_cv_file_magic_cmd='/bin/file'
5365
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5366
lt_cv_file_magic_test_file=/lib/libc.so
5369
lt_cv_deplibs_check_method=pass_all
5372
lt_cv_deplibs_check_method=pass_all
5378
lt_cv_deplibs_check_method=pass_all
5383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5384
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5388
if test "$build" = "$host"; then
5391
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5394
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5400
file_magic_cmd=$lt_cv_file_magic_cmd
5401
deplibs_check_method=$lt_cv_deplibs_check_method
5402
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5425
if test -n "$ac_tool_prefix"; then
5426
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5427
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429
$as_echo_n "checking for $ac_word... " >&6; }
5430
if ${ac_cv_prog_DLLTOOL+:} false; then :
5431
$as_echo_n "(cached) " >&6
5433
if test -n "$DLLTOOL"; then
5434
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440
test -z "$as_dir" && as_dir=.
5441
for ac_exec_ext in '' $ac_executable_extensions; do
5442
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5444
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453
DLLTOOL=$ac_cv_prog_DLLTOOL
5454
if test -n "$DLLTOOL"; then
5455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5456
$as_echo "$DLLTOOL" >&6; }
5458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459
$as_echo "no" >&6; }
5464
if test -z "$ac_cv_prog_DLLTOOL"; then
5465
ac_ct_DLLTOOL=$DLLTOOL
5466
# Extract the first word of "dlltool", so it can be a program name with args.
5467
set dummy dlltool; ac_word=$2
5468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469
$as_echo_n "checking for $ac_word... " >&6; }
5470
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5471
$as_echo_n "(cached) " >&6
5473
if test -n "$ac_ct_DLLTOOL"; then
5474
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480
test -z "$as_dir" && as_dir=.
5481
for ac_exec_ext in '' $ac_executable_extensions; do
5482
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5484
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5494
if test -n "$ac_ct_DLLTOOL"; then
5495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5496
$as_echo "$ac_ct_DLLTOOL" >&6; }
5498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499
$as_echo "no" >&6; }
5502
if test "x$ac_ct_DLLTOOL" = x; then
5505
case $cross_compiling:$ac_tool_warned in
5507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509
ac_tool_warned=yes ;;
5511
DLLTOOL=$ac_ct_DLLTOOL
5514
DLLTOOL="$ac_cv_prog_DLLTOOL"
5517
test -z "$DLLTOOL" && DLLTOOL=dlltool
5528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5529
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5530
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5531
$as_echo_n "(cached) " >&6
5533
lt_cv_sharedlib_from_linklib_cmd='unknown'
5536
cygwin* | mingw* | pw32* | cegcc*)
5537
# two different shell functions defined in ltmain.sh
5538
# decide which to use based on capabilities of $DLLTOOL
5539
case `$DLLTOOL --help 2>&1` in
5540
*--identify-strict*)
5541
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5544
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5549
# fallback: assume linklib IS sharedlib
5550
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5556
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5557
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5558
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5567
if test -n "$ac_tool_prefix"; then
5570
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5571
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573
$as_echo_n "checking for $ac_word... " >&6; }
5574
if ${ac_cv_prog_AR+:} false; then :
5575
$as_echo_n "(cached) " >&6
5577
if test -n "$AR"; then
5578
ac_cv_prog_AR="$AR" # Let the user override the test.
5580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584
test -z "$as_dir" && as_dir=.
5585
for ac_exec_ext in '' $ac_executable_extensions; do
5586
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5588
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598
if test -n "$AR"; then
5599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5600
$as_echo "$AR" >&6; }
5602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603
$as_echo "no" >&6; }
5607
test -n "$AR" && break
5610
if test -z "$AR"; then
5614
# Extract the first word of "$ac_prog", so it can be a program name with args.
5615
set dummy $ac_prog; ac_word=$2
5616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617
$as_echo_n "checking for $ac_word... " >&6; }
5618
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5619
$as_echo_n "(cached) " >&6
5621
if test -n "$ac_ct_AR"; then
5622
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5624
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628
test -z "$as_dir" && as_dir=.
5629
for ac_exec_ext in '' $ac_executable_extensions; do
5630
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631
ac_cv_prog_ac_ct_AR="$ac_prog"
5632
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5642
if test -n "$ac_ct_AR"; then
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5644
$as_echo "$ac_ct_AR" >&6; }
5646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647
$as_echo "no" >&6; }
5651
test -n "$ac_ct_AR" && break
5654
if test "x$ac_ct_AR" = x; then
5657
case $cross_compiling:$ac_tool_warned in
5659
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5660
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5661
ac_tool_warned=yes ;;
5680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5681
$as_echo_n "checking for archiver @FILE support... " >&6; }
5682
if ${lt_cv_ar_at_file+:} false; then :
5683
$as_echo_n "(cached) " >&6
5686
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687
/* end confdefs.h. */
5697
if ac_fn_c_try_compile "$LINENO"; then :
5698
echo conftest.$ac_objext > conftest.lst
5699
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5700
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5701
(eval $lt_ar_try) 2>&5
5703
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704
test $ac_status = 0; }
5705
if test "$ac_status" -eq 0; then
5706
# Ensure the archiver fails upon bogus file names.
5707
rm -f conftest.$ac_objext libconftest.a
5708
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5709
(eval $lt_ar_try) 2>&5
5711
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5712
test $ac_status = 0; }
5713
if test "$ac_status" -ne 0; then
5717
rm -f conftest.* libconftest.a
5720
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5724
$as_echo "$lt_cv_ar_at_file" >&6; }
5726
if test "x$lt_cv_ar_at_file" = xno; then
5729
archiver_list_spec=$lt_cv_ar_at_file
5738
if test -n "$ac_tool_prefix"; then
5739
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5740
set dummy ${ac_tool_prefix}strip; ac_word=$2
5741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742
$as_echo_n "checking for $ac_word... " >&6; }
5743
if ${ac_cv_prog_STRIP+:} false; then :
5744
$as_echo_n "(cached) " >&6
5746
if test -n "$STRIP"; then
5747
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5749
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753
test -z "$as_dir" && as_dir=.
5754
for ac_exec_ext in '' $ac_executable_extensions; do
5755
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5757
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766
STRIP=$ac_cv_prog_STRIP
5767
if test -n "$STRIP"; then
5768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5769
$as_echo "$STRIP" >&6; }
5771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772
$as_echo "no" >&6; }
5777
if test -z "$ac_cv_prog_STRIP"; then
5779
# Extract the first word of "strip", so it can be a program name with args.
5780
set dummy strip; ac_word=$2
5781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782
$as_echo_n "checking for $ac_word... " >&6; }
5783
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5784
$as_echo_n "(cached) " >&6
5786
if test -n "$ac_ct_STRIP"; then
5787
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5789
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793
test -z "$as_dir" && as_dir=.
5794
for ac_exec_ext in '' $ac_executable_extensions; do
5795
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796
ac_cv_prog_ac_ct_STRIP="strip"
5797
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5807
if test -n "$ac_ct_STRIP"; then
5808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5809
$as_echo "$ac_ct_STRIP" >&6; }
5811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812
$as_echo "no" >&6; }
5815
if test "x$ac_ct_STRIP" = x; then
5818
case $cross_compiling:$ac_tool_warned in
5820
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5821
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5822
ac_tool_warned=yes ;;
5827
STRIP="$ac_cv_prog_STRIP"
5830
test -z "$STRIP" && STRIP=:
5837
if test -n "$ac_tool_prefix"; then
5838
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5839
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841
$as_echo_n "checking for $ac_word... " >&6; }
5842
if ${ac_cv_prog_RANLIB+:} false; then :
5843
$as_echo_n "(cached) " >&6
5845
if test -n "$RANLIB"; then
5846
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852
test -z "$as_dir" && as_dir=.
5853
for ac_exec_ext in '' $ac_executable_extensions; do
5854
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5856
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865
RANLIB=$ac_cv_prog_RANLIB
5866
if test -n "$RANLIB"; then
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5868
$as_echo "$RANLIB" >&6; }
5870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871
$as_echo "no" >&6; }
5876
if test -z "$ac_cv_prog_RANLIB"; then
5877
ac_ct_RANLIB=$RANLIB
5878
# Extract the first word of "ranlib", so it can be a program name with args.
5879
set dummy ranlib; ac_word=$2
5880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881
$as_echo_n "checking for $ac_word... " >&6; }
5882
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5883
$as_echo_n "(cached) " >&6
5885
if test -n "$ac_ct_RANLIB"; then
5886
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892
test -z "$as_dir" && as_dir=.
5893
for ac_exec_ext in '' $ac_executable_extensions; do
5894
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895
ac_cv_prog_ac_ct_RANLIB="ranlib"
5896
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5906
if test -n "$ac_ct_RANLIB"; then
5907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5908
$as_echo "$ac_ct_RANLIB" >&6; }
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911
$as_echo "no" >&6; }
5914
if test "x$ac_ct_RANLIB" = x; then
5917
case $cross_compiling:$ac_tool_warned in
5919
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5921
ac_tool_warned=yes ;;
5923
RANLIB=$ac_ct_RANLIB
5926
RANLIB="$ac_cv_prog_RANLIB"
5929
test -z "$RANLIB" && RANLIB=:
5936
# Determine commands to create old-style static archives.
5937
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5938
old_postinstall_cmds='chmod 644 $oldlib'
5939
old_postuninstall_cmds=
5941
if test -n "$RANLIB"; then
5944
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5947
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5950
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5955
lock_old_archive_extraction=yes ;;
5957
lock_old_archive_extraction=no ;;
5998
# If no C compiler was specified, use CC.
6001
# If no C compiler flags were specified, use CFLAGS.
6002
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6004
# Allow CC to be a program name with arguments.
6008
# Check for command to grab the raw symbol name followed by C symbol from nm.
6009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6010
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6011
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6012
$as_echo_n "(cached) " >&6
6015
# These are sane defaults that work on at least a few old systems.
6016
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6018
# Character class describing NM global symbol codes.
6019
symcode='[BCDEGRST]'
6021
# Regexp to match symbols that can be accessed directly from C.
6022
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6024
# Define system-specific variables.
6029
cygwin* | mingw* | pw32* | cegcc*)
6030
symcode='[ABCDGISTW]'
6033
if test "$host_cpu" = ia64; then
6034
symcode='[ABCDEGRST]'
6038
symcode='[BCDEGRST]'
6041
symcode='[BCDEGQRST]'
6052
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6060
# If we're using GNU nm, then use its standard symbol codes.
6061
case `$NM -V 2>&1` in
6062
*GNU* | *'with BFD'*)
6063
symcode='[ABCDGIRSTW]' ;;
6066
# Transform an extracted symbol line into a proper C declaration.
6067
# Some systems (esp. on ia64) link data and code symbols differently,
6068
# so use this general approach.
6069
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6071
# Transform an extracted symbol line into symbol name and symbol address
6072
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6073
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'"
6075
# Handle CRLF in mingw tool chain
6079
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6083
# Try without a prefix underscore, then with it.
6084
for ac_symprfx in "" "_"; do
6086
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6087
symxfrm="\\1 $ac_symprfx\\2 \\2"
6089
# Write the raw and C identifiers.
6090
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6091
# Fake it for dumpbin and say T for any non-static function
6092
# and D for any global variable.
6093
# Also find C++ and __fastcall symbols from MSVC++,
6094
# which start with @ or ?.
6095
lt_cv_sys_global_symbol_pipe="$AWK '"\
6096
" {last_section=section; section=\$ 3};"\
6097
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6098
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6099
" \$ 0!~/External *\|/{next};"\
6100
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6101
" {if(hide[section]) next};"\
6102
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6103
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6104
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6105
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6106
" ' prfx=^$ac_symprfx"
6108
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6110
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6112
# Check to see that the pipe works correctly.
6116
cat > conftest.$ac_ext <<_LT_EOF
6121
void nm_test_func(void);
6122
void nm_test_func(void){}
6126
int main(){nm_test_var='a';nm_test_func();return(0);}
6129
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6130
(eval $ac_compile) 2>&5
6132
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6133
test $ac_status = 0; }; then
6134
# Now try to grab the symbols.
6136
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6137
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6139
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6140
test $ac_status = 0; } && test -s "$nlist"; then
6141
# Try sorting and uniquifying the output.
6142
if sort "$nlist" | uniq > "$nlist"T; then
6143
mv -f "$nlist"T "$nlist"
6148
# Make sure that we snagged all the symbols we need.
6149
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6150
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6151
cat <<_LT_EOF > conftest.$ac_ext
6152
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6153
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6154
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6155
relocations are performed -- see ld's documentation on pseudo-relocs. */
6156
# define LT@&t@_DLSYM_CONST
6157
#elif defined(__osf__)
6158
/* This system does not cope well with relocations in const data. */
6159
# define LT@&t@_DLSYM_CONST
6161
# define LT@&t@_DLSYM_CONST const
6169
# Now generate the symbol file.
6170
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6172
cat <<_LT_EOF >> conftest.$ac_ext
6174
/* The mapping between symbol names and symbols. */
6175
LT@&t@_DLSYM_CONST struct {
6179
lt__PROGRAM__LTX_preloaded_symbols[] =
6181
{ "@PROGRAM@", (void *) 0 },
6183
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6184
cat <<\_LT_EOF >> conftest.$ac_ext
6188
/* This works around a problem in FreeBSD linker */
6189
#ifdef FREEBSD_WORKAROUND
6190
static const void *lt_preloaded_setup() {
6191
return lt__PROGRAM__LTX_preloaded_symbols;
6199
# Now try linking the two files.
6200
mv conftest.$ac_objext conftstm.$ac_objext
6201
lt_globsym_save_LIBS=$LIBS
6202
lt_globsym_save_CFLAGS=$CFLAGS
6203
LIBS="conftstm.$ac_objext"
6204
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6205
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6206
(eval $ac_link) 2>&5
6208
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6209
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6212
LIBS=$lt_globsym_save_LIBS
6213
CFLAGS=$lt_globsym_save_CFLAGS
6215
echo "cannot find nm_test_func in $nlist" >&5
6218
echo "cannot find nm_test_var in $nlist" >&5
6221
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6224
echo "$progname: failed program was:" >&5
6225
cat conftest.$ac_ext >&5
6227
rm -rf conftest* conftst*
6229
# Do not use the global_symbol_pipe unless it works.
6230
if test "$pipe_works" = yes; then
6233
lt_cv_sys_global_symbol_pipe=
6239
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6240
lt_cv_sys_global_symbol_to_cdecl=
6242
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6244
$as_echo "failed" >&6; }
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6247
$as_echo "ok" >&6; }
6250
# Response file support.
6251
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6252
nm_file_list_spec='@'
6253
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6254
nm_file_list_spec='@'
6283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6284
$as_echo_n "checking for sysroot... " >&6; }
6286
@%:@ Check whether --with-sysroot was given.
6287
if test "${with_sysroot+set}" = set; then :
6288
withval=$with_sysroot;
6295
case ${with_sysroot} in #(
6297
if test "$GCC" = yes; then
6298
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6302
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6308
$as_echo "${with_sysroot}" >&6; }
6309
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6314
$as_echo "${lt_sysroot:-no}" >&6; }
6320
@%:@ Check whether --enable-libtool-lock was given.
6321
if test "${enable_libtool_lock+set}" = set; then :
6322
enableval=$enable_libtool_lock;
6325
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6327
# Some flags need to be propagated to the compiler or linker for good
6331
# Find out which ABI we are using.
6332
echo 'int i;' > conftest.$ac_ext
6333
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6334
(eval $ac_compile) 2>&5
6336
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337
test $ac_status = 0; }; then
6338
case `/usr/bin/file conftest.$ac_objext` in
6350
# Find out which ABI we are using.
6351
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6352
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6353
(eval $ac_compile) 2>&5
6355
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6356
test $ac_status = 0; }; then
6357
if test "$lt_cv_prog_gnu_ld" = yes; then
6358
case `/usr/bin/file conftest.$ac_objext` in
6360
LD="${LD-ld} -melf32bsmip"
6363
LD="${LD-ld} -melf32bmipn32"
6366
LD="${LD-ld} -melf64bmip"
6370
case `/usr/bin/file conftest.$ac_objext` in
6386
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6387
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6388
# Find out which ABI we are using.
6389
echo 'int i;' > conftest.$ac_ext
6390
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6391
(eval $ac_compile) 2>&5
6393
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6394
test $ac_status = 0; }; then
6395
case `/usr/bin/file conftest.o` in
6398
x86_64-*kfreebsd*-gnu)
6399
LD="${LD-ld} -m elf_i386_fbsd"
6402
case `/usr/bin/file conftest.o` in
6404
LD="${LD-ld} -m elf32_x86_64"
6407
LD="${LD-ld} -m elf_i386"
6411
ppc64-*linux*|powerpc64-*linux*)
6412
LD="${LD-ld} -m elf32ppclinux"
6415
LD="${LD-ld} -m elf_s390"
6418
LD="${LD-ld} -m elf32_sparc"
6424
x86_64-*kfreebsd*-gnu)
6425
LD="${LD-ld} -m elf_x86_64_fbsd"
6428
LD="${LD-ld} -m elf_x86_64"
6430
ppc*-*linux*|powerpc*-*linux*)
6431
LD="${LD-ld} -m elf64ppc"
6433
s390*-*linux*|s390*-*tpf*)
6434
LD="${LD-ld} -m elf64_s390"
6437
LD="${LD-ld} -m elf64_sparc"
6447
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6448
SAVE_CFLAGS="$CFLAGS"
6449
CFLAGS="$CFLAGS -belf"
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6451
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6452
if ${lt_cv_cc_needs_belf+:} false; then :
6453
$as_echo_n "(cached) " >&6
6456
ac_cpp='$CPP $CPPFLAGS'
6457
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6458
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6459
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6461
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462
/* end confdefs.h. */
6472
if ac_fn_c_try_link "$LINENO"; then :
6473
lt_cv_cc_needs_belf=yes
6475
lt_cv_cc_needs_belf=no
6477
rm -f core conftest.err conftest.$ac_objext \
6478
conftest$ac_exeext conftest.$ac_ext
6480
ac_cpp='$CPP $CPPFLAGS'
6481
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6487
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6488
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6489
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6490
CFLAGS="$SAVE_CFLAGS"
6494
# Find out which ABI we are using.
6495
echo 'int i;' > conftest.$ac_ext
6496
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6497
(eval $ac_compile) 2>&5
6499
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6500
test $ac_status = 0; }; then
6501
case `/usr/bin/file conftest.o` in
6503
case $lt_cv_prog_gnu_ld in
6507
LD="${LD-ld} -m elf_x86_64"
6510
LD="${LD-ld} -m elf64_sparc"
6513
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6514
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6519
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6531
need_locks="$enable_libtool_lock"
6533
if test -n "$ac_tool_prefix"; then
6534
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6535
set dummy ${ac_tool_prefix}mt; ac_word=$2
6536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537
$as_echo_n "checking for $ac_word... " >&6; }
6538
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6539
$as_echo_n "(cached) " >&6
6541
if test -n "$MANIFEST_TOOL"; then
6542
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548
test -z "$as_dir" && as_dir=.
6549
for ac_exec_ext in '' $ac_executable_extensions; do
6550
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6552
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6562
if test -n "$MANIFEST_TOOL"; then
6563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6564
$as_echo "$MANIFEST_TOOL" >&6; }
6566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567
$as_echo "no" >&6; }
6572
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6573
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6574
# Extract the first word of "mt", so it can be a program name with args.
6575
set dummy mt; ac_word=$2
6576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577
$as_echo_n "checking for $ac_word... " >&6; }
6578
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6579
$as_echo_n "(cached) " >&6
6581
if test -n "$ac_ct_MANIFEST_TOOL"; then
6582
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6584
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588
test -z "$as_dir" && as_dir=.
6589
for ac_exec_ext in '' $ac_executable_extensions; do
6590
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6592
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6602
if test -n "$ac_ct_MANIFEST_TOOL"; then
6603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6604
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607
$as_echo "no" >&6; }
6610
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6613
case $cross_compiling:$ac_tool_warned in
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6616
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6617
ac_tool_warned=yes ;;
6619
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6622
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6625
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6627
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6628
if ${lt_cv_path_mainfest_tool+:} false; then :
6629
$as_echo_n "(cached) " >&6
6631
lt_cv_path_mainfest_tool=no
6632
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6633
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6634
cat conftest.err >&5
6635
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6636
lt_cv_path_mainfest_tool=yes
6640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6641
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6642
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6652
rhapsody* | darwin*)
6653
if test -n "$ac_tool_prefix"; then
6654
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6655
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657
$as_echo_n "checking for $ac_word... " >&6; }
6658
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6659
$as_echo_n "(cached) " >&6
6661
if test -n "$DSYMUTIL"; then
6662
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668
test -z "$as_dir" && as_dir=.
6669
for ac_exec_ext in '' $ac_executable_extensions; do
6670
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6672
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6682
if test -n "$DSYMUTIL"; then
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6684
$as_echo "$DSYMUTIL" >&6; }
6686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687
$as_echo "no" >&6; }
6692
if test -z "$ac_cv_prog_DSYMUTIL"; then
6693
ac_ct_DSYMUTIL=$DSYMUTIL
6694
# Extract the first word of "dsymutil", so it can be a program name with args.
6695
set dummy dsymutil; ac_word=$2
6696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697
$as_echo_n "checking for $ac_word... " >&6; }
6698
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6699
$as_echo_n "(cached) " >&6
6701
if test -n "$ac_ct_DSYMUTIL"; then
6702
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6704
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708
test -z "$as_dir" && as_dir=.
6709
for ac_exec_ext in '' $ac_executable_extensions; do
6710
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6712
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6722
if test -n "$ac_ct_DSYMUTIL"; then
6723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6724
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727
$as_echo "no" >&6; }
6730
if test "x$ac_ct_DSYMUTIL" = x; then
6733
case $cross_compiling:$ac_tool_warned in
6735
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737
ac_tool_warned=yes ;;
6739
DSYMUTIL=$ac_ct_DSYMUTIL
6742
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6745
if test -n "$ac_tool_prefix"; then
6746
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6747
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749
$as_echo_n "checking for $ac_word... " >&6; }
6750
if ${ac_cv_prog_NMEDIT+:} false; then :
6751
$as_echo_n "(cached) " >&6
6753
if test -n "$NMEDIT"; then
6754
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760
test -z "$as_dir" && as_dir=.
6761
for ac_exec_ext in '' $ac_executable_extensions; do
6762
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6763
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6764
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773
NMEDIT=$ac_cv_prog_NMEDIT
6774
if test -n "$NMEDIT"; then
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6776
$as_echo "$NMEDIT" >&6; }
6778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779
$as_echo "no" >&6; }
6784
if test -z "$ac_cv_prog_NMEDIT"; then
6785
ac_ct_NMEDIT=$NMEDIT
6786
# Extract the first word of "nmedit", so it can be a program name with args.
6787
set dummy nmedit; ac_word=$2
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789
$as_echo_n "checking for $ac_word... " >&6; }
6790
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6791
$as_echo_n "(cached) " >&6
6793
if test -n "$ac_ct_NMEDIT"; then
6794
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800
test -z "$as_dir" && as_dir=.
6801
for ac_exec_ext in '' $ac_executable_extensions; do
6802
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6803
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6804
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6814
if test -n "$ac_ct_NMEDIT"; then
6815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6816
$as_echo "$ac_ct_NMEDIT" >&6; }
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819
$as_echo "no" >&6; }
6822
if test "x$ac_ct_NMEDIT" = x; then
6825
case $cross_compiling:$ac_tool_warned in
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829
ac_tool_warned=yes ;;
6831
NMEDIT=$ac_ct_NMEDIT
6834
NMEDIT="$ac_cv_prog_NMEDIT"
6837
if test -n "$ac_tool_prefix"; then
6838
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6839
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841
$as_echo_n "checking for $ac_word... " >&6; }
6842
if ${ac_cv_prog_LIPO+:} false; then :
6843
$as_echo_n "(cached) " >&6
6845
if test -n "$LIPO"; then
6846
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852
test -z "$as_dir" && as_dir=.
6853
for ac_exec_ext in '' $ac_executable_extensions; do
6854
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6856
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865
LIPO=$ac_cv_prog_LIPO
6866
if test -n "$LIPO"; then
6867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6868
$as_echo "$LIPO" >&6; }
6870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871
$as_echo "no" >&6; }
6876
if test -z "$ac_cv_prog_LIPO"; then
6878
# Extract the first word of "lipo", so it can be a program name with args.
6879
set dummy lipo; ac_word=$2
6880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881
$as_echo_n "checking for $ac_word... " >&6; }
6882
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6883
$as_echo_n "(cached) " >&6
6885
if test -n "$ac_ct_LIPO"; then
6886
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892
test -z "$as_dir" && as_dir=.
6893
for ac_exec_ext in '' $ac_executable_extensions; do
6894
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895
ac_cv_prog_ac_ct_LIPO="lipo"
6896
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6906
if test -n "$ac_ct_LIPO"; then
6907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6908
$as_echo "$ac_ct_LIPO" >&6; }
6910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911
$as_echo "no" >&6; }
6914
if test "x$ac_ct_LIPO" = x; then
6917
case $cross_compiling:$ac_tool_warned in
6919
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921
ac_tool_warned=yes ;;
6926
LIPO="$ac_cv_prog_LIPO"
6929
if test -n "$ac_tool_prefix"; then
6930
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6931
set dummy ${ac_tool_prefix}otool; ac_word=$2
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933
$as_echo_n "checking for $ac_word... " >&6; }
6934
if ${ac_cv_prog_OTOOL+:} false; then :
6935
$as_echo_n "(cached) " >&6
6937
if test -n "$OTOOL"; then
6938
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944
test -z "$as_dir" && as_dir=.
6945
for ac_exec_ext in '' $ac_executable_extensions; do
6946
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6947
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6948
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957
OTOOL=$ac_cv_prog_OTOOL
6958
if test -n "$OTOOL"; then
6959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6960
$as_echo "$OTOOL" >&6; }
6962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963
$as_echo "no" >&6; }
6968
if test -z "$ac_cv_prog_OTOOL"; then
6970
# Extract the first word of "otool", so it can be a program name with args.
6971
set dummy otool; ac_word=$2
6972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973
$as_echo_n "checking for $ac_word... " >&6; }
6974
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6975
$as_echo_n "(cached) " >&6
6977
if test -n "$ac_ct_OTOOL"; then
6978
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984
test -z "$as_dir" && as_dir=.
6985
for ac_exec_ext in '' $ac_executable_extensions; do
6986
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6987
ac_cv_prog_ac_ct_OTOOL="otool"
6988
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6998
if test -n "$ac_ct_OTOOL"; then
6999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7000
$as_echo "$ac_ct_OTOOL" >&6; }
7002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003
$as_echo "no" >&6; }
7006
if test "x$ac_ct_OTOOL" = x; then
7009
case $cross_compiling:$ac_tool_warned in
7011
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7012
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7013
ac_tool_warned=yes ;;
7018
OTOOL="$ac_cv_prog_OTOOL"
7021
if test -n "$ac_tool_prefix"; then
7022
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7023
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025
$as_echo_n "checking for $ac_word... " >&6; }
7026
if ${ac_cv_prog_OTOOL64+:} false; then :
7027
$as_echo_n "(cached) " >&6
7029
if test -n "$OTOOL64"; then
7030
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7032
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036
test -z "$as_dir" && as_dir=.
7037
for ac_exec_ext in '' $ac_executable_extensions; do
7038
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7039
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7040
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049
OTOOL64=$ac_cv_prog_OTOOL64
7050
if test -n "$OTOOL64"; then
7051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7052
$as_echo "$OTOOL64" >&6; }
7054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055
$as_echo "no" >&6; }
7060
if test -z "$ac_cv_prog_OTOOL64"; then
7061
ac_ct_OTOOL64=$OTOOL64
7062
# Extract the first word of "otool64", so it can be a program name with args.
7063
set dummy otool64; ac_word=$2
7064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065
$as_echo_n "checking for $ac_word... " >&6; }
7066
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7067
$as_echo_n "(cached) " >&6
7069
if test -n "$ac_ct_OTOOL64"; then
7070
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076
test -z "$as_dir" && as_dir=.
7077
for ac_exec_ext in '' $ac_executable_extensions; do
7078
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079
ac_cv_prog_ac_ct_OTOOL64="otool64"
7080
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7090
if test -n "$ac_ct_OTOOL64"; then
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7092
$as_echo "$ac_ct_OTOOL64" >&6; }
7094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095
$as_echo "no" >&6; }
7098
if test "x$ac_ct_OTOOL64" = x; then
7101
case $cross_compiling:$ac_tool_warned in
7103
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7104
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7105
ac_tool_warned=yes ;;
7107
OTOOL64=$ac_ct_OTOOL64
7110
OTOOL64="$ac_cv_prog_OTOOL64"
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7140
$as_echo_n "checking for -single_module linker flag... " >&6; }
7141
if ${lt_cv_apple_cc_single_mod+:} false; then :
7142
$as_echo_n "(cached) " >&6
7144
lt_cv_apple_cc_single_mod=no
7145
if test -z "${LT_MULTI_MODULE}"; then
7146
# By default we will add the -single_module flag. You can override
7147
# by either setting the environment variable LT_MULTI_MODULE
7148
# non-empty at configure time, or by adding -multi_module to the
7150
rm -rf libconftest.dylib*
7151
echo "int foo(void){return 1;}" > conftest.c
7152
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7153
-dynamiclib -Wl,-single_module conftest.c" >&5
7154
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7155
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7157
# If there is a non-empty error log, and "single_module"
7158
# appears in it, assume the flag caused a linker warning
7159
if test -s conftest.err && $GREP single_module conftest.err; then
7160
cat conftest.err >&5
7161
# Otherwise, if the output was created with a 0 exit code from
7162
# the compiler, it worked.
7163
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7164
lt_cv_apple_cc_single_mod=yes
7166
cat conftest.err >&5
7168
rm -rf libconftest.dylib*
7172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7173
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7176
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7177
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7178
$as_echo_n "(cached) " >&6
7180
lt_cv_ld_exported_symbols_list=no
7181
save_LDFLAGS=$LDFLAGS
7182
echo "_main" > conftest.sym
7183
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7184
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185
/* end confdefs.h. */
7195
if ac_fn_c_try_link "$LINENO"; then :
7196
lt_cv_ld_exported_symbols_list=yes
7198
lt_cv_ld_exported_symbols_list=no
7200
rm -f core conftest.err conftest.$ac_objext \
7201
conftest$ac_exeext conftest.$ac_ext
7202
LDFLAGS="$save_LDFLAGS"
7205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7206
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7209
$as_echo_n "checking for -force_load linker flag... " >&6; }
7210
if ${lt_cv_ld_force_load+:} false; then :
7211
$as_echo_n "(cached) " >&6
7213
lt_cv_ld_force_load=no
7214
cat > conftest.c << _LT_EOF
7215
int forced_loaded() { return 2;}
7217
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7218
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7219
echo "$AR cru libconftest.a conftest.o" >&5
7220
$AR cru libconftest.a conftest.o 2>&5
7221
echo "$RANLIB libconftest.a" >&5
7222
$RANLIB libconftest.a 2>&5
7223
cat > conftest.c << _LT_EOF
7224
int main() { return 0;}
7226
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7227
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7229
if test -s conftest.err && $GREP force_load conftest.err; then
7230
cat conftest.err >&5
7231
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7232
lt_cv_ld_force_load=yes
7234
cat conftest.err >&5
7236
rm -f conftest.err libconftest.a conftest conftest.c
7237
rm -rf conftest.dSYM
7240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7241
$as_echo "$lt_cv_ld_force_load" >&6; }
7243
rhapsody* | darwin1.[012])
7244
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7246
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7247
darwin*) # darwin 5.x on
7248
# if running on 10.5 or later, the deployment target defaults
7249
# to the OS version, if on x86, and 10.4, the deployment
7250
# target defaults to 10.4. Don't you love it?
7251
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7252
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7253
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7255
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7257
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7261
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7262
_lt_dar_single_mod='$single_module'
7264
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7265
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7267
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7269
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7270
_lt_dsymutil='~$DSYMUTIL $lib || :'
7278
ac_cpp='$CPP $CPPFLAGS'
7279
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7283
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7284
# On Suns, sometimes $CPP names a directory.
7285
if test -n "$CPP" && test -d "$CPP"; then
7288
if test -z "$CPP"; then
7289
if ${ac_cv_prog_CPP+:} false; then :
7290
$as_echo_n "(cached) " >&6
7292
# Double quotes because CPP needs to be expanded
7293
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7296
for ac_c_preproc_warn_flag in '' yes
7298
# Use a header file that comes with gcc, so configuring glibc
7299
# with a fresh cross-compiler works.
7300
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7301
# <limits.h> exists even on freestanding compilers.
7302
# On the NeXT, cc -E runs the code through the compiler's parser,
7303
# not just through cpp. "Syntax error" is here to catch this case.
7304
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305
/* end confdefs.h. */
7307
@%:@ include <limits.h>
7309
@%:@ include <assert.h>
7313
if ac_fn_c_try_cpp "$LINENO"; then :
7316
# Broken: fails on valid input.
7319
rm -f conftest.err conftest.i conftest.$ac_ext
7321
# OK, works on sane cases. Now check whether nonexistent headers
7322
# can be detected and how.
7323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324
/* end confdefs.h. */
7325
@%:@include <ac_nonexistent.h>
7327
if ac_fn_c_try_cpp "$LINENO"; then :
7328
# Broken: success on invalid input.
7331
# Passes both tests.
7335
rm -f conftest.err conftest.i conftest.$ac_ext
7338
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7339
rm -f conftest.i conftest.err conftest.$ac_ext
7340
if $ac_preproc_ok; then :
7352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7353
$as_echo "$CPP" >&6; }
7355
for ac_c_preproc_warn_flag in '' yes
7357
# Use a header file that comes with gcc, so configuring glibc
7358
# with a fresh cross-compiler works.
7359
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7360
# <limits.h> exists even on freestanding compilers.
7361
# On the NeXT, cc -E runs the code through the compiler's parser,
7362
# not just through cpp. "Syntax error" is here to catch this case.
7363
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364
/* end confdefs.h. */
7366
@%:@ include <limits.h>
7368
@%:@ include <assert.h>
7372
if ac_fn_c_try_cpp "$LINENO"; then :
7375
# Broken: fails on valid input.
7378
rm -f conftest.err conftest.i conftest.$ac_ext
7380
# OK, works on sane cases. Now check whether nonexistent headers
7381
# can be detected and how.
7382
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383
/* end confdefs.h. */
7384
@%:@include <ac_nonexistent.h>
7386
if ac_fn_c_try_cpp "$LINENO"; then :
7387
# Broken: success on invalid input.
7390
# Passes both tests.
7394
rm -f conftest.err conftest.i conftest.$ac_ext
7397
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7398
rm -f conftest.i conftest.err conftest.$ac_ext
7399
if $ac_preproc_ok; then :
7402
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7403
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7404
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7405
See \`config.log' for more details" "$LINENO" 5; }
7409
ac_cpp='$CPP $CPPFLAGS'
7410
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7411
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7412
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7416
$as_echo_n "checking for ANSI C header files... " >&6; }
7417
if ${ac_cv_header_stdc+:} false; then :
7418
$as_echo_n "(cached) " >&6
7420
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7421
/* end confdefs.h. */
7435
if ac_fn_c_try_compile "$LINENO"; then :
7436
ac_cv_header_stdc=yes
7438
ac_cv_header_stdc=no
7440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7442
if test $ac_cv_header_stdc = yes; then
7443
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445
/* end confdefs.h. */
7449
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7450
$EGREP "memchr" >/dev/null 2>&1; then :
7453
ac_cv_header_stdc=no
7459
if test $ac_cv_header_stdc = yes; then
7460
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7461
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7462
/* end confdefs.h. */
7466
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7467
$EGREP "free" >/dev/null 2>&1; then :
7470
ac_cv_header_stdc=no
7476
if test $ac_cv_header_stdc = yes; then
7477
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7478
if test "$cross_compiling" = yes; then :
7481
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7482
/* end confdefs.h. */
7485
#if ((' ' & 0x0FF) == 0x020)
7486
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7487
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7489
# define ISLOWER(c) \
7490
(('a' <= (c) && (c) <= 'i') \
7491
|| ('j' <= (c) && (c) <= 'r') \
7492
|| ('s' <= (c) && (c) <= 'z'))
7493
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7496
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7501
for (i = 0; i < 256; i++)
7502
if (XOR (islower (i), ISLOWER (i))
7503
|| toupper (i) != TOUPPER (i))
7508
if ac_fn_c_try_run "$LINENO"; then :
7511
ac_cv_header_stdc=no
7513
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7514
conftest.$ac_objext conftest.beam conftest.$ac_ext
7519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7520
$as_echo "$ac_cv_header_stdc" >&6; }
7521
if test $ac_cv_header_stdc = yes; then
7523
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7527
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7528
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7529
inttypes.h stdint.h unistd.h
7531
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7532
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7534
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7535
cat >>confdefs.h <<_ACEOF
7536
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7544
for ac_header in dlfcn.h
7546
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7548
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7549
cat >>confdefs.h <<_ACEOF
7550
@%:@define HAVE_DLFCN_H 1
7571
@%:@ Check whether --enable-shared was given.
7572
if test "${enable_shared+set}" = set; then :
7573
enableval=$enable_shared; p=${PACKAGE-default}
7575
yes) enable_shared=yes ;;
7576
no) enable_shared=no ;;
7579
# Look at the argument we got. We use all the common list separators.
7580
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7581
for pkg in $enableval; do
7583
if test "X$pkg" = "X$p"; then
7602
@%:@ Check whether --enable-static was given.
7603
if test "${enable_static+set}" = set; then :
7604
enableval=$enable_static; p=${PACKAGE-default}
7606
yes) enable_static=yes ;;
7607
no) enable_static=no ;;
7610
# Look at the argument we got. We use all the common list separators.
7611
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7612
for pkg in $enableval; do
7614
if test "X$pkg" = "X$p"; then
7634
@%:@ Check whether --with-pic was given.
7635
if test "${with_pic+set}" = set; then :
7636
withval=$with_pic; lt_p=${PACKAGE-default}
7638
yes|no) pic_mode=$withval ;;
7641
# Look at the argument we got. We use all the common list separators.
7642
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7643
for lt_pkg in $withval; do
7645
if test "X$lt_pkg" = "X$lt_p"; then
7657
test -z "$pic_mode" && pic_mode=default
7665
@%:@ Check whether --enable-fast-install was given.
7666
if test "${enable_fast_install+set}" = set; then :
7667
enableval=$enable_fast_install; p=${PACKAGE-default}
7669
yes) enable_fast_install=yes ;;
7670
no) enable_fast_install=no ;;
7672
enable_fast_install=no
7673
# Look at the argument we got. We use all the common list separators.
7674
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7675
for pkg in $enableval; do
7677
if test "X$pkg" = "X$p"; then
7678
enable_fast_install=yes
7685
enable_fast_install=yes
7698
# This can be used to rebuild libtool when needed
7699
LIBTOOL_DEPS="$ltmain"
7701
# Always use our own libtool.
7702
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7733
test -z "$LN_S" && LN_S="ln -s"
7748
if test -n "${ZSH_VERSION+set}" ; then
7749
setopt NO_GLOB_SUBST
7752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7753
$as_echo_n "checking for objdir... " >&6; }
7754
if ${lt_cv_objdir+:} false; then :
7755
$as_echo_n "(cached) " >&6
7757
rm -f .libs 2>/dev/null
7758
mkdir .libs 2>/dev/null
7759
if test -d .libs; then
7762
# MS-DOS does not allow filenames that begin with a dot.
7765
rmdir .libs 2>/dev/null
7767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7768
$as_echo "$lt_cv_objdir" >&6; }
7769
objdir=$lt_cv_objdir
7775
cat >>confdefs.h <<_ACEOF
7776
@%:@define LT_OBJDIR "$lt_cv_objdir/"
7784
# AIX sometimes has problems with the GCC collect2 program. For some
7785
# reason, if we set the COLLECT_NAMES environment variable, the problems
7786
# vanish in a puff of smoke.
7787
if test "X${COLLECT_NAMES+set}" != Xset; then
7789
export COLLECT_NAMES
7796
can_build_shared=yes
7798
# All known linkers require a `.a' archive for static linking (except MSVC,
7799
# which needs '.lib').
7802
with_gnu_ld="$lt_cv_prog_gnu_ld"
7805
old_CFLAGS="$CFLAGS"
7807
# Set sane defaults for various variables
7808
test -z "$CC" && CC=cc
7809
test -z "$LTCC" && LTCC=$CC
7810
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7811
test -z "$LD" && LD=ld
7812
test -z "$ac_objext" && ac_objext=o
7814
for cc_temp in $compiler""; do
7816
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7817
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7822
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7825
# Only perform the check for file, if the check method requires it
7826
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7827
case $deplibs_check_method in
7829
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7831
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7832
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7833
$as_echo_n "(cached) " >&6
7837
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7840
lt_save_MAGIC_CMD="$MAGIC_CMD"
7841
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7842
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7843
for ac_dir in $ac_dummy; do
7845
test -z "$ac_dir" && ac_dir=.
7846
if test -f $ac_dir/${ac_tool_prefix}file; then
7847
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7848
if test -n "$file_magic_test_file"; then
7849
case $deplibs_check_method in
7851
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7852
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7853
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7854
$EGREP "$file_magic_regex" > /dev/null; then
7859
*** Warning: the command libtool uses to detect shared libraries,
7860
*** $file_magic_cmd, produces output that libtool cannot recognize.
7861
*** The result is that libtool may fail to recognize shared libraries
7862
*** as such. This will affect the creation of libtool libraries that
7863
*** depend on shared libraries, but programs linked with such libtool
7864
*** libraries will work regardless of this problem. Nevertheless, you
7865
*** may want to report the problem to your system manager and/or to
7866
*** bug-libtool@gnu.org
7876
MAGIC_CMD="$lt_save_MAGIC_CMD"
7881
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7882
if test -n "$MAGIC_CMD"; then
7883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7884
$as_echo "$MAGIC_CMD" >&6; }
7886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887
$as_echo "no" >&6; }
7894
if test -z "$lt_cv_path_MAGIC_CMD"; then
7895
if test -n "$ac_tool_prefix"; then
7896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7897
$as_echo_n "checking for file... " >&6; }
7898
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7899
$as_echo_n "(cached) " >&6
7903
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7906
lt_save_MAGIC_CMD="$MAGIC_CMD"
7907
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7908
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7909
for ac_dir in $ac_dummy; do
7911
test -z "$ac_dir" && ac_dir=.
7912
if test -f $ac_dir/file; then
7913
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7914
if test -n "$file_magic_test_file"; then
7915
case $deplibs_check_method in
7917
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7918
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7919
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7920
$EGREP "$file_magic_regex" > /dev/null; then
7925
*** Warning: the command libtool uses to detect shared libraries,
7926
*** $file_magic_cmd, produces output that libtool cannot recognize.
7927
*** The result is that libtool may fail to recognize shared libraries
7928
*** as such. This will affect the creation of libtool libraries that
7929
*** depend on shared libraries, but programs linked with such libtool
7930
*** libraries will work regardless of this problem. Nevertheless, you
7931
*** may want to report the problem to your system manager and/or to
7932
*** bug-libtool@gnu.org
7942
MAGIC_CMD="$lt_save_MAGIC_CMD"
7947
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7948
if test -n "$MAGIC_CMD"; then
7949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7950
$as_echo "$MAGIC_CMD" >&6; }
7952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953
$as_echo "no" >&6; }
7966
# Use C for the default configuration in the libtool script
7970
ac_cpp='$CPP $CPPFLAGS'
7971
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7972
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7973
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7976
# Source file extension for C test sources.
7979
# Object file extension for compiled C test sources.
7983
# Code to be used in simple compile tests
7984
lt_simple_compile_test_code="int some_variable = 0;"
7986
# Code to be used in simple link tests
7987
lt_simple_link_test_code='int main(){return(0);}'
7995
# If no C compiler was specified, use CC.
7998
# If no C compiler flags were specified, use CFLAGS.
7999
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8001
# Allow CC to be a program name with arguments.
8004
# Save the default compiler, since it gets overwritten when the other
8005
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8006
compiler_DEFAULT=$CC
8008
# save warnings/boilerplate of simple test code
8009
ac_outfile=conftest.$ac_objext
8010
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8011
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8012
_lt_compiler_boilerplate=`cat conftest.err`
8015
ac_outfile=conftest.$ac_objext
8016
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8017
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8018
_lt_linker_boilerplate=`cat conftest.err`
8023
## There is no encapsulation within the following macros, do not change
8024
## the running order or otherwise move them around unless you know exactly
8025
## what you are doing...
8026
if test -n "$compiler"; then
8028
lt_prog_compiler_no_builtin_flag=
8030
if test "$GCC" = yes; then
8031
case $cc_basename in
8033
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8035
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8039
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8040
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8041
$as_echo_n "(cached) " >&6
8043
lt_cv_prog_compiler_rtti_exceptions=no
8044
ac_outfile=conftest.$ac_objext
8045
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8046
lt_compiler_flag="-fno-rtti -fno-exceptions"
8047
# Insert the option either (1) after the last *FLAGS variable, or
8048
# (2) before a word containing "conftest.", or (3) at the end.
8049
# Note that $ac_compile itself does not contain backslashes and begins
8050
# with a dollar sign (not a hyphen), so the echo should work correctly.
8051
# The option is referenced via a variable to avoid confusing sed.
8052
lt_compile=`echo "$ac_compile" | $SED \
8053
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8054
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8055
-e 's:$: $lt_compiler_flag:'`
8056
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8057
(eval "$lt_compile" 2>conftest.err)
8059
cat conftest.err >&5
8060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061
if (exit $ac_status) && test -s "$ac_outfile"; then
8062
# The compiler can only warn and ignore the option if not recognized
8063
# So say no if there are warnings other than the usual output.
8064
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8065
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8066
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8067
lt_cv_prog_compiler_rtti_exceptions=yes
8073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8074
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8076
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8077
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8089
lt_prog_compiler_wl=
8090
lt_prog_compiler_pic=
8091
lt_prog_compiler_static=
8094
if test "$GCC" = yes; then
8095
lt_prog_compiler_wl='-Wl,'
8096
lt_prog_compiler_static='-static'
8100
# All AIX code is PIC.
8101
if test "$host_cpu" = ia64; then
8102
# AIX 5 now supports IA64 processor
8103
lt_prog_compiler_static='-Bstatic'
8110
# see comment about AmigaOS4 .so support
8111
lt_prog_compiler_pic='-fPIC'
8114
# FIXME: we need at least 68020 code to build shared libraries, but
8115
# adding the `-m68020' flag to GCC prevents building anything better,
8117
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8122
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8123
# PIC is the default for these OSes.
8126
mingw* | cygwin* | pw32* | os2* | cegcc*)
8127
# This hack is so that the source file can tell whether it is being
8128
# built for inclusion in a dll (and should export symbols for example).
8129
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8130
# (--disable-auto-import) libraries
8131
lt_prog_compiler_pic='-DDLL_EXPORT'
8134
darwin* | rhapsody*)
8135
# PIC is the default on this platform
8136
# Common symbols not allowed in MH_DYLIB files
8137
lt_prog_compiler_pic='-fno-common'
8141
# PIC is the default for Haiku.
8142
# The "-static" flag exists, but is broken.
8143
lt_prog_compiler_static=
8147
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8148
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8149
# sets the default TLS model and affects inlining.
8155
lt_prog_compiler_pic='-fPIC'
8161
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8162
# Instead, we relocate shared libraries at runtime.
8166
# Just because we use GCC doesn't mean we suddenly get shared libraries
8167
# on systems that don't support them.
8168
lt_prog_compiler_can_build_shared=no
8173
# QNX uses GNU C++, but need to define -shared option too, otherwise
8175
lt_prog_compiler_pic='-fPIC -shared'
8179
if test -d /usr/nec; then
8180
lt_prog_compiler_pic=-Kconform_pic
8185
lt_prog_compiler_pic='-fPIC'
8189
case $cc_basename in
8190
nvcc*) # Cuda Compiler Driver 2.2
8191
lt_prog_compiler_wl='-Xlinker '
8192
if test -n "$lt_prog_compiler_pic"; then
8193
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8198
# PORTME Check for flag to pass linker flags through the system compiler.
8201
lt_prog_compiler_wl='-Wl,'
8202
if test "$host_cpu" = ia64; then
8203
# AIX 5 now supports IA64 processor
8204
lt_prog_compiler_static='-Bstatic'
8206
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8210
mingw* | cygwin* | pw32* | os2* | cegcc*)
8211
# This hack is so that the source file can tell whether it is being
8212
# built for inclusion in a dll (and should export symbols for example).
8213
lt_prog_compiler_pic='-DDLL_EXPORT'
8216
hpux9* | hpux10* | hpux11*)
8217
lt_prog_compiler_wl='-Wl,'
8218
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8225
lt_prog_compiler_pic='+Z'
8228
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8229
lt_prog_compiler_static='${wl}-a ${wl}archive'
8232
irix5* | irix6* | nonstopux*)
8233
lt_prog_compiler_wl='-Wl,'
8234
# PIC (with -KPIC) is the default.
8235
lt_prog_compiler_static='-non_shared'
8238
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8239
case $cc_basename in
8240
# old Intel for x86_64 which still supported -KPIC.
8242
lt_prog_compiler_wl='-Wl,'
8243
lt_prog_compiler_pic='-KPIC'
8244
lt_prog_compiler_static='-static'
8246
# icc used to be incompatible with GCC.
8247
# ICC 10 doesn't accept -KPIC any more.
8249
lt_prog_compiler_wl='-Wl,'
8250
lt_prog_compiler_pic='-fPIC'
8251
lt_prog_compiler_static='-static'
8253
# Lahey Fortran 8.1.
8255
lt_prog_compiler_wl='-Wl,'
8256
lt_prog_compiler_pic='--shared'
8257
lt_prog_compiler_static='--static'
8260
# NAG Fortran compiler
8261
lt_prog_compiler_wl='-Wl,-Wl,,'
8262
lt_prog_compiler_pic='-PIC'
8263
lt_prog_compiler_static='-Bstatic'
8265
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8266
# Portland Group compilers (*not* the Pentium gcc compiler,
8267
# which looks to be a dead project)
8268
lt_prog_compiler_wl='-Wl,'
8269
lt_prog_compiler_pic='-fpic'
8270
lt_prog_compiler_static='-Bstatic'
8273
lt_prog_compiler_wl='-Wl,'
8274
# All Alpha code is PIC.
8275
lt_prog_compiler_static='-non_shared'
8277
xl* | bgxl* | bgf* | mpixl*)
8278
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8279
lt_prog_compiler_wl='-Wl,'
8280
lt_prog_compiler_pic='-qpic'
8281
lt_prog_compiler_static='-qstaticlink'
8284
case `$CC -V 2>&1 | sed 5q` in
8285
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8286
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8287
lt_prog_compiler_pic='-KPIC'
8288
lt_prog_compiler_static='-Bstatic'
8289
lt_prog_compiler_wl=''
8291
*Sun\ F* | *Sun*Fortran*)
8292
lt_prog_compiler_pic='-KPIC'
8293
lt_prog_compiler_static='-Bstatic'
8294
lt_prog_compiler_wl='-Qoption ld '
8298
lt_prog_compiler_pic='-KPIC'
8299
lt_prog_compiler_static='-Bstatic'
8300
lt_prog_compiler_wl='-Wl,'
8302
*Intel*\ [CF]*Compiler*)
8303
lt_prog_compiler_wl='-Wl,'
8304
lt_prog_compiler_pic='-fPIC'
8305
lt_prog_compiler_static='-static'
8308
lt_prog_compiler_wl='-Wl,'
8309
lt_prog_compiler_pic='-fpic'
8310
lt_prog_compiler_static='-Bstatic'
8318
lt_prog_compiler_pic='-KPIC'
8319
lt_prog_compiler_static='-Bstatic'
8323
# QNX uses GNU C++, but need to define -shared option too, otherwise
8325
lt_prog_compiler_pic='-fPIC -shared'
8328
osf3* | osf4* | osf5*)
8329
lt_prog_compiler_wl='-Wl,'
8330
# All OSF/1 code is PIC.
8331
lt_prog_compiler_static='-non_shared'
8335
lt_prog_compiler_static='-non_shared'
8339
lt_prog_compiler_pic='-KPIC'
8340
lt_prog_compiler_static='-Bstatic'
8341
case $cc_basename in
8342
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8343
lt_prog_compiler_wl='-Qoption ld ';;
8345
lt_prog_compiler_wl='-Wl,';;
8350
lt_prog_compiler_wl='-Qoption ld '
8351
lt_prog_compiler_pic='-PIC'
8352
lt_prog_compiler_static='-Bstatic'
8355
sysv4 | sysv4.2uw2* | sysv4.3*)
8356
lt_prog_compiler_wl='-Wl,'
8357
lt_prog_compiler_pic='-KPIC'
8358
lt_prog_compiler_static='-Bstatic'
8362
if test -d /usr/nec ;then
8363
lt_prog_compiler_pic='-Kconform_pic'
8364
lt_prog_compiler_static='-Bstatic'
8368
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8369
lt_prog_compiler_wl='-Wl,'
8370
lt_prog_compiler_pic='-KPIC'
8371
lt_prog_compiler_static='-Bstatic'
8375
lt_prog_compiler_wl='-Wl,'
8376
lt_prog_compiler_can_build_shared=no
8380
lt_prog_compiler_pic='-pic'
8381
lt_prog_compiler_static='-Bstatic'
8385
lt_prog_compiler_can_build_shared=no
8391
# For platforms which do not support PIC, -DPIC is meaningless:
8393
lt_prog_compiler_pic=
8396
lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8401
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8402
if ${lt_cv_prog_compiler_pic+:} false; then :
8403
$as_echo_n "(cached) " >&6
8405
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8408
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8409
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8412
# Check to make sure the PIC flag actually works.
8414
if test -n "$lt_prog_compiler_pic"; then
8415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8416
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8417
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8418
$as_echo_n "(cached) " >&6
8420
lt_cv_prog_compiler_pic_works=no
8421
ac_outfile=conftest.$ac_objext
8422
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8423
lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8424
# Insert the option either (1) after the last *FLAGS variable, or
8425
# (2) before a word containing "conftest.", or (3) at the end.
8426
# Note that $ac_compile itself does not contain backslashes and begins
8427
# with a dollar sign (not a hyphen), so the echo should work correctly.
8428
# The option is referenced via a variable to avoid confusing sed.
8429
lt_compile=`echo "$ac_compile" | $SED \
8430
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8431
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8432
-e 's:$: $lt_compiler_flag:'`
8433
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8434
(eval "$lt_compile" 2>conftest.err)
8436
cat conftest.err >&5
8437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438
if (exit $ac_status) && test -s "$ac_outfile"; then
8439
# The compiler can only warn and ignore the option if not recognized
8440
# So say no if there are warnings other than the usual output.
8441
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8442
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8443
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8444
lt_cv_prog_compiler_pic_works=yes
8450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8451
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8453
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8454
case $lt_prog_compiler_pic in
8456
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8459
lt_prog_compiler_pic=
8460
lt_prog_compiler_can_build_shared=no
8476
# Check to make sure the static flag actually works.
8478
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8480
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8481
if ${lt_cv_prog_compiler_static_works+:} false; then :
8482
$as_echo_n "(cached) " >&6
8484
lt_cv_prog_compiler_static_works=no
8485
save_LDFLAGS="$LDFLAGS"
8486
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8487
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8488
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8489
# The linker can only warn and ignore the option if not recognized
8490
# So say no if there are warnings
8491
if test -s conftest.err; then
8492
# Append any errors to the config.log.
8493
cat conftest.err 1>&5
8494
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8495
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8496
if diff conftest.exp conftest.er2 >/dev/null; then
8497
lt_cv_prog_compiler_static_works=yes
8500
lt_cv_prog_compiler_static_works=yes
8504
LDFLAGS="$save_LDFLAGS"
8507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8508
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8510
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8513
lt_prog_compiler_static=
8522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8523
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8524
if ${lt_cv_prog_compiler_c_o+:} false; then :
8525
$as_echo_n "(cached) " >&6
8527
lt_cv_prog_compiler_c_o=no
8528
$RM -r conftest 2>/dev/null
8532
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8534
lt_compiler_flag="-o out/conftest2.$ac_objext"
8535
# Insert the option either (1) after the last *FLAGS variable, or
8536
# (2) before a word containing "conftest.", or (3) at the end.
8537
# Note that $ac_compile itself does not contain backslashes and begins
8538
# with a dollar sign (not a hyphen), so the echo should work correctly.
8539
lt_compile=`echo "$ac_compile" | $SED \
8540
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8541
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8542
-e 's:$: $lt_compiler_flag:'`
8543
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8544
(eval "$lt_compile" 2>out/conftest.err)
8546
cat out/conftest.err >&5
8547
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8550
# The compiler can only warn and ignore the option if not recognized
8551
# So say no if there are warnings
8552
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8553
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8554
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8555
lt_cv_prog_compiler_c_o=yes
8560
# SGI C++ compiler will create directory out/ii_files/ for
8561
# template instantiation
8562
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8563
$RM out/* && rmdir out
8569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8570
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8578
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8579
if ${lt_cv_prog_compiler_c_o+:} false; then :
8580
$as_echo_n "(cached) " >&6
8582
lt_cv_prog_compiler_c_o=no
8583
$RM -r conftest 2>/dev/null
8587
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8589
lt_compiler_flag="-o out/conftest2.$ac_objext"
8590
# Insert the option either (1) after the last *FLAGS variable, or
8591
# (2) before a word containing "conftest.", or (3) at the end.
8592
# Note that $ac_compile itself does not contain backslashes and begins
8593
# with a dollar sign (not a hyphen), so the echo should work correctly.
8594
lt_compile=`echo "$ac_compile" | $SED \
8595
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8596
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8597
-e 's:$: $lt_compiler_flag:'`
8598
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8599
(eval "$lt_compile" 2>out/conftest.err)
8601
cat out/conftest.err >&5
8602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8605
# The compiler can only warn and ignore the option if not recognized
8606
# So say no if there are warnings
8607
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8608
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8609
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8610
lt_cv_prog_compiler_c_o=yes
8615
# SGI C++ compiler will create directory out/ii_files/ for
8616
# template instantiation
8617
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8618
$RM out/* && rmdir out
8624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8625
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8630
hard_links="nottested"
8631
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8632
# do not overwrite the value of need_locks provided by the user
8633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8634
$as_echo_n "checking if we can lock with hard links... " >&6; }
8637
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8639
ln conftest.a conftest.b 2>&5 || hard_links=no
8640
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8642
$as_echo "$hard_links" >&6; }
8643
if test "$hard_links" = no; then
8644
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8645
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8658
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8661
allow_undefined_flag=
8662
always_export_symbols=no
8664
archive_expsym_cmds=
8665
compiler_needs_object=no
8666
enable_shared_with_static_runtimes=no
8667
export_dynamic_flag_spec=
8668
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8669
hardcode_automatic=no
8671
hardcode_direct_absolute=no
8672
hardcode_libdir_flag_spec=
8673
hardcode_libdir_separator=
8675
hardcode_shlibpath_var=unsupported
8677
link_all_deplibs=unknown
8680
old_archive_from_new_cmds=
8681
old_archive_from_expsyms_cmds=
8682
thread_safe_flag_spec=
8683
whole_archive_flag_spec=
8684
# include_expsyms should be a list of space-separated symbols to be *always*
8685
# included in the symbol list
8687
# exclude_expsyms can be an extended regexp of symbols to exclude
8688
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8689
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8690
# as well as any symbol that contains `d'.
8691
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8692
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8693
# platforms (ab)use it in PIC code, but their linkers get confused if
8694
# the symbol is explicitly referenced. Since portable code cannot
8695
# rely on this symbol name, it's probably fine to never include it in
8696
# preloaded symbol tables.
8697
# Exclude shared library initialization/finalization symbols.
8698
extract_expsyms_cmds=
8701
cygwin* | mingw* | pw32* | cegcc*)
8702
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8703
# When not using gcc, we currently assume that we are using
8704
# Microsoft Visual C++.
8705
if test "$GCC" != yes; then
8710
# we just hope/assume this is gcc and not c89 (= MSVC++)
8716
linux* | k*bsd*-gnu | gnu*)
8723
# On some targets, GNU ld is compatible enough with the native linker
8724
# that we're better off using the native interface for both.
8725
lt_use_gnu_ld_interface=no
8726
if test "$with_gnu_ld" = yes; then
8729
# The AIX port of GNU ld has always aspired to compatibility
8730
# with the native linker. However, as the warning in the GNU ld
8731
# block says, versions before 2.19.5* couldn't really create working
8732
# shared libraries, regardless of the interface used.
8733
case `$LD -v 2>&1` in
8734
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8735
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8736
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8738
lt_use_gnu_ld_interface=yes
8743
lt_use_gnu_ld_interface=yes
8748
if test "$lt_use_gnu_ld_interface" = yes; then
8749
# If archive_cmds runs LD, not CC, wlarc should be empty
8752
# Set some defaults for GNU ld with shared library support. These
8753
# are reset later if shared libraries are not supported. Putting them
8754
# here allows them to be overridden if necessary.
8755
runpath_var=LD_RUN_PATH
8756
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8757
export_dynamic_flag_spec='${wl}--export-dynamic'
8758
# ancient GNU ld didn't support --whole-archive et. al.
8759
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8760
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8762
whole_archive_flag_spec=
8764
supports_anon_versioning=no
8765
case `$LD -v 2>&1` in
8766
*GNU\ gold*) supports_anon_versioning=yes ;;
8767
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8768
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8769
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8770
*\ 2.11.*) ;; # other 2.11 versions
8771
*) supports_anon_versioning=yes ;;
8774
# See if GNU ld supports shared libraries.
8777
# On AIX/PPC, the GNU linker is very broken
8778
if test "$host_cpu" != ia64; then
8782
*** Warning: the GNU linker, at least up to release 2.19, is reported
8783
*** to be unable to reliably create shared libraries on AIX.
8784
*** Therefore, libtool is disabling shared libraries support. If you
8785
*** really care for shared libraries, you may want to install binutils
8786
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8787
*** You will then need to restart the configuration process.
8796
# see comment about AmigaOS4 .so support
8797
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8798
archive_expsym_cmds=''
8801
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)'
8802
hardcode_libdir_flag_spec='-L$libdir'
8803
hardcode_minus_L=yes
8809
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8810
allow_undefined_flag=unsupported
8811
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8812
# support --undefined. This deserves some investigation. FIXME
8813
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8819
cygwin* | mingw* | pw32* | cegcc*)
8820
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8821
# as there is no search path for DLLs.
8822
hardcode_libdir_flag_spec='-L$libdir'
8823
export_dynamic_flag_spec='${wl}--export-all-symbols'
8824
allow_undefined_flag=unsupported
8825
always_export_symbols=no
8826
enable_shared_with_static_runtimes=yes
8827
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8828
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8830
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8831
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8832
# If the export-symbols file already is a .def file (1st line
8833
# is EXPORTS), use it as is; otherwise, prepend...
8834
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8835
cp $export_symbols $output_objdir/$soname.def;
8837
echo EXPORTS > $output_objdir/$soname.def;
8838
cat $export_symbols >> $output_objdir/$soname.def;
8840
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8847
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848
link_all_deplibs=yes
8853
hardcode_shlibpath_var=no
8854
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8855
export_dynamic_flag_spec='${wl}-E'
8856
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8857
# Instead, shared libraries are loaded at an image base (0x10000000 by
8858
# default) and relocated if they conflict, which is a slow very memory
8859
# consuming and fragmenting process. To avoid this, we pick a random,
8860
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8861
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8862
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8863
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'
8866
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8868
if test "$host_os" = linux-dietlibc; then
8869
case $cc_basename in
8870
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8873
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8874
&& test "$tmp_diet" = no
8876
tmp_addflag=' $pic_flag'
8877
tmp_sharedflag='-shared'
8878
case $cc_basename,$host_cpu in
8879
pgcc*) # Portland Group C compiler
8880
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8881
tmp_addflag=' $pic_flag'
8883
pgf77* | pgf90* | pgf95* | pgfortran*)
8884
# Portland Group f77 and f90 compilers
8885
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8886
tmp_addflag=' $pic_flag -Mnomain' ;;
8887
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8888
tmp_addflag=' -i_dynamic' ;;
8889
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8890
tmp_addflag=' -i_dynamic -nofor_main' ;;
8891
ifc* | ifort*) # Intel Fortran compiler
8892
tmp_addflag=' -nofor_main' ;;
8893
lf95*) # Lahey Fortran 8.1
8894
whole_archive_flag_spec=
8895
tmp_sharedflag='--shared' ;;
8896
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8897
tmp_sharedflag='-qmkshrobj'
8899
nvcc*) # Cuda Compiler Driver 2.2
8900
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8901
compiler_needs_object=yes
8904
case `$CC -V 2>&1 | sed 5q` in
8905
*Sun\ C*) # Sun C 5.9
8906
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8907
compiler_needs_object=yes
8908
tmp_sharedflag='-G' ;;
8909
*Sun\ F*) # Sun Fortran 8.3
8910
tmp_sharedflag='-G' ;;
8912
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8914
if test "x$supports_anon_versioning" = xyes; then
8915
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8916
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8917
echo "local: *; };" >> $output_objdir/$libname.ver~
8918
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8921
case $cc_basename in
8922
xlf* | bgf* | bgxlf* | mpixlf*)
8923
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8924
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8925
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8926
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8927
if test "x$supports_anon_versioning" = xyes; then
8928
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8929
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8930
echo "local: *; };" >> $output_objdir/$libname.ver~
8931
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8940
netbsd* | netbsdelf*-gnu)
8941
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8942
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8945
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8946
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8951
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8955
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8956
*** create shared libraries on Solaris systems. Therefore, libtool
8957
*** is disabling shared libraries support. We urge you to upgrade GNU
8958
*** binutils to release 2.9.1 or newer. Another option is to modify
8959
*** your PATH or compiler configuration so that the native linker is
8960
*** used, and then restart.
8963
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8964
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8965
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8971
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8972
case `$LD -v 2>&1` in
8973
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8977
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8978
*** reliably create shared libraries on SCO systems. Therefore, libtool
8979
*** is disabling shared libraries support. We urge you to upgrade GNU
8980
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8981
*** your PATH or compiler configuration so that the native linker is
8982
*** used, and then restart.
8987
# For security reasons, it is highly recommended that you always
8988
# use absolute paths for naming shared libraries, and exclude the
8989
# DT_RUNPATH tag from executables and libraries. But doing so
8990
# requires that you compile everything twice, which is a pain.
8991
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8992
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8993
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9003
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9006
hardcode_shlibpath_var=no
9010
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9011
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9012
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9019
if test "$ld_shlibs" = no; then
9021
hardcode_libdir_flag_spec=
9022
export_dynamic_flag_spec=
9023
whole_archive_flag_spec=
9026
# PORTME fill in a description of your system's linker (not GNU ld)
9029
allow_undefined_flag=unsupported
9030
always_export_symbols=yes
9031
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'
9032
# Note: this linker hardcodes the directories in LIBPATH if there
9033
# are no directories specified by -L.
9034
hardcode_minus_L=yes
9035
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9036
# Neither direct hardcoding nor static linking is supported with a
9038
hardcode_direct=unsupported
9043
if test "$host_cpu" = ia64; then
9044
# On IA64, the linker does run time linking by default, so we don't
9045
# have to do anything special.
9046
aix_use_runtimelinking=no
9047
exp_sym_flag='-Bexport'
9050
# If we're using GNU nm, then we don't want the "-C" option.
9051
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9052
# Also, AIX nm treats weak defined symbols like other global
9053
# defined symbols, whereas GNU nm marks them as "W".
9054
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9055
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9057
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'
9059
aix_use_runtimelinking=no
9061
# Test if we are trying to use run time linking or normal
9062
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9063
# need to do runtime linking.
9064
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9065
for ld_flag in $LDFLAGS; do
9066
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9067
aix_use_runtimelinking=yes
9074
exp_sym_flag='-bexport'
9075
no_entry_flag='-bnoentry'
9078
# When large executables or shared objects are built, AIX ld can
9079
# have problems creating the table of contents. If linking a library
9080
# or program results in "error TOC overflow" add -mminimal-toc to
9081
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9082
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9086
hardcode_direct_absolute=yes
9087
hardcode_libdir_separator=':'
9088
link_all_deplibs=yes
9089
file_list_spec='${wl}-f,'
9091
if test "$GCC" = yes; then
9092
case $host_os in aix4.[012]|aix4.[012].*)
9093
# We only want to do this on AIX 4.2 and lower, the check
9094
# below for broken collect2 doesn't work under 4.3+
9095
collect2name=`${CC} -print-prog-name=collect2`
9096
if test -f "$collect2name" &&
9097
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9099
# We have reworked collect2
9102
# We have old collect2
9103
hardcode_direct=unsupported
9104
# It fails to find uninstalled libraries when the uninstalled
9105
# path is not listed in the libpath. Setting hardcode_minus_L
9106
# to unsupported forces relinking
9107
hardcode_minus_L=yes
9108
hardcode_libdir_flag_spec='-L$libdir'
9109
hardcode_libdir_separator=
9113
shared_flag='-shared'
9114
if test "$aix_use_runtimelinking" = yes; then
9115
shared_flag="$shared_flag "'${wl}-G'
9120
if test "$host_cpu" = ia64; then
9121
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9122
# chokes on -Wl,-G. The following line is correct:
9125
if test "$aix_use_runtimelinking" = yes; then
9126
shared_flag='${wl}-G'
9128
shared_flag='${wl}-bM:SRE'
9133
export_dynamic_flag_spec='${wl}-bexpall'
9134
# It seems that -bexpall does not export symbols beginning with
9135
# underscore (_), so it is better to generate a list of symbols to export.
9136
always_export_symbols=yes
9137
if test "$aix_use_runtimelinking" = yes; then
9138
# Warning - without using the other runtime loading flags (-brtl),
9139
# -berok will link without error, but may produce a broken library.
9140
allow_undefined_flag='-berok'
9141
# Determine the default libpath from the value encoded in an
9143
if test "${lt_cv_aix_libpath+set}" = set; then
9144
aix_libpath=$lt_cv_aix_libpath
9146
if ${lt_cv_aix_libpath_+:} false; then :
9147
$as_echo_n "(cached) " >&6
9149
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150
/* end confdefs.h. */
9160
if ac_fn_c_try_link "$LINENO"; then :
9162
lt_aix_libpath_sed='
9163
/Import File Strings/,/^$/ {
9165
s/^0 *\([^ ]*\) *$/\1/
9169
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9170
# Check for a 64-bit object if we didn't find anything.
9171
if test -z "$lt_cv_aix_libpath_"; then
9172
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9175
rm -f core conftest.err conftest.$ac_objext \
9176
conftest$ac_exeext conftest.$ac_ext
9177
if test -z "$lt_cv_aix_libpath_"; then
9178
lt_cv_aix_libpath_="/usr/lib:/lib"
9183
aix_libpath=$lt_cv_aix_libpath_
9186
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9187
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9189
if test "$host_cpu" = ia64; then
9190
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9191
allow_undefined_flag="-z nodefs"
9192
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"
9194
# Determine the default libpath from the value encoded in an
9196
if test "${lt_cv_aix_libpath+set}" = set; then
9197
aix_libpath=$lt_cv_aix_libpath
9199
if ${lt_cv_aix_libpath_+:} false; then :
9200
$as_echo_n "(cached) " >&6
9202
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203
/* end confdefs.h. */
9213
if ac_fn_c_try_link "$LINENO"; then :
9215
lt_aix_libpath_sed='
9216
/Import File Strings/,/^$/ {
9218
s/^0 *\([^ ]*\) *$/\1/
9222
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9223
# Check for a 64-bit object if we didn't find anything.
9224
if test -z "$lt_cv_aix_libpath_"; then
9225
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9228
rm -f core conftest.err conftest.$ac_objext \
9229
conftest$ac_exeext conftest.$ac_ext
9230
if test -z "$lt_cv_aix_libpath_"; then
9231
lt_cv_aix_libpath_="/usr/lib:/lib"
9236
aix_libpath=$lt_cv_aix_libpath_
9239
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9240
# Warning - without using the other run time loading flags,
9241
# -berok will link without error, but may produce a broken library.
9242
no_undefined_flag=' ${wl}-bernotok'
9243
allow_undefined_flag=' ${wl}-berok'
9244
if test "$with_gnu_ld" = yes; then
9245
# We only use this code for GNU lds that support --whole-archive.
9246
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9248
# Exported symbols can be pulled into shared objects from archives
9249
whole_archive_flag_spec='$convenience'
9251
archive_cmds_need_lc=yes
9252
# This is similar to how AIX traditionally builds its shared libraries.
9253
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'
9261
# see comment about AmigaOS4 .so support
9262
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263
archive_expsym_cmds=''
9266
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)'
9267
hardcode_libdir_flag_spec='-L$libdir'
9268
hardcode_minus_L=yes
9274
export_dynamic_flag_spec=-rdynamic
9277
cygwin* | mingw* | pw32* | cegcc*)
9278
# When not using gcc, we currently assume that we are using
9279
# Microsoft Visual C++.
9280
# hardcode_libdir_flag_spec is actually meaningless, as there is
9281
# no search path for DLLs.
9282
case $cc_basename in
9285
hardcode_libdir_flag_spec=' '
9286
allow_undefined_flag=unsupported
9287
always_export_symbols=yes
9289
# Tell ltmain to make .lib files, not .a files.
9291
# Tell ltmain to make .dll files, not .so files.
9293
# FIXME: Setting linknames here is a bad hack.
9294
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9295
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9296
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9298
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9300
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9302
# The linker will not automatically build a static lib if we build a DLL.
9303
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9304
enable_shared_with_static_runtimes=yes
9305
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9306
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9308
old_postinstall_cmds='chmod 644 $oldlib'
9309
postlink_cmds='lt_outputfile="@OUTPUT@"~
9310
lt_tool_outputfile="@TOOL_OUTPUT@"~
9311
case $lt_outputfile in
9314
lt_outputfile="$lt_outputfile.exe"
9315
lt_tool_outputfile="$lt_tool_outputfile.exe"
9318
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9319
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9320
$RM "$lt_outputfile.manifest";
9324
# Assume MSVC wrapper
9325
hardcode_libdir_flag_spec=' '
9326
allow_undefined_flag=unsupported
9327
# Tell ltmain to make .lib files, not .a files.
9329
# Tell ltmain to make .dll files, not .so files.
9331
# FIXME: Setting linknames here is a bad hack.
9332
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9333
# The linker will automatically build a .lib file if we build a DLL.
9334
old_archive_from_new_cmds='true'
9335
# FIXME: Should let the user specify the lib program.
9336
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9337
enable_shared_with_static_runtimes=yes
9342
darwin* | rhapsody*)
9345
archive_cmds_need_lc=no
9347
hardcode_automatic=yes
9348
hardcode_shlibpath_var=unsupported
9349
if test "$lt_cv_ld_force_load" = "yes"; then
9350
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9353
whole_archive_flag_spec=''
9355
link_all_deplibs=yes
9356
allow_undefined_flag="$_lt_dar_allow_undefined"
9357
case $cc_basename in
9358
ifort*) _lt_dar_can_shared=yes ;;
9359
*) _lt_dar_can_shared=$GCC ;;
9361
if test "$_lt_dar_can_shared" = "yes"; then
9362
output_verbose_link_cmd=func_echo_all
9363
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9364
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9365
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}"
9366
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}"
9375
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9376
hardcode_libdir_flag_spec='-L$libdir'
9377
hardcode_shlibpath_var=no
9380
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9381
# support. Future versions do this automatically, but an explicit c++rt0.o
9382
# does not break anything, and helps significantly (at the cost of a little
9385
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9386
hardcode_libdir_flag_spec='-R$libdir'
9388
hardcode_shlibpath_var=no
9391
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9393
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9395
hardcode_minus_L=yes
9396
hardcode_shlibpath_var=no
9399
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9400
freebsd* | dragonfly*)
9401
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9402
hardcode_libdir_flag_spec='-R$libdir'
9404
hardcode_shlibpath_var=no
9408
if test "$GCC" = yes; then
9409
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9411
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'
9413
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9414
hardcode_libdir_separator=:
9417
# hardcode_minus_L: Not really in the search PATH,
9418
# but as the default location of the library.
9419
hardcode_minus_L=yes
9420
export_dynamic_flag_spec='${wl}-E'
9424
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9425
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9427
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9429
if test "$with_gnu_ld" = no; then
9430
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9431
hardcode_libdir_separator=:
9433
hardcode_direct_absolute=yes
9434
export_dynamic_flag_spec='${wl}-E'
9435
# hardcode_minus_L: Not really in the search PATH,
9436
# but as the default location of the library.
9437
hardcode_minus_L=yes
9442
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9445
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9448
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9451
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9457
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9460
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9464
# Older versions of the 11.00 compiler do not understand -b yet
9465
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9467
$as_echo_n "checking if $CC understands -b... " >&6; }
9468
if ${lt_cv_prog_compiler__b+:} false; then :
9469
$as_echo_n "(cached) " >&6
9471
lt_cv_prog_compiler__b=no
9472
save_LDFLAGS="$LDFLAGS"
9473
LDFLAGS="$LDFLAGS -b"
9474
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9475
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9476
# The linker can only warn and ignore the option if not recognized
9477
# So say no if there are warnings
9478
if test -s conftest.err; then
9479
# Append any errors to the config.log.
9480
cat conftest.err 1>&5
9481
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9482
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9483
if diff conftest.exp conftest.er2 >/dev/null; then
9484
lt_cv_prog_compiler__b=yes
9487
lt_cv_prog_compiler__b=yes
9491
LDFLAGS="$save_LDFLAGS"
9494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9495
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9497
if test x"$lt_cv_prog_compiler__b" = xyes; then
9498
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9500
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9506
if test "$with_gnu_ld" = no; then
9507
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9508
hardcode_libdir_separator=:
9513
hardcode_shlibpath_var=no
9517
hardcode_direct_absolute=yes
9518
export_dynamic_flag_spec='${wl}-E'
9520
# hardcode_minus_L: Not really in the search PATH,
9521
# but as the default location of the library.
9522
hardcode_minus_L=yes
9528
irix5* | irix6* | nonstopux*)
9529
if test "$GCC" = yes; then
9530
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9531
# Try to use the -exported_symbol ld option, if it does not
9532
# work, assume that -exports_file does not work either and
9533
# implicitly export all symbols.
9534
# This should be the same for all languages, so no per-tag cache variable.
9535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9536
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9537
if ${lt_cv_irix_exported_symbol+:} false; then :
9538
$as_echo_n "(cached) " >&6
9540
save_LDFLAGS="$LDFLAGS"
9541
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9542
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543
/* end confdefs.h. */
9544
int foo (void) { return 0; }
9546
if ac_fn_c_try_link "$LINENO"; then :
9547
lt_cv_irix_exported_symbol=yes
9549
lt_cv_irix_exported_symbol=no
9551
rm -f core conftest.err conftest.$ac_objext \
9552
conftest$ac_exeext conftest.$ac_ext
9553
LDFLAGS="$save_LDFLAGS"
9555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9556
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9557
if test "$lt_cv_irix_exported_symbol" = yes; then
9558
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9561
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9562
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9564
archive_cmds_need_lc='no'
9565
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9566
hardcode_libdir_separator=:
9568
link_all_deplibs=yes
9571
netbsd* | netbsdelf*-gnu)
9572
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9573
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9575
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9577
hardcode_libdir_flag_spec='-R$libdir'
9579
hardcode_shlibpath_var=no
9583
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9585
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9586
hardcode_libdir_separator=:
9587
hardcode_shlibpath_var=no
9594
if test -f /usr/libexec/ld.so; then
9596
hardcode_shlibpath_var=no
9597
hardcode_direct_absolute=yes
9598
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9599
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9600
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9601
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9602
export_dynamic_flag_spec='${wl}-E'
9605
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9606
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9607
hardcode_libdir_flag_spec='-R$libdir'
9610
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9611
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9621
hardcode_libdir_flag_spec='-L$libdir'
9622
hardcode_minus_L=yes
9623
allow_undefined_flag=unsupported
9624
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'
9625
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9629
if test "$GCC" = yes; then
9630
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9631
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9633
allow_undefined_flag=' -expect_unresolved \*'
9634
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9636
archive_cmds_need_lc='no'
9637
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9638
hardcode_libdir_separator=:
9641
osf4* | osf5*) # as osf3* with the addition of -msym flag
9642
if test "$GCC" = yes; then
9643
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9644
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9645
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9647
allow_undefined_flag=' -expect_unresolved \*'
9648
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9649
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~
9650
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9652
# Both c and cxx compiler support -rpath directly
9653
hardcode_libdir_flag_spec='-rpath $libdir'
9655
archive_cmds_need_lc='no'
9656
hardcode_libdir_separator=:
9660
no_undefined_flag=' -z defs'
9661
if test "$GCC" = yes; then
9663
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9664
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9665
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9667
case `$CC -V 2>&1` in
9670
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9671
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9672
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9676
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9677
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9678
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9682
hardcode_libdir_flag_spec='-R$libdir'
9683
hardcode_shlibpath_var=no
9685
solaris2.[0-5] | solaris2.[0-5].*) ;;
9687
# The compiler driver will combine and reorder linker options,
9688
# but understands `-z linker_flag'. GCC discards it without `$wl',
9689
# but is careful enough not to reorder.
9690
# Supported since Solaris 2.6 (maybe 2.5.1?)
9691
if test "$GCC" = yes; then
9692
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9694
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9698
link_all_deplibs=yes
9702
if test "x$host_vendor" = xsequent; then
9703
# Use $CC to link under sequent, because it throws in some extra .o
9704
# files that make .init and .fini sections work.
9705
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9707
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9709
hardcode_libdir_flag_spec='-L$libdir'
9711
hardcode_minus_L=yes
9712
hardcode_shlibpath_var=no
9716
case $host_vendor in
9718
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9719
hardcode_direct=yes # is this really true???
9722
## LD is ld it makes a PLAMLIB
9723
## CC just makes a GrossModule.
9724
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9725
reload_cmds='$CC -r -o $output$reload_objs'
9729
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9730
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9733
runpath_var='LD_RUN_PATH'
9734
hardcode_shlibpath_var=no
9738
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9739
hardcode_shlibpath_var=no
9740
export_dynamic_flag_spec='-Bexport'
9744
if test -d /usr/nec; then
9745
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9746
hardcode_shlibpath_var=no
9747
runpath_var=LD_RUN_PATH
9748
hardcode_runpath_var=yes
9753
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9754
no_undefined_flag='${wl}-z,text'
9755
archive_cmds_need_lc=no
9756
hardcode_shlibpath_var=no
9757
runpath_var='LD_RUN_PATH'
9759
if test "$GCC" = yes; then
9760
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9761
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9763
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9764
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9768
sysv5* | sco3.2v5* | sco5v6*)
9769
# Note: We can NOT use -z defs as we might desire, because we do not
9770
# link with -lc, and that would cause any symbols used from libc to
9771
# always be unresolved, which means just about no library would
9772
# ever link correctly. If we're not using GNU ld we use -z text
9773
# though, which does catch some bad symbols but isn't as heavy-handed
9775
no_undefined_flag='${wl}-z,text'
9776
allow_undefined_flag='${wl}-z,nodefs'
9777
archive_cmds_need_lc=no
9778
hardcode_shlibpath_var=no
9779
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9780
hardcode_libdir_separator=':'
9781
link_all_deplibs=yes
9782
export_dynamic_flag_spec='${wl}-Bexport'
9783
runpath_var='LD_RUN_PATH'
9785
if test "$GCC" = yes; then
9786
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9787
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9789
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9790
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9795
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9796
hardcode_libdir_flag_spec='-L$libdir'
9797
hardcode_shlibpath_var=no
9805
if test x$host_vendor = xsni; then
9807
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9808
export_dynamic_flag_spec='${wl}-Blargedynsym'
9814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9815
$as_echo "$ld_shlibs" >&6; }
9816
test "$ld_shlibs" = no && can_build_shared=no
9818
with_gnu_ld=$with_gnu_ld
9835
# Do we need to explicitly link libc?
9837
case "x$archive_cmds_need_lc" in
9839
# Assume -lc should be added
9840
archive_cmds_need_lc=yes
9842
if test "$enable_shared" = yes && test "$GCC" = yes; then
9843
case $archive_cmds in
9845
# FIXME: we may have to deal with multi-command sequences.
9848
# Test whether the compiler implicitly links with -lc since on some
9849
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9850
# to ld, don't add -lc before -lgcc.
9851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9852
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9853
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9854
$as_echo_n "(cached) " >&6
9857
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9859
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9860
(eval $ac_compile) 2>&5
9862
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9863
test $ac_status = 0; } 2>conftest.err; then
9866
libobjs=conftest.$ac_objext
9868
wl=$lt_prog_compiler_wl
9869
pic_flag=$lt_prog_compiler_pic
9875
lt_save_allow_undefined_flag=$allow_undefined_flag
9876
allow_undefined_flag=
9877
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9878
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9880
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9881
test $ac_status = 0; }
9883
lt_cv_archive_cmds_need_lc=no
9885
lt_cv_archive_cmds_need_lc=yes
9887
allow_undefined_flag=$lt_save_allow_undefined_flag
9889
cat conftest.err 1>&5
9894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9895
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9896
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10055
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10057
if test "$GCC" = yes; then
10059
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10060
*) lt_awk_arg="/^libraries:/" ;;
10063
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10064
*) lt_sed_strip_eq="s,=/,/,g" ;;
10066
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10067
case $lt_search_path_spec in
10069
# if the path contains ";" then we assume it to be the separator
10070
# otherwise default to the standard path separator (i.e. ":") - it is
10071
# assumed that no part of a normal pathname contains ";" but that should
10072
# okay in the real world where ";" in dirpaths is itself problematic.
10073
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10076
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10079
# Ok, now we have the path, separated by spaces, we can step through it
10080
# and add multilib dir if necessary.
10081
lt_tmp_lt_search_path_spec=
10082
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10083
for lt_sys_path in $lt_search_path_spec; do
10084
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10085
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10087
test -d "$lt_sys_path" && \
10088
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10091
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10092
BEGIN {RS=" "; FS="/|\n";} {
10095
for (lt_i = NF; lt_i > 0; lt_i--) {
10096
if ($lt_i != "" && $lt_i != ".") {
10097
if ($lt_i == "..") {
10100
if (lt_count == 0) {
10101
lt_foo="/" $lt_i lt_foo;
10108
if (lt_foo != "") { lt_freq[lt_foo]++; }
10109
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10111
# AWK program above erroneously prepends '/' to C:/dos/paths
10114
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10115
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10117
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10119
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10121
library_names_spec=
10122
libname_spec='lib$name'
10126
postuninstall_cmds=
10130
shlibpath_overrides_runpath=unknown
10132
dynamic_linker="$host_os ld.so"
10133
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10134
need_lib_prefix=unknown
10135
hardcode_into_libs=no
10137
# when you set need_version to no, make sure it does not cause -set_version
10138
# flags to be left without arguments
10139
need_version=unknown
10143
version_type=linux # correct to gnu/linux during the next big refactor
10144
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10145
shlibpath_var=LIBPATH
10147
# AIX 3 has no versioning support, so we append a major version to the name.
10148
soname_spec='${libname}${release}${shared_ext}$major'
10152
version_type=linux # correct to gnu/linux during the next big refactor
10155
hardcode_into_libs=yes
10156
if test "$host_cpu" = ia64; then
10157
# AIX 5 supports IA64
10158
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10159
shlibpath_var=LD_LIBRARY_PATH
10161
# With GCC up to 2.95.x, collect2 would create an import file
10162
# for dependence libraries. The import file would start with
10163
# the line `#! .'. This would cause the generated library to
10164
# depend on `.', always an invalid library. This was fixed in
10165
# development snapshots of GCC prior to 3.0.
10167
aix4 | aix4.[01] | aix4.[01].*)
10168
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10170
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10173
can_build_shared=no
10177
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10178
# soname into executable. Probably we can add versioning support to
10179
# collect2, so additional links can be useful in future.
10180
if test "$aix_use_runtimelinking" = yes; then
10181
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10182
# instead of lib<name>.a to let people know that these are not
10183
# typical AIX shared libraries.
10184
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10186
# We preserve .a as extension for shared libraries through AIX4.2
10187
# and later when we are not doing run time linking.
10188
library_names_spec='${libname}${release}.a $libname.a'
10189
soname_spec='${libname}${release}${shared_ext}$major'
10191
shlibpath_var=LIBPATH
10198
# Since July 2007 AmigaOS4 officially supports .so libraries.
10199
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10200
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10203
library_names_spec='$libname.ixlibrary $libname.a'
10204
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10205
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10211
library_names_spec='${libname}${shared_ext}'
10212
dynamic_linker="$host_os ld.so"
10213
shlibpath_var=LIBRARY_PATH
10217
version_type=linux # correct to gnu/linux during the next big refactor
10219
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10220
soname_spec='${libname}${release}${shared_ext}$major'
10221
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10222
shlibpath_var=LD_LIBRARY_PATH
10223
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10224
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10225
# the default ld.so.conf also contains /usr/contrib/lib and
10226
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10227
# libtool to hard-code these into programs
10230
cygwin* | mingw* | pw32* | cegcc*)
10231
version_type=windows
10236
case $GCC,$cc_basename in
10239
library_names_spec='$libname.dll.a'
10240
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10241
postinstall_cmds='base_file=`basename \${file}`~
10242
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10243
dldir=$destdir/`dirname \$dlpath`~
10244
test -d \$dldir || mkdir -p \$dldir~
10245
$install_prog $dir/$dlname \$dldir/$dlname~
10246
chmod a+x \$dldir/$dlname~
10247
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10248
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10250
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10251
dlpath=$dir/\$dldll~
10253
shlibpath_overrides_runpath=yes
10257
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10258
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10260
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10263
# MinGW DLLs use traditional 'lib' prefix
10264
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10267
# pw32 DLLs use 'pw' prefix rather than 'lib'
10268
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10271
dynamic_linker='Win32 ld.exe'
10276
libname_spec='$name'
10277
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10278
library_names_spec='${libname}.dll.lib'
10282
sys_lib_search_path_spec=
10285
for lt_path in $LIB
10288
# Let DOS variable expansion print the short 8.3 style file name.
10289
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10290
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10293
# Convert to MSYS style.
10294
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10297
# Convert to unix form, then to dos form, then back to unix form
10298
# but this time dos style (no spaces!) so that the unix form looks
10299
# like /cygdrive/c/PROGRA~1:/cygdr...
10300
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10301
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10302
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10305
sys_lib_search_path_spec="$LIB"
10306
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10307
# It is most probably a Windows format PATH.
10308
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10310
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10312
# FIXME: find the short name or the path components, as spaces are
10313
# common. (e.g. "Program Files" -> "PROGRA~1")
10317
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10318
postinstall_cmds='base_file=`basename \${file}`~
10319
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10320
dldir=$destdir/`dirname \$dlpath`~
10321
test -d \$dldir || mkdir -p \$dldir~
10322
$install_prog $dir/$dlname \$dldir/$dlname'
10323
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10324
dlpath=$dir/\$dldll~
10326
shlibpath_overrides_runpath=yes
10327
dynamic_linker='Win32 link.exe'
10331
# Assume MSVC wrapper
10332
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10333
dynamic_linker='Win32 ld.exe'
10336
# FIXME: first we should search . and the directory the executable is in
10340
darwin* | rhapsody*)
10341
dynamic_linker="$host_os dyld"
10342
version_type=darwin
10345
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10346
soname_spec='${libname}${release}${major}$shared_ext'
10347
shlibpath_overrides_runpath=yes
10348
shlibpath_var=DYLD_LIBRARY_PATH
10349
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10351
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10352
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10356
version_type=linux # correct to gnu/linux during the next big refactor
10359
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10360
soname_spec='${libname}${release}${shared_ext}$major'
10361
shlibpath_var=LD_LIBRARY_PATH
10364
freebsd* | dragonfly*)
10365
# DragonFly does not have aout. When/if they implement a new
10366
# versioning mechanism, adjust this.
10367
if test -x /usr/bin/objformat; then
10368
objformat=`/usr/bin/objformat`
10371
freebsd[23].*) objformat=aout ;;
10372
*) objformat=elf ;;
10375
version_type=freebsd-$objformat
10376
case $version_type in
10378
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10383
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10387
shlibpath_var=LD_LIBRARY_PATH
10390
shlibpath_overrides_runpath=yes
10392
freebsd3.[01]* | freebsdelf3.[01]*)
10393
shlibpath_overrides_runpath=yes
10394
hardcode_into_libs=yes
10396
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10397
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10398
shlibpath_overrides_runpath=no
10399
hardcode_into_libs=yes
10401
*) # from 4.6 on, and DragonFly
10402
shlibpath_overrides_runpath=yes
10403
hardcode_into_libs=yes
10409
version_type=linux # correct to gnu/linux during the next big refactor
10412
dynamic_linker="$host_os runtime_loader"
10413
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10414
soname_spec='${libname}${release}${shared_ext}$major'
10415
shlibpath_var=LIBRARY_PATH
10416
shlibpath_overrides_runpath=yes
10417
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10418
hardcode_into_libs=yes
10421
hpux9* | hpux10* | hpux11*)
10422
# Give a soname corresponding to the major version so that dld.sl refuses to
10423
# link against other versions.
10430
hardcode_into_libs=yes
10431
dynamic_linker="$host_os dld.so"
10432
shlibpath_var=LD_LIBRARY_PATH
10433
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10434
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10435
soname_spec='${libname}${release}${shared_ext}$major'
10436
if test "X$HPUX_IA64_MODE" = X32; then
10437
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10439
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10441
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10445
hardcode_into_libs=yes
10446
dynamic_linker="$host_os dld.sl"
10447
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10448
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10449
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450
soname_spec='${libname}${release}${shared_ext}$major'
10451
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10452
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10456
dynamic_linker="$host_os dld.sl"
10457
shlibpath_var=SHLIB_PATH
10458
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10459
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460
soname_spec='${libname}${release}${shared_ext}$major'
10463
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10464
postinstall_cmds='chmod 555 $lib'
10465
# or fails outright, so override atomically:
10466
install_override_mode=555
10470
version_type=linux # correct to gnu/linux during the next big refactor
10473
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10474
soname_spec='${libname}${release}${shared_ext}$major'
10475
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10476
shlibpath_var=LD_LIBRARY_PATH
10477
shlibpath_overrides_runpath=no
10478
hardcode_into_libs=yes
10481
irix5* | irix6* | nonstopux*)
10483
nonstopux*) version_type=nonstopux ;;
10485
if test "$lt_cv_prog_gnu_ld" = yes; then
10486
version_type=linux # correct to gnu/linux during the next big refactor
10493
soname_spec='${libname}${release}${shared_ext}$major'
10494
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10496
irix5* | nonstopux*)
10497
libsuff= shlibsuff=
10500
case $LD in # libtool.m4 will add one of these switches to LD
10501
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10502
libsuff= shlibsuff= libmagic=32-bit;;
10503
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10504
libsuff=32 shlibsuff=N32 libmagic=N32;;
10505
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10506
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10507
*) libsuff= shlibsuff= libmagic=never-match;;
10511
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10512
shlibpath_overrides_runpath=no
10513
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10514
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10515
hardcode_into_libs=yes
10518
# No shared lib support for Linux oldld, aout, or coff.
10519
linux*oldld* | linux*aout* | linux*coff*)
10523
# This must be glibc/ELF.
10524
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10525
version_type=linux # correct to gnu/linux during the next big refactor
10528
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529
soname_spec='${libname}${release}${shared_ext}$major'
10530
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10531
shlibpath_var=LD_LIBRARY_PATH
10532
shlibpath_overrides_runpath=no
10534
# Some binutils ld are patched to set DT_RUNPATH
10535
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10536
$as_echo_n "(cached) " >&6
10538
lt_cv_shlibpath_overrides_runpath=no
10539
save_LDFLAGS=$LDFLAGS
10540
save_libdir=$libdir
10541
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10542
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10543
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544
/* end confdefs.h. */
10554
if ac_fn_c_try_link "$LINENO"; then :
10555
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10556
lt_cv_shlibpath_overrides_runpath=yes
10559
rm -f core conftest.err conftest.$ac_objext \
10560
conftest$ac_exeext conftest.$ac_ext
10561
LDFLAGS=$save_LDFLAGS
10562
libdir=$save_libdir
10566
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10568
# This implies no fast_install, which is unacceptable.
10569
# Some rework will be needed to allow for fast_install
10570
# before this can be enabled.
10571
hardcode_into_libs=yes
10573
# Append ld.so.conf contents to the search path
10574
if test -f /etc/ld.so.conf; then
10575
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10576
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10579
# We used to test for /lib/ld.so.1 and disable shared libraries on
10580
# powerpc, because MkLinux only supported shared libraries with the
10581
# GNU dynamic linker. Since this was broken with cross compilers,
10582
# most powerpc-linux boxes support dynamic linking these days and
10583
# people can always --disable-shared, the test was removed, and we
10584
# assume the GNU/Linux dynamic linker is in use.
10585
dynamic_linker='GNU/Linux ld.so'
10592
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10593
soname_spec='${libname}${release}${shared_ext}$major'
10594
shlibpath_var=LD_LIBRARY_PATH
10595
shlibpath_overrides_runpath=no
10596
hardcode_into_libs=yes
10597
dynamic_linker='NetBSD ld.elf_so'
10604
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10605
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10606
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10607
dynamic_linker='NetBSD (a.out) ld.so'
10609
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10610
soname_spec='${libname}${release}${shared_ext}$major'
10611
dynamic_linker='NetBSD ld.elf_so'
10613
shlibpath_var=LD_LIBRARY_PATH
10614
shlibpath_overrides_runpath=yes
10615
hardcode_into_libs=yes
10619
version_type=linux # correct to gnu/linux during the next big refactor
10620
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621
shlibpath_var=LD_LIBRARY_PATH
10622
shlibpath_overrides_runpath=yes
10629
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630
soname_spec='${libname}${release}${shared_ext}$major'
10631
shlibpath_var=LD_LIBRARY_PATH
10632
shlibpath_overrides_runpath=no
10633
hardcode_into_libs=yes
10634
dynamic_linker='ldqnx.so'
10639
sys_lib_dlsearch_path_spec="/usr/lib"
10641
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10643
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10644
*) need_version=no ;;
10646
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10647
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10648
shlibpath_var=LD_LIBRARY_PATH
10649
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10651
openbsd2.[89] | openbsd2.[89].*)
10652
shlibpath_overrides_runpath=no
10655
shlibpath_overrides_runpath=yes
10659
shlibpath_overrides_runpath=yes
10664
libname_spec='$name'
10667
library_names_spec='$libname${shared_ext} $libname.a'
10668
dynamic_linker='OS/2 ld.exe'
10669
shlibpath_var=LIBPATH
10672
osf3* | osf4* | osf5*)
10676
soname_spec='${libname}${release}${shared_ext}$major'
10677
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678
shlibpath_var=LD_LIBRARY_PATH
10679
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10680
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10688
version_type=linux # correct to gnu/linux during the next big refactor
10691
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692
soname_spec='${libname}${release}${shared_ext}$major'
10693
shlibpath_var=LD_LIBRARY_PATH
10694
shlibpath_overrides_runpath=yes
10695
hardcode_into_libs=yes
10696
# ldd complains unless libraries are executable
10697
postinstall_cmds='chmod +x $lib'
10702
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10703
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10704
shlibpath_var=LD_LIBRARY_PATH
10705
shlibpath_overrides_runpath=yes
10706
if test "$with_gnu_ld" = yes; then
10713
version_type=linux # correct to gnu/linux during the next big refactor
10714
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715
soname_spec='${libname}${release}${shared_ext}$major'
10716
shlibpath_var=LD_LIBRARY_PATH
10717
case $host_vendor in
10719
shlibpath_overrides_runpath=no
10721
runpath_var=LD_RUN_PATH
10729
shlibpath_overrides_runpath=no
10730
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10736
if test -d /usr/nec ;then
10737
version_type=linux # correct to gnu/linux during the next big refactor
10738
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10739
soname_spec='$libname${shared_ext}.$major'
10740
shlibpath_var=LD_LIBRARY_PATH
10744
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10745
version_type=freebsd-elf
10748
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10749
soname_spec='${libname}${release}${shared_ext}$major'
10750
shlibpath_var=LD_LIBRARY_PATH
10751
shlibpath_overrides_runpath=yes
10752
hardcode_into_libs=yes
10753
if test "$with_gnu_ld" = yes; then
10754
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10756
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10759
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10763
sys_lib_dlsearch_path_spec='/usr/lib'
10767
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10768
version_type=linux # correct to gnu/linux during the next big refactor
10771
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772
shlibpath_var=LD_LIBRARY_PATH
10773
shlibpath_overrides_runpath=no
10774
hardcode_into_libs=yes
10778
version_type=linux # correct to gnu/linux during the next big refactor
10779
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780
soname_spec='${libname}${release}${shared_ext}$major'
10781
shlibpath_var=LD_LIBRARY_PATH
10788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10789
$as_echo "$dynamic_linker" >&6; }
10790
test "$dynamic_linker" = no && can_build_shared=no
10792
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10793
if test "$GCC" = yes; then
10794
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10797
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10798
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10800
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10801
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10896
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10898
if test -n "$hardcode_libdir_flag_spec" ||
10899
test -n "$runpath_var" ||
10900
test "X$hardcode_automatic" = "Xyes" ; then
10902
# We can hardcode non-existent directories.
10903
if test "$hardcode_direct" != no &&
10904
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10905
# have to relink, otherwise we might link with an installed library
10906
# when we should be linking with a yet-to-be-installed one
10907
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10908
test "$hardcode_minus_L" != no; then
10909
# Linking always hardcodes the temporary library directory.
10910
hardcode_action=relink
10912
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10913
hardcode_action=immediate
10916
# We cannot hardcode anything, or else we can only hardcode existing
10918
hardcode_action=unsupported
10920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10921
$as_echo "$hardcode_action" >&6; }
10923
if test "$hardcode_action" = relink ||
10924
test "$inherit_rpath" = yes; then
10925
# Fast installation is not supported
10926
enable_fast_install=no
10927
elif test "$shlibpath_overrides_runpath" = yes ||
10928
test "$enable_shared" = no; then
10929
# Fast installation is not necessary
10930
enable_fast_install=needless
10938
if test "x$enable_dlopen" != xyes; then
10939
enable_dlopen=unknown
10940
enable_dlopen_self=unknown
10941
enable_dlopen_self_static=unknown
10948
lt_cv_dlopen="load_add_on"
10950
lt_cv_dlopen_self=yes
10953
mingw* | pw32* | cegcc*)
10954
lt_cv_dlopen="LoadLibrary"
10959
lt_cv_dlopen="dlopen"
10964
# if libdl is installed we need to link against it
10965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10966
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10967
if ${ac_cv_lib_dl_dlopen+:} false; then :
10968
$as_echo_n "(cached) " >&6
10970
ac_check_lib_save_LIBS=$LIBS
10972
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973
/* end confdefs.h. */
10975
/* Override any GCC internal prototype to avoid an error.
10976
Use char because int might match the return type of a GCC
10977
builtin and then its argument prototype would still apply. */
10990
if ac_fn_c_try_link "$LINENO"; then :
10991
ac_cv_lib_dl_dlopen=yes
10993
ac_cv_lib_dl_dlopen=no
10995
rm -f core conftest.err conftest.$ac_objext \
10996
conftest$ac_exeext conftest.$ac_ext
10997
LIBS=$ac_check_lib_save_LIBS
10999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11000
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11001
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11002
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11005
lt_cv_dlopen="dyld"
11007
lt_cv_dlopen_self=yes
11014
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11015
if test "x$ac_cv_func_shl_load" = xyes; then :
11016
lt_cv_dlopen="shl_load"
11018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11019
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11020
if ${ac_cv_lib_dld_shl_load+:} false; then :
11021
$as_echo_n "(cached) " >&6
11023
ac_check_lib_save_LIBS=$LIBS
11025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026
/* end confdefs.h. */
11028
/* Override any GCC internal prototype to avoid an error.
11029
Use char because int might match the return type of a GCC
11030
builtin and then its argument prototype would still apply. */
11038
return shl_load ();
11043
if ac_fn_c_try_link "$LINENO"; then :
11044
ac_cv_lib_dld_shl_load=yes
11046
ac_cv_lib_dld_shl_load=no
11048
rm -f core conftest.err conftest.$ac_objext \
11049
conftest$ac_exeext conftest.$ac_ext
11050
LIBS=$ac_check_lib_save_LIBS
11052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11053
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11054
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11055
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11057
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11058
if test "x$ac_cv_func_dlopen" = xyes; then :
11059
lt_cv_dlopen="dlopen"
11061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11062
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11063
if ${ac_cv_lib_dl_dlopen+:} false; then :
11064
$as_echo_n "(cached) " >&6
11066
ac_check_lib_save_LIBS=$LIBS
11068
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069
/* end confdefs.h. */
11071
/* Override any GCC internal prototype to avoid an error.
11072
Use char because int might match the return type of a GCC
11073
builtin and then its argument prototype would still apply. */
11086
if ac_fn_c_try_link "$LINENO"; then :
11087
ac_cv_lib_dl_dlopen=yes
11089
ac_cv_lib_dl_dlopen=no
11091
rm -f core conftest.err conftest.$ac_objext \
11092
conftest$ac_exeext conftest.$ac_ext
11093
LIBS=$ac_check_lib_save_LIBS
11095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11096
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11097
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11098
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11101
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11102
if ${ac_cv_lib_svld_dlopen+:} false; then :
11103
$as_echo_n "(cached) " >&6
11105
ac_check_lib_save_LIBS=$LIBS
11106
LIBS="-lsvld $LIBS"
11107
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108
/* end confdefs.h. */
11110
/* Override any GCC internal prototype to avoid an error.
11111
Use char because int might match the return type of a GCC
11112
builtin and then its argument prototype would still apply. */
11125
if ac_fn_c_try_link "$LINENO"; then :
11126
ac_cv_lib_svld_dlopen=yes
11128
ac_cv_lib_svld_dlopen=no
11130
rm -f core conftest.err conftest.$ac_objext \
11131
conftest$ac_exeext conftest.$ac_ext
11132
LIBS=$ac_check_lib_save_LIBS
11134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11135
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11136
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11137
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11140
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11141
if ${ac_cv_lib_dld_dld_link+:} false; then :
11142
$as_echo_n "(cached) " >&6
11144
ac_check_lib_save_LIBS=$LIBS
11146
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147
/* end confdefs.h. */
11149
/* Override any GCC internal prototype to avoid an error.
11150
Use char because int might match the return type of a GCC
11151
builtin and then its argument prototype would still apply. */
11159
return dld_link ();
11164
if ac_fn_c_try_link "$LINENO"; then :
11165
ac_cv_lib_dld_dld_link=yes
11167
ac_cv_lib_dld_dld_link=no
11169
rm -f core conftest.err conftest.$ac_objext \
11170
conftest$ac_exeext conftest.$ac_ext
11171
LIBS=$ac_check_lib_save_LIBS
11173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11174
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11175
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11176
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11197
if test "x$lt_cv_dlopen" != xno; then
11203
case $lt_cv_dlopen in
11205
save_CPPFLAGS="$CPPFLAGS"
11206
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11208
save_LDFLAGS="$LDFLAGS"
11209
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11212
LIBS="$lt_cv_dlopen_libs $LIBS"
11214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11215
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11216
if ${lt_cv_dlopen_self+:} false; then :
11217
$as_echo_n "(cached) " >&6
11219
if test "$cross_compiling" = yes; then :
11220
lt_cv_dlopen_self=cross
11222
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11223
lt_status=$lt_dlunknown
11224
cat > conftest.$ac_ext <<_LT_EOF
11225
#line $LINENO "configure"
11226
#include "confdefs.h"
11235
# define LT_DLGLOBAL RTLD_GLOBAL
11238
# define LT_DLGLOBAL DL_GLOBAL
11240
# define LT_DLGLOBAL 0
11244
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11245
find out it does not work in some platform. */
11246
#ifndef LT_DLLAZY_OR_NOW
11248
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11251
# define LT_DLLAZY_OR_NOW DL_LAZY
11254
# define LT_DLLAZY_OR_NOW RTLD_NOW
11257
# define LT_DLLAZY_OR_NOW DL_NOW
11259
# define LT_DLLAZY_OR_NOW 0
11266
/* When -fvisbility=hidden is used, assume the code has been annotated
11267
correspondingly for the symbols needed. */
11268
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11269
int fnord () __attribute__((visibility("default")));
11272
int fnord () { return 42; }
11275
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11276
int status = $lt_dlunknown;
11280
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11283
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11284
else puts (dlerror ());
11286
/* dlclose (self); */
11294
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11295
(eval $ac_link) 2>&5
11297
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11298
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11299
(./conftest; exit; ) >&5 2>/dev/null
11301
case x$lt_status in
11302
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11303
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11304
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11307
# compilation failed
11308
lt_cv_dlopen_self=no
11315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11316
$as_echo "$lt_cv_dlopen_self" >&6; }
11318
if test "x$lt_cv_dlopen_self" = xyes; then
11319
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11321
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11322
if ${lt_cv_dlopen_self_static+:} false; then :
11323
$as_echo_n "(cached) " >&6
11325
if test "$cross_compiling" = yes; then :
11326
lt_cv_dlopen_self_static=cross
11328
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11329
lt_status=$lt_dlunknown
11330
cat > conftest.$ac_ext <<_LT_EOF
11331
#line $LINENO "configure"
11332
#include "confdefs.h"
11341
# define LT_DLGLOBAL RTLD_GLOBAL
11344
# define LT_DLGLOBAL DL_GLOBAL
11346
# define LT_DLGLOBAL 0
11350
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11351
find out it does not work in some platform. */
11352
#ifndef LT_DLLAZY_OR_NOW
11354
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11357
# define LT_DLLAZY_OR_NOW DL_LAZY
11360
# define LT_DLLAZY_OR_NOW RTLD_NOW
11363
# define LT_DLLAZY_OR_NOW DL_NOW
11365
# define LT_DLLAZY_OR_NOW 0
11372
/* When -fvisbility=hidden is used, assume the code has been annotated
11373
correspondingly for the symbols needed. */
11374
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11375
int fnord () __attribute__((visibility("default")));
11378
int fnord () { return 42; }
11381
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11382
int status = $lt_dlunknown;
11386
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11389
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11390
else puts (dlerror ());
11392
/* dlclose (self); */
11400
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11401
(eval $ac_link) 2>&5
11403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11404
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11405
(./conftest; exit; ) >&5 2>/dev/null
11407
case x$lt_status in
11408
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11409
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11410
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11413
# compilation failed
11414
lt_cv_dlopen_self_static=no
11421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11422
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11425
CPPFLAGS="$save_CPPFLAGS"
11426
LDFLAGS="$save_LDFLAGS"
11431
case $lt_cv_dlopen_self in
11432
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11433
*) enable_dlopen_self=unknown ;;
11436
case $lt_cv_dlopen_self_static in
11437
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11438
*) enable_dlopen_self_static=unknown ;;
11460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11461
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11462
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11463
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11464
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11466
$as_echo "yes" >&6; }
11468
# FIXME - insert some real tests, host_os isn't really good enough
11471
if test -n "$STRIP" ; then
11472
striplib="$STRIP -x"
11473
old_striplib="$STRIP -S"
11474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11475
$as_echo "yes" >&6; }
11477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11478
$as_echo "no" >&6; }
11482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11483
$as_echo "no" >&6; }
11499
# Report which library types will actually be built
11500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11501
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11503
$as_echo "$can_build_shared" >&6; }
11505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11506
$as_echo_n "checking whether to build shared libraries... " >&6; }
11507
test "$can_build_shared" = "no" && enable_shared=no
11509
# On AIX, shared libraries and static libraries use the same namespace, and
11510
# are all built from PIC.
11513
test "$enable_shared" = yes && enable_static=no
11514
if test -n "$RANLIB"; then
11515
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11516
postinstall_cmds='$RANLIB $lib'
11521
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11522
test "$enable_shared" = yes && enable_static=no
11526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11527
$as_echo "$enable_shared" >&6; }
11529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11530
$as_echo_n "checking whether to build static libraries... " >&6; }
11531
# Make sure either enable_shared or enable_static is yes.
11532
test "$enable_shared" = yes || enable_static=yes
11533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11534
$as_echo "$enable_static" >&6; }
11541
ac_cpp='$CPP $CPPFLAGS'
11542
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11543
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11544
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11562
ac_config_commands="$ac_config_commands libtool"
11567
# Only expand once:
11570
# Extract the first word of "texi2dvi", so it can be a program name with args.
11571
set dummy texi2dvi; ac_word=$2
11572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11573
$as_echo_n "checking for $ac_word... " >&6; }
11574
if ${ac_cv_prog_TEXI2DVI+:} false; then :
11575
$as_echo_n "(cached) " >&6
11577
if test -n "$TEXI2DVI"; then
11578
ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test.
11580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11581
for as_dir in $PATH
11584
test -z "$as_dir" && as_dir=.
11585
for ac_exec_ext in '' $ac_executable_extensions; do
11586
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11587
ac_cv_prog_TEXI2DVI="texi2dvi"
11588
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11597
TEXI2DVI=$ac_cv_prog_TEXI2DVI
11598
if test -n "$TEXI2DVI"; then
11599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2DVI" >&5
11600
$as_echo "$TEXI2DVI" >&6; }
11602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603
$as_echo "no" >&6; }
11607
if test -n "$TEXI2DVI"; then
11608
HAVE_TEXI2DVI_TRUE=
11609
HAVE_TEXI2DVI_FALSE='#'
11611
HAVE_TEXI2DVI_TRUE='#'
11612
HAVE_TEXI2DVI_FALSE=
11617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
11618
$as_echo_n "checking for C compiler vendor... " >&6; }
11619
if ${ax_cv_c_compiler_vendor+:} false; then :
11620
$as_echo_n "(cached) " >&6
11622
ax_cv_c_compiler_vendor=unknown
11623
# note: don't check for gcc first since some other compilers define __GNUC__
11624
for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
11625
vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
11626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627
/* end confdefs.h. */
11641
if ac_fn_c_try_compile "$LINENO"; then :
11642
ax_cv_c_compiler_vendor=`echo $ventest | cut -d: -f1`; break
11644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
11649
$as_echo "$ax_cv_c_compiler_vendor" >&6; }
11656
@%:@ Check whether --enable-portable-binary was given.
11657
if test "${enable_portable_binary+set}" = set; then :
11658
enableval=$enable_portable_binary; acx_maxopt_portable=$withval
11660
acx_maxopt_portable=no
11664
# Try to determine "good" native compiler flags if none specified via CFLAGS
11665
if test "$ac_test_CFLAGS" != "set"; then
11667
case $ax_cv_c_compiler_vendor in
11668
dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
11669
if test "x$acx_maxopt_portable" = xno; then
11670
CFLAGS="$CFLAGS -arch host"
11673
sun) CFLAGS="-native -fast -xO5 -dalign"
11674
if test "x$acx_maxopt_portable" = xyes; then
11675
CFLAGS="$CFLAGS -xarch=generic"
11678
hp) CFLAGS="+Oall +Optrs_ansi +DSnative"
11679
if test "x$acx_maxopt_portable" = xyes; then
11680
CFLAGS="$CFLAGS +DAportable"
11683
ibm) if test "x$acx_maxopt_portable" = xno; then
11684
xlc_opt="-qarch=auto -qtune=auto"
11686
xlc_opt="-qtune=auto"
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $xlc_opt" >&5
11689
$as_echo_n "checking whether C compiler accepts $xlc_opt... " >&6; }
11690
ax_save_FLAGS=$CFLAGS
11692
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693
/* end confdefs.h. */
11703
if ac_fn_c_try_compile "$LINENO"; then :
11704
eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=yes
11706
eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=no
11708
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11709
CFLAGS=$ax_save_FLAGS
11710
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`
11711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11712
$as_echo "$ax_check_compiler_flags" >&6; }
11713
if test "x$ax_check_compiler_flags" = xyes; then
11714
CFLAGS="-O3 -qansialias -w $xlc_opt"
11716
CFLAGS="-O3 -qansialias -w"
11717
echo "******************************************************"
11718
echo "* You seem to have the IBM C compiler. It is *"
11719
echo "* recommended for best performance that you use: *"
11721
echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
11723
echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
11724
echo "* CPU you have. (Set the CFLAGS environment var. *"
11725
echo "* and re-run configure.) For more info, man cc. *"
11726
echo "******************************************************"
11731
intel) CFLAGS="-O3 -ansi_alias"
11732
if test "x$acx_maxopt_portable" = xno; then
11733
icc_archflag=unknown
11737
# icc accepts gcc assembly syntax, so these should work:
11740
ac_cpp='$CPP $CPPFLAGS'
11741
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
11746
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
11747
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
11748
$as_echo_n "(cached) " >&6
11750
if test "$cross_compiling" = yes; then :
11751
ax_cv_gcc_x86_cpuid_0=unknown
11753
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754
/* end confdefs.h. */
11760
int op = 0, eax, ebx, ecx, edx;
11763
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11765
f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11766
fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11774
if ac_fn_c_try_run "$LINENO"; then :
11775
ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
11777
ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
11779
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11780
conftest.$ac_objext conftest.beam conftest.$ac_ext
11784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
11785
$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
11787
ac_cpp='$CPP $CPPFLAGS'
11788
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11795
ac_cpp='$CPP $CPPFLAGS'
11796
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11797
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11798
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
11801
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
11802
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
11803
$as_echo_n "(cached) " >&6
11805
if test "$cross_compiling" = yes; then :
11806
ax_cv_gcc_x86_cpuid_1=unknown
11808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809
/* end confdefs.h. */
11815
int op = 1, eax, ebx, ecx, edx;
11818
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11820
f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11821
fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11829
if ac_fn_c_try_run "$LINENO"; then :
11830
ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
11832
ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
11834
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11835
conftest.$ac_objext conftest.beam conftest.$ac_ext
11839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
11840
$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
11842
ac_cpp='$CPP $CPPFLAGS'
11843
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11844
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11845
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11848
case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
11849
*:756e6547:*:*) # Intel
11850
case $ax_cv_gcc_x86_cpuid_1 in
11851
*6a?:*[234]:*:*|*6[789b]?:*:*:*) icc_flags="-xK";;
11852
*f3[347]:*:*:*|*f41347:*:*:*) icc_flags="-xP -xN -xW -xK";;
11853
*f??:*:*:*) icc_flags="-xN -xW -xK";;
11857
if test "x$icc_flags" != x; then
11858
for flag in $icc_flags; do
11859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
11860
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
11861
ax_save_FLAGS=$CFLAGS
11863
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11864
/* end confdefs.h. */
11874
if ac_fn_c_try_compile "$LINENO"; then :
11875
eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
11877
eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
11879
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11880
CFLAGS=$ax_save_FLAGS
11881
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
11882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11883
$as_echo "$ax_check_compiler_flags" >&6; }
11884
if test "x$ax_check_compiler_flags" = xyes; then
11885
icc_archflag=$flag; break
11892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for icc architecture flag" >&5
11893
$as_echo_n "checking for icc architecture flag... " >&6; }
11894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $icc_archflag" >&5
11895
$as_echo "$icc_archflag" >&6; }
11896
if test "x$icc_archflag" != xunknown; then
11897
CFLAGS="$CFLAGS $icc_archflag"
11903
# default optimization flags for gcc on all systems
11904
CFLAGS="-O3 -fomit-frame-pointer"
11906
# -malign-double for x86 systems
11907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5
11908
$as_echo_n "checking whether C compiler accepts -malign-double... " >&6; }
11909
if ${ax_cv_c_flags__malign_double+:} false; then :
11910
$as_echo_n "(cached) " >&6
11913
ax_save_FLAGS=$CFLAGS
11914
CFLAGS="-malign-double"
11915
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916
/* end confdefs.h. */
11926
if ac_fn_c_try_compile "$LINENO"; then :
11927
ax_cv_c_flags__malign_double=yes
11929
ax_cv_c_flags__malign_double=no
11931
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11932
CFLAGS=$ax_save_FLAGS
11935
eval ax_check_compiler_flags=$ax_cv_c_flags__malign_double
11936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11937
$as_echo "$ax_check_compiler_flags" >&6; }
11938
if test "x$ax_check_compiler_flags" = xyes; then
11939
CFLAGS="$CFLAGS -malign-double"
11945
# -fstrict-aliasing for gcc-2.95+
11946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5
11947
$as_echo_n "checking whether C compiler accepts -fstrict-aliasing... " >&6; }
11948
if ${ax_cv_c_flags__fstrict_aliasing+:} false; then :
11949
$as_echo_n "(cached) " >&6
11952
ax_save_FLAGS=$CFLAGS
11953
CFLAGS="-fstrict-aliasing"
11954
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955
/* end confdefs.h. */
11965
if ac_fn_c_try_compile "$LINENO"; then :
11966
ax_cv_c_flags__fstrict_aliasing=yes
11968
ax_cv_c_flags__fstrict_aliasing=no
11970
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11971
CFLAGS=$ax_save_FLAGS
11974
eval ax_check_compiler_flags=$ax_cv_c_flags__fstrict_aliasing
11975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11976
$as_echo "$ax_check_compiler_flags" >&6; }
11977
if test "x$ax_check_compiler_flags" = xyes; then
11978
CFLAGS="$CFLAGS -fstrict-aliasing"
11984
# note that we enable "unsafe" fp optimization with other compilers, too
11985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ffast-math" >&5
11986
$as_echo_n "checking whether C compiler accepts -ffast-math... " >&6; }
11987
if ${ax_cv_c_flags__ffast_math+:} false; then :
11988
$as_echo_n "(cached) " >&6
11991
ax_save_FLAGS=$CFLAGS
11992
CFLAGS="-ffast-math"
11993
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994
/* end confdefs.h. */
12004
if ac_fn_c_try_compile "$LINENO"; then :
12005
ax_cv_c_flags__ffast_math=yes
12007
ax_cv_c_flags__ffast_math=no
12009
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12010
CFLAGS=$ax_save_FLAGS
12013
eval ax_check_compiler_flags=$ax_cv_c_flags__ffast_math
12014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12015
$as_echo "$ax_check_compiler_flags" >&6; }
12016
if test "x$ax_check_compiler_flags" = xyes; then
12017
CFLAGS="$CFLAGS -ffast-math"
12027
@%:@ Check whether --with-gcc-arch was given.
12028
if test "${with_gcc_arch+set}" = set; then :
12029
withval=$with_gcc_arch; ax_gcc_arch=$withval
12035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
12036
$as_echo_n "checking for gcc architecture flag... " >&6; }
12037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12039
if ${ax_cv_gcc_archflag+:} false; then :
12040
$as_echo_n "(cached) " >&6
12043
ax_cv_gcc_archflag="unknown"
12045
if test "$GCC" = yes; then
12047
if test "x$ax_gcc_arch" = xyes; then
12049
if test "$cross_compiling" = no; then
12051
i[3456]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones
12054
ac_cpp='$CPP $CPPFLAGS'
12055
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
12060
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
12061
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
12062
$as_echo_n "(cached) " >&6
12064
if test "$cross_compiling" = yes; then :
12065
ax_cv_gcc_x86_cpuid_0=unknown
12067
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068
/* end confdefs.h. */
12074
int op = 0, eax, ebx, ecx, edx;
12077
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12079
f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12080
fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12088
if ac_fn_c_try_run "$LINENO"; then :
12089
ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
12091
ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
12093
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12094
conftest.$ac_objext conftest.beam conftest.$ac_ext
12098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
12099
$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
12101
ac_cpp='$CPP $CPPFLAGS'
12102
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12103
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12104
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12109
ac_cpp='$CPP $CPPFLAGS'
12110
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12112
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
12115
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
12116
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
12117
$as_echo_n "(cached) " >&6
12119
if test "$cross_compiling" = yes; then :
12120
ax_cv_gcc_x86_cpuid_1=unknown
12122
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123
/* end confdefs.h. */
12129
int op = 1, eax, ebx, ecx, edx;
12132
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12134
f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12135
fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12143
if ac_fn_c_try_run "$LINENO"; then :
12144
ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
12146
ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
12148
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12149
conftest.$ac_objext conftest.beam conftest.$ac_ext
12153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
12154
$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
12156
ac_cpp='$CPP $CPPFLAGS'
12157
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12158
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12159
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12162
case $ax_cv_gcc_x86_cpuid_0 in
12163
*:756e6547:*:*) # Intel
12164
case $ax_cv_gcc_x86_cpuid_1 in
12165
*5[48]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
12166
*5??:*:*:*) ax_gcc_arch=pentium ;;
12167
*6[3456]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12168
*6a?:*[01]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12169
*6a?:*[234]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12170
*6[9d]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
12171
*6[78b]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12172
*6??:*:*:*) ax_gcc_arch=pentiumpro ;;
12173
*f3[347]:*:*:*|*f41347:*:*:*)
12175
x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
12176
*) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
12178
*f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
12180
*:68747541:*:*) # AMD
12181
case $ax_cv_gcc_x86_cpuid_1 in
12182
*5[67]?:*:*:*) ax_gcc_arch=k6 ;;
12183
*5[8d]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
12184
*5[9]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
12185
*60?:*:*:*) ax_gcc_arch=k7 ;;
12186
*6[12]?:*:*:*) ax_gcc_arch="athlon k7" ;;
12187
*6[34]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
12188
*67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
12192
ac_cpp='$CPP $CPPFLAGS'
12193
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12194
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12195
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000006 output" >&5
12198
$as_echo_n "checking for x86 cpuid 0x80000006 output... " >&6; }
12199
if ${ax_cv_gcc_x86_cpuid_0x80000006+:} false; then :
12200
$as_echo_n "(cached) " >&6
12202
if test "$cross_compiling" = yes; then :
12203
ax_cv_gcc_x86_cpuid_0x80000006=unknown
12205
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206
/* end confdefs.h. */
12212
int op = 0x80000006, eax, ebx, ecx, edx;
12215
: "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12217
f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12218
fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12226
if ac_fn_c_try_run "$LINENO"; then :
12227
ax_cv_gcc_x86_cpuid_0x80000006=`cat conftest_cpuid`; rm -f conftest_cpuid
12229
ax_cv_gcc_x86_cpuid_0x80000006=unknown; rm -f conftest_cpuid
12231
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12232
conftest.$ac_objext conftest.beam conftest.$ac_ext
12236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x80000006" >&5
12237
$as_echo "$ax_cv_gcc_x86_cpuid_0x80000006" >&6; }
12239
ac_cpp='$CPP $CPPFLAGS'
12240
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12241
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12242
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12245
case $ax_cv_gcc_x86_cpuid_0x80000006 in
12246
*:*:*[1-9a-f]??????:*) # (L2 = ecx >> 16) >= 256
12247
ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
12248
*) ax_gcc_arch="athlon-4 athlon k7" ;;
12250
*f[4cef8b]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
12251
*f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
12252
*f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
12253
*f??:*:*:*) ax_gcc_arch="k8" ;;
12255
*:746e6543:*:*) # IDT
12256
case $ax_cv_gcc_x86_cpuid_1 in
12257
*54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
12258
*58?:*:*:*) ax_gcc_arch=winchip2 ;;
12259
*6[78]?:*:*:*) ax_gcc_arch=c3 ;;
12260
*69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
12263
if test x"$ax_gcc_arch" = x; then # fallback
12265
i586*) ax_gcc_arch=pentium ;;
12266
i686*) ax_gcc_arch=pentiumpro ;;
12272
# Extract the first word of "prtdiag", so it can be a program name with args.
12273
set dummy prtdiag; ac_word=$2
12274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12275
$as_echo_n "checking for $ac_word... " >&6; }
12276
if ${ac_cv_path_PRTDIAG+:} false; then :
12277
$as_echo_n "(cached) " >&6
12281
ac_cv_path_PRTDIAG="$PRTDIAG" # Let the user override the test with a path.
12284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12285
as_dummy="$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/"
12286
for as_dir in $as_dummy
12289
test -z "$as_dir" && as_dir=.
12290
for ac_exec_ext in '' $ac_executable_extensions; do
12291
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292
ac_cv_path_PRTDIAG="$as_dir/$ac_word$ac_exec_ext"
12293
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12300
test -z "$ac_cv_path_PRTDIAG" && ac_cv_path_PRTDIAG="prtdiag"
12304
PRTDIAG=$ac_cv_path_PRTDIAG
12305
if test -n "$PRTDIAG"; then
12306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRTDIAG" >&5
12307
$as_echo "$PRTDIAG" >&6; }
12309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12310
$as_echo "no" >&6; }
12314
cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
12315
cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
12317
*ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
12318
*ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
12319
*ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
12320
*supersparc*|*tms390z5[05]*) ax_gcc_arch="supersparc v8" ;;
12321
*hypersparc*|*rt62[056]*) ax_gcc_arch="hypersparc v8" ;;
12322
*cypress*) ax_gcc_arch=cypress ;;
12325
alphaev5) ax_gcc_arch=ev5 ;;
12326
alphaev56) ax_gcc_arch=ev56 ;;
12327
alphapca56) ax_gcc_arch="pca56 ev56" ;;
12328
alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
12329
alphaev6) ax_gcc_arch=ev6 ;;
12330
alphaev67) ax_gcc_arch=ev67 ;;
12331
alphaev68) ax_gcc_arch="ev68 ev67" ;;
12332
alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
12333
alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
12334
alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
12337
cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
12338
cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
12340
*750*) ax_gcc_arch="750 G3" ;;
12341
*740[0-9]*) ax_gcc_arch="$cputype 7400 G4" ;;
12342
*74[4-5][0-9]*) ax_gcc_arch="$cputype 7450 G4" ;;
12343
*74[0-9][0-9]*) ax_gcc_arch="$cputype G4" ;;
12344
*970*) ax_gcc_arch="970 G5 power4";;
12345
*POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
12346
*POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
12347
603ev|8240) ax_gcc_arch="$cputype 603e 603";;
12348
*) ax_gcc_arch=$cputype ;;
12350
ax_gcc_arch="$ax_gcc_arch powerpc"
12353
fi # not cross-compiling
12356
if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
12357
for arch in $ax_gcc_arch; do
12358
if test "x$acx_maxopt_portable" = xyes; then # if we require portable code
12359
flags="-mtune=$arch"
12360
# -mcpu=$arch and m$arch generate nonportable code on every arch except
12361
# x86. And some other arches (e.g. Alpha) don't accept -mtune. Grrr.
12362
case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
12364
flags="-march=$arch -mcpu=$arch -m$arch"
12366
for flag in $flags; do
12367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12368
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12369
ax_save_FLAGS=$CFLAGS
12371
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12372
/* end confdefs.h. */
12382
if ac_fn_c_try_compile "$LINENO"; then :
12383
eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
12385
eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
12387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388
CFLAGS=$ax_save_FLAGS
12389
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
12390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12391
$as_echo "$ax_check_compiler_flags" >&6; }
12392
if test "x$ax_check_compiler_flags" = xyes; then
12393
ax_cv_gcc_archflag=$flag; break
12399
test "x$ax_cv_gcc_archflag" = xunknown || break
12407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
12408
$as_echo_n "checking for gcc architecture flag... " >&6; }
12409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_archflag" >&5
12410
$as_echo "$ax_cv_gcc_archflag" >&6; }
12411
if test "x$ax_cv_gcc_archflag" = xunknown; then
12414
CFLAGS="$CFLAGS $ax_cv_gcc_archflag"
12420
if test -z "$CFLAGS"; then
12422
echo "********************************************************"
12423
echo "* WARNING: Don't know the best CFLAGS for this system *"
12424
echo "* Use ./configure CFLAGS=... to specify your own flags *"
12425
echo "* (otherwise, a default of CFLAGS=-O3 will be used) *"
12426
echo "********************************************************"
12431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS" >&5
12432
$as_echo_n "checking whether C compiler accepts $CFLAGS... " >&6; }
12433
ax_save_FLAGS=$CFLAGS
12435
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436
/* end confdefs.h. */
12446
if ac_fn_c_try_compile "$LINENO"; then :
12447
eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=yes
12449
eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=no
12451
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12452
CFLAGS=$ax_save_FLAGS
12453
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`
12454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12455
$as_echo "$ax_check_compiler_flags" >&6; }
12456
if test "x$ax_check_compiler_flags" = xyes; then
12461
echo "********************************************************"
12462
echo "* WARNING: The guessed CFLAGS don't seem to work with *"
12463
echo "* your compiler. *"
12464
echo "* Use ./configure CFLAGS=... to specify your own flags *"
12465
echo "********************************************************"
12475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS_WARN for maximum warnings" >&5
12476
$as_echo_n "checking CFLAGS_WARN for maximum warnings... " >&6; }
12477
if ${ac_cv_cflags_warn_all+:} false; then :
12478
$as_echo_n "(cached) " >&6
12480
ac_cv_cflags_warn_all="no, unknown"
12483
ac_cpp='$CPP $CPPFLAGS'
12484
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12485
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12486
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12488
ac_save_CFLAGS="$CFLAGS"
12489
for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
12490
do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
12491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492
/* end confdefs.h. */
12502
if ac_fn_c_try_compile "$LINENO"; then :
12503
ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
12505
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12507
CFLAGS="$ac_save_CFLAGS"
12509
ac_cpp='$CPP $CPPFLAGS'
12510
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12511
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12512
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12517
$as_echo "$ac_cv_cflags_warn_all" >&6; }
12518
case ".$ac_cv_cflags_warn_all" in
12523
if echo " $CFLAGS_WARN " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
12524
then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN does contain \$ac_cv_cflags_warn_all"; } >&5
12525
(: CFLAGS_WARN does contain $ac_cv_cflags_warn_all) 2>&5
12527
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528
test $ac_status = 0; }
12529
else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN=\"\$CFLAGS_WARN \$ac_cv_cflags_warn_all\""; } >&5
12530
(: CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all") 2>&5
12532
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12533
test $ac_status = 0; }
12534
CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all"
12540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12541
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12542
if ${ac_cv_c_const+:} false; then :
12543
$as_echo_n "(cached) " >&6
12545
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546
/* end confdefs.h. */
12552
#ifndef __cplusplus
12553
/* Ultrix mips cc rejects this sort of thing. */
12554
typedef int charset[2];
12555
const charset cs = { 0, 0 };
12556
/* SunOS 4.1.1 cc rejects this. */
12557
char const *const *pcpcc;
12559
/* NEC SVR4.0.2 mips cc rejects this. */
12560
struct point {int x, y;};
12561
static struct point const zero = {0,0};
12562
/* AIX XL C 1.02.0.0 rejects this.
12563
It does not let you subtract one const X* pointer from another in
12564
an arm of an if-expression whose if-part is not a constant
12566
const char *g = "string";
12567
pcpcc = &g + (g ? g-g : 0);
12568
/* HPUX 7.0 cc rejects these. */
12570
ppc = (char**) pcpcc;
12571
pcpcc = (char const *const *) ppc;
12572
{ /* SCO 3.2v4 cc rejects this sort of thing. */
12575
char const *s = 0 ? (char *) 0 : (char const *) 0;
12580
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12581
int x[] = {25, 17};
12582
const int *foo = &x[0];
12585
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12586
typedef const int *iptr;
12590
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12591
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12592
struct s { int j; const int *ap[3]; } bx;
12593
struct s *b = &bx; b->j = 5;
12595
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12596
const int foo = 10;
12597
if (!foo) return 0;
12599
return !cs[0] && !zero.x;
12606
if ac_fn_c_try_compile "$LINENO"; then :
12611
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12614
$as_echo "$ac_cv_c_const" >&6; }
12615
if test $ac_cv_c_const = no; then
12617
$as_echo "@%:@define const /**/" >>confdefs.h
12621
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12622
if test "x$ac_cv_type_size_t" = xyes; then :
12626
cat >>confdefs.h <<_ACEOF
12627
@%:@define size_t unsigned int
12635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12636
$as_echo_n "checking for ANSI C header files... " >&6; }
12637
if ${ac_cv_header_stdc+:} false; then :
12638
$as_echo_n "(cached) " >&6
12640
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641
/* end confdefs.h. */
12642
#include <stdlib.h>
12643
#include <stdarg.h>
12644
#include <string.h>
12655
if ac_fn_c_try_compile "$LINENO"; then :
12656
ac_cv_header_stdc=yes
12658
ac_cv_header_stdc=no
12660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12662
if test $ac_cv_header_stdc = yes; then
12663
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12664
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665
/* end confdefs.h. */
12666
#include <string.h>
12669
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12670
$EGREP "memchr" >/dev/null 2>&1; then :
12673
ac_cv_header_stdc=no
12679
if test $ac_cv_header_stdc = yes; then
12680
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12681
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682
/* end confdefs.h. */
12683
#include <stdlib.h>
12686
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12687
$EGREP "free" >/dev/null 2>&1; then :
12690
ac_cv_header_stdc=no
12696
if test $ac_cv_header_stdc = yes; then
12697
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12698
if test "$cross_compiling" = yes; then :
12701
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702
/* end confdefs.h. */
12704
#include <stdlib.h>
12705
#if ((' ' & 0x0FF) == 0x020)
12706
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12707
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12709
# define ISLOWER(c) \
12710
(('a' <= (c) && (c) <= 'i') \
12711
|| ('j' <= (c) && (c) <= 'r') \
12712
|| ('s' <= (c) && (c) <= 'z'))
12713
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12716
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12721
for (i = 0; i < 256; i++)
12722
if (XOR (islower (i), ISLOWER (i))
12723
|| toupper (i) != TOUPPER (i))
12728
if ac_fn_c_try_run "$LINENO"; then :
12731
ac_cv_header_stdc=no
12733
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12734
conftest.$ac_objext conftest.beam conftest.$ac_ext
12739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12740
$as_echo "$ac_cv_header_stdc" >&6; }
12741
if test $ac_cv_header_stdc = yes; then
12743
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
12749
for ac_func in strtol
12751
ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
12752
if test "x$ac_cv_func_strtol" = xyes; then :
12753
cat >>confdefs.h <<_ACEOF
12754
@%:@define HAVE_STRTOL 1
12763
for ac_func in getrusage
12765
ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
12766
if test "x$ac_cv_func_getrusage" = xyes; then :
12767
cat >>confdefs.h <<_ACEOF
12768
@%:@define HAVE_GETRUSAGE 1
12771
$as_echo "@%:@define CLOOG_RUSAGE /**/" >>confdefs.h
12780
@%:@ Check whether --with-isl was given.
12781
if test "${with_isl+set}" = set; then :
12786
no|system|build|bundled)
12788
@%:@ Check whether --with-isl_prefix was given.
12789
if test "${with_isl_prefix+set}" = set; then :
12790
withval=$with_isl_prefix;
12794
@%:@ Check whether --with-isl_exec_prefix was given.
12795
if test "${with_isl_exec_prefix+set}" = set; then :
12796
withval=$with_isl_exec_prefix;
12801
no|system|build|bundled)
12803
@%:@ Check whether --with-isl_builddir was given.
12804
if test "${with_isl_builddir+set}" = set; then :
12805
withval=$with_isl_builddir;
12809
if test "x$with_isl_prefix" != "x" -a "x$with_isl_exec_prefix" = "x"; then
12810
with_isl_exec_prefix=$with_isl_prefix
12812
if test "x$with_isl_prefix" != "x" -o "x$with_isl_exec_prefix" != "x"; then
12813
if test "x$with_isl" != "x" -a "x$with_isl" != "xsystem"; then
12814
as_fn_error $? "Setting $with_isl_prefix implies use of system isl" "$LINENO" 5
12818
if test "x$with_isl_builddir" != "x"; then
12819
if test "x$with_isl" != "x" -a "x$with_isl" != "xbuild"; then
12820
as_fn_error $? "Setting $with_isl_builddir implies use of build isl" "$LINENO" 5
12823
isl_srcdir=`echo @abs_srcdir@ | $with_isl_builddir/config.status --file=-`
12824
{ $as_echo "$as_me:${as_lineno-$LINENO}: isl sources in $isl_srcdir" >&5
12825
$as_echo "$as_me: isl sources in $isl_srcdir" >&6;}
12827
case "$with_isl" in
12828
no|system|build|bundled)
12831
if test -d $srcdir/.git -a \
12832
-d $srcdir/isl -a \
12833
! -d $srcdir/isl/.git; then
12834
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule isl not initialized" >&5
12835
$as_echo "$as_me: WARNING: git repo detected, but submodule isl not initialized" >&2;}
12836
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
12837
$as_echo "$as_me: WARNING: You may want to run" >&2;}
12838
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5
12839
$as_echo "$as_me: WARNING: git submodule init" >&2;}
12840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5
12841
$as_echo "$as_me: WARNING: git submodule update" >&2;}
12842
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5
12843
$as_echo "$as_me: WARNING: sh autogen.sh" >&2;}
12845
if test -f $srcdir/isl/configure -a "bundled" != "no"; then
12852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which isl to use" >&5
12853
$as_echo_n "checking which isl to use... " >&6; }
12854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isl" >&5
12855
$as_echo "$with_isl" >&6; }
12864
@%:@ Check whether --with-gmp was given.
12865
if test "${with_gmp+set}" = set; then :
12872
@%:@ Check whether --with-gmp_prefix was given.
12873
if test "${with_gmp_prefix+set}" = set; then :
12874
withval=$with_gmp_prefix;
12878
@%:@ Check whether --with-gmp_exec_prefix was given.
12879
if test "${with_gmp_exec_prefix+set}" = set; then :
12880
withval=$with_gmp_exec_prefix;
12887
@%:@ Check whether --with-gmp_builddir was given.
12888
if test "${with_gmp_builddir+set}" = set; then :
12889
withval=$with_gmp_builddir;
12893
if test "x$with_gmp_prefix" != "x" -a "x$with_gmp_exec_prefix" = "x"; then
12894
with_gmp_exec_prefix=$with_gmp_prefix
12896
if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then
12897
if test "x$with_gmp" != "x" -a "x$with_gmp" != "xsystem"; then
12898
as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
12902
if test "x$with_gmp_builddir" != "x"; then
12903
if test "x$with_gmp" != "x" -a "x$with_gmp" != "xbuild"; then
12904
as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
12907
gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-`
12908
{ $as_echo "$as_me:${as_lineno-$LINENO}: gmp sources in $gmp_srcdir" >&5
12909
$as_echo "$as_me: gmp sources in $gmp_srcdir" >&6;}
12911
case "$with_gmp" in
12915
if test -d $srcdir/.git -a \
12916
-d $srcdir/gmp -a \
12917
! -d $srcdir/gmp/.git; then
12918
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule gmp not initialized" >&5
12919
$as_echo "$as_me: WARNING: git repo detected, but submodule gmp not initialized" >&2;}
12920
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
12921
$as_echo "$as_me: WARNING: You may want to run" >&2;}
12922
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5
12923
$as_echo "$as_me: WARNING: git submodule init" >&2;}
12924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5
12925
$as_echo "$as_me: WARNING: git submodule update" >&2;}
12926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5
12927
$as_echo "$as_me: WARNING: sh autogen.sh" >&2;}
12929
if test -f $srcdir/gmp/configure -a "system" != "no"; then
12936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gmp to use" >&5
12937
$as_echo_n "checking which gmp to use... " >&6; }
12938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gmp" >&5
12939
$as_echo "$with_gmp" >&6; }
12943
need_get_memory_functions=false
12944
case "$with_gmp" in
12946
CPPFLAGS="-I$with_gmp_builddir $CPPFLAGS"
12947
LDFLAGS="-L$with_gmp_builddir/$lt_cv_objdir $LDFLAGS"
12950
if test "x$with_gmp_prefix" != "x"; then
12951
CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
12954
if test "$with_gmp_exec_prefix" != "yes" ; then
12955
LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
12959
case "$with_gmp" in
12961
ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
12962
if test "x$ac_cv_header_gmp_h" = xyes; then :
12965
as_fn_error $? "Can't find gmp headers." "$LINENO" 5
12969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
12970
$as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
12971
if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
12972
$as_echo_n "(cached) " >&6
12974
ac_check_lib_save_LIBS=$LIBS
12976
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977
/* end confdefs.h. */
12979
/* Override any GCC internal prototype to avoid an error.
12980
Use char because int might match the return type of a GCC
12981
builtin and then its argument prototype would still apply. */
12985
char __gmpz_init ();
12989
return __gmpz_init ();
12994
if ac_fn_c_try_link "$LINENO"; then :
12995
ac_cv_lib_gmp___gmpz_init=yes
12997
ac_cv_lib_gmp___gmpz_init=no
12999
rm -f core conftest.err conftest.$ac_objext \
13000
conftest$ac_exeext conftest.$ac_ext
13001
LIBS=$ac_check_lib_save_LIBS
13003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
13004
$as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
13005
if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
13008
as_fn_error $? "Can't find gmp library." "$LINENO" 5
13011
ac_fn_c_check_decl "$LINENO" "mp_get_memory_functions" "ac_cv_have_decl_mp_get_memory_functions" "#include <gmp.h>
13013
if test "x$ac_cv_have_decl_mp_get_memory_functions" = xyes; then :
13019
cat >>confdefs.h <<_ACEOF
13020
@%:@define HAVE_DECL_MP_GET_MEMORY_FUNCTIONS $ac_have_decl
13022
if test $ac_have_decl = 1; then :
13026
need_get_memory_functions=true
13032
if test x$need_get_memory_functions = xtrue; then
13033
NEED_GET_MEMORY_FUNCTIONS_TRUE=
13034
NEED_GET_MEMORY_FUNCTIONS_FALSE='#'
13036
NEED_GET_MEMORY_FUNCTIONS_TRUE='#'
13037
NEED_GET_MEMORY_FUNCTIONS_FALSE=
13045
case "$with_isl" in
13047
ISL_CPPFLAGS="-I$srcdir/isl/include -Iisl/include"
13050
ISL_CPPFLAGS="-I$isl_srcdir/include -I$with_isl_builddir/include"
13051
ISL_LIBS="$with_isl_builddir/libisl.la"
13054
if test "x$with_isl_prefix" != "x"; then
13055
ISL_CPPFLAGS="-I$with_isl_prefix/include"
13057
if test "x$with_isl_exec_prefix" != "x"; then
13058
ISL_LDFLAGS="-L$with_isl_exec_prefix/lib"
13062
if test $with_isl = bundled; then
13064
BUNDLED_ISL_FALSE='#'
13066
BUNDLED_ISL_TRUE='#'
13070
if test $with_isl = no; then
13084
@%:@ Check whether --with-osl was given.
13085
if test "${with_osl+set}" = set; then :
13090
no|system|build|bundled)
13092
@%:@ Check whether --with-osl_prefix was given.
13093
if test "${with_osl_prefix+set}" = set; then :
13094
withval=$with_osl_prefix;
13098
@%:@ Check whether --with-osl_exec_prefix was given.
13099
if test "${with_osl_exec_prefix+set}" = set; then :
13100
withval=$with_osl_exec_prefix;
13105
no|system|build|bundled)
13107
@%:@ Check whether --with-osl_builddir was given.
13108
if test "${with_osl_builddir+set}" = set; then :
13109
withval=$with_osl_builddir;
13113
if test "x$with_osl_prefix" != "x" -a "x$with_osl_exec_prefix" = "x"; then
13114
with_osl_exec_prefix=$with_osl_prefix
13116
if test "x$with_osl_prefix" != "x" -o "x$with_osl_exec_prefix" != "x"; then
13117
if test "x$with_osl" != "x" -a "x$with_osl" != "xsystem"; then
13118
as_fn_error $? "Setting $with_osl_prefix implies use of system osl" "$LINENO" 5
13122
if test "x$with_osl_builddir" != "x"; then
13123
if test "x$with_osl" != "x" -a "x$with_osl" != "xbuild"; then
13124
as_fn_error $? "Setting $with_osl_builddir implies use of build osl" "$LINENO" 5
13127
osl_srcdir=`echo @abs_srcdir@ | $with_osl_builddir/config.status --file=-`
13128
{ $as_echo "$as_me:${as_lineno-$LINENO}: osl sources in $osl_srcdir" >&5
13129
$as_echo "$as_me: osl sources in $osl_srcdir" >&6;}
13131
case "$with_osl" in
13132
no|system|build|bundled)
13135
if test -d $srcdir/.git -a \
13136
-d $srcdir/osl -a \
13137
! -d $srcdir/osl/.git; then
13138
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule osl not initialized" >&5
13139
$as_echo "$as_me: WARNING: git repo detected, but submodule osl not initialized" >&2;}
13140
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
13141
$as_echo "$as_me: WARNING: You may want to run" >&2;}
13142
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule init" >&5
13143
$as_echo "$as_me: WARNING: git submodule init" >&2;}
13144
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git submodule update" >&5
13145
$as_echo "$as_me: WARNING: git submodule update" >&2;}
13146
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sh autogen.sh" >&5
13147
$as_echo "$as_me: WARNING: sh autogen.sh" >&2;}
13149
if test -f $srcdir/osl/configure -a "no" != "no"; then
13156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which osl to use" >&5
13157
$as_echo_n "checking which osl to use... " >&6; }
13158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_osl" >&5
13159
$as_echo "$with_osl" >&6; }
13162
osl_flag="OSL_SUPPORT"
13167
case "$with_osl" in
13169
OSL_CPPFLAGS="-D$osl_flag -I$srcdir/osl/include -Iosl/include"
13172
OSL_CPPFLAGS="-D$osl_flag -I$osl_srcdir/include -I$with_osl_builddir/include"
13173
OSL_LIBS="$with_osl_builddir/libosl.la"
13176
if test "x$with_osl_prefix" != "x"; then
13177
OSL_CPPFLAGS="-D$osl_flag -I$with_osl_prefix/include"
13179
if test "x$with_osl_exec_prefix" != "x"; then
13180
OSL_LDFLAGS="-L$with_osl_exec_prefix/lib"
13184
if test $with_osl = bundled; then
13186
BUNDLED_OSL_FALSE='#'
13188
BUNDLED_OSL_TRUE='#'
13192
if test $with_osl = no; then
13203
$as_echo "@%:@define CLOOG_INT_GMP 1" >>confdefs.h
13207
if test -f $srcdir/.git/HEAD; then
13208
GIT_INDEX="\$(top_srcdir)/.git/index"
13227
PACKAGE_NAME="cloog-isl"
13228
PACKAGE_CFLAGS="-DCLOOG_INT_GMP=1"
13230
# we need the expanded forms...
13231
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13232
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
13235
$as_echo_n "checking our pkgconfig libname... " >&6; }
13236
test ".$ax_create_pkgconfig_libname" != "." || \
13237
ax_create_pkgconfig_libname="${PACKAGE_NAME}"
13238
test ".$ax_create_pkgconfig_libname" != "." || \
13239
ax_create_pkgconfig_libname="$PACKAGE"
13240
ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
13241
ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
13242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
13243
$as_echo "$ax_create_pkgconfig_libname" >&6; }
13245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
13246
$as_echo_n "checking our pkgconfig version... " >&6; }
13247
test ".$ax_create_pkgconfig_version" != "." || \
13248
ax_create_pkgconfig_version="${PACKAGE_VERSION}"
13249
test ".$ax_create_pkgconfig_version" != "." || \
13250
ax_create_pkgconfig_version="$VERSION"
13251
ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
13252
ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
13253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
13254
$as_echo "$ax_create_pkgconfig_version" >&6; }
13256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
13257
$as_echo_n "checking our pkgconfig_libdir... " >&6; }
13258
test ".$pkgconfig_libdir" = "." && \
13259
pkgconfig_libdir='${libdir}/pkgconfig'
13260
ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
13261
ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
13262
ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
13263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
13264
$as_echo "$pkgconfig_libdir" >&6; }
13265
test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
13266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
13267
$as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
13270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
13271
$as_echo_n "checking our pkgconfig_libfile... " >&6; }
13272
test ".$pkgconfig_libfile" != "." || \
13273
pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
13274
ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
13275
ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
13276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
13277
$as_echo "$pkgconfig_libfile" >&6; }
13278
test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
13279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
13280
$as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
13283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
13284
$as_echo_n "checking our package / suffix... " >&6; }
13285
ax_create_pkgconfig_suffix="$program_suffix"
13286
test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
13287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
13288
$as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
13290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
13291
$as_echo_n "checking our pkgconfig description... " >&6; }
13292
ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
13293
test ".$ax_create_pkgconfig_description" != "." || \
13294
ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
13295
ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
13296
ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
13297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
13298
$as_echo "$ax_create_pkgconfig_description" >&6; }
13300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
13301
$as_echo_n "checking our pkgconfig requires... " >&6; }
13302
ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
13303
ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
13304
ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
13305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
13306
$as_echo "$ax_create_pkgconfig_requires" >&6; }
13308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
13309
$as_echo_n "checking our pkgconfig ext libs... " >&6; }
13310
ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
13311
test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
13312
ax_create_pkgconfig_libs="$ax_create_pkgconfig_pkglibs $LIBS"
13313
ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
13314
ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
13315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
13316
$as_echo "$ax_create_pkgconfig_libs" >&6; }
13318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
13319
$as_echo_n "checking our pkgconfig cppflags... " >&6; }
13320
ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
13321
ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
13322
ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
13323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
13324
$as_echo "$ax_create_pkgconfig_cppflags" >&6; }
13326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
13327
$as_echo_n "checking our pkgconfig ldflags... " >&6; }
13328
ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
13329
ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
13330
ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
13331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
13332
$as_echo "$ax_create_pkgconfig_ldflags" >&6; }
13334
test ".$ax_create_pkgconfig_generate" != "." || \
13335
ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
13336
ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
13337
ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
13338
test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
13339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
13340
$as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
13342
if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
13343
ax_create_pkgconfig_src_libdir=`pwd`
13344
ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
13345
$as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13346
X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
13347
X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
13348
X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
13349
$as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
13350
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13354
/^X\(\/\/\)[^/].*/{
13367
test ! -d $ax_create_pkgconfig_src_libdir/src || \
13368
ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
13370
*libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
13371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
13372
$as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
13375
if test ".$ax_create_pkgconfig_src_headers" = "." ; then
13376
ax_create_pkgconfig_src_headers=`pwd`
13377
v="$ac_top_srcdir" ;
13378
test ".$v" != "." || v="$ax_spec_dir"
13379
test ".$v" != "." || v="$srcdir"
13380
case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
13381
ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
13382
$as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13383
X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
13384
X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
13385
X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
13386
$as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
13387
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13391
/^X\(\/\/\)[^/].*/{
13404
test ! -d $ax_create_pkgconfig_src_headers/include || \
13405
ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
13406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
13407
$as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
13411
ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
13414
ac_config_files="$ac_config_files Makefile test/Makefile"
13416
ac_config_files="$ac_config_files autoconf/Doxyfile"
13418
ac_config_files="$ac_config_files doc/Makefile"
13420
ac_config_files="$ac_config_files source/version.c"
13422
ac_config_files="$ac_config_files include/cloog/version.h"
13424
ac_config_files="$ac_config_files genversion.sh"
13426
ac_config_commands="$ac_config_commands version.h"
13428
ac_config_commands="$ac_config_commands doc/gitversion.texi"
13430
if test $with_isl = bundled; then
13433
subdirs="$subdirs isl"
13436
if test $with_osl = bundled; then
13437
subdirs="$subdirs osl"
13441
cat >confcache <<\_ACEOF
13442
# This file is a shell script that caches the results of configure
13443
# tests run on this system so they can be shared between configure
13444
# scripts and configure runs, see configure's option --config-cache.
13445
# It is not useful on other systems. If it contains results you don't
13446
# want to keep, you may remove or edit it.
13448
# config.status only pays attention to the cache file if you give it
13449
# the --recheck option to rerun configure.
13451
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13452
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13453
# following values.
13457
# The following way of writing the cache mishandles newlines in values,
13458
# but we know of no workaround that is simple, portable, and efficient.
13459
# So, we kill variables containing newlines.
13460
# Ultrix sh set writes to stderr and can't be redirected directly,
13461
# and sets the high bit in the cache file unless we assign to the vars.
13463
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13464
eval ac_val=\$$ac_var
13468
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13469
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13472
_ | IFS | as_nl) ;; #(
13473
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13474
*) { eval $ac_var=; unset $ac_var;} ;;
13480
case $as_nl`(ac_space=' '; set) 2>&1` in #(
13481
*${as_nl}ac_space=\ *)
13482
# `set' does not quote correctly, so add quotes: double-quote
13483
# substitution turns \\\\ into \\, and sed turns \\ into \.
13486
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13489
# `set' quotes correctly as required by POSIX, so do not add quotes.
13490
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13499
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13501
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13503
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13504
if test -w "$cache_file"; then
13505
if test "x$cache_file" != "x/dev/null"; then
13506
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13507
$as_echo "$as_me: updating cache $cache_file" >&6;}
13508
if test ! -f "$cache_file" || test -h "$cache_file"; then
13509
cat confcache >"$cache_file"
13511
case $cache_file in #(
13513
mv -f confcache "$cache_file"$$ &&
13514
mv -f "$cache_file"$$ "$cache_file" ;; #(
13516
mv -f confcache "$cache_file" ;;
13521
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13522
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13527
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13528
# Let make expand exec_prefix.
13529
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13531
# Transform confdefs.h into DEFS.
13532
# Protect against shell expansion while executing Makefile rules.
13533
# Protect against Makefile macro expansion.
13535
# If the first sed substitution is executed (which looks for macros that
13536
# take arguments), then branch to the quote section. Otherwise,
13537
# look for a macro that doesn't take arguments.
13547
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13549
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13553
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13566
DEFS=`sed -n "$ac_script" confdefs.h`
13572
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13573
# 1. Remove the extension, and $U if already installed.
13574
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13575
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13576
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13577
# will be set to the directory where LIBOBJS objects are built.
13578
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13579
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13581
LIB@&t@OBJS=$ac_libobjs
13583
LTLIBOBJS=$ac_ltlibobjs
13586
if test -n "$EXEEXT"; then
13588
am__EXEEXT_FALSE='#'
13590
am__EXEEXT_TRUE='#'
13594
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13595
as_fn_error $? "conditional \"AMDEP\" was never defined.
13596
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13598
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13599
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13600
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13602
if test -z "${HAVE_TEXI2DVI_TRUE}" && test -z "${HAVE_TEXI2DVI_FALSE}"; then
13603
as_fn_error $? "conditional \"HAVE_TEXI2DVI\" was never defined.
13604
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13606
if test -z "${NEED_GET_MEMORY_FUNCTIONS_TRUE}" && test -z "${NEED_GET_MEMORY_FUNCTIONS_FALSE}"; then
13607
as_fn_error $? "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined.
13608
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13610
if test -z "${BUNDLED_ISL_TRUE}" && test -z "${BUNDLED_ISL_FALSE}"; then
13611
as_fn_error $? "conditional \"BUNDLED_ISL\" was never defined.
13612
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13614
if test -z "${NO_ISL_TRUE}" && test -z "${NO_ISL_FALSE}"; then
13615
as_fn_error $? "conditional \"NO_ISL\" was never defined.
13616
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13618
if test -z "${BUNDLED_OSL_TRUE}" && test -z "${BUNDLED_OSL_FALSE}"; then
13619
as_fn_error $? "conditional \"BUNDLED_OSL\" was never defined.
13620
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13622
if test -z "${NO_OSL_TRUE}" && test -z "${NO_OSL_FALSE}"; then
13623
as_fn_error $? "conditional \"NO_OSL\" was never defined.
13624
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13627
: "${CONFIG_STATUS=./config.status}"
13629
ac_clean_files_save=$ac_clean_files
13630
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13631
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13632
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13634
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13636
# Generated by $as_me.
13637
# Run this file to recreate the current configuration.
13638
# Compiler output produced by configure, useful for debugging
13639
# configure, is in config.log if it exists.
13642
ac_cs_recheck=false
13645
SHELL=\${CONFIG_SHELL-$SHELL}
13648
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13649
## -------------------- ##
13650
## M4sh Initialization. ##
13651
## -------------------- ##
13653
# Be more Bourne compatible
13654
DUALCASE=1; export DUALCASE # for MKS sh
13655
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13658
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13659
# is contrary to our usage. Disable this feature.
13660
alias -g '${1+"$@"}'='"$@"'
13661
setopt NO_GLOB_SUBST
13663
case `(set -o) 2>/dev/null` in @%:@(
13665
set -o posix ;; @%:@(
13675
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13676
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13677
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13678
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13679
# Prefer a ksh shell builtin over an external printf program on Solaris,
13680
# but without wasting forks for bash or zsh.
13681
if test -z "$BASH_VERSION$ZSH_VERSION" \
13682
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13683
as_echo='print -r --'
13684
as_echo_n='print -rn --'
13685
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13686
as_echo='printf %s\n'
13687
as_echo_n='printf %s'
13689
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13690
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13691
as_echo_n='/usr/ucb/echo -n'
13693
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13694
as_echo_n_body='eval
13698
expr "X$arg" : "X\\(.*\\)$as_nl";
13699
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13701
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13703
export as_echo_n_body
13704
as_echo_n='sh -c $as_echo_n_body as_echo'
13706
export as_echo_body
13707
as_echo='sh -c $as_echo_body as_echo'
13710
# The user is always right.
13711
if test "${PATH_SEPARATOR+set}" != set; then
13713
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13714
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13721
# We need space, tab and new line, in precisely that order. Quoting is
13722
# there to prevent editors from complaining about space-tab.
13723
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13724
# splitting by setting IFS to empty value.)
13727
# Find who we are. Look in the path if we contain no directory separator.
13730
*[\\/]* ) as_myself=$0 ;;
13731
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732
for as_dir in $PATH
13735
test -z "$as_dir" && as_dir=.
13736
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13742
# We did not find ourselves, most probably we were run as `sh COMMAND'
13743
# in which case we are not to be found in the path.
13744
if test "x$as_myself" = x; then
13747
if test ! -f "$as_myself"; then
13748
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13752
# Unset variables that we do not need and which cause bugs (e.g. in
13753
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13754
# suppresses any "Segmentation fault" message there. '((' could
13755
# trigger a bug in pdksh 5.2.14.
13756
for as_var in BASH_ENV ENV MAIL MAILPATH
13757
do eval test x\${$as_var+set} = xset \
13758
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13771
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13774
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
13775
@%:@ ----------------------------------------
13776
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13777
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13778
@%:@ script with STATUS, using 1 if that was 0.
13781
as_status=$1; test $as_status -eq 0 && as_status=1
13783
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13784
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13786
$as_echo "$as_me: error: $2" >&2
13787
as_fn_exit $as_status
13791
@%:@ as_fn_set_status STATUS
13792
@%:@ -----------------------
13793
@%:@ Set @S|@? to STATUS, without forking.
13794
as_fn_set_status ()
13797
} @%:@ as_fn_set_status
13799
@%:@ as_fn_exit STATUS
13800
@%:@ -----------------
13801
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13805
as_fn_set_status $1
13809
@%:@ as_fn_unset VAR
13810
@%:@ ---------------
13811
@%:@ Portably unset VAR.
13814
{ eval $1=; unset $1;}
13816
as_unset=as_fn_unset
13817
@%:@ as_fn_append VAR VALUE
13818
@%:@ ----------------------
13819
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13820
@%:@ advantage of any shell optimizations that allow amortized linear growth over
13821
@%:@ repeated appends, instead of the typical quadratic growth present in naive
13822
@%:@ implementations.
13823
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13824
eval 'as_fn_append ()
13835
@%:@ as_fn_arith ARG...
13836
@%:@ ------------------
13837
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13838
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13839
@%:@ must be portable across @S|@(()) and expr.
13840
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13841
eval 'as_fn_arith ()
13848
as_val=`expr "$@" || test $? -eq 1`
13853
if expr a : '\(a\)' >/dev/null 2>&1 &&
13854
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13860
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13861
as_basename=basename
13866
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13872
as_me=`$as_basename -- "$0" ||
13873
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13874
X"$0" : 'X\(//\)$' \| \
13875
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13877
sed '/^.*\/\([^/][^/]*\)\/*$/{
13891
# Avoid depending upon Character Ranges.
13892
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13893
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13894
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13895
as_cr_digits='0123456789'
13896
as_cr_alnum=$as_cr_Letters$as_cr_digits
13898
ECHO_C= ECHO_N= ECHO_T=
13899
case `echo -n x` in @%:@(((((
13901
case `echo 'xy\c'` in
13902
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13904
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13911
rm -f conf$$ conf$$.exe conf$$.file
13912
if test -d conf$$.dir; then
13913
rm -f conf$$.dir/conf$$.file
13916
mkdir conf$$.dir 2>/dev/null
13918
if (echo >conf$$.file) 2>/dev/null; then
13919
if ln -s conf$$.file conf$$ 2>/dev/null; then
13921
# ... but there are two gotchas:
13922
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13923
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13924
# In both cases, we have to default to `cp -pR'.
13925
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13927
elif ln conf$$.file conf$$ 2>/dev/null; then
13935
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13936
rmdir conf$$.dir 2>/dev/null
13941
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
13946
-*) as_dir=./$as_dir;;
13948
test -d "$as_dir" || eval $as_mkdir_p || {
13952
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13953
*) as_qdir=$as_dir;;
13955
as_dirs="'$as_qdir' $as_dirs"
13956
as_dir=`$as_dirname -- "$as_dir" ||
13957
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13958
X"$as_dir" : 'X\(//\)[^/]' \| \
13959
X"$as_dir" : 'X\(//\)$' \| \
13960
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13961
$as_echo X"$as_dir" |
13962
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13966
/^X\(\/\/\)[^/].*/{
13979
test -d "$as_dir" && break
13981
test -z "$as_dirs" || eval "mkdir $as_dirs"
13982
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13985
} @%:@ as_fn_mkdir_p
13986
if mkdir -p . 2>/dev/null; then
13987
as_mkdir_p='mkdir -p "$as_dir"'
13989
test -d ./-p && rmdir ./-p
13994
@%:@ as_fn_executable_p FILE
13995
@%:@ -----------------------
13996
@%:@ Test if FILE is an executable regular file.
13997
as_fn_executable_p ()
13999
test -f "$1" && test -x "$1"
14000
} @%:@ as_fn_executable_p
14001
as_test_x='test -x'
14002
as_executable_p=as_fn_executable_p
14004
# Sed expression to map a string onto a valid CPP name.
14005
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14007
# Sed expression to map a string onto a valid variable name.
14008
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14012
## ----------------------------------- ##
14013
## Main body of $CONFIG_STATUS script. ##
14014
## ----------------------------------- ##
14016
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14018
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14019
# Save the log message, to keep $0 and so on meaningful, and to
14020
# report actual input values of CONFIG_FILES etc. instead of their
14021
# values after options handling.
14023
This file was extended by cloog $as_me 0.18.1, which was
14024
generated by GNU Autoconf 2.69. Invocation command line was
14026
CONFIG_FILES = $CONFIG_FILES
14027
CONFIG_HEADERS = $CONFIG_HEADERS
14028
CONFIG_LINKS = $CONFIG_LINKS
14029
CONFIG_COMMANDS = $CONFIG_COMMANDS
14032
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14037
case $ac_config_files in *"
14038
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14043
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14044
# Files that config.status was made for.
14045
config_files="$ac_config_files"
14046
config_commands="$ac_config_commands"
14050
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14052
\`$as_me' instantiates files and other configuration actions
14053
from templates according to the current configuration. Unless the files
14054
and actions are specified as TAGs, all are instantiated by default.
14056
Usage: $0 [OPTION]... [TAG]...
14058
-h, --help print this help, then exit
14059
-V, --version print version number and configuration settings, then exit
14060
--config print configuration, then exit
14061
-q, --quiet, --silent
14062
do not print progress messages
14063
-d, --debug don't remove temporary files
14064
--recheck update $as_me by reconfiguring in the same conditions
14065
--file=FILE[:TEMPLATE]
14066
instantiate the configuration file FILE
14068
Configuration files:
14071
Configuration commands:
14074
Report bugs to <cloog-development@googlegroups.com>."
14077
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14078
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14080
cloog config.status 0.18.1
14081
configured by $0, generated by GNU Autoconf 2.69,
14082
with options \\"\$ac_cs_config\\"
14084
Copyright (C) 2012 Free Software Foundation, Inc.
14085
This config.status script is free software; the Free Software Foundation
14086
gives unlimited permission to copy, distribute and modify it."
14093
test -n "\$AWK" || AWK=awk
14096
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14097
# The default lists apply if the user does not specify any file.
14103
ac_option=`expr "X$1" : 'X\([^=]*\)='`
14104
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14108
ac_option=`expr "X$1" : 'X\([^=]*\)='`
14120
# Handling of the options.
14121
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14123
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14124
$as_echo "$ac_cs_version"; exit ;;
14125
--config | --confi | --conf | --con | --co | --c )
14126
$as_echo "$ac_cs_config"; exit ;;
14127
--debug | --debu | --deb | --de | --d | -d )
14129
--file | --fil | --fi | --f )
14132
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14133
'') as_fn_error $? "missing file argument" ;;
14135
as_fn_append CONFIG_FILES " '$ac_optarg'"
14136
ac_need_defaults=false;;
14137
--he | --h | --help | --hel | -h )
14138
$as_echo "$ac_cs_usage"; exit ;;
14139
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
14140
| -silent | --silent | --silen | --sile | --sil | --si | --s)
14143
# This is an error.
14144
-*) as_fn_error $? "unrecognized option: \`$1'
14145
Try \`$0 --help' for more information." ;;
14147
*) as_fn_append ac_config_targets " $1"
14148
ac_need_defaults=false ;;
14154
ac_configure_extra_args=
14156
if $ac_cs_silent; then
14158
ac_configure_extra_args="$ac_configure_extra_args --silent"
14162
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14163
if \$ac_cs_recheck; then
14164
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14166
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14167
CONFIG_SHELL='$SHELL'
14168
export CONFIG_SHELL
14173
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14177
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
14178
@%:@@%:@ Running $as_me. @%:@@%:@
14184
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14188
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14191
# The HP-UX ksh and POSIX shell print the target directory to stdout
14192
# if CDPATH is set.
14193
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14195
sed_quote_subst='$sed_quote_subst'
14196
double_quote_subst='$double_quote_subst'
14197
delay_variable_subst='$delay_variable_subst'
14198
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14199
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14200
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14201
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14202
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14203
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14204
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14205
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14206
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14207
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14208
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14209
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14210
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14211
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14212
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14213
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14214
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14215
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14216
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14217
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14218
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14219
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14220
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14221
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14222
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14223
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14224
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14225
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14226
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14227
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14228
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14229
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14230
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14231
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14232
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14233
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14234
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14235
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14236
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14237
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14238
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14239
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14240
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14241
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14242
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14243
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14244
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14245
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14246
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14247
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14248
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14249
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14250
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14251
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14252
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14253
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14254
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14255
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14256
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14257
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14258
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14259
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14260
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14261
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14262
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14263
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14264
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14265
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14266
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14267
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14268
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14269
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14270
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14271
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14272
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14273
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14274
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14275
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14276
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14277
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14278
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14279
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14280
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14281
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14282
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14283
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14284
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14285
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14286
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14287
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14288
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14289
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14290
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14291
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14292
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14293
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14294
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14295
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14296
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14297
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14298
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14299
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14300
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14301
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14302
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14303
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14304
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14305
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14306
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14307
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14308
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14309
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14310
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14311
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14312
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14313
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14314
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14315
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14316
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14317
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14318
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14319
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14320
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14321
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14322
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14323
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14324
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14325
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14326
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14327
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14330
LTCFLAGS='$LTCFLAGS'
14331
compiler='$compiler_DEFAULT'
14333
# A function that is used when there is no print builtin or printf.
14334
func_fallback_echo ()
14336
eval 'cat <<_LTECHO_EOF
14341
# Quote evaled strings.
14356
deplibs_check_method \
14361
sharedlib_from_linklib_cmd \
14364
archiver_list_spec \
14370
lt_cv_sys_global_symbol_pipe \
14371
lt_cv_sys_global_symbol_to_cdecl \
14372
lt_cv_sys_global_symbol_to_c_name_address \
14373
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14374
nm_file_list_spec \
14375
lt_prog_compiler_no_builtin_flag \
14376
lt_prog_compiler_pic \
14377
lt_prog_compiler_wl \
14378
lt_prog_compiler_static \
14379
lt_cv_prog_compiler_c_o \
14388
export_dynamic_flag_spec \
14389
whole_archive_flag_spec \
14390
compiler_needs_object \
14392
allow_undefined_flag \
14393
no_undefined_flag \
14394
hardcode_libdir_flag_spec \
14395
hardcode_libdir_separator \
14399
variables_saved_for_relink \
14401
library_names_spec \
14403
install_override_mode \
14407
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14408
*[\\\\\\\`\\"\\\$]*)
14409
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14412
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14417
# Double-quote double-evaled strings.
14418
for var in reload_cmds \
14419
old_postinstall_cmds \
14420
old_postuninstall_cmds \
14422
extract_expsyms_cmds \
14423
old_archive_from_new_cmds \
14424
old_archive_from_expsyms_cmds \
14426
archive_expsym_cmds \
14428
module_expsym_cmds \
14429
export_symbols_cmds \
14433
postuninstall_cmds \
14435
sys_lib_search_path_spec \
14436
sys_lib_dlsearch_path_spec; do
14437
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14438
*[\\\\\\\`\\"\\\$]*)
14439
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14442
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14447
ac_aux_dir='$ac_aux_dir'
14448
xsi_shell='$xsi_shell'
14449
lt_shell_append='$lt_shell_append'
14451
# See if we are running on zsh, and set the options which allow our
14452
# commands through without removal of \ escapes INIT.
14453
if test -n "\${ZSH_VERSION+set}" ; then
14454
setopt NO_GLOB_SUBST
14460
TIMESTAMP='$TIMESTAMP'
14467
ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
14468
pkgconfig_prefix='$prefix'
14469
pkgconfig_execprefix='$exec_prefix'
14470
pkgconfig_bindir='$bindir'
14471
pkgconfig_libdir='$libdir'
14472
pkgconfig_includedir='$includedir'
14473
pkgconfig_datarootdir='$datarootdir'
14474
pkgconfig_datadir='$datadir'
14475
pkgconfig_sysconfdir='$sysconfdir'
14476
pkgconfig_suffix='$ax_create_pkgconfig_suffix'
14477
pkgconfig_package='$PACKAGE_NAME'
14478
pkgconfig_libname='$ax_create_pkgconfig_libname'
14479
pkgconfig_description='$ax_create_pkgconfig_description'
14480
pkgconfig_version='$ax_create_pkgconfig_version'
14481
pkgconfig_requires='$ax_create_pkgconfig_requires'
14482
pkgconfig_libs='$ax_create_pkgconfig_libs'
14483
pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
14484
pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
14485
pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
14486
pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
14491
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14493
# Handling of arguments.
14494
for ac_config_target in $ac_config_targets
14496
case $ac_config_target in
14497
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14498
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14499
"$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
14500
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14501
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14502
"autoconf/Doxyfile") CONFIG_FILES="$CONFIG_FILES autoconf/Doxyfile" ;;
14503
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14504
"source/version.c") CONFIG_FILES="$CONFIG_FILES source/version.c" ;;
14505
"include/cloog/version.h") CONFIG_FILES="$CONFIG_FILES include/cloog/version.h" ;;
14506
"genversion.sh") CONFIG_FILES="$CONFIG_FILES genversion.sh" ;;
14507
"version.h") CONFIG_COMMANDS="$CONFIG_COMMANDS version.h" ;;
14508
"doc/gitversion.texi") CONFIG_COMMANDS="$CONFIG_COMMANDS doc/gitversion.texi" ;;
14510
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14515
# If the user did not use the arguments to specify the items to instantiate,
14516
# then the envvar interface is used. Set only those that are not.
14517
# We use the long form for the default assignment because of an extremely
14518
# bizarre bug on SunOS 4.1.3.
14519
if $ac_need_defaults; then
14520
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14521
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14524
# Have a temporary directory for convenience. Make it in the build tree
14525
# simply because there is no reason against having it here, and in addition,
14526
# creating and moving files from /tmp can sometimes cause problems.
14527
# Hook for its removal unless debugging.
14528
# Note that there is a small window in which the directory will not be cleaned:
14529
# after its creation but before its name has been assigned to `$tmp'.
14533
trap 'exit_status=$?
14534
: "${ac_tmp:=$tmp}"
14535
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14537
trap 'as_fn_exit 1' 1 2 13 15
14539
# Create a (secure) tmp directory for tmp files.
14542
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14546
tmp=./conf$$-$RANDOM
14547
(umask 077 && mkdir "$tmp")
14548
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14551
# Set up the scripts for CONFIG_FILES section.
14552
# No need to generate them if there are no CONFIG_FILES.
14553
# This happens for instance with `./config.status config.h'.
14554
if test -n "$CONFIG_FILES"; then
14557
ac_cr=`echo X | tr X '\015'`
14558
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14559
# But we know of no other shell where ac_cr would be empty at this
14560
# point, so we can use a bashism as a fallback.
14561
if test "x$ac_cr" = x; then
14562
eval ac_cr=\$\'\\r\'
14564
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14565
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14568
ac_cs_awk_cr=$ac_cr
14571
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14576
echo "cat >conf$$subs.awk <<_ACEOF" &&
14577
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14579
} >conf$$subs.sh ||
14580
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14581
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14583
for ac_last_try in false false false false false :; do
14584
. ./conf$$subs.sh ||
14585
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14587
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14588
if test $ac_delim_n = $ac_delim_num; then
14590
elif $ac_last_try; then
14591
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14593
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14596
rm -f conf$$subs.sh
14598
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14599
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14603
s/^/S["/; s/!.*/"]=/
14613
s/\(.\{148\}\)..*/\1/
14615
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14620
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14627
s/\(.\{148\}\)..*/\1/
14629
s/["\\]/\\&/g; s/^/"/; s/$/"/
14633
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14638
' <conf$$subs.awk | sed '
14643
' >>$CONFIG_STATUS || ac_write_fail=1
14644
rm -f conf$$subs.awk
14645
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14647
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14648
for (key in S) S_is_set[key] = 1
14654
nfields = split(line, field, "@")
14656
len = length(field[1])
14657
for (i = 2; i < nfields; i++) {
14659
keylen = length(key)
14660
if (S_is_set[key]) {
14662
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14663
len += length(value) + length(field[++i])
14674
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14675
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14676
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14679
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14680
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14683
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14684
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14685
# trailing colons and then remove the whole line if VPATH becomes empty
14686
# (actually we leave an empty line to preserve line numbers).
14687
if test "x$srcdir" = x.; then
14688
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14706
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14707
fi # test -n "$CONFIG_FILES"
14710
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
14715
:[FHLC]) ac_mode=$ac_tag; continue;;
14717
case $ac_mode$ac_tag in
14719
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14720
:[FH]-) ac_tag=-:-;;
14721
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14738
-) ac_f="$ac_tmp/stdin";;
14739
*) # Look for the file first in the build tree, then in the source tree
14740
# (if the path is not absolute). The absolute path cannot be DOS-style,
14741
# because $ac_f cannot contain `:'.
14745
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14747
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14749
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14750
as_fn_append ac_file_inputs " '$ac_f'"
14753
# Let's still pretend it is `configure' which instantiates (i.e., don't
14754
# use $as_me), people would be surprised to read:
14755
# /* config.h. Generated by config.status. */
14756
configure_input='Generated from '`
14757
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14759
if test x"$ac_file" != x-; then
14760
configure_input="$ac_file. $configure_input"
14761
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14762
$as_echo "$as_me: creating $ac_file" >&6;}
14764
# Neutralize special characters interpreted by sed in replacement strings.
14765
case $configure_input in #(
14766
*\&* | *\|* | *\\* )
14767
ac_sed_conf_input=`$as_echo "$configure_input" |
14768
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14769
*) ac_sed_conf_input=$configure_input;;
14773
*:-:* | *:-) cat >"$ac_tmp/stdin" \
14774
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14779
ac_dir=`$as_dirname -- "$ac_file" ||
14780
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14781
X"$ac_file" : 'X\(//\)[^/]' \| \
14782
X"$ac_file" : 'X\(//\)$' \| \
14783
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14784
$as_echo X"$ac_file" |
14785
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14789
/^X\(\/\/\)[^/].*/{
14802
as_dir="$ac_dir"; as_fn_mkdir_p
14806
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14808
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14809
# A ".." for each directory in $ac_dir_suffix.
14810
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14811
case $ac_top_builddir_sub in
14812
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14813
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14816
ac_abs_top_builddir=$ac_pwd
14817
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14818
# for backward compatibility:
14819
ac_top_builddir=$ac_top_build_prefix
14822
.) # We are building in place.
14824
ac_top_srcdir=$ac_top_builddir_sub
14825
ac_abs_top_srcdir=$ac_pwd ;;
14826
[\\/]* | ?:[\\/]* ) # Absolute name.
14827
ac_srcdir=$srcdir$ac_dir_suffix;
14828
ac_top_srcdir=$srcdir
14829
ac_abs_top_srcdir=$srcdir ;;
14830
*) # Relative name.
14831
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14832
ac_top_srcdir=$ac_top_build_prefix$srcdir
14833
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14835
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14845
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14846
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14848
ac_MKDIR_P=$MKDIR_P
14850
[\\/$]* | ?:[\\/]* ) ;;
14851
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14855
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14856
# If the template does not know about datarootdir, expand it.
14857
# FIXME: This hack should be removed a few years after 2.60.
14858
ac_datarootdir_hack=; ac_datarootdir_seen=
14869
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14870
*datarootdir*) ac_datarootdir_seen=yes;;
14871
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14872
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14873
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14875
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14876
ac_datarootdir_hack='
14877
s&@datadir@&$datadir&g
14878
s&@docdir@&$docdir&g
14879
s&@infodir@&$infodir&g
14880
s&@localedir@&$localedir&g
14881
s&@mandir@&$mandir&g
14882
s&\\\${datarootdir}&$datarootdir&g' ;;
14886
# Neutralize VPATH when `$srcdir' = `.'.
14887
# Shell code in configure.ac might set extrasub.
14888
# FIXME: do we really want to maintain this feature?
14889
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14890
ac_sed_extra="$ac_vpsub
14893
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14895
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14896
s|@configure_input@|$ac_sed_conf_input|;t t
14897
s&@top_builddir@&$ac_top_builddir_sub&;t t
14898
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14899
s&@srcdir@&$ac_srcdir&;t t
14900
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14901
s&@top_srcdir@&$ac_top_srcdir&;t t
14902
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14903
s&@builddir@&$ac_builddir&;t t
14904
s&@abs_builddir@&$ac_abs_builddir&;t t
14905
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14906
s&@INSTALL@&$ac_INSTALL&;t t
14907
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14908
$ac_datarootdir_hack
14910
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14911
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14913
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14914
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14915
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14916
"$ac_tmp/out"`; test -z "$ac_out"; } &&
14917
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14918
which seems to be undefined. Please make sure it is defined" >&5
14919
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14920
which seems to be undefined. Please make sure it is defined" >&2;}
14922
rm -f "$ac_tmp/stdin"
14924
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14925
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14927
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14931
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14932
$as_echo "$as_me: executing $ac_file commands" >&6;}
14937
case $ac_file$ac_mode in
14938
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14939
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14940
# are listed without --file. Let's play safe and only enable the eval
14941
# if we detect the quoting.
14942
case $CONFIG_FILES in
14943
*\'*) eval set x "$CONFIG_FILES" ;;
14944
*) set x $CONFIG_FILES ;;
14949
# Strip MF so we end up with the name of the file.
14950
mf=`echo "$mf" | sed -e 's/:.*$//'`
14951
# Check whether this is an Automake generated Makefile or not.
14952
# We used to match only the files named `Makefile.in', but
14953
# some people rename them; so instead we look at the file content.
14954
# Grep'ing the first line is not enough: some people post-process
14955
# each Makefile.in and add a new line on top of each file to say so.
14956
# Grep'ing the whole file is not good either: AIX grep has a line
14957
# limit of 2048, but all sed's we know have understand at least 4000.
14958
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14959
dirpart=`$as_dirname -- "$mf" ||
14960
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14961
X"$mf" : 'X\(//\)[^/]' \| \
14962
X"$mf" : 'X\(//\)$' \| \
14963
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14965
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14969
/^X\(\/\/\)[^/].*/{
14985
# Extract the definition of DEPDIR, am__include, and am__quote
14986
# from the Makefile without running `make'.
14987
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14988
test -z "$DEPDIR" && continue
14989
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14990
test -z "am__include" && continue
14991
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14992
# When using ansi2knr, U may be empty or an underscore; expand it
14993
U=`sed -n 's/^U = //p' < "$mf"`
14994
# Find all dependency output files, they are included files with
14995
# $(DEPDIR) in their names. We invoke sed twice because it is the
14996
# simplest approach to changing $(DEPDIR) to its actual value in the
14998
for file in `sed -n "
14999
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15000
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15001
# Make sure the directory exists.
15002
test -f "$dirpart/$file" && continue
15003
fdir=`$as_dirname -- "$file" ||
15004
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15005
X"$file" : 'X\(//\)[^/]' \| \
15006
X"$file" : 'X\(//\)$' \| \
15007
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15008
$as_echo X"$file" |
15009
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15013
/^X\(\/\/\)[^/].*/{
15026
as_dir=$dirpart/$fdir; as_fn_mkdir_p
15027
# echo "creating $dirpart/$file"
15028
echo '# dummy' > "$dirpart/$file"
15035
# See if we are running on zsh, and set the options which allow our
15036
# commands through without removal of \ escapes.
15037
if test -n "${ZSH_VERSION+set}" ; then
15038
setopt NO_GLOB_SUBST
15041
cfgfile="${ofile}T"
15042
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15045
cat <<_LT_EOF >> "$cfgfile"
15048
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15049
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15050
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15051
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15053
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15054
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15056
# Written by Gordon Matzigkeit, 1996
15058
# This file is part of GNU Libtool.
15060
# GNU Libtool is free software; you can redistribute it and/or
15061
# modify it under the terms of the GNU General Public License as
15062
# published by the Free Software Foundation; either version 2 of
15063
# the License, or (at your option) any later version.
15065
# As a special exception to the GNU General Public License,
15066
# if you distribute this file as part of a program or library that
15067
# is built using GNU Libtool, you may include this file under the
15068
# same distribution terms that you use for the rest of that program.
15070
# GNU Libtool is distributed in the hope that it will be useful,
15071
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15072
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15073
# GNU General Public License for more details.
15075
# You should have received a copy of the GNU General Public License
15076
# along with GNU Libtool; see the file COPYING. If not, a copy
15077
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15078
# obtained by writing to the Free Software Foundation, Inc.,
15079
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15082
# The names of the tagged configurations supported by this script.
15085
# ### BEGIN LIBTOOL CONFIG
15087
# Which release of libtool.m4 was used?
15088
macro_version=$macro_version
15089
macro_revision=$macro_revision
15091
# Whether or not to build shared libraries.
15092
build_libtool_libs=$enable_shared
15094
# Whether or not to build static libraries.
15095
build_old_libs=$enable_static
15097
# What type of objects to build.
15100
# Whether or not to optimize for fast installation.
15101
fast_install=$enable_fast_install
15103
# Shell to use when invoking shell scripts.
15106
# An echo program that protects backslashes.
15109
# The PATH separator for the build system.
15110
PATH_SEPARATOR=$lt_PATH_SEPARATOR
15113
host_alias=$host_alias
15117
# The build system.
15118
build_alias=$build_alias
15122
# A sed program that does not truncate output.
15125
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15126
Xsed="\$SED -e 1s/^X//"
15128
# A grep program that handles long lines.
15134
# A literal string matcher.
15137
# A BSD- or MS-compatible name lister.
15140
# Whether we need soft or hard links.
15143
# What is the maximum length of a command?
15144
max_cmd_len=$max_cmd_len
15146
# Object file suffix (normally "o").
15149
# Executable file suffix (normally "").
15152
# whether the shell understands "unset".
15155
# turn spaces into newlines.
15158
# turn newlines into spaces.
15161
# convert \$build file names to \$host format.
15162
to_host_file_cmd=$lt_cv_to_host_file_cmd
15164
# convert \$build files to toolchain format.
15165
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15167
# An object symbol dumper.
15168
OBJDUMP=$lt_OBJDUMP
15170
# Method to check whether dependent libraries are shared objects.
15171
deplibs_check_method=$lt_deplibs_check_method
15173
# Command to use when deplibs_check_method = "file_magic".
15174
file_magic_cmd=$lt_file_magic_cmd
15176
# How to find potential files when deplibs_check_method = "file_magic".
15177
file_magic_glob=$lt_file_magic_glob
15179
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15180
want_nocaseglob=$lt_want_nocaseglob
15182
# DLL creation program.
15183
DLLTOOL=$lt_DLLTOOL
15185
# Command to associate shared and link libraries.
15186
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15191
# Flags to create an archive.
15192
AR_FLAGS=$lt_AR_FLAGS
15194
# How to feed a file listing to the archiver.
15195
archiver_list_spec=$lt_archiver_list_spec
15197
# A symbol stripping program.
15200
# Commands used to install an old-style archive.
15202
old_postinstall_cmds=$lt_old_postinstall_cmds
15203
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15205
# Whether to use a lock for old archive extraction.
15206
lock_old_archive_extraction=$lock_old_archive_extraction
15211
# LTCC compiler flags.
15212
LTCFLAGS=$lt_CFLAGS
15214
# Take the output of nm and produce a listing of raw symbols and C names.
15215
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15217
# Transform the output of nm in a proper C declaration.
15218
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15220
# Transform the output of nm in a C name address pair.
15221
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15223
# Transform the output of nm in a C name address pair when lib prefix is needed.
15224
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15226
# Specify filename containing input files for \$NM.
15227
nm_file_list_spec=$lt_nm_file_list_spec
15229
# The root where to search for dependent libraries,and in which our libraries should be installed.
15230
lt_sysroot=$lt_sysroot
15232
# The name of the directory that contains temporary libtool files.
15235
# Used to examine libraries when file_magic_cmd begins with "file".
15236
MAGIC_CMD=$MAGIC_CMD
15238
# Must we lock files when doing compilation?
15239
need_locks=$lt_need_locks
15242
MANIFEST_TOOL=$lt_MANIFEST_TOOL
15244
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15245
DSYMUTIL=$lt_DSYMUTIL
15247
# Tool to change global to local symbols on Mac OS X.
15250
# Tool to manipulate fat objects and archives on Mac OS X.
15253
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15256
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15257
OTOOL64=$lt_OTOOL64
15259
# Old archive suffix (normally "a").
15262
# Shared library suffix (normally ".so").
15263
shrext_cmds=$lt_shrext_cmds
15265
# The commands to extract the exported symbol list from a shared archive.
15266
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15268
# Variables whose values should be saved in libtool wrapper scripts and
15269
# restored at link time.
15270
variables_saved_for_relink=$lt_variables_saved_for_relink
15272
# Do we need the "lib" prefix for modules?
15273
need_lib_prefix=$need_lib_prefix
15275
# Do we need a version for libraries?
15276
need_version=$need_version
15278
# Library versioning type.
15279
version_type=$version_type
15281
# Shared library runtime path variable.
15282
runpath_var=$runpath_var
15284
# Shared library path variable.
15285
shlibpath_var=$shlibpath_var
15287
# Is shlibpath searched before the hard-coded library search path?
15288
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15290
# Format of library name prefix.
15291
libname_spec=$lt_libname_spec
15293
# List of archive names. First name is the real one, the rest are links.
15294
# The last name is the one that the linker finds with -lNAME
15295
library_names_spec=$lt_library_names_spec
15297
# The coded name of the library, if different from the real name.
15298
soname_spec=$lt_soname_spec
15300
# Permission mode override for installation of shared libraries.
15301
install_override_mode=$lt_install_override_mode
15303
# Command to use after installation of a shared archive.
15304
postinstall_cmds=$lt_postinstall_cmds
15306
# Command to use after uninstallation of a shared archive.
15307
postuninstall_cmds=$lt_postuninstall_cmds
15309
# Commands used to finish a libtool library installation in a directory.
15310
finish_cmds=$lt_finish_cmds
15312
# As "finish_cmds", except a single script fragment to be evaled but
15314
finish_eval=$lt_finish_eval
15316
# Whether we should hardcode library paths into libraries.
15317
hardcode_into_libs=$hardcode_into_libs
15319
# Compile-time system search path for libraries.
15320
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15322
# Run-time system search path for libraries.
15323
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15325
# Whether dlopen is supported.
15326
dlopen_support=$enable_dlopen
15328
# Whether dlopen of programs is supported.
15329
dlopen_self=$enable_dlopen_self
15331
# Whether dlopen of statically linked programs is supported.
15332
dlopen_self_static=$enable_dlopen_self_static
15334
# Commands to strip libraries.
15335
old_striplib=$lt_old_striplib
15336
striplib=$lt_striplib
15339
# The linker used to build libraries.
15342
# How to create reloadable object files.
15343
reload_flag=$lt_reload_flag
15344
reload_cmds=$lt_reload_cmds
15346
# Commands used to build an old-style archive.
15347
old_archive_cmds=$lt_old_archive_cmds
15349
# A language specific compiler.
15352
# Is the compiler the GNU compiler?
15355
# Compiler flag to turn off builtin functions.
15356
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15358
# Additional compiler flags for building library objects.
15359
pic_flag=$lt_lt_prog_compiler_pic
15361
# How to pass a linker flag through the compiler.
15362
wl=$lt_lt_prog_compiler_wl
15364
# Compiler flag to prevent dynamic linking.
15365
link_static_flag=$lt_lt_prog_compiler_static
15367
# Does compiler simultaneously support -c and -o options?
15368
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15370
# Whether or not to add -lc for building shared libraries.
15371
build_libtool_need_lc=$archive_cmds_need_lc
15373
# Whether or not to disallow shared libs when runtime libs are static.
15374
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15376
# Compiler flag to allow reflexive dlopens.
15377
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15379
# Compiler flag to generate shared objects directly from archives.
15380
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15382
# Whether the compiler copes with passing no objects directly.
15383
compiler_needs_object=$lt_compiler_needs_object
15385
# Create an old-style archive from a shared archive.
15386
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15388
# Create a temporary old-style archive to link instead of a shared archive.
15389
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15391
# Commands used to build a shared archive.
15392
archive_cmds=$lt_archive_cmds
15393
archive_expsym_cmds=$lt_archive_expsym_cmds
15395
# Commands used to build a loadable module if different from building
15396
# a shared archive.
15397
module_cmds=$lt_module_cmds
15398
module_expsym_cmds=$lt_module_expsym_cmds
15400
# Whether we are building with GNU ld or not.
15401
with_gnu_ld=$lt_with_gnu_ld
15403
# Flag that allows shared libraries with undefined symbols to be built.
15404
allow_undefined_flag=$lt_allow_undefined_flag
15406
# Flag that enforces no undefined symbols.
15407
no_undefined_flag=$lt_no_undefined_flag
15409
# Flag to hardcode \$libdir into a binary during linking.
15410
# This must work even if \$libdir does not exist
15411
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15413
# Whether we need a single "-rpath" flag with a separated argument.
15414
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15416
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15417
# DIR into the resulting binary.
15418
hardcode_direct=$hardcode_direct
15420
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15421
# DIR into the resulting binary and the resulting library dependency is
15422
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15423
# library is relocated.
15424
hardcode_direct_absolute=$hardcode_direct_absolute
15426
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15427
# into the resulting binary.
15428
hardcode_minus_L=$hardcode_minus_L
15430
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15431
# into the resulting binary.
15432
hardcode_shlibpath_var=$hardcode_shlibpath_var
15434
# Set to "yes" if building a shared library automatically hardcodes DIR
15435
# into the library and all subsequent libraries and executables linked
15437
hardcode_automatic=$hardcode_automatic
15439
# Set to yes if linker adds runtime paths of dependent libraries
15440
# to runtime path list.
15441
inherit_rpath=$inherit_rpath
15443
# Whether libtool must link a program against all its dependency libraries.
15444
link_all_deplibs=$link_all_deplibs
15446
# Set to "yes" if exported symbols are required.
15447
always_export_symbols=$always_export_symbols
15449
# The commands to list exported symbols.
15450
export_symbols_cmds=$lt_export_symbols_cmds
15452
# Symbols that should not be listed in the preloaded symbols.
15453
exclude_expsyms=$lt_exclude_expsyms
15455
# Symbols that must always be exported.
15456
include_expsyms=$lt_include_expsyms
15458
# Commands necessary for linking programs (against libraries) with templates.
15459
prelink_cmds=$lt_prelink_cmds
15461
# Commands necessary for finishing linking programs.
15462
postlink_cmds=$lt_postlink_cmds
15464
# Specify filename containing input files.
15465
file_list_spec=$lt_file_list_spec
15467
# How to hardcode a shared library path into an executable.
15468
hardcode_action=$hardcode_action
15470
# ### END LIBTOOL CONFIG
15476
cat <<\_LT_EOF >> "$cfgfile"
15477
# AIX sometimes has problems with the GCC collect2 program. For some
15478
# reason, if we set the COLLECT_NAMES environment variable, the problems
15479
# vanish in a puff of smoke.
15480
if test "X${COLLECT_NAMES+set}" != Xset; then
15482
export COLLECT_NAMES
15489
ltmain="$ac_aux_dir/ltmain.sh"
15492
# We use sed instead of cat because bash on DJGPP gets confused if
15493
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15494
# text mode, it properly converts lines to CR/LF. This bash problem
15495
# is reportedly fixed, but why not run on old versions too?
15496
sed '$q' "$ltmain" >> "$cfgfile" \
15497
|| (rm -f "$cfgfile"; exit 1)
15499
if test x"$xsi_shell" = xyes; then
15500
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15504
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15505
\ * ) func_dirname_result="${3}" ;;\
15507
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15508
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15509
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15510
test 0 -eq $? || _lt_function_replace_fail=:
15513
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15516
\ func_basename_result="${1##*/}"\
15517
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15518
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15519
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15520
test 0 -eq $? || _lt_function_replace_fail=:
15523
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15524
func_dirname_and_basename ()\
15527
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15528
\ * ) func_dirname_result="${3}" ;;\
15530
\ func_basename_result="${1##*/}"\
15531
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15532
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15533
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15534
test 0 -eq $? || _lt_function_replace_fail=:
15537
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15540
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15541
\ # positional parameters, so assign one to ordinary parameter first.\
15542
\ func_stripname_result=${3}\
15543
\ func_stripname_result=${func_stripname_result#"${1}"}\
15544
\ func_stripname_result=${func_stripname_result%"${2}"}\
15545
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15546
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15547
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15548
test 0 -eq $? || _lt_function_replace_fail=:
15551
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15552
func_split_long_opt ()\
15554
\ func_split_long_opt_name=${1%%=*}\
15555
\ func_split_long_opt_arg=${1#*=}\
15556
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15557
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15558
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15559
test 0 -eq $? || _lt_function_replace_fail=:
15562
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15563
func_split_short_opt ()\
15565
\ func_split_short_opt_arg=${1#??}\
15566
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15567
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15568
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15569
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15570
test 0 -eq $? || _lt_function_replace_fail=:
15573
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15577
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15578
\ *) func_lo2o_result=${1} ;;\
15580
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15581
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15582
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15583
test 0 -eq $? || _lt_function_replace_fail=:
15586
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15589
func_xform_result=${1%.*}.lo\
15590
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15591
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15592
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15593
test 0 -eq $? || _lt_function_replace_fail=:
15596
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15599
func_arith_result=$(( $* ))\
15600
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15601
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15602
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15603
test 0 -eq $? || _lt_function_replace_fail=:
15606
sed -e '/^func_len ()$/,/^} # func_len /c\
15609
func_len_result=${#1}\
15610
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15611
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15612
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15613
test 0 -eq $? || _lt_function_replace_fail=:
15617
if test x"$lt_shell_append" = xyes; then
15618
sed -e '/^func_append ()$/,/^} # func_append /c\
15621
eval "${1}+=\\${2}"\
15622
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15623
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15624
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15625
test 0 -eq $? || _lt_function_replace_fail=:
15628
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15629
func_append_quoted ()\
15631
\ func_quote_for_eval "${2}"\
15632
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15633
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15634
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15635
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15636
test 0 -eq $? || _lt_function_replace_fail=:
15639
# Save a `func_append' function call where possible by direct use of '+='
15640
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15641
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15642
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15643
test 0 -eq $? || _lt_function_replace_fail=:
15645
# Save a `func_append' function call even when '+=' is not available
15646
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15647
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15648
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15649
test 0 -eq $? || _lt_function_replace_fail=:
15652
if test x"$_lt_function_replace_fail" = x":"; then
15653
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15654
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15658
mv -f "$cfgfile" "$ofile" ||
15659
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15663
"$ax_create_pkgconfig_generate":C)
15664
pkgconfig_generate="$ax_create_pkgconfig_generate"
15665
if test ! -f "$pkgconfig_generate.in"
15666
then generate="true"
15667
elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
15668
then generate="true"
15669
else generate="false";
15671
if $generate ; then
15672
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
15673
$as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
15674
cat > $pkgconfig_generate.in <<AXEOF
15675
# generated by configure / remove this line to disable regeneration
15677
exec_prefix=@exec_prefix@
15680
datarootdir=@datarootdir@
15682
sysconfdir=@sysconfdir@
15683
includedir=@includedir@
15687
Name: @PACKAGE_NAME@
15688
Description: @PACKAGE_DESCRIPTION@
15689
Version: @PACKAGE_VERSION@
15690
Requires: @PACKAGE_REQUIRES@
15691
Libs: -L\${libdir} @LDFLAGS@ @LIBS@
15692
Cflags: -I\${includedir} @CPPFLAGS@
15694
fi # DONE generate $pkgconfig_generate.in
15695
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
15696
$as_echo "$as_me: creating $pkgconfig_generate" >&6;}
15697
cat >conftest.sed <<AXEOF
15698
s|@prefix@|${pkgconfig_prefix}|
15699
s|@exec_prefix@|${pkgconfig_execprefix}|
15700
s|@bindir@|${pkgconfig_bindir}|
15701
s|@libdir@|${pkgconfig_libdir}|
15702
s|@datarootdir@|${pkgconfig_datarootdir}|
15703
s|@datadir@|${pkgconfig_datadir}|
15704
s|@sysconfdir@|${pkgconfig_sysconfdir}|
15705
s|@includedir@|${pkgconfig_includedir}|
15706
s|@suffix@|${pkgconfig_suffix}|
15707
s|@PACKAGE@|${pkgconfig_package}|
15708
s|@PACKAGE_NAME@|${pkgconfig_libname}|
15709
s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
15710
s|@PACKAGE_VERSION@|${pkgconfig_version}|
15711
s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
15712
s|@LIBS@|${pkgconfig_libs}|
15713
s|@LDFLAGS@|${pkgconfig_ldflags}|
15714
s|@CPPFLAGS@|${pkgconfig_cppflags}|
15716
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
15717
if test ! -s $pkgconfig_generate ; then
15718
as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
15719
fi ; rm conftest.sed # DONE generate $pkgconfig_generate
15720
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
15721
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
15722
$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
15723
cat >conftest.sed <<AXEOF
15724
s|@prefix@|${pkgconfig_prefix}|
15725
s|@exec_prefix@|${pkgconfig_execprefix}|
15726
s|@bindir@|${pkgconfig_bindir}|
15727
s|@libdir@|${pkgconfig_src_libdir}|
15728
s|@datarootdir@|${pkgconfig_datarootdir}|
15729
s|@datadir@|${pkgconfig_datadir}|
15730
s|@sysconfdir@|${pkgconfig_sysconfdir}|
15731
s|@includedir@|${pkgconfig_src_headers}|
15732
s|@suffix@|${pkgconfig_suffix}|
15733
s|@PACKAGE@|${pkgconfig_package}|
15734
s|@PACKAGE_NAME@|${pkgconfig_libname}|
15735
s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
15736
s|@PACKAGE_VERSION@|${pkgconfig_version}|
15737
s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
15738
s|@LIBS@|${pkgconfig_libs}|
15739
s|@LDFLAGS@|${pkgconfig_ldflags}|
15740
s|@CPPFLAGS@|${pkgconfig_cppflags}|
15742
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
15743
if test ! -s $pkgconfig_uninstalled ; then
15744
as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
15745
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
15746
pkgconfig_requires_add=`echo ${pkgconfig_requires}`
15747
if test ".$pkgconfig_requires_add" != "." ; then
15748
pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
15749
else pkgconfig_requires_add=":" ; fi
15750
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
15751
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
15752
$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
15753
cat >conftest.sed <<AXEOF
15754
s|@prefix@|\"${pkgconfig_prefix}\"|
15755
s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
15756
s|@bindir@|\"${pkgconfig_bindir}\"|
15757
s|@libdir@|\"${pkgconfig_src_libdir}\"|
15758
s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
15759
s|@datadir@|\"${pkgconfig_datadir}\"|
15760
s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
15761
s|@includedir@|\"${pkgconfig_src_headers}\"|
15762
s|@suffix@|\"${pkgconfig_suffix}\"|
15763
s|@PACKAGE@|\"${pkgconfig_package}\"|
15764
s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
15765
s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
15766
s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
15767
s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
15768
s|@LIBS@|\"${pkgconfig_libs}\"|
15769
s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
15770
s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
15771
s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
15772
s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
15773
s>Version: *>\\;\\; --modversion|--version) echo >
15774
s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
15775
s>Libs: *>\\;\\; --libs) echo >
15776
s>Cflags: *>\\;\\; --cflags) echo >
15778
$pkgconfig_requires_add
15780
$pkgconfig_requires_add\\
15781
;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
15782
;; --uninstalled) exit 0 \\
15785
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
15786
if test ! -s $pkgconfig_uninstalled ; then
15787
as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
15788
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
15790
"genversion.sh":F) chmod +x genversion.sh ;;
15791
"version.h":C) echo '#define CLOOG_HEAD "'`./genversion.sh`'"' > version.h ;;
15792
"doc/gitversion.texi":C) echo '@set VERSION '`./genversion.sh`'' > doc/gitversion.texi ;;
15800
ac_clean_files=$ac_clean_files_save
15802
test $ac_write_fail = 0 ||
15803
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15806
ac_configure_args="$ac_configure_args $cloog_configure_args"
15809
# configure is writing to config.log, and then calls config.status.
15810
# config.status does its own redirection, appending to config.log.
15811
# Unfortunately, on DOS this fails, as config.log is still kept open
15812
# by configure, so config.status won't be able to write to it; its
15813
# output is simply discarded. So we exec the FD to /dev/null,
15814
# effectively closing config.log, so it can be properly (re)opened and
15815
# appended to by config.status. When coming back to configure, we
15816
# need to make the FD available again.
15817
if test "$no_create" != yes; then
15819
ac_config_status_args=
15820
test "$silent" = yes &&
15821
ac_config_status_args="$ac_config_status_args --quiet"
15823
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15825
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15826
# would make configure fail if this is the last instruction.
15827
$ac_cs_success || as_fn_exit 1
15831
# CONFIG_SUBDIRS section.
15833
if test "$no_recursion" != yes; then
15835
# Remove --cache-file, --srcdir, and --disable-option-checking arguments
15836
# so they do not pile up.
15837
ac_sub_configure_args=
15839
eval "set x $ac_configure_args"
15843
if test -n "$ac_prev"; then
15848
-cache-file | --cache-file | --cache-fil | --cache-fi \
15849
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15850
ac_prev=cache_file ;;
15851
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15852
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15855
--config-cache | -C)
15857
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15859
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15861
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15863
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15865
--disable-option-checking)
15869
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15871
as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15875
# Always prepend --prefix to ensure using the same prefix
15876
# in subdir configurations.
15877
ac_arg="--prefix=$prefix"
15879
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15881
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15884
if test "$silent" = yes; then
15885
ac_sub_configure_args="--silent $ac_sub_configure_args"
15888
# Always prepend --disable-option-checking to silence warnings, since
15889
# different subdirs can have different --enable and --with options.
15890
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15893
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15895
# Do not complain, so a configure script can configure whichever
15896
# parts of a large source tree are present.
15897
test -d "$srcdir/$ac_dir" || continue
15899
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15900
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15901
$as_echo "$ac_msg" >&6
15902
as_dir="$ac_dir"; as_fn_mkdir_p
15906
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15908
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15909
# A ".." for each directory in $ac_dir_suffix.
15910
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15911
case $ac_top_builddir_sub in
15912
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15913
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15916
ac_abs_top_builddir=$ac_pwd
15917
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15918
# for backward compatibility:
15919
ac_top_builddir=$ac_top_build_prefix
15922
.) # We are building in place.
15924
ac_top_srcdir=$ac_top_builddir_sub
15925
ac_abs_top_srcdir=$ac_pwd ;;
15926
[\\/]* | ?:[\\/]* ) # Absolute name.
15927
ac_srcdir=$srcdir$ac_dir_suffix;
15928
ac_top_srcdir=$srcdir
15929
ac_abs_top_srcdir=$srcdir ;;
15930
*) # Relative name.
15931
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15932
ac_top_srcdir=$ac_top_build_prefix$srcdir
15933
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15935
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15940
# Check for guested configure; otherwise get Cygnus style configure.
15941
if test -f "$ac_srcdir/configure.gnu"; then
15942
ac_sub_configure=$ac_srcdir/configure.gnu
15943
elif test -f "$ac_srcdir/configure"; then
15944
ac_sub_configure=$ac_srcdir/configure
15945
elif test -f "$ac_srcdir/configure.in"; then
15946
# This should be Cygnus configure.
15947
ac_sub_configure=$ac_aux_dir/configure
15949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15950
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15954
# The recursion is here.
15955
if test -n "$ac_sub_configure"; then
15956
# Make the cache file name correct relative to the subdirectory.
15957
case $cache_file in
15958
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15959
*) # Relative name.
15960
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15963
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15964
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15965
# The eval makes quoting arguments work.
15966
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15967
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15968
as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15974
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15975
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15976
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15981
echo " /*-----------------------------------------------*"
15982
echo " * CLooG configuration is OK *"
15983
echo " *-----------------------------------------------*/"
15984
echo "It appears that your system is OK to start CLooG compilation. You need"
15985
echo "now to type \"make\". After compilation, you should check CLooG by typing"
15986
echo "\"make check\". If no problem occur, you can type \"make uninstall\" if"
15987
echo "you are upgrading an old version. Lastly type \"make install\" to install"
15988
echo "CLooG on your system (log as root if necessary)."