2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
# ----------------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with STATUS, using 1 if that was 0.
366
as_status=$1; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
$as_echo "$as_me: error: $2" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in #(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
# Check that we are running under the correct shell.
531
SHELL=${CONFIG_SHELL-/bin/sh}
535
# Remove one level of quotation (which was required for Make).
536
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
if test "X$1" = X--no-reexec; then
542
# Discard the --no-reexec flag, and continue.
544
elif test "X$1" = X--fallback-echo; then
545
# Avoid inline document here, it may be left over
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
# Yippee, $ECHO works!
551
# Restart under the correct shell.
552
exec $SHELL "$0" --no-reexec ${1+"$@"}
555
if test "X$1" = X--fallback-echo; then
556
# used as fallback echo
564
# The HP-UX ksh and POSIX shell print the target directory to stdout
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568
if test -z "$lt_ECHO"; then
569
if test "X${echo_test_string+set}" != Xset; then
570
# find a string as large as possible, as long as the shell can cope with it
571
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
test "X$echo_testing_string" = "X$echo_test_string"; then
586
# The Solaris, AIX, and Digital Unix default echo programs unquote
587
# backslashes. This makes it impossible to quote backslashes using
588
# echo "$something" | sed 's/\\/\\\\/g'
590
# So, first we look for a working echo in the user's PATH.
592
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
for dir in $PATH /usr/ucb; do
595
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
test "X$echo_testing_string" = "X$echo_test_string"; then
605
if test "X$ECHO" = Xecho; then
606
# We didn't find a better echo, so look for alternatives.
607
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# This shell has a builtin print -r that does the trick.
612
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
test "X$CONFIG_SHELL" != X/bin/ksh; then
614
# If we have ksh, try running configure again with it.
615
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
export ORIGINAL_CONFIG_SHELL
617
CONFIG_SHELL=/bin/ksh
619
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
test "X$echo_testing_string" = "X$echo_test_string"; then
628
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
test "X$echo_testing_string" = 'X\t' &&
630
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
test "X$echo_testing_string" = "X$echo_test_string"; then
632
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634
SHELL="$CONFIG_SHELL"
636
ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
test "X$echo_testing_string" = 'X\t' &&
639
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
test "X$echo_testing_string" = "X$echo_test_string"; then
641
ECHO="$CONFIG_SHELL $0 --fallback-echo"
643
# maybe with a smaller string...
646
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654
if test "$prev" != 'sed 50q "$0"'; then
655
echo_test_string=`eval $prev`
656
export echo_test_string
657
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659
# Oops. We lost completely, so just stick with echo.
668
# Copy echo and quote the copy suitably for passing to libtool from
669
# the Makefile, instead of quoting the original, which is used later.
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
test -n "$DJDIR" || exec 7<&0 </dev/null
682
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
# so uname gets run too.
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
ac_default_prefix=/usr/local
691
ac_config_libobj_dir=.
698
# Identity of this package.
706
ac_unique_file="src/main.c"
707
# Factoring default headers for most tests.
708
ac_includes_default="\
710
#ifdef HAVE_SYS_TYPES_H
711
# include <sys/types.h>
713
#ifdef HAVE_SYS_STAT_H
714
# include <sys/stat.h>
720
# ifdef HAVE_STDLIB_H
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730
#ifdef HAVE_STRINGS_H
731
# include <strings.h>
733
#ifdef HAVE_INTTYPES_H
734
# include <inttypes.h>
743
ac_subst_vars='am__EXEEXT_FALSE
818
INTLTOOL_SERVICE_RULE
820
INTLTOOL_SCHEMAS_RULE
822
INTLTOOL_XML_NOMERGE_RULE
827
INTLTOOL_SOUNDLIST_RULE
834
INTLTOOL_DIRECTORY_RULE
835
INTLTOOL_DESKTOP_RULE
841
MAINTAINER_MODE_FALSE
851
INSTALL_STRIP_PROGRAM
893
program_transform_name
906
enable_option_checking
907
enable_maintainer_mode
909
enable_dependency_tracking
919
ac_precious_vars='build_alias
935
# Initialize some variables set by options.
937
ac_init_version=false
938
ac_unrecognized_opts=
940
# The variables have the same names as the options, with
941
# dashes changed to underlines.
949
program_transform_name=s,x,x,
957
# Installation directory options.
958
# These are left unexpanded so users can "make install exec_prefix=/foo"
959
# and all the variables that are supposed to be based on exec_prefix
960
# by default will actually change.
961
# Use braces instead of parens because sh, perl, etc. also accept them.
962
# (The list follows the same order as the GNU Coding Standards.)
963
bindir='${exec_prefix}/bin'
964
sbindir='${exec_prefix}/sbin'
965
libexecdir='${exec_prefix}/libexec'
966
datarootdir='${prefix}/share'
967
datadir='${datarootdir}'
968
sysconfdir='${prefix}/etc'
969
sharedstatedir='${prefix}/com'
970
localstatedir='${prefix}/var'
971
includedir='${prefix}/include'
972
oldincludedir='/usr/include'
973
docdir='${datarootdir}/doc/${PACKAGE}'
974
infodir='${datarootdir}/info'
979
libdir='${exec_prefix}/lib'
980
localedir='${datarootdir}/locale'
981
mandir='${datarootdir}/man'
987
# If the previous option needs an argument, assign it.
988
if test -n "$ac_prev"; then
989
eval $ac_prev=\$ac_option
995
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000
# Accept the important Cygnus configure options, so we can diagnose typos.
1002
case $ac_dashdash$ac_option in
1006
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1008
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009
bindir=$ac_optarg ;;
1011
-build | --build | --buil | --bui | --bu)
1012
ac_prev=build_alias ;;
1013
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014
build_alias=$ac_optarg ;;
1016
-cache-file | --cache-file | --cache-fil | --cache-fi \
1017
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018
ac_prev=cache_file ;;
1019
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021
cache_file=$ac_optarg ;;
1023
--config-cache | -C)
1024
cache_file=config.cache ;;
1026
-datadir | --datadir | --datadi | --datad)
1028
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1029
datadir=$ac_optarg ;;
1031
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032
| --dataroo | --dataro | --datar)
1033
ac_prev=datarootdir ;;
1034
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036
datarootdir=$ac_optarg ;;
1038
-disable-* | --disable-*)
1039
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040
# Reject names that are not valid shell variable names.
1041
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042
as_fn_error $? "invalid feature name: $ac_useropt"
1043
ac_useropt_orig=$ac_useropt
1044
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045
case $ac_user_opts in
1047
"enable_$ac_useropt"
1049
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050
ac_unrecognized_sep=', ';;
1052
eval enable_$ac_useropt=no ;;
1054
-docdir | --docdir | --docdi | --doc | --do)
1056
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057
docdir=$ac_optarg ;;
1059
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1061
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062
dvidir=$ac_optarg ;;
1064
-enable-* | --enable-*)
1065
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066
# Reject names that are not valid shell variable names.
1067
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068
as_fn_error $? "invalid feature name: $ac_useropt"
1069
ac_useropt_orig=$ac_useropt
1070
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071
case $ac_user_opts in
1073
"enable_$ac_useropt"
1075
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076
ac_unrecognized_sep=', ';;
1078
eval enable_$ac_useropt=\$ac_optarg ;;
1080
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082
| --exec | --exe | --ex)
1083
ac_prev=exec_prefix ;;
1084
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086
| --exec=* | --exe=* | --ex=*)
1087
exec_prefix=$ac_optarg ;;
1089
-gas | --gas | --ga | --g)
1090
# Obsolete; use --with-gas.
1093
-help | --help | --hel | --he | -h)
1094
ac_init_help=long ;;
1095
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096
ac_init_help=recursive ;;
1097
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098
ac_init_help=short ;;
1100
-host | --host | --hos | --ho)
1101
ac_prev=host_alias ;;
1102
-host=* | --host=* | --hos=* | --ho=*)
1103
host_alias=$ac_optarg ;;
1105
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1107
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1109
htmldir=$ac_optarg ;;
1111
-includedir | --includedir | --includedi | --included | --include \
1112
| --includ | --inclu | --incl | --inc)
1113
ac_prev=includedir ;;
1114
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115
| --includ=* | --inclu=* | --incl=* | --inc=*)
1116
includedir=$ac_optarg ;;
1118
-infodir | --infodir | --infodi | --infod | --info | --inf)
1120
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121
infodir=$ac_optarg ;;
1123
-libdir | --libdir | --libdi | --libd)
1125
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1126
libdir=$ac_optarg ;;
1128
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129
| --libexe | --libex | --libe)
1130
ac_prev=libexecdir ;;
1131
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132
| --libexe=* | --libex=* | --libe=*)
1133
libexecdir=$ac_optarg ;;
1135
-localedir | --localedir | --localedi | --localed | --locale)
1136
ac_prev=localedir ;;
1137
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138
localedir=$ac_optarg ;;
1140
-localstatedir | --localstatedir | --localstatedi | --localstated \
1141
| --localstate | --localstat | --localsta | --localst | --locals)
1142
ac_prev=localstatedir ;;
1143
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145
localstatedir=$ac_optarg ;;
1147
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1149
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150
mandir=$ac_optarg ;;
1152
-nfp | --nfp | --nf)
1153
# Obsolete; use --without-fp.
1156
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157
| --no-cr | --no-c | -n)
1160
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1164
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166
| --oldin | --oldi | --old | --ol | --o)
1167
ac_prev=oldincludedir ;;
1168
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171
oldincludedir=$ac_optarg ;;
1173
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1175
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176
prefix=$ac_optarg ;;
1178
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1179
| --program-pre | --program-pr | --program-p)
1180
ac_prev=program_prefix ;;
1181
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1182
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183
program_prefix=$ac_optarg ;;
1185
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1186
| --program-suf | --program-su | --program-s)
1187
ac_prev=program_suffix ;;
1188
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1189
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190
program_suffix=$ac_optarg ;;
1192
-program-transform-name | --program-transform-name \
1193
| --program-transform-nam | --program-transform-na \
1194
| --program-transform-n | --program-transform- \
1195
| --program-transform | --program-transfor \
1196
| --program-transfo | --program-transf \
1197
| --program-trans | --program-tran \
1198
| --progr-tra | --program-tr | --program-t)
1199
ac_prev=program_transform_name ;;
1200
-program-transform-name=* | --program-transform-name=* \
1201
| --program-transform-nam=* | --program-transform-na=* \
1202
| --program-transform-n=* | --program-transform-=* \
1203
| --program-transform=* | --program-transfor=* \
1204
| --program-transfo=* | --program-transf=* \
1205
| --program-trans=* | --program-tran=* \
1206
| --progr-tra=* | --program-tr=* | --program-t=*)
1207
program_transform_name=$ac_optarg ;;
1209
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1211
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212
pdfdir=$ac_optarg ;;
1214
-psdir | --psdir | --psdi | --psd | --ps)
1216
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1219
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220
| -silent | --silent | --silen | --sile | --sil)
1223
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1225
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1227
sbindir=$ac_optarg ;;
1229
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1230
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231
| --sharedst | --shareds | --shared | --share | --shar \
1233
ac_prev=sharedstatedir ;;
1234
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1238
sharedstatedir=$ac_optarg ;;
1240
-site | --site | --sit)
1242
-site=* | --site=* | --sit=*)
1245
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1247
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248
srcdir=$ac_optarg ;;
1250
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251
| --syscon | --sysco | --sysc | --sys | --sy)
1252
ac_prev=sysconfdir ;;
1253
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255
sysconfdir=$ac_optarg ;;
1257
-target | --target | --targe | --targ | --tar | --ta | --t)
1258
ac_prev=target_alias ;;
1259
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260
target_alias=$ac_optarg ;;
1262
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1265
-version | --version | --versio | --versi | --vers | -V)
1266
ac_init_version=: ;;
1269
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270
# Reject names that are not valid shell variable names.
1271
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272
as_fn_error $? "invalid package name: $ac_useropt"
1273
ac_useropt_orig=$ac_useropt
1274
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275
case $ac_user_opts in
1279
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280
ac_unrecognized_sep=', ';;
1282
eval with_$ac_useropt=\$ac_optarg ;;
1284
-without-* | --without-*)
1285
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286
# Reject names that are not valid shell variable names.
1287
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288
as_fn_error $? "invalid package name: $ac_useropt"
1289
ac_useropt_orig=$ac_useropt
1290
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291
case $ac_user_opts in
1295
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1296
ac_unrecognized_sep=', ';;
1298
eval with_$ac_useropt=no ;;
1301
# Obsolete; use --with-x.
1304
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1305
| --x-incl | --x-inc | --x-in | --x-i)
1306
ac_prev=x_includes ;;
1307
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1308
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1309
x_includes=$ac_optarg ;;
1311
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1312
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1313
ac_prev=x_libraries ;;
1314
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1315
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1316
x_libraries=$ac_optarg ;;
1318
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1319
Try \`$0 --help' for more information"
1323
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1324
# Reject names that are not valid shell variable names.
1325
case $ac_envvar in #(
1326
'' | [0-9]* | *[!_$as_cr_alnum]* )
1327
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1329
eval $ac_envvar=\$ac_optarg
1330
export $ac_envvar ;;
1333
# FIXME: should be removed in autoconf 3.0.
1334
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1335
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1336
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1337
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1343
if test -n "$ac_prev"; then
1344
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1345
as_fn_error $? "missing argument to $ac_option"
1348
if test -n "$ac_unrecognized_opts"; then
1349
case $enable_option_checking in
1351
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1352
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1356
# Check all directory arguments for consistency.
1357
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358
datadir sysconfdir sharedstatedir localstatedir includedir \
1359
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360
libdir localedir mandir
1362
eval ac_val=\$$ac_var
1363
# Remove trailing slashes.
1366
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367
eval $ac_var=\$ac_val;;
1369
# Be sure to have absolute directory names.
1371
[\\/$]* | ?:[\\/]* ) continue;;
1372
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1374
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1377
# There might be people who depend on the old broken behavior: `$host'
1378
# used to hold the argument of --host etc.
1379
# FIXME: To remove some day.
1382
target=$target_alias
1384
# FIXME: To remove some day.
1385
if test "x$host_alias" != x; then
1386
if test "x$build_alias" = x; then
1387
cross_compiling=maybe
1388
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1389
If a cross compiler is detected then cross compile mode will be used" >&2
1390
elif test "x$build_alias" != "x$host_alias"; then
1396
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1398
test "$silent" = yes && exec 6>/dev/null
1401
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1402
ac_ls_di=`ls -di .` &&
1403
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404
as_fn_error $? "working directory cannot be determined"
1405
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406
as_fn_error $? "pwd does not report name of working directory"
1409
# Find the source files, if location was not specified.
1410
if test -z "$srcdir"; then
1411
ac_srcdir_defaulted=yes
1412
# Try the directory containing this script, then the parent directory.
1413
ac_confdir=`$as_dirname -- "$as_myself" ||
1414
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415
X"$as_myself" : 'X\(//\)[^/]' \| \
1416
X"$as_myself" : 'X\(//\)$' \| \
1417
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418
$as_echo X"$as_myself" |
1419
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1437
if test ! -r "$srcdir/$ac_unique_file"; then
1441
ac_srcdir_defaulted=no
1443
if test ! -r "$srcdir/$ac_unique_file"; then
1444
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1445
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1447
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1449
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1451
# When building in place, set srcdir=.
1452
if test "$ac_abs_confdir" = "$ac_pwd"; then
1455
# Remove unnecessary trailing slashes from srcdir.
1456
# Double slashes in file names in object file debugging info
1457
# mess up M-x gdb in Emacs.
1459
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1461
for ac_var in $ac_precious_vars; do
1462
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1463
eval ac_env_${ac_var}_value=\$${ac_var}
1464
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1465
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1469
# Report the --help message.
1471
if test "$ac_init_help" = "long"; then
1472
# Omit some internal or obsolete options to make the list less imposing.
1473
# This message is too long to be a string in the A/UX 3.1 sh.
1475
\`configure' configures this package to adapt to many kinds of systems.
1477
Usage: $0 [OPTION]... [VAR=VALUE]...
1479
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480
VAR=VALUE. See below for descriptions of some of the useful variables.
1482
Defaults for the options are specified in brackets.
1485
-h, --help display this help and exit
1486
--help=short display options specific to this package
1487
--help=recursive display the short help of all the included packages
1488
-V, --version display version information and exit
1489
-q, --quiet, --silent do not print \`checking ...' messages
1490
--cache-file=FILE cache test results in FILE [disabled]
1491
-C, --config-cache alias for \`--cache-file=config.cache'
1492
-n, --no-create do not create output files
1493
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1495
Installation directories:
1496
--prefix=PREFIX install architecture-independent files in PREFIX
1497
[$ac_default_prefix]
1498
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1501
By default, \`make install' will install all the files in
1502
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1503
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504
for instance \`--prefix=\$HOME'.
1506
For better control, use the options below.
1508
Fine tuning of the installation directories:
1509
--bindir=DIR user executables [EPREFIX/bin]
1510
--sbindir=DIR system admin executables [EPREFIX/sbin]
1511
--libexecdir=DIR program executables [EPREFIX/libexec]
1512
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1513
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1514
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1515
--libdir=DIR object code libraries [EPREFIX/lib]
1516
--includedir=DIR C header files [PREFIX/include]
1517
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1518
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1519
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1520
--infodir=DIR info documentation [DATAROOTDIR/info]
1521
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1522
--mandir=DIR man documentation [DATAROOTDIR/man]
1523
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1524
--htmldir=DIR html documentation [DOCDIR]
1525
--dvidir=DIR dvi documentation [DOCDIR]
1526
--pdfdir=DIR pdf documentation [DOCDIR]
1527
--psdir=DIR ps documentation [DOCDIR]
1533
--program-prefix=PREFIX prepend PREFIX to installed program names
1534
--program-suffix=SUFFIX append SUFFIX to installed program names
1535
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1538
--build=BUILD configure for building on BUILD [guessed]
1539
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1543
if test -n "$ac_init_help"; then
1548
--disable-option-checking ignore unrecognized --enable/--with options
1549
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1550
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1551
--enable-maintainer-mode enable make rules and dependencies not useful
1552
(and sometimes confusing) to the casual installer
1553
--disable-nls do not use Native Language Support
1554
--disable-dependency-tracking speeds up one-time build
1555
--enable-dependency-tracking do not reject slow dependency extractors
1556
--enable-shared[=PKGS] build shared libraries [default=yes]
1557
--enable-static[=PKGS] build static libraries [default=yes]
1558
--enable-fast-install[=PKGS]
1559
optimize for fast installation [default=yes]
1560
--disable-libtool-lock avoid locking (might break parallel builds)
1561
--enable-coverage enable coverge reports
1562
--enable-caches Run update-* to update desktop and icon caches when installing (disable if you install as not root)
1565
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1566
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1567
--with-pic try to use only PIC/non-PIC objects [default=use
1569
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1571
Some influential environment variables:
1572
CC C compiler command
1573
CFLAGS C compiler flags
1574
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1575
nonstandard directory <lib dir>
1576
LIBS libraries to pass to the linker, e.g. -l<library>
1577
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1578
you have headers in a nonstandard directory <include dir>
1580
PKG_CONFIG path to pkg-config utility
1582
directories to add to pkg-config's search path
1584
path overriding pkg-config's built-in search path
1586
C compiler flags for PACKAGE, overriding pkg-config
1588
linker flags for PACKAGE, overriding pkg-config
1590
Use these variables to override the choices made by `configure' or to help
1591
it to find libraries and programs with nonstandard names/locations.
1593
Report bugs to the package provider.
1598
if test "$ac_init_help" = "recursive"; then
1599
# If there are subdirs, report their specific --help.
1600
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601
test -d "$ac_dir" ||
1602
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1609
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1610
# A ".." for each directory in $ac_dir_suffix.
1611
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1612
case $ac_top_builddir_sub in
1613
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1617
ac_abs_top_builddir=$ac_pwd
1618
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1619
# for backward compatibility:
1620
ac_top_builddir=$ac_top_build_prefix
1623
.) # We are building in place.
1625
ac_top_srcdir=$ac_top_builddir_sub
1626
ac_abs_top_srcdir=$ac_pwd ;;
1627
[\\/]* | ?:[\\/]* ) # Absolute name.
1628
ac_srcdir=$srcdir$ac_dir_suffix;
1629
ac_top_srcdir=$srcdir
1630
ac_abs_top_srcdir=$srcdir ;;
1632
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633
ac_top_srcdir=$ac_top_build_prefix$srcdir
1634
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1636
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1638
cd "$ac_dir" || { ac_status=$?; continue; }
1639
# Check for guested configure.
1640
if test -f "$ac_srcdir/configure.gnu"; then
1642
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643
elif test -f "$ac_srcdir/configure"; then
1645
$SHELL "$ac_srcdir/configure" --help=recursive
1647
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1649
cd "$ac_pwd" || { ac_status=$?; break; }
1653
test -n "$ac_init_help" && exit $ac_status
1654
if $ac_init_version; then
1657
generated by GNU Autoconf 2.67
1659
Copyright (C) 2010 Free Software Foundation, Inc.
1660
This configure script is free software; the Free Software Foundation
1661
gives unlimited permission to copy, distribute and modify it.
1666
## ------------------------ ##
1667
## Autoconf initialization. ##
1668
## ------------------------ ##
1670
# ac_fn_c_try_compile LINENO
1671
# --------------------------
1672
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1673
ac_fn_c_try_compile ()
1675
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676
rm -f conftest.$ac_objext
1677
if { { ac_try="$ac_compile"
1679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680
*) ac_try_echo=$ac_try;;
1682
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683
$as_echo "$ac_try_echo"; } >&5
1684
(eval "$ac_compile") 2>conftest.err
1686
if test -s conftest.err; then
1687
grep -v '^ *+' conftest.err >conftest.er1
1688
cat conftest.er1 >&5
1689
mv -f conftest.er1 conftest.err
1691
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692
test $ac_status = 0; } && {
1693
test -z "$ac_c_werror_flag" ||
1694
test ! -s conftest.err
1695
} && test -s conftest.$ac_objext; then :
1698
$as_echo "$as_me: failed program was:" >&5
1699
sed 's/^/| /' conftest.$ac_ext >&5
1703
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704
as_fn_set_status $ac_retval
1706
} # ac_fn_c_try_compile
1708
# ac_fn_c_try_link LINENO
1709
# -----------------------
1710
# Try to link conftest.$ac_ext, and return whether this succeeded.
1713
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714
rm -f conftest.$ac_objext conftest$ac_exeext
1715
if { { ac_try="$ac_link"
1717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718
*) ac_try_echo=$ac_try;;
1720
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721
$as_echo "$ac_try_echo"; } >&5
1722
(eval "$ac_link") 2>conftest.err
1724
if test -s conftest.err; then
1725
grep -v '^ *+' conftest.err >conftest.er1
1726
cat conftest.er1 >&5
1727
mv -f conftest.er1 conftest.err
1729
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730
test $ac_status = 0; } && {
1731
test -z "$ac_c_werror_flag" ||
1732
test ! -s conftest.err
1733
} && test -s conftest$ac_exeext && {
1734
test "$cross_compiling" = yes ||
1735
$as_test_x conftest$ac_exeext
1739
$as_echo "$as_me: failed program was:" >&5
1740
sed 's/^/| /' conftest.$ac_ext >&5
1744
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746
# interfere with the next link command; also delete a directory that is
1747
# left behind by Apple's compiler. We do this before executing the actions.
1748
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750
as_fn_set_status $ac_retval
1752
} # ac_fn_c_try_link
1754
# ac_fn_c_check_func LINENO FUNC VAR
1755
# ----------------------------------
1756
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1757
ac_fn_c_check_func ()
1759
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761
$as_echo_n "checking for $2... " >&6; }
1762
if eval "test \"\${$3+set}\"" = set; then :
1763
$as_echo_n "(cached) " >&6
1765
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766
/* end confdefs.h. */
1767
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1768
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1769
#define $2 innocuous_$2
1771
/* System header to define __stub macros and hopefully few prototypes,
1772
which can conflict with char $2 (); below.
1773
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1774
<limits.h> exists even on freestanding compilers. */
1777
# include <limits.h>
1779
# include <assert.h>
1784
/* Override any GCC internal prototype to avoid an error.
1785
Use char because int might match the return type of a GCC
1786
builtin and then its argument prototype would still apply. */
1791
/* The GNU C library defines this for functions which it implements
1792
to always fail with ENOSYS. Some functions are actually named
1793
something starting with __ and the normal name is an alias. */
1794
#if defined __stub_$2 || defined __stub___$2
1806
if ac_fn_c_try_link "$LINENO"; then :
1811
rm -f core conftest.err conftest.$ac_objext \
1812
conftest$ac_exeext conftest.$ac_ext
1815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816
$as_echo "$ac_res" >&6; }
1817
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819
} # ac_fn_c_check_func
1821
# ac_fn_c_try_cpp LINENO
1822
# ----------------------
1823
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1826
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827
if { { ac_try="$ac_cpp conftest.$ac_ext"
1829
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830
*) ac_try_echo=$ac_try;;
1832
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833
$as_echo "$ac_try_echo"; } >&5
1834
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1836
if test -s conftest.err; then
1837
grep -v '^ *+' conftest.err >conftest.er1
1838
cat conftest.er1 >&5
1839
mv -f conftest.er1 conftest.err
1841
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842
test $ac_status = 0; } > conftest.i && {
1843
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1844
test ! -s conftest.err
1848
$as_echo "$as_me: failed program was:" >&5
1849
sed 's/^/| /' conftest.$ac_ext >&5
1853
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854
as_fn_set_status $ac_retval
1858
# ac_fn_c_try_run LINENO
1859
# ----------------------
1860
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1861
# that executables *can* be run.
1864
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865
if { { ac_try="$ac_link"
1867
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868
*) ac_try_echo=$ac_try;;
1870
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871
$as_echo "$ac_try_echo"; } >&5
1872
(eval "$ac_link") 2>&5
1874
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1876
{ { case "(($ac_try" in
1877
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878
*) ac_try_echo=$ac_try;;
1880
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881
$as_echo "$ac_try_echo"; } >&5
1882
(eval "$ac_try") 2>&5
1884
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885
test $ac_status = 0; }; }; then :
1888
$as_echo "$as_me: program exited with status $ac_status" >&5
1889
$as_echo "$as_me: failed program was:" >&5
1890
sed 's/^/| /' conftest.$ac_ext >&5
1892
ac_retval=$ac_status
1894
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1895
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896
as_fn_set_status $ac_retval
1900
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1901
# -------------------------------------------------------
1902
# Tests whether HEADER exists and can be compiled using the include files in
1903
# INCLUDES, setting the cache variable VAR accordingly.
1904
ac_fn_c_check_header_compile ()
1906
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908
$as_echo_n "checking for $2... " >&6; }
1909
if eval "test \"\${$3+set}\"" = set; then :
1910
$as_echo_n "(cached) " >&6
1912
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913
/* end confdefs.h. */
1917
if ac_fn_c_try_compile "$LINENO"; then :
1922
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926
$as_echo "$ac_res" >&6; }
1927
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1929
} # ac_fn_c_check_header_compile
1931
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1932
# -------------------------------------------------------
1933
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1934
# the include files in INCLUDES and setting the cache variable VAR
1936
ac_fn_c_check_header_mongrel ()
1938
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939
if eval "test \"\${$3+set}\"" = set; then :
1940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941
$as_echo_n "checking for $2... " >&6; }
1942
if eval "test \"\${$3+set}\"" = set; then :
1943
$as_echo_n "(cached) " >&6
1946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947
$as_echo "$ac_res" >&6; }
1949
# Is the header compilable?
1950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1951
$as_echo_n "checking $2 usability... " >&6; }
1952
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953
/* end confdefs.h. */
1957
if ac_fn_c_try_compile "$LINENO"; then :
1958
ac_header_compiler=yes
1960
ac_header_compiler=no
1962
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1964
$as_echo "$ac_header_compiler" >&6; }
1966
# Is the header present?
1967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1968
$as_echo_n "checking $2 presence... " >&6; }
1969
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970
/* end confdefs.h. */
1973
if ac_fn_c_try_cpp "$LINENO"; then :
1974
ac_header_preproc=yes
1976
ac_header_preproc=no
1978
rm -f conftest.err conftest.i conftest.$ac_ext
1979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1980
$as_echo "$ac_header_preproc" >&6; }
1982
# So? What about this header?
1983
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1985
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1986
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1987
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1991
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1992
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1993
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1994
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1995
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1996
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1998
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2000
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004
$as_echo_n "checking for $2... " >&6; }
2005
if eval "test \"\${$3+set}\"" = set; then :
2006
$as_echo_n "(cached) " >&6
2008
eval "$3=\$ac_header_compiler"
2011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012
$as_echo "$ac_res" >&6; }
2014
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016
} # ac_fn_c_check_header_mongrel
2017
cat >config.log <<_ACEOF
2018
This file contains any messages produced by compilers while
2019
running configure, to aid debugging if configure makes a mistake.
2021
It was created by $as_me, which was
2022
generated by GNU Autoconf 2.67. Invocation command line was
2034
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2035
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2036
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2037
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2038
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2040
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2041
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2043
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2044
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2045
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2046
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2047
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2048
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2049
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057
test -z "$as_dir" && as_dir=.
2058
$as_echo "PATH: $as_dir"
2074
# Keep a trace of the command line.
2075
# Strip out --no-create and --no-recursion so they do not pile up.
2076
# Strip out --silent because we don't want to record it for future runs.
2077
# Also quote any args containing shell meta-characters.
2078
# Make two passes to allow for proper duplicate-argument suppression.
2082
ac_must_keep_next=false
2088
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2089
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2090
| -silent | --silent | --silen | --sile | --sil)
2093
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2096
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2098
as_fn_append ac_configure_args1 " '$ac_arg'"
2099
if test $ac_must_keep_next = true; then
2100
ac_must_keep_next=false # Got value, back to normal.
2103
*=* | --config-cache | -C | -disable-* | --disable-* \
2104
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2105
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2106
| -with-* | --with-* | -without-* | --without-* | --x)
2107
case "$ac_configure_args0 " in
2108
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2111
-* ) ac_must_keep_next=true ;;
2114
as_fn_append ac_configure_args " '$ac_arg'"
2119
{ ac_configure_args0=; unset ac_configure_args0;}
2120
{ ac_configure_args1=; unset ac_configure_args1;}
2122
# When interrupted or exit'd, cleanup temporary files, and complete
2123
# config.log. We remove comments because anyway the quotes in there
2124
# would cause problems or look ugly.
2125
# WARNING: Use '\'' to represent an apostrophe within the trap.
2126
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2127
trap 'exit_status=$?
2128
# Save into config.log some information that might help in debugging.
2132
$as_echo "## ---------------- ##
2133
## Cache variables. ##
2134
## ---------------- ##"
2136
# The following way of writing the cache mishandles newlines in values,
2138
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2139
eval ac_val=\$$ac_var
2143
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2144
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2147
_ | IFS | as_nl) ;; #(
2148
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2149
*) { eval $ac_var=; unset $ac_var;} ;;
2154
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2155
*${as_nl}ac_space=\ *)
2157
"s/'\''/'\''\\\\'\'''\''/g;
2158
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2161
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2168
$as_echo "## ----------------- ##
2169
## Output variables. ##
2170
## ----------------- ##"
2172
for ac_var in $ac_subst_vars
2174
eval ac_val=\$$ac_var
2176
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2178
$as_echo "$ac_var='\''$ac_val'\''"
2182
if test -n "$ac_subst_files"; then
2183
$as_echo "## ------------------- ##
2184
## File substitutions. ##
2185
## ------------------- ##"
2187
for ac_var in $ac_subst_files
2189
eval ac_val=\$$ac_var
2191
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193
$as_echo "$ac_var='\''$ac_val'\''"
2198
if test -s confdefs.h; then
2199
$as_echo "## ----------- ##
2206
test "$ac_signal" != 0 &&
2207
$as_echo "$as_me: caught signal $ac_signal"
2208
$as_echo "$as_me: exit $exit_status"
2210
rm -f core *.core core.conftest.* &&
2211
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2214
for ac_signal in 1 2 13 15; do
2215
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2219
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2220
rm -f -r conftest* confdefs.h
2222
$as_echo "/* confdefs.h */" > confdefs.h
2224
# Predefined preprocessor variables.
2226
cat >>confdefs.h <<_ACEOF
2227
#define PACKAGE_NAME "$PACKAGE_NAME"
2230
cat >>confdefs.h <<_ACEOF
2231
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2234
cat >>confdefs.h <<_ACEOF
2235
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2238
cat >>confdefs.h <<_ACEOF
2239
#define PACKAGE_STRING "$PACKAGE_STRING"
2242
cat >>confdefs.h <<_ACEOF
2243
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2246
cat >>confdefs.h <<_ACEOF
2247
#define PACKAGE_URL "$PACKAGE_URL"
2251
# Let the site file select an alternate cache file if it wants to.
2252
# Prefer an explicitly selected file to automatically selected ones.
2255
if test -n "$CONFIG_SITE"; then
2256
# We do not want a PATH search for config.site.
2257
case $CONFIG_SITE in #((
2258
-*) ac_site_file1=./$CONFIG_SITE;;
2259
*/*) ac_site_file1=$CONFIG_SITE;;
2260
*) ac_site_file1=./$CONFIG_SITE;;
2262
elif test "x$prefix" != xNONE; then
2263
ac_site_file1=$prefix/share/config.site
2264
ac_site_file2=$prefix/etc/config.site
2266
ac_site_file1=$ac_default_prefix/share/config.site
2267
ac_site_file2=$ac_default_prefix/etc/config.site
2269
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2271
test "x$ac_site_file" = xNONE && continue
2272
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2273
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2274
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2275
sed 's/^/| /' "$ac_site_file" >&5
2277
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2278
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2279
as_fn_error $? "failed to load site script $ac_site_file
2280
See \`config.log' for more details" "$LINENO" 5 ; }
2284
if test -r "$cache_file"; then
2285
# Some versions of bash will fail to source /dev/null (special files
2286
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2287
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2288
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2289
$as_echo "$as_me: loading cache $cache_file" >&6;}
2291
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2292
*) . "./$cache_file";;
2296
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2297
$as_echo "$as_me: creating cache $cache_file" >&6;}
2301
# Check that the precious variables saved in the cache have kept the same
2303
ac_cache_corrupted=false
2304
for ac_var in $ac_precious_vars; do
2305
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2306
eval ac_new_set=\$ac_env_${ac_var}_set
2307
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2308
eval ac_new_val=\$ac_env_${ac_var}_value
2309
case $ac_old_set,$ac_new_set in
2311
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2312
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2313
ac_cache_corrupted=: ;;
2315
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2316
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2317
ac_cache_corrupted=: ;;
2320
if test "x$ac_old_val" != "x$ac_new_val"; then
2321
# differences in whitespace do not lead to failure.
2322
ac_old_val_w=`echo x $ac_old_val`
2323
ac_new_val_w=`echo x $ac_new_val`
2324
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2325
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2326
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327
ac_cache_corrupted=:
2329
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2330
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2331
eval $ac_var=\$ac_old_val
2333
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2334
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2335
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2336
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2339
# Pass precious variables to config.status.
2340
if test "$ac_new_set" = set; then
2342
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2343
*) ac_arg=$ac_var=$ac_new_val ;;
2345
case " $ac_configure_args " in
2346
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2347
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2351
if $ac_cache_corrupted; then
2352
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2353
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2354
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2355
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2356
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2358
## -------------------- ##
2359
## Main body of script. ##
2360
## -------------------- ##
2363
ac_cpp='$CPP $CPPFLAGS'
2364
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2365
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2366
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2370
ac_config_headers="$ac_config_headers build-config.h"
2373
am__api_version='1.11'
2376
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2377
if test -f "$ac_dir/install-sh"; then
2379
ac_install_sh="$ac_aux_dir/install-sh -c"
2381
elif test -f "$ac_dir/install.sh"; then
2383
ac_install_sh="$ac_aux_dir/install.sh -c"
2385
elif test -f "$ac_dir/shtool"; then
2387
ac_install_sh="$ac_aux_dir/shtool install -c"
2391
if test -z "$ac_aux_dir"; then
2392
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2395
# These three variables are undocumented and unsupported,
2396
# and are intended to be withdrawn in a future Autoconf release.
2397
# They can cause serious problems if a builder's source tree is in a directory
2398
# whose full name contains unusual characters.
2399
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2400
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2401
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2404
# Find a good install program. We prefer a C program (faster),
2405
# so one script is as good as another. But avoid the broken or
2406
# incompatible versions:
2407
# SysV /etc/install, /usr/sbin/install
2408
# SunOS /usr/etc/install
2409
# IRIX /sbin/install
2411
# AmigaOS /C/install, which installs bootblocks on floppy discs
2412
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2413
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2414
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2415
# OS/2's system install, which has a completely different semantic
2416
# ./install, which can be erroneously created by make from ./install.sh.
2417
# Reject install programs that cannot install multiple files.
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2419
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2420
if test -z "$INSTALL"; then
2421
if test "${ac_cv_path_install+set}" = set; then :
2422
$as_echo_n "(cached) " >&6
2424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428
test -z "$as_dir" && as_dir=.
2429
# Account for people who put trailing slashes in PATH elements.
2430
case $as_dir/ in #((
2431
./ | .// | /[cC]/* | \
2432
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2433
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2436
# OSF1 and SCO ODT 3.0 have their own names for install.
2437
# Don't use installbsd from OSF since it installs stuff as root
2439
for ac_prog in ginstall scoinst install; do
2440
for ac_exec_ext in '' $ac_executable_extensions; do
2441
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2442
if test $ac_prog = install &&
2443
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2444
# AIX install. It has an incompatible calling convention.
2446
elif test $ac_prog = install &&
2447
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2448
# program-specific install script used by HP pwplus--don't use.
2451
rm -rf conftest.one conftest.two conftest.dir
2452
echo one > conftest.one
2453
echo two > conftest.two
2455
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2456
test -s conftest.one && test -s conftest.two &&
2457
test -s conftest.dir/conftest.one &&
2458
test -s conftest.dir/conftest.two
2460
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2473
rm -rf conftest.one conftest.two conftest.dir
2476
if test "${ac_cv_path_install+set}" = set; then
2477
INSTALL=$ac_cv_path_install
2479
# As a last resort, use the slow shell script. Don't cache a
2480
# value for INSTALL within a source directory, because that will
2481
# break other packages using the cache if that directory is
2482
# removed, or if the value is a relative name.
2483
INSTALL=$ac_install_sh
2486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2487
$as_echo "$INSTALL" >&6; }
2489
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2490
# It thinks the first close brace ends the variable substitution.
2491
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2493
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2495
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2498
$as_echo_n "checking whether build environment is sane... " >&6; }
2501
echo timestamp > conftest.file
2502
# Reject unsafe characters in $srcdir or the absolute working directory
2503
# name. Accept space and tab only in the latter.
2507
*[\\\"\#\$\&\'\`$am_lf]*)
2508
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2511
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2512
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2515
# Do `set' in a subshell so we don't clobber the current shell's
2516
# arguments. Must try -L first in case configure is actually a
2517
# symlink; some systems play weird games with the mod time of symlinks
2518
# (eg FreeBSD returns the mod time of the symlink's containing
2521
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2522
if test "$*" = "X"; then
2524
set X `ls -t "$srcdir/configure" conftest.file`
2527
if test "$*" != "X $srcdir/configure conftest.file" \
2528
&& test "$*" != "X conftest.file $srcdir/configure"; then
2530
# If neither matched, then we have a broken ls. This can happen
2531
# if, for instance, CONFIG_SHELL is bash and it inherits a
2532
# broken ls alias from the environment. This has actually
2533
# happened. Such a system could not be considered "sane".
2534
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2535
alias in your environment" "$LINENO" 5
2538
test "$2" = conftest.file
2544
as_fn_error $? "newly created file is older than distributed files!
2545
Check your system clock" "$LINENO" 5
2547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548
$as_echo "yes" >&6; }
2549
test "$program_prefix" != NONE &&
2550
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2551
# Use a double $ so make ignores it.
2552
test "$program_suffix" != NONE &&
2553
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2554
# Double any \ or $.
2555
# By default was `s,x,x', remove it if useless.
2556
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2557
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2559
# expand $ac_aux_dir to an absolute path
2560
am_aux_dir=`cd $ac_aux_dir && pwd`
2562
if test x"${MISSING+set}" != xset; then
2565
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2567
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2570
# Use eval to expand $SHELL
2571
if eval "$MISSING --run true"; then
2572
am_missing_run="$MISSING --run "
2575
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2576
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2579
if test x"${install_sh}" != xset; then
2582
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2584
install_sh="\${SHELL} $am_aux_dir/install-sh"
2588
# Installed binaries are usually stripped using `strip' when the user
2589
# run `make install-strip'. However `strip' might not be the right
2590
# tool to use in cross-compilation environments, therefore Automake
2591
# will honor the `STRIP' environment variable to overrule this program.
2592
if test "$cross_compiling" != no; then
2593
if test -n "$ac_tool_prefix"; then
2594
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2595
set dummy ${ac_tool_prefix}strip; ac_word=$2
2596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597
$as_echo_n "checking for $ac_word... " >&6; }
2598
if test "${ac_cv_prog_STRIP+set}" = set; then :
2599
$as_echo_n "(cached) " >&6
2601
if test -n "$STRIP"; then
2602
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608
test -z "$as_dir" && as_dir=.
2609
for ac_exec_ext in '' $ac_executable_extensions; do
2610
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2612
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621
STRIP=$ac_cv_prog_STRIP
2622
if test -n "$STRIP"; then
2623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2624
$as_echo "$STRIP" >&6; }
2626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627
$as_echo "no" >&6; }
2632
if test -z "$ac_cv_prog_STRIP"; then
2634
# Extract the first word of "strip", so it can be a program name with args.
2635
set dummy strip; ac_word=$2
2636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637
$as_echo_n "checking for $ac_word... " >&6; }
2638
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2639
$as_echo_n "(cached) " >&6
2641
if test -n "$ac_ct_STRIP"; then
2642
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648
test -z "$as_dir" && as_dir=.
2649
for ac_exec_ext in '' $ac_executable_extensions; do
2650
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651
ac_cv_prog_ac_ct_STRIP="strip"
2652
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2662
if test -n "$ac_ct_STRIP"; then
2663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2664
$as_echo "$ac_ct_STRIP" >&6; }
2666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667
$as_echo "no" >&6; }
2670
if test "x$ac_ct_STRIP" = x; then
2673
case $cross_compiling:$ac_tool_warned in
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2676
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2677
ac_tool_warned=yes ;;
2682
STRIP="$ac_cv_prog_STRIP"
2686
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2689
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2690
if test -z "$MKDIR_P"; then
2691
if test "${ac_cv_path_mkdir+set}" = set; then :
2692
$as_echo_n "(cached) " >&6
2694
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2698
test -z "$as_dir" && as_dir=.
2699
for ac_prog in mkdir gmkdir; do
2700
for ac_exec_ext in '' $ac_executable_extensions; do
2701
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2702
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2703
'mkdir (GNU coreutils) '* | \
2704
'mkdir (coreutils) '* | \
2705
'mkdir (fileutils) '4.1*)
2706
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2716
test -d ./--version && rmdir ./--version
2717
if test "${ac_cv_path_mkdir+set}" = set; then
2718
MKDIR_P="$ac_cv_path_mkdir -p"
2720
# As a last resort, use the slow shell script. Don't cache a
2721
# value for MKDIR_P within a source directory, because that will
2722
# break other packages using the cache if that directory is
2723
# removed, or if the value is a relative name.
2724
MKDIR_P="$ac_install_sh -d"
2727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2728
$as_echo "$MKDIR_P" >&6; }
2732
[\\/$]* | ?:[\\/]*) ;;
2733
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2736
for ac_prog in gawk mawk nawk awk
2738
# Extract the first word of "$ac_prog", so it can be a program name with args.
2739
set dummy $ac_prog; ac_word=$2
2740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741
$as_echo_n "checking for $ac_word... " >&6; }
2742
if test "${ac_cv_prog_AWK+set}" = set; then :
2743
$as_echo_n "(cached) " >&6
2745
if test -n "$AWK"; then
2746
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752
test -z "$as_dir" && as_dir=.
2753
for ac_exec_ext in '' $ac_executable_extensions; do
2754
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755
ac_cv_prog_AWK="$ac_prog"
2756
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766
if test -n "$AWK"; then
2767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2768
$as_echo "$AWK" >&6; }
2770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771
$as_echo "no" >&6; }
2775
test -n "$AWK" && break
2778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2779
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2781
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2782
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2783
$as_echo_n "(cached) " >&6
2785
cat >conftest.make <<\_ACEOF
2788
@echo '@@@%%%=$(MAKE)=@@@%%%'
2790
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2791
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2793
eval ac_cv_prog_make_${ac_make}_set=yes;;
2795
eval ac_cv_prog_make_${ac_make}_set=no;;
2799
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2801
$as_echo "yes" >&6; }
2804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805
$as_echo "no" >&6; }
2806
SET_MAKE="MAKE=${MAKE-make}"
2809
rm -rf .tst 2>/dev/null
2810
mkdir .tst 2>/dev/null
2811
if test -d .tst; then
2816
rmdir .tst 2>/dev/null
2818
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2819
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2820
# is not polluted with repeated "-I."
2821
am__isrc=' -I$(srcdir)'
2822
# test to see if srcdir already configured
2823
if test -f $srcdir/config.status; then
2824
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2828
# test whether we have cygpath
2829
if test -z "$CYGPATH_W"; then
2830
if (cygpath --version) >/dev/null 2>/dev/null; then
2831
CYGPATH_W='cygpath -w'
2838
# Define the identity of the package.
2843
cat >>confdefs.h <<_ACEOF
2844
#define PACKAGE "$PACKAGE"
2848
cat >>confdefs.h <<_ACEOF
2849
#define VERSION "$VERSION"
2852
# Some tools Automake needs.
2854
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2860
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2866
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2868
# We need awk for the "check" target. The system "awk" is bad on
2870
# Always define AMTAR for backward compatibility.
2872
AMTAR=${AMTAR-"${am_missing_run}tar"}
2874
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2883
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2884
# Check whether --enable-maintainer-mode was given.
2885
if test "${enable_maintainer_mode+set}" = set; then :
2886
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2888
USE_MAINTAINER_MODE=no
2891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2892
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2893
if test $USE_MAINTAINER_MODE = yes; then
2894
MAINTAINER_MODE_TRUE=
2895
MAINTAINER_MODE_FALSE='#'
2897
MAINTAINER_MODE_TRUE='#'
2898
MAINTAINER_MODE_FALSE=
2901
MAINT=$MAINTAINER_MODE_TRUE
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2906
$as_echo_n "checking whether NLS is requested... " >&6; }
2907
# Check whether --enable-nls was given.
2908
if test "${enable_nls+set}" = set; then :
2909
enableval=$enable_nls; USE_NLS=$enableval
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2915
$as_echo "$USE_NLS" >&6; }
2918
DEPDIR="${am__leading_dot}deps"
2920
ac_config_commands="$ac_config_commands depfiles"
2923
am_make=${MAKE-make}
2924
cat > confinc << 'END'
2926
@echo this is the am__doit target
2929
# If we don't find an include directive, just comment out the code.
2930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2931
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2935
# First try GNU make style include.
2936
echo "include confinc" > confmf
2937
# Ignore all kinds of additional output from `make'.
2938
case `$am_make -s -f confmf 2> /dev/null` in #(
2939
*the\ am__doit\ target*)
2945
# Now try BSD make style include.
2946
if test "$am__include" = "#"; then
2947
echo '.include "confinc"' > confmf
2948
case `$am_make -s -f confmf 2> /dev/null` in #(
2949
*the\ am__doit\ target*)
2950
am__include=.include
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2959
$as_echo "$_am_result" >&6; }
2960
rm -f confinc confmf
2962
# Check whether --enable-dependency-tracking was given.
2963
if test "${enable_dependency_tracking+set}" = set; then :
2964
enableval=$enable_dependency_tracking;
2967
if test "x$enable_dependency_tracking" != xno; then
2968
am_depcomp="$ac_aux_dir/depcomp"
2971
if test "x$enable_dependency_tracking" != xno; then
2981
ac_cpp='$CPP $CPPFLAGS'
2982
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2983
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2984
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2985
if test -n "$ac_tool_prefix"; then
2986
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2987
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989
$as_echo_n "checking for $ac_word... " >&6; }
2990
if test "${ac_cv_prog_CC+set}" = set; then :
2991
$as_echo_n "(cached) " >&6
2993
if test -n "$CC"; then
2994
ac_cv_prog_CC="$CC" # Let the user override the test.
2996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000
test -z "$as_dir" && as_dir=.
3001
for ac_exec_ext in '' $ac_executable_extensions; do
3002
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3003
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3004
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014
if test -n "$CC"; then
3015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016
$as_echo "$CC" >&6; }
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019
$as_echo "no" >&6; }
3024
if test -z "$ac_cv_prog_CC"; then
3026
# Extract the first word of "gcc", so it can be a program name with args.
3027
set dummy gcc; ac_word=$2
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029
$as_echo_n "checking for $ac_word... " >&6; }
3030
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3031
$as_echo_n "(cached) " >&6
3033
if test -n "$ac_ct_CC"; then
3034
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040
test -z "$as_dir" && as_dir=.
3041
for ac_exec_ext in '' $ac_executable_extensions; do
3042
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043
ac_cv_prog_ac_ct_CC="gcc"
3044
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3053
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3054
if test -n "$ac_ct_CC"; then
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3056
$as_echo "$ac_ct_CC" >&6; }
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059
$as_echo "no" >&6; }
3062
if test "x$ac_ct_CC" = x; then
3065
case $cross_compiling:$ac_tool_warned in
3067
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3068
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3069
ac_tool_warned=yes ;;
3077
if test -z "$CC"; then
3078
if test -n "$ac_tool_prefix"; then
3079
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3080
set dummy ${ac_tool_prefix}cc; ac_word=$2
3081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082
$as_echo_n "checking for $ac_word... " >&6; }
3083
if test "${ac_cv_prog_CC+set}" = set; then :
3084
$as_echo_n "(cached) " >&6
3086
if test -n "$CC"; then
3087
ac_cv_prog_CC="$CC" # Let the user override the test.
3089
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093
test -z "$as_dir" && as_dir=.
3094
for ac_exec_ext in '' $ac_executable_extensions; do
3095
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096
ac_cv_prog_CC="${ac_tool_prefix}cc"
3097
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107
if test -n "$CC"; then
3108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109
$as_echo "$CC" >&6; }
3111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112
$as_echo "no" >&6; }
3118
if test -z "$CC"; then
3119
# Extract the first word of "cc", so it can be a program name with args.
3120
set dummy cc; ac_word=$2
3121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122
$as_echo_n "checking for $ac_word... " >&6; }
3123
if test "${ac_cv_prog_CC+set}" = set; then :
3124
$as_echo_n "(cached) " >&6
3126
if test -n "$CC"; then
3127
ac_cv_prog_CC="$CC" # Let the user override the test.
3130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134
test -z "$as_dir" && as_dir=.
3135
for ac_exec_ext in '' $ac_executable_extensions; do
3136
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3138
ac_prog_rejected=yes
3142
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149
if test $ac_prog_rejected = yes; then
3150
# We found a bogon in the path, so make sure we never use it.
3151
set dummy $ac_cv_prog_CC
3153
if test $# != 0; then
3154
# We chose a different compiler from the bogus one.
3155
# However, it has the same basename, so the bogon will be chosen
3156
# first if we set CC to just the basename; use the full file name.
3158
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3164
if test -n "$CC"; then
3165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3166
$as_echo "$CC" >&6; }
3168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169
$as_echo "no" >&6; }
3174
if test -z "$CC"; then
3175
if test -n "$ac_tool_prefix"; then
3176
for ac_prog in cl.exe
3178
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3179
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181
$as_echo_n "checking for $ac_word... " >&6; }
3182
if test "${ac_cv_prog_CC+set}" = set; then :
3183
$as_echo_n "(cached) " >&6
3185
if test -n "$CC"; then
3186
ac_cv_prog_CC="$CC" # Let the user override the test.
3188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192
test -z "$as_dir" && as_dir=.
3193
for ac_exec_ext in '' $ac_executable_extensions; do
3194
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3196
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206
if test -n "$CC"; then
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208
$as_echo "$CC" >&6; }
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211
$as_echo "no" >&6; }
3215
test -n "$CC" && break
3218
if test -z "$CC"; then
3220
for ac_prog in cl.exe
3222
# Extract the first word of "$ac_prog", so it can be a program name with args.
3223
set dummy $ac_prog; ac_word=$2
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225
$as_echo_n "checking for $ac_word... " >&6; }
3226
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3227
$as_echo_n "(cached) " >&6
3229
if test -n "$ac_ct_CC"; then
3230
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236
test -z "$as_dir" && as_dir=.
3237
for ac_exec_ext in '' $ac_executable_extensions; do
3238
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239
ac_cv_prog_ac_ct_CC="$ac_prog"
3240
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3250
if test -n "$ac_ct_CC"; then
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3252
$as_echo "$ac_ct_CC" >&6; }
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255
$as_echo "no" >&6; }
3259
test -n "$ac_ct_CC" && break
3262
if test "x$ac_ct_CC" = x; then
3265
case $cross_compiling:$ac_tool_warned in
3267
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3268
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3269
ac_tool_warned=yes ;;
3278
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280
as_fn_error $? "no acceptable C compiler found in \$PATH
3281
See \`config.log' for more details" "$LINENO" 5 ; }
3283
# Provide some information about the compiler.
3284
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3287
for ac_option in --version -v -V -qversion; do
3288
{ { ac_try="$ac_compiler $ac_option >&5"
3290
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291
*) ac_try_echo=$ac_try;;
3293
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294
$as_echo "$ac_try_echo"; } >&5
3295
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3297
if test -s conftest.err; then
3299
... rest of stderr output deleted ...
3300
10q' conftest.err >conftest.er1
3301
cat conftest.er1 >&5
3303
rm -f conftest.er1 conftest.err
3304
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305
test $ac_status = 0; }
3308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309
/* end confdefs.h. */
3319
ac_clean_files_save=$ac_clean_files
3320
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3321
# Try to create an executable without -o first, disregard a.out.
3322
# It will help us diagnose broken compilers, and finding out an intuition
3324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3325
$as_echo_n "checking whether the C compiler works... " >&6; }
3326
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3328
# The possible output files:
3329
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3332
for ac_file in $ac_files
3335
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3336
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3341
if { { ac_try="$ac_link_default"
3343
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344
*) ac_try_echo=$ac_try;;
3346
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347
$as_echo "$ac_try_echo"; } >&5
3348
(eval "$ac_link_default") 2>&5
3350
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351
test $ac_status = 0; }; then :
3352
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3353
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3354
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3355
# so that the user can short-circuit this test for compilers unknown to
3357
for ac_file in $ac_files ''
3359
test -f "$ac_file" || continue
3361
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3364
# We found the default executable, but exeext='' is most
3368
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3370
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3372
# We set ac_cv_exeext here because the later test for it is not
3373
# safe: cross compilers may not add the suffix if given an `-o'
3374
# argument, so we may need to know it at that point already.
3375
# Even if this section looks crufty: it has the advantage of
3382
test "$ac_cv_exeext" = no && ac_cv_exeext=
3387
if test -z "$ac_file"; then :
3388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389
$as_echo "no" >&6; }
3390
$as_echo "$as_me: failed program was:" >&5
3391
sed 's/^/| /' conftest.$ac_ext >&5
3393
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3394
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3395
as_fn_error 77 "C compiler cannot create executables
3396
See \`config.log' for more details" "$LINENO" 5 ; }
3398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3399
$as_echo "yes" >&6; }
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3402
$as_echo_n "checking for C compiler default output file name... " >&6; }
3403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3404
$as_echo "$ac_file" >&6; }
3405
ac_exeext=$ac_cv_exeext
3407
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3408
ac_clean_files=$ac_clean_files_save
3409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3410
$as_echo_n "checking for suffix of executables... " >&6; }
3411
if { { ac_try="$ac_link"
3413
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
*) ac_try_echo=$ac_try;;
3416
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417
$as_echo "$ac_try_echo"; } >&5
3418
(eval "$ac_link") 2>&5
3420
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421
test $ac_status = 0; }; then :
3422
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3423
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3424
# work properly (i.e., refer to `conftest.exe'), while it won't with
3426
for ac_file in conftest.exe conftest conftest.*; do
3427
test -f "$ac_file" || continue
3429
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3430
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3436
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3439
See \`config.log' for more details" "$LINENO" 5 ; }
3441
rm -f conftest conftest$ac_cv_exeext
3442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3443
$as_echo "$ac_cv_exeext" >&6; }
3445
rm -f conftest.$ac_ext
3446
EXEEXT=$ac_cv_exeext
3448
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449
/* end confdefs.h. */
3454
FILE *f = fopen ("conftest.out", "w");
3455
return ferror (f) || fclose (f) != 0;
3461
ac_clean_files="$ac_clean_files conftest.out"
3462
# Check that the compiler produces executables we can run. If not, either
3463
# the compiler is broken, or we cross compile.
3464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3465
$as_echo_n "checking whether we are cross compiling... " >&6; }
3466
if test "$cross_compiling" != yes; then
3467
{ { ac_try="$ac_link"
3469
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470
*) ac_try_echo=$ac_try;;
3472
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473
$as_echo "$ac_try_echo"; } >&5
3474
(eval "$ac_link") 2>&5
3476
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477
test $ac_status = 0; }
3478
if { ac_try='./conftest$ac_cv_exeext'
3479
{ { case "(($ac_try" in
3480
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481
*) ac_try_echo=$ac_try;;
3483
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484
$as_echo "$ac_try_echo"; } >&5
3485
(eval "$ac_try") 2>&5
3487
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488
test $ac_status = 0; }; }; then
3491
if test "$cross_compiling" = maybe; then
3494
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3495
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3496
as_fn_error $? "cannot run C compiled programs.
3497
If you meant to cross compile, use \`--host'.
3498
See \`config.log' for more details" "$LINENO" 5 ; }
3502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3503
$as_echo "$cross_compiling" >&6; }
3505
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3506
ac_clean_files=$ac_clean_files_save
3507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3508
$as_echo_n "checking for suffix of object files... " >&6; }
3509
if test "${ac_cv_objext+set}" = set; then :
3510
$as_echo_n "(cached) " >&6
3512
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513
/* end confdefs.h. */
3523
rm -f conftest.o conftest.obj
3524
if { { ac_try="$ac_compile"
3526
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527
*) ac_try_echo=$ac_try;;
3529
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530
$as_echo "$ac_try_echo"; } >&5
3531
(eval "$ac_compile") 2>&5
3533
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534
test $ac_status = 0; }; then :
3535
for ac_file in conftest.o conftest.obj conftest.*; do
3536
test -f "$ac_file" || continue;
3538
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3539
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3544
$as_echo "$as_me: failed program was:" >&5
3545
sed 's/^/| /' conftest.$ac_ext >&5
3547
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549
as_fn_error $? "cannot compute suffix of object files: cannot compile
3550
See \`config.log' for more details" "$LINENO" 5 ; }
3552
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3555
$as_echo "$ac_cv_objext" >&6; }
3556
OBJEXT=$ac_cv_objext
3558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3559
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3560
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3561
$as_echo_n "(cached) " >&6
3563
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564
/* end confdefs.h. */
3577
if ac_fn_c_try_compile "$LINENO"; then :
3582
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3587
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3588
if test $ac_compiler_gnu = yes; then
3593
ac_test_CFLAGS=${CFLAGS+set}
3594
ac_save_CFLAGS=$CFLAGS
3595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3596
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3597
if test "${ac_cv_prog_cc_g+set}" = set; then :
3598
$as_echo_n "(cached) " >&6
3600
ac_save_c_werror_flag=$ac_c_werror_flag
3601
ac_c_werror_flag=yes
3604
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605
/* end confdefs.h. */
3615
if ac_fn_c_try_compile "$LINENO"; then :
3619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620
/* end confdefs.h. */
3630
if ac_fn_c_try_compile "$LINENO"; then :
3633
ac_c_werror_flag=$ac_save_c_werror_flag
3635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636
/* end confdefs.h. */
3646
if ac_fn_c_try_compile "$LINENO"; then :
3649
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654
ac_c_werror_flag=$ac_save_c_werror_flag
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3657
$as_echo "$ac_cv_prog_cc_g" >&6; }
3658
if test "$ac_test_CFLAGS" = set; then
3659
CFLAGS=$ac_save_CFLAGS
3660
elif test $ac_cv_prog_cc_g = yes; then
3661
if test "$GCC" = yes; then
3667
if test "$GCC" = yes; then
3673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3674
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3675
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3676
$as_echo_n "(cached) " >&6
3678
ac_cv_prog_cc_c89=no
3680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681
/* end confdefs.h. */
3684
#include <sys/types.h>
3685
#include <sys/stat.h>
3686
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3687
struct buf { int x; };
3688
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3689
static char *e (p, i)
3695
static char *f (char * (*g) (char **, int), char **p, ...)
3700
s = g (p, va_arg (v,int));
3705
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3706
function prototypes and stuff, but not '\xHH' hex character constants.
3707
These don't provoke an error unfortunately, instead are silently treated
3708
as 'x'. The following induces an error, until -std is added to get
3709
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3710
array size at least. It's necessary to write '\x00'==0 to get something
3711
that's true only with -std. */
3712
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3714
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3715
inside strings and character constants. */
3717
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3719
int test (int i, double x);
3720
struct s1 {int (*f) (int a);};
3721
struct s2 {int (*f) (double a);};
3722
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3728
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3733
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3734
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3736
CC="$ac_save_CC $ac_arg"
3737
if ac_fn_c_try_compile "$LINENO"; then :
3738
ac_cv_prog_cc_c89=$ac_arg
3740
rm -f core conftest.err conftest.$ac_objext
3741
test "x$ac_cv_prog_cc_c89" != "xno" && break
3743
rm -f conftest.$ac_ext
3748
case "x$ac_cv_prog_cc_c89" in
3750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3751
$as_echo "none needed" >&6; } ;;
3753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3754
$as_echo "unsupported" >&6; } ;;
3756
CC="$CC $ac_cv_prog_cc_c89"
3757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3758
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3760
if test "x$ac_cv_prog_cc_c89" != xno; then :
3765
ac_cpp='$CPP $CPPFLAGS'
3766
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3767
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3768
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3770
depcc="$CC" am_compiler_list=
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3773
$as_echo_n "checking dependency style of $depcc... " >&6; }
3774
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3775
$as_echo_n "(cached) " >&6
3777
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3778
# We make a subdir and do the tests there. Otherwise we can end up
3779
# making bogus files that we don't know about and never remove. For
3780
# instance it was reported that on HP-UX the gcc test will end up
3781
# making a dummy file named `D' -- because `-MD' means `put the output
3784
# Copy depcomp to subdir because otherwise we won't find it if we're
3785
# using a relative directory.
3786
cp "$am_depcomp" conftest.dir
3788
# We will build objects and dependencies in a subdirectory because
3789
# it helps to detect inapplicable dependency modes. For instance
3790
# both Tru64's cc and ICC support -MD to output dependencies as a
3791
# side effect of compilation, but ICC will put the dependencies in
3792
# the current directory while Tru64 will put them in the object
3796
am_cv_CC_dependencies_compiler_type=none
3797
if test "$am_compiler_list" = ""; then
3798
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3801
case " $depcc " in #(
3802
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3805
for depmode in $am_compiler_list; do
3806
# Setup a source with many dependencies, because some compilers
3807
# like to wrap large dependency lists on column 80 (with \), and
3808
# we should not choose a depcomp mode which is confused by this.
3810
# We need to recreate these files for each test, as the compiler may
3811
# overwrite some of them when testing with obscure command lines.
3812
# This happens at least with the AIX C compiler.
3814
for i in 1 2 3 4 5 6; do
3815
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3816
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3817
# Solaris 8's {/usr,}/bin/sh.
3818
touch sub/conftst$i.h
3820
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3822
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3823
# mode. It turns out that the SunPro C++ compiler does not properly
3824
# handle `-M -o', and we need to detect this. Also, some Intel
3825
# versions had trouble with output in subdirs
3826
am__obj=sub/conftest.${OBJEXT-o}
3827
am__minus_obj="-o $am__obj"
3830
# This depmode causes a compiler race in universal mode.
3831
test "$am__universal" = false || continue
3834
# after this tag, mechanisms are not by side-effect, so they'll
3835
# only be used when explicitly requested
3836
if test "x$enable_dependency_tracking" = xyes; then
3842
msvisualcpp | msvcmsys)
3843
# This compiler won't grok `-c -o', but also, the minuso test has
3844
# not run yet. These depmodes are late enough in the game, and
3845
# so weak that their functioning should not be impacted.
3846
am__obj=conftest.${OBJEXT-o}
3851
if depmode=$depmode \
3852
source=sub/conftest.c object=$am__obj \
3853
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3854
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3855
>/dev/null 2>conftest.err &&
3856
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3857
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3858
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3859
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3860
# icc doesn't choke on unknown options, it will just issue warnings
3861
# or remarks (even with -Werror). So we grep stderr for any message
3862
# that says an option was ignored or not supported.
3863
# When given -MP, icc 7.0 and 7.1 complain thusly:
3864
# icc: Command line warning: ignoring option '-M'; no argument required
3865
# The diagnosis changed in icc 8.0:
3866
# icc: Command line remark: option '-MP' not supported
3867
if (grep 'ignoring option' conftest.err ||
3868
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3869
am_cv_CC_dependencies_compiler_type=$depmode
3878
am_cv_CC_dependencies_compiler_type=none
3882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3883
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3884
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3887
test "x$enable_dependency_tracking" != xno \
3888
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3890
am__fastdepCC_FALSE='#'
3892
am__fastdepCC_TRUE='#'
3893
am__fastdepCC_FALSE=
3900
case "$am__api_version" in
3902
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3908
if test -n "0.21"; then
3909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3910
$as_echo_n "checking for intltool >= 0.21... " >&6; }
3912
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3913
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3914
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3917
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3918
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3919
as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5
3922
# Extract the first word of "intltool-update", so it can be a program name with args.
3923
set dummy intltool-update; ac_word=$2
3924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925
$as_echo_n "checking for $ac_word... " >&6; }
3926
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3927
$as_echo_n "(cached) " >&6
3929
case $INTLTOOL_UPDATE in
3931
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938
test -z "$as_dir" && as_dir=.
3939
for ac_exec_ext in '' $ac_executable_extensions; do
3940
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3941
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3942
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3953
if test -n "$INTLTOOL_UPDATE"; then
3954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3955
$as_echo "$INTLTOOL_UPDATE" >&6; }
3957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958
$as_echo "no" >&6; }
3962
# Extract the first word of "intltool-merge", so it can be a program name with args.
3963
set dummy intltool-merge; ac_word=$2
3964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965
$as_echo_n "checking for $ac_word... " >&6; }
3966
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
3967
$as_echo_n "(cached) " >&6
3969
case $INTLTOOL_MERGE in
3971
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978
test -z "$as_dir" && as_dir=.
3979
for ac_exec_ext in '' $ac_executable_extensions; do
3980
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3982
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3993
if test -n "$INTLTOOL_MERGE"; then
3994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3995
$as_echo "$INTLTOOL_MERGE" >&6; }
3997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998
$as_echo "no" >&6; }
4002
# Extract the first word of "intltool-extract", so it can be a program name with args.
4003
set dummy intltool-extract; ac_word=$2
4004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005
$as_echo_n "checking for $ac_word... " >&6; }
4006
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4007
$as_echo_n "(cached) " >&6
4009
case $INTLTOOL_EXTRACT in
4011
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
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
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4022
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4033
if test -n "$INTLTOOL_EXTRACT"; then
4034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4035
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038
$as_echo "no" >&6; }
4042
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4043
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4046
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 $< $@'
4047
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 $< $@'
4048
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 $< $@'
4049
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 $< $@'
4050
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4051
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 $< $@'
4052
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 $< $@'
4053
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 $< $@'
4054
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 $< $@'
4055
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 $< $@'
4056
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 $< $@'
4057
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4058
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 $< $@'
4059
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 $< $@'
4060
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 $< $@'
4061
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 $< $@'
4062
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 $< $@'
4063
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 $< $@'
4064
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 $< $@'
4162
# Check the gettext tools to make sure they are GNU
4163
# Extract the first word of "xgettext", so it can be a program name with args.
4164
set dummy xgettext; ac_word=$2
4165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166
$as_echo_n "checking for $ac_word... " >&6; }
4167
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4168
$as_echo_n "(cached) " >&6
4172
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4175
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179
test -z "$as_dir" && as_dir=.
4180
for ac_exec_ext in '' $ac_executable_extensions; do
4181
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4182
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4183
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193
XGETTEXT=$ac_cv_path_XGETTEXT
4194
if test -n "$XGETTEXT"; then
4195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4196
$as_echo "$XGETTEXT" >&6; }
4198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199
$as_echo "no" >&6; }
4203
# Extract the first word of "msgmerge", so it can be a program name with args.
4204
set dummy msgmerge; ac_word=$2
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206
$as_echo_n "checking for $ac_word... " >&6; }
4207
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4208
$as_echo_n "(cached) " >&6
4212
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4215
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219
test -z "$as_dir" && as_dir=.
4220
for ac_exec_ext in '' $ac_executable_extensions; do
4221
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4222
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4223
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233
MSGMERGE=$ac_cv_path_MSGMERGE
4234
if test -n "$MSGMERGE"; then
4235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4236
$as_echo "$MSGMERGE" >&6; }
4238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239
$as_echo "no" >&6; }
4243
# Extract the first word of "msgfmt", so it can be a program name with args.
4244
set dummy msgfmt; ac_word=$2
4245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4246
$as_echo_n "checking for $ac_word... " >&6; }
4247
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4248
$as_echo_n "(cached) " >&6
4252
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259
test -z "$as_dir" && as_dir=.
4260
for ac_exec_ext in '' $ac_executable_extensions; do
4261
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4262
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4263
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273
MSGFMT=$ac_cv_path_MSGFMT
4274
if test -n "$MSGFMT"; then
4275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4276
$as_echo "$MSGFMT" >&6; }
4278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279
$as_echo "no" >&6; }
4283
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4284
set dummy gmsgfmt; ac_word=$2
4285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4286
$as_echo_n "checking for $ac_word... " >&6; }
4287
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4288
$as_echo_n "(cached) " >&6
4292
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299
test -z "$as_dir" && as_dir=.
4300
for ac_exec_ext in '' $ac_executable_extensions; do
4301
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4302
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4303
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4310
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4314
GMSGFMT=$ac_cv_path_GMSGFMT
4315
if test -n "$GMSGFMT"; then
4316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4317
$as_echo "$GMSGFMT" >&6; }
4319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320
$as_echo "no" >&6; }
4324
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4325
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4327
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4328
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4329
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4330
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4331
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4334
# Extract the first word of "perl", so it can be a program name with args.
4335
set dummy perl; ac_word=$2
4336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337
$as_echo_n "checking for $ac_word... " >&6; }
4338
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4339
$as_echo_n "(cached) " >&6
4341
case $INTLTOOL_PERL in
4343
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350
test -z "$as_dir" && as_dir=.
4351
for ac_exec_ext in '' $ac_executable_extensions; do
4352
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4353
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4354
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4365
if test -n "$INTLTOOL_PERL"; then
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4367
$as_echo "$INTLTOOL_PERL" >&6; }
4369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370
$as_echo "no" >&6; }
4374
if test -z "$INTLTOOL_PERL"; then
4375
as_fn_error $? "perl not found" "$LINENO" 5
4377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4378
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4379
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4380
if test $? -ne 0; then
4381
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4383
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4385
$as_echo "$IT_PERL_VERSION" >&6; }
4387
if test "x" != "xno-xml"; then
4388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4389
$as_echo_n "checking for XML::Parser... " >&6; }
4390
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4392
$as_echo "ok" >&6; }
4394
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4398
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4401
# Set DATADIRNAME correctly if it is not set yet
4402
# (copied from glib-gettext.m4)
4403
if test -z "$DATADIRNAME"; then
4404
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405
/* end confdefs.h. */
4410
extern int _nl_msg_cat_cntr;
4411
return _nl_msg_cat_cntr
4416
if ac_fn_c_try_link "$LINENO"; then :
4421
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4422
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4434
rm -f core conftest.err conftest.$ac_objext \
4435
conftest$ac_exeext conftest.$ac_ext
4445
ac_cpp='$CPP $CPPFLAGS'
4446
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449
if test -n "$ac_tool_prefix"; then
4450
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4451
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453
$as_echo_n "checking for $ac_word... " >&6; }
4454
if test "${ac_cv_prog_CC+set}" = set; then :
4455
$as_echo_n "(cached) " >&6
4457
if test -n "$CC"; then
4458
ac_cv_prog_CC="$CC" # Let the user override the test.
4460
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464
test -z "$as_dir" && as_dir=.
4465
for ac_exec_ext in '' $ac_executable_extensions; do
4466
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4468
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478
if test -n "$CC"; then
4479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480
$as_echo "$CC" >&6; }
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483
$as_echo "no" >&6; }
4488
if test -z "$ac_cv_prog_CC"; then
4490
# Extract the first word of "gcc", so it can be a program name with args.
4491
set dummy gcc; ac_word=$2
4492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493
$as_echo_n "checking for $ac_word... " >&6; }
4494
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4495
$as_echo_n "(cached) " >&6
4497
if test -n "$ac_ct_CC"; then
4498
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4500
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504
test -z "$as_dir" && as_dir=.
4505
for ac_exec_ext in '' $ac_executable_extensions; do
4506
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507
ac_cv_prog_ac_ct_CC="gcc"
4508
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4518
if test -n "$ac_ct_CC"; then
4519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4520
$as_echo "$ac_ct_CC" >&6; }
4522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523
$as_echo "no" >&6; }
4526
if test "x$ac_ct_CC" = x; then
4529
case $cross_compiling:$ac_tool_warned in
4531
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4532
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4533
ac_tool_warned=yes ;;
4541
if test -z "$CC"; then
4542
if test -n "$ac_tool_prefix"; then
4543
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4544
set dummy ${ac_tool_prefix}cc; ac_word=$2
4545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546
$as_echo_n "checking for $ac_word... " >&6; }
4547
if test "${ac_cv_prog_CC+set}" = set; then :
4548
$as_echo_n "(cached) " >&6
4550
if test -n "$CC"; then
4551
ac_cv_prog_CC="$CC" # Let the user override the test.
4553
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557
test -z "$as_dir" && as_dir=.
4558
for ac_exec_ext in '' $ac_executable_extensions; do
4559
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560
ac_cv_prog_CC="${ac_tool_prefix}cc"
4561
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571
if test -n "$CC"; then
4572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4573
$as_echo "$CC" >&6; }
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576
$as_echo "no" >&6; }
4582
if test -z "$CC"; then
4583
# Extract the first word of "cc", so it can be a program name with args.
4584
set dummy cc; ac_word=$2
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586
$as_echo_n "checking for $ac_word... " >&6; }
4587
if test "${ac_cv_prog_CC+set}" = set; then :
4588
$as_echo_n "(cached) " >&6
4590
if test -n "$CC"; then
4591
ac_cv_prog_CC="$CC" # Let the user override the test.
4594
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598
test -z "$as_dir" && as_dir=.
4599
for ac_exec_ext in '' $ac_executable_extensions; do
4600
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4602
ac_prog_rejected=yes
4606
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613
if test $ac_prog_rejected = yes; then
4614
# We found a bogon in the path, so make sure we never use it.
4615
set dummy $ac_cv_prog_CC
4617
if test $# != 0; then
4618
# We chose a different compiler from the bogus one.
4619
# However, it has the same basename, so the bogon will be chosen
4620
# first if we set CC to just the basename; use the full file name.
4622
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4628
if test -n "$CC"; then
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4630
$as_echo "$CC" >&6; }
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633
$as_echo "no" >&6; }
4638
if test -z "$CC"; then
4639
if test -n "$ac_tool_prefix"; then
4640
for ac_prog in cl.exe
4642
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4643
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645
$as_echo_n "checking for $ac_word... " >&6; }
4646
if test "${ac_cv_prog_CC+set}" = set; then :
4647
$as_echo_n "(cached) " >&6
4649
if test -n "$CC"; then
4650
ac_cv_prog_CC="$CC" # Let the user override the test.
4652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656
test -z "$as_dir" && as_dir=.
4657
for ac_exec_ext in '' $ac_executable_extensions; do
4658
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4660
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670
if test -n "$CC"; then
4671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4672
$as_echo "$CC" >&6; }
4674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675
$as_echo "no" >&6; }
4679
test -n "$CC" && break
4682
if test -z "$CC"; then
4684
for ac_prog in cl.exe
4686
# Extract the first word of "$ac_prog", so it can be a program name with args.
4687
set dummy $ac_prog; ac_word=$2
4688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689
$as_echo_n "checking for $ac_word... " >&6; }
4690
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4691
$as_echo_n "(cached) " >&6
4693
if test -n "$ac_ct_CC"; then
4694
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700
test -z "$as_dir" && as_dir=.
4701
for ac_exec_ext in '' $ac_executable_extensions; do
4702
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703
ac_cv_prog_ac_ct_CC="$ac_prog"
4704
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4714
if test -n "$ac_ct_CC"; then
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4716
$as_echo "$ac_ct_CC" >&6; }
4718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719
$as_echo "no" >&6; }
4723
test -n "$ac_ct_CC" && break
4726
if test "x$ac_ct_CC" = x; then
4729
case $cross_compiling:$ac_tool_warned in
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4732
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4733
ac_tool_warned=yes ;;
4742
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744
as_fn_error $? "no acceptable C compiler found in \$PATH
4745
See \`config.log' for more details" "$LINENO" 5 ; }
4747
# Provide some information about the compiler.
4748
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4751
for ac_option in --version -v -V -qversion; do
4752
{ { ac_try="$ac_compiler $ac_option >&5"
4754
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755
*) ac_try_echo=$ac_try;;
4757
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4758
$as_echo "$ac_try_echo"; } >&5
4759
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4761
if test -s conftest.err; then
4763
... rest of stderr output deleted ...
4764
10q' conftest.err >conftest.er1
4765
cat conftest.er1 >&5
4767
rm -f conftest.er1 conftest.err
4768
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769
test $ac_status = 0; }
4772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4773
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4774
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4775
$as_echo_n "(cached) " >&6
4777
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778
/* end confdefs.h. */
4791
if ac_fn_c_try_compile "$LINENO"; then :
4796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4801
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4802
if test $ac_compiler_gnu = yes; then
4807
ac_test_CFLAGS=${CFLAGS+set}
4808
ac_save_CFLAGS=$CFLAGS
4809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4810
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4811
if test "${ac_cv_prog_cc_g+set}" = set; then :
4812
$as_echo_n "(cached) " >&6
4814
ac_save_c_werror_flag=$ac_c_werror_flag
4815
ac_c_werror_flag=yes
4818
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819
/* end confdefs.h. */
4829
if ac_fn_c_try_compile "$LINENO"; then :
4833
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834
/* end confdefs.h. */
4844
if ac_fn_c_try_compile "$LINENO"; then :
4847
ac_c_werror_flag=$ac_save_c_werror_flag
4849
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850
/* end confdefs.h. */
4860
if ac_fn_c_try_compile "$LINENO"; then :
4863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868
ac_c_werror_flag=$ac_save_c_werror_flag
4870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4871
$as_echo "$ac_cv_prog_cc_g" >&6; }
4872
if test "$ac_test_CFLAGS" = set; then
4873
CFLAGS=$ac_save_CFLAGS
4874
elif test $ac_cv_prog_cc_g = yes; then
4875
if test "$GCC" = yes; then
4881
if test "$GCC" = yes; then
4887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4888
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4889
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4890
$as_echo_n "(cached) " >&6
4892
ac_cv_prog_cc_c89=no
4894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895
/* end confdefs.h. */
4898
#include <sys/types.h>
4899
#include <sys/stat.h>
4900
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4901
struct buf { int x; };
4902
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4903
static char *e (p, i)
4909
static char *f (char * (*g) (char **, int), char **p, ...)
4914
s = g (p, va_arg (v,int));
4919
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4920
function prototypes and stuff, but not '\xHH' hex character constants.
4921
These don't provoke an error unfortunately, instead are silently treated
4922
as 'x'. The following induces an error, until -std is added to get
4923
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4924
array size at least. It's necessary to write '\x00'==0 to get something
4925
that's true only with -std. */
4926
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4928
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4929
inside strings and character constants. */
4931
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4933
int test (int i, double x);
4934
struct s1 {int (*f) (int a);};
4935
struct s2 {int (*f) (double a);};
4936
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4942
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4947
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4948
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4950
CC="$ac_save_CC $ac_arg"
4951
if ac_fn_c_try_compile "$LINENO"; then :
4952
ac_cv_prog_cc_c89=$ac_arg
4954
rm -f core conftest.err conftest.$ac_objext
4955
test "x$ac_cv_prog_cc_c89" != "xno" && break
4957
rm -f conftest.$ac_ext
4962
case "x$ac_cv_prog_cc_c89" in
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4965
$as_echo "none needed" >&6; } ;;
4967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4968
$as_echo "unsupported" >&6; } ;;
4970
CC="$CC $ac_cv_prog_cc_c89"
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4972
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4974
if test "x$ac_cv_prog_cc_c89" != xno; then :
4979
ac_cpp='$CPP $CPPFLAGS'
4980
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4984
depcc="$CC" am_compiler_list=
4986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4987
$as_echo_n "checking dependency style of $depcc... " >&6; }
4988
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4989
$as_echo_n "(cached) " >&6
4991
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4992
# We make a subdir and do the tests there. Otherwise we can end up
4993
# making bogus files that we don't know about and never remove. For
4994
# instance it was reported that on HP-UX the gcc test will end up
4995
# making a dummy file named `D' -- because `-MD' means `put the output
4998
# Copy depcomp to subdir because otherwise we won't find it if we're
4999
# using a relative directory.
5000
cp "$am_depcomp" conftest.dir
5002
# We will build objects and dependencies in a subdirectory because
5003
# it helps to detect inapplicable dependency modes. For instance
5004
# both Tru64's cc and ICC support -MD to output dependencies as a
5005
# side effect of compilation, but ICC will put the dependencies in
5006
# the current directory while Tru64 will put them in the object
5010
am_cv_CC_dependencies_compiler_type=none
5011
if test "$am_compiler_list" = ""; then
5012
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5015
case " $depcc " in #(
5016
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5019
for depmode in $am_compiler_list; do
5020
# Setup a source with many dependencies, because some compilers
5021
# like to wrap large dependency lists on column 80 (with \), and
5022
# we should not choose a depcomp mode which is confused by this.
5024
# We need to recreate these files for each test, as the compiler may
5025
# overwrite some of them when testing with obscure command lines.
5026
# This happens at least with the AIX C compiler.
5028
for i in 1 2 3 4 5 6; do
5029
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5030
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5031
# Solaris 8's {/usr,}/bin/sh.
5032
touch sub/conftst$i.h
5034
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5036
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5037
# mode. It turns out that the SunPro C++ compiler does not properly
5038
# handle `-M -o', and we need to detect this. Also, some Intel
5039
# versions had trouble with output in subdirs
5040
am__obj=sub/conftest.${OBJEXT-o}
5041
am__minus_obj="-o $am__obj"
5044
# This depmode causes a compiler race in universal mode.
5045
test "$am__universal" = false || continue
5048
# after this tag, mechanisms are not by side-effect, so they'll
5049
# only be used when explicitly requested
5050
if test "x$enable_dependency_tracking" = xyes; then
5056
msvisualcpp | msvcmsys)
5057
# This compiler won't grok `-c -o', but also, the minuso test has
5058
# not run yet. These depmodes are late enough in the game, and
5059
# so weak that their functioning should not be impacted.
5060
am__obj=conftest.${OBJEXT-o}
5065
if depmode=$depmode \
5066
source=sub/conftest.c object=$am__obj \
5067
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5068
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5069
>/dev/null 2>conftest.err &&
5070
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5071
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5072
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5073
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5074
# icc doesn't choke on unknown options, it will just issue warnings
5075
# or remarks (even with -Werror). So we grep stderr for any message
5076
# that says an option was ignored or not supported.
5077
# When given -MP, icc 7.0 and 7.1 complain thusly:
5078
# icc: Command line warning: ignoring option '-M'; no argument required
5079
# The diagnosis changed in icc 8.0:
5080
# icc: Command line remark: option '-MP' not supported
5081
if (grep 'ignoring option' conftest.err ||
5082
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5083
am_cv_CC_dependencies_compiler_type=$depmode
5092
am_cv_CC_dependencies_compiler_type=none
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5097
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5098
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5101
test "x$enable_dependency_tracking" != xno \
5102
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5104
am__fastdepCC_FALSE='#'
5106
am__fastdepCC_TRUE='#'
5107
am__fastdepCC_FALSE=
5111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5112
$as_echo_n "checking for library containing strerror... " >&6; }
5113
if test "${ac_cv_search_strerror+set}" = set; then :
5114
$as_echo_n "(cached) " >&6
5116
ac_func_search_save_LIBS=$LIBS
5117
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118
/* end confdefs.h. */
5120
/* Override any GCC internal prototype to avoid an error.
5121
Use char because int might match the return type of a GCC
5122
builtin and then its argument prototype would still apply. */
5135
for ac_lib in '' cposix; do
5136
if test -z "$ac_lib"; then
5137
ac_res="none required"
5140
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5142
if ac_fn_c_try_link "$LINENO"; then :
5143
ac_cv_search_strerror=$ac_res
5145
rm -f core conftest.err conftest.$ac_objext \
5147
if test "${ac_cv_search_strerror+set}" = set; then :
5151
if test "${ac_cv_search_strerror+set}" = set; then :
5154
ac_cv_search_strerror=no
5157
LIBS=$ac_func_search_save_LIBS
5159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5160
$as_echo "$ac_cv_search_strerror" >&6; }
5161
ac_res=$ac_cv_search_strerror
5162
if test "$ac_res" != no; then :
5163
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5168
ac_cpp='$CPP $CPPFLAGS'
5169
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5173
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5174
# On Suns, sometimes $CPP names a directory.
5175
if test -n "$CPP" && test -d "$CPP"; then
5178
if test -z "$CPP"; then
5179
if test "${ac_cv_prog_CPP+set}" = set; then :
5180
$as_echo_n "(cached) " >&6
5182
# Double quotes because CPP needs to be expanded
5183
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5186
for ac_c_preproc_warn_flag in '' yes
5188
# Use a header file that comes with gcc, so configuring glibc
5189
# with a fresh cross-compiler works.
5190
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5191
# <limits.h> exists even on freestanding compilers.
5192
# On the NeXT, cc -E runs the code through the compiler's parser,
5193
# not just through cpp. "Syntax error" is here to catch this case.
5194
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195
/* end confdefs.h. */
5197
# include <limits.h>
5199
# include <assert.h>
5203
if ac_fn_c_try_cpp "$LINENO"; then :
5206
# Broken: fails on valid input.
5209
rm -f conftest.err conftest.i conftest.$ac_ext
5211
# OK, works on sane cases. Now check whether nonexistent headers
5212
# can be detected and how.
5213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214
/* end confdefs.h. */
5215
#include <ac_nonexistent.h>
5217
if ac_fn_c_try_cpp "$LINENO"; then :
5218
# Broken: success on invalid input.
5221
# Passes both tests.
5225
rm -f conftest.err conftest.i conftest.$ac_ext
5228
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5229
rm -f conftest.i conftest.err conftest.$ac_ext
5230
if $ac_preproc_ok; then :
5242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5243
$as_echo "$CPP" >&6; }
5245
for ac_c_preproc_warn_flag in '' yes
5247
# Use a header file that comes with gcc, so configuring glibc
5248
# with a fresh cross-compiler works.
5249
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5250
# <limits.h> exists even on freestanding compilers.
5251
# On the NeXT, cc -E runs the code through the compiler's parser,
5252
# not just through cpp. "Syntax error" is here to catch this case.
5253
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254
/* end confdefs.h. */
5256
# include <limits.h>
5258
# include <assert.h>
5262
if ac_fn_c_try_cpp "$LINENO"; then :
5265
# Broken: fails on valid input.
5268
rm -f conftest.err conftest.i conftest.$ac_ext
5270
# OK, works on sane cases. Now check whether nonexistent headers
5271
# can be detected and how.
5272
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273
/* end confdefs.h. */
5274
#include <ac_nonexistent.h>
5276
if ac_fn_c_try_cpp "$LINENO"; then :
5277
# Broken: success on invalid input.
5280
# Passes both tests.
5284
rm -f conftest.err conftest.i conftest.$ac_ext
5287
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5288
rm -f conftest.i conftest.err conftest.$ac_ext
5289
if $ac_preproc_ok; then :
5292
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5293
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5294
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5295
See \`config.log' for more details" "$LINENO" 5 ; }
5299
ac_cpp='$CPP $CPPFLAGS'
5300
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5301
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5302
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5306
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5307
if test "${ac_cv_path_GREP+set}" = set; then :
5308
$as_echo_n "(cached) " >&6
5310
if test -z "$GREP"; then
5311
ac_path_GREP_found=false
5312
# Loop through the user's path and test for each of PROGNAME-LIST
5313
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5317
test -z "$as_dir" && as_dir=.
5318
for ac_prog in grep ggrep; do
5319
for ac_exec_ext in '' $ac_executable_extensions; do
5320
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5321
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5322
# Check for GNU ac_path_GREP and select it if it is found.
5323
# Check for GNU $ac_path_GREP
5324
case `"$ac_path_GREP" --version 2>&1` in
5326
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5329
$as_echo_n 0123456789 >"conftest.in"
5332
cat "conftest.in" "conftest.in" >"conftest.tmp"
5333
mv "conftest.tmp" "conftest.in"
5334
cp "conftest.in" "conftest.nl"
5335
$as_echo 'GREP' >> "conftest.nl"
5336
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5337
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5338
as_fn_arith $ac_count + 1 && ac_count=$as_val
5339
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5340
# Best one so far, save it but keep looking for a better one
5341
ac_cv_path_GREP="$ac_path_GREP"
5342
ac_path_GREP_max=$ac_count
5344
# 10*(2^10) chars as input seems more than enough
5345
test $ac_count -gt 10 && break
5347
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5350
$ac_path_GREP_found && break 3
5355
if test -z "$ac_cv_path_GREP"; then
5356
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5359
ac_cv_path_GREP=$GREP
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5364
$as_echo "$ac_cv_path_GREP" >&6; }
5365
GREP="$ac_cv_path_GREP"
5368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5369
$as_echo_n "checking for egrep... " >&6; }
5370
if test "${ac_cv_path_EGREP+set}" = set; then :
5371
$as_echo_n "(cached) " >&6
5373
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5374
then ac_cv_path_EGREP="$GREP -E"
5376
if test -z "$EGREP"; then
5377
ac_path_EGREP_found=false
5378
# Loop through the user's path and test for each of PROGNAME-LIST
5379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5383
test -z "$as_dir" && as_dir=.
5384
for ac_prog in egrep; do
5385
for ac_exec_ext in '' $ac_executable_extensions; do
5386
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5387
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5388
# Check for GNU ac_path_EGREP and select it if it is found.
5389
# Check for GNU $ac_path_EGREP
5390
case `"$ac_path_EGREP" --version 2>&1` in
5392
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5395
$as_echo_n 0123456789 >"conftest.in"
5398
cat "conftest.in" "conftest.in" >"conftest.tmp"
5399
mv "conftest.tmp" "conftest.in"
5400
cp "conftest.in" "conftest.nl"
5401
$as_echo 'EGREP' >> "conftest.nl"
5402
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5403
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5404
as_fn_arith $ac_count + 1 && ac_count=$as_val
5405
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5406
# Best one so far, save it but keep looking for a better one
5407
ac_cv_path_EGREP="$ac_path_EGREP"
5408
ac_path_EGREP_max=$ac_count
5410
# 10*(2^10) chars as input seems more than enough
5411
test $ac_count -gt 10 && break
5413
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5416
$ac_path_EGREP_found && break 3
5421
if test -z "$ac_cv_path_EGREP"; then
5422
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5425
ac_cv_path_EGREP=$EGREP
5430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5431
$as_echo "$ac_cv_path_EGREP" >&6; }
5432
EGREP="$ac_cv_path_EGREP"
5435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5436
$as_echo_n "checking for ANSI C header files... " >&6; }
5437
if test "${ac_cv_header_stdc+set}" = set; then :
5438
$as_echo_n "(cached) " >&6
5440
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441
/* end confdefs.h. */
5455
if ac_fn_c_try_compile "$LINENO"; then :
5456
ac_cv_header_stdc=yes
5458
ac_cv_header_stdc=no
5460
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5462
if test $ac_cv_header_stdc = yes; then
5463
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5465
/* end confdefs.h. */
5469
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5470
$EGREP "memchr" >/dev/null 2>&1; then :
5473
ac_cv_header_stdc=no
5479
if test $ac_cv_header_stdc = yes; then
5480
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5481
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5482
/* end confdefs.h. */
5486
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5487
$EGREP "free" >/dev/null 2>&1; then :
5490
ac_cv_header_stdc=no
5496
if test $ac_cv_header_stdc = yes; then
5497
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5498
if test "$cross_compiling" = yes; then :
5501
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502
/* end confdefs.h. */
5505
#if ((' ' & 0x0FF) == 0x020)
5506
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5507
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5509
# define ISLOWER(c) \
5510
(('a' <= (c) && (c) <= 'i') \
5511
|| ('j' <= (c) && (c) <= 'r') \
5512
|| ('s' <= (c) && (c) <= 'z'))
5513
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5516
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5521
for (i = 0; i < 256; i++)
5522
if (XOR (islower (i), ISLOWER (i))
5523
|| toupper (i) != TOUPPER (i))
5528
if ac_fn_c_try_run "$LINENO"; then :
5531
ac_cv_header_stdc=no
5533
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5534
conftest.$ac_objext conftest.beam conftest.$ac_ext
5539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5540
$as_echo "$ac_cv_header_stdc" >&6; }
5541
if test $ac_cv_header_stdc = yes; then
5543
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5550
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5555
macro_version='2.2.6b'
5556
macro_revision='1.3017'
5570
ltmain="$ac_aux_dir/ltmain.sh"
5572
# Make sure we can run config.sub.
5573
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5574
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5577
$as_echo_n "checking build system type... " >&6; }
5578
if test "${ac_cv_build+set}" = set; then :
5579
$as_echo_n "(cached) " >&6
5581
ac_build_alias=$build_alias
5582
test "x$ac_build_alias" = x &&
5583
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5584
test "x$ac_build_alias" = x &&
5585
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5586
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5587
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5591
$as_echo "$ac_cv_build" >&6; }
5592
case $ac_cv_build in
5594
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5597
ac_save_IFS=$IFS; IFS='-'
5603
# Remember, the first character of IFS is used to create $*,
5604
# except with old shells:
5607
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5611
$as_echo_n "checking host system type... " >&6; }
5612
if test "${ac_cv_host+set}" = set; then :
5613
$as_echo_n "(cached) " >&6
5615
if test "x$host_alias" = x; then
5616
ac_cv_host=$ac_cv_build
5618
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5619
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5624
$as_echo "$ac_cv_host" >&6; }
5627
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5630
ac_save_IFS=$IFS; IFS='-'
5636
# Remember, the first character of IFS is used to create $*,
5637
# except with old shells:
5640
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5644
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5645
if test "${ac_cv_path_SED+set}" = set; then :
5646
$as_echo_n "(cached) " >&6
5648
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5649
for ac_i in 1 2 3 4 5 6 7; do
5650
ac_script="$ac_script$as_nl$ac_script"
5652
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5653
{ ac_script=; unset ac_script;}
5654
if test -z "$SED"; then
5655
ac_path_SED_found=false
5656
# Loop through the user's path and test for each of PROGNAME-LIST
5657
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661
test -z "$as_dir" && as_dir=.
5662
for ac_prog in sed gsed; do
5663
for ac_exec_ext in '' $ac_executable_extensions; do
5664
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5665
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5666
# Check for GNU ac_path_SED and select it if it is found.
5667
# Check for GNU $ac_path_SED
5668
case `"$ac_path_SED" --version 2>&1` in
5670
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5673
$as_echo_n 0123456789 >"conftest.in"
5676
cat "conftest.in" "conftest.in" >"conftest.tmp"
5677
mv "conftest.tmp" "conftest.in"
5678
cp "conftest.in" "conftest.nl"
5679
$as_echo '' >> "conftest.nl"
5680
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5681
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5682
as_fn_arith $ac_count + 1 && ac_count=$as_val
5683
if test $ac_count -gt ${ac_path_SED_max-0}; then
5684
# Best one so far, save it but keep looking for a better one
5685
ac_cv_path_SED="$ac_path_SED"
5686
ac_path_SED_max=$ac_count
5688
# 10*(2^10) chars as input seems more than enough
5689
test $ac_count -gt 10 && break
5691
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5694
$ac_path_SED_found && break 3
5699
if test -z "$ac_cv_path_SED"; then
5700
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5708
$as_echo "$ac_cv_path_SED" >&6; }
5709
SED="$ac_cv_path_SED"
5712
test -z "$SED" && SED=sed
5713
Xsed="$SED -e 1s/^X//"
5725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5726
$as_echo_n "checking for fgrep... " >&6; }
5727
if test "${ac_cv_path_FGREP+set}" = set; then :
5728
$as_echo_n "(cached) " >&6
5730
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5731
then ac_cv_path_FGREP="$GREP -F"
5733
if test -z "$FGREP"; then
5734
ac_path_FGREP_found=false
5735
# Loop through the user's path and test for each of PROGNAME-LIST
5736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5740
test -z "$as_dir" && as_dir=.
5741
for ac_prog in fgrep; do
5742
for ac_exec_ext in '' $ac_executable_extensions; do
5743
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5744
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5745
# Check for GNU ac_path_FGREP and select it if it is found.
5746
# Check for GNU $ac_path_FGREP
5747
case `"$ac_path_FGREP" --version 2>&1` in
5749
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5752
$as_echo_n 0123456789 >"conftest.in"
5755
cat "conftest.in" "conftest.in" >"conftest.tmp"
5756
mv "conftest.tmp" "conftest.in"
5757
cp "conftest.in" "conftest.nl"
5758
$as_echo 'FGREP' >> "conftest.nl"
5759
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5760
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5761
as_fn_arith $ac_count + 1 && ac_count=$as_val
5762
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5763
# Best one so far, save it but keep looking for a better one
5764
ac_cv_path_FGREP="$ac_path_FGREP"
5765
ac_path_FGREP_max=$ac_count
5767
# 10*(2^10) chars as input seems more than enough
5768
test $ac_count -gt 10 && break
5770
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5773
$ac_path_FGREP_found && break 3
5778
if test -z "$ac_cv_path_FGREP"; then
5779
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5782
ac_cv_path_FGREP=$FGREP
5787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5788
$as_echo "$ac_cv_path_FGREP" >&6; }
5789
FGREP="$ac_cv_path_FGREP"
5792
test -z "$GREP" && GREP=grep
5812
# Check whether --with-gnu-ld was given.
5813
if test "${with_gnu_ld+set}" = set; then :
5814
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5820
if test "$GCC" = yes; then
5821
# Check if gcc -print-prog-name=ld gives a path.
5822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5823
$as_echo_n "checking for ld used by $CC... " >&6; }
5826
# gcc leaves a trailing carriage return which upsets mingw
5827
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5829
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5832
# Accept absolute paths.
5834
re_direlt='/[^/][^/]*/\.\./'
5835
# Canonicalize the pathname of ld
5836
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5837
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5838
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5840
test -z "$LD" && LD="$ac_prog"
5843
# If it fails, then pretend we aren't using GCC.
5847
# If it is relative, then search for the first ld in PATH.
5851
elif test "$with_gnu_ld" = yes; then
5852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5853
$as_echo_n "checking for GNU ld... " >&6; }
5855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5856
$as_echo_n "checking for non-GNU ld... " >&6; }
5858
if test "${lt_cv_path_LD+set}" = set; then :
5859
$as_echo_n "(cached) " >&6
5861
if test -z "$LD"; then
5862
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5863
for ac_dir in $PATH; do
5865
test -z "$ac_dir" && ac_dir=.
5866
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5867
lt_cv_path_LD="$ac_dir/$ac_prog"
5868
# Check to see if the program is GNU ld. I'd rather use --version,
5869
# but apparently some variants of GNU ld only accept -v.
5870
# Break only if it was the GNU/non-GNU ld that we prefer.
5871
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5872
*GNU* | *'with BFD'*)
5873
test "$with_gnu_ld" != no && break
5876
test "$with_gnu_ld" != yes && break
5883
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5888
if test -n "$LD"; then
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5890
$as_echo "$LD" >&6; }
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893
$as_echo "no" >&6; }
5895
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5897
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5898
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5899
$as_echo_n "(cached) " >&6
5901
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5902
case `$LD -v 2>&1 </dev/null` in
5903
*GNU* | *'with BFD'*)
5904
lt_cv_prog_gnu_ld=yes
5907
lt_cv_prog_gnu_ld=no
5911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5912
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5913
with_gnu_ld=$lt_cv_prog_gnu_ld
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5924
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5925
if test "${lt_cv_path_NM+set}" = set; then :
5926
$as_echo_n "(cached) " >&6
5928
if test -n "$NM"; then
5929
# Let the user override the test.
5932
lt_nm_to_check="${ac_tool_prefix}nm"
5933
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5934
lt_nm_to_check="$lt_nm_to_check nm"
5936
for lt_tmp_nm in $lt_nm_to_check; do
5937
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5938
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5940
test -z "$ac_dir" && ac_dir=.
5941
tmp_nm="$ac_dir/$lt_tmp_nm"
5942
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5943
# Check to see if the nm accepts a BSD-compat flag.
5944
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5945
# nm: unknown option "B" ignored
5946
# Tru64's nm complains that /dev/null is an invalid object file
5947
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5948
*/dev/null* | *'Invalid file or object type'*)
5949
lt_cv_path_NM="$tmp_nm -B"
5953
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5955
lt_cv_path_NM="$tmp_nm -p"
5959
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5960
continue # so that we can try to find one that supports BSD flags
5969
: ${lt_cv_path_NM=no}
5972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5973
$as_echo "$lt_cv_path_NM" >&6; }
5974
if test "$lt_cv_path_NM" != "no"; then
5977
# Didn't find any BSD compatible name lister, look for dumpbin.
5978
if test -n "$ac_tool_prefix"; then
5979
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5981
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5982
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984
$as_echo_n "checking for $ac_word... " >&6; }
5985
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5986
$as_echo_n "(cached) " >&6
5988
if test -n "$DUMPBIN"; then
5989
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995
test -z "$as_dir" && as_dir=.
5996
for ac_exec_ext in '' $ac_executable_extensions; do
5997
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5998
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5999
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6008
DUMPBIN=$ac_cv_prog_DUMPBIN
6009
if test -n "$DUMPBIN"; then
6010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6011
$as_echo "$DUMPBIN" >&6; }
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014
$as_echo "no" >&6; }
6018
test -n "$DUMPBIN" && break
6021
if test -z "$DUMPBIN"; then
6022
ac_ct_DUMPBIN=$DUMPBIN
6023
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6025
# Extract the first word of "$ac_prog", so it can be a program name with args.
6026
set dummy $ac_prog; ac_word=$2
6027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028
$as_echo_n "checking for $ac_word... " >&6; }
6029
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6030
$as_echo_n "(cached) " >&6
6032
if test -n "$ac_ct_DUMPBIN"; then
6033
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6035
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039
test -z "$as_dir" && as_dir=.
6040
for ac_exec_ext in '' $ac_executable_extensions; do
6041
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6043
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6053
if test -n "$ac_ct_DUMPBIN"; then
6054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6055
$as_echo "$ac_ct_DUMPBIN" >&6; }
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058
$as_echo "no" >&6; }
6062
test -n "$ac_ct_DUMPBIN" && break
6065
if test "x$ac_ct_DUMPBIN" = x; then
6068
case $cross_compiling:$ac_tool_warned in
6070
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072
ac_tool_warned=yes ;;
6074
DUMPBIN=$ac_ct_DUMPBIN
6079
if test "$DUMPBIN" != ":"; then
6083
test -z "$NM" && NM=nm
6090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6091
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6092
if test "${lt_cv_nm_interface+set}" = set; then :
6093
$as_echo_n "(cached) " >&6
6095
lt_cv_nm_interface="BSD nm"
6096
echo "int some_variable = 0;" > conftest.$ac_ext
6097
(eval echo "\"\$as_me:6097: $ac_compile\"" >&5)
6098
(eval "$ac_compile" 2>conftest.err)
6099
cat conftest.err >&5
6100
(eval echo "\"\$as_me:6100: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6101
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6102
cat conftest.err >&5
6103
(eval echo "\"\$as_me:6103: output\"" >&5)
6104
cat conftest.out >&5
6105
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6106
lt_cv_nm_interface="MS dumpbin"
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6111
$as_echo "$lt_cv_nm_interface" >&6; }
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6114
$as_echo_n "checking whether ln -s works... " >&6; }
6116
if test "$LN_S" = "ln -s"; then
6117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6118
$as_echo "yes" >&6; }
6120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6121
$as_echo "no, using $LN_S" >&6; }
6124
# find the maximum length of command line arguments
6125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6126
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6127
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6128
$as_echo_n "(cached) " >&6
6135
# On DJGPP, this test can blow up pretty badly due to problems in libc
6136
# (any single argument exceeding 2000 bytes causes a buffer overrun
6137
# during glob expansion). Even if it were fixed, the result of this
6138
# check would be larger than it should be.
6139
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6143
# Under GNU Hurd, this test is not required because there is
6144
# no limit to the length of command line arguments.
6145
# Libtool will interpret -1 as no limit whatsoever
6146
lt_cv_sys_max_cmd_len=-1;
6149
cygwin* | mingw* | cegcc*)
6150
# On Win9x/ME, this test blows up -- it succeeds, but takes
6151
# about 5 minutes as the teststring grows exponentially.
6152
# Worse, since 9x/ME are not pre-emptively multitasking,
6153
# you end up with a "frozen" computer, even though with patience
6154
# the test eventually succeeds (with a max line length of 256k).
6155
# Instead, let's just punt: use the minimum linelength reported by
6156
# all of the supported platforms: 8192 (on NT/2K/XP).
6157
lt_cv_sys_max_cmd_len=8192;
6161
# On AmigaOS with pdksh, this test takes hours, literally.
6162
# So we just punt and use a minimum line length of 8192.
6163
lt_cv_sys_max_cmd_len=8192;
6166
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6167
# This has been around since 386BSD, at least. Likely further.
6168
if test -x /sbin/sysctl; then
6169
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6170
elif test -x /usr/sbin/sysctl; then
6171
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6173
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6175
# And add a safety zone
6176
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6177
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6181
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6182
lt_cv_sys_max_cmd_len=196608
6186
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6187
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6188
# nice to cause kernel panics so lets avoid the loop below.
6189
# First set a reasonable default.
6190
lt_cv_sys_max_cmd_len=16384
6192
if test -x /sbin/sysconfig; then
6193
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6194
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6199
lt_cv_sys_max_cmd_len=102400
6201
sysv5* | sco5v6* | sysv4.2uw2*)
6202
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6203
if test -n "$kargmax"; then
6204
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6206
lt_cv_sys_max_cmd_len=32768
6210
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6211
if test -n "$lt_cv_sys_max_cmd_len"; then
6212
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6213
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6215
# Make teststring a little bigger before we do anything with it.
6216
# a 1K string should be a reasonable start.
6217
for i in 1 2 3 4 5 6 7 8 ; do
6218
teststring=$teststring$teststring
6220
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6221
# If test is not a shell built-in, we'll probably end up computing a
6222
# maximum length that is only half of the actual maximum length, but
6224
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6225
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6226
test $i != 17 # 1/2 MB should be enough
6229
teststring=$teststring$teststring
6231
# Only check the string length outside the loop.
6232
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6234
# Add a significant safety factor because C++ compilers can tack on
6235
# massive amounts of additional arguments before passing them to the
6236
# linker. It appears as though 1/2 is a usable value.
6237
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6244
if test -n $lt_cv_sys_max_cmd_len ; then
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6246
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6249
$as_echo "none" >&6; }
6251
max_cmd_len=$lt_cv_sys_max_cmd_len
6262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6263
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6264
# Try some XSI features
6267
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6269
&& eval 'test $(( 1 + 1 )) -eq 2 \
6270
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6273
$as_echo "$xsi_shell" >&6; }
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6277
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6279
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6281
&& lt_shell_append=yes
6282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6283
$as_echo "$lt_shell_append" >&6; }
6286
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6296
# test EBCDIC or ASCII
6297
case `echo X|tr X '\101'` in
6298
A) # ASCII based system
6299
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6300
lt_SP2NL='tr \040 \012'
6301
lt_NL2SP='tr \015\012 \040\040'
6303
*) # EBCDIC based system
6304
lt_SP2NL='tr \100 \n'
6305
lt_NL2SP='tr \r\n \100\100'
6317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6318
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6319
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6320
$as_echo_n "(cached) " >&6
6322
lt_cv_ld_reload_flag='-r'
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6325
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6326
reload_flag=$lt_cv_ld_reload_flag
6327
case $reload_flag in
6329
*) reload_flag=" $reload_flag" ;;
6331
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6334
if test "$GCC" = yes; then
6335
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6337
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6350
if test -n "$ac_tool_prefix"; then
6351
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6352
set dummy ${ac_tool_prefix}objdump; 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 test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6356
$as_echo_n "(cached) " >&6
6358
if test -n "$OBJDUMP"; then
6359
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365
test -z "$as_dir" && as_dir=.
6366
for ac_exec_ext in '' $ac_executable_extensions; do
6367
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6369
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378
OBJDUMP=$ac_cv_prog_OBJDUMP
6379
if test -n "$OBJDUMP"; then
6380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6381
$as_echo "$OBJDUMP" >&6; }
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384
$as_echo "no" >&6; }
6389
if test -z "$ac_cv_prog_OBJDUMP"; then
6390
ac_ct_OBJDUMP=$OBJDUMP
6391
# Extract the first word of "objdump", so it can be a program name with args.
6392
set dummy objdump; 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 test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6396
$as_echo_n "(cached) " >&6
6398
if test -n "$ac_ct_OBJDUMP"; then
6399
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6401
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405
test -z "$as_dir" && as_dir=.
6406
for ac_exec_ext in '' $ac_executable_extensions; do
6407
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6409
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6419
if test -n "$ac_ct_OBJDUMP"; then
6420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6421
$as_echo "$ac_ct_OBJDUMP" >&6; }
6423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424
$as_echo "no" >&6; }
6427
if test "x$ac_ct_OBJDUMP" = x; then
6430
case $cross_compiling:$ac_tool_warned in
6432
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434
ac_tool_warned=yes ;;
6436
OBJDUMP=$ac_ct_OBJDUMP
6439
OBJDUMP="$ac_cv_prog_OBJDUMP"
6442
test -z "$OBJDUMP" && OBJDUMP=objdump
6452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6453
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6454
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6455
$as_echo_n "(cached) " >&6
6457
lt_cv_file_magic_cmd='$MAGIC_CMD'
6458
lt_cv_file_magic_test_file=
6459
lt_cv_deplibs_check_method='unknown'
6460
# Need to set the preceding variable on all platforms that support
6461
# interlibrary dependencies.
6462
# 'none' -- dependencies not supported.
6463
# `unknown' -- same as none, but documents that we really don't know.
6464
# 'pass_all' -- all dependencies passed with no checks.
6465
# 'test_compile' -- check by making test program.
6466
# 'file_magic [[regex]]' -- check by looking for files in library path
6467
# which responds to the $file_magic_cmd with a given extended regex.
6468
# If you have `file' or equivalent on your system and you're not sure
6469
# whether `pass_all' will *always* work, you probably want this one.
6473
lt_cv_deplibs_check_method=pass_all
6477
lt_cv_deplibs_check_method=pass_all
6481
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6482
lt_cv_file_magic_cmd='/usr/bin/file -L'
6483
lt_cv_file_magic_test_file=/shlib/libc.so
6487
# func_win32_libid is a shell function defined in ltmain.sh
6488
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6489
lt_cv_file_magic_cmd='func_win32_libid'
6493
# Base MSYS/MinGW do not provide the 'file' command needed by
6494
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6495
# unless we find 'file', for example because we are cross-compiling.
6496
if ( file / ) >/dev/null 2>&1; then
6497
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6498
lt_cv_file_magic_cmd='func_win32_libid'
6500
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6501
lt_cv_file_magic_cmd='$OBJDUMP -f'
6506
# use the weaker test based on 'objdump'. See mingw*.
6507
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6508
lt_cv_file_magic_cmd='$OBJDUMP -f'
6511
darwin* | rhapsody*)
6512
lt_cv_deplibs_check_method=pass_all
6515
freebsd* | dragonfly*)
6516
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6519
# Not sure whether the presence of OpenBSD here was a mistake.
6520
# Let's accept both of them until this is cleared up.
6521
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6522
lt_cv_file_magic_cmd=/usr/bin/file
6523
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6527
lt_cv_deplibs_check_method=pass_all
6532
lt_cv_deplibs_check_method=pass_all
6535
hpux10.20* | hpux11*)
6536
lt_cv_file_magic_cmd=/usr/bin/file
6539
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6540
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6543
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6544
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6547
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6548
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6554
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6555
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6558
irix5* | irix6* | nonstopux*)
6560
*-32|*"-32 ") libmagic=32-bit;;
6561
*-n32|*"-n32 ") libmagic=N32;;
6562
*-64|*"-64 ") libmagic=64-bit;;
6563
*) libmagic=never-match;;
6565
lt_cv_deplibs_check_method=pass_all
6568
# This must be Linux ELF.
6569
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6570
lt_cv_deplibs_check_method=pass_all
6573
netbsd* | netbsdelf*-gnu)
6574
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6575
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6577
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6582
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6583
lt_cv_file_magic_cmd=/usr/bin/file
6584
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6588
lt_cv_deplibs_check_method=pass_all
6592
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6593
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6595
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6599
osf3* | osf4* | osf5*)
6600
lt_cv_deplibs_check_method=pass_all
6604
lt_cv_deplibs_check_method=pass_all
6608
lt_cv_deplibs_check_method=pass_all
6611
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6612
lt_cv_deplibs_check_method=pass_all
6616
case $host_vendor in
6618
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]'
6619
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6622
lt_cv_deplibs_check_method=pass_all
6625
lt_cv_file_magic_cmd='/bin/file'
6626
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6629
lt_cv_file_magic_cmd='/bin/file'
6630
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6631
lt_cv_file_magic_test_file=/lib/libc.so
6634
lt_cv_deplibs_check_method=pass_all
6637
lt_cv_deplibs_check_method=pass_all
6643
lt_cv_deplibs_check_method=pass_all
6648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6649
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6650
file_magic_cmd=$lt_cv_file_magic_cmd
6651
deplibs_check_method=$lt_cv_deplibs_check_method
6652
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6665
if test -n "$ac_tool_prefix"; then
6666
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6667
set dummy ${ac_tool_prefix}ar; ac_word=$2
6668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669
$as_echo_n "checking for $ac_word... " >&6; }
6670
if test "${ac_cv_prog_AR+set}" = set; then :
6671
$as_echo_n "(cached) " >&6
6673
if test -n "$AR"; then
6674
ac_cv_prog_AR="$AR" # Let the user override the test.
6676
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680
test -z "$as_dir" && as_dir=.
6681
for ac_exec_ext in '' $ac_executable_extensions; do
6682
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683
ac_cv_prog_AR="${ac_tool_prefix}ar"
6684
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694
if test -n "$AR"; then
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6696
$as_echo "$AR" >&6; }
6698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699
$as_echo "no" >&6; }
6704
if test -z "$ac_cv_prog_AR"; then
6706
# Extract the first word of "ar", so it can be a program name with args.
6707
set dummy ar; ac_word=$2
6708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709
$as_echo_n "checking for $ac_word... " >&6; }
6710
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6711
$as_echo_n "(cached) " >&6
6713
if test -n "$ac_ct_AR"; then
6714
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6716
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6720
test -z "$as_dir" && as_dir=.
6721
for ac_exec_ext in '' $ac_executable_extensions; do
6722
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723
ac_cv_prog_ac_ct_AR="ar"
6724
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6734
if test -n "$ac_ct_AR"; then
6735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6736
$as_echo "$ac_ct_AR" >&6; }
6738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739
$as_echo "no" >&6; }
6742
if test "x$ac_ct_AR" = x; then
6745
case $cross_compiling:$ac_tool_warned in
6747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749
ac_tool_warned=yes ;;
6757
test -z "$AR" && AR=ar
6758
test -z "$AR_FLAGS" && AR_FLAGS=cru
6770
if test -n "$ac_tool_prefix"; then
6771
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6772
set dummy ${ac_tool_prefix}strip; ac_word=$2
6773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774
$as_echo_n "checking for $ac_word... " >&6; }
6775
if test "${ac_cv_prog_STRIP+set}" = set; then :
6776
$as_echo_n "(cached) " >&6
6778
if test -n "$STRIP"; then
6779
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6781
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785
test -z "$as_dir" && as_dir=.
6786
for ac_exec_ext in '' $ac_executable_extensions; do
6787
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6789
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798
STRIP=$ac_cv_prog_STRIP
6799
if test -n "$STRIP"; then
6800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6801
$as_echo "$STRIP" >&6; }
6803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804
$as_echo "no" >&6; }
6809
if test -z "$ac_cv_prog_STRIP"; then
6811
# Extract the first word of "strip", so it can be a program name with args.
6812
set dummy strip; ac_word=$2
6813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814
$as_echo_n "checking for $ac_word... " >&6; }
6815
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6816
$as_echo_n "(cached) " >&6
6818
if test -n "$ac_ct_STRIP"; then
6819
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825
test -z "$as_dir" && as_dir=.
6826
for ac_exec_ext in '' $ac_executable_extensions; do
6827
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6828
ac_cv_prog_ac_ct_STRIP="strip"
6829
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6839
if test -n "$ac_ct_STRIP"; then
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6841
$as_echo "$ac_ct_STRIP" >&6; }
6843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844
$as_echo "no" >&6; }
6847
if test "x$ac_ct_STRIP" = x; then
6850
case $cross_compiling:$ac_tool_warned in
6852
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6853
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6854
ac_tool_warned=yes ;;
6859
STRIP="$ac_cv_prog_STRIP"
6862
test -z "$STRIP" && STRIP=:
6869
if test -n "$ac_tool_prefix"; then
6870
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6871
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873
$as_echo_n "checking for $ac_word... " >&6; }
6874
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6875
$as_echo_n "(cached) " >&6
6877
if test -n "$RANLIB"; then
6878
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884
test -z "$as_dir" && as_dir=.
6885
for ac_exec_ext in '' $ac_executable_extensions; do
6886
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6888
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897
RANLIB=$ac_cv_prog_RANLIB
6898
if test -n "$RANLIB"; then
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6900
$as_echo "$RANLIB" >&6; }
6902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903
$as_echo "no" >&6; }
6908
if test -z "$ac_cv_prog_RANLIB"; then
6909
ac_ct_RANLIB=$RANLIB
6910
# Extract the first word of "ranlib", so it can be a program name with args.
6911
set dummy ranlib; ac_word=$2
6912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913
$as_echo_n "checking for $ac_word... " >&6; }
6914
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6915
$as_echo_n "(cached) " >&6
6917
if test -n "$ac_ct_RANLIB"; then
6918
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924
test -z "$as_dir" && as_dir=.
6925
for ac_exec_ext in '' $ac_executable_extensions; do
6926
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927
ac_cv_prog_ac_ct_RANLIB="ranlib"
6928
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6938
if test -n "$ac_ct_RANLIB"; then
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940
$as_echo "$ac_ct_RANLIB" >&6; }
6942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943
$as_echo "no" >&6; }
6946
if test "x$ac_ct_RANLIB" = x; then
6949
case $cross_compiling:$ac_tool_warned in
6951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953
ac_tool_warned=yes ;;
6955
RANLIB=$ac_ct_RANLIB
6958
RANLIB="$ac_cv_prog_RANLIB"
6961
test -z "$RANLIB" && RANLIB=:
6968
# Determine commands to create old-style static archives.
6969
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6970
old_postinstall_cmds='chmod 644 $oldlib'
6971
old_postuninstall_cmds=
6973
if test -n "$RANLIB"; then
6976
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6979
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6982
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7018
# If no C compiler was specified, use CC.
7021
# If no C compiler flags were specified, use CFLAGS.
7022
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7024
# Allow CC to be a program name with arguments.
7028
# Check for command to grab the raw symbol name followed by C symbol from nm.
7029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7030
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7031
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7032
$as_echo_n "(cached) " >&6
7035
# These are sane defaults that work on at least a few old systems.
7036
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7038
# Character class describing NM global symbol codes.
7039
symcode='[BCDEGRST]'
7041
# Regexp to match symbols that can be accessed directly from C.
7042
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7044
# Define system-specific variables.
7049
cygwin* | mingw* | pw32* | cegcc*)
7050
symcode='[ABCDGISTW]'
7053
if test "$host_cpu" = ia64; then
7054
symcode='[ABCDEGRST]'
7058
symcode='[BCDEGRST]'
7061
symcode='[BCDEGQRST]'
7072
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7080
# If we're using GNU nm, then use its standard symbol codes.
7081
case `$NM -V 2>&1` in
7082
*GNU* | *'with BFD'*)
7083
symcode='[ABCDGIRSTW]' ;;
7086
# Transform an extracted symbol line into a proper C declaration.
7087
# Some systems (esp. on ia64) link data and code symbols differently,
7088
# so use this general approach.
7089
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7091
# Transform an extracted symbol line into symbol name and symbol address
7092
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7093
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'"
7095
# Handle CRLF in mingw tool chain
7099
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7103
# Try without a prefix underscore, then with it.
7104
for ac_symprfx in "" "_"; do
7106
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7107
symxfrm="\\1 $ac_symprfx\\2 \\2"
7109
# Write the raw and C identifiers.
7110
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7111
# Fake it for dumpbin and say T for any non-static function
7112
# and D for any global variable.
7113
# Also find C++ and __fastcall symbols from MSVC++,
7114
# which start with @ or ?.
7115
lt_cv_sys_global_symbol_pipe="$AWK '"\
7116
" {last_section=section; section=\$ 3};"\
7117
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7118
" \$ 0!~/External *\|/{next};"\
7119
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7120
" {if(hide[section]) next};"\
7121
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7122
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7123
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7124
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7125
" ' prfx=^$ac_symprfx"
7127
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7130
# Check to see that the pipe works correctly.
7134
cat > conftest.$ac_ext <<_LT_EOF
7139
void nm_test_func(void);
7140
void nm_test_func(void){}
7144
int main(){nm_test_var='a';nm_test_func();return(0);}
7147
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7148
(eval $ac_compile) 2>&5
7150
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151
test $ac_status = 0; }; then
7152
# Now try to grab the symbols.
7154
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7155
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7157
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7158
test $ac_status = 0; } && test -s "$nlist"; then
7159
# Try sorting and uniquifying the output.
7160
if sort "$nlist" | uniq > "$nlist"T; then
7161
mv -f "$nlist"T "$nlist"
7166
# Make sure that we snagged all the symbols we need.
7167
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7168
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7169
cat <<_LT_EOF > conftest.$ac_ext
7175
# Now generate the symbol file.
7176
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7178
cat <<_LT_EOF >> conftest.$ac_ext
7180
/* The mapping between symbol names and symbols. */
7185
lt__PROGRAM__LTX_preloaded_symbols[] =
7187
{ "@PROGRAM@", (void *) 0 },
7189
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7190
cat <<\_LT_EOF >> conftest.$ac_ext
7194
/* This works around a problem in FreeBSD linker */
7195
#ifdef FREEBSD_WORKAROUND
7196
static const void *lt_preloaded_setup() {
7197
return lt__PROGRAM__LTX_preloaded_symbols;
7205
# Now try linking the two files.
7206
mv conftest.$ac_objext conftstm.$ac_objext
7207
lt_save_LIBS="$LIBS"
7208
lt_save_CFLAGS="$CFLAGS"
7209
LIBS="conftstm.$ac_objext"
7210
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7211
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7212
(eval $ac_link) 2>&5
7214
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7215
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7218
LIBS="$lt_save_LIBS"
7219
CFLAGS="$lt_save_CFLAGS"
7221
echo "cannot find nm_test_func in $nlist" >&5
7224
echo "cannot find nm_test_var in $nlist" >&5
7227
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7230
echo "$progname: failed program was:" >&5
7231
cat conftest.$ac_ext >&5
7233
rm -rf conftest* conftst*
7235
# Do not use the global_symbol_pipe unless it works.
7236
if test "$pipe_works" = yes; then
7239
lt_cv_sys_global_symbol_pipe=
7245
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7246
lt_cv_sys_global_symbol_to_cdecl=
7248
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7250
$as_echo "failed" >&6; }
7252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7253
$as_echo "ok" >&6; }
7277
# Check whether --enable-libtool-lock was given.
7278
if test "${enable_libtool_lock+set}" = set; then :
7279
enableval=$enable_libtool_lock;
7282
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7284
# Some flags need to be propagated to the compiler or linker for good
7288
# Find out which ABI we are using.
7289
echo 'int i;' > conftest.$ac_ext
7290
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7291
(eval $ac_compile) 2>&5
7293
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294
test $ac_status = 0; }; then
7295
case `/usr/bin/file conftest.$ac_objext` in
7307
# Find out which ABI we are using.
7308
echo '#line 7308 "configure"' > conftest.$ac_ext
7309
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7310
(eval $ac_compile) 2>&5
7312
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7313
test $ac_status = 0; }; then
7314
if test "$lt_cv_prog_gnu_ld" = yes; then
7315
case `/usr/bin/file conftest.$ac_objext` in
7317
LD="${LD-ld} -melf32bsmip"
7320
LD="${LD-ld} -melf32bmipn32"
7323
LD="${LD-ld} -melf64bmip"
7327
case `/usr/bin/file conftest.$ac_objext` in
7343
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7344
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7345
# Find out which ABI we are using.
7346
echo 'int i;' > conftest.$ac_ext
7347
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7348
(eval $ac_compile) 2>&5
7350
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7351
test $ac_status = 0; }; then
7352
case `/usr/bin/file conftest.o` in
7355
x86_64-*kfreebsd*-gnu)
7356
LD="${LD-ld} -m elf_i386_fbsd"
7359
LD="${LD-ld} -m elf_i386"
7361
ppc64-*linux*|powerpc64-*linux*)
7362
LD="${LD-ld} -m elf32ppclinux"
7365
LD="${LD-ld} -m elf_s390"
7368
LD="${LD-ld} -m elf32_sparc"
7374
x86_64-*kfreebsd*-gnu)
7375
LD="${LD-ld} -m elf_x86_64_fbsd"
7378
LD="${LD-ld} -m elf_x86_64"
7380
ppc*-*linux*|powerpc*-*linux*)
7381
LD="${LD-ld} -m elf64ppc"
7383
s390*-*linux*|s390*-*tpf*)
7384
LD="${LD-ld} -m elf64_s390"
7387
LD="${LD-ld} -m elf64_sparc"
7397
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7398
SAVE_CFLAGS="$CFLAGS"
7399
CFLAGS="$CFLAGS -belf"
7400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7401
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7402
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7403
$as_echo_n "(cached) " >&6
7406
ac_cpp='$CPP $CPPFLAGS'
7407
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7408
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7409
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412
/* end confdefs.h. */
7422
if ac_fn_c_try_link "$LINENO"; then :
7423
lt_cv_cc_needs_belf=yes
7425
lt_cv_cc_needs_belf=no
7427
rm -f core conftest.err conftest.$ac_objext \
7428
conftest$ac_exeext conftest.$ac_ext
7430
ac_cpp='$CPP $CPPFLAGS'
7431
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7432
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7433
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7437
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7438
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7439
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7440
CFLAGS="$SAVE_CFLAGS"
7444
# Find out which ABI we are using.
7445
echo 'int i;' > conftest.$ac_ext
7446
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7447
(eval $ac_compile) 2>&5
7449
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7450
test $ac_status = 0; }; then
7451
case `/usr/bin/file conftest.o` in
7453
case $lt_cv_prog_gnu_ld in
7454
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7456
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7468
need_locks="$enable_libtool_lock"
7472
rhapsody* | darwin*)
7473
if test -n "$ac_tool_prefix"; then
7474
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7475
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477
$as_echo_n "checking for $ac_word... " >&6; }
7478
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7479
$as_echo_n "(cached) " >&6
7481
if test -n "$DSYMUTIL"; then
7482
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488
test -z "$as_dir" && as_dir=.
7489
for ac_exec_ext in '' $ac_executable_extensions; do
7490
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7492
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7502
if test -n "$DSYMUTIL"; then
7503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7504
$as_echo "$DSYMUTIL" >&6; }
7506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507
$as_echo "no" >&6; }
7512
if test -z "$ac_cv_prog_DSYMUTIL"; then
7513
ac_ct_DSYMUTIL=$DSYMUTIL
7514
# Extract the first word of "dsymutil", so it can be a program name with args.
7515
set dummy dsymutil; ac_word=$2
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517
$as_echo_n "checking for $ac_word... " >&6; }
7518
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7519
$as_echo_n "(cached) " >&6
7521
if test -n "$ac_ct_DSYMUTIL"; then
7522
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7524
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528
test -z "$as_dir" && as_dir=.
7529
for ac_exec_ext in '' $ac_executable_extensions; do
7530
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7532
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7542
if test -n "$ac_ct_DSYMUTIL"; then
7543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7544
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547
$as_echo "no" >&6; }
7550
if test "x$ac_ct_DSYMUTIL" = x; then
7553
case $cross_compiling:$ac_tool_warned in
7555
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557
ac_tool_warned=yes ;;
7559
DSYMUTIL=$ac_ct_DSYMUTIL
7562
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7565
if test -n "$ac_tool_prefix"; then
7566
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7567
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569
$as_echo_n "checking for $ac_word... " >&6; }
7570
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7571
$as_echo_n "(cached) " >&6
7573
if test -n "$NMEDIT"; then
7574
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7576
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580
test -z "$as_dir" && as_dir=.
7581
for ac_exec_ext in '' $ac_executable_extensions; do
7582
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7584
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593
NMEDIT=$ac_cv_prog_NMEDIT
7594
if test -n "$NMEDIT"; then
7595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7596
$as_echo "$NMEDIT" >&6; }
7598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599
$as_echo "no" >&6; }
7604
if test -z "$ac_cv_prog_NMEDIT"; then
7605
ac_ct_NMEDIT=$NMEDIT
7606
# Extract the first word of "nmedit", so it can be a program name with args.
7607
set dummy nmedit; ac_word=$2
7608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609
$as_echo_n "checking for $ac_word... " >&6; }
7610
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7611
$as_echo_n "(cached) " >&6
7613
if test -n "$ac_ct_NMEDIT"; then
7614
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620
test -z "$as_dir" && as_dir=.
7621
for ac_exec_ext in '' $ac_executable_extensions; do
7622
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7623
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7624
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7634
if test -n "$ac_ct_NMEDIT"; then
7635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7636
$as_echo "$ac_ct_NMEDIT" >&6; }
7638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639
$as_echo "no" >&6; }
7642
if test "x$ac_ct_NMEDIT" = x; then
7645
case $cross_compiling:$ac_tool_warned in
7647
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649
ac_tool_warned=yes ;;
7651
NMEDIT=$ac_ct_NMEDIT
7654
NMEDIT="$ac_cv_prog_NMEDIT"
7657
if test -n "$ac_tool_prefix"; then
7658
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7659
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7661
$as_echo_n "checking for $ac_word... " >&6; }
7662
if test "${ac_cv_prog_LIPO+set}" = set; then :
7663
$as_echo_n "(cached) " >&6
7665
if test -n "$LIPO"; then
7666
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672
test -z "$as_dir" && as_dir=.
7673
for ac_exec_ext in '' $ac_executable_extensions; do
7674
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685
LIPO=$ac_cv_prog_LIPO
7686
if test -n "$LIPO"; then
7687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7688
$as_echo "$LIPO" >&6; }
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691
$as_echo "no" >&6; }
7696
if test -z "$ac_cv_prog_LIPO"; then
7698
# Extract the first word of "lipo", so it can be a program name with args.
7699
set dummy lipo; ac_word=$2
7700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7701
$as_echo_n "checking for $ac_word... " >&6; }
7702
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7703
$as_echo_n "(cached) " >&6
7705
if test -n "$ac_ct_LIPO"; then
7706
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7712
test -z "$as_dir" && as_dir=.
7713
for ac_exec_ext in '' $ac_executable_extensions; do
7714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7715
ac_cv_prog_ac_ct_LIPO="lipo"
7716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7726
if test -n "$ac_ct_LIPO"; then
7727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7728
$as_echo "$ac_ct_LIPO" >&6; }
7730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731
$as_echo "no" >&6; }
7734
if test "x$ac_ct_LIPO" = x; then
7737
case $cross_compiling:$ac_tool_warned in
7739
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7740
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7741
ac_tool_warned=yes ;;
7746
LIPO="$ac_cv_prog_LIPO"
7749
if test -n "$ac_tool_prefix"; then
7750
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7751
set dummy ${ac_tool_prefix}otool; ac_word=$2
7752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753
$as_echo_n "checking for $ac_word... " >&6; }
7754
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7755
$as_echo_n "(cached) " >&6
7757
if test -n "$OTOOL"; then
7758
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764
test -z "$as_dir" && as_dir=.
7765
for ac_exec_ext in '' $ac_executable_extensions; do
7766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7768
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777
OTOOL=$ac_cv_prog_OTOOL
7778
if test -n "$OTOOL"; then
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7780
$as_echo "$OTOOL" >&6; }
7782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783
$as_echo "no" >&6; }
7788
if test -z "$ac_cv_prog_OTOOL"; then
7790
# Extract the first word of "otool", so it can be a program name with args.
7791
set dummy otool; ac_word=$2
7792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793
$as_echo_n "checking for $ac_word... " >&6; }
7794
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7795
$as_echo_n "(cached) " >&6
7797
if test -n "$ac_ct_OTOOL"; then
7798
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7800
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804
test -z "$as_dir" && as_dir=.
7805
for ac_exec_ext in '' $ac_executable_extensions; do
7806
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807
ac_cv_prog_ac_ct_OTOOL="otool"
7808
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7817
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7818
if test -n "$ac_ct_OTOOL"; then
7819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7820
$as_echo "$ac_ct_OTOOL" >&6; }
7822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7823
$as_echo "no" >&6; }
7826
if test "x$ac_ct_OTOOL" = x; then
7829
case $cross_compiling:$ac_tool_warned in
7831
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7832
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7833
ac_tool_warned=yes ;;
7838
OTOOL="$ac_cv_prog_OTOOL"
7841
if test -n "$ac_tool_prefix"; then
7842
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7843
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845
$as_echo_n "checking for $ac_word... " >&6; }
7846
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7847
$as_echo_n "(cached) " >&6
7849
if test -n "$OTOOL64"; then
7850
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856
test -z "$as_dir" && as_dir=.
7857
for ac_exec_ext in '' $ac_executable_extensions; do
7858
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7859
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7860
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869
OTOOL64=$ac_cv_prog_OTOOL64
7870
if test -n "$OTOOL64"; then
7871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7872
$as_echo "$OTOOL64" >&6; }
7874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875
$as_echo "no" >&6; }
7880
if test -z "$ac_cv_prog_OTOOL64"; then
7881
ac_ct_OTOOL64=$OTOOL64
7882
# Extract the first word of "otool64", so it can be a program name with args.
7883
set dummy otool64; ac_word=$2
7884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885
$as_echo_n "checking for $ac_word... " >&6; }
7886
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7887
$as_echo_n "(cached) " >&6
7889
if test -n "$ac_ct_OTOOL64"; then
7890
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7892
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896
test -z "$as_dir" && as_dir=.
7897
for ac_exec_ext in '' $ac_executable_extensions; do
7898
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899
ac_cv_prog_ac_ct_OTOOL64="otool64"
7900
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7910
if test -n "$ac_ct_OTOOL64"; then
7911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7912
$as_echo "$ac_ct_OTOOL64" >&6; }
7914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915
$as_echo "no" >&6; }
7918
if test "x$ac_ct_OTOOL64" = x; then
7921
case $cross_compiling:$ac_tool_warned in
7923
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925
ac_tool_warned=yes ;;
7927
OTOOL64=$ac_ct_OTOOL64
7930
OTOOL64="$ac_cv_prog_OTOOL64"
7959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7960
$as_echo_n "checking for -single_module linker flag... " >&6; }
7961
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7962
$as_echo_n "(cached) " >&6
7964
lt_cv_apple_cc_single_mod=no
7965
if test -z "${LT_MULTI_MODULE}"; then
7966
# By default we will add the -single_module flag. You can override
7967
# by either setting the environment variable LT_MULTI_MODULE
7968
# non-empty at configure time, or by adding -multi_module to the
7970
rm -rf libconftest.dylib*
7971
echo "int foo(void){return 1;}" > conftest.c
7972
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7973
-dynamiclib -Wl,-single_module conftest.c" >&5
7974
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7975
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7977
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7978
lt_cv_apple_cc_single_mod=yes
7980
cat conftest.err >&5
7982
rm -rf libconftest.dylib*
7986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7987
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7989
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7990
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7991
$as_echo_n "(cached) " >&6
7993
lt_cv_ld_exported_symbols_list=no
7994
save_LDFLAGS=$LDFLAGS
7995
echo "_main" > conftest.sym
7996
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7997
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7998
/* end confdefs.h. */
8008
if ac_fn_c_try_link "$LINENO"; then :
8009
lt_cv_ld_exported_symbols_list=yes
8011
lt_cv_ld_exported_symbols_list=no
8013
rm -f core conftest.err conftest.$ac_objext \
8014
conftest$ac_exeext conftest.$ac_ext
8015
LDFLAGS="$save_LDFLAGS"
8018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8019
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8021
rhapsody* | darwin1.[012])
8022
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8024
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8025
darwin*) # darwin 5.x on
8026
# if running on 10.5 or later, the deployment target defaults
8027
# to the OS version, if on x86, and 10.4, the deployment
8028
# target defaults to 10.4. Don't you love it?
8029
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8030
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8031
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8033
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8035
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8039
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8040
_lt_dar_single_mod='$single_module'
8042
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8043
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8045
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8047
if test "$DSYMUTIL" != ":"; then
8048
_lt_dsymutil='~$DSYMUTIL $lib || :'
8055
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8056
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8057
inttypes.h stdint.h unistd.h
8059
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8060
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8062
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8063
cat >>confdefs.h <<_ACEOF
8064
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8072
for ac_header in dlfcn.h
8074
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8076
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8077
cat >>confdefs.h <<_ACEOF
8078
#define HAVE_DLFCN_H 1
8097
# Check whether --enable-shared was given.
8098
if test "${enable_shared+set}" = set; then :
8099
enableval=$enable_shared; p=${PACKAGE-default}
8101
yes) enable_shared=yes ;;
8102
no) enable_shared=no ;;
8105
# Look at the argument we got. We use all the common list separators.
8106
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8107
for pkg in $enableval; do
8109
if test "X$pkg" = "X$p"; then
8128
# Check whether --enable-static was given.
8129
if test "${enable_static+set}" = set; then :
8130
enableval=$enable_static; p=${PACKAGE-default}
8132
yes) enable_static=yes ;;
8133
no) enable_static=no ;;
8136
# Look at the argument we got. We use all the common list separators.
8137
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8138
for pkg in $enableval; do
8140
if test "X$pkg" = "X$p"; then
8160
# Check whether --with-pic was given.
8161
if test "${with_pic+set}" = set; then :
8162
withval=$with_pic; pic_mode="$withval"
8168
test -z "$pic_mode" && pic_mode=default
8176
# Check whether --enable-fast-install was given.
8177
if test "${enable_fast_install+set}" = set; then :
8178
enableval=$enable_fast_install; p=${PACKAGE-default}
8180
yes) enable_fast_install=yes ;;
8181
no) enable_fast_install=no ;;
8183
enable_fast_install=no
8184
# Look at the argument we got. We use all the common list separators.
8185
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8186
for pkg in $enableval; do
8188
if test "X$pkg" = "X$p"; then
8189
enable_fast_install=yes
8196
enable_fast_install=yes
8209
# This can be used to rebuild libtool when needed
8210
LIBTOOL_DEPS="$ltmain"
8212
# Always use our own libtool.
8213
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8239
test -z "$LN_S" && LN_S="ln -s"
8254
if test -n "${ZSH_VERSION+set}" ; then
8255
setopt NO_GLOB_SUBST
8258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8259
$as_echo_n "checking for objdir... " >&6; }
8260
if test "${lt_cv_objdir+set}" = set; then :
8261
$as_echo_n "(cached) " >&6
8263
rm -f .libs 2>/dev/null
8264
mkdir .libs 2>/dev/null
8265
if test -d .libs; then
8268
# MS-DOS does not allow filenames that begin with a dot.
8271
rmdir .libs 2>/dev/null
8273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8274
$as_echo "$lt_cv_objdir" >&6; }
8275
objdir=$lt_cv_objdir
8281
cat >>confdefs.h <<_ACEOF
8282
#define LT_OBJDIR "$lt_cv_objdir/"
8303
# AIX sometimes has problems with the GCC collect2 program. For some
8304
# reason, if we set the COLLECT_NAMES environment variable, the problems
8305
# vanish in a puff of smoke.
8306
if test "X${COLLECT_NAMES+set}" != Xset; then
8308
export COLLECT_NAMES
8313
# Sed substitution that helps us do robust quoting. It backslashifies
8314
# metacharacters that are still active within double-quoted strings.
8315
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8317
# Same as above, but do not quote variable references.
8318
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8320
# Sed substitution to delay expansion of an escaped shell variable in a
8321
# double_quote_subst'ed string.
8322
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8324
# Sed substitution to delay expansion of an escaped single quote.
8325
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8327
# Sed substitution to avoid accidental globbing in evaled expressions
8328
no_glob_subst='s/\*/\\\*/g'
8332
can_build_shared=yes
8334
# All known linkers require a `.a' archive for static linking (except MSVC,
8335
# which needs '.lib').
8338
with_gnu_ld="$lt_cv_prog_gnu_ld"
8341
old_CFLAGS="$CFLAGS"
8343
# Set sane defaults for various variables
8344
test -z "$CC" && CC=cc
8345
test -z "$LTCC" && LTCC=$CC
8346
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8347
test -z "$LD" && LD=ld
8348
test -z "$ac_objext" && ac_objext=o
8350
for cc_temp in $compiler""; do
8352
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8353
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8358
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8361
# Only perform the check for file, if the check method requires it
8362
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8363
case $deplibs_check_method in
8365
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8367
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8368
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8369
$as_echo_n "(cached) " >&6
8373
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8376
lt_save_MAGIC_CMD="$MAGIC_CMD"
8377
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8378
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8379
for ac_dir in $ac_dummy; do
8381
test -z "$ac_dir" && ac_dir=.
8382
if test -f $ac_dir/${ac_tool_prefix}file; then
8383
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8384
if test -n "$file_magic_test_file"; then
8385
case $deplibs_check_method in
8387
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8388
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8389
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8390
$EGREP "$file_magic_regex" > /dev/null; then
8395
*** Warning: the command libtool uses to detect shared libraries,
8396
*** $file_magic_cmd, produces output that libtool cannot recognize.
8397
*** The result is that libtool may fail to recognize shared libraries
8398
*** as such. This will affect the creation of libtool libraries that
8399
*** depend on shared libraries, but programs linked with such libtool
8400
*** libraries will work regardless of this problem. Nevertheless, you
8401
*** may want to report the problem to your system manager and/or to
8402
*** bug-libtool@gnu.org
8412
MAGIC_CMD="$lt_save_MAGIC_CMD"
8417
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8418
if test -n "$MAGIC_CMD"; then
8419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8420
$as_echo "$MAGIC_CMD" >&6; }
8422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8423
$as_echo "no" >&6; }
8430
if test -z "$lt_cv_path_MAGIC_CMD"; then
8431
if test -n "$ac_tool_prefix"; then
8432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8433
$as_echo_n "checking for file... " >&6; }
8434
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8435
$as_echo_n "(cached) " >&6
8439
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8442
lt_save_MAGIC_CMD="$MAGIC_CMD"
8443
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8444
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8445
for ac_dir in $ac_dummy; do
8447
test -z "$ac_dir" && ac_dir=.
8448
if test -f $ac_dir/file; then
8449
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8450
if test -n "$file_magic_test_file"; then
8451
case $deplibs_check_method in
8453
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8454
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8455
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8456
$EGREP "$file_magic_regex" > /dev/null; then
8461
*** Warning: the command libtool uses to detect shared libraries,
8462
*** $file_magic_cmd, produces output that libtool cannot recognize.
8463
*** The result is that libtool may fail to recognize shared libraries
8464
*** as such. This will affect the creation of libtool libraries that
8465
*** depend on shared libraries, but programs linked with such libtool
8466
*** libraries will work regardless of this problem. Nevertheless, you
8467
*** may want to report the problem to your system manager and/or to
8468
*** bug-libtool@gnu.org
8478
MAGIC_CMD="$lt_save_MAGIC_CMD"
8483
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8484
if test -n "$MAGIC_CMD"; then
8485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8486
$as_echo "$MAGIC_CMD" >&6; }
8488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8489
$as_echo "no" >&6; }
8502
# Use C for the default configuration in the libtool script
8506
ac_cpp='$CPP $CPPFLAGS'
8507
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8508
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8509
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8512
# Source file extension for C test sources.
8515
# Object file extension for compiled C test sources.
8519
# Code to be used in simple compile tests
8520
lt_simple_compile_test_code="int some_variable = 0;"
8522
# Code to be used in simple link tests
8523
lt_simple_link_test_code='int main(){return(0);}'
8531
# If no C compiler was specified, use CC.
8534
# If no C compiler flags were specified, use CFLAGS.
8535
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8537
# Allow CC to be a program name with arguments.
8540
# Save the default compiler, since it gets overwritten when the other
8541
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8542
compiler_DEFAULT=$CC
8544
# save warnings/boilerplate of simple test code
8545
ac_outfile=conftest.$ac_objext
8546
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8547
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8548
_lt_compiler_boilerplate=`cat conftest.err`
8551
ac_outfile=conftest.$ac_objext
8552
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8553
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8554
_lt_linker_boilerplate=`cat conftest.err`
8558
if test -n "$compiler"; then
8560
lt_prog_compiler_no_builtin_flag=
8562
if test "$GCC" = yes; then
8563
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8566
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8567
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8568
$as_echo_n "(cached) " >&6
8570
lt_cv_prog_compiler_rtti_exceptions=no
8571
ac_outfile=conftest.$ac_objext
8572
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8573
lt_compiler_flag="-fno-rtti -fno-exceptions"
8574
# Insert the option either (1) after the last *FLAGS variable, or
8575
# (2) before a word containing "conftest.", or (3) at the end.
8576
# Note that $ac_compile itself does not contain backslashes and begins
8577
# with a dollar sign (not a hyphen), so the echo should work correctly.
8578
# The option is referenced via a variable to avoid confusing sed.
8579
lt_compile=`echo "$ac_compile" | $SED \
8580
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8581
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8582
-e 's:$: $lt_compiler_flag:'`
8583
(eval echo "\"\$as_me:8583: $lt_compile\"" >&5)
8584
(eval "$lt_compile" 2>conftest.err)
8586
cat conftest.err >&5
8587
echo "$as_me:8587: \$? = $ac_status" >&5
8588
if (exit $ac_status) && test -s "$ac_outfile"; then
8589
# The compiler can only warn and ignore the option if not recognized
8590
# So say no if there are warnings other than the usual output.
8591
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8592
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8593
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8594
lt_cv_prog_compiler_rtti_exceptions=yes
8600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8601
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8603
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8604
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8616
lt_prog_compiler_wl=
8617
lt_prog_compiler_pic=
8618
lt_prog_compiler_static=
8620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8621
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8623
if test "$GCC" = yes; then
8624
lt_prog_compiler_wl='-Wl,'
8625
lt_prog_compiler_static='-static'
8629
# All AIX code is PIC.
8630
if test "$host_cpu" = ia64; then
8631
# AIX 5 now supports IA64 processor
8632
lt_prog_compiler_static='-Bstatic'
8639
# see comment about AmigaOS4 .so support
8640
lt_prog_compiler_pic='-fPIC'
8643
# FIXME: we need at least 68020 code to build shared libraries, but
8644
# adding the `-m68020' flag to GCC prevents building anything better,
8646
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8651
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8652
# PIC is the default for these OSes.
8655
mingw* | cygwin* | pw32* | os2* | cegcc*)
8656
# This hack is so that the source file can tell whether it is being
8657
# built for inclusion in a dll (and should export symbols for example).
8658
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8659
# (--disable-auto-import) libraries
8660
lt_prog_compiler_pic='-DDLL_EXPORT'
8663
darwin* | rhapsody*)
8664
# PIC is the default on this platform
8665
# Common symbols not allowed in MH_DYLIB files
8666
lt_prog_compiler_pic='-fno-common'
8670
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8671
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8672
# sets the default TLS model and affects inlining.
8678
lt_prog_compiler_pic='-fPIC'
8684
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8685
# Instead, we relocate shared libraries at runtime.
8689
# Just because we use GCC doesn't mean we suddenly get shared libraries
8690
# on systems that don't support them.
8691
lt_prog_compiler_can_build_shared=no
8696
# QNX uses GNU C++, but need to define -shared option too, otherwise
8698
lt_prog_compiler_pic='-fPIC -shared'
8702
if test -d /usr/nec; then
8703
lt_prog_compiler_pic=-Kconform_pic
8708
lt_prog_compiler_pic='-fPIC'
8712
# PORTME Check for flag to pass linker flags through the system compiler.
8715
lt_prog_compiler_wl='-Wl,'
8716
if test "$host_cpu" = ia64; then
8717
# AIX 5 now supports IA64 processor
8718
lt_prog_compiler_static='-Bstatic'
8720
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8724
mingw* | cygwin* | pw32* | os2* | cegcc*)
8725
# This hack is so that the source file can tell whether it is being
8726
# built for inclusion in a dll (and should export symbols for example).
8727
lt_prog_compiler_pic='-DDLL_EXPORT'
8730
hpux9* | hpux10* | hpux11*)
8731
lt_prog_compiler_wl='-Wl,'
8732
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8739
lt_prog_compiler_pic='+Z'
8742
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8743
lt_prog_compiler_static='${wl}-a ${wl}archive'
8746
irix5* | irix6* | nonstopux*)
8747
lt_prog_compiler_wl='-Wl,'
8748
# PIC (with -KPIC) is the default.
8749
lt_prog_compiler_static='-non_shared'
8752
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8753
case $cc_basename in
8754
# old Intel for x86_64 which still supported -KPIC.
8756
lt_prog_compiler_wl='-Wl,'
8757
lt_prog_compiler_pic='-KPIC'
8758
lt_prog_compiler_static='-static'
8760
# icc used to be incompatible with GCC.
8761
# ICC 10 doesn't accept -KPIC any more.
8763
lt_prog_compiler_wl='-Wl,'
8764
lt_prog_compiler_pic='-fPIC'
8765
lt_prog_compiler_static='-static'
8767
# Lahey Fortran 8.1.
8769
lt_prog_compiler_wl='-Wl,'
8770
lt_prog_compiler_pic='--shared'
8771
lt_prog_compiler_static='--static'
8773
pgcc* | pgf77* | pgf90* | pgf95*)
8774
# Portland Group compilers (*not* the Pentium gcc compiler,
8775
# which looks to be a dead project)
8776
lt_prog_compiler_wl='-Wl,'
8777
lt_prog_compiler_pic='-fpic'
8778
lt_prog_compiler_static='-Bstatic'
8781
lt_prog_compiler_wl='-Wl,'
8782
# All Alpha code is PIC.
8783
lt_prog_compiler_static='-non_shared'
8786
# IBM XL C 8.0/Fortran 10.1 on PPC
8787
lt_prog_compiler_wl='-Wl,'
8788
lt_prog_compiler_pic='-qpic'
8789
lt_prog_compiler_static='-qstaticlink'
8792
case `$CC -V 2>&1 | sed 5q` in
8795
lt_prog_compiler_pic='-KPIC'
8796
lt_prog_compiler_static='-Bstatic'
8797
lt_prog_compiler_wl='-Wl,'
8800
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8801
lt_prog_compiler_pic='-KPIC'
8802
lt_prog_compiler_static='-Bstatic'
8803
lt_prog_compiler_wl=''
8811
lt_prog_compiler_pic='-KPIC'
8812
lt_prog_compiler_static='-Bstatic'
8816
# QNX uses GNU C++, but need to define -shared option too, otherwise
8818
lt_prog_compiler_pic='-fPIC -shared'
8821
osf3* | osf4* | osf5*)
8822
lt_prog_compiler_wl='-Wl,'
8823
# All OSF/1 code is PIC.
8824
lt_prog_compiler_static='-non_shared'
8828
lt_prog_compiler_static='-non_shared'
8832
lt_prog_compiler_pic='-KPIC'
8833
lt_prog_compiler_static='-Bstatic'
8834
case $cc_basename in
8836
lt_prog_compiler_wl='-Qoption ld ';;
8838
lt_prog_compiler_wl='-Wl,';;
8843
lt_prog_compiler_wl='-Qoption ld '
8844
lt_prog_compiler_pic='-PIC'
8845
lt_prog_compiler_static='-Bstatic'
8848
sysv4 | sysv4.2uw2* | sysv4.3*)
8849
lt_prog_compiler_wl='-Wl,'
8850
lt_prog_compiler_pic='-KPIC'
8851
lt_prog_compiler_static='-Bstatic'
8855
if test -d /usr/nec ;then
8856
lt_prog_compiler_pic='-Kconform_pic'
8857
lt_prog_compiler_static='-Bstatic'
8861
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8862
lt_prog_compiler_wl='-Wl,'
8863
lt_prog_compiler_pic='-KPIC'
8864
lt_prog_compiler_static='-Bstatic'
8868
lt_prog_compiler_wl='-Wl,'
8869
lt_prog_compiler_can_build_shared=no
8873
lt_prog_compiler_pic='-pic'
8874
lt_prog_compiler_static='-Bstatic'
8878
lt_prog_compiler_can_build_shared=no
8884
# For platforms which do not support PIC, -DPIC is meaningless:
8886
lt_prog_compiler_pic=
8889
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8893
$as_echo "$lt_prog_compiler_pic" >&6; }
8901
# Check to make sure the PIC flag actually works.
8903
if test -n "$lt_prog_compiler_pic"; then
8904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8905
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8906
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8907
$as_echo_n "(cached) " >&6
8909
lt_cv_prog_compiler_pic_works=no
8910
ac_outfile=conftest.$ac_objext
8911
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8912
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8913
# Insert the option either (1) after the last *FLAGS variable, or
8914
# (2) before a word containing "conftest.", or (3) at the end.
8915
# Note that $ac_compile itself does not contain backslashes and begins
8916
# with a dollar sign (not a hyphen), so the echo should work correctly.
8917
# The option is referenced via a variable to avoid confusing sed.
8918
lt_compile=`echo "$ac_compile" | $SED \
8919
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8920
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8921
-e 's:$: $lt_compiler_flag:'`
8922
(eval echo "\"\$as_me:8922: $lt_compile\"" >&5)
8923
(eval "$lt_compile" 2>conftest.err)
8925
cat conftest.err >&5
8926
echo "$as_me:8926: \$? = $ac_status" >&5
8927
if (exit $ac_status) && test -s "$ac_outfile"; then
8928
# The compiler can only warn and ignore the option if not recognized
8929
# So say no if there are warnings other than the usual output.
8930
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8931
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8932
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8933
lt_cv_prog_compiler_pic_works=yes
8939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8940
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8942
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8943
case $lt_prog_compiler_pic in
8945
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8948
lt_prog_compiler_pic=
8949
lt_prog_compiler_can_build_shared=no
8960
# Check to make sure the static flag actually works.
8962
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8964
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8965
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8966
$as_echo_n "(cached) " >&6
8968
lt_cv_prog_compiler_static_works=no
8969
save_LDFLAGS="$LDFLAGS"
8970
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8971
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8972
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8973
# The linker can only warn and ignore the option if not recognized
8974
# So say no if there are warnings
8975
if test -s conftest.err; then
8976
# Append any errors to the config.log.
8977
cat conftest.err 1>&5
8978
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8979
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8980
if diff conftest.exp conftest.er2 >/dev/null; then
8981
lt_cv_prog_compiler_static_works=yes
8984
lt_cv_prog_compiler_static_works=yes
8988
LDFLAGS="$save_LDFLAGS"
8991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8992
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8994
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8997
lt_prog_compiler_static=
9006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9007
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9008
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9009
$as_echo_n "(cached) " >&6
9011
lt_cv_prog_compiler_c_o=no
9012
$RM -r conftest 2>/dev/null
9016
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9018
lt_compiler_flag="-o out/conftest2.$ac_objext"
9019
# Insert the option either (1) after the last *FLAGS variable, or
9020
# (2) before a word containing "conftest.", or (3) at the end.
9021
# Note that $ac_compile itself does not contain backslashes and begins
9022
# with a dollar sign (not a hyphen), so the echo should work correctly.
9023
lt_compile=`echo "$ac_compile" | $SED \
9024
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9025
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9026
-e 's:$: $lt_compiler_flag:'`
9027
(eval echo "\"\$as_me:9027: $lt_compile\"" >&5)
9028
(eval "$lt_compile" 2>out/conftest.err)
9030
cat out/conftest.err >&5
9031
echo "$as_me:9031: \$? = $ac_status" >&5
9032
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9034
# The compiler can only warn and ignore the option if not recognized
9035
# So say no if there are warnings
9036
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9037
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9038
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9039
lt_cv_prog_compiler_c_o=yes
9044
# SGI C++ compiler will create directory out/ii_files/ for
9045
# template instantiation
9046
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9047
$RM out/* && rmdir out
9053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9054
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9062
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9063
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9064
$as_echo_n "(cached) " >&6
9066
lt_cv_prog_compiler_c_o=no
9067
$RM -r conftest 2>/dev/null
9071
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9073
lt_compiler_flag="-o out/conftest2.$ac_objext"
9074
# Insert the option either (1) after the last *FLAGS variable, or
9075
# (2) before a word containing "conftest.", or (3) at the end.
9076
# Note that $ac_compile itself does not contain backslashes and begins
9077
# with a dollar sign (not a hyphen), so the echo should work correctly.
9078
lt_compile=`echo "$ac_compile" | $SED \
9079
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9080
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9081
-e 's:$: $lt_compiler_flag:'`
9082
(eval echo "\"\$as_me:9082: $lt_compile\"" >&5)
9083
(eval "$lt_compile" 2>out/conftest.err)
9085
cat out/conftest.err >&5
9086
echo "$as_me:9086: \$? = $ac_status" >&5
9087
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9089
# The compiler can only warn and ignore the option if not recognized
9090
# So say no if there are warnings
9091
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9092
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9093
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9094
lt_cv_prog_compiler_c_o=yes
9099
# SGI C++ compiler will create directory out/ii_files/ for
9100
# template instantiation
9101
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9102
$RM out/* && rmdir out
9108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9109
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9114
hard_links="nottested"
9115
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9116
# do not overwrite the value of need_locks provided by the user
9117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9118
$as_echo_n "checking if we can lock with hard links... " >&6; }
9121
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9123
ln conftest.a conftest.b 2>&5 || hard_links=no
9124
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9126
$as_echo "$hard_links" >&6; }
9127
if test "$hard_links" = no; then
9128
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9129
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9142
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9145
allow_undefined_flag=
9146
always_export_symbols=no
9148
archive_expsym_cmds=
9149
compiler_needs_object=no
9150
enable_shared_with_static_runtimes=no
9151
export_dynamic_flag_spec=
9152
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9153
hardcode_automatic=no
9155
hardcode_direct_absolute=no
9156
hardcode_libdir_flag_spec=
9157
hardcode_libdir_flag_spec_ld=
9158
hardcode_libdir_separator=
9160
hardcode_shlibpath_var=unsupported
9162
link_all_deplibs=unknown
9165
old_archive_from_new_cmds=
9166
old_archive_from_expsyms_cmds=
9167
thread_safe_flag_spec=
9168
whole_archive_flag_spec=
9169
# include_expsyms should be a list of space-separated symbols to be *always*
9170
# included in the symbol list
9172
# exclude_expsyms can be an extended regexp of symbols to exclude
9173
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9174
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9175
# as well as any symbol that contains `d'.
9176
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9177
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9178
# platforms (ab)use it in PIC code, but their linkers get confused if
9179
# the symbol is explicitly referenced. Since portable code cannot
9180
# rely on this symbol name, it's probably fine to never include it in
9181
# preloaded symbol tables.
9182
# Exclude shared library initialization/finalization symbols.
9183
extract_expsyms_cmds=
9186
cygwin* | mingw* | pw32* | cegcc*)
9187
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9188
# When not using gcc, we currently assume that we are using
9189
# Microsoft Visual C++.
9190
if test "$GCC" != yes; then
9195
# we just hope/assume this is gcc and not c89 (= MSVC++)
9201
linux* | k*bsd*-gnu)
9207
if test "$with_gnu_ld" = yes; then
9208
# If archive_cmds runs LD, not CC, wlarc should be empty
9211
# Set some defaults for GNU ld with shared library support. These
9212
# are reset later if shared libraries are not supported. Putting them
9213
# here allows them to be overridden if necessary.
9214
runpath_var=LD_RUN_PATH
9215
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216
export_dynamic_flag_spec='${wl}--export-dynamic'
9217
# ancient GNU ld didn't support --whole-archive et. al.
9218
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9219
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9221
whole_archive_flag_spec=
9223
supports_anon_versioning=no
9224
case `$LD -v 2>&1` in
9225
*GNU\ gold*) supports_anon_versioning=yes ;;
9226
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9227
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9228
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9229
*\ 2.11.*) ;; # other 2.11 versions
9230
*) supports_anon_versioning=yes ;;
9233
# See if GNU ld supports shared libraries.
9236
# On AIX/PPC, the GNU linker is very broken
9237
if test "$host_cpu" != ia64; then
9241
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9242
*** to be unable to reliably create shared libraries on AIX.
9243
*** Therefore, libtool is disabling shared libraries support. If you
9244
*** really care for shared libraries, you may want to modify your PATH
9245
*** so that a non-GNU linker is found, and then restart.
9254
# see comment about AmigaOS4 .so support
9255
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9256
archive_expsym_cmds=''
9259
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)'
9260
hardcode_libdir_flag_spec='-L$libdir'
9261
hardcode_minus_L=yes
9267
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9268
allow_undefined_flag=unsupported
9269
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9270
# support --undefined. This deserves some investigation. FIXME
9271
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277
cygwin* | mingw* | pw32* | cegcc*)
9278
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9279
# as there is no search path for DLLs.
9280
hardcode_libdir_flag_spec='-L$libdir'
9281
allow_undefined_flag=unsupported
9282
always_export_symbols=no
9283
enable_shared_with_static_runtimes=yes
9284
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9286
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9287
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9288
# If the export-symbols file already is a .def file (1st line
9289
# is EXPORTS), use it as is; otherwise, prepend...
9290
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9291
cp $export_symbols $output_objdir/$soname.def;
9293
echo EXPORTS > $output_objdir/$soname.def;
9294
cat $export_symbols >> $output_objdir/$soname.def;
9296
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9304
hardcode_shlibpath_var=no
9305
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9306
export_dynamic_flag_spec='${wl}-E'
9307
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9308
# Instead, shared libraries are loaded at an image base (0x10000000 by
9309
# default) and relocated if they conflict, which is a slow very memory
9310
# consuming and fragmenting process. To avoid this, we pick a random,
9311
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9312
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9313
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9314
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'
9317
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9319
if test "$host_os" = linux-dietlibc; then
9320
case $cc_basename in
9321
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9324
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9325
&& test "$tmp_diet" = no
9328
tmp_sharedflag='-shared'
9329
case $cc_basename,$host_cpu in
9330
pgcc*) # Portland Group C compiler
9331
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9332
tmp_addflag=' $pic_flag'
9334
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9335
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9336
tmp_addflag=' $pic_flag -Mnomain' ;;
9337
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9338
tmp_addflag=' -i_dynamic' ;;
9339
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9340
tmp_addflag=' -i_dynamic -nofor_main' ;;
9341
ifc* | ifort*) # Intel Fortran compiler
9342
tmp_addflag=' -nofor_main' ;;
9343
lf95*) # Lahey Fortran 8.1
9344
whole_archive_flag_spec=
9345
tmp_sharedflag='--shared' ;;
9346
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9347
tmp_sharedflag='-qmkshrobj'
9350
case `$CC -V 2>&1 | sed 5q` in
9351
*Sun\ C*) # Sun C 5.9
9352
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9353
compiler_needs_object=yes
9354
tmp_sharedflag='-G' ;;
9355
*Sun\ F*) # Sun Fortran 8.3
9356
tmp_sharedflag='-G' ;;
9358
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360
if test "x$supports_anon_versioning" = xyes; then
9361
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9362
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9363
echo "local: *; };" >> $output_objdir/$libname.ver~
9364
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9367
case $cc_basename in
9369
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9370
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9371
hardcode_libdir_flag_spec=
9372
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9373
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9374
if test "x$supports_anon_versioning" = xyes; then
9375
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9376
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9377
echo "local: *; };" >> $output_objdir/$libname.ver~
9378
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9387
netbsd* | netbsdelf*-gnu)
9388
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9389
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9392
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9398
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9402
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9403
*** create shared libraries on Solaris systems. Therefore, libtool
9404
*** is disabling shared libraries support. We urge you to upgrade GNU
9405
*** binutils to release 2.9.1 or newer. Another option is to modify
9406
*** your PATH or compiler configuration so that the native linker is
9407
*** used, and then restart.
9410
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9411
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9418
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9419
case `$LD -v 2>&1` in
9420
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9424
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9425
*** reliably create shared libraries on SCO systems. Therefore, libtool
9426
*** is disabling shared libraries support. We urge you to upgrade GNU
9427
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9428
*** your PATH or compiler configuration so that the native linker is
9429
*** used, and then restart.
9434
# For security reasons, it is highly recommended that you always
9435
# use absolute paths for naming shared libraries, and exclude the
9436
# DT_RUNPATH tag from executables and libraries. But doing so
9437
# requires that you compile everything twice, which is a pain.
9438
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9439
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9440
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9441
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9450
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9453
hardcode_shlibpath_var=no
9457
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9459
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9466
if test "$ld_shlibs" = no; then
9468
hardcode_libdir_flag_spec=
9469
export_dynamic_flag_spec=
9470
whole_archive_flag_spec=
9473
# PORTME fill in a description of your system's linker (not GNU ld)
9476
allow_undefined_flag=unsupported
9477
always_export_symbols=yes
9478
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'
9479
# Note: this linker hardcodes the directories in LIBPATH if there
9480
# are no directories specified by -L.
9481
hardcode_minus_L=yes
9482
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9483
# Neither direct hardcoding nor static linking is supported with a
9485
hardcode_direct=unsupported
9490
if test "$host_cpu" = ia64; then
9491
# On IA64, the linker does run time linking by default, so we don't
9492
# have to do anything special.
9493
aix_use_runtimelinking=no
9494
exp_sym_flag='-Bexport'
9497
# If we're using GNU nm, then we don't want the "-C" option.
9498
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9499
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9500
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9502
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'
9504
aix_use_runtimelinking=no
9506
# Test if we are trying to use run time linking or normal
9507
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9508
# need to do runtime linking.
9509
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9510
for ld_flag in $LDFLAGS; do
9511
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9512
aix_use_runtimelinking=yes
9519
exp_sym_flag='-bexport'
9520
no_entry_flag='-bnoentry'
9523
# When large executables or shared objects are built, AIX ld can
9524
# have problems creating the table of contents. If linking a library
9525
# or program results in "error TOC overflow" add -mminimal-toc to
9526
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9527
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9531
hardcode_direct_absolute=yes
9532
hardcode_libdir_separator=':'
9533
link_all_deplibs=yes
9534
file_list_spec='${wl}-f,'
9536
if test "$GCC" = yes; then
9537
case $host_os in aix4.[012]|aix4.[012].*)
9538
# We only want to do this on AIX 4.2 and lower, the check
9539
# below for broken collect2 doesn't work under 4.3+
9540
collect2name=`${CC} -print-prog-name=collect2`
9541
if test -f "$collect2name" &&
9542
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9544
# We have reworked collect2
9547
# We have old collect2
9548
hardcode_direct=unsupported
9549
# It fails to find uninstalled libraries when the uninstalled
9550
# path is not listed in the libpath. Setting hardcode_minus_L
9551
# to unsupported forces relinking
9552
hardcode_minus_L=yes
9553
hardcode_libdir_flag_spec='-L$libdir'
9554
hardcode_libdir_separator=
9558
shared_flag='-shared'
9559
if test "$aix_use_runtimelinking" = yes; then
9560
shared_flag="$shared_flag "'${wl}-G'
9565
if test "$host_cpu" = ia64; then
9566
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9567
# chokes on -Wl,-G. The following line is correct:
9570
if test "$aix_use_runtimelinking" = yes; then
9571
shared_flag='${wl}-G'
9573
shared_flag='${wl}-bM:SRE'
9578
export_dynamic_flag_spec='${wl}-bexpall'
9579
# It seems that -bexpall does not export symbols beginning with
9580
# underscore (_), so it is better to generate a list of symbols to export.
9581
always_export_symbols=yes
9582
if test "$aix_use_runtimelinking" = yes; then
9583
# Warning - without using the other runtime loading flags (-brtl),
9584
# -berok will link without error, but may produce a broken library.
9585
allow_undefined_flag='-berok'
9586
# Determine the default libpath from the value encoded in an
9588
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589
/* end confdefs.h. */
9599
if ac_fn_c_try_link "$LINENO"; then :
9601
lt_aix_libpath_sed='
9602
/Import File Strings/,/^$/ {
9608
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9609
# Check for a 64-bit object if we didn't find anything.
9610
if test -z "$aix_libpath"; then
9611
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9614
rm -f core conftest.err conftest.$ac_objext \
9615
conftest$ac_exeext conftest.$ac_ext
9616
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9618
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9619
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9621
if test "$host_cpu" = ia64; then
9622
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9623
allow_undefined_flag="-z nodefs"
9624
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"
9626
# Determine the default libpath from the value encoded in an
9628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629
/* end confdefs.h. */
9639
if ac_fn_c_try_link "$LINENO"; then :
9641
lt_aix_libpath_sed='
9642
/Import File Strings/,/^$/ {
9648
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9649
# Check for a 64-bit object if we didn't find anything.
9650
if test -z "$aix_libpath"; then
9651
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654
rm -f core conftest.err conftest.$ac_objext \
9655
conftest$ac_exeext conftest.$ac_ext
9656
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9658
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9659
# Warning - without using the other run time loading flags,
9660
# -berok will link without error, but may produce a broken library.
9661
no_undefined_flag=' ${wl}-bernotok'
9662
allow_undefined_flag=' ${wl}-berok'
9663
# Exported symbols can be pulled into shared objects from archives
9664
whole_archive_flag_spec='$convenience'
9665
archive_cmds_need_lc=yes
9666
# This is similar to how AIX traditionally builds its shared libraries.
9667
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'
9675
# see comment about AmigaOS4 .so support
9676
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677
archive_expsym_cmds=''
9680
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)'
9681
hardcode_libdir_flag_spec='-L$libdir'
9682
hardcode_minus_L=yes
9688
export_dynamic_flag_spec=-rdynamic
9691
cygwin* | mingw* | pw32* | cegcc*)
9692
# When not using gcc, we currently assume that we are using
9693
# Microsoft Visual C++.
9694
# hardcode_libdir_flag_spec is actually meaningless, as there is
9695
# no search path for DLLs.
9696
hardcode_libdir_flag_spec=' '
9697
allow_undefined_flag=unsupported
9698
# Tell ltmain to make .lib files, not .a files.
9700
# Tell ltmain to make .dll files, not .so files.
9702
# FIXME: Setting linknames here is a bad hack.
9703
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9704
# The linker will automatically build a .lib file if we build a DLL.
9705
old_archive_from_new_cmds='true'
9706
# FIXME: Should let the user specify the lib program.
9707
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9708
fix_srcfile_path='`cygpath -w "$srcfile"`'
9709
enable_shared_with_static_runtimes=yes
9712
darwin* | rhapsody*)
9715
archive_cmds_need_lc=no
9717
hardcode_automatic=yes
9718
hardcode_shlibpath_var=unsupported
9719
whole_archive_flag_spec=''
9720
link_all_deplibs=yes
9721
allow_undefined_flag="$_lt_dar_allow_undefined"
9722
case $cc_basename in
9723
ifort*) _lt_dar_can_shared=yes ;;
9724
*) _lt_dar_can_shared=$GCC ;;
9726
if test "$_lt_dar_can_shared" = "yes"; then
9727
output_verbose_link_cmd=echo
9728
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9729
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9730
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}"
9731
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}"
9740
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9741
hardcode_libdir_flag_spec='-L$libdir'
9742
hardcode_shlibpath_var=no
9749
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9750
# support. Future versions do this automatically, but an explicit c++rt0.o
9751
# does not break anything, and helps significantly (at the cost of a little
9754
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9755
hardcode_libdir_flag_spec='-R$libdir'
9757
hardcode_shlibpath_var=no
9760
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9762
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9764
hardcode_minus_L=yes
9765
hardcode_shlibpath_var=no
9768
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9769
freebsd* | dragonfly*)
9770
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9771
hardcode_libdir_flag_spec='-R$libdir'
9773
hardcode_shlibpath_var=no
9777
if test "$GCC" = yes; then
9778
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9780
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'
9782
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9783
hardcode_libdir_separator=:
9786
# hardcode_minus_L: Not really in the search PATH,
9787
# but as the default location of the library.
9788
hardcode_minus_L=yes
9789
export_dynamic_flag_spec='${wl}-E'
9793
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9794
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9796
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9798
if test "$with_gnu_ld" = no; then
9799
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9800
hardcode_libdir_flag_spec_ld='+b $libdir'
9801
hardcode_libdir_separator=:
9803
hardcode_direct_absolute=yes
9804
export_dynamic_flag_spec='${wl}-E'
9805
# hardcode_minus_L: Not really in the search PATH,
9806
# but as the default location of the library.
9807
hardcode_minus_L=yes
9812
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9815
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9818
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9821
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9827
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9830
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9833
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9837
if test "$with_gnu_ld" = no; then
9838
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9839
hardcode_libdir_separator=:
9844
hardcode_shlibpath_var=no
9848
hardcode_direct_absolute=yes
9849
export_dynamic_flag_spec='${wl}-E'
9851
# hardcode_minus_L: Not really in the search PATH,
9852
# but as the default location of the library.
9853
hardcode_minus_L=yes
9859
irix5* | irix6* | nonstopux*)
9860
if test "$GCC" = yes; then
9861
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9862
# Try to use the -exported_symbol ld option, if it does not
9863
# work, assume that -exports_file does not work either and
9864
# implicitly export all symbols.
9865
save_LDFLAGS="$LDFLAGS"
9866
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868
/* end confdefs.h. */
9871
if ac_fn_c_try_link "$LINENO"; then :
9872
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9875
rm -f core conftest.err conftest.$ac_objext \
9876
conftest$ac_exeext conftest.$ac_ext
9877
LDFLAGS="$save_LDFLAGS"
9879
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9880
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9882
archive_cmds_need_lc='no'
9883
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9884
hardcode_libdir_separator=:
9886
link_all_deplibs=yes
9889
netbsd* | netbsdelf*-gnu)
9890
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9891
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9893
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9895
hardcode_libdir_flag_spec='-R$libdir'
9897
hardcode_shlibpath_var=no
9901
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9904
hardcode_libdir_separator=:
9905
hardcode_shlibpath_var=no
9912
if test -f /usr/libexec/ld.so; then
9914
hardcode_shlibpath_var=no
9915
hardcode_direct_absolute=yes
9916
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9917
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9918
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9919
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9920
export_dynamic_flag_spec='${wl}-E'
9923
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9924
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9925
hardcode_libdir_flag_spec='-R$libdir'
9928
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9939
hardcode_libdir_flag_spec='-L$libdir'
9940
hardcode_minus_L=yes
9941
allow_undefined_flag=unsupported
9942
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'
9943
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9947
if test "$GCC" = yes; then
9948
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9951
allow_undefined_flag=' -expect_unresolved \*'
9952
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9954
archive_cmds_need_lc='no'
9955
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9956
hardcode_libdir_separator=:
9959
osf4* | osf5*) # as osf3* with the addition of -msym flag
9960
if test "$GCC" = yes; then
9961
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9962
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9963
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9965
allow_undefined_flag=' -expect_unresolved \*'
9966
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9967
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~
9968
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9970
# Both c and cxx compiler support -rpath directly
9971
hardcode_libdir_flag_spec='-rpath $libdir'
9973
archive_cmds_need_lc='no'
9974
hardcode_libdir_separator=:
9978
no_undefined_flag=' -z defs'
9979
if test "$GCC" = yes; then
9981
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9982
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9985
case `$CC -V 2>&1` in
9988
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9989
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9990
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9994
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9995
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9996
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10000
hardcode_libdir_flag_spec='-R$libdir'
10001
hardcode_shlibpath_var=no
10003
solaris2.[0-5] | solaris2.[0-5].*) ;;
10005
# The compiler driver will combine and reorder linker options,
10006
# but understands `-z linker_flag'. GCC discards it without `$wl',
10007
# but is careful enough not to reorder.
10008
# Supported since Solaris 2.6 (maybe 2.5.1?)
10009
if test "$GCC" = yes; then
10010
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10012
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10016
link_all_deplibs=yes
10020
if test "x$host_vendor" = xsequent; then
10021
# Use $CC to link under sequent, because it throws in some extra .o
10022
# files that make .init and .fini sections work.
10023
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10025
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10027
hardcode_libdir_flag_spec='-L$libdir'
10028
hardcode_direct=yes
10029
hardcode_minus_L=yes
10030
hardcode_shlibpath_var=no
10034
case $host_vendor in
10036
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10037
hardcode_direct=yes # is this really true???
10040
## LD is ld it makes a PLAMLIB
10041
## CC just makes a GrossModule.
10042
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10043
reload_cmds='$CC -r -o $output$reload_objs'
10047
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10051
runpath_var='LD_RUN_PATH'
10052
hardcode_shlibpath_var=no
10056
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10057
hardcode_shlibpath_var=no
10058
export_dynamic_flag_spec='-Bexport'
10062
if test -d /usr/nec; then
10063
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064
hardcode_shlibpath_var=no
10065
runpath_var=LD_RUN_PATH
10066
hardcode_runpath_var=yes
10071
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10072
no_undefined_flag='${wl}-z,text'
10073
archive_cmds_need_lc=no
10074
hardcode_shlibpath_var=no
10075
runpath_var='LD_RUN_PATH'
10077
if test "$GCC" = yes; then
10078
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10082
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10086
sysv5* | sco3.2v5* | sco5v6*)
10087
# Note: We can NOT use -z defs as we might desire, because we do not
10088
# link with -lc, and that would cause any symbols used from libc to
10089
# always be unresolved, which means just about no library would
10090
# ever link correctly. If we're not using GNU ld we use -z text
10091
# though, which does catch some bad symbols but isn't as heavy-handed
10093
no_undefined_flag='${wl}-z,text'
10094
allow_undefined_flag='${wl}-z,nodefs'
10095
archive_cmds_need_lc=no
10096
hardcode_shlibpath_var=no
10097
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10098
hardcode_libdir_separator=':'
10099
link_all_deplibs=yes
10100
export_dynamic_flag_spec='${wl}-Bexport'
10101
runpath_var='LD_RUN_PATH'
10103
if test "$GCC" = yes; then
10104
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10105
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114
hardcode_libdir_flag_spec='-L$libdir'
10115
hardcode_shlibpath_var=no
10123
if test x$host_vendor = xsni; then
10125
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10126
export_dynamic_flag_spec='${wl}-Blargedynsym'
10132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10133
$as_echo "$ld_shlibs" >&6; }
10134
test "$ld_shlibs" = no && can_build_shared=no
10136
with_gnu_ld=$with_gnu_ld
10153
# Do we need to explicitly link libc?
10155
case "x$archive_cmds_need_lc" in
10157
# Assume -lc should be added
10158
archive_cmds_need_lc=yes
10160
if test "$enable_shared" = yes && test "$GCC" = yes; then
10161
case $archive_cmds in
10163
# FIXME: we may have to deal with multi-command sequences.
10166
# Test whether the compiler implicitly links with -lc since on some
10167
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10168
# to ld, don't add -lc before -lgcc.
10169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10170
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10172
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10174
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10175
(eval $ac_compile) 2>&5
10177
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10178
test $ac_status = 0; } 2>conftest.err; then
10181
libobjs=conftest.$ac_objext
10183
wl=$lt_prog_compiler_wl
10184
pic_flag=$lt_prog_compiler_pic
10190
lt_save_allow_undefined_flag=$allow_undefined_flag
10191
allow_undefined_flag=
10192
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10193
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10195
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10196
test $ac_status = 0; }
10198
archive_cmds_need_lc=no
10200
archive_cmds_need_lc=yes
10202
allow_undefined_flag=$lt_save_allow_undefined_flag
10204
cat conftest.err 1>&5
10207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10208
$as_echo "$archive_cmds_need_lc" >&6; }
10371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10372
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10374
if test "$GCC" = yes; then
10376
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10377
*) lt_awk_arg="/^libraries:/" ;;
10379
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10380
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10381
# if the path contains ";" then we assume it to be the separator
10382
# otherwise default to the standard path separator (i.e. ":") - it is
10383
# assumed that no part of a normal pathname contains ";" but that should
10384
# okay in the real world where ";" in dirpaths is itself problematic.
10385
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10387
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10389
# Ok, now we have the path, separated by spaces, we can step through it
10390
# and add multilib dir if necessary.
10391
lt_tmp_lt_search_path_spec=
10392
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10393
for lt_sys_path in $lt_search_path_spec; do
10394
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10395
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10397
test -d "$lt_sys_path" && \
10398
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10401
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10402
BEGIN {RS=" "; FS="/|\n";} {
10405
for (lt_i = NF; lt_i > 0; lt_i--) {
10406
if ($lt_i != "" && $lt_i != ".") {
10407
if ($lt_i == "..") {
10410
if (lt_count == 0) {
10411
lt_foo="/" $lt_i lt_foo;
10418
if (lt_foo != "") { lt_freq[lt_foo]++; }
10419
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10421
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10423
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10425
library_names_spec=
10426
libname_spec='lib$name'
10430
postuninstall_cmds=
10434
shlibpath_overrides_runpath=unknown
10436
dynamic_linker="$host_os ld.so"
10437
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10438
need_lib_prefix=unknown
10439
hardcode_into_libs=no
10441
# when you set need_version to no, make sure it does not cause -set_version
10442
# flags to be left without arguments
10443
need_version=unknown
10448
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10449
shlibpath_var=LIBPATH
10451
# AIX 3 has no versioning support, so we append a major version to the name.
10452
soname_spec='${libname}${release}${shared_ext}$major'
10459
hardcode_into_libs=yes
10460
if test "$host_cpu" = ia64; then
10461
# AIX 5 supports IA64
10462
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10463
shlibpath_var=LD_LIBRARY_PATH
10465
# With GCC up to 2.95.x, collect2 would create an import file
10466
# for dependence libraries. The import file would start with
10467
# the line `#! .'. This would cause the generated library to
10468
# depend on `.', always an invalid library. This was fixed in
10469
# development snapshots of GCC prior to 3.0.
10471
aix4 | aix4.[01] | aix4.[01].*)
10472
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10474
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10477
can_build_shared=no
10481
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10482
# soname into executable. Probably we can add versioning support to
10483
# collect2, so additional links can be useful in future.
10484
if test "$aix_use_runtimelinking" = yes; then
10485
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10486
# instead of lib<name>.a to let people know that these are not
10487
# typical AIX shared libraries.
10488
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490
# We preserve .a as extension for shared libraries through AIX4.2
10491
# and later when we are not doing run time linking.
10492
library_names_spec='${libname}${release}.a $libname.a'
10493
soname_spec='${libname}${release}${shared_ext}$major'
10495
shlibpath_var=LIBPATH
10502
# Since July 2007 AmigaOS4 officially supports .so libraries.
10503
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10504
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507
library_names_spec='$libname.ixlibrary $libname.a'
10508
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10509
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10515
library_names_spec='${libname}${shared_ext}'
10516
dynamic_linker="$host_os ld.so"
10517
shlibpath_var=LIBRARY_PATH
10523
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10524
soname_spec='${libname}${release}${shared_ext}$major'
10525
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10526
shlibpath_var=LD_LIBRARY_PATH
10527
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10528
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10529
# the default ld.so.conf also contains /usr/contrib/lib and
10530
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10531
# libtool to hard-code these into programs
10534
cygwin* | mingw* | pw32* | cegcc*)
10535
version_type=windows
10540
case $GCC,$host_os in
10541
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10542
library_names_spec='$libname.dll.a'
10543
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10544
postinstall_cmds='base_file=`basename \${file}`~
10545
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10546
dldir=$destdir/`dirname \$dlpath`~
10547
test -d \$dldir || mkdir -p \$dldir~
10548
$install_prog $dir/$dlname \$dldir/$dlname~
10549
chmod a+x \$dldir/$dlname~
10550
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10551
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10553
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10554
dlpath=$dir/\$dldll~
10556
shlibpath_overrides_runpath=yes
10560
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10561
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10562
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10565
# MinGW DLLs use traditional 'lib' prefix
10566
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10568
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10569
# It is most probably a Windows format PATH printed by
10570
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10571
# path with ; separators, and with drive letters. We can handle the
10572
# drive letters (cygwin fileutils understands them), so leave them,
10573
# especially as we might pass files found there to a mingw objdump,
10574
# which wouldn't understand a cygwinified path. Ahh.
10575
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10577
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10581
# pw32 DLLs use 'pw' prefix rather than 'lib'
10582
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10588
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10591
dynamic_linker='Win32 ld.exe'
10592
# FIXME: first we should search . and the directory the executable is in
10596
darwin* | rhapsody*)
10597
dynamic_linker="$host_os dyld"
10598
version_type=darwin
10601
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10602
soname_spec='${libname}${release}${major}$shared_ext'
10603
shlibpath_overrides_runpath=yes
10604
shlibpath_var=DYLD_LIBRARY_PATH
10605
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10607
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10608
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10615
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10616
soname_spec='${libname}${release}${shared_ext}$major'
10617
shlibpath_var=LD_LIBRARY_PATH
10624
freebsd* | dragonfly*)
10625
# DragonFly does not have aout. When/if they implement a new
10626
# versioning mechanism, adjust this.
10627
if test -x /usr/bin/objformat; then
10628
objformat=`/usr/bin/objformat`
10631
freebsd[123]*) objformat=aout ;;
10632
*) objformat=elf ;;
10635
version_type=freebsd-$objformat
10636
case $version_type in
10638
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10643
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10647
shlibpath_var=LD_LIBRARY_PATH
10650
shlibpath_overrides_runpath=yes
10652
freebsd3.[01]* | freebsdelf3.[01]*)
10653
shlibpath_overrides_runpath=yes
10654
hardcode_into_libs=yes
10656
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10657
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10658
shlibpath_overrides_runpath=no
10659
hardcode_into_libs=yes
10661
*) # from 4.6 on, and DragonFly
10662
shlibpath_overrides_runpath=yes
10663
hardcode_into_libs=yes
10672
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10673
soname_spec='${libname}${release}${shared_ext}$major'
10674
shlibpath_var=LD_LIBRARY_PATH
10675
hardcode_into_libs=yes
10678
hpux9* | hpux10* | hpux11*)
10679
# Give a soname corresponding to the major version so that dld.sl refuses to
10680
# link against other versions.
10687
hardcode_into_libs=yes
10688
dynamic_linker="$host_os dld.so"
10689
shlibpath_var=LD_LIBRARY_PATH
10690
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10691
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692
soname_spec='${libname}${release}${shared_ext}$major'
10693
if test "X$HPUX_IA64_MODE" = X32; then
10694
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10696
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10698
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10702
hardcode_into_libs=yes
10703
dynamic_linker="$host_os dld.sl"
10704
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10705
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10706
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707
soname_spec='${libname}${release}${shared_ext}$major'
10708
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10709
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10713
dynamic_linker="$host_os dld.sl"
10714
shlibpath_var=SHLIB_PATH
10715
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10716
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717
soname_spec='${libname}${release}${shared_ext}$major'
10720
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10721
postinstall_cmds='chmod 555 $lib'
10728
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10729
soname_spec='${libname}${release}${shared_ext}$major'
10730
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10731
shlibpath_var=LD_LIBRARY_PATH
10732
shlibpath_overrides_runpath=no
10733
hardcode_into_libs=yes
10736
irix5* | irix6* | nonstopux*)
10738
nonstopux*) version_type=nonstopux ;;
10740
if test "$lt_cv_prog_gnu_ld" = yes; then
10748
soname_spec='${libname}${release}${shared_ext}$major'
10749
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10751
irix5* | nonstopux*)
10752
libsuff= shlibsuff=
10755
case $LD in # libtool.m4 will add one of these switches to LD
10756
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10757
libsuff= shlibsuff= libmagic=32-bit;;
10758
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10759
libsuff=32 shlibsuff=N32 libmagic=N32;;
10760
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10761
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10762
*) libsuff= shlibsuff= libmagic=never-match;;
10766
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10767
shlibpath_overrides_runpath=no
10768
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10769
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10770
hardcode_into_libs=yes
10773
# No shared lib support for Linux oldld, aout, or coff.
10774
linux*oldld* | linux*aout* | linux*coff*)
10778
# This must be Linux ELF.
10779
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10783
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784
soname_spec='${libname}${release}${shared_ext}$major'
10785
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10786
shlibpath_var=LD_LIBRARY_PATH
10787
shlibpath_overrides_runpath=no
10788
# Some binutils ld are patched to set DT_RUNPATH
10789
save_LDFLAGS=$LDFLAGS
10790
save_libdir=$libdir
10791
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10792
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10793
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794
/* end confdefs.h. */
10804
if ac_fn_c_try_link "$LINENO"; then :
10805
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10806
shlibpath_overrides_runpath=yes
10809
rm -f core conftest.err conftest.$ac_objext \
10810
conftest$ac_exeext conftest.$ac_ext
10811
LDFLAGS=$save_LDFLAGS
10812
libdir=$save_libdir
10814
# This implies no fast_install, which is unacceptable.
10815
# Some rework will be needed to allow for fast_install
10816
# before this can be enabled.
10817
hardcode_into_libs=yes
10819
# Append ld.so.conf contents to the search path
10820
if test -f /etc/ld.so.conf; then
10821
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10822
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10825
# We used to test for /lib/ld.so.1 and disable shared libraries on
10826
# powerpc, because MkLinux only supported shared libraries with the
10827
# GNU dynamic linker. Since this was broken with cross compilers,
10828
# most powerpc-linux boxes support dynamic linking these days and
10829
# people can always --disable-shared, the test was removed, and we
10830
# assume the GNU/Linux dynamic linker is in use.
10831
dynamic_linker='GNU/Linux ld.so'
10838
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10839
soname_spec='${libname}${release}${shared_ext}$major'
10840
shlibpath_var=LD_LIBRARY_PATH
10841
shlibpath_overrides_runpath=no
10842
hardcode_into_libs=yes
10843
dynamic_linker='NetBSD ld.elf_so'
10850
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10851
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853
dynamic_linker='NetBSD (a.out) ld.so'
10855
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10856
soname_spec='${libname}${release}${shared_ext}$major'
10857
dynamic_linker='NetBSD ld.elf_so'
10859
shlibpath_var=LD_LIBRARY_PATH
10860
shlibpath_overrides_runpath=yes
10861
hardcode_into_libs=yes
10866
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867
shlibpath_var=LD_LIBRARY_PATH
10868
shlibpath_overrides_runpath=yes
10875
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876
soname_spec='${libname}${release}${shared_ext}$major'
10877
shlibpath_var=LD_LIBRARY_PATH
10878
shlibpath_overrides_runpath=no
10879
hardcode_into_libs=yes
10880
dynamic_linker='ldqnx.so'
10885
sys_lib_dlsearch_path_spec="/usr/lib"
10887
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10889
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10890
*) need_version=no ;;
10892
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10893
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10894
shlibpath_var=LD_LIBRARY_PATH
10895
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10897
openbsd2.[89] | openbsd2.[89].*)
10898
shlibpath_overrides_runpath=no
10901
shlibpath_overrides_runpath=yes
10905
shlibpath_overrides_runpath=yes
10910
libname_spec='$name'
10913
library_names_spec='$libname${shared_ext} $libname.a'
10914
dynamic_linker='OS/2 ld.exe'
10915
shlibpath_var=LIBPATH
10918
osf3* | osf4* | osf5*)
10922
soname_spec='${libname}${release}${shared_ext}$major'
10923
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924
shlibpath_var=LD_LIBRARY_PATH
10925
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10926
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10937
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938
soname_spec='${libname}${release}${shared_ext}$major'
10939
shlibpath_var=LD_LIBRARY_PATH
10940
shlibpath_overrides_runpath=yes
10941
hardcode_into_libs=yes
10942
# ldd complains unless libraries are executable
10943
postinstall_cmds='chmod +x $lib'
10948
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10950
shlibpath_var=LD_LIBRARY_PATH
10951
shlibpath_overrides_runpath=yes
10952
if test "$with_gnu_ld" = yes; then
10960
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961
soname_spec='${libname}${release}${shared_ext}$major'
10962
shlibpath_var=LD_LIBRARY_PATH
10963
case $host_vendor in
10965
shlibpath_overrides_runpath=no
10967
runpath_var=LD_RUN_PATH
10975
shlibpath_overrides_runpath=no
10976
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10982
if test -d /usr/nec ;then
10984
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10985
soname_spec='$libname${shared_ext}.$major'
10986
shlibpath_var=LD_LIBRARY_PATH
10990
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10991
version_type=freebsd-elf
10994
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10995
soname_spec='${libname}${release}${shared_ext}$major'
10996
shlibpath_var=LD_LIBRARY_PATH
10997
shlibpath_overrides_runpath=yes
10998
hardcode_into_libs=yes
10999
if test "$with_gnu_ld" = yes; then
11000
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11002
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11005
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11009
sys_lib_dlsearch_path_spec='/usr/lib'
11013
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11017
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11018
shlibpath_var=LD_LIBRARY_PATH
11019
shlibpath_overrides_runpath=no
11020
hardcode_into_libs=yes
11025
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026
soname_spec='${libname}${release}${shared_ext}$major'
11027
shlibpath_var=LD_LIBRARY_PATH
11034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11035
$as_echo "$dynamic_linker" >&6; }
11036
test "$dynamic_linker" = no && can_build_shared=no
11038
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11039
if test "$GCC" = yes; then
11040
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11043
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11044
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11046
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11047
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11137
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11139
if test -n "$hardcode_libdir_flag_spec" ||
11140
test -n "$runpath_var" ||
11141
test "X$hardcode_automatic" = "Xyes" ; then
11143
# We can hardcode non-existent directories.
11144
if test "$hardcode_direct" != no &&
11145
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11146
# have to relink, otherwise we might link with an installed library
11147
# when we should be linking with a yet-to-be-installed one
11148
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11149
test "$hardcode_minus_L" != no; then
11150
# Linking always hardcodes the temporary library directory.
11151
hardcode_action=relink
11153
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11154
hardcode_action=immediate
11157
# We cannot hardcode anything, or else we can only hardcode existing
11159
hardcode_action=unsupported
11161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11162
$as_echo "$hardcode_action" >&6; }
11164
if test "$hardcode_action" = relink ||
11165
test "$inherit_rpath" = yes; then
11166
# Fast installation is not supported
11167
enable_fast_install=no
11168
elif test "$shlibpath_overrides_runpath" = yes ||
11169
test "$enable_shared" = no; then
11170
# Fast installation is not necessary
11171
enable_fast_install=needless
11179
if test "x$enable_dlopen" != xyes; then
11180
enable_dlopen=unknown
11181
enable_dlopen_self=unknown
11182
enable_dlopen_self_static=unknown
11189
lt_cv_dlopen="load_add_on"
11191
lt_cv_dlopen_self=yes
11194
mingw* | pw32* | cegcc*)
11195
lt_cv_dlopen="LoadLibrary"
11200
lt_cv_dlopen="dlopen"
11205
# if libdl is installed we need to link against it
11206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11207
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11208
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11209
$as_echo_n "(cached) " >&6
11211
ac_check_lib_save_LIBS=$LIBS
11213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214
/* end confdefs.h. */
11216
/* Override any GCC internal prototype to avoid an error.
11217
Use char because int might match the return type of a GCC
11218
builtin and then its argument prototype would still apply. */
11231
if ac_fn_c_try_link "$LINENO"; then :
11232
ac_cv_lib_dl_dlopen=yes
11234
ac_cv_lib_dl_dlopen=no
11236
rm -f core conftest.err conftest.$ac_objext \
11237
conftest$ac_exeext conftest.$ac_ext
11238
LIBS=$ac_check_lib_save_LIBS
11240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11241
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11242
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11243
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11246
lt_cv_dlopen="dyld"
11248
lt_cv_dlopen_self=yes
11255
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11256
if test "x$ac_cv_func_shl_load" = x""yes; then :
11257
lt_cv_dlopen="shl_load"
11259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11260
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11261
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11262
$as_echo_n "(cached) " >&6
11264
ac_check_lib_save_LIBS=$LIBS
11266
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267
/* end confdefs.h. */
11269
/* Override any GCC internal prototype to avoid an error.
11270
Use char because int might match the return type of a GCC
11271
builtin and then its argument prototype would still apply. */
11279
return shl_load ();
11284
if ac_fn_c_try_link "$LINENO"; then :
11285
ac_cv_lib_dld_shl_load=yes
11287
ac_cv_lib_dld_shl_load=no
11289
rm -f core conftest.err conftest.$ac_objext \
11290
conftest$ac_exeext conftest.$ac_ext
11291
LIBS=$ac_check_lib_save_LIBS
11293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11294
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11295
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11296
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11298
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11299
if test "x$ac_cv_func_dlopen" = x""yes; then :
11300
lt_cv_dlopen="dlopen"
11302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11303
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11304
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11305
$as_echo_n "(cached) " >&6
11307
ac_check_lib_save_LIBS=$LIBS
11309
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310
/* end confdefs.h. */
11312
/* Override any GCC internal prototype to avoid an error.
11313
Use char because int might match the return type of a GCC
11314
builtin and then its argument prototype would still apply. */
11327
if ac_fn_c_try_link "$LINENO"; then :
11328
ac_cv_lib_dl_dlopen=yes
11330
ac_cv_lib_dl_dlopen=no
11332
rm -f core conftest.err conftest.$ac_objext \
11333
conftest$ac_exeext conftest.$ac_ext
11334
LIBS=$ac_check_lib_save_LIBS
11336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11337
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11338
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11339
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11342
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11343
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11344
$as_echo_n "(cached) " >&6
11346
ac_check_lib_save_LIBS=$LIBS
11347
LIBS="-lsvld $LIBS"
11348
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349
/* end confdefs.h. */
11351
/* Override any GCC internal prototype to avoid an error.
11352
Use char because int might match the return type of a GCC
11353
builtin and then its argument prototype would still apply. */
11366
if ac_fn_c_try_link "$LINENO"; then :
11367
ac_cv_lib_svld_dlopen=yes
11369
ac_cv_lib_svld_dlopen=no
11371
rm -f core conftest.err conftest.$ac_objext \
11372
conftest$ac_exeext conftest.$ac_ext
11373
LIBS=$ac_check_lib_save_LIBS
11375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11376
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11377
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11378
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11381
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11382
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11383
$as_echo_n "(cached) " >&6
11385
ac_check_lib_save_LIBS=$LIBS
11387
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388
/* end confdefs.h. */
11390
/* Override any GCC internal prototype to avoid an error.
11391
Use char because int might match the return type of a GCC
11392
builtin and then its argument prototype would still apply. */
11400
return dld_link ();
11405
if ac_fn_c_try_link "$LINENO"; then :
11406
ac_cv_lib_dld_dld_link=yes
11408
ac_cv_lib_dld_dld_link=no
11410
rm -f core conftest.err conftest.$ac_objext \
11411
conftest$ac_exeext conftest.$ac_ext
11412
LIBS=$ac_check_lib_save_LIBS
11414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11415
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11416
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11417
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11438
if test "x$lt_cv_dlopen" != xno; then
11444
case $lt_cv_dlopen in
11446
save_CPPFLAGS="$CPPFLAGS"
11447
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11449
save_LDFLAGS="$LDFLAGS"
11450
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11453
LIBS="$lt_cv_dlopen_libs $LIBS"
11455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11456
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11457
if test "${lt_cv_dlopen_self+set}" = set; then :
11458
$as_echo_n "(cached) " >&6
11460
if test "$cross_compiling" = yes; then :
11461
lt_cv_dlopen_self=cross
11463
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11464
lt_status=$lt_dlunknown
11465
cat > conftest.$ac_ext <<_LT_EOF
11466
#line 11466 "configure"
11467
#include "confdefs.h"
11476
# define LT_DLGLOBAL RTLD_GLOBAL
11479
# define LT_DLGLOBAL DL_GLOBAL
11481
# define LT_DLGLOBAL 0
11485
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11486
find out it does not work in some platform. */
11487
#ifndef LT_DLLAZY_OR_NOW
11489
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11492
# define LT_DLLAZY_OR_NOW DL_LAZY
11495
# define LT_DLLAZY_OR_NOW RTLD_NOW
11498
# define LT_DLLAZY_OR_NOW DL_NOW
11500
# define LT_DLLAZY_OR_NOW 0
11507
void fnord() { int i=42;}
11510
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11511
int status = $lt_dlunknown;
11515
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11516
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11517
/* dlclose (self); */
11525
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11526
(eval $ac_link) 2>&5
11528
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11529
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11530
(./conftest; exit; ) >&5 2>/dev/null
11532
case x$lt_status in
11533
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11534
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11535
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11538
# compilation failed
11539
lt_cv_dlopen_self=no
11546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11547
$as_echo "$lt_cv_dlopen_self" >&6; }
11549
if test "x$lt_cv_dlopen_self" = xyes; then
11550
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11552
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11553
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11554
$as_echo_n "(cached) " >&6
11556
if test "$cross_compiling" = yes; then :
11557
lt_cv_dlopen_self_static=cross
11559
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11560
lt_status=$lt_dlunknown
11561
cat > conftest.$ac_ext <<_LT_EOF
11562
#line 11562 "configure"
11563
#include "confdefs.h"
11572
# define LT_DLGLOBAL RTLD_GLOBAL
11575
# define LT_DLGLOBAL DL_GLOBAL
11577
# define LT_DLGLOBAL 0
11581
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11582
find out it does not work in some platform. */
11583
#ifndef LT_DLLAZY_OR_NOW
11585
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11588
# define LT_DLLAZY_OR_NOW DL_LAZY
11591
# define LT_DLLAZY_OR_NOW RTLD_NOW
11594
# define LT_DLLAZY_OR_NOW DL_NOW
11596
# define LT_DLLAZY_OR_NOW 0
11603
void fnord() { int i=42;}
11606
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11607
int status = $lt_dlunknown;
11611
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11612
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11613
/* dlclose (self); */
11621
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11622
(eval $ac_link) 2>&5
11624
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11625
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11626
(./conftest; exit; ) >&5 2>/dev/null
11628
case x$lt_status in
11629
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11630
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11631
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11634
# compilation failed
11635
lt_cv_dlopen_self_static=no
11642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11643
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11646
CPPFLAGS="$save_CPPFLAGS"
11647
LDFLAGS="$save_LDFLAGS"
11652
case $lt_cv_dlopen_self in
11653
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11654
*) enable_dlopen_self=unknown ;;
11657
case $lt_cv_dlopen_self_static in
11658
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11659
*) enable_dlopen_self_static=unknown ;;
11681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11682
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11683
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11684
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11685
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11687
$as_echo "yes" >&6; }
11689
# FIXME - insert some real tests, host_os isn't really good enough
11692
if test -n "$STRIP" ; then
11693
striplib="$STRIP -x"
11694
old_striplib="$STRIP -S"
11695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11696
$as_echo "yes" >&6; }
11698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699
$as_echo "no" >&6; }
11703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11704
$as_echo "no" >&6; }
11720
# Report which library types will actually be built
11721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11722
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11724
$as_echo "$can_build_shared" >&6; }
11726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11727
$as_echo_n "checking whether to build shared libraries... " >&6; }
11728
test "$can_build_shared" = "no" && enable_shared=no
11730
# On AIX, shared libraries and static libraries use the same namespace, and
11731
# are all built from PIC.
11734
test "$enable_shared" = yes && enable_static=no
11735
if test -n "$RANLIB"; then
11736
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11737
postinstall_cmds='$RANLIB $lib'
11742
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11743
test "$enable_shared" = yes && enable_static=no
11747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11748
$as_echo "$enable_shared" >&6; }
11750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11751
$as_echo_n "checking whether to build static libraries... " >&6; }
11752
# Make sure either enable_shared or enable_static is yes.
11753
test "$enable_shared" = yes || enable_static=yes
11754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11755
$as_echo "$enable_static" >&6; }
11762
ac_cpp='$CPP $CPPFLAGS'
11763
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11764
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11765
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11781
ac_config_commands="$ac_config_commands libtool"
11786
# Only expand once:
11790
for ac_header in sys/time.h unistd.h getopt.h
11792
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11793
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11794
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11795
cat >>confdefs.h <<_ACEOF
11796
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11804
if test "${ac_cv_c_compiler_gnu}" = "yes"; then
11805
CFLAGS="${CFLAGS} -Wall"
11808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
11809
$as_echo_n "checking for sin in -lm... " >&6; }
11810
if test "${ac_cv_lib_m_sin+set}" = set; then :
11811
$as_echo_n "(cached) " >&6
11813
ac_check_lib_save_LIBS=$LIBS
11815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816
/* end confdefs.h. */
11818
/* Override any GCC internal prototype to avoid an error.
11819
Use char because int might match the return type of a GCC
11820
builtin and then its argument prototype would still apply. */
11833
if ac_fn_c_try_link "$LINENO"; then :
11834
ac_cv_lib_m_sin=yes
11838
rm -f core conftest.err conftest.$ac_objext \
11839
conftest$ac_exeext conftest.$ac_ext
11840
LIBS=$ac_check_lib_save_LIBS
11842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
11843
$as_echo "$ac_cv_lib_m_sin" >&6; }
11844
if test "x$ac_cv_lib_m_sin" = x""yes; then :
11845
cat >>confdefs.h <<_ACEOF
11846
#define HAVE_LIBM 1
11852
as_fn_error $? "Can't find libm. Check your libc installation" "$LINENO" 5
11856
pkg_modules="gtk+-2.0 >= 2.18.0 glib-2.0 >= 2.22.0 gthread-2.0 >= 2.22.0 goocanvas >= 0.15 libcurl >= 7.19.0"
11863
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11864
if test -n "$ac_tool_prefix"; then
11865
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11866
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11868
$as_echo_n "checking for $ac_word... " >&6; }
11869
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11870
$as_echo_n "(cached) " >&6
11872
case $PKG_CONFIG in
11874
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11878
for as_dir in $PATH
11881
test -z "$as_dir" && as_dir=.
11882
for ac_exec_ext in '' $ac_executable_extensions; do
11883
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11884
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11885
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11895
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11896
if test -n "$PKG_CONFIG"; then
11897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11898
$as_echo "$PKG_CONFIG" >&6; }
11900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11901
$as_echo "no" >&6; }
11906
if test -z "$ac_cv_path_PKG_CONFIG"; then
11907
ac_pt_PKG_CONFIG=$PKG_CONFIG
11908
# Extract the first word of "pkg-config", so it can be a program name with args.
11909
set dummy pkg-config; ac_word=$2
11910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11911
$as_echo_n "checking for $ac_word... " >&6; }
11912
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11913
$as_echo_n "(cached) " >&6
11915
case $ac_pt_PKG_CONFIG in
11917
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11921
for as_dir in $PATH
11924
test -z "$as_dir" && as_dir=.
11925
for ac_exec_ext in '' $ac_executable_extensions; do
11926
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11927
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11928
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11938
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11939
if test -n "$ac_pt_PKG_CONFIG"; then
11940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11941
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944
$as_echo "no" >&6; }
11947
if test "x$ac_pt_PKG_CONFIG" = x; then
11950
case $cross_compiling:$ac_tool_warned in
11952
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11953
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11954
ac_tool_warned=yes ;;
11956
PKG_CONFIG=$ac_pt_PKG_CONFIG
11959
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11963
if test -n "$PKG_CONFIG"; then
11964
_pkg_min_version=0.9.0
11965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11966
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11967
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11969
$as_echo "yes" >&6; }
11971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11972
$as_echo "no" >&6; }
11978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
11979
$as_echo_n "checking for PACKAGE... " >&6; }
11981
if test -n "$PACKAGE_CFLAGS"; then
11982
pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
11983
elif test -n "$PKG_CONFIG"; then
11984
if test -n "$PKG_CONFIG" && \
11985
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
11986
($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
11988
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11989
test $ac_status = 0; }; then
11990
pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
11997
if test -n "$PACKAGE_LIBS"; then
11998
pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
11999
elif test -n "$PKG_CONFIG"; then
12000
if test -n "$PKG_CONFIG" && \
12001
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
12002
($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
12004
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12005
test $ac_status = 0; }; then
12006
pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
12016
if test $pkg_failed = yes; then
12017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12018
$as_echo "no" >&6; }
12020
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12021
_pkg_short_errors_supported=yes
12023
_pkg_short_errors_supported=no
12025
if test $_pkg_short_errors_supported = yes; then
12026
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
12028
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
12030
# Put the nasty error message in config.log where it belongs
12031
echo "$PACKAGE_PKG_ERRORS" >&5
12033
as_fn_error $? "Package requirements ($pkg_modules) were not met:
12035
$PACKAGE_PKG_ERRORS
12037
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12038
installed software in a non-standard prefix.
12040
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12041
and PACKAGE_LIBS to avoid the need to call pkg-config.
12042
See the pkg-config man page for more details." "$LINENO" 5
12043
elif test $pkg_failed = untried; then
12044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12045
$as_echo "no" >&6; }
12046
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12049
is in your PATH or set the PKG_CONFIG environment variable to the full
12050
path to pkg-config.
12052
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12053
and PACKAGE_LIBS to avoid the need to call pkg-config.
12054
See the pkg-config man page for more details.
12056
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12057
See \`config.log' for more details" "$LINENO" 5 ; }
12059
PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
12060
PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
12061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12062
$as_echo "yes" >&6; }
12071
ALL_LINGUAS="cs da de en_GB en_US es fi fr it lt ru th"
12072
GETTEXT_PACKAGE=gpredict
12075
for ac_header in locale.h
12077
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12078
if test "x$ac_cv_header_locale_h" = x""yes; then :
12079
cat >>confdefs.h <<_ACEOF
12080
#define HAVE_LOCALE_H 1
12087
if test $ac_cv_header_locale_h = yes; then
12088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12089
$as_echo_n "checking for LC_MESSAGES... " >&6; }
12090
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12091
$as_echo_n "(cached) " >&6
12093
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094
/* end confdefs.h. */
12095
#include <locale.h>
12104
if ac_fn_c_try_link "$LINENO"; then :
12105
am_cv_val_LC_MESSAGES=yes
12107
am_cv_val_LC_MESSAGES=no
12109
rm -f core conftest.err conftest.$ac_objext \
12110
conftest$ac_exeext conftest.$ac_ext
12112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12113
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12114
if test $am_cv_val_LC_MESSAGES = yes; then
12116
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12123
gt_cv_have_gettext=no
12129
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12130
if test "x$ac_cv_header_libintl_h" = x""yes; then :
12131
gt_cv_func_dgettext_libintl="no"
12132
libintl_extra_libs=""
12135
# First check in libc
12137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12138
$as_echo_n "checking for ngettext in libc... " >&6; }
12139
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12140
$as_echo_n "(cached) " >&6
12142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143
/* end confdefs.h. */
12145
#include <libintl.h>
12150
return !ngettext ("","", 1)
12155
if ac_fn_c_try_link "$LINENO"; then :
12156
gt_cv_func_ngettext_libc=yes
12158
gt_cv_func_ngettext_libc=no
12160
rm -f core conftest.err conftest.$ac_objext \
12161
conftest$ac_exeext conftest.$ac_ext
12164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12165
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
12167
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12169
$as_echo_n "checking for dgettext in libc... " >&6; }
12170
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12171
$as_echo_n "(cached) " >&6
12173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12174
/* end confdefs.h. */
12176
#include <libintl.h>
12181
return !dgettext ("","")
12186
if ac_fn_c_try_link "$LINENO"; then :
12187
gt_cv_func_dgettext_libc=yes
12189
gt_cv_func_dgettext_libc=no
12191
rm -f core conftest.err conftest.$ac_objext \
12192
conftest$ac_exeext conftest.$ac_ext
12195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12196
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12199
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12200
for ac_func in bind_textdomain_codeset
12202
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12203
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12204
cat >>confdefs.h <<_ACEOF
12205
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12214
# If we don't have everything we want, check in libintl
12216
if test "$gt_cv_func_dgettext_libc" != "yes" \
12217
|| test "$gt_cv_func_ngettext_libc" != "yes" \
12218
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12221
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12222
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12223
$as_echo_n "(cached) " >&6
12225
ac_check_lib_save_LIBS=$LIBS
12226
LIBS="-lintl $LIBS"
12227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228
/* end confdefs.h. */
12230
/* Override any GCC internal prototype to avoid an error.
12231
Use char because int might match the return type of a GCC
12232
builtin and then its argument prototype would still apply. */
12236
char bindtextdomain ();
12240
return bindtextdomain ();
12245
if ac_fn_c_try_link "$LINENO"; then :
12246
ac_cv_lib_intl_bindtextdomain=yes
12248
ac_cv_lib_intl_bindtextdomain=no
12250
rm -f core conftest.err conftest.$ac_objext \
12251
conftest$ac_exeext conftest.$ac_ext
12252
LIBS=$ac_check_lib_save_LIBS
12254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12255
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12256
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
12257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12258
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12259
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12260
$as_echo_n "(cached) " >&6
12262
ac_check_lib_save_LIBS=$LIBS
12263
LIBS="-lintl $LIBS"
12264
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265
/* end confdefs.h. */
12267
/* Override any GCC internal prototype to avoid an error.
12268
Use char because int might match the return type of a GCC
12269
builtin and then its argument prototype would still apply. */
12277
return ngettext ();
12282
if ac_fn_c_try_link "$LINENO"; then :
12283
ac_cv_lib_intl_ngettext=yes
12285
ac_cv_lib_intl_ngettext=no
12287
rm -f core conftest.err conftest.$ac_objext \
12288
conftest$ac_exeext conftest.$ac_ext
12289
LIBS=$ac_check_lib_save_LIBS
12291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12292
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12293
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12295
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12296
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12297
$as_echo_n "(cached) " >&6
12299
ac_check_lib_save_LIBS=$LIBS
12300
LIBS="-lintl $LIBS"
12301
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302
/* end confdefs.h. */
12304
/* Override any GCC internal prototype to avoid an error.
12305
Use char because int might match the return type of a GCC
12306
builtin and then its argument prototype would still apply. */
12314
return dgettext ();
12319
if ac_fn_c_try_link "$LINENO"; then :
12320
ac_cv_lib_intl_dgettext=yes
12322
ac_cv_lib_intl_dgettext=no
12324
rm -f core conftest.err conftest.$ac_objext \
12325
conftest$ac_exeext conftest.$ac_ext
12326
LIBS=$ac_check_lib_save_LIBS
12328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12329
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12330
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
12331
gt_cv_func_dgettext_libintl=yes
12339
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12341
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12345
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12346
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12347
$as_echo_n "(cached) " >&6
12349
ac_check_lib_save_LIBS=$LIBS
12350
LIBS="-lintl -liconv $LIBS"
12351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352
/* end confdefs.h. */
12354
/* Override any GCC internal prototype to avoid an error.
12355
Use char because int might match the return type of a GCC
12356
builtin and then its argument prototype would still apply. */
12364
return ngettext ();
12369
if ac_fn_c_try_link "$LINENO"; then :
12370
ac_cv_lib_intl_ngettext=yes
12372
ac_cv_lib_intl_ngettext=no
12374
rm -f core conftest.err conftest.$ac_objext \
12375
conftest$ac_exeext conftest.$ac_ext
12376
LIBS=$ac_check_lib_save_LIBS
12378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12379
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12380
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12382
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12383
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
12384
$as_echo_n "(cached) " >&6
12386
ac_check_lib_save_LIBS=$LIBS
12387
LIBS="-lintl -liconv $LIBS"
12388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389
/* end confdefs.h. */
12391
/* Override any GCC internal prototype to avoid an error.
12392
Use char because int might match the return type of a GCC
12393
builtin and then its argument prototype would still apply. */
12401
return dcgettext ();
12406
if ac_fn_c_try_link "$LINENO"; then :
12407
ac_cv_lib_intl_dcgettext=yes
12409
ac_cv_lib_intl_dcgettext=no
12411
rm -f core conftest.err conftest.$ac_objext \
12412
conftest$ac_exeext conftest.$ac_ext
12413
LIBS=$ac_check_lib_save_LIBS
12415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12416
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12417
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
12418
gt_cv_func_dgettext_libintl=yes
12419
libintl_extra_libs=-liconv
12431
# If we found libintl, then check in it for bind_textdomain_codeset();
12432
# we'll prefer libc if neither have bind_textdomain_codeset(),
12433
# and both have dgettext and ngettext
12435
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12436
glib_save_LIBS="$LIBS"
12437
LIBS="$LIBS -lintl $libintl_extra_libs"
12438
unset ac_cv_func_bind_textdomain_codeset
12439
for ac_func in bind_textdomain_codeset
12441
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12442
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12443
cat >>confdefs.h <<_ACEOF
12444
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12450
LIBS="$glib_save_LIBS"
12452
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12453
gt_cv_func_dgettext_libc=no
12455
if test "$gt_cv_func_dgettext_libc" = "yes" \
12456
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
12457
gt_cv_func_dgettext_libintl=no
12463
if test "$gt_cv_func_dgettext_libc" = "yes" \
12464
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
12465
gt_cv_have_gettext=yes
12468
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12469
INTLLIBS="-lintl $libintl_extra_libs"
12472
if test "$gt_cv_have_gettext" = "yes"; then
12474
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12476
# Extract the first word of "msgfmt", so it can be a program name with args.
12477
set dummy msgfmt; ac_word=$2
12478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12479
$as_echo_n "checking for $ac_word... " >&6; }
12480
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12481
$as_echo_n "(cached) " >&6
12485
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12488
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12489
for ac_dir in $PATH; do
12490
test -z "$ac_dir" && ac_dir=.
12491
if test -f $ac_dir/$ac_word; then
12492
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12493
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12499
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12503
MSGFMT="$ac_cv_path_MSGFMT"
12504
if test "$MSGFMT" != "no"; then
12505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12506
$as_echo "$MSGFMT" >&6; }
12508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12509
$as_echo "no" >&6; }
12511
if test "$MSGFMT" != "no"; then
12512
glib_save_LIBS="$LIBS"
12513
LIBS="$LIBS $INTLLIBS"
12514
for ac_func in dcgettext
12516
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12517
if test "x$ac_cv_func_dcgettext" = x""yes; then :
12518
cat >>confdefs.h <<_ACEOF
12519
#define HAVE_DCGETTEXT 1
12526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12527
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
12528
cat >conftest.foo <<_ACEOF
12532
"Content-Type: text/plain; charset=UTF-8\n"
12533
"Project-Id-Version: test 1.0\n"
12534
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
12535
"Last-Translator: test <foo@bar.xx>\n"
12536
"Language-Team: C <LL@li.org>\n"
12537
"MIME-Version: 1.0\n"
12538
"Content-Transfer-Encoding: 8bit\n"
12541
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12542
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12544
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12545
test $ac_status = 0; }; then
12546
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12547
$as_echo "yes" >&6; }
12548
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549
$as_echo "no" >&6; }
12550
echo "$as_me: failed input was:" >&5
12551
sed 's/^/| /' conftest.foo >&5
12554
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12555
set dummy gmsgfmt; ac_word=$2
12556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12557
$as_echo_n "checking for $ac_word... " >&6; }
12558
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12559
$as_echo_n "(cached) " >&6
12563
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12566
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12567
for as_dir in $PATH
12570
test -z "$as_dir" && as_dir=.
12571
for ac_exec_ext in '' $ac_executable_extensions; do
12572
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12573
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12574
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12581
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12585
GMSGFMT=$ac_cv_path_GMSGFMT
12586
if test -n "$GMSGFMT"; then
12587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12588
$as_echo "$GMSGFMT" >&6; }
12590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591
$as_echo "no" >&6; }
12595
# Extract the first word of "xgettext", so it can be a program name with args.
12596
set dummy xgettext; ac_word=$2
12597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12598
$as_echo_n "checking for $ac_word... " >&6; }
12599
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12600
$as_echo_n "(cached) " >&6
12602
case "$XGETTEXT" in
12604
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12607
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12608
for ac_dir in $PATH; do
12609
test -z "$ac_dir" && ac_dir=.
12610
if test -f $ac_dir/$ac_word; then
12611
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12612
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12618
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12622
XGETTEXT="$ac_cv_path_XGETTEXT"
12623
if test "$XGETTEXT" != ":"; then
12624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12625
$as_echo "$XGETTEXT" >&6; }
12627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628
$as_echo "no" >&6; }
12631
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632
/* end confdefs.h. */
12637
extern int _nl_msg_cat_cntr;
12638
return _nl_msg_cat_cntr
12643
if ac_fn_c_try_link "$LINENO"; then :
12649
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12650
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12665
rm -f core conftest.err conftest.$ac_objext \
12666
conftest$ac_exeext conftest.$ac_ext
12667
LIBS="$glib_save_LIBS"
12670
gt_cv_have_gettext=no
12678
if test "$gt_cv_have_gettext" = "yes" ; then
12680
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
12684
if test "$XGETTEXT" != ":"; then
12685
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12689
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12694
# We need to process the po/ directory.
12697
ac_config_commands="$ac_config_commands default-1"
12700
for lang in $ALL_LINGUAS; do
12701
GMOFILES="$GMOFILES $lang.gmo"
12702
POFILES="$POFILES $lang.po"
12717
if test "$gt_cv_have_gettext" = "yes"; then
12718
if test "x$ALL_LINGUAS" = "x"; then
12721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12722
$as_echo_n "checking for catalogs to be installed... " >&6; }
12724
for presentlang in $ALL_LINGUAS; do
12726
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12727
desiredlanguages="$LINGUAS"
12729
desiredlanguages="$ALL_LINGUAS"
12731
for desiredlang in $desiredlanguages; do
12732
# Use the presentlang catalog if desiredlang is
12733
# a. equal to presentlang, or
12734
# b. a variant of presentlang (because in this case,
12735
# presentlang can be used as a fallback for messages
12736
# which are not translated in the desiredlang catalog).
12737
case "$desiredlang" in
12738
"$presentlang"*) useit=yes;;
12741
if test $useit = yes; then
12742
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12745
LINGUAS=$NEW_LINGUAS
12746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12747
$as_echo "$LINGUAS" >&6; }
12750
if test -n "$LINGUAS"; then
12751
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12756
if test -n "$ac_aux_dir"; then
12757
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12759
if test -z "$MKINSTALLDIRS"; then
12760
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12764
test -d po || mkdir po
12765
if test "x$srcdir" != "x."; then
12766
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12767
posrcprefix="$srcdir/"
12769
posrcprefix="../$srcdir/"
12775
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12776
< $srcdir/po/POTFILES.in > po/POTFILES
12779
cat >>confdefs.h <<_ACEOF
12780
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12785
# Check whether --enable-coverage was given.
12786
if test "${enable_coverage+set}" = set; then :
12787
enableval=$enable_coverage; enable_coerage=yes
12792
if test "$enable_coverage" = yes ; then
12793
CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage";
12795
$as_echo "#define ENABLE_COV 1" >>confdefs.h
12799
# Check whether --enable-caches was given.
12800
if test "${enable_caches+set}" = set; then :
12801
enableval=$enable_caches;
12806
if test x"$enable_caches" = "xyes"; then
12807
UPDATE_CACHES_TRUE=
12808
UPDATE_CACHES_FALSE='#'
12810
UPDATE_CACHES_TRUE='#'
12811
UPDATE_CACHES_FALSE=
12818
GLIB_V=`pkg-config --modversion glib-2.0`
12819
GIO_V=`pkg-config --modversion gio-2.0`
12820
GTHR_V=`pkg-config --modversion gthread-2.0`
12821
GDK_V=`pkg-config --modversion gdk-2.0`
12822
GTK_V=`pkg-config --modversion gtk+-2.0`
12823
GOOC_V=`pkg-config --modversion goocanvas`
12824
CURL_V=`pkg-config --modversion libcurl`
12831
ac_config_files="$ac_config_files Makefile doc/Makefile doc/man/gpredict.1 doc/man/Makefile src/Makefile src/sgpsdp/Makefile src/sgpsdp/TR/Makefile pixmaps/Makefile pixmaps/maps/Makefile pixmaps/icons/Makefile data/Makefile data/desktop/Makefile data/satdata/Makefile data/trsp/Makefile po/Makefile.in"
12833
cat >confcache <<\_ACEOF
12834
# This file is a shell script that caches the results of configure
12835
# tests run on this system so they can be shared between configure
12836
# scripts and configure runs, see configure's option --config-cache.
12837
# It is not useful on other systems. If it contains results you don't
12838
# want to keep, you may remove or edit it.
12840
# config.status only pays attention to the cache file if you give it
12841
# the --recheck option to rerun configure.
12843
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12844
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12845
# following values.
12849
# The following way of writing the cache mishandles newlines in values,
12850
# but we know of no workaround that is simple, portable, and efficient.
12851
# So, we kill variables containing newlines.
12852
# Ultrix sh set writes to stderr and can't be redirected directly,
12853
# and sets the high bit in the cache file unless we assign to the vars.
12855
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12856
eval ac_val=\$$ac_var
12860
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12861
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12864
_ | IFS | as_nl) ;; #(
12865
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12866
*) { eval $ac_var=; unset $ac_var;} ;;
12872
case $as_nl`(ac_space=' '; set) 2>&1` in #(
12873
*${as_nl}ac_space=\ *)
12874
# `set' does not quote correctly, so add quotes: double-quote
12875
# substitution turns \\\\ into \\, and sed turns \\ into \.
12878
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12881
# `set' quotes correctly as required by POSIX, so do not add quotes.
12882
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12891
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12893
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12895
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12896
if test -w "$cache_file"; then
12897
test "x$cache_file" != "x/dev/null" &&
12898
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12899
$as_echo "$as_me: updating cache $cache_file" >&6;}
12900
cat confcache >$cache_file
12902
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12903
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12908
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12909
# Let make expand exec_prefix.
12910
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12912
DEFS=-DHAVE_CONFIG_H
12917
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12918
# 1. Remove the extension, and $U if already installed.
12919
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12920
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12921
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12922
# will be set to the directory where LIBOBJS objects are built.
12923
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12924
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12926
LIBOBJS=$ac_libobjs
12928
LTLIBOBJS=$ac_ltlibobjs
12931
if test -n "$EXEEXT"; then
12933
am__EXEEXT_FALSE='#'
12935
am__EXEEXT_TRUE='#'
12939
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12940
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12943
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12944
as_fn_error $? "conditional \"AMDEP\" was never defined.
12945
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12947
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12948
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12949
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12952
ac_config_commands="$ac_config_commands po/stamp-it"
12955
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12956
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12957
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12959
if test -z "${UPDATE_CACHES_TRUE}" && test -z "${UPDATE_CACHES_FALSE}"; then
12960
as_fn_error $? "conditional \"UPDATE_CACHES\" was never defined.
12961
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12964
: ${CONFIG_STATUS=./config.status}
12966
ac_clean_files_save=$ac_clean_files
12967
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12968
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12969
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12971
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12973
# Generated by $as_me.
12974
# Run this file to recreate the current configuration.
12975
# Compiler output produced by configure, useful for debugging
12976
# configure, is in config.log if it exists.
12979
ac_cs_recheck=false
12982
SHELL=\${CONFIG_SHELL-$SHELL}
12985
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12986
## -------------------- ##
12987
## M4sh Initialization. ##
12988
## -------------------- ##
12990
# Be more Bourne compatible
12991
DUALCASE=1; export DUALCASE # for MKS sh
12992
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12995
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12996
# is contrary to our usage. Disable this feature.
12997
alias -g '${1+"$@"}'='"$@"'
12998
setopt NO_GLOB_SUBST
13000
case `(set -o) 2>/dev/null` in #(
13012
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13013
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13014
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13015
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13016
# Prefer a ksh shell builtin over an external printf program on Solaris,
13017
# but without wasting forks for bash or zsh.
13018
if test -z "$BASH_VERSION$ZSH_VERSION" \
13019
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13020
as_echo='print -r --'
13021
as_echo_n='print -rn --'
13022
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13023
as_echo='printf %s\n'
13024
as_echo_n='printf %s'
13026
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13027
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13028
as_echo_n='/usr/ucb/echo -n'
13030
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13031
as_echo_n_body='eval
13035
expr "X$arg" : "X\\(.*\\)$as_nl";
13036
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13038
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13040
export as_echo_n_body
13041
as_echo_n='sh -c $as_echo_n_body as_echo'
13043
export as_echo_body
13044
as_echo='sh -c $as_echo_body as_echo'
13047
# The user is always right.
13048
if test "${PATH_SEPARATOR+set}" != set; then
13050
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13051
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13058
# We need space, tab and new line, in precisely that order. Quoting is
13059
# there to prevent editors from complaining about space-tab.
13060
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13061
# splitting by setting IFS to empty value.)
13064
# Find who we are. Look in the path if we contain no directory separator.
13066
*[\\/]* ) as_myself=$0 ;;
13067
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13068
for as_dir in $PATH
13071
test -z "$as_dir" && as_dir=.
13072
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13078
# We did not find ourselves, most probably we were run as `sh COMMAND'
13079
# in which case we are not to be found in the path.
13080
if test "x$as_myself" = x; then
13083
if test ! -f "$as_myself"; then
13084
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13088
# Unset variables that we do not need and which cause bugs (e.g. in
13089
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13090
# suppresses any "Segmentation fault" message there. '((' could
13091
# trigger a bug in pdksh 5.2.14.
13092
for as_var in BASH_ENV ENV MAIL MAILPATH
13093
do eval test x\${$as_var+set} = xset \
13094
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13107
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13110
# as_fn_error STATUS ERROR [LINENO LOG_FD]
13111
# ----------------------------------------
13112
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13113
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13114
# script with STATUS, using 1 if that was 0.
13117
as_status=$1; test $as_status -eq 0 && as_status=1
13119
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13120
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13122
$as_echo "$as_me: error: $2" >&2
13123
as_fn_exit $as_status
13127
# as_fn_set_status STATUS
13128
# -----------------------
13129
# Set $? to STATUS, without forking.
13130
as_fn_set_status ()
13133
} # as_fn_set_status
13135
# as_fn_exit STATUS
13136
# -----------------
13137
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13141
as_fn_set_status $1
13147
# Portably unset VAR.
13150
{ eval $1=; unset $1;}
13152
as_unset=as_fn_unset
13153
# as_fn_append VAR VALUE
13154
# ----------------------
13155
# Append the text in VALUE to the end of the definition contained in VAR. Take
13156
# advantage of any shell optimizations that allow amortized linear growth over
13157
# repeated appends, instead of the typical quadratic growth present in naive
13159
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13160
eval 'as_fn_append ()
13171
# as_fn_arith ARG...
13172
# ------------------
13173
# Perform arithmetic evaluation on the ARGs, and store the result in the
13174
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13175
# must be portable across $(()) and expr.
13176
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13177
eval 'as_fn_arith ()
13184
as_val=`expr "$@" || test $? -eq 1`
13189
if expr a : '\(a\)' >/dev/null 2>&1 &&
13190
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13196
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13197
as_basename=basename
13202
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13208
as_me=`$as_basename -- "$0" ||
13209
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13210
X"$0" : 'X\(//\)$' \| \
13211
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13213
sed '/^.*\/\([^/][^/]*\)\/*$/{
13227
# Avoid depending upon Character Ranges.
13228
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13229
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13230
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13231
as_cr_digits='0123456789'
13232
as_cr_alnum=$as_cr_Letters$as_cr_digits
13234
ECHO_C= ECHO_N= ECHO_T=
13235
case `echo -n x` in #(((((
13237
case `echo 'xy\c'` in
13238
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13240
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13247
rm -f conf$$ conf$$.exe conf$$.file
13248
if test -d conf$$.dir; then
13249
rm -f conf$$.dir/conf$$.file
13252
mkdir conf$$.dir 2>/dev/null
13254
if (echo >conf$$.file) 2>/dev/null; then
13255
if ln -s conf$$.file conf$$ 2>/dev/null; then
13257
# ... but there are two gotchas:
13258
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13259
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13260
# In both cases, we have to default to `cp -p'.
13261
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13263
elif ln conf$$.file conf$$ 2>/dev/null; then
13271
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13272
rmdir conf$$.dir 2>/dev/null
13277
# Create "$as_dir" as a directory, including parents if necessary.
13282
-*) as_dir=./$as_dir;;
13284
test -d "$as_dir" || eval $as_mkdir_p || {
13288
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13289
*) as_qdir=$as_dir;;
13291
as_dirs="'$as_qdir' $as_dirs"
13292
as_dir=`$as_dirname -- "$as_dir" ||
13293
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13294
X"$as_dir" : 'X\(//\)[^/]' \| \
13295
X"$as_dir" : 'X\(//\)$' \| \
13296
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13297
$as_echo X"$as_dir" |
13298
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13302
/^X\(\/\/\)[^/].*/{
13315
test -d "$as_dir" && break
13317
test -z "$as_dirs" || eval "mkdir $as_dirs"
13318
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13322
if mkdir -p . 2>/dev/null; then
13323
as_mkdir_p='mkdir -p "$as_dir"'
13325
test -d ./-p && rmdir ./-p
13329
if test -x / >/dev/null 2>&1; then
13330
as_test_x='test -x'
13332
if ls -dL / >/dev/null 2>&1; then
13339
if test -d "$1"; then
13345
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13346
???[sx]*):;;*)false;;esac;fi
13350
as_executable_p=$as_test_x
13352
# Sed expression to map a string onto a valid CPP name.
13353
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13355
# Sed expression to map a string onto a valid variable name.
13356
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13360
## ----------------------------------- ##
13361
## Main body of $CONFIG_STATUS script. ##
13362
## ----------------------------------- ##
13364
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13366
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13367
# Save the log message, to keep $0 and so on meaningful, and to
13368
# report actual input values of CONFIG_FILES etc. instead of their
13369
# values after options handling.
13371
This file was extended by $as_me, which was
13372
generated by GNU Autoconf 2.67. Invocation command line was
13374
CONFIG_FILES = $CONFIG_FILES
13375
CONFIG_HEADERS = $CONFIG_HEADERS
13376
CONFIG_LINKS = $CONFIG_LINKS
13377
CONFIG_COMMANDS = $CONFIG_COMMANDS
13380
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13385
case $ac_config_files in *"
13386
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13389
case $ac_config_headers in *"
13390
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13394
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13395
# Files that config.status was made for.
13396
config_files="$ac_config_files"
13397
config_headers="$ac_config_headers"
13398
config_commands="$ac_config_commands"
13402
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13404
\`$as_me' instantiates files and other configuration actions
13405
from templates according to the current configuration. Unless the files
13406
and actions are specified as TAGs, all are instantiated by default.
13408
Usage: $0 [OPTION]... [TAG]...
13410
-h, --help print this help, then exit
13411
-V, --version print version number and configuration settings, then exit
13412
--config print configuration, then exit
13413
-q, --quiet, --silent
13414
do not print progress messages
13415
-d, --debug don't remove temporary files
13416
--recheck update $as_me by reconfiguring in the same conditions
13417
--file=FILE[:TEMPLATE]
13418
instantiate the configuration file FILE
13419
--header=FILE[:TEMPLATE]
13420
instantiate the configuration header FILE
13422
Configuration files:
13425
Configuration headers:
13428
Configuration commands:
13431
Report bugs to the package provider."
13434
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13435
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13438
configured by $0, generated by GNU Autoconf 2.67,
13439
with options \\"\$ac_cs_config\\"
13441
Copyright (C) 2010 Free Software Foundation, Inc.
13442
This config.status script is free software; the Free Software Foundation
13443
gives unlimited permission to copy, distribute and modify it."
13450
test -n "\$AWK" || AWK=awk
13453
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13454
# The default lists apply if the user does not specify any file.
13460
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13461
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13465
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13477
# Handling of the options.
13478
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13480
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13481
$as_echo "$ac_cs_version"; exit ;;
13482
--config | --confi | --conf | --con | --co | --c )
13483
$as_echo "$ac_cs_config"; exit ;;
13484
--debug | --debu | --deb | --de | --d | -d )
13486
--file | --fil | --fi | --f )
13489
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13490
'') as_fn_error $? "missing file argument" ;;
13492
as_fn_append CONFIG_FILES " '$ac_optarg'"
13493
ac_need_defaults=false;;
13494
--header | --heade | --head | --hea )
13497
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13499
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13500
ac_need_defaults=false;;
13502
# Conflict between --help and --header
13503
as_fn_error $? "ambiguous option: \`$1'
13504
Try \`$0 --help' for more information.";;
13505
--help | --hel | -h )
13506
$as_echo "$ac_cs_usage"; exit ;;
13507
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13508
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13511
# This is an error.
13512
-*) as_fn_error $? "unrecognized option: \`$1'
13513
Try \`$0 --help' for more information." ;;
13515
*) as_fn_append ac_config_targets " $1"
13516
ac_need_defaults=false ;;
13522
ac_configure_extra_args=
13524
if $ac_cs_silent; then
13526
ac_configure_extra_args="$ac_configure_extra_args --silent"
13530
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13531
if \$ac_cs_recheck; then
13532
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13534
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13535
CONFIG_SHELL='$SHELL'
13536
export CONFIG_SHELL
13541
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13545
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13546
## Running $as_me. ##
13552
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13556
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13559
# The HP-UX ksh and POSIX shell print the target directory to stdout
13560
# if CDPATH is set.
13561
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13563
sed_quote_subst='$sed_quote_subst'
13564
double_quote_subst='$double_quote_subst'
13565
delay_variable_subst='$delay_variable_subst'
13566
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13567
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13568
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13569
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13570
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13571
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13572
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13573
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13574
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13575
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13576
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13577
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13578
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13579
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13580
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13581
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13582
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13583
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13584
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13585
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13586
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13587
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13588
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13589
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13590
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13591
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13592
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13593
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13594
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13595
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13596
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13597
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13598
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13599
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13600
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13601
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13602
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13603
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13604
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13605
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13606
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13607
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13608
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13609
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13610
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13611
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13612
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13613
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13614
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13615
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13616
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13617
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13618
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13619
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13620
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13621
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13622
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13623
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13624
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13625
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13626
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13627
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13628
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13629
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13630
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13631
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13632
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13633
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13634
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13635
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13636
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13637
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13638
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13639
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13640
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13641
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13642
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13643
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13644
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13645
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13646
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13647
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13648
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13649
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13650
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13651
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13652
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13653
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13654
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13655
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13656
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13657
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13658
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13659
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13660
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13661
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13662
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13663
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13664
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13665
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13666
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13667
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13668
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13669
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13670
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13671
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13672
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13673
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13674
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13675
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13676
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13677
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13678
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13679
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13680
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13681
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13682
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13683
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13686
LTCFLAGS='$LTCFLAGS'
13687
compiler='$compiler_DEFAULT'
13689
# Quote evaled strings.
13701
deplibs_check_method \
13710
lt_cv_sys_global_symbol_pipe \
13711
lt_cv_sys_global_symbol_to_cdecl \
13712
lt_cv_sys_global_symbol_to_c_name_address \
13713
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13716
lt_prog_compiler_no_builtin_flag \
13717
lt_prog_compiler_wl \
13718
lt_prog_compiler_pic \
13719
lt_prog_compiler_static \
13720
lt_cv_prog_compiler_c_o \
13728
export_dynamic_flag_spec \
13729
whole_archive_flag_spec \
13730
compiler_needs_object \
13732
allow_undefined_flag \
13733
no_undefined_flag \
13734
hardcode_libdir_flag_spec \
13735
hardcode_libdir_flag_spec_ld \
13736
hardcode_libdir_separator \
13741
variables_saved_for_relink \
13743
library_names_spec \
13748
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13749
*[\\\\\\\`\\"\\\$]*)
13750
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13753
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13758
# Double-quote double-evaled strings.
13759
for var in reload_cmds \
13760
old_postinstall_cmds \
13761
old_postuninstall_cmds \
13763
extract_expsyms_cmds \
13764
old_archive_from_new_cmds \
13765
old_archive_from_expsyms_cmds \
13767
archive_expsym_cmds \
13769
module_expsym_cmds \
13770
export_symbols_cmds \
13773
postuninstall_cmds \
13775
sys_lib_search_path_spec \
13776
sys_lib_dlsearch_path_spec; do
13777
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13778
*[\\\\\\\`\\"\\\$]*)
13779
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13782
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13787
# Fix-up fallback echo if it was mangled by the above quoting rules.
13789
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13793
ac_aux_dir='$ac_aux_dir'
13794
xsi_shell='$xsi_shell'
13795
lt_shell_append='$lt_shell_append'
13797
# See if we are running on zsh, and set the options which allow our
13798
# commands through without removal of \ escapes INIT.
13799
if test -n "\${ZSH_VERSION+set}" ; then
13800
setopt NO_GLOB_SUBST
13806
TIMESTAMP='$TIMESTAMP'
13816
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13818
# Handling of arguments.
13819
for ac_config_target in $ac_config_targets
13821
case $ac_config_target in
13822
"build-config.h") CONFIG_HEADERS="$CONFIG_HEADERS build-config.h" ;;
13823
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13824
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13825
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13826
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13827
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13828
"doc/man/gpredict.1") CONFIG_FILES="$CONFIG_FILES doc/man/gpredict.1" ;;
13829
"doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
13830
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13831
"src/sgpsdp/Makefile") CONFIG_FILES="$CONFIG_FILES src/sgpsdp/Makefile" ;;
13832
"src/sgpsdp/TR/Makefile") CONFIG_FILES="$CONFIG_FILES src/sgpsdp/TR/Makefile" ;;
13833
"pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
13834
"pixmaps/maps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/maps/Makefile" ;;
13835
"pixmaps/icons/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/icons/Makefile" ;;
13836
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13837
"data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
13838
"data/satdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/satdata/Makefile" ;;
13839
"data/trsp/Makefile") CONFIG_FILES="$CONFIG_FILES data/trsp/Makefile" ;;
13840
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13841
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13843
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13848
# If the user did not use the arguments to specify the items to instantiate,
13849
# then the envvar interface is used. Set only those that are not.
13850
# We use the long form for the default assignment because of an extremely
13851
# bizarre bug on SunOS 4.1.3.
13852
if $ac_need_defaults; then
13853
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13854
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13855
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13858
# Have a temporary directory for convenience. Make it in the build tree
13859
# simply because there is no reason against having it here, and in addition,
13860
# creating and moving files from /tmp can sometimes cause problems.
13861
# Hook for its removal unless debugging.
13862
# Note that there is a small window in which the directory will not be cleaned:
13863
# after its creation but before its name has been assigned to `$tmp'.
13867
trap 'exit_status=$?
13868
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13870
trap 'as_fn_exit 1' 1 2 13 15
13872
# Create a (secure) tmp directory for tmp files.
13875
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13876
test -n "$tmp" && test -d "$tmp"
13879
tmp=./conf$$-$RANDOM
13880
(umask 077 && mkdir "$tmp")
13881
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13883
# Set up the scripts for CONFIG_FILES section.
13884
# No need to generate them if there are no CONFIG_FILES.
13885
# This happens for instance with `./config.status config.h'.
13886
if test -n "$CONFIG_FILES"; then
13889
ac_cr=`echo X | tr X '\015'`
13890
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13891
# But we know of no other shell where ac_cr would be empty at this
13892
# point, so we can use a bashism as a fallback.
13893
if test "x$ac_cr" = x; then
13894
eval ac_cr=\$\'\\r\'
13896
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13897
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13900
ac_cs_awk_cr=$ac_cr
13903
echo 'BEGIN {' >"$tmp/subs1.awk" &&
13908
echo "cat >conf$$subs.awk <<_ACEOF" &&
13909
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13911
} >conf$$subs.sh ||
13912
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13913
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13915
for ac_last_try in false false false false false :; do
13916
. ./conf$$subs.sh ||
13917
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13919
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13920
if test $ac_delim_n = $ac_delim_num; then
13922
elif $ac_last_try; then
13923
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13925
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13928
rm -f conf$$subs.sh
13930
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13931
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13935
s/^/S["/; s/!.*/"]=/
13945
s/\(.\{148\}\)..*/\1/
13947
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13952
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13959
s/\(.\{148\}\)..*/\1/
13961
s/["\\]/\\&/g; s/^/"/; s/$/"/
13965
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13970
' <conf$$subs.awk | sed '
13975
' >>$CONFIG_STATUS || ac_write_fail=1
13976
rm -f conf$$subs.awk
13977
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13979
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13980
for (key in S) S_is_set[key] = 1
13986
nfields = split(line, field, "@")
13988
len = length(field[1])
13989
for (i = 2; i < nfields; i++) {
13991
keylen = length(key)
13992
if (S_is_set[key]) {
13994
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13995
len += length(value) + length(field[++i])
14006
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14007
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14008
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14011
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14012
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14015
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14016
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14017
# trailing colons and then remove the whole line if VPATH becomes empty
14018
# (actually we leave an empty line to preserve line numbers).
14019
if test "x$srcdir" = x.; then
14020
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14038
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14039
fi # test -n "$CONFIG_FILES"
14041
# Set up the scripts for CONFIG_HEADERS section.
14042
# No need to generate them if there are no CONFIG_HEADERS.
14043
# This happens for instance with `./config.status Makefile'.
14044
if test -n "$CONFIG_HEADERS"; then
14045
cat >"$tmp/defines.awk" <<\_ACAWK ||
14049
# Transform confdefs.h into an awk script `defines.awk', embedded as
14050
# here-document in config.status, that substitutes the proper values into
14051
# config.h.in to produce config.h.
14053
# Create a delimiter string that does not exist in confdefs.h, to ease
14054
# handling of long lines.
14056
for ac_last_try in false false :; do
14057
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14058
if test -z "$ac_t"; then
14060
elif $ac_last_try; then
14061
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14063
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14067
# For the awk script, D is an array of macro values keyed by name,
14068
# likewise P contains macro parameters if any. Preserve backslash
14069
# newline sequences.
14071
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14073
s/.\{148\}/&'"$ac_delim"'/g
14076
s/^[ ]*#[ ]*define[ ][ ]*/ /
14083
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14085
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14089
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14090
D["\1"]=" \3\\\\\\n"\\/p
14092
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14097
s/.\{148\}/&'"$ac_delim"'/g
14102
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14105
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14107
' <confdefs.h | sed '
14108
s/'"$ac_delim"'/"\\\
14109
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14111
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14112
for (key in D) D_is_set[key] = 1
14115
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14117
split(line, arg, " ")
14118
if (arg[1] == "#") {
14122
defundef = substr(arg[1], 2)
14125
split(mac1, mac2, "(") #)
14127
prefix = substr(line, 1, index(line, defundef) - 1)
14128
if (D_is_set[macro]) {
14129
# Preserve the white space surrounding the "#".
14130
print prefix "define", macro P[macro] D[macro]
14133
# Replace #undef with comments. This is necessary, for example,
14134
# in the case of _POSIX_SOURCE, which is predefined and required
14135
# on some systems where configure will not decide to define it.
14136
if (defundef == "undef") {
14137
print "/*", prefix defundef, macro, "*/"
14145
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14146
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14147
fi # test -n "$CONFIG_HEADERS"
14150
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14155
:[FHLC]) ac_mode=$ac_tag; continue;;
14157
case $ac_mode$ac_tag in
14159
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14160
:[FH]-) ac_tag=-:-;;
14161
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14178
-) ac_f="$tmp/stdin";;
14179
*) # Look for the file first in the build tree, then in the source tree
14180
# (if the path is not absolute). The absolute path cannot be DOS-style,
14181
# because $ac_f cannot contain `:'.
14185
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14187
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14189
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14190
as_fn_append ac_file_inputs " '$ac_f'"
14193
# Let's still pretend it is `configure' which instantiates (i.e., don't
14194
# use $as_me), people would be surprised to read:
14195
# /* config.h. Generated by config.status. */
14196
configure_input='Generated from '`
14197
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14199
if test x"$ac_file" != x-; then
14200
configure_input="$ac_file. $configure_input"
14201
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14202
$as_echo "$as_me: creating $ac_file" >&6;}
14204
# Neutralize special characters interpreted by sed in replacement strings.
14205
case $configure_input in #(
14206
*\&* | *\|* | *\\* )
14207
ac_sed_conf_input=`$as_echo "$configure_input" |
14208
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14209
*) ac_sed_conf_input=$configure_input;;
14213
*:-:* | *:-) cat >"$tmp/stdin" \
14214
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14219
ac_dir=`$as_dirname -- "$ac_file" ||
14220
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14221
X"$ac_file" : 'X\(//\)[^/]' \| \
14222
X"$ac_file" : 'X\(//\)$' \| \
14223
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14224
$as_echo X"$ac_file" |
14225
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14229
/^X\(\/\/\)[^/].*/{
14242
as_dir="$ac_dir"; as_fn_mkdir_p
14246
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14248
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14249
# A ".." for each directory in $ac_dir_suffix.
14250
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14251
case $ac_top_builddir_sub in
14252
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14253
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14256
ac_abs_top_builddir=$ac_pwd
14257
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14258
# for backward compatibility:
14259
ac_top_builddir=$ac_top_build_prefix
14262
.) # We are building in place.
14264
ac_top_srcdir=$ac_top_builddir_sub
14265
ac_abs_top_srcdir=$ac_pwd ;;
14266
[\\/]* | ?:[\\/]* ) # Absolute name.
14267
ac_srcdir=$srcdir$ac_dir_suffix;
14268
ac_top_srcdir=$srcdir
14269
ac_abs_top_srcdir=$srcdir ;;
14270
*) # Relative name.
14271
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14272
ac_top_srcdir=$ac_top_build_prefix$srcdir
14273
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14275
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14285
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14286
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14288
ac_MKDIR_P=$MKDIR_P
14290
[\\/$]* | ?:[\\/]* ) ;;
14291
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14295
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14296
# If the template does not know about datarootdir, expand it.
14297
# FIXME: This hack should be removed a few years after 2.60.
14298
ac_datarootdir_hack=; ac_datarootdir_seen=
14309
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14310
*datarootdir*) ac_datarootdir_seen=yes;;
14311
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14312
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14313
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14315
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14316
ac_datarootdir_hack='
14317
s&@datadir@&$datadir&g
14318
s&@docdir@&$docdir&g
14319
s&@infodir@&$infodir&g
14320
s&@localedir@&$localedir&g
14321
s&@mandir@&$mandir&g
14322
s&\\\${datarootdir}&$datarootdir&g' ;;
14326
# Neutralize VPATH when `$srcdir' = `.'.
14327
# Shell code in configure.ac might set extrasub.
14328
# FIXME: do we really want to maintain this feature?
14329
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14330
ac_sed_extra="$ac_vpsub
14333
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14335
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14336
s|@configure_input@|$ac_sed_conf_input|;t t
14337
s&@top_builddir@&$ac_top_builddir_sub&;t t
14338
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14339
s&@srcdir@&$ac_srcdir&;t t
14340
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14341
s&@top_srcdir@&$ac_top_srcdir&;t t
14342
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14343
s&@builddir@&$ac_builddir&;t t
14344
s&@abs_builddir@&$ac_abs_builddir&;t t
14345
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14346
s&@INSTALL@&$ac_INSTALL&;t t
14347
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14348
$ac_datarootdir_hack
14350
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14351
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14353
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14354
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14355
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14356
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14357
which seems to be undefined. Please make sure it is defined" >&5
14358
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14359
which seems to be undefined. Please make sure it is defined" >&2;}
14363
-) cat "$tmp/out" && rm -f "$tmp/out";;
14364
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14366
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14372
if test x"$ac_file" != x-; then
14374
$as_echo "/* $configure_input */" \
14375
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14376
} >"$tmp/config.h" \
14377
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14378
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14379
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14380
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14383
mv "$tmp/config.h" "$ac_file" \
14384
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14387
$as_echo "/* $configure_input */" \
14388
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14389
|| as_fn_error $? "could not create -" "$LINENO" 5
14391
# Compute "$ac_file"'s index in $config_headers.
14394
for _am_header in $config_headers :; do
14395
case $_am_header in
14396
$_am_arg | $_am_arg:* )
14399
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14402
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14403
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14404
X"$_am_arg" : 'X\(//\)[^/]' \| \
14405
X"$_am_arg" : 'X\(//\)$' \| \
14406
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14407
$as_echo X"$_am_arg" |
14408
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14412
/^X\(\/\/\)[^/].*/{
14424
s/.*/./; q'`/stamp-h$_am_stamp_count
14427
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14428
$as_echo "$as_me: executing $ac_file commands" >&6;}
14433
case $ac_file$ac_mode in
14434
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14435
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14436
# are listed without --file. Let's play safe and only enable the eval
14437
# if we detect the quoting.
14438
case $CONFIG_FILES in
14439
*\'*) eval set x "$CONFIG_FILES" ;;
14440
*) set x $CONFIG_FILES ;;
14445
# Strip MF so we end up with the name of the file.
14446
mf=`echo "$mf" | sed -e 's/:.*$//'`
14447
# Check whether this is an Automake generated Makefile or not.
14448
# We used to match only the files named `Makefile.in', but
14449
# some people rename them; so instead we look at the file content.
14450
# Grep'ing the first line is not enough: some people post-process
14451
# each Makefile.in and add a new line on top of each file to say so.
14452
# Grep'ing the whole file is not good either: AIX grep has a line
14453
# limit of 2048, but all sed's we know have understand at least 4000.
14454
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14455
dirpart=`$as_dirname -- "$mf" ||
14456
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14457
X"$mf" : 'X\(//\)[^/]' \| \
14458
X"$mf" : 'X\(//\)$' \| \
14459
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14461
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14465
/^X\(\/\/\)[^/].*/{
14481
# Extract the definition of DEPDIR, am__include, and am__quote
14482
# from the Makefile without running `make'.
14483
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14484
test -z "$DEPDIR" && continue
14485
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14486
test -z "am__include" && continue
14487
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14488
# When using ansi2knr, U may be empty or an underscore; expand it
14489
U=`sed -n 's/^U = //p' < "$mf"`
14490
# Find all dependency output files, they are included files with
14491
# $(DEPDIR) in their names. We invoke sed twice because it is the
14492
# simplest approach to changing $(DEPDIR) to its actual value in the
14494
for file in `sed -n "
14495
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14496
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14497
# Make sure the directory exists.
14498
test -f "$dirpart/$file" && continue
14499
fdir=`$as_dirname -- "$file" ||
14500
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14501
X"$file" : 'X\(//\)[^/]' \| \
14502
X"$file" : 'X\(//\)$' \| \
14503
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14504
$as_echo X"$file" |
14505
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14509
/^X\(\/\/\)[^/].*/{
14522
as_dir=$dirpart/$fdir; as_fn_mkdir_p
14523
# echo "creating $dirpart/$file"
14524
echo '# dummy' > "$dirpart/$file"
14531
# See if we are running on zsh, and set the options which allow our
14532
# commands through without removal of \ escapes.
14533
if test -n "${ZSH_VERSION+set}" ; then
14534
setopt NO_GLOB_SUBST
14537
cfgfile="${ofile}T"
14538
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14541
cat <<_LT_EOF >> "$cfgfile"
14544
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14545
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14546
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14547
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14549
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14550
# 2006, 2007, 2008 Free Software Foundation, Inc.
14551
# Written by Gordon Matzigkeit, 1996
14553
# This file is part of GNU Libtool.
14555
# GNU Libtool is free software; you can redistribute it and/or
14556
# modify it under the terms of the GNU General Public License as
14557
# published by the Free Software Foundation; either version 2 of
14558
# the License, or (at your option) any later version.
14560
# As a special exception to the GNU General Public License,
14561
# if you distribute this file as part of a program or library that
14562
# is built using GNU Libtool, you may include this file under the
14563
# same distribution terms that you use for the rest of that program.
14565
# GNU Libtool is distributed in the hope that it will be useful,
14566
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14567
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14568
# GNU General Public License for more details.
14570
# You should have received a copy of the GNU General Public License
14571
# along with GNU Libtool; see the file COPYING. If not, a copy
14572
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14573
# obtained by writing to the Free Software Foundation, Inc.,
14574
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14577
# The names of the tagged configurations supported by this script.
14580
# ### BEGIN LIBTOOL CONFIG
14582
# Which release of libtool.m4 was used?
14583
macro_version=$macro_version
14584
macro_revision=$macro_revision
14586
# Whether or not to build shared libraries.
14587
build_libtool_libs=$enable_shared
14589
# Whether or not to build static libraries.
14590
build_old_libs=$enable_static
14592
# What type of objects to build.
14595
# Whether or not to optimize for fast installation.
14596
fast_install=$enable_fast_install
14599
host_alias=$host_alias
14603
# The build system.
14604
build_alias=$build_alias
14608
# A sed program that does not truncate output.
14611
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14612
Xsed="\$SED -e 1s/^X//"
14614
# A grep program that handles long lines.
14620
# A literal string matcher.
14623
# A BSD- or MS-compatible name lister.
14626
# Whether we need soft or hard links.
14629
# What is the maximum length of a command?
14630
max_cmd_len=$max_cmd_len
14632
# Object file suffix (normally "o").
14635
# Executable file suffix (normally "").
14638
# whether the shell understands "unset".
14641
# turn spaces into newlines.
14644
# turn newlines into spaces.
14647
# How to create reloadable object files.
14648
reload_flag=$lt_reload_flag
14649
reload_cmds=$lt_reload_cmds
14651
# An object symbol dumper.
14652
OBJDUMP=$lt_OBJDUMP
14654
# Method to check whether dependent libraries are shared objects.
14655
deplibs_check_method=$lt_deplibs_check_method
14657
# Command to use when deplibs_check_method == "file_magic".
14658
file_magic_cmd=$lt_file_magic_cmd
14662
AR_FLAGS=$lt_AR_FLAGS
14664
# A symbol stripping program.
14667
# Commands used to install an old-style archive.
14669
old_postinstall_cmds=$lt_old_postinstall_cmds
14670
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14675
# LTCC compiler flags.
14676
LTCFLAGS=$lt_CFLAGS
14678
# Take the output of nm and produce a listing of raw symbols and C names.
14679
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14681
# Transform the output of nm in a proper C declaration.
14682
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14684
# Transform the output of nm in a C name address pair.
14685
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14687
# Transform the output of nm in a C name address pair when lib prefix is needed.
14688
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14690
# The name of the directory that contains temporary libtool files.
14693
# Shell to use when invoking shell scripts.
14696
# An echo program that does not interpret backslashes.
14699
# Used to examine libraries when file_magic_cmd begins with "file".
14700
MAGIC_CMD=$MAGIC_CMD
14702
# Must we lock files when doing compilation?
14703
need_locks=$lt_need_locks
14705
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14706
DSYMUTIL=$lt_DSYMUTIL
14708
# Tool to change global to local symbols on Mac OS X.
14711
# Tool to manipulate fat objects and archives on Mac OS X.
14714
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14717
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14718
OTOOL64=$lt_OTOOL64
14720
# Old archive suffix (normally "a").
14723
# Shared library suffix (normally ".so").
14724
shrext_cmds=$lt_shrext_cmds
14726
# The commands to extract the exported symbol list from a shared archive.
14727
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14729
# Variables whose values should be saved in libtool wrapper scripts and
14730
# restored at link time.
14731
variables_saved_for_relink=$lt_variables_saved_for_relink
14733
# Do we need the "lib" prefix for modules?
14734
need_lib_prefix=$need_lib_prefix
14736
# Do we need a version for libraries?
14737
need_version=$need_version
14739
# Library versioning type.
14740
version_type=$version_type
14742
# Shared library runtime path variable.
14743
runpath_var=$runpath_var
14745
# Shared library path variable.
14746
shlibpath_var=$shlibpath_var
14748
# Is shlibpath searched before the hard-coded library search path?
14749
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14751
# Format of library name prefix.
14752
libname_spec=$lt_libname_spec
14754
# List of archive names. First name is the real one, the rest are links.
14755
# The last name is the one that the linker finds with -lNAME
14756
library_names_spec=$lt_library_names_spec
14758
# The coded name of the library, if different from the real name.
14759
soname_spec=$lt_soname_spec
14761
# Command to use after installation of a shared archive.
14762
postinstall_cmds=$lt_postinstall_cmds
14764
# Command to use after uninstallation of a shared archive.
14765
postuninstall_cmds=$lt_postuninstall_cmds
14767
# Commands used to finish a libtool library installation in a directory.
14768
finish_cmds=$lt_finish_cmds
14770
# As "finish_cmds", except a single script fragment to be evaled but
14772
finish_eval=$lt_finish_eval
14774
# Whether we should hardcode library paths into libraries.
14775
hardcode_into_libs=$hardcode_into_libs
14777
# Compile-time system search path for libraries.
14778
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14780
# Run-time system search path for libraries.
14781
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14783
# Whether dlopen is supported.
14784
dlopen_support=$enable_dlopen
14786
# Whether dlopen of programs is supported.
14787
dlopen_self=$enable_dlopen_self
14789
# Whether dlopen of statically linked programs is supported.
14790
dlopen_self_static=$enable_dlopen_self_static
14792
# Commands to strip libraries.
14793
old_striplib=$lt_old_striplib
14794
striplib=$lt_striplib
14797
# The linker used to build libraries.
14800
# Commands used to build an old-style archive.
14801
old_archive_cmds=$lt_old_archive_cmds
14803
# A language specific compiler.
14806
# Is the compiler the GNU compiler?
14809
# Compiler flag to turn off builtin functions.
14810
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14812
# How to pass a linker flag through the compiler.
14813
wl=$lt_lt_prog_compiler_wl
14815
# Additional compiler flags for building library objects.
14816
pic_flag=$lt_lt_prog_compiler_pic
14818
# Compiler flag to prevent dynamic linking.
14819
link_static_flag=$lt_lt_prog_compiler_static
14821
# Does compiler simultaneously support -c and -o options?
14822
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14824
# Whether or not to add -lc for building shared libraries.
14825
build_libtool_need_lc=$archive_cmds_need_lc
14827
# Whether or not to disallow shared libs when runtime libs are static.
14828
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14830
# Compiler flag to allow reflexive dlopens.
14831
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14833
# Compiler flag to generate shared objects directly from archives.
14834
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14836
# Whether the compiler copes with passing no objects directly.
14837
compiler_needs_object=$lt_compiler_needs_object
14839
# Create an old-style archive from a shared archive.
14840
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14842
# Create a temporary old-style archive to link instead of a shared archive.
14843
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14845
# Commands used to build a shared archive.
14846
archive_cmds=$lt_archive_cmds
14847
archive_expsym_cmds=$lt_archive_expsym_cmds
14849
# Commands used to build a loadable module if different from building
14850
# a shared archive.
14851
module_cmds=$lt_module_cmds
14852
module_expsym_cmds=$lt_module_expsym_cmds
14854
# Whether we are building with GNU ld or not.
14855
with_gnu_ld=$lt_with_gnu_ld
14857
# Flag that allows shared libraries with undefined symbols to be built.
14858
allow_undefined_flag=$lt_allow_undefined_flag
14860
# Flag that enforces no undefined symbols.
14861
no_undefined_flag=$lt_no_undefined_flag
14863
# Flag to hardcode \$libdir into a binary during linking.
14864
# This must work even if \$libdir does not exist
14865
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14867
# If ld is used when linking, flag to hardcode \$libdir into a binary
14868
# during linking. This must work even if \$libdir does not exist.
14869
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14871
# Whether we need a single "-rpath" flag with a separated argument.
14872
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14874
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14875
# DIR into the resulting binary.
14876
hardcode_direct=$hardcode_direct
14878
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14879
# DIR into the resulting binary and the resulting library dependency is
14880
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14881
# library is relocated.
14882
hardcode_direct_absolute=$hardcode_direct_absolute
14884
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14885
# into the resulting binary.
14886
hardcode_minus_L=$hardcode_minus_L
14888
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14889
# into the resulting binary.
14890
hardcode_shlibpath_var=$hardcode_shlibpath_var
14892
# Set to "yes" if building a shared library automatically hardcodes DIR
14893
# into the library and all subsequent libraries and executables linked
14895
hardcode_automatic=$hardcode_automatic
14897
# Set to yes if linker adds runtime paths of dependent libraries
14898
# to runtime path list.
14899
inherit_rpath=$inherit_rpath
14901
# Whether libtool must link a program against all its dependency libraries.
14902
link_all_deplibs=$link_all_deplibs
14904
# Fix the shell variable \$srcfile for the compiler.
14905
fix_srcfile_path=$lt_fix_srcfile_path
14907
# Set to "yes" if exported symbols are required.
14908
always_export_symbols=$always_export_symbols
14910
# The commands to list exported symbols.
14911
export_symbols_cmds=$lt_export_symbols_cmds
14913
# Symbols that should not be listed in the preloaded symbols.
14914
exclude_expsyms=$lt_exclude_expsyms
14916
# Symbols that must always be exported.
14917
include_expsyms=$lt_include_expsyms
14919
# Commands necessary for linking programs (against libraries) with templates.
14920
prelink_cmds=$lt_prelink_cmds
14922
# Specify filename containing input files.
14923
file_list_spec=$lt_file_list_spec
14925
# How to hardcode a shared library path into an executable.
14926
hardcode_action=$hardcode_action
14928
# ### END LIBTOOL CONFIG
14934
cat <<\_LT_EOF >> "$cfgfile"
14935
# AIX sometimes has problems with the GCC collect2 program. For some
14936
# reason, if we set the COLLECT_NAMES environment variable, the problems
14937
# vanish in a puff of smoke.
14938
if test "X${COLLECT_NAMES+set}" != Xset; then
14940
export COLLECT_NAMES
14947
ltmain="$ac_aux_dir/ltmain.sh"
14950
# We use sed instead of cat because bash on DJGPP gets confused if
14951
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14952
# text mode, it properly converts lines to CR/LF. This bash problem
14953
# is reportedly fixed, but why not run on old versions too?
14954
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14955
|| (rm -f "$cfgfile"; exit 1)
14959
cat << \_LT_EOF >> "$cfgfile"
14961
# func_dirname file append nondir_replacement
14962
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14963
# otherwise set result to NONDIR_REPLACEMENT.
14967
*/*) func_dirname_result="${1%/*}${2}" ;;
14968
* ) func_dirname_result="${3}" ;;
14972
# func_basename file
14975
func_basename_result="${1##*/}"
14978
# func_dirname_and_basename file append nondir_replacement
14979
# perform func_basename and func_dirname in a single function
14981
# dirname: Compute the dirname of FILE. If nonempty,
14982
# add APPEND to the result, otherwise set result
14983
# to NONDIR_REPLACEMENT.
14984
# value returned in "$func_dirname_result"
14985
# basename: Compute filename of FILE.
14986
# value retuned in "$func_basename_result"
14987
# Implementation must be kept synchronized with func_dirname
14988
# and func_basename. For efficiency, we do not delegate to
14989
# those functions but instead duplicate the functionality here.
14990
func_dirname_and_basename ()
14993
*/*) func_dirname_result="${1%/*}${2}" ;;
14994
* ) func_dirname_result="${3}" ;;
14996
func_basename_result="${1##*/}"
14999
# func_stripname prefix suffix name
15000
# strip PREFIX and SUFFIX off of NAME.
15001
# PREFIX and SUFFIX must not contain globbing or regex special
15002
# characters, hashes, percent signs, but SUFFIX may contain a leading
15003
# dot (in which case that matches only a dot).
15006
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15007
# positional parameters, so assign one to ordinary parameter first.
15008
func_stripname_result=${3}
15009
func_stripname_result=${func_stripname_result#"${1}"}
15010
func_stripname_result=${func_stripname_result%"${2}"}
15016
func_opt_split_opt=${1%%=*}
15017
func_opt_split_arg=${1#*=}
15024
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15025
*) func_lo2o_result=${1} ;;
15029
# func_xform libobj-or-source
15032
func_xform_result=${1%.*}.lo
15035
# func_arith arithmetic-term...
15038
func_arith_result=$(( $* ))
15042
# STRING may not start with a hyphen.
15045
func_len_result=${#1}
15050
*) # Bourne compatible functions.
15051
cat << \_LT_EOF >> "$cfgfile"
15053
# func_dirname file append nondir_replacement
15054
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15055
# otherwise set result to NONDIR_REPLACEMENT.
15058
# Extract subdirectory from the argument.
15059
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15060
if test "X$func_dirname_result" = "X${1}"; then
15061
func_dirname_result="${3}"
15063
func_dirname_result="$func_dirname_result${2}"
15067
# func_basename file
15070
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15074
# func_stripname prefix suffix name
15075
# strip PREFIX and SUFFIX off of NAME.
15076
# PREFIX and SUFFIX must not contain globbing or regex special
15077
# characters, hashes, percent signs, but SUFFIX may contain a leading
15078
# dot (in which case that matches only a dot).
15079
# func_strip_suffix prefix name
15083
.*) func_stripname_result=`$ECHO "X${3}" \
15084
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15085
*) func_stripname_result=`$ECHO "X${3}" \
15086
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15091
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15092
my_sed_long_arg='1s/^-[^=]*=//'
15097
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15098
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15104
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15107
# func_xform libobj-or-source
15110
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15113
# func_arith arithmetic-term...
15116
func_arith_result=`expr "$@"`
15120
# STRING may not start with a hyphen.
15123
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15129
case $lt_shell_append in
15131
cat << \_LT_EOF >> "$cfgfile"
15133
# func_append var value
15134
# Append VALUE to the end of shell variable VAR.
15142
cat << \_LT_EOF >> "$cfgfile"
15144
# func_append var value
15145
# Append VALUE to the end of shell variable VAR.
15156
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15157
|| (rm -f "$cfgfile"; exit 1)
15159
mv -f "$cfgfile" "$ofile" ||
15160
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15164
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15165
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15168
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15169
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15171
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15176
'"s|^| $ac_top_srcdir/|" \
15177
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15179
sed '/^POTFILES =/,/[^\\]$/ {
15183
' "po/Makefile.in" >"po/Makefile"
15184
rm -f "po/Makefile.tmp"
15185
mv "po/stamp-it.tmp" "po/stamp-it"
15194
ac_clean_files=$ac_clean_files_save
15196
test $ac_write_fail = 0 ||
15197
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15200
# configure is writing to config.log, and then calls config.status.
15201
# config.status does its own redirection, appending to config.log.
15202
# Unfortunately, on DOS this fails, as config.log is still kept open
15203
# by configure, so config.status won't be able to write to it; its
15204
# output is simply discarded. So we exec the FD to /dev/null,
15205
# effectively closing config.log, so it can be properly (re)opened and
15206
# appended to by config.status. When coming back to configure, we
15207
# need to make the FD available again.
15208
if test "$no_create" != yes; then
15210
ac_config_status_args=
15211
test "$silent" = yes &&
15212
ac_config_status_args="$ac_config_status_args --quiet"
15214
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15216
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15217
# would make configure fail if this is the last instruction.
15218
$ac_cs_success || as_fn_exit 1
15220
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15221
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15222
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15229
echo Gpredict version... : $VERSION
15230
echo Glib version....... : $GLIB_V
15231
echo Gio version........ : $GIO_V
15232
echo Gthread version.... : $GTHR_V
15233
echo Gdk version........ : $GDK_V
15234
echo Gtk+ version....... : $GTK_V
15235
echo GooCanvas version.. : $GOOC_V
15236
echo Liburl version..... : $CURL_V