2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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
if test "x$CONFIG_SHELL" = x; then
138
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142
# is contrary to our usage. Disable this feature.
143
alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
case \`(set -o) 2>/dev/null\` in #(
154
as_required="as_fn_return () { (exit \$1); }
155
as_fn_success () { as_fn_return 0; }
156
as_fn_failure () { as_fn_return 1; }
157
as_fn_ret_success () { return 0; }
158
as_fn_ret_failure () { return 1; }
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
exitcode=1; echo positional parameters were not saved.
170
test x\$exitcode = x0 || exit 1"
171
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180
PATH=/empty FPATH=/empty; export PATH FPATH
181
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183
test \$(( 1 + 1 )) = 2 || exit 1"
184
if (eval "$as_required") 2>/dev/null; then :
189
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
test -z "$as_dir" && as_dir=.
201
for as_base in sh bash ksh sh5; do
202
# Try only shells that exist, to save several forks.
203
as_shell=$as_dir/$as_base
204
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
CONFIG_SHELL=$as_shell as_have_required=yes
207
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217
CONFIG_SHELL=$SHELL as_have_required=yes
222
if test "x$CONFIG_SHELL" != x; then :
223
# We cannot yet assume a decent shell, so we have to provide a
224
# neutralization value for shells without unset; and this also
225
# works around shells that cannot unset nonexistent variables.
226
# Preserve -v and -x to the replacement shell.
229
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
*v*x* | *x*v* ) as_opts=-vx ;;
237
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
if test x$as_have_required = xno; then :
241
$as_echo "$0: This script requires a shell more modern than all"
242
$as_echo "$0: the shells that I found on your system."
243
if test x${ZSH_VERSION+set} = xset ; then
244
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
247
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248
$0: including any error possibly output before this
249
$0: message. Then install a modern shell, or manually run
250
$0: the script under such a shell if you do have one."
256
SHELL=${CONFIG_SHELL-/bin/sh}
258
# Unset more variables known to interfere with behavior of common tools.
259
CLICOLOR_FORCE= GREP_OPTIONS=
260
unset CLICOLOR_FORCE GREP_OPTIONS
262
## --------------------- ##
263
## M4sh Shell Functions. ##
264
## --------------------- ##
267
# Portably unset VAR.
270
{ eval $1=; unset $1;}
274
# as_fn_set_status STATUS
275
# -----------------------
276
# Set $? to STATUS, without forking.
284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294
# Create "$as_dir" as a directory, including parents if necessary.
299
-*) as_dir=./$as_dir;;
301
test -d "$as_dir" || eval $as_mkdir_p || {
305
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308
as_dirs="'$as_qdir' $as_dirs"
309
as_dir=`$as_dirname -- "$as_dir" ||
310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311
X"$as_dir" : 'X\(//\)[^/]' \| \
312
X"$as_dir" : 'X\(//\)$' \| \
313
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314
$as_echo X"$as_dir" |
315
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332
test -d "$as_dir" && break
334
test -z "$as_dirs" || eval "mkdir $as_dirs"
335
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
# as_fn_append VAR VALUE
340
# ----------------------
341
# Append the text in VALUE to the end of the definition contained in VAR. Take
342
# advantage of any shell optimizations that allow amortized linear growth over
343
# repeated appends, instead of the typical quadratic growth present in naive
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346
eval 'as_fn_append ()
359
# Perform arithmetic evaluation on the ARGs, and store the result in the
360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
361
# must be portable across $(()) and expr.
362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370
as_val=`expr "$@" || test $? -eq 1`
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
376
# ----------------------------------------
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379
# script with STATUS, using 1 if that was 0.
382
as_status=$1; test $as_status -eq 0 && as_status=1
384
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387
$as_echo "$as_me: error: $2" >&2
388
as_fn_exit $as_status
391
if expr a : '\(a\)' >/dev/null 2>&1 &&
392
test "X`expr 00001 : '.*\(...\)'`" = X001; then
398
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410
as_me=`$as_basename -- "$0" ||
411
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412
X"$0" : 'X\(//\)$' \| \
413
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415
sed '/^.*\/\([^/][^/]*\)\/*$/{
429
# Avoid depending upon Character Ranges.
430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433
as_cr_digits='0123456789'
434
as_cr_alnum=$as_cr_Letters$as_cr_digits
437
as_lineno_1=$LINENO as_lineno_1a=$LINENO
438
as_lineno_2=$LINENO as_lineno_2a=$LINENO
439
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
chmod +x "$as_me.lineno" ||
458
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460
# Don't try to exec as it changes $[0], causing all sort of problems
461
# (the dirname of $[0] is not the place where we might find the
462
# original and so on. Autoconf is especially sensitive to this).
464
# Exit status is that of the last command.
468
ECHO_C= ECHO_N= ECHO_T=
469
case `echo -n x` in #(((((
471
case `echo 'xy\c'` in
472
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
474
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481
rm -f conf$$ conf$$.exe conf$$.file
482
if test -d conf$$.dir; then
483
rm -f conf$$.dir/conf$$.file
486
mkdir conf$$.dir 2>/dev/null
488
if (echo >conf$$.file) 2>/dev/null; then
489
if ln -s conf$$.file conf$$ 2>/dev/null; then
491
# ... but there are two gotchas:
492
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494
# In both cases, we have to default to `cp -p'.
495
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497
elif ln conf$$.file conf$$ 2>/dev/null; then
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
508
if mkdir -p . 2>/dev/null; then
509
as_mkdir_p='mkdir -p "$as_dir"'
511
test -d ./-p && rmdir ./-p
515
if test -x / >/dev/null 2>&1; then
518
if ls -dL / >/dev/null 2>&1; then
525
if test -d "$1"; then
531
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532
???[sx]*):;;*)false;;esac;fi
536
as_executable_p=$as_test_x
538
# Sed expression to map a string onto a valid CPP name.
539
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541
# Sed expression to map a string onto a valid variable name.
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544
SHELL=${CONFIG_SHELL-/bin/sh}
547
test -n "$DJDIR" || exec 7<&0 </dev/null
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552
# so uname gets run too.
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
ac_default_prefix=/usr/local
560
ac_config_libobj_dir=.
567
# Identity of this package.
575
ac_unique_file="configure.in"
576
# Factoring default headers for most tests.
577
ac_includes_default="\
579
#ifdef HAVE_SYS_TYPES_H
580
# include <sys/types.h>
582
#ifdef HAVE_SYS_STAT_H
583
# include <sys/stat.h>
589
# ifdef HAVE_STDLIB_H
594
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599
#ifdef HAVE_STRINGS_H
600
# include <strings.h>
602
#ifdef HAVE_INTTYPES_H
603
# include <inttypes.h>
613
ac_subst_vars='am__EXEEXT_FALSE
707
INSTALL_STRIP_PROGRAM
749
program_transform_name
762
enable_option_checking
767
enable_dependency_tracking
779
ac_precious_vars='build_alias
806
# Initialize some variables set by options.
808
ac_init_version=false
809
ac_unrecognized_opts=
811
# The variables have the same names as the options, with
812
# dashes changed to underlines.
820
program_transform_name=s,x,x,
828
# Installation directory options.
829
# These are left unexpanded so users can "make install exec_prefix=/foo"
830
# and all the variables that are supposed to be based on exec_prefix
831
# by default will actually change.
832
# Use braces instead of parens because sh, perl, etc. also accept them.
833
# (The list follows the same order as the GNU Coding Standards.)
834
bindir='${exec_prefix}/bin'
835
sbindir='${exec_prefix}/sbin'
836
libexecdir='${exec_prefix}/libexec'
837
datarootdir='${prefix}/share'
838
datadir='${datarootdir}'
839
sysconfdir='${prefix}/etc'
840
sharedstatedir='${prefix}/com'
841
localstatedir='${prefix}/var'
842
includedir='${prefix}/include'
843
oldincludedir='/usr/include'
844
docdir='${datarootdir}/doc/${PACKAGE}'
845
infodir='${datarootdir}/info'
850
libdir='${exec_prefix}/lib'
851
localedir='${datarootdir}/locale'
852
mandir='${datarootdir}/man'
858
# If the previous option needs an argument, assign it.
859
if test -n "$ac_prev"; then
860
eval $ac_prev=\$ac_option
866
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871
# Accept the important Cygnus configure options, so we can diagnose typos.
873
case $ac_dashdash$ac_option in
877
-bindir | --bindir | --bindi | --bind | --bin | --bi)
879
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
882
-build | --build | --buil | --bui | --bu)
883
ac_prev=build_alias ;;
884
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
885
build_alias=$ac_optarg ;;
887
-cache-file | --cache-file | --cache-fil | --cache-fi \
888
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
889
ac_prev=cache_file ;;
890
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
891
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
892
cache_file=$ac_optarg ;;
895
cache_file=config.cache ;;
897
-datadir | --datadir | --datadi | --datad)
899
-datadir=* | --datadir=* | --datadi=* | --datad=*)
900
datadir=$ac_optarg ;;
902
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
903
| --dataroo | --dataro | --datar)
904
ac_prev=datarootdir ;;
905
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
906
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
907
datarootdir=$ac_optarg ;;
909
-disable-* | --disable-*)
910
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911
# Reject names that are not valid shell variable names.
912
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913
as_fn_error $? "invalid feature name: $ac_useropt"
914
ac_useropt_orig=$ac_useropt
915
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916
case $ac_user_opts in
920
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921
ac_unrecognized_sep=', ';;
923
eval enable_$ac_useropt=no ;;
925
-docdir | --docdir | --docdi | --doc | --do)
927
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
930
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
935
-enable-* | --enable-*)
936
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937
# Reject names that are not valid shell variable names.
938
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939
as_fn_error $? "invalid feature name: $ac_useropt"
940
ac_useropt_orig=$ac_useropt
941
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942
case $ac_user_opts in
946
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947
ac_unrecognized_sep=', ';;
949
eval enable_$ac_useropt=\$ac_optarg ;;
951
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
952
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
953
| --exec | --exe | --ex)
954
ac_prev=exec_prefix ;;
955
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
956
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
957
| --exec=* | --exe=* | --ex=*)
958
exec_prefix=$ac_optarg ;;
960
-gas | --gas | --ga | --g)
961
# Obsolete; use --with-gas.
964
-help | --help | --hel | --he | -h)
966
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
967
ac_init_help=recursive ;;
968
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
969
ac_init_help=short ;;
971
-host | --host | --hos | --ho)
972
ac_prev=host_alias ;;
973
-host=* | --host=* | --hos=* | --ho=*)
974
host_alias=$ac_optarg ;;
976
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980
htmldir=$ac_optarg ;;
982
-includedir | --includedir | --includedi | --included | --include \
983
| --includ | --inclu | --incl | --inc)
984
ac_prev=includedir ;;
985
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
986
| --includ=* | --inclu=* | --incl=* | --inc=*)
987
includedir=$ac_optarg ;;
989
-infodir | --infodir | --infodi | --infod | --info | --inf)
991
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
992
infodir=$ac_optarg ;;
994
-libdir | --libdir | --libdi | --libd)
996
-libdir=* | --libdir=* | --libdi=* | --libd=*)
999
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1000
| --libexe | --libex | --libe)
1001
ac_prev=libexecdir ;;
1002
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1003
| --libexe=* | --libex=* | --libe=*)
1004
libexecdir=$ac_optarg ;;
1006
-localedir | --localedir | --localedi | --localed | --locale)
1007
ac_prev=localedir ;;
1008
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1009
localedir=$ac_optarg ;;
1011
-localstatedir | --localstatedir | --localstatedi | --localstated \
1012
| --localstate | --localstat | --localsta | --localst | --locals)
1013
ac_prev=localstatedir ;;
1014
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1015
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1016
localstatedir=$ac_optarg ;;
1018
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1021
mandir=$ac_optarg ;;
1023
-nfp | --nfp | --nf)
1024
# Obsolete; use --without-fp.
1027
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1028
| --no-cr | --no-c | -n)
1031
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1032
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1035
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1036
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1037
| --oldin | --oldi | --old | --ol | --o)
1038
ac_prev=oldincludedir ;;
1039
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1040
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1041
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1042
oldincludedir=$ac_optarg ;;
1044
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1047
prefix=$ac_optarg ;;
1049
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1050
| --program-pre | --program-pr | --program-p)
1051
ac_prev=program_prefix ;;
1052
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1053
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1054
program_prefix=$ac_optarg ;;
1056
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1057
| --program-suf | --program-su | --program-s)
1058
ac_prev=program_suffix ;;
1059
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1060
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1061
program_suffix=$ac_optarg ;;
1063
-program-transform-name | --program-transform-name \
1064
| --program-transform-nam | --program-transform-na \
1065
| --program-transform-n | --program-transform- \
1066
| --program-transform | --program-transfor \
1067
| --program-transfo | --program-transf \
1068
| --program-trans | --program-tran \
1069
| --progr-tra | --program-tr | --program-t)
1070
ac_prev=program_transform_name ;;
1071
-program-transform-name=* | --program-transform-name=* \
1072
| --program-transform-nam=* | --program-transform-na=* \
1073
| --program-transform-n=* | --program-transform-=* \
1074
| --program-transform=* | --program-transfor=* \
1075
| --program-transfo=* | --program-transf=* \
1076
| --program-trans=* | --program-tran=* \
1077
| --progr-tra=* | --program-tr=* | --program-t=*)
1078
program_transform_name=$ac_optarg ;;
1080
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1083
pdfdir=$ac_optarg ;;
1085
-psdir | --psdir | --psdi | --psd | --ps)
1087
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1090
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091
| -silent | --silent | --silen | --sile | --sil)
1094
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098
sbindir=$ac_optarg ;;
1100
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1101
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1102
| --sharedst | --shareds | --shared | --share | --shar \
1104
ac_prev=sharedstatedir ;;
1105
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1106
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1107
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109
sharedstatedir=$ac_optarg ;;
1111
-site | --site | --sit)
1113
-site=* | --site=* | --sit=*)
1116
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1119
srcdir=$ac_optarg ;;
1121
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1122
| --syscon | --sysco | --sysc | --sys | --sy)
1123
ac_prev=sysconfdir ;;
1124
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1125
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1126
sysconfdir=$ac_optarg ;;
1128
-target | --target | --targe | --targ | --tar | --ta | --t)
1129
ac_prev=target_alias ;;
1130
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1131
target_alias=$ac_optarg ;;
1133
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1136
-version | --version | --versio | --versi | --vers | -V)
1137
ac_init_version=: ;;
1140
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141
# Reject names that are not valid shell variable names.
1142
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143
as_fn_error $? "invalid package name: $ac_useropt"
1144
ac_useropt_orig=$ac_useropt
1145
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146
case $ac_user_opts in
1150
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151
ac_unrecognized_sep=', ';;
1153
eval with_$ac_useropt=\$ac_optarg ;;
1155
-without-* | --without-*)
1156
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157
# Reject names that are not valid shell variable names.
1158
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159
as_fn_error $? "invalid package name: $ac_useropt"
1160
ac_useropt_orig=$ac_useropt
1161
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162
case $ac_user_opts in
1166
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167
ac_unrecognized_sep=', ';;
1169
eval with_$ac_useropt=no ;;
1172
# Obsolete; use --with-x.
1175
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1176
| --x-incl | --x-inc | --x-in | --x-i)
1177
ac_prev=x_includes ;;
1178
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1179
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1180
x_includes=$ac_optarg ;;
1182
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1183
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1184
ac_prev=x_libraries ;;
1185
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1186
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1187
x_libraries=$ac_optarg ;;
1189
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1190
Try \`$0 --help' for more information"
1194
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1195
# Reject names that are not valid shell variable names.
1196
case $ac_envvar in #(
1197
'' | [0-9]* | *[!_$as_cr_alnum]* )
1198
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200
eval $ac_envvar=\$ac_optarg
1201
export $ac_envvar ;;
1204
# FIXME: should be removed in autoconf 3.0.
1205
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1214
if test -n "$ac_prev"; then
1215
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1216
as_fn_error $? "missing argument to $ac_option"
1219
if test -n "$ac_unrecognized_opts"; then
1220
case $enable_option_checking in
1222
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1223
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227
# Check all directory arguments for consistency.
1228
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229
datadir sysconfdir sharedstatedir localstatedir includedir \
1230
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231
libdir localedir mandir
1233
eval ac_val=\$$ac_var
1234
# Remove trailing slashes.
1237
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238
eval $ac_var=\$ac_val;;
1240
# Be sure to have absolute directory names.
1242
[\\/$]* | ?:[\\/]* ) continue;;
1243
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1248
# There might be people who depend on the old broken behavior: `$host'
1249
# used to hold the argument of --host etc.
1250
# FIXME: To remove some day.
1253
target=$target_alias
1255
# FIXME: To remove some day.
1256
if test "x$host_alias" != x; then
1257
if test "x$build_alias" = x; then
1258
cross_compiling=maybe
1259
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1260
If a cross compiler is detected then cross compile mode will be used" >&2
1261
elif test "x$build_alias" != "x$host_alias"; then
1267
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269
test "$silent" = yes && exec 6>/dev/null
1272
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1273
ac_ls_di=`ls -di .` &&
1274
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1275
as_fn_error $? "working directory cannot be determined"
1276
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1277
as_fn_error $? "pwd does not report name of working directory"
1280
# Find the source files, if location was not specified.
1281
if test -z "$srcdir"; then
1282
ac_srcdir_defaulted=yes
1283
# Try the directory containing this script, then the parent directory.
1284
ac_confdir=`$as_dirname -- "$as_myself" ||
1285
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286
X"$as_myself" : 'X\(//\)[^/]' \| \
1287
X"$as_myself" : 'X\(//\)$' \| \
1288
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1289
$as_echo X"$as_myself" |
1290
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1308
if test ! -r "$srcdir/$ac_unique_file"; then
1312
ac_srcdir_defaulted=no
1314
if test ! -r "$srcdir/$ac_unique_file"; then
1315
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1316
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322
# When building in place, set srcdir=.
1323
if test "$ac_abs_confdir" = "$ac_pwd"; then
1326
# Remove unnecessary trailing slashes from srcdir.
1327
# Double slashes in file names in object file debugging info
1328
# mess up M-x gdb in Emacs.
1330
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332
for ac_var in $ac_precious_vars; do
1333
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1334
eval ac_env_${ac_var}_value=\$${ac_var}
1335
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1336
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1340
# Report the --help message.
1342
if test "$ac_init_help" = "long"; then
1343
# Omit some internal or obsolete options to make the list less imposing.
1344
# This message is too long to be a string in the A/UX 3.1 sh.
1346
\`configure' configures this package to adapt to many kinds of systems.
1348
Usage: $0 [OPTION]... [VAR=VALUE]...
1350
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1351
VAR=VALUE. See below for descriptions of some of the useful variables.
1353
Defaults for the options are specified in brackets.
1356
-h, --help display this help and exit
1357
--help=short display options specific to this package
1358
--help=recursive display the short help of all the included packages
1359
-V, --version display version information and exit
1360
-q, --quiet, --silent do not print \`checking ...' messages
1361
--cache-file=FILE cache test results in FILE [disabled]
1362
-C, --config-cache alias for \`--cache-file=config.cache'
1363
-n, --no-create do not create output files
1364
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1366
Installation directories:
1367
--prefix=PREFIX install architecture-independent files in PREFIX
1368
[$ac_default_prefix]
1369
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1372
By default, \`make install' will install all the files in
1373
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1374
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1375
for instance \`--prefix=\$HOME'.
1377
For better control, use the options below.
1379
Fine tuning of the installation directories:
1380
--bindir=DIR user executables [EPREFIX/bin]
1381
--sbindir=DIR system admin executables [EPREFIX/sbin]
1382
--libexecdir=DIR program executables [EPREFIX/libexec]
1383
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1384
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1385
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1386
--libdir=DIR object code libraries [EPREFIX/lib]
1387
--includedir=DIR C header files [PREFIX/include]
1388
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1389
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1390
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1391
--infodir=DIR info documentation [DATAROOTDIR/info]
1392
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1393
--mandir=DIR man documentation [DATAROOTDIR/man]
1394
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1395
--htmldir=DIR html documentation [DOCDIR]
1396
--dvidir=DIR dvi documentation [DOCDIR]
1397
--pdfdir=DIR pdf documentation [DOCDIR]
1398
--psdir=DIR ps documentation [DOCDIR]
1404
--program-prefix=PREFIX prepend PREFIX to installed program names
1405
--program-suffix=SUFFIX append SUFFIX to installed program names
1406
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1409
--x-includes=DIR X include files are in DIR
1410
--x-libraries=DIR X library files are in DIR
1413
--build=BUILD configure for building on BUILD [guessed]
1414
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1418
if test -n "$ac_init_help"; then
1423
--disable-option-checking ignore unrecognized --enable/--with options
1424
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1425
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1426
--enable-shared[=PKGS] build shared libraries [default=yes]
1427
--enable-static[=PKGS] build static libraries [default=yes]
1428
--enable-fast-install[=PKGS]
1429
optimize for fast installation [default=yes]
1430
--disable-dependency-tracking speeds up one-time build
1431
--enable-dependency-tracking do not reject slow dependency extractors
1432
--disable-libtool-lock avoid locking (might break parallel builds)
1433
--disable-nls do not use Native Language Support
1434
--disable-rpath do not hardcode runtime library paths
1437
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1438
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1439
--with-pic try to use only PIC/non-PIC objects [default=use
1441
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1442
--with-sysroot=DIR Search for dependent libraries within DIR
1443
(or the compiler's sysroot if not specified).
1444
--with-x use the X Window System
1445
--without-appindicator Compile without AppIndicator library support
1446
--without-gconf Compile without GConf support
1447
--with-gnu-ld assume the C compiler uses GNU ld default=no
1448
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1449
--without-libiconv-prefix don't search for libiconv in includedir and libdir
1450
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1451
--without-libintl-prefix don't search for libintl in includedir and libdir
1453
Some influential environment variables:
1454
CC C compiler command
1455
CFLAGS C compiler flags
1456
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1457
nonstandard directory <lib dir>
1458
LIBS libraries to pass to the linker, e.g. -l<library>
1459
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1460
you have headers in a nonstandard directory <include dir>
1462
PKG_CONFIG path to pkg-config utility
1464
C compiler flags for XNEURCONF, overriding pkg-config
1466
linker flags for XNEURCONF, overriding pkg-config
1468
C compiler flags for XNEURLIB, overriding pkg-config
1470
linker flags for XNEURLIB, overriding pkg-config
1471
X11_CFLAGS C compiler flags for X11, overriding pkg-config
1472
X11_LIBS linker flags for X11, overriding pkg-config
1473
XMKMF Path to xmkmf, Makefile generator for X Window System
1474
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1475
GTK_LIBS linker flags for GTK, overriding pkg-config
1476
APP_INDICATOR_CFLAGS
1477
C compiler flags for APP_INDICATOR, overriding pkg-config
1479
linker flags for APP_INDICATOR, overriding pkg-config
1481
C compiler flags for GLADE, overriding pkg-config
1482
GLADE_LIBS linker flags for GLADE, overriding pkg-config
1484
C compiler flags for GCONF, overriding pkg-config
1485
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1487
Use these variables to override the choices made by `configure' or to help
1488
it to find libraries and programs with nonstandard names/locations.
1490
Report bugs to the package provider.
1495
if test "$ac_init_help" = "recursive"; then
1496
# If there are subdirs, report their specific --help.
1497
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1498
test -d "$ac_dir" ||
1499
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1504
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1506
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1507
# A ".." for each directory in $ac_dir_suffix.
1508
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1509
case $ac_top_builddir_sub in
1510
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1514
ac_abs_top_builddir=$ac_pwd
1515
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1516
# for backward compatibility:
1517
ac_top_builddir=$ac_top_build_prefix
1520
.) # We are building in place.
1522
ac_top_srcdir=$ac_top_builddir_sub
1523
ac_abs_top_srcdir=$ac_pwd ;;
1524
[\\/]* | ?:[\\/]* ) # Absolute name.
1525
ac_srcdir=$srcdir$ac_dir_suffix;
1526
ac_top_srcdir=$srcdir
1527
ac_abs_top_srcdir=$srcdir ;;
1529
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1530
ac_top_srcdir=$ac_top_build_prefix$srcdir
1531
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1533
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1535
cd "$ac_dir" || { ac_status=$?; continue; }
1536
# Check for guested configure.
1537
if test -f "$ac_srcdir/configure.gnu"; then
1539
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1540
elif test -f "$ac_srcdir/configure"; then
1542
$SHELL "$ac_srcdir/configure" --help=recursive
1544
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1546
cd "$ac_pwd" || { ac_status=$?; break; }
1550
test -n "$ac_init_help" && exit $ac_status
1551
if $ac_init_version; then
1554
generated by GNU Autoconf 2.68
1556
Copyright (C) 2010 Free Software Foundation, Inc.
1557
This configure script is free software; the Free Software Foundation
1558
gives unlimited permission to copy, distribute and modify it.
1563
## ------------------------ ##
1564
## Autoconf initialization. ##
1565
## ------------------------ ##
1567
# ac_fn_c_try_compile LINENO
1568
# --------------------------
1569
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1570
ac_fn_c_try_compile ()
1572
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573
rm -f conftest.$ac_objext
1574
if { { ac_try="$ac_compile"
1576
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577
*) ac_try_echo=$ac_try;;
1579
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580
$as_echo "$ac_try_echo"; } >&5
1581
(eval "$ac_compile") 2>conftest.err
1583
if test -s conftest.err; then
1584
grep -v '^ *+' conftest.err >conftest.er1
1585
cat conftest.er1 >&5
1586
mv -f conftest.er1 conftest.err
1588
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589
test $ac_status = 0; } && {
1590
test -z "$ac_c_werror_flag" ||
1591
test ! -s conftest.err
1592
} && test -s conftest.$ac_objext; then :
1595
$as_echo "$as_me: failed program was:" >&5
1596
sed 's/^/| /' conftest.$ac_ext >&5
1600
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601
as_fn_set_status $ac_retval
1603
} # ac_fn_c_try_compile
1605
# ac_fn_c_try_link LINENO
1606
# -----------------------
1607
# Try to link conftest.$ac_ext, and return whether this succeeded.
1610
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611
rm -f conftest.$ac_objext conftest$ac_exeext
1612
if { { ac_try="$ac_link"
1614
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615
*) ac_try_echo=$ac_try;;
1617
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618
$as_echo "$ac_try_echo"; } >&5
1619
(eval "$ac_link") 2>conftest.err
1621
if test -s conftest.err; then
1622
grep -v '^ *+' conftest.err >conftest.er1
1623
cat conftest.er1 >&5
1624
mv -f conftest.er1 conftest.err
1626
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627
test $ac_status = 0; } && {
1628
test -z "$ac_c_werror_flag" ||
1629
test ! -s conftest.err
1630
} && test -s conftest$ac_exeext && {
1631
test "$cross_compiling" = yes ||
1632
$as_test_x conftest$ac_exeext
1636
$as_echo "$as_me: failed program was:" >&5
1637
sed 's/^/| /' conftest.$ac_ext >&5
1641
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1642
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1643
# interfere with the next link command; also delete a directory that is
1644
# left behind by Apple's compiler. We do this before executing the actions.
1645
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1646
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647
as_fn_set_status $ac_retval
1649
} # ac_fn_c_try_link
1651
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1652
# -------------------------------------------------------
1653
# Tests whether HEADER exists and can be compiled using the include files in
1654
# INCLUDES, setting the cache variable VAR accordingly.
1655
ac_fn_c_check_header_compile ()
1657
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1659
$as_echo_n "checking for $2... " >&6; }
1660
if eval \${$3+:} false; then :
1661
$as_echo_n "(cached) " >&6
1663
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664
/* end confdefs.h. */
1668
if ac_fn_c_try_compile "$LINENO"; then :
1673
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677
$as_echo "$ac_res" >&6; }
1678
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680
} # ac_fn_c_check_header_compile
1682
# ac_fn_c_try_cpp LINENO
1683
# ----------------------
1684
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1687
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688
if { { ac_try="$ac_cpp conftest.$ac_ext"
1690
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691
*) ac_try_echo=$ac_try;;
1693
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694
$as_echo "$ac_try_echo"; } >&5
1695
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1697
if test -s conftest.err; then
1698
grep -v '^ *+' conftest.err >conftest.er1
1699
cat conftest.er1 >&5
1700
mv -f conftest.er1 conftest.err
1702
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703
test $ac_status = 0; } > conftest.i && {
1704
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1705
test ! -s conftest.err
1709
$as_echo "$as_me: failed program was:" >&5
1710
sed 's/^/| /' conftest.$ac_ext >&5
1714
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715
as_fn_set_status $ac_retval
1719
# ac_fn_c_try_run LINENO
1720
# ----------------------
1721
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1722
# that executables *can* be run.
1725
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726
if { { ac_try="$ac_link"
1728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729
*) ac_try_echo=$ac_try;;
1731
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732
$as_echo "$ac_try_echo"; } >&5
1733
(eval "$ac_link") 2>&5
1735
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1737
{ { case "(($ac_try" in
1738
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739
*) ac_try_echo=$ac_try;;
1741
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742
$as_echo "$ac_try_echo"; } >&5
1743
(eval "$ac_try") 2>&5
1745
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746
test $ac_status = 0; }; }; then :
1749
$as_echo "$as_me: program exited with status $ac_status" >&5
1750
$as_echo "$as_me: failed program was:" >&5
1751
sed 's/^/| /' conftest.$ac_ext >&5
1753
ac_retval=$ac_status
1755
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757
as_fn_set_status $ac_retval
1761
# ac_fn_c_check_func LINENO FUNC VAR
1762
# ----------------------------------
1763
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1764
ac_fn_c_check_func ()
1766
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768
$as_echo_n "checking for $2... " >&6; }
1769
if eval \${$3+:} false; then :
1770
$as_echo_n "(cached) " >&6
1772
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773
/* end confdefs.h. */
1774
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1775
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1776
#define $2 innocuous_$2
1778
/* System header to define __stub macros and hopefully few prototypes,
1779
which can conflict with char $2 (); below.
1780
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1781
<limits.h> exists even on freestanding compilers. */
1784
# include <limits.h>
1786
# include <assert.h>
1791
/* Override any GCC internal prototype to avoid an error.
1792
Use char because int might match the return type of a GCC
1793
builtin and then its argument prototype would still apply. */
1798
/* The GNU C library defines this for functions which it implements
1799
to always fail with ENOSYS. Some functions are actually named
1800
something starting with __ and the normal name is an alias. */
1801
#if defined __stub_$2 || defined __stub___$2
1813
if ac_fn_c_try_link "$LINENO"; then :
1818
rm -f core conftest.err conftest.$ac_objext \
1819
conftest$ac_exeext conftest.$ac_ext
1822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823
$as_echo "$ac_res" >&6; }
1824
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826
} # ac_fn_c_check_func
1827
cat >config.log <<_ACEOF
1828
This file contains any messages produced by compilers while
1829
running configure, to aid debugging if configure makes a mistake.
1831
It was created by $as_me, which was
1832
generated by GNU Autoconf 2.68. Invocation command line was
1844
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1845
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1846
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1847
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1848
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1850
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1851
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1853
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1854
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1855
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1856
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1857
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1858
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1859
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867
test -z "$as_dir" && as_dir=.
1868
$as_echo "PATH: $as_dir"
1884
# Keep a trace of the command line.
1885
# Strip out --no-create and --no-recursion so they do not pile up.
1886
# Strip out --silent because we don't want to record it for future runs.
1887
# Also quote any args containing shell meta-characters.
1888
# Make two passes to allow for proper duplicate-argument suppression.
1892
ac_must_keep_next=false
1898
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1899
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1900
| -silent | --silent | --silen | --sile | --sil)
1903
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1906
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1908
as_fn_append ac_configure_args1 " '$ac_arg'"
1909
if test $ac_must_keep_next = true; then
1910
ac_must_keep_next=false # Got value, back to normal.
1913
*=* | --config-cache | -C | -disable-* | --disable-* \
1914
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1915
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1916
| -with-* | --with-* | -without-* | --without-* | --x)
1917
case "$ac_configure_args0 " in
1918
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1921
-* ) ac_must_keep_next=true ;;
1924
as_fn_append ac_configure_args " '$ac_arg'"
1929
{ ac_configure_args0=; unset ac_configure_args0;}
1930
{ ac_configure_args1=; unset ac_configure_args1;}
1932
# When interrupted or exit'd, cleanup temporary files, and complete
1933
# config.log. We remove comments because anyway the quotes in there
1934
# would cause problems or look ugly.
1935
# WARNING: Use '\'' to represent an apostrophe within the trap.
1936
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1937
trap 'exit_status=$?
1938
# Save into config.log some information that might help in debugging.
1942
$as_echo "## ---------------- ##
1943
## Cache variables. ##
1944
## ---------------- ##"
1946
# The following way of writing the cache mishandles newlines in values,
1948
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1949
eval ac_val=\$$ac_var
1953
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1954
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1957
_ | IFS | as_nl) ;; #(
1958
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1959
*) { eval $ac_var=; unset $ac_var;} ;;
1964
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1965
*${as_nl}ac_space=\ *)
1967
"s/'\''/'\''\\\\'\'''\''/g;
1968
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1971
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1978
$as_echo "## ----------------- ##
1979
## Output variables. ##
1980
## ----------------- ##"
1982
for ac_var in $ac_subst_vars
1984
eval ac_val=\$$ac_var
1986
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1988
$as_echo "$ac_var='\''$ac_val'\''"
1992
if test -n "$ac_subst_files"; then
1993
$as_echo "## ------------------- ##
1994
## File substitutions. ##
1995
## ------------------- ##"
1997
for ac_var in $ac_subst_files
1999
eval ac_val=\$$ac_var
2001
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2003
$as_echo "$ac_var='\''$ac_val'\''"
2008
if test -s confdefs.h; then
2009
$as_echo "## ----------- ##
2016
test "$ac_signal" != 0 &&
2017
$as_echo "$as_me: caught signal $ac_signal"
2018
$as_echo "$as_me: exit $exit_status"
2020
rm -f core *.core core.conftest.* &&
2021
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2024
for ac_signal in 1 2 13 15; do
2025
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2029
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2030
rm -f -r conftest* confdefs.h
2032
$as_echo "/* confdefs.h */" > confdefs.h
2034
# Predefined preprocessor variables.
2036
cat >>confdefs.h <<_ACEOF
2037
#define PACKAGE_NAME "$PACKAGE_NAME"
2040
cat >>confdefs.h <<_ACEOF
2041
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2044
cat >>confdefs.h <<_ACEOF
2045
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2048
cat >>confdefs.h <<_ACEOF
2049
#define PACKAGE_STRING "$PACKAGE_STRING"
2052
cat >>confdefs.h <<_ACEOF
2053
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2056
cat >>confdefs.h <<_ACEOF
2057
#define PACKAGE_URL "$PACKAGE_URL"
2061
# Let the site file select an alternate cache file if it wants to.
2062
# Prefer an explicitly selected file to automatically selected ones.
2065
if test -n "$CONFIG_SITE"; then
2066
# We do not want a PATH search for config.site.
2067
case $CONFIG_SITE in #((
2068
-*) ac_site_file1=./$CONFIG_SITE;;
2069
*/*) ac_site_file1=$CONFIG_SITE;;
2070
*) ac_site_file1=./$CONFIG_SITE;;
2072
elif test "x$prefix" != xNONE; then
2073
ac_site_file1=$prefix/share/config.site
2074
ac_site_file2=$prefix/etc/config.site
2076
ac_site_file1=$ac_default_prefix/share/config.site
2077
ac_site_file2=$ac_default_prefix/etc/config.site
2079
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2081
test "x$ac_site_file" = xNONE && continue
2082
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2083
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2084
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2085
sed 's/^/| /' "$ac_site_file" >&5
2087
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2088
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089
as_fn_error $? "failed to load site script $ac_site_file
2090
See \`config.log' for more details" "$LINENO" 5; }
2094
if test -r "$cache_file"; then
2095
# Some versions of bash will fail to source /dev/null (special files
2096
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2097
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2098
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2099
$as_echo "$as_me: loading cache $cache_file" >&6;}
2101
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2102
*) . "./$cache_file";;
2106
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2107
$as_echo "$as_me: creating cache $cache_file" >&6;}
2111
gt_needs="$gt_needs "
2112
# Check that the precious variables saved in the cache have kept the same
2114
ac_cache_corrupted=false
2115
for ac_var in $ac_precious_vars; do
2116
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2117
eval ac_new_set=\$ac_env_${ac_var}_set
2118
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2119
eval ac_new_val=\$ac_env_${ac_var}_value
2120
case $ac_old_set,$ac_new_set in
2122
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2123
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2124
ac_cache_corrupted=: ;;
2126
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2127
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2128
ac_cache_corrupted=: ;;
2131
if test "x$ac_old_val" != "x$ac_new_val"; then
2132
# differences in whitespace do not lead to failure.
2133
ac_old_val_w=`echo x $ac_old_val`
2134
ac_new_val_w=`echo x $ac_new_val`
2135
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2136
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2137
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2138
ac_cache_corrupted=:
2140
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2141
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2142
eval $ac_var=\$ac_old_val
2144
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2145
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2146
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2147
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2150
# Pass precious variables to config.status.
2151
if test "$ac_new_set" = set; then
2153
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2154
*) ac_arg=$ac_var=$ac_new_val ;;
2156
case " $ac_configure_args " in
2157
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2158
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2162
if $ac_cache_corrupted; then
2163
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2164
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2165
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2166
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2167
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2169
## -------------------- ##
2170
## Main body of script. ##
2171
## -------------------- ##
2174
ac_cpp='$CPP $CPPFLAGS'
2175
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2176
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2177
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2181
ac_config_headers="$ac_config_headers config.h"
2185
am__api_version='1.11'
2188
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2189
if test -f "$ac_dir/install-sh"; then
2191
ac_install_sh="$ac_aux_dir/install-sh -c"
2193
elif test -f "$ac_dir/install.sh"; then
2195
ac_install_sh="$ac_aux_dir/install.sh -c"
2197
elif test -f "$ac_dir/shtool"; then
2199
ac_install_sh="$ac_aux_dir/shtool install -c"
2203
if test -z "$ac_aux_dir"; then
2204
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2207
# These three variables are undocumented and unsupported,
2208
# and are intended to be withdrawn in a future Autoconf release.
2209
# They can cause serious problems if a builder's source tree is in a directory
2210
# whose full name contains unusual characters.
2211
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2212
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2213
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2216
# Find a good install program. We prefer a C program (faster),
2217
# so one script is as good as another. But avoid the broken or
2218
# incompatible versions:
2219
# SysV /etc/install, /usr/sbin/install
2220
# SunOS /usr/etc/install
2221
# IRIX /sbin/install
2223
# AmigaOS /C/install, which installs bootblocks on floppy discs
2224
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2225
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2226
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2227
# OS/2's system install, which has a completely different semantic
2228
# ./install, which can be erroneously created by make from ./install.sh.
2229
# Reject install programs that cannot install multiple files.
2230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2231
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2232
if test -z "$INSTALL"; then
2233
if ${ac_cv_path_install+:} false; then :
2234
$as_echo_n "(cached) " >&6
2236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240
test -z "$as_dir" && as_dir=.
2241
# Account for people who put trailing slashes in PATH elements.
2242
case $as_dir/ in #((
2243
./ | .// | /[cC]/* | \
2244
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2245
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2248
# OSF1 and SCO ODT 3.0 have their own names for install.
2249
# Don't use installbsd from OSF since it installs stuff as root
2251
for ac_prog in ginstall scoinst install; do
2252
for ac_exec_ext in '' $ac_executable_extensions; do
2253
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2254
if test $ac_prog = install &&
2255
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2256
# AIX install. It has an incompatible calling convention.
2258
elif test $ac_prog = install &&
2259
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2260
# program-specific install script used by HP pwplus--don't use.
2263
rm -rf conftest.one conftest.two conftest.dir
2264
echo one > conftest.one
2265
echo two > conftest.two
2267
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2268
test -s conftest.one && test -s conftest.two &&
2269
test -s conftest.dir/conftest.one &&
2270
test -s conftest.dir/conftest.two
2272
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2285
rm -rf conftest.one conftest.two conftest.dir
2288
if test "${ac_cv_path_install+set}" = set; then
2289
INSTALL=$ac_cv_path_install
2291
# As a last resort, use the slow shell script. Don't cache a
2292
# value for INSTALL within a source directory, because that will
2293
# break other packages using the cache if that directory is
2294
# removed, or if the value is a relative name.
2295
INSTALL=$ac_install_sh
2298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2299
$as_echo "$INSTALL" >&6; }
2301
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2302
# It thinks the first close brace ends the variable substitution.
2303
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2305
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2307
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2310
$as_echo_n "checking whether build environment is sane... " >&6; }
2313
echo timestamp > conftest.file
2314
# Reject unsafe characters in $srcdir or the absolute working directory
2315
# name. Accept space and tab only in the latter.
2319
*[\\\"\#\$\&\'\`$am_lf]*)
2320
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2323
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2324
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2327
# Do `set' in a subshell so we don't clobber the current shell's
2328
# arguments. Must try -L first in case configure is actually a
2329
# symlink; some systems play weird games with the mod time of symlinks
2330
# (eg FreeBSD returns the mod time of the symlink's containing
2333
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2334
if test "$*" = "X"; then
2336
set X `ls -t "$srcdir/configure" conftest.file`
2339
if test "$*" != "X $srcdir/configure conftest.file" \
2340
&& test "$*" != "X conftest.file $srcdir/configure"; then
2342
# If neither matched, then we have a broken ls. This can happen
2343
# if, for instance, CONFIG_SHELL is bash and it inherits a
2344
# broken ls alias from the environment. This has actually
2345
# happened. Such a system could not be considered "sane".
2346
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2347
alias in your environment" "$LINENO" 5
2350
test "$2" = conftest.file
2356
as_fn_error $? "newly created file is older than distributed files!
2357
Check your system clock" "$LINENO" 5
2359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2360
$as_echo "yes" >&6; }
2361
test "$program_prefix" != NONE &&
2362
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2363
# Use a double $ so make ignores it.
2364
test "$program_suffix" != NONE &&
2365
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2366
# Double any \ or $.
2367
# By default was `s,x,x', remove it if useless.
2368
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2369
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2371
# expand $ac_aux_dir to an absolute path
2372
am_aux_dir=`cd $ac_aux_dir && pwd`
2374
if test x"${MISSING+set}" != xset; then
2377
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2379
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2382
# Use eval to expand $SHELL
2383
if eval "$MISSING --run true"; then
2384
am_missing_run="$MISSING --run "
2387
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2388
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2391
if test x"${install_sh}" != xset; then
2394
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2396
install_sh="\${SHELL} $am_aux_dir/install-sh"
2400
# Installed binaries are usually stripped using `strip' when the user
2401
# run `make install-strip'. However `strip' might not be the right
2402
# tool to use in cross-compilation environments, therefore Automake
2403
# will honor the `STRIP' environment variable to overrule this program.
2404
if test "$cross_compiling" != no; then
2405
if test -n "$ac_tool_prefix"; then
2406
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2407
set dummy ${ac_tool_prefix}strip; ac_word=$2
2408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2409
$as_echo_n "checking for $ac_word... " >&6; }
2410
if ${ac_cv_prog_STRIP+:} false; then :
2411
$as_echo_n "(cached) " >&6
2413
if test -n "$STRIP"; then
2414
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2416
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420
test -z "$as_dir" && as_dir=.
2421
for ac_exec_ext in '' $ac_executable_extensions; do
2422
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2423
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2424
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2433
STRIP=$ac_cv_prog_STRIP
2434
if test -n "$STRIP"; then
2435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2436
$as_echo "$STRIP" >&6; }
2438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439
$as_echo "no" >&6; }
2444
if test -z "$ac_cv_prog_STRIP"; then
2446
# Extract the first word of "strip", so it can be a program name with args.
2447
set dummy strip; ac_word=$2
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449
$as_echo_n "checking for $ac_word... " >&6; }
2450
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2451
$as_echo_n "(cached) " >&6
2453
if test -n "$ac_ct_STRIP"; then
2454
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460
test -z "$as_dir" && as_dir=.
2461
for ac_exec_ext in '' $ac_executable_extensions; do
2462
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463
ac_cv_prog_ac_ct_STRIP="strip"
2464
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2474
if test -n "$ac_ct_STRIP"; then
2475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2476
$as_echo "$ac_ct_STRIP" >&6; }
2478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479
$as_echo "no" >&6; }
2482
if test "x$ac_ct_STRIP" = x; then
2485
case $cross_compiling:$ac_tool_warned in
2487
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2488
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2489
ac_tool_warned=yes ;;
2494
STRIP="$ac_cv_prog_STRIP"
2498
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2501
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2502
if test -z "$MKDIR_P"; then
2503
if ${ac_cv_path_mkdir+:} false; then :
2504
$as_echo_n "(cached) " >&6
2506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2510
test -z "$as_dir" && as_dir=.
2511
for ac_prog in mkdir gmkdir; do
2512
for ac_exec_ext in '' $ac_executable_extensions; do
2513
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2514
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2515
'mkdir (GNU coreutils) '* | \
2516
'mkdir (coreutils) '* | \
2517
'mkdir (fileutils) '4.1*)
2518
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2528
test -d ./--version && rmdir ./--version
2529
if test "${ac_cv_path_mkdir+set}" = set; then
2530
MKDIR_P="$ac_cv_path_mkdir -p"
2532
# As a last resort, use the slow shell script. Don't cache a
2533
# value for MKDIR_P within a source directory, because that will
2534
# break other packages using the cache if that directory is
2535
# removed, or if the value is a relative name.
2536
MKDIR_P="$ac_install_sh -d"
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2540
$as_echo "$MKDIR_P" >&6; }
2544
[\\/$]* | ?:[\\/]*) ;;
2545
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2548
for ac_prog in gawk mawk nawk awk
2550
# Extract the first word of "$ac_prog", so it can be a program name with args.
2551
set dummy $ac_prog; ac_word=$2
2552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553
$as_echo_n "checking for $ac_word... " >&6; }
2554
if ${ac_cv_prog_AWK+:} false; then :
2555
$as_echo_n "(cached) " >&6
2557
if test -n "$AWK"; then
2558
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564
test -z "$as_dir" && as_dir=.
2565
for ac_exec_ext in '' $ac_executable_extensions; do
2566
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567
ac_cv_prog_AWK="$ac_prog"
2568
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2578
if test -n "$AWK"; then
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2580
$as_echo "$AWK" >&6; }
2582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583
$as_echo "no" >&6; }
2587
test -n "$AWK" && break
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2591
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2593
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2594
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2595
$as_echo_n "(cached) " >&6
2597
cat >conftest.make <<\_ACEOF
2600
@echo '@@@%%%=$(MAKE)=@@@%%%'
2602
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2603
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2605
eval ac_cv_prog_make_${ac_make}_set=yes;;
2607
eval ac_cv_prog_make_${ac_make}_set=no;;
2611
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2613
$as_echo "yes" >&6; }
2616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617
$as_echo "no" >&6; }
2618
SET_MAKE="MAKE=${MAKE-make}"
2621
rm -rf .tst 2>/dev/null
2622
mkdir .tst 2>/dev/null
2623
if test -d .tst; then
2628
rmdir .tst 2>/dev/null
2630
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2631
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2632
# is not polluted with repeated "-I."
2633
am__isrc=' -I$(srcdir)'
2634
# test to see if srcdir already configured
2635
if test -f $srcdir/config.status; then
2636
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2640
# test whether we have cygpath
2641
if test -z "$CYGPATH_W"; then
2642
if (cygpath --version) >/dev/null 2>/dev/null; then
2643
CYGPATH_W='cygpath -w'
2650
# Define the identity of the package.
2655
cat >>confdefs.h <<_ACEOF
2656
#define PACKAGE "$PACKAGE"
2660
cat >>confdefs.h <<_ACEOF
2661
#define VERSION "$VERSION"
2664
# Some tools Automake needs.
2666
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2669
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2672
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2675
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2678
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2680
# We need awk for the "check" target. The system "awk" is bad on
2682
# Always define AMTAR for backward compatibility.
2684
AMTAR=${AMTAR-"${am_missing_run}tar"}
2686
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2695
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2696
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2702
macro_revision='1.3293'
2716
ltmain="$ac_aux_dir/ltmain.sh"
2718
# Make sure we can run config.sub.
2719
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2720
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2723
$as_echo_n "checking build system type... " >&6; }
2724
if ${ac_cv_build+:} false; then :
2725
$as_echo_n "(cached) " >&6
2727
ac_build_alias=$build_alias
2728
test "x$ac_build_alias" = x &&
2729
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2730
test "x$ac_build_alias" = x &&
2731
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2732
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2733
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2737
$as_echo "$ac_cv_build" >&6; }
2738
case $ac_cv_build in
2740
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2743
ac_save_IFS=$IFS; IFS='-'
2749
# Remember, the first character of IFS is used to create $*,
2750
# except with old shells:
2753
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2757
$as_echo_n "checking host system type... " >&6; }
2758
if ${ac_cv_host+:} false; then :
2759
$as_echo_n "(cached) " >&6
2761
if test "x$host_alias" = x; then
2762
ac_cv_host=$ac_cv_build
2764
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2765
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2770
$as_echo "$ac_cv_host" >&6; }
2773
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2776
ac_save_IFS=$IFS; IFS='-'
2782
# Remember, the first character of IFS is used to create $*,
2783
# except with old shells:
2786
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2789
# Backslashify metacharacters that are still active within
2790
# double-quoted strings.
2791
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2793
# Same as above, but do not quote variable references.
2794
double_quote_subst='s/\(["`\\]\)/\\\1/g'
2796
# Sed substitution to delay expansion of an escaped shell variable in a
2797
# double_quote_subst'ed string.
2798
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2800
# Sed substitution to delay expansion of an escaped single quote.
2801
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2803
# Sed substitution to avoid accidental globbing in evaled expressions
2804
no_glob_subst='s/\*/\\\*/g'
2806
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2807
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2808
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2811
$as_echo_n "checking how to print strings... " >&6; }
2812
# Test print first, because it will be a builtin if present.
2813
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2814
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2816
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2819
# Use this function as a fallback that always works.
2820
func_fallback_echo ()
2822
eval 'cat <<_LTECHO_EOF
2826
ECHO='func_fallback_echo'
2829
# func_echo_all arg...
2830
# Invoke $ECHO with all args, space-separated.
2837
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2838
$as_echo "printf" >&6; } ;;
2839
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2840
$as_echo "print -r" >&6; } ;;
2841
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2842
$as_echo "cat" >&6; } ;;
2858
DEPDIR="${am__leading_dot}deps"
2860
ac_config_commands="$ac_config_commands depfiles"
2863
am_make=${MAKE-make}
2864
cat > confinc << 'END'
2866
@echo this is the am__doit target
2869
# If we don't find an include directive, just comment out the code.
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2871
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2875
# First try GNU make style include.
2876
echo "include confinc" > confmf
2877
# Ignore all kinds of additional output from `make'.
2878
case `$am_make -s -f confmf 2> /dev/null` in #(
2879
*the\ am__doit\ target*)
2885
# Now try BSD make style include.
2886
if test "$am__include" = "#"; then
2887
echo '.include "confinc"' > confmf
2888
case `$am_make -s -f confmf 2> /dev/null` in #(
2889
*the\ am__doit\ target*)
2890
am__include=.include
2898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2899
$as_echo "$_am_result" >&6; }
2900
rm -f confinc confmf
2902
# Check whether --enable-dependency-tracking was given.
2903
if test "${enable_dependency_tracking+set}" = set; then :
2904
enableval=$enable_dependency_tracking;
2907
if test "x$enable_dependency_tracking" != xno; then
2908
am_depcomp="$ac_aux_dir/depcomp"
2911
if test "x$enable_dependency_tracking" != xno; then
2921
ac_cpp='$CPP $CPPFLAGS'
2922
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925
if test -n "$ac_tool_prefix"; then
2926
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2927
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929
$as_echo_n "checking for $ac_word... " >&6; }
2930
if ${ac_cv_prog_CC+:} false; then :
2931
$as_echo_n "(cached) " >&6
2933
if test -n "$CC"; then
2934
ac_cv_prog_CC="$CC" # Let the user override the test.
2936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940
test -z "$as_dir" && as_dir=.
2941
for ac_exec_ext in '' $ac_executable_extensions; do
2942
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2944
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954
if test -n "$CC"; then
2955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956
$as_echo "$CC" >&6; }
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959
$as_echo "no" >&6; }
2964
if test -z "$ac_cv_prog_CC"; then
2966
# Extract the first word of "gcc", so it can be a program name with args.
2967
set dummy gcc; ac_word=$2
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969
$as_echo_n "checking for $ac_word... " >&6; }
2970
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2971
$as_echo_n "(cached) " >&6
2973
if test -n "$ac_ct_CC"; then
2974
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980
test -z "$as_dir" && as_dir=.
2981
for ac_exec_ext in '' $ac_executable_extensions; do
2982
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983
ac_cv_prog_ac_ct_CC="gcc"
2984
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2994
if test -n "$ac_ct_CC"; then
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2996
$as_echo "$ac_ct_CC" >&6; }
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999
$as_echo "no" >&6; }
3002
if test "x$ac_ct_CC" = x; then
3005
case $cross_compiling:$ac_tool_warned in
3007
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009
ac_tool_warned=yes ;;
3017
if test -z "$CC"; then
3018
if test -n "$ac_tool_prefix"; then
3019
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3020
set dummy ${ac_tool_prefix}cc; ac_word=$2
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022
$as_echo_n "checking for $ac_word... " >&6; }
3023
if ${ac_cv_prog_CC+:} false; then :
3024
$as_echo_n "(cached) " >&6
3026
if test -n "$CC"; then
3027
ac_cv_prog_CC="$CC" # Let the user override the test.
3029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033
test -z "$as_dir" && as_dir=.
3034
for ac_exec_ext in '' $ac_executable_extensions; do
3035
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036
ac_cv_prog_CC="${ac_tool_prefix}cc"
3037
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047
if test -n "$CC"; then
3048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049
$as_echo "$CC" >&6; }
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052
$as_echo "no" >&6; }
3058
if test -z "$CC"; then
3059
# Extract the first word of "cc", so it can be a program name with args.
3060
set dummy cc; ac_word=$2
3061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062
$as_echo_n "checking for $ac_word... " >&6; }
3063
if ${ac_cv_prog_CC+:} false; then :
3064
$as_echo_n "(cached) " >&6
3066
if test -n "$CC"; then
3067
ac_cv_prog_CC="$CC" # Let the user override the test.
3070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074
test -z "$as_dir" && as_dir=.
3075
for ac_exec_ext in '' $ac_executable_extensions; do
3076
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3078
ac_prog_rejected=yes
3082
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089
if test $ac_prog_rejected = yes; then
3090
# We found a bogon in the path, so make sure we never use it.
3091
set dummy $ac_cv_prog_CC
3093
if test $# != 0; then
3094
# We chose a different compiler from the bogus one.
3095
# However, it has the same basename, so the bogon will be chosen
3096
# first if we set CC to just the basename; use the full file name.
3098
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3104
if test -n "$CC"; then
3105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106
$as_echo "$CC" >&6; }
3108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109
$as_echo "no" >&6; }
3114
if test -z "$CC"; then
3115
if test -n "$ac_tool_prefix"; then
3116
for ac_prog in cl.exe
3118
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3119
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121
$as_echo_n "checking for $ac_word... " >&6; }
3122
if ${ac_cv_prog_CC+:} false; then :
3123
$as_echo_n "(cached) " >&6
3125
if test -n "$CC"; then
3126
ac_cv_prog_CC="$CC" # Let the user override the test.
3128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132
test -z "$as_dir" && as_dir=.
3133
for ac_exec_ext in '' $ac_executable_extensions; do
3134
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3136
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3146
if test -n "$CC"; then
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148
$as_echo "$CC" >&6; }
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151
$as_echo "no" >&6; }
3155
test -n "$CC" && break
3158
if test -z "$CC"; then
3160
for ac_prog in cl.exe
3162
# Extract the first word of "$ac_prog", so it can be a program name with args.
3163
set dummy $ac_prog; ac_word=$2
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165
$as_echo_n "checking for $ac_word... " >&6; }
3166
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3167
$as_echo_n "(cached) " >&6
3169
if test -n "$ac_ct_CC"; then
3170
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176
test -z "$as_dir" && as_dir=.
3177
for ac_exec_ext in '' $ac_executable_extensions; do
3178
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179
ac_cv_prog_ac_ct_CC="$ac_prog"
3180
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3190
if test -n "$ac_ct_CC"; then
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3192
$as_echo "$ac_ct_CC" >&6; }
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195
$as_echo "no" >&6; }
3199
test -n "$ac_ct_CC" && break
3202
if test "x$ac_ct_CC" = x; then
3205
case $cross_compiling:$ac_tool_warned in
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209
ac_tool_warned=yes ;;
3218
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220
as_fn_error $? "no acceptable C compiler found in \$PATH
3221
See \`config.log' for more details" "$LINENO" 5; }
3223
# Provide some information about the compiler.
3224
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3227
for ac_option in --version -v -V -qversion; do
3228
{ { ac_try="$ac_compiler $ac_option >&5"
3230
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231
*) ac_try_echo=$ac_try;;
3233
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234
$as_echo "$ac_try_echo"; } >&5
3235
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3237
if test -s conftest.err; then
3239
... rest of stderr output deleted ...
3240
10q' conftest.err >conftest.er1
3241
cat conftest.er1 >&5
3243
rm -f conftest.er1 conftest.err
3244
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245
test $ac_status = 0; }
3248
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249
/* end confdefs.h. */
3259
ac_clean_files_save=$ac_clean_files
3260
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3261
# Try to create an executable without -o first, disregard a.out.
3262
# It will help us diagnose broken compilers, and finding out an intuition
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3265
$as_echo_n "checking whether the C compiler works... " >&6; }
3266
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3268
# The possible output files:
3269
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3272
for ac_file in $ac_files
3275
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3276
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3281
if { { ac_try="$ac_link_default"
3283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284
*) ac_try_echo=$ac_try;;
3286
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287
$as_echo "$ac_try_echo"; } >&5
3288
(eval "$ac_link_default") 2>&5
3290
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291
test $ac_status = 0; }; then :
3292
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3293
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3294
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3295
# so that the user can short-circuit this test for compilers unknown to
3297
for ac_file in $ac_files ''
3299
test -f "$ac_file" || continue
3301
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3304
# We found the default executable, but exeext='' is most
3308
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3310
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3312
# We set ac_cv_exeext here because the later test for it is not
3313
# safe: cross compilers may not add the suffix if given an `-o'
3314
# argument, so we may need to know it at that point already.
3315
# Even if this section looks crufty: it has the advantage of
3322
test "$ac_cv_exeext" = no && ac_cv_exeext=
3327
if test -z "$ac_file"; then :
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329
$as_echo "no" >&6; }
3330
$as_echo "$as_me: failed program was:" >&5
3331
sed 's/^/| /' conftest.$ac_ext >&5
3333
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335
as_fn_error 77 "C compiler cannot create executables
3336
See \`config.log' for more details" "$LINENO" 5; }
3338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339
$as_echo "yes" >&6; }
3341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3342
$as_echo_n "checking for C compiler default output file name... " >&6; }
3343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3344
$as_echo "$ac_file" >&6; }
3345
ac_exeext=$ac_cv_exeext
3347
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3348
ac_clean_files=$ac_clean_files_save
3349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3350
$as_echo_n "checking for suffix of executables... " >&6; }
3351
if { { ac_try="$ac_link"
3353
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354
*) ac_try_echo=$ac_try;;
3356
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357
$as_echo "$ac_try_echo"; } >&5
3358
(eval "$ac_link") 2>&5
3360
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361
test $ac_status = 0; }; then :
3362
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3363
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3364
# work properly (i.e., refer to `conftest.exe'), while it won't with
3366
for ac_file in conftest.exe conftest conftest.*; do
3367
test -f "$ac_file" || continue
3369
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3376
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3379
See \`config.log' for more details" "$LINENO" 5; }
3381
rm -f conftest conftest$ac_cv_exeext
3382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383
$as_echo "$ac_cv_exeext" >&6; }
3385
rm -f conftest.$ac_ext
3386
EXEEXT=$ac_cv_exeext
3388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389
/* end confdefs.h. */
3394
FILE *f = fopen ("conftest.out", "w");
3395
return ferror (f) || fclose (f) != 0;
3401
ac_clean_files="$ac_clean_files conftest.out"
3402
# Check that the compiler produces executables we can run. If not, either
3403
# the compiler is broken, or we cross compile.
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3405
$as_echo_n "checking whether we are cross compiling... " >&6; }
3406
if test "$cross_compiling" != yes; then
3407
{ { ac_try="$ac_link"
3409
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410
*) ac_try_echo=$ac_try;;
3412
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413
$as_echo "$ac_try_echo"; } >&5
3414
(eval "$ac_link") 2>&5
3416
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417
test $ac_status = 0; }
3418
if { ac_try='./conftest$ac_cv_exeext'
3419
{ { case "(($ac_try" in
3420
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421
*) ac_try_echo=$ac_try;;
3423
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424
$as_echo "$ac_try_echo"; } >&5
3425
(eval "$ac_try") 2>&5
3427
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428
test $ac_status = 0; }; }; then
3431
if test "$cross_compiling" = maybe; then
3434
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436
as_fn_error $? "cannot run C compiled programs.
3437
If you meant to cross compile, use \`--host'.
3438
See \`config.log' for more details" "$LINENO" 5; }
3442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3443
$as_echo "$cross_compiling" >&6; }
3445
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3446
ac_clean_files=$ac_clean_files_save
3447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3448
$as_echo_n "checking for suffix of object files... " >&6; }
3449
if ${ac_cv_objext+:} false; then :
3450
$as_echo_n "(cached) " >&6
3452
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453
/* end confdefs.h. */
3463
rm -f conftest.o conftest.obj
3464
if { { ac_try="$ac_compile"
3466
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467
*) ac_try_echo=$ac_try;;
3469
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470
$as_echo "$ac_try_echo"; } >&5
3471
(eval "$ac_compile") 2>&5
3473
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474
test $ac_status = 0; }; then :
3475
for ac_file in conftest.o conftest.obj conftest.*; do
3476
test -f "$ac_file" || continue;
3478
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3479
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3484
$as_echo "$as_me: failed program was:" >&5
3485
sed 's/^/| /' conftest.$ac_ext >&5
3487
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489
as_fn_error $? "cannot compute suffix of object files: cannot compile
3490
See \`config.log' for more details" "$LINENO" 5; }
3492
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3495
$as_echo "$ac_cv_objext" >&6; }
3496
OBJEXT=$ac_cv_objext
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500
if ${ac_cv_c_compiler_gnu+:} false; then :
3501
$as_echo_n "(cached) " >&6
3503
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504
/* end confdefs.h. */
3517
if ac_fn_c_try_compile "$LINENO"; then :
3522
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528
if test $ac_compiler_gnu = yes; then
3533
ac_test_CFLAGS=${CFLAGS+set}
3534
ac_save_CFLAGS=$CFLAGS
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537
if ${ac_cv_prog_cc_g+:} false; then :
3538
$as_echo_n "(cached) " >&6
3540
ac_save_c_werror_flag=$ac_c_werror_flag
3541
ac_c_werror_flag=yes
3544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545
/* end confdefs.h. */
3555
if ac_fn_c_try_compile "$LINENO"; then :
3559
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560
/* end confdefs.h. */
3570
if ac_fn_c_try_compile "$LINENO"; then :
3573
ac_c_werror_flag=$ac_save_c_werror_flag
3575
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576
/* end confdefs.h. */
3586
if ac_fn_c_try_compile "$LINENO"; then :
3589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594
ac_c_werror_flag=$ac_save_c_werror_flag
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597
$as_echo "$ac_cv_prog_cc_g" >&6; }
3598
if test "$ac_test_CFLAGS" = set; then
3599
CFLAGS=$ac_save_CFLAGS
3600
elif test $ac_cv_prog_cc_g = yes; then
3601
if test "$GCC" = yes; then
3607
if test "$GCC" = yes; then
3613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615
if ${ac_cv_prog_cc_c89+:} false; then :
3616
$as_echo_n "(cached) " >&6
3618
ac_cv_prog_cc_c89=no
3620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621
/* end confdefs.h. */
3624
#include <sys/types.h>
3625
#include <sys/stat.h>
3626
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3627
struct buf { int x; };
3628
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3629
static char *e (p, i)
3635
static char *f (char * (*g) (char **, int), char **p, ...)
3640
s = g (p, va_arg (v,int));
3645
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3646
function prototypes and stuff, but not '\xHH' hex character constants.
3647
These don't provoke an error unfortunately, instead are silently treated
3648
as 'x'. The following induces an error, until -std is added to get
3649
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3650
array size at least. It's necessary to write '\x00'==0 to get something
3651
that's true only with -std. */
3652
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3654
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3655
inside strings and character constants. */
3657
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3659
int test (int i, double x);
3660
struct s1 {int (*f) (int a);};
3661
struct s2 {int (*f) (double a);};
3662
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3668
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3673
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3674
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3676
CC="$ac_save_CC $ac_arg"
3677
if ac_fn_c_try_compile "$LINENO"; then :
3678
ac_cv_prog_cc_c89=$ac_arg
3680
rm -f core conftest.err conftest.$ac_objext
3681
test "x$ac_cv_prog_cc_c89" != "xno" && break
3683
rm -f conftest.$ac_ext
3688
case "x$ac_cv_prog_cc_c89" in
3690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3691
$as_echo "none needed" >&6; } ;;
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3694
$as_echo "unsupported" >&6; } ;;
3696
CC="$CC $ac_cv_prog_cc_c89"
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3698
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3700
if test "x$ac_cv_prog_cc_c89" != xno; then :
3705
ac_cpp='$CPP $CPPFLAGS'
3706
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3710
depcc="$CC" am_compiler_list=
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3713
$as_echo_n "checking dependency style of $depcc... " >&6; }
3714
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3715
$as_echo_n "(cached) " >&6
3717
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3718
# We make a subdir and do the tests there. Otherwise we can end up
3719
# making bogus files that we don't know about and never remove. For
3720
# instance it was reported that on HP-UX the gcc test will end up
3721
# making a dummy file named `D' -- because `-MD' means `put the output
3724
# Copy depcomp to subdir because otherwise we won't find it if we're
3725
# using a relative directory.
3726
cp "$am_depcomp" conftest.dir
3728
# We will build objects and dependencies in a subdirectory because
3729
# it helps to detect inapplicable dependency modes. For instance
3730
# both Tru64's cc and ICC support -MD to output dependencies as a
3731
# side effect of compilation, but ICC will put the dependencies in
3732
# the current directory while Tru64 will put them in the object
3736
am_cv_CC_dependencies_compiler_type=none
3737
if test "$am_compiler_list" = ""; then
3738
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3741
case " $depcc " in #(
3742
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3745
for depmode in $am_compiler_list; do
3746
# Setup a source with many dependencies, because some compilers
3747
# like to wrap large dependency lists on column 80 (with \), and
3748
# we should not choose a depcomp mode which is confused by this.
3750
# We need to recreate these files for each test, as the compiler may
3751
# overwrite some of them when testing with obscure command lines.
3752
# This happens at least with the AIX C compiler.
3754
for i in 1 2 3 4 5 6; do
3755
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3756
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3757
# Solaris 8's {/usr,}/bin/sh.
3758
touch sub/conftst$i.h
3760
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3762
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3763
# mode. It turns out that the SunPro C++ compiler does not properly
3764
# handle `-M -o', and we need to detect this. Also, some Intel
3765
# versions had trouble with output in subdirs
3766
am__obj=sub/conftest.${OBJEXT-o}
3767
am__minus_obj="-o $am__obj"
3770
# This depmode causes a compiler race in universal mode.
3771
test "$am__universal" = false || continue
3774
# after this tag, mechanisms are not by side-effect, so they'll
3775
# only be used when explicitly requested
3776
if test "x$enable_dependency_tracking" = xyes; then
3782
msvisualcpp | msvcmsys)
3783
# This compiler won't grok `-c -o', but also, the minuso test has
3784
# not run yet. These depmodes are late enough in the game, and
3785
# so weak that their functioning should not be impacted.
3786
am__obj=conftest.${OBJEXT-o}
3791
if depmode=$depmode \
3792
source=sub/conftest.c object=$am__obj \
3793
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3794
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3795
>/dev/null 2>conftest.err &&
3796
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3797
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3798
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3799
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3800
# icc doesn't choke on unknown options, it will just issue warnings
3801
# or remarks (even with -Werror). So we grep stderr for any message
3802
# that says an option was ignored or not supported.
3803
# When given -MP, icc 7.0 and 7.1 complain thusly:
3804
# icc: Command line warning: ignoring option '-M'; no argument required
3805
# The diagnosis changed in icc 8.0:
3806
# icc: Command line remark: option '-MP' not supported
3807
if (grep 'ignoring option' conftest.err ||
3808
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3809
am_cv_CC_dependencies_compiler_type=$depmode
3818
am_cv_CC_dependencies_compiler_type=none
3822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3823
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3824
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3827
test "x$enable_dependency_tracking" != xno \
3828
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3830
am__fastdepCC_FALSE='#'
3832
am__fastdepCC_TRUE='#'
3833
am__fastdepCC_FALSE=
3837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3838
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3839
if ${ac_cv_path_SED+:} false; then :
3840
$as_echo_n "(cached) " >&6
3842
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3843
for ac_i in 1 2 3 4 5 6 7; do
3844
ac_script="$ac_script$as_nl$ac_script"
3846
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3847
{ ac_script=; unset ac_script;}
3848
if test -z "$SED"; then
3849
ac_path_SED_found=false
3850
# Loop through the user's path and test for each of PROGNAME-LIST
3851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855
test -z "$as_dir" && as_dir=.
3856
for ac_prog in sed gsed; do
3857
for ac_exec_ext in '' $ac_executable_extensions; do
3858
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3859
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3860
# Check for GNU ac_path_SED and select it if it is found.
3861
# Check for GNU $ac_path_SED
3862
case `"$ac_path_SED" --version 2>&1` in
3864
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3867
$as_echo_n 0123456789 >"conftest.in"
3870
cat "conftest.in" "conftest.in" >"conftest.tmp"
3871
mv "conftest.tmp" "conftest.in"
3872
cp "conftest.in" "conftest.nl"
3873
$as_echo '' >> "conftest.nl"
3874
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3875
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3876
as_fn_arith $ac_count + 1 && ac_count=$as_val
3877
if test $ac_count -gt ${ac_path_SED_max-0}; then
3878
# Best one so far, save it but keep looking for a better one
3879
ac_cv_path_SED="$ac_path_SED"
3880
ac_path_SED_max=$ac_count
3882
# 10*(2^10) chars as input seems more than enough
3883
test $ac_count -gt 10 && break
3885
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3888
$ac_path_SED_found && break 3
3893
if test -z "$ac_cv_path_SED"; then
3894
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3902
$as_echo "$ac_cv_path_SED" >&6; }
3903
SED="$ac_cv_path_SED"
3906
test -z "$SED" && SED=sed
3907
Xsed="$SED -e 1s/^X//"
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3920
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3921
if ${ac_cv_path_GREP+:} false; then :
3922
$as_echo_n "(cached) " >&6
3924
if test -z "$GREP"; then
3925
ac_path_GREP_found=false
3926
# Loop through the user's path and test for each of PROGNAME-LIST
3927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3931
test -z "$as_dir" && as_dir=.
3932
for ac_prog in grep ggrep; do
3933
for ac_exec_ext in '' $ac_executable_extensions; do
3934
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3935
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3936
# Check for GNU ac_path_GREP and select it if it is found.
3937
# Check for GNU $ac_path_GREP
3938
case `"$ac_path_GREP" --version 2>&1` in
3940
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3943
$as_echo_n 0123456789 >"conftest.in"
3946
cat "conftest.in" "conftest.in" >"conftest.tmp"
3947
mv "conftest.tmp" "conftest.in"
3948
cp "conftest.in" "conftest.nl"
3949
$as_echo 'GREP' >> "conftest.nl"
3950
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3951
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3952
as_fn_arith $ac_count + 1 && ac_count=$as_val
3953
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3954
# Best one so far, save it but keep looking for a better one
3955
ac_cv_path_GREP="$ac_path_GREP"
3956
ac_path_GREP_max=$ac_count
3958
# 10*(2^10) chars as input seems more than enough
3959
test $ac_count -gt 10 && break
3961
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3964
$ac_path_GREP_found && break 3
3969
if test -z "$ac_cv_path_GREP"; then
3970
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3973
ac_cv_path_GREP=$GREP
3977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3978
$as_echo "$ac_cv_path_GREP" >&6; }
3979
GREP="$ac_cv_path_GREP"
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3983
$as_echo_n "checking for egrep... " >&6; }
3984
if ${ac_cv_path_EGREP+:} false; then :
3985
$as_echo_n "(cached) " >&6
3987
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3988
then ac_cv_path_EGREP="$GREP -E"
3990
if test -z "$EGREP"; then
3991
ac_path_EGREP_found=false
3992
# Loop through the user's path and test for each of PROGNAME-LIST
3993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3997
test -z "$as_dir" && as_dir=.
3998
for ac_prog in egrep; do
3999
for ac_exec_ext in '' $ac_executable_extensions; do
4000
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4001
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4002
# Check for GNU ac_path_EGREP and select it if it is found.
4003
# Check for GNU $ac_path_EGREP
4004
case `"$ac_path_EGREP" --version 2>&1` in
4006
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4009
$as_echo_n 0123456789 >"conftest.in"
4012
cat "conftest.in" "conftest.in" >"conftest.tmp"
4013
mv "conftest.tmp" "conftest.in"
4014
cp "conftest.in" "conftest.nl"
4015
$as_echo 'EGREP' >> "conftest.nl"
4016
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4017
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4018
as_fn_arith $ac_count + 1 && ac_count=$as_val
4019
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4020
# Best one so far, save it but keep looking for a better one
4021
ac_cv_path_EGREP="$ac_path_EGREP"
4022
ac_path_EGREP_max=$ac_count
4024
# 10*(2^10) chars as input seems more than enough
4025
test $ac_count -gt 10 && break
4027
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4030
$ac_path_EGREP_found && break 3
4035
if test -z "$ac_cv_path_EGREP"; then
4036
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4039
ac_cv_path_EGREP=$EGREP
4044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4045
$as_echo "$ac_cv_path_EGREP" >&6; }
4046
EGREP="$ac_cv_path_EGREP"
4049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4050
$as_echo_n "checking for fgrep... " >&6; }
4051
if ${ac_cv_path_FGREP+:} false; then :
4052
$as_echo_n "(cached) " >&6
4054
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4055
then ac_cv_path_FGREP="$GREP -F"
4057
if test -z "$FGREP"; then
4058
ac_path_FGREP_found=false
4059
# Loop through the user's path and test for each of PROGNAME-LIST
4060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4064
test -z "$as_dir" && as_dir=.
4065
for ac_prog in fgrep; do
4066
for ac_exec_ext in '' $ac_executable_extensions; do
4067
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4068
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4069
# Check for GNU ac_path_FGREP and select it if it is found.
4070
# Check for GNU $ac_path_FGREP
4071
case `"$ac_path_FGREP" --version 2>&1` in
4073
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4076
$as_echo_n 0123456789 >"conftest.in"
4079
cat "conftest.in" "conftest.in" >"conftest.tmp"
4080
mv "conftest.tmp" "conftest.in"
4081
cp "conftest.in" "conftest.nl"
4082
$as_echo 'FGREP' >> "conftest.nl"
4083
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4084
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4085
as_fn_arith $ac_count + 1 && ac_count=$as_val
4086
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4087
# Best one so far, save it but keep looking for a better one
4088
ac_cv_path_FGREP="$ac_path_FGREP"
4089
ac_path_FGREP_max=$ac_count
4091
# 10*(2^10) chars as input seems more than enough
4092
test $ac_count -gt 10 && break
4094
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4097
$ac_path_FGREP_found && break 3
4102
if test -z "$ac_cv_path_FGREP"; then
4103
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4106
ac_cv_path_FGREP=$FGREP
4111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4112
$as_echo "$ac_cv_path_FGREP" >&6; }
4113
FGREP="$ac_cv_path_FGREP"
4116
test -z "$GREP" && GREP=grep
4136
# Check whether --with-gnu-ld was given.
4137
if test "${with_gnu_ld+set}" = set; then :
4138
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4144
if test "$GCC" = yes; then
4145
# Check if gcc -print-prog-name=ld gives a path.
4146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4147
$as_echo_n "checking for ld used by $CC... " >&6; }
4150
# gcc leaves a trailing carriage return which upsets mingw
4151
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4153
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4156
# Accept absolute paths.
4158
re_direlt='/[^/][^/]*/\.\./'
4159
# Canonicalize the pathname of ld
4160
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4161
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4162
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4164
test -z "$LD" && LD="$ac_prog"
4167
# If it fails, then pretend we aren't using GCC.
4171
# If it is relative, then search for the first ld in PATH.
4175
elif test "$with_gnu_ld" = yes; then
4176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4177
$as_echo_n "checking for GNU ld... " >&6; }
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4180
$as_echo_n "checking for non-GNU ld... " >&6; }
4182
if ${lt_cv_path_LD+:} false; then :
4183
$as_echo_n "(cached) " >&6
4185
if test -z "$LD"; then
4186
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4187
for ac_dir in $PATH; do
4189
test -z "$ac_dir" && ac_dir=.
4190
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4191
lt_cv_path_LD="$ac_dir/$ac_prog"
4192
# Check to see if the program is GNU ld. I'd rather use --version,
4193
# but apparently some variants of GNU ld only accept -v.
4194
# Break only if it was the GNU/non-GNU ld that we prefer.
4195
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4196
*GNU* | *'with BFD'*)
4197
test "$with_gnu_ld" != no && break
4200
test "$with_gnu_ld" != yes && break
4207
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4212
if test -n "$LD"; then
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4214
$as_echo "$LD" >&6; }
4216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217
$as_echo "no" >&6; }
4219
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4221
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4222
if ${lt_cv_prog_gnu_ld+:} false; then :
4223
$as_echo_n "(cached) " >&6
4225
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4226
case `$LD -v 2>&1 </dev/null` in
4227
*GNU* | *'with BFD'*)
4228
lt_cv_prog_gnu_ld=yes
4231
lt_cv_prog_gnu_ld=no
4235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4236
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4237
with_gnu_ld=$lt_cv_prog_gnu_ld
4247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4248
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4249
if ${lt_cv_path_NM+:} false; then :
4250
$as_echo_n "(cached) " >&6
4252
if test -n "$NM"; then
4253
# Let the user override the test.
4256
lt_nm_to_check="${ac_tool_prefix}nm"
4257
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4258
lt_nm_to_check="$lt_nm_to_check nm"
4260
for lt_tmp_nm in $lt_nm_to_check; do
4261
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4262
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4264
test -z "$ac_dir" && ac_dir=.
4265
tmp_nm="$ac_dir/$lt_tmp_nm"
4266
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4267
# Check to see if the nm accepts a BSD-compat flag.
4268
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4269
# nm: unknown option "B" ignored
4270
# Tru64's nm complains that /dev/null is an invalid object file
4271
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4272
*/dev/null* | *'Invalid file or object type'*)
4273
lt_cv_path_NM="$tmp_nm -B"
4277
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4279
lt_cv_path_NM="$tmp_nm -p"
4283
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4284
continue # so that we can try to find one that supports BSD flags
4293
: ${lt_cv_path_NM=no}
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4297
$as_echo "$lt_cv_path_NM" >&6; }
4298
if test "$lt_cv_path_NM" != "no"; then
4301
# Didn't find any BSD compatible name lister, look for dumpbin.
4302
if test -n "$DUMPBIN"; then :
4303
# Let the user override the test.
4305
if test -n "$ac_tool_prefix"; then
4306
for ac_prog in dumpbin "link -dump"
4308
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4309
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311
$as_echo_n "checking for $ac_word... " >&6; }
4312
if ${ac_cv_prog_DUMPBIN+:} false; then :
4313
$as_echo_n "(cached) " >&6
4315
if test -n "$DUMPBIN"; then
4316
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322
test -z "$as_dir" && as_dir=.
4323
for ac_exec_ext in '' $ac_executable_extensions; do
4324
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4326
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335
DUMPBIN=$ac_cv_prog_DUMPBIN
4336
if test -n "$DUMPBIN"; then
4337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4338
$as_echo "$DUMPBIN" >&6; }
4340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341
$as_echo "no" >&6; }
4345
test -n "$DUMPBIN" && break
4348
if test -z "$DUMPBIN"; then
4349
ac_ct_DUMPBIN=$DUMPBIN
4350
for ac_prog in dumpbin "link -dump"
4352
# Extract the first word of "$ac_prog", so it can be a program name with args.
4353
set dummy $ac_prog; ac_word=$2
4354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355
$as_echo_n "checking for $ac_word... " >&6; }
4356
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4357
$as_echo_n "(cached) " >&6
4359
if test -n "$ac_ct_DUMPBIN"; then
4360
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366
test -z "$as_dir" && as_dir=.
4367
for ac_exec_ext in '' $ac_executable_extensions; do
4368
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4370
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4380
if test -n "$ac_ct_DUMPBIN"; then
4381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4382
$as_echo "$ac_ct_DUMPBIN" >&6; }
4384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385
$as_echo "no" >&6; }
4389
test -n "$ac_ct_DUMPBIN" && break
4392
if test "x$ac_ct_DUMPBIN" = x; then
4395
case $cross_compiling:$ac_tool_warned in
4397
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399
ac_tool_warned=yes ;;
4401
DUMPBIN=$ac_ct_DUMPBIN
4405
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4407
DUMPBIN="$DUMPBIN -symbols"
4415
if test "$DUMPBIN" != ":"; then
4419
test -z "$NM" && NM=nm
4426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4427
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4428
if ${lt_cv_nm_interface+:} false; then :
4429
$as_echo_n "(cached) " >&6
4431
lt_cv_nm_interface="BSD nm"
4432
echo "int some_variable = 0;" > conftest.$ac_ext
4433
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4434
(eval "$ac_compile" 2>conftest.err)
4435
cat conftest.err >&5
4436
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4437
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4438
cat conftest.err >&5
4439
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4440
cat conftest.out >&5
4441
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4442
lt_cv_nm_interface="MS dumpbin"
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4447
$as_echo "$lt_cv_nm_interface" >&6; }
4449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4450
$as_echo_n "checking whether ln -s works... " >&6; }
4452
if test "$LN_S" = "ln -s"; then
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4454
$as_echo "yes" >&6; }
4456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4457
$as_echo "no, using $LN_S" >&6; }
4460
# find the maximum length of command line arguments
4461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4462
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4463
if ${lt_cv_sys_max_cmd_len+:} false; then :
4464
$as_echo_n "(cached) " >&6
4471
# On DJGPP, this test can blow up pretty badly due to problems in libc
4472
# (any single argument exceeding 2000 bytes causes a buffer overrun
4473
# during glob expansion). Even if it were fixed, the result of this
4474
# check would be larger than it should be.
4475
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4479
# Under GNU Hurd, this test is not required because there is
4480
# no limit to the length of command line arguments.
4481
# Libtool will interpret -1 as no limit whatsoever
4482
lt_cv_sys_max_cmd_len=-1;
4485
cygwin* | mingw* | cegcc*)
4486
# On Win9x/ME, this test blows up -- it succeeds, but takes
4487
# about 5 minutes as the teststring grows exponentially.
4488
# Worse, since 9x/ME are not pre-emptively multitasking,
4489
# you end up with a "frozen" computer, even though with patience
4490
# the test eventually succeeds (with a max line length of 256k).
4491
# Instead, let's just punt: use the minimum linelength reported by
4492
# all of the supported platforms: 8192 (on NT/2K/XP).
4493
lt_cv_sys_max_cmd_len=8192;
4497
# On MiNT this can take a long time and run out of memory.
4498
lt_cv_sys_max_cmd_len=8192;
4502
# On AmigaOS with pdksh, this test takes hours, literally.
4503
# So we just punt and use a minimum line length of 8192.
4504
lt_cv_sys_max_cmd_len=8192;
4507
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4508
# This has been around since 386BSD, at least. Likely further.
4509
if test -x /sbin/sysctl; then
4510
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4511
elif test -x /usr/sbin/sysctl; then
4512
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4514
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4516
# And add a safety zone
4517
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4518
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4522
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4523
lt_cv_sys_max_cmd_len=196608
4527
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4528
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4529
# nice to cause kernel panics so lets avoid the loop below.
4530
# First set a reasonable default.
4531
lt_cv_sys_max_cmd_len=16384
4533
if test -x /sbin/sysconfig; then
4534
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4535
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4540
lt_cv_sys_max_cmd_len=102400
4542
sysv5* | sco5v6* | sysv4.2uw2*)
4543
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4544
if test -n "$kargmax"; then
4545
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4547
lt_cv_sys_max_cmd_len=32768
4551
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4552
if test -n "$lt_cv_sys_max_cmd_len"; then
4553
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4554
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4556
# Make teststring a little bigger before we do anything with it.
4557
# a 1K string should be a reasonable start.
4558
for i in 1 2 3 4 5 6 7 8 ; do
4559
teststring=$teststring$teststring
4561
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4562
# If test is not a shell built-in, we'll probably end up computing a
4563
# maximum length that is only half of the actual maximum length, but
4565
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4566
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
4567
test $i != 17 # 1/2 MB should be enough
4570
teststring=$teststring$teststring
4572
# Only check the string length outside the loop.
4573
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4575
# Add a significant safety factor because C++ compilers can tack on
4576
# massive amounts of additional arguments before passing them to the
4577
# linker. It appears as though 1/2 is a usable value.
4578
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4585
if test -n $lt_cv_sys_max_cmd_len ; then
4586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4587
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4590
$as_echo "none" >&6; }
4592
max_cmd_len=$lt_cv_sys_max_cmd_len
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4604
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4605
# Try some XSI features
4608
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4610
&& eval 'test $(( 1 + 1 )) -eq 2 \
4611
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4614
$as_echo "$xsi_shell" >&6; }
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4618
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4620
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4622
&& lt_shell_append=yes
4623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4624
$as_echo "$lt_shell_append" >&6; }
4627
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4637
# test EBCDIC or ASCII
4638
case `echo X|tr X '\101'` in
4639
A) # ASCII based system
4640
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4641
lt_SP2NL='tr \040 \012'
4642
lt_NL2SP='tr \015\012 \040\040'
4644
*) # EBCDIC based system
4645
lt_SP2NL='tr \100 \n'
4646
lt_NL2SP='tr \r\n \100\100'
4658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4659
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4660
if ${lt_cv_to_host_file_cmd+:} false; then :
4661
$as_echo_n "(cached) " >&6
4666
*-*-mingw* ) # actually msys
4667
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4670
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4672
* ) # otherwise, assume *nix
4673
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4679
*-*-mingw* ) # actually msys
4680
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4683
lt_cv_to_host_file_cmd=func_convert_file_noop
4685
* ) # otherwise, assume *nix
4686
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4690
* ) # unhandled hosts (and "normal" native builds)
4691
lt_cv_to_host_file_cmd=func_convert_file_noop
4697
to_host_file_cmd=$lt_cv_to_host_file_cmd
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4699
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4706
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4707
if ${lt_cv_to_tool_file_cmd+:} false; then :
4708
$as_echo_n "(cached) " >&6
4710
#assume ordinary cross tools, or native build.
4711
lt_cv_to_tool_file_cmd=func_convert_file_noop
4715
*-*-mingw* ) # actually msys
4716
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4724
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4726
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4733
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4734
if ${lt_cv_ld_reload_flag+:} false; then :
4735
$as_echo_n "(cached) " >&6
4737
lt_cv_ld_reload_flag='-r'
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4740
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4741
reload_flag=$lt_cv_ld_reload_flag
4742
case $reload_flag in
4744
*) reload_flag=" $reload_flag" ;;
4746
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4748
cygwin* | mingw* | pw32* | cegcc*)
4749
if test "$GCC" != yes; then
4754
if test "$GCC" = yes; then
4755
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4757
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4770
if test -n "$ac_tool_prefix"; then
4771
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4772
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774
$as_echo_n "checking for $ac_word... " >&6; }
4775
if ${ac_cv_prog_OBJDUMP+:} false; then :
4776
$as_echo_n "(cached) " >&6
4778
if test -n "$OBJDUMP"; then
4779
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4781
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785
test -z "$as_dir" && as_dir=.
4786
for ac_exec_ext in '' $ac_executable_extensions; do
4787
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4788
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4789
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798
OBJDUMP=$ac_cv_prog_OBJDUMP
4799
if test -n "$OBJDUMP"; then
4800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4801
$as_echo "$OBJDUMP" >&6; }
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804
$as_echo "no" >&6; }
4809
if test -z "$ac_cv_prog_OBJDUMP"; then
4810
ac_ct_OBJDUMP=$OBJDUMP
4811
# Extract the first word of "objdump", so it can be a program name with args.
4812
set dummy objdump; ac_word=$2
4813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814
$as_echo_n "checking for $ac_word... " >&6; }
4815
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4816
$as_echo_n "(cached) " >&6
4818
if test -n "$ac_ct_OBJDUMP"; then
4819
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825
test -z "$as_dir" && as_dir=.
4826
for ac_exec_ext in '' $ac_executable_extensions; do
4827
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4828
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4829
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4839
if test -n "$ac_ct_OBJDUMP"; then
4840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4841
$as_echo "$ac_ct_OBJDUMP" >&6; }
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844
$as_echo "no" >&6; }
4847
if test "x$ac_ct_OBJDUMP" = x; then
4850
case $cross_compiling:$ac_tool_warned in
4852
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4853
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4854
ac_tool_warned=yes ;;
4856
OBJDUMP=$ac_ct_OBJDUMP
4859
OBJDUMP="$ac_cv_prog_OBJDUMP"
4862
test -z "$OBJDUMP" && OBJDUMP=objdump
4872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4873
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4874
if ${lt_cv_deplibs_check_method+:} false; then :
4875
$as_echo_n "(cached) " >&6
4877
lt_cv_file_magic_cmd='$MAGIC_CMD'
4878
lt_cv_file_magic_test_file=
4879
lt_cv_deplibs_check_method='unknown'
4880
# Need to set the preceding variable on all platforms that support
4881
# interlibrary dependencies.
4882
# 'none' -- dependencies not supported.
4883
# `unknown' -- same as none, but documents that we really don't know.
4884
# 'pass_all' -- all dependencies passed with no checks.
4885
# 'test_compile' -- check by making test program.
4886
# 'file_magic [[regex]]' -- check by looking for files in library path
4887
# which responds to the $file_magic_cmd with a given extended regex.
4888
# If you have `file' or equivalent on your system and you're not sure
4889
# whether `pass_all' will *always* work, you probably want this one.
4893
lt_cv_deplibs_check_method=pass_all
4897
lt_cv_deplibs_check_method=pass_all
4901
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4902
lt_cv_file_magic_cmd='/usr/bin/file -L'
4903
lt_cv_file_magic_test_file=/shlib/libc.so
4907
# func_win32_libid is a shell function defined in ltmain.sh
4908
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4909
lt_cv_file_magic_cmd='func_win32_libid'
4913
# Base MSYS/MinGW do not provide the 'file' command needed by
4914
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4915
# unless we find 'file', for example because we are cross-compiling.
4916
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4917
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4918
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4919
lt_cv_file_magic_cmd='func_win32_libid'
4921
# Keep this pattern in sync with the one in func_win32_libid.
4922
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4923
lt_cv_file_magic_cmd='$OBJDUMP -f'
4928
# use the weaker test based on 'objdump'. See mingw*.
4929
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4930
lt_cv_file_magic_cmd='$OBJDUMP -f'
4933
darwin* | rhapsody*)
4934
lt_cv_deplibs_check_method=pass_all
4937
freebsd* | dragonfly*)
4938
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4941
# Not sure whether the presence of OpenBSD here was a mistake.
4942
# Let's accept both of them until this is cleared up.
4943
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4944
lt_cv_file_magic_cmd=/usr/bin/file
4945
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4949
lt_cv_deplibs_check_method=pass_all
4954
lt_cv_deplibs_check_method=pass_all
4958
lt_cv_deplibs_check_method=pass_all
4961
hpux10.20* | hpux11*)
4962
lt_cv_file_magic_cmd=/usr/bin/file
4965
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4966
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4969
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]'
4970
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4973
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4974
lt_cv_file_magic_test_file=/usr/lib/libc.sl
4980
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4981
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4984
irix5* | irix6* | nonstopux*)
4986
*-32|*"-32 ") libmagic=32-bit;;
4987
*-n32|*"-n32 ") libmagic=N32;;
4988
*-64|*"-64 ") libmagic=64-bit;;
4989
*) libmagic=never-match;;
4991
lt_cv_deplibs_check_method=pass_all
4994
# This must be Linux ELF.
4995
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4996
lt_cv_deplibs_check_method=pass_all
4999
netbsd* | netbsdelf*-gnu)
5000
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5001
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5003
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5008
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5009
lt_cv_file_magic_cmd=/usr/bin/file
5010
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5014
lt_cv_deplibs_check_method=pass_all
5018
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5019
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5021
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5025
osf3* | osf4* | osf5*)
5026
lt_cv_deplibs_check_method=pass_all
5030
lt_cv_deplibs_check_method=pass_all
5034
lt_cv_deplibs_check_method=pass_all
5037
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5038
lt_cv_deplibs_check_method=pass_all
5042
case $host_vendor in
5044
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]'
5045
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5048
lt_cv_deplibs_check_method=pass_all
5051
lt_cv_file_magic_cmd='/bin/file'
5052
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5055
lt_cv_file_magic_cmd='/bin/file'
5056
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5057
lt_cv_file_magic_test_file=/lib/libc.so
5060
lt_cv_deplibs_check_method=pass_all
5063
lt_cv_deplibs_check_method=pass_all
5069
lt_cv_deplibs_check_method=pass_all
5074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5075
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5079
if test "$build" = "$host"; then
5082
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5085
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5091
file_magic_cmd=$lt_cv_file_magic_cmd
5092
deplibs_check_method=$lt_cv_deplibs_check_method
5093
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5116
if test -n "$ac_tool_prefix"; then
5117
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5118
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120
$as_echo_n "checking for $ac_word... " >&6; }
5121
if ${ac_cv_prog_DLLTOOL+:} false; then :
5122
$as_echo_n "(cached) " >&6
5124
if test -n "$DLLTOOL"; then
5125
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131
test -z "$as_dir" && as_dir=.
5132
for ac_exec_ext in '' $ac_executable_extensions; do
5133
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5135
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144
DLLTOOL=$ac_cv_prog_DLLTOOL
5145
if test -n "$DLLTOOL"; then
5146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5147
$as_echo "$DLLTOOL" >&6; }
5149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150
$as_echo "no" >&6; }
5155
if test -z "$ac_cv_prog_DLLTOOL"; then
5156
ac_ct_DLLTOOL=$DLLTOOL
5157
# Extract the first word of "dlltool", so it can be a program name with args.
5158
set dummy dlltool; ac_word=$2
5159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160
$as_echo_n "checking for $ac_word... " >&6; }
5161
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5162
$as_echo_n "(cached) " >&6
5164
if test -n "$ac_ct_DLLTOOL"; then
5165
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5167
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171
test -z "$as_dir" && as_dir=.
5172
for ac_exec_ext in '' $ac_executable_extensions; do
5173
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5175
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5185
if test -n "$ac_ct_DLLTOOL"; then
5186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5187
$as_echo "$ac_ct_DLLTOOL" >&6; }
5189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190
$as_echo "no" >&6; }
5193
if test "x$ac_ct_DLLTOOL" = x; then
5196
case $cross_compiling:$ac_tool_warned in
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200
ac_tool_warned=yes ;;
5202
DLLTOOL=$ac_ct_DLLTOOL
5205
DLLTOOL="$ac_cv_prog_DLLTOOL"
5208
test -z "$DLLTOOL" && DLLTOOL=dlltool
5219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5220
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5221
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5222
$as_echo_n "(cached) " >&6
5224
lt_cv_sharedlib_from_linklib_cmd='unknown'
5227
cygwin* | mingw* | pw32* | cegcc*)
5228
# two different shell functions defined in ltmain.sh
5229
# decide which to use based on capabilities of $DLLTOOL
5230
case `$DLLTOOL --help 2>&1` in
5231
*--identify-strict*)
5232
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5235
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5240
# fallback: assume linklib IS sharedlib
5241
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5247
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5248
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5249
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5258
if test -n "$ac_tool_prefix"; then
5261
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5262
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264
$as_echo_n "checking for $ac_word... " >&6; }
5265
if ${ac_cv_prog_AR+:} false; then :
5266
$as_echo_n "(cached) " >&6
5268
if test -n "$AR"; then
5269
ac_cv_prog_AR="$AR" # Let the user override the test.
5271
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275
test -z "$as_dir" && as_dir=.
5276
for ac_exec_ext in '' $ac_executable_extensions; do
5277
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5279
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289
if test -n "$AR"; then
5290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5291
$as_echo "$AR" >&6; }
5293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294
$as_echo "no" >&6; }
5298
test -n "$AR" && break
5301
if test -z "$AR"; then
5305
# Extract the first word of "$ac_prog", so it can be a program name with args.
5306
set dummy $ac_prog; ac_word=$2
5307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308
$as_echo_n "checking for $ac_word... " >&6; }
5309
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5310
$as_echo_n "(cached) " >&6
5312
if test -n "$ac_ct_AR"; then
5313
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319
test -z "$as_dir" && as_dir=.
5320
for ac_exec_ext in '' $ac_executable_extensions; do
5321
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322
ac_cv_prog_ac_ct_AR="$ac_prog"
5323
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5333
if test -n "$ac_ct_AR"; then
5334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5335
$as_echo "$ac_ct_AR" >&6; }
5337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338
$as_echo "no" >&6; }
5342
test -n "$ac_ct_AR" && break
5345
if test "x$ac_ct_AR" = x; then
5348
case $cross_compiling:$ac_tool_warned in
5350
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5351
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5352
ac_tool_warned=yes ;;
5371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5372
$as_echo_n "checking for archiver @FILE support... " >&6; }
5373
if ${lt_cv_ar_at_file+:} false; then :
5374
$as_echo_n "(cached) " >&6
5377
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378
/* end confdefs.h. */
5388
if ac_fn_c_try_compile "$LINENO"; then :
5389
echo conftest.$ac_objext > conftest.lst
5390
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5391
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5392
(eval $lt_ar_try) 2>&5
5394
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5395
test $ac_status = 0; }
5396
if test "$ac_status" -eq 0; then
5397
# Ensure the archiver fails upon bogus file names.
5398
rm -f conftest.$ac_objext libconftest.a
5399
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5400
(eval $lt_ar_try) 2>&5
5402
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5403
test $ac_status = 0; }
5404
if test "$ac_status" -ne 0; then
5408
rm -f conftest.* libconftest.a
5411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5415
$as_echo "$lt_cv_ar_at_file" >&6; }
5417
if test "x$lt_cv_ar_at_file" = xno; then
5420
archiver_list_spec=$lt_cv_ar_at_file
5429
if test -n "$ac_tool_prefix"; then
5430
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5431
set dummy ${ac_tool_prefix}strip; ac_word=$2
5432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433
$as_echo_n "checking for $ac_word... " >&6; }
5434
if ${ac_cv_prog_STRIP+:} false; then :
5435
$as_echo_n "(cached) " >&6
5437
if test -n "$STRIP"; then
5438
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5440
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444
test -z "$as_dir" && as_dir=.
5445
for ac_exec_ext in '' $ac_executable_extensions; do
5446
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5447
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5448
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457
STRIP=$ac_cv_prog_STRIP
5458
if test -n "$STRIP"; then
5459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5460
$as_echo "$STRIP" >&6; }
5462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463
$as_echo "no" >&6; }
5468
if test -z "$ac_cv_prog_STRIP"; then
5470
# Extract the first word of "strip", so it can be a program name with args.
5471
set dummy strip; ac_word=$2
5472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473
$as_echo_n "checking for $ac_word... " >&6; }
5474
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5475
$as_echo_n "(cached) " >&6
5477
if test -n "$ac_ct_STRIP"; then
5478
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5480
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484
test -z "$as_dir" && as_dir=.
5485
for ac_exec_ext in '' $ac_executable_extensions; do
5486
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5487
ac_cv_prog_ac_ct_STRIP="strip"
5488
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5498
if test -n "$ac_ct_STRIP"; then
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5500
$as_echo "$ac_ct_STRIP" >&6; }
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503
$as_echo "no" >&6; }
5506
if test "x$ac_ct_STRIP" = x; then
5509
case $cross_compiling:$ac_tool_warned in
5511
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5512
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5513
ac_tool_warned=yes ;;
5518
STRIP="$ac_cv_prog_STRIP"
5521
test -z "$STRIP" && STRIP=:
5528
if test -n "$ac_tool_prefix"; then
5529
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5530
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532
$as_echo_n "checking for $ac_word... " >&6; }
5533
if ${ac_cv_prog_RANLIB+:} false; then :
5534
$as_echo_n "(cached) " >&6
5536
if test -n "$RANLIB"; then
5537
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5543
test -z "$as_dir" && as_dir=.
5544
for ac_exec_ext in '' $ac_executable_extensions; do
5545
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5547
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556
RANLIB=$ac_cv_prog_RANLIB
5557
if test -n "$RANLIB"; then
5558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5559
$as_echo "$RANLIB" >&6; }
5561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562
$as_echo "no" >&6; }
5567
if test -z "$ac_cv_prog_RANLIB"; then
5568
ac_ct_RANLIB=$RANLIB
5569
# Extract the first word of "ranlib", so it can be a program name with args.
5570
set dummy ranlib; ac_word=$2
5571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572
$as_echo_n "checking for $ac_word... " >&6; }
5573
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5574
$as_echo_n "(cached) " >&6
5576
if test -n "$ac_ct_RANLIB"; then
5577
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5583
test -z "$as_dir" && as_dir=.
5584
for ac_exec_ext in '' $ac_executable_extensions; do
5585
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586
ac_cv_prog_ac_ct_RANLIB="ranlib"
5587
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5597
if test -n "$ac_ct_RANLIB"; then
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5599
$as_echo "$ac_ct_RANLIB" >&6; }
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602
$as_echo "no" >&6; }
5605
if test "x$ac_ct_RANLIB" = x; then
5608
case $cross_compiling:$ac_tool_warned in
5610
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5611
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5612
ac_tool_warned=yes ;;
5614
RANLIB=$ac_ct_RANLIB
5617
RANLIB="$ac_cv_prog_RANLIB"
5620
test -z "$RANLIB" && RANLIB=:
5627
# Determine commands to create old-style static archives.
5628
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5629
old_postinstall_cmds='chmod 644 $oldlib'
5630
old_postuninstall_cmds=
5632
if test -n "$RANLIB"; then
5635
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5638
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5641
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5646
lock_old_archive_extraction=yes ;;
5648
lock_old_archive_extraction=no ;;
5689
# If no C compiler was specified, use CC.
5692
# If no C compiler flags were specified, use CFLAGS.
5693
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5695
# Allow CC to be a program name with arguments.
5699
# Check for command to grab the raw symbol name followed by C symbol from nm.
5700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5701
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5702
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5703
$as_echo_n "(cached) " >&6
5706
# These are sane defaults that work on at least a few old systems.
5707
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5709
# Character class describing NM global symbol codes.
5710
symcode='[BCDEGRST]'
5712
# Regexp to match symbols that can be accessed directly from C.
5713
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5715
# Define system-specific variables.
5720
cygwin* | mingw* | pw32* | cegcc*)
5721
symcode='[ABCDGISTW]'
5724
if test "$host_cpu" = ia64; then
5725
symcode='[ABCDEGRST]'
5729
symcode='[BCDEGRST]'
5732
symcode='[BCDEGQRST]'
5743
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5751
# If we're using GNU nm, then use its standard symbol codes.
5752
case `$NM -V 2>&1` in
5753
*GNU* | *'with BFD'*)
5754
symcode='[ABCDGIRSTW]' ;;
5757
# Transform an extracted symbol line into a proper C declaration.
5758
# Some systems (esp. on ia64) link data and code symbols differently,
5759
# so use this general approach.
5760
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5762
# Transform an extracted symbol line into symbol name and symbol address
5763
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5764
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'"
5766
# Handle CRLF in mingw tool chain
5770
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5774
# Try without a prefix underscore, then with it.
5775
for ac_symprfx in "" "_"; do
5777
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5778
symxfrm="\\1 $ac_symprfx\\2 \\2"
5780
# Write the raw and C identifiers.
5781
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5782
# Fake it for dumpbin and say T for any non-static function
5783
# and D for any global variable.
5784
# Also find C++ and __fastcall symbols from MSVC++,
5785
# which start with @ or ?.
5786
lt_cv_sys_global_symbol_pipe="$AWK '"\
5787
" {last_section=section; section=\$ 3};"\
5788
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5789
" \$ 0!~/External *\|/{next};"\
5790
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5791
" {if(hide[section]) next};"\
5792
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5793
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5794
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5795
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5796
" ' prfx=^$ac_symprfx"
5798
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5800
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5802
# Check to see that the pipe works correctly.
5806
cat > conftest.$ac_ext <<_LT_EOF
5811
void nm_test_func(void);
5812
void nm_test_func(void){}
5816
int main(){nm_test_var='a';nm_test_func();return(0);}
5819
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5820
(eval $ac_compile) 2>&5
5822
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5823
test $ac_status = 0; }; then
5824
# Now try to grab the symbols.
5826
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5827
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5829
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5830
test $ac_status = 0; } && test -s "$nlist"; then
5831
# Try sorting and uniquifying the output.
5832
if sort "$nlist" | uniq > "$nlist"T; then
5833
mv -f "$nlist"T "$nlist"
5838
# Make sure that we snagged all the symbols we need.
5839
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5840
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5841
cat <<_LT_EOF > conftest.$ac_ext
5842
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5843
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5844
/* DATA imports from DLLs on WIN32 con't be const, because runtime
5845
relocations are performed -- see ld's documentation on pseudo-relocs. */
5846
# define LT_DLSYM_CONST
5847
#elif defined(__osf__)
5848
/* This system does not cope well with relocations in const data. */
5849
# define LT_DLSYM_CONST
5851
# define LT_DLSYM_CONST const
5859
# Now generate the symbol file.
5860
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5862
cat <<_LT_EOF >> conftest.$ac_ext
5864
/* The mapping between symbol names and symbols. */
5865
LT_DLSYM_CONST struct {
5869
lt__PROGRAM__LTX_preloaded_symbols[] =
5871
{ "@PROGRAM@", (void *) 0 },
5873
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5874
cat <<\_LT_EOF >> conftest.$ac_ext
5878
/* This works around a problem in FreeBSD linker */
5879
#ifdef FREEBSD_WORKAROUND
5880
static const void *lt_preloaded_setup() {
5881
return lt__PROGRAM__LTX_preloaded_symbols;
5889
# Now try linking the two files.
5890
mv conftest.$ac_objext conftstm.$ac_objext
5891
lt_globsym_save_LIBS=$LIBS
5892
lt_globsym_save_CFLAGS=$CFLAGS
5893
LIBS="conftstm.$ac_objext"
5894
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5895
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5896
(eval $ac_link) 2>&5
5898
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5899
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5902
LIBS=$lt_globsym_save_LIBS
5903
CFLAGS=$lt_globsym_save_CFLAGS
5905
echo "cannot find nm_test_func in $nlist" >&5
5908
echo "cannot find nm_test_var in $nlist" >&5
5911
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5914
echo "$progname: failed program was:" >&5
5915
cat conftest.$ac_ext >&5
5917
rm -rf conftest* conftst*
5919
# Do not use the global_symbol_pipe unless it works.
5920
if test "$pipe_works" = yes; then
5923
lt_cv_sys_global_symbol_pipe=
5929
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5930
lt_cv_sys_global_symbol_to_cdecl=
5932
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5934
$as_echo "failed" >&6; }
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5937
$as_echo "ok" >&6; }
5940
# Response file support.
5941
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5942
nm_file_list_spec='@'
5943
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5944
nm_file_list_spec='@'
5973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5974
$as_echo_n "checking for sysroot... " >&6; }
5976
# Check whether --with-sysroot was given.
5977
if test "${with_sysroot+set}" = set; then :
5978
withval=$with_sysroot;
5985
case ${with_sysroot} in #(
5987
if test "$GCC" = yes; then
5988
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5992
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5998
$as_echo "${with_sysroot}" >&6; }
5999
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6004
$as_echo "${lt_sysroot:-no}" >&6; }
6010
# Check whether --enable-libtool-lock was given.
6011
if test "${enable_libtool_lock+set}" = set; then :
6012
enableval=$enable_libtool_lock;
6015
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6017
# Some flags need to be propagated to the compiler or linker for good
6021
# Find out which ABI we are using.
6022
echo 'int i;' > conftest.$ac_ext
6023
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6024
(eval $ac_compile) 2>&5
6026
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6027
test $ac_status = 0; }; then
6028
case `/usr/bin/file conftest.$ac_objext` in
6040
# Find out which ABI we are using.
6041
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6042
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6043
(eval $ac_compile) 2>&5
6045
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6046
test $ac_status = 0; }; then
6047
if test "$lt_cv_prog_gnu_ld" = yes; then
6048
case `/usr/bin/file conftest.$ac_objext` in
6050
LD="${LD-ld} -melf32bsmip"
6053
LD="${LD-ld} -melf32bmipn32"
6056
LD="${LD-ld} -melf64bmip"
6060
case `/usr/bin/file conftest.$ac_objext` in
6076
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6077
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6078
# Find out which ABI we are using.
6079
echo 'int i;' > conftest.$ac_ext
6080
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6081
(eval $ac_compile) 2>&5
6083
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6084
test $ac_status = 0; }; then
6085
case `/usr/bin/file conftest.o` in
6088
x86_64-*kfreebsd*-gnu)
6089
LD="${LD-ld} -m elf_i386_fbsd"
6092
LD="${LD-ld} -m elf_i386"
6094
ppc64-*linux*|powerpc64-*linux*)
6095
LD="${LD-ld} -m elf32ppclinux"
6098
LD="${LD-ld} -m elf_s390"
6101
LD="${LD-ld} -m elf32_sparc"
6107
x86_64-*kfreebsd*-gnu)
6108
LD="${LD-ld} -m elf_x86_64_fbsd"
6111
LD="${LD-ld} -m elf_x86_64"
6113
ppc*-*linux*|powerpc*-*linux*)
6114
LD="${LD-ld} -m elf64ppc"
6116
s390*-*linux*|s390*-*tpf*)
6117
LD="${LD-ld} -m elf64_s390"
6120
LD="${LD-ld} -m elf64_sparc"
6130
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6131
SAVE_CFLAGS="$CFLAGS"
6132
CFLAGS="$CFLAGS -belf"
6133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6134
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6135
if ${lt_cv_cc_needs_belf+:} false; then :
6136
$as_echo_n "(cached) " >&6
6139
ac_cpp='$CPP $CPPFLAGS'
6140
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6141
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6142
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6144
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145
/* end confdefs.h. */
6155
if ac_fn_c_try_link "$LINENO"; then :
6156
lt_cv_cc_needs_belf=yes
6158
lt_cv_cc_needs_belf=no
6160
rm -f core conftest.err conftest.$ac_objext \
6161
conftest$ac_exeext conftest.$ac_ext
6163
ac_cpp='$CPP $CPPFLAGS'
6164
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6165
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6166
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6170
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6171
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6172
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6173
CFLAGS="$SAVE_CFLAGS"
6177
# Find out which ABI we are using.
6178
echo 'int i;' > conftest.$ac_ext
6179
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6180
(eval $ac_compile) 2>&5
6182
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6183
test $ac_status = 0; }; then
6184
case `/usr/bin/file conftest.o` in
6186
case $lt_cv_prog_gnu_ld in
6187
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6189
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6201
need_locks="$enable_libtool_lock"
6203
if test -n "$ac_tool_prefix"; then
6204
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6205
set dummy ${ac_tool_prefix}mt; ac_word=$2
6206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207
$as_echo_n "checking for $ac_word... " >&6; }
6208
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6209
$as_echo_n "(cached) " >&6
6211
if test -n "$MANIFEST_TOOL"; then
6212
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6218
test -z "$as_dir" && as_dir=.
6219
for ac_exec_ext in '' $ac_executable_extensions; do
6220
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6222
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6232
if test -n "$MANIFEST_TOOL"; then
6233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6234
$as_echo "$MANIFEST_TOOL" >&6; }
6236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237
$as_echo "no" >&6; }
6242
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6243
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6244
# Extract the first word of "mt", so it can be a program name with args.
6245
set dummy mt; ac_word=$2
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247
$as_echo_n "checking for $ac_word... " >&6; }
6248
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6249
$as_echo_n "(cached) " >&6
6251
if test -n "$ac_ct_MANIFEST_TOOL"; then
6252
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258
test -z "$as_dir" && as_dir=.
6259
for ac_exec_ext in '' $ac_executable_extensions; do
6260
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6261
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6262
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6272
if test -n "$ac_ct_MANIFEST_TOOL"; then
6273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6274
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277
$as_echo "no" >&6; }
6280
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6283
case $cross_compiling:$ac_tool_warned in
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6286
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6287
ac_tool_warned=yes ;;
6289
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6292
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6295
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6297
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6298
if ${lt_cv_path_mainfest_tool+:} false; then :
6299
$as_echo_n "(cached) " >&6
6301
lt_cv_path_mainfest_tool=no
6302
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6303
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6304
cat conftest.err >&5
6305
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6306
lt_cv_path_mainfest_tool=yes
6310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6311
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6312
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6322
rhapsody* | darwin*)
6323
if test -n "$ac_tool_prefix"; then
6324
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6325
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327
$as_echo_n "checking for $ac_word... " >&6; }
6328
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6329
$as_echo_n "(cached) " >&6
6331
if test -n "$DSYMUTIL"; then
6332
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338
test -z "$as_dir" && as_dir=.
6339
for ac_exec_ext in '' $ac_executable_extensions; do
6340
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6342
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6352
if test -n "$DSYMUTIL"; then
6353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6354
$as_echo "$DSYMUTIL" >&6; }
6356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357
$as_echo "no" >&6; }
6362
if test -z "$ac_cv_prog_DSYMUTIL"; then
6363
ac_ct_DSYMUTIL=$DSYMUTIL
6364
# Extract the first word of "dsymutil", so it can be a program name with args.
6365
set dummy dsymutil; ac_word=$2
6366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367
$as_echo_n "checking for $ac_word... " >&6; }
6368
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6369
$as_echo_n "(cached) " >&6
6371
if test -n "$ac_ct_DSYMUTIL"; then
6372
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378
test -z "$as_dir" && as_dir=.
6379
for ac_exec_ext in '' $ac_executable_extensions; do
6380
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6381
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6382
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6392
if test -n "$ac_ct_DSYMUTIL"; then
6393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6394
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397
$as_echo "no" >&6; }
6400
if test "x$ac_ct_DSYMUTIL" = x; then
6403
case $cross_compiling:$ac_tool_warned in
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6406
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6407
ac_tool_warned=yes ;;
6409
DSYMUTIL=$ac_ct_DSYMUTIL
6412
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6415
if test -n "$ac_tool_prefix"; then
6416
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6417
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419
$as_echo_n "checking for $ac_word... " >&6; }
6420
if ${ac_cv_prog_NMEDIT+:} false; then :
6421
$as_echo_n "(cached) " >&6
6423
if test -n "$NMEDIT"; then
6424
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430
test -z "$as_dir" && as_dir=.
6431
for ac_exec_ext in '' $ac_executable_extensions; do
6432
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6434
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443
NMEDIT=$ac_cv_prog_NMEDIT
6444
if test -n "$NMEDIT"; then
6445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6446
$as_echo "$NMEDIT" >&6; }
6448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449
$as_echo "no" >&6; }
6454
if test -z "$ac_cv_prog_NMEDIT"; then
6455
ac_ct_NMEDIT=$NMEDIT
6456
# Extract the first word of "nmedit", so it can be a program name with args.
6457
set dummy nmedit; ac_word=$2
6458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6459
$as_echo_n "checking for $ac_word... " >&6; }
6460
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6461
$as_echo_n "(cached) " >&6
6463
if test -n "$ac_ct_NMEDIT"; then
6464
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470
test -z "$as_dir" && as_dir=.
6471
for ac_exec_ext in '' $ac_executable_extensions; do
6472
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6473
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6474
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6484
if test -n "$ac_ct_NMEDIT"; then
6485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6486
$as_echo "$ac_ct_NMEDIT" >&6; }
6488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489
$as_echo "no" >&6; }
6492
if test "x$ac_ct_NMEDIT" = x; then
6495
case $cross_compiling:$ac_tool_warned in
6497
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499
ac_tool_warned=yes ;;
6501
NMEDIT=$ac_ct_NMEDIT
6504
NMEDIT="$ac_cv_prog_NMEDIT"
6507
if test -n "$ac_tool_prefix"; then
6508
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6509
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511
$as_echo_n "checking for $ac_word... " >&6; }
6512
if ${ac_cv_prog_LIPO+:} false; then :
6513
$as_echo_n "(cached) " >&6
6515
if test -n "$LIPO"; then
6516
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522
test -z "$as_dir" && as_dir=.
6523
for ac_exec_ext in '' $ac_executable_extensions; do
6524
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6525
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6526
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6535
LIPO=$ac_cv_prog_LIPO
6536
if test -n "$LIPO"; then
6537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6538
$as_echo "$LIPO" >&6; }
6540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541
$as_echo "no" >&6; }
6546
if test -z "$ac_cv_prog_LIPO"; then
6548
# Extract the first word of "lipo", so it can be a program name with args.
6549
set dummy lipo; ac_word=$2
6550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551
$as_echo_n "checking for $ac_word... " >&6; }
6552
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6553
$as_echo_n "(cached) " >&6
6555
if test -n "$ac_ct_LIPO"; then
6556
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562
test -z "$as_dir" && as_dir=.
6563
for ac_exec_ext in '' $ac_executable_extensions; do
6564
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6565
ac_cv_prog_ac_ct_LIPO="lipo"
6566
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6576
if test -n "$ac_ct_LIPO"; then
6577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6578
$as_echo "$ac_ct_LIPO" >&6; }
6580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581
$as_echo "no" >&6; }
6584
if test "x$ac_ct_LIPO" = x; then
6587
case $cross_compiling:$ac_tool_warned in
6589
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6590
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6591
ac_tool_warned=yes ;;
6596
LIPO="$ac_cv_prog_LIPO"
6599
if test -n "$ac_tool_prefix"; then
6600
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6601
set dummy ${ac_tool_prefix}otool; ac_word=$2
6602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603
$as_echo_n "checking for $ac_word... " >&6; }
6604
if ${ac_cv_prog_OTOOL+:} false; then :
6605
$as_echo_n "(cached) " >&6
6607
if test -n "$OTOOL"; then
6608
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614
test -z "$as_dir" && as_dir=.
6615
for ac_exec_ext in '' $ac_executable_extensions; do
6616
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6617
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6618
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627
OTOOL=$ac_cv_prog_OTOOL
6628
if test -n "$OTOOL"; then
6629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6630
$as_echo "$OTOOL" >&6; }
6632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633
$as_echo "no" >&6; }
6638
if test -z "$ac_cv_prog_OTOOL"; then
6640
# Extract the first word of "otool", so it can be a program name with args.
6641
set dummy otool; ac_word=$2
6642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643
$as_echo_n "checking for $ac_word... " >&6; }
6644
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6645
$as_echo_n "(cached) " >&6
6647
if test -n "$ac_ct_OTOOL"; then
6648
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6650
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654
test -z "$as_dir" && as_dir=.
6655
for ac_exec_ext in '' $ac_executable_extensions; do
6656
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6657
ac_cv_prog_ac_ct_OTOOL="otool"
6658
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6668
if test -n "$ac_ct_OTOOL"; then
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6670
$as_echo "$ac_ct_OTOOL" >&6; }
6672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673
$as_echo "no" >&6; }
6676
if test "x$ac_ct_OTOOL" = x; then
6679
case $cross_compiling:$ac_tool_warned in
6681
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6682
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6683
ac_tool_warned=yes ;;
6688
OTOOL="$ac_cv_prog_OTOOL"
6691
if test -n "$ac_tool_prefix"; then
6692
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6693
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695
$as_echo_n "checking for $ac_word... " >&6; }
6696
if ${ac_cv_prog_OTOOL64+:} false; then :
6697
$as_echo_n "(cached) " >&6
6699
if test -n "$OTOOL64"; then
6700
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706
test -z "$as_dir" && as_dir=.
6707
for ac_exec_ext in '' $ac_executable_extensions; do
6708
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6709
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6710
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719
OTOOL64=$ac_cv_prog_OTOOL64
6720
if test -n "$OTOOL64"; then
6721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6722
$as_echo "$OTOOL64" >&6; }
6724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725
$as_echo "no" >&6; }
6730
if test -z "$ac_cv_prog_OTOOL64"; then
6731
ac_ct_OTOOL64=$OTOOL64
6732
# Extract the first word of "otool64", so it can be a program name with args.
6733
set dummy otool64; ac_word=$2
6734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735
$as_echo_n "checking for $ac_word... " >&6; }
6736
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6737
$as_echo_n "(cached) " >&6
6739
if test -n "$ac_ct_OTOOL64"; then
6740
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6742
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746
test -z "$as_dir" && as_dir=.
6747
for ac_exec_ext in '' $ac_executable_extensions; do
6748
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749
ac_cv_prog_ac_ct_OTOOL64="otool64"
6750
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6760
if test -n "$ac_ct_OTOOL64"; then
6761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6762
$as_echo "$ac_ct_OTOOL64" >&6; }
6764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765
$as_echo "no" >&6; }
6768
if test "x$ac_ct_OTOOL64" = x; then
6771
case $cross_compiling:$ac_tool_warned in
6773
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775
ac_tool_warned=yes ;;
6777
OTOOL64=$ac_ct_OTOOL64
6780
OTOOL64="$ac_cv_prog_OTOOL64"
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6810
$as_echo_n "checking for -single_module linker flag... " >&6; }
6811
if ${lt_cv_apple_cc_single_mod+:} false; then :
6812
$as_echo_n "(cached) " >&6
6814
lt_cv_apple_cc_single_mod=no
6815
if test -z "${LT_MULTI_MODULE}"; then
6816
# By default we will add the -single_module flag. You can override
6817
# by either setting the environment variable LT_MULTI_MODULE
6818
# non-empty at configure time, or by adding -multi_module to the
6820
rm -rf libconftest.dylib*
6821
echo "int foo(void){return 1;}" > conftest.c
6822
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6823
-dynamiclib -Wl,-single_module conftest.c" >&5
6824
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6825
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6827
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6828
lt_cv_apple_cc_single_mod=yes
6830
cat conftest.err >&5
6832
rm -rf libconftest.dylib*
6836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6837
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6839
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6840
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6841
$as_echo_n "(cached) " >&6
6843
lt_cv_ld_exported_symbols_list=no
6844
save_LDFLAGS=$LDFLAGS
6845
echo "_main" > conftest.sym
6846
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848
/* end confdefs.h. */
6858
if ac_fn_c_try_link "$LINENO"; then :
6859
lt_cv_ld_exported_symbols_list=yes
6861
lt_cv_ld_exported_symbols_list=no
6863
rm -f core conftest.err conftest.$ac_objext \
6864
conftest$ac_exeext conftest.$ac_ext
6865
LDFLAGS="$save_LDFLAGS"
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6869
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6871
$as_echo_n "checking for -force_load linker flag... " >&6; }
6872
if ${lt_cv_ld_force_load+:} false; then :
6873
$as_echo_n "(cached) " >&6
6875
lt_cv_ld_force_load=no
6876
cat > conftest.c << _LT_EOF
6877
int forced_loaded() { return 2;}
6879
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6880
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6881
echo "$AR cru libconftest.a conftest.o" >&5
6882
$AR cru libconftest.a conftest.o 2>&5
6883
echo "$RANLIB libconftest.a" >&5
6884
$RANLIB libconftest.a 2>&5
6885
cat > conftest.c << _LT_EOF
6886
int main() { return 0;}
6888
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6889
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6891
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6892
lt_cv_ld_force_load=yes
6894
cat conftest.err >&5
6896
rm -f conftest.err libconftest.a conftest conftest.c
6897
rm -rf conftest.dSYM
6900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6901
$as_echo "$lt_cv_ld_force_load" >&6; }
6903
rhapsody* | darwin1.[012])
6904
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6906
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6907
darwin*) # darwin 5.x on
6908
# if running on 10.5 or later, the deployment target defaults
6909
# to the OS version, if on x86, and 10.4, the deployment
6910
# target defaults to 10.4. Don't you love it?
6911
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6912
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6913
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6915
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6917
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6921
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6922
_lt_dar_single_mod='$single_module'
6924
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6925
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6927
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6929
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6930
_lt_dsymutil='~$DSYMUTIL $lib || :'
6938
ac_cpp='$CPP $CPPFLAGS'
6939
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6940
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6941
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6943
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6944
# On Suns, sometimes $CPP names a directory.
6945
if test -n "$CPP" && test -d "$CPP"; then
6948
if test -z "$CPP"; then
6949
if ${ac_cv_prog_CPP+:} false; then :
6950
$as_echo_n "(cached) " >&6
6952
# Double quotes because CPP needs to be expanded
6953
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6956
for ac_c_preproc_warn_flag in '' yes
6958
# Use a header file that comes with gcc, so configuring glibc
6959
# with a fresh cross-compiler works.
6960
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6961
# <limits.h> exists even on freestanding compilers.
6962
# On the NeXT, cc -E runs the code through the compiler's parser,
6963
# not just through cpp. "Syntax error" is here to catch this case.
6964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965
/* end confdefs.h. */
6967
# include <limits.h>
6969
# include <assert.h>
6973
if ac_fn_c_try_cpp "$LINENO"; then :
6976
# Broken: fails on valid input.
6979
rm -f conftest.err conftest.i conftest.$ac_ext
6981
# OK, works on sane cases. Now check whether nonexistent headers
6982
# can be detected and how.
6983
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984
/* end confdefs.h. */
6985
#include <ac_nonexistent.h>
6987
if ac_fn_c_try_cpp "$LINENO"; then :
6988
# Broken: success on invalid input.
6991
# Passes both tests.
6995
rm -f conftest.err conftest.i conftest.$ac_ext
6998
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6999
rm -f conftest.i conftest.err conftest.$ac_ext
7000
if $ac_preproc_ok; then :
7012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7013
$as_echo "$CPP" >&6; }
7015
for ac_c_preproc_warn_flag in '' yes
7017
# Use a header file that comes with gcc, so configuring glibc
7018
# with a fresh cross-compiler works.
7019
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7020
# <limits.h> exists even on freestanding compilers.
7021
# On the NeXT, cc -E runs the code through the compiler's parser,
7022
# not just through cpp. "Syntax error" is here to catch this case.
7023
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024
/* end confdefs.h. */
7026
# include <limits.h>
7028
# include <assert.h>
7032
if ac_fn_c_try_cpp "$LINENO"; then :
7035
# Broken: fails on valid input.
7038
rm -f conftest.err conftest.i conftest.$ac_ext
7040
# OK, works on sane cases. Now check whether nonexistent headers
7041
# can be detected and how.
7042
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7043
/* end confdefs.h. */
7044
#include <ac_nonexistent.h>
7046
if ac_fn_c_try_cpp "$LINENO"; then :
7047
# Broken: success on invalid input.
7050
# Passes both tests.
7054
rm -f conftest.err conftest.i conftest.$ac_ext
7057
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7058
rm -f conftest.i conftest.err conftest.$ac_ext
7059
if $ac_preproc_ok; then :
7062
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7063
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7064
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7065
See \`config.log' for more details" "$LINENO" 5; }
7069
ac_cpp='$CPP $CPPFLAGS'
7070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7076
$as_echo_n "checking for ANSI C header files... " >&6; }
7077
if ${ac_cv_header_stdc+:} false; then :
7078
$as_echo_n "(cached) " >&6
7080
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7081
/* end confdefs.h. */
7095
if ac_fn_c_try_compile "$LINENO"; then :
7096
ac_cv_header_stdc=yes
7098
ac_cv_header_stdc=no
7100
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7102
if test $ac_cv_header_stdc = yes; then
7103
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105
/* end confdefs.h. */
7109
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7110
$EGREP "memchr" >/dev/null 2>&1; then :
7113
ac_cv_header_stdc=no
7119
if test $ac_cv_header_stdc = yes; then
7120
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7121
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122
/* end confdefs.h. */
7126
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7127
$EGREP "free" >/dev/null 2>&1; then :
7130
ac_cv_header_stdc=no
7136
if test $ac_cv_header_stdc = yes; then
7137
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7138
if test "$cross_compiling" = yes; then :
7141
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142
/* end confdefs.h. */
7145
#if ((' ' & 0x0FF) == 0x020)
7146
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7147
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7149
# define ISLOWER(c) \
7150
(('a' <= (c) && (c) <= 'i') \
7151
|| ('j' <= (c) && (c) <= 'r') \
7152
|| ('s' <= (c) && (c) <= 'z'))
7153
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7156
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7161
for (i = 0; i < 256; i++)
7162
if (XOR (islower (i), ISLOWER (i))
7163
|| toupper (i) != TOUPPER (i))
7168
if ac_fn_c_try_run "$LINENO"; then :
7171
ac_cv_header_stdc=no
7173
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7174
conftest.$ac_objext conftest.beam conftest.$ac_ext
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7180
$as_echo "$ac_cv_header_stdc" >&6; }
7181
if test $ac_cv_header_stdc = yes; then
7183
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7187
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7188
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7189
inttypes.h stdint.h unistd.h
7191
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7192
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7194
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7195
cat >>confdefs.h <<_ACEOF
7196
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7204
for ac_header in dlfcn.h
7206
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7208
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7209
cat >>confdefs.h <<_ACEOF
7210
#define HAVE_DLFCN_H 1
7231
# Check whether --enable-shared was given.
7232
if test "${enable_shared+set}" = set; then :
7233
enableval=$enable_shared; p=${PACKAGE-default}
7235
yes) enable_shared=yes ;;
7236
no) enable_shared=no ;;
7239
# Look at the argument we got. We use all the common list separators.
7240
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7241
for pkg in $enableval; do
7243
if test "X$pkg" = "X$p"; then
7262
# Check whether --enable-static was given.
7263
if test "${enable_static+set}" = set; then :
7264
enableval=$enable_static; p=${PACKAGE-default}
7266
yes) enable_static=yes ;;
7267
no) enable_static=no ;;
7270
# Look at the argument we got. We use all the common list separators.
7271
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7272
for pkg in $enableval; do
7274
if test "X$pkg" = "X$p"; then
7294
# Check whether --with-pic was given.
7295
if test "${with_pic+set}" = set; then :
7296
withval=$with_pic; pic_mode="$withval"
7302
test -z "$pic_mode" && pic_mode=default
7310
# Check whether --enable-fast-install was given.
7311
if test "${enable_fast_install+set}" = set; then :
7312
enableval=$enable_fast_install; p=${PACKAGE-default}
7314
yes) enable_fast_install=yes ;;
7315
no) enable_fast_install=no ;;
7317
enable_fast_install=no
7318
# Look at the argument we got. We use all the common list separators.
7319
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7320
for pkg in $enableval; do
7322
if test "X$pkg" = "X$p"; then
7323
enable_fast_install=yes
7330
enable_fast_install=yes
7343
# This can be used to rebuild libtool when needed
7344
LIBTOOL_DEPS="$ltmain"
7346
# Always use our own libtool.
7347
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7374
test -z "$LN_S" && LN_S="ln -s"
7389
if test -n "${ZSH_VERSION+set}" ; then
7390
setopt NO_GLOB_SUBST
7393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7394
$as_echo_n "checking for objdir... " >&6; }
7395
if ${lt_cv_objdir+:} false; then :
7396
$as_echo_n "(cached) " >&6
7398
rm -f .libs 2>/dev/null
7399
mkdir .libs 2>/dev/null
7400
if test -d .libs; then
7403
# MS-DOS does not allow filenames that begin with a dot.
7406
rmdir .libs 2>/dev/null
7408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7409
$as_echo "$lt_cv_objdir" >&6; }
7410
objdir=$lt_cv_objdir
7416
cat >>confdefs.h <<_ACEOF
7417
#define LT_OBJDIR "$lt_cv_objdir/"
7425
# AIX sometimes has problems with the GCC collect2 program. For some
7426
# reason, if we set the COLLECT_NAMES environment variable, the problems
7427
# vanish in a puff of smoke.
7428
if test "X${COLLECT_NAMES+set}" != Xset; then
7430
export COLLECT_NAMES
7437
can_build_shared=yes
7439
# All known linkers require a `.a' archive for static linking (except MSVC,
7440
# which needs '.lib').
7443
with_gnu_ld="$lt_cv_prog_gnu_ld"
7446
old_CFLAGS="$CFLAGS"
7448
# Set sane defaults for various variables
7449
test -z "$CC" && CC=cc
7450
test -z "$LTCC" && LTCC=$CC
7451
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7452
test -z "$LD" && LD=ld
7453
test -z "$ac_objext" && ac_objext=o
7455
for cc_temp in $compiler""; do
7457
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7458
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7463
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7466
# Only perform the check for file, if the check method requires it
7467
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7468
case $deplibs_check_method in
7470
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7472
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7473
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7474
$as_echo_n "(cached) " >&6
7478
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7481
lt_save_MAGIC_CMD="$MAGIC_CMD"
7482
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7483
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7484
for ac_dir in $ac_dummy; do
7486
test -z "$ac_dir" && ac_dir=.
7487
if test -f $ac_dir/${ac_tool_prefix}file; then
7488
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7489
if test -n "$file_magic_test_file"; then
7490
case $deplibs_check_method in
7492
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7493
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7494
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7495
$EGREP "$file_magic_regex" > /dev/null; then
7500
*** Warning: the command libtool uses to detect shared libraries,
7501
*** $file_magic_cmd, produces output that libtool cannot recognize.
7502
*** The result is that libtool may fail to recognize shared libraries
7503
*** as such. This will affect the creation of libtool libraries that
7504
*** depend on shared libraries, but programs linked with such libtool
7505
*** libraries will work regardless of this problem. Nevertheless, you
7506
*** may want to report the problem to your system manager and/or to
7507
*** bug-libtool@gnu.org
7517
MAGIC_CMD="$lt_save_MAGIC_CMD"
7522
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7523
if test -n "$MAGIC_CMD"; then
7524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7525
$as_echo "$MAGIC_CMD" >&6; }
7527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528
$as_echo "no" >&6; }
7535
if test -z "$lt_cv_path_MAGIC_CMD"; then
7536
if test -n "$ac_tool_prefix"; then
7537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7538
$as_echo_n "checking for file... " >&6; }
7539
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7540
$as_echo_n "(cached) " >&6
7544
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7547
lt_save_MAGIC_CMD="$MAGIC_CMD"
7548
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7549
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7550
for ac_dir in $ac_dummy; do
7552
test -z "$ac_dir" && ac_dir=.
7553
if test -f $ac_dir/file; then
7554
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7555
if test -n "$file_magic_test_file"; then
7556
case $deplibs_check_method in
7558
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7559
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7560
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7561
$EGREP "$file_magic_regex" > /dev/null; then
7566
*** Warning: the command libtool uses to detect shared libraries,
7567
*** $file_magic_cmd, produces output that libtool cannot recognize.
7568
*** The result is that libtool may fail to recognize shared libraries
7569
*** as such. This will affect the creation of libtool libraries that
7570
*** depend on shared libraries, but programs linked with such libtool
7571
*** libraries will work regardless of this problem. Nevertheless, you
7572
*** may want to report the problem to your system manager and/or to
7573
*** bug-libtool@gnu.org
7583
MAGIC_CMD="$lt_save_MAGIC_CMD"
7588
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7589
if test -n "$MAGIC_CMD"; then
7590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7591
$as_echo "$MAGIC_CMD" >&6; }
7593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7594
$as_echo "no" >&6; }
7607
# Use C for the default configuration in the libtool script
7611
ac_cpp='$CPP $CPPFLAGS'
7612
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7613
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7614
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7617
# Source file extension for C test sources.
7620
# Object file extension for compiled C test sources.
7624
# Code to be used in simple compile tests
7625
lt_simple_compile_test_code="int some_variable = 0;"
7627
# Code to be used in simple link tests
7628
lt_simple_link_test_code='int main(){return(0);}'
7636
# If no C compiler was specified, use CC.
7639
# If no C compiler flags were specified, use CFLAGS.
7640
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7642
# Allow CC to be a program name with arguments.
7645
# Save the default compiler, since it gets overwritten when the other
7646
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7647
compiler_DEFAULT=$CC
7649
# save warnings/boilerplate of simple test code
7650
ac_outfile=conftest.$ac_objext
7651
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7652
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7653
_lt_compiler_boilerplate=`cat conftest.err`
7656
ac_outfile=conftest.$ac_objext
7657
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7658
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7659
_lt_linker_boilerplate=`cat conftest.err`
7664
## There is no encapsulation within the following macros, do not change
7665
## the running order or otherwise move them around unless you know exactly
7666
## what you are doing...
7667
if test -n "$compiler"; then
7669
lt_prog_compiler_no_builtin_flag=
7671
if test "$GCC" = yes; then
7672
case $cc_basename in
7674
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7676
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7680
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7681
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7682
$as_echo_n "(cached) " >&6
7684
lt_cv_prog_compiler_rtti_exceptions=no
7685
ac_outfile=conftest.$ac_objext
7686
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7687
lt_compiler_flag="-fno-rtti -fno-exceptions"
7688
# Insert the option either (1) after the last *FLAGS variable, or
7689
# (2) before a word containing "conftest.", or (3) at the end.
7690
# Note that $ac_compile itself does not contain backslashes and begins
7691
# with a dollar sign (not a hyphen), so the echo should work correctly.
7692
# The option is referenced via a variable to avoid confusing sed.
7693
lt_compile=`echo "$ac_compile" | $SED \
7694
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7695
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7696
-e 's:$: $lt_compiler_flag:'`
7697
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7698
(eval "$lt_compile" 2>conftest.err)
7700
cat conftest.err >&5
7701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702
if (exit $ac_status) && test -s "$ac_outfile"; then
7703
# The compiler can only warn and ignore the option if not recognized
7704
# So say no if there are warnings other than the usual output.
7705
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7706
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7707
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7708
lt_cv_prog_compiler_rtti_exceptions=yes
7714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7715
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7717
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7718
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7730
lt_prog_compiler_wl=
7731
lt_prog_compiler_pic=
7732
lt_prog_compiler_static=
7735
if test "$GCC" = yes; then
7736
lt_prog_compiler_wl='-Wl,'
7737
lt_prog_compiler_static='-static'
7741
# All AIX code is PIC.
7742
if test "$host_cpu" = ia64; then
7743
# AIX 5 now supports IA64 processor
7744
lt_prog_compiler_static='-Bstatic'
7751
# see comment about AmigaOS4 .so support
7752
lt_prog_compiler_pic='-fPIC'
7755
# FIXME: we need at least 68020 code to build shared libraries, but
7756
# adding the `-m68020' flag to GCC prevents building anything better,
7758
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7763
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7764
# PIC is the default for these OSes.
7767
mingw* | cygwin* | pw32* | os2* | cegcc*)
7768
# This hack is so that the source file can tell whether it is being
7769
# built for inclusion in a dll (and should export symbols for example).
7770
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7771
# (--disable-auto-import) libraries
7772
lt_prog_compiler_pic='-DDLL_EXPORT'
7775
darwin* | rhapsody*)
7776
# PIC is the default on this platform
7777
# Common symbols not allowed in MH_DYLIB files
7778
lt_prog_compiler_pic='-fno-common'
7782
# PIC is the default for Haiku.
7783
# The "-static" flag exists, but is broken.
7784
lt_prog_compiler_static=
7788
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7789
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7790
# sets the default TLS model and affects inlining.
7796
lt_prog_compiler_pic='-fPIC'
7802
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7803
# Instead, we relocate shared libraries at runtime.
7807
# Just because we use GCC doesn't mean we suddenly get shared libraries
7808
# on systems that don't support them.
7809
lt_prog_compiler_can_build_shared=no
7814
# QNX uses GNU C++, but need to define -shared option too, otherwise
7816
lt_prog_compiler_pic='-fPIC -shared'
7820
if test -d /usr/nec; then
7821
lt_prog_compiler_pic=-Kconform_pic
7826
lt_prog_compiler_pic='-fPIC'
7830
case $cc_basename in
7831
nvcc*) # Cuda Compiler Driver 2.2
7832
lt_prog_compiler_wl='-Xlinker '
7833
lt_prog_compiler_pic='-Xcompiler -fPIC'
7837
# PORTME Check for flag to pass linker flags through the system compiler.
7840
lt_prog_compiler_wl='-Wl,'
7841
if test "$host_cpu" = ia64; then
7842
# AIX 5 now supports IA64 processor
7843
lt_prog_compiler_static='-Bstatic'
7845
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7849
mingw* | cygwin* | pw32* | os2* | cegcc*)
7850
# This hack is so that the source file can tell whether it is being
7851
# built for inclusion in a dll (and should export symbols for example).
7852
lt_prog_compiler_pic='-DDLL_EXPORT'
7855
hpux9* | hpux10* | hpux11*)
7856
lt_prog_compiler_wl='-Wl,'
7857
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7864
lt_prog_compiler_pic='+Z'
7867
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7868
lt_prog_compiler_static='${wl}-a ${wl}archive'
7871
irix5* | irix6* | nonstopux*)
7872
lt_prog_compiler_wl='-Wl,'
7873
# PIC (with -KPIC) is the default.
7874
lt_prog_compiler_static='-non_shared'
7877
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7878
case $cc_basename in
7879
# old Intel for x86_64 which still supported -KPIC.
7881
lt_prog_compiler_wl='-Wl,'
7882
lt_prog_compiler_pic='-KPIC'
7883
lt_prog_compiler_static='-static'
7885
# icc used to be incompatible with GCC.
7886
# ICC 10 doesn't accept -KPIC any more.
7888
lt_prog_compiler_wl='-Wl,'
7889
lt_prog_compiler_pic='-fPIC'
7890
lt_prog_compiler_static='-static'
7892
# Lahey Fortran 8.1.
7894
lt_prog_compiler_wl='-Wl,'
7895
lt_prog_compiler_pic='--shared'
7896
lt_prog_compiler_static='--static'
7899
# NAG Fortran compiler
7900
lt_prog_compiler_wl='-Wl,-Wl,,'
7901
lt_prog_compiler_pic='-PIC'
7902
lt_prog_compiler_static='-Bstatic'
7904
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7905
# Portland Group compilers (*not* the Pentium gcc compiler,
7906
# which looks to be a dead project)
7907
lt_prog_compiler_wl='-Wl,'
7908
lt_prog_compiler_pic='-fpic'
7909
lt_prog_compiler_static='-Bstatic'
7912
lt_prog_compiler_wl='-Wl,'
7913
# All Alpha code is PIC.
7914
lt_prog_compiler_static='-non_shared'
7916
xl* | bgxl* | bgf* | mpixl*)
7917
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7918
lt_prog_compiler_wl='-Wl,'
7919
lt_prog_compiler_pic='-qpic'
7920
lt_prog_compiler_static='-qstaticlink'
7923
case `$CC -V 2>&1 | sed 5q` in
7924
*Sun\ F* | *Sun*Fortran*)
7925
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7926
lt_prog_compiler_pic='-KPIC'
7927
lt_prog_compiler_static='-Bstatic'
7928
lt_prog_compiler_wl=''
7932
lt_prog_compiler_pic='-KPIC'
7933
lt_prog_compiler_static='-Bstatic'
7934
lt_prog_compiler_wl='-Wl,'
7942
lt_prog_compiler_pic='-KPIC'
7943
lt_prog_compiler_static='-Bstatic'
7947
# QNX uses GNU C++, but need to define -shared option too, otherwise
7949
lt_prog_compiler_pic='-fPIC -shared'
7952
osf3* | osf4* | osf5*)
7953
lt_prog_compiler_wl='-Wl,'
7954
# All OSF/1 code is PIC.
7955
lt_prog_compiler_static='-non_shared'
7959
lt_prog_compiler_static='-non_shared'
7963
lt_prog_compiler_pic='-KPIC'
7964
lt_prog_compiler_static='-Bstatic'
7965
case $cc_basename in
7966
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7967
lt_prog_compiler_wl='-Qoption ld ';;
7969
lt_prog_compiler_wl='-Wl,';;
7974
lt_prog_compiler_wl='-Qoption ld '
7975
lt_prog_compiler_pic='-PIC'
7976
lt_prog_compiler_static='-Bstatic'
7979
sysv4 | sysv4.2uw2* | sysv4.3*)
7980
lt_prog_compiler_wl='-Wl,'
7981
lt_prog_compiler_pic='-KPIC'
7982
lt_prog_compiler_static='-Bstatic'
7986
if test -d /usr/nec ;then
7987
lt_prog_compiler_pic='-Kconform_pic'
7988
lt_prog_compiler_static='-Bstatic'
7992
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7993
lt_prog_compiler_wl='-Wl,'
7994
lt_prog_compiler_pic='-KPIC'
7995
lt_prog_compiler_static='-Bstatic'
7999
lt_prog_compiler_wl='-Wl,'
8000
lt_prog_compiler_can_build_shared=no
8004
lt_prog_compiler_pic='-pic'
8005
lt_prog_compiler_static='-Bstatic'
8009
lt_prog_compiler_can_build_shared=no
8015
# For platforms which do not support PIC, -DPIC is meaningless:
8017
lt_prog_compiler_pic=
8020
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8025
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8026
if ${lt_cv_prog_compiler_pic+:} false; then :
8027
$as_echo_n "(cached) " >&6
8029
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8032
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8033
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8036
# Check to make sure the PIC flag actually works.
8038
if test -n "$lt_prog_compiler_pic"; then
8039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8040
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8041
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8042
$as_echo_n "(cached) " >&6
8044
lt_cv_prog_compiler_pic_works=no
8045
ac_outfile=conftest.$ac_objext
8046
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8047
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8048
# Insert the option either (1) after the last *FLAGS variable, or
8049
# (2) before a word containing "conftest.", or (3) at the end.
8050
# Note that $ac_compile itself does not contain backslashes and begins
8051
# with a dollar sign (not a hyphen), so the echo should work correctly.
8052
# The option is referenced via a variable to avoid confusing sed.
8053
lt_compile=`echo "$ac_compile" | $SED \
8054
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8055
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8056
-e 's:$: $lt_compiler_flag:'`
8057
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8058
(eval "$lt_compile" 2>conftest.err)
8060
cat conftest.err >&5
8061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062
if (exit $ac_status) && test -s "$ac_outfile"; then
8063
# The compiler can only warn and ignore the option if not recognized
8064
# So say no if there are warnings other than the usual output.
8065
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8066
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8067
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8068
lt_cv_prog_compiler_pic_works=yes
8074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8075
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8077
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8078
case $lt_prog_compiler_pic in
8080
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8083
lt_prog_compiler_pic=
8084
lt_prog_compiler_can_build_shared=no
8100
# Check to make sure the static flag actually works.
8102
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8104
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8105
if ${lt_cv_prog_compiler_static_works+:} false; then :
8106
$as_echo_n "(cached) " >&6
8108
lt_cv_prog_compiler_static_works=no
8109
save_LDFLAGS="$LDFLAGS"
8110
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8111
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8112
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8113
# The linker can only warn and ignore the option if not recognized
8114
# So say no if there are warnings
8115
if test -s conftest.err; then
8116
# Append any errors to the config.log.
8117
cat conftest.err 1>&5
8118
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8119
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8120
if diff conftest.exp conftest.er2 >/dev/null; then
8121
lt_cv_prog_compiler_static_works=yes
8124
lt_cv_prog_compiler_static_works=yes
8128
LDFLAGS="$save_LDFLAGS"
8131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8132
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8134
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8137
lt_prog_compiler_static=
8146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8147
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8148
if ${lt_cv_prog_compiler_c_o+:} false; then :
8149
$as_echo_n "(cached) " >&6
8151
lt_cv_prog_compiler_c_o=no
8152
$RM -r conftest 2>/dev/null
8156
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8158
lt_compiler_flag="-o out/conftest2.$ac_objext"
8159
# Insert the option either (1) after the last *FLAGS variable, or
8160
# (2) before a word containing "conftest.", or (3) at the end.
8161
# Note that $ac_compile itself does not contain backslashes and begins
8162
# with a dollar sign (not a hyphen), so the echo should work correctly.
8163
lt_compile=`echo "$ac_compile" | $SED \
8164
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8165
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8166
-e 's:$: $lt_compiler_flag:'`
8167
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8168
(eval "$lt_compile" 2>out/conftest.err)
8170
cat out/conftest.err >&5
8171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8174
# The compiler can only warn and ignore the option if not recognized
8175
# So say no if there are warnings
8176
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8177
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8178
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8179
lt_cv_prog_compiler_c_o=yes
8184
# SGI C++ compiler will create directory out/ii_files/ for
8185
# template instantiation
8186
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8187
$RM out/* && rmdir out
8193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8194
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8202
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8203
if ${lt_cv_prog_compiler_c_o+:} false; then :
8204
$as_echo_n "(cached) " >&6
8206
lt_cv_prog_compiler_c_o=no
8207
$RM -r conftest 2>/dev/null
8211
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8213
lt_compiler_flag="-o out/conftest2.$ac_objext"
8214
# Insert the option either (1) after the last *FLAGS variable, or
8215
# (2) before a word containing "conftest.", or (3) at the end.
8216
# Note that $ac_compile itself does not contain backslashes and begins
8217
# with a dollar sign (not a hyphen), so the echo should work correctly.
8218
lt_compile=`echo "$ac_compile" | $SED \
8219
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8220
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8221
-e 's:$: $lt_compiler_flag:'`
8222
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8223
(eval "$lt_compile" 2>out/conftest.err)
8225
cat out/conftest.err >&5
8226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8229
# The compiler can only warn and ignore the option if not recognized
8230
# So say no if there are warnings
8231
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8232
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8233
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8234
lt_cv_prog_compiler_c_o=yes
8239
# SGI C++ compiler will create directory out/ii_files/ for
8240
# template instantiation
8241
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8242
$RM out/* && rmdir out
8248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8249
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8254
hard_links="nottested"
8255
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8256
# do not overwrite the value of need_locks provided by the user
8257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8258
$as_echo_n "checking if we can lock with hard links... " >&6; }
8261
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8263
ln conftest.a conftest.b 2>&5 || hard_links=no
8264
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8266
$as_echo "$hard_links" >&6; }
8267
if test "$hard_links" = no; then
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8269
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8282
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8285
allow_undefined_flag=
8286
always_export_symbols=no
8288
archive_expsym_cmds=
8289
compiler_needs_object=no
8290
enable_shared_with_static_runtimes=no
8291
export_dynamic_flag_spec=
8292
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8293
hardcode_automatic=no
8295
hardcode_direct_absolute=no
8296
hardcode_libdir_flag_spec=
8297
hardcode_libdir_flag_spec_ld=
8298
hardcode_libdir_separator=
8300
hardcode_shlibpath_var=unsupported
8302
link_all_deplibs=unknown
8305
old_archive_from_new_cmds=
8306
old_archive_from_expsyms_cmds=
8307
thread_safe_flag_spec=
8308
whole_archive_flag_spec=
8309
# include_expsyms should be a list of space-separated symbols to be *always*
8310
# included in the symbol list
8312
# exclude_expsyms can be an extended regexp of symbols to exclude
8313
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8314
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8315
# as well as any symbol that contains `d'.
8316
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8317
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8318
# platforms (ab)use it in PIC code, but their linkers get confused if
8319
# the symbol is explicitly referenced. Since portable code cannot
8320
# rely on this symbol name, it's probably fine to never include it in
8321
# preloaded symbol tables.
8322
# Exclude shared library initialization/finalization symbols.
8323
extract_expsyms_cmds=
8326
cygwin* | mingw* | pw32* | cegcc*)
8327
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8328
# When not using gcc, we currently assume that we are using
8329
# Microsoft Visual C++.
8330
if test "$GCC" != yes; then
8335
# we just hope/assume this is gcc and not c89 (= MSVC++)
8341
linux* | k*bsd*-gnu | gnu*)
8348
# On some targets, GNU ld is compatible enough with the native linker
8349
# that we're better off using the native interface for both.
8350
lt_use_gnu_ld_interface=no
8351
if test "$with_gnu_ld" = yes; then
8354
# The AIX port of GNU ld has always aspired to compatibility
8355
# with the native linker. However, as the warning in the GNU ld
8356
# block says, versions before 2.19.5* couldn't really create working
8357
# shared libraries, regardless of the interface used.
8358
case `$LD -v 2>&1` in
8359
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8360
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8361
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8363
lt_use_gnu_ld_interface=yes
8368
lt_use_gnu_ld_interface=yes
8373
if test "$lt_use_gnu_ld_interface" = yes; then
8374
# If archive_cmds runs LD, not CC, wlarc should be empty
8377
# Set some defaults for GNU ld with shared library support. These
8378
# are reset later if shared libraries are not supported. Putting them
8379
# here allows them to be overridden if necessary.
8380
runpath_var=LD_RUN_PATH
8381
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8382
export_dynamic_flag_spec='${wl}--export-dynamic'
8383
# ancient GNU ld didn't support --whole-archive et. al.
8384
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8385
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8387
whole_archive_flag_spec=
8389
supports_anon_versioning=no
8390
case `$LD -v 2>&1` in
8391
*GNU\ gold*) supports_anon_versioning=yes ;;
8392
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8393
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8394
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8395
*\ 2.11.*) ;; # other 2.11 versions
8396
*) supports_anon_versioning=yes ;;
8399
# See if GNU ld supports shared libraries.
8402
# On AIX/PPC, the GNU linker is very broken
8403
if test "$host_cpu" != ia64; then
8407
*** Warning: the GNU linker, at least up to release 2.19, is reported
8408
*** to be unable to reliably create shared libraries on AIX.
8409
*** Therefore, libtool is disabling shared libraries support. If you
8410
*** really care for shared libraries, you may want to install binutils
8411
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8412
*** You will then need to restart the configuration process.
8421
# see comment about AmigaOS4 .so support
8422
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8423
archive_expsym_cmds=''
8426
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)'
8427
hardcode_libdir_flag_spec='-L$libdir'
8428
hardcode_minus_L=yes
8434
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8435
allow_undefined_flag=unsupported
8436
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8437
# support --undefined. This deserves some investigation. FIXME
8438
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8444
cygwin* | mingw* | pw32* | cegcc*)
8445
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8446
# as there is no search path for DLLs.
8447
hardcode_libdir_flag_spec='-L$libdir'
8448
export_dynamic_flag_spec='${wl}--export-all-symbols'
8449
allow_undefined_flag=unsupported
8450
always_export_symbols=no
8451
enable_shared_with_static_runtimes=yes
8452
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'
8453
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8455
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8456
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8457
# If the export-symbols file already is a .def file (1st line
8458
# is EXPORTS), use it as is; otherwise, prepend...
8459
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8460
cp $export_symbols $output_objdir/$soname.def;
8462
echo EXPORTS > $output_objdir/$soname.def;
8463
cat $export_symbols >> $output_objdir/$soname.def;
8465
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8472
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8473
link_all_deplibs=yes
8478
hardcode_shlibpath_var=no
8479
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8480
export_dynamic_flag_spec='${wl}-E'
8481
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8482
# Instead, shared libraries are loaded at an image base (0x10000000 by
8483
# default) and relocated if they conflict, which is a slow very memory
8484
# consuming and fragmenting process. To avoid this, we pick a random,
8485
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8486
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8487
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8488
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'
8491
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8493
if test "$host_os" = linux-dietlibc; then
8494
case $cc_basename in
8495
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8498
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8499
&& test "$tmp_diet" = no
8501
tmp_addflag=' $pic_flag'
8502
tmp_sharedflag='-shared'
8503
case $cc_basename,$host_cpu in
8504
pgcc*) # Portland Group C compiler
8505
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'
8506
tmp_addflag=' $pic_flag'
8508
pgf77* | pgf90* | pgf95* | pgfortran*)
8509
# Portland Group f77 and f90 compilers
8510
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'
8511
tmp_addflag=' $pic_flag -Mnomain' ;;
8512
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8513
tmp_addflag=' -i_dynamic' ;;
8514
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8515
tmp_addflag=' -i_dynamic -nofor_main' ;;
8516
ifc* | ifort*) # Intel Fortran compiler
8517
tmp_addflag=' -nofor_main' ;;
8518
lf95*) # Lahey Fortran 8.1
8519
whole_archive_flag_spec=
8520
tmp_sharedflag='--shared' ;;
8521
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8522
tmp_sharedflag='-qmkshrobj'
8524
nvcc*) # Cuda Compiler Driver 2.2
8525
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'
8526
compiler_needs_object=yes
8529
case `$CC -V 2>&1 | sed 5q` in
8530
*Sun\ C*) # Sun C 5.9
8531
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'
8532
compiler_needs_object=yes
8533
tmp_sharedflag='-G' ;;
8534
*Sun\ F*) # Sun Fortran 8.3
8535
tmp_sharedflag='-G' ;;
8537
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8539
if test "x$supports_anon_versioning" = xyes; then
8540
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8541
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8542
echo "local: *; };" >> $output_objdir/$libname.ver~
8543
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8546
case $cc_basename in
8547
xlf* | bgf* | bgxlf* | mpixlf*)
8548
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8549
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8550
hardcode_libdir_flag_spec=
8551
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8552
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8553
if test "x$supports_anon_versioning" = xyes; then
8554
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8555
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8556
echo "local: *; };" >> $output_objdir/$libname.ver~
8557
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8566
netbsd* | netbsdelf*-gnu)
8567
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8568
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8571
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8572
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8577
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8581
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8582
*** create shared libraries on Solaris systems. Therefore, libtool
8583
*** is disabling shared libraries support. We urge you to upgrade GNU
8584
*** binutils to release 2.9.1 or newer. Another option is to modify
8585
*** your PATH or compiler configuration so that the native linker is
8586
*** used, and then restart.
8589
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8590
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8591
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8597
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8598
case `$LD -v 2>&1` in
8599
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8603
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8604
*** reliably create shared libraries on SCO systems. Therefore, libtool
8605
*** is disabling shared libraries support. We urge you to upgrade GNU
8606
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8607
*** your PATH or compiler configuration so that the native linker is
8608
*** used, and then restart.
8613
# For security reasons, it is highly recommended that you always
8614
# use absolute paths for naming shared libraries, and exclude the
8615
# DT_RUNPATH tag from executables and libraries. But doing so
8616
# requires that you compile everything twice, which is a pain.
8617
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8618
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8619
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8620
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8629
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8632
hardcode_shlibpath_var=no
8636
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8637
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8645
if test "$ld_shlibs" = no; then
8647
hardcode_libdir_flag_spec=
8648
export_dynamic_flag_spec=
8649
whole_archive_flag_spec=
8652
# PORTME fill in a description of your system's linker (not GNU ld)
8655
allow_undefined_flag=unsupported
8656
always_export_symbols=yes
8657
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'
8658
# Note: this linker hardcodes the directories in LIBPATH if there
8659
# are no directories specified by -L.
8660
hardcode_minus_L=yes
8661
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8662
# Neither direct hardcoding nor static linking is supported with a
8664
hardcode_direct=unsupported
8669
if test "$host_cpu" = ia64; then
8670
# On IA64, the linker does run time linking by default, so we don't
8671
# have to do anything special.
8672
aix_use_runtimelinking=no
8673
exp_sym_flag='-Bexport'
8676
# If we're using GNU nm, then we don't want the "-C" option.
8677
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8678
# Also, AIX nm treats weak defined symbols like other global
8679
# defined symbols, whereas GNU nm marks them as "W".
8680
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8681
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'
8683
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'
8685
aix_use_runtimelinking=no
8687
# Test if we are trying to use run time linking or normal
8688
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8689
# need to do runtime linking.
8690
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8691
for ld_flag in $LDFLAGS; do
8692
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8693
aix_use_runtimelinking=yes
8700
exp_sym_flag='-bexport'
8701
no_entry_flag='-bnoentry'
8704
# When large executables or shared objects are built, AIX ld can
8705
# have problems creating the table of contents. If linking a library
8706
# or program results in "error TOC overflow" add -mminimal-toc to
8707
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8708
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8712
hardcode_direct_absolute=yes
8713
hardcode_libdir_separator=':'
8714
link_all_deplibs=yes
8715
file_list_spec='${wl}-f,'
8717
if test "$GCC" = yes; then
8718
case $host_os in aix4.[012]|aix4.[012].*)
8719
# We only want to do this on AIX 4.2 and lower, the check
8720
# below for broken collect2 doesn't work under 4.3+
8721
collect2name=`${CC} -print-prog-name=collect2`
8722
if test -f "$collect2name" &&
8723
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8725
# We have reworked collect2
8728
# We have old collect2
8729
hardcode_direct=unsupported
8730
# It fails to find uninstalled libraries when the uninstalled
8731
# path is not listed in the libpath. Setting hardcode_minus_L
8732
# to unsupported forces relinking
8733
hardcode_minus_L=yes
8734
hardcode_libdir_flag_spec='-L$libdir'
8735
hardcode_libdir_separator=
8739
shared_flag='-shared'
8740
if test "$aix_use_runtimelinking" = yes; then
8741
shared_flag="$shared_flag "'${wl}-G'
8746
if test "$host_cpu" = ia64; then
8747
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8748
# chokes on -Wl,-G. The following line is correct:
8751
if test "$aix_use_runtimelinking" = yes; then
8752
shared_flag='${wl}-G'
8754
shared_flag='${wl}-bM:SRE'
8759
export_dynamic_flag_spec='${wl}-bexpall'
8760
# It seems that -bexpall does not export symbols beginning with
8761
# underscore (_), so it is better to generate a list of symbols to export.
8762
always_export_symbols=yes
8763
if test "$aix_use_runtimelinking" = yes; then
8764
# Warning - without using the other runtime loading flags (-brtl),
8765
# -berok will link without error, but may produce a broken library.
8766
allow_undefined_flag='-berok'
8767
# Determine the default libpath from the value encoded in an
8769
if test "${lt_cv_aix_libpath+set}" = set; then
8770
aix_libpath=$lt_cv_aix_libpath
8772
if ${lt_cv_aix_libpath_+:} false; then :
8773
$as_echo_n "(cached) " >&6
8775
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776
/* end confdefs.h. */
8786
if ac_fn_c_try_link "$LINENO"; then :
8788
lt_aix_libpath_sed='
8789
/Import File Strings/,/^$/ {
8791
s/^0 *\([^ ]*\) *$/\1/
8795
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8796
# Check for a 64-bit object if we didn't find anything.
8797
if test -z "$lt_cv_aix_libpath_"; then
8798
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8801
rm -f core conftest.err conftest.$ac_objext \
8802
conftest$ac_exeext conftest.$ac_ext
8803
if test -z "$lt_cv_aix_libpath_"; then
8804
lt_cv_aix_libpath_="/usr/lib:/lib"
8809
aix_libpath=$lt_cv_aix_libpath_
8812
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8813
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"
8815
if test "$host_cpu" = ia64; then
8816
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8817
allow_undefined_flag="-z nodefs"
8818
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"
8820
# Determine the default libpath from the value encoded in an
8822
if test "${lt_cv_aix_libpath+set}" = set; then
8823
aix_libpath=$lt_cv_aix_libpath
8825
if ${lt_cv_aix_libpath_+:} false; then :
8826
$as_echo_n "(cached) " >&6
8828
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829
/* end confdefs.h. */
8839
if ac_fn_c_try_link "$LINENO"; then :
8841
lt_aix_libpath_sed='
8842
/Import File Strings/,/^$/ {
8844
s/^0 *\([^ ]*\) *$/\1/
8848
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8849
# Check for a 64-bit object if we didn't find anything.
8850
if test -z "$lt_cv_aix_libpath_"; then
8851
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8854
rm -f core conftest.err conftest.$ac_objext \
8855
conftest$ac_exeext conftest.$ac_ext
8856
if test -z "$lt_cv_aix_libpath_"; then
8857
lt_cv_aix_libpath_="/usr/lib:/lib"
8862
aix_libpath=$lt_cv_aix_libpath_
8865
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8866
# Warning - without using the other run time loading flags,
8867
# -berok will link without error, but may produce a broken library.
8868
no_undefined_flag=' ${wl}-bernotok'
8869
allow_undefined_flag=' ${wl}-berok'
8870
if test "$with_gnu_ld" = yes; then
8871
# We only use this code for GNU lds that support --whole-archive.
8872
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8874
# Exported symbols can be pulled into shared objects from archives
8875
whole_archive_flag_spec='$convenience'
8877
archive_cmds_need_lc=yes
8878
# This is similar to how AIX traditionally builds its shared libraries.
8879
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'
8887
# see comment about AmigaOS4 .so support
8888
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8889
archive_expsym_cmds=''
8892
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)'
8893
hardcode_libdir_flag_spec='-L$libdir'
8894
hardcode_minus_L=yes
8900
export_dynamic_flag_spec=-rdynamic
8903
cygwin* | mingw* | pw32* | cegcc*)
8904
# When not using gcc, we currently assume that we are using
8905
# Microsoft Visual C++.
8906
# hardcode_libdir_flag_spec is actually meaningless, as there is
8907
# no search path for DLLs.
8908
case $cc_basename in
8911
hardcode_libdir_flag_spec=' '
8912
allow_undefined_flag=unsupported
8913
always_export_symbols=yes
8915
# Tell ltmain to make .lib files, not .a files.
8917
# Tell ltmain to make .dll files, not .so files.
8919
# FIXME: Setting linknames here is a bad hack.
8920
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8921
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8922
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8924
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8926
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8928
# The linker will not automatically build a static lib if we build a DLL.
8929
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8930
enable_shared_with_static_runtimes=yes
8931
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8933
old_postinstall_cmds='chmod 644 $oldlib'
8934
postlink_cmds='lt_outputfile="@OUTPUT@"~
8935
lt_tool_outputfile="@TOOL_OUTPUT@"~
8936
case $lt_outputfile in
8939
lt_outputfile="$lt_outputfile.exe"
8940
lt_tool_outputfile="$lt_tool_outputfile.exe"
8943
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8944
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8945
$RM "$lt_outputfile.manifest";
8949
# Assume MSVC wrapper
8950
hardcode_libdir_flag_spec=' '
8951
allow_undefined_flag=unsupported
8952
# Tell ltmain to make .lib files, not .a files.
8954
# Tell ltmain to make .dll files, not .so files.
8956
# FIXME: Setting linknames here is a bad hack.
8957
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8958
# The linker will automatically build a .lib file if we build a DLL.
8959
old_archive_from_new_cmds='true'
8960
# FIXME: Should let the user specify the lib program.
8961
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8962
enable_shared_with_static_runtimes=yes
8967
darwin* | rhapsody*)
8970
archive_cmds_need_lc=no
8972
hardcode_automatic=yes
8973
hardcode_shlibpath_var=unsupported
8974
if test "$lt_cv_ld_force_load" = "yes"; then
8975
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\"`'
8977
whole_archive_flag_spec=''
8979
link_all_deplibs=yes
8980
allow_undefined_flag="$_lt_dar_allow_undefined"
8981
case $cc_basename in
8982
ifort*) _lt_dar_can_shared=yes ;;
8983
*) _lt_dar_can_shared=$GCC ;;
8985
if test "$_lt_dar_can_shared" = "yes"; then
8986
output_verbose_link_cmd=func_echo_all
8987
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8988
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8989
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}"
8990
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}"
8999
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9000
hardcode_libdir_flag_spec='-L$libdir'
9001
hardcode_shlibpath_var=no
9008
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9009
# support. Future versions do this automatically, but an explicit c++rt0.o
9010
# does not break anything, and helps significantly (at the cost of a little
9013
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9014
hardcode_libdir_flag_spec='-R$libdir'
9016
hardcode_shlibpath_var=no
9019
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9021
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9023
hardcode_minus_L=yes
9024
hardcode_shlibpath_var=no
9027
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9028
freebsd* | dragonfly*)
9029
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9030
hardcode_libdir_flag_spec='-R$libdir'
9032
hardcode_shlibpath_var=no
9036
if test "$GCC" = yes; then
9037
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'
9039
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'
9041
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9042
hardcode_libdir_separator=:
9045
# hardcode_minus_L: Not really in the search PATH,
9046
# but as the default location of the library.
9047
hardcode_minus_L=yes
9048
export_dynamic_flag_spec='${wl}-E'
9052
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9053
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9055
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9057
if test "$with_gnu_ld" = no; then
9058
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9059
hardcode_libdir_flag_spec_ld='+b $libdir'
9060
hardcode_libdir_separator=:
9062
hardcode_direct_absolute=yes
9063
export_dynamic_flag_spec='${wl}-E'
9064
# hardcode_minus_L: Not really in the search PATH,
9065
# but as the default location of the library.
9066
hardcode_minus_L=yes
9071
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9074
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9077
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9080
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9086
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9089
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9093
# Older versions of the 11.00 compiler do not understand -b yet
9094
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9096
$as_echo_n "checking if $CC understands -b... " >&6; }
9097
if ${lt_cv_prog_compiler__b+:} false; then :
9098
$as_echo_n "(cached) " >&6
9100
lt_cv_prog_compiler__b=no
9101
save_LDFLAGS="$LDFLAGS"
9102
LDFLAGS="$LDFLAGS -b"
9103
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9104
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9105
# The linker can only warn and ignore the option if not recognized
9106
# So say no if there are warnings
9107
if test -s conftest.err; then
9108
# Append any errors to the config.log.
9109
cat conftest.err 1>&5
9110
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9111
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9112
if diff conftest.exp conftest.er2 >/dev/null; then
9113
lt_cv_prog_compiler__b=yes
9116
lt_cv_prog_compiler__b=yes
9120
LDFLAGS="$save_LDFLAGS"
9123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9124
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9126
if test x"$lt_cv_prog_compiler__b" = xyes; then
9127
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9129
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9135
if test "$with_gnu_ld" = no; then
9136
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9137
hardcode_libdir_separator=:
9142
hardcode_shlibpath_var=no
9146
hardcode_direct_absolute=yes
9147
export_dynamic_flag_spec='${wl}-E'
9149
# hardcode_minus_L: Not really in the search PATH,
9150
# but as the default location of the library.
9151
hardcode_minus_L=yes
9157
irix5* | irix6* | nonstopux*)
9158
if test "$GCC" = yes; then
9159
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'
9160
# Try to use the -exported_symbol ld option, if it does not
9161
# work, assume that -exports_file does not work either and
9162
# implicitly export all symbols.
9163
# This should be the same for all languages, so no per-tag cache variable.
9164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9165
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9166
if ${lt_cv_irix_exported_symbol+:} false; then :
9167
$as_echo_n "(cached) " >&6
9169
save_LDFLAGS="$LDFLAGS"
9170
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9171
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172
/* end confdefs.h. */
9173
int foo (void) { return 0; }
9175
if ac_fn_c_try_link "$LINENO"; then :
9176
lt_cv_irix_exported_symbol=yes
9178
lt_cv_irix_exported_symbol=no
9180
rm -f core conftest.err conftest.$ac_objext \
9181
conftest$ac_exeext conftest.$ac_ext
9182
LDFLAGS="$save_LDFLAGS"
9184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9185
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9186
if test "$lt_cv_irix_exported_symbol" = yes; then
9187
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'
9190
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'
9191
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'
9193
archive_cmds_need_lc='no'
9194
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9195
hardcode_libdir_separator=:
9197
link_all_deplibs=yes
9200
netbsd* | netbsdelf*-gnu)
9201
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9202
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9204
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9206
hardcode_libdir_flag_spec='-R$libdir'
9208
hardcode_shlibpath_var=no
9212
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9215
hardcode_libdir_separator=:
9216
hardcode_shlibpath_var=no
9223
if test -f /usr/libexec/ld.so; then
9225
hardcode_shlibpath_var=no
9226
hardcode_direct_absolute=yes
9227
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9228
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9229
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9230
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9231
export_dynamic_flag_spec='${wl}-E'
9234
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9235
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9236
hardcode_libdir_flag_spec='-R$libdir'
9239
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9240
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9250
hardcode_libdir_flag_spec='-L$libdir'
9251
hardcode_minus_L=yes
9252
allow_undefined_flag=unsupported
9253
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'
9254
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9258
if test "$GCC" = yes; then
9259
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9260
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'
9262
allow_undefined_flag=' -expect_unresolved \*'
9263
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'
9265
archive_cmds_need_lc='no'
9266
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9267
hardcode_libdir_separator=:
9270
osf4* | osf5*) # as osf3* with the addition of -msym flag
9271
if test "$GCC" = yes; then
9272
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9273
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'
9274
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9276
allow_undefined_flag=' -expect_unresolved \*'
9277
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'
9278
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~
9279
$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'
9281
# Both c and cxx compiler support -rpath directly
9282
hardcode_libdir_flag_spec='-rpath $libdir'
9284
archive_cmds_need_lc='no'
9285
hardcode_libdir_separator=:
9289
no_undefined_flag=' -z defs'
9290
if test "$GCC" = yes; then
9292
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9293
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9294
$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'
9296
case `$CC -V 2>&1` in
9299
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9300
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9301
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9305
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9306
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9307
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9311
hardcode_libdir_flag_spec='-R$libdir'
9312
hardcode_shlibpath_var=no
9314
solaris2.[0-5] | solaris2.[0-5].*) ;;
9316
# The compiler driver will combine and reorder linker options,
9317
# but understands `-z linker_flag'. GCC discards it without `$wl',
9318
# but is careful enough not to reorder.
9319
# Supported since Solaris 2.6 (maybe 2.5.1?)
9320
if test "$GCC" = yes; then
9321
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9323
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9327
link_all_deplibs=yes
9331
if test "x$host_vendor" = xsequent; then
9332
# Use $CC to link under sequent, because it throws in some extra .o
9333
# files that make .init and .fini sections work.
9334
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9336
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9338
hardcode_libdir_flag_spec='-L$libdir'
9340
hardcode_minus_L=yes
9341
hardcode_shlibpath_var=no
9345
case $host_vendor in
9347
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348
hardcode_direct=yes # is this really true???
9351
## LD is ld it makes a PLAMLIB
9352
## CC just makes a GrossModule.
9353
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9354
reload_cmds='$CC -r -o $output$reload_objs'
9358
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9359
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9362
runpath_var='LD_RUN_PATH'
9363
hardcode_shlibpath_var=no
9367
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9368
hardcode_shlibpath_var=no
9369
export_dynamic_flag_spec='-Bexport'
9373
if test -d /usr/nec; then
9374
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9375
hardcode_shlibpath_var=no
9376
runpath_var=LD_RUN_PATH
9377
hardcode_runpath_var=yes
9382
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9383
no_undefined_flag='${wl}-z,text'
9384
archive_cmds_need_lc=no
9385
hardcode_shlibpath_var=no
9386
runpath_var='LD_RUN_PATH'
9388
if test "$GCC" = yes; then
9389
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9390
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9392
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9393
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9397
sysv5* | sco3.2v5* | sco5v6*)
9398
# Note: We can NOT use -z defs as we might desire, because we do not
9399
# link with -lc, and that would cause any symbols used from libc to
9400
# always be unresolved, which means just about no library would
9401
# ever link correctly. If we're not using GNU ld we use -z text
9402
# though, which does catch some bad symbols but isn't as heavy-handed
9404
no_undefined_flag='${wl}-z,text'
9405
allow_undefined_flag='${wl}-z,nodefs'
9406
archive_cmds_need_lc=no
9407
hardcode_shlibpath_var=no
9408
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9409
hardcode_libdir_separator=':'
9410
link_all_deplibs=yes
9411
export_dynamic_flag_spec='${wl}-Bexport'
9412
runpath_var='LD_RUN_PATH'
9414
if test "$GCC" = yes; then
9415
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9416
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9418
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9419
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9424
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9425
hardcode_libdir_flag_spec='-L$libdir'
9426
hardcode_shlibpath_var=no
9434
if test x$host_vendor = xsni; then
9436
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9437
export_dynamic_flag_spec='${wl}-Blargedynsym'
9443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9444
$as_echo "$ld_shlibs" >&6; }
9445
test "$ld_shlibs" = no && can_build_shared=no
9447
with_gnu_ld=$with_gnu_ld
9464
# Do we need to explicitly link libc?
9466
case "x$archive_cmds_need_lc" in
9468
# Assume -lc should be added
9469
archive_cmds_need_lc=yes
9471
if test "$enable_shared" = yes && test "$GCC" = yes; then
9472
case $archive_cmds in
9474
# FIXME: we may have to deal with multi-command sequences.
9477
# Test whether the compiler implicitly links with -lc since on some
9478
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9479
# to ld, don't add -lc before -lgcc.
9480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9481
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9482
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9483
$as_echo_n "(cached) " >&6
9486
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9488
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9489
(eval $ac_compile) 2>&5
9491
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9492
test $ac_status = 0; } 2>conftest.err; then
9495
libobjs=conftest.$ac_objext
9497
wl=$lt_prog_compiler_wl
9498
pic_flag=$lt_prog_compiler_pic
9504
lt_save_allow_undefined_flag=$allow_undefined_flag
9505
allow_undefined_flag=
9506
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9507
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9509
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9510
test $ac_status = 0; }
9512
lt_cv_archive_cmds_need_lc=no
9514
lt_cv_archive_cmds_need_lc=yes
9516
allow_undefined_flag=$lt_save_allow_undefined_flag
9518
cat conftest.err 1>&5
9523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9524
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9525
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9689
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9691
if test "$GCC" = yes; then
9693
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9694
*) lt_awk_arg="/^libraries:/" ;;
9697
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9698
*) lt_sed_strip_eq="s,=/,/,g" ;;
9700
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9701
case $lt_search_path_spec in
9703
# if the path contains ";" then we assume it to be the separator
9704
# otherwise default to the standard path separator (i.e. ":") - it is
9705
# assumed that no part of a normal pathname contains ";" but that should
9706
# okay in the real world where ";" in dirpaths is itself problematic.
9707
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9710
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9713
# Ok, now we have the path, separated by spaces, we can step through it
9714
# and add multilib dir if necessary.
9715
lt_tmp_lt_search_path_spec=
9716
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9717
for lt_sys_path in $lt_search_path_spec; do
9718
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9719
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9721
test -d "$lt_sys_path" && \
9722
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9725
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9726
BEGIN {RS=" "; FS="/|\n";} {
9729
for (lt_i = NF; lt_i > 0; lt_i--) {
9730
if ($lt_i != "" && $lt_i != ".") {
9731
if ($lt_i == "..") {
9734
if (lt_count == 0) {
9735
lt_foo="/" $lt_i lt_foo;
9742
if (lt_foo != "") { lt_freq[lt_foo]++; }
9743
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9745
# AWK program above erroneously prepends '/' to C:/dos/paths
9748
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9749
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
9751
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9753
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9756
libname_spec='lib$name'
9764
shlibpath_overrides_runpath=unknown
9766
dynamic_linker="$host_os ld.so"
9767
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9768
need_lib_prefix=unknown
9769
hardcode_into_libs=no
9771
# when you set need_version to no, make sure it does not cause -set_version
9772
# flags to be left without arguments
9773
need_version=unknown
9778
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9779
shlibpath_var=LIBPATH
9781
# AIX 3 has no versioning support, so we append a major version to the name.
9782
soname_spec='${libname}${release}${shared_ext}$major'
9789
hardcode_into_libs=yes
9790
if test "$host_cpu" = ia64; then
9791
# AIX 5 supports IA64
9792
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9793
shlibpath_var=LD_LIBRARY_PATH
9795
# With GCC up to 2.95.x, collect2 would create an import file
9796
# for dependence libraries. The import file would start with
9797
# the line `#! .'. This would cause the generated library to
9798
# depend on `.', always an invalid library. This was fixed in
9799
# development snapshots of GCC prior to 3.0.
9801
aix4 | aix4.[01] | aix4.[01].*)
9802
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9804
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9811
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9812
# soname into executable. Probably we can add versioning support to
9813
# collect2, so additional links can be useful in future.
9814
if test "$aix_use_runtimelinking" = yes; then
9815
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9816
# instead of lib<name>.a to let people know that these are not
9817
# typical AIX shared libraries.
9818
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820
# We preserve .a as extension for shared libraries through AIX4.2
9821
# and later when we are not doing run time linking.
9822
library_names_spec='${libname}${release}.a $libname.a'
9823
soname_spec='${libname}${release}${shared_ext}$major'
9825
shlibpath_var=LIBPATH
9832
# Since July 2007 AmigaOS4 officially supports .so libraries.
9833
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9834
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9837
library_names_spec='$libname.ixlibrary $libname.a'
9838
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9839
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'
9845
library_names_spec='${libname}${shared_ext}'
9846
dynamic_linker="$host_os ld.so"
9847
shlibpath_var=LIBRARY_PATH
9853
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9854
soname_spec='${libname}${release}${shared_ext}$major'
9855
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9856
shlibpath_var=LD_LIBRARY_PATH
9857
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9858
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9859
# the default ld.so.conf also contains /usr/contrib/lib and
9860
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9861
# libtool to hard-code these into programs
9864
cygwin* | mingw* | pw32* | cegcc*)
9865
version_type=windows
9870
case $GCC,$cc_basename in
9873
library_names_spec='$libname.dll.a'
9874
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9875
postinstall_cmds='base_file=`basename \${file}`~
9876
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9877
dldir=$destdir/`dirname \$dlpath`~
9878
test -d \$dldir || mkdir -p \$dldir~
9879
$install_prog $dir/$dlname \$dldir/$dlname~
9880
chmod a+x \$dldir/$dlname~
9881
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9882
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9884
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9885
dlpath=$dir/\$dldll~
9887
shlibpath_overrides_runpath=yes
9891
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9892
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9894
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9897
# MinGW DLLs use traditional 'lib' prefix
9898
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9901
# pw32 DLLs use 'pw' prefix rather than 'lib'
9902
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9905
dynamic_linker='Win32 ld.exe'
9910
libname_spec='$name'
9911
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9912
library_names_spec='${libname}.dll.lib'
9916
sys_lib_search_path_spec=
9922
# Let DOS variable expansion print the short 8.3 style file name.
9923
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9924
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9927
# Convert to MSYS style.
9928
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9931
# Convert to unix form, then to dos form, then back to unix form
9932
# but this time dos style (no spaces!) so that the unix form looks
9933
# like /cygdrive/c/PROGRA~1:/cygdr...
9934
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9935
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9936
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9939
sys_lib_search_path_spec="$LIB"
9940
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9941
# It is most probably a Windows format PATH.
9942
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9944
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9946
# FIXME: find the short name or the path components, as spaces are
9947
# common. (e.g. "Program Files" -> "PROGRA~1")
9951
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9952
postinstall_cmds='base_file=`basename \${file}`~
9953
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9954
dldir=$destdir/`dirname \$dlpath`~
9955
test -d \$dldir || mkdir -p \$dldir~
9956
$install_prog $dir/$dlname \$dldir/$dlname'
9957
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9958
dlpath=$dir/\$dldll~
9960
shlibpath_overrides_runpath=yes
9961
dynamic_linker='Win32 link.exe'
9965
# Assume MSVC wrapper
9966
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9967
dynamic_linker='Win32 ld.exe'
9970
# FIXME: first we should search . and the directory the executable is in
9974
darwin* | rhapsody*)
9975
dynamic_linker="$host_os dyld"
9979
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9980
soname_spec='${libname}${release}${major}$shared_ext'
9981
shlibpath_overrides_runpath=yes
9982
shlibpath_var=DYLD_LIBRARY_PATH
9983
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9985
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9986
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9993
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9994
soname_spec='${libname}${release}${shared_ext}$major'
9995
shlibpath_var=LD_LIBRARY_PATH
10002
freebsd* | dragonfly*)
10003
# DragonFly does not have aout. When/if they implement a new
10004
# versioning mechanism, adjust this.
10005
if test -x /usr/bin/objformat; then
10006
objformat=`/usr/bin/objformat`
10009
freebsd[123]*) objformat=aout ;;
10010
*) objformat=elf ;;
10013
version_type=freebsd-$objformat
10014
case $version_type in
10016
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10021
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10025
shlibpath_var=LD_LIBRARY_PATH
10028
shlibpath_overrides_runpath=yes
10030
freebsd3.[01]* | freebsdelf3.[01]*)
10031
shlibpath_overrides_runpath=yes
10032
hardcode_into_libs=yes
10034
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10035
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10036
shlibpath_overrides_runpath=no
10037
hardcode_into_libs=yes
10039
*) # from 4.6 on, and DragonFly
10040
shlibpath_overrides_runpath=yes
10041
hardcode_into_libs=yes
10050
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10051
soname_spec='${libname}${release}${shared_ext}$major'
10052
shlibpath_var=LD_LIBRARY_PATH
10053
shlibpath_overrides_runpath=no
10054
hardcode_into_libs=yes
10061
dynamic_linker="$host_os runtime_loader"
10062
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10063
soname_spec='${libname}${release}${shared_ext}$major'
10064
shlibpath_var=LIBRARY_PATH
10065
shlibpath_overrides_runpath=yes
10066
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10067
hardcode_into_libs=yes
10070
hpux9* | hpux10* | hpux11*)
10071
# Give a soname corresponding to the major version so that dld.sl refuses to
10072
# link against other versions.
10079
hardcode_into_libs=yes
10080
dynamic_linker="$host_os dld.so"
10081
shlibpath_var=LD_LIBRARY_PATH
10082
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10083
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10084
soname_spec='${libname}${release}${shared_ext}$major'
10085
if test "X$HPUX_IA64_MODE" = X32; then
10086
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10088
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10090
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10094
hardcode_into_libs=yes
10095
dynamic_linker="$host_os dld.sl"
10096
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10097
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10098
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099
soname_spec='${libname}${release}${shared_ext}$major'
10100
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10101
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10105
dynamic_linker="$host_os dld.sl"
10106
shlibpath_var=SHLIB_PATH
10107
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10108
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10109
soname_spec='${libname}${release}${shared_ext}$major'
10112
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10113
postinstall_cmds='chmod 555 $lib'
10114
# or fails outright, so override atomically:
10115
install_override_mode=555
10122
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10123
soname_spec='${libname}${release}${shared_ext}$major'
10124
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10125
shlibpath_var=LD_LIBRARY_PATH
10126
shlibpath_overrides_runpath=no
10127
hardcode_into_libs=yes
10130
irix5* | irix6* | nonstopux*)
10132
nonstopux*) version_type=nonstopux ;;
10134
if test "$lt_cv_prog_gnu_ld" = yes; then
10142
soname_spec='${libname}${release}${shared_ext}$major'
10143
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10145
irix5* | nonstopux*)
10146
libsuff= shlibsuff=
10149
case $LD in # libtool.m4 will add one of these switches to LD
10150
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10151
libsuff= shlibsuff= libmagic=32-bit;;
10152
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10153
libsuff=32 shlibsuff=N32 libmagic=N32;;
10154
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10155
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10156
*) libsuff= shlibsuff= libmagic=never-match;;
10160
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10161
shlibpath_overrides_runpath=no
10162
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10163
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10164
hardcode_into_libs=yes
10167
# No shared lib support for Linux oldld, aout, or coff.
10168
linux*oldld* | linux*aout* | linux*coff*)
10172
# This must be Linux ELF.
10173
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10177
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178
soname_spec='${libname}${release}${shared_ext}$major'
10179
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10180
shlibpath_var=LD_LIBRARY_PATH
10181
shlibpath_overrides_runpath=no
10183
# Some binutils ld are patched to set DT_RUNPATH
10184
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10185
$as_echo_n "(cached) " >&6
10187
lt_cv_shlibpath_overrides_runpath=no
10188
save_LDFLAGS=$LDFLAGS
10189
save_libdir=$libdir
10190
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10191
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10192
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193
/* end confdefs.h. */
10203
if ac_fn_c_try_link "$LINENO"; then :
10204
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10205
lt_cv_shlibpath_overrides_runpath=yes
10208
rm -f core conftest.err conftest.$ac_objext \
10209
conftest$ac_exeext conftest.$ac_ext
10210
LDFLAGS=$save_LDFLAGS
10211
libdir=$save_libdir
10215
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10217
# This implies no fast_install, which is unacceptable.
10218
# Some rework will be needed to allow for fast_install
10219
# before this can be enabled.
10220
hardcode_into_libs=yes
10222
# Append ld.so.conf contents to the search path
10223
if test -f /etc/ld.so.conf; then
10224
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' ' '`
10225
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10228
# We used to test for /lib/ld.so.1 and disable shared libraries on
10229
# powerpc, because MkLinux only supported shared libraries with the
10230
# GNU dynamic linker. Since this was broken with cross compilers,
10231
# most powerpc-linux boxes support dynamic linking these days and
10232
# people can always --disable-shared, the test was removed, and we
10233
# assume the GNU/Linux dynamic linker is in use.
10234
dynamic_linker='GNU/Linux ld.so'
10241
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10242
soname_spec='${libname}${release}${shared_ext}$major'
10243
shlibpath_var=LD_LIBRARY_PATH
10244
shlibpath_overrides_runpath=no
10245
hardcode_into_libs=yes
10246
dynamic_linker='NetBSD ld.elf_so'
10253
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10254
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10255
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10256
dynamic_linker='NetBSD (a.out) ld.so'
10258
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10259
soname_spec='${libname}${release}${shared_ext}$major'
10260
dynamic_linker='NetBSD ld.elf_so'
10262
shlibpath_var=LD_LIBRARY_PATH
10263
shlibpath_overrides_runpath=yes
10264
hardcode_into_libs=yes
10269
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10270
shlibpath_var=LD_LIBRARY_PATH
10271
shlibpath_overrides_runpath=yes
10278
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279
soname_spec='${libname}${release}${shared_ext}$major'
10280
shlibpath_var=LD_LIBRARY_PATH
10281
shlibpath_overrides_runpath=no
10282
hardcode_into_libs=yes
10283
dynamic_linker='ldqnx.so'
10288
sys_lib_dlsearch_path_spec="/usr/lib"
10290
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10292
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10293
*) need_version=no ;;
10295
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10296
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10297
shlibpath_var=LD_LIBRARY_PATH
10298
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10300
openbsd2.[89] | openbsd2.[89].*)
10301
shlibpath_overrides_runpath=no
10304
shlibpath_overrides_runpath=yes
10308
shlibpath_overrides_runpath=yes
10313
libname_spec='$name'
10316
library_names_spec='$libname${shared_ext} $libname.a'
10317
dynamic_linker='OS/2 ld.exe'
10318
shlibpath_var=LIBPATH
10321
osf3* | osf4* | osf5*)
10325
soname_spec='${libname}${release}${shared_ext}$major'
10326
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327
shlibpath_var=LD_LIBRARY_PATH
10328
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10329
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10340
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10341
soname_spec='${libname}${release}${shared_ext}$major'
10342
shlibpath_var=LD_LIBRARY_PATH
10343
shlibpath_overrides_runpath=yes
10344
hardcode_into_libs=yes
10345
# ldd complains unless libraries are executable
10346
postinstall_cmds='chmod +x $lib'
10351
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10352
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10353
shlibpath_var=LD_LIBRARY_PATH
10354
shlibpath_overrides_runpath=yes
10355
if test "$with_gnu_ld" = yes; then
10363
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364
soname_spec='${libname}${release}${shared_ext}$major'
10365
shlibpath_var=LD_LIBRARY_PATH
10366
case $host_vendor in
10368
shlibpath_overrides_runpath=no
10370
runpath_var=LD_RUN_PATH
10378
shlibpath_overrides_runpath=no
10379
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10385
if test -d /usr/nec ;then
10387
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10388
soname_spec='$libname${shared_ext}.$major'
10389
shlibpath_var=LD_LIBRARY_PATH
10393
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10394
version_type=freebsd-elf
10397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10398
soname_spec='${libname}${release}${shared_ext}$major'
10399
shlibpath_var=LD_LIBRARY_PATH
10400
shlibpath_overrides_runpath=yes
10401
hardcode_into_libs=yes
10402
if test "$with_gnu_ld" = yes; then
10403
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10405
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10408
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10412
sys_lib_dlsearch_path_spec='/usr/lib'
10416
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10420
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421
shlibpath_var=LD_LIBRARY_PATH
10422
shlibpath_overrides_runpath=no
10423
hardcode_into_libs=yes
10428
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10429
soname_spec='${libname}${release}${shared_ext}$major'
10430
shlibpath_var=LD_LIBRARY_PATH
10437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10438
$as_echo "$dynamic_linker" >&6; }
10439
test "$dynamic_linker" = no && can_build_shared=no
10441
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10442
if test "$GCC" = yes; then
10443
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10446
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10447
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10449
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10450
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10545
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10547
if test -n "$hardcode_libdir_flag_spec" ||
10548
test -n "$runpath_var" ||
10549
test "X$hardcode_automatic" = "Xyes" ; then
10551
# We can hardcode non-existent directories.
10552
if test "$hardcode_direct" != no &&
10553
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10554
# have to relink, otherwise we might link with an installed library
10555
# when we should be linking with a yet-to-be-installed one
10556
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10557
test "$hardcode_minus_L" != no; then
10558
# Linking always hardcodes the temporary library directory.
10559
hardcode_action=relink
10561
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10562
hardcode_action=immediate
10565
# We cannot hardcode anything, or else we can only hardcode existing
10567
hardcode_action=unsupported
10569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10570
$as_echo "$hardcode_action" >&6; }
10572
if test "$hardcode_action" = relink ||
10573
test "$inherit_rpath" = yes; then
10574
# Fast installation is not supported
10575
enable_fast_install=no
10576
elif test "$shlibpath_overrides_runpath" = yes ||
10577
test "$enable_shared" = no; then
10578
# Fast installation is not necessary
10579
enable_fast_install=needless
10587
if test "x$enable_dlopen" != xyes; then
10588
enable_dlopen=unknown
10589
enable_dlopen_self=unknown
10590
enable_dlopen_self_static=unknown
10597
lt_cv_dlopen="load_add_on"
10599
lt_cv_dlopen_self=yes
10602
mingw* | pw32* | cegcc*)
10603
lt_cv_dlopen="LoadLibrary"
10608
lt_cv_dlopen="dlopen"
10613
# if libdl is installed we need to link against it
10614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10615
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10616
if ${ac_cv_lib_dl_dlopen+:} false; then :
10617
$as_echo_n "(cached) " >&6
10619
ac_check_lib_save_LIBS=$LIBS
10621
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10622
/* end confdefs.h. */
10624
/* Override any GCC internal prototype to avoid an error.
10625
Use char because int might match the return type of a GCC
10626
builtin and then its argument prototype would still apply. */
10639
if ac_fn_c_try_link "$LINENO"; then :
10640
ac_cv_lib_dl_dlopen=yes
10642
ac_cv_lib_dl_dlopen=no
10644
rm -f core conftest.err conftest.$ac_objext \
10645
conftest$ac_exeext conftest.$ac_ext
10646
LIBS=$ac_check_lib_save_LIBS
10648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10649
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10650
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10651
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10654
lt_cv_dlopen="dyld"
10656
lt_cv_dlopen_self=yes
10663
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10664
if test "x$ac_cv_func_shl_load" = xyes; then :
10665
lt_cv_dlopen="shl_load"
10667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10668
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10669
if ${ac_cv_lib_dld_shl_load+:} false; then :
10670
$as_echo_n "(cached) " >&6
10672
ac_check_lib_save_LIBS=$LIBS
10674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675
/* end confdefs.h. */
10677
/* Override any GCC internal prototype to avoid an error.
10678
Use char because int might match the return type of a GCC
10679
builtin and then its argument prototype would still apply. */
10687
return shl_load ();
10692
if ac_fn_c_try_link "$LINENO"; then :
10693
ac_cv_lib_dld_shl_load=yes
10695
ac_cv_lib_dld_shl_load=no
10697
rm -f core conftest.err conftest.$ac_objext \
10698
conftest$ac_exeext conftest.$ac_ext
10699
LIBS=$ac_check_lib_save_LIBS
10701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10702
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10703
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10704
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10706
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10707
if test "x$ac_cv_func_dlopen" = xyes; then :
10708
lt_cv_dlopen="dlopen"
10710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10711
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10712
if ${ac_cv_lib_dl_dlopen+:} false; then :
10713
$as_echo_n "(cached) " >&6
10715
ac_check_lib_save_LIBS=$LIBS
10717
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718
/* end confdefs.h. */
10720
/* Override any GCC internal prototype to avoid an error.
10721
Use char because int might match the return type of a GCC
10722
builtin and then its argument prototype would still apply. */
10735
if ac_fn_c_try_link "$LINENO"; then :
10736
ac_cv_lib_dl_dlopen=yes
10738
ac_cv_lib_dl_dlopen=no
10740
rm -f core conftest.err conftest.$ac_objext \
10741
conftest$ac_exeext conftest.$ac_ext
10742
LIBS=$ac_check_lib_save_LIBS
10744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10745
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10746
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10747
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10750
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10751
if ${ac_cv_lib_svld_dlopen+:} false; then :
10752
$as_echo_n "(cached) " >&6
10754
ac_check_lib_save_LIBS=$LIBS
10755
LIBS="-lsvld $LIBS"
10756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757
/* end confdefs.h. */
10759
/* Override any GCC internal prototype to avoid an error.
10760
Use char because int might match the return type of a GCC
10761
builtin and then its argument prototype would still apply. */
10774
if ac_fn_c_try_link "$LINENO"; then :
10775
ac_cv_lib_svld_dlopen=yes
10777
ac_cv_lib_svld_dlopen=no
10779
rm -f core conftest.err conftest.$ac_objext \
10780
conftest$ac_exeext conftest.$ac_ext
10781
LIBS=$ac_check_lib_save_LIBS
10783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10784
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10785
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10786
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10789
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10790
if ${ac_cv_lib_dld_dld_link+:} false; then :
10791
$as_echo_n "(cached) " >&6
10793
ac_check_lib_save_LIBS=$LIBS
10795
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796
/* end confdefs.h. */
10798
/* Override any GCC internal prototype to avoid an error.
10799
Use char because int might match the return type of a GCC
10800
builtin and then its argument prototype would still apply. */
10808
return dld_link ();
10813
if ac_fn_c_try_link "$LINENO"; then :
10814
ac_cv_lib_dld_dld_link=yes
10816
ac_cv_lib_dld_dld_link=no
10818
rm -f core conftest.err conftest.$ac_objext \
10819
conftest$ac_exeext conftest.$ac_ext
10820
LIBS=$ac_check_lib_save_LIBS
10822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10823
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10824
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10825
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10846
if test "x$lt_cv_dlopen" != xno; then
10852
case $lt_cv_dlopen in
10854
save_CPPFLAGS="$CPPFLAGS"
10855
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10857
save_LDFLAGS="$LDFLAGS"
10858
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10861
LIBS="$lt_cv_dlopen_libs $LIBS"
10863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10864
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10865
if ${lt_cv_dlopen_self+:} false; then :
10866
$as_echo_n "(cached) " >&6
10868
if test "$cross_compiling" = yes; then :
10869
lt_cv_dlopen_self=cross
10871
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10872
lt_status=$lt_dlunknown
10873
cat > conftest.$ac_ext <<_LT_EOF
10874
#line $LINENO "configure"
10875
#include "confdefs.h"
10884
# define LT_DLGLOBAL RTLD_GLOBAL
10887
# define LT_DLGLOBAL DL_GLOBAL
10889
# define LT_DLGLOBAL 0
10893
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10894
find out it does not work in some platform. */
10895
#ifndef LT_DLLAZY_OR_NOW
10897
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10900
# define LT_DLLAZY_OR_NOW DL_LAZY
10903
# define LT_DLLAZY_OR_NOW RTLD_NOW
10906
# define LT_DLLAZY_OR_NOW DL_NOW
10908
# define LT_DLLAZY_OR_NOW 0
10915
/* When -fvisbility=hidden is used, assume the code has been annotated
10916
correspondingly for the symbols needed. */
10917
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10918
int fnord () __attribute__((visibility("default")));
10921
int fnord () { return 42; }
10924
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10925
int status = $lt_dlunknown;
10929
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10932
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10933
else puts (dlerror ());
10935
/* dlclose (self); */
10943
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10944
(eval $ac_link) 2>&5
10946
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10947
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10948
(./conftest; exit; ) >&5 2>/dev/null
10950
case x$lt_status in
10951
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10952
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10953
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10956
# compilation failed
10957
lt_cv_dlopen_self=no
10964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10965
$as_echo "$lt_cv_dlopen_self" >&6; }
10967
if test "x$lt_cv_dlopen_self" = xyes; then
10968
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10970
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10971
if ${lt_cv_dlopen_self_static+:} false; then :
10972
$as_echo_n "(cached) " >&6
10974
if test "$cross_compiling" = yes; then :
10975
lt_cv_dlopen_self_static=cross
10977
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10978
lt_status=$lt_dlunknown
10979
cat > conftest.$ac_ext <<_LT_EOF
10980
#line $LINENO "configure"
10981
#include "confdefs.h"
10990
# define LT_DLGLOBAL RTLD_GLOBAL
10993
# define LT_DLGLOBAL DL_GLOBAL
10995
# define LT_DLGLOBAL 0
10999
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11000
find out it does not work in some platform. */
11001
#ifndef LT_DLLAZY_OR_NOW
11003
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11006
# define LT_DLLAZY_OR_NOW DL_LAZY
11009
# define LT_DLLAZY_OR_NOW RTLD_NOW
11012
# define LT_DLLAZY_OR_NOW DL_NOW
11014
# define LT_DLLAZY_OR_NOW 0
11021
/* When -fvisbility=hidden is used, assume the code has been annotated
11022
correspondingly for the symbols needed. */
11023
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11024
int fnord () __attribute__((visibility("default")));
11027
int fnord () { return 42; }
11030
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11031
int status = $lt_dlunknown;
11035
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11038
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11039
else puts (dlerror ());
11041
/* dlclose (self); */
11049
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11050
(eval $ac_link) 2>&5
11052
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11053
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11054
(./conftest; exit; ) >&5 2>/dev/null
11056
case x$lt_status in
11057
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11058
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11059
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11062
# compilation failed
11063
lt_cv_dlopen_self_static=no
11070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11071
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11074
CPPFLAGS="$save_CPPFLAGS"
11075
LDFLAGS="$save_LDFLAGS"
11080
case $lt_cv_dlopen_self in
11081
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11082
*) enable_dlopen_self=unknown ;;
11085
case $lt_cv_dlopen_self_static in
11086
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11087
*) enable_dlopen_self_static=unknown ;;
11109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11110
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11111
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11112
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11113
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11115
$as_echo "yes" >&6; }
11117
# FIXME - insert some real tests, host_os isn't really good enough
11120
if test -n "$STRIP" ; then
11121
striplib="$STRIP -x"
11122
old_striplib="$STRIP -S"
11123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11124
$as_echo "yes" >&6; }
11126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11127
$as_echo "no" >&6; }
11131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11132
$as_echo "no" >&6; }
11148
# Report which library types will actually be built
11149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11150
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11152
$as_echo "$can_build_shared" >&6; }
11154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11155
$as_echo_n "checking whether to build shared libraries... " >&6; }
11156
test "$can_build_shared" = "no" && enable_shared=no
11158
# On AIX, shared libraries and static libraries use the same namespace, and
11159
# are all built from PIC.
11162
test "$enable_shared" = yes && enable_static=no
11163
if test -n "$RANLIB"; then
11164
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11165
postinstall_cmds='$RANLIB $lib'
11170
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11171
test "$enable_shared" = yes && enable_static=no
11175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11176
$as_echo "$enable_shared" >&6; }
11178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11179
$as_echo_n "checking whether to build static libraries... " >&6; }
11180
# Make sure either enable_shared or enable_static is yes.
11181
test "$enable_shared" = yes || enable_static=yes
11182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11183
$as_echo "$enable_static" >&6; }
11190
ac_cpp='$CPP $CPPFLAGS'
11191
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11192
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11193
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11209
ac_config_commands="$ac_config_commands libtool"
11214
# Only expand once:
11220
ac_cpp='$CPP $CPPFLAGS'
11221
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11222
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11223
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11225
if test "x$CC" != xcc; then
11226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11227
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11230
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11232
set dummy $CC; ac_cc=`$as_echo "$2" |
11233
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11234
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
11235
$as_echo_n "(cached) " >&6
11237
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238
/* end confdefs.h. */
11248
# Make sure it works both with $CC and with simple cc.
11249
# We do the test twice because some compilers refuse to overwrite an
11250
# existing .o file with -o, though they will create one.
11251
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11253
if { { case "(($ac_try" in
11254
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11255
*) ac_try_echo=$ac_try;;
11257
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11258
$as_echo "$ac_try_echo"; } >&5
11259
(eval "$ac_try") 2>&5
11261
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11262
test $ac_status = 0; } &&
11263
test -f conftest2.$ac_objext && { { case "(($ac_try" in
11264
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11265
*) ac_try_echo=$ac_try;;
11267
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11268
$as_echo "$ac_try_echo"; } >&5
11269
(eval "$ac_try") 2>&5
11271
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11272
test $ac_status = 0; };
11274
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11275
if test "x$CC" != xcc; then
11276
# Test first that cc exists at all.
11277
if { ac_try='cc -c conftest.$ac_ext >&5'
11278
{ { case "(($ac_try" in
11279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11280
*) ac_try_echo=$ac_try;;
11282
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11283
$as_echo "$ac_try_echo"; } >&5
11284
(eval "$ac_try") 2>&5
11286
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11287
test $ac_status = 0; }; }; then
11288
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11290
if { { case "(($ac_try" in
11291
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11292
*) ac_try_echo=$ac_try;;
11294
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11295
$as_echo "$ac_try_echo"; } >&5
11296
(eval "$ac_try") 2>&5
11298
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11299
test $ac_status = 0; } &&
11300
test -f conftest2.$ac_objext && { { case "(($ac_try" in
11301
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11302
*) ac_try_echo=$ac_try;;
11304
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11305
$as_echo "$ac_try_echo"; } >&5
11306
(eval "$ac_try") 2>&5
11308
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11309
test $ac_status = 0; };
11314
# cc exists but doesn't like -o.
11315
eval ac_cv_prog_cc_${ac_cc}_c_o=no
11320
eval ac_cv_prog_cc_${ac_cc}_c_o=no
11322
rm -f core conftest*
11325
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11327
$as_echo "yes" >&6; }
11329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330
$as_echo "no" >&6; }
11332
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11336
# FIXME: we rely on the cache variable name because
11337
# there is no other way.
11339
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11340
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11341
if test "$am_t" != yes; then
11342
# Losing compiler, so override with the script.
11343
# FIXME: It is wrong to rewrite CC.
11344
# But if we don't then we get into trouble of one sort or another.
11345
# A longer-term fix would be to have automake use am__CC in this case,
11346
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11347
CC="$am_aux_dir/compile $CC"
11351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11352
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11354
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11355
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
11356
$as_echo_n "(cached) " >&6
11358
cat >conftest.make <<\_ACEOF
11361
@echo '@@@%%%=$(MAKE)=@@@%%%'
11363
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11364
case `${MAKE-make} -f conftest.make 2>/dev/null` in
11365
*@@@%%%=?*=@@@%%%*)
11366
eval ac_cv_prog_make_${ac_make}_set=yes;;
11368
eval ac_cv_prog_make_${ac_make}_set=no;;
11370
rm -f conftest.make
11372
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11374
$as_echo "yes" >&6; }
11377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11378
$as_echo "no" >&6; }
11379
SET_MAKE="MAKE=${MAKE-make}"
11383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11384
$as_echo_n "checking for ANSI C header files... " >&6; }
11385
if ${ac_cv_header_stdc+:} false; then :
11386
$as_echo_n "(cached) " >&6
11388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389
/* end confdefs.h. */
11390
#include <stdlib.h>
11391
#include <stdarg.h>
11392
#include <string.h>
11403
if ac_fn_c_try_compile "$LINENO"; then :
11404
ac_cv_header_stdc=yes
11406
ac_cv_header_stdc=no
11408
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11410
if test $ac_cv_header_stdc = yes; then
11411
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11412
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413
/* end confdefs.h. */
11414
#include <string.h>
11417
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11418
$EGREP "memchr" >/dev/null 2>&1; then :
11421
ac_cv_header_stdc=no
11427
if test $ac_cv_header_stdc = yes; then
11428
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430
/* end confdefs.h. */
11431
#include <stdlib.h>
11434
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11435
$EGREP "free" >/dev/null 2>&1; then :
11438
ac_cv_header_stdc=no
11444
if test $ac_cv_header_stdc = yes; then
11445
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11446
if test "$cross_compiling" = yes; then :
11449
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450
/* end confdefs.h. */
11452
#include <stdlib.h>
11453
#if ((' ' & 0x0FF) == 0x020)
11454
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11455
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11457
# define ISLOWER(c) \
11458
(('a' <= (c) && (c) <= 'i') \
11459
|| ('j' <= (c) && (c) <= 'r') \
11460
|| ('s' <= (c) && (c) <= 'z'))
11461
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11464
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11469
for (i = 0; i < 256; i++)
11470
if (XOR (islower (i), ISLOWER (i))
11471
|| toupper (i) != TOUPPER (i))
11476
if ac_fn_c_try_run "$LINENO"; then :
11479
ac_cv_header_stdc=no
11481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11482
conftest.$ac_objext conftest.beam conftest.$ac_ext
11487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11488
$as_echo "$ac_cv_header_stdc" >&6; }
11489
if test $ac_cv_header_stdc = yes; then
11491
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
11498
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11499
if test -n "$ac_tool_prefix"; then
11500
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11501
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11503
$as_echo_n "checking for $ac_word... " >&6; }
11504
if ${ac_cv_path_PKG_CONFIG+:} false; then :
11505
$as_echo_n "(cached) " >&6
11507
case $PKG_CONFIG in
11509
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11512
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11513
for as_dir in $PATH
11516
test -z "$as_dir" && as_dir=.
11517
for ac_exec_ext in '' $ac_executable_extensions; do
11518
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11519
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11520
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11530
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11531
if test -n "$PKG_CONFIG"; then
11532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11533
$as_echo "$PKG_CONFIG" >&6; }
11535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536
$as_echo "no" >&6; }
11541
if test -z "$ac_cv_path_PKG_CONFIG"; then
11542
ac_pt_PKG_CONFIG=$PKG_CONFIG
11543
# Extract the first word of "pkg-config", so it can be a program name with args.
11544
set dummy pkg-config; ac_word=$2
11545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11546
$as_echo_n "checking for $ac_word... " >&6; }
11547
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11548
$as_echo_n "(cached) " >&6
11550
case $ac_pt_PKG_CONFIG in
11552
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11555
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11556
for as_dir in $PATH
11559
test -z "$as_dir" && as_dir=.
11560
for ac_exec_ext in '' $ac_executable_extensions; do
11561
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11562
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11563
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11573
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11574
if test -n "$ac_pt_PKG_CONFIG"; then
11575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11576
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11579
$as_echo "no" >&6; }
11582
if test "x$ac_pt_PKG_CONFIG" = x; then
11585
case $cross_compiling:$ac_tool_warned in
11587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11588
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11589
ac_tool_warned=yes ;;
11591
PKG_CONFIG=$ac_pt_PKG_CONFIG
11594
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11598
if test -n "$PKG_CONFIG"; then
11599
_pkg_min_version=0.20
11600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11601
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11602
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11604
$as_echo "yes" >&6; }
11606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11607
$as_echo "no" >&6; }
11615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNEURCONF" >&5
11616
$as_echo_n "checking for XNEURCONF... " >&6; }
11618
if test -n "$PKG_CONFIG"; then
11619
if test -n "$XNEURCONF_CFLAGS"; then
11620
pkg_cv_XNEURCONF_CFLAGS="$XNEURCONF_CFLAGS"
11622
if test -n "$PKG_CONFIG" && \
11623
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xnconfig = 0.15.0\""; } >&5
11624
($PKG_CONFIG --exists --print-errors "xnconfig = 0.15.0") 2>&5
11626
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11627
test $ac_status = 0; }; then
11628
pkg_cv_XNEURCONF_CFLAGS=`$PKG_CONFIG --cflags "xnconfig = 0.15.0" 2>/dev/null`
11636
if test -n "$PKG_CONFIG"; then
11637
if test -n "$XNEURCONF_LIBS"; then
11638
pkg_cv_XNEURCONF_LIBS="$XNEURCONF_LIBS"
11640
if test -n "$PKG_CONFIG" && \
11641
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xnconfig = 0.15.0\""; } >&5
11642
($PKG_CONFIG --exists --print-errors "xnconfig = 0.15.0") 2>&5
11644
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11645
test $ac_status = 0; }; then
11646
pkg_cv_XNEURCONF_LIBS=`$PKG_CONFIG --libs "xnconfig = 0.15.0" 2>/dev/null`
11657
if test $pkg_failed = yes; then
11659
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11660
_pkg_short_errors_supported=yes
11662
_pkg_short_errors_supported=no
11664
if test $_pkg_short_errors_supported = yes; then
11665
XNEURCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xnconfig = 0.15.0"`
11667
XNEURCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xnconfig = 0.15.0"`
11669
# Put the nasty error message in config.log where it belongs
11670
echo "$XNEURCONF_PKG_ERRORS" >&5
11672
as_fn_error $? "Package requirements (xnconfig = 0.15.0) were not met:
11674
$XNEURCONF_PKG_ERRORS
11676
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11677
installed software in a non-standard prefix.
11679
Alternatively, you may set the environment variables XNEURCONF_CFLAGS
11680
and XNEURCONF_LIBS to avoid the need to call pkg-config.
11681
See the pkg-config man page for more details.
11683
elif test $pkg_failed = untried; then
11684
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11685
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11686
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11687
is in your PATH or set the PKG_CONFIG environment variable to the full
11688
path to pkg-config.
11690
Alternatively, you may set the environment variables XNEURCONF_CFLAGS
11691
and XNEURCONF_LIBS to avoid the need to call pkg-config.
11692
See the pkg-config man page for more details.
11694
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
11695
See \`config.log' for more details" "$LINENO" 5; }
11697
XNEURCONF_CFLAGS=$pkg_cv_XNEURCONF_CFLAGS
11698
XNEURCONF_LIBS=$pkg_cv_XNEURCONF_LIBS
11699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11700
$as_echo "yes" >&6; }
11705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNEURLIB" >&5
11706
$as_echo_n "checking for XNEURLIB... " >&6; }
11708
if test -n "$PKG_CONFIG"; then
11709
if test -n "$XNEURLIB_CFLAGS"; then
11710
pkg_cv_XNEURLIB_CFLAGS="$XNEURLIB_CFLAGS"
11712
if test -n "$PKG_CONFIG" && \
11713
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xneur = 0.15.0\""; } >&5
11714
($PKG_CONFIG --exists --print-errors "xneur = 0.15.0") 2>&5
11716
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11717
test $ac_status = 0; }; then
11718
pkg_cv_XNEURLIB_CFLAGS=`$PKG_CONFIG --cflags "xneur = 0.15.0" 2>/dev/null`
11726
if test -n "$PKG_CONFIG"; then
11727
if test -n "$XNEURLIB_LIBS"; then
11728
pkg_cv_XNEURLIB_LIBS="$XNEURLIB_LIBS"
11730
if test -n "$PKG_CONFIG" && \
11731
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xneur = 0.15.0\""; } >&5
11732
($PKG_CONFIG --exists --print-errors "xneur = 0.15.0") 2>&5
11734
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11735
test $ac_status = 0; }; then
11736
pkg_cv_XNEURLIB_LIBS=`$PKG_CONFIG --libs "xneur = 0.15.0" 2>/dev/null`
11747
if test $pkg_failed = yes; then
11749
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11750
_pkg_short_errors_supported=yes
11752
_pkg_short_errors_supported=no
11754
if test $_pkg_short_errors_supported = yes; then
11755
XNEURLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xneur = 0.15.0"`
11757
XNEURLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xneur = 0.15.0"`
11759
# Put the nasty error message in config.log where it belongs
11760
echo "$XNEURLIB_PKG_ERRORS" >&5
11762
as_fn_error $? "Package requirements (xneur = 0.15.0) were not met:
11764
$XNEURLIB_PKG_ERRORS
11766
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11767
installed software in a non-standard prefix.
11769
Alternatively, you may set the environment variables XNEURLIB_CFLAGS
11770
and XNEURLIB_LIBS to avoid the need to call pkg-config.
11771
See the pkg-config man page for more details.
11773
elif test $pkg_failed = untried; then
11774
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11775
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11776
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11777
is in your PATH or set the PKG_CONFIG environment variable to the full
11778
path to pkg-config.
11780
Alternatively, you may set the environment variables XNEURLIB_CFLAGS
11781
and XNEURLIB_LIBS to avoid the need to call pkg-config.
11782
See the pkg-config man page for more details.
11784
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
11785
See \`config.log' for more details" "$LINENO" 5; }
11787
XNEURLIB_CFLAGS=$pkg_cv_XNEURLIB_CFLAGS
11788
XNEURLIB_LIBS=$pkg_cv_XNEURLIB_LIBS
11789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11790
$as_echo "yes" >&6; }
11796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
11797
$as_echo_n "checking for X11... " >&6; }
11799
if test -n "$PKG_CONFIG"; then
11800
if test -n "$X11_CFLAGS"; then
11801
pkg_cv_X11_CFLAGS="$X11_CFLAGS"
11803
if test -n "$PKG_CONFIG" && \
11804
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.1\""; } >&5
11805
($PKG_CONFIG --exists --print-errors "x11 >= 1.1") 2>&5
11807
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11808
test $ac_status = 0; }; then
11809
pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.1" 2>/dev/null`
11817
if test -n "$PKG_CONFIG"; then
11818
if test -n "$X11_LIBS"; then
11819
pkg_cv_X11_LIBS="$X11_LIBS"
11821
if test -n "$PKG_CONFIG" && \
11822
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.1\""; } >&5
11823
($PKG_CONFIG --exists --print-errors "x11 >= 1.1") 2>&5
11825
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11826
test $ac_status = 0; }; then
11827
pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 >= 1.1" 2>/dev/null`
11838
if test $pkg_failed = yes; then
11840
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11841
_pkg_short_errors_supported=yes
11843
_pkg_short_errors_supported=no
11845
if test $_pkg_short_errors_supported = yes; then
11846
X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 >= 1.1"`
11848
X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 >= 1.1"`
11850
# Put the nasty error message in config.log where it belongs
11851
echo "$X11_PKG_ERRORS" >&5
11853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854
$as_echo "no" >&6; }
11856
elif test $pkg_failed = untried; then
11859
X11_CFLAGS=$pkg_cv_X11_CFLAGS
11860
X11_LIBS=$pkg_cv_X11_LIBS
11861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11862
$as_echo "yes" >&6; }
11865
if test "x$found_x11" = "xno"; then
11866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11867
$as_echo_n "checking for X... " >&6; }
11870
# Check whether --with-x was given.
11871
if test "${with_x+set}" = set; then :
11875
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11876
if test "x$with_x" = xno; then
11877
# The user explicitly disabled X.
11880
case $x_includes,$x_libraries in #(
11881
*\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
11882
*,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
11883
$as_echo_n "(cached) " >&6
11885
# One or both of the vars are not set, and there is no cached value.
11886
ac_x_includes=no ac_x_libraries=no
11887
rm -f -r conftest.dir
11888
if mkdir conftest.dir; then
11890
cat >Imakefile <<'_ACEOF'
11892
@echo incroot='${INCROOT}'
11894
@echo usrlibdir='${USRLIBDIR}'
11896
@echo libdir='${LIBDIR}'
11898
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11899
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11900
for ac_var in incroot usrlibdir libdir; do
11901
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11903
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11904
for ac_extension in a so sl dylib la dll; do
11905
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11906
test -f "$ac_im_libdir/libX11.$ac_extension"; then
11907
ac_im_usrlibdir=$ac_im_libdir; break
11910
# Screen out bogus values from the imake configuration. They are
11911
# bogus both because they are the default anyway, and because
11912
# using them would break gcc on systems where it needs fixed includes.
11913
case $ac_im_incroot in
11914
/usr/include) ac_x_includes= ;;
11915
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11917
case $ac_im_usrlibdir in
11918
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
11919
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11923
rm -f -r conftest.dir
11926
# Standard set of common directories for X headers.
11927
# Check X11 before X11Rn because it is often a symlink to the current release.
11941
/usr/local/X11/include
11942
/usr/local/X11R7/include
11943
/usr/local/X11R6/include
11944
/usr/local/X11R5/include
11945
/usr/local/X11R4/include
11947
/usr/local/include/X11
11948
/usr/local/include/X11R7
11949
/usr/local/include/X11R6
11950
/usr/local/include/X11R5
11951
/usr/local/include/X11R4
11955
/usr/XFree86/include/X11
11959
/usr/unsupported/include
11960
/usr/athena/include
11961
/usr/local/x11r5/include
11962
/usr/lpp/Xamples/include
11964
/usr/openwin/include
11965
/usr/openwin/share/include'
11967
if test "$ac_x_includes" = no; then
11968
# Guess where to find include files, by looking for Xlib.h.
11969
# First, try using that file with no special directory specified.
11970
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971
/* end confdefs.h. */
11972
#include <X11/Xlib.h>
11974
if ac_fn_c_try_cpp "$LINENO"; then :
11975
# We can compile using X headers with no special include directory.
11978
for ac_dir in $ac_x_header_dirs; do
11979
if test -r "$ac_dir/X11/Xlib.h"; then
11980
ac_x_includes=$ac_dir
11985
rm -f conftest.err conftest.i conftest.$ac_ext
11986
fi # $ac_x_includes = no
11988
if test "$ac_x_libraries" = no; then
11989
# Check for the libraries.
11990
# See if we find them without any special options.
11991
# Don't add to $LIBS permanently.
11994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995
/* end confdefs.h. */
11996
#include <X11/Xlib.h>
12005
if ac_fn_c_try_link "$LINENO"; then :
12007
# We can link X programs with no special library path.
12011
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12013
# Don't even attempt the hair of trying to link an X program!
12014
for ac_extension in a so sl dylib la dll; do
12015
if test -r "$ac_dir/libX11.$ac_extension"; then
12016
ac_x_libraries=$ac_dir
12022
rm -f core conftest.err conftest.$ac_objext \
12023
conftest$ac_exeext conftest.$ac_ext
12024
fi # $ac_x_libraries = no
12026
case $ac_x_includes,$ac_x_libraries in #(
12027
no,* | *,no | *\'*)
12028
# Didn't find X, or a directory has "'" in its name.
12029
ac_cv_have_x="have_x=no";; #(
12031
# Record where we found X for the cache.
12032
ac_cv_have_x="have_x=yes\
12033
ac_x_includes='$ac_x_includes'\
12034
ac_x_libraries='$ac_x_libraries'"
12040
eval "$ac_cv_have_x"
12043
if test "$have_x" != yes; then
12044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12045
$as_echo "$have_x" >&6; }
12048
# If each of the values was on the command line, it overrides each guess.
12049
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12050
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12051
# Update the cache value to reflect the command line values.
12052
ac_cv_have_x="have_x=yes\
12053
ac_x_includes='$x_includes'\
12054
ac_x_libraries='$x_libraries'"
12055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12056
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12059
if test "$no_x" = yes; then
12060
# Not all programs may use this symbol, but it does not hurt to define it.
12062
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
12064
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12066
if test -n "$x_includes"; then
12067
X_CFLAGS="$X_CFLAGS -I$x_includes"
12070
# It would also be nice to do this for all -L options, not just this one.
12071
if test -n "$x_libraries"; then
12072
X_LIBS="$X_LIBS -L$x_libraries"
12073
# For Solaris; some versions of Sun CC require a space after -R and
12074
# others require no space. Words are not sufficient . . . .
12075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12076
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
12077
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12078
ac_xsave_c_werror_flag=$ac_c_werror_flag
12079
ac_c_werror_flag=yes
12080
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081
/* end confdefs.h. */
12091
if ac_fn_c_try_link "$LINENO"; then :
12092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12093
$as_echo "no" >&6; }
12094
X_LIBS="$X_LIBS -R$x_libraries"
12096
LIBS="$ac_xsave_LIBS -R $x_libraries"
12097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098
/* end confdefs.h. */
12108
if ac_fn_c_try_link "$LINENO"; then :
12109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12110
$as_echo "yes" >&6; }
12111
X_LIBS="$X_LIBS -R $x_libraries"
12113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
12114
$as_echo "neither works" >&6; }
12116
rm -f core conftest.err conftest.$ac_objext \
12117
conftest$ac_exeext conftest.$ac_ext
12119
rm -f core conftest.err conftest.$ac_objext \
12120
conftest$ac_exeext conftest.$ac_ext
12121
ac_c_werror_flag=$ac_xsave_c_werror_flag
12122
LIBS=$ac_xsave_LIBS
12125
# Check for system-dependent libraries X programs must link with.
12126
# Do this before checking for the system-independent R6 libraries
12127
# (-lICE), since we may need -lsocket or whatever for X linking.
12129
if test "$ISC" = yes; then
12130
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12132
# Martyn Johnson says this is needed for Ultrix, if the X
12133
# libraries were built with DECnet support. And Karl Berry says
12134
# the Alpha needs dnet_stub (dnet does not exist).
12135
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12136
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137
/* end confdefs.h. */
12139
/* Override any GCC internal prototype to avoid an error.
12140
Use char because int might match the return type of a GCC
12141
builtin and then its argument prototype would still apply. */
12145
char XOpenDisplay ();
12149
return XOpenDisplay ();
12154
if ac_fn_c_try_link "$LINENO"; then :
12157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
12158
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12159
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
12160
$as_echo_n "(cached) " >&6
12162
ac_check_lib_save_LIBS=$LIBS
12163
LIBS="-ldnet $LIBS"
12164
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165
/* end confdefs.h. */
12167
/* Override any GCC internal prototype to avoid an error.
12168
Use char because int might match the return type of a GCC
12169
builtin and then its argument prototype would still apply. */
12177
return dnet_ntoa ();
12182
if ac_fn_c_try_link "$LINENO"; then :
12183
ac_cv_lib_dnet_dnet_ntoa=yes
12185
ac_cv_lib_dnet_dnet_ntoa=no
12187
rm -f core conftest.err conftest.$ac_objext \
12188
conftest$ac_exeext conftest.$ac_ext
12189
LIBS=$ac_check_lib_save_LIBS
12191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12192
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12193
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
12194
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12197
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
12199
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12200
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
12201
$as_echo_n "(cached) " >&6
12203
ac_check_lib_save_LIBS=$LIBS
12204
LIBS="-ldnet_stub $LIBS"
12205
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206
/* end confdefs.h. */
12208
/* Override any GCC internal prototype to avoid an error.
12209
Use char because int might match the return type of a GCC
12210
builtin and then its argument prototype would still apply. */
12218
return dnet_ntoa ();
12223
if ac_fn_c_try_link "$LINENO"; then :
12224
ac_cv_lib_dnet_stub_dnet_ntoa=yes
12226
ac_cv_lib_dnet_stub_dnet_ntoa=no
12228
rm -f core conftest.err conftest.$ac_objext \
12229
conftest$ac_exeext conftest.$ac_ext
12230
LIBS=$ac_check_lib_save_LIBS
12232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12233
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12234
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
12235
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12240
rm -f core conftest.err conftest.$ac_objext \
12241
conftest$ac_exeext conftest.$ac_ext
12242
LIBS="$ac_xsave_LIBS"
12244
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12245
# to get the SysV transport functions.
12246
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
12248
# The nsl library prevents programs from opening the X display
12249
# on Irix 5.2, according to T.E. Dickey.
12250
# The functions gethostbyname, getservbyname, and inet_addr are
12251
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12252
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12253
if test "x$ac_cv_func_gethostbyname" = xyes; then :
12257
if test $ac_cv_func_gethostbyname = no; then
12258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12259
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12260
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
12261
$as_echo_n "(cached) " >&6
12263
ac_check_lib_save_LIBS=$LIBS
12265
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266
/* end confdefs.h. */
12268
/* Override any GCC internal prototype to avoid an error.
12269
Use char because int might match the return type of a GCC
12270
builtin and then its argument prototype would still apply. */
12274
char gethostbyname ();
12278
return gethostbyname ();
12283
if ac_fn_c_try_link "$LINENO"; then :
12284
ac_cv_lib_nsl_gethostbyname=yes
12286
ac_cv_lib_nsl_gethostbyname=no
12288
rm -f core conftest.err conftest.$ac_objext \
12289
conftest$ac_exeext conftest.$ac_ext
12290
LIBS=$ac_check_lib_save_LIBS
12292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12293
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12294
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
12295
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12298
if test $ac_cv_lib_nsl_gethostbyname = no; then
12299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
12300
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12301
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
12302
$as_echo_n "(cached) " >&6
12304
ac_check_lib_save_LIBS=$LIBS
12306
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12307
/* end confdefs.h. */
12309
/* Override any GCC internal prototype to avoid an error.
12310
Use char because int might match the return type of a GCC
12311
builtin and then its argument prototype would still apply. */
12315
char gethostbyname ();
12319
return gethostbyname ();
12324
if ac_fn_c_try_link "$LINENO"; then :
12325
ac_cv_lib_bsd_gethostbyname=yes
12327
ac_cv_lib_bsd_gethostbyname=no
12329
rm -f core conftest.err conftest.$ac_objext \
12330
conftest$ac_exeext conftest.$ac_ext
12331
LIBS=$ac_check_lib_save_LIBS
12333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
12334
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12335
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
12336
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12342
# lieder@skyler.mavd.honeywell.com says without -lsocket,
12343
# socket/setsockopt and other routines are undefined under SCO ODT
12344
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12345
# on later versions), says Simon Leinen: it contains gethostby*
12346
# variants that don't use the name server (or something). -lsocket
12347
# must be given before -lnsl if both are needed. We assume that
12348
# if connect needs -lnsl, so does gethostbyname.
12349
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12350
if test "x$ac_cv_func_connect" = xyes; then :
12354
if test $ac_cv_func_connect = no; then
12355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
12356
$as_echo_n "checking for connect in -lsocket... " >&6; }
12357
if ${ac_cv_lib_socket_connect+:} false; then :
12358
$as_echo_n "(cached) " >&6
12360
ac_check_lib_save_LIBS=$LIBS
12361
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12362
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363
/* end confdefs.h. */
12365
/* Override any GCC internal prototype to avoid an error.
12366
Use char because int might match the return type of a GCC
12367
builtin and then its argument prototype would still apply. */
12380
if ac_fn_c_try_link "$LINENO"; then :
12381
ac_cv_lib_socket_connect=yes
12383
ac_cv_lib_socket_connect=no
12385
rm -f core conftest.err conftest.$ac_objext \
12386
conftest$ac_exeext conftest.$ac_ext
12387
LIBS=$ac_check_lib_save_LIBS
12389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
12390
$as_echo "$ac_cv_lib_socket_connect" >&6; }
12391
if test "x$ac_cv_lib_socket_connect" = xyes; then :
12392
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12397
# Guillermo Gomez says -lposix is necessary on A/UX.
12398
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12399
if test "x$ac_cv_func_remove" = xyes; then :
12403
if test $ac_cv_func_remove = no; then
12404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
12405
$as_echo_n "checking for remove in -lposix... " >&6; }
12406
if ${ac_cv_lib_posix_remove+:} false; then :
12407
$as_echo_n "(cached) " >&6
12409
ac_check_lib_save_LIBS=$LIBS
12410
LIBS="-lposix $LIBS"
12411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412
/* end confdefs.h. */
12414
/* Override any GCC internal prototype to avoid an error.
12415
Use char because int might match the return type of a GCC
12416
builtin and then its argument prototype would still apply. */
12429
if ac_fn_c_try_link "$LINENO"; then :
12430
ac_cv_lib_posix_remove=yes
12432
ac_cv_lib_posix_remove=no
12434
rm -f core conftest.err conftest.$ac_objext \
12435
conftest$ac_exeext conftest.$ac_ext
12436
LIBS=$ac_check_lib_save_LIBS
12438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
12439
$as_echo "$ac_cv_lib_posix_remove" >&6; }
12440
if test "x$ac_cv_lib_posix_remove" = xyes; then :
12441
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12446
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12447
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12448
if test "x$ac_cv_func_shmat" = xyes; then :
12452
if test $ac_cv_func_shmat = no; then
12453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
12454
$as_echo_n "checking for shmat in -lipc... " >&6; }
12455
if ${ac_cv_lib_ipc_shmat+:} false; then :
12456
$as_echo_n "(cached) " >&6
12458
ac_check_lib_save_LIBS=$LIBS
12460
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461
/* end confdefs.h. */
12463
/* Override any GCC internal prototype to avoid an error.
12464
Use char because int might match the return type of a GCC
12465
builtin and then its argument prototype would still apply. */
12478
if ac_fn_c_try_link "$LINENO"; then :
12479
ac_cv_lib_ipc_shmat=yes
12481
ac_cv_lib_ipc_shmat=no
12483
rm -f core conftest.err conftest.$ac_objext \
12484
conftest$ac_exeext conftest.$ac_ext
12485
LIBS=$ac_check_lib_save_LIBS
12487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
12488
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
12489
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
12490
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12496
# Check for libraries that X11R6 Xt/Xaw programs need.
12497
ac_save_LDFLAGS=$LDFLAGS
12498
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12499
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12500
# check for ICE first), but we must link in the order -lSM -lICE or
12501
# we get undefined symbols. So assume we have SM if we have ICE.
12502
# These have to be linked with before -lX11, unlike the other
12503
# libraries we check for below, so use a different variable.
12504
# John Interrante, Karl Berry
12505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
12506
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
12507
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
12508
$as_echo_n "(cached) " >&6
12510
ac_check_lib_save_LIBS=$LIBS
12511
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12512
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513
/* end confdefs.h. */
12515
/* Override any GCC internal prototype to avoid an error.
12516
Use char because int might match the return type of a GCC
12517
builtin and then its argument prototype would still apply. */
12521
char IceConnectionNumber ();
12525
return IceConnectionNumber ();
12530
if ac_fn_c_try_link "$LINENO"; then :
12531
ac_cv_lib_ICE_IceConnectionNumber=yes
12533
ac_cv_lib_ICE_IceConnectionNumber=no
12535
rm -f core conftest.err conftest.$ac_objext \
12536
conftest$ac_exeext conftest.$ac_ext
12537
LIBS=$ac_check_lib_save_LIBS
12539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12540
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12541
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
12542
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12545
LDFLAGS=$ac_save_LDFLAGS
12550
if test "x$no_x" = "xyes"; then
12551
as_fn_error $? "Can't locate your X11 installation" "$LINENO" 5
12554
X11_CFLAGS="$X_CFLAGS"
12555
X11_LIBS="$X_LIBS -lX11"
12560
X11_LIBS="$X11_LIBS"
12564
#PKG_CHECK_MODULES(GTK, [gtk+-3.0], found_gtk="yes", found_gtk="no")
12565
#if test "x$found_gtk" = "xno"; then
12568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12569
$as_echo_n "checking for GTK... " >&6; }
12571
if test -n "$PKG_CONFIG"; then
12572
if test -n "$GTK_CFLAGS"; then
12573
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12575
if test -n "$PKG_CONFIG" && \
12576
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5
12577
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5
12579
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12580
test $ac_status = 0; }; then
12581
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.20.0" 2>/dev/null`
12589
if test -n "$PKG_CONFIG"; then
12590
if test -n "$GTK_LIBS"; then
12591
pkg_cv_GTK_LIBS="$GTK_LIBS"
12593
if test -n "$PKG_CONFIG" && \
12594
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5
12595
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5
12597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12598
test $ac_status = 0; }; then
12599
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.20.0" 2>/dev/null`
12610
if test $pkg_failed = yes; then
12612
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12613
_pkg_short_errors_supported=yes
12615
_pkg_short_errors_supported=no
12617
if test $_pkg_short_errors_supported = yes; then
12618
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.20.0"`
12620
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.20.0"`
12622
# Put the nasty error message in config.log where it belongs
12623
echo "$GTK_PKG_ERRORS" >&5
12625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12626
$as_echo "no" >&6; }
12628
elif test $pkg_failed = untried; then
12631
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12632
GTK_LIBS=$pkg_cv_GTK_LIBS
12633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12634
$as_echo "yes" >&6; }
12637
if test "x$found_gtk" = "xno"; then
12640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12641
$as_echo_n "checking for GTK... " >&6; }
12643
if test -n "$PKG_CONFIG"; then
12644
if test -n "$GTK_CFLAGS"; then
12645
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12647
if test -n "$PKG_CONFIG" && \
12648
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 < 2.20.0\""; } >&5
12649
($PKG_CONFIG --exists --print-errors "gtk+-2.0 < 2.20.0") 2>&5
12651
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12652
test $ac_status = 0; }; then
12653
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 < 2.20.0" 2>/dev/null`
12661
if test -n "$PKG_CONFIG"; then
12662
if test -n "$GTK_LIBS"; then
12663
pkg_cv_GTK_LIBS="$GTK_LIBS"
12665
if test -n "$PKG_CONFIG" && \
12666
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 < 2.20.0\""; } >&5
12667
($PKG_CONFIG --exists --print-errors "gtk+-2.0 < 2.20.0") 2>&5
12669
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12670
test $ac_status = 0; }; then
12671
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 < 2.20.0" 2>/dev/null`
12682
if test $pkg_failed = yes; then
12684
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12685
_pkg_short_errors_supported=yes
12687
_pkg_short_errors_supported=no
12689
if test $_pkg_short_errors_supported = yes; then
12690
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 < 2.20.0"`
12692
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 < 2.20.0"`
12694
# Put the nasty error message in config.log where it belongs
12695
echo "$GTK_PKG_ERRORS" >&5
12697
as_fn_error $? "Package requirements (gtk+-2.0 < 2.20.0) were not met:
12701
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12702
installed software in a non-standard prefix.
12704
Alternatively, you may set the environment variables GTK_CFLAGS
12705
and GTK_LIBS to avoid the need to call pkg-config.
12706
See the pkg-config man page for more details.
12708
elif test $pkg_failed = untried; then
12709
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12710
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12711
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12712
is in your PATH or set the PKG_CONFIG environment variable to the full
12713
path to pkg-config.
12715
Alternatively, you may set the environment variables GTK_CFLAGS
12716
and GTK_LIBS to avoid the need to call pkg-config.
12717
See the pkg-config man page for more details.
12719
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
12720
See \`config.log' for more details" "$LINENO" 5; }
12722
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12723
GTK_LIBS=$pkg_cv_GTK_LIBS
12724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12725
$as_echo "yes" >&6; }
12730
$as_echo "#define WITH_GTK_NEW 1" >>confdefs.h
12734
# AC_DEFINE(WITH_GTK_NEW, 1, [Define if you use GTK+ >= 2.20.0 support])
12739
# Check whether --with-appindicator was given.
12740
if test "${with_appindicator+set}" = set; then :
12741
withval=$with_appindicator;
12744
if test "x$with_appindicator" != "xno"; then
12745
APPINDICATOR_REQUIRED=0.2.9
12749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5
12750
$as_echo_n "checking for APP_INDICATOR... " >&6; }
12752
if test -n "$PKG_CONFIG"; then
12753
if test -n "$APP_INDICATOR_CFLAGS"; then
12754
pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS"
12756
if test -n "$PKG_CONFIG" && \
12757
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
12758
($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
12760
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761
test $ac_status = 0; }; then
12762
pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
12770
if test -n "$PKG_CONFIG"; then
12771
if test -n "$APP_INDICATOR_LIBS"; then
12772
pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS"
12774
if test -n "$PKG_CONFIG" && \
12775
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
12776
($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
12778
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12779
test $ac_status = 0; }; then
12780
pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
12791
if test $pkg_failed = yes; then
12793
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12794
_pkg_short_errors_supported=yes
12796
_pkg_short_errors_supported=no
12798
if test $_pkg_short_errors_supported = yes; then
12799
APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED"`
12801
APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED"`
12803
# Put the nasty error message in config.log where it belongs
12804
echo "$APP_INDICATOR_PKG_ERRORS" >&5
12806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807
$as_echo "no" >&6; }
12808
found_appindicator="no"
12809
elif test $pkg_failed = untried; then
12810
found_appindicator="no"
12812
APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS
12813
APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS
12814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12815
$as_echo "yes" >&6; }
12816
found_appindicator="yes"
12818
if test "x$found_appindicator" = "xno"; then
12821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5
12822
$as_echo_n "checking for APP_INDICATOR... " >&6; }
12824
if test -n "$PKG_CONFIG"; then
12825
if test -n "$APP_INDICATOR_CFLAGS"; then
12826
pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS"
12828
if test -n "$PKG_CONFIG" && \
12829
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 < \$APPINDICATOR_REQUIRED\""; } >&5
12830
($PKG_CONFIG --exists --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED") 2>&5
12832
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12833
test $ac_status = 0; }; then
12834
pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 < $APPINDICATOR_REQUIRED" 2>/dev/null`
12842
if test -n "$PKG_CONFIG"; then
12843
if test -n "$APP_INDICATOR_LIBS"; then
12844
pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS"
12846
if test -n "$PKG_CONFIG" && \
12847
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 < \$APPINDICATOR_REQUIRED\""; } >&5
12848
($PKG_CONFIG --exists --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED") 2>&5
12850
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12851
test $ac_status = 0; }; then
12852
pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 < $APPINDICATOR_REQUIRED" 2>/dev/null`
12863
if test $pkg_failed = yes; then
12865
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12866
_pkg_short_errors_supported=yes
12868
_pkg_short_errors_supported=no
12870
if test $_pkg_short_errors_supported = yes; then
12871
APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED"`
12873
APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED"`
12875
# Put the nasty error message in config.log where it belongs
12876
echo "$APP_INDICATOR_PKG_ERRORS" >&5
12878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12879
$as_echo "no" >&6; }
12880
found_deprec_appindicator="no"
12881
elif test $pkg_failed = untried; then
12882
found_deprec_appindicator="no"
12884
APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS
12885
APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS
12886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12887
$as_echo "yes" >&6; }
12888
found_deprec_appindicator="yes"
12891
if test "x$found_deprec_appindicator" = "xyes"; then
12893
$as_echo "#define HAVE_APP_INDICATOR 1" >>confdefs.h
12896
$as_echo "#define HAVE_DEPREC_APP_INDICATOR 1" >>confdefs.h
12901
$as_echo "#define HAVE_APP_INDICATOR 1" >>confdefs.h
12907
$as_echo "#define PACKAGE_GCONF_DIR \"/apps/\" PACKAGE" >>confdefs.h
12911
$as_echo "#define KB_PROP_COMMAND \"/usr/bin/gnome-keyboard-properties\"" >>confdefs.h
12916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADE" >&5
12917
$as_echo_n "checking for GLADE... " >&6; }
12919
if test -n "$PKG_CONFIG"; then
12920
if test -n "$GLADE_CFLAGS"; then
12921
pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
12923
if test -n "$PKG_CONFIG" && \
12924
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5
12925
($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5
12927
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928
test $ac_status = 0; }; then
12929
pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 2.6.0" 2>/dev/null`
12937
if test -n "$PKG_CONFIG"; then
12938
if test -n "$GLADE_LIBS"; then
12939
pkg_cv_GLADE_LIBS="$GLADE_LIBS"
12941
if test -n "$PKG_CONFIG" && \
12942
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5
12943
($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5
12945
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12946
test $ac_status = 0; }; then
12947
pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 2.6.0" 2>/dev/null`
12958
if test $pkg_failed = yes; then
12960
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12961
_pkg_short_errors_supported=yes
12963
_pkg_short_errors_supported=no
12965
if test $_pkg_short_errors_supported = yes; then
12966
GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0 >= 2.6.0"`
12968
GLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0 >= 2.6.0"`
12970
# Put the nasty error message in config.log where it belongs
12971
echo "$GLADE_PKG_ERRORS" >&5
12973
as_fn_error $? "Package requirements (libglade-2.0 >= 2.6.0) were not met:
12977
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12978
installed software in a non-standard prefix.
12980
Alternatively, you may set the environment variables GLADE_CFLAGS
12981
and GLADE_LIBS to avoid the need to call pkg-config.
12982
See the pkg-config man page for more details.
12984
elif test $pkg_failed = untried; then
12985
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12986
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12987
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12988
is in your PATH or set the PKG_CONFIG environment variable to the full
12989
path to pkg-config.
12991
Alternatively, you may set the environment variables GLADE_CFLAGS
12992
and GLADE_LIBS to avoid the need to call pkg-config.
12993
See the pkg-config man page for more details.
12995
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
12996
See \`config.log' for more details" "$LINENO" 5; }
12998
GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
12999
GLADE_LIBS=$pkg_cv_GLADE_LIBS
13000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13001
$as_echo "yes" >&6; }
13007
#PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.0])
13009
# Check whether --with-gconf was given.
13010
if test "${with_gconf+set}" = set; then :
13011
withval=$with_gconf;
13014
if test "x$with_gconf" != "xno"; then
13017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
13018
$as_echo_n "checking for GCONF... " >&6; }
13020
if test -n "$PKG_CONFIG"; then
13021
if test -n "$GCONF_CFLAGS"; then
13022
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
13024
if test -n "$PKG_CONFIG" && \
13025
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.0\""; } >&5
13026
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.0") 2>&5
13028
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13029
test $ac_status = 0; }; then
13030
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.0" 2>/dev/null`
13038
if test -n "$PKG_CONFIG"; then
13039
if test -n "$GCONF_LIBS"; then
13040
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
13042
if test -n "$PKG_CONFIG" && \
13043
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.0\""; } >&5
13044
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.0") 2>&5
13046
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13047
test $ac_status = 0; }; then
13048
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.0" 2>/dev/null`
13059
if test $pkg_failed = yes; then
13061
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13062
_pkg_short_errors_supported=yes
13064
_pkg_short_errors_supported=no
13066
if test $_pkg_short_errors_supported = yes; then
13067
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-2.0 >= 2.0"`
13069
GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.0"`
13071
# Put the nasty error message in config.log where it belongs
13072
echo "$GCONF_PKG_ERRORS" >&5
13074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13075
$as_echo "no" >&6; }
13077
elif test $pkg_failed = untried; then
13080
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
13081
GCONF_LIBS=$pkg_cv_GCONF_LIBS
13082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13083
$as_echo "yes" >&6; }
13086
if test "x$found_gconf" = "xyes"; then
13088
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
13095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13096
$as_echo_n "checking whether NLS is requested... " >&6; }
13097
# Check whether --enable-nls was given.
13098
if test "${enable_nls+set}" = set; then :
13099
enableval=$enable_nls; USE_NLS=$enableval
13104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13105
$as_echo "$USE_NLS" >&6; }
13112
# Prepare PATH_SEPARATOR.
13113
# The user is always right.
13114
if test "${PATH_SEPARATOR+set}" != set; then
13115
echo "#! /bin/sh" >conf$$.sh
13116
echo "exit 0" >>conf$$.sh
13118
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13126
# Find out how to test for executable files. Don't use a zero-byte file,
13127
# as systems may use methods other than mode bits to determine executability.
13128
cat >conf$$.file <<_ASEOF
13132
chmod +x conf$$.file
13133
if test -x conf$$.file >/dev/null 2>&1; then
13134
ac_executable_p="test -x"
13136
ac_executable_p="test -f"
13140
# Extract the first word of "msgfmt", so it can be a program name with args.
13141
set dummy msgfmt; ac_word=$2
13142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13143
$as_echo_n "checking for $ac_word... " >&6; }
13144
if ${ac_cv_path_MSGFMT+:} false; then :
13145
$as_echo_n "(cached) " >&6
13149
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13152
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13153
for ac_dir in $PATH; do
13155
test -z "$ac_dir" && ac_dir=.
13156
for ac_exec_ext in '' $ac_executable_extensions; do
13157
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13158
echo "$as_me: trying $ac_dir/$ac_word..." >&5
13159
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13160
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13161
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13168
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13172
MSGFMT="$ac_cv_path_MSGFMT"
13173
if test "$MSGFMT" != ":"; then
13174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13175
$as_echo "$MSGFMT" >&6; }
13177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178
$as_echo "no" >&6; }
13181
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13182
set dummy gmsgfmt; ac_word=$2
13183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13184
$as_echo_n "checking for $ac_word... " >&6; }
13185
if ${ac_cv_path_GMSGFMT+:} false; then :
13186
$as_echo_n "(cached) " >&6
13190
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13194
for as_dir in $PATH
13197
test -z "$as_dir" && as_dir=.
13198
for ac_exec_ext in '' $ac_executable_extensions; do
13199
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13200
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13201
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13208
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13212
GMSGFMT=$ac_cv_path_GMSGFMT
13213
if test -n "$GMSGFMT"; then
13214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13215
$as_echo "$GMSGFMT" >&6; }
13217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218
$as_echo "no" >&6; }
13223
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13224
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13225
*) MSGFMT_015=$MSGFMT ;;
13228
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13229
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13230
*) GMSGFMT_015=$GMSGFMT ;;
13235
# Prepare PATH_SEPARATOR.
13236
# The user is always right.
13237
if test "${PATH_SEPARATOR+set}" != set; then
13238
echo "#! /bin/sh" >conf$$.sh
13239
echo "exit 0" >>conf$$.sh
13241
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13249
# Find out how to test for executable files. Don't use a zero-byte file,
13250
# as systems may use methods other than mode bits to determine executability.
13251
cat >conf$$.file <<_ASEOF
13255
chmod +x conf$$.file
13256
if test -x conf$$.file >/dev/null 2>&1; then
13257
ac_executable_p="test -x"
13259
ac_executable_p="test -f"
13263
# Extract the first word of "xgettext", so it can be a program name with args.
13264
set dummy xgettext; ac_word=$2
13265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13266
$as_echo_n "checking for $ac_word... " >&6; }
13267
if ${ac_cv_path_XGETTEXT+:} false; then :
13268
$as_echo_n "(cached) " >&6
13270
case "$XGETTEXT" in
13272
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13275
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13276
for ac_dir in $PATH; do
13278
test -z "$ac_dir" && ac_dir=.
13279
for ac_exec_ext in '' $ac_executable_extensions; do
13280
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13281
echo "$as_me: trying $ac_dir/$ac_word..." >&5
13282
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13283
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13284
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13291
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13295
XGETTEXT="$ac_cv_path_XGETTEXT"
13296
if test "$XGETTEXT" != ":"; then
13297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13298
$as_echo "$XGETTEXT" >&6; }
13300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301
$as_echo "no" >&6; }
13306
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13307
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13308
*) XGETTEXT_015=$XGETTEXT ;;
13313
# Prepare PATH_SEPARATOR.
13314
# The user is always right.
13315
if test "${PATH_SEPARATOR+set}" != set; then
13316
echo "#! /bin/sh" >conf$$.sh
13317
echo "exit 0" >>conf$$.sh
13319
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13327
# Find out how to test for executable files. Don't use a zero-byte file,
13328
# as systems may use methods other than mode bits to determine executability.
13329
cat >conf$$.file <<_ASEOF
13333
chmod +x conf$$.file
13334
if test -x conf$$.file >/dev/null 2>&1; then
13335
ac_executable_p="test -x"
13337
ac_executable_p="test -f"
13341
# Extract the first word of "msgmerge", so it can be a program name with args.
13342
set dummy msgmerge; ac_word=$2
13343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13344
$as_echo_n "checking for $ac_word... " >&6; }
13345
if ${ac_cv_path_MSGMERGE+:} false; then :
13346
$as_echo_n "(cached) " >&6
13348
case "$MSGMERGE" in
13350
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13353
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13354
for ac_dir in $PATH; do
13356
test -z "$ac_dir" && ac_dir=.
13357
for ac_exec_ext in '' $ac_executable_extensions; do
13358
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13359
echo "$as_me: trying $ac_dir/$ac_word..." >&5
13360
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13361
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13368
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13372
MSGMERGE="$ac_cv_path_MSGMERGE"
13373
if test "$MSGMERGE" != ":"; then
13374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13375
$as_echo "$MSGMERGE" >&6; }
13377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13378
$as_echo "no" >&6; }
13382
test -n "$localedir" || localedir='${datadir}/locale'
13385
ac_config_commands="$ac_config_commands po-directories"
13389
if test "X$prefix" = "XNONE"; then
13390
acl_final_prefix="$ac_default_prefix"
13392
acl_final_prefix="$prefix"
13394
if test "X$exec_prefix" = "XNONE"; then
13395
acl_final_exec_prefix='${prefix}'
13397
acl_final_exec_prefix="$exec_prefix"
13399
acl_save_prefix="$prefix"
13400
prefix="$acl_final_prefix"
13401
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13402
prefix="$acl_save_prefix"
13405
# Check whether --with-gnu-ld was given.
13406
if test "${with_gnu_ld+set}" = set; then :
13407
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13412
# Prepare PATH_SEPARATOR.
13413
# The user is always right.
13414
if test "${PATH_SEPARATOR+set}" != set; then
13415
echo "#! /bin/sh" >conf$$.sh
13416
echo "exit 0" >>conf$$.sh
13418
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13426
if test "$GCC" = yes; then
13427
# Check if gcc -print-prog-name=ld gives a path.
13428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13429
$as_echo_n "checking for ld used by GCC... " >&6; }
13432
# gcc leaves a trailing carriage return which upsets mingw
13433
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13435
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13438
# Accept absolute paths.
13439
[\\/]* | [A-Za-z]:[\\/]*)
13440
re_direlt='/[^/][^/]*/\.\./'
13441
# Canonicalize the path of ld
13442
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13443
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13444
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13446
test -z "$LD" && LD="$ac_prog"
13449
# If it fails, then pretend we aren't using GCC.
13453
# If it is relative, then search for the first ld in PATH.
13454
with_gnu_ld=unknown
13457
elif test "$with_gnu_ld" = yes; then
13458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13459
$as_echo_n "checking for GNU ld... " >&6; }
13461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13462
$as_echo_n "checking for non-GNU ld... " >&6; }
13464
if ${acl_cv_path_LD+:} false; then :
13465
$as_echo_n "(cached) " >&6
13467
if test -z "$LD"; then
13468
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13469
for ac_dir in $PATH; do
13470
test -z "$ac_dir" && ac_dir=.
13471
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13472
acl_cv_path_LD="$ac_dir/$ac_prog"
13473
# Check to see if the program is GNU ld. I'd rather use --version,
13474
# but apparently some GNU ld's only accept -v.
13475
# Break only if it was the GNU/non-GNU ld that we prefer.
13476
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13477
*GNU* | *'with BFD'*)
13478
test "$with_gnu_ld" != no && break ;;
13480
test "$with_gnu_ld" != yes && break ;;
13486
acl_cv_path_LD="$LD" # Let the user override the test with a path.
13490
LD="$acl_cv_path_LD"
13491
if test -n "$LD"; then
13492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13493
$as_echo "$LD" >&6; }
13495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13496
$as_echo "no" >&6; }
13498
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13500
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13501
if ${acl_cv_prog_gnu_ld+:} false; then :
13502
$as_echo_n "(cached) " >&6
13504
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
13505
case `$LD -v 2>&1 </dev/null` in
13506
*GNU* | *'with BFD'*)
13507
acl_cv_prog_gnu_ld=yes ;;
13509
acl_cv_prog_gnu_ld=no ;;
13512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13513
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
13514
with_gnu_ld=$acl_cv_prog_gnu_ld
13519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13520
$as_echo_n "checking for shared library run path origin... " >&6; }
13521
if ${acl_cv_rpath+:} false; then :
13522
$as_echo_n "(cached) " >&6
13525
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13526
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13528
rm -f ./conftest.sh
13532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13533
$as_echo "$acl_cv_rpath" >&6; }
13535
libext="$acl_cv_libext"
13536
shlibext="$acl_cv_shlibext"
13537
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13538
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13539
hardcode_direct="$acl_cv_hardcode_direct"
13540
hardcode_minus_L="$acl_cv_hardcode_minus_L"
13541
# Check whether --enable-rpath was given.
13542
if test "${enable_rpath+set}" = set; then :
13543
enableval=$enable_rpath; :
13551
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13552
if test -n "$searchpath"; then
13553
acl_save_IFS="${IFS= }"; IFS=":"
13554
for searchdir in $searchpath; do
13555
if test -d "$searchdir"; then
13556
case "$searchdir" in
13557
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13558
*) searchdir=`cd "$searchdir" && pwd`
13559
case "$searchdir" in
13560
*/lib64 ) acl_libdirstem=lib64 ;;
13565
IFS="$acl_save_IFS"
13577
acl_save_prefix="$prefix"
13578
prefix="$acl_final_prefix"
13579
acl_save_exec_prefix="$exec_prefix"
13580
exec_prefix="$acl_final_exec_prefix"
13582
eval additional_includedir=\"$includedir\"
13583
eval additional_libdir=\"$libdir\"
13585
exec_prefix="$acl_save_exec_prefix"
13586
prefix="$acl_save_prefix"
13589
# Check whether --with-libiconv-prefix was given.
13590
if test "${with_libiconv_prefix+set}" = set; then :
13591
withval=$with_libiconv_prefix;
13592
if test "X$withval" = "Xno"; then
13595
if test "X$withval" = "X"; then
13597
acl_save_prefix="$prefix"
13598
prefix="$acl_final_prefix"
13599
acl_save_exec_prefix="$exec_prefix"
13600
exec_prefix="$acl_final_exec_prefix"
13602
eval additional_includedir=\"$includedir\"
13603
eval additional_libdir=\"$libdir\"
13605
exec_prefix="$acl_save_exec_prefix"
13606
prefix="$acl_save_prefix"
13609
additional_includedir="$withval/include"
13610
additional_libdir="$withval/$acl_libdirstem"
13621
names_already_handled=
13622
names_next_round='iconv '
13623
while test -n "$names_next_round"; do
13624
names_this_round="$names_next_round"
13626
for name in $names_this_round; do
13628
for n in $names_already_handled; do
13629
if test "$n" = "$name"; then
13630
already_handled=yes
13634
if test -z "$already_handled"; then
13635
names_already_handled="$names_already_handled $name"
13636
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13637
eval value=\"\$HAVE_LIB$uppername\"
13638
if test -n "$value"; then
13639
if test "$value" = yes; then
13640
eval value=\"\$LIB$uppername\"
13641
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13642
eval value=\"\$LTLIB$uppername\"
13643
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13652
if test $use_additional = yes; then
13653
if test -n "$shlibext" \
13654
&& { test -f "$additional_libdir/lib$name.$shlibext" \
13655
|| { test "$shlibext" = dll \
13656
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13657
found_dir="$additional_libdir"
13658
if test -f "$additional_libdir/lib$name.$shlibext"; then
13659
found_so="$additional_libdir/lib$name.$shlibext"
13661
found_so="$additional_libdir/lib$name.dll.a"
13663
if test -f "$additional_libdir/lib$name.la"; then
13664
found_la="$additional_libdir/lib$name.la"
13667
if test -f "$additional_libdir/lib$name.$libext"; then
13668
found_dir="$additional_libdir"
13669
found_a="$additional_libdir/lib$name.$libext"
13670
if test -f "$additional_libdir/lib$name.la"; then
13671
found_la="$additional_libdir/lib$name.la"
13676
if test "X$found_dir" = "X"; then
13677
for x in $LDFLAGS $LTLIBICONV; do
13679
acl_save_prefix="$prefix"
13680
prefix="$acl_final_prefix"
13681
acl_save_exec_prefix="$exec_prefix"
13682
exec_prefix="$acl_final_exec_prefix"
13684
exec_prefix="$acl_save_exec_prefix"
13685
prefix="$acl_save_prefix"
13689
dir=`echo "X$x" | sed -e 's/^X-L//'`
13690
if test -n "$shlibext" \
13691
&& { test -f "$dir/lib$name.$shlibext" \
13692
|| { test "$shlibext" = dll \
13693
&& test -f "$dir/lib$name.dll.a"; }; }; then
13695
if test -f "$dir/lib$name.$shlibext"; then
13696
found_so="$dir/lib$name.$shlibext"
13698
found_so="$dir/lib$name.dll.a"
13700
if test -f "$dir/lib$name.la"; then
13701
found_la="$dir/lib$name.la"
13704
if test -f "$dir/lib$name.$libext"; then
13706
found_a="$dir/lib$name.$libext"
13707
if test -f "$dir/lib$name.la"; then
13708
found_la="$dir/lib$name.la"
13714
if test "X$found_dir" != "X"; then
13719
if test "X$found_dir" != "X"; then
13720
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13721
if test "X$found_so" != "X"; then
13722
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13723
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13726
for x in $ltrpathdirs; do
13727
if test "X$x" = "X$found_dir"; then
13732
if test -z "$haveit"; then
13733
ltrpathdirs="$ltrpathdirs $found_dir"
13735
if test "$hardcode_direct" = yes; then
13736
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13738
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
13739
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13741
for x in $rpathdirs; do
13742
if test "X$x" = "X$found_dir"; then
13747
if test -z "$haveit"; then
13748
rpathdirs="$rpathdirs $found_dir"
13752
for x in $LDFLAGS $LIBICONV; do
13754
acl_save_prefix="$prefix"
13755
prefix="$acl_final_prefix"
13756
acl_save_exec_prefix="$exec_prefix"
13757
exec_prefix="$acl_final_exec_prefix"
13759
exec_prefix="$acl_save_exec_prefix"
13760
prefix="$acl_save_prefix"
13762
if test "X$x" = "X-L$found_dir"; then
13767
if test -z "$haveit"; then
13768
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13770
if test "$hardcode_minus_L" != no; then
13771
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13773
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13779
if test "X$found_a" != "X"; then
13780
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13782
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13785
additional_includedir=
13786
case "$found_dir" in
13787
*/$acl_libdirstem | */$acl_libdirstem/)
13788
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13789
additional_includedir="$basedir/include"
13792
if test "X$additional_includedir" != "X"; then
13793
if test "X$additional_includedir" != "X/usr/include"; then
13795
if test "X$additional_includedir" = "X/usr/local/include"; then
13796
if test -n "$GCC"; then
13798
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13802
if test -z "$haveit"; then
13803
for x in $CPPFLAGS $INCICONV; do
13805
acl_save_prefix="$prefix"
13806
prefix="$acl_final_prefix"
13807
acl_save_exec_prefix="$exec_prefix"
13808
exec_prefix="$acl_final_exec_prefix"
13810
exec_prefix="$acl_save_exec_prefix"
13811
prefix="$acl_save_prefix"
13813
if test "X$x" = "X-I$additional_includedir"; then
13818
if test -z "$haveit"; then
13819
if test -d "$additional_includedir"; then
13820
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13826
if test -n "$found_la"; then
13827
save_libdir="$libdir"
13828
case "$found_la" in
13829
*/* | *\\*) . "$found_la" ;;
13830
*) . "./$found_la" ;;
13832
libdir="$save_libdir"
13833
for dep in $dependency_libs; do
13836
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13837
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13839
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13840
if test -n "$GCC"; then
13842
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13846
if test -z "$haveit"; then
13848
for x in $LDFLAGS $LIBICONV; do
13850
acl_save_prefix="$prefix"
13851
prefix="$acl_final_prefix"
13852
acl_save_exec_prefix="$exec_prefix"
13853
exec_prefix="$acl_final_exec_prefix"
13855
exec_prefix="$acl_save_exec_prefix"
13856
prefix="$acl_save_prefix"
13858
if test "X$x" = "X-L$additional_libdir"; then
13863
if test -z "$haveit"; then
13864
if test -d "$additional_libdir"; then
13865
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13869
for x in $LDFLAGS $LTLIBICONV; do
13871
acl_save_prefix="$prefix"
13872
prefix="$acl_final_prefix"
13873
acl_save_exec_prefix="$exec_prefix"
13874
exec_prefix="$acl_final_exec_prefix"
13876
exec_prefix="$acl_save_exec_prefix"
13877
prefix="$acl_save_prefix"
13879
if test "X$x" = "X-L$additional_libdir"; then
13884
if test -z "$haveit"; then
13885
if test -d "$additional_libdir"; then
13886
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13893
dir=`echo "X$dep" | sed -e 's/^X-R//'`
13894
if test "$enable_rpath" != no; then
13896
for x in $rpathdirs; do
13897
if test "X$x" = "X$dir"; then
13902
if test -z "$haveit"; then
13903
rpathdirs="$rpathdirs $dir"
13906
for x in $ltrpathdirs; do
13907
if test "X$x" = "X$dir"; then
13912
if test -z "$haveit"; then
13913
ltrpathdirs="$ltrpathdirs $dir"
13918
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13921
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13924
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13925
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13931
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13932
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13938
if test "X$rpathdirs" != "X"; then
13939
if test -n "$hardcode_libdir_separator"; then
13941
for found_dir in $rpathdirs; do
13942
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13944
acl_save_libdir="$libdir"
13946
eval flag=\"$hardcode_libdir_flag_spec\"
13947
libdir="$acl_save_libdir"
13948
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13950
for found_dir in $rpathdirs; do
13951
acl_save_libdir="$libdir"
13952
libdir="$found_dir"
13953
eval flag=\"$hardcode_libdir_flag_spec\"
13954
libdir="$acl_save_libdir"
13955
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13959
if test "X$ltrpathdirs" != "X"; then
13960
for found_dir in $ltrpathdirs; do
13961
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13990
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13991
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13992
$as_echo_n "(cached) " >&6
13994
gt_save_LIBS="$LIBS"
13995
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997
/* end confdefs.h. */
13998
#include <CoreFoundation/CFPreferences.h>
14002
CFPreferencesCopyAppValue(NULL, NULL)
14007
if ac_fn_c_try_link "$LINENO"; then :
14008
gt_cv_func_CFPreferencesCopyAppValue=yes
14010
gt_cv_func_CFPreferencesCopyAppValue=no
14012
rm -f core conftest.err conftest.$ac_objext \
14013
conftest$ac_exeext conftest.$ac_ext
14014
LIBS="$gt_save_LIBS"
14016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14017
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14018
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14020
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14024
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14025
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14026
$as_echo_n "(cached) " >&6
14028
gt_save_LIBS="$LIBS"
14029
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14030
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031
/* end confdefs.h. */
14032
#include <CoreFoundation/CFLocale.h>
14036
CFLocaleCopyCurrent();
14041
if ac_fn_c_try_link "$LINENO"; then :
14042
gt_cv_func_CFLocaleCopyCurrent=yes
14044
gt_cv_func_CFLocaleCopyCurrent=no
14046
rm -f core conftest.err conftest.$ac_objext \
14047
conftest$ac_exeext conftest.$ac_ext
14048
LIBS="$gt_save_LIBS"
14050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14051
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14052
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14054
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14058
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14059
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14071
case " $gt_needs " in
14072
*" need-formatstring-macros "*) gt_api_version=3 ;;
14073
*" need-ngettext "*) gt_api_version=2 ;;
14074
*) gt_api_version=1 ;;
14076
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14077
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14079
if test "$USE_NLS" = "yes"; then
14080
gt_use_preinstalled_gnugettext=no
14083
if test $gt_api_version -ge 3; then
14084
gt_revision_test_code='
14085
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14086
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14088
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14091
gt_revision_test_code=
14093
if test $gt_api_version -ge 2; then
14094
gt_expression_test_code=' + * ngettext ("", "", 0)'
14096
gt_expression_test_code=
14099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14100
$as_echo_n "checking for GNU gettext in libc... " >&6; }
14101
if eval \${$gt_func_gnugettext_libc+:} false; then :
14102
$as_echo_n "(cached) " >&6
14104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105
/* end confdefs.h. */
14106
#include <libintl.h>
14107
$gt_revision_test_code
14108
extern int _nl_msg_cat_cntr;
14109
extern int *_nl_domain_bindings;
14113
bindtextdomain ("", "");
14114
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14119
if ac_fn_c_try_link "$LINENO"; then :
14120
eval "$gt_func_gnugettext_libc=yes"
14122
eval "$gt_func_gnugettext_libc=no"
14124
rm -f core conftest.err conftest.$ac_objext \
14125
conftest$ac_exeext conftest.$ac_ext
14127
eval ac_res=\$$gt_func_gnugettext_libc
14128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14129
$as_echo "$ac_res" >&6; }
14131
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14137
am_save_CPPFLAGS="$CPPFLAGS"
14139
for element in $INCICONV; do
14141
for x in $CPPFLAGS; do
14143
acl_save_prefix="$prefix"
14144
prefix="$acl_final_prefix"
14145
acl_save_exec_prefix="$exec_prefix"
14146
exec_prefix="$acl_final_exec_prefix"
14148
exec_prefix="$acl_save_exec_prefix"
14149
prefix="$acl_save_prefix"
14151
if test "X$x" = "X$element"; then
14156
if test -z "$haveit"; then
14157
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14163
$as_echo_n "checking for iconv... " >&6; }
14164
if ${am_cv_func_iconv+:} false; then :
14165
$as_echo_n "(cached) " >&6
14168
am_cv_func_iconv="no, consider installing GNU libiconv"
14170
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171
/* end confdefs.h. */
14172
#include <stdlib.h>
14177
iconv_t cd = iconv_open("","");
14178
iconv(cd,NULL,NULL,NULL,NULL);
14184
if ac_fn_c_try_link "$LINENO"; then :
14185
am_cv_func_iconv=yes
14187
rm -f core conftest.err conftest.$ac_objext \
14188
conftest$ac_exeext conftest.$ac_ext
14189
if test "$am_cv_func_iconv" != yes; then
14190
am_save_LIBS="$LIBS"
14191
LIBS="$LIBS $LIBICONV"
14192
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193
/* end confdefs.h. */
14194
#include <stdlib.h>
14199
iconv_t cd = iconv_open("","");
14200
iconv(cd,NULL,NULL,NULL,NULL);
14206
if ac_fn_c_try_link "$LINENO"; then :
14207
am_cv_lib_iconv=yes
14208
am_cv_func_iconv=yes
14210
rm -f core conftest.err conftest.$ac_objext \
14211
conftest$ac_exeext conftest.$ac_ext
14212
LIBS="$am_save_LIBS"
14216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14217
$as_echo "$am_cv_func_iconv" >&6; }
14218
if test "$am_cv_func_iconv" = yes; then
14220
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
14223
if test "$am_cv_lib_iconv" = yes; then
14224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14225
$as_echo_n "checking how to link with libiconv... " >&6; }
14226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14227
$as_echo "$LIBICONV" >&6; }
14229
CPPFLAGS="$am_save_CPPFLAGS"
14242
acl_save_prefix="$prefix"
14243
prefix="$acl_final_prefix"
14244
acl_save_exec_prefix="$exec_prefix"
14245
exec_prefix="$acl_final_exec_prefix"
14247
eval additional_includedir=\"$includedir\"
14248
eval additional_libdir=\"$libdir\"
14250
exec_prefix="$acl_save_exec_prefix"
14251
prefix="$acl_save_prefix"
14254
# Check whether --with-libintl-prefix was given.
14255
if test "${with_libintl_prefix+set}" = set; then :
14256
withval=$with_libintl_prefix;
14257
if test "X$withval" = "Xno"; then
14260
if test "X$withval" = "X"; then
14262
acl_save_prefix="$prefix"
14263
prefix="$acl_final_prefix"
14264
acl_save_exec_prefix="$exec_prefix"
14265
exec_prefix="$acl_final_exec_prefix"
14267
eval additional_includedir=\"$includedir\"
14268
eval additional_libdir=\"$libdir\"
14270
exec_prefix="$acl_save_exec_prefix"
14271
prefix="$acl_save_prefix"
14274
additional_includedir="$withval/include"
14275
additional_libdir="$withval/$acl_libdirstem"
14286
names_already_handled=
14287
names_next_round='intl '
14288
while test -n "$names_next_round"; do
14289
names_this_round="$names_next_round"
14291
for name in $names_this_round; do
14293
for n in $names_already_handled; do
14294
if test "$n" = "$name"; then
14295
already_handled=yes
14299
if test -z "$already_handled"; then
14300
names_already_handled="$names_already_handled $name"
14301
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14302
eval value=\"\$HAVE_LIB$uppername\"
14303
if test -n "$value"; then
14304
if test "$value" = yes; then
14305
eval value=\"\$LIB$uppername\"
14306
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14307
eval value=\"\$LTLIB$uppername\"
14308
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14317
if test $use_additional = yes; then
14318
if test -n "$shlibext" \
14319
&& { test -f "$additional_libdir/lib$name.$shlibext" \
14320
|| { test "$shlibext" = dll \
14321
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14322
found_dir="$additional_libdir"
14323
if test -f "$additional_libdir/lib$name.$shlibext"; then
14324
found_so="$additional_libdir/lib$name.$shlibext"
14326
found_so="$additional_libdir/lib$name.dll.a"
14328
if test -f "$additional_libdir/lib$name.la"; then
14329
found_la="$additional_libdir/lib$name.la"
14332
if test -f "$additional_libdir/lib$name.$libext"; then
14333
found_dir="$additional_libdir"
14334
found_a="$additional_libdir/lib$name.$libext"
14335
if test -f "$additional_libdir/lib$name.la"; then
14336
found_la="$additional_libdir/lib$name.la"
14341
if test "X$found_dir" = "X"; then
14342
for x in $LDFLAGS $LTLIBINTL; do
14344
acl_save_prefix="$prefix"
14345
prefix="$acl_final_prefix"
14346
acl_save_exec_prefix="$exec_prefix"
14347
exec_prefix="$acl_final_exec_prefix"
14349
exec_prefix="$acl_save_exec_prefix"
14350
prefix="$acl_save_prefix"
14354
dir=`echo "X$x" | sed -e 's/^X-L//'`
14355
if test -n "$shlibext" \
14356
&& { test -f "$dir/lib$name.$shlibext" \
14357
|| { test "$shlibext" = dll \
14358
&& test -f "$dir/lib$name.dll.a"; }; }; then
14360
if test -f "$dir/lib$name.$shlibext"; then
14361
found_so="$dir/lib$name.$shlibext"
14363
found_so="$dir/lib$name.dll.a"
14365
if test -f "$dir/lib$name.la"; then
14366
found_la="$dir/lib$name.la"
14369
if test -f "$dir/lib$name.$libext"; then
14371
found_a="$dir/lib$name.$libext"
14372
if test -f "$dir/lib$name.la"; then
14373
found_la="$dir/lib$name.la"
14379
if test "X$found_dir" != "X"; then
14384
if test "X$found_dir" != "X"; then
14385
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14386
if test "X$found_so" != "X"; then
14387
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14388
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14391
for x in $ltrpathdirs; do
14392
if test "X$x" = "X$found_dir"; then
14397
if test -z "$haveit"; then
14398
ltrpathdirs="$ltrpathdirs $found_dir"
14400
if test "$hardcode_direct" = yes; then
14401
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14403
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
14404
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14406
for x in $rpathdirs; do
14407
if test "X$x" = "X$found_dir"; then
14412
if test -z "$haveit"; then
14413
rpathdirs="$rpathdirs $found_dir"
14417
for x in $LDFLAGS $LIBINTL; do
14419
acl_save_prefix="$prefix"
14420
prefix="$acl_final_prefix"
14421
acl_save_exec_prefix="$exec_prefix"
14422
exec_prefix="$acl_final_exec_prefix"
14424
exec_prefix="$acl_save_exec_prefix"
14425
prefix="$acl_save_prefix"
14427
if test "X$x" = "X-L$found_dir"; then
14432
if test -z "$haveit"; then
14433
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14435
if test "$hardcode_minus_L" != no; then
14436
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14438
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14444
if test "X$found_a" != "X"; then
14445
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14447
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14450
additional_includedir=
14451
case "$found_dir" in
14452
*/$acl_libdirstem | */$acl_libdirstem/)
14453
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14454
additional_includedir="$basedir/include"
14457
if test "X$additional_includedir" != "X"; then
14458
if test "X$additional_includedir" != "X/usr/include"; then
14460
if test "X$additional_includedir" = "X/usr/local/include"; then
14461
if test -n "$GCC"; then
14463
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14467
if test -z "$haveit"; then
14468
for x in $CPPFLAGS $INCINTL; do
14470
acl_save_prefix="$prefix"
14471
prefix="$acl_final_prefix"
14472
acl_save_exec_prefix="$exec_prefix"
14473
exec_prefix="$acl_final_exec_prefix"
14475
exec_prefix="$acl_save_exec_prefix"
14476
prefix="$acl_save_prefix"
14478
if test "X$x" = "X-I$additional_includedir"; then
14483
if test -z "$haveit"; then
14484
if test -d "$additional_includedir"; then
14485
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14491
if test -n "$found_la"; then
14492
save_libdir="$libdir"
14493
case "$found_la" in
14494
*/* | *\\*) . "$found_la" ;;
14495
*) . "./$found_la" ;;
14497
libdir="$save_libdir"
14498
for dep in $dependency_libs; do
14501
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14502
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14504
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14505
if test -n "$GCC"; then
14507
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14511
if test -z "$haveit"; then
14513
for x in $LDFLAGS $LIBINTL; do
14515
acl_save_prefix="$prefix"
14516
prefix="$acl_final_prefix"
14517
acl_save_exec_prefix="$exec_prefix"
14518
exec_prefix="$acl_final_exec_prefix"
14520
exec_prefix="$acl_save_exec_prefix"
14521
prefix="$acl_save_prefix"
14523
if test "X$x" = "X-L$additional_libdir"; then
14528
if test -z "$haveit"; then
14529
if test -d "$additional_libdir"; then
14530
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14534
for x in $LDFLAGS $LTLIBINTL; do
14536
acl_save_prefix="$prefix"
14537
prefix="$acl_final_prefix"
14538
acl_save_exec_prefix="$exec_prefix"
14539
exec_prefix="$acl_final_exec_prefix"
14541
exec_prefix="$acl_save_exec_prefix"
14542
prefix="$acl_save_prefix"
14544
if test "X$x" = "X-L$additional_libdir"; then
14549
if test -z "$haveit"; then
14550
if test -d "$additional_libdir"; then
14551
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14558
dir=`echo "X$dep" | sed -e 's/^X-R//'`
14559
if test "$enable_rpath" != no; then
14561
for x in $rpathdirs; do
14562
if test "X$x" = "X$dir"; then
14567
if test -z "$haveit"; then
14568
rpathdirs="$rpathdirs $dir"
14571
for x in $ltrpathdirs; do
14572
if test "X$x" = "X$dir"; then
14577
if test -z "$haveit"; then
14578
ltrpathdirs="$ltrpathdirs $dir"
14583
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14586
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14589
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14590
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14596
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14597
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14603
if test "X$rpathdirs" != "X"; then
14604
if test -n "$hardcode_libdir_separator"; then
14606
for found_dir in $rpathdirs; do
14607
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14609
acl_save_libdir="$libdir"
14611
eval flag=\"$hardcode_libdir_flag_spec\"
14612
libdir="$acl_save_libdir"
14613
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14615
for found_dir in $rpathdirs; do
14616
acl_save_libdir="$libdir"
14617
libdir="$found_dir"
14618
eval flag=\"$hardcode_libdir_flag_spec\"
14619
libdir="$acl_save_libdir"
14620
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14624
if test "X$ltrpathdirs" != "X"; then
14625
for found_dir in $ltrpathdirs; do
14626
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14631
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
14632
if eval \${$gt_func_gnugettext_libintl+:} false; then :
14633
$as_echo_n "(cached) " >&6
14635
gt_save_CPPFLAGS="$CPPFLAGS"
14636
CPPFLAGS="$CPPFLAGS $INCINTL"
14637
gt_save_LIBS="$LIBS"
14638
LIBS="$LIBS $LIBINTL"
14639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640
/* end confdefs.h. */
14641
#include <libintl.h>
14642
$gt_revision_test_code
14643
extern int _nl_msg_cat_cntr;
14648
const char *_nl_expand_alias (const char *);
14652
bindtextdomain ("", "");
14653
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14658
if ac_fn_c_try_link "$LINENO"; then :
14659
eval "$gt_func_gnugettext_libintl=yes"
14661
eval "$gt_func_gnugettext_libintl=no"
14663
rm -f core conftest.err conftest.$ac_objext \
14664
conftest$ac_exeext conftest.$ac_ext
14665
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14666
LIBS="$LIBS $LIBICONV"
14667
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668
/* end confdefs.h. */
14669
#include <libintl.h>
14670
$gt_revision_test_code
14671
extern int _nl_msg_cat_cntr;
14676
const char *_nl_expand_alias (const char *);
14680
bindtextdomain ("", "");
14681
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14686
if ac_fn_c_try_link "$LINENO"; then :
14687
LIBINTL="$LIBINTL $LIBICONV"
14688
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14689
eval "$gt_func_gnugettext_libintl=yes"
14692
rm -f core conftest.err conftest.$ac_objext \
14693
conftest$ac_exeext conftest.$ac_ext
14695
CPPFLAGS="$gt_save_CPPFLAGS"
14696
LIBS="$gt_save_LIBS"
14698
eval ac_res=\$$gt_func_gnugettext_libintl
14699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14700
$as_echo "$ac_res" >&6; }
14703
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14704
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14705
&& test "$PACKAGE" != gettext-runtime \
14706
&& test "$PACKAGE" != gettext-tools; }; then
14707
gt_use_preinstalled_gnugettext=yes
14716
if test -n "$INTL_MACOSX_LIBS"; then
14717
if test "$gt_use_preinstalled_gnugettext" = "yes" \
14718
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
14719
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14720
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14724
if test "$gt_use_preinstalled_gnugettext" = "yes" \
14725
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
14727
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14735
$as_echo_n "checking whether to use NLS... " >&6; }
14736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14737
$as_echo "$USE_NLS" >&6; }
14738
if test "$USE_NLS" = "yes"; then
14739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14740
$as_echo_n "checking where the gettext function comes from... " >&6; }
14741
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14742
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14743
gt_source="external libintl"
14748
gt_source="included intl directory"
14750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14751
$as_echo "$gt_source" >&6; }
14754
if test "$USE_NLS" = "yes"; then
14756
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14757
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14759
$as_echo_n "checking how to link with libintl... " >&6; }
14760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14761
$as_echo "$LIBINTL" >&6; }
14763
for element in $INCINTL; do
14765
for x in $CPPFLAGS; do
14767
acl_save_prefix="$prefix"
14768
prefix="$acl_final_prefix"
14769
acl_save_exec_prefix="$exec_prefix"
14770
exec_prefix="$acl_final_exec_prefix"
14772
exec_prefix="$acl_save_exec_prefix"
14773
prefix="$acl_save_prefix"
14775
if test "X$x" = "X$element"; then
14780
if test -z "$haveit"; then
14781
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14788
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14791
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14800
INTLLIBS="$LIBINTL"
14808
DEFAULT_CFLAGS="-Wall -Wextra -Werror -g0 -fPIC -std=gnu99"
14811
ac_config_files="$ac_config_files Makefile gxneur.desktop src/Makefile pixmaps/Makefile glade/Makefile po/Makefile.in"
14813
cat >confcache <<\_ACEOF
14814
# This file is a shell script that caches the results of configure
14815
# tests run on this system so they can be shared between configure
14816
# scripts and configure runs, see configure's option --config-cache.
14817
# It is not useful on other systems. If it contains results you don't
14818
# want to keep, you may remove or edit it.
14820
# config.status only pays attention to the cache file if you give it
14821
# the --recheck option to rerun configure.
14823
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14824
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14825
# following values.
14829
# The following way of writing the cache mishandles newlines in values,
14830
# but we know of no workaround that is simple, portable, and efficient.
14831
# So, we kill variables containing newlines.
14832
# Ultrix sh set writes to stderr and can't be redirected directly,
14833
# and sets the high bit in the cache file unless we assign to the vars.
14835
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14836
eval ac_val=\$$ac_var
14840
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14841
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14844
_ | IFS | as_nl) ;; #(
14845
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14846
*) { eval $ac_var=; unset $ac_var;} ;;
14852
case $as_nl`(ac_space=' '; set) 2>&1` in #(
14853
*${as_nl}ac_space=\ *)
14854
# `set' does not quote correctly, so add quotes: double-quote
14855
# substitution turns \\\\ into \\, and sed turns \\ into \.
14858
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14861
# `set' quotes correctly as required by POSIX, so do not add quotes.
14862
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14871
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14873
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14875
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14876
if test -w "$cache_file"; then
14877
if test "x$cache_file" != "x/dev/null"; then
14878
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14879
$as_echo "$as_me: updating cache $cache_file" >&6;}
14880
if test ! -f "$cache_file" || test -h "$cache_file"; then
14881
cat confcache >"$cache_file"
14883
case $cache_file in #(
14885
mv -f confcache "$cache_file"$$ &&
14886
mv -f "$cache_file"$$ "$cache_file" ;; #(
14888
mv -f confcache "$cache_file" ;;
14893
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14894
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14899
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14900
# Let make expand exec_prefix.
14901
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14903
DEFS=-DHAVE_CONFIG_H
14908
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14909
# 1. Remove the extension, and $U if already installed.
14910
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14911
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14912
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14913
# will be set to the directory where LIBOBJS objects are built.
14914
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14915
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14917
LIBOBJS=$ac_libobjs
14919
LTLIBOBJS=$ac_ltlibobjs
14922
if test -n "$EXEEXT"; then
14924
am__EXEEXT_FALSE='#'
14926
am__EXEEXT_TRUE='#'
14930
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14931
as_fn_error $? "conditional \"AMDEP\" was never defined.
14932
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14934
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14935
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14936
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14939
: "${CONFIG_STATUS=./config.status}"
14941
ac_clean_files_save=$ac_clean_files
14942
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14943
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14944
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14946
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14948
# Generated by $as_me.
14949
# Run this file to recreate the current configuration.
14950
# Compiler output produced by configure, useful for debugging
14951
# configure, is in config.log if it exists.
14954
ac_cs_recheck=false
14957
SHELL=\${CONFIG_SHELL-$SHELL}
14960
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14961
## -------------------- ##
14962
## M4sh Initialization. ##
14963
## -------------------- ##
14965
# Be more Bourne compatible
14966
DUALCASE=1; export DUALCASE # for MKS sh
14967
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14970
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14971
# is contrary to our usage. Disable this feature.
14972
alias -g '${1+"$@"}'='"$@"'
14973
setopt NO_GLOB_SUBST
14975
case `(set -o) 2>/dev/null` in #(
14987
# Printing a long string crashes Solaris 7 /usr/bin/printf.
14988
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14989
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14990
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14991
# Prefer a ksh shell builtin over an external printf program on Solaris,
14992
# but without wasting forks for bash or zsh.
14993
if test -z "$BASH_VERSION$ZSH_VERSION" \
14994
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14995
as_echo='print -r --'
14996
as_echo_n='print -rn --'
14997
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14998
as_echo='printf %s\n'
14999
as_echo_n='printf %s'
15001
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15002
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15003
as_echo_n='/usr/ucb/echo -n'
15005
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15006
as_echo_n_body='eval
15010
expr "X$arg" : "X\\(.*\\)$as_nl";
15011
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15013
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15015
export as_echo_n_body
15016
as_echo_n='sh -c $as_echo_n_body as_echo'
15018
export as_echo_body
15019
as_echo='sh -c $as_echo_body as_echo'
15022
# The user is always right.
15023
if test "${PATH_SEPARATOR+set}" != set; then
15025
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15026
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15033
# We need space, tab and new line, in precisely that order. Quoting is
15034
# there to prevent editors from complaining about space-tab.
15035
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15036
# splitting by setting IFS to empty value.)
15039
# Find who we are. Look in the path if we contain no directory separator.
15042
*[\\/]* ) as_myself=$0 ;;
15043
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15044
for as_dir in $PATH
15047
test -z "$as_dir" && as_dir=.
15048
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15054
# We did not find ourselves, most probably we were run as `sh COMMAND'
15055
# in which case we are not to be found in the path.
15056
if test "x$as_myself" = x; then
15059
if test ! -f "$as_myself"; then
15060
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15064
# Unset variables that we do not need and which cause bugs (e.g. in
15065
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15066
# suppresses any "Segmentation fault" message there. '((' could
15067
# trigger a bug in pdksh 5.2.14.
15068
for as_var in BASH_ENV ENV MAIL MAILPATH
15069
do eval test x\${$as_var+set} = xset \
15070
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15083
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15086
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15087
# ----------------------------------------
15088
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15089
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15090
# script with STATUS, using 1 if that was 0.
15093
as_status=$1; test $as_status -eq 0 && as_status=1
15095
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15096
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15098
$as_echo "$as_me: error: $2" >&2
15099
as_fn_exit $as_status
15103
# as_fn_set_status STATUS
15104
# -----------------------
15105
# Set $? to STATUS, without forking.
15106
as_fn_set_status ()
15109
} # as_fn_set_status
15111
# as_fn_exit STATUS
15112
# -----------------
15113
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15117
as_fn_set_status $1
15123
# Portably unset VAR.
15126
{ eval $1=; unset $1;}
15128
as_unset=as_fn_unset
15129
# as_fn_append VAR VALUE
15130
# ----------------------
15131
# Append the text in VALUE to the end of the definition contained in VAR. Take
15132
# advantage of any shell optimizations that allow amortized linear growth over
15133
# repeated appends, instead of the typical quadratic growth present in naive
15135
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15136
eval 'as_fn_append ()
15147
# as_fn_arith ARG...
15148
# ------------------
15149
# Perform arithmetic evaluation on the ARGs, and store the result in the
15150
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15151
# must be portable across $(()) and expr.
15152
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15153
eval 'as_fn_arith ()
15160
as_val=`expr "$@" || test $? -eq 1`
15165
if expr a : '\(a\)' >/dev/null 2>&1 &&
15166
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15172
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15173
as_basename=basename
15178
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15184
as_me=`$as_basename -- "$0" ||
15185
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15186
X"$0" : 'X\(//\)$' \| \
15187
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15189
sed '/^.*\/\([^/][^/]*\)\/*$/{
15203
# Avoid depending upon Character Ranges.
15204
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15205
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15206
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15207
as_cr_digits='0123456789'
15208
as_cr_alnum=$as_cr_Letters$as_cr_digits
15210
ECHO_C= ECHO_N= ECHO_T=
15211
case `echo -n x` in #(((((
15213
case `echo 'xy\c'` in
15214
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15216
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15223
rm -f conf$$ conf$$.exe conf$$.file
15224
if test -d conf$$.dir; then
15225
rm -f conf$$.dir/conf$$.file
15228
mkdir conf$$.dir 2>/dev/null
15230
if (echo >conf$$.file) 2>/dev/null; then
15231
if ln -s conf$$.file conf$$ 2>/dev/null; then
15233
# ... but there are two gotchas:
15234
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15235
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15236
# In both cases, we have to default to `cp -p'.
15237
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15239
elif ln conf$$.file conf$$ 2>/dev/null; then
15247
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15248
rmdir conf$$.dir 2>/dev/null
15253
# Create "$as_dir" as a directory, including parents if necessary.
15258
-*) as_dir=./$as_dir;;
15260
test -d "$as_dir" || eval $as_mkdir_p || {
15264
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15265
*) as_qdir=$as_dir;;
15267
as_dirs="'$as_qdir' $as_dirs"
15268
as_dir=`$as_dirname -- "$as_dir" ||
15269
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15270
X"$as_dir" : 'X\(//\)[^/]' \| \
15271
X"$as_dir" : 'X\(//\)$' \| \
15272
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15273
$as_echo X"$as_dir" |
15274
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15278
/^X\(\/\/\)[^/].*/{
15291
test -d "$as_dir" && break
15293
test -z "$as_dirs" || eval "mkdir $as_dirs"
15294
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15298
if mkdir -p . 2>/dev/null; then
15299
as_mkdir_p='mkdir -p "$as_dir"'
15301
test -d ./-p && rmdir ./-p
15305
if test -x / >/dev/null 2>&1; then
15306
as_test_x='test -x'
15308
if ls -dL / >/dev/null 2>&1; then
15315
if test -d "$1"; then
15321
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15322
???[sx]*):;;*)false;;esac;fi
15326
as_executable_p=$as_test_x
15328
# Sed expression to map a string onto a valid CPP name.
15329
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15331
# Sed expression to map a string onto a valid variable name.
15332
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15336
## ----------------------------------- ##
15337
## Main body of $CONFIG_STATUS script. ##
15338
## ----------------------------------- ##
15340
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15342
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15343
# Save the log message, to keep $0 and so on meaningful, and to
15344
# report actual input values of CONFIG_FILES etc. instead of their
15345
# values after options handling.
15347
This file was extended by $as_me, which was
15348
generated by GNU Autoconf 2.68. Invocation command line was
15350
CONFIG_FILES = $CONFIG_FILES
15351
CONFIG_HEADERS = $CONFIG_HEADERS
15352
CONFIG_LINKS = $CONFIG_LINKS
15353
CONFIG_COMMANDS = $CONFIG_COMMANDS
15356
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15361
case $ac_config_files in *"
15362
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15365
case $ac_config_headers in *"
15366
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15370
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15371
# Files that config.status was made for.
15372
config_files="$ac_config_files"
15373
config_headers="$ac_config_headers"
15374
config_commands="$ac_config_commands"
15378
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15380
\`$as_me' instantiates files and other configuration actions
15381
from templates according to the current configuration. Unless the files
15382
and actions are specified as TAGs, all are instantiated by default.
15384
Usage: $0 [OPTION]... [TAG]...
15386
-h, --help print this help, then exit
15387
-V, --version print version number and configuration settings, then exit
15388
--config print configuration, then exit
15389
-q, --quiet, --silent
15390
do not print progress messages
15391
-d, --debug don't remove temporary files
15392
--recheck update $as_me by reconfiguring in the same conditions
15393
--file=FILE[:TEMPLATE]
15394
instantiate the configuration file FILE
15395
--header=FILE[:TEMPLATE]
15396
instantiate the configuration header FILE
15398
Configuration files:
15401
Configuration headers:
15404
Configuration commands:
15407
Report bugs to the package provider."
15410
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15411
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15414
configured by $0, generated by GNU Autoconf 2.68,
15415
with options \\"\$ac_cs_config\\"
15417
Copyright (C) 2010 Free Software Foundation, Inc.
15418
This config.status script is free software; the Free Software Foundation
15419
gives unlimited permission to copy, distribute and modify it."
15426
test -n "\$AWK" || AWK=awk
15429
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15430
# The default lists apply if the user does not specify any file.
15436
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15437
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15441
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15453
# Handling of the options.
15454
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15456
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15457
$as_echo "$ac_cs_version"; exit ;;
15458
--config | --confi | --conf | --con | --co | --c )
15459
$as_echo "$ac_cs_config"; exit ;;
15460
--debug | --debu | --deb | --de | --d | -d )
15462
--file | --fil | --fi | --f )
15465
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15466
'') as_fn_error $? "missing file argument" ;;
15468
as_fn_append CONFIG_FILES " '$ac_optarg'"
15469
ac_need_defaults=false;;
15470
--header | --heade | --head | --hea )
15473
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15475
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15476
ac_need_defaults=false;;
15478
# Conflict between --help and --header
15479
as_fn_error $? "ambiguous option: \`$1'
15480
Try \`$0 --help' for more information.";;
15481
--help | --hel | -h )
15482
$as_echo "$ac_cs_usage"; exit ;;
15483
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15484
| -silent | --silent | --silen | --sile | --sil | --si | --s)
15487
# This is an error.
15488
-*) as_fn_error $? "unrecognized option: \`$1'
15489
Try \`$0 --help' for more information." ;;
15491
*) as_fn_append ac_config_targets " $1"
15492
ac_need_defaults=false ;;
15498
ac_configure_extra_args=
15500
if $ac_cs_silent; then
15502
ac_configure_extra_args="$ac_configure_extra_args --silent"
15506
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15507
if \$ac_cs_recheck; then
15508
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15510
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15511
CONFIG_SHELL='$SHELL'
15512
export CONFIG_SHELL
15517
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15521
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15522
## Running $as_me. ##
15528
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15532
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15535
# The HP-UX ksh and POSIX shell print the target directory to stdout
15536
# if CDPATH is set.
15537
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15539
sed_quote_subst='$sed_quote_subst'
15540
double_quote_subst='$double_quote_subst'
15541
delay_variable_subst='$delay_variable_subst'
15542
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15543
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15544
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15545
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15546
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15547
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15548
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15549
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15550
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15551
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15552
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15553
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15554
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15555
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15556
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15557
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15558
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15559
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15560
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15561
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15562
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15563
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15564
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15565
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15566
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15567
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15568
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15569
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15570
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15571
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15572
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15573
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15574
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15575
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15576
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15577
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15578
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15579
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15580
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15581
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15582
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15583
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15584
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15585
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15586
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15587
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15588
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15589
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15590
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15591
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15592
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15593
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15594
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15595
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15596
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15597
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"`'
15598
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15599
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15600
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15601
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15602
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15603
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15604
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15605
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15606
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15607
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15608
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15609
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15610
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15611
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15612
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15613
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15614
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15615
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15616
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15617
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15618
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15619
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15620
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15621
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15622
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15623
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15624
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15625
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15626
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15627
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15628
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15629
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15630
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15631
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15632
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15633
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15634
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15635
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15636
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15637
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15638
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15639
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15640
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15641
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15642
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15643
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15644
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15645
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15646
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15647
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15648
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15649
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15650
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15651
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15652
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15653
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15654
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15655
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15656
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15657
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15658
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15659
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15660
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15661
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15662
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15663
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15664
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15665
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15666
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15667
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15668
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15669
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15670
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15671
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15674
LTCFLAGS='$LTCFLAGS'
15675
compiler='$compiler_DEFAULT'
15677
# A function that is used when there is no print builtin or printf.
15678
func_fallback_echo ()
15680
eval 'cat <<_LTECHO_EOF
15685
# Quote evaled strings.
15699
deplibs_check_method \
15704
sharedlib_from_linklib_cmd \
15707
archiver_list_spec \
15713
lt_cv_sys_global_symbol_pipe \
15714
lt_cv_sys_global_symbol_to_cdecl \
15715
lt_cv_sys_global_symbol_to_c_name_address \
15716
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15717
nm_file_list_spec \
15718
lt_prog_compiler_no_builtin_flag \
15719
lt_prog_compiler_pic \
15720
lt_prog_compiler_wl \
15721
lt_prog_compiler_static \
15722
lt_cv_prog_compiler_c_o \
15731
export_dynamic_flag_spec \
15732
whole_archive_flag_spec \
15733
compiler_needs_object \
15735
allow_undefined_flag \
15736
no_undefined_flag \
15737
hardcode_libdir_flag_spec \
15738
hardcode_libdir_flag_spec_ld \
15739
hardcode_libdir_separator \
15743
variables_saved_for_relink \
15745
library_names_spec \
15747
install_override_mode \
15751
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15752
*[\\\\\\\`\\"\\\$]*)
15753
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15756
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15761
# Double-quote double-evaled strings.
15762
for var in reload_cmds \
15763
old_postinstall_cmds \
15764
old_postuninstall_cmds \
15766
extract_expsyms_cmds \
15767
old_archive_from_new_cmds \
15768
old_archive_from_expsyms_cmds \
15770
archive_expsym_cmds \
15772
module_expsym_cmds \
15773
export_symbols_cmds \
15777
postuninstall_cmds \
15779
sys_lib_search_path_spec \
15780
sys_lib_dlsearch_path_spec; do
15781
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15782
*[\\\\\\\`\\"\\\$]*)
15783
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15786
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15791
ac_aux_dir='$ac_aux_dir'
15792
xsi_shell='$xsi_shell'
15793
lt_shell_append='$lt_shell_append'
15795
# See if we are running on zsh, and set the options which allow our
15796
# commands through without removal of \ escapes INIT.
15797
if test -n "\${ZSH_VERSION+set}" ; then
15798
setopt NO_GLOB_SUBST
15804
TIMESTAMP='$TIMESTAMP'
15810
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
15811
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
15812
# from automake < 1.5.
15813
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15814
# Capture the value of LINGUAS because we need it to compute CATALOGS.
15815
LINGUAS="${LINGUAS-%UNSET%}"
15820
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15822
# Handling of arguments.
15823
for ac_config_target in $ac_config_targets
15825
case $ac_config_target in
15826
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15827
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15828
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15829
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
15830
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15831
"gxneur.desktop") CONFIG_FILES="$CONFIG_FILES gxneur.desktop" ;;
15832
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15833
"pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
15834
"glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
15835
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15837
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15842
# If the user did not use the arguments to specify the items to instantiate,
15843
# then the envvar interface is used. Set only those that are not.
15844
# We use the long form for the default assignment because of an extremely
15845
# bizarre bug on SunOS 4.1.3.
15846
if $ac_need_defaults; then
15847
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15848
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15849
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15852
# Have a temporary directory for convenience. Make it in the build tree
15853
# simply because there is no reason against having it here, and in addition,
15854
# creating and moving files from /tmp can sometimes cause problems.
15855
# Hook for its removal unless debugging.
15856
# Note that there is a small window in which the directory will not be cleaned:
15857
# after its creation but before its name has been assigned to `$tmp'.
15861
trap 'exit_status=$?
15862
: "${ac_tmp:=$tmp}"
15863
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15865
trap 'as_fn_exit 1' 1 2 13 15
15867
# Create a (secure) tmp directory for tmp files.
15870
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15874
tmp=./conf$$-$RANDOM
15875
(umask 077 && mkdir "$tmp")
15876
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15879
# Set up the scripts for CONFIG_FILES section.
15880
# No need to generate them if there are no CONFIG_FILES.
15881
# This happens for instance with `./config.status config.h'.
15882
if test -n "$CONFIG_FILES"; then
15885
ac_cr=`echo X | tr X '\015'`
15886
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15887
# But we know of no other shell where ac_cr would be empty at this
15888
# point, so we can use a bashism as a fallback.
15889
if test "x$ac_cr" = x; then
15890
eval ac_cr=\$\'\\r\'
15892
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15893
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15896
ac_cs_awk_cr=$ac_cr
15899
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15904
echo "cat >conf$$subs.awk <<_ACEOF" &&
15905
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15907
} >conf$$subs.sh ||
15908
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15909
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15911
for ac_last_try in false false false false false :; do
15912
. ./conf$$subs.sh ||
15913
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15915
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15916
if test $ac_delim_n = $ac_delim_num; then
15918
elif $ac_last_try; then
15919
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15921
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15924
rm -f conf$$subs.sh
15926
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15927
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15931
s/^/S["/; s/!.*/"]=/
15941
s/\(.\{148\}\)..*/\1/
15943
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15948
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15955
s/\(.\{148\}\)..*/\1/
15957
s/["\\]/\\&/g; s/^/"/; s/$/"/
15961
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15966
' <conf$$subs.awk | sed '
15971
' >>$CONFIG_STATUS || ac_write_fail=1
15972
rm -f conf$$subs.awk
15973
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15975
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15976
for (key in S) S_is_set[key] = 1
15982
nfields = split(line, field, "@")
15984
len = length(field[1])
15985
for (i = 2; i < nfields; i++) {
15987
keylen = length(key)
15988
if (S_is_set[key]) {
15990
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15991
len += length(value) + length(field[++i])
16002
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16003
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16004
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16007
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16008
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16011
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16012
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16013
# trailing colons and then remove the whole line if VPATH becomes empty
16014
# (actually we leave an empty line to preserve line numbers).
16015
if test "x$srcdir" = x.; then
16016
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16034
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16035
fi # test -n "$CONFIG_FILES"
16037
# Set up the scripts for CONFIG_HEADERS section.
16038
# No need to generate them if there are no CONFIG_HEADERS.
16039
# This happens for instance with `./config.status Makefile'.
16040
if test -n "$CONFIG_HEADERS"; then
16041
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16045
# Transform confdefs.h into an awk script `defines.awk', embedded as
16046
# here-document in config.status, that substitutes the proper values into
16047
# config.h.in to produce config.h.
16049
# Create a delimiter string that does not exist in confdefs.h, to ease
16050
# handling of long lines.
16052
for ac_last_try in false false :; do
16053
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16054
if test -z "$ac_tt"; then
16056
elif $ac_last_try; then
16057
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16059
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16063
# For the awk script, D is an array of macro values keyed by name,
16064
# likewise P contains macro parameters if any. Preserve backslash
16065
# newline sequences.
16067
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16069
s/.\{148\}/&'"$ac_delim"'/g
16072
s/^[ ]*#[ ]*define[ ][ ]*/ /
16079
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16081
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16085
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16086
D["\1"]=" \3\\\\\\n"\\/p
16088
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16093
s/.\{148\}/&'"$ac_delim"'/g
16098
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16101
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16103
' <confdefs.h | sed '
16104
s/'"$ac_delim"'/"\\\
16105
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16107
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16108
for (key in D) D_is_set[key] = 1
16111
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16113
split(line, arg, " ")
16114
if (arg[1] == "#") {
16118
defundef = substr(arg[1], 2)
16121
split(mac1, mac2, "(") #)
16123
prefix = substr(line, 1, index(line, defundef) - 1)
16124
if (D_is_set[macro]) {
16125
# Preserve the white space surrounding the "#".
16126
print prefix "define", macro P[macro] D[macro]
16129
# Replace #undef with comments. This is necessary, for example,
16130
# in the case of _POSIX_SOURCE, which is predefined and required
16131
# on some systems where configure will not decide to define it.
16132
if (defundef == "undef") {
16133
print "/*", prefix defundef, macro, "*/"
16141
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16142
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16143
fi # test -n "$CONFIG_HEADERS"
16146
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16151
:[FHLC]) ac_mode=$ac_tag; continue;;
16153
case $ac_mode$ac_tag in
16155
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16156
:[FH]-) ac_tag=-:-;;
16157
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16174
-) ac_f="$ac_tmp/stdin";;
16175
*) # Look for the file first in the build tree, then in the source tree
16176
# (if the path is not absolute). The absolute path cannot be DOS-style,
16177
# because $ac_f cannot contain `:'.
16181
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16183
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16185
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16186
as_fn_append ac_file_inputs " '$ac_f'"
16189
# Let's still pretend it is `configure' which instantiates (i.e., don't
16190
# use $as_me), people would be surprised to read:
16191
# /* config.h. Generated by config.status. */
16192
configure_input='Generated from '`
16193
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16195
if test x"$ac_file" != x-; then
16196
configure_input="$ac_file. $configure_input"
16197
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16198
$as_echo "$as_me: creating $ac_file" >&6;}
16200
# Neutralize special characters interpreted by sed in replacement strings.
16201
case $configure_input in #(
16202
*\&* | *\|* | *\\* )
16203
ac_sed_conf_input=`$as_echo "$configure_input" |
16204
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16205
*) ac_sed_conf_input=$configure_input;;
16209
*:-:* | *:-) cat >"$ac_tmp/stdin" \
16210
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16215
ac_dir=`$as_dirname -- "$ac_file" ||
16216
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16217
X"$ac_file" : 'X\(//\)[^/]' \| \
16218
X"$ac_file" : 'X\(//\)$' \| \
16219
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16220
$as_echo X"$ac_file" |
16221
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16225
/^X\(\/\/\)[^/].*/{
16238
as_dir="$ac_dir"; as_fn_mkdir_p
16242
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16244
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16245
# A ".." for each directory in $ac_dir_suffix.
16246
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16247
case $ac_top_builddir_sub in
16248
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16249
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16252
ac_abs_top_builddir=$ac_pwd
16253
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16254
# for backward compatibility:
16255
ac_top_builddir=$ac_top_build_prefix
16258
.) # We are building in place.
16260
ac_top_srcdir=$ac_top_builddir_sub
16261
ac_abs_top_srcdir=$ac_pwd ;;
16262
[\\/]* | ?:[\\/]* ) # Absolute name.
16263
ac_srcdir=$srcdir$ac_dir_suffix;
16264
ac_top_srcdir=$srcdir
16265
ac_abs_top_srcdir=$srcdir ;;
16266
*) # Relative name.
16267
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16268
ac_top_srcdir=$ac_top_build_prefix$srcdir
16269
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16271
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16281
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16282
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16284
ac_MKDIR_P=$MKDIR_P
16286
[\\/$]* | ?:[\\/]* ) ;;
16287
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16291
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16292
# If the template does not know about datarootdir, expand it.
16293
# FIXME: This hack should be removed a few years after 2.60.
16294
ac_datarootdir_hack=; ac_datarootdir_seen=
16305
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16306
*datarootdir*) ac_datarootdir_seen=yes;;
16307
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16308
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16309
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16311
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16312
ac_datarootdir_hack='
16313
s&@datadir@&$datadir&g
16314
s&@docdir@&$docdir&g
16315
s&@infodir@&$infodir&g
16316
s&@localedir@&$localedir&g
16317
s&@mandir@&$mandir&g
16318
s&\\\${datarootdir}&$datarootdir&g' ;;
16322
# Neutralize VPATH when `$srcdir' = `.'.
16323
# Shell code in configure.ac might set extrasub.
16324
# FIXME: do we really want to maintain this feature?
16325
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16326
ac_sed_extra="$ac_vpsub
16329
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16331
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16332
s|@configure_input@|$ac_sed_conf_input|;t t
16333
s&@top_builddir@&$ac_top_builddir_sub&;t t
16334
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16335
s&@srcdir@&$ac_srcdir&;t t
16336
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16337
s&@top_srcdir@&$ac_top_srcdir&;t t
16338
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16339
s&@builddir@&$ac_builddir&;t t
16340
s&@abs_builddir@&$ac_abs_builddir&;t t
16341
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16342
s&@INSTALL@&$ac_INSTALL&;t t
16343
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16344
$ac_datarootdir_hack
16346
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16347
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16349
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16350
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16351
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16352
"$ac_tmp/out"`; test -z "$ac_out"; } &&
16353
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16354
which seems to be undefined. Please make sure it is defined" >&5
16355
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16356
which seems to be undefined. Please make sure it is defined" >&2;}
16358
rm -f "$ac_tmp/stdin"
16360
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16361
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16363
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16369
if test x"$ac_file" != x-; then
16371
$as_echo "/* $configure_input */" \
16372
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16373
} >"$ac_tmp/config.h" \
16374
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16375
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16376
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16377
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16380
mv "$ac_tmp/config.h" "$ac_file" \
16381
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16384
$as_echo "/* $configure_input */" \
16385
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16386
|| as_fn_error $? "could not create -" "$LINENO" 5
16388
# Compute "$ac_file"'s index in $config_headers.
16391
for _am_header in $config_headers :; do
16392
case $_am_header in
16393
$_am_arg | $_am_arg:* )
16396
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
16399
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16400
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16401
X"$_am_arg" : 'X\(//\)[^/]' \| \
16402
X"$_am_arg" : 'X\(//\)$' \| \
16403
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16404
$as_echo X"$_am_arg" |
16405
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16409
/^X\(\/\/\)[^/].*/{
16421
s/.*/./; q'`/stamp-h$_am_stamp_count
16424
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16425
$as_echo "$as_me: executing $ac_file commands" >&6;}
16430
case $ac_file$ac_mode in
16431
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16432
# Autoconf 2.62 quotes --file arguments for eval, but not when files
16433
# are listed without --file. Let's play safe and only enable the eval
16434
# if we detect the quoting.
16435
case $CONFIG_FILES in
16436
*\'*) eval set x "$CONFIG_FILES" ;;
16437
*) set x $CONFIG_FILES ;;
16442
# Strip MF so we end up with the name of the file.
16443
mf=`echo "$mf" | sed -e 's/:.*$//'`
16444
# Check whether this is an Automake generated Makefile or not.
16445
# We used to match only the files named `Makefile.in', but
16446
# some people rename them; so instead we look at the file content.
16447
# Grep'ing the first line is not enough: some people post-process
16448
# each Makefile.in and add a new line on top of each file to say so.
16449
# Grep'ing the whole file is not good either: AIX grep has a line
16450
# limit of 2048, but all sed's we know have understand at least 4000.
16451
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16452
dirpart=`$as_dirname -- "$mf" ||
16453
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16454
X"$mf" : 'X\(//\)[^/]' \| \
16455
X"$mf" : 'X\(//\)$' \| \
16456
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16458
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16462
/^X\(\/\/\)[^/].*/{
16478
# Extract the definition of DEPDIR, am__include, and am__quote
16479
# from the Makefile without running `make'.
16480
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16481
test -z "$DEPDIR" && continue
16482
am__include=`sed -n 's/^am__include = //p' < "$mf"`
16483
test -z "am__include" && continue
16484
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16485
# When using ansi2knr, U may be empty or an underscore; expand it
16486
U=`sed -n 's/^U = //p' < "$mf"`
16487
# Find all dependency output files, they are included files with
16488
# $(DEPDIR) in their names. We invoke sed twice because it is the
16489
# simplest approach to changing $(DEPDIR) to its actual value in the
16491
for file in `sed -n "
16492
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16493
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16494
# Make sure the directory exists.
16495
test -f "$dirpart/$file" && continue
16496
fdir=`$as_dirname -- "$file" ||
16497
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16498
X"$file" : 'X\(//\)[^/]' \| \
16499
X"$file" : 'X\(//\)$' \| \
16500
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16501
$as_echo X"$file" |
16502
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16506
/^X\(\/\/\)[^/].*/{
16519
as_dir=$dirpart/$fdir; as_fn_mkdir_p
16520
# echo "creating $dirpart/$file"
16521
echo '# dummy' > "$dirpart/$file"
16528
# See if we are running on zsh, and set the options which allow our
16529
# commands through without removal of \ escapes.
16530
if test -n "${ZSH_VERSION+set}" ; then
16531
setopt NO_GLOB_SUBST
16534
cfgfile="${ofile}T"
16535
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16538
cat <<_LT_EOF >> "$cfgfile"
16541
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16542
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16543
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16544
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16546
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16547
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16549
# Written by Gordon Matzigkeit, 1996
16551
# This file is part of GNU Libtool.
16553
# GNU Libtool is free software; you can redistribute it and/or
16554
# modify it under the terms of the GNU General Public License as
16555
# published by the Free Software Foundation; either version 2 of
16556
# the License, or (at your option) any later version.
16558
# As a special exception to the GNU General Public License,
16559
# if you distribute this file as part of a program or library that
16560
# is built using GNU Libtool, you may include this file under the
16561
# same distribution terms that you use for the rest of that program.
16563
# GNU Libtool is distributed in the hope that it will be useful,
16564
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16565
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16566
# GNU General Public License for more details.
16568
# You should have received a copy of the GNU General Public License
16569
# along with GNU Libtool; see the file COPYING. If not, a copy
16570
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16571
# obtained by writing to the Free Software Foundation, Inc.,
16572
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16575
# The names of the tagged configurations supported by this script.
16578
# ### BEGIN LIBTOOL CONFIG
16580
# Which release of libtool.m4 was used?
16581
macro_version=$macro_version
16582
macro_revision=$macro_revision
16584
# Whether or not to build shared libraries.
16585
build_libtool_libs=$enable_shared
16587
# Whether or not to build static libraries.
16588
build_old_libs=$enable_static
16590
# What type of objects to build.
16593
# Whether or not to optimize for fast installation.
16594
fast_install=$enable_fast_install
16596
# Shell to use when invoking shell scripts.
16599
# An echo program that protects backslashes.
16603
host_alias=$host_alias
16607
# The build system.
16608
build_alias=$build_alias
16612
# A sed program that does not truncate output.
16615
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16616
Xsed="\$SED -e 1s/^X//"
16618
# A grep program that handles long lines.
16624
# A literal string matcher.
16627
# A BSD- or MS-compatible name lister.
16630
# Whether we need soft or hard links.
16633
# What is the maximum length of a command?
16634
max_cmd_len=$max_cmd_len
16636
# Object file suffix (normally "o").
16639
# Executable file suffix (normally "").
16642
# whether the shell understands "unset".
16645
# turn spaces into newlines.
16648
# turn newlines into spaces.
16651
# convert \$build file names to \$host format.
16652
to_host_file_cmd=$lt_cv_to_host_file_cmd
16654
# convert \$build files to toolchain format.
16655
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16657
# An object symbol dumper.
16658
OBJDUMP=$lt_OBJDUMP
16660
# Method to check whether dependent libraries are shared objects.
16661
deplibs_check_method=$lt_deplibs_check_method
16663
# Command to use when deplibs_check_method = "file_magic".
16664
file_magic_cmd=$lt_file_magic_cmd
16666
# How to find potential files when deplibs_check_method = "file_magic".
16667
file_magic_glob=$lt_file_magic_glob
16669
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16670
want_nocaseglob=$lt_want_nocaseglob
16672
# DLL creation program.
16673
DLLTOOL=$lt_DLLTOOL
16675
# Command to associate shared and link libraries.
16676
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16681
# Flags to create an archive.
16682
AR_FLAGS=$lt_AR_FLAGS
16684
# How to feed a file listing to the archiver.
16685
archiver_list_spec=$lt_archiver_list_spec
16687
# A symbol stripping program.
16690
# Commands used to install an old-style archive.
16692
old_postinstall_cmds=$lt_old_postinstall_cmds
16693
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16695
# Whether to use a lock for old archive extraction.
16696
lock_old_archive_extraction=$lock_old_archive_extraction
16701
# LTCC compiler flags.
16702
LTCFLAGS=$lt_CFLAGS
16704
# Take the output of nm and produce a listing of raw symbols and C names.
16705
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16707
# Transform the output of nm in a proper C declaration.
16708
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16710
# Transform the output of nm in a C name address pair.
16711
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16713
# Transform the output of nm in a C name address pair when lib prefix is needed.
16714
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16716
# Specify filename containing input files for \$NM.
16717
nm_file_list_spec=$lt_nm_file_list_spec
16719
# The root where to search for dependent libraries,and in which our libraries should be installed.
16720
lt_sysroot=$lt_sysroot
16722
# The name of the directory that contains temporary libtool files.
16725
# Used to examine libraries when file_magic_cmd begins with "file".
16726
MAGIC_CMD=$MAGIC_CMD
16728
# Must we lock files when doing compilation?
16729
need_locks=$lt_need_locks
16732
MANIFEST_TOOL=$lt_MANIFEST_TOOL
16734
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16735
DSYMUTIL=$lt_DSYMUTIL
16737
# Tool to change global to local symbols on Mac OS X.
16740
# Tool to manipulate fat objects and archives on Mac OS X.
16743
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16746
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16747
OTOOL64=$lt_OTOOL64
16749
# Old archive suffix (normally "a").
16752
# Shared library suffix (normally ".so").
16753
shrext_cmds=$lt_shrext_cmds
16755
# The commands to extract the exported symbol list from a shared archive.
16756
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16758
# Variables whose values should be saved in libtool wrapper scripts and
16759
# restored at link time.
16760
variables_saved_for_relink=$lt_variables_saved_for_relink
16762
# Do we need the "lib" prefix for modules?
16763
need_lib_prefix=$need_lib_prefix
16765
# Do we need a version for libraries?
16766
need_version=$need_version
16768
# Library versioning type.
16769
version_type=$version_type
16771
# Shared library runtime path variable.
16772
runpath_var=$runpath_var
16774
# Shared library path variable.
16775
shlibpath_var=$shlibpath_var
16777
# Is shlibpath searched before the hard-coded library search path?
16778
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16780
# Format of library name prefix.
16781
libname_spec=$lt_libname_spec
16783
# List of archive names. First name is the real one, the rest are links.
16784
# The last name is the one that the linker finds with -lNAME
16785
library_names_spec=$lt_library_names_spec
16787
# The coded name of the library, if different from the real name.
16788
soname_spec=$lt_soname_spec
16790
# Permission mode override for installation of shared libraries.
16791
install_override_mode=$lt_install_override_mode
16793
# Command to use after installation of a shared archive.
16794
postinstall_cmds=$lt_postinstall_cmds
16796
# Command to use after uninstallation of a shared archive.
16797
postuninstall_cmds=$lt_postuninstall_cmds
16799
# Commands used to finish a libtool library installation in a directory.
16800
finish_cmds=$lt_finish_cmds
16802
# As "finish_cmds", except a single script fragment to be evaled but
16804
finish_eval=$lt_finish_eval
16806
# Whether we should hardcode library paths into libraries.
16807
hardcode_into_libs=$hardcode_into_libs
16809
# Compile-time system search path for libraries.
16810
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16812
# Run-time system search path for libraries.
16813
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16815
# Whether dlopen is supported.
16816
dlopen_support=$enable_dlopen
16818
# Whether dlopen of programs is supported.
16819
dlopen_self=$enable_dlopen_self
16821
# Whether dlopen of statically linked programs is supported.
16822
dlopen_self_static=$enable_dlopen_self_static
16824
# Commands to strip libraries.
16825
old_striplib=$lt_old_striplib
16826
striplib=$lt_striplib
16829
# The linker used to build libraries.
16832
# How to create reloadable object files.
16833
reload_flag=$lt_reload_flag
16834
reload_cmds=$lt_reload_cmds
16836
# Commands used to build an old-style archive.
16837
old_archive_cmds=$lt_old_archive_cmds
16839
# A language specific compiler.
16842
# Is the compiler the GNU compiler?
16845
# Compiler flag to turn off builtin functions.
16846
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16848
# Additional compiler flags for building library objects.
16849
pic_flag=$lt_lt_prog_compiler_pic
16851
# How to pass a linker flag through the compiler.
16852
wl=$lt_lt_prog_compiler_wl
16854
# Compiler flag to prevent dynamic linking.
16855
link_static_flag=$lt_lt_prog_compiler_static
16857
# Does compiler simultaneously support -c and -o options?
16858
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16860
# Whether or not to add -lc for building shared libraries.
16861
build_libtool_need_lc=$archive_cmds_need_lc
16863
# Whether or not to disallow shared libs when runtime libs are static.
16864
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16866
# Compiler flag to allow reflexive dlopens.
16867
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16869
# Compiler flag to generate shared objects directly from archives.
16870
whole_archive_flag_spec=$lt_whole_archive_flag_spec
16872
# Whether the compiler copes with passing no objects directly.
16873
compiler_needs_object=$lt_compiler_needs_object
16875
# Create an old-style archive from a shared archive.
16876
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16878
# Create a temporary old-style archive to link instead of a shared archive.
16879
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16881
# Commands used to build a shared archive.
16882
archive_cmds=$lt_archive_cmds
16883
archive_expsym_cmds=$lt_archive_expsym_cmds
16885
# Commands used to build a loadable module if different from building
16886
# a shared archive.
16887
module_cmds=$lt_module_cmds
16888
module_expsym_cmds=$lt_module_expsym_cmds
16890
# Whether we are building with GNU ld or not.
16891
with_gnu_ld=$lt_with_gnu_ld
16893
# Flag that allows shared libraries with undefined symbols to be built.
16894
allow_undefined_flag=$lt_allow_undefined_flag
16896
# Flag that enforces no undefined symbols.
16897
no_undefined_flag=$lt_no_undefined_flag
16899
# Flag to hardcode \$libdir into a binary during linking.
16900
# This must work even if \$libdir does not exist
16901
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16903
# If ld is used when linking, flag to hardcode \$libdir into a binary
16904
# during linking. This must work even if \$libdir does not exist.
16905
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16907
# Whether we need a single "-rpath" flag with a separated argument.
16908
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16910
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16911
# DIR into the resulting binary.
16912
hardcode_direct=$hardcode_direct
16914
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16915
# DIR into the resulting binary and the resulting library dependency is
16916
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16917
# library is relocated.
16918
hardcode_direct_absolute=$hardcode_direct_absolute
16920
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16921
# into the resulting binary.
16922
hardcode_minus_L=$hardcode_minus_L
16924
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16925
# into the resulting binary.
16926
hardcode_shlibpath_var=$hardcode_shlibpath_var
16928
# Set to "yes" if building a shared library automatically hardcodes DIR
16929
# into the library and all subsequent libraries and executables linked
16931
hardcode_automatic=$hardcode_automatic
16933
# Set to yes if linker adds runtime paths of dependent libraries
16934
# to runtime path list.
16935
inherit_rpath=$inherit_rpath
16937
# Whether libtool must link a program against all its dependency libraries.
16938
link_all_deplibs=$link_all_deplibs
16940
# Set to "yes" if exported symbols are required.
16941
always_export_symbols=$always_export_symbols
16943
# The commands to list exported symbols.
16944
export_symbols_cmds=$lt_export_symbols_cmds
16946
# Symbols that should not be listed in the preloaded symbols.
16947
exclude_expsyms=$lt_exclude_expsyms
16949
# Symbols that must always be exported.
16950
include_expsyms=$lt_include_expsyms
16952
# Commands necessary for linking programs (against libraries) with templates.
16953
prelink_cmds=$lt_prelink_cmds
16955
# Commands necessary for finishing linking programs.
16956
postlink_cmds=$lt_postlink_cmds
16958
# Specify filename containing input files.
16959
file_list_spec=$lt_file_list_spec
16961
# How to hardcode a shared library path into an executable.
16962
hardcode_action=$hardcode_action
16964
# ### END LIBTOOL CONFIG
16970
cat <<\_LT_EOF >> "$cfgfile"
16971
# AIX sometimes has problems with the GCC collect2 program. For some
16972
# reason, if we set the COLLECT_NAMES environment variable, the problems
16973
# vanish in a puff of smoke.
16974
if test "X${COLLECT_NAMES+set}" != Xset; then
16976
export COLLECT_NAMES
16983
ltmain="$ac_aux_dir/ltmain.sh"
16986
# We use sed instead of cat because bash on DJGPP gets confused if
16987
# if finds mixed CR/LF and LF-only lines. Since sed operates in
16988
# text mode, it properly converts lines to CR/LF. This bash problem
16989
# is reportedly fixed, but why not run on old versions too?
16990
sed '$q' "$ltmain" >> "$cfgfile" \
16991
|| (rm -f "$cfgfile"; exit 1)
16993
if test x"$xsi_shell" = xyes; then
16994
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16998
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16999
\ * ) func_dirname_result="${3}" ;;\
17001
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17002
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17003
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17004
test 0 -eq $? || _lt_function_replace_fail=:
17007
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17010
\ func_basename_result="${1##*/}"\
17011
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17012
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17013
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17014
test 0 -eq $? || _lt_function_replace_fail=:
17017
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17018
func_dirname_and_basename ()\
17021
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17022
\ * ) func_dirname_result="${3}" ;;\
17024
\ func_basename_result="${1##*/}"\
17025
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17026
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17027
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17028
test 0 -eq $? || _lt_function_replace_fail=:
17031
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17034
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17035
\ # positional parameters, so assign one to ordinary parameter first.\
17036
\ func_stripname_result=${3}\
17037
\ func_stripname_result=${func_stripname_result#"${1}"}\
17038
\ func_stripname_result=${func_stripname_result%"${2}"}\
17039
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17040
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17041
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17042
test 0 -eq $? || _lt_function_replace_fail=:
17045
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17046
func_split_long_opt ()\
17048
\ func_split_long_opt_name=${1%%=*}\
17049
\ func_split_long_opt_arg=${1#*=}\
17050
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17051
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17052
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17053
test 0 -eq $? || _lt_function_replace_fail=:
17056
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17057
func_split_short_opt ()\
17059
\ func_split_short_opt_arg=${1#??}\
17060
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17061
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17062
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17063
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17064
test 0 -eq $? || _lt_function_replace_fail=:
17067
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17071
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17072
\ *) func_lo2o_result=${1} ;;\
17074
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17075
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17076
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17077
test 0 -eq $? || _lt_function_replace_fail=:
17080
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17083
func_xform_result=${1%.*}.lo\
17084
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17085
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17086
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17087
test 0 -eq $? || _lt_function_replace_fail=:
17090
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17093
func_arith_result=$(( $* ))\
17094
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17095
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17096
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17097
test 0 -eq $? || _lt_function_replace_fail=:
17100
sed -e '/^func_len ()$/,/^} # func_len /c\
17103
func_len_result=${#1}\
17104
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17105
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17106
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17107
test 0 -eq $? || _lt_function_replace_fail=:
17111
if test x"$lt_shell_append" = xyes; then
17112
sed -e '/^func_append ()$/,/^} # func_append /c\
17115
eval "${1}+=\\${2}"\
17116
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17117
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17118
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17119
test 0 -eq $? || _lt_function_replace_fail=:
17122
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17123
func_append_quoted ()\
17125
\ func_quote_for_eval "${2}"\
17126
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17127
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17128
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17129
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17130
test 0 -eq $? || _lt_function_replace_fail=:
17133
# Save a `func_append' function call where possible by direct use of '+='
17134
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17135
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17136
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17137
test 0 -eq $? || _lt_function_replace_fail=:
17139
# Save a `func_append' function call even when '+=' is not available
17140
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17141
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17142
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17143
test 0 -eq $? || _lt_function_replace_fail=:
17146
if test x"$_lt_function_replace_fail" = x":"; then
17147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17148
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17152
mv -f "$cfgfile" "$ofile" ||
17153
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17157
"po-directories":C)
17158
for ac_file in $CONFIG_FILES; do
17159
# Support "outfile[:infile[:infile...]]"
17161
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17163
# PO directories have a Makefile.in generated from Makefile.in.in.
17164
case "$ac_file" in */Makefile.in)
17165
# Adjust a relative srcdir.
17166
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17167
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
17168
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17169
# In autoconf-2.13 it is called $ac_given_srcdir.
17170
# In autoconf-2.50 it is called $srcdir.
17171
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
17172
case "$ac_given_srcdir" in
17173
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
17174
/*) top_srcdir="$ac_given_srcdir" ;;
17175
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
17177
# Treat a directory as a PO directory if and only if it has a
17178
# POTFILES.in file. This allows packages to have multiple PO
17179
# directories under different names or in different locations.
17180
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17181
rm -f "$ac_dir/POTFILES"
17182
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
17183
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17184
POMAKEFILEDEPS="POTFILES.in"
17185
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
17186
# on $ac_dir but don't depend on user-specified configuration
17188
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17189
# The LINGUAS file contains the set of available languages.
17190
if test -n "$OBSOLETE_ALL_LINGUAS"; then
17191
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
17193
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17194
# Hide the ALL_LINGUAS assigment from automake < 1.5.
17195
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17196
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
17198
# The set of available languages was given in configure.in.
17199
# Hide the ALL_LINGUAS assigment from automake < 1.5.
17200
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17203
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
17204
# Compute UPDATEPOFILES
17205
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
17206
# Compute DUMMYPOFILES
17207
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
17209
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
17210
case "$ac_given_srcdir" in
17212
*) srcdirpre='$(srcdir)/' ;;
17218
for lang in $ALL_LINGUAS; do
17219
POFILES="$POFILES $srcdirpre$lang.po"
17220
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
17221
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
17222
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
17224
# CATALOGS depends on both $ac_dir and the user's LINGUAS
17225
# environment variable.
17227
if test -n "$ALL_LINGUAS"; then
17228
for presentlang in $ALL_LINGUAS; do
17230
if test "%UNSET%" != "$LINGUAS"; then
17231
desiredlanguages="$LINGUAS"
17233
desiredlanguages="$ALL_LINGUAS"
17235
for desiredlang in $desiredlanguages; do
17236
# Use the presentlang catalog if desiredlang is
17237
# a. equal to presentlang, or
17238
# b. a variant of presentlang (because in this case,
17239
# presentlang can be used as a fallback for messages
17240
# which are not translated in the desiredlang catalog).
17241
case "$desiredlang" in
17242
"$presentlang"*) useit=yes;;
17245
if test $useit = yes; then
17246
INST_LINGUAS="$INST_LINGUAS $presentlang"
17251
if test -n "$INST_LINGUAS"; then
17252
for lang in $INST_LINGUAS; do
17253
CATALOGS="$CATALOGS $lang.gmo"
17256
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
17257
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
17258
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17259
if test -f "$f"; then
17261
*.orig | *.bak | *~) ;;
17262
*) cat "$f" >> "$ac_dir/Makefile" ;;
17277
ac_clean_files=$ac_clean_files_save
17279
test $ac_write_fail = 0 ||
17280
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17283
# configure is writing to config.log, and then calls config.status.
17284
# config.status does its own redirection, appending to config.log.
17285
# Unfortunately, on DOS this fails, as config.log is still kept open
17286
# by configure, so config.status won't be able to write to it; its
17287
# output is simply discarded. So we exec the FD to /dev/null,
17288
# effectively closing config.log, so it can be properly (re)opened and
17289
# appended to by config.status. When coming back to configure, we
17290
# need to make the FD available again.
17291
if test "$no_create" != yes; then
17293
ac_config_status_args=
17294
test "$silent" = yes &&
17295
ac_config_status_args="$ac_config_status_args --quiet"
17297
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17299
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17300
# would make configure fail if this is the last instruction.
17301
$ac_cs_success || as_fn_exit 1
17303
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17304
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17305
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17311
$PACKAGE $VERSION configured successfully:
17313
Installing into: $prefix
17315
Compiler flags: $CFLAGS
17317
X11 compiler flags: $X11_CFLAGS
17318
X11 linker flags: $X11_LIBS
17320
GTK compiler flags: $GTK_CFLAGS
17321
GTK linker flags: $GTK_LIBS
17323
XNeur Config flags: $XNEURCONF_CFLAGS
17324
XNeur Config libs: $XNEURCONF_LIBS
17326
XNeur flags: $XNEURLIB_CFLAGS
17327
XNeur libs: $XNEURLIB_LIBS
17331
#if (test "x$found_gtk2" != "xno") || (test "x$found_gtk3" != "xno"); then
17332
if (test "x$found_gtk2" != "xno"); then
17334
Use GTK+ >= 2.20.0 support
17339
if test "x$with_appindicator" != "xno"; then
17340
if test "x$found_appindicator" != "xno"; then
17342
Use App Indicator 0.1 >= $APPINDICATOR_REQUIRED support
17346
if test "x$found_deprec_appindicator" != "xno"; then
17348
Use App Indicator 0.1 < $APPINDICATOR_REQUIRED support