2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for lyricue 3.0.36.
5
# Report bugs to <http://www.lyricue.org>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: http://www.lyricue.org about your system, including any
251
$0: error possibly output before this message. Then install
252
$0: a modern shell, or manually run the script under such a
253
$0: shell if you do have one."
259
SHELL=${CONFIG_SHELL-/bin/sh}
261
# Unset more variables known to interfere with behavior of common tools.
262
CLICOLOR_FORCE= GREP_OPTIONS=
263
unset CLICOLOR_FORCE GREP_OPTIONS
265
## --------------------- ##
266
## M4sh Shell Functions. ##
267
## --------------------- ##
270
# Portably unset VAR.
273
{ eval $1=; unset $1;}
277
# as_fn_set_status STATUS
278
# -----------------------
279
# Set $? to STATUS, without forking.
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297
# Create "$as_dir" as a directory, including parents if necessary.
302
-*) as_dir=./$as_dir;;
304
test -d "$as_dir" || eval $as_mkdir_p || {
308
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311
as_dirs="'$as_qdir' $as_dirs"
312
as_dir=`$as_dirname -- "$as_dir" ||
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
X"$as_dir" : 'X\(//\)[^/]' \| \
315
X"$as_dir" : 'X\(//\)$' \| \
316
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
$as_echo X"$as_dir" |
318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335
test -d "$as_dir" && break
337
test -z "$as_dirs" || eval "mkdir $as_dirs"
338
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342
# as_fn_append VAR VALUE
343
# ----------------------
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
345
# advantage of any shell optimizations that allow amortized linear growth over
346
# repeated appends, instead of the typical quadratic growth present in naive
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
eval 'as_fn_append ()
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
364
# must be portable across $(()) and expr.
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373
as_val=`expr "$@" || test $? -eq 1`
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
379
# ----------------------------------------
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
# script with STATUS, using 1 if that was 0.
385
as_status=$1; test $as_status -eq 0 && as_status=1
387
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390
$as_echo "$as_me: error: $2" >&2
391
as_fn_exit $as_status
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
test "X`expr 00001 : '.*\(...\)'`" = X001; then
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413
as_me=`$as_basename -- "$0" ||
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
X"$0" : 'X\(//\)$' \| \
416
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
sed '/^.*\/\([^/][^/]*\)\/*$/{
432
# Avoid depending upon Character Ranges.
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
as_cr_digits='0123456789'
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
440
as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460
chmod +x "$as_me.lineno" ||
461
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
# Don't try to exec as it changes $[0], causing all sort of problems
464
# (the dirname of $[0] is not the place where we might find the
465
# original and so on. Autoconf is especially sensitive to this).
467
# Exit status is that of the last command.
471
ECHO_C= ECHO_N= ECHO_T=
472
case `echo -n x` in #(((((
474
case `echo 'xy\c'` in
475
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
477
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
489
mkdir conf$$.dir 2>/dev/null
491
if (echo >conf$$.file) 2>/dev/null; then
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
elif ln conf$$.file conf$$ 2>/dev/null; then
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
rmdir conf$$.dir 2>/dev/null
511
if mkdir -p . 2>/dev/null; then
512
as_mkdir_p='mkdir -p "$as_dir"'
514
test -d ./-p && rmdir ./-p
518
if test -x / >/dev/null 2>&1; then
521
if ls -dL / >/dev/null 2>&1; then
528
if test -d "$1"; then
534
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535
???[sx]*):;;*)false;;esac;fi
539
as_executable_p=$as_test_x
541
# Sed expression to map a string onto a valid CPP name.
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
# Sed expression to map a string onto a valid variable name.
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
SHELL=${CONFIG_SHELL-/bin/sh}
550
test -n "$DJDIR" || exec 7<&0 </dev/null
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
# so uname gets run too.
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
ac_default_prefix=/usr/local
563
ac_config_libobj_dir=.
570
# Identity of this package.
571
PACKAGE_NAME='lyricue'
572
PACKAGE_TARNAME='lyricue'
573
PACKAGE_VERSION='3.0.36'
574
PACKAGE_STRING='lyricue 3.0.36'
575
PACKAGE_BUGREPORT='http://www.lyricue.org'
578
# Factoring default headers for most tests.
579
ac_includes_default="\
581
#ifdef HAVE_SYS_TYPES_H
582
# include <sys/types.h>
584
#ifdef HAVE_SYS_STAT_H
585
# include <sys/stat.h>
591
# ifdef HAVE_STDLIB_H
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601
#ifdef HAVE_STRINGS_H
602
# include <strings.h>
604
#ifdef HAVE_INTTYPES_H
605
# include <inttypes.h>
614
ac_subst_vars='am__EXEEXT_FALSE
660
INTLTOOL_SERVICE_RULE
662
INTLTOOL_SCHEMAS_RULE
664
INTLTOOL_XML_NOMERGE_RULE
669
INTLTOOL_SOUNDLIST_RULE
676
INTLTOOL_DIRECTORY_RULE
677
INTLTOOL_DESKTOP_RULE
717
MAINTAINER_MODE_FALSE
727
INSTALL_STRIP_PROGRAM
772
program_transform_name
785
enable_option_checking
787
enable_maintainer_mode
788
enable_dependency_tracking
798
ac_precious_vars='build_alias
820
# Initialize some variables set by options.
822
ac_init_version=false
823
ac_unrecognized_opts=
825
# The variables have the same names as the options, with
826
# dashes changed to underlines.
834
program_transform_name=s,x,x,
842
# Installation directory options.
843
# These are left unexpanded so users can "make install exec_prefix=/foo"
844
# and all the variables that are supposed to be based on exec_prefix
845
# by default will actually change.
846
# Use braces instead of parens because sh, perl, etc. also accept them.
847
# (The list follows the same order as the GNU Coding Standards.)
848
bindir='${exec_prefix}/bin'
849
sbindir='${exec_prefix}/sbin'
850
libexecdir='${exec_prefix}/libexec'
851
datarootdir='${prefix}/share'
852
datadir='${datarootdir}'
853
sysconfdir='${prefix}/etc'
854
sharedstatedir='${prefix}/com'
855
localstatedir='${prefix}/var'
856
includedir='${prefix}/include'
857
oldincludedir='/usr/include'
858
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
859
infodir='${datarootdir}/info'
864
libdir='${exec_prefix}/lib'
865
localedir='${datarootdir}/locale'
866
mandir='${datarootdir}/man'
872
# If the previous option needs an argument, assign it.
873
if test -n "$ac_prev"; then
874
eval $ac_prev=\$ac_option
880
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885
# Accept the important Cygnus configure options, so we can diagnose typos.
887
case $ac_dashdash$ac_option in
891
-bindir | --bindir | --bindi | --bind | --bin | --bi)
893
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
896
-build | --build | --buil | --bui | --bu)
897
ac_prev=build_alias ;;
898
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
899
build_alias=$ac_optarg ;;
901
-cache-file | --cache-file | --cache-fil | --cache-fi \
902
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
903
ac_prev=cache_file ;;
904
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
905
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
906
cache_file=$ac_optarg ;;
909
cache_file=config.cache ;;
911
-datadir | --datadir | --datadi | --datad)
913
-datadir=* | --datadir=* | --datadi=* | --datad=*)
914
datadir=$ac_optarg ;;
916
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
917
| --dataroo | --dataro | --datar)
918
ac_prev=datarootdir ;;
919
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
920
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
921
datarootdir=$ac_optarg ;;
923
-disable-* | --disable-*)
924
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925
# Reject names that are not valid shell variable names.
926
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927
as_fn_error $? "invalid feature name: $ac_useropt"
928
ac_useropt_orig=$ac_useropt
929
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930
case $ac_user_opts in
934
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
935
ac_unrecognized_sep=', ';;
937
eval enable_$ac_useropt=no ;;
939
-docdir | --docdir | --docdi | --doc | --do)
941
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
944
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
946
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
949
-enable-* | --enable-*)
950
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951
# Reject names that are not valid shell variable names.
952
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953
as_fn_error $? "invalid feature name: $ac_useropt"
954
ac_useropt_orig=$ac_useropt
955
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956
case $ac_user_opts in
960
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961
ac_unrecognized_sep=', ';;
963
eval enable_$ac_useropt=\$ac_optarg ;;
965
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
966
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
967
| --exec | --exe | --ex)
968
ac_prev=exec_prefix ;;
969
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
970
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
971
| --exec=* | --exe=* | --ex=*)
972
exec_prefix=$ac_optarg ;;
974
-gas | --gas | --ga | --g)
975
# Obsolete; use --with-gas.
978
-help | --help | --hel | --he | -h)
980
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
981
ac_init_help=recursive ;;
982
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
983
ac_init_help=short ;;
985
-host | --host | --hos | --ho)
986
ac_prev=host_alias ;;
987
-host=* | --host=* | --hos=* | --ho=*)
988
host_alias=$ac_optarg ;;
990
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
992
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
994
htmldir=$ac_optarg ;;
996
-includedir | --includedir | --includedi | --included | --include \
997
| --includ | --inclu | --incl | --inc)
998
ac_prev=includedir ;;
999
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1000
| --includ=* | --inclu=* | --incl=* | --inc=*)
1001
includedir=$ac_optarg ;;
1003
-infodir | --infodir | --infodi | --infod | --info | --inf)
1005
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1006
infodir=$ac_optarg ;;
1008
-libdir | --libdir | --libdi | --libd)
1010
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1011
libdir=$ac_optarg ;;
1013
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1014
| --libexe | --libex | --libe)
1015
ac_prev=libexecdir ;;
1016
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1017
| --libexe=* | --libex=* | --libe=*)
1018
libexecdir=$ac_optarg ;;
1020
-localedir | --localedir | --localedi | --localed | --locale)
1021
ac_prev=localedir ;;
1022
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1023
localedir=$ac_optarg ;;
1025
-localstatedir | --localstatedir | --localstatedi | --localstated \
1026
| --localstate | --localstat | --localsta | --localst | --locals)
1027
ac_prev=localstatedir ;;
1028
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1029
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1030
localstatedir=$ac_optarg ;;
1032
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1034
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1035
mandir=$ac_optarg ;;
1037
-nfp | --nfp | --nf)
1038
# Obsolete; use --without-fp.
1041
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1042
| --no-cr | --no-c | -n)
1045
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1046
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1049
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1050
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1051
| --oldin | --oldi | --old | --ol | --o)
1052
ac_prev=oldincludedir ;;
1053
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1054
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1055
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1056
oldincludedir=$ac_optarg ;;
1058
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1060
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1061
prefix=$ac_optarg ;;
1063
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1064
| --program-pre | --program-pr | --program-p)
1065
ac_prev=program_prefix ;;
1066
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1067
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1068
program_prefix=$ac_optarg ;;
1070
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1071
| --program-suf | --program-su | --program-s)
1072
ac_prev=program_suffix ;;
1073
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1074
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1075
program_suffix=$ac_optarg ;;
1077
-program-transform-name | --program-transform-name \
1078
| --program-transform-nam | --program-transform-na \
1079
| --program-transform-n | --program-transform- \
1080
| --program-transform | --program-transfor \
1081
| --program-transfo | --program-transf \
1082
| --program-trans | --program-tran \
1083
| --progr-tra | --program-tr | --program-t)
1084
ac_prev=program_transform_name ;;
1085
-program-transform-name=* | --program-transform-name=* \
1086
| --program-transform-nam=* | --program-transform-na=* \
1087
| --program-transform-n=* | --program-transform-=* \
1088
| --program-transform=* | --program-transfor=* \
1089
| --program-transfo=* | --program-transf=* \
1090
| --program-trans=* | --program-tran=* \
1091
| --progr-tra=* | --program-tr=* | --program-t=*)
1092
program_transform_name=$ac_optarg ;;
1094
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1096
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1097
pdfdir=$ac_optarg ;;
1099
-psdir | --psdir | --psdi | --psd | --ps)
1101
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1104
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105
| -silent | --silent | --silen | --sile | --sil)
1108
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1110
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1112
sbindir=$ac_optarg ;;
1114
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1115
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1116
| --sharedst | --shareds | --shared | --share | --shar \
1118
ac_prev=sharedstatedir ;;
1119
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1120
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1121
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1123
sharedstatedir=$ac_optarg ;;
1125
-site | --site | --sit)
1127
-site=* | --site=* | --sit=*)
1130
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1132
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1133
srcdir=$ac_optarg ;;
1135
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1136
| --syscon | --sysco | --sysc | --sys | --sy)
1137
ac_prev=sysconfdir ;;
1138
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1139
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1140
sysconfdir=$ac_optarg ;;
1142
-target | --target | --targe | --targ | --tar | --ta | --t)
1143
ac_prev=target_alias ;;
1144
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1145
target_alias=$ac_optarg ;;
1147
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1150
-version | --version | --versio | --versi | --vers | -V)
1151
ac_init_version=: ;;
1154
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155
# Reject names that are not valid shell variable names.
1156
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157
as_fn_error $? "invalid package name: $ac_useropt"
1158
ac_useropt_orig=$ac_useropt
1159
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160
case $ac_user_opts in
1164
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165
ac_unrecognized_sep=', ';;
1167
eval with_$ac_useropt=\$ac_optarg ;;
1169
-without-* | --without-*)
1170
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171
# Reject names that are not valid shell variable names.
1172
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173
as_fn_error $? "invalid package name: $ac_useropt"
1174
ac_useropt_orig=$ac_useropt
1175
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176
case $ac_user_opts in
1180
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1181
ac_unrecognized_sep=', ';;
1183
eval with_$ac_useropt=no ;;
1186
# Obsolete; use --with-x.
1189
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1190
| --x-incl | --x-inc | --x-in | --x-i)
1191
ac_prev=x_includes ;;
1192
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1193
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1194
x_includes=$ac_optarg ;;
1196
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1197
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1198
ac_prev=x_libraries ;;
1199
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1200
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1201
x_libraries=$ac_optarg ;;
1203
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1204
Try \`$0 --help' for more information"
1208
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1209
# Reject names that are not valid shell variable names.
1210
case $ac_envvar in #(
1211
'' | [0-9]* | *[!_$as_cr_alnum]* )
1212
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1214
eval $ac_envvar=\$ac_optarg
1215
export $ac_envvar ;;
1218
# FIXME: should be removed in autoconf 3.0.
1219
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1228
if test -n "$ac_prev"; then
1229
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1230
as_fn_error $? "missing argument to $ac_option"
1233
if test -n "$ac_unrecognized_opts"; then
1234
case $enable_option_checking in
1236
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1237
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241
# Check all directory arguments for consistency.
1242
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1243
datadir sysconfdir sharedstatedir localstatedir includedir \
1244
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1245
libdir localedir mandir
1247
eval ac_val=\$$ac_var
1248
# Remove trailing slashes.
1251
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1252
eval $ac_var=\$ac_val;;
1254
# Be sure to have absolute directory names.
1256
[\\/$]* | ?:[\\/]* ) continue;;
1257
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1259
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1262
# There might be people who depend on the old broken behavior: `$host'
1263
# used to hold the argument of --host etc.
1264
# FIXME: To remove some day.
1267
target=$target_alias
1269
# FIXME: To remove some day.
1270
if test "x$host_alias" != x; then
1271
if test "x$build_alias" = x; then
1272
cross_compiling=maybe
1273
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274
If a cross compiler is detected then cross compile mode will be used" >&2
1275
elif test "x$build_alias" != "x$host_alias"; then
1281
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1283
test "$silent" = yes && exec 6>/dev/null
1286
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1287
ac_ls_di=`ls -di .` &&
1288
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1289
as_fn_error $? "working directory cannot be determined"
1290
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291
as_fn_error $? "pwd does not report name of working directory"
1294
# Find the source files, if location was not specified.
1295
if test -z "$srcdir"; then
1296
ac_srcdir_defaulted=yes
1297
# Try the directory containing this script, then the parent directory.
1298
ac_confdir=`$as_dirname -- "$as_myself" ||
1299
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300
X"$as_myself" : 'X\(//\)[^/]' \| \
1301
X"$as_myself" : 'X\(//\)$' \| \
1302
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303
$as_echo X"$as_myself" |
1304
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322
if test ! -r "$srcdir/$ac_unique_file"; then
1326
ac_srcdir_defaulted=no
1328
if test ! -r "$srcdir/$ac_unique_file"; then
1329
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1332
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336
# When building in place, set srcdir=.
1337
if test "$ac_abs_confdir" = "$ac_pwd"; then
1340
# Remove unnecessary trailing slashes from srcdir.
1341
# Double slashes in file names in object file debugging info
1342
# mess up M-x gdb in Emacs.
1344
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346
for ac_var in $ac_precious_vars; do
1347
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1348
eval ac_env_${ac_var}_value=\$${ac_var}
1349
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1350
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1354
# Report the --help message.
1356
if test "$ac_init_help" = "long"; then
1357
# Omit some internal or obsolete options to make the list less imposing.
1358
# This message is too long to be a string in the A/UX 3.1 sh.
1360
\`configure' configures lyricue 3.0.36 to adapt to many kinds of systems.
1362
Usage: $0 [OPTION]... [VAR=VALUE]...
1364
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365
VAR=VALUE. See below for descriptions of some of the useful variables.
1367
Defaults for the options are specified in brackets.
1370
-h, --help display this help and exit
1371
--help=short display options specific to this package
1372
--help=recursive display the short help of all the included packages
1373
-V, --version display version information and exit
1374
-q, --quiet, --silent do not print \`checking ...' messages
1375
--cache-file=FILE cache test results in FILE [disabled]
1376
-C, --config-cache alias for \`--cache-file=config.cache'
1377
-n, --no-create do not create output files
1378
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1380
Installation directories:
1381
--prefix=PREFIX install architecture-independent files in PREFIX
1382
[$ac_default_prefix]
1383
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386
By default, \`make install' will install all the files in
1387
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389
for instance \`--prefix=\$HOME'.
1391
For better control, use the options below.
1393
Fine tuning of the installation directories:
1394
--bindir=DIR user executables [EPREFIX/bin]
1395
--sbindir=DIR system admin executables [EPREFIX/sbin]
1396
--libexecdir=DIR program executables [EPREFIX/libexec]
1397
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400
--libdir=DIR object code libraries [EPREFIX/lib]
1401
--includedir=DIR C header files [PREFIX/include]
1402
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1403
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405
--infodir=DIR info documentation [DATAROOTDIR/info]
1406
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407
--mandir=DIR man documentation [DATAROOTDIR/man]
1408
--docdir=DIR documentation root [DATAROOTDIR/doc/lyricue]
1409
--htmldir=DIR html documentation [DOCDIR]
1410
--dvidir=DIR dvi documentation [DOCDIR]
1411
--pdfdir=DIR pdf documentation [DOCDIR]
1412
--psdir=DIR ps documentation [DOCDIR]
1418
--program-prefix=PREFIX prepend PREFIX to installed program names
1419
--program-suffix=SUFFIX append SUFFIX to installed program names
1420
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1423
--build=BUILD configure for building on BUILD [guessed]
1424
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1428
if test -n "$ac_init_help"; then
1429
case $ac_init_help in
1430
short | recursive ) echo "Configuration of lyricue 3.0.36:";;
1435
--disable-option-checking ignore unrecognized --enable/--with options
1436
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1437
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1438
--enable-silent-rules less verbose build output (undo: `make V=1')
1439
--disable-silent-rules verbose build output (undo: `make V=0')
1440
--enable-maintainer-mode enable make rules and dependencies not useful
1441
(and sometimes confusing) to the casual installer
1442
--disable-dependency-tracking speeds up one-time build
1443
--enable-dependency-tracking do not reject slow dependency extractors
1444
--disable-nls do not use Native Language Support
1445
--enable-shared[=PKGS] build shared libraries [default=yes]
1446
--enable-static[=PKGS] build static libraries [default=yes]
1447
--enable-fast-install[=PKGS]
1448
optimize for fast installation [default=yes]
1449
--disable-libtool-lock avoid locking (might break parallel builds)
1452
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1453
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1454
--with-pic try to use only PIC/non-PIC objects [default=use
1456
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1457
--with-sysroot=DIR Search for dependent libraries within DIR
1458
(or the compiler's sysroot if not specified).
1460
Some influential environment variables:
1461
CC C compiler command
1462
CFLAGS C compiler flags
1463
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1464
nonstandard directory <lib dir>
1465
LIBS libraries to pass to the linker, e.g. -l<library>
1466
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1467
you have headers in a nonstandard directory <include dir>
1469
PKG_CONFIG path to pkg-config utility
1471
directories to add to pkg-config's search path
1473
path overriding pkg-config's built-in search path
1475
C compiler flags for CLUTTER, overriding pkg-config
1477
linker flags for CLUTTER, overriding pkg-config
1479
C compiler flags for CLUTTERGTK, overriding pkg-config
1481
linker flags for CLUTTERGTK, overriding pkg-config
1483
C compiler flags for CLUTTERGST, overriding pkg-config
1485
linker flags for CLUTTERGST, overriding pkg-config
1487
C compiler flags for GSTREAMER, overriding pkg-config
1489
linker flags for GSTREAMER, overriding pkg-config
1491
Use these variables to override the choices made by `configure' or to help
1492
it to find libraries and programs with nonstandard names/locations.
1494
Report bugs to <http://www.lyricue.org>.
1499
if test "$ac_init_help" = "recursive"; then
1500
# If there are subdirs, report their specific --help.
1501
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1502
test -d "$ac_dir" ||
1503
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1508
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1511
# A ".." for each directory in $ac_dir_suffix.
1512
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1513
case $ac_top_builddir_sub in
1514
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1515
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1518
ac_abs_top_builddir=$ac_pwd
1519
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1520
# for backward compatibility:
1521
ac_top_builddir=$ac_top_build_prefix
1524
.) # We are building in place.
1526
ac_top_srcdir=$ac_top_builddir_sub
1527
ac_abs_top_srcdir=$ac_pwd ;;
1528
[\\/]* | ?:[\\/]* ) # Absolute name.
1529
ac_srcdir=$srcdir$ac_dir_suffix;
1530
ac_top_srcdir=$srcdir
1531
ac_abs_top_srcdir=$srcdir ;;
1533
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1534
ac_top_srcdir=$ac_top_build_prefix$srcdir
1535
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1537
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1539
cd "$ac_dir" || { ac_status=$?; continue; }
1540
# Check for guested configure.
1541
if test -f "$ac_srcdir/configure.gnu"; then
1543
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1544
elif test -f "$ac_srcdir/configure"; then
1546
$SHELL "$ac_srcdir/configure" --help=recursive
1548
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1550
cd "$ac_pwd" || { ac_status=$?; break; }
1554
test -n "$ac_init_help" && exit $ac_status
1555
if $ac_init_version; then
1557
lyricue configure 3.0.36
1558
generated by GNU Autoconf 2.68
1560
Copyright (C) 2010 Free Software Foundation, Inc.
1561
This configure script is free software; the Free Software Foundation
1562
gives unlimited permission to copy, distribute and modify it.
1567
## ------------------------ ##
1568
## Autoconf initialization. ##
1569
## ------------------------ ##
1571
# ac_fn_c_try_compile LINENO
1572
# --------------------------
1573
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1574
ac_fn_c_try_compile ()
1576
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1577
rm -f conftest.$ac_objext
1578
if { { ac_try="$ac_compile"
1580
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581
*) ac_try_echo=$ac_try;;
1583
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584
$as_echo "$ac_try_echo"; } >&5
1585
(eval "$ac_compile") 2>conftest.err
1587
if test -s conftest.err; then
1588
grep -v '^ *+' conftest.err >conftest.er1
1589
cat conftest.er1 >&5
1590
mv -f conftest.er1 conftest.err
1592
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593
test $ac_status = 0; } && {
1594
test -z "$ac_c_werror_flag" ||
1595
test ! -s conftest.err
1596
} && test -s conftest.$ac_objext; then :
1599
$as_echo "$as_me: failed program was:" >&5
1600
sed 's/^/| /' conftest.$ac_ext >&5
1604
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605
as_fn_set_status $ac_retval
1607
} # ac_fn_c_try_compile
1609
# ac_fn_c_try_link LINENO
1610
# -----------------------
1611
# Try to link conftest.$ac_ext, and return whether this succeeded.
1614
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615
rm -f conftest.$ac_objext conftest$ac_exeext
1616
if { { ac_try="$ac_link"
1618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1619
*) ac_try_echo=$ac_try;;
1621
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622
$as_echo "$ac_try_echo"; } >&5
1623
(eval "$ac_link") 2>conftest.err
1625
if test -s conftest.err; then
1626
grep -v '^ *+' conftest.err >conftest.er1
1627
cat conftest.er1 >&5
1628
mv -f conftest.er1 conftest.err
1630
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631
test $ac_status = 0; } && {
1632
test -z "$ac_c_werror_flag" ||
1633
test ! -s conftest.err
1634
} && test -s conftest$ac_exeext && {
1635
test "$cross_compiling" = yes ||
1636
$as_test_x conftest$ac_exeext
1640
$as_echo "$as_me: failed program was:" >&5
1641
sed 's/^/| /' conftest.$ac_ext >&5
1645
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1646
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1647
# interfere with the next link command; also delete a directory that is
1648
# left behind by Apple's compiler. We do this before executing the actions.
1649
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1650
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651
as_fn_set_status $ac_retval
1653
} # ac_fn_c_try_link
1655
# ac_fn_c_try_cpp LINENO
1656
# ----------------------
1657
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1660
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
if { { ac_try="$ac_cpp conftest.$ac_ext"
1663
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664
*) ac_try_echo=$ac_try;;
1666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667
$as_echo "$ac_try_echo"; } >&5
1668
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670
if test -s conftest.err; then
1671
grep -v '^ *+' conftest.err >conftest.er1
1672
cat conftest.er1 >&5
1673
mv -f conftest.er1 conftest.err
1675
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676
test $ac_status = 0; } > conftest.i && {
1677
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678
test ! -s conftest.err
1682
$as_echo "$as_me: failed program was:" >&5
1683
sed 's/^/| /' conftest.$ac_ext >&5
1687
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688
as_fn_set_status $ac_retval
1692
# ac_fn_c_try_run LINENO
1693
# ----------------------
1694
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1695
# that executables *can* be run.
1698
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699
if { { ac_try="$ac_link"
1701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702
*) ac_try_echo=$ac_try;;
1704
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705
$as_echo "$ac_try_echo"; } >&5
1706
(eval "$ac_link") 2>&5
1708
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1710
{ { case "(($ac_try" in
1711
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712
*) ac_try_echo=$ac_try;;
1714
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715
$as_echo "$ac_try_echo"; } >&5
1716
(eval "$ac_try") 2>&5
1718
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719
test $ac_status = 0; }; }; then :
1722
$as_echo "$as_me: program exited with status $ac_status" >&5
1723
$as_echo "$as_me: failed program was:" >&5
1724
sed 's/^/| /' conftest.$ac_ext >&5
1726
ac_retval=$ac_status
1728
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730
as_fn_set_status $ac_retval
1734
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1735
# -------------------------------------------------------
1736
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1737
# the include files in INCLUDES and setting the cache variable VAR
1739
ac_fn_c_check_header_mongrel ()
1741
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742
if eval \${$3+:} false; then :
1743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744
$as_echo_n "checking for $2... " >&6; }
1745
if eval \${$3+:} false; then :
1746
$as_echo_n "(cached) " >&6
1749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750
$as_echo "$ac_res" >&6; }
1752
# Is the header compilable?
1753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1754
$as_echo_n "checking $2 usability... " >&6; }
1755
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756
/* end confdefs.h. */
1760
if ac_fn_c_try_compile "$LINENO"; then :
1761
ac_header_compiler=yes
1763
ac_header_compiler=no
1765
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1767
$as_echo "$ac_header_compiler" >&6; }
1769
# Is the header present?
1770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1771
$as_echo_n "checking $2 presence... " >&6; }
1772
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773
/* end confdefs.h. */
1776
if ac_fn_c_try_cpp "$LINENO"; then :
1777
ac_header_preproc=yes
1779
ac_header_preproc=no
1781
rm -f conftest.err conftest.i conftest.$ac_ext
1782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1783
$as_echo "$ac_header_preproc" >&6; }
1785
# So? What about this header?
1786
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1788
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1789
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1790
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1791
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1794
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1795
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1796
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1797
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1798
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1799
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1800
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1801
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1802
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1803
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1804
( $as_echo "## ------------------------------------- ##
1805
## Report this to http://www.lyricue.org ##
1806
## ------------------------------------- ##"
1807
) | sed "s/^/$as_me: WARNING: /" >&2
1810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811
$as_echo_n "checking for $2... " >&6; }
1812
if eval \${$3+:} false; then :
1813
$as_echo_n "(cached) " >&6
1815
eval "$3=\$ac_header_compiler"
1818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819
$as_echo "$ac_res" >&6; }
1821
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823
} # ac_fn_c_check_header_mongrel
1825
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1826
# -------------------------------------------------------
1827
# Tests whether HEADER exists and can be compiled using the include files in
1828
# INCLUDES, setting the cache variable VAR accordingly.
1829
ac_fn_c_check_header_compile ()
1831
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833
$as_echo_n "checking for $2... " >&6; }
1834
if eval \${$3+:} false; then :
1835
$as_echo_n "(cached) " >&6
1837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838
/* end confdefs.h. */
1842
if ac_fn_c_try_compile "$LINENO"; then :
1847
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851
$as_echo "$ac_res" >&6; }
1852
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854
} # ac_fn_c_check_header_compile
1856
# ac_fn_c_check_func LINENO FUNC VAR
1857
# ----------------------------------
1858
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1859
ac_fn_c_check_func ()
1861
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863
$as_echo_n "checking for $2... " >&6; }
1864
if eval \${$3+:} false; then :
1865
$as_echo_n "(cached) " >&6
1867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868
/* end confdefs.h. */
1869
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1870
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1871
#define $2 innocuous_$2
1873
/* System header to define __stub macros and hopefully few prototypes,
1874
which can conflict with char $2 (); below.
1875
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1876
<limits.h> exists even on freestanding compilers. */
1879
# include <limits.h>
1881
# include <assert.h>
1886
/* Override any GCC internal prototype to avoid an error.
1887
Use char because int might match the return type of a GCC
1888
builtin and then its argument prototype would still apply. */
1893
/* The GNU C library defines this for functions which it implements
1894
to always fail with ENOSYS. Some functions are actually named
1895
something starting with __ and the normal name is an alias. */
1896
#if defined __stub_$2 || defined __stub___$2
1908
if ac_fn_c_try_link "$LINENO"; then :
1913
rm -f core conftest.err conftest.$ac_objext \
1914
conftest$ac_exeext conftest.$ac_ext
1917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918
$as_echo "$ac_res" >&6; }
1919
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921
} # ac_fn_c_check_func
1922
cat >config.log <<_ACEOF
1923
This file contains any messages produced by compilers while
1924
running configure, to aid debugging if configure makes a mistake.
1926
It was created by lyricue $as_me 3.0.36, which was
1927
generated by GNU Autoconf 2.68. Invocation command line was
1939
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1940
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1941
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1942
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1943
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1945
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1946
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1948
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1949
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1950
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1951
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1952
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1953
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1954
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962
test -z "$as_dir" && as_dir=.
1963
$as_echo "PATH: $as_dir"
1979
# Keep a trace of the command line.
1980
# Strip out --no-create and --no-recursion so they do not pile up.
1981
# Strip out --silent because we don't want to record it for future runs.
1982
# Also quote any args containing shell meta-characters.
1983
# Make two passes to allow for proper duplicate-argument suppression.
1987
ac_must_keep_next=false
1993
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1994
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1995
| -silent | --silent | --silen | --sile | --sil)
1998
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2001
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2003
as_fn_append ac_configure_args1 " '$ac_arg'"
2004
if test $ac_must_keep_next = true; then
2005
ac_must_keep_next=false # Got value, back to normal.
2008
*=* | --config-cache | -C | -disable-* | --disable-* \
2009
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2010
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2011
| -with-* | --with-* | -without-* | --without-* | --x)
2012
case "$ac_configure_args0 " in
2013
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2016
-* ) ac_must_keep_next=true ;;
2019
as_fn_append ac_configure_args " '$ac_arg'"
2024
{ ac_configure_args0=; unset ac_configure_args0;}
2025
{ ac_configure_args1=; unset ac_configure_args1;}
2027
# When interrupted or exit'd, cleanup temporary files, and complete
2028
# config.log. We remove comments because anyway the quotes in there
2029
# would cause problems or look ugly.
2030
# WARNING: Use '\'' to represent an apostrophe within the trap.
2031
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2032
trap 'exit_status=$?
2033
# Save into config.log some information that might help in debugging.
2037
$as_echo "## ---------------- ##
2038
## Cache variables. ##
2039
## ---------------- ##"
2041
# The following way of writing the cache mishandles newlines in values,
2043
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2044
eval ac_val=\$$ac_var
2048
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2049
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2052
_ | IFS | as_nl) ;; #(
2053
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2054
*) { eval $ac_var=; unset $ac_var;} ;;
2059
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2060
*${as_nl}ac_space=\ *)
2062
"s/'\''/'\''\\\\'\'''\''/g;
2063
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2066
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2073
$as_echo "## ----------------- ##
2074
## Output variables. ##
2075
## ----------------- ##"
2077
for ac_var in $ac_subst_vars
2079
eval ac_val=\$$ac_var
2081
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2083
$as_echo "$ac_var='\''$ac_val'\''"
2087
if test -n "$ac_subst_files"; then
2088
$as_echo "## ------------------- ##
2089
## File substitutions. ##
2090
## ------------------- ##"
2092
for ac_var in $ac_subst_files
2094
eval ac_val=\$$ac_var
2096
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098
$as_echo "$ac_var='\''$ac_val'\''"
2103
if test -s confdefs.h; then
2104
$as_echo "## ----------- ##
2111
test "$ac_signal" != 0 &&
2112
$as_echo "$as_me: caught signal $ac_signal"
2113
$as_echo "$as_me: exit $exit_status"
2115
rm -f core *.core core.conftest.* &&
2116
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2119
for ac_signal in 1 2 13 15; do
2120
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2124
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2125
rm -f -r conftest* confdefs.h
2127
$as_echo "/* confdefs.h */" > confdefs.h
2129
# Predefined preprocessor variables.
2131
cat >>confdefs.h <<_ACEOF
2132
#define PACKAGE_NAME "$PACKAGE_NAME"
2135
cat >>confdefs.h <<_ACEOF
2136
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2139
cat >>confdefs.h <<_ACEOF
2140
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2143
cat >>confdefs.h <<_ACEOF
2144
#define PACKAGE_STRING "$PACKAGE_STRING"
2147
cat >>confdefs.h <<_ACEOF
2148
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2151
cat >>confdefs.h <<_ACEOF
2152
#define PACKAGE_URL "$PACKAGE_URL"
2156
# Let the site file select an alternate cache file if it wants to.
2157
# Prefer an explicitly selected file to automatically selected ones.
2160
if test -n "$CONFIG_SITE"; then
2161
# We do not want a PATH search for config.site.
2162
case $CONFIG_SITE in #((
2163
-*) ac_site_file1=./$CONFIG_SITE;;
2164
*/*) ac_site_file1=$CONFIG_SITE;;
2165
*) ac_site_file1=./$CONFIG_SITE;;
2167
elif test "x$prefix" != xNONE; then
2168
ac_site_file1=$prefix/share/config.site
2169
ac_site_file2=$prefix/etc/config.site
2171
ac_site_file1=$ac_default_prefix/share/config.site
2172
ac_site_file2=$ac_default_prefix/etc/config.site
2174
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2176
test "x$ac_site_file" = xNONE && continue
2177
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2178
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2179
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2180
sed 's/^/| /' "$ac_site_file" >&5
2182
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2183
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2184
as_fn_error $? "failed to load site script $ac_site_file
2185
See \`config.log' for more details" "$LINENO" 5; }
2189
if test -r "$cache_file"; then
2190
# Some versions of bash will fail to source /dev/null (special files
2191
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2192
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2193
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2194
$as_echo "$as_me: loading cache $cache_file" >&6;}
2196
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2197
*) . "./$cache_file";;
2201
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2202
$as_echo "$as_me: creating cache $cache_file" >&6;}
2206
# Check that the precious variables saved in the cache have kept the same
2208
ac_cache_corrupted=false
2209
for ac_var in $ac_precious_vars; do
2210
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2211
eval ac_new_set=\$ac_env_${ac_var}_set
2212
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2213
eval ac_new_val=\$ac_env_${ac_var}_value
2214
case $ac_old_set,$ac_new_set in
2216
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2217
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2218
ac_cache_corrupted=: ;;
2220
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2221
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2222
ac_cache_corrupted=: ;;
2225
if test "x$ac_old_val" != "x$ac_new_val"; then
2226
# differences in whitespace do not lead to failure.
2227
ac_old_val_w=`echo x $ac_old_val`
2228
ac_new_val_w=`echo x $ac_new_val`
2229
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2230
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2231
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2232
ac_cache_corrupted=:
2234
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2235
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2236
eval $ac_var=\$ac_old_val
2238
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2239
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2240
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2241
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2244
# Pass precious variables to config.status.
2245
if test "$ac_new_set" = set; then
2247
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2248
*) ac_arg=$ac_var=$ac_new_val ;;
2250
case " $ac_configure_args " in
2251
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2252
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2256
if $ac_cache_corrupted; then
2257
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2258
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2259
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2260
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2261
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2263
## -------------------- ##
2264
## Main body of script. ##
2265
## -------------------- ##
2268
ac_cpp='$CPP $CPPFLAGS'
2269
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2270
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2271
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2275
for ac_dir in build-aux "$srcdir"/build-aux; do
2276
if test -f "$ac_dir/install-sh"; then
2278
ac_install_sh="$ac_aux_dir/install-sh -c"
2280
elif test -f "$ac_dir/install.sh"; then
2282
ac_install_sh="$ac_aux_dir/install.sh -c"
2284
elif test -f "$ac_dir/shtool"; then
2286
ac_install_sh="$ac_aux_dir/shtool install -c"
2290
if test -z "$ac_aux_dir"; then
2291
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2294
# These three variables are undocumented and unsupported,
2295
# and are intended to be withdrawn in a future Autoconf release.
2296
# They can cause serious problems if a builder's source tree is in a directory
2297
# whose full name contains unusual characters.
2298
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2299
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2300
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2304
LIBS=`mysql_config --libs`
2307
CFLAGS=`mysql_config --cflags`
2310
# Check whether --enable-silent-rules was given.
2311
if test "${enable_silent_rules+set}" = set; then :
2312
enableval=$enable_silent_rules;
2315
case $enable_silent_rules in
2316
yes) AM_DEFAULT_VERBOSITY=0;;
2317
no) AM_DEFAULT_VERBOSITY=1;;
2318
*) AM_DEFAULT_VERBOSITY=0;;
2323
am__api_version='1.11'
2325
# Find a good install program. We prefer a C program (faster),
2326
# so one script is as good as another. But avoid the broken or
2327
# incompatible versions:
2328
# SysV /etc/install, /usr/sbin/install
2329
# SunOS /usr/etc/install
2330
# IRIX /sbin/install
2332
# AmigaOS /C/install, which installs bootblocks on floppy discs
2333
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2334
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2335
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2336
# OS/2's system install, which has a completely different semantic
2337
# ./install, which can be erroneously created by make from ./install.sh.
2338
# Reject install programs that cannot install multiple files.
2339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2340
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2341
if test -z "$INSTALL"; then
2342
if ${ac_cv_path_install+:} false; then :
2343
$as_echo_n "(cached) " >&6
2345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349
test -z "$as_dir" && as_dir=.
2350
# Account for people who put trailing slashes in PATH elements.
2351
case $as_dir/ in #((
2352
./ | .// | /[cC]/* | \
2353
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2354
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2357
# OSF1 and SCO ODT 3.0 have their own names for install.
2358
# Don't use installbsd from OSF since it installs stuff as root
2360
for ac_prog in ginstall scoinst install; do
2361
for ac_exec_ext in '' $ac_executable_extensions; do
2362
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2363
if test $ac_prog = install &&
2364
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365
# AIX install. It has an incompatible calling convention.
2367
elif test $ac_prog = install &&
2368
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2369
# program-specific install script used by HP pwplus--don't use.
2372
rm -rf conftest.one conftest.two conftest.dir
2373
echo one > conftest.one
2374
echo two > conftest.two
2376
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2377
test -s conftest.one && test -s conftest.two &&
2378
test -s conftest.dir/conftest.one &&
2379
test -s conftest.dir/conftest.two
2381
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2394
rm -rf conftest.one conftest.two conftest.dir
2397
if test "${ac_cv_path_install+set}" = set; then
2398
INSTALL=$ac_cv_path_install
2400
# As a last resort, use the slow shell script. Don't cache a
2401
# value for INSTALL within a source directory, because that will
2402
# break other packages using the cache if that directory is
2403
# removed, or if the value is a relative name.
2404
INSTALL=$ac_install_sh
2407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2408
$as_echo "$INSTALL" >&6; }
2410
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2411
# It thinks the first close brace ends the variable substitution.
2412
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2414
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2416
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2419
$as_echo_n "checking whether build environment is sane... " >&6; }
2422
echo timestamp > conftest.file
2423
# Reject unsafe characters in $srcdir or the absolute working directory
2424
# name. Accept space and tab only in the latter.
2428
*[\\\"\#\$\&\'\`$am_lf]*)
2429
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2432
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2433
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2436
# Do `set' in a subshell so we don't clobber the current shell's
2437
# arguments. Must try -L first in case configure is actually a
2438
# symlink; some systems play weird games with the mod time of symlinks
2439
# (eg FreeBSD returns the mod time of the symlink's containing
2442
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2443
if test "$*" = "X"; then
2445
set X `ls -t "$srcdir/configure" conftest.file`
2448
if test "$*" != "X $srcdir/configure conftest.file" \
2449
&& test "$*" != "X conftest.file $srcdir/configure"; then
2451
# If neither matched, then we have a broken ls. This can happen
2452
# if, for instance, CONFIG_SHELL is bash and it inherits a
2453
# broken ls alias from the environment. This has actually
2454
# happened. Such a system could not be considered "sane".
2455
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2456
alias in your environment" "$LINENO" 5
2459
test "$2" = conftest.file
2465
as_fn_error $? "newly created file is older than distributed files!
2466
Check your system clock" "$LINENO" 5
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2469
$as_echo "yes" >&6; }
2470
test "$program_prefix" != NONE &&
2471
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2472
# Use a double $ so make ignores it.
2473
test "$program_suffix" != NONE &&
2474
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2475
# Double any \ or $.
2476
# By default was `s,x,x', remove it if useless.
2477
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2478
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2480
# expand $ac_aux_dir to an absolute path
2481
am_aux_dir=`cd $ac_aux_dir && pwd`
2483
if test x"${MISSING+set}" != xset; then
2486
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2488
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2491
# Use eval to expand $SHELL
2492
if eval "$MISSING --run true"; then
2493
am_missing_run="$MISSING --run "
2496
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2497
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2500
if test x"${install_sh}" != xset; then
2503
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2505
install_sh="\${SHELL} $am_aux_dir/install-sh"
2509
# Installed binaries are usually stripped using `strip' when the user
2510
# run `make install-strip'. However `strip' might not be the right
2511
# tool to use in cross-compilation environments, therefore Automake
2512
# will honor the `STRIP' environment variable to overrule this program.
2513
if test "$cross_compiling" != no; then
2514
if test -n "$ac_tool_prefix"; then
2515
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2516
set dummy ${ac_tool_prefix}strip; ac_word=$2
2517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518
$as_echo_n "checking for $ac_word... " >&6; }
2519
if ${ac_cv_prog_STRIP+:} false; then :
2520
$as_echo_n "(cached) " >&6
2522
if test -n "$STRIP"; then
2523
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529
test -z "$as_dir" && as_dir=.
2530
for ac_exec_ext in '' $ac_executable_extensions; do
2531
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2533
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542
STRIP=$ac_cv_prog_STRIP
2543
if test -n "$STRIP"; then
2544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2545
$as_echo "$STRIP" >&6; }
2547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548
$as_echo "no" >&6; }
2553
if test -z "$ac_cv_prog_STRIP"; then
2555
# Extract the first word of "strip", so it can be a program name with args.
2556
set dummy strip; ac_word=$2
2557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558
$as_echo_n "checking for $ac_word... " >&6; }
2559
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2560
$as_echo_n "(cached) " >&6
2562
if test -n "$ac_ct_STRIP"; then
2563
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569
test -z "$as_dir" && as_dir=.
2570
for ac_exec_ext in '' $ac_executable_extensions; do
2571
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572
ac_cv_prog_ac_ct_STRIP="strip"
2573
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2583
if test -n "$ac_ct_STRIP"; then
2584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2585
$as_echo "$ac_ct_STRIP" >&6; }
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588
$as_echo "no" >&6; }
2591
if test "x$ac_ct_STRIP" = x; then
2594
case $cross_compiling:$ac_tool_warned in
2596
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2597
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2598
ac_tool_warned=yes ;;
2603
STRIP="$ac_cv_prog_STRIP"
2607
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2610
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2611
if test -z "$MKDIR_P"; then
2612
if ${ac_cv_path_mkdir+:} false; then :
2613
$as_echo_n "(cached) " >&6
2615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2619
test -z "$as_dir" && as_dir=.
2620
for ac_prog in mkdir gmkdir; do
2621
for ac_exec_ext in '' $ac_executable_extensions; do
2622
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2623
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2624
'mkdir (GNU coreutils) '* | \
2625
'mkdir (coreutils) '* | \
2626
'mkdir (fileutils) '4.1*)
2627
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2637
test -d ./--version && rmdir ./--version
2638
if test "${ac_cv_path_mkdir+set}" = set; then
2639
MKDIR_P="$ac_cv_path_mkdir -p"
2641
# As a last resort, use the slow shell script. Don't cache a
2642
# value for MKDIR_P within a source directory, because that will
2643
# break other packages using the cache if that directory is
2644
# removed, or if the value is a relative name.
2645
MKDIR_P="$ac_install_sh -d"
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2649
$as_echo "$MKDIR_P" >&6; }
2653
[\\/$]* | ?:[\\/]*) ;;
2654
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2657
for ac_prog in gawk mawk nawk awk
2659
# Extract the first word of "$ac_prog", so it can be a program name with args.
2660
set dummy $ac_prog; ac_word=$2
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662
$as_echo_n "checking for $ac_word... " >&6; }
2663
if ${ac_cv_prog_AWK+:} false; then :
2664
$as_echo_n "(cached) " >&6
2666
if test -n "$AWK"; then
2667
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673
test -z "$as_dir" && as_dir=.
2674
for ac_exec_ext in '' $ac_executable_extensions; do
2675
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676
ac_cv_prog_AWK="$ac_prog"
2677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687
if test -n "$AWK"; then
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2689
$as_echo "$AWK" >&6; }
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692
$as_echo "no" >&6; }
2696
test -n "$AWK" && break
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2700
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2702
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2703
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2704
$as_echo_n "(cached) " >&6
2706
cat >conftest.make <<\_ACEOF
2709
@echo '@@@%%%=$(MAKE)=@@@%%%'
2711
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2712
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2714
eval ac_cv_prog_make_${ac_make}_set=yes;;
2716
eval ac_cv_prog_make_${ac_make}_set=no;;
2720
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722
$as_echo "yes" >&6; }
2725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726
$as_echo "no" >&6; }
2727
SET_MAKE="MAKE=${MAKE-make}"
2730
rm -rf .tst 2>/dev/null
2731
mkdir .tst 2>/dev/null
2732
if test -d .tst; then
2737
rmdir .tst 2>/dev/null
2739
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2740
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2741
# is not polluted with repeated "-I."
2742
am__isrc=' -I$(srcdir)'
2743
# test to see if srcdir already configured
2744
if test -f $srcdir/config.status; then
2745
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2749
# test whether we have cygpath
2750
if test -z "$CYGPATH_W"; then
2751
if (cygpath --version) >/dev/null 2>/dev/null; then
2752
CYGPATH_W='cygpath -w'
2759
# Define the identity of the package.
2764
cat >>confdefs.h <<_ACEOF
2765
#define PACKAGE "$PACKAGE"
2769
cat >>confdefs.h <<_ACEOF
2770
#define VERSION "$VERSION"
2773
# Some tools Automake needs.
2775
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2778
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2781
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2784
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2787
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2789
# We need awk for the "check" target. The system "awk" is bad on
2791
# Always define AMTAR for backward compatibility.
2793
AMTAR=${AMTAR-"${am_missing_run}tar"}
2795
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2801
ac_config_headers="$ac_config_headers config.h"
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2806
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2807
# Check whether --enable-maintainer-mode was given.
2808
if test "${enable_maintainer_mode+set}" = set; then :
2809
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2811
USE_MAINTAINER_MODE=no
2814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2815
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2816
if test $USE_MAINTAINER_MODE = yes; then
2817
MAINTAINER_MODE_TRUE=
2818
MAINTAINER_MODE_FALSE='#'
2820
MAINTAINER_MODE_TRUE='#'
2821
MAINTAINER_MODE_FALSE=
2824
MAINT=$MAINTAINER_MODE_TRUE
2828
DEPDIR="${am__leading_dot}deps"
2830
ac_config_commands="$ac_config_commands depfiles"
2833
am_make=${MAKE-make}
2834
cat > confinc << 'END'
2836
@echo this is the am__doit target
2839
# If we don't find an include directive, just comment out the code.
2840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2841
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2845
# First try GNU make style include.
2846
echo "include confinc" > confmf
2847
# Ignore all kinds of additional output from `make'.
2848
case `$am_make -s -f confmf 2> /dev/null` in #(
2849
*the\ am__doit\ target*)
2855
# Now try BSD make style include.
2856
if test "$am__include" = "#"; then
2857
echo '.include "confinc"' > confmf
2858
case `$am_make -s -f confmf 2> /dev/null` in #(
2859
*the\ am__doit\ target*)
2860
am__include=.include
2868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2869
$as_echo "$_am_result" >&6; }
2870
rm -f confinc confmf
2872
# Check whether --enable-dependency-tracking was given.
2873
if test "${enable_dependency_tracking+set}" = set; then :
2874
enableval=$enable_dependency_tracking;
2877
if test "x$enable_dependency_tracking" != xno; then
2878
am_depcomp="$ac_aux_dir/depcomp"
2881
if test "x$enable_dependency_tracking" != xno; then
2891
ac_cpp='$CPP $CPPFLAGS'
2892
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895
if test -n "$ac_tool_prefix"; then
2896
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2897
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899
$as_echo_n "checking for $ac_word... " >&6; }
2900
if ${ac_cv_prog_CC+:} false; then :
2901
$as_echo_n "(cached) " >&6
2903
if test -n "$CC"; then
2904
ac_cv_prog_CC="$CC" # Let the user override the test.
2906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910
test -z "$as_dir" && as_dir=.
2911
for ac_exec_ext in '' $ac_executable_extensions; do
2912
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2914
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924
if test -n "$CC"; then
2925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2926
$as_echo "$CC" >&6; }
2928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929
$as_echo "no" >&6; }
2934
if test -z "$ac_cv_prog_CC"; then
2936
# Extract the first word of "gcc", so it can be a program name with args.
2937
set dummy gcc; ac_word=$2
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939
$as_echo_n "checking for $ac_word... " >&6; }
2940
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2941
$as_echo_n "(cached) " >&6
2943
if test -n "$ac_ct_CC"; then
2944
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2946
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950
test -z "$as_dir" && as_dir=.
2951
for ac_exec_ext in '' $ac_executable_extensions; do
2952
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953
ac_cv_prog_ac_ct_CC="gcc"
2954
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2964
if test -n "$ac_ct_CC"; then
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2966
$as_echo "$ac_ct_CC" >&6; }
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969
$as_echo "no" >&6; }
2972
if test "x$ac_ct_CC" = x; then
2975
case $cross_compiling:$ac_tool_warned in
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2978
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2979
ac_tool_warned=yes ;;
2987
if test -z "$CC"; then
2988
if test -n "$ac_tool_prefix"; then
2989
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2990
set dummy ${ac_tool_prefix}cc; ac_word=$2
2991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992
$as_echo_n "checking for $ac_word... " >&6; }
2993
if ${ac_cv_prog_CC+:} false; then :
2994
$as_echo_n "(cached) " >&6
2996
if test -n "$CC"; then
2997
ac_cv_prog_CC="$CC" # Let the user override the test.
2999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003
test -z "$as_dir" && as_dir=.
3004
for ac_exec_ext in '' $ac_executable_extensions; do
3005
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006
ac_cv_prog_CC="${ac_tool_prefix}cc"
3007
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017
if test -n "$CC"; then
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019
$as_echo "$CC" >&6; }
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022
$as_echo "no" >&6; }
3028
if test -z "$CC"; then
3029
# Extract the first word of "cc", so it can be a program name with args.
3030
set dummy cc; ac_word=$2
3031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032
$as_echo_n "checking for $ac_word... " >&6; }
3033
if ${ac_cv_prog_CC+:} false; then :
3034
$as_echo_n "(cached) " >&6
3036
if test -n "$CC"; then
3037
ac_cv_prog_CC="$CC" # Let the user override the test.
3040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044
test -z "$as_dir" && as_dir=.
3045
for ac_exec_ext in '' $ac_executable_extensions; do
3046
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3048
ac_prog_rejected=yes
3052
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059
if test $ac_prog_rejected = yes; then
3060
# We found a bogon in the path, so make sure we never use it.
3061
set dummy $ac_cv_prog_CC
3063
if test $# != 0; then
3064
# We chose a different compiler from the bogus one.
3065
# However, it has the same basename, so the bogon will be chosen
3066
# first if we set CC to just the basename; use the full file name.
3068
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3074
if test -n "$CC"; then
3075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076
$as_echo "$CC" >&6; }
3078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079
$as_echo "no" >&6; }
3084
if test -z "$CC"; then
3085
if test -n "$ac_tool_prefix"; then
3086
for ac_prog in cl.exe
3088
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3089
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091
$as_echo_n "checking for $ac_word... " >&6; }
3092
if ${ac_cv_prog_CC+:} false; then :
3093
$as_echo_n "(cached) " >&6
3095
if test -n "$CC"; then
3096
ac_cv_prog_CC="$CC" # Let the user override the test.
3098
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102
test -z "$as_dir" && as_dir=.
3103
for ac_exec_ext in '' $ac_executable_extensions; do
3104
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3106
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116
if test -n "$CC"; then
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118
$as_echo "$CC" >&6; }
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121
$as_echo "no" >&6; }
3125
test -n "$CC" && break
3128
if test -z "$CC"; then
3130
for ac_prog in cl.exe
3132
# Extract the first word of "$ac_prog", so it can be a program name with args.
3133
set dummy $ac_prog; ac_word=$2
3134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135
$as_echo_n "checking for $ac_word... " >&6; }
3136
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3137
$as_echo_n "(cached) " >&6
3139
if test -n "$ac_ct_CC"; then
3140
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146
test -z "$as_dir" && as_dir=.
3147
for ac_exec_ext in '' $ac_executable_extensions; do
3148
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149
ac_cv_prog_ac_ct_CC="$ac_prog"
3150
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3160
if test -n "$ac_ct_CC"; then
3161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3162
$as_echo "$ac_ct_CC" >&6; }
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165
$as_echo "no" >&6; }
3169
test -n "$ac_ct_CC" && break
3172
if test "x$ac_ct_CC" = x; then
3175
case $cross_compiling:$ac_tool_warned in
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3178
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3179
ac_tool_warned=yes ;;
3188
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190
as_fn_error $? "no acceptable C compiler found in \$PATH
3191
See \`config.log' for more details" "$LINENO" 5; }
3193
# Provide some information about the compiler.
3194
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3197
for ac_option in --version -v -V -qversion; do
3198
{ { ac_try="$ac_compiler $ac_option >&5"
3200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201
*) ac_try_echo=$ac_try;;
3203
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204
$as_echo "$ac_try_echo"; } >&5
3205
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3207
if test -s conftest.err; then
3209
... rest of stderr output deleted ...
3210
10q' conftest.err >conftest.er1
3211
cat conftest.er1 >&5
3213
rm -f conftest.er1 conftest.err
3214
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215
test $ac_status = 0; }
3218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219
/* end confdefs.h. */
3229
ac_clean_files_save=$ac_clean_files
3230
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3231
# Try to create an executable without -o first, disregard a.out.
3232
# It will help us diagnose broken compilers, and finding out an intuition
3234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3235
$as_echo_n "checking whether the C compiler works... " >&6; }
3236
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3238
# The possible output files:
3239
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3242
for ac_file in $ac_files
3245
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3246
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3251
if { { ac_try="$ac_link_default"
3253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254
*) ac_try_echo=$ac_try;;
3256
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257
$as_echo "$ac_try_echo"; } >&5
3258
(eval "$ac_link_default") 2>&5
3260
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261
test $ac_status = 0; }; then :
3262
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3263
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3264
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3265
# so that the user can short-circuit this test for compilers unknown to
3267
for ac_file in $ac_files ''
3269
test -f "$ac_file" || continue
3271
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3274
# We found the default executable, but exeext='' is most
3278
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3280
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3282
# We set ac_cv_exeext here because the later test for it is not
3283
# safe: cross compilers may not add the suffix if given an `-o'
3284
# argument, so we may need to know it at that point already.
3285
# Even if this section looks crufty: it has the advantage of
3292
test "$ac_cv_exeext" = no && ac_cv_exeext=
3297
if test -z "$ac_file"; then :
3298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299
$as_echo "no" >&6; }
3300
$as_echo "$as_me: failed program was:" >&5
3301
sed 's/^/| /' conftest.$ac_ext >&5
3303
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305
as_fn_error 77 "C compiler cannot create executables
3306
See \`config.log' for more details" "$LINENO" 5; }
3308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3309
$as_echo "yes" >&6; }
3311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3312
$as_echo_n "checking for C compiler default output file name... " >&6; }
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3314
$as_echo "$ac_file" >&6; }
3315
ac_exeext=$ac_cv_exeext
3317
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3318
ac_clean_files=$ac_clean_files_save
3319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3320
$as_echo_n "checking for suffix of executables... " >&6; }
3321
if { { ac_try="$ac_link"
3323
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324
*) ac_try_echo=$ac_try;;
3326
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327
$as_echo "$ac_try_echo"; } >&5
3328
(eval "$ac_link") 2>&5
3330
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331
test $ac_status = 0; }; then :
3332
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3333
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3334
# work properly (i.e., refer to `conftest.exe'), while it won't with
3336
for ac_file in conftest.exe conftest conftest.*; do
3337
test -f "$ac_file" || continue
3339
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3340
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3346
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3349
See \`config.log' for more details" "$LINENO" 5; }
3351
rm -f conftest conftest$ac_cv_exeext
3352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3353
$as_echo "$ac_cv_exeext" >&6; }
3355
rm -f conftest.$ac_ext
3356
EXEEXT=$ac_cv_exeext
3358
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359
/* end confdefs.h. */
3364
FILE *f = fopen ("conftest.out", "w");
3365
return ferror (f) || fclose (f) != 0;
3371
ac_clean_files="$ac_clean_files conftest.out"
3372
# Check that the compiler produces executables we can run. If not, either
3373
# the compiler is broken, or we cross compile.
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3375
$as_echo_n "checking whether we are cross compiling... " >&6; }
3376
if test "$cross_compiling" != yes; then
3377
{ { ac_try="$ac_link"
3379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380
*) ac_try_echo=$ac_try;;
3382
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3383
$as_echo "$ac_try_echo"; } >&5
3384
(eval "$ac_link") 2>&5
3386
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387
test $ac_status = 0; }
3388
if { ac_try='./conftest$ac_cv_exeext'
3389
{ { case "(($ac_try" in
3390
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391
*) ac_try_echo=$ac_try;;
3393
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394
$as_echo "$ac_try_echo"; } >&5
3395
(eval "$ac_try") 2>&5
3397
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398
test $ac_status = 0; }; }; then
3401
if test "$cross_compiling" = maybe; then
3404
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406
as_fn_error $? "cannot run C compiled programs.
3407
If you meant to cross compile, use \`--host'.
3408
See \`config.log' for more details" "$LINENO" 5; }
3412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3413
$as_echo "$cross_compiling" >&6; }
3415
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3416
ac_clean_files=$ac_clean_files_save
3417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3418
$as_echo_n "checking for suffix of object files... " >&6; }
3419
if ${ac_cv_objext+:} false; then :
3420
$as_echo_n "(cached) " >&6
3422
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423
/* end confdefs.h. */
3433
rm -f conftest.o conftest.obj
3434
if { { ac_try="$ac_compile"
3436
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437
*) ac_try_echo=$ac_try;;
3439
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440
$as_echo "$ac_try_echo"; } >&5
3441
(eval "$ac_compile") 2>&5
3443
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444
test $ac_status = 0; }; then :
3445
for ac_file in conftest.o conftest.obj conftest.*; do
3446
test -f "$ac_file" || continue;
3448
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3449
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3454
$as_echo "$as_me: failed program was:" >&5
3455
sed 's/^/| /' conftest.$ac_ext >&5
3457
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459
as_fn_error $? "cannot compute suffix of object files: cannot compile
3460
See \`config.log' for more details" "$LINENO" 5; }
3462
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3465
$as_echo "$ac_cv_objext" >&6; }
3466
OBJEXT=$ac_cv_objext
3468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3469
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3470
if ${ac_cv_c_compiler_gnu+:} false; then :
3471
$as_echo_n "(cached) " >&6
3473
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474
/* end confdefs.h. */
3487
if ac_fn_c_try_compile "$LINENO"; then :
3492
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3497
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3498
if test $ac_compiler_gnu = yes; then
3503
ac_test_CFLAGS=${CFLAGS+set}
3504
ac_save_CFLAGS=$CFLAGS
3505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3506
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3507
if ${ac_cv_prog_cc_g+:} false; then :
3508
$as_echo_n "(cached) " >&6
3510
ac_save_c_werror_flag=$ac_c_werror_flag
3511
ac_c_werror_flag=yes
3514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515
/* end confdefs.h. */
3525
if ac_fn_c_try_compile "$LINENO"; then :
3529
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530
/* end confdefs.h. */
3540
if ac_fn_c_try_compile "$LINENO"; then :
3543
ac_c_werror_flag=$ac_save_c_werror_flag
3545
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546
/* end confdefs.h. */
3556
if ac_fn_c_try_compile "$LINENO"; then :
3559
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564
ac_c_werror_flag=$ac_save_c_werror_flag
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3567
$as_echo "$ac_cv_prog_cc_g" >&6; }
3568
if test "$ac_test_CFLAGS" = set; then
3569
CFLAGS=$ac_save_CFLAGS
3570
elif test $ac_cv_prog_cc_g = yes; then
3571
if test "$GCC" = yes; then
3577
if test "$GCC" = yes; then
3583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3584
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3585
if ${ac_cv_prog_cc_c89+:} false; then :
3586
$as_echo_n "(cached) " >&6
3588
ac_cv_prog_cc_c89=no
3590
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591
/* end confdefs.h. */
3594
#include <sys/types.h>
3595
#include <sys/stat.h>
3596
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3597
struct buf { int x; };
3598
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3599
static char *e (p, i)
3605
static char *f (char * (*g) (char **, int), char **p, ...)
3610
s = g (p, va_arg (v,int));
3615
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3616
function prototypes and stuff, but not '\xHH' hex character constants.
3617
These don't provoke an error unfortunately, instead are silently treated
3618
as 'x'. The following induces an error, until -std is added to get
3619
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3620
array size at least. It's necessary to write '\x00'==0 to get something
3621
that's true only with -std. */
3622
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3624
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3625
inside strings and character constants. */
3627
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3629
int test (int i, double x);
3630
struct s1 {int (*f) (int a);};
3631
struct s2 {int (*f) (double a);};
3632
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3638
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3643
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3644
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3646
CC="$ac_save_CC $ac_arg"
3647
if ac_fn_c_try_compile "$LINENO"; then :
3648
ac_cv_prog_cc_c89=$ac_arg
3650
rm -f core conftest.err conftest.$ac_objext
3651
test "x$ac_cv_prog_cc_c89" != "xno" && break
3653
rm -f conftest.$ac_ext
3658
case "x$ac_cv_prog_cc_c89" in
3660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3661
$as_echo "none needed" >&6; } ;;
3663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3664
$as_echo "unsupported" >&6; } ;;
3666
CC="$CC $ac_cv_prog_cc_c89"
3667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3668
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3670
if test "x$ac_cv_prog_cc_c89" != xno; then :
3675
ac_cpp='$CPP $CPPFLAGS'
3676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680
depcc="$CC" am_compiler_list=
3682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3683
$as_echo_n "checking dependency style of $depcc... " >&6; }
3684
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3685
$as_echo_n "(cached) " >&6
3687
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3688
# We make a subdir and do the tests there. Otherwise we can end up
3689
# making bogus files that we don't know about and never remove. For
3690
# instance it was reported that on HP-UX the gcc test will end up
3691
# making a dummy file named `D' -- because `-MD' means `put the output
3694
# Copy depcomp to subdir because otherwise we won't find it if we're
3695
# using a relative directory.
3696
cp "$am_depcomp" conftest.dir
3698
# We will build objects and dependencies in a subdirectory because
3699
# it helps to detect inapplicable dependency modes. For instance
3700
# both Tru64's cc and ICC support -MD to output dependencies as a
3701
# side effect of compilation, but ICC will put the dependencies in
3702
# the current directory while Tru64 will put them in the object
3706
am_cv_CC_dependencies_compiler_type=none
3707
if test "$am_compiler_list" = ""; then
3708
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3711
case " $depcc " in #(
3712
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3715
for depmode in $am_compiler_list; do
3716
# Setup a source with many dependencies, because some compilers
3717
# like to wrap large dependency lists on column 80 (with \), and
3718
# we should not choose a depcomp mode which is confused by this.
3720
# We need to recreate these files for each test, as the compiler may
3721
# overwrite some of them when testing with obscure command lines.
3722
# This happens at least with the AIX C compiler.
3724
for i in 1 2 3 4 5 6; do
3725
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3726
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3727
# Solaris 8's {/usr,}/bin/sh.
3728
touch sub/conftst$i.h
3730
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3732
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3733
# mode. It turns out that the SunPro C++ compiler does not properly
3734
# handle `-M -o', and we need to detect this. Also, some Intel
3735
# versions had trouble with output in subdirs
3736
am__obj=sub/conftest.${OBJEXT-o}
3737
am__minus_obj="-o $am__obj"
3740
# This depmode causes a compiler race in universal mode.
3741
test "$am__universal" = false || continue
3744
# after this tag, mechanisms are not by side-effect, so they'll
3745
# only be used when explicitly requested
3746
if test "x$enable_dependency_tracking" = xyes; then
3752
msvisualcpp | msvcmsys)
3753
# This compiler won't grok `-c -o', but also, the minuso test has
3754
# not run yet. These depmodes are late enough in the game, and
3755
# so weak that their functioning should not be impacted.
3756
am__obj=conftest.${OBJEXT-o}
3761
if depmode=$depmode \
3762
source=sub/conftest.c object=$am__obj \
3763
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3764
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3765
>/dev/null 2>conftest.err &&
3766
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3767
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3768
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3769
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3770
# icc doesn't choke on unknown options, it will just issue warnings
3771
# or remarks (even with -Werror). So we grep stderr for any message
3772
# that says an option was ignored or not supported.
3773
# When given -MP, icc 7.0 and 7.1 complain thusly:
3774
# icc: Command line warning: ignoring option '-M'; no argument required
3775
# The diagnosis changed in icc 8.0:
3776
# icc: Command line remark: option '-MP' not supported
3777
if (grep 'ignoring option' conftest.err ||
3778
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3779
am_cv_CC_dependencies_compiler_type=$depmode
3788
am_cv_CC_dependencies_compiler_type=none
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3793
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3794
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3797
test "x$enable_dependency_tracking" != xno \
3798
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3800
am__fastdepCC_FALSE='#'
3802
am__fastdepCC_TRUE='#'
3803
am__fastdepCC_FALSE=
3808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3809
$as_echo_n "checking for library containing strerror... " >&6; }
3810
if ${ac_cv_search_strerror+:} false; then :
3811
$as_echo_n "(cached) " >&6
3813
ac_func_search_save_LIBS=$LIBS
3814
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815
/* end confdefs.h. */
3817
/* Override any GCC internal prototype to avoid an error.
3818
Use char because int might match the return type of a GCC
3819
builtin and then its argument prototype would still apply. */
3832
for ac_lib in '' cposix; do
3833
if test -z "$ac_lib"; then
3834
ac_res="none required"
3837
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3839
if ac_fn_c_try_link "$LINENO"; then :
3840
ac_cv_search_strerror=$ac_res
3842
rm -f core conftest.err conftest.$ac_objext \
3844
if ${ac_cv_search_strerror+:} false; then :
3848
if ${ac_cv_search_strerror+:} false; then :
3851
ac_cv_search_strerror=no
3854
LIBS=$ac_func_search_save_LIBS
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3857
$as_echo "$ac_cv_search_strerror" >&6; }
3858
ac_res=$ac_cv_search_strerror
3859
if test "$ac_res" != no; then :
3860
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3865
ac_cpp='$CPP $CPPFLAGS'
3866
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869
if test -n "$ac_tool_prefix"; then
3870
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3871
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873
$as_echo_n "checking for $ac_word... " >&6; }
3874
if ${ac_cv_prog_CC+:} false; then :
3875
$as_echo_n "(cached) " >&6
3877
if test -n "$CC"; then
3878
ac_cv_prog_CC="$CC" # Let the user override the test.
3880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884
test -z "$as_dir" && as_dir=.
3885
for ac_exec_ext in '' $ac_executable_extensions; do
3886
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3888
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898
if test -n "$CC"; then
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3900
$as_echo "$CC" >&6; }
3902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903
$as_echo "no" >&6; }
3908
if test -z "$ac_cv_prog_CC"; then
3910
# Extract the first word of "gcc", so it can be a program name with args.
3911
set dummy gcc; ac_word=$2
3912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3913
$as_echo_n "checking for $ac_word... " >&6; }
3914
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3915
$as_echo_n "(cached) " >&6
3917
if test -n "$ac_ct_CC"; then
3918
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924
test -z "$as_dir" && as_dir=.
3925
for ac_exec_ext in '' $ac_executable_extensions; do
3926
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3927
ac_cv_prog_ac_ct_CC="gcc"
3928
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3938
if test -n "$ac_ct_CC"; then
3939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3940
$as_echo "$ac_ct_CC" >&6; }
3942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943
$as_echo "no" >&6; }
3946
if test "x$ac_ct_CC" = x; then
3949
case $cross_compiling:$ac_tool_warned in
3951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3952
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3953
ac_tool_warned=yes ;;
3961
if test -z "$CC"; then
3962
if test -n "$ac_tool_prefix"; then
3963
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3964
set dummy ${ac_tool_prefix}cc; ac_word=$2
3965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966
$as_echo_n "checking for $ac_word... " >&6; }
3967
if ${ac_cv_prog_CC+:} false; then :
3968
$as_echo_n "(cached) " >&6
3970
if test -n "$CC"; then
3971
ac_cv_prog_CC="$CC" # Let the user override the test.
3973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977
test -z "$as_dir" && as_dir=.
3978
for ac_exec_ext in '' $ac_executable_extensions; do
3979
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980
ac_cv_prog_CC="${ac_tool_prefix}cc"
3981
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991
if test -n "$CC"; then
3992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3993
$as_echo "$CC" >&6; }
3995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996
$as_echo "no" >&6; }
4002
if test -z "$CC"; then
4003
# Extract the first word of "cc", so it can be a program name with args.
4004
set dummy cc; ac_word=$2
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006
$as_echo_n "checking for $ac_word... " >&6; }
4007
if ${ac_cv_prog_CC+:} false; then :
4008
$as_echo_n "(cached) " >&6
4010
if test -n "$CC"; then
4011
ac_cv_prog_CC="$CC" # Let the user override the test.
4014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018
test -z "$as_dir" && as_dir=.
4019
for ac_exec_ext in '' $ac_executable_extensions; do
4020
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4021
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4022
ac_prog_rejected=yes
4026
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4033
if test $ac_prog_rejected = yes; then
4034
# We found a bogon in the path, so make sure we never use it.
4035
set dummy $ac_cv_prog_CC
4037
if test $# != 0; then
4038
# We chose a different compiler from the bogus one.
4039
# However, it has the same basename, so the bogon will be chosen
4040
# first if we set CC to just the basename; use the full file name.
4042
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4048
if test -n "$CC"; then
4049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4050
$as_echo "$CC" >&6; }
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053
$as_echo "no" >&6; }
4058
if test -z "$CC"; then
4059
if test -n "$ac_tool_prefix"; then
4060
for ac_prog in cl.exe
4062
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4063
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065
$as_echo_n "checking for $ac_word... " >&6; }
4066
if ${ac_cv_prog_CC+:} false; then :
4067
$as_echo_n "(cached) " >&6
4069
if test -n "$CC"; then
4070
ac_cv_prog_CC="$CC" # Let the user override the test.
4072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076
test -z "$as_dir" && as_dir=.
4077
for ac_exec_ext in '' $ac_executable_extensions; do
4078
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4080
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4090
if test -n "$CC"; then
4091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4092
$as_echo "$CC" >&6; }
4094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095
$as_echo "no" >&6; }
4099
test -n "$CC" && break
4102
if test -z "$CC"; then
4104
for ac_prog in cl.exe
4106
# Extract the first word of "$ac_prog", so it can be a program name with args.
4107
set dummy $ac_prog; ac_word=$2
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109
$as_echo_n "checking for $ac_word... " >&6; }
4110
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4111
$as_echo_n "(cached) " >&6
4113
if test -n "$ac_ct_CC"; then
4114
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120
test -z "$as_dir" && as_dir=.
4121
for ac_exec_ext in '' $ac_executable_extensions; do
4122
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4123
ac_cv_prog_ac_ct_CC="$ac_prog"
4124
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4133
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4134
if test -n "$ac_ct_CC"; then
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4136
$as_echo "$ac_ct_CC" >&6; }
4138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139
$as_echo "no" >&6; }
4143
test -n "$ac_ct_CC" && break
4146
if test "x$ac_ct_CC" = x; then
4149
case $cross_compiling:$ac_tool_warned in
4151
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4152
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4153
ac_tool_warned=yes ;;
4162
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164
as_fn_error $? "no acceptable C compiler found in \$PATH
4165
See \`config.log' for more details" "$LINENO" 5; }
4167
# Provide some information about the compiler.
4168
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4171
for ac_option in --version -v -V -qversion; do
4172
{ { ac_try="$ac_compiler $ac_option >&5"
4174
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175
*) ac_try_echo=$ac_try;;
4177
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4178
$as_echo "$ac_try_echo"; } >&5
4179
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4181
if test -s conftest.err; then
4183
... rest of stderr output deleted ...
4184
10q' conftest.err >conftest.er1
4185
cat conftest.er1 >&5
4187
rm -f conftest.er1 conftest.err
4188
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189
test $ac_status = 0; }
4192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4193
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4194
if ${ac_cv_c_compiler_gnu+:} false; then :
4195
$as_echo_n "(cached) " >&6
4197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198
/* end confdefs.h. */
4211
if ac_fn_c_try_compile "$LINENO"; then :
4216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4221
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4222
if test $ac_compiler_gnu = yes; then
4227
ac_test_CFLAGS=${CFLAGS+set}
4228
ac_save_CFLAGS=$CFLAGS
4229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4230
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4231
if ${ac_cv_prog_cc_g+:} false; then :
4232
$as_echo_n "(cached) " >&6
4234
ac_save_c_werror_flag=$ac_c_werror_flag
4235
ac_c_werror_flag=yes
4238
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239
/* end confdefs.h. */
4249
if ac_fn_c_try_compile "$LINENO"; then :
4253
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254
/* end confdefs.h. */
4264
if ac_fn_c_try_compile "$LINENO"; then :
4267
ac_c_werror_flag=$ac_save_c_werror_flag
4269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270
/* end confdefs.h. */
4280
if ac_fn_c_try_compile "$LINENO"; then :
4283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288
ac_c_werror_flag=$ac_save_c_werror_flag
4290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4291
$as_echo "$ac_cv_prog_cc_g" >&6; }
4292
if test "$ac_test_CFLAGS" = set; then
4293
CFLAGS=$ac_save_CFLAGS
4294
elif test $ac_cv_prog_cc_g = yes; then
4295
if test "$GCC" = yes; then
4301
if test "$GCC" = yes; then
4307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4308
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4309
if ${ac_cv_prog_cc_c89+:} false; then :
4310
$as_echo_n "(cached) " >&6
4312
ac_cv_prog_cc_c89=no
4314
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315
/* end confdefs.h. */
4318
#include <sys/types.h>
4319
#include <sys/stat.h>
4320
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4321
struct buf { int x; };
4322
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4323
static char *e (p, i)
4329
static char *f (char * (*g) (char **, int), char **p, ...)
4334
s = g (p, va_arg (v,int));
4339
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4340
function prototypes and stuff, but not '\xHH' hex character constants.
4341
These don't provoke an error unfortunately, instead are silently treated
4342
as 'x'. The following induces an error, until -std is added to get
4343
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4344
array size at least. It's necessary to write '\x00'==0 to get something
4345
that's true only with -std. */
4346
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4348
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4349
inside strings and character constants. */
4351
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4353
int test (int i, double x);
4354
struct s1 {int (*f) (int a);};
4355
struct s2 {int (*f) (double a);};
4356
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4362
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4367
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4368
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4370
CC="$ac_save_CC $ac_arg"
4371
if ac_fn_c_try_compile "$LINENO"; then :
4372
ac_cv_prog_cc_c89=$ac_arg
4374
rm -f core conftest.err conftest.$ac_objext
4375
test "x$ac_cv_prog_cc_c89" != "xno" && break
4377
rm -f conftest.$ac_ext
4382
case "x$ac_cv_prog_cc_c89" in
4384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4385
$as_echo "none needed" >&6; } ;;
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4388
$as_echo "unsupported" >&6; } ;;
4390
CC="$CC $ac_cv_prog_cc_c89"
4391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4392
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4394
if test "x$ac_cv_prog_cc_c89" != xno; then :
4399
ac_cpp='$CPP $CPPFLAGS'
4400
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404
depcc="$CC" am_compiler_list=
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4407
$as_echo_n "checking dependency style of $depcc... " >&6; }
4408
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4409
$as_echo_n "(cached) " >&6
4411
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4412
# We make a subdir and do the tests there. Otherwise we can end up
4413
# making bogus files that we don't know about and never remove. For
4414
# instance it was reported that on HP-UX the gcc test will end up
4415
# making a dummy file named `D' -- because `-MD' means `put the output
4418
# Copy depcomp to subdir because otherwise we won't find it if we're
4419
# using a relative directory.
4420
cp "$am_depcomp" conftest.dir
4422
# We will build objects and dependencies in a subdirectory because
4423
# it helps to detect inapplicable dependency modes. For instance
4424
# both Tru64's cc and ICC support -MD to output dependencies as a
4425
# side effect of compilation, but ICC will put the dependencies in
4426
# the current directory while Tru64 will put them in the object
4430
am_cv_CC_dependencies_compiler_type=none
4431
if test "$am_compiler_list" = ""; then
4432
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4435
case " $depcc " in #(
4436
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4439
for depmode in $am_compiler_list; do
4440
# Setup a source with many dependencies, because some compilers
4441
# like to wrap large dependency lists on column 80 (with \), and
4442
# we should not choose a depcomp mode which is confused by this.
4444
# We need to recreate these files for each test, as the compiler may
4445
# overwrite some of them when testing with obscure command lines.
4446
# This happens at least with the AIX C compiler.
4448
for i in 1 2 3 4 5 6; do
4449
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4450
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4451
# Solaris 8's {/usr,}/bin/sh.
4452
touch sub/conftst$i.h
4454
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4456
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4457
# mode. It turns out that the SunPro C++ compiler does not properly
4458
# handle `-M -o', and we need to detect this. Also, some Intel
4459
# versions had trouble with output in subdirs
4460
am__obj=sub/conftest.${OBJEXT-o}
4461
am__minus_obj="-o $am__obj"
4464
# This depmode causes a compiler race in universal mode.
4465
test "$am__universal" = false || continue
4468
# after this tag, mechanisms are not by side-effect, so they'll
4469
# only be used when explicitly requested
4470
if test "x$enable_dependency_tracking" = xyes; then
4476
msvisualcpp | msvcmsys)
4477
# This compiler won't grok `-c -o', but also, the minuso test has
4478
# not run yet. These depmodes are late enough in the game, and
4479
# so weak that their functioning should not be impacted.
4480
am__obj=conftest.${OBJEXT-o}
4485
if depmode=$depmode \
4486
source=sub/conftest.c object=$am__obj \
4487
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4488
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4489
>/dev/null 2>conftest.err &&
4490
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4491
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4492
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4493
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4494
# icc doesn't choke on unknown options, it will just issue warnings
4495
# or remarks (even with -Werror). So we grep stderr for any message
4496
# that says an option was ignored or not supported.
4497
# When given -MP, icc 7.0 and 7.1 complain thusly:
4498
# icc: Command line warning: ignoring option '-M'; no argument required
4499
# The diagnosis changed in icc 8.0:
4500
# icc: Command line remark: option '-MP' not supported
4501
if (grep 'ignoring option' conftest.err ||
4502
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4503
am_cv_CC_dependencies_compiler_type=$depmode
4512
am_cv_CC_dependencies_compiler_type=none
4516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4517
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4518
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4521
test "x$enable_dependency_tracking" != xno \
4522
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4524
am__fastdepCC_FALSE='#'
4526
am__fastdepCC_TRUE='#'
4527
am__fastdepCC_FALSE=
4532
ac_cpp='$CPP $CPPFLAGS'
4533
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4536
if test -n "$ac_tool_prefix"; then
4537
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4538
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540
$as_echo_n "checking for $ac_word... " >&6; }
4541
if ${ac_cv_prog_CC+:} false; then :
4542
$as_echo_n "(cached) " >&6
4544
if test -n "$CC"; then
4545
ac_cv_prog_CC="$CC" # Let the user override the test.
4547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551
test -z "$as_dir" && as_dir=.
4552
for ac_exec_ext in '' $ac_executable_extensions; do
4553
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4555
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565
if test -n "$CC"; then
4566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4567
$as_echo "$CC" >&6; }
4569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570
$as_echo "no" >&6; }
4575
if test -z "$ac_cv_prog_CC"; then
4577
# Extract the first word of "gcc", so it can be a program name with args.
4578
set dummy gcc; ac_word=$2
4579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580
$as_echo_n "checking for $ac_word... " >&6; }
4581
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4582
$as_echo_n "(cached) " >&6
4584
if test -n "$ac_ct_CC"; then
4585
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4591
test -z "$as_dir" && as_dir=.
4592
for ac_exec_ext in '' $ac_executable_extensions; do
4593
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4594
ac_cv_prog_ac_ct_CC="gcc"
4595
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4605
if test -n "$ac_ct_CC"; then
4606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4607
$as_echo "$ac_ct_CC" >&6; }
4609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610
$as_echo "no" >&6; }
4613
if test "x$ac_ct_CC" = x; then
4616
case $cross_compiling:$ac_tool_warned in
4618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4619
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4620
ac_tool_warned=yes ;;
4628
if test -z "$CC"; then
4629
if test -n "$ac_tool_prefix"; then
4630
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4631
set dummy ${ac_tool_prefix}cc; ac_word=$2
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4633
$as_echo_n "checking for $ac_word... " >&6; }
4634
if ${ac_cv_prog_CC+:} false; then :
4635
$as_echo_n "(cached) " >&6
4637
if test -n "$CC"; then
4638
ac_cv_prog_CC="$CC" # Let the user override the test.
4640
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644
test -z "$as_dir" && as_dir=.
4645
for ac_exec_ext in '' $ac_executable_extensions; do
4646
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647
ac_cv_prog_CC="${ac_tool_prefix}cc"
4648
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658
if test -n "$CC"; then
4659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4660
$as_echo "$CC" >&6; }
4662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663
$as_echo "no" >&6; }
4669
if test -z "$CC"; then
4670
# Extract the first word of "cc", so it can be a program name with args.
4671
set dummy cc; ac_word=$2
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673
$as_echo_n "checking for $ac_word... " >&6; }
4674
if ${ac_cv_prog_CC+:} false; then :
4675
$as_echo_n "(cached) " >&6
4677
if test -n "$CC"; then
4678
ac_cv_prog_CC="$CC" # Let the user override the test.
4681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685
test -z "$as_dir" && as_dir=.
4686
for ac_exec_ext in '' $ac_executable_extensions; do
4687
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4688
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4689
ac_prog_rejected=yes
4693
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700
if test $ac_prog_rejected = yes; then
4701
# We found a bogon in the path, so make sure we never use it.
4702
set dummy $ac_cv_prog_CC
4704
if test $# != 0; then
4705
# We chose a different compiler from the bogus one.
4706
# However, it has the same basename, so the bogon will be chosen
4707
# first if we set CC to just the basename; use the full file name.
4709
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4715
if test -n "$CC"; then
4716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4717
$as_echo "$CC" >&6; }
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720
$as_echo "no" >&6; }
4725
if test -z "$CC"; then
4726
if test -n "$ac_tool_prefix"; then
4727
for ac_prog in cl.exe
4729
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4730
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732
$as_echo_n "checking for $ac_word... " >&6; }
4733
if ${ac_cv_prog_CC+:} false; then :
4734
$as_echo_n "(cached) " >&6
4736
if test -n "$CC"; then
4737
ac_cv_prog_CC="$CC" # Let the user override the test.
4739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743
test -z "$as_dir" && as_dir=.
4744
for ac_exec_ext in '' $ac_executable_extensions; do
4745
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4746
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4747
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757
if test -n "$CC"; then
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4759
$as_echo "$CC" >&6; }
4761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762
$as_echo "no" >&6; }
4766
test -n "$CC" && break
4769
if test -z "$CC"; then
4771
for ac_prog in cl.exe
4773
# Extract the first word of "$ac_prog", so it can be a program name with args.
4774
set dummy $ac_prog; ac_word=$2
4775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776
$as_echo_n "checking for $ac_word... " >&6; }
4777
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4778
$as_echo_n "(cached) " >&6
4780
if test -n "$ac_ct_CC"; then
4781
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4787
test -z "$as_dir" && as_dir=.
4788
for ac_exec_ext in '' $ac_executable_extensions; do
4789
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4790
ac_cv_prog_ac_ct_CC="$ac_prog"
4791
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4800
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4801
if test -n "$ac_ct_CC"; then
4802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4803
$as_echo "$ac_ct_CC" >&6; }
4805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806
$as_echo "no" >&6; }
4810
test -n "$ac_ct_CC" && break
4813
if test "x$ac_ct_CC" = x; then
4816
case $cross_compiling:$ac_tool_warned in
4818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4820
ac_tool_warned=yes ;;
4829
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831
as_fn_error $? "no acceptable C compiler found in \$PATH
4832
See \`config.log' for more details" "$LINENO" 5; }
4834
# Provide some information about the compiler.
4835
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4838
for ac_option in --version -v -V -qversion; do
4839
{ { ac_try="$ac_compiler $ac_option >&5"
4841
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842
*) ac_try_echo=$ac_try;;
4844
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4845
$as_echo "$ac_try_echo"; } >&5
4846
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4848
if test -s conftest.err; then
4850
... rest of stderr output deleted ...
4851
10q' conftest.err >conftest.er1
4852
cat conftest.er1 >&5
4854
rm -f conftest.er1 conftest.err
4855
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856
test $ac_status = 0; }
4859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4860
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4861
if ${ac_cv_c_compiler_gnu+:} false; then :
4862
$as_echo_n "(cached) " >&6
4864
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865
/* end confdefs.h. */
4878
if ac_fn_c_try_compile "$LINENO"; then :
4883
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4888
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4889
if test $ac_compiler_gnu = yes; then
4894
ac_test_CFLAGS=${CFLAGS+set}
4895
ac_save_CFLAGS=$CFLAGS
4896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4897
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4898
if ${ac_cv_prog_cc_g+:} false; then :
4899
$as_echo_n "(cached) " >&6
4901
ac_save_c_werror_flag=$ac_c_werror_flag
4902
ac_c_werror_flag=yes
4905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906
/* end confdefs.h. */
4916
if ac_fn_c_try_compile "$LINENO"; then :
4920
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921
/* end confdefs.h. */
4931
if ac_fn_c_try_compile "$LINENO"; then :
4934
ac_c_werror_flag=$ac_save_c_werror_flag
4936
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937
/* end confdefs.h. */
4947
if ac_fn_c_try_compile "$LINENO"; then :
4950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4955
ac_c_werror_flag=$ac_save_c_werror_flag
4957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4958
$as_echo "$ac_cv_prog_cc_g" >&6; }
4959
if test "$ac_test_CFLAGS" = set; then
4960
CFLAGS=$ac_save_CFLAGS
4961
elif test $ac_cv_prog_cc_g = yes; then
4962
if test "$GCC" = yes; then
4968
if test "$GCC" = yes; then
4974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4975
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4976
if ${ac_cv_prog_cc_c89+:} false; then :
4977
$as_echo_n "(cached) " >&6
4979
ac_cv_prog_cc_c89=no
4981
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982
/* end confdefs.h. */
4985
#include <sys/types.h>
4986
#include <sys/stat.h>
4987
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4988
struct buf { int x; };
4989
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4990
static char *e (p, i)
4996
static char *f (char * (*g) (char **, int), char **p, ...)
5001
s = g (p, va_arg (v,int));
5006
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5007
function prototypes and stuff, but not '\xHH' hex character constants.
5008
These don't provoke an error unfortunately, instead are silently treated
5009
as 'x'. The following induces an error, until -std is added to get
5010
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5011
array size at least. It's necessary to write '\x00'==0 to get something
5012
that's true only with -std. */
5013
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5015
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5016
inside strings and character constants. */
5018
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5020
int test (int i, double x);
5021
struct s1 {int (*f) (int a);};
5022
struct s2 {int (*f) (double a);};
5023
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5029
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5034
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5035
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5037
CC="$ac_save_CC $ac_arg"
5038
if ac_fn_c_try_compile "$LINENO"; then :
5039
ac_cv_prog_cc_c89=$ac_arg
5041
rm -f core conftest.err conftest.$ac_objext
5042
test "x$ac_cv_prog_cc_c89" != "xno" && break
5044
rm -f conftest.$ac_ext
5049
case "x$ac_cv_prog_cc_c89" in
5051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5052
$as_echo "none needed" >&6; } ;;
5054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5055
$as_echo "unsupported" >&6; } ;;
5057
CC="$CC $ac_cv_prog_cc_c89"
5058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5059
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5061
if test "x$ac_cv_prog_cc_c89" != xno; then :
5066
ac_cpp='$CPP $CPPFLAGS'
5067
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5071
depcc="$CC" am_compiler_list=
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5074
$as_echo_n "checking dependency style of $depcc... " >&6; }
5075
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5076
$as_echo_n "(cached) " >&6
5078
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5079
# We make a subdir and do the tests there. Otherwise we can end up
5080
# making bogus files that we don't know about and never remove. For
5081
# instance it was reported that on HP-UX the gcc test will end up
5082
# making a dummy file named `D' -- because `-MD' means `put the output
5085
# Copy depcomp to subdir because otherwise we won't find it if we're
5086
# using a relative directory.
5087
cp "$am_depcomp" conftest.dir
5089
# We will build objects and dependencies in a subdirectory because
5090
# it helps to detect inapplicable dependency modes. For instance
5091
# both Tru64's cc and ICC support -MD to output dependencies as a
5092
# side effect of compilation, but ICC will put the dependencies in
5093
# the current directory while Tru64 will put them in the object
5097
am_cv_CC_dependencies_compiler_type=none
5098
if test "$am_compiler_list" = ""; then
5099
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5102
case " $depcc " in #(
5103
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5106
for depmode in $am_compiler_list; do
5107
# Setup a source with many dependencies, because some compilers
5108
# like to wrap large dependency lists on column 80 (with \), and
5109
# we should not choose a depcomp mode which is confused by this.
5111
# We need to recreate these files for each test, as the compiler may
5112
# overwrite some of them when testing with obscure command lines.
5113
# This happens at least with the AIX C compiler.
5115
for i in 1 2 3 4 5 6; do
5116
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5117
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5118
# Solaris 8's {/usr,}/bin/sh.
5119
touch sub/conftst$i.h
5121
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5123
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5124
# mode. It turns out that the SunPro C++ compiler does not properly
5125
# handle `-M -o', and we need to detect this. Also, some Intel
5126
# versions had trouble with output in subdirs
5127
am__obj=sub/conftest.${OBJEXT-o}
5128
am__minus_obj="-o $am__obj"
5131
# This depmode causes a compiler race in universal mode.
5132
test "$am__universal" = false || continue
5135
# after this tag, mechanisms are not by side-effect, so they'll
5136
# only be used when explicitly requested
5137
if test "x$enable_dependency_tracking" = xyes; then
5143
msvisualcpp | msvcmsys)
5144
# This compiler won't grok `-c -o', but also, the minuso test has
5145
# not run yet. These depmodes are late enough in the game, and
5146
# so weak that their functioning should not be impacted.
5147
am__obj=conftest.${OBJEXT-o}
5152
if depmode=$depmode \
5153
source=sub/conftest.c object=$am__obj \
5154
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5155
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5156
>/dev/null 2>conftest.err &&
5157
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5158
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5159
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5160
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5161
# icc doesn't choke on unknown options, it will just issue warnings
5162
# or remarks (even with -Werror). So we grep stderr for any message
5163
# that says an option was ignored or not supported.
5164
# When given -MP, icc 7.0 and 7.1 complain thusly:
5165
# icc: Command line warning: ignoring option '-M'; no argument required
5166
# The diagnosis changed in icc 8.0:
5167
# icc: Command line remark: option '-MP' not supported
5168
if (grep 'ignoring option' conftest.err ||
5169
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5170
am_cv_CC_dependencies_compiler_type=$depmode
5179
am_cv_CC_dependencies_compiler_type=none
5183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5184
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5185
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5188
test "x$enable_dependency_tracking" != xno \
5189
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5191
am__fastdepCC_FALSE='#'
5193
am__fastdepCC_TRUE='#'
5194
am__fastdepCC_FALSE=
5199
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5202
ac_cpp='$CPP $CPPFLAGS'
5203
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5204
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5205
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5207
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5208
# On Suns, sometimes $CPP names a directory.
5209
if test -n "$CPP" && test -d "$CPP"; then
5212
if test -z "$CPP"; then
5213
if ${ac_cv_prog_CPP+:} false; then :
5214
$as_echo_n "(cached) " >&6
5216
# Double quotes because CPP needs to be expanded
5217
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5220
for ac_c_preproc_warn_flag in '' yes
5222
# Use a header file that comes with gcc, so configuring glibc
5223
# with a fresh cross-compiler works.
5224
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5225
# <limits.h> exists even on freestanding compilers.
5226
# On the NeXT, cc -E runs the code through the compiler's parser,
5227
# not just through cpp. "Syntax error" is here to catch this case.
5228
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229
/* end confdefs.h. */
5231
# include <limits.h>
5233
# include <assert.h>
5237
if ac_fn_c_try_cpp "$LINENO"; then :
5240
# Broken: fails on valid input.
5243
rm -f conftest.err conftest.i conftest.$ac_ext
5245
# OK, works on sane cases. Now check whether nonexistent headers
5246
# can be detected and how.
5247
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248
/* end confdefs.h. */
5249
#include <ac_nonexistent.h>
5251
if ac_fn_c_try_cpp "$LINENO"; then :
5252
# Broken: success on invalid input.
5255
# Passes both tests.
5259
rm -f conftest.err conftest.i conftest.$ac_ext
5262
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5263
rm -f conftest.i conftest.err conftest.$ac_ext
5264
if $ac_preproc_ok; then :
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5277
$as_echo "$CPP" >&6; }
5279
for ac_c_preproc_warn_flag in '' yes
5281
# Use a header file that comes with gcc, so configuring glibc
5282
# with a fresh cross-compiler works.
5283
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5284
# <limits.h> exists even on freestanding compilers.
5285
# On the NeXT, cc -E runs the code through the compiler's parser,
5286
# not just through cpp. "Syntax error" is here to catch this case.
5287
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288
/* end confdefs.h. */
5290
# include <limits.h>
5292
# include <assert.h>
5296
if ac_fn_c_try_cpp "$LINENO"; then :
5299
# Broken: fails on valid input.
5302
rm -f conftest.err conftest.i conftest.$ac_ext
5304
# OK, works on sane cases. Now check whether nonexistent headers
5305
# can be detected and how.
5306
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5307
/* end confdefs.h. */
5308
#include <ac_nonexistent.h>
5310
if ac_fn_c_try_cpp "$LINENO"; then :
5311
# Broken: success on invalid input.
5314
# Passes both tests.
5318
rm -f conftest.err conftest.i conftest.$ac_ext
5321
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5322
rm -f conftest.i conftest.err conftest.$ac_ext
5323
if $ac_preproc_ok; then :
5326
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5328
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5329
See \`config.log' for more details" "$LINENO" 5; }
5333
ac_cpp='$CPP $CPPFLAGS'
5334
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5335
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5336
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5340
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5341
if ${ac_cv_path_GREP+:} false; then :
5342
$as_echo_n "(cached) " >&6
5344
if test -z "$GREP"; then
5345
ac_path_GREP_found=false
5346
# Loop through the user's path and test for each of PROGNAME-LIST
5347
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5351
test -z "$as_dir" && as_dir=.
5352
for ac_prog in grep ggrep; do
5353
for ac_exec_ext in '' $ac_executable_extensions; do
5354
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5355
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5356
# Check for GNU ac_path_GREP and select it if it is found.
5357
# Check for GNU $ac_path_GREP
5358
case `"$ac_path_GREP" --version 2>&1` in
5360
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5363
$as_echo_n 0123456789 >"conftest.in"
5366
cat "conftest.in" "conftest.in" >"conftest.tmp"
5367
mv "conftest.tmp" "conftest.in"
5368
cp "conftest.in" "conftest.nl"
5369
$as_echo 'GREP' >> "conftest.nl"
5370
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5371
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5372
as_fn_arith $ac_count + 1 && ac_count=$as_val
5373
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5374
# Best one so far, save it but keep looking for a better one
5375
ac_cv_path_GREP="$ac_path_GREP"
5376
ac_path_GREP_max=$ac_count
5378
# 10*(2^10) chars as input seems more than enough
5379
test $ac_count -gt 10 && break
5381
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5384
$ac_path_GREP_found && break 3
5389
if test -z "$ac_cv_path_GREP"; then
5390
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5393
ac_cv_path_GREP=$GREP
5397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5398
$as_echo "$ac_cv_path_GREP" >&6; }
5399
GREP="$ac_cv_path_GREP"
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5403
$as_echo_n "checking for egrep... " >&6; }
5404
if ${ac_cv_path_EGREP+:} false; then :
5405
$as_echo_n "(cached) " >&6
5407
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5408
then ac_cv_path_EGREP="$GREP -E"
5410
if test -z "$EGREP"; then
5411
ac_path_EGREP_found=false
5412
# Loop through the user's path and test for each of PROGNAME-LIST
5413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5417
test -z "$as_dir" && as_dir=.
5418
for ac_prog in egrep; do
5419
for ac_exec_ext in '' $ac_executable_extensions; do
5420
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5421
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5422
# Check for GNU ac_path_EGREP and select it if it is found.
5423
# Check for GNU $ac_path_EGREP
5424
case `"$ac_path_EGREP" --version 2>&1` in
5426
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5429
$as_echo_n 0123456789 >"conftest.in"
5432
cat "conftest.in" "conftest.in" >"conftest.tmp"
5433
mv "conftest.tmp" "conftest.in"
5434
cp "conftest.in" "conftest.nl"
5435
$as_echo 'EGREP' >> "conftest.nl"
5436
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438
as_fn_arith $ac_count + 1 && ac_count=$as_val
5439
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5440
# Best one so far, save it but keep looking for a better one
5441
ac_cv_path_EGREP="$ac_path_EGREP"
5442
ac_path_EGREP_max=$ac_count
5444
# 10*(2^10) chars as input seems more than enough
5445
test $ac_count -gt 10 && break
5447
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5450
$ac_path_EGREP_found && break 3
5455
if test -z "$ac_cv_path_EGREP"; then
5456
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5459
ac_cv_path_EGREP=$EGREP
5464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5465
$as_echo "$ac_cv_path_EGREP" >&6; }
5466
EGREP="$ac_cv_path_EGREP"
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5470
$as_echo_n "checking for ANSI C header files... " >&6; }
5471
if ${ac_cv_header_stdc+:} false; then :
5472
$as_echo_n "(cached) " >&6
5474
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475
/* end confdefs.h. */
5489
if ac_fn_c_try_compile "$LINENO"; then :
5490
ac_cv_header_stdc=yes
5492
ac_cv_header_stdc=no
5494
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5496
if test $ac_cv_header_stdc = yes; then
5497
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5498
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499
/* end confdefs.h. */
5503
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5504
$EGREP "memchr" >/dev/null 2>&1; then :
5507
ac_cv_header_stdc=no
5513
if test $ac_cv_header_stdc = yes; then
5514
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5515
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5516
/* end confdefs.h. */
5520
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5521
$EGREP "free" >/dev/null 2>&1; then :
5524
ac_cv_header_stdc=no
5530
if test $ac_cv_header_stdc = yes; then
5531
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5532
if test "$cross_compiling" = yes; then :
5535
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536
/* end confdefs.h. */
5539
#if ((' ' & 0x0FF) == 0x020)
5540
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5541
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5543
# define ISLOWER(c) \
5544
(('a' <= (c) && (c) <= 'i') \
5545
|| ('j' <= (c) && (c) <= 'r') \
5546
|| ('s' <= (c) && (c) <= 'z'))
5547
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5550
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5555
for (i = 0; i < 256; i++)
5556
if (XOR (islower (i), ISLOWER (i))
5557
|| toupper (i) != TOUPPER (i))
5562
if ac_fn_c_try_run "$LINENO"; then :
5565
ac_cv_header_stdc=no
5567
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5568
conftest.$ac_objext conftest.beam conftest.$ac_ext
5573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5574
$as_echo "$ac_cv_header_stdc" >&6; }
5575
if test $ac_cv_header_stdc = yes; then
5577
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5585
GETTEXT_PACKAGE=lyricue
5588
cat >>confdefs.h <<_ACEOF
5589
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5592
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5593
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5594
inttypes.h stdint.h unistd.h
5596
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5597
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5599
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5600
cat >>confdefs.h <<_ACEOF
5601
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5610
for ac_header in locale.h
5612
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5613
if test "x$ac_cv_header_locale_h" = xyes; then :
5614
cat >>confdefs.h <<_ACEOF
5615
#define HAVE_LOCALE_H 1
5622
if test $ac_cv_header_locale_h = yes; then
5623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5624
$as_echo_n "checking for LC_MESSAGES... " >&6; }
5625
if ${am_cv_val_LC_MESSAGES+:} false; then :
5626
$as_echo_n "(cached) " >&6
5628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629
/* end confdefs.h. */
5639
if ac_fn_c_try_link "$LINENO"; then :
5640
am_cv_val_LC_MESSAGES=yes
5642
am_cv_val_LC_MESSAGES=no
5644
rm -f core conftest.err conftest.$ac_objext \
5645
conftest$ac_exeext conftest.$ac_ext
5647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5648
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5649
if test $am_cv_val_LC_MESSAGES = yes; then
5651
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5658
gt_cv_have_gettext=no
5664
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5665
if test "x$ac_cv_header_libintl_h" = xyes; then :
5666
gt_cv_func_dgettext_libintl="no"
5667
libintl_extra_libs=""
5670
# First check in libc
5672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5673
$as_echo_n "checking for ngettext in libc... " >&6; }
5674
if ${gt_cv_func_ngettext_libc+:} false; then :
5675
$as_echo_n "(cached) " >&6
5677
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678
/* end confdefs.h. */
5680
#include <libintl.h>
5685
return !ngettext ("","", 1)
5690
if ac_fn_c_try_link "$LINENO"; then :
5691
gt_cv_func_ngettext_libc=yes
5693
gt_cv_func_ngettext_libc=no
5695
rm -f core conftest.err conftest.$ac_objext \
5696
conftest$ac_exeext conftest.$ac_ext
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5700
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5702
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5704
$as_echo_n "checking for dgettext in libc... " >&6; }
5705
if ${gt_cv_func_dgettext_libc+:} false; then :
5706
$as_echo_n "(cached) " >&6
5708
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709
/* end confdefs.h. */
5711
#include <libintl.h>
5716
return !dgettext ("","")
5721
if ac_fn_c_try_link "$LINENO"; then :
5722
gt_cv_func_dgettext_libc=yes
5724
gt_cv_func_dgettext_libc=no
5726
rm -f core conftest.err conftest.$ac_objext \
5727
conftest$ac_exeext conftest.$ac_ext
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5731
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5734
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5735
for ac_func in bind_textdomain_codeset
5737
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5738
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5739
cat >>confdefs.h <<_ACEOF
5740
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5749
# If we don't have everything we want, check in libintl
5751
if test "$gt_cv_func_dgettext_libc" != "yes" \
5752
|| test "$gt_cv_func_ngettext_libc" != "yes" \
5753
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5756
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5757
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5758
$as_echo_n "(cached) " >&6
5760
ac_check_lib_save_LIBS=$LIBS
5762
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5763
/* end confdefs.h. */
5765
/* Override any GCC internal prototype to avoid an error.
5766
Use char because int might match the return type of a GCC
5767
builtin and then its argument prototype would still apply. */
5771
char bindtextdomain ();
5775
return bindtextdomain ();
5780
if ac_fn_c_try_link "$LINENO"; then :
5781
ac_cv_lib_intl_bindtextdomain=yes
5783
ac_cv_lib_intl_bindtextdomain=no
5785
rm -f core conftest.err conftest.$ac_objext \
5786
conftest$ac_exeext conftest.$ac_ext
5787
LIBS=$ac_check_lib_save_LIBS
5789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5790
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5791
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
5792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5793
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5794
if ${ac_cv_lib_intl_ngettext+:} false; then :
5795
$as_echo_n "(cached) " >&6
5797
ac_check_lib_save_LIBS=$LIBS
5799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800
/* end confdefs.h. */
5802
/* Override any GCC internal prototype to avoid an error.
5803
Use char because int might match the return type of a GCC
5804
builtin and then its argument prototype would still apply. */
5817
if ac_fn_c_try_link "$LINENO"; then :
5818
ac_cv_lib_intl_ngettext=yes
5820
ac_cv_lib_intl_ngettext=no
5822
rm -f core conftest.err conftest.$ac_objext \
5823
conftest$ac_exeext conftest.$ac_ext
5824
LIBS=$ac_check_lib_save_LIBS
5826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5827
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5828
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5830
$as_echo_n "checking for dgettext in -lintl... " >&6; }
5831
if ${ac_cv_lib_intl_dgettext+:} false; then :
5832
$as_echo_n "(cached) " >&6
5834
ac_check_lib_save_LIBS=$LIBS
5836
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837
/* end confdefs.h. */
5839
/* Override any GCC internal prototype to avoid an error.
5840
Use char because int might match the return type of a GCC
5841
builtin and then its argument prototype would still apply. */
5854
if ac_fn_c_try_link "$LINENO"; then :
5855
ac_cv_lib_intl_dgettext=yes
5857
ac_cv_lib_intl_dgettext=no
5859
rm -f core conftest.err conftest.$ac_objext \
5860
conftest$ac_exeext conftest.$ac_ext
5861
LIBS=$ac_check_lib_save_LIBS
5863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5864
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5865
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5866
gt_cv_func_dgettext_libintl=yes
5874
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5876
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5880
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5881
if ${ac_cv_lib_intl_ngettext+:} false; then :
5882
$as_echo_n "(cached) " >&6
5884
ac_check_lib_save_LIBS=$LIBS
5885
LIBS="-lintl -liconv $LIBS"
5886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887
/* end confdefs.h. */
5889
/* Override any GCC internal prototype to avoid an error.
5890
Use char because int might match the return type of a GCC
5891
builtin and then its argument prototype would still apply. */
5904
if ac_fn_c_try_link "$LINENO"; then :
5905
ac_cv_lib_intl_ngettext=yes
5907
ac_cv_lib_intl_ngettext=no
5909
rm -f core conftest.err conftest.$ac_objext \
5910
conftest$ac_exeext conftest.$ac_ext
5911
LIBS=$ac_check_lib_save_LIBS
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5914
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5915
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5917
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5918
if ${ac_cv_lib_intl_dcgettext+:} false; then :
5919
$as_echo_n "(cached) " >&6
5921
ac_check_lib_save_LIBS=$LIBS
5922
LIBS="-lintl -liconv $LIBS"
5923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924
/* end confdefs.h. */
5926
/* Override any GCC internal prototype to avoid an error.
5927
Use char because int might match the return type of a GCC
5928
builtin and then its argument prototype would still apply. */
5936
return dcgettext ();
5941
if ac_fn_c_try_link "$LINENO"; then :
5942
ac_cv_lib_intl_dcgettext=yes
5944
ac_cv_lib_intl_dcgettext=no
5946
rm -f core conftest.err conftest.$ac_objext \
5947
conftest$ac_exeext conftest.$ac_ext
5948
LIBS=$ac_check_lib_save_LIBS
5950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5951
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5952
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5953
gt_cv_func_dgettext_libintl=yes
5954
libintl_extra_libs=-liconv
5966
# If we found libintl, then check in it for bind_textdomain_codeset();
5967
# we'll prefer libc if neither have bind_textdomain_codeset(),
5968
# and both have dgettext and ngettext
5970
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5971
glib_save_LIBS="$LIBS"
5972
LIBS="$LIBS -lintl $libintl_extra_libs"
5973
unset ac_cv_func_bind_textdomain_codeset
5974
for ac_func in bind_textdomain_codeset
5976
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5977
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5978
cat >>confdefs.h <<_ACEOF
5979
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5985
LIBS="$glib_save_LIBS"
5987
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5988
gt_cv_func_dgettext_libc=no
5990
if test "$gt_cv_func_dgettext_libc" = "yes" \
5991
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5992
gt_cv_func_dgettext_libintl=no
5998
if test "$gt_cv_func_dgettext_libc" = "yes" \
5999
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
6000
gt_cv_have_gettext=yes
6003
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6004
INTLLIBS="-lintl $libintl_extra_libs"
6007
if test "$gt_cv_have_gettext" = "yes"; then
6009
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6011
# Extract the first word of "msgfmt", so it can be a program name with args.
6012
set dummy msgfmt; ac_word=$2
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014
$as_echo_n "checking for $ac_word... " >&6; }
6015
if ${ac_cv_path_MSGFMT+:} false; then :
6016
$as_echo_n "(cached) " >&6
6020
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6023
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6024
for ac_dir in $PATH; do
6025
test -z "$ac_dir" && ac_dir=.
6026
if test -f $ac_dir/$ac_word; then
6027
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6028
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6034
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6038
MSGFMT="$ac_cv_path_MSGFMT"
6039
if test "$MSGFMT" != "no"; then
6040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6041
$as_echo "$MSGFMT" >&6; }
6043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044
$as_echo "no" >&6; }
6046
if test "$MSGFMT" != "no"; then
6047
glib_save_LIBS="$LIBS"
6048
LIBS="$LIBS $INTLLIBS"
6049
for ac_func in dcgettext
6051
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6052
if test "x$ac_cv_func_dcgettext" = xyes; then :
6053
cat >>confdefs.h <<_ACEOF
6054
#define HAVE_DCGETTEXT 1
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6062
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6063
cat >conftest.foo <<_ACEOF
6067
"Content-Type: text/plain; charset=UTF-8\n"
6068
"Project-Id-Version: test 1.0\n"
6069
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6070
"Last-Translator: test <foo@bar.xx>\n"
6071
"Language-Team: C <LL@li.org>\n"
6072
"MIME-Version: 1.0\n"
6073
"Content-Transfer-Encoding: 8bit\n"
6076
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6077
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6079
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6080
test $ac_status = 0; }; then
6081
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6082
$as_echo "yes" >&6; }
6083
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084
$as_echo "no" >&6; }
6085
echo "$as_me: failed input was:" >&5
6086
sed 's/^/| /' conftest.foo >&5
6089
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6090
set dummy gmsgfmt; ac_word=$2
6091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092
$as_echo_n "checking for $ac_word... " >&6; }
6093
if ${ac_cv_path_GMSGFMT+:} false; then :
6094
$as_echo_n "(cached) " >&6
6098
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6101
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105
test -z "$as_dir" && as_dir=.
6106
for ac_exec_ext in '' $ac_executable_extensions; do
6107
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6109
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6120
GMSGFMT=$ac_cv_path_GMSGFMT
6121
if test -n "$GMSGFMT"; then
6122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6123
$as_echo "$GMSGFMT" >&6; }
6125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126
$as_echo "no" >&6; }
6130
# Extract the first word of "xgettext", so it can be a program name with args.
6131
set dummy xgettext; ac_word=$2
6132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133
$as_echo_n "checking for $ac_word... " >&6; }
6134
if ${ac_cv_path_XGETTEXT+:} false; then :
6135
$as_echo_n "(cached) " >&6
6139
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6142
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6143
for ac_dir in $PATH; do
6144
test -z "$ac_dir" && ac_dir=.
6145
if test -f $ac_dir/$ac_word; then
6146
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6147
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6153
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6157
XGETTEXT="$ac_cv_path_XGETTEXT"
6158
if test "$XGETTEXT" != ":"; then
6159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6160
$as_echo "$XGETTEXT" >&6; }
6162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163
$as_echo "no" >&6; }
6166
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6167
/* end confdefs.h. */
6172
extern int _nl_msg_cat_cntr;
6173
return _nl_msg_cat_cntr
6178
if ac_fn_c_try_link "$LINENO"; then :
6184
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6185
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6200
rm -f core conftest.err conftest.$ac_objext \
6201
conftest$ac_exeext conftest.$ac_ext
6202
LIBS="$glib_save_LIBS"
6205
gt_cv_have_gettext=no
6213
if test "$gt_cv_have_gettext" = "yes" ; then
6215
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6219
if test "$XGETTEXT" != ":"; then
6220
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6224
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6229
# We need to process the po/ directory.
6232
ac_config_commands="$ac_config_commands default-1"
6235
for lang in $ALL_LINGUAS; do
6236
GMOFILES="$GMOFILES $lang.gmo"
6237
POFILES="$POFILES $lang.po"
6252
if test "$gt_cv_have_gettext" = "yes"; then
6253
if test "x$ALL_LINGUAS" = "x"; then
6256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6257
$as_echo_n "checking for catalogs to be installed... " >&6; }
6259
for presentlang in $ALL_LINGUAS; do
6261
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6262
desiredlanguages="$LINGUAS"
6264
desiredlanguages="$ALL_LINGUAS"
6266
for desiredlang in $desiredlanguages; do
6267
# Use the presentlang catalog if desiredlang is
6268
# a. equal to presentlang, or
6269
# b. a variant of presentlang (because in this case,
6270
# presentlang can be used as a fallback for messages
6271
# which are not translated in the desiredlang catalog).
6272
case "$desiredlang" in
6273
"$presentlang"*) useit=yes;;
6276
if test $useit = yes; then
6277
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6280
LINGUAS=$NEW_LINGUAS
6281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6282
$as_echo "$LINGUAS" >&6; }
6285
if test -n "$LINGUAS"; then
6286
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6291
if test -n "$ac_aux_dir"; then
6292
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6294
if test -z "$MKINSTALLDIRS"; then
6295
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6299
test -d po || mkdir po
6300
if test "x$srcdir" != "x."; then
6301
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6302
posrcprefix="$srcdir/"
6304
posrcprefix="../$srcdir/"
6310
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6311
< $srcdir/po/POTFILES.in > po/POTFILES
6314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6315
$as_echo_n "checking whether NLS is requested... " >&6; }
6316
# Check whether --enable-nls was given.
6317
if test "${enable_nls+set}" = set; then :
6318
enableval=$enable_nls; USE_NLS=$enableval
6323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6324
$as_echo "$USE_NLS" >&6; }
6329
case "$am__api_version" in
6331
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6337
if test -n "0.35.0"; then
6338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
6339
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
6341
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6342
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
6343
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6346
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6347
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6348
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
6351
# Extract the first word of "intltool-update", so it can be a program name with args.
6352
set dummy intltool-update; ac_word=$2
6353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354
$as_echo_n "checking for $ac_word... " >&6; }
6355
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
6356
$as_echo_n "(cached) " >&6
6358
case $INTLTOOL_UPDATE in
6360
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
6363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367
test -z "$as_dir" && as_dir=.
6368
for ac_exec_ext in '' $ac_executable_extensions; do
6369
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
6371
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
6382
if test -n "$INTLTOOL_UPDATE"; then
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6384
$as_echo "$INTLTOOL_UPDATE" >&6; }
6386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387
$as_echo "no" >&6; }
6391
# Extract the first word of "intltool-merge", so it can be a program name with args.
6392
set dummy intltool-merge; ac_word=$2
6393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394
$as_echo_n "checking for $ac_word... " >&6; }
6395
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
6396
$as_echo_n "(cached) " >&6
6398
case $INTLTOOL_MERGE in
6400
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
6403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407
test -z "$as_dir" && as_dir=.
6408
for ac_exec_ext in '' $ac_executable_extensions; do
6409
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6410
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
6411
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
6422
if test -n "$INTLTOOL_MERGE"; then
6423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
6424
$as_echo "$INTLTOOL_MERGE" >&6; }
6426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427
$as_echo "no" >&6; }
6431
# Extract the first word of "intltool-extract", so it can be a program name with args.
6432
set dummy intltool-extract; ac_word=$2
6433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434
$as_echo_n "checking for $ac_word... " >&6; }
6435
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
6436
$as_echo_n "(cached) " >&6
6438
case $INTLTOOL_EXTRACT in
6440
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
6443
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447
test -z "$as_dir" && as_dir=.
6448
for ac_exec_ext in '' $ac_executable_extensions; do
6449
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6450
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
6451
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
6462
if test -n "$INTLTOOL_EXTRACT"; then
6463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
6464
$as_echo "$INTLTOOL_EXTRACT" >&6; }
6466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467
$as_echo "no" >&6; }
6471
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6472
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
6475
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6476
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6477
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6478
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6479
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
6480
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6481
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6482
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6483
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6484
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6485
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6486
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
6487
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6488
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6489
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6490
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6491
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6492
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6493
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6591
# Check the gettext tools to make sure they are GNU
6592
# Extract the first word of "xgettext", so it can be a program name with args.
6593
set dummy xgettext; ac_word=$2
6594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595
$as_echo_n "checking for $ac_word... " >&6; }
6596
if ${ac_cv_path_XGETTEXT+:} false; then :
6597
$as_echo_n "(cached) " >&6
6601
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608
test -z "$as_dir" && as_dir=.
6609
for ac_exec_ext in '' $ac_executable_extensions; do
6610
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6612
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622
XGETTEXT=$ac_cv_path_XGETTEXT
6623
if test -n "$XGETTEXT"; then
6624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6625
$as_echo "$XGETTEXT" >&6; }
6627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628
$as_echo "no" >&6; }
6632
# Extract the first word of "msgmerge", so it can be a program name with args.
6633
set dummy msgmerge; ac_word=$2
6634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635
$as_echo_n "checking for $ac_word... " >&6; }
6636
if ${ac_cv_path_MSGMERGE+:} false; then :
6637
$as_echo_n "(cached) " >&6
6641
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648
test -z "$as_dir" && as_dir=.
6649
for ac_exec_ext in '' $ac_executable_extensions; do
6650
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6652
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662
MSGMERGE=$ac_cv_path_MSGMERGE
6663
if test -n "$MSGMERGE"; then
6664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6665
$as_echo "$MSGMERGE" >&6; }
6667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668
$as_echo "no" >&6; }
6672
# Extract the first word of "msgfmt", so it can be a program name with args.
6673
set dummy msgfmt; ac_word=$2
6674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675
$as_echo_n "checking for $ac_word... " >&6; }
6676
if ${ac_cv_path_MSGFMT+:} false; then :
6677
$as_echo_n "(cached) " >&6
6681
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688
test -z "$as_dir" && as_dir=.
6689
for ac_exec_ext in '' $ac_executable_extensions; do
6690
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6691
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6692
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702
MSGFMT=$ac_cv_path_MSGFMT
6703
if test -n "$MSGFMT"; then
6704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6705
$as_echo "$MSGFMT" >&6; }
6707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708
$as_echo "no" >&6; }
6712
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6713
set dummy gmsgfmt; ac_word=$2
6714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715
$as_echo_n "checking for $ac_word... " >&6; }
6716
if ${ac_cv_path_GMSGFMT+:} false; then :
6717
$as_echo_n "(cached) " >&6
6721
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6724
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728
test -z "$as_dir" && as_dir=.
6729
for ac_exec_ext in '' $ac_executable_extensions; do
6730
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6732
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6743
GMSGFMT=$ac_cv_path_GMSGFMT
6744
if test -n "$GMSGFMT"; then
6745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6746
$as_echo "$GMSGFMT" >&6; }
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749
$as_echo "no" >&6; }
6753
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6754
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6756
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6757
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6758
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6759
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6760
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6763
# Extract the first word of "perl", so it can be a program name with args.
6764
set dummy perl; ac_word=$2
6765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766
$as_echo_n "checking for $ac_word... " >&6; }
6767
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
6768
$as_echo_n "(cached) " >&6
6770
case $INTLTOOL_PERL in
6772
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6775
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779
test -z "$as_dir" && as_dir=.
6780
for ac_exec_ext in '' $ac_executable_extensions; do
6781
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6783
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6794
if test -n "$INTLTOOL_PERL"; then
6795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6796
$as_echo "$INTLTOOL_PERL" >&6; }
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799
$as_echo "no" >&6; }
6803
if test -z "$INTLTOOL_PERL"; then
6804
as_fn_error $? "perl not found" "$LINENO" 5
6806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6807
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6808
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6809
if test $? -ne 0; then
6810
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
6812
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
6813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6814
$as_echo "$IT_PERL_VERSION" >&6; }
6816
if test "x" != "xno-xml"; then
6817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6818
$as_echo_n "checking for XML::Parser... " >&6; }
6819
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6821
$as_echo "ok" >&6; }
6823
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
6827
# Substitute ALL_LINGUAS so we can use it in po/Makefile
6830
# Set DATADIRNAME correctly if it is not set yet
6831
# (copied from glib-gettext.m4)
6832
if test -z "$DATADIRNAME"; then
6833
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834
/* end confdefs.h. */
6839
extern int _nl_msg_cat_cntr;
6840
return _nl_msg_cat_cntr
6845
if ac_fn_c_try_link "$LINENO"; then :
6850
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6851
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6863
rm -f core conftest.err conftest.$ac_objext \
6864
conftest$ac_exeext conftest.$ac_ext
6874
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6875
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6881
macro_revision='1.3293'
6895
ltmain="$ac_aux_dir/ltmain.sh"
6897
# Make sure we can run config.sub.
6898
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6899
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6902
$as_echo_n "checking build system type... " >&6; }
6903
if ${ac_cv_build+:} false; then :
6904
$as_echo_n "(cached) " >&6
6906
ac_build_alias=$build_alias
6907
test "x$ac_build_alias" = x &&
6908
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6909
test "x$ac_build_alias" = x &&
6910
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6911
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6912
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6916
$as_echo "$ac_cv_build" >&6; }
6917
case $ac_cv_build in
6919
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6922
ac_save_IFS=$IFS; IFS='-'
6928
# Remember, the first character of IFS is used to create $*,
6929
# except with old shells:
6932
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6936
$as_echo_n "checking host system type... " >&6; }
6937
if ${ac_cv_host+:} false; then :
6938
$as_echo_n "(cached) " >&6
6940
if test "x$host_alias" = x; then
6941
ac_cv_host=$ac_cv_build
6943
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6944
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6949
$as_echo "$ac_cv_host" >&6; }
6952
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6955
ac_save_IFS=$IFS; IFS='-'
6961
# Remember, the first character of IFS is used to create $*,
6962
# except with old shells:
6965
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6968
# Backslashify metacharacters that are still active within
6969
# double-quoted strings.
6970
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6972
# Same as above, but do not quote variable references.
6973
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6975
# Sed substitution to delay expansion of an escaped shell variable in a
6976
# double_quote_subst'ed string.
6977
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6979
# Sed substitution to delay expansion of an escaped single quote.
6980
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6982
# Sed substitution to avoid accidental globbing in evaled expressions
6983
no_glob_subst='s/\*/\\\*/g'
6985
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6986
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6987
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6990
$as_echo_n "checking how to print strings... " >&6; }
6991
# Test print first, because it will be a builtin if present.
6992
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6993
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6995
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6998
# Use this function as a fallback that always works.
6999
func_fallback_echo ()
7001
eval 'cat <<_LTECHO_EOF
7005
ECHO='func_fallback_echo'
7008
# func_echo_all arg...
7009
# Invoke $ECHO with all args, space-separated.
7016
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7017
$as_echo "printf" >&6; } ;;
7018
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7019
$as_echo "print -r" >&6; } ;;
7020
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7021
$as_echo "cat" >&6; } ;;
7037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7038
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
7039
if ${ac_cv_path_SED+:} false; then :
7040
$as_echo_n "(cached) " >&6
7042
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7043
for ac_i in 1 2 3 4 5 6 7; do
7044
ac_script="$ac_script$as_nl$ac_script"
7046
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7047
{ ac_script=; unset ac_script;}
7048
if test -z "$SED"; then
7049
ac_path_SED_found=false
7050
# Loop through the user's path and test for each of PROGNAME-LIST
7051
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055
test -z "$as_dir" && as_dir=.
7056
for ac_prog in sed gsed; do
7057
for ac_exec_ext in '' $ac_executable_extensions; do
7058
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7059
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7060
# Check for GNU ac_path_SED and select it if it is found.
7061
# Check for GNU $ac_path_SED
7062
case `"$ac_path_SED" --version 2>&1` in
7064
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7067
$as_echo_n 0123456789 >"conftest.in"
7070
cat "conftest.in" "conftest.in" >"conftest.tmp"
7071
mv "conftest.tmp" "conftest.in"
7072
cp "conftest.in" "conftest.nl"
7073
$as_echo '' >> "conftest.nl"
7074
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7075
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7076
as_fn_arith $ac_count + 1 && ac_count=$as_val
7077
if test $ac_count -gt ${ac_path_SED_max-0}; then
7078
# Best one so far, save it but keep looking for a better one
7079
ac_cv_path_SED="$ac_path_SED"
7080
ac_path_SED_max=$ac_count
7082
# 10*(2^10) chars as input seems more than enough
7083
test $ac_count -gt 10 && break
7085
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7088
$ac_path_SED_found && break 3
7093
if test -z "$ac_cv_path_SED"; then
7094
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7102
$as_echo "$ac_cv_path_SED" >&6; }
7103
SED="$ac_cv_path_SED"
7106
test -z "$SED" && SED=sed
7107
Xsed="$SED -e 1s/^X//"
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7120
$as_echo_n "checking for fgrep... " >&6; }
7121
if ${ac_cv_path_FGREP+:} false; then :
7122
$as_echo_n "(cached) " >&6
7124
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7125
then ac_cv_path_FGREP="$GREP -F"
7127
if test -z "$FGREP"; then
7128
ac_path_FGREP_found=false
7129
# Loop through the user's path and test for each of PROGNAME-LIST
7130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7134
test -z "$as_dir" && as_dir=.
7135
for ac_prog in fgrep; do
7136
for ac_exec_ext in '' $ac_executable_extensions; do
7137
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7138
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7139
# Check for GNU ac_path_FGREP and select it if it is found.
7140
# Check for GNU $ac_path_FGREP
7141
case `"$ac_path_FGREP" --version 2>&1` in
7143
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7146
$as_echo_n 0123456789 >"conftest.in"
7149
cat "conftest.in" "conftest.in" >"conftest.tmp"
7150
mv "conftest.tmp" "conftest.in"
7151
cp "conftest.in" "conftest.nl"
7152
$as_echo 'FGREP' >> "conftest.nl"
7153
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7154
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7155
as_fn_arith $ac_count + 1 && ac_count=$as_val
7156
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7157
# Best one so far, save it but keep looking for a better one
7158
ac_cv_path_FGREP="$ac_path_FGREP"
7159
ac_path_FGREP_max=$ac_count
7161
# 10*(2^10) chars as input seems more than enough
7162
test $ac_count -gt 10 && break
7164
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7167
$ac_path_FGREP_found && break 3
7172
if test -z "$ac_cv_path_FGREP"; then
7173
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7176
ac_cv_path_FGREP=$FGREP
7181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7182
$as_echo "$ac_cv_path_FGREP" >&6; }
7183
FGREP="$ac_cv_path_FGREP"
7186
test -z "$GREP" && GREP=grep
7206
# Check whether --with-gnu-ld was given.
7207
if test "${with_gnu_ld+set}" = set; then :
7208
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7214
if test "$GCC" = yes; then
7215
# Check if gcc -print-prog-name=ld gives a path.
7216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7217
$as_echo_n "checking for ld used by $CC... " >&6; }
7220
# gcc leaves a trailing carriage return which upsets mingw
7221
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7223
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7226
# Accept absolute paths.
7228
re_direlt='/[^/][^/]*/\.\./'
7229
# Canonicalize the pathname of ld
7230
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7231
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7232
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7234
test -z "$LD" && LD="$ac_prog"
7237
# If it fails, then pretend we aren't using GCC.
7241
# If it is relative, then search for the first ld in PATH.
7245
elif test "$with_gnu_ld" = yes; then
7246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7247
$as_echo_n "checking for GNU ld... " >&6; }
7249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7250
$as_echo_n "checking for non-GNU ld... " >&6; }
7252
if ${lt_cv_path_LD+:} false; then :
7253
$as_echo_n "(cached) " >&6
7255
if test -z "$LD"; then
7256
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7257
for ac_dir in $PATH; do
7259
test -z "$ac_dir" && ac_dir=.
7260
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7261
lt_cv_path_LD="$ac_dir/$ac_prog"
7262
# Check to see if the program is GNU ld. I'd rather use --version,
7263
# but apparently some variants of GNU ld only accept -v.
7264
# Break only if it was the GNU/non-GNU ld that we prefer.
7265
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7266
*GNU* | *'with BFD'*)
7267
test "$with_gnu_ld" != no && break
7270
test "$with_gnu_ld" != yes && break
7277
lt_cv_path_LD="$LD" # Let the user override the test with a path.
7282
if test -n "$LD"; then
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7284
$as_echo "$LD" >&6; }
7286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287
$as_echo "no" >&6; }
7289
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7291
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7292
if ${lt_cv_prog_gnu_ld+:} false; then :
7293
$as_echo_n "(cached) " >&6
7295
# I'd rather use --version here, but apparently some GNU lds only accept -v.
7296
case `$LD -v 2>&1 </dev/null` in
7297
*GNU* | *'with BFD'*)
7298
lt_cv_prog_gnu_ld=yes
7301
lt_cv_prog_gnu_ld=no
7305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7306
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
7307
with_gnu_ld=$lt_cv_prog_gnu_ld
7317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7318
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7319
if ${lt_cv_path_NM+:} false; then :
7320
$as_echo_n "(cached) " >&6
7322
if test -n "$NM"; then
7323
# Let the user override the test.
7326
lt_nm_to_check="${ac_tool_prefix}nm"
7327
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7328
lt_nm_to_check="$lt_nm_to_check nm"
7330
for lt_tmp_nm in $lt_nm_to_check; do
7331
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7332
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7334
test -z "$ac_dir" && ac_dir=.
7335
tmp_nm="$ac_dir/$lt_tmp_nm"
7336
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7337
# Check to see if the nm accepts a BSD-compat flag.
7338
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7339
# nm: unknown option "B" ignored
7340
# Tru64's nm complains that /dev/null is an invalid object file
7341
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7342
*/dev/null* | *'Invalid file or object type'*)
7343
lt_cv_path_NM="$tmp_nm -B"
7347
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7349
lt_cv_path_NM="$tmp_nm -p"
7353
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7354
continue # so that we can try to find one that supports BSD flags
7363
: ${lt_cv_path_NM=no}
7366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7367
$as_echo "$lt_cv_path_NM" >&6; }
7368
if test "$lt_cv_path_NM" != "no"; then
7371
# Didn't find any BSD compatible name lister, look for dumpbin.
7372
if test -n "$DUMPBIN"; then :
7373
# Let the user override the test.
7375
if test -n "$ac_tool_prefix"; then
7376
for ac_prog in dumpbin "link -dump"
7378
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7379
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381
$as_echo_n "checking for $ac_word... " >&6; }
7382
if ${ac_cv_prog_DUMPBIN+:} false; then :
7383
$as_echo_n "(cached) " >&6
7385
if test -n "$DUMPBIN"; then
7386
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7388
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392
test -z "$as_dir" && as_dir=.
7393
for ac_exec_ext in '' $ac_executable_extensions; do
7394
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7396
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405
DUMPBIN=$ac_cv_prog_DUMPBIN
7406
if test -n "$DUMPBIN"; then
7407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7408
$as_echo "$DUMPBIN" >&6; }
7410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411
$as_echo "no" >&6; }
7415
test -n "$DUMPBIN" && break
7418
if test -z "$DUMPBIN"; then
7419
ac_ct_DUMPBIN=$DUMPBIN
7420
for ac_prog in dumpbin "link -dump"
7422
# Extract the first word of "$ac_prog", so it can be a program name with args.
7423
set dummy $ac_prog; ac_word=$2
7424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425
$as_echo_n "checking for $ac_word... " >&6; }
7426
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7427
$as_echo_n "(cached) " >&6
7429
if test -n "$ac_ct_DUMPBIN"; then
7430
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436
test -z "$as_dir" && as_dir=.
7437
for ac_exec_ext in '' $ac_executable_extensions; do
7438
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7439
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7440
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7450
if test -n "$ac_ct_DUMPBIN"; then
7451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7452
$as_echo "$ac_ct_DUMPBIN" >&6; }
7454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455
$as_echo "no" >&6; }
7459
test -n "$ac_ct_DUMPBIN" && break
7462
if test "x$ac_ct_DUMPBIN" = x; then
7465
case $cross_compiling:$ac_tool_warned in
7467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7469
ac_tool_warned=yes ;;
7471
DUMPBIN=$ac_ct_DUMPBIN
7475
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7477
DUMPBIN="$DUMPBIN -symbols"
7485
if test "$DUMPBIN" != ":"; then
7489
test -z "$NM" && NM=nm
7496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7497
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7498
if ${lt_cv_nm_interface+:} false; then :
7499
$as_echo_n "(cached) " >&6
7501
lt_cv_nm_interface="BSD nm"
7502
echo "int some_variable = 0;" > conftest.$ac_ext
7503
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7504
(eval "$ac_compile" 2>conftest.err)
7505
cat conftest.err >&5
7506
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7507
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7508
cat conftest.err >&5
7509
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
7510
cat conftest.out >&5
7511
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7512
lt_cv_nm_interface="MS dumpbin"
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7517
$as_echo "$lt_cv_nm_interface" >&6; }
7519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7520
$as_echo_n "checking whether ln -s works... " >&6; }
7522
if test "$LN_S" = "ln -s"; then
7523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7524
$as_echo "yes" >&6; }
7526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7527
$as_echo "no, using $LN_S" >&6; }
7530
# find the maximum length of command line arguments
7531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7532
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7533
if ${lt_cv_sys_max_cmd_len+:} false; then :
7534
$as_echo_n "(cached) " >&6
7541
# On DJGPP, this test can blow up pretty badly due to problems in libc
7542
# (any single argument exceeding 2000 bytes causes a buffer overrun
7543
# during glob expansion). Even if it were fixed, the result of this
7544
# check would be larger than it should be.
7545
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7549
# Under GNU Hurd, this test is not required because there is
7550
# no limit to the length of command line arguments.
7551
# Libtool will interpret -1 as no limit whatsoever
7552
lt_cv_sys_max_cmd_len=-1;
7555
cygwin* | mingw* | cegcc*)
7556
# On Win9x/ME, this test blows up -- it succeeds, but takes
7557
# about 5 minutes as the teststring grows exponentially.
7558
# Worse, since 9x/ME are not pre-emptively multitasking,
7559
# you end up with a "frozen" computer, even though with patience
7560
# the test eventually succeeds (with a max line length of 256k).
7561
# Instead, let's just punt: use the minimum linelength reported by
7562
# all of the supported platforms: 8192 (on NT/2K/XP).
7563
lt_cv_sys_max_cmd_len=8192;
7567
# On MiNT this can take a long time and run out of memory.
7568
lt_cv_sys_max_cmd_len=8192;
7572
# On AmigaOS with pdksh, this test takes hours, literally.
7573
# So we just punt and use a minimum line length of 8192.
7574
lt_cv_sys_max_cmd_len=8192;
7577
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7578
# This has been around since 386BSD, at least. Likely further.
7579
if test -x /sbin/sysctl; then
7580
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7581
elif test -x /usr/sbin/sysctl; then
7582
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7584
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7586
# And add a safety zone
7587
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7588
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7592
# We know the value 262144 and hardcode it with a safety zone (like BSD)
7593
lt_cv_sys_max_cmd_len=196608
7597
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7598
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7599
# nice to cause kernel panics so lets avoid the loop below.
7600
# First set a reasonable default.
7601
lt_cv_sys_max_cmd_len=16384
7603
if test -x /sbin/sysconfig; then
7604
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7605
*1*) lt_cv_sys_max_cmd_len=-1 ;;
7610
lt_cv_sys_max_cmd_len=102400
7612
sysv5* | sco5v6* | sysv4.2uw2*)
7613
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7614
if test -n "$kargmax"; then
7615
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7617
lt_cv_sys_max_cmd_len=32768
7621
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7622
if test -n "$lt_cv_sys_max_cmd_len"; then
7623
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7624
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7626
# Make teststring a little bigger before we do anything with it.
7627
# a 1K string should be a reasonable start.
7628
for i in 1 2 3 4 5 6 7 8 ; do
7629
teststring=$teststring$teststring
7631
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7632
# If test is not a shell built-in, we'll probably end up computing a
7633
# maximum length that is only half of the actual maximum length, but
7635
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7636
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
7637
test $i != 17 # 1/2 MB should be enough
7640
teststring=$teststring$teststring
7642
# Only check the string length outside the loop.
7643
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7645
# Add a significant safety factor because C++ compilers can tack on
7646
# massive amounts of additional arguments before passing them to the
7647
# linker. It appears as though 1/2 is a usable value.
7648
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7655
if test -n $lt_cv_sys_max_cmd_len ; then
7656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7657
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7660
$as_echo "none" >&6; }
7662
max_cmd_len=$lt_cv_sys_max_cmd_len
7673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7674
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7675
# Try some XSI features
7678
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7680
&& eval 'test $(( 1 + 1 )) -eq 2 \
7681
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7684
$as_echo "$xsi_shell" >&6; }
7687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7688
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7690
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7692
&& lt_shell_append=yes
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7694
$as_echo "$lt_shell_append" >&6; }
7697
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7707
# test EBCDIC or ASCII
7708
case `echo X|tr X '\101'` in
7709
A) # ASCII based system
7710
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7711
lt_SP2NL='tr \040 \012'
7712
lt_NL2SP='tr \015\012 \040\040'
7714
*) # EBCDIC based system
7715
lt_SP2NL='tr \100 \n'
7716
lt_NL2SP='tr \r\n \100\100'
7728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7729
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7730
if ${lt_cv_to_host_file_cmd+:} false; then :
7731
$as_echo_n "(cached) " >&6
7736
*-*-mingw* ) # actually msys
7737
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7740
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7742
* ) # otherwise, assume *nix
7743
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7749
*-*-mingw* ) # actually msys
7750
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7753
lt_cv_to_host_file_cmd=func_convert_file_noop
7755
* ) # otherwise, assume *nix
7756
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7760
* ) # unhandled hosts (and "normal" native builds)
7761
lt_cv_to_host_file_cmd=func_convert_file_noop
7767
to_host_file_cmd=$lt_cv_to_host_file_cmd
7768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7769
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7776
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7777
if ${lt_cv_to_tool_file_cmd+:} false; then :
7778
$as_echo_n "(cached) " >&6
7780
#assume ordinary cross tools, or native build.
7781
lt_cv_to_tool_file_cmd=func_convert_file_noop
7785
*-*-mingw* ) # actually msys
7786
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7794
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7796
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7803
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7804
if ${lt_cv_ld_reload_flag+:} false; then :
7805
$as_echo_n "(cached) " >&6
7807
lt_cv_ld_reload_flag='-r'
7809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7810
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7811
reload_flag=$lt_cv_ld_reload_flag
7812
case $reload_flag in
7814
*) reload_flag=" $reload_flag" ;;
7816
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7818
cygwin* | mingw* | pw32* | cegcc*)
7819
if test "$GCC" != yes; then
7824
if test "$GCC" = yes; then
7825
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7827
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7840
if test -n "$ac_tool_prefix"; then
7841
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7842
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7844
$as_echo_n "checking for $ac_word... " >&6; }
7845
if ${ac_cv_prog_OBJDUMP+:} false; then :
7846
$as_echo_n "(cached) " >&6
7848
if test -n "$OBJDUMP"; then
7849
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855
test -z "$as_dir" && as_dir=.
7856
for ac_exec_ext in '' $ac_executable_extensions; do
7857
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7858
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7859
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7868
OBJDUMP=$ac_cv_prog_OBJDUMP
7869
if test -n "$OBJDUMP"; then
7870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7871
$as_echo "$OBJDUMP" >&6; }
7873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874
$as_echo "no" >&6; }
7879
if test -z "$ac_cv_prog_OBJDUMP"; then
7880
ac_ct_OBJDUMP=$OBJDUMP
7881
# Extract the first word of "objdump", so it can be a program name with args.
7882
set dummy objdump; ac_word=$2
7883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884
$as_echo_n "checking for $ac_word... " >&6; }
7885
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7886
$as_echo_n "(cached) " >&6
7888
if test -n "$ac_ct_OBJDUMP"; then
7889
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7891
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895
test -z "$as_dir" && as_dir=.
7896
for ac_exec_ext in '' $ac_executable_extensions; do
7897
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7898
ac_cv_prog_ac_ct_OBJDUMP="objdump"
7899
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7909
if test -n "$ac_ct_OBJDUMP"; then
7910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7911
$as_echo "$ac_ct_OBJDUMP" >&6; }
7913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914
$as_echo "no" >&6; }
7917
if test "x$ac_ct_OBJDUMP" = x; then
7920
case $cross_compiling:$ac_tool_warned in
7922
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7923
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7924
ac_tool_warned=yes ;;
7926
OBJDUMP=$ac_ct_OBJDUMP
7929
OBJDUMP="$ac_cv_prog_OBJDUMP"
7932
test -z "$OBJDUMP" && OBJDUMP=objdump
7942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7943
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7944
if ${lt_cv_deplibs_check_method+:} false; then :
7945
$as_echo_n "(cached) " >&6
7947
lt_cv_file_magic_cmd='$MAGIC_CMD'
7948
lt_cv_file_magic_test_file=
7949
lt_cv_deplibs_check_method='unknown'
7950
# Need to set the preceding variable on all platforms that support
7951
# interlibrary dependencies.
7952
# 'none' -- dependencies not supported.
7953
# `unknown' -- same as none, but documents that we really don't know.
7954
# 'pass_all' -- all dependencies passed with no checks.
7955
# 'test_compile' -- check by making test program.
7956
# 'file_magic [[regex]]' -- check by looking for files in library path
7957
# which responds to the $file_magic_cmd with a given extended regex.
7958
# If you have `file' or equivalent on your system and you're not sure
7959
# whether `pass_all' will *always* work, you probably want this one.
7963
lt_cv_deplibs_check_method=pass_all
7967
lt_cv_deplibs_check_method=pass_all
7971
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7972
lt_cv_file_magic_cmd='/usr/bin/file -L'
7973
lt_cv_file_magic_test_file=/shlib/libc.so
7977
# func_win32_libid is a shell function defined in ltmain.sh
7978
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7979
lt_cv_file_magic_cmd='func_win32_libid'
7983
# Base MSYS/MinGW do not provide the 'file' command needed by
7984
# func_win32_libid shell function, so use a weaker test based on 'objdump',
7985
# unless we find 'file', for example because we are cross-compiling.
7986
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7987
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7988
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7989
lt_cv_file_magic_cmd='func_win32_libid'
7991
# Keep this pattern in sync with the one in func_win32_libid.
7992
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7993
lt_cv_file_magic_cmd='$OBJDUMP -f'
7998
# use the weaker test based on 'objdump'. See mingw*.
7999
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8000
lt_cv_file_magic_cmd='$OBJDUMP -f'
8003
darwin* | rhapsody*)
8004
lt_cv_deplibs_check_method=pass_all
8007
freebsd* | dragonfly*)
8008
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8011
# Not sure whether the presence of OpenBSD here was a mistake.
8012
# Let's accept both of them until this is cleared up.
8013
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8014
lt_cv_file_magic_cmd=/usr/bin/file
8015
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8019
lt_cv_deplibs_check_method=pass_all
8024
lt_cv_deplibs_check_method=pass_all
8028
lt_cv_deplibs_check_method=pass_all
8031
hpux10.20* | hpux11*)
8032
lt_cv_file_magic_cmd=/usr/bin/file
8035
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8036
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8039
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]'
8040
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8043
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8044
lt_cv_file_magic_test_file=/usr/lib/libc.sl
8050
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8051
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8054
irix5* | irix6* | nonstopux*)
8056
*-32|*"-32 ") libmagic=32-bit;;
8057
*-n32|*"-n32 ") libmagic=N32;;
8058
*-64|*"-64 ") libmagic=64-bit;;
8059
*) libmagic=never-match;;
8061
lt_cv_deplibs_check_method=pass_all
8064
# This must be Linux ELF.
8065
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8066
lt_cv_deplibs_check_method=pass_all
8069
netbsd* | netbsdelf*-gnu)
8070
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8071
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8073
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8078
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8079
lt_cv_file_magic_cmd=/usr/bin/file
8080
lt_cv_file_magic_test_file=/usr/lib/libnls.so
8084
lt_cv_deplibs_check_method=pass_all
8088
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8089
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8091
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8095
osf3* | osf4* | osf5*)
8096
lt_cv_deplibs_check_method=pass_all
8100
lt_cv_deplibs_check_method=pass_all
8104
lt_cv_deplibs_check_method=pass_all
8107
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8108
lt_cv_deplibs_check_method=pass_all
8112
case $host_vendor in
8114
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]'
8115
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8118
lt_cv_deplibs_check_method=pass_all
8121
lt_cv_file_magic_cmd='/bin/file'
8122
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8125
lt_cv_file_magic_cmd='/bin/file'
8126
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8127
lt_cv_file_magic_test_file=/lib/libc.so
8130
lt_cv_deplibs_check_method=pass_all
8133
lt_cv_deplibs_check_method=pass_all
8139
lt_cv_deplibs_check_method=pass_all
8144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8145
$as_echo "$lt_cv_deplibs_check_method" >&6; }
8149
if test "$build" = "$host"; then
8152
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8155
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8161
file_magic_cmd=$lt_cv_file_magic_cmd
8162
deplibs_check_method=$lt_cv_deplibs_check_method
8163
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8186
if test -n "$ac_tool_prefix"; then
8187
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8188
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8190
$as_echo_n "checking for $ac_word... " >&6; }
8191
if ${ac_cv_prog_DLLTOOL+:} false; then :
8192
$as_echo_n "(cached) " >&6
8194
if test -n "$DLLTOOL"; then
8195
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201
test -z "$as_dir" && as_dir=.
8202
for ac_exec_ext in '' $ac_executable_extensions; do
8203
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8205
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8214
DLLTOOL=$ac_cv_prog_DLLTOOL
8215
if test -n "$DLLTOOL"; then
8216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8217
$as_echo "$DLLTOOL" >&6; }
8219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220
$as_echo "no" >&6; }
8225
if test -z "$ac_cv_prog_DLLTOOL"; then
8226
ac_ct_DLLTOOL=$DLLTOOL
8227
# Extract the first word of "dlltool", so it can be a program name with args.
8228
set dummy dlltool; ac_word=$2
8229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230
$as_echo_n "checking for $ac_word... " >&6; }
8231
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8232
$as_echo_n "(cached) " >&6
8234
if test -n "$ac_ct_DLLTOOL"; then
8235
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8237
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241
test -z "$as_dir" && as_dir=.
8242
for ac_exec_ext in '' $ac_executable_extensions; do
8243
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8244
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8245
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8254
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8255
if test -n "$ac_ct_DLLTOOL"; then
8256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8257
$as_echo "$ac_ct_DLLTOOL" >&6; }
8259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260
$as_echo "no" >&6; }
8263
if test "x$ac_ct_DLLTOOL" = x; then
8266
case $cross_compiling:$ac_tool_warned in
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8269
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8270
ac_tool_warned=yes ;;
8272
DLLTOOL=$ac_ct_DLLTOOL
8275
DLLTOOL="$ac_cv_prog_DLLTOOL"
8278
test -z "$DLLTOOL" && DLLTOOL=dlltool
8289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8290
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8291
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8292
$as_echo_n "(cached) " >&6
8294
lt_cv_sharedlib_from_linklib_cmd='unknown'
8297
cygwin* | mingw* | pw32* | cegcc*)
8298
# two different shell functions defined in ltmain.sh
8299
# decide which to use based on capabilities of $DLLTOOL
8300
case `$DLLTOOL --help 2>&1` in
8301
*--identify-strict*)
8302
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8305
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8310
# fallback: assume linklib IS sharedlib
8311
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8317
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8318
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8319
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8327
if test -n "$ac_tool_prefix"; then
8330
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8331
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333
$as_echo_n "checking for $ac_word... " >&6; }
8334
if ${ac_cv_prog_AR+:} false; then :
8335
$as_echo_n "(cached) " >&6
8337
if test -n "$AR"; then
8338
ac_cv_prog_AR="$AR" # Let the user override the test.
8340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8344
test -z "$as_dir" && as_dir=.
8345
for ac_exec_ext in '' $ac_executable_extensions; do
8346
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8347
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8348
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358
if test -n "$AR"; then
8359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8360
$as_echo "$AR" >&6; }
8362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363
$as_echo "no" >&6; }
8367
test -n "$AR" && break
8370
if test -z "$AR"; then
8374
# Extract the first word of "$ac_prog", so it can be a program name with args.
8375
set dummy $ac_prog; ac_word=$2
8376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377
$as_echo_n "checking for $ac_word... " >&6; }
8378
if ${ac_cv_prog_ac_ct_AR+:} false; then :
8379
$as_echo_n "(cached) " >&6
8381
if test -n "$ac_ct_AR"; then
8382
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8384
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8388
test -z "$as_dir" && as_dir=.
8389
for ac_exec_ext in '' $ac_executable_extensions; do
8390
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8391
ac_cv_prog_ac_ct_AR="$ac_prog"
8392
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8402
if test -n "$ac_ct_AR"; then
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8404
$as_echo "$ac_ct_AR" >&6; }
8406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407
$as_echo "no" >&6; }
8411
test -n "$ac_ct_AR" && break
8414
if test "x$ac_ct_AR" = x; then
8417
case $cross_compiling:$ac_tool_warned in
8419
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8420
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8421
ac_tool_warned=yes ;;
8440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8441
$as_echo_n "checking for archiver @FILE support... " >&6; }
8442
if ${lt_cv_ar_at_file+:} false; then :
8443
$as_echo_n "(cached) " >&6
8446
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447
/* end confdefs.h. */
8457
if ac_fn_c_try_compile "$LINENO"; then :
8458
echo conftest.$ac_objext > conftest.lst
8459
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8460
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8461
(eval $lt_ar_try) 2>&5
8463
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8464
test $ac_status = 0; }
8465
if test "$ac_status" -eq 0; then
8466
# Ensure the archiver fails upon bogus file names.
8467
rm -f conftest.$ac_objext libconftest.a
8468
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8469
(eval $lt_ar_try) 2>&5
8471
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8472
test $ac_status = 0; }
8473
if test "$ac_status" -ne 0; then
8477
rm -f conftest.* libconftest.a
8480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8484
$as_echo "$lt_cv_ar_at_file" >&6; }
8486
if test "x$lt_cv_ar_at_file" = xno; then
8489
archiver_list_spec=$lt_cv_ar_at_file
8498
if test -n "$ac_tool_prefix"; then
8499
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8500
set dummy ${ac_tool_prefix}strip; ac_word=$2
8501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8502
$as_echo_n "checking for $ac_word... " >&6; }
8503
if ${ac_cv_prog_STRIP+:} false; then :
8504
$as_echo_n "(cached) " >&6
8506
if test -n "$STRIP"; then
8507
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8513
test -z "$as_dir" && as_dir=.
8514
for ac_exec_ext in '' $ac_executable_extensions; do
8515
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8516
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8517
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526
STRIP=$ac_cv_prog_STRIP
8527
if test -n "$STRIP"; then
8528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8529
$as_echo "$STRIP" >&6; }
8531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8532
$as_echo "no" >&6; }
8537
if test -z "$ac_cv_prog_STRIP"; then
8539
# Extract the first word of "strip", so it can be a program name with args.
8540
set dummy strip; ac_word=$2
8541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8542
$as_echo_n "checking for $ac_word... " >&6; }
8543
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8544
$as_echo_n "(cached) " >&6
8546
if test -n "$ac_ct_STRIP"; then
8547
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8553
test -z "$as_dir" && as_dir=.
8554
for ac_exec_ext in '' $ac_executable_extensions; do
8555
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8556
ac_cv_prog_ac_ct_STRIP="strip"
8557
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8566
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8567
if test -n "$ac_ct_STRIP"; then
8568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8569
$as_echo "$ac_ct_STRIP" >&6; }
8571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572
$as_echo "no" >&6; }
8575
if test "x$ac_ct_STRIP" = x; then
8578
case $cross_compiling:$ac_tool_warned in
8580
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8581
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8582
ac_tool_warned=yes ;;
8587
STRIP="$ac_cv_prog_STRIP"
8590
test -z "$STRIP" && STRIP=:
8597
if test -n "$ac_tool_prefix"; then
8598
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8599
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601
$as_echo_n "checking for $ac_word... " >&6; }
8602
if ${ac_cv_prog_RANLIB+:} false; then :
8603
$as_echo_n "(cached) " >&6
8605
if test -n "$RANLIB"; then
8606
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612
test -z "$as_dir" && as_dir=.
8613
for ac_exec_ext in '' $ac_executable_extensions; do
8614
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8615
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8616
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8625
RANLIB=$ac_cv_prog_RANLIB
8626
if test -n "$RANLIB"; then
8627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8628
$as_echo "$RANLIB" >&6; }
8630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631
$as_echo "no" >&6; }
8636
if test -z "$ac_cv_prog_RANLIB"; then
8637
ac_ct_RANLIB=$RANLIB
8638
# Extract the first word of "ranlib", so it can be a program name with args.
8639
set dummy ranlib; ac_word=$2
8640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8641
$as_echo_n "checking for $ac_word... " >&6; }
8642
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8643
$as_echo_n "(cached) " >&6
8645
if test -n "$ac_ct_RANLIB"; then
8646
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8652
test -z "$as_dir" && as_dir=.
8653
for ac_exec_ext in '' $ac_executable_extensions; do
8654
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8655
ac_cv_prog_ac_ct_RANLIB="ranlib"
8656
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8665
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8666
if test -n "$ac_ct_RANLIB"; then
8667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8668
$as_echo "$ac_ct_RANLIB" >&6; }
8670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8671
$as_echo "no" >&6; }
8674
if test "x$ac_ct_RANLIB" = x; then
8677
case $cross_compiling:$ac_tool_warned in
8679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8680
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8681
ac_tool_warned=yes ;;
8683
RANLIB=$ac_ct_RANLIB
8686
RANLIB="$ac_cv_prog_RANLIB"
8689
test -z "$RANLIB" && RANLIB=:
8696
# Determine commands to create old-style static archives.
8697
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8698
old_postinstall_cmds='chmod 644 $oldlib'
8699
old_postuninstall_cmds=
8701
if test -n "$RANLIB"; then
8704
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8707
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8710
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8715
lock_old_archive_extraction=yes ;;
8717
lock_old_archive_extraction=no ;;
8758
# If no C compiler was specified, use CC.
8761
# If no C compiler flags were specified, use CFLAGS.
8762
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8764
# Allow CC to be a program name with arguments.
8768
# Check for command to grab the raw symbol name followed by C symbol from nm.
8769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8770
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8771
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8772
$as_echo_n "(cached) " >&6
8775
# These are sane defaults that work on at least a few old systems.
8776
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8778
# Character class describing NM global symbol codes.
8779
symcode='[BCDEGRST]'
8781
# Regexp to match symbols that can be accessed directly from C.
8782
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8784
# Define system-specific variables.
8789
cygwin* | mingw* | pw32* | cegcc*)
8790
symcode='[ABCDGISTW]'
8793
if test "$host_cpu" = ia64; then
8794
symcode='[ABCDEGRST]'
8798
symcode='[BCDEGRST]'
8801
symcode='[BCDEGQRST]'
8812
sysv5* | sco5v6* | unixware* | OpenUNIX*)
8820
# If we're using GNU nm, then use its standard symbol codes.
8821
case `$NM -V 2>&1` in
8822
*GNU* | *'with BFD'*)
8823
symcode='[ABCDGIRSTW]' ;;
8826
# Transform an extracted symbol line into a proper C declaration.
8827
# Some systems (esp. on ia64) link data and code symbols differently,
8828
# so use this general approach.
8829
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8831
# Transform an extracted symbol line into symbol name and symbol address
8832
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8833
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'"
8835
# Handle CRLF in mingw tool chain
8839
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8843
# Try without a prefix underscore, then with it.
8844
for ac_symprfx in "" "_"; do
8846
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8847
symxfrm="\\1 $ac_symprfx\\2 \\2"
8849
# Write the raw and C identifiers.
8850
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8851
# Fake it for dumpbin and say T for any non-static function
8852
# and D for any global variable.
8853
# Also find C++ and __fastcall symbols from MSVC++,
8854
# which start with @ or ?.
8855
lt_cv_sys_global_symbol_pipe="$AWK '"\
8856
" {last_section=section; section=\$ 3};"\
8857
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8858
" \$ 0!~/External *\|/{next};"\
8859
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8860
" {if(hide[section]) next};"\
8861
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8862
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8863
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
8864
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8865
" ' prfx=^$ac_symprfx"
8867
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8869
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8871
# Check to see that the pipe works correctly.
8875
cat > conftest.$ac_ext <<_LT_EOF
8880
void nm_test_func(void);
8881
void nm_test_func(void){}
8885
int main(){nm_test_var='a';nm_test_func();return(0);}
8888
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8889
(eval $ac_compile) 2>&5
8891
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8892
test $ac_status = 0; }; then
8893
# Now try to grab the symbols.
8895
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8896
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8898
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8899
test $ac_status = 0; } && test -s "$nlist"; then
8900
# Try sorting and uniquifying the output.
8901
if sort "$nlist" | uniq > "$nlist"T; then
8902
mv -f "$nlist"T "$nlist"
8907
# Make sure that we snagged all the symbols we need.
8908
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8909
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8910
cat <<_LT_EOF > conftest.$ac_ext
8911
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8912
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8913
/* DATA imports from DLLs on WIN32 con't be const, because runtime
8914
relocations are performed -- see ld's documentation on pseudo-relocs. */
8915
# define LT_DLSYM_CONST
8916
#elif defined(__osf__)
8917
/* This system does not cope well with relocations in const data. */
8918
# define LT_DLSYM_CONST
8920
# define LT_DLSYM_CONST const
8928
# Now generate the symbol file.
8929
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8931
cat <<_LT_EOF >> conftest.$ac_ext
8933
/* The mapping between symbol names and symbols. */
8934
LT_DLSYM_CONST struct {
8938
lt__PROGRAM__LTX_preloaded_symbols[] =
8940
{ "@PROGRAM@", (void *) 0 },
8942
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8943
cat <<\_LT_EOF >> conftest.$ac_ext
8947
/* This works around a problem in FreeBSD linker */
8948
#ifdef FREEBSD_WORKAROUND
8949
static const void *lt_preloaded_setup() {
8950
return lt__PROGRAM__LTX_preloaded_symbols;
8958
# Now try linking the two files.
8959
mv conftest.$ac_objext conftstm.$ac_objext
8960
lt_globsym_save_LIBS=$LIBS
8961
lt_globsym_save_CFLAGS=$CFLAGS
8962
LIBS="conftstm.$ac_objext"
8963
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8964
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8965
(eval $ac_link) 2>&5
8967
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8968
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8971
LIBS=$lt_globsym_save_LIBS
8972
CFLAGS=$lt_globsym_save_CFLAGS
8974
echo "cannot find nm_test_func in $nlist" >&5
8977
echo "cannot find nm_test_var in $nlist" >&5
8980
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8983
echo "$progname: failed program was:" >&5
8984
cat conftest.$ac_ext >&5
8986
rm -rf conftest* conftst*
8988
# Do not use the global_symbol_pipe unless it works.
8989
if test "$pipe_works" = yes; then
8992
lt_cv_sys_global_symbol_pipe=
8998
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8999
lt_cv_sys_global_symbol_to_cdecl=
9001
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9003
$as_echo "failed" >&6; }
9005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9006
$as_echo "ok" >&6; }
9009
# Response file support.
9010
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9011
nm_file_list_spec='@'
9012
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9013
nm_file_list_spec='@'
9042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9043
$as_echo_n "checking for sysroot... " >&6; }
9045
# Check whether --with-sysroot was given.
9046
if test "${with_sysroot+set}" = set; then :
9047
withval=$with_sysroot;
9054
case ${with_sysroot} in #(
9056
if test "$GCC" = yes; then
9057
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9061
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9067
$as_echo "${with_sysroot}" >&6; }
9068
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9073
$as_echo "${lt_sysroot:-no}" >&6; }
9079
# Check whether --enable-libtool-lock was given.
9080
if test "${enable_libtool_lock+set}" = set; then :
9081
enableval=$enable_libtool_lock;
9084
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9086
# Some flags need to be propagated to the compiler or linker for good
9090
# Find out which ABI we are using.
9091
echo 'int i;' > conftest.$ac_ext
9092
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9093
(eval $ac_compile) 2>&5
9095
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9096
test $ac_status = 0; }; then
9097
case `/usr/bin/file conftest.$ac_objext` in
9109
# Find out which ABI we are using.
9110
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9111
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9112
(eval $ac_compile) 2>&5
9114
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9115
test $ac_status = 0; }; then
9116
if test "$lt_cv_prog_gnu_ld" = yes; then
9117
case `/usr/bin/file conftest.$ac_objext` in
9119
LD="${LD-ld} -melf32bsmip"
9122
LD="${LD-ld} -melf32bmipn32"
9125
LD="${LD-ld} -melf64bmip"
9129
case `/usr/bin/file conftest.$ac_objext` in
9145
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9146
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9147
# Find out which ABI we are using.
9148
echo 'int i;' > conftest.$ac_ext
9149
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9150
(eval $ac_compile) 2>&5
9152
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9153
test $ac_status = 0; }; then
9154
case `/usr/bin/file conftest.o` in
9157
x86_64-*kfreebsd*-gnu)
9158
LD="${LD-ld} -m elf_i386_fbsd"
9161
LD="${LD-ld} -m elf_i386"
9163
ppc64-*linux*|powerpc64-*linux*)
9164
LD="${LD-ld} -m elf32ppclinux"
9167
LD="${LD-ld} -m elf_s390"
9170
LD="${LD-ld} -m elf32_sparc"
9176
x86_64-*kfreebsd*-gnu)
9177
LD="${LD-ld} -m elf_x86_64_fbsd"
9180
LD="${LD-ld} -m elf_x86_64"
9182
ppc*-*linux*|powerpc*-*linux*)
9183
LD="${LD-ld} -m elf64ppc"
9185
s390*-*linux*|s390*-*tpf*)
9186
LD="${LD-ld} -m elf64_s390"
9189
LD="${LD-ld} -m elf64_sparc"
9199
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
9200
SAVE_CFLAGS="$CFLAGS"
9201
CFLAGS="$CFLAGS -belf"
9202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9203
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9204
if ${lt_cv_cc_needs_belf+:} false; then :
9205
$as_echo_n "(cached) " >&6
9208
ac_cpp='$CPP $CPPFLAGS'
9209
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9210
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9211
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214
/* end confdefs.h. */
9224
if ac_fn_c_try_link "$LINENO"; then :
9225
lt_cv_cc_needs_belf=yes
9227
lt_cv_cc_needs_belf=no
9229
rm -f core conftest.err conftest.$ac_objext \
9230
conftest$ac_exeext conftest.$ac_ext
9232
ac_cpp='$CPP $CPPFLAGS'
9233
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9234
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9235
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9239
$as_echo "$lt_cv_cc_needs_belf" >&6; }
9240
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9241
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9242
CFLAGS="$SAVE_CFLAGS"
9246
# Find out which ABI we are using.
9247
echo 'int i;' > conftest.$ac_ext
9248
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9249
(eval $ac_compile) 2>&5
9251
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9252
test $ac_status = 0; }; then
9253
case `/usr/bin/file conftest.o` in
9255
case $lt_cv_prog_gnu_ld in
9256
yes*) LD="${LD-ld} -m elf64_sparc" ;;
9258
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9270
need_locks="$enable_libtool_lock"
9272
if test -n "$ac_tool_prefix"; then
9273
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9274
set dummy ${ac_tool_prefix}mt; ac_word=$2
9275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9276
$as_echo_n "checking for $ac_word... " >&6; }
9277
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9278
$as_echo_n "(cached) " >&6
9280
if test -n "$MANIFEST_TOOL"; then
9281
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9287
test -z "$as_dir" && as_dir=.
9288
for ac_exec_ext in '' $ac_executable_extensions; do
9289
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9290
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9291
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9300
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9301
if test -n "$MANIFEST_TOOL"; then
9302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9303
$as_echo "$MANIFEST_TOOL" >&6; }
9305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9306
$as_echo "no" >&6; }
9311
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9312
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9313
# Extract the first word of "mt", so it can be a program name with args.
9314
set dummy mt; ac_word=$2
9315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9316
$as_echo_n "checking for $ac_word... " >&6; }
9317
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9318
$as_echo_n "(cached) " >&6
9320
if test -n "$ac_ct_MANIFEST_TOOL"; then
9321
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9327
test -z "$as_dir" && as_dir=.
9328
for ac_exec_ext in '' $ac_executable_extensions; do
9329
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9330
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9331
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9340
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9341
if test -n "$ac_ct_MANIFEST_TOOL"; then
9342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9343
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9346
$as_echo "no" >&6; }
9349
if test "x$ac_ct_MANIFEST_TOOL" = x; then
9352
case $cross_compiling:$ac_tool_warned in
9354
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9355
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9356
ac_tool_warned=yes ;;
9358
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9361
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9364
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9366
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9367
if ${lt_cv_path_mainfest_tool+:} false; then :
9368
$as_echo_n "(cached) " >&6
9370
lt_cv_path_mainfest_tool=no
9371
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9372
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9373
cat conftest.err >&5
9374
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9375
lt_cv_path_mainfest_tool=yes
9379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9380
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9381
if test "x$lt_cv_path_mainfest_tool" != xyes; then
9391
rhapsody* | darwin*)
9392
if test -n "$ac_tool_prefix"; then
9393
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9394
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9396
$as_echo_n "checking for $ac_word... " >&6; }
9397
if ${ac_cv_prog_DSYMUTIL+:} false; then :
9398
$as_echo_n "(cached) " >&6
9400
if test -n "$DSYMUTIL"; then
9401
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9407
test -z "$as_dir" && as_dir=.
9408
for ac_exec_ext in '' $ac_executable_extensions; do
9409
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9410
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9411
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9420
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9421
if test -n "$DSYMUTIL"; then
9422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9423
$as_echo "$DSYMUTIL" >&6; }
9425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9426
$as_echo "no" >&6; }
9431
if test -z "$ac_cv_prog_DSYMUTIL"; then
9432
ac_ct_DSYMUTIL=$DSYMUTIL
9433
# Extract the first word of "dsymutil", so it can be a program name with args.
9434
set dummy dsymutil; ac_word=$2
9435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9436
$as_echo_n "checking for $ac_word... " >&6; }
9437
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9438
$as_echo_n "(cached) " >&6
9440
if test -n "$ac_ct_DSYMUTIL"; then
9441
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9443
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9447
test -z "$as_dir" && as_dir=.
9448
for ac_exec_ext in '' $ac_executable_extensions; do
9449
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9450
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9451
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9460
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9461
if test -n "$ac_ct_DSYMUTIL"; then
9462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9463
$as_echo "$ac_ct_DSYMUTIL" >&6; }
9465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9466
$as_echo "no" >&6; }
9469
if test "x$ac_ct_DSYMUTIL" = x; then
9472
case $cross_compiling:$ac_tool_warned in
9474
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9475
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9476
ac_tool_warned=yes ;;
9478
DSYMUTIL=$ac_ct_DSYMUTIL
9481
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9484
if test -n "$ac_tool_prefix"; then
9485
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9486
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9488
$as_echo_n "checking for $ac_word... " >&6; }
9489
if ${ac_cv_prog_NMEDIT+:} false; then :
9490
$as_echo_n "(cached) " >&6
9492
if test -n "$NMEDIT"; then
9493
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9495
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9499
test -z "$as_dir" && as_dir=.
9500
for ac_exec_ext in '' $ac_executable_extensions; do
9501
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9502
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9503
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9512
NMEDIT=$ac_cv_prog_NMEDIT
9513
if test -n "$NMEDIT"; then
9514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9515
$as_echo "$NMEDIT" >&6; }
9517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9518
$as_echo "no" >&6; }
9523
if test -z "$ac_cv_prog_NMEDIT"; then
9524
ac_ct_NMEDIT=$NMEDIT
9525
# Extract the first word of "nmedit", so it can be a program name with args.
9526
set dummy nmedit; ac_word=$2
9527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9528
$as_echo_n "checking for $ac_word... " >&6; }
9529
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9530
$as_echo_n "(cached) " >&6
9532
if test -n "$ac_ct_NMEDIT"; then
9533
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9539
test -z "$as_dir" && as_dir=.
9540
for ac_exec_ext in '' $ac_executable_extensions; do
9541
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9542
ac_cv_prog_ac_ct_NMEDIT="nmedit"
9543
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9552
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9553
if test -n "$ac_ct_NMEDIT"; then
9554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9555
$as_echo "$ac_ct_NMEDIT" >&6; }
9557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558
$as_echo "no" >&6; }
9561
if test "x$ac_ct_NMEDIT" = x; then
9564
case $cross_compiling:$ac_tool_warned in
9566
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9567
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9568
ac_tool_warned=yes ;;
9570
NMEDIT=$ac_ct_NMEDIT
9573
NMEDIT="$ac_cv_prog_NMEDIT"
9576
if test -n "$ac_tool_prefix"; then
9577
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9578
set dummy ${ac_tool_prefix}lipo; ac_word=$2
9579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9580
$as_echo_n "checking for $ac_word... " >&6; }
9581
if ${ac_cv_prog_LIPO+:} false; then :
9582
$as_echo_n "(cached) " >&6
9584
if test -n "$LIPO"; then
9585
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9591
test -z "$as_dir" && as_dir=.
9592
for ac_exec_ext in '' $ac_executable_extensions; do
9593
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9594
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9595
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9604
LIPO=$ac_cv_prog_LIPO
9605
if test -n "$LIPO"; then
9606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9607
$as_echo "$LIPO" >&6; }
9609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9610
$as_echo "no" >&6; }
9615
if test -z "$ac_cv_prog_LIPO"; then
9617
# Extract the first word of "lipo", so it can be a program name with args.
9618
set dummy lipo; ac_word=$2
9619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9620
$as_echo_n "checking for $ac_word... " >&6; }
9621
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9622
$as_echo_n "(cached) " >&6
9624
if test -n "$ac_ct_LIPO"; then
9625
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9627
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9631
test -z "$as_dir" && as_dir=.
9632
for ac_exec_ext in '' $ac_executable_extensions; do
9633
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9634
ac_cv_prog_ac_ct_LIPO="lipo"
9635
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9644
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9645
if test -n "$ac_ct_LIPO"; then
9646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9647
$as_echo "$ac_ct_LIPO" >&6; }
9649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650
$as_echo "no" >&6; }
9653
if test "x$ac_ct_LIPO" = x; then
9656
case $cross_compiling:$ac_tool_warned in
9658
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9659
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9660
ac_tool_warned=yes ;;
9665
LIPO="$ac_cv_prog_LIPO"
9668
if test -n "$ac_tool_prefix"; then
9669
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9670
set dummy ${ac_tool_prefix}otool; ac_word=$2
9671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9672
$as_echo_n "checking for $ac_word... " >&6; }
9673
if ${ac_cv_prog_OTOOL+:} false; then :
9674
$as_echo_n "(cached) " >&6
9676
if test -n "$OTOOL"; then
9677
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9683
test -z "$as_dir" && as_dir=.
9684
for ac_exec_ext in '' $ac_executable_extensions; do
9685
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9686
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9687
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9696
OTOOL=$ac_cv_prog_OTOOL
9697
if test -n "$OTOOL"; then
9698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9699
$as_echo "$OTOOL" >&6; }
9701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702
$as_echo "no" >&6; }
9707
if test -z "$ac_cv_prog_OTOOL"; then
9709
# Extract the first word of "otool", so it can be a program name with args.
9710
set dummy otool; ac_word=$2
9711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9712
$as_echo_n "checking for $ac_word... " >&6; }
9713
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9714
$as_echo_n "(cached) " >&6
9716
if test -n "$ac_ct_OTOOL"; then
9717
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9723
test -z "$as_dir" && as_dir=.
9724
for ac_exec_ext in '' $ac_executable_extensions; do
9725
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9726
ac_cv_prog_ac_ct_OTOOL="otool"
9727
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9736
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9737
if test -n "$ac_ct_OTOOL"; then
9738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9739
$as_echo "$ac_ct_OTOOL" >&6; }
9741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9742
$as_echo "no" >&6; }
9745
if test "x$ac_ct_OTOOL" = x; then
9748
case $cross_compiling:$ac_tool_warned in
9750
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9751
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9752
ac_tool_warned=yes ;;
9757
OTOOL="$ac_cv_prog_OTOOL"
9760
if test -n "$ac_tool_prefix"; then
9761
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9762
set dummy ${ac_tool_prefix}otool64; ac_word=$2
9763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9764
$as_echo_n "checking for $ac_word... " >&6; }
9765
if ${ac_cv_prog_OTOOL64+:} false; then :
9766
$as_echo_n "(cached) " >&6
9768
if test -n "$OTOOL64"; then
9769
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9775
test -z "$as_dir" && as_dir=.
9776
for ac_exec_ext in '' $ac_executable_extensions; do
9777
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9778
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9779
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9788
OTOOL64=$ac_cv_prog_OTOOL64
9789
if test -n "$OTOOL64"; then
9790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9791
$as_echo "$OTOOL64" >&6; }
9793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9794
$as_echo "no" >&6; }
9799
if test -z "$ac_cv_prog_OTOOL64"; then
9800
ac_ct_OTOOL64=$OTOOL64
9801
# Extract the first word of "otool64", so it can be a program name with args.
9802
set dummy otool64; ac_word=$2
9803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9804
$as_echo_n "checking for $ac_word... " >&6; }
9805
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9806
$as_echo_n "(cached) " >&6
9808
if test -n "$ac_ct_OTOOL64"; then
9809
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815
test -z "$as_dir" && as_dir=.
9816
for ac_exec_ext in '' $ac_executable_extensions; do
9817
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818
ac_cv_prog_ac_ct_OTOOL64="otool64"
9819
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9828
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9829
if test -n "$ac_ct_OTOOL64"; then
9830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9831
$as_echo "$ac_ct_OTOOL64" >&6; }
9833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9834
$as_echo "no" >&6; }
9837
if test "x$ac_ct_OTOOL64" = x; then
9840
case $cross_compiling:$ac_tool_warned in
9842
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9843
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9844
ac_tool_warned=yes ;;
9846
OTOOL64=$ac_ct_OTOOL64
9849
OTOOL64="$ac_cv_prog_OTOOL64"
9878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9879
$as_echo_n "checking for -single_module linker flag... " >&6; }
9880
if ${lt_cv_apple_cc_single_mod+:} false; then :
9881
$as_echo_n "(cached) " >&6
9883
lt_cv_apple_cc_single_mod=no
9884
if test -z "${LT_MULTI_MODULE}"; then
9885
# By default we will add the -single_module flag. You can override
9886
# by either setting the environment variable LT_MULTI_MODULE
9887
# non-empty at configure time, or by adding -multi_module to the
9889
rm -rf libconftest.dylib*
9890
echo "int foo(void){return 1;}" > conftest.c
9891
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9892
-dynamiclib -Wl,-single_module conftest.c" >&5
9893
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9894
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9896
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9897
lt_cv_apple_cc_single_mod=yes
9899
cat conftest.err >&5
9901
rm -rf libconftest.dylib*
9905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9906
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9908
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9909
if ${lt_cv_ld_exported_symbols_list+:} false; then :
9910
$as_echo_n "(cached) " >&6
9912
lt_cv_ld_exported_symbols_list=no
9913
save_LDFLAGS=$LDFLAGS
9914
echo "_main" > conftest.sym
9915
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917
/* end confdefs.h. */
9927
if ac_fn_c_try_link "$LINENO"; then :
9928
lt_cv_ld_exported_symbols_list=yes
9930
lt_cv_ld_exported_symbols_list=no
9932
rm -f core conftest.err conftest.$ac_objext \
9933
conftest$ac_exeext conftest.$ac_ext
9934
LDFLAGS="$save_LDFLAGS"
9937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9938
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9940
$as_echo_n "checking for -force_load linker flag... " >&6; }
9941
if ${lt_cv_ld_force_load+:} false; then :
9942
$as_echo_n "(cached) " >&6
9944
lt_cv_ld_force_load=no
9945
cat > conftest.c << _LT_EOF
9946
int forced_loaded() { return 2;}
9948
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9949
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9950
echo "$AR cru libconftest.a conftest.o" >&5
9951
$AR cru libconftest.a conftest.o 2>&5
9952
echo "$RANLIB libconftest.a" >&5
9953
$RANLIB libconftest.a 2>&5
9954
cat > conftest.c << _LT_EOF
9955
int main() { return 0;}
9957
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9958
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9960
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9961
lt_cv_ld_force_load=yes
9963
cat conftest.err >&5
9965
rm -f conftest.err libconftest.a conftest conftest.c
9966
rm -rf conftest.dSYM
9969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9970
$as_echo "$lt_cv_ld_force_load" >&6; }
9972
rhapsody* | darwin1.[012])
9973
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9975
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9976
darwin*) # darwin 5.x on
9977
# if running on 10.5 or later, the deployment target defaults
9978
# to the OS version, if on x86, and 10.4, the deployment
9979
# target defaults to 10.4. Don't you love it?
9980
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9981
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9982
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9984
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9986
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9990
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9991
_lt_dar_single_mod='$single_module'
9993
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9994
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9996
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9998
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9999
_lt_dsymutil='~$DSYMUTIL $lib || :'
10006
for ac_header in dlfcn.h
10008
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10010
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10011
cat >>confdefs.h <<_ACEOF
10012
#define HAVE_DLFCN_H 1
10030
enable_win32_dll=no
10033
# Check whether --enable-shared was given.
10034
if test "${enable_shared+set}" = set; then :
10035
enableval=$enable_shared; p=${PACKAGE-default}
10037
yes) enable_shared=yes ;;
10038
no) enable_shared=no ;;
10041
# Look at the argument we got. We use all the common list separators.
10042
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10043
for pkg in $enableval; do
10045
if test "X$pkg" = "X$p"; then
10064
# Check whether --enable-static was given.
10065
if test "${enable_static+set}" = set; then :
10066
enableval=$enable_static; p=${PACKAGE-default}
10068
yes) enable_static=yes ;;
10069
no) enable_static=no ;;
10072
# Look at the argument we got. We use all the common list separators.
10073
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10074
for pkg in $enableval; do
10076
if test "X$pkg" = "X$p"; then
10096
# Check whether --with-pic was given.
10097
if test "${with_pic+set}" = set; then :
10098
withval=$with_pic; pic_mode="$withval"
10104
test -z "$pic_mode" && pic_mode=default
10112
# Check whether --enable-fast-install was given.
10113
if test "${enable_fast_install+set}" = set; then :
10114
enableval=$enable_fast_install; p=${PACKAGE-default}
10116
yes) enable_fast_install=yes ;;
10117
no) enable_fast_install=no ;;
10119
enable_fast_install=no
10120
# Look at the argument we got. We use all the common list separators.
10121
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10122
for pkg in $enableval; do
10124
if test "X$pkg" = "X$p"; then
10125
enable_fast_install=yes
10132
enable_fast_install=yes
10145
# This can be used to rebuild libtool when needed
10146
LIBTOOL_DEPS="$ltmain"
10148
# Always use our own libtool.
10149
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10176
test -z "$LN_S" && LN_S="ln -s"
10191
if test -n "${ZSH_VERSION+set}" ; then
10192
setopt NO_GLOB_SUBST
10195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10196
$as_echo_n "checking for objdir... " >&6; }
10197
if ${lt_cv_objdir+:} false; then :
10198
$as_echo_n "(cached) " >&6
10200
rm -f .libs 2>/dev/null
10201
mkdir .libs 2>/dev/null
10202
if test -d .libs; then
10205
# MS-DOS does not allow filenames that begin with a dot.
10208
rmdir .libs 2>/dev/null
10210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10211
$as_echo "$lt_cv_objdir" >&6; }
10212
objdir=$lt_cv_objdir
10218
cat >>confdefs.h <<_ACEOF
10219
#define LT_OBJDIR "$lt_cv_objdir/"
10227
# AIX sometimes has problems with the GCC collect2 program. For some
10228
# reason, if we set the COLLECT_NAMES environment variable, the problems
10229
# vanish in a puff of smoke.
10230
if test "X${COLLECT_NAMES+set}" != Xset; then
10232
export COLLECT_NAMES
10237
# Global variables:
10239
can_build_shared=yes
10241
# All known linkers require a `.a' archive for static linking (except MSVC,
10242
# which needs '.lib').
10245
with_gnu_ld="$lt_cv_prog_gnu_ld"
10248
old_CFLAGS="$CFLAGS"
10250
# Set sane defaults for various variables
10251
test -z "$CC" && CC=cc
10252
test -z "$LTCC" && LTCC=$CC
10253
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10254
test -z "$LD" && LD=ld
10255
test -z "$ac_objext" && ac_objext=o
10257
for cc_temp in $compiler""; do
10259
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10260
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10265
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10268
# Only perform the check for file, if the check method requires it
10269
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10270
case $deplibs_check_method in
10272
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10274
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10275
if ${lt_cv_path_MAGIC_CMD+:} false; then :
10276
$as_echo_n "(cached) " >&6
10280
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10283
lt_save_MAGIC_CMD="$MAGIC_CMD"
10284
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10285
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10286
for ac_dir in $ac_dummy; do
10288
test -z "$ac_dir" && ac_dir=.
10289
if test -f $ac_dir/${ac_tool_prefix}file; then
10290
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10291
if test -n "$file_magic_test_file"; then
10292
case $deplibs_check_method in
10294
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10295
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10296
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10297
$EGREP "$file_magic_regex" > /dev/null; then
10302
*** Warning: the command libtool uses to detect shared libraries,
10303
*** $file_magic_cmd, produces output that libtool cannot recognize.
10304
*** The result is that libtool may fail to recognize shared libraries
10305
*** as such. This will affect the creation of libtool libraries that
10306
*** depend on shared libraries, but programs linked with such libtool
10307
*** libraries will work regardless of this problem. Nevertheless, you
10308
*** may want to report the problem to your system manager and/or to
10309
*** bug-libtool@gnu.org
10319
MAGIC_CMD="$lt_save_MAGIC_CMD"
10324
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10325
if test -n "$MAGIC_CMD"; then
10326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10327
$as_echo "$MAGIC_CMD" >&6; }
10329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10330
$as_echo "no" >&6; }
10337
if test -z "$lt_cv_path_MAGIC_CMD"; then
10338
if test -n "$ac_tool_prefix"; then
10339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10340
$as_echo_n "checking for file... " >&6; }
10341
if ${lt_cv_path_MAGIC_CMD+:} false; then :
10342
$as_echo_n "(cached) " >&6
10346
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10349
lt_save_MAGIC_CMD="$MAGIC_CMD"
10350
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10351
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10352
for ac_dir in $ac_dummy; do
10354
test -z "$ac_dir" && ac_dir=.
10355
if test -f $ac_dir/file; then
10356
lt_cv_path_MAGIC_CMD="$ac_dir/file"
10357
if test -n "$file_magic_test_file"; then
10358
case $deplibs_check_method in
10360
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10361
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10362
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10363
$EGREP "$file_magic_regex" > /dev/null; then
10368
*** Warning: the command libtool uses to detect shared libraries,
10369
*** $file_magic_cmd, produces output that libtool cannot recognize.
10370
*** The result is that libtool may fail to recognize shared libraries
10371
*** as such. This will affect the creation of libtool libraries that
10372
*** depend on shared libraries, but programs linked with such libtool
10373
*** libraries will work regardless of this problem. Nevertheless, you
10374
*** may want to report the problem to your system manager and/or to
10375
*** bug-libtool@gnu.org
10385
MAGIC_CMD="$lt_save_MAGIC_CMD"
10390
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10391
if test -n "$MAGIC_CMD"; then
10392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10393
$as_echo "$MAGIC_CMD" >&6; }
10395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396
$as_echo "no" >&6; }
10409
# Use C for the default configuration in the libtool script
10413
ac_cpp='$CPP $CPPFLAGS'
10414
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10415
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10416
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10419
# Source file extension for C test sources.
10422
# Object file extension for compiled C test sources.
10426
# Code to be used in simple compile tests
10427
lt_simple_compile_test_code="int some_variable = 0;"
10429
# Code to be used in simple link tests
10430
lt_simple_link_test_code='int main(){return(0);}'
10438
# If no C compiler was specified, use CC.
10441
# If no C compiler flags were specified, use CFLAGS.
10442
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10444
# Allow CC to be a program name with arguments.
10447
# Save the default compiler, since it gets overwritten when the other
10448
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10449
compiler_DEFAULT=$CC
10451
# save warnings/boilerplate of simple test code
10452
ac_outfile=conftest.$ac_objext
10453
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10454
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10455
_lt_compiler_boilerplate=`cat conftest.err`
10458
ac_outfile=conftest.$ac_objext
10459
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10460
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10461
_lt_linker_boilerplate=`cat conftest.err`
10465
if test -n "$compiler"; then
10467
lt_prog_compiler_no_builtin_flag=
10469
if test "$GCC" = yes; then
10470
case $cc_basename in
10472
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10474
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10478
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10479
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10480
$as_echo_n "(cached) " >&6
10482
lt_cv_prog_compiler_rtti_exceptions=no
10483
ac_outfile=conftest.$ac_objext
10484
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10485
lt_compiler_flag="-fno-rtti -fno-exceptions"
10486
# Insert the option either (1) after the last *FLAGS variable, or
10487
# (2) before a word containing "conftest.", or (3) at the end.
10488
# Note that $ac_compile itself does not contain backslashes and begins
10489
# with a dollar sign (not a hyphen), so the echo should work correctly.
10490
# The option is referenced via a variable to avoid confusing sed.
10491
lt_compile=`echo "$ac_compile" | $SED \
10492
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10493
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10494
-e 's:$: $lt_compiler_flag:'`
10495
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10496
(eval "$lt_compile" 2>conftest.err)
10498
cat conftest.err >&5
10499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500
if (exit $ac_status) && test -s "$ac_outfile"; then
10501
# The compiler can only warn and ignore the option if not recognized
10502
# So say no if there are warnings other than the usual output.
10503
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10504
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10505
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10506
lt_cv_prog_compiler_rtti_exceptions=yes
10512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10513
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10515
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10516
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10528
lt_prog_compiler_wl=
10529
lt_prog_compiler_pic=
10530
lt_prog_compiler_static=
10533
if test "$GCC" = yes; then
10534
lt_prog_compiler_wl='-Wl,'
10535
lt_prog_compiler_static='-static'
10539
# All AIX code is PIC.
10540
if test "$host_cpu" = ia64; then
10541
# AIX 5 now supports IA64 processor
10542
lt_prog_compiler_static='-Bstatic'
10549
# see comment about AmigaOS4 .so support
10550
lt_prog_compiler_pic='-fPIC'
10553
# FIXME: we need at least 68020 code to build shared libraries, but
10554
# adding the `-m68020' flag to GCC prevents building anything better,
10556
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10561
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10562
# PIC is the default for these OSes.
10565
mingw* | cygwin* | pw32* | os2* | cegcc*)
10566
# This hack is so that the source file can tell whether it is being
10567
# built for inclusion in a dll (and should export symbols for example).
10568
# Although the cygwin gcc ignores -fPIC, still need this for old-style
10569
# (--disable-auto-import) libraries
10570
lt_prog_compiler_pic='-DDLL_EXPORT'
10573
darwin* | rhapsody*)
10574
# PIC is the default on this platform
10575
# Common symbols not allowed in MH_DYLIB files
10576
lt_prog_compiler_pic='-fno-common'
10580
# PIC is the default for Haiku.
10581
# The "-static" flag exists, but is broken.
10582
lt_prog_compiler_static=
10586
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10587
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10588
# sets the default TLS model and affects inlining.
10594
lt_prog_compiler_pic='-fPIC'
10600
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
10601
# Instead, we relocate shared libraries at runtime.
10605
# Just because we use GCC doesn't mean we suddenly get shared libraries
10606
# on systems that don't support them.
10607
lt_prog_compiler_can_build_shared=no
10612
# QNX uses GNU C++, but need to define -shared option too, otherwise
10613
# it will coredump.
10614
lt_prog_compiler_pic='-fPIC -shared'
10618
if test -d /usr/nec; then
10619
lt_prog_compiler_pic=-Kconform_pic
10624
lt_prog_compiler_pic='-fPIC'
10628
case $cc_basename in
10629
nvcc*) # Cuda Compiler Driver 2.2
10630
lt_prog_compiler_wl='-Xlinker '
10631
lt_prog_compiler_pic='-Xcompiler -fPIC'
10635
# PORTME Check for flag to pass linker flags through the system compiler.
10638
lt_prog_compiler_wl='-Wl,'
10639
if test "$host_cpu" = ia64; then
10640
# AIX 5 now supports IA64 processor
10641
lt_prog_compiler_static='-Bstatic'
10643
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10647
mingw* | cygwin* | pw32* | os2* | cegcc*)
10648
# This hack is so that the source file can tell whether it is being
10649
# built for inclusion in a dll (and should export symbols for example).
10650
lt_prog_compiler_pic='-DDLL_EXPORT'
10653
hpux9* | hpux10* | hpux11*)
10654
lt_prog_compiler_wl='-Wl,'
10655
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10656
# not for PA HP-UX.
10662
lt_prog_compiler_pic='+Z'
10665
# Is there a better lt_prog_compiler_static that works with the bundled CC?
10666
lt_prog_compiler_static='${wl}-a ${wl}archive'
10669
irix5* | irix6* | nonstopux*)
10670
lt_prog_compiler_wl='-Wl,'
10671
# PIC (with -KPIC) is the default.
10672
lt_prog_compiler_static='-non_shared'
10675
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10676
case $cc_basename in
10677
# old Intel for x86_64 which still supported -KPIC.
10679
lt_prog_compiler_wl='-Wl,'
10680
lt_prog_compiler_pic='-KPIC'
10681
lt_prog_compiler_static='-static'
10683
# icc used to be incompatible with GCC.
10684
# ICC 10 doesn't accept -KPIC any more.
10686
lt_prog_compiler_wl='-Wl,'
10687
lt_prog_compiler_pic='-fPIC'
10688
lt_prog_compiler_static='-static'
10690
# Lahey Fortran 8.1.
10692
lt_prog_compiler_wl='-Wl,'
10693
lt_prog_compiler_pic='--shared'
10694
lt_prog_compiler_static='--static'
10697
# NAG Fortran compiler
10698
lt_prog_compiler_wl='-Wl,-Wl,,'
10699
lt_prog_compiler_pic='-PIC'
10700
lt_prog_compiler_static='-Bstatic'
10702
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10703
# Portland Group compilers (*not* the Pentium gcc compiler,
10704
# which looks to be a dead project)
10705
lt_prog_compiler_wl='-Wl,'
10706
lt_prog_compiler_pic='-fpic'
10707
lt_prog_compiler_static='-Bstatic'
10710
lt_prog_compiler_wl='-Wl,'
10711
# All Alpha code is PIC.
10712
lt_prog_compiler_static='-non_shared'
10714
xl* | bgxl* | bgf* | mpixl*)
10715
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10716
lt_prog_compiler_wl='-Wl,'
10717
lt_prog_compiler_pic='-qpic'
10718
lt_prog_compiler_static='-qstaticlink'
10721
case `$CC -V 2>&1 | sed 5q` in
10722
*Sun\ F* | *Sun*Fortran*)
10723
# Sun Fortran 8.3 passes all unrecognized flags to the linker
10724
lt_prog_compiler_pic='-KPIC'
10725
lt_prog_compiler_static='-Bstatic'
10726
lt_prog_compiler_wl=''
10730
lt_prog_compiler_pic='-KPIC'
10731
lt_prog_compiler_static='-Bstatic'
10732
lt_prog_compiler_wl='-Wl,'
10740
lt_prog_compiler_pic='-KPIC'
10741
lt_prog_compiler_static='-Bstatic'
10745
# QNX uses GNU C++, but need to define -shared option too, otherwise
10746
# it will coredump.
10747
lt_prog_compiler_pic='-fPIC -shared'
10750
osf3* | osf4* | osf5*)
10751
lt_prog_compiler_wl='-Wl,'
10752
# All OSF/1 code is PIC.
10753
lt_prog_compiler_static='-non_shared'
10757
lt_prog_compiler_static='-non_shared'
10761
lt_prog_compiler_pic='-KPIC'
10762
lt_prog_compiler_static='-Bstatic'
10763
case $cc_basename in
10764
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10765
lt_prog_compiler_wl='-Qoption ld ';;
10767
lt_prog_compiler_wl='-Wl,';;
10772
lt_prog_compiler_wl='-Qoption ld '
10773
lt_prog_compiler_pic='-PIC'
10774
lt_prog_compiler_static='-Bstatic'
10777
sysv4 | sysv4.2uw2* | sysv4.3*)
10778
lt_prog_compiler_wl='-Wl,'
10779
lt_prog_compiler_pic='-KPIC'
10780
lt_prog_compiler_static='-Bstatic'
10784
if test -d /usr/nec ;then
10785
lt_prog_compiler_pic='-Kconform_pic'
10786
lt_prog_compiler_static='-Bstatic'
10790
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10791
lt_prog_compiler_wl='-Wl,'
10792
lt_prog_compiler_pic='-KPIC'
10793
lt_prog_compiler_static='-Bstatic'
10797
lt_prog_compiler_wl='-Wl,'
10798
lt_prog_compiler_can_build_shared=no
10802
lt_prog_compiler_pic='-pic'
10803
lt_prog_compiler_static='-Bstatic'
10807
lt_prog_compiler_can_build_shared=no
10813
# For platforms which do not support PIC, -DPIC is meaningless:
10815
lt_prog_compiler_pic=
10818
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10823
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10824
if ${lt_cv_prog_compiler_pic+:} false; then :
10825
$as_echo_n "(cached) " >&6
10827
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10830
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10831
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10834
# Check to make sure the PIC flag actually works.
10836
if test -n "$lt_prog_compiler_pic"; then
10837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10838
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10839
if ${lt_cv_prog_compiler_pic_works+:} false; then :
10840
$as_echo_n "(cached) " >&6
10842
lt_cv_prog_compiler_pic_works=no
10843
ac_outfile=conftest.$ac_objext
10844
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10845
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10846
# Insert the option either (1) after the last *FLAGS variable, or
10847
# (2) before a word containing "conftest.", or (3) at the end.
10848
# Note that $ac_compile itself does not contain backslashes and begins
10849
# with a dollar sign (not a hyphen), so the echo should work correctly.
10850
# The option is referenced via a variable to avoid confusing sed.
10851
lt_compile=`echo "$ac_compile" | $SED \
10852
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10853
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10854
-e 's:$: $lt_compiler_flag:'`
10855
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10856
(eval "$lt_compile" 2>conftest.err)
10858
cat conftest.err >&5
10859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860
if (exit $ac_status) && test -s "$ac_outfile"; then
10861
# The compiler can only warn and ignore the option if not recognized
10862
# So say no if there are warnings other than the usual output.
10863
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10864
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10865
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10866
lt_cv_prog_compiler_pic_works=yes
10872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10873
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10875
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10876
case $lt_prog_compiler_pic in
10878
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10881
lt_prog_compiler_pic=
10882
lt_prog_compiler_can_build_shared=no
10898
# Check to make sure the static flag actually works.
10900
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10902
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10903
if ${lt_cv_prog_compiler_static_works+:} false; then :
10904
$as_echo_n "(cached) " >&6
10906
lt_cv_prog_compiler_static_works=no
10907
save_LDFLAGS="$LDFLAGS"
10908
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10909
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10910
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10911
# The linker can only warn and ignore the option if not recognized
10912
# So say no if there are warnings
10913
if test -s conftest.err; then
10914
# Append any errors to the config.log.
10915
cat conftest.err 1>&5
10916
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10917
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10918
if diff conftest.exp conftest.er2 >/dev/null; then
10919
lt_cv_prog_compiler_static_works=yes
10922
lt_cv_prog_compiler_static_works=yes
10926
LDFLAGS="$save_LDFLAGS"
10929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10930
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10932
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10935
lt_prog_compiler_static=
10944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10945
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10946
if ${lt_cv_prog_compiler_c_o+:} false; then :
10947
$as_echo_n "(cached) " >&6
10949
lt_cv_prog_compiler_c_o=no
10950
$RM -r conftest 2>/dev/null
10954
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10956
lt_compiler_flag="-o out/conftest2.$ac_objext"
10957
# Insert the option either (1) after the last *FLAGS variable, or
10958
# (2) before a word containing "conftest.", or (3) at the end.
10959
# Note that $ac_compile itself does not contain backslashes and begins
10960
# with a dollar sign (not a hyphen), so the echo should work correctly.
10961
lt_compile=`echo "$ac_compile" | $SED \
10962
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10963
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10964
-e 's:$: $lt_compiler_flag:'`
10965
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10966
(eval "$lt_compile" 2>out/conftest.err)
10968
cat out/conftest.err >&5
10969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10972
# The compiler can only warn and ignore the option if not recognized
10973
# So say no if there are warnings
10974
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10975
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10976
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10977
lt_cv_prog_compiler_c_o=yes
10982
# SGI C++ compiler will create directory out/ii_files/ for
10983
# template instantiation
10984
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10985
$RM out/* && rmdir out
10991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10992
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11000
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11001
if ${lt_cv_prog_compiler_c_o+:} false; then :
11002
$as_echo_n "(cached) " >&6
11004
lt_cv_prog_compiler_c_o=no
11005
$RM -r conftest 2>/dev/null
11009
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11011
lt_compiler_flag="-o out/conftest2.$ac_objext"
11012
# Insert the option either (1) after the last *FLAGS variable, or
11013
# (2) before a word containing "conftest.", or (3) at the end.
11014
# Note that $ac_compile itself does not contain backslashes and begins
11015
# with a dollar sign (not a hyphen), so the echo should work correctly.
11016
lt_compile=`echo "$ac_compile" | $SED \
11017
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11018
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11019
-e 's:$: $lt_compiler_flag:'`
11020
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11021
(eval "$lt_compile" 2>out/conftest.err)
11023
cat out/conftest.err >&5
11024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025
if (exit $ac_status) && test -s out/conftest2.$ac_objext
11027
# The compiler can only warn and ignore the option if not recognized
11028
# So say no if there are warnings
11029
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11030
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11031
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11032
lt_cv_prog_compiler_c_o=yes
11037
# SGI C++ compiler will create directory out/ii_files/ for
11038
# template instantiation
11039
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11040
$RM out/* && rmdir out
11046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11047
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11052
hard_links="nottested"
11053
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11054
# do not overwrite the value of need_locks provided by the user
11055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11056
$as_echo_n "checking if we can lock with hard links... " >&6; }
11059
ln conftest.a conftest.b 2>/dev/null && hard_links=no
11061
ln conftest.a conftest.b 2>&5 || hard_links=no
11062
ln conftest.a conftest.b 2>/dev/null && hard_links=no
11063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11064
$as_echo "$hard_links" >&6; }
11065
if test "$hard_links" = no; then
11066
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11067
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11080
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11083
allow_undefined_flag=
11084
always_export_symbols=no
11086
archive_expsym_cmds=
11087
compiler_needs_object=no
11088
enable_shared_with_static_runtimes=no
11089
export_dynamic_flag_spec=
11090
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11091
hardcode_automatic=no
11093
hardcode_direct_absolute=no
11094
hardcode_libdir_flag_spec=
11095
hardcode_libdir_flag_spec_ld=
11096
hardcode_libdir_separator=
11097
hardcode_minus_L=no
11098
hardcode_shlibpath_var=unsupported
11100
link_all_deplibs=unknown
11102
module_expsym_cmds=
11103
old_archive_from_new_cmds=
11104
old_archive_from_expsyms_cmds=
11105
thread_safe_flag_spec=
11106
whole_archive_flag_spec=
11107
# include_expsyms should be a list of space-separated symbols to be *always*
11108
# included in the symbol list
11110
# exclude_expsyms can be an extended regexp of symbols to exclude
11111
# it will be wrapped by ` (' and `)$', so one must not match beginning or
11112
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11113
# as well as any symbol that contains `d'.
11114
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11115
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11116
# platforms (ab)use it in PIC code, but their linkers get confused if
11117
# the symbol is explicitly referenced. Since portable code cannot
11118
# rely on this symbol name, it's probably fine to never include it in
11119
# preloaded symbol tables.
11120
# Exclude shared library initialization/finalization symbols.
11121
extract_expsyms_cmds=
11124
cygwin* | mingw* | pw32* | cegcc*)
11125
# FIXME: the MSVC++ port hasn't been tested in a loooong time
11126
# When not using gcc, we currently assume that we are using
11127
# Microsoft Visual C++.
11128
if test "$GCC" != yes; then
11133
# we just hope/assume this is gcc and not c89 (= MSVC++)
11139
linux* | k*bsd*-gnu | gnu*)
11140
link_all_deplibs=no
11146
# On some targets, GNU ld is compatible enough with the native linker
11147
# that we're better off using the native interface for both.
11148
lt_use_gnu_ld_interface=no
11149
if test "$with_gnu_ld" = yes; then
11152
# The AIX port of GNU ld has always aspired to compatibility
11153
# with the native linker. However, as the warning in the GNU ld
11154
# block says, versions before 2.19.5* couldn't really create working
11155
# shared libraries, regardless of the interface used.
11156
case `$LD -v 2>&1` in
11157
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11158
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11159
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
11161
lt_use_gnu_ld_interface=yes
11166
lt_use_gnu_ld_interface=yes
11171
if test "$lt_use_gnu_ld_interface" = yes; then
11172
# If archive_cmds runs LD, not CC, wlarc should be empty
11175
# Set some defaults for GNU ld with shared library support. These
11176
# are reset later if shared libraries are not supported. Putting them
11177
# here allows them to be overridden if necessary.
11178
runpath_var=LD_RUN_PATH
11179
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11180
export_dynamic_flag_spec='${wl}--export-dynamic'
11181
# ancient GNU ld didn't support --whole-archive et. al.
11182
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11183
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11185
whole_archive_flag_spec=
11187
supports_anon_versioning=no
11188
case `$LD -v 2>&1` in
11189
*GNU\ gold*) supports_anon_versioning=yes ;;
11190
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11191
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11192
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11193
*\ 2.11.*) ;; # other 2.11 versions
11194
*) supports_anon_versioning=yes ;;
11197
# See if GNU ld supports shared libraries.
11200
# On AIX/PPC, the GNU linker is very broken
11201
if test "$host_cpu" != ia64; then
11205
*** Warning: the GNU linker, at least up to release 2.19, is reported
11206
*** to be unable to reliably create shared libraries on AIX.
11207
*** Therefore, libtool is disabling shared libraries support. If you
11208
*** really care for shared libraries, you may want to install binutils
11209
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11210
*** You will then need to restart the configuration process.
11219
# see comment about AmigaOS4 .so support
11220
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11221
archive_expsym_cmds=''
11224
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)'
11225
hardcode_libdir_flag_spec='-L$libdir'
11226
hardcode_minus_L=yes
11232
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11233
allow_undefined_flag=unsupported
11234
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11235
# support --undefined. This deserves some investigation. FIXME
11236
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11242
cygwin* | mingw* | pw32* | cegcc*)
11243
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11244
# as there is no search path for DLLs.
11245
hardcode_libdir_flag_spec='-L$libdir'
11246
export_dynamic_flag_spec='${wl}--export-all-symbols'
11247
allow_undefined_flag=unsupported
11248
always_export_symbols=no
11249
enable_shared_with_static_runtimes=yes
11250
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'
11251
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11253
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11254
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11255
# If the export-symbols file already is a .def file (1st line
11256
# is EXPORTS), use it as is; otherwise, prepend...
11257
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11258
cp $export_symbols $output_objdir/$soname.def;
11260
echo EXPORTS > $output_objdir/$soname.def;
11261
cat $export_symbols >> $output_objdir/$soname.def;
11263
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11270
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11271
link_all_deplibs=yes
11276
hardcode_shlibpath_var=no
11277
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11278
export_dynamic_flag_spec='${wl}-E'
11279
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11280
# Instead, shared libraries are loaded at an image base (0x10000000 by
11281
# default) and relocated if they conflict, which is a slow very memory
11282
# consuming and fragmenting process. To avoid this, we pick a random,
11283
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11284
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
11285
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11286
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'
11289
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11291
if test "$host_os" = linux-dietlibc; then
11292
case $cc_basename in
11293
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11296
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11297
&& test "$tmp_diet" = no
11299
tmp_addflag=' $pic_flag'
11300
tmp_sharedflag='-shared'
11301
case $cc_basename,$host_cpu in
11302
pgcc*) # Portland Group C compiler
11303
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'
11304
tmp_addflag=' $pic_flag'
11306
pgf77* | pgf90* | pgf95* | pgfortran*)
11307
# Portland Group f77 and f90 compilers
11308
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'
11309
tmp_addflag=' $pic_flag -Mnomain' ;;
11310
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11311
tmp_addflag=' -i_dynamic' ;;
11312
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11313
tmp_addflag=' -i_dynamic -nofor_main' ;;
11314
ifc* | ifort*) # Intel Fortran compiler
11315
tmp_addflag=' -nofor_main' ;;
11316
lf95*) # Lahey Fortran 8.1
11317
whole_archive_flag_spec=
11318
tmp_sharedflag='--shared' ;;
11319
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11320
tmp_sharedflag='-qmkshrobj'
11322
nvcc*) # Cuda Compiler Driver 2.2
11323
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'
11324
compiler_needs_object=yes
11327
case `$CC -V 2>&1 | sed 5q` in
11328
*Sun\ C*) # Sun C 5.9
11329
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'
11330
compiler_needs_object=yes
11331
tmp_sharedflag='-G' ;;
11332
*Sun\ F*) # Sun Fortran 8.3
11333
tmp_sharedflag='-G' ;;
11335
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11337
if test "x$supports_anon_versioning" = xyes; then
11338
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11339
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11340
echo "local: *; };" >> $output_objdir/$libname.ver~
11341
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11344
case $cc_basename in
11345
xlf* | bgf* | bgxlf* | mpixlf*)
11346
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11347
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11348
hardcode_libdir_flag_spec=
11349
hardcode_libdir_flag_spec_ld='-rpath $libdir'
11350
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11351
if test "x$supports_anon_versioning" = xyes; then
11352
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11353
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11354
echo "local: *; };" >> $output_objdir/$libname.ver~
11355
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11364
netbsd* | netbsdelf*-gnu)
11365
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11366
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11369
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11370
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11375
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11379
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11380
*** create shared libraries on Solaris systems. Therefore, libtool
11381
*** is disabling shared libraries support. We urge you to upgrade GNU
11382
*** binutils to release 2.9.1 or newer. Another option is to modify
11383
*** your PATH or compiler configuration so that the native linker is
11384
*** used, and then restart.
11387
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11388
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11389
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11395
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11396
case `$LD -v 2>&1` in
11397
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11401
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11402
*** reliably create shared libraries on SCO systems. Therefore, libtool
11403
*** is disabling shared libraries support. We urge you to upgrade GNU
11404
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11405
*** your PATH or compiler configuration so that the native linker is
11406
*** used, and then restart.
11411
# For security reasons, it is highly recommended that you always
11412
# use absolute paths for naming shared libraries, and exclude the
11413
# DT_RUNPATH tag from executables and libraries. But doing so
11414
# requires that you compile everything twice, which is a pain.
11415
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11416
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11417
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11418
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11427
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11429
hardcode_direct=yes
11430
hardcode_shlibpath_var=no
11434
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11435
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11436
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11443
if test "$ld_shlibs" = no; then
11445
hardcode_libdir_flag_spec=
11446
export_dynamic_flag_spec=
11447
whole_archive_flag_spec=
11450
# PORTME fill in a description of your system's linker (not GNU ld)
11453
allow_undefined_flag=unsupported
11454
always_export_symbols=yes
11455
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'
11456
# Note: this linker hardcodes the directories in LIBPATH if there
11457
# are no directories specified by -L.
11458
hardcode_minus_L=yes
11459
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11460
# Neither direct hardcoding nor static linking is supported with a
11462
hardcode_direct=unsupported
11467
if test "$host_cpu" = ia64; then
11468
# On IA64, the linker does run time linking by default, so we don't
11469
# have to do anything special.
11470
aix_use_runtimelinking=no
11471
exp_sym_flag='-Bexport'
11474
# If we're using GNU nm, then we don't want the "-C" option.
11475
# -C means demangle to AIX nm, but means don't demangle with GNU nm
11476
# Also, AIX nm treats weak defined symbols like other global
11477
# defined symbols, whereas GNU nm marks them as "W".
11478
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11479
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'
11481
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'
11483
aix_use_runtimelinking=no
11485
# Test if we are trying to use run time linking or normal
11486
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11487
# need to do runtime linking.
11488
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11489
for ld_flag in $LDFLAGS; do
11490
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11491
aix_use_runtimelinking=yes
11498
exp_sym_flag='-bexport'
11499
no_entry_flag='-bnoentry'
11502
# When large executables or shared objects are built, AIX ld can
11503
# have problems creating the table of contents. If linking a library
11504
# or program results in "error TOC overflow" add -mminimal-toc to
11505
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11506
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11509
hardcode_direct=yes
11510
hardcode_direct_absolute=yes
11511
hardcode_libdir_separator=':'
11512
link_all_deplibs=yes
11513
file_list_spec='${wl}-f,'
11515
if test "$GCC" = yes; then
11516
case $host_os in aix4.[012]|aix4.[012].*)
11517
# We only want to do this on AIX 4.2 and lower, the check
11518
# below for broken collect2 doesn't work under 4.3+
11519
collect2name=`${CC} -print-prog-name=collect2`
11520
if test -f "$collect2name" &&
11521
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11523
# We have reworked collect2
11526
# We have old collect2
11527
hardcode_direct=unsupported
11528
# It fails to find uninstalled libraries when the uninstalled
11529
# path is not listed in the libpath. Setting hardcode_minus_L
11530
# to unsupported forces relinking
11531
hardcode_minus_L=yes
11532
hardcode_libdir_flag_spec='-L$libdir'
11533
hardcode_libdir_separator=
11537
shared_flag='-shared'
11538
if test "$aix_use_runtimelinking" = yes; then
11539
shared_flag="$shared_flag "'${wl}-G'
11541
link_all_deplibs=no
11544
if test "$host_cpu" = ia64; then
11545
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11546
# chokes on -Wl,-G. The following line is correct:
11549
if test "$aix_use_runtimelinking" = yes; then
11550
shared_flag='${wl}-G'
11552
shared_flag='${wl}-bM:SRE'
11557
export_dynamic_flag_spec='${wl}-bexpall'
11558
# It seems that -bexpall does not export symbols beginning with
11559
# underscore (_), so it is better to generate a list of symbols to export.
11560
always_export_symbols=yes
11561
if test "$aix_use_runtimelinking" = yes; then
11562
# Warning - without using the other runtime loading flags (-brtl),
11563
# -berok will link without error, but may produce a broken library.
11564
allow_undefined_flag='-berok'
11565
# Determine the default libpath from the value encoded in an
11566
# empty executable.
11567
if test "${lt_cv_aix_libpath+set}" = set; then
11568
aix_libpath=$lt_cv_aix_libpath
11570
if ${lt_cv_aix_libpath_+:} false; then :
11571
$as_echo_n "(cached) " >&6
11573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574
/* end confdefs.h. */
11584
if ac_fn_c_try_link "$LINENO"; then :
11586
lt_aix_libpath_sed='
11587
/Import File Strings/,/^$/ {
11589
s/^0 *\([^ ]*\) *$/\1/
11593
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11594
# Check for a 64-bit object if we didn't find anything.
11595
if test -z "$lt_cv_aix_libpath_"; then
11596
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11599
rm -f core conftest.err conftest.$ac_objext \
11600
conftest$ac_exeext conftest.$ac_ext
11601
if test -z "$lt_cv_aix_libpath_"; then
11602
lt_cv_aix_libpath_="/usr/lib:/lib"
11607
aix_libpath=$lt_cv_aix_libpath_
11610
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11611
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"
11613
if test "$host_cpu" = ia64; then
11614
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11615
allow_undefined_flag="-z nodefs"
11616
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"
11618
# Determine the default libpath from the value encoded in an
11619
# empty executable.
11620
if test "${lt_cv_aix_libpath+set}" = set; then
11621
aix_libpath=$lt_cv_aix_libpath
11623
if ${lt_cv_aix_libpath_+:} false; then :
11624
$as_echo_n "(cached) " >&6
11626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627
/* end confdefs.h. */
11637
if ac_fn_c_try_link "$LINENO"; then :
11639
lt_aix_libpath_sed='
11640
/Import File Strings/,/^$/ {
11642
s/^0 *\([^ ]*\) *$/\1/
11646
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11647
# Check for a 64-bit object if we didn't find anything.
11648
if test -z "$lt_cv_aix_libpath_"; then
11649
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11652
rm -f core conftest.err conftest.$ac_objext \
11653
conftest$ac_exeext conftest.$ac_ext
11654
if test -z "$lt_cv_aix_libpath_"; then
11655
lt_cv_aix_libpath_="/usr/lib:/lib"
11660
aix_libpath=$lt_cv_aix_libpath_
11663
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11664
# Warning - without using the other run time loading flags,
11665
# -berok will link without error, but may produce a broken library.
11666
no_undefined_flag=' ${wl}-bernotok'
11667
allow_undefined_flag=' ${wl}-berok'
11668
if test "$with_gnu_ld" = yes; then
11669
# We only use this code for GNU lds that support --whole-archive.
11670
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11672
# Exported symbols can be pulled into shared objects from archives
11673
whole_archive_flag_spec='$convenience'
11675
archive_cmds_need_lc=yes
11676
# This is similar to how AIX traditionally builds its shared libraries.
11677
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'
11685
# see comment about AmigaOS4 .so support
11686
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11687
archive_expsym_cmds=''
11690
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)'
11691
hardcode_libdir_flag_spec='-L$libdir'
11692
hardcode_minus_L=yes
11698
export_dynamic_flag_spec=-rdynamic
11701
cygwin* | mingw* | pw32* | cegcc*)
11702
# When not using gcc, we currently assume that we are using
11703
# Microsoft Visual C++.
11704
# hardcode_libdir_flag_spec is actually meaningless, as there is
11705
# no search path for DLLs.
11706
case $cc_basename in
11709
hardcode_libdir_flag_spec=' '
11710
allow_undefined_flag=unsupported
11711
always_export_symbols=yes
11713
# Tell ltmain to make .lib files, not .a files.
11715
# Tell ltmain to make .dll files, not .so files.
11717
# FIXME: Setting linknames here is a bad hack.
11718
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11719
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11720
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11722
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11724
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11726
# The linker will not automatically build a static lib if we build a DLL.
11727
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11728
enable_shared_with_static_runtimes=yes
11729
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11731
old_postinstall_cmds='chmod 644 $oldlib'
11732
postlink_cmds='lt_outputfile="@OUTPUT@"~
11733
lt_tool_outputfile="@TOOL_OUTPUT@"~
11734
case $lt_outputfile in
11737
lt_outputfile="$lt_outputfile.exe"
11738
lt_tool_outputfile="$lt_tool_outputfile.exe"
11741
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11742
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11743
$RM "$lt_outputfile.manifest";
11747
# Assume MSVC wrapper
11748
hardcode_libdir_flag_spec=' '
11749
allow_undefined_flag=unsupported
11750
# Tell ltmain to make .lib files, not .a files.
11752
# Tell ltmain to make .dll files, not .so files.
11754
# FIXME: Setting linknames here is a bad hack.
11755
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11756
# The linker will automatically build a .lib file if we build a DLL.
11757
old_archive_from_new_cmds='true'
11758
# FIXME: Should let the user specify the lib program.
11759
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11760
enable_shared_with_static_runtimes=yes
11765
darwin* | rhapsody*)
11768
archive_cmds_need_lc=no
11770
hardcode_automatic=yes
11771
hardcode_shlibpath_var=unsupported
11772
if test "$lt_cv_ld_force_load" = "yes"; then
11773
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\"`'
11775
whole_archive_flag_spec=''
11777
link_all_deplibs=yes
11778
allow_undefined_flag="$_lt_dar_allow_undefined"
11779
case $cc_basename in
11780
ifort*) _lt_dar_can_shared=yes ;;
11781
*) _lt_dar_can_shared=$GCC ;;
11783
if test "$_lt_dar_can_shared" = "yes"; then
11784
output_verbose_link_cmd=func_echo_all
11785
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11786
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11787
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}"
11788
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}"
11797
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11798
hardcode_libdir_flag_spec='-L$libdir'
11799
hardcode_shlibpath_var=no
11806
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11807
# support. Future versions do this automatically, but an explicit c++rt0.o
11808
# does not break anything, and helps significantly (at the cost of a little
11811
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11812
hardcode_libdir_flag_spec='-R$libdir'
11813
hardcode_direct=yes
11814
hardcode_shlibpath_var=no
11817
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
11819
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11820
hardcode_direct=yes
11821
hardcode_minus_L=yes
11822
hardcode_shlibpath_var=no
11825
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11826
freebsd* | dragonfly*)
11827
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11828
hardcode_libdir_flag_spec='-R$libdir'
11829
hardcode_direct=yes
11830
hardcode_shlibpath_var=no
11834
if test "$GCC" = yes; then
11835
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'
11837
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'
11839
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11840
hardcode_libdir_separator=:
11841
hardcode_direct=yes
11843
# hardcode_minus_L: Not really in the search PATH,
11844
# but as the default location of the library.
11845
hardcode_minus_L=yes
11846
export_dynamic_flag_spec='${wl}-E'
11850
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11851
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11853
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11855
if test "$with_gnu_ld" = no; then
11856
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11857
hardcode_libdir_flag_spec_ld='+b $libdir'
11858
hardcode_libdir_separator=:
11859
hardcode_direct=yes
11860
hardcode_direct_absolute=yes
11861
export_dynamic_flag_spec='${wl}-E'
11862
# hardcode_minus_L: Not really in the search PATH,
11863
# but as the default location of the library.
11864
hardcode_minus_L=yes
11869
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11872
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11875
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11878
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11884
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11887
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11891
# Older versions of the 11.00 compiler do not understand -b yet
11892
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11894
$as_echo_n "checking if $CC understands -b... " >&6; }
11895
if ${lt_cv_prog_compiler__b+:} false; then :
11896
$as_echo_n "(cached) " >&6
11898
lt_cv_prog_compiler__b=no
11899
save_LDFLAGS="$LDFLAGS"
11900
LDFLAGS="$LDFLAGS -b"
11901
echo "$lt_simple_link_test_code" > conftest.$ac_ext
11902
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11903
# The linker can only warn and ignore the option if not recognized
11904
# So say no if there are warnings
11905
if test -s conftest.err; then
11906
# Append any errors to the config.log.
11907
cat conftest.err 1>&5
11908
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11909
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11910
if diff conftest.exp conftest.er2 >/dev/null; then
11911
lt_cv_prog_compiler__b=yes
11914
lt_cv_prog_compiler__b=yes
11918
LDFLAGS="$save_LDFLAGS"
11921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11922
$as_echo "$lt_cv_prog_compiler__b" >&6; }
11924
if test x"$lt_cv_prog_compiler__b" = xyes; then
11925
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11927
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11933
if test "$with_gnu_ld" = no; then
11934
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11935
hardcode_libdir_separator=:
11940
hardcode_shlibpath_var=no
11943
hardcode_direct=yes
11944
hardcode_direct_absolute=yes
11945
export_dynamic_flag_spec='${wl}-E'
11947
# hardcode_minus_L: Not really in the search PATH,
11948
# but as the default location of the library.
11949
hardcode_minus_L=yes
11955
irix5* | irix6* | nonstopux*)
11956
if test "$GCC" = yes; then
11957
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'
11958
# Try to use the -exported_symbol ld option, if it does not
11959
# work, assume that -exports_file does not work either and
11960
# implicitly export all symbols.
11961
# This should be the same for all languages, so no per-tag cache variable.
11962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11963
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11964
if ${lt_cv_irix_exported_symbol+:} false; then :
11965
$as_echo_n "(cached) " >&6
11967
save_LDFLAGS="$LDFLAGS"
11968
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11969
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970
/* end confdefs.h. */
11971
int foo (void) { return 0; }
11973
if ac_fn_c_try_link "$LINENO"; then :
11974
lt_cv_irix_exported_symbol=yes
11976
lt_cv_irix_exported_symbol=no
11978
rm -f core conftest.err conftest.$ac_objext \
11979
conftest$ac_exeext conftest.$ac_ext
11980
LDFLAGS="$save_LDFLAGS"
11982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11983
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11984
if test "$lt_cv_irix_exported_symbol" = yes; then
11985
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'
11988
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'
11989
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'
11991
archive_cmds_need_lc='no'
11992
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11993
hardcode_libdir_separator=:
11995
link_all_deplibs=yes
11998
netbsd* | netbsdelf*-gnu)
11999
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12000
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12002
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12004
hardcode_libdir_flag_spec='-R$libdir'
12005
hardcode_direct=yes
12006
hardcode_shlibpath_var=no
12010
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12011
hardcode_direct=yes
12012
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12013
hardcode_libdir_separator=:
12014
hardcode_shlibpath_var=no
12021
if test -f /usr/libexec/ld.so; then
12022
hardcode_direct=yes
12023
hardcode_shlibpath_var=no
12024
hardcode_direct_absolute=yes
12025
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12026
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12027
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12028
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12029
export_dynamic_flag_spec='${wl}-E'
12032
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12033
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12034
hardcode_libdir_flag_spec='-R$libdir'
12037
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12038
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12048
hardcode_libdir_flag_spec='-L$libdir'
12049
hardcode_minus_L=yes
12050
allow_undefined_flag=unsupported
12051
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'
12052
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12056
if test "$GCC" = yes; then
12057
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12058
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'
12060
allow_undefined_flag=' -expect_unresolved \*'
12061
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'
12063
archive_cmds_need_lc='no'
12064
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12065
hardcode_libdir_separator=:
12068
osf4* | osf5*) # as osf3* with the addition of -msym flag
12069
if test "$GCC" = yes; then
12070
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12071
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'
12072
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12074
allow_undefined_flag=' -expect_unresolved \*'
12075
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'
12076
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~
12077
$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'
12079
# Both c and cxx compiler support -rpath directly
12080
hardcode_libdir_flag_spec='-rpath $libdir'
12082
archive_cmds_need_lc='no'
12083
hardcode_libdir_separator=:
12087
no_undefined_flag=' -z defs'
12088
if test "$GCC" = yes; then
12090
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12091
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12092
$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'
12094
case `$CC -V 2>&1` in
12097
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12098
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12099
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12103
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12104
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12105
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12109
hardcode_libdir_flag_spec='-R$libdir'
12110
hardcode_shlibpath_var=no
12112
solaris2.[0-5] | solaris2.[0-5].*) ;;
12114
# The compiler driver will combine and reorder linker options,
12115
# but understands `-z linker_flag'. GCC discards it without `$wl',
12116
# but is careful enough not to reorder.
12117
# Supported since Solaris 2.6 (maybe 2.5.1?)
12118
if test "$GCC" = yes; then
12119
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12121
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12125
link_all_deplibs=yes
12129
if test "x$host_vendor" = xsequent; then
12130
# Use $CC to link under sequent, because it throws in some extra .o
12131
# files that make .init and .fini sections work.
12132
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12134
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12136
hardcode_libdir_flag_spec='-L$libdir'
12137
hardcode_direct=yes
12138
hardcode_minus_L=yes
12139
hardcode_shlibpath_var=no
12143
case $host_vendor in
12145
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12146
hardcode_direct=yes # is this really true???
12149
## LD is ld it makes a PLAMLIB
12150
## CC just makes a GrossModule.
12151
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12152
reload_cmds='$CC -r -o $output$reload_objs'
12156
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12157
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12160
runpath_var='LD_RUN_PATH'
12161
hardcode_shlibpath_var=no
12165
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12166
hardcode_shlibpath_var=no
12167
export_dynamic_flag_spec='-Bexport'
12171
if test -d /usr/nec; then
12172
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12173
hardcode_shlibpath_var=no
12174
runpath_var=LD_RUN_PATH
12175
hardcode_runpath_var=yes
12180
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12181
no_undefined_flag='${wl}-z,text'
12182
archive_cmds_need_lc=no
12183
hardcode_shlibpath_var=no
12184
runpath_var='LD_RUN_PATH'
12186
if test "$GCC" = yes; then
12187
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12188
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12190
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12191
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12195
sysv5* | sco3.2v5* | sco5v6*)
12196
# Note: We can NOT use -z defs as we might desire, because we do not
12197
# link with -lc, and that would cause any symbols used from libc to
12198
# always be unresolved, which means just about no library would
12199
# ever link correctly. If we're not using GNU ld we use -z text
12200
# though, which does catch some bad symbols but isn't as heavy-handed
12202
no_undefined_flag='${wl}-z,text'
12203
allow_undefined_flag='${wl}-z,nodefs'
12204
archive_cmds_need_lc=no
12205
hardcode_shlibpath_var=no
12206
hardcode_libdir_flag_spec='${wl}-R,$libdir'
12207
hardcode_libdir_separator=':'
12208
link_all_deplibs=yes
12209
export_dynamic_flag_spec='${wl}-Bexport'
12210
runpath_var='LD_RUN_PATH'
12212
if test "$GCC" = yes; then
12213
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12214
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12216
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12217
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12222
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12223
hardcode_libdir_flag_spec='-L$libdir'
12224
hardcode_shlibpath_var=no
12232
if test x$host_vendor = xsni; then
12234
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12235
export_dynamic_flag_spec='${wl}-Blargedynsym'
12241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12242
$as_echo "$ld_shlibs" >&6; }
12243
test "$ld_shlibs" = no && can_build_shared=no
12245
with_gnu_ld=$with_gnu_ld
12262
# Do we need to explicitly link libc?
12264
case "x$archive_cmds_need_lc" in
12266
# Assume -lc should be added
12267
archive_cmds_need_lc=yes
12269
if test "$enable_shared" = yes && test "$GCC" = yes; then
12270
case $archive_cmds in
12272
# FIXME: we may have to deal with multi-command sequences.
12275
# Test whether the compiler implicitly links with -lc since on some
12276
# systems, -lgcc has to come before -lc. If gcc already passes -lc
12277
# to ld, don't add -lc before -lgcc.
12278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12279
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12280
if ${lt_cv_archive_cmds_need_lc+:} false; then :
12281
$as_echo_n "(cached) " >&6
12284
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12286
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12287
(eval $ac_compile) 2>&5
12289
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12290
test $ac_status = 0; } 2>conftest.err; then
12293
libobjs=conftest.$ac_objext
12295
wl=$lt_prog_compiler_wl
12296
pic_flag=$lt_prog_compiler_pic
12302
lt_save_allow_undefined_flag=$allow_undefined_flag
12303
allow_undefined_flag=
12304
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12305
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12307
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12308
test $ac_status = 0; }
12310
lt_cv_archive_cmds_need_lc=no
12312
lt_cv_archive_cmds_need_lc=yes
12314
allow_undefined_flag=$lt_save_allow_undefined_flag
12316
cat conftest.err 1>&5
12321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12322
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12323
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12487
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12489
if test "$GCC" = yes; then
12491
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12492
*) lt_awk_arg="/^libraries:/" ;;
12495
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12496
*) lt_sed_strip_eq="s,=/,/,g" ;;
12498
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12499
case $lt_search_path_spec in
12501
# if the path contains ";" then we assume it to be the separator
12502
# otherwise default to the standard path separator (i.e. ":") - it is
12503
# assumed that no part of a normal pathname contains ";" but that should
12504
# okay in the real world where ";" in dirpaths is itself problematic.
12505
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12508
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12511
# Ok, now we have the path, separated by spaces, we can step through it
12512
# and add multilib dir if necessary.
12513
lt_tmp_lt_search_path_spec=
12514
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12515
for lt_sys_path in $lt_search_path_spec; do
12516
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12517
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12519
test -d "$lt_sys_path" && \
12520
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12523
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12524
BEGIN {RS=" "; FS="/|\n";} {
12527
for (lt_i = NF; lt_i > 0; lt_i--) {
12528
if ($lt_i != "" && $lt_i != ".") {
12529
if ($lt_i == "..") {
12532
if (lt_count == 0) {
12533
lt_foo="/" $lt_i lt_foo;
12540
if (lt_foo != "") { lt_freq[lt_foo]++; }
12541
if (lt_freq[lt_foo] == 1) { print lt_foo; }
12543
# AWK program above erroneously prepends '/' to C:/dos/paths
12546
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12547
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
12549
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12551
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12553
library_names_spec=
12554
libname_spec='lib$name'
12558
postuninstall_cmds=
12562
shlibpath_overrides_runpath=unknown
12564
dynamic_linker="$host_os ld.so"
12565
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12566
need_lib_prefix=unknown
12567
hardcode_into_libs=no
12569
# when you set need_version to no, make sure it does not cause -set_version
12570
# flags to be left without arguments
12571
need_version=unknown
12576
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12577
shlibpath_var=LIBPATH
12579
# AIX 3 has no versioning support, so we append a major version to the name.
12580
soname_spec='${libname}${release}${shared_ext}$major'
12587
hardcode_into_libs=yes
12588
if test "$host_cpu" = ia64; then
12589
# AIX 5 supports IA64
12590
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12591
shlibpath_var=LD_LIBRARY_PATH
12593
# With GCC up to 2.95.x, collect2 would create an import file
12594
# for dependence libraries. The import file would start with
12595
# the line `#! .'. This would cause the generated library to
12596
# depend on `.', always an invalid library. This was fixed in
12597
# development snapshots of GCC prior to 3.0.
12599
aix4 | aix4.[01] | aix4.[01].*)
12600
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12602
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12605
can_build_shared=no
12609
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12610
# soname into executable. Probably we can add versioning support to
12611
# collect2, so additional links can be useful in future.
12612
if test "$aix_use_runtimelinking" = yes; then
12613
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
12614
# instead of lib<name>.a to let people know that these are not
12615
# typical AIX shared libraries.
12616
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12618
# We preserve .a as extension for shared libraries through AIX4.2
12619
# and later when we are not doing run time linking.
12620
library_names_spec='${libname}${release}.a $libname.a'
12621
soname_spec='${libname}${release}${shared_ext}$major'
12623
shlibpath_var=LIBPATH
12630
# Since July 2007 AmigaOS4 officially supports .so libraries.
12631
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12632
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12635
library_names_spec='$libname.ixlibrary $libname.a'
12636
# Create ${libname}_ixlibrary.a entries in /sys/libs.
12637
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'
12643
library_names_spec='${libname}${shared_ext}'
12644
dynamic_linker="$host_os ld.so"
12645
shlibpath_var=LIBRARY_PATH
12651
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12652
soname_spec='${libname}${release}${shared_ext}$major'
12653
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12654
shlibpath_var=LD_LIBRARY_PATH
12655
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12656
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12657
# the default ld.so.conf also contains /usr/contrib/lib and
12658
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12659
# libtool to hard-code these into programs
12662
cygwin* | mingw* | pw32* | cegcc*)
12663
version_type=windows
12668
case $GCC,$cc_basename in
12671
library_names_spec='$libname.dll.a'
12672
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12673
postinstall_cmds='base_file=`basename \${file}`~
12674
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12675
dldir=$destdir/`dirname \$dlpath`~
12676
test -d \$dldir || mkdir -p \$dldir~
12677
$install_prog $dir/$dlname \$dldir/$dlname~
12678
chmod a+x \$dldir/$dlname~
12679
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12680
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12682
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12683
dlpath=$dir/\$dldll~
12685
shlibpath_overrides_runpath=yes
12689
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
12690
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12692
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12695
# MinGW DLLs use traditional 'lib' prefix
12696
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12699
# pw32 DLLs use 'pw' prefix rather than 'lib'
12700
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12703
dynamic_linker='Win32 ld.exe'
12708
libname_spec='$name'
12709
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12710
library_names_spec='${libname}.dll.lib'
12714
sys_lib_search_path_spec=
12717
for lt_path in $LIB
12720
# Let DOS variable expansion print the short 8.3 style file name.
12721
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12722
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12725
# Convert to MSYS style.
12726
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12729
# Convert to unix form, then to dos form, then back to unix form
12730
# but this time dos style (no spaces!) so that the unix form looks
12731
# like /cygdrive/c/PROGRA~1:/cygdr...
12732
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12733
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12734
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12737
sys_lib_search_path_spec="$LIB"
12738
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12739
# It is most probably a Windows format PATH.
12740
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12742
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12744
# FIXME: find the short name or the path components, as spaces are
12745
# common. (e.g. "Program Files" -> "PROGRA~1")
12749
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12750
postinstall_cmds='base_file=`basename \${file}`~
12751
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12752
dldir=$destdir/`dirname \$dlpath`~
12753
test -d \$dldir || mkdir -p \$dldir~
12754
$install_prog $dir/$dlname \$dldir/$dlname'
12755
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12756
dlpath=$dir/\$dldll~
12758
shlibpath_overrides_runpath=yes
12759
dynamic_linker='Win32 link.exe'
12763
# Assume MSVC wrapper
12764
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12765
dynamic_linker='Win32 ld.exe'
12768
# FIXME: first we should search . and the directory the executable is in
12772
darwin* | rhapsody*)
12773
dynamic_linker="$host_os dyld"
12774
version_type=darwin
12777
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12778
soname_spec='${libname}${release}${major}$shared_ext'
12779
shlibpath_overrides_runpath=yes
12780
shlibpath_var=DYLD_LIBRARY_PATH
12781
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12783
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12784
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12791
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12792
soname_spec='${libname}${release}${shared_ext}$major'
12793
shlibpath_var=LD_LIBRARY_PATH
12800
freebsd* | dragonfly*)
12801
# DragonFly does not have aout. When/if they implement a new
12802
# versioning mechanism, adjust this.
12803
if test -x /usr/bin/objformat; then
12804
objformat=`/usr/bin/objformat`
12807
freebsd[123]*) objformat=aout ;;
12808
*) objformat=elf ;;
12811
version_type=freebsd-$objformat
12812
case $version_type in
12814
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12819
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12823
shlibpath_var=LD_LIBRARY_PATH
12826
shlibpath_overrides_runpath=yes
12828
freebsd3.[01]* | freebsdelf3.[01]*)
12829
shlibpath_overrides_runpath=yes
12830
hardcode_into_libs=yes
12832
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12833
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12834
shlibpath_overrides_runpath=no
12835
hardcode_into_libs=yes
12837
*) # from 4.6 on, and DragonFly
12838
shlibpath_overrides_runpath=yes
12839
hardcode_into_libs=yes
12848
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12849
soname_spec='${libname}${release}${shared_ext}$major'
12850
shlibpath_var=LD_LIBRARY_PATH
12851
shlibpath_overrides_runpath=no
12852
hardcode_into_libs=yes
12859
dynamic_linker="$host_os runtime_loader"
12860
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12861
soname_spec='${libname}${release}${shared_ext}$major'
12862
shlibpath_var=LIBRARY_PATH
12863
shlibpath_overrides_runpath=yes
12864
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12865
hardcode_into_libs=yes
12868
hpux9* | hpux10* | hpux11*)
12869
# Give a soname corresponding to the major version so that dld.sl refuses to
12870
# link against other versions.
12877
hardcode_into_libs=yes
12878
dynamic_linker="$host_os dld.so"
12879
shlibpath_var=LD_LIBRARY_PATH
12880
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12881
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12882
soname_spec='${libname}${release}${shared_ext}$major'
12883
if test "X$HPUX_IA64_MODE" = X32; then
12884
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12886
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12888
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12892
hardcode_into_libs=yes
12893
dynamic_linker="$host_os dld.sl"
12894
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12895
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12896
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12897
soname_spec='${libname}${release}${shared_ext}$major'
12898
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12899
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12903
dynamic_linker="$host_os dld.sl"
12904
shlibpath_var=SHLIB_PATH
12905
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12906
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12907
soname_spec='${libname}${release}${shared_ext}$major'
12910
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12911
postinstall_cmds='chmod 555 $lib'
12912
# or fails outright, so override atomically:
12913
install_override_mode=555
12920
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12921
soname_spec='${libname}${release}${shared_ext}$major'
12922
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12923
shlibpath_var=LD_LIBRARY_PATH
12924
shlibpath_overrides_runpath=no
12925
hardcode_into_libs=yes
12928
irix5* | irix6* | nonstopux*)
12930
nonstopux*) version_type=nonstopux ;;
12932
if test "$lt_cv_prog_gnu_ld" = yes; then
12940
soname_spec='${libname}${release}${shared_ext}$major'
12941
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12943
irix5* | nonstopux*)
12944
libsuff= shlibsuff=
12947
case $LD in # libtool.m4 will add one of these switches to LD
12948
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12949
libsuff= shlibsuff= libmagic=32-bit;;
12950
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12951
libsuff=32 shlibsuff=N32 libmagic=N32;;
12952
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12953
libsuff=64 shlibsuff=64 libmagic=64-bit;;
12954
*) libsuff= shlibsuff= libmagic=never-match;;
12958
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12959
shlibpath_overrides_runpath=no
12960
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12961
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12962
hardcode_into_libs=yes
12965
# No shared lib support for Linux oldld, aout, or coff.
12966
linux*oldld* | linux*aout* | linux*coff*)
12970
# This must be Linux ELF.
12971
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12975
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12976
soname_spec='${libname}${release}${shared_ext}$major'
12977
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12978
shlibpath_var=LD_LIBRARY_PATH
12979
shlibpath_overrides_runpath=no
12981
# Some binutils ld are patched to set DT_RUNPATH
12982
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12983
$as_echo_n "(cached) " >&6
12985
lt_cv_shlibpath_overrides_runpath=no
12986
save_LDFLAGS=$LDFLAGS
12987
save_libdir=$libdir
12988
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12989
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12990
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991
/* end confdefs.h. */
13001
if ac_fn_c_try_link "$LINENO"; then :
13002
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13003
lt_cv_shlibpath_overrides_runpath=yes
13006
rm -f core conftest.err conftest.$ac_objext \
13007
conftest$ac_exeext conftest.$ac_ext
13008
LDFLAGS=$save_LDFLAGS
13009
libdir=$save_libdir
13013
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13015
# This implies no fast_install, which is unacceptable.
13016
# Some rework will be needed to allow for fast_install
13017
# before this can be enabled.
13018
hardcode_into_libs=yes
13020
# Append ld.so.conf contents to the search path
13021
if test -f /etc/ld.so.conf; then
13022
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' ' '`
13023
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13026
# We used to test for /lib/ld.so.1 and disable shared libraries on
13027
# powerpc, because MkLinux only supported shared libraries with the
13028
# GNU dynamic linker. Since this was broken with cross compilers,
13029
# most powerpc-linux boxes support dynamic linking these days and
13030
# people can always --disable-shared, the test was removed, and we
13031
# assume the GNU/Linux dynamic linker is in use.
13032
dynamic_linker='GNU/Linux ld.so'
13039
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13040
soname_spec='${libname}${release}${shared_ext}$major'
13041
shlibpath_var=LD_LIBRARY_PATH
13042
shlibpath_overrides_runpath=no
13043
hardcode_into_libs=yes
13044
dynamic_linker='NetBSD ld.elf_so'
13051
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13052
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13053
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13054
dynamic_linker='NetBSD (a.out) ld.so'
13056
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13057
soname_spec='${libname}${release}${shared_ext}$major'
13058
dynamic_linker='NetBSD ld.elf_so'
13060
shlibpath_var=LD_LIBRARY_PATH
13061
shlibpath_overrides_runpath=yes
13062
hardcode_into_libs=yes
13067
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13068
shlibpath_var=LD_LIBRARY_PATH
13069
shlibpath_overrides_runpath=yes
13076
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13077
soname_spec='${libname}${release}${shared_ext}$major'
13078
shlibpath_var=LD_LIBRARY_PATH
13079
shlibpath_overrides_runpath=no
13080
hardcode_into_libs=yes
13081
dynamic_linker='ldqnx.so'
13086
sys_lib_dlsearch_path_spec="/usr/lib"
13088
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13090
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13091
*) need_version=no ;;
13093
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13094
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13095
shlibpath_var=LD_LIBRARY_PATH
13096
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13098
openbsd2.[89] | openbsd2.[89].*)
13099
shlibpath_overrides_runpath=no
13102
shlibpath_overrides_runpath=yes
13106
shlibpath_overrides_runpath=yes
13111
libname_spec='$name'
13114
library_names_spec='$libname${shared_ext} $libname.a'
13115
dynamic_linker='OS/2 ld.exe'
13116
shlibpath_var=LIBPATH
13119
osf3* | osf4* | osf5*)
13123
soname_spec='${libname}${release}${shared_ext}$major'
13124
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13125
shlibpath_var=LD_LIBRARY_PATH
13126
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13127
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13138
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13139
soname_spec='${libname}${release}${shared_ext}$major'
13140
shlibpath_var=LD_LIBRARY_PATH
13141
shlibpath_overrides_runpath=yes
13142
hardcode_into_libs=yes
13143
# ldd complains unless libraries are executable
13144
postinstall_cmds='chmod +x $lib'
13149
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13150
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13151
shlibpath_var=LD_LIBRARY_PATH
13152
shlibpath_overrides_runpath=yes
13153
if test "$with_gnu_ld" = yes; then
13161
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13162
soname_spec='${libname}${release}${shared_ext}$major'
13163
shlibpath_var=LD_LIBRARY_PATH
13164
case $host_vendor in
13166
shlibpath_overrides_runpath=no
13168
runpath_var=LD_RUN_PATH
13176
shlibpath_overrides_runpath=no
13177
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13183
if test -d /usr/nec ;then
13185
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13186
soname_spec='$libname${shared_ext}.$major'
13187
shlibpath_var=LD_LIBRARY_PATH
13191
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13192
version_type=freebsd-elf
13195
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13196
soname_spec='${libname}${release}${shared_ext}$major'
13197
shlibpath_var=LD_LIBRARY_PATH
13198
shlibpath_overrides_runpath=yes
13199
hardcode_into_libs=yes
13200
if test "$with_gnu_ld" = yes; then
13201
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13203
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13206
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13210
sys_lib_dlsearch_path_spec='/usr/lib'
13214
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13218
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13219
shlibpath_var=LD_LIBRARY_PATH
13220
shlibpath_overrides_runpath=no
13221
hardcode_into_libs=yes
13226
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13227
soname_spec='${libname}${release}${shared_ext}$major'
13228
shlibpath_var=LD_LIBRARY_PATH
13235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13236
$as_echo "$dynamic_linker" >&6; }
13237
test "$dynamic_linker" = no && can_build_shared=no
13239
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13240
if test "$GCC" = yes; then
13241
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13244
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13245
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13247
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13248
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13343
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13345
if test -n "$hardcode_libdir_flag_spec" ||
13346
test -n "$runpath_var" ||
13347
test "X$hardcode_automatic" = "Xyes" ; then
13349
# We can hardcode non-existent directories.
13350
if test "$hardcode_direct" != no &&
13351
# If the only mechanism to avoid hardcoding is shlibpath_var, we
13352
# have to relink, otherwise we might link with an installed library
13353
# when we should be linking with a yet-to-be-installed one
13354
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13355
test "$hardcode_minus_L" != no; then
13356
# Linking always hardcodes the temporary library directory.
13357
hardcode_action=relink
13359
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13360
hardcode_action=immediate
13363
# We cannot hardcode anything, or else we can only hardcode existing
13365
hardcode_action=unsupported
13367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13368
$as_echo "$hardcode_action" >&6; }
13370
if test "$hardcode_action" = relink ||
13371
test "$inherit_rpath" = yes; then
13372
# Fast installation is not supported
13373
enable_fast_install=no
13374
elif test "$shlibpath_overrides_runpath" = yes ||
13375
test "$enable_shared" = no; then
13376
# Fast installation is not necessary
13377
enable_fast_install=needless
13385
if test "x$enable_dlopen" != xyes; then
13386
enable_dlopen=unknown
13387
enable_dlopen_self=unknown
13388
enable_dlopen_self_static=unknown
13395
lt_cv_dlopen="load_add_on"
13397
lt_cv_dlopen_self=yes
13400
mingw* | pw32* | cegcc*)
13401
lt_cv_dlopen="LoadLibrary"
13406
lt_cv_dlopen="dlopen"
13411
# if libdl is installed we need to link against it
13412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13413
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13414
if ${ac_cv_lib_dl_dlopen+:} false; then :
13415
$as_echo_n "(cached) " >&6
13417
ac_check_lib_save_LIBS=$LIBS
13419
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420
/* end confdefs.h. */
13422
/* Override any GCC internal prototype to avoid an error.
13423
Use char because int might match the return type of a GCC
13424
builtin and then its argument prototype would still apply. */
13437
if ac_fn_c_try_link "$LINENO"; then :
13438
ac_cv_lib_dl_dlopen=yes
13440
ac_cv_lib_dl_dlopen=no
13442
rm -f core conftest.err conftest.$ac_objext \
13443
conftest$ac_exeext conftest.$ac_ext
13444
LIBS=$ac_check_lib_save_LIBS
13446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13447
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13448
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13449
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13452
lt_cv_dlopen="dyld"
13454
lt_cv_dlopen_self=yes
13461
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13462
if test "x$ac_cv_func_shl_load" = xyes; then :
13463
lt_cv_dlopen="shl_load"
13465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13466
$as_echo_n "checking for shl_load in -ldld... " >&6; }
13467
if ${ac_cv_lib_dld_shl_load+:} false; then :
13468
$as_echo_n "(cached) " >&6
13470
ac_check_lib_save_LIBS=$LIBS
13472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13473
/* end confdefs.h. */
13475
/* Override any GCC internal prototype to avoid an error.
13476
Use char because int might match the return type of a GCC
13477
builtin and then its argument prototype would still apply. */
13485
return shl_load ();
13490
if ac_fn_c_try_link "$LINENO"; then :
13491
ac_cv_lib_dld_shl_load=yes
13493
ac_cv_lib_dld_shl_load=no
13495
rm -f core conftest.err conftest.$ac_objext \
13496
conftest$ac_exeext conftest.$ac_ext
13497
LIBS=$ac_check_lib_save_LIBS
13499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13500
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13501
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13502
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13504
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13505
if test "x$ac_cv_func_dlopen" = xyes; then :
13506
lt_cv_dlopen="dlopen"
13508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13509
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13510
if ${ac_cv_lib_dl_dlopen+:} false; then :
13511
$as_echo_n "(cached) " >&6
13513
ac_check_lib_save_LIBS=$LIBS
13515
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516
/* end confdefs.h. */
13518
/* Override any GCC internal prototype to avoid an error.
13519
Use char because int might match the return type of a GCC
13520
builtin and then its argument prototype would still apply. */
13533
if ac_fn_c_try_link "$LINENO"; then :
13534
ac_cv_lib_dl_dlopen=yes
13536
ac_cv_lib_dl_dlopen=no
13538
rm -f core conftest.err conftest.$ac_objext \
13539
conftest$ac_exeext conftest.$ac_ext
13540
LIBS=$ac_check_lib_save_LIBS
13542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13543
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13544
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13545
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13548
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13549
if ${ac_cv_lib_svld_dlopen+:} false; then :
13550
$as_echo_n "(cached) " >&6
13552
ac_check_lib_save_LIBS=$LIBS
13553
LIBS="-lsvld $LIBS"
13554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555
/* end confdefs.h. */
13557
/* Override any GCC internal prototype to avoid an error.
13558
Use char because int might match the return type of a GCC
13559
builtin and then its argument prototype would still apply. */
13572
if ac_fn_c_try_link "$LINENO"; then :
13573
ac_cv_lib_svld_dlopen=yes
13575
ac_cv_lib_svld_dlopen=no
13577
rm -f core conftest.err conftest.$ac_objext \
13578
conftest$ac_exeext conftest.$ac_ext
13579
LIBS=$ac_check_lib_save_LIBS
13581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13582
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13583
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13584
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13587
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13588
if ${ac_cv_lib_dld_dld_link+:} false; then :
13589
$as_echo_n "(cached) " >&6
13591
ac_check_lib_save_LIBS=$LIBS
13593
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594
/* end confdefs.h. */
13596
/* Override any GCC internal prototype to avoid an error.
13597
Use char because int might match the return type of a GCC
13598
builtin and then its argument prototype would still apply. */
13606
return dld_link ();
13611
if ac_fn_c_try_link "$LINENO"; then :
13612
ac_cv_lib_dld_dld_link=yes
13614
ac_cv_lib_dld_dld_link=no
13616
rm -f core conftest.err conftest.$ac_objext \
13617
conftest$ac_exeext conftest.$ac_ext
13618
LIBS=$ac_check_lib_save_LIBS
13620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13621
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13622
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13623
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13644
if test "x$lt_cv_dlopen" != xno; then
13650
case $lt_cv_dlopen in
13652
save_CPPFLAGS="$CPPFLAGS"
13653
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13655
save_LDFLAGS="$LDFLAGS"
13656
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13659
LIBS="$lt_cv_dlopen_libs $LIBS"
13661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13662
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13663
if ${lt_cv_dlopen_self+:} false; then :
13664
$as_echo_n "(cached) " >&6
13666
if test "$cross_compiling" = yes; then :
13667
lt_cv_dlopen_self=cross
13669
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13670
lt_status=$lt_dlunknown
13671
cat > conftest.$ac_ext <<_LT_EOF
13672
#line $LINENO "configure"
13673
#include "confdefs.h"
13682
# define LT_DLGLOBAL RTLD_GLOBAL
13685
# define LT_DLGLOBAL DL_GLOBAL
13687
# define LT_DLGLOBAL 0
13691
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13692
find out it does not work in some platform. */
13693
#ifndef LT_DLLAZY_OR_NOW
13695
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13698
# define LT_DLLAZY_OR_NOW DL_LAZY
13701
# define LT_DLLAZY_OR_NOW RTLD_NOW
13704
# define LT_DLLAZY_OR_NOW DL_NOW
13706
# define LT_DLLAZY_OR_NOW 0
13713
/* When -fvisbility=hidden is used, assume the code has been annotated
13714
correspondingly for the symbols needed. */
13715
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13716
int fnord () __attribute__((visibility("default")));
13719
int fnord () { return 42; }
13722
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13723
int status = $lt_dlunknown;
13727
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13730
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13731
else puts (dlerror ());
13733
/* dlclose (self); */
13741
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13742
(eval $ac_link) 2>&5
13744
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13745
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13746
(./conftest; exit; ) >&5 2>/dev/null
13748
case x$lt_status in
13749
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13750
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13751
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13754
# compilation failed
13755
lt_cv_dlopen_self=no
13762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13763
$as_echo "$lt_cv_dlopen_self" >&6; }
13765
if test "x$lt_cv_dlopen_self" = xyes; then
13766
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13768
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13769
if ${lt_cv_dlopen_self_static+:} false; then :
13770
$as_echo_n "(cached) " >&6
13772
if test "$cross_compiling" = yes; then :
13773
lt_cv_dlopen_self_static=cross
13775
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13776
lt_status=$lt_dlunknown
13777
cat > conftest.$ac_ext <<_LT_EOF
13778
#line $LINENO "configure"
13779
#include "confdefs.h"
13788
# define LT_DLGLOBAL RTLD_GLOBAL
13791
# define LT_DLGLOBAL DL_GLOBAL
13793
# define LT_DLGLOBAL 0
13797
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13798
find out it does not work in some platform. */
13799
#ifndef LT_DLLAZY_OR_NOW
13801
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13804
# define LT_DLLAZY_OR_NOW DL_LAZY
13807
# define LT_DLLAZY_OR_NOW RTLD_NOW
13810
# define LT_DLLAZY_OR_NOW DL_NOW
13812
# define LT_DLLAZY_OR_NOW 0
13819
/* When -fvisbility=hidden is used, assume the code has been annotated
13820
correspondingly for the symbols needed. */
13821
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13822
int fnord () __attribute__((visibility("default")));
13825
int fnord () { return 42; }
13828
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13829
int status = $lt_dlunknown;
13833
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13836
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13837
else puts (dlerror ());
13839
/* dlclose (self); */
13847
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13848
(eval $ac_link) 2>&5
13850
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13851
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13852
(./conftest; exit; ) >&5 2>/dev/null
13854
case x$lt_status in
13855
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13856
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13857
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13860
# compilation failed
13861
lt_cv_dlopen_self_static=no
13868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13869
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13872
CPPFLAGS="$save_CPPFLAGS"
13873
LDFLAGS="$save_LDFLAGS"
13878
case $lt_cv_dlopen_self in
13879
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13880
*) enable_dlopen_self=unknown ;;
13883
case $lt_cv_dlopen_self_static in
13884
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13885
*) enable_dlopen_self_static=unknown ;;
13907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13908
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13909
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13910
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13911
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13913
$as_echo "yes" >&6; }
13915
# FIXME - insert some real tests, host_os isn't really good enough
13918
if test -n "$STRIP" ; then
13919
striplib="$STRIP -x"
13920
old_striplib="$STRIP -S"
13921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13922
$as_echo "yes" >&6; }
13924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13925
$as_echo "no" >&6; }
13929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13930
$as_echo "no" >&6; }
13946
# Report which library types will actually be built
13947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13948
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13950
$as_echo "$can_build_shared" >&6; }
13952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13953
$as_echo_n "checking whether to build shared libraries... " >&6; }
13954
test "$can_build_shared" = "no" && enable_shared=no
13956
# On AIX, shared libraries and static libraries use the same namespace, and
13957
# are all built from PIC.
13960
test "$enable_shared" = yes && enable_static=no
13961
if test -n "$RANLIB"; then
13962
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13963
postinstall_cmds='$RANLIB $lib'
13968
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13969
test "$enable_shared" = yes && enable_static=no
13973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13974
$as_echo "$enable_shared" >&6; }
13976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13977
$as_echo_n "checking whether to build static libraries... " >&6; }
13978
# Make sure either enable_shared or enable_static is yes.
13979
test "$enable_shared" = yes || enable_static=yes
13980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13981
$as_echo "$enable_static" >&6; }
13988
ac_cpp='$CPP $CPPFLAGS'
13989
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13990
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13991
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14007
ac_config_commands="$ac_config_commands libtool"
14012
# Only expand once:
14023
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14024
if test -n "$ac_tool_prefix"; then
14025
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14026
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14028
$as_echo_n "checking for $ac_word... " >&6; }
14029
if ${ac_cv_path_PKG_CONFIG+:} false; then :
14030
$as_echo_n "(cached) " >&6
14032
case $PKG_CONFIG in
14034
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038
for as_dir in $PATH
14041
test -z "$as_dir" && as_dir=.
14042
for ac_exec_ext in '' $ac_executable_extensions; do
14043
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14045
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14055
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14056
if test -n "$PKG_CONFIG"; then
14057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14058
$as_echo "$PKG_CONFIG" >&6; }
14060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14061
$as_echo "no" >&6; }
14066
if test -z "$ac_cv_path_PKG_CONFIG"; then
14067
ac_pt_PKG_CONFIG=$PKG_CONFIG
14068
# Extract the first word of "pkg-config", so it can be a program name with args.
14069
set dummy pkg-config; ac_word=$2
14070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14071
$as_echo_n "checking for $ac_word... " >&6; }
14072
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14073
$as_echo_n "(cached) " >&6
14075
case $ac_pt_PKG_CONFIG in
14077
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14080
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14081
for as_dir in $PATH
14084
test -z "$as_dir" && as_dir=.
14085
for ac_exec_ext in '' $ac_executable_extensions; do
14086
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14087
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14088
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14098
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14099
if test -n "$ac_pt_PKG_CONFIG"; then
14100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14101
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14104
$as_echo "no" >&6; }
14107
if test "x$ac_pt_PKG_CONFIG" = x; then
14110
case $cross_compiling:$ac_tool_warned in
14112
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14113
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14114
ac_tool_warned=yes ;;
14116
PKG_CONFIG=$ac_pt_PKG_CONFIG
14119
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14123
if test -n "$PKG_CONFIG"; then
14124
_pkg_min_version=0.9.0
14125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14126
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14127
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14129
$as_echo "yes" >&6; }
14131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14132
$as_echo "no" >&6; }
14138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
14139
$as_echo_n "checking for CLUTTER... " >&6; }
14141
if test -n "$CLUTTER_CFLAGS"; then
14142
pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
14143
elif test -n "$PKG_CONFIG"; then
14144
if test -n "$PKG_CONFIG" && \
14145
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0\""; } >&5
14146
($PKG_CONFIG --exists --print-errors "clutter-1.0") 2>&5
14148
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14149
test $ac_status = 0; }; then
14150
pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0" 2>/dev/null`
14151
test "x$?" != "x0" && pkg_failed=yes
14158
if test -n "$CLUTTER_LIBS"; then
14159
pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
14160
elif test -n "$PKG_CONFIG"; then
14161
if test -n "$PKG_CONFIG" && \
14162
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0\""; } >&5
14163
($PKG_CONFIG --exists --print-errors "clutter-1.0") 2>&5
14165
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14166
test $ac_status = 0; }; then
14167
pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0" 2>/dev/null`
14168
test "x$?" != "x0" && pkg_failed=yes
14178
if test $pkg_failed = yes; then
14179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14180
$as_echo "no" >&6; }
14182
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14183
_pkg_short_errors_supported=yes
14185
_pkg_short_errors_supported=no
14187
if test $_pkg_short_errors_supported = yes; then
14188
CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0" 2>&1`
14190
CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0" 2>&1`
14192
# Put the nasty error message in config.log where it belongs
14193
echo "$CLUTTER_PKG_ERRORS" >&5
14195
as_fn_error $? "Package requirements (clutter-1.0) were not met:
14197
$CLUTTER_PKG_ERRORS
14199
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14200
installed software in a non-standard prefix.
14202
Alternatively, you may set the environment variables CLUTTER_CFLAGS
14203
and CLUTTER_LIBS to avoid the need to call pkg-config.
14204
See the pkg-config man page for more details." "$LINENO" 5
14205
elif test $pkg_failed = untried; then
14206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14207
$as_echo "no" >&6; }
14208
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14209
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14210
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14211
is in your PATH or set the PKG_CONFIG environment variable to the full
14212
path to pkg-config.
14214
Alternatively, you may set the environment variables CLUTTER_CFLAGS
14215
and CLUTTER_LIBS to avoid the need to call pkg-config.
14216
See the pkg-config man page for more details.
14218
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14219
See \`config.log' for more details" "$LINENO" 5; }
14221
CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
14222
CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
14223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14224
$as_echo "yes" >&6; }
14229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGTK" >&5
14230
$as_echo_n "checking for CLUTTERGTK... " >&6; }
14232
if test -n "$CLUTTERGTK_CFLAGS"; then
14233
pkg_cv_CLUTTERGTK_CFLAGS="$CLUTTERGTK_CFLAGS"
14234
elif test -n "$PKG_CONFIG"; then
14235
if test -n "$PKG_CONFIG" && \
14236
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0\""; } >&5
14237
($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0") 2>&5
14239
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14240
test $ac_status = 0; }; then
14241
pkg_cv_CLUTTERGTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0" 2>/dev/null`
14242
test "x$?" != "x0" && pkg_failed=yes
14249
if test -n "$CLUTTERGTK_LIBS"; then
14250
pkg_cv_CLUTTERGTK_LIBS="$CLUTTERGTK_LIBS"
14251
elif test -n "$PKG_CONFIG"; then
14252
if test -n "$PKG_CONFIG" && \
14253
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0\""; } >&5
14254
($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0") 2>&5
14256
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14257
test $ac_status = 0; }; then
14258
pkg_cv_CLUTTERGTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0" 2>/dev/null`
14259
test "x$?" != "x0" && pkg_failed=yes
14269
if test $pkg_failed = yes; then
14270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14271
$as_echo "no" >&6; }
14273
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14274
_pkg_short_errors_supported=yes
14276
_pkg_short_errors_supported=no
14278
if test $_pkg_short_errors_supported = yes; then
14279
CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0" 2>&1`
14281
CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0" 2>&1`
14283
# Put the nasty error message in config.log where it belongs
14284
echo "$CLUTTERGTK_PKG_ERRORS" >&5
14288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGTK" >&5
14289
$as_echo_n "checking for CLUTTERGTK... " >&6; }
14291
if test -n "$CLUTTERGTK_CFLAGS"; then
14292
pkg_cv_CLUTTERGTK_CFLAGS="$CLUTTERGTK_CFLAGS"
14293
elif test -n "$PKG_CONFIG"; then
14294
if test -n "$PKG_CONFIG" && \
14295
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
14296
($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
14298
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14299
test $ac_status = 0; }; then
14300
pkg_cv_CLUTTERGTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-0.10" 2>/dev/null`
14301
test "x$?" != "x0" && pkg_failed=yes
14308
if test -n "$CLUTTERGTK_LIBS"; then
14309
pkg_cv_CLUTTERGTK_LIBS="$CLUTTERGTK_LIBS"
14310
elif test -n "$PKG_CONFIG"; then
14311
if test -n "$PKG_CONFIG" && \
14312
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
14313
($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
14315
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14316
test $ac_status = 0; }; then
14317
pkg_cv_CLUTTERGTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-0.10" 2>/dev/null`
14318
test "x$?" != "x0" && pkg_failed=yes
14328
if test $pkg_failed = yes; then
14329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14330
$as_echo "no" >&6; }
14332
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14333
_pkg_short_errors_supported=yes
14335
_pkg_short_errors_supported=no
14337
if test $_pkg_short_errors_supported = yes; then
14338
CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
14340
CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
14342
# Put the nasty error message in config.log where it belongs
14343
echo "$CLUTTERGTK_PKG_ERRORS" >&5
14345
as_fn_error $? "Package requirements (clutter-gtk-0.10) were not met:
14347
$CLUTTERGTK_PKG_ERRORS
14349
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14350
installed software in a non-standard prefix.
14352
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
14353
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
14354
See the pkg-config man page for more details." "$LINENO" 5
14355
elif test $pkg_failed = untried; then
14356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14357
$as_echo "no" >&6; }
14358
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14359
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14360
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14361
is in your PATH or set the PKG_CONFIG environment variable to the full
14362
path to pkg-config.
14364
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
14365
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
14366
See the pkg-config man page for more details.
14368
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14369
See \`config.log' for more details" "$LINENO" 5; }
14371
CLUTTERGTK_CFLAGS=$pkg_cv_CLUTTERGTK_CFLAGS
14372
CLUTTERGTK_LIBS=$pkg_cv_CLUTTERGTK_LIBS
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14374
$as_echo "yes" >&6; }
14377
elif test $pkg_failed = untried; then
14378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14379
$as_echo "no" >&6; }
14382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGTK" >&5
14383
$as_echo_n "checking for CLUTTERGTK... " >&6; }
14385
if test -n "$CLUTTERGTK_CFLAGS"; then
14386
pkg_cv_CLUTTERGTK_CFLAGS="$CLUTTERGTK_CFLAGS"
14387
elif test -n "$PKG_CONFIG"; then
14388
if test -n "$PKG_CONFIG" && \
14389
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
14390
($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
14392
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14393
test $ac_status = 0; }; then
14394
pkg_cv_CLUTTERGTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-0.10" 2>/dev/null`
14395
test "x$?" != "x0" && pkg_failed=yes
14402
if test -n "$CLUTTERGTK_LIBS"; then
14403
pkg_cv_CLUTTERGTK_LIBS="$CLUTTERGTK_LIBS"
14404
elif test -n "$PKG_CONFIG"; then
14405
if test -n "$PKG_CONFIG" && \
14406
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
14407
($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
14409
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14410
test $ac_status = 0; }; then
14411
pkg_cv_CLUTTERGTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-0.10" 2>/dev/null`
14412
test "x$?" != "x0" && pkg_failed=yes
14422
if test $pkg_failed = yes; then
14423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14424
$as_echo "no" >&6; }
14426
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14427
_pkg_short_errors_supported=yes
14429
_pkg_short_errors_supported=no
14431
if test $_pkg_short_errors_supported = yes; then
14432
CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
14434
CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
14436
# Put the nasty error message in config.log where it belongs
14437
echo "$CLUTTERGTK_PKG_ERRORS" >&5
14439
as_fn_error $? "Package requirements (clutter-gtk-0.10) were not met:
14441
$CLUTTERGTK_PKG_ERRORS
14443
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14444
installed software in a non-standard prefix.
14446
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
14447
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
14448
See the pkg-config man page for more details." "$LINENO" 5
14449
elif test $pkg_failed = untried; then
14450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14451
$as_echo "no" >&6; }
14452
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14453
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14454
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14455
is in your PATH or set the PKG_CONFIG environment variable to the full
14456
path to pkg-config.
14458
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
14459
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
14460
See the pkg-config man page for more details.
14462
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14463
See \`config.log' for more details" "$LINENO" 5; }
14465
CLUTTERGTK_CFLAGS=$pkg_cv_CLUTTERGTK_CFLAGS
14466
CLUTTERGTK_LIBS=$pkg_cv_CLUTTERGTK_LIBS
14467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14468
$as_echo "yes" >&6; }
14472
CLUTTERGTK_CFLAGS=$pkg_cv_CLUTTERGTK_CFLAGS
14473
CLUTTERGTK_LIBS=$pkg_cv_CLUTTERGTK_LIBS
14474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14475
$as_echo "yes" >&6; }
14480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGST" >&5
14481
$as_echo_n "checking for CLUTTERGST... " >&6; }
14483
if test -n "$CLUTTERGST_CFLAGS"; then
14484
pkg_cv_CLUTTERGST_CFLAGS="$CLUTTERGST_CFLAGS"
14485
elif test -n "$PKG_CONFIG"; then
14486
if test -n "$PKG_CONFIG" && \
14487
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-1.0\""; } >&5
14488
($PKG_CONFIG --exists --print-errors "clutter-gst-1.0") 2>&5
14490
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14491
test $ac_status = 0; }; then
14492
pkg_cv_CLUTTERGST_CFLAGS=`$PKG_CONFIG --cflags "clutter-gst-1.0" 2>/dev/null`
14493
test "x$?" != "x0" && pkg_failed=yes
14500
if test -n "$CLUTTERGST_LIBS"; then
14501
pkg_cv_CLUTTERGST_LIBS="$CLUTTERGST_LIBS"
14502
elif test -n "$PKG_CONFIG"; then
14503
if test -n "$PKG_CONFIG" && \
14504
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-1.0\""; } >&5
14505
($PKG_CONFIG --exists --print-errors "clutter-gst-1.0") 2>&5
14507
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14508
test $ac_status = 0; }; then
14509
pkg_cv_CLUTTERGST_LIBS=`$PKG_CONFIG --libs "clutter-gst-1.0" 2>/dev/null`
14510
test "x$?" != "x0" && pkg_failed=yes
14520
if test $pkg_failed = yes; then
14521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14522
$as_echo "no" >&6; }
14524
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14525
_pkg_short_errors_supported=yes
14527
_pkg_short_errors_supported=no
14529
if test $_pkg_short_errors_supported = yes; then
14530
CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gst-1.0" 2>&1`
14532
CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gst-1.0" 2>&1`
14534
# Put the nasty error message in config.log where it belongs
14535
echo "$CLUTTERGST_PKG_ERRORS" >&5
14539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGST" >&5
14540
$as_echo_n "checking for CLUTTERGST... " >&6; }
14542
if test -n "$CLUTTERGST_CFLAGS"; then
14543
pkg_cv_CLUTTERGST_CFLAGS="$CLUTTERGST_CFLAGS"
14544
elif test -n "$PKG_CONFIG"; then
14545
if test -n "$PKG_CONFIG" && \
14546
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
14547
($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
14549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14550
test $ac_status = 0; }; then
14551
pkg_cv_CLUTTERGST_CFLAGS=`$PKG_CONFIG --cflags "clutter-gst-0.10" 2>/dev/null`
14552
test "x$?" != "x0" && pkg_failed=yes
14559
if test -n "$CLUTTERGST_LIBS"; then
14560
pkg_cv_CLUTTERGST_LIBS="$CLUTTERGST_LIBS"
14561
elif test -n "$PKG_CONFIG"; then
14562
if test -n "$PKG_CONFIG" && \
14563
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
14564
($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
14566
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14567
test $ac_status = 0; }; then
14568
pkg_cv_CLUTTERGST_LIBS=`$PKG_CONFIG --libs "clutter-gst-0.10" 2>/dev/null`
14569
test "x$?" != "x0" && pkg_failed=yes
14579
if test $pkg_failed = yes; then
14580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14581
$as_echo "no" >&6; }
14583
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14584
_pkg_short_errors_supported=yes
14586
_pkg_short_errors_supported=no
14588
if test $_pkg_short_errors_supported = yes; then
14589
CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
14591
CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
14593
# Put the nasty error message in config.log where it belongs
14594
echo "$CLUTTERGST_PKG_ERRORS" >&5
14596
as_fn_error $? "Package requirements (clutter-gst-0.10) were not met:
14598
$CLUTTERGST_PKG_ERRORS
14600
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14601
installed software in a non-standard prefix.
14603
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
14604
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
14605
See the pkg-config man page for more details." "$LINENO" 5
14606
elif test $pkg_failed = untried; then
14607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14608
$as_echo "no" >&6; }
14609
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14610
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14611
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14612
is in your PATH or set the PKG_CONFIG environment variable to the full
14613
path to pkg-config.
14615
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
14616
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
14617
See the pkg-config man page for more details.
14619
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14620
See \`config.log' for more details" "$LINENO" 5; }
14622
CLUTTERGST_CFLAGS=$pkg_cv_CLUTTERGST_CFLAGS
14623
CLUTTERGST_LIBS=$pkg_cv_CLUTTERGST_LIBS
14624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14625
$as_echo "yes" >&6; }
14628
elif test $pkg_failed = untried; then
14629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14630
$as_echo "no" >&6; }
14633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGST" >&5
14634
$as_echo_n "checking for CLUTTERGST... " >&6; }
14636
if test -n "$CLUTTERGST_CFLAGS"; then
14637
pkg_cv_CLUTTERGST_CFLAGS="$CLUTTERGST_CFLAGS"
14638
elif test -n "$PKG_CONFIG"; then
14639
if test -n "$PKG_CONFIG" && \
14640
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
14641
($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
14643
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14644
test $ac_status = 0; }; then
14645
pkg_cv_CLUTTERGST_CFLAGS=`$PKG_CONFIG --cflags "clutter-gst-0.10" 2>/dev/null`
14646
test "x$?" != "x0" && pkg_failed=yes
14653
if test -n "$CLUTTERGST_LIBS"; then
14654
pkg_cv_CLUTTERGST_LIBS="$CLUTTERGST_LIBS"
14655
elif test -n "$PKG_CONFIG"; then
14656
if test -n "$PKG_CONFIG" && \
14657
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
14658
($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
14660
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14661
test $ac_status = 0; }; then
14662
pkg_cv_CLUTTERGST_LIBS=`$PKG_CONFIG --libs "clutter-gst-0.10" 2>/dev/null`
14663
test "x$?" != "x0" && pkg_failed=yes
14673
if test $pkg_failed = yes; then
14674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14675
$as_echo "no" >&6; }
14677
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14678
_pkg_short_errors_supported=yes
14680
_pkg_short_errors_supported=no
14682
if test $_pkg_short_errors_supported = yes; then
14683
CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
14685
CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
14687
# Put the nasty error message in config.log where it belongs
14688
echo "$CLUTTERGST_PKG_ERRORS" >&5
14690
as_fn_error $? "Package requirements (clutter-gst-0.10) were not met:
14692
$CLUTTERGST_PKG_ERRORS
14694
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14695
installed software in a non-standard prefix.
14697
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
14698
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
14699
See the pkg-config man page for more details." "$LINENO" 5
14700
elif test $pkg_failed = untried; then
14701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14702
$as_echo "no" >&6; }
14703
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14704
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14705
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14706
is in your PATH or set the PKG_CONFIG environment variable to the full
14707
path to pkg-config.
14709
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
14710
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
14711
See the pkg-config man page for more details.
14713
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14714
See \`config.log' for more details" "$LINENO" 5; }
14716
CLUTTERGST_CFLAGS=$pkg_cv_CLUTTERGST_CFLAGS
14717
CLUTTERGST_LIBS=$pkg_cv_CLUTTERGST_LIBS
14718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14719
$as_echo "yes" >&6; }
14723
CLUTTERGST_CFLAGS=$pkg_cv_CLUTTERGST_CFLAGS
14724
CLUTTERGST_LIBS=$pkg_cv_CLUTTERGST_LIBS
14725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14726
$as_echo "yes" >&6; }
14731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
14732
$as_echo_n "checking for GSTREAMER... " >&6; }
14734
if test -n "$GSTREAMER_CFLAGS"; then
14735
pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
14736
elif test -n "$PKG_CONFIG"; then
14737
if test -n "$PKG_CONFIG" && \
14738
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
14739
($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
14741
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14742
test $ac_status = 0; }; then
14743
pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null`
14744
test "x$?" != "x0" && pkg_failed=yes
14751
if test -n "$GSTREAMER_LIBS"; then
14752
pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
14753
elif test -n "$PKG_CONFIG"; then
14754
if test -n "$PKG_CONFIG" && \
14755
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
14756
($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
14758
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14759
test $ac_status = 0; }; then
14760
pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null`
14761
test "x$?" != "x0" && pkg_failed=yes
14771
if test $pkg_failed = yes; then
14772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14773
$as_echo "no" >&6; }
14775
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14776
_pkg_short_errors_supported=yes
14778
_pkg_short_errors_supported=no
14780
if test $_pkg_short_errors_supported = yes; then
14781
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10" 2>&1`
14783
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10" 2>&1`
14785
# Put the nasty error message in config.log where it belongs
14786
echo "$GSTREAMER_PKG_ERRORS" >&5
14788
as_fn_error $? "Package requirements (gstreamer-0.10) were not met:
14790
$GSTREAMER_PKG_ERRORS
14792
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14793
installed software in a non-standard prefix.
14795
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
14796
and GSTREAMER_LIBS to avoid the need to call pkg-config.
14797
See the pkg-config man page for more details." "$LINENO" 5
14798
elif test $pkg_failed = untried; then
14799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14800
$as_echo "no" >&6; }
14801
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14802
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14803
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14804
is in your PATH or set the PKG_CONFIG environment variable to the full
14805
path to pkg-config.
14807
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
14808
and GSTREAMER_LIBS to avoid the need to call pkg-config.
14809
See the pkg-config man page for more details.
14811
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14812
See \`config.log' for more details" "$LINENO" 5; }
14814
GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
14815
GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
14816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14817
$as_echo "yes" >&6; }
14820
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/Makefile help/Makefile"
14822
cat >confcache <<\_ACEOF
14823
# This file is a shell script that caches the results of configure
14824
# tests run on this system so they can be shared between configure
14825
# scripts and configure runs, see configure's option --config-cache.
14826
# It is not useful on other systems. If it contains results you don't
14827
# want to keep, you may remove or edit it.
14829
# config.status only pays attention to the cache file if you give it
14830
# the --recheck option to rerun configure.
14832
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14833
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14834
# following values.
14838
# The following way of writing the cache mishandles newlines in values,
14839
# but we know of no workaround that is simple, portable, and efficient.
14840
# So, we kill variables containing newlines.
14841
# Ultrix sh set writes to stderr and can't be redirected directly,
14842
# and sets the high bit in the cache file unless we assign to the vars.
14844
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14845
eval ac_val=\$$ac_var
14849
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14850
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14853
_ | IFS | as_nl) ;; #(
14854
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14855
*) { eval $ac_var=; unset $ac_var;} ;;
14861
case $as_nl`(ac_space=' '; set) 2>&1` in #(
14862
*${as_nl}ac_space=\ *)
14863
# `set' does not quote correctly, so add quotes: double-quote
14864
# substitution turns \\\\ into \\, and sed turns \\ into \.
14867
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14870
# `set' quotes correctly as required by POSIX, so do not add quotes.
14871
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14880
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14882
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14884
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14885
if test -w "$cache_file"; then
14886
if test "x$cache_file" != "x/dev/null"; then
14887
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14888
$as_echo "$as_me: updating cache $cache_file" >&6;}
14889
if test ! -f "$cache_file" || test -h "$cache_file"; then
14890
cat confcache >"$cache_file"
14892
case $cache_file in #(
14894
mv -f confcache "$cache_file"$$ &&
14895
mv -f "$cache_file"$$ "$cache_file" ;; #(
14897
mv -f confcache "$cache_file" ;;
14902
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14903
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14908
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14909
# Let make expand exec_prefix.
14910
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14912
DEFS=-DHAVE_CONFIG_H
14917
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14918
# 1. Remove the extension, and $U if already installed.
14919
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14920
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14921
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14922
# will be set to the directory where LIBOBJS objects are built.
14923
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14924
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14926
LIBOBJS=$ac_libobjs
14928
LTLIBOBJS=$ac_ltlibobjs
14931
if test -n "$EXEEXT"; then
14933
am__EXEEXT_FALSE='#'
14935
am__EXEEXT_TRUE='#'
14939
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14940
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14943
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14944
as_fn_error $? "conditional \"AMDEP\" was never defined.
14945
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14947
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14948
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14949
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14951
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14952
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14953
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14955
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14956
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14957
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14960
ac_config_commands="$ac_config_commands po/stamp-it"
14964
: "${CONFIG_STATUS=./config.status}"
14966
ac_clean_files_save=$ac_clean_files
14967
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14968
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14969
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14971
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14973
# Generated by $as_me.
14974
# Run this file to recreate the current configuration.
14975
# Compiler output produced by configure, useful for debugging
14976
# configure, is in config.log if it exists.
14979
ac_cs_recheck=false
14982
SHELL=\${CONFIG_SHELL-$SHELL}
14985
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14986
## -------------------- ##
14987
## M4sh Initialization. ##
14988
## -------------------- ##
14990
# Be more Bourne compatible
14991
DUALCASE=1; export DUALCASE # for MKS sh
14992
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14995
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14996
# is contrary to our usage. Disable this feature.
14997
alias -g '${1+"$@"}'='"$@"'
14998
setopt NO_GLOB_SUBST
15000
case `(set -o) 2>/dev/null` in #(
15012
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15013
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15014
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15015
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15016
# Prefer a ksh shell builtin over an external printf program on Solaris,
15017
# but without wasting forks for bash or zsh.
15018
if test -z "$BASH_VERSION$ZSH_VERSION" \
15019
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15020
as_echo='print -r --'
15021
as_echo_n='print -rn --'
15022
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15023
as_echo='printf %s\n'
15024
as_echo_n='printf %s'
15026
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15027
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15028
as_echo_n='/usr/ucb/echo -n'
15030
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15031
as_echo_n_body='eval
15035
expr "X$arg" : "X\\(.*\\)$as_nl";
15036
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15038
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15040
export as_echo_n_body
15041
as_echo_n='sh -c $as_echo_n_body as_echo'
15043
export as_echo_body
15044
as_echo='sh -c $as_echo_body as_echo'
15047
# The user is always right.
15048
if test "${PATH_SEPARATOR+set}" != set; then
15050
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15051
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15058
# We need space, tab and new line, in precisely that order. Quoting is
15059
# there to prevent editors from complaining about space-tab.
15060
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15061
# splitting by setting IFS to empty value.)
15064
# Find who we are. Look in the path if we contain no directory separator.
15067
*[\\/]* ) as_myself=$0 ;;
15068
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15069
for as_dir in $PATH
15072
test -z "$as_dir" && as_dir=.
15073
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15079
# We did not find ourselves, most probably we were run as `sh COMMAND'
15080
# in which case we are not to be found in the path.
15081
if test "x$as_myself" = x; then
15084
if test ! -f "$as_myself"; then
15085
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15089
# Unset variables that we do not need and which cause bugs (e.g. in
15090
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15091
# suppresses any "Segmentation fault" message there. '((' could
15092
# trigger a bug in pdksh 5.2.14.
15093
for as_var in BASH_ENV ENV MAIL MAILPATH
15094
do eval test x\${$as_var+set} = xset \
15095
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15108
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15111
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15112
# ----------------------------------------
15113
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15114
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15115
# script with STATUS, using 1 if that was 0.
15118
as_status=$1; test $as_status -eq 0 && as_status=1
15120
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15121
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15123
$as_echo "$as_me: error: $2" >&2
15124
as_fn_exit $as_status
15128
# as_fn_set_status STATUS
15129
# -----------------------
15130
# Set $? to STATUS, without forking.
15131
as_fn_set_status ()
15134
} # as_fn_set_status
15136
# as_fn_exit STATUS
15137
# -----------------
15138
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15142
as_fn_set_status $1
15148
# Portably unset VAR.
15151
{ eval $1=; unset $1;}
15153
as_unset=as_fn_unset
15154
# as_fn_append VAR VALUE
15155
# ----------------------
15156
# Append the text in VALUE to the end of the definition contained in VAR. Take
15157
# advantage of any shell optimizations that allow amortized linear growth over
15158
# repeated appends, instead of the typical quadratic growth present in naive
15160
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15161
eval 'as_fn_append ()
15172
# as_fn_arith ARG...
15173
# ------------------
15174
# Perform arithmetic evaluation on the ARGs, and store the result in the
15175
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15176
# must be portable across $(()) and expr.
15177
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15178
eval 'as_fn_arith ()
15185
as_val=`expr "$@" || test $? -eq 1`
15190
if expr a : '\(a\)' >/dev/null 2>&1 &&
15191
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15197
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15198
as_basename=basename
15203
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15209
as_me=`$as_basename -- "$0" ||
15210
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15211
X"$0" : 'X\(//\)$' \| \
15212
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15214
sed '/^.*\/\([^/][^/]*\)\/*$/{
15228
# Avoid depending upon Character Ranges.
15229
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15230
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15231
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15232
as_cr_digits='0123456789'
15233
as_cr_alnum=$as_cr_Letters$as_cr_digits
15235
ECHO_C= ECHO_N= ECHO_T=
15236
case `echo -n x` in #(((((
15238
case `echo 'xy\c'` in
15239
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15241
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15248
rm -f conf$$ conf$$.exe conf$$.file
15249
if test -d conf$$.dir; then
15250
rm -f conf$$.dir/conf$$.file
15253
mkdir conf$$.dir 2>/dev/null
15255
if (echo >conf$$.file) 2>/dev/null; then
15256
if ln -s conf$$.file conf$$ 2>/dev/null; then
15258
# ... but there are two gotchas:
15259
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15260
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15261
# In both cases, we have to default to `cp -p'.
15262
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15264
elif ln conf$$.file conf$$ 2>/dev/null; then
15272
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15273
rmdir conf$$.dir 2>/dev/null
15278
# Create "$as_dir" as a directory, including parents if necessary.
15283
-*) as_dir=./$as_dir;;
15285
test -d "$as_dir" || eval $as_mkdir_p || {
15289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15290
*) as_qdir=$as_dir;;
15292
as_dirs="'$as_qdir' $as_dirs"
15293
as_dir=`$as_dirname -- "$as_dir" ||
15294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15295
X"$as_dir" : 'X\(//\)[^/]' \| \
15296
X"$as_dir" : 'X\(//\)$' \| \
15297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15298
$as_echo X"$as_dir" |
15299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15303
/^X\(\/\/\)[^/].*/{
15316
test -d "$as_dir" && break
15318
test -z "$as_dirs" || eval "mkdir $as_dirs"
15319
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15323
if mkdir -p . 2>/dev/null; then
15324
as_mkdir_p='mkdir -p "$as_dir"'
15326
test -d ./-p && rmdir ./-p
15330
if test -x / >/dev/null 2>&1; then
15331
as_test_x='test -x'
15333
if ls -dL / >/dev/null 2>&1; then
15340
if test -d "$1"; then
15346
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15347
???[sx]*):;;*)false;;esac;fi
15351
as_executable_p=$as_test_x
15353
# Sed expression to map a string onto a valid CPP name.
15354
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15356
# Sed expression to map a string onto a valid variable name.
15357
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15361
## ----------------------------------- ##
15362
## Main body of $CONFIG_STATUS script. ##
15363
## ----------------------------------- ##
15365
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15367
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15368
# Save the log message, to keep $0 and so on meaningful, and to
15369
# report actual input values of CONFIG_FILES etc. instead of their
15370
# values after options handling.
15372
This file was extended by lyricue $as_me 3.0.36, which was
15373
generated by GNU Autoconf 2.68. Invocation command line was
15375
CONFIG_FILES = $CONFIG_FILES
15376
CONFIG_HEADERS = $CONFIG_HEADERS
15377
CONFIG_LINKS = $CONFIG_LINKS
15378
CONFIG_COMMANDS = $CONFIG_COMMANDS
15381
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15386
case $ac_config_files in *"
15387
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15390
case $ac_config_headers in *"
15391
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15395
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15396
# Files that config.status was made for.
15397
config_files="$ac_config_files"
15398
config_headers="$ac_config_headers"
15399
config_commands="$ac_config_commands"
15403
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15405
\`$as_me' instantiates files and other configuration actions
15406
from templates according to the current configuration. Unless the files
15407
and actions are specified as TAGs, all are instantiated by default.
15409
Usage: $0 [OPTION]... [TAG]...
15411
-h, --help print this help, then exit
15412
-V, --version print version number and configuration settings, then exit
15413
--config print configuration, then exit
15414
-q, --quiet, --silent
15415
do not print progress messages
15416
-d, --debug don't remove temporary files
15417
--recheck update $as_me by reconfiguring in the same conditions
15418
--file=FILE[:TEMPLATE]
15419
instantiate the configuration file FILE
15420
--header=FILE[:TEMPLATE]
15421
instantiate the configuration header FILE
15423
Configuration files:
15426
Configuration headers:
15429
Configuration commands:
15432
Report bugs to <http://www.lyricue.org>."
15435
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15436
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15438
lyricue config.status 3.0.36
15439
configured by $0, generated by GNU Autoconf 2.68,
15440
with options \\"\$ac_cs_config\\"
15442
Copyright (C) 2010 Free Software Foundation, Inc.
15443
This config.status script is free software; the Free Software Foundation
15444
gives unlimited permission to copy, distribute and modify it."
15451
test -n "\$AWK" || AWK=awk
15454
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15455
# The default lists apply if the user does not specify any file.
15461
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15462
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15466
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15478
# Handling of the options.
15479
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15481
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15482
$as_echo "$ac_cs_version"; exit ;;
15483
--config | --confi | --conf | --con | --co | --c )
15484
$as_echo "$ac_cs_config"; exit ;;
15485
--debug | --debu | --deb | --de | --d | -d )
15487
--file | --fil | --fi | --f )
15490
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15491
'') as_fn_error $? "missing file argument" ;;
15493
as_fn_append CONFIG_FILES " '$ac_optarg'"
15494
ac_need_defaults=false;;
15495
--header | --heade | --head | --hea )
15498
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15500
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15501
ac_need_defaults=false;;
15503
# Conflict between --help and --header
15504
as_fn_error $? "ambiguous option: \`$1'
15505
Try \`$0 --help' for more information.";;
15506
--help | --hel | -h )
15507
$as_echo "$ac_cs_usage"; exit ;;
15508
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15509
| -silent | --silent | --silen | --sile | --sil | --si | --s)
15512
# This is an error.
15513
-*) as_fn_error $? "unrecognized option: \`$1'
15514
Try \`$0 --help' for more information." ;;
15516
*) as_fn_append ac_config_targets " $1"
15517
ac_need_defaults=false ;;
15523
ac_configure_extra_args=
15525
if $ac_cs_silent; then
15527
ac_configure_extra_args="$ac_configure_extra_args --silent"
15531
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15532
if \$ac_cs_recheck; then
15533
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15535
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15536
CONFIG_SHELL='$SHELL'
15537
export CONFIG_SHELL
15542
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15546
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15547
## Running $as_me. ##
15553
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15557
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15561
# The HP-UX ksh and POSIX shell print the target directory to stdout
15562
# if CDPATH is set.
15563
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15565
sed_quote_subst='$sed_quote_subst'
15566
double_quote_subst='$double_quote_subst'
15567
delay_variable_subst='$delay_variable_subst'
15568
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15569
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15570
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15571
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15572
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15573
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15574
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15575
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15576
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15577
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15578
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15579
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15580
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15581
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15582
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15583
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15584
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15585
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15586
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15587
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15588
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15589
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15590
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15591
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15592
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15593
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15594
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15595
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15596
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15597
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15598
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15599
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15600
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15601
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15602
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15603
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15604
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15605
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15606
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15607
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15608
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15609
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15610
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15611
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15612
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15613
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15614
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15615
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15616
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15617
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15618
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15619
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15620
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15621
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15622
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15623
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"`'
15624
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15625
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15626
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15627
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15628
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15629
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15630
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15631
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15632
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15633
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15634
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15635
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15636
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15637
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15638
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15639
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15640
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15641
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15642
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15643
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15644
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15645
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15646
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15647
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15648
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15649
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15650
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15651
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15652
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15653
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15654
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15655
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15656
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15657
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15658
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15659
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15660
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15661
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15662
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15663
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15664
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15665
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15666
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15667
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15668
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15669
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15670
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15671
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15672
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15673
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15674
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15675
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15676
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15677
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15678
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15679
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15680
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15681
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15682
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15683
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15684
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15685
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15686
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15687
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15688
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15689
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15690
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15691
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15692
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15693
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15694
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15695
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15696
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15697
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15700
LTCFLAGS='$LTCFLAGS'
15701
compiler='$compiler_DEFAULT'
15703
# A function that is used when there is no print builtin or printf.
15704
func_fallback_echo ()
15706
eval 'cat <<_LTECHO_EOF
15711
# Quote evaled strings.
15725
deplibs_check_method \
15730
sharedlib_from_linklib_cmd \
15733
archiver_list_spec \
15739
lt_cv_sys_global_symbol_pipe \
15740
lt_cv_sys_global_symbol_to_cdecl \
15741
lt_cv_sys_global_symbol_to_c_name_address \
15742
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15743
nm_file_list_spec \
15744
lt_prog_compiler_no_builtin_flag \
15745
lt_prog_compiler_pic \
15746
lt_prog_compiler_wl \
15747
lt_prog_compiler_static \
15748
lt_cv_prog_compiler_c_o \
15757
export_dynamic_flag_spec \
15758
whole_archive_flag_spec \
15759
compiler_needs_object \
15761
allow_undefined_flag \
15762
no_undefined_flag \
15763
hardcode_libdir_flag_spec \
15764
hardcode_libdir_flag_spec_ld \
15765
hardcode_libdir_separator \
15769
variables_saved_for_relink \
15771
library_names_spec \
15773
install_override_mode \
15777
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15778
*[\\\\\\\`\\"\\\$]*)
15779
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15782
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15787
# Double-quote double-evaled strings.
15788
for var in reload_cmds \
15789
old_postinstall_cmds \
15790
old_postuninstall_cmds \
15792
extract_expsyms_cmds \
15793
old_archive_from_new_cmds \
15794
old_archive_from_expsyms_cmds \
15796
archive_expsym_cmds \
15798
module_expsym_cmds \
15799
export_symbols_cmds \
15803
postuninstall_cmds \
15805
sys_lib_search_path_spec \
15806
sys_lib_dlsearch_path_spec; do
15807
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15808
*[\\\\\\\`\\"\\\$]*)
15809
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15812
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15817
ac_aux_dir='$ac_aux_dir'
15818
xsi_shell='$xsi_shell'
15819
lt_shell_append='$lt_shell_append'
15821
# See if we are running on zsh, and set the options which allow our
15822
# commands through without removal of \ escapes INIT.
15823
if test -n "\${ZSH_VERSION+set}" ; then
15824
setopt NO_GLOB_SUBST
15830
TIMESTAMP='$TIMESTAMP'
15839
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15841
# Handling of arguments.
15842
for ac_config_target in $ac_config_targets
15844
case $ac_config_target in
15845
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15846
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15847
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15848
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15849
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15850
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15851
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15852
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15853
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15854
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15856
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15861
# If the user did not use the arguments to specify the items to instantiate,
15862
# then the envvar interface is used. Set only those that are not.
15863
# We use the long form for the default assignment because of an extremely
15864
# bizarre bug on SunOS 4.1.3.
15865
if $ac_need_defaults; then
15866
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15867
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15868
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15871
# Have a temporary directory for convenience. Make it in the build tree
15872
# simply because there is no reason against having it here, and in addition,
15873
# creating and moving files from /tmp can sometimes cause problems.
15874
# Hook for its removal unless debugging.
15875
# Note that there is a small window in which the directory will not be cleaned:
15876
# after its creation but before its name has been assigned to `$tmp'.
15880
trap 'exit_status=$?
15881
: "${ac_tmp:=$tmp}"
15882
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15884
trap 'as_fn_exit 1' 1 2 13 15
15886
# Create a (secure) tmp directory for tmp files.
15889
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15893
tmp=./conf$$-$RANDOM
15894
(umask 077 && mkdir "$tmp")
15895
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15898
# Set up the scripts for CONFIG_FILES section.
15899
# No need to generate them if there are no CONFIG_FILES.
15900
# This happens for instance with `./config.status config.h'.
15901
if test -n "$CONFIG_FILES"; then
15904
ac_cr=`echo X | tr X '\015'`
15905
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15906
# But we know of no other shell where ac_cr would be empty at this
15907
# point, so we can use a bashism as a fallback.
15908
if test "x$ac_cr" = x; then
15909
eval ac_cr=\$\'\\r\'
15911
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15912
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15915
ac_cs_awk_cr=$ac_cr
15918
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15923
echo "cat >conf$$subs.awk <<_ACEOF" &&
15924
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15926
} >conf$$subs.sh ||
15927
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15928
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15930
for ac_last_try in false false false false false :; do
15931
. ./conf$$subs.sh ||
15932
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15934
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15935
if test $ac_delim_n = $ac_delim_num; then
15937
elif $ac_last_try; then
15938
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15940
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15943
rm -f conf$$subs.sh
15945
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15946
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15950
s/^/S["/; s/!.*/"]=/
15960
s/\(.\{148\}\)..*/\1/
15962
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15967
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15974
s/\(.\{148\}\)..*/\1/
15976
s/["\\]/\\&/g; s/^/"/; s/$/"/
15980
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15985
' <conf$$subs.awk | sed '
15990
' >>$CONFIG_STATUS || ac_write_fail=1
15991
rm -f conf$$subs.awk
15992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15994
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15995
for (key in S) S_is_set[key] = 1
16001
nfields = split(line, field, "@")
16003
len = length(field[1])
16004
for (i = 2; i < nfields; i++) {
16006
keylen = length(key)
16007
if (S_is_set[key]) {
16009
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16010
len += length(value) + length(field[++i])
16021
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16022
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16023
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16026
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16027
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16030
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16031
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16032
# trailing colons and then remove the whole line if VPATH becomes empty
16033
# (actually we leave an empty line to preserve line numbers).
16034
if test "x$srcdir" = x.; then
16035
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16053
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16054
fi # test -n "$CONFIG_FILES"
16056
# Set up the scripts for CONFIG_HEADERS section.
16057
# No need to generate them if there are no CONFIG_HEADERS.
16058
# This happens for instance with `./config.status Makefile'.
16059
if test -n "$CONFIG_HEADERS"; then
16060
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16064
# Transform confdefs.h into an awk script `defines.awk', embedded as
16065
# here-document in config.status, that substitutes the proper values into
16066
# config.h.in to produce config.h.
16068
# Create a delimiter string that does not exist in confdefs.h, to ease
16069
# handling of long lines.
16071
for ac_last_try in false false :; do
16072
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16073
if test -z "$ac_tt"; then
16075
elif $ac_last_try; then
16076
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16078
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16082
# For the awk script, D is an array of macro values keyed by name,
16083
# likewise P contains macro parameters if any. Preserve backslash
16084
# newline sequences.
16086
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16088
s/.\{148\}/&'"$ac_delim"'/g
16091
s/^[ ]*#[ ]*define[ ][ ]*/ /
16098
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16100
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16104
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16105
D["\1"]=" \3\\\\\\n"\\/p
16107
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16112
s/.\{148\}/&'"$ac_delim"'/g
16117
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16120
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16122
' <confdefs.h | sed '
16123
s/'"$ac_delim"'/"\\\
16124
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16126
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16127
for (key in D) D_is_set[key] = 1
16130
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16132
split(line, arg, " ")
16133
if (arg[1] == "#") {
16137
defundef = substr(arg[1], 2)
16140
split(mac1, mac2, "(") #)
16142
prefix = substr(line, 1, index(line, defundef) - 1)
16143
if (D_is_set[macro]) {
16144
# Preserve the white space surrounding the "#".
16145
print prefix "define", macro P[macro] D[macro]
16148
# Replace #undef with comments. This is necessary, for example,
16149
# in the case of _POSIX_SOURCE, which is predefined and required
16150
# on some systems where configure will not decide to define it.
16151
if (defundef == "undef") {
16152
print "/*", prefix defundef, macro, "*/"
16160
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16161
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16162
fi # test -n "$CONFIG_HEADERS"
16165
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16170
:[FHLC]) ac_mode=$ac_tag; continue;;
16172
case $ac_mode$ac_tag in
16174
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16175
:[FH]-) ac_tag=-:-;;
16176
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16193
-) ac_f="$ac_tmp/stdin";;
16194
*) # Look for the file first in the build tree, then in the source tree
16195
# (if the path is not absolute). The absolute path cannot be DOS-style,
16196
# because $ac_f cannot contain `:'.
16200
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16202
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16204
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16205
as_fn_append ac_file_inputs " '$ac_f'"
16208
# Let's still pretend it is `configure' which instantiates (i.e., don't
16209
# use $as_me), people would be surprised to read:
16210
# /* config.h. Generated by config.status. */
16211
configure_input='Generated from '`
16212
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16214
if test x"$ac_file" != x-; then
16215
configure_input="$ac_file. $configure_input"
16216
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16217
$as_echo "$as_me: creating $ac_file" >&6;}
16219
# Neutralize special characters interpreted by sed in replacement strings.
16220
case $configure_input in #(
16221
*\&* | *\|* | *\\* )
16222
ac_sed_conf_input=`$as_echo "$configure_input" |
16223
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16224
*) ac_sed_conf_input=$configure_input;;
16228
*:-:* | *:-) cat >"$ac_tmp/stdin" \
16229
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16234
ac_dir=`$as_dirname -- "$ac_file" ||
16235
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16236
X"$ac_file" : 'X\(//\)[^/]' \| \
16237
X"$ac_file" : 'X\(//\)$' \| \
16238
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16239
$as_echo X"$ac_file" |
16240
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16244
/^X\(\/\/\)[^/].*/{
16257
as_dir="$ac_dir"; as_fn_mkdir_p
16261
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16263
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16264
# A ".." for each directory in $ac_dir_suffix.
16265
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16266
case $ac_top_builddir_sub in
16267
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16268
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16271
ac_abs_top_builddir=$ac_pwd
16272
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16273
# for backward compatibility:
16274
ac_top_builddir=$ac_top_build_prefix
16277
.) # We are building in place.
16279
ac_top_srcdir=$ac_top_builddir_sub
16280
ac_abs_top_srcdir=$ac_pwd ;;
16281
[\\/]* | ?:[\\/]* ) # Absolute name.
16282
ac_srcdir=$srcdir$ac_dir_suffix;
16283
ac_top_srcdir=$srcdir
16284
ac_abs_top_srcdir=$srcdir ;;
16285
*) # Relative name.
16286
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16287
ac_top_srcdir=$ac_top_build_prefix$srcdir
16288
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16290
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16300
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16301
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16303
ac_MKDIR_P=$MKDIR_P
16305
[\\/$]* | ?:[\\/]* ) ;;
16306
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16310
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16311
# If the template does not know about datarootdir, expand it.
16312
# FIXME: This hack should be removed a few years after 2.60.
16313
ac_datarootdir_hack=; ac_datarootdir_seen=
16324
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16325
*datarootdir*) ac_datarootdir_seen=yes;;
16326
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16327
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16328
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16330
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16331
ac_datarootdir_hack='
16332
s&@datadir@&$datadir&g
16333
s&@docdir@&$docdir&g
16334
s&@infodir@&$infodir&g
16335
s&@localedir@&$localedir&g
16336
s&@mandir@&$mandir&g
16337
s&\\\${datarootdir}&$datarootdir&g' ;;
16341
# Neutralize VPATH when `$srcdir' = `.'.
16342
# Shell code in configure.ac might set extrasub.
16343
# FIXME: do we really want to maintain this feature?
16344
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16345
ac_sed_extra="$ac_vpsub
16348
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16350
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16351
s|@configure_input@|$ac_sed_conf_input|;t t
16352
s&@top_builddir@&$ac_top_builddir_sub&;t t
16353
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16354
s&@srcdir@&$ac_srcdir&;t t
16355
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16356
s&@top_srcdir@&$ac_top_srcdir&;t t
16357
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16358
s&@builddir@&$ac_builddir&;t t
16359
s&@abs_builddir@&$ac_abs_builddir&;t t
16360
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16361
s&@INSTALL@&$ac_INSTALL&;t t
16362
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16363
$ac_datarootdir_hack
16365
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16366
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16368
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16369
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16370
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16371
"$ac_tmp/out"`; test -z "$ac_out"; } &&
16372
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16373
which seems to be undefined. Please make sure it is defined" >&5
16374
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16375
which seems to be undefined. Please make sure it is defined" >&2;}
16377
rm -f "$ac_tmp/stdin"
16379
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16380
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16382
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16388
if test x"$ac_file" != x-; then
16390
$as_echo "/* $configure_input */" \
16391
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16392
} >"$ac_tmp/config.h" \
16393
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16394
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16395
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16396
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16399
mv "$ac_tmp/config.h" "$ac_file" \
16400
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16403
$as_echo "/* $configure_input */" \
16404
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16405
|| as_fn_error $? "could not create -" "$LINENO" 5
16407
# Compute "$ac_file"'s index in $config_headers.
16410
for _am_header in $config_headers :; do
16411
case $_am_header in
16412
$_am_arg | $_am_arg:* )
16415
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
16418
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16419
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16420
X"$_am_arg" : 'X\(//\)[^/]' \| \
16421
X"$_am_arg" : 'X\(//\)$' \| \
16422
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16423
$as_echo X"$_am_arg" |
16424
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16428
/^X\(\/\/\)[^/].*/{
16440
s/.*/./; q'`/stamp-h$_am_stamp_count
16443
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16444
$as_echo "$as_me: executing $ac_file commands" >&6;}
16449
case $ac_file$ac_mode in
16450
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16451
# Autoconf 2.62 quotes --file arguments for eval, but not when files
16452
# are listed without --file. Let's play safe and only enable the eval
16453
# if we detect the quoting.
16454
case $CONFIG_FILES in
16455
*\'*) eval set x "$CONFIG_FILES" ;;
16456
*) set x $CONFIG_FILES ;;
16461
# Strip MF so we end up with the name of the file.
16462
mf=`echo "$mf" | sed -e 's/:.*$//'`
16463
# Check whether this is an Automake generated Makefile or not.
16464
# We used to match only the files named `Makefile.in', but
16465
# some people rename them; so instead we look at the file content.
16466
# Grep'ing the first line is not enough: some people post-process
16467
# each Makefile.in and add a new line on top of each file to say so.
16468
# Grep'ing the whole file is not good either: AIX grep has a line
16469
# limit of 2048, but all sed's we know have understand at least 4000.
16470
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16471
dirpart=`$as_dirname -- "$mf" ||
16472
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16473
X"$mf" : 'X\(//\)[^/]' \| \
16474
X"$mf" : 'X\(//\)$' \| \
16475
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16477
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16481
/^X\(\/\/\)[^/].*/{
16497
# Extract the definition of DEPDIR, am__include, and am__quote
16498
# from the Makefile without running `make'.
16499
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16500
test -z "$DEPDIR" && continue
16501
am__include=`sed -n 's/^am__include = //p' < "$mf"`
16502
test -z "am__include" && continue
16503
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16504
# When using ansi2knr, U may be empty or an underscore; expand it
16505
U=`sed -n 's/^U = //p' < "$mf"`
16506
# Find all dependency output files, they are included files with
16507
# $(DEPDIR) in their names. We invoke sed twice because it is the
16508
# simplest approach to changing $(DEPDIR) to its actual value in the
16510
for file in `sed -n "
16511
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16512
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16513
# Make sure the directory exists.
16514
test -f "$dirpart/$file" && continue
16515
fdir=`$as_dirname -- "$file" ||
16516
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16517
X"$file" : 'X\(//\)[^/]' \| \
16518
X"$file" : 'X\(//\)$' \| \
16519
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16520
$as_echo X"$file" |
16521
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16525
/^X\(\/\/\)[^/].*/{
16538
as_dir=$dirpart/$fdir; as_fn_mkdir_p
16539
# echo "creating $dirpart/$file"
16540
echo '# dummy' > "$dirpart/$file"
16545
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16546
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16550
# See if we are running on zsh, and set the options which allow our
16551
# commands through without removal of \ escapes.
16552
if test -n "${ZSH_VERSION+set}" ; then
16553
setopt NO_GLOB_SUBST
16556
cfgfile="${ofile}T"
16557
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16560
cat <<_LT_EOF >> "$cfgfile"
16563
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16564
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16565
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16566
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16568
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16569
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16571
# Written by Gordon Matzigkeit, 1996
16573
# This file is part of GNU Libtool.
16575
# GNU Libtool is free software; you can redistribute it and/or
16576
# modify it under the terms of the GNU General Public License as
16577
# published by the Free Software Foundation; either version 2 of
16578
# the License, or (at your option) any later version.
16580
# As a special exception to the GNU General Public License,
16581
# if you distribute this file as part of a program or library that
16582
# is built using GNU Libtool, you may include this file under the
16583
# same distribution terms that you use for the rest of that program.
16585
# GNU Libtool is distributed in the hope that it will be useful,
16586
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16587
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16588
# GNU General Public License for more details.
16590
# You should have received a copy of the GNU General Public License
16591
# along with GNU Libtool; see the file COPYING. If not, a copy
16592
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16593
# obtained by writing to the Free Software Foundation, Inc.,
16594
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16597
# The names of the tagged configurations supported by this script.
16600
# ### BEGIN LIBTOOL CONFIG
16602
# Which release of libtool.m4 was used?
16603
macro_version=$macro_version
16604
macro_revision=$macro_revision
16606
# Whether or not to build shared libraries.
16607
build_libtool_libs=$enable_shared
16609
# Whether or not to build static libraries.
16610
build_old_libs=$enable_static
16612
# What type of objects to build.
16615
# Whether or not to optimize for fast installation.
16616
fast_install=$enable_fast_install
16618
# Shell to use when invoking shell scripts.
16621
# An echo program that protects backslashes.
16625
host_alias=$host_alias
16629
# The build system.
16630
build_alias=$build_alias
16634
# A sed program that does not truncate output.
16637
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16638
Xsed="\$SED -e 1s/^X//"
16640
# A grep program that handles long lines.
16646
# A literal string matcher.
16649
# A BSD- or MS-compatible name lister.
16652
# Whether we need soft or hard links.
16655
# What is the maximum length of a command?
16656
max_cmd_len=$max_cmd_len
16658
# Object file suffix (normally "o").
16661
# Executable file suffix (normally "").
16664
# whether the shell understands "unset".
16667
# turn spaces into newlines.
16670
# turn newlines into spaces.
16673
# convert \$build file names to \$host format.
16674
to_host_file_cmd=$lt_cv_to_host_file_cmd
16676
# convert \$build files to toolchain format.
16677
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16679
# An object symbol dumper.
16680
OBJDUMP=$lt_OBJDUMP
16682
# Method to check whether dependent libraries are shared objects.
16683
deplibs_check_method=$lt_deplibs_check_method
16685
# Command to use when deplibs_check_method = "file_magic".
16686
file_magic_cmd=$lt_file_magic_cmd
16688
# How to find potential files when deplibs_check_method = "file_magic".
16689
file_magic_glob=$lt_file_magic_glob
16691
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16692
want_nocaseglob=$lt_want_nocaseglob
16694
# DLL creation program.
16695
DLLTOOL=$lt_DLLTOOL
16697
# Command to associate shared and link libraries.
16698
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16703
# Flags to create an archive.
16704
AR_FLAGS=$lt_AR_FLAGS
16706
# How to feed a file listing to the archiver.
16707
archiver_list_spec=$lt_archiver_list_spec
16709
# A symbol stripping program.
16712
# Commands used to install an old-style archive.
16714
old_postinstall_cmds=$lt_old_postinstall_cmds
16715
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16717
# Whether to use a lock for old archive extraction.
16718
lock_old_archive_extraction=$lock_old_archive_extraction
16723
# LTCC compiler flags.
16724
LTCFLAGS=$lt_CFLAGS
16726
# Take the output of nm and produce a listing of raw symbols and C names.
16727
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16729
# Transform the output of nm in a proper C declaration.
16730
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16732
# Transform the output of nm in a C name address pair.
16733
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16735
# Transform the output of nm in a C name address pair when lib prefix is needed.
16736
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16738
# Specify filename containing input files for \$NM.
16739
nm_file_list_spec=$lt_nm_file_list_spec
16741
# The root where to search for dependent libraries,and in which our libraries should be installed.
16742
lt_sysroot=$lt_sysroot
16744
# The name of the directory that contains temporary libtool files.
16747
# Used to examine libraries when file_magic_cmd begins with "file".
16748
MAGIC_CMD=$MAGIC_CMD
16750
# Must we lock files when doing compilation?
16751
need_locks=$lt_need_locks
16754
MANIFEST_TOOL=$lt_MANIFEST_TOOL
16756
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16757
DSYMUTIL=$lt_DSYMUTIL
16759
# Tool to change global to local symbols on Mac OS X.
16762
# Tool to manipulate fat objects and archives on Mac OS X.
16765
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16768
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16769
OTOOL64=$lt_OTOOL64
16771
# Old archive suffix (normally "a").
16774
# Shared library suffix (normally ".so").
16775
shrext_cmds=$lt_shrext_cmds
16777
# The commands to extract the exported symbol list from a shared archive.
16778
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16780
# Variables whose values should be saved in libtool wrapper scripts and
16781
# restored at link time.
16782
variables_saved_for_relink=$lt_variables_saved_for_relink
16784
# Do we need the "lib" prefix for modules?
16785
need_lib_prefix=$need_lib_prefix
16787
# Do we need a version for libraries?
16788
need_version=$need_version
16790
# Library versioning type.
16791
version_type=$version_type
16793
# Shared library runtime path variable.
16794
runpath_var=$runpath_var
16796
# Shared library path variable.
16797
shlibpath_var=$shlibpath_var
16799
# Is shlibpath searched before the hard-coded library search path?
16800
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16802
# Format of library name prefix.
16803
libname_spec=$lt_libname_spec
16805
# List of archive names. First name is the real one, the rest are links.
16806
# The last name is the one that the linker finds with -lNAME
16807
library_names_spec=$lt_library_names_spec
16809
# The coded name of the library, if different from the real name.
16810
soname_spec=$lt_soname_spec
16812
# Permission mode override for installation of shared libraries.
16813
install_override_mode=$lt_install_override_mode
16815
# Command to use after installation of a shared archive.
16816
postinstall_cmds=$lt_postinstall_cmds
16818
# Command to use after uninstallation of a shared archive.
16819
postuninstall_cmds=$lt_postuninstall_cmds
16821
# Commands used to finish a libtool library installation in a directory.
16822
finish_cmds=$lt_finish_cmds
16824
# As "finish_cmds", except a single script fragment to be evaled but
16826
finish_eval=$lt_finish_eval
16828
# Whether we should hardcode library paths into libraries.
16829
hardcode_into_libs=$hardcode_into_libs
16831
# Compile-time system search path for libraries.
16832
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16834
# Run-time system search path for libraries.
16835
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16837
# Whether dlopen is supported.
16838
dlopen_support=$enable_dlopen
16840
# Whether dlopen of programs is supported.
16841
dlopen_self=$enable_dlopen_self
16843
# Whether dlopen of statically linked programs is supported.
16844
dlopen_self_static=$enable_dlopen_self_static
16846
# Commands to strip libraries.
16847
old_striplib=$lt_old_striplib
16848
striplib=$lt_striplib
16851
# The linker used to build libraries.
16854
# How to create reloadable object files.
16855
reload_flag=$lt_reload_flag
16856
reload_cmds=$lt_reload_cmds
16858
# Commands used to build an old-style archive.
16859
old_archive_cmds=$lt_old_archive_cmds
16861
# A language specific compiler.
16864
# Is the compiler the GNU compiler?
16867
# Compiler flag to turn off builtin functions.
16868
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16870
# Additional compiler flags for building library objects.
16871
pic_flag=$lt_lt_prog_compiler_pic
16873
# How to pass a linker flag through the compiler.
16874
wl=$lt_lt_prog_compiler_wl
16876
# Compiler flag to prevent dynamic linking.
16877
link_static_flag=$lt_lt_prog_compiler_static
16879
# Does compiler simultaneously support -c and -o options?
16880
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16882
# Whether or not to add -lc for building shared libraries.
16883
build_libtool_need_lc=$archive_cmds_need_lc
16885
# Whether or not to disallow shared libs when runtime libs are static.
16886
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16888
# Compiler flag to allow reflexive dlopens.
16889
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16891
# Compiler flag to generate shared objects directly from archives.
16892
whole_archive_flag_spec=$lt_whole_archive_flag_spec
16894
# Whether the compiler copes with passing no objects directly.
16895
compiler_needs_object=$lt_compiler_needs_object
16897
# Create an old-style archive from a shared archive.
16898
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16900
# Create a temporary old-style archive to link instead of a shared archive.
16901
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16903
# Commands used to build a shared archive.
16904
archive_cmds=$lt_archive_cmds
16905
archive_expsym_cmds=$lt_archive_expsym_cmds
16907
# Commands used to build a loadable module if different from building
16908
# a shared archive.
16909
module_cmds=$lt_module_cmds
16910
module_expsym_cmds=$lt_module_expsym_cmds
16912
# Whether we are building with GNU ld or not.
16913
with_gnu_ld=$lt_with_gnu_ld
16915
# Flag that allows shared libraries with undefined symbols to be built.
16916
allow_undefined_flag=$lt_allow_undefined_flag
16918
# Flag that enforces no undefined symbols.
16919
no_undefined_flag=$lt_no_undefined_flag
16921
# Flag to hardcode \$libdir into a binary during linking.
16922
# This must work even if \$libdir does not exist
16923
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16925
# If ld is used when linking, flag to hardcode \$libdir into a binary
16926
# during linking. This must work even if \$libdir does not exist.
16927
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16929
# Whether we need a single "-rpath" flag with a separated argument.
16930
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16932
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16933
# DIR into the resulting binary.
16934
hardcode_direct=$hardcode_direct
16936
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16937
# DIR into the resulting binary and the resulting library dependency is
16938
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16939
# library is relocated.
16940
hardcode_direct_absolute=$hardcode_direct_absolute
16942
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16943
# into the resulting binary.
16944
hardcode_minus_L=$hardcode_minus_L
16946
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16947
# into the resulting binary.
16948
hardcode_shlibpath_var=$hardcode_shlibpath_var
16950
# Set to "yes" if building a shared library automatically hardcodes DIR
16951
# into the library and all subsequent libraries and executables linked
16953
hardcode_automatic=$hardcode_automatic
16955
# Set to yes if linker adds runtime paths of dependent libraries
16956
# to runtime path list.
16957
inherit_rpath=$inherit_rpath
16959
# Whether libtool must link a program against all its dependency libraries.
16960
link_all_deplibs=$link_all_deplibs
16962
# Set to "yes" if exported symbols are required.
16963
always_export_symbols=$always_export_symbols
16965
# The commands to list exported symbols.
16966
export_symbols_cmds=$lt_export_symbols_cmds
16968
# Symbols that should not be listed in the preloaded symbols.
16969
exclude_expsyms=$lt_exclude_expsyms
16971
# Symbols that must always be exported.
16972
include_expsyms=$lt_include_expsyms
16974
# Commands necessary for linking programs (against libraries) with templates.
16975
prelink_cmds=$lt_prelink_cmds
16977
# Commands necessary for finishing linking programs.
16978
postlink_cmds=$lt_postlink_cmds
16980
# Specify filename containing input files.
16981
file_list_spec=$lt_file_list_spec
16983
# How to hardcode a shared library path into an executable.
16984
hardcode_action=$hardcode_action
16986
# ### END LIBTOOL CONFIG
16992
cat <<\_LT_EOF >> "$cfgfile"
16993
# AIX sometimes has problems with the GCC collect2 program. For some
16994
# reason, if we set the COLLECT_NAMES environment variable, the problems
16995
# vanish in a puff of smoke.
16996
if test "X${COLLECT_NAMES+set}" != Xset; then
16998
export COLLECT_NAMES
17005
ltmain="$ac_aux_dir/ltmain.sh"
17008
# We use sed instead of cat because bash on DJGPP gets confused if
17009
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17010
# text mode, it properly converts lines to CR/LF. This bash problem
17011
# is reportedly fixed, but why not run on old versions too?
17012
sed '$q' "$ltmain" >> "$cfgfile" \
17013
|| (rm -f "$cfgfile"; exit 1)
17015
if test x"$xsi_shell" = xyes; then
17016
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17020
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17021
\ * ) func_dirname_result="${3}" ;;\
17023
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17024
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17025
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17026
test 0 -eq $? || _lt_function_replace_fail=:
17029
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17032
\ func_basename_result="${1##*/}"\
17033
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17034
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17035
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17036
test 0 -eq $? || _lt_function_replace_fail=:
17039
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17040
func_dirname_and_basename ()\
17043
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17044
\ * ) func_dirname_result="${3}" ;;\
17046
\ func_basename_result="${1##*/}"\
17047
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17048
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17049
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17050
test 0 -eq $? || _lt_function_replace_fail=:
17053
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17056
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17057
\ # positional parameters, so assign one to ordinary parameter first.\
17058
\ func_stripname_result=${3}\
17059
\ func_stripname_result=${func_stripname_result#"${1}"}\
17060
\ func_stripname_result=${func_stripname_result%"${2}"}\
17061
} # Extended-shell func_stripname 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_split_long_opt ()$/,/^} # func_split_long_opt /c\
17068
func_split_long_opt ()\
17070
\ func_split_long_opt_name=${1%%=*}\
17071
\ func_split_long_opt_arg=${1#*=}\
17072
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17073
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17074
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17075
test 0 -eq $? || _lt_function_replace_fail=:
17078
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17079
func_split_short_opt ()\
17081
\ func_split_short_opt_arg=${1#??}\
17082
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17083
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17084
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17085
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17086
test 0 -eq $? || _lt_function_replace_fail=:
17089
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17093
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17094
\ *) func_lo2o_result=${1} ;;\
17096
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17097
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17098
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17099
test 0 -eq $? || _lt_function_replace_fail=:
17102
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17105
func_xform_result=${1%.*}.lo\
17106
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17107
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17108
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17109
test 0 -eq $? || _lt_function_replace_fail=:
17112
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17115
func_arith_result=$(( $* ))\
17116
} # Extended-shell func_arith 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_len ()$/,/^} # func_len /c\
17125
func_len_result=${#1}\
17126
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17127
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17128
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17129
test 0 -eq $? || _lt_function_replace_fail=:
17133
if test x"$lt_shell_append" = xyes; then
17134
sed -e '/^func_append ()$/,/^} # func_append /c\
17137
eval "${1}+=\\${2}"\
17138
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17139
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17140
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17141
test 0 -eq $? || _lt_function_replace_fail=:
17144
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17145
func_append_quoted ()\
17147
\ func_quote_for_eval "${2}"\
17148
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17149
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17150
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17151
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17152
test 0 -eq $? || _lt_function_replace_fail=:
17155
# Save a `func_append' function call where possible by direct use of '+='
17156
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17157
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17158
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17159
test 0 -eq $? || _lt_function_replace_fail=:
17161
# Save a `func_append' function call even when '+=' is not available
17162
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17163
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17164
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17165
test 0 -eq $? || _lt_function_replace_fail=:
17168
if test x"$_lt_function_replace_fail" = x":"; then
17169
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17170
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17174
mv -f "$cfgfile" "$ofile" ||
17175
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17180
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17181
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17183
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17188
'"s|^| $ac_top_srcdir/|" \
17189
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17191
sed '/^POTFILES =/,/[^\\]$/ {
17195
' "po/Makefile.in" >"po/Makefile"
17196
rm -f "po/Makefile.tmp"
17197
mv "po/stamp-it.tmp" "po/stamp-it"
17206
ac_clean_files=$ac_clean_files_save
17208
test $ac_write_fail = 0 ||
17209
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17212
# configure is writing to config.log, and then calls config.status.
17213
# config.status does its own redirection, appending to config.log.
17214
# Unfortunately, on DOS this fails, as config.log is still kept open
17215
# by configure, so config.status won't be able to write to it; its
17216
# output is simply discarded. So we exec the FD to /dev/null,
17217
# effectively closing config.log, so it can be properly (re)opened and
17218
# appended to by config.status. When coming back to configure, we
17219
# need to make the FD available again.
17220
if test "$no_create" != yes; then
17222
ac_config_status_args=
17223
test "$silent" = yes &&
17224
ac_config_status_args="$ac_config_status_args --quiet"
17226
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17228
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17229
# would make configure fail if this is the last instruction.
17230
$ac_cs_success || as_fn_exit 1
17232
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17233
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17234
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}