2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 for GStreamer Entrans 0.10.2.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
# Support unset when possible.
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90
# We need space, tab and new line, in precisely that order. Quoting is
91
# there to prevent editors from complaining about space-tab.
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
# splitting by setting IFS to empty value.)
96
# Find who we are. Look in the path if we contain no directory separator.
98
*[\\/]* ) as_myself=$0 ;;
99
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103
test -z "$as_dir" && as_dir=.
104
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
# in which case we are not to be found in the path.
112
if test "x$as_myself" = x; then
115
if test ! -f "$as_myself"; then
116
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
{ (exit 1); exit 1; }
120
# Work around bugs in pre-3.0 UWIN ksh.
121
for as_var in ENV MAIL MAILPATH
122
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
173
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
test -z "$as_dir" && as_dir=.
247
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
469
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473
chmod +x "$as_me.lineno" ||
474
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
{ (exit 1); exit 1; }; }
477
# Don't try to exec as it changes $[0], causing all sort of problems
478
# (the dirname of $[0] is not the place where we might find the
479
# original and so on. Autoconf is especially sensitive to this).
481
# Exit status is that of the last command.
486
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492
ECHO_C= ECHO_N= ECHO_T=
496
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
test "X`expr 00001 : '.*\(...\)'`" = X001; then
509
rm -f conf$$ conf$$.exe conf$$.file
510
if test -d conf$$.dir; then
511
rm -f conf$$.dir/conf$$.file
514
mkdir conf$$.dir 2>/dev/null
516
if (echo >conf$$.file) 2>/dev/null; then
517
if ln -s conf$$.file conf$$ 2>/dev/null; then
519
# ... but there are two gotchas:
520
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522
# In both cases, we have to default to `cp -p'.
523
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525
elif ln conf$$.file conf$$ 2>/dev/null; then
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534
rmdir conf$$.dir 2>/dev/null
536
if mkdir -p . 2>/dev/null; then
539
test -d ./-p && rmdir ./-p
543
if test -x / >/dev/null 2>&1; then
546
if ls -dL / >/dev/null 2>&1; then
553
if test -d "$1"; then
559
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560
???[sx]*):;;*)false;;esac;fi
564
as_executable_p=$as_test_x
566
# Sed expression to map a string onto a valid CPP name.
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569
# Sed expression to map a string onto a valid variable name.
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575
# Check that we are running under the correct shell.
576
SHELL=${CONFIG_SHELL-/bin/sh}
580
# Remove one level of quotation (which was required for Make).
581
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586
if test "X$1" = X--no-reexec; then
587
# Discard the --no-reexec flag, and continue.
589
elif test "X$1" = X--fallback-echo; then
590
# Avoid inline document here, it may be left over
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593
# Yippee, $ECHO works!
596
# Restart under the correct shell.
597
exec $SHELL "$0" --no-reexec ${1+"$@"}
600
if test "X$1" = X--fallback-echo; then
601
# used as fallback echo
609
# The HP-UX ksh and POSIX shell print the target directory to stdout
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613
if test -z "$lt_ECHO"; then
614
if test "X${echo_test_string+set}" != Xset; then
615
# find a string as large as possible, as long as the shell can cope with it
616
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
# The Solaris, AIX, and Digital Unix default echo programs unquote
632
# backslashes. This makes it impossible to quote backslashes using
633
# echo "$something" | sed 's/\\/\\\\/g'
635
# So, first we look for a working echo in the user's PATH.
637
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638
for dir in $PATH /usr/ucb; do
640
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
650
if test "X$ECHO" = Xecho; then
651
# We didn't find a better echo, so look for alternatives.
652
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654
test "X$echo_testing_string" = "X$echo_test_string"; then
655
# This shell has a builtin print -r that does the trick.
657
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658
test "X$CONFIG_SHELL" != X/bin/ksh; then
659
# If we have ksh, try running configure again with it.
660
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661
export ORIGINAL_CONFIG_SHELL
662
CONFIG_SHELL=/bin/ksh
664
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670
test "X$echo_testing_string" = "X$echo_test_string"; then
673
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674
test "X$echo_testing_string" = 'X\t' &&
675
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676
test "X$echo_testing_string" = "X$echo_test_string"; then
677
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679
SHELL="$CONFIG_SHELL"
681
ECHO="$CONFIG_SHELL $0 --fallback-echo"
682
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683
test "X$echo_testing_string" = 'X\t' &&
684
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685
test "X$echo_testing_string" = "X$echo_test_string"; then
686
ECHO="$CONFIG_SHELL $0 --fallback-echo"
688
# maybe with a smaller string...
691
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699
if test "$prev" != 'sed 50q "$0"'; then
700
echo_test_string=`eval $prev`
701
export echo_test_string
702
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704
# Oops. We lost completely, so just stick with echo.
713
# Copy echo and quote the copy suitably for passing to libtool from
714
# the Makefile, instead of quoting the original, which is used later.
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723
exec 7<&0 </dev/null 6>&1
726
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727
# so uname gets run too.
728
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733
ac_default_prefix=/usr/local
735
ac_config_libobj_dir=.
741
SHELL=${CONFIG_SHELL-/bin/sh}
743
# Identity of this package.
744
PACKAGE_NAME='GStreamer Entrans'
745
PACKAGE_TARNAME='gst-entrans'
746
PACKAGE_VERSION='0.10.2'
747
PACKAGE_STRING='GStreamer Entrans 0.10.2'
750
ac_unique_file="tools/entrans.py"
751
# Factoring default headers for most tests.
752
ac_includes_default="\
754
#ifdef HAVE_SYS_TYPES_H
755
# include <sys/types.h>
757
#ifdef HAVE_SYS_STAT_H
758
# include <sys/stat.h>
764
# ifdef HAVE_STDLIB_H
769
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774
#ifdef HAVE_STRINGS_H
775
# include <strings.h>
777
#ifdef HAVE_INTTYPES_H
778
# include <inttypes.h>
787
ac_subst_vars='LTLIBOBJS
803
GST_CONTROLLER_CFLAGS
815
ENABLE_PLUGIN_DOCS_FALSE
816
ENABLE_PLUGIN_DOCS_TRUE
826
GTK_DOC_USE_LIBTOOL_FALSE
827
GTK_DOC_USE_LIBTOOL_TRUE
833
ENABLE_DOCBOOK2X_FALSE
834
ENABLE_DOCBOOK2X_TRUE
882
am__fastdepCCAS_FALSE
886
GST_GCOV_ENABLED_FALSE
887
GST_GCOV_ENABLED_TRUE
934
MAINTAINER_MODE_FALSE
936
PACKAGE_VERSION_RELEASE
938
PACKAGE_VERSION_MICRO
939
PACKAGE_VERSION_MINOR
940
PACKAGE_VERSION_MAJOR
949
INSTALL_STRIP_PROGRAM
991
program_transform_name
1003
enable_option_checking
1004
enable_maintainer_mode
1005
enable_dependency_tracking
1008
with_libiconv_prefix
1026
ac_precious_vars='build_alias
1044
GST_CONTROLLER_CFLAGS
1052
# Initialize some variables set by options.
1054
ac_init_version=false
1055
ac_unrecognized_opts=
1056
ac_unrecognized_sep=
1057
# The variables have the same names as the options, with
1058
# dashes changed to underlines.
1059
cache_file=/dev/null
1066
program_transform_name=s,x,x,
1074
# Installation directory options.
1075
# These are left unexpanded so users can "make install exec_prefix=/foo"
1076
# and all the variables that are supposed to be based on exec_prefix
1077
# by default will actually change.
1078
# Use braces instead of parens because sh, perl, etc. also accept them.
1079
# (The list follows the same order as the GNU Coding Standards.)
1080
bindir='${exec_prefix}/bin'
1081
sbindir='${exec_prefix}/sbin'
1082
libexecdir='${exec_prefix}/libexec'
1083
datarootdir='${prefix}/share'
1084
datadir='${datarootdir}'
1085
sysconfdir='${prefix}/etc'
1086
sharedstatedir='${prefix}/com'
1087
localstatedir='${prefix}/var'
1088
includedir='${prefix}/include'
1089
oldincludedir='/usr/include'
1090
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1091
infodir='${datarootdir}/info'
1096
libdir='${exec_prefix}/lib'
1097
localedir='${datarootdir}/locale'
1098
mandir='${datarootdir}/man'
1104
# If the previous option needs an argument, assign it.
1105
if test -n "$ac_prev"; then
1106
eval $ac_prev=\$ac_option
1112
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116
# Accept the important Cygnus configure options, so we can diagnose typos.
1118
case $ac_dashdash$ac_option in
1122
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1124
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125
bindir=$ac_optarg ;;
1127
-build | --build | --buil | --bui | --bu)
1128
ac_prev=build_alias ;;
1129
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130
build_alias=$ac_optarg ;;
1132
-cache-file | --cache-file | --cache-fil | --cache-fi \
1133
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134
ac_prev=cache_file ;;
1135
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137
cache_file=$ac_optarg ;;
1139
--config-cache | -C)
1140
cache_file=config.cache ;;
1142
-datadir | --datadir | --datadi | --datad)
1144
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1145
datadir=$ac_optarg ;;
1147
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148
| --dataroo | --dataro | --datar)
1149
ac_prev=datarootdir ;;
1150
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152
datarootdir=$ac_optarg ;;
1154
-disable-* | --disable-*)
1155
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156
# Reject names that are not valid shell variable names.
1157
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1159
{ (exit 1); exit 1; }; }
1160
ac_useropt_orig=$ac_useropt
1161
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162
case $ac_user_opts in
1164
"enable_$ac_useropt"
1166
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1167
ac_unrecognized_sep=', ';;
1169
eval enable_$ac_useropt=no ;;
1171
-docdir | --docdir | --docdi | --doc | --do)
1173
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1174
docdir=$ac_optarg ;;
1176
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1178
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1179
dvidir=$ac_optarg ;;
1181
-enable-* | --enable-*)
1182
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1183
# Reject names that are not valid shell variable names.
1184
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1186
{ (exit 1); exit 1; }; }
1187
ac_useropt_orig=$ac_useropt
1188
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189
case $ac_user_opts in
1191
"enable_$ac_useropt"
1193
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1194
ac_unrecognized_sep=', ';;
1196
eval enable_$ac_useropt=\$ac_optarg ;;
1198
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1199
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1200
| --exec | --exe | --ex)
1201
ac_prev=exec_prefix ;;
1202
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1203
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1204
| --exec=* | --exe=* | --ex=*)
1205
exec_prefix=$ac_optarg ;;
1207
-gas | --gas | --ga | --g)
1208
# Obsolete; use --with-gas.
1211
-help | --help | --hel | --he | -h)
1212
ac_init_help=long ;;
1213
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1214
ac_init_help=recursive ;;
1215
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1216
ac_init_help=short ;;
1218
-host | --host | --hos | --ho)
1219
ac_prev=host_alias ;;
1220
-host=* | --host=* | --hos=* | --ho=*)
1221
host_alias=$ac_optarg ;;
1223
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1225
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1227
htmldir=$ac_optarg ;;
1229
-includedir | --includedir | --includedi | --included | --include \
1230
| --includ | --inclu | --incl | --inc)
1231
ac_prev=includedir ;;
1232
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1233
| --includ=* | --inclu=* | --incl=* | --inc=*)
1234
includedir=$ac_optarg ;;
1236
-infodir | --infodir | --infodi | --infod | --info | --inf)
1238
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1239
infodir=$ac_optarg ;;
1241
-libdir | --libdir | --libdi | --libd)
1243
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1244
libdir=$ac_optarg ;;
1246
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1247
| --libexe | --libex | --libe)
1248
ac_prev=libexecdir ;;
1249
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1250
| --libexe=* | --libex=* | --libe=*)
1251
libexecdir=$ac_optarg ;;
1253
-localedir | --localedir | --localedi | --localed | --locale)
1254
ac_prev=localedir ;;
1255
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1256
localedir=$ac_optarg ;;
1258
-localstatedir | --localstatedir | --localstatedi | --localstated \
1259
| --localstate | --localstat | --localsta | --localst | --locals)
1260
ac_prev=localstatedir ;;
1261
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1262
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1263
localstatedir=$ac_optarg ;;
1265
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1267
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1268
mandir=$ac_optarg ;;
1270
-nfp | --nfp | --nf)
1271
# Obsolete; use --without-fp.
1274
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1275
| --no-cr | --no-c | -n)
1278
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1279
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1282
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1283
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1284
| --oldin | --oldi | --old | --ol | --o)
1285
ac_prev=oldincludedir ;;
1286
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1287
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1288
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1289
oldincludedir=$ac_optarg ;;
1291
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1293
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1294
prefix=$ac_optarg ;;
1296
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1297
| --program-pre | --program-pr | --program-p)
1298
ac_prev=program_prefix ;;
1299
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1300
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1301
program_prefix=$ac_optarg ;;
1303
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1304
| --program-suf | --program-su | --program-s)
1305
ac_prev=program_suffix ;;
1306
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1307
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1308
program_suffix=$ac_optarg ;;
1310
-program-transform-name | --program-transform-name \
1311
| --program-transform-nam | --program-transform-na \
1312
| --program-transform-n | --program-transform- \
1313
| --program-transform | --program-transfor \
1314
| --program-transfo | --program-transf \
1315
| --program-trans | --program-tran \
1316
| --progr-tra | --program-tr | --program-t)
1317
ac_prev=program_transform_name ;;
1318
-program-transform-name=* | --program-transform-name=* \
1319
| --program-transform-nam=* | --program-transform-na=* \
1320
| --program-transform-n=* | --program-transform-=* \
1321
| --program-transform=* | --program-transfor=* \
1322
| --program-transfo=* | --program-transf=* \
1323
| --program-trans=* | --program-tran=* \
1324
| --progr-tra=* | --program-tr=* | --program-t=*)
1325
program_transform_name=$ac_optarg ;;
1327
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1329
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1330
pdfdir=$ac_optarg ;;
1332
-psdir | --psdir | --psdi | --psd | --ps)
1334
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1337
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1338
| -silent | --silent | --silen | --sile | --sil)
1341
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1343
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1345
sbindir=$ac_optarg ;;
1347
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1348
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1349
| --sharedst | --shareds | --shared | --share | --shar \
1351
ac_prev=sharedstatedir ;;
1352
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1353
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1354
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1356
sharedstatedir=$ac_optarg ;;
1358
-site | --site | --sit)
1360
-site=* | --site=* | --sit=*)
1363
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1365
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1366
srcdir=$ac_optarg ;;
1368
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1369
| --syscon | --sysco | --sysc | --sys | --sy)
1370
ac_prev=sysconfdir ;;
1371
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1372
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1373
sysconfdir=$ac_optarg ;;
1375
-target | --target | --targe | --targ | --tar | --ta | --t)
1376
ac_prev=target_alias ;;
1377
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1378
target_alias=$ac_optarg ;;
1380
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1383
-version | --version | --versio | --versi | --vers | -V)
1384
ac_init_version=: ;;
1387
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1388
# Reject names that are not valid shell variable names.
1389
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1390
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1391
{ (exit 1); exit 1; }; }
1392
ac_useropt_orig=$ac_useropt
1393
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1394
case $ac_user_opts in
1398
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1399
ac_unrecognized_sep=', ';;
1401
eval with_$ac_useropt=\$ac_optarg ;;
1403
-without-* | --without-*)
1404
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1405
# Reject names that are not valid shell variable names.
1406
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1407
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1408
{ (exit 1); exit 1; }; }
1409
ac_useropt_orig=$ac_useropt
1410
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1411
case $ac_user_opts in
1415
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1416
ac_unrecognized_sep=', ';;
1418
eval with_$ac_useropt=no ;;
1421
# Obsolete; use --with-x.
1424
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1425
| --x-incl | --x-inc | --x-in | --x-i)
1426
ac_prev=x_includes ;;
1427
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1428
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1429
x_includes=$ac_optarg ;;
1431
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1432
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1433
ac_prev=x_libraries ;;
1434
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1435
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1436
x_libraries=$ac_optarg ;;
1438
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1439
Try \`$0 --help' for more information." >&2
1440
{ (exit 1); exit 1; }; }
1444
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1445
# Reject names that are not valid shell variable names.
1446
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1447
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1448
{ (exit 1); exit 1; }; }
1449
eval $ac_envvar=\$ac_optarg
1450
export $ac_envvar ;;
1453
# FIXME: should be removed in autoconf 3.0.
1454
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1455
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1456
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1457
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1463
if test -n "$ac_prev"; then
1464
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1465
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1466
{ (exit 1); exit 1; }; }
1469
if test -n "$ac_unrecognized_opts"; then
1470
case $enable_option_checking in
1472
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1473
{ (exit 1); exit 1; }; } ;;
1474
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1478
# Check all directory arguments for consistency.
1479
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1480
datadir sysconfdir sharedstatedir localstatedir includedir \
1481
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1482
libdir localedir mandir
1484
eval ac_val=\$$ac_var
1485
# Remove trailing slashes.
1488
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1489
eval $ac_var=\$ac_val;;
1491
# Be sure to have absolute directory names.
1493
[\\/$]* | ?:[\\/]* ) continue;;
1494
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1496
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1497
{ (exit 1); exit 1; }; }
1500
# There might be people who depend on the old broken behavior: `$host'
1501
# used to hold the argument of --host etc.
1502
# FIXME: To remove some day.
1505
target=$target_alias
1507
# FIXME: To remove some day.
1508
if test "x$host_alias" != x; then
1509
if test "x$build_alias" = x; then
1510
cross_compiling=maybe
1511
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1512
If a cross compiler is detected then cross compile mode will be used." >&2
1513
elif test "x$build_alias" != "x$host_alias"; then
1519
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1521
test "$silent" = yes && exec 6>/dev/null
1524
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1525
ac_ls_di=`ls -di .` &&
1526
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1527
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1528
{ (exit 1); exit 1; }; }
1529
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1530
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1531
{ (exit 1); exit 1; }; }
1534
# Find the source files, if location was not specified.
1535
if test -z "$srcdir"; then
1536
ac_srcdir_defaulted=yes
1537
# Try the directory containing this script, then the parent directory.
1538
ac_confdir=`$as_dirname -- "$as_myself" ||
1539
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1540
X"$as_myself" : 'X\(//\)[^/]' \| \
1541
X"$as_myself" : 'X\(//\)$' \| \
1542
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1543
$as_echo X"$as_myself" |
1544
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1562
if test ! -r "$srcdir/$ac_unique_file"; then
1566
ac_srcdir_defaulted=no
1568
if test ! -r "$srcdir/$ac_unique_file"; then
1569
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1570
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1571
{ (exit 1); exit 1; }; }
1573
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1575
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1576
{ (exit 1); exit 1; }; }
1578
# When building in place, set srcdir=.
1579
if test "$ac_abs_confdir" = "$ac_pwd"; then
1582
# Remove unnecessary trailing slashes from srcdir.
1583
# Double slashes in file names in object file debugging info
1584
# mess up M-x gdb in Emacs.
1586
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1588
for ac_var in $ac_precious_vars; do
1589
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1590
eval ac_env_${ac_var}_value=\$${ac_var}
1591
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1592
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1596
# Report the --help message.
1598
if test "$ac_init_help" = "long"; then
1599
# Omit some internal or obsolete options to make the list less imposing.
1600
# This message is too long to be a string in the A/UX 3.1 sh.
1602
\`configure' configures GStreamer Entrans 0.10.2 to adapt to many kinds of systems.
1604
Usage: $0 [OPTION]... [VAR=VALUE]...
1606
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1607
VAR=VALUE. See below for descriptions of some of the useful variables.
1609
Defaults for the options are specified in brackets.
1612
-h, --help display this help and exit
1613
--help=short display options specific to this package
1614
--help=recursive display the short help of all the included packages
1615
-V, --version display version information and exit
1616
-q, --quiet, --silent do not print \`checking...' messages
1617
--cache-file=FILE cache test results in FILE [disabled]
1618
-C, --config-cache alias for \`--cache-file=config.cache'
1619
-n, --no-create do not create output files
1620
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1622
Installation directories:
1623
--prefix=PREFIX install architecture-independent files in PREFIX
1624
[$ac_default_prefix]
1625
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1628
By default, \`make install' will install all the files in
1629
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1630
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1631
for instance \`--prefix=\$HOME'.
1633
For better control, use the options below.
1635
Fine tuning of the installation directories:
1636
--bindir=DIR user executables [EPREFIX/bin]
1637
--sbindir=DIR system admin executables [EPREFIX/sbin]
1638
--libexecdir=DIR program executables [EPREFIX/libexec]
1639
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1640
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1641
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1642
--libdir=DIR object code libraries [EPREFIX/lib]
1643
--includedir=DIR C header files [PREFIX/include]
1644
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1645
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1646
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1647
--infodir=DIR info documentation [DATAROOTDIR/info]
1648
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1649
--mandir=DIR man documentation [DATAROOTDIR/man]
1650
--docdir=DIR documentation root [DATAROOTDIR/doc/gst-entrans]
1651
--htmldir=DIR html documentation [DOCDIR]
1652
--dvidir=DIR dvi documentation [DOCDIR]
1653
--pdfdir=DIR pdf documentation [DOCDIR]
1654
--psdir=DIR ps documentation [DOCDIR]
1660
--program-prefix=PREFIX prepend PREFIX to installed program names
1661
--program-suffix=SUFFIX append SUFFIX to installed program names
1662
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1665
--build=BUILD configure for building on BUILD [guessed]
1666
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1670
if test -n "$ac_init_help"; then
1671
case $ac_init_help in
1672
short | recursive ) echo "Configuration of GStreamer Entrans 0.10.2:";;
1677
--disable-option-checking ignore unrecognized --enable/--with options
1678
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1679
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1680
--enable-maintainer-mode enable make rules and dependencies not useful
1681
(and sometimes confusing) to the casual installer
1682
--disable-dependency-tracking speeds up one-time build
1683
--enable-dependency-tracking do not reject slow dependency extractors
1684
--disable-rpath do not hardcode runtime library paths
1685
--disable-nls do not use Native Language Support
1686
--disable-debug disable addition of -g debugging info
1687
--enable-profiling adds -pg to compiler commandline, for profiling
1688
--enable-gcov compile with coverage profiling instrumentation (gcc
1690
--enable-shared[=PKGS] build shared libraries [default=yes]
1691
--enable-static[=PKGS] build static libraries [default=yes]
1692
--enable-fast-install[=PKGS]
1693
optimize for fast installation [default=yes]
1694
--disable-libtool-lock avoid locking (might break parallel builds)
1695
--enable-docbook use docbook to build documentation default=no
1696
--enable-docbook2x build manpages using docbook2x default=no
1697
--enable-gtk-doc use gtk-doc to build documentation default=no
1700
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1701
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1702
--with-gnu-ld assume the C compiler uses GNU ld default=no
1703
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1704
--without-libiconv-prefix don't search for libiconv in includedir and libdir
1705
--with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
1706
--without-libintl-prefix don't search for libintl in includedir and libdir
1707
--with-pic try to use only PIC/non-PIC objects [default=use
1709
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1710
--with-html-dir=PATH path to installed docs
1711
--with-check=PATH prefix where check is installed default=auto
1712
--with-check-lib-name=INTL
1713
name of the PIC check library (default=check)
1715
Some influential environment variables:
1716
CC C compiler command
1717
CFLAGS C compiler flags
1718
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1719
nonstandard directory <lib dir>
1720
LIBS libraries to pass to the linker, e.g. -l<library>
1721
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1722
you have headers in a nonstandard directory <include dir>
1723
CCAS assembler compiler command (defaults to CC)
1724
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1726
PKG_CONFIG path to pkg-config utility
1728
C compiler flags for LIBOIL, overriding pkg-config
1729
LIBOIL_LIBS linker flags for LIBOIL, overriding pkg-config
1730
GST_CFLAGS C compiler flags for GST, overriding pkg-config
1731
GST_LIBS linker flags for GST, overriding pkg-config
1733
C compiler flags for GST_BASE, overriding pkg-config
1735
linker flags for GST_BASE, overriding pkg-config
1736
GST_CONTROLLER_CFLAGS
1737
C compiler flags for GST_CONTROLLER, overriding pkg-config
1739
linker flags for GST_CONTROLLER, overriding pkg-config
1741
C compiler flags for GST_CHECK, overriding pkg-config
1743
linker flags for GST_CHECK, overriding pkg-config
1745
C compiler flags for GSTPB_BASE, overriding pkg-config
1747
linker flags for GSTPB_BASE, overriding pkg-config
1749
Use these variables to override the choices made by `configure' or to help
1750
it to find libraries and programs with nonstandard names/locations.
1756
if test "$ac_init_help" = "recursive"; then
1757
# If there are subdirs, report their specific --help.
1758
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1759
test -d "$ac_dir" ||
1760
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1765
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1767
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1768
# A ".." for each directory in $ac_dir_suffix.
1769
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1770
case $ac_top_builddir_sub in
1771
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1772
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1775
ac_abs_top_builddir=$ac_pwd
1776
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1777
# for backward compatibility:
1778
ac_top_builddir=$ac_top_build_prefix
1781
.) # We are building in place.
1783
ac_top_srcdir=$ac_top_builddir_sub
1784
ac_abs_top_srcdir=$ac_pwd ;;
1785
[\\/]* | ?:[\\/]* ) # Absolute name.
1786
ac_srcdir=$srcdir$ac_dir_suffix;
1787
ac_top_srcdir=$srcdir
1788
ac_abs_top_srcdir=$srcdir ;;
1790
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1791
ac_top_srcdir=$ac_top_build_prefix$srcdir
1792
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1794
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1796
cd "$ac_dir" || { ac_status=$?; continue; }
1797
# Check for guested configure.
1798
if test -f "$ac_srcdir/configure.gnu"; then
1800
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1801
elif test -f "$ac_srcdir/configure"; then
1803
$SHELL "$ac_srcdir/configure" --help=recursive
1805
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1807
cd "$ac_pwd" || { ac_status=$?; break; }
1811
test -n "$ac_init_help" && exit $ac_status
1812
if $ac_init_version; then
1814
GStreamer Entrans configure 0.10.2
1815
generated by GNU Autoconf 2.63
1817
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1818
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1819
This configure script is free software; the Free Software Foundation
1820
gives unlimited permission to copy, distribute and modify it.
1824
cat >config.log <<_ACEOF
1825
This file contains any messages produced by compilers while
1826
running configure, to aid debugging if configure makes a mistake.
1828
It was created by GStreamer Entrans $as_me 0.10.2, which was
1829
generated by GNU Autoconf 2.63. Invocation command line was
1841
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1842
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1843
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1844
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1845
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1847
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1848
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1850
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1851
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1852
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1853
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1854
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1855
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1856
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864
test -z "$as_dir" && as_dir=.
1865
$as_echo "PATH: $as_dir"
1881
# Keep a trace of the command line.
1882
# Strip out --no-create and --no-recursion so they do not pile up.
1883
# Strip out --silent because we don't want to record it for future runs.
1884
# Also quote any args containing shell meta-characters.
1885
# Make two passes to allow for proper duplicate-argument suppression.
1889
ac_must_keep_next=false
1895
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1896
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1897
| -silent | --silent | --silen | --sile | --sil)
1900
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1903
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1905
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1906
if test $ac_must_keep_next = true; then
1907
ac_must_keep_next=false # Got value, back to normal.
1910
*=* | --config-cache | -C | -disable-* | --disable-* \
1911
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1912
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1913
| -with-* | --with-* | -without-* | --without-* | --x)
1914
case "$ac_configure_args0 " in
1915
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1918
-* ) ac_must_keep_next=true ;;
1921
ac_configure_args="$ac_configure_args '$ac_arg'"
1926
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1927
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1929
# When interrupted or exit'd, cleanup temporary files, and complete
1930
# config.log. We remove comments because anyway the quotes in there
1931
# would cause problems or look ugly.
1932
# WARNING: Use '\'' to represent an apostrophe within the trap.
1933
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1934
trap 'exit_status=$?
1935
# Save into config.log some information that might help in debugging.
1940
## ---------------- ##
1941
## Cache variables. ##
1942
## ---------------- ##
1945
# The following way of writing the cache mishandles newlines in values,
1947
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1948
eval ac_val=\$$ac_var
1952
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1953
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1956
_ | IFS | as_nl) ;; #(
1957
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1958
*) $as_unset $ac_var ;;
1963
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1964
*${as_nl}ac_space=\ *)
1966
"s/'\''/'\''\\\\'\'''\''/g;
1967
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1970
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1978
## ----------------- ##
1979
## Output variables. ##
1980
## ----------------- ##
1983
for ac_var in $ac_subst_vars
1985
eval ac_val=\$$ac_var
1987
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1989
$as_echo "$ac_var='\''$ac_val'\''"
1993
if test -n "$ac_subst_files"; then
1995
## ------------------- ##
1996
## File substitutions. ##
1997
## ------------------- ##
2000
for ac_var in $ac_subst_files
2002
eval ac_val=\$$ac_var
2004
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2006
$as_echo "$ac_var='\''$ac_val'\''"
2011
if test -s confdefs.h; then
2021
test "$ac_signal" != 0 &&
2022
$as_echo "$as_me: caught signal $ac_signal"
2023
$as_echo "$as_me: exit $exit_status"
2025
rm -f core *.core core.conftest.* &&
2026
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2029
for ac_signal in 1 2 13 15; do
2030
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2034
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2035
rm -f -r conftest* confdefs.h
2037
# Predefined preprocessor variables.
2039
cat >>confdefs.h <<_ACEOF
2040
#define PACKAGE_NAME "$PACKAGE_NAME"
2044
cat >>confdefs.h <<_ACEOF
2045
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2049
cat >>confdefs.h <<_ACEOF
2050
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2054
cat >>confdefs.h <<_ACEOF
2055
#define PACKAGE_STRING "$PACKAGE_STRING"
2059
cat >>confdefs.h <<_ACEOF
2060
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2064
# Let the site file select an alternate cache file if it wants to.
2065
# Prefer an explicitly selected file to automatically selected ones.
2068
if test -n "$CONFIG_SITE"; then
2069
ac_site_file1=$CONFIG_SITE
2070
elif test "x$prefix" != xNONE; then
2071
ac_site_file1=$prefix/share/config.site
2072
ac_site_file2=$prefix/etc/config.site
2074
ac_site_file1=$ac_default_prefix/share/config.site
2075
ac_site_file2=$ac_default_prefix/etc/config.site
2077
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2079
test "x$ac_site_file" = xNONE && continue
2080
if test -r "$ac_site_file"; then
2081
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2082
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2083
sed 's/^/| /' "$ac_site_file" >&5
2088
if test -r "$cache_file"; then
2089
# Some versions of bash will fail to source /dev/null (special
2090
# files actually), so we avoid doing that.
2091
if test -f "$cache_file"; then
2092
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2093
$as_echo "$as_me: loading cache $cache_file" >&6;}
2095
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2096
*) . "./$cache_file";;
2100
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2101
$as_echo "$as_me: creating cache $cache_file" >&6;}
2105
# Check that the precious variables saved in the cache have kept the same
2107
ac_cache_corrupted=false
2108
for ac_var in $ac_precious_vars; do
2109
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2110
eval ac_new_set=\$ac_env_${ac_var}_set
2111
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2112
eval ac_new_val=\$ac_env_${ac_var}_value
2113
case $ac_old_set,$ac_new_set in
2115
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2116
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2117
ac_cache_corrupted=: ;;
2119
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2120
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2121
ac_cache_corrupted=: ;;
2124
if test "x$ac_old_val" != "x$ac_new_val"; then
2125
# differences in whitespace do not lead to failure.
2126
ac_old_val_w=`echo x $ac_old_val`
2127
ac_new_val_w=`echo x $ac_new_val`
2128
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2129
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2130
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2131
ac_cache_corrupted=:
2133
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2134
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2135
eval $ac_var=\$ac_old_val
2137
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2138
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2139
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2140
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2143
# Pass precious variables to config.status.
2144
if test "$ac_new_set" = set; then
2146
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2147
*) ac_arg=$ac_var=$ac_new_val ;;
2149
case " $ac_configure_args " in
2150
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2151
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2155
if $ac_cache_corrupted; then
2156
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2157
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2158
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2159
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2160
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2161
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2162
{ (exit 1); exit 1; }; }
2190
ac_cpp='$CPP $CPPFLAGS'
2191
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2197
am__api_version='1.10'
2200
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2201
if test -f "$ac_dir/install-sh"; then
2203
ac_install_sh="$ac_aux_dir/install-sh -c"
2205
elif test -f "$ac_dir/install.sh"; then
2207
ac_install_sh="$ac_aux_dir/install.sh -c"
2209
elif test -f "$ac_dir/shtool"; then
2211
ac_install_sh="$ac_aux_dir/shtool install -c"
2215
if test -z "$ac_aux_dir"; then
2216
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2217
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2218
{ (exit 1); exit 1; }; }
2221
# These three variables are undocumented and unsupported,
2222
# and are intended to be withdrawn in a future Autoconf release.
2223
# They can cause serious problems if a builder's source tree is in a directory
2224
# whose full name contains unusual characters.
2225
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2226
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2227
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2230
# Find a good install program. We prefer a C program (faster),
2231
# so one script is as good as another. But avoid the broken or
2232
# incompatible versions:
2233
# SysV /etc/install, /usr/sbin/install
2234
# SunOS /usr/etc/install
2235
# IRIX /sbin/install
2237
# AmigaOS /C/install, which installs bootblocks on floppy discs
2238
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2239
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2240
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2241
# OS/2's system install, which has a completely different semantic
2242
# ./install, which can be erroneously created by make from ./install.sh.
2243
# Reject install programs that cannot install multiple files.
2244
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2245
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2246
if test -z "$INSTALL"; then
2247
if test "${ac_cv_path_install+set}" = set; then
2248
$as_echo_n "(cached) " >&6
2250
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254
test -z "$as_dir" && as_dir=.
2255
# Account for people who put trailing slashes in PATH elements.
2257
./ | .// | /cC/* | \
2258
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2259
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2262
# OSF1 and SCO ODT 3.0 have their own names for install.
2263
# Don't use installbsd from OSF since it installs stuff as root
2265
for ac_prog in ginstall scoinst install; do
2266
for ac_exec_ext in '' $ac_executable_extensions; do
2267
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2268
if test $ac_prog = install &&
2269
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2270
# AIX install. It has an incompatible calling convention.
2272
elif test $ac_prog = install &&
2273
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2274
# program-specific install script used by HP pwplus--don't use.
2277
rm -rf conftest.one conftest.two conftest.dir
2278
echo one > conftest.one
2279
echo two > conftest.two
2281
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2282
test -s conftest.one && test -s conftest.two &&
2283
test -s conftest.dir/conftest.one &&
2284
test -s conftest.dir/conftest.two
2286
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2299
rm -rf conftest.one conftest.two conftest.dir
2302
if test "${ac_cv_path_install+set}" = set; then
2303
INSTALL=$ac_cv_path_install
2305
# As a last resort, use the slow shell script. Don't cache a
2306
# value for INSTALL within a source directory, because that will
2307
# break other packages using the cache if that directory is
2308
# removed, or if the value is a relative name.
2309
INSTALL=$ac_install_sh
2312
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2313
$as_echo "$INSTALL" >&6; }
2315
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2316
# It thinks the first close brace ends the variable substitution.
2317
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2319
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2321
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2323
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2324
$as_echo_n "checking whether build environment is sane... " >&6; }
2327
echo timestamp > conftest.file
2328
# Do `set' in a subshell so we don't clobber the current shell's
2329
# arguments. Must try -L first in case configure is actually a
2330
# symlink; some systems play weird games with the mod time of symlinks
2331
# (eg FreeBSD returns the mod time of the symlink's containing
2334
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2335
if test "$*" = "X"; then
2337
set X `ls -t $srcdir/configure conftest.file`
2340
if test "$*" != "X $srcdir/configure conftest.file" \
2341
&& test "$*" != "X conftest.file $srcdir/configure"; then
2343
# If neither matched, then we have a broken ls. This can happen
2344
# if, for instance, CONFIG_SHELL is bash and it inherits a
2345
# broken ls alias from the environment. This has actually
2346
# happened. Such a system could not be considered "sane".
2347
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2348
alias in your environment" >&5
2349
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2350
alias in your environment" >&2;}
2351
{ (exit 1); exit 1; }; }
2354
test "$2" = conftest.file
2360
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2361
Check your system clock" >&5
2362
$as_echo "$as_me: error: newly created file is older than distributed files!
2363
Check your system clock" >&2;}
2364
{ (exit 1); exit 1; }; }
2366
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2367
$as_echo "yes" >&6; }
2368
test "$program_prefix" != NONE &&
2369
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2370
# Use a double $ so make ignores it.
2371
test "$program_suffix" != NONE &&
2372
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2373
# Double any \ or $.
2374
# By default was `s,x,x', remove it if useless.
2375
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2376
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2378
# expand $ac_aux_dir to an absolute path
2379
am_aux_dir=`cd $ac_aux_dir && pwd`
2381
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2382
# Use eval to expand $SHELL
2383
if eval "$MISSING --run true"; then
2384
am_missing_run="$MISSING --run "
2387
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2388
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2391
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2392
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2393
if test -z "$MKDIR_P"; then
2394
if test "${ac_cv_path_mkdir+set}" = set; then
2395
$as_echo_n "(cached) " >&6
2397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2401
test -z "$as_dir" && as_dir=.
2402
for ac_prog in mkdir gmkdir; do
2403
for ac_exec_ext in '' $ac_executable_extensions; do
2404
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2405
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2406
'mkdir (GNU coreutils) '* | \
2407
'mkdir (coreutils) '* | \
2408
'mkdir (fileutils) '4.1*)
2409
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2419
if test "${ac_cv_path_mkdir+set}" = set; then
2420
MKDIR_P="$ac_cv_path_mkdir -p"
2422
# As a last resort, use the slow shell script. Don't cache a
2423
# value for MKDIR_P within a source directory, because that will
2424
# break other packages using the cache if that directory is
2425
# removed, or if the value is a relative name.
2426
test -d ./--version && rmdir ./--version
2427
MKDIR_P="$ac_install_sh -d"
2430
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2431
$as_echo "$MKDIR_P" >&6; }
2435
[\\/$]* | ?:[\\/]*) ;;
2436
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2439
for ac_prog in gawk mawk nawk awk
2441
# Extract the first word of "$ac_prog", so it can be a program name with args.
2442
set dummy $ac_prog; ac_word=$2
2443
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2444
$as_echo_n "checking for $ac_word... " >&6; }
2445
if test "${ac_cv_prog_AWK+set}" = set; then
2446
$as_echo_n "(cached) " >&6
2448
if test -n "$AWK"; then
2449
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455
test -z "$as_dir" && as_dir=.
2456
for ac_exec_ext in '' $ac_executable_extensions; do
2457
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458
ac_cv_prog_AWK="$ac_prog"
2459
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469
if test -n "$AWK"; then
2470
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
2471
$as_echo "$AWK" >&6; }
2473
{ $as_echo "$as_me:$LINENO: result: no" >&5
2474
$as_echo "no" >&6; }
2478
test -n "$AWK" && break
2481
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2482
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2484
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2485
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2486
$as_echo_n "(cached) " >&6
2488
cat >conftest.make <<\_ACEOF
2491
@echo '@@@%%%=$(MAKE)=@@@%%%'
2493
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2494
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2496
eval ac_cv_prog_make_${ac_make}_set=yes;;
2498
eval ac_cv_prog_make_${ac_make}_set=no;;
2502
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2503
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2504
$as_echo "yes" >&6; }
2507
{ $as_echo "$as_me:$LINENO: result: no" >&5
2508
$as_echo "no" >&6; }
2509
SET_MAKE="MAKE=${MAKE-make}"
2512
rm -rf .tst 2>/dev/null
2513
mkdir .tst 2>/dev/null
2514
if test -d .tst; then
2519
rmdir .tst 2>/dev/null
2521
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2522
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2523
# is not polluted with repeated "-I."
2524
am__isrc=' -I$(srcdir)'
2525
# test to see if srcdir already configured
2526
if test -f $srcdir/config.status; then
2527
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2528
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2529
{ (exit 1); exit 1; }; }
2533
# test whether we have cygpath
2534
if test -z "$CYGPATH_W"; then
2535
if (cygpath --version) >/dev/null 2>/dev/null; then
2536
CYGPATH_W='cygpath -w'
2543
# Define the identity of the package.
2544
PACKAGE='gst-entrans'
2548
cat >>confdefs.h <<_ACEOF
2549
#define PACKAGE "$PACKAGE"
2553
cat >>confdefs.h <<_ACEOF
2554
#define VERSION "$VERSION"
2557
# Some tools Automake needs.
2559
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2562
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2565
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2568
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2571
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2573
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2575
# Installed binaries are usually stripped using `strip' when the user
2576
# run `make install-strip'. However `strip' might not be the right
2577
# tool to use in cross-compilation environments, therefore Automake
2578
# will honor the `STRIP' environment variable to overrule this program.
2579
if test "$cross_compiling" != no; then
2580
if test -n "$ac_tool_prefix"; then
2581
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2582
set dummy ${ac_tool_prefix}strip; ac_word=$2
2583
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2584
$as_echo_n "checking for $ac_word... " >&6; }
2585
if test "${ac_cv_prog_STRIP+set}" = set; then
2586
$as_echo_n "(cached) " >&6
2588
if test -n "$STRIP"; then
2589
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2591
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595
test -z "$as_dir" && as_dir=.
2596
for ac_exec_ext in '' $ac_executable_extensions; do
2597
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2599
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608
STRIP=$ac_cv_prog_STRIP
2609
if test -n "$STRIP"; then
2610
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2611
$as_echo "$STRIP" >&6; }
2613
{ $as_echo "$as_me:$LINENO: result: no" >&5
2614
$as_echo "no" >&6; }
2619
if test -z "$ac_cv_prog_STRIP"; then
2621
# Extract the first word of "strip", so it can be a program name with args.
2622
set dummy strip; ac_word=$2
2623
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2624
$as_echo_n "checking for $ac_word... " >&6; }
2625
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2626
$as_echo_n "(cached) " >&6
2628
if test -n "$ac_ct_STRIP"; then
2629
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2631
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635
test -z "$as_dir" && as_dir=.
2636
for ac_exec_ext in '' $ac_executable_extensions; do
2637
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638
ac_cv_prog_ac_ct_STRIP="strip"
2639
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2649
if test -n "$ac_ct_STRIP"; then
2650
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2651
$as_echo "$ac_ct_STRIP" >&6; }
2653
{ $as_echo "$as_me:$LINENO: result: no" >&5
2654
$as_echo "no" >&6; }
2657
if test "x$ac_ct_STRIP" = x; then
2660
case $cross_compiling:$ac_tool_warned in
2662
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2663
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2664
ac_tool_warned=yes ;;
2669
STRIP="$ac_cv_prog_STRIP"
2673
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2675
# We need awk for the "check" target. The system "awk" is bad on
2677
# Always define AMTAR for backward compatibility.
2679
AMTAR=${AMTAR-"${am_missing_run}tar"}
2681
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2689
PACKAGE_VERSION_MAJOR=$(echo 0.10.2 | cut -d'.' -f1)
2690
PACKAGE_VERSION_MINOR=$(echo 0.10.2 | cut -d'.' -f2)
2691
PACKAGE_VERSION_MICRO=$(echo 0.10.2 | cut -d'.' -f3)
2699
{ $as_echo "$as_me:$LINENO: checking nano version" >&5
2700
$as_echo_n "checking nano version... " >&6; }
2702
NANO=$(echo 0.10.2 | cut -d'.' -f4)
2704
if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2705
{ $as_echo "$as_me:$LINENO: result: 0 (release)" >&5
2706
$as_echo "0 (release)" >&6; }
2708
PACKAGE_VERSION_RELEASE=1
2711
{ $as_echo "$as_me:$LINENO: result: $NANO" >&5
2712
$as_echo "$NANO" >&6; }
2713
PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
2716
PACKAGE_VERSION_NANO=$NANO
2723
ac_config_headers="$ac_config_headers config.h"
2726
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2727
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2728
# Check whether --enable-maintainer-mode was given.
2729
if test "${enable_maintainer_mode+set}" = set; then
2730
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2732
USE_MAINTAINER_MODE=no
2735
{ $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2736
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2737
if test $USE_MAINTAINER_MODE = yes; then
2738
MAINTAINER_MODE_TRUE=
2739
MAINTAINER_MODE_FALSE='#'
2741
MAINTAINER_MODE_TRUE='#'
2742
MAINTAINER_MODE_FALSE=
2745
MAINT=$MAINTAINER_MODE_TRUE
2749
GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
2750
GST_REQUIRED=$GST_MAJORMINOR.13
2751
GSTPB_REQUIRED=$GST_REQUIRED
2754
cat >>confdefs.h <<\_ACEOF
2755
#define GST_PACKAGE_NAME PACKAGE
2759
cat >>confdefs.h <<\_ACEOF
2760
#define GST_PACKAGE_ORIGIN ""
2764
cat >>confdefs.h <<\_ACEOF
2765
#define GST_PACKAGE PACKAGE
2769
cat >>confdefs.h <<\_ACEOF
2770
#define GST_ORIGIN GST_PACKAGE_ORIGIN
2774
ACLOCAL_AMFLAGS="-I m4 -I common/m4"
2780
if test -n "$ac_aux_dir"; then
2781
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
2783
if test -z "$MKINSTALLDIRS"; then
2784
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
2791
# Extract the first word of "msgfmt", so it can be a program name with args.
2792
set dummy msgfmt; ac_word=$2
2793
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2794
$as_echo_n "checking for $ac_word... " >&6; }
2795
if test "${ac_cv_path_MSGFMT+set}" = set; then
2796
$as_echo_n "(cached) " >&6
2800
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2803
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2804
for ac_dir in $PATH; do
2805
test -z "$ac_dir" && ac_dir=.
2806
if test -f $ac_dir/$ac_word; then
2807
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
2808
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2809
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2815
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2819
MSGFMT="$ac_cv_path_MSGFMT"
2820
if test "$MSGFMT" != ":"; then
2821
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
2822
$as_echo "$MSGFMT" >&6; }
2824
{ $as_echo "$as_me:$LINENO: result: no" >&5
2825
$as_echo "no" >&6; }
2828
# Extract the first word of "gmsgfmt", so it can be a program name with args.
2829
set dummy gmsgfmt; ac_word=$2
2830
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2831
$as_echo_n "checking for $ac_word... " >&6; }
2832
if test "${ac_cv_path_GMSGFMT+set}" = set; then
2833
$as_echo_n "(cached) " >&6
2837
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844
test -z "$as_dir" && as_dir=.
2845
for ac_exec_ext in '' $ac_executable_extensions; do
2846
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2848
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2855
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2859
GMSGFMT=$ac_cv_path_GMSGFMT
2860
if test -n "$GMSGFMT"; then
2861
{ $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
2862
$as_echo "$GMSGFMT" >&6; }
2864
{ $as_echo "$as_me:$LINENO: result: no" >&5
2865
$as_echo "no" >&6; }
2870
# Extract the first word of "xgettext", so it can be a program name with args.
2871
set dummy xgettext; ac_word=$2
2872
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2873
$as_echo_n "checking for $ac_word... " >&6; }
2874
if test "${ac_cv_path_XGETTEXT+set}" = set; then
2875
$as_echo_n "(cached) " >&6
2879
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2882
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2883
for ac_dir in $PATH; do
2884
test -z "$ac_dir" && ac_dir=.
2885
if test -f $ac_dir/$ac_word; then
2886
if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
2887
(if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2888
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2894
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2898
XGETTEXT="$ac_cv_path_XGETTEXT"
2899
if test "$XGETTEXT" != ":"; then
2900
{ $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
2901
$as_echo "$XGETTEXT" >&6; }
2903
{ $as_echo "$as_me:$LINENO: result: no" >&5
2904
$as_echo "no" >&6; }
2909
# Extract the first word of "msgmerge", so it can be a program name with args.
2910
set dummy msgmerge; ac_word=$2
2911
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2912
$as_echo_n "checking for $ac_word... " >&6; }
2913
if test "${ac_cv_path_MSGMERGE+set}" = set; then
2914
$as_echo_n "(cached) " >&6
2918
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2921
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2922
for ac_dir in $PATH; do
2923
test -z "$ac_dir" && ac_dir=.
2924
if test -f $ac_dir/$ac_word; then
2925
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
2926
ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
2932
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2936
MSGMERGE="$ac_cv_path_MSGMERGE"
2937
if test "$MSGMERGE" != ":"; then
2938
{ $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
2939
$as_echo "$MSGMERGE" >&6; }
2941
{ $as_echo "$as_me:$LINENO: result: no" >&5
2942
$as_echo "no" >&6; }
2946
if test "$GMSGFMT" != ":"; then
2947
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
2948
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2951
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
2952
{ $as_echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
2953
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
2958
if test "$XGETTEXT" != ":"; then
2959
if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
2960
(if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2963
{ $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
2964
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
2970
ac_config_commands="$ac_config_commands default-1"
2974
if test "X$prefix" = "XNONE"; then
2975
acl_final_prefix="$ac_default_prefix"
2977
acl_final_prefix="$prefix"
2979
if test "X$exec_prefix" = "XNONE"; then
2980
acl_final_exec_prefix='${prefix}'
2982
acl_final_exec_prefix="$exec_prefix"
2984
acl_save_prefix="$prefix"
2985
prefix="$acl_final_prefix"
2986
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2987
prefix="$acl_save_prefix"
2989
DEPDIR="${am__leading_dot}deps"
2991
ac_config_commands="$ac_config_commands depfiles"
2994
am_make=${MAKE-make}
2995
cat > confinc << 'END'
3000
# If we don't find an include directive, just comment out the code.
3001
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3002
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3006
# First try GNU make style include.
3007
echo "include confinc" > confmf
3008
# We grep out `Entering directory' and `Leaving directory'
3009
# messages which can occur if `w' ends up in MAKEFLAGS.
3010
# In particular we don't look at `^make:' because GNU make might
3011
# be invoked under some other name (usually "gmake"), in which
3012
# case it prints its new name instead of `make'.
3013
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3018
# Now try BSD make style include.
3019
if test "$am__include" = "#"; then
3020
echo '.include "confinc"' > confmf
3021
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3022
am__include=.include
3029
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3030
$as_echo "$_am_result" >&6; }
3031
rm -f confinc confmf
3033
# Check whether --enable-dependency-tracking was given.
3034
if test "${enable_dependency_tracking+set}" = set; then
3035
enableval=$enable_dependency_tracking;
3038
if test "x$enable_dependency_tracking" != xno; then
3039
am_depcomp="$ac_aux_dir/depcomp"
3042
if test "x$enable_dependency_tracking" != xno; then
3052
ac_cpp='$CPP $CPPFLAGS'
3053
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056
if test -n "$ac_tool_prefix"; then
3057
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3058
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3059
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3060
$as_echo_n "checking for $ac_word... " >&6; }
3061
if test "${ac_cv_prog_CC+set}" = set; then
3062
$as_echo_n "(cached) " >&6
3064
if test -n "$CC"; then
3065
ac_cv_prog_CC="$CC" # Let the user override the test.
3067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071
test -z "$as_dir" && as_dir=.
3072
for ac_exec_ext in '' $ac_executable_extensions; do
3073
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3075
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085
if test -n "$CC"; then
3086
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3087
$as_echo "$CC" >&6; }
3089
{ $as_echo "$as_me:$LINENO: result: no" >&5
3090
$as_echo "no" >&6; }
3095
if test -z "$ac_cv_prog_CC"; then
3097
# Extract the first word of "gcc", so it can be a program name with args.
3098
set dummy gcc; ac_word=$2
3099
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3100
$as_echo_n "checking for $ac_word... " >&6; }
3101
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3102
$as_echo_n "(cached) " >&6
3104
if test -n "$ac_ct_CC"; then
3105
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111
test -z "$as_dir" && as_dir=.
3112
for ac_exec_ext in '' $ac_executable_extensions; do
3113
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114
ac_cv_prog_ac_ct_CC="gcc"
3115
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3125
if test -n "$ac_ct_CC"; then
3126
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3127
$as_echo "$ac_ct_CC" >&6; }
3129
{ $as_echo "$as_me:$LINENO: result: no" >&5
3130
$as_echo "no" >&6; }
3133
if test "x$ac_ct_CC" = x; then
3136
case $cross_compiling:$ac_tool_warned in
3138
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3139
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3140
ac_tool_warned=yes ;;
3148
if test -z "$CC"; then
3149
if test -n "$ac_tool_prefix"; then
3150
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3151
set dummy ${ac_tool_prefix}cc; ac_word=$2
3152
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3153
$as_echo_n "checking for $ac_word... " >&6; }
3154
if test "${ac_cv_prog_CC+set}" = set; then
3155
$as_echo_n "(cached) " >&6
3157
if test -n "$CC"; then
3158
ac_cv_prog_CC="$CC" # Let the user override the test.
3160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164
test -z "$as_dir" && as_dir=.
3165
for ac_exec_ext in '' $ac_executable_extensions; do
3166
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167
ac_cv_prog_CC="${ac_tool_prefix}cc"
3168
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3178
if test -n "$CC"; then
3179
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3180
$as_echo "$CC" >&6; }
3182
{ $as_echo "$as_me:$LINENO: result: no" >&5
3183
$as_echo "no" >&6; }
3189
if test -z "$CC"; then
3190
# Extract the first word of "cc", so it can be a program name with args.
3191
set dummy cc; ac_word=$2
3192
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3193
$as_echo_n "checking for $ac_word... " >&6; }
3194
if test "${ac_cv_prog_CC+set}" = set; then
3195
$as_echo_n "(cached) " >&6
3197
if test -n "$CC"; then
3198
ac_cv_prog_CC="$CC" # Let the user override the test.
3201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205
test -z "$as_dir" && as_dir=.
3206
for ac_exec_ext in '' $ac_executable_extensions; do
3207
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3209
ac_prog_rejected=yes
3213
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3220
if test $ac_prog_rejected = yes; then
3221
# We found a bogon in the path, so make sure we never use it.
3222
set dummy $ac_cv_prog_CC
3224
if test $# != 0; then
3225
# We chose a different compiler from the bogus one.
3226
# However, it has the same basename, so the bogon will be chosen
3227
# first if we set CC to just the basename; use the full file name.
3229
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3235
if test -n "$CC"; then
3236
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3237
$as_echo "$CC" >&6; }
3239
{ $as_echo "$as_me:$LINENO: result: no" >&5
3240
$as_echo "no" >&6; }
3245
if test -z "$CC"; then
3246
if test -n "$ac_tool_prefix"; then
3247
for ac_prog in cl.exe
3249
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3250
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3251
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3252
$as_echo_n "checking for $ac_word... " >&6; }
3253
if test "${ac_cv_prog_CC+set}" = set; then
3254
$as_echo_n "(cached) " >&6
3256
if test -n "$CC"; then
3257
ac_cv_prog_CC="$CC" # Let the user override the test.
3259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263
test -z "$as_dir" && as_dir=.
3264
for ac_exec_ext in '' $ac_executable_extensions; do
3265
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3267
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277
if test -n "$CC"; then
3278
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3279
$as_echo "$CC" >&6; }
3281
{ $as_echo "$as_me:$LINENO: result: no" >&5
3282
$as_echo "no" >&6; }
3286
test -n "$CC" && break
3289
if test -z "$CC"; then
3291
for ac_prog in cl.exe
3293
# Extract the first word of "$ac_prog", so it can be a program name with args.
3294
set dummy $ac_prog; ac_word=$2
3295
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3296
$as_echo_n "checking for $ac_word... " >&6; }
3297
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3298
$as_echo_n "(cached) " >&6
3300
if test -n "$ac_ct_CC"; then
3301
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307
test -z "$as_dir" && as_dir=.
3308
for ac_exec_ext in '' $ac_executable_extensions; do
3309
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310
ac_cv_prog_ac_ct_CC="$ac_prog"
3311
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3320
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3321
if test -n "$ac_ct_CC"; then
3322
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3323
$as_echo "$ac_ct_CC" >&6; }
3325
{ $as_echo "$as_me:$LINENO: result: no" >&5
3326
$as_echo "no" >&6; }
3330
test -n "$ac_ct_CC" && break
3333
if test "x$ac_ct_CC" = x; then
3336
case $cross_compiling:$ac_tool_warned in
3338
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3339
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3340
ac_tool_warned=yes ;;
3349
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3350
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3352
See \`config.log' for more details." >&5
3353
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3354
See \`config.log' for more details." >&2;}
3355
{ (exit 1); exit 1; }; }; }
3357
# Provide some information about the compiler.
3358
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3361
{ (ac_try="$ac_compiler --version >&5"
3363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364
*) ac_try_echo=$ac_try;;
3366
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3367
$as_echo "$ac_try_echo") >&5
3368
(eval "$ac_compiler --version >&5") 2>&5
3370
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371
(exit $ac_status); }
3372
{ (ac_try="$ac_compiler -v >&5"
3374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375
*) ac_try_echo=$ac_try;;
3377
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3378
$as_echo "$ac_try_echo") >&5
3379
(eval "$ac_compiler -v >&5") 2>&5
3381
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382
(exit $ac_status); }
3383
{ (ac_try="$ac_compiler -V >&5"
3385
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386
*) ac_try_echo=$ac_try;;
3388
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3389
$as_echo "$ac_try_echo") >&5
3390
(eval "$ac_compiler -V >&5") 2>&5
3392
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393
(exit $ac_status); }
3395
cat >conftest.$ac_ext <<_ACEOF
3398
cat confdefs.h >>conftest.$ac_ext
3399
cat >>conftest.$ac_ext <<_ACEOF
3400
/* end confdefs.h. */
3410
ac_clean_files_save=$ac_clean_files
3411
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3412
# Try to create an executable without -o first, disregard a.out.
3413
# It will help us diagnose broken compilers, and finding out an intuition
3415
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3416
$as_echo_n "checking for C compiler default output file name... " >&6; }
3417
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3419
# The possible output files:
3420
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3423
for ac_file in $ac_files
3426
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3427
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3432
if { (ac_try="$ac_link_default"
3434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435
*) ac_try_echo=$ac_try;;
3437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3438
$as_echo "$ac_try_echo") >&5
3439
(eval "$ac_link_default") 2>&5
3441
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442
(exit $ac_status); }; then
3443
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3444
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3445
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3446
# so that the user can short-circuit this test for compilers unknown to
3448
for ac_file in $ac_files ''
3450
test -f "$ac_file" || continue
3452
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3455
# We found the default executable, but exeext='' is most
3459
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3461
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3463
# We set ac_cv_exeext here because the later test for it is not
3464
# safe: cross compilers may not add the suffix if given an `-o'
3465
# argument, so we may need to know it at that point already.
3466
# Even if this section looks crufty: it has the advantage of
3473
test "$ac_cv_exeext" = no && ac_cv_exeext=
3479
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3480
$as_echo "$ac_file" >&6; }
3481
if test -z "$ac_file"; then
3482
$as_echo "$as_me: failed program was:" >&5
3483
sed 's/^/| /' conftest.$ac_ext >&5
3485
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3488
See \`config.log' for more details." >&5
3489
$as_echo "$as_me: error: C compiler cannot create executables
3490
See \`config.log' for more details." >&2;}
3491
{ (exit 77); exit 77; }; }; }
3494
ac_exeext=$ac_cv_exeext
3496
# Check that the compiler produces executables we can run. If not, either
3497
# the compiler is broken, or we cross compile.
3498
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3499
$as_echo_n "checking whether the C compiler works... " >&6; }
3500
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3501
# If not cross compiling, check that we can run a simple program.
3502
if test "$cross_compiling" != yes; then
3503
if { ac_try='./$ac_file'
3504
{ (case "(($ac_try" in
3505
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506
*) ac_try_echo=$ac_try;;
3508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509
$as_echo "$ac_try_echo") >&5
3510
(eval "$ac_try") 2>&5
3512
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513
(exit $ac_status); }; }; then
3516
if test "$cross_compiling" = maybe; then
3519
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3520
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3522
If you meant to cross compile, use \`--host'.
3523
See \`config.log' for more details." >&5
3524
$as_echo "$as_me: error: cannot run C compiled programs.
3525
If you meant to cross compile, use \`--host'.
3526
See \`config.log' for more details." >&2;}
3527
{ (exit 1); exit 1; }; }; }
3531
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3532
$as_echo "yes" >&6; }
3534
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3535
ac_clean_files=$ac_clean_files_save
3536
# Check that the compiler produces executables we can run. If not, either
3537
# the compiler is broken, or we cross compile.
3538
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3539
$as_echo_n "checking whether we are cross compiling... " >&6; }
3540
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3541
$as_echo "$cross_compiling" >&6; }
3543
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3544
$as_echo_n "checking for suffix of executables... " >&6; }
3545
if { (ac_try="$ac_link"
3547
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548
*) ac_try_echo=$ac_try;;
3550
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3551
$as_echo "$ac_try_echo") >&5
3552
(eval "$ac_link") 2>&5
3554
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555
(exit $ac_status); }; then
3556
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3557
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3558
# work properly (i.e., refer to `conftest.exe'), while it won't with
3560
for ac_file in conftest.exe conftest conftest.*; do
3561
test -f "$ac_file" || continue
3563
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3564
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3570
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3571
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3573
See \`config.log' for more details." >&5
3574
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3575
See \`config.log' for more details." >&2;}
3576
{ (exit 1); exit 1; }; }; }
3579
rm -f conftest$ac_cv_exeext
3580
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3581
$as_echo "$ac_cv_exeext" >&6; }
3583
rm -f conftest.$ac_ext
3584
EXEEXT=$ac_cv_exeext
3586
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3587
$as_echo_n "checking for suffix of object files... " >&6; }
3588
if test "${ac_cv_objext+set}" = set; then
3589
$as_echo_n "(cached) " >&6
3591
cat >conftest.$ac_ext <<_ACEOF
3594
cat confdefs.h >>conftest.$ac_ext
3595
cat >>conftest.$ac_ext <<_ACEOF
3596
/* end confdefs.h. */
3606
rm -f conftest.o conftest.obj
3607
if { (ac_try="$ac_compile"
3609
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610
*) ac_try_echo=$ac_try;;
3612
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3613
$as_echo "$ac_try_echo") >&5
3614
(eval "$ac_compile") 2>&5
3616
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617
(exit $ac_status); }; then
3618
for ac_file in conftest.o conftest.obj conftest.*; do
3619
test -f "$ac_file" || continue;
3621
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3622
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3627
$as_echo "$as_me: failed program was:" >&5
3628
sed 's/^/| /' conftest.$ac_ext >&5
3630
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3631
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3633
See \`config.log' for more details." >&5
3634
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3635
See \`config.log' for more details." >&2;}
3636
{ (exit 1); exit 1; }; }; }
3639
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3641
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3642
$as_echo "$ac_cv_objext" >&6; }
3643
OBJEXT=$ac_cv_objext
3645
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3646
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3647
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3648
$as_echo_n "(cached) " >&6
3650
cat >conftest.$ac_ext <<_ACEOF
3653
cat confdefs.h >>conftest.$ac_ext
3654
cat >>conftest.$ac_ext <<_ACEOF
3655
/* end confdefs.h. */
3668
rm -f conftest.$ac_objext
3669
if { (ac_try="$ac_compile"
3671
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672
*) ac_try_echo=$ac_try;;
3674
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3675
$as_echo "$ac_try_echo") >&5
3676
(eval "$ac_compile") 2>conftest.er1
3678
grep -v '^ *+' conftest.er1 >conftest.err
3680
cat conftest.err >&5
3681
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682
(exit $ac_status); } && {
3683
test -z "$ac_c_werror_flag" ||
3684
test ! -s conftest.err
3685
} && test -s conftest.$ac_objext; then
3688
$as_echo "$as_me: failed program was:" >&5
3689
sed 's/^/| /' conftest.$ac_ext >&5
3694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3698
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3699
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3700
if test $ac_compiler_gnu = yes; then
3705
ac_test_CFLAGS=${CFLAGS+set}
3706
ac_save_CFLAGS=$CFLAGS
3707
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3708
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3709
if test "${ac_cv_prog_cc_g+set}" = set; then
3710
$as_echo_n "(cached) " >&6
3712
ac_save_c_werror_flag=$ac_c_werror_flag
3713
ac_c_werror_flag=yes
3716
cat >conftest.$ac_ext <<_ACEOF
3719
cat confdefs.h >>conftest.$ac_ext
3720
cat >>conftest.$ac_ext <<_ACEOF
3721
/* end confdefs.h. */
3731
rm -f conftest.$ac_objext
3732
if { (ac_try="$ac_compile"
3734
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735
*) ac_try_echo=$ac_try;;
3737
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3738
$as_echo "$ac_try_echo") >&5
3739
(eval "$ac_compile") 2>conftest.er1
3741
grep -v '^ *+' conftest.er1 >conftest.err
3743
cat conftest.err >&5
3744
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745
(exit $ac_status); } && {
3746
test -z "$ac_c_werror_flag" ||
3747
test ! -s conftest.err
3748
} && test -s conftest.$ac_objext; then
3751
$as_echo "$as_me: failed program was:" >&5
3752
sed 's/^/| /' conftest.$ac_ext >&5
3755
cat >conftest.$ac_ext <<_ACEOF
3758
cat confdefs.h >>conftest.$ac_ext
3759
cat >>conftest.$ac_ext <<_ACEOF
3760
/* end confdefs.h. */
3770
rm -f conftest.$ac_objext
3771
if { (ac_try="$ac_compile"
3773
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774
*) ac_try_echo=$ac_try;;
3776
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3777
$as_echo "$ac_try_echo") >&5
3778
(eval "$ac_compile") 2>conftest.er1
3780
grep -v '^ *+' conftest.er1 >conftest.err
3782
cat conftest.err >&5
3783
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784
(exit $ac_status); } && {
3785
test -z "$ac_c_werror_flag" ||
3786
test ! -s conftest.err
3787
} && test -s conftest.$ac_objext; then
3790
$as_echo "$as_me: failed program was:" >&5
3791
sed 's/^/| /' conftest.$ac_ext >&5
3793
ac_c_werror_flag=$ac_save_c_werror_flag
3795
cat >conftest.$ac_ext <<_ACEOF
3798
cat confdefs.h >>conftest.$ac_ext
3799
cat >>conftest.$ac_ext <<_ACEOF
3800
/* end confdefs.h. */
3810
rm -f conftest.$ac_objext
3811
if { (ac_try="$ac_compile"
3813
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814
*) ac_try_echo=$ac_try;;
3816
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3817
$as_echo "$ac_try_echo") >&5
3818
(eval "$ac_compile") 2>conftest.er1
3820
grep -v '^ *+' conftest.er1 >conftest.err
3822
cat conftest.err >&5
3823
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824
(exit $ac_status); } && {
3825
test -z "$ac_c_werror_flag" ||
3826
test ! -s conftest.err
3827
} && test -s conftest.$ac_objext; then
3830
$as_echo "$as_me: failed program was:" >&5
3831
sed 's/^/| /' conftest.$ac_ext >&5
3836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843
ac_c_werror_flag=$ac_save_c_werror_flag
3845
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3846
$as_echo "$ac_cv_prog_cc_g" >&6; }
3847
if test "$ac_test_CFLAGS" = set; then
3848
CFLAGS=$ac_save_CFLAGS
3849
elif test $ac_cv_prog_cc_g = yes; then
3850
if test "$GCC" = yes; then
3856
if test "$GCC" = yes; then
3862
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3863
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864
if test "${ac_cv_prog_cc_c89+set}" = set; then
3865
$as_echo_n "(cached) " >&6
3867
ac_cv_prog_cc_c89=no
3869
cat >conftest.$ac_ext <<_ACEOF
3872
cat confdefs.h >>conftest.$ac_ext
3873
cat >>conftest.$ac_ext <<_ACEOF
3874
/* end confdefs.h. */
3877
#include <sys/types.h>
3878
#include <sys/stat.h>
3879
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3880
struct buf { int x; };
3881
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3882
static char *e (p, i)
3888
static char *f (char * (*g) (char **, int), char **p, ...)
3893
s = g (p, va_arg (v,int));
3898
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3899
function prototypes and stuff, but not '\xHH' hex character constants.
3900
These don't provoke an error unfortunately, instead are silently treated
3901
as 'x'. The following induces an error, until -std is added to get
3902
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3903
array size at least. It's necessary to write '\x00'==0 to get something
3904
that's true only with -std. */
3905
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3907
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3908
inside strings and character constants. */
3910
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3912
int test (int i, double x);
3913
struct s1 {int (*f) (int a);};
3914
struct s2 {int (*f) (double a);};
3915
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3921
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3926
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3927
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3929
CC="$ac_save_CC $ac_arg"
3930
rm -f conftest.$ac_objext
3931
if { (ac_try="$ac_compile"
3933
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934
*) ac_try_echo=$ac_try;;
3936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3937
$as_echo "$ac_try_echo") >&5
3938
(eval "$ac_compile") 2>conftest.er1
3940
grep -v '^ *+' conftest.er1 >conftest.err
3942
cat conftest.err >&5
3943
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944
(exit $ac_status); } && {
3945
test -z "$ac_c_werror_flag" ||
3946
test ! -s conftest.err
3947
} && test -s conftest.$ac_objext; then
3948
ac_cv_prog_cc_c89=$ac_arg
3950
$as_echo "$as_me: failed program was:" >&5
3951
sed 's/^/| /' conftest.$ac_ext >&5
3956
rm -f core conftest.err conftest.$ac_objext
3957
test "x$ac_cv_prog_cc_c89" != "xno" && break
3959
rm -f conftest.$ac_ext
3964
case "x$ac_cv_prog_cc_c89" in
3966
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
3967
$as_echo "none needed" >&6; } ;;
3969
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
3970
$as_echo "unsupported" >&6; } ;;
3972
CC="$CC $ac_cv_prog_cc_c89"
3973
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3974
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3979
ac_cpp='$CPP $CPPFLAGS'
3980
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3984
depcc="$CC" am_compiler_list=
3986
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3987
$as_echo_n "checking dependency style of $depcc... " >&6; }
3988
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3989
$as_echo_n "(cached) " >&6
3991
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3992
# We make a subdir and do the tests there. Otherwise we can end up
3993
# making bogus files that we don't know about and never remove. For
3994
# instance it was reported that on HP-UX the gcc test will end up
3995
# making a dummy file named `D' -- because `-MD' means `put the output
3998
# Copy depcomp to subdir because otherwise we won't find it if we're
3999
# using a relative directory.
4000
cp "$am_depcomp" conftest.dir
4002
# We will build objects and dependencies in a subdirectory because
4003
# it helps to detect inapplicable dependency modes. For instance
4004
# both Tru64's cc and ICC support -MD to output dependencies as a
4005
# side effect of compilation, but ICC will put the dependencies in
4006
# the current directory while Tru64 will put them in the object
4010
am_cv_CC_dependencies_compiler_type=none
4011
if test "$am_compiler_list" = ""; then
4012
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4014
for depmode in $am_compiler_list; do
4015
# Setup a source with many dependencies, because some compilers
4016
# like to wrap large dependency lists on column 80 (with \), and
4017
# we should not choose a depcomp mode which is confused by this.
4019
# We need to recreate these files for each test, as the compiler may
4020
# overwrite some of them when testing with obscure command lines.
4021
# This happens at least with the AIX C compiler.
4023
for i in 1 2 3 4 5 6; do
4024
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4025
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4026
# Solaris 8's {/usr,}/bin/sh.
4027
touch sub/conftst$i.h
4029
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4033
# after this tag, mechanisms are not by side-effect, so they'll
4034
# only be used when explicitly requested
4035
if test "x$enable_dependency_tracking" = xyes; then
4043
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4044
# mode. It turns out that the SunPro C++ compiler does not properly
4045
# handle `-M -o', and we need to detect this.
4046
if depmode=$depmode \
4047
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4048
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4049
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4050
>/dev/null 2>conftest.err &&
4051
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4052
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4053
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4054
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4055
# icc doesn't choke on unknown options, it will just issue warnings
4056
# or remarks (even with -Werror). So we grep stderr for any message
4057
# that says an option was ignored or not supported.
4058
# When given -MP, icc 7.0 and 7.1 complain thusly:
4059
# icc: Command line warning: ignoring option '-M'; no argument required
4060
# The diagnosis changed in icc 8.0:
4061
# icc: Command line remark: option '-MP' not supported
4062
if (grep 'ignoring option' conftest.err ||
4063
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4064
am_cv_CC_dependencies_compiler_type=$depmode
4073
am_cv_CC_dependencies_compiler_type=none
4077
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4078
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4079
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4082
test "x$enable_dependency_tracking" != xno \
4083
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4085
am__fastdepCC_FALSE='#'
4087
am__fastdepCC_TRUE='#'
4088
am__fastdepCC_FALSE=
4092
# Make sure we can run config.sub.
4093
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4094
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4095
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4096
{ (exit 1); exit 1; }; }
4098
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4099
$as_echo_n "checking build system type... " >&6; }
4100
if test "${ac_cv_build+set}" = set; then
4101
$as_echo_n "(cached) " >&6
4103
ac_build_alias=$build_alias
4104
test "x$ac_build_alias" = x &&
4105
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4106
test "x$ac_build_alias" = x &&
4107
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4108
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4109
{ (exit 1); exit 1; }; }
4110
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4111
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4112
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4113
{ (exit 1); exit 1; }; }
4116
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4117
$as_echo "$ac_cv_build" >&6; }
4118
case $ac_cv_build in
4120
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4121
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4122
{ (exit 1); exit 1; }; };;
4125
ac_save_IFS=$IFS; IFS='-'
4131
# Remember, the first character of IFS is used to create $*,
4132
# except with old shells:
4135
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4138
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4139
$as_echo_n "checking host system type... " >&6; }
4140
if test "${ac_cv_host+set}" = set; then
4141
$as_echo_n "(cached) " >&6
4143
if test "x$host_alias" = x; then
4144
ac_cv_host=$ac_cv_build
4146
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4147
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4148
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4149
{ (exit 1); exit 1; }; }
4153
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4154
$as_echo "$ac_cv_host" >&6; }
4157
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4158
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4159
{ (exit 1); exit 1; }; };;
4162
ac_save_IFS=$IFS; IFS='-'
4168
# Remember, the first character of IFS is used to create $*,
4169
# except with old shells:
4172
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4176
# Check whether --with-gnu-ld was given.
4177
if test "${with_gnu_ld+set}" = set; then
4178
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4184
if test "$GCC" = yes; then
4185
# Check if gcc -print-prog-name=ld gives a path.
4186
{ $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4187
$as_echo_n "checking for ld used by GCC... " >&6; }
4190
# gcc leaves a trailing carriage return which upsets mingw
4191
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4193
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4196
# Accept absolute paths.
4197
[\\/]* | [A-Za-z]:[\\/]*)
4198
re_direlt='/[^/][^/]*/\.\./'
4199
# Canonicalize the path of ld
4200
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4201
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4202
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4204
test -z "$LD" && LD="$ac_prog"
4207
# If it fails, then pretend we aren't using GCC.
4211
# If it is relative, then search for the first ld in PATH.
4215
elif test "$with_gnu_ld" = yes; then
4216
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4217
$as_echo_n "checking for GNU ld... " >&6; }
4219
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4220
$as_echo_n "checking for non-GNU ld... " >&6; }
4222
if test "${acl_cv_path_LD+set}" = set; then
4223
$as_echo_n "(cached) " >&6
4225
if test -z "$LD"; then
4226
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4227
for ac_dir in $PATH; do
4228
test -z "$ac_dir" && ac_dir=.
4229
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4230
acl_cv_path_LD="$ac_dir/$ac_prog"
4231
# Check to see if the program is GNU ld. I'd rather use --version,
4232
# but apparently some GNU ld's only accept -v.
4233
# Break only if it was the GNU/non-GNU ld that we prefer.
4234
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4235
test "$with_gnu_ld" != no && break
4237
test "$with_gnu_ld" != yes && break
4243
acl_cv_path_LD="$LD" # Let the user override the test with a path.
4247
LD="$acl_cv_path_LD"
4248
if test -n "$LD"; then
4249
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
4250
$as_echo "$LD" >&6; }
4252
{ $as_echo "$as_me:$LINENO: result: no" >&5
4253
$as_echo "no" >&6; }
4255
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4256
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4257
{ (exit 1); exit 1; }; }
4258
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4259
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4260
if test "${acl_cv_prog_gnu_ld+set}" = set; then
4261
$as_echo_n "(cached) " >&6
4263
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
4264
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4265
acl_cv_prog_gnu_ld=yes
4267
acl_cv_prog_gnu_ld=no
4270
{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4271
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
4272
with_gnu_ld=$acl_cv_prog_gnu_ld
4276
{ $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
4277
$as_echo_n "checking for shared library run path origin... " >&6; }
4278
if test "${acl_cv_rpath+set}" = set; then
4279
$as_echo_n "(cached) " >&6
4282
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4283
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4289
{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
4290
$as_echo "$acl_cv_rpath" >&6; }
4292
libext="$acl_cv_libext"
4293
shlibext="$acl_cv_shlibext"
4294
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4295
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4296
hardcode_direct="$acl_cv_hardcode_direct"
4297
hardcode_minus_L="$acl_cv_hardcode_minus_L"
4298
sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
4299
sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
4300
# Check whether --enable-rpath was given.
4301
if test "${enable_rpath+set}" = set; then
4302
enableval=$enable_rpath; :
4316
acl_save_prefix="$prefix"
4317
prefix="$acl_final_prefix"
4318
acl_save_exec_prefix="$exec_prefix"
4319
exec_prefix="$acl_final_exec_prefix"
4321
eval additional_includedir=\"$includedir\"
4322
eval additional_libdir=\"$libdir\"
4324
exec_prefix="$acl_save_exec_prefix"
4325
prefix="$acl_save_prefix"
4328
# Check whether --with-libiconv-prefix was given.
4329
if test "${with_libiconv_prefix+set}" = set; then
4330
withval=$with_libiconv_prefix;
4331
if test "X$withval" = "Xno"; then
4334
if test "X$withval" = "X"; then
4336
acl_save_prefix="$prefix"
4337
prefix="$acl_final_prefix"
4338
acl_save_exec_prefix="$exec_prefix"
4339
exec_prefix="$acl_final_exec_prefix"
4341
eval additional_includedir=\"$includedir\"
4342
eval additional_libdir=\"$libdir\"
4344
exec_prefix="$acl_save_exec_prefix"
4345
prefix="$acl_save_prefix"
4348
additional_includedir="$withval/include"
4349
additional_libdir="$withval/lib"
4360
names_already_handled=
4361
names_next_round='iconv '
4362
while test -n "$names_next_round"; do
4363
names_this_round="$names_next_round"
4365
for name in $names_this_round; do
4367
for n in $names_already_handled; do
4368
if test "$n" = "$name"; then
4373
if test -z "$already_handled"; then
4374
names_already_handled="$names_already_handled $name"
4375
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4376
eval value=\"\$HAVE_LIB$uppername\"
4377
if test -n "$value"; then
4378
if test "$value" = yes; then
4379
eval value=\"\$LIB$uppername\"
4380
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4381
eval value=\"\$LTLIB$uppername\"
4382
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4391
if test $use_additional = yes; then
4392
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4393
found_dir="$additional_libdir"
4394
found_so="$additional_libdir/lib$name.$shlibext"
4395
if test -f "$additional_libdir/lib$name.la"; then
4396
found_la="$additional_libdir/lib$name.la"
4399
if test -f "$additional_libdir/lib$name.$libext"; then
4400
found_dir="$additional_libdir"
4401
found_a="$additional_libdir/lib$name.$libext"
4402
if test -f "$additional_libdir/lib$name.la"; then
4403
found_la="$additional_libdir/lib$name.la"
4408
if test "X$found_dir" = "X"; then
4409
for x in $LDFLAGS $LTLIBICONV; do
4411
acl_save_prefix="$prefix"
4412
prefix="$acl_final_prefix"
4413
acl_save_exec_prefix="$exec_prefix"
4414
exec_prefix="$acl_final_exec_prefix"
4416
exec_prefix="$acl_save_exec_prefix"
4417
prefix="$acl_save_prefix"
4421
dir=`echo "X$x" | sed -e 's/^X-L//'`
4422
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4424
found_so="$dir/lib$name.$shlibext"
4425
if test -f "$dir/lib$name.la"; then
4426
found_la="$dir/lib$name.la"
4429
if test -f "$dir/lib$name.$libext"; then
4431
found_a="$dir/lib$name.$libext"
4432
if test -f "$dir/lib$name.la"; then
4433
found_la="$dir/lib$name.la"
4439
if test "X$found_dir" != "X"; then
4444
if test "X$found_dir" != "X"; then
4445
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4446
if test "X$found_so" != "X"; then
4447
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4448
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4451
for x in $ltrpathdirs; do
4452
if test "X$x" = "X$found_dir"; then
4457
if test -z "$haveit"; then
4458
ltrpathdirs="$ltrpathdirs $found_dir"
4460
if test "$hardcode_direct" = yes; then
4461
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4463
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4464
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4466
for x in $rpathdirs; do
4467
if test "X$x" = "X$found_dir"; then
4472
if test -z "$haveit"; then
4473
rpathdirs="$rpathdirs $found_dir"
4477
for x in $LDFLAGS $LIBICONV; do
4479
acl_save_prefix="$prefix"
4480
prefix="$acl_final_prefix"
4481
acl_save_exec_prefix="$exec_prefix"
4482
exec_prefix="$acl_final_exec_prefix"
4484
exec_prefix="$acl_save_exec_prefix"
4485
prefix="$acl_save_prefix"
4487
if test "X$x" = "X-L$found_dir"; then
4492
if test -z "$haveit"; then
4493
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4495
if test "$hardcode_minus_L" != no; then
4496
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4498
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4504
if test "X$found_a" != "X"; then
4505
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4507
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4510
additional_includedir=
4511
case "$found_dir" in
4513
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4514
additional_includedir="$basedir/include"
4517
if test "X$additional_includedir" != "X"; then
4518
if test "X$additional_includedir" != "X/usr/include"; then
4520
if test "X$additional_includedir" = "X/usr/local/include"; then
4521
if test -n "$GCC"; then
4523
linux*) haveit=yes;;
4527
if test -z "$haveit"; then
4528
for x in $CPPFLAGS $INCICONV; do
4530
acl_save_prefix="$prefix"
4531
prefix="$acl_final_prefix"
4532
acl_save_exec_prefix="$exec_prefix"
4533
exec_prefix="$acl_final_exec_prefix"
4535
exec_prefix="$acl_save_exec_prefix"
4536
prefix="$acl_save_prefix"
4538
if test "X$x" = "X-I$additional_includedir"; then
4543
if test -z "$haveit"; then
4544
if test -d "$additional_includedir"; then
4545
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4551
if test -n "$found_la"; then
4552
save_libdir="$libdir"
4554
*/* | *\\*) . "$found_la" ;;
4555
*) . "./$found_la" ;;
4557
libdir="$save_libdir"
4558
for dep in $dependency_libs; do
4561
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4562
if test "X$additional_libdir" != "X/usr/lib"; then
4564
if test "X$additional_libdir" = "X/usr/local/lib"; then
4565
if test -n "$GCC"; then
4567
linux*) haveit=yes;;
4571
if test -z "$haveit"; then
4573
for x in $LDFLAGS $LIBICONV; do
4575
acl_save_prefix="$prefix"
4576
prefix="$acl_final_prefix"
4577
acl_save_exec_prefix="$exec_prefix"
4578
exec_prefix="$acl_final_exec_prefix"
4580
exec_prefix="$acl_save_exec_prefix"
4581
prefix="$acl_save_prefix"
4583
if test "X$x" = "X-L$additional_libdir"; then
4588
if test -z "$haveit"; then
4589
if test -d "$additional_libdir"; then
4590
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4594
for x in $LDFLAGS $LTLIBICONV; do
4596
acl_save_prefix="$prefix"
4597
prefix="$acl_final_prefix"
4598
acl_save_exec_prefix="$exec_prefix"
4599
exec_prefix="$acl_final_exec_prefix"
4601
exec_prefix="$acl_save_exec_prefix"
4602
prefix="$acl_save_prefix"
4604
if test "X$x" = "X-L$additional_libdir"; then
4609
if test -z "$haveit"; then
4610
if test -d "$additional_libdir"; then
4611
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4618
dir=`echo "X$dep" | sed -e 's/^X-R//'`
4619
if test "$enable_rpath" != no; then
4621
for x in $rpathdirs; do
4622
if test "X$x" = "X$dir"; then
4627
if test -z "$haveit"; then
4628
rpathdirs="$rpathdirs $dir"
4631
for x in $ltrpathdirs; do
4632
if test "X$x" = "X$dir"; then
4637
if test -z "$haveit"; then
4638
ltrpathdirs="$ltrpathdirs $dir"
4643
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4646
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4649
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4650
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4656
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4657
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4663
if test "X$rpathdirs" != "X"; then
4664
if test -n "$hardcode_libdir_separator"; then
4666
for found_dir in $rpathdirs; do
4667
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4669
acl_save_libdir="$libdir"
4671
eval flag=\"$hardcode_libdir_flag_spec\"
4672
libdir="$acl_save_libdir"
4673
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4675
for found_dir in $rpathdirs; do
4676
acl_save_libdir="$libdir"
4678
eval flag=\"$hardcode_libdir_flag_spec\"
4679
libdir="$acl_save_libdir"
4680
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4684
if test "X$ltrpathdirs" != "X"; then
4685
for found_dir in $ltrpathdirs; do
4686
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4707
{ $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4708
$as_echo_n "checking whether NLS is requested... " >&6; }
4709
# Check whether --enable-nls was given.
4710
if test "${enable_nls+set}" = set; then
4711
enableval=$enable_nls; USE_NLS=$enableval
4716
{ $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
4717
$as_echo "$USE_NLS" >&6; }
4725
if test "$USE_NLS" = "yes"; then
4726
gt_use_preinstalled_gnugettext=no
4733
{ $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4734
$as_echo_n "checking for GNU gettext in libc... " >&6; }
4735
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4736
$as_echo_n "(cached) " >&6
4738
cat >conftest.$ac_ext <<_ACEOF
4741
cat confdefs.h >>conftest.$ac_ext
4742
cat >>conftest.$ac_ext <<_ACEOF
4743
/* end confdefs.h. */
4744
#include <libintl.h>
4745
extern int _nl_msg_cat_cntr;
4746
extern int *_nl_domain_bindings;
4750
bindtextdomain ("", "");
4751
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4756
rm -f conftest.$ac_objext conftest$ac_exeext
4757
if { (ac_try="$ac_link"
4759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760
*) ac_try_echo=$ac_try;;
4762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4763
$as_echo "$ac_try_echo") >&5
4764
(eval "$ac_link") 2>conftest.er1
4766
grep -v '^ *+' conftest.er1 >conftest.err
4768
cat conftest.err >&5
4769
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770
(exit $ac_status); } && {
4771
test -z "$ac_c_werror_flag" ||
4772
test ! -s conftest.err
4773
} && test -s conftest$ac_exeext && {
4774
test "$cross_compiling" = yes ||
4775
$as_test_x conftest$ac_exeext
4777
gt_cv_func_gnugettext1_libc=yes
4779
$as_echo "$as_me: failed program was:" >&5
4780
sed 's/^/| /' conftest.$ac_ext >&5
4782
gt_cv_func_gnugettext1_libc=no
4785
rm -rf conftest.dSYM
4786
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4787
conftest$ac_exeext conftest.$ac_ext
4789
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4790
$as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
4792
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4798
am_save_CPPFLAGS="$CPPFLAGS"
4800
for element in $INCICONV; do
4802
for x in $CPPFLAGS; do
4804
acl_save_prefix="$prefix"
4805
prefix="$acl_final_prefix"
4806
acl_save_exec_prefix="$exec_prefix"
4807
exec_prefix="$acl_final_exec_prefix"
4809
exec_prefix="$acl_save_exec_prefix"
4810
prefix="$acl_save_prefix"
4812
if test "X$x" = "X$element"; then
4817
if test -z "$haveit"; then
4818
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4823
{ $as_echo "$as_me:$LINENO: checking for iconv" >&5
4824
$as_echo_n "checking for iconv... " >&6; }
4825
if test "${am_cv_func_iconv+set}" = set; then
4826
$as_echo_n "(cached) " >&6
4829
am_cv_func_iconv="no, consider installing GNU libiconv"
4831
cat >conftest.$ac_ext <<_ACEOF
4834
cat confdefs.h >>conftest.$ac_ext
4835
cat >>conftest.$ac_ext <<_ACEOF
4836
/* end confdefs.h. */
4842
iconv_t cd = iconv_open("","");
4843
iconv(cd,NULL,NULL,NULL,NULL);
4849
rm -f conftest.$ac_objext conftest$ac_exeext
4850
if { (ac_try="$ac_link"
4852
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853
*) ac_try_echo=$ac_try;;
4855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4856
$as_echo "$ac_try_echo") >&5
4857
(eval "$ac_link") 2>conftest.er1
4859
grep -v '^ *+' conftest.er1 >conftest.err
4861
cat conftest.err >&5
4862
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863
(exit $ac_status); } && {
4864
test -z "$ac_c_werror_flag" ||
4865
test ! -s conftest.err
4866
} && test -s conftest$ac_exeext && {
4867
test "$cross_compiling" = yes ||
4868
$as_test_x conftest$ac_exeext
4870
am_cv_func_iconv=yes
4872
$as_echo "$as_me: failed program was:" >&5
4873
sed 's/^/| /' conftest.$ac_ext >&5
4878
rm -rf conftest.dSYM
4879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4880
conftest$ac_exeext conftest.$ac_ext
4881
if test "$am_cv_func_iconv" != yes; then
4882
am_save_LIBS="$LIBS"
4883
LIBS="$LIBS $LIBICONV"
4884
cat >conftest.$ac_ext <<_ACEOF
4887
cat confdefs.h >>conftest.$ac_ext
4888
cat >>conftest.$ac_ext <<_ACEOF
4889
/* end confdefs.h. */
4895
iconv_t cd = iconv_open("","");
4896
iconv(cd,NULL,NULL,NULL,NULL);
4902
rm -f conftest.$ac_objext conftest$ac_exeext
4903
if { (ac_try="$ac_link"
4905
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906
*) ac_try_echo=$ac_try;;
4908
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4909
$as_echo "$ac_try_echo") >&5
4910
(eval "$ac_link") 2>conftest.er1
4912
grep -v '^ *+' conftest.er1 >conftest.err
4914
cat conftest.err >&5
4915
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916
(exit $ac_status); } && {
4917
test -z "$ac_c_werror_flag" ||
4918
test ! -s conftest.err
4919
} && test -s conftest$ac_exeext && {
4920
test "$cross_compiling" = yes ||
4921
$as_test_x conftest$ac_exeext
4924
am_cv_func_iconv=yes
4926
$as_echo "$as_me: failed program was:" >&5
4927
sed 's/^/| /' conftest.$ac_ext >&5
4932
rm -rf conftest.dSYM
4933
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4934
conftest$ac_exeext conftest.$ac_ext
4935
LIBS="$am_save_LIBS"
4939
{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4940
$as_echo "$am_cv_func_iconv" >&6; }
4941
if test "$am_cv_func_iconv" = yes; then
4943
cat >>confdefs.h <<\_ACEOF
4944
#define HAVE_ICONV 1
4948
if test "$am_cv_lib_iconv" = yes; then
4949
{ $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4950
$as_echo_n "checking how to link with libiconv... " >&6; }
4951
{ $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
4952
$as_echo "$LIBICONV" >&6; }
4954
CPPFLAGS="$am_save_CPPFLAGS"
4966
acl_save_prefix="$prefix"
4967
prefix="$acl_final_prefix"
4968
acl_save_exec_prefix="$exec_prefix"
4969
exec_prefix="$acl_final_exec_prefix"
4971
eval additional_includedir=\"$includedir\"
4972
eval additional_libdir=\"$libdir\"
4974
exec_prefix="$acl_save_exec_prefix"
4975
prefix="$acl_save_prefix"
4978
# Check whether --with-libintl-prefix was given.
4979
if test "${with_libintl_prefix+set}" = set; then
4980
withval=$with_libintl_prefix;
4981
if test "X$withval" = "Xno"; then
4984
if test "X$withval" = "X"; then
4986
acl_save_prefix="$prefix"
4987
prefix="$acl_final_prefix"
4988
acl_save_exec_prefix="$exec_prefix"
4989
exec_prefix="$acl_final_exec_prefix"
4991
eval additional_includedir=\"$includedir\"
4992
eval additional_libdir=\"$libdir\"
4994
exec_prefix="$acl_save_exec_prefix"
4995
prefix="$acl_save_prefix"
4998
additional_includedir="$withval/include"
4999
additional_libdir="$withval/lib"
5010
names_already_handled=
5011
names_next_round='intl '
5012
while test -n "$names_next_round"; do
5013
names_this_round="$names_next_round"
5015
for name in $names_this_round; do
5017
for n in $names_already_handled; do
5018
if test "$n" = "$name"; then
5023
if test -z "$already_handled"; then
5024
names_already_handled="$names_already_handled $name"
5025
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5026
eval value=\"\$HAVE_LIB$uppername\"
5027
if test -n "$value"; then
5028
if test "$value" = yes; then
5029
eval value=\"\$LIB$uppername\"
5030
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5031
eval value=\"\$LTLIB$uppername\"
5032
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5041
if test $use_additional = yes; then
5042
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5043
found_dir="$additional_libdir"
5044
found_so="$additional_libdir/lib$name.$shlibext"
5045
if test -f "$additional_libdir/lib$name.la"; then
5046
found_la="$additional_libdir/lib$name.la"
5049
if test -f "$additional_libdir/lib$name.$libext"; then
5050
found_dir="$additional_libdir"
5051
found_a="$additional_libdir/lib$name.$libext"
5052
if test -f "$additional_libdir/lib$name.la"; then
5053
found_la="$additional_libdir/lib$name.la"
5058
if test "X$found_dir" = "X"; then
5059
for x in $LDFLAGS $LTLIBINTL; do
5061
acl_save_prefix="$prefix"
5062
prefix="$acl_final_prefix"
5063
acl_save_exec_prefix="$exec_prefix"
5064
exec_prefix="$acl_final_exec_prefix"
5066
exec_prefix="$acl_save_exec_prefix"
5067
prefix="$acl_save_prefix"
5071
dir=`echo "X$x" | sed -e 's/^X-L//'`
5072
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5074
found_so="$dir/lib$name.$shlibext"
5075
if test -f "$dir/lib$name.la"; then
5076
found_la="$dir/lib$name.la"
5079
if test -f "$dir/lib$name.$libext"; then
5081
found_a="$dir/lib$name.$libext"
5082
if test -f "$dir/lib$name.la"; then
5083
found_la="$dir/lib$name.la"
5089
if test "X$found_dir" != "X"; then
5094
if test "X$found_dir" != "X"; then
5095
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5096
if test "X$found_so" != "X"; then
5097
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5098
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5101
for x in $ltrpathdirs; do
5102
if test "X$x" = "X$found_dir"; then
5107
if test -z "$haveit"; then
5108
ltrpathdirs="$ltrpathdirs $found_dir"
5110
if test "$hardcode_direct" = yes; then
5111
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5113
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5114
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5116
for x in $rpathdirs; do
5117
if test "X$x" = "X$found_dir"; then
5122
if test -z "$haveit"; then
5123
rpathdirs="$rpathdirs $found_dir"
5127
for x in $LDFLAGS $LIBINTL; do
5129
acl_save_prefix="$prefix"
5130
prefix="$acl_final_prefix"
5131
acl_save_exec_prefix="$exec_prefix"
5132
exec_prefix="$acl_final_exec_prefix"
5134
exec_prefix="$acl_save_exec_prefix"
5135
prefix="$acl_save_prefix"
5137
if test "X$x" = "X-L$found_dir"; then
5142
if test -z "$haveit"; then
5143
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5145
if test "$hardcode_minus_L" != no; then
5146
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5148
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5154
if test "X$found_a" != "X"; then
5155
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5157
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5160
additional_includedir=
5161
case "$found_dir" in
5163
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5164
additional_includedir="$basedir/include"
5167
if test "X$additional_includedir" != "X"; then
5168
if test "X$additional_includedir" != "X/usr/include"; then
5170
if test "X$additional_includedir" = "X/usr/local/include"; then
5171
if test -n "$GCC"; then
5173
linux*) haveit=yes;;
5177
if test -z "$haveit"; then
5178
for x in $CPPFLAGS $INCINTL; do
5180
acl_save_prefix="$prefix"
5181
prefix="$acl_final_prefix"
5182
acl_save_exec_prefix="$exec_prefix"
5183
exec_prefix="$acl_final_exec_prefix"
5185
exec_prefix="$acl_save_exec_prefix"
5186
prefix="$acl_save_prefix"
5188
if test "X$x" = "X-I$additional_includedir"; then
5193
if test -z "$haveit"; then
5194
if test -d "$additional_includedir"; then
5195
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5201
if test -n "$found_la"; then
5202
save_libdir="$libdir"
5204
*/* | *\\*) . "$found_la" ;;
5205
*) . "./$found_la" ;;
5207
libdir="$save_libdir"
5208
for dep in $dependency_libs; do
5211
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5212
if test "X$additional_libdir" != "X/usr/lib"; then
5214
if test "X$additional_libdir" = "X/usr/local/lib"; then
5215
if test -n "$GCC"; then
5217
linux*) haveit=yes;;
5221
if test -z "$haveit"; then
5223
for x in $LDFLAGS $LIBINTL; do
5225
acl_save_prefix="$prefix"
5226
prefix="$acl_final_prefix"
5227
acl_save_exec_prefix="$exec_prefix"
5228
exec_prefix="$acl_final_exec_prefix"
5230
exec_prefix="$acl_save_exec_prefix"
5231
prefix="$acl_save_prefix"
5233
if test "X$x" = "X-L$additional_libdir"; then
5238
if test -z "$haveit"; then
5239
if test -d "$additional_libdir"; then
5240
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5244
for x in $LDFLAGS $LTLIBINTL; do
5246
acl_save_prefix="$prefix"
5247
prefix="$acl_final_prefix"
5248
acl_save_exec_prefix="$exec_prefix"
5249
exec_prefix="$acl_final_exec_prefix"
5251
exec_prefix="$acl_save_exec_prefix"
5252
prefix="$acl_save_prefix"
5254
if test "X$x" = "X-L$additional_libdir"; then
5259
if test -z "$haveit"; then
5260
if test -d "$additional_libdir"; then
5261
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5268
dir=`echo "X$dep" | sed -e 's/^X-R//'`
5269
if test "$enable_rpath" != no; then
5271
for x in $rpathdirs; do
5272
if test "X$x" = "X$dir"; then
5277
if test -z "$haveit"; then
5278
rpathdirs="$rpathdirs $dir"
5281
for x in $ltrpathdirs; do
5282
if test "X$x" = "X$dir"; then
5287
if test -z "$haveit"; then
5288
ltrpathdirs="$ltrpathdirs $dir"
5293
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5296
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5299
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5300
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5306
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5307
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5313
if test "X$rpathdirs" != "X"; then
5314
if test -n "$hardcode_libdir_separator"; then
5316
for found_dir in $rpathdirs; do
5317
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5319
acl_save_libdir="$libdir"
5321
eval flag=\"$hardcode_libdir_flag_spec\"
5322
libdir="$acl_save_libdir"
5323
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5325
for found_dir in $rpathdirs; do
5326
acl_save_libdir="$libdir"
5328
eval flag=\"$hardcode_libdir_flag_spec\"
5329
libdir="$acl_save_libdir"
5330
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5334
if test "X$ltrpathdirs" != "X"; then
5335
for found_dir in $ltrpathdirs; do
5336
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5340
{ $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
5341
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5342
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
5343
$as_echo_n "(cached) " >&6
5345
gt_save_CPPFLAGS="$CPPFLAGS"
5346
CPPFLAGS="$CPPFLAGS $INCINTL"
5347
gt_save_LIBS="$LIBS"
5348
LIBS="$LIBS $LIBINTL"
5349
cat >conftest.$ac_ext <<_ACEOF
5352
cat confdefs.h >>conftest.$ac_ext
5353
cat >>conftest.$ac_ext <<_ACEOF
5354
/* end confdefs.h. */
5355
#include <libintl.h>
5356
extern int _nl_msg_cat_cntr;
5361
const char *_nl_expand_alias ();
5365
bindtextdomain ("", "");
5366
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5371
rm -f conftest.$ac_objext conftest$ac_exeext
5372
if { (ac_try="$ac_link"
5374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5375
*) ac_try_echo=$ac_try;;
5377
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5378
$as_echo "$ac_try_echo") >&5
5379
(eval "$ac_link") 2>conftest.er1
5381
grep -v '^ *+' conftest.er1 >conftest.err
5383
cat conftest.err >&5
5384
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385
(exit $ac_status); } && {
5386
test -z "$ac_c_werror_flag" ||
5387
test ! -s conftest.err
5388
} && test -s conftest$ac_exeext && {
5389
test "$cross_compiling" = yes ||
5390
$as_test_x conftest$ac_exeext
5392
gt_cv_func_gnugettext1_libintl=yes
5394
$as_echo "$as_me: failed program was:" >&5
5395
sed 's/^/| /' conftest.$ac_ext >&5
5397
gt_cv_func_gnugettext1_libintl=no
5400
rm -rf conftest.dSYM
5401
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5402
conftest$ac_exeext conftest.$ac_ext
5403
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5404
LIBS="$LIBS $LIBICONV"
5405
cat >conftest.$ac_ext <<_ACEOF
5408
cat confdefs.h >>conftest.$ac_ext
5409
cat >>conftest.$ac_ext <<_ACEOF
5410
/* end confdefs.h. */
5411
#include <libintl.h>
5412
extern int _nl_msg_cat_cntr;
5417
const char *_nl_expand_alias ();
5421
bindtextdomain ("", "");
5422
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5427
rm -f conftest.$ac_objext conftest$ac_exeext
5428
if { (ac_try="$ac_link"
5430
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5431
*) ac_try_echo=$ac_try;;
5433
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5434
$as_echo "$ac_try_echo") >&5
5435
(eval "$ac_link") 2>conftest.er1
5437
grep -v '^ *+' conftest.er1 >conftest.err
5439
cat conftest.err >&5
5440
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441
(exit $ac_status); } && {
5442
test -z "$ac_c_werror_flag" ||
5443
test ! -s conftest.err
5444
} && test -s conftest$ac_exeext && {
5445
test "$cross_compiling" = yes ||
5446
$as_test_x conftest$ac_exeext
5448
LIBINTL="$LIBINTL $LIBICONV"
5449
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5450
gt_cv_func_gnugettext1_libintl=yes
5453
$as_echo "$as_me: failed program was:" >&5
5454
sed 's/^/| /' conftest.$ac_ext >&5
5459
rm -rf conftest.dSYM
5460
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5461
conftest$ac_exeext conftest.$ac_ext
5463
CPPFLAGS="$gt_save_CPPFLAGS"
5464
LIBS="$gt_save_LIBS"
5466
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
5467
$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
5470
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5471
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5472
&& test "$PACKAGE" != gettext; }; then
5473
gt_use_preinstalled_gnugettext=yes
5482
if test "$gt_use_preinstalled_gnugettext" = "yes" \
5483
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
5485
cat >>confdefs.h <<\_ACEOF
5486
#define ENABLE_NLS 1
5494
if test "$USE_NLS" = "yes"; then
5496
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5497
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5498
{ $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5
5499
$as_echo_n "checking how to link with libintl... " >&6; }
5500
{ $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5
5501
$as_echo "$LIBINTL" >&6; }
5503
for element in $INCINTL; do
5505
for x in $CPPFLAGS; do
5507
acl_save_prefix="$prefix"
5508
prefix="$acl_final_prefix"
5509
acl_save_exec_prefix="$exec_prefix"
5510
exec_prefix="$acl_final_exec_prefix"
5512
exec_prefix="$acl_save_exec_prefix"
5513
prefix="$acl_save_prefix"
5515
if test "X$x" = "X$element"; then
5520
if test -z "$haveit"; then
5521
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5528
cat >>confdefs.h <<\_ACEOF
5529
#define HAVE_GETTEXT 1
5533
cat >>confdefs.h <<\_ACEOF
5534
#define HAVE_DCGETTEXT 1
5552
GETTEXT_PACKAGE=gst-entrans-$GST_MAJORMINOR
5555
cat >>confdefs.h <<_ACEOF
5556
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5562
FROM_VAR=$datadir/locale
5565
exec_prefix_save=$exec_prefix
5567
if test "x$prefix" = "xNONE"; then
5568
prefix="$ac_default_prefix"
5570
if test "x$exec_prefix" = "xNONE"; then
5574
full_var="$FROM_VAR"
5576
new_full_var="`eval echo $full_var`"
5577
if test "x$new_full_var" = "x$full_var"; then break; fi
5578
full_var=$new_full_var
5581
full_var=$new_full_var
5582
LOCALEDIR="$full_var"
5586
exec_prefix=$exec_prefix_save
5589
cat >>confdefs.h <<_ACEOF
5590
#define LOCALEDIR "$LOCALEDIR"
5597
# Check whether --enable-debug was given.
5598
if test "${enable_debug+set}" = set; then
5599
enableval=$enable_debug;
5600
case "${enableval}" in
5601
yes) USE_DEBUG=yes ;;
5603
*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
5604
$as_echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
5605
{ (exit 1); exit 1; }; } ;;
5613
# Check whether --enable-profiling was given.
5614
if test "${enable_profiling+set}" = set; then
5615
enableval=$enable_profiling;
5616
case "${enableval}" in
5617
yes) USE_PROFILING=yes ;;
5618
no) USE_PROFILING=no ;;
5619
*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-profiling" >&5
5620
$as_echo "$as_me: error: bad value ${enableval} for --enable-profiling" >&2;}
5621
{ (exit 1); exit 1; }; } ;;
5629
# Check whether --enable-gcov was given.
5630
if test "${enable_gcov+set}" = set; then
5631
enableval=$enable_gcov; enable_gcov=$enableval
5636
if test x$enable_gcov = xyes ; then
5637
if test "x$GCC" != "xyes"
5639
{ { $as_echo "$as_me:$LINENO: error: gcov only works if gcc is used" >&5
5640
$as_echo "$as_me: error: gcov only works if gcc is used" >&2;}
5641
{ (exit 1); exit 1; }; }
5645
{ $as_echo "$as_me:$LINENO: checking to see if compiler understands \"-fprofile-arcs\"" >&5
5646
$as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
5648
save_CFLAGS="$CFLAGS"
5649
CFLAGS="$CFLAGS "-fprofile-arcs""
5651
cat >conftest.$ac_ext <<_ACEOF
5654
cat confdefs.h >>conftest.$ac_ext
5655
cat >>conftest.$ac_ext <<_ACEOF
5656
/* end confdefs.h. */
5666
rm -f conftest.$ac_objext
5667
if { (ac_try="$ac_compile"
5669
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670
*) ac_try_echo=$ac_try;;
5672
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5673
$as_echo "$ac_try_echo") >&5
5674
(eval "$ac_compile") 2>conftest.er1
5676
grep -v '^ *+' conftest.er1 >conftest.err
5678
cat conftest.err >&5
5679
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680
(exit $ac_status); } && {
5681
test -z "$ac_c_werror_flag" ||
5682
test ! -s conftest.err
5683
} && test -s conftest.$ac_objext; then
5686
$as_echo "$as_me: failed program was:" >&5
5687
sed 's/^/| /' conftest.$ac_ext >&5
5692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5693
CFLAGS="$save_CFLAGS"
5695
if test "X$flag_ok" = Xyes ; then
5696
GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
5702
{ $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
5703
$as_echo "$flag_ok" >&6; }
5706
{ $as_echo "$as_me:$LINENO: checking to see if compiler understands \"-ftest-coverage\"" >&5
5707
$as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
5709
save_CFLAGS="$CFLAGS"
5710
CFLAGS="$CFLAGS "-ftest-coverage""
5712
cat >conftest.$ac_ext <<_ACEOF
5715
cat confdefs.h >>conftest.$ac_ext
5716
cat >>conftest.$ac_ext <<_ACEOF
5717
/* end confdefs.h. */
5727
rm -f conftest.$ac_objext
5728
if { (ac_try="$ac_compile"
5730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5731
*) ac_try_echo=$ac_try;;
5733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5734
$as_echo "$ac_try_echo") >&5
5735
(eval "$ac_compile") 2>conftest.er1
5737
grep -v '^ *+' conftest.er1 >conftest.err
5739
cat conftest.err >&5
5740
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741
(exit $ac_status); } && {
5742
test -z "$ac_c_werror_flag" ||
5743
test ! -s conftest.err
5744
} && test -s conftest.$ac_objext; then
5747
$as_echo "$as_me: failed program was:" >&5
5748
sed 's/^/| /' conftest.$ac_ext >&5
5753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754
CFLAGS="$save_CFLAGS"
5756
if test "X$flag_ok" = Xyes ; then
5757
GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
5763
{ $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
5764
$as_echo "$flag_ok" >&6; }
5766
GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O0-9*//g'`
5770
GCOV=`echo $CC | sed s/gcc/gcov/g`
5773
GST_GCOV_ENABLED=yes
5775
cat >>confdefs.h <<_ACEOF
5776
#define GST_GCOV_ENABLED 1
5779
if test "x$GST_GCOV_ENABLED" = "xyes"
5789
{ $as_echo "$as_me:$LINENO: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
5790
$as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
5793
if test x$enable_gcov = xyes; then
5794
GST_GCOV_ENABLED_TRUE=
5795
GST_GCOV_ENABLED_FALSE='#'
5797
GST_GCOV_ENABLED_TRUE='#'
5798
GST_GCOV_ENABLED_FALSE=
5804
ac_cpp='$CPP $CPPFLAGS'
5805
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5806
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5807
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5808
if test -n "$ac_tool_prefix"; then
5809
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5810
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5811
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5812
$as_echo_n "checking for $ac_word... " >&6; }
5813
if test "${ac_cv_prog_CC+set}" = set; then
5814
$as_echo_n "(cached) " >&6
5816
if test -n "$CC"; then
5817
ac_cv_prog_CC="$CC" # Let the user override the test.
5819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823
test -z "$as_dir" && as_dir=.
5824
for ac_exec_ext in '' $ac_executable_extensions; do
5825
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826
ac_cv_prog_CC="${ac_tool_prefix}gcc"
5827
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837
if test -n "$CC"; then
5838
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
5839
$as_echo "$CC" >&6; }
5841
{ $as_echo "$as_me:$LINENO: result: no" >&5
5842
$as_echo "no" >&6; }
5847
if test -z "$ac_cv_prog_CC"; then
5849
# Extract the first word of "gcc", so it can be a program name with args.
5850
set dummy gcc; ac_word=$2
5851
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5852
$as_echo_n "checking for $ac_word... " >&6; }
5853
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5854
$as_echo_n "(cached) " >&6
5856
if test -n "$ac_ct_CC"; then
5857
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5859
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863
test -z "$as_dir" && as_dir=.
5864
for ac_exec_ext in '' $ac_executable_extensions; do
5865
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866
ac_cv_prog_ac_ct_CC="gcc"
5867
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5877
if test -n "$ac_ct_CC"; then
5878
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5879
$as_echo "$ac_ct_CC" >&6; }
5881
{ $as_echo "$as_me:$LINENO: result: no" >&5
5882
$as_echo "no" >&6; }
5885
if test "x$ac_ct_CC" = x; then
5888
case $cross_compiling:$ac_tool_warned in
5890
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5891
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892
ac_tool_warned=yes ;;
5900
if test -z "$CC"; then
5901
if test -n "$ac_tool_prefix"; then
5902
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5903
set dummy ${ac_tool_prefix}cc; ac_word=$2
5904
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5905
$as_echo_n "checking for $ac_word... " >&6; }
5906
if test "${ac_cv_prog_CC+set}" = set; then
5907
$as_echo_n "(cached) " >&6
5909
if test -n "$CC"; then
5910
ac_cv_prog_CC="$CC" # Let the user override the test.
5912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916
test -z "$as_dir" && as_dir=.
5917
for ac_exec_ext in '' $ac_executable_extensions; do
5918
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919
ac_cv_prog_CC="${ac_tool_prefix}cc"
5920
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5930
if test -n "$CC"; then
5931
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
5932
$as_echo "$CC" >&6; }
5934
{ $as_echo "$as_me:$LINENO: result: no" >&5
5935
$as_echo "no" >&6; }
5941
if test -z "$CC"; then
5942
# Extract the first word of "cc", so it can be a program name with args.
5943
set dummy cc; ac_word=$2
5944
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5945
$as_echo_n "checking for $ac_word... " >&6; }
5946
if test "${ac_cv_prog_CC+set}" = set; then
5947
$as_echo_n "(cached) " >&6
5949
if test -n "$CC"; then
5950
ac_cv_prog_CC="$CC" # Let the user override the test.
5953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957
test -z "$as_dir" && as_dir=.
5958
for ac_exec_ext in '' $ac_executable_extensions; do
5959
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5961
ac_prog_rejected=yes
5965
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972
if test $ac_prog_rejected = yes; then
5973
# We found a bogon in the path, so make sure we never use it.
5974
set dummy $ac_cv_prog_CC
5976
if test $# != 0; then
5977
# We chose a different compiler from the bogus one.
5978
# However, it has the same basename, so the bogon will be chosen
5979
# first if we set CC to just the basename; use the full file name.
5981
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5987
if test -n "$CC"; then
5988
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
5989
$as_echo "$CC" >&6; }
5991
{ $as_echo "$as_me:$LINENO: result: no" >&5
5992
$as_echo "no" >&6; }
5997
if test -z "$CC"; then
5998
if test -n "$ac_tool_prefix"; then
5999
for ac_prog in cl.exe
6001
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6002
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6003
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6004
$as_echo_n "checking for $ac_word... " >&6; }
6005
if test "${ac_cv_prog_CC+set}" = set; then
6006
$as_echo_n "(cached) " >&6
6008
if test -n "$CC"; then
6009
ac_cv_prog_CC="$CC" # Let the user override the test.
6011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015
test -z "$as_dir" && as_dir=.
6016
for ac_exec_ext in '' $ac_executable_extensions; do
6017
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6018
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6019
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029
if test -n "$CC"; then
6030
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
6031
$as_echo "$CC" >&6; }
6033
{ $as_echo "$as_me:$LINENO: result: no" >&5
6034
$as_echo "no" >&6; }
6038
test -n "$CC" && break
6041
if test -z "$CC"; then
6043
for ac_prog in cl.exe
6045
# Extract the first word of "$ac_prog", so it can be a program name with args.
6046
set dummy $ac_prog; ac_word=$2
6047
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6048
$as_echo_n "checking for $ac_word... " >&6; }
6049
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6050
$as_echo_n "(cached) " >&6
6052
if test -n "$ac_ct_CC"; then
6053
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059
test -z "$as_dir" && as_dir=.
6060
for ac_exec_ext in '' $ac_executable_extensions; do
6061
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062
ac_cv_prog_ac_ct_CC="$ac_prog"
6063
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072
ac_ct_CC=$ac_cv_prog_ac_ct_CC
6073
if test -n "$ac_ct_CC"; then
6074
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6075
$as_echo "$ac_ct_CC" >&6; }
6077
{ $as_echo "$as_me:$LINENO: result: no" >&5
6078
$as_echo "no" >&6; }
6082
test -n "$ac_ct_CC" && break
6085
if test "x$ac_ct_CC" = x; then
6088
case $cross_compiling:$ac_tool_warned in
6090
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092
ac_tool_warned=yes ;;
6101
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6102
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6103
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6104
See \`config.log' for more details." >&5
6105
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
6106
See \`config.log' for more details." >&2;}
6107
{ (exit 1); exit 1; }; }; }
6109
# Provide some information about the compiler.
6110
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
6113
{ (ac_try="$ac_compiler --version >&5"
6115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6116
*) ac_try_echo=$ac_try;;
6118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6119
$as_echo "$ac_try_echo") >&5
6120
(eval "$ac_compiler --version >&5") 2>&5
6122
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123
(exit $ac_status); }
6124
{ (ac_try="$ac_compiler -v >&5"
6126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6127
*) ac_try_echo=$ac_try;;
6129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6130
$as_echo "$ac_try_echo") >&5
6131
(eval "$ac_compiler -v >&5") 2>&5
6133
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134
(exit $ac_status); }
6135
{ (ac_try="$ac_compiler -V >&5"
6137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6138
*) ac_try_echo=$ac_try;;
6140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6141
$as_echo "$ac_try_echo") >&5
6142
(eval "$ac_compiler -V >&5") 2>&5
6144
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145
(exit $ac_status); }
6147
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6148
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6149
if test "${ac_cv_c_compiler_gnu+set}" = set; then
6150
$as_echo_n "(cached) " >&6
6152
cat >conftest.$ac_ext <<_ACEOF
6155
cat confdefs.h >>conftest.$ac_ext
6156
cat >>conftest.$ac_ext <<_ACEOF
6157
/* end confdefs.h. */
6170
rm -f conftest.$ac_objext
6171
if { (ac_try="$ac_compile"
6173
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6174
*) ac_try_echo=$ac_try;;
6176
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6177
$as_echo "$ac_try_echo") >&5
6178
(eval "$ac_compile") 2>conftest.er1
6180
grep -v '^ *+' conftest.er1 >conftest.err
6182
cat conftest.err >&5
6183
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184
(exit $ac_status); } && {
6185
test -z "$ac_c_werror_flag" ||
6186
test ! -s conftest.err
6187
} && test -s conftest.$ac_objext; then
6190
$as_echo "$as_me: failed program was:" >&5
6191
sed 's/^/| /' conftest.$ac_ext >&5
6196
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6197
ac_cv_c_compiler_gnu=$ac_compiler_gnu
6200
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6201
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
6202
if test $ac_compiler_gnu = yes; then
6207
ac_test_CFLAGS=${CFLAGS+set}
6208
ac_save_CFLAGS=$CFLAGS
6209
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6210
$as_echo_n "checking whether $CC accepts -g... " >&6; }
6211
if test "${ac_cv_prog_cc_g+set}" = set; then
6212
$as_echo_n "(cached) " >&6
6214
ac_save_c_werror_flag=$ac_c_werror_flag
6215
ac_c_werror_flag=yes
6218
cat >conftest.$ac_ext <<_ACEOF
6221
cat confdefs.h >>conftest.$ac_ext
6222
cat >>conftest.$ac_ext <<_ACEOF
6223
/* end confdefs.h. */
6233
rm -f conftest.$ac_objext
6234
if { (ac_try="$ac_compile"
6236
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6237
*) ac_try_echo=$ac_try;;
6239
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6240
$as_echo "$ac_try_echo") >&5
6241
(eval "$ac_compile") 2>conftest.er1
6243
grep -v '^ *+' conftest.er1 >conftest.err
6245
cat conftest.err >&5
6246
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247
(exit $ac_status); } && {
6248
test -z "$ac_c_werror_flag" ||
6249
test ! -s conftest.err
6250
} && test -s conftest.$ac_objext; then
6253
$as_echo "$as_me: failed program was:" >&5
6254
sed 's/^/| /' conftest.$ac_ext >&5
6257
cat >conftest.$ac_ext <<_ACEOF
6260
cat confdefs.h >>conftest.$ac_ext
6261
cat >>conftest.$ac_ext <<_ACEOF
6262
/* end confdefs.h. */
6272
rm -f conftest.$ac_objext
6273
if { (ac_try="$ac_compile"
6275
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6276
*) ac_try_echo=$ac_try;;
6278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6279
$as_echo "$ac_try_echo") >&5
6280
(eval "$ac_compile") 2>conftest.er1
6282
grep -v '^ *+' conftest.er1 >conftest.err
6284
cat conftest.err >&5
6285
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286
(exit $ac_status); } && {
6287
test -z "$ac_c_werror_flag" ||
6288
test ! -s conftest.err
6289
} && test -s conftest.$ac_objext; then
6292
$as_echo "$as_me: failed program was:" >&5
6293
sed 's/^/| /' conftest.$ac_ext >&5
6295
ac_c_werror_flag=$ac_save_c_werror_flag
6297
cat >conftest.$ac_ext <<_ACEOF
6300
cat confdefs.h >>conftest.$ac_ext
6301
cat >>conftest.$ac_ext <<_ACEOF
6302
/* end confdefs.h. */
6312
rm -f conftest.$ac_objext
6313
if { (ac_try="$ac_compile"
6315
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6316
*) ac_try_echo=$ac_try;;
6318
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6319
$as_echo "$ac_try_echo") >&5
6320
(eval "$ac_compile") 2>conftest.er1
6322
grep -v '^ *+' conftest.er1 >conftest.err
6324
cat conftest.err >&5
6325
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326
(exit $ac_status); } && {
6327
test -z "$ac_c_werror_flag" ||
6328
test ! -s conftest.err
6329
} && test -s conftest.$ac_objext; then
6332
$as_echo "$as_me: failed program was:" >&5
6333
sed 's/^/| /' conftest.$ac_ext >&5
6338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6344
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6345
ac_c_werror_flag=$ac_save_c_werror_flag
6347
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6348
$as_echo "$ac_cv_prog_cc_g" >&6; }
6349
if test "$ac_test_CFLAGS" = set; then
6350
CFLAGS=$ac_save_CFLAGS
6351
elif test $ac_cv_prog_cc_g = yes; then
6352
if test "$GCC" = yes; then
6358
if test "$GCC" = yes; then
6364
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6365
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6366
if test "${ac_cv_prog_cc_c89+set}" = set; then
6367
$as_echo_n "(cached) " >&6
6369
ac_cv_prog_cc_c89=no
6371
cat >conftest.$ac_ext <<_ACEOF
6374
cat confdefs.h >>conftest.$ac_ext
6375
cat >>conftest.$ac_ext <<_ACEOF
6376
/* end confdefs.h. */
6379
#include <sys/types.h>
6380
#include <sys/stat.h>
6381
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6382
struct buf { int x; };
6383
FILE * (*rcsopen) (struct buf *, struct stat *, int);
6384
static char *e (p, i)
6390
static char *f (char * (*g) (char **, int), char **p, ...)
6395
s = g (p, va_arg (v,int));
6400
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6401
function prototypes and stuff, but not '\xHH' hex character constants.
6402
These don't provoke an error unfortunately, instead are silently treated
6403
as 'x'. The following induces an error, until -std is added to get
6404
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6405
array size at least. It's necessary to write '\x00'==0 to get something
6406
that's true only with -std. */
6407
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6409
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6410
inside strings and character constants. */
6412
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6414
int test (int i, double x);
6415
struct s1 {int (*f) (int a);};
6416
struct s2 {int (*f) (double a);};
6417
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6423
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6428
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6429
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6431
CC="$ac_save_CC $ac_arg"
6432
rm -f conftest.$ac_objext
6433
if { (ac_try="$ac_compile"
6435
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436
*) ac_try_echo=$ac_try;;
6438
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6439
$as_echo "$ac_try_echo") >&5
6440
(eval "$ac_compile") 2>conftest.er1
6442
grep -v '^ *+' conftest.er1 >conftest.err
6444
cat conftest.err >&5
6445
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446
(exit $ac_status); } && {
6447
test -z "$ac_c_werror_flag" ||
6448
test ! -s conftest.err
6449
} && test -s conftest.$ac_objext; then
6450
ac_cv_prog_cc_c89=$ac_arg
6452
$as_echo "$as_me: failed program was:" >&5
6453
sed 's/^/| /' conftest.$ac_ext >&5
6458
rm -f core conftest.err conftest.$ac_objext
6459
test "x$ac_cv_prog_cc_c89" != "xno" && break
6461
rm -f conftest.$ac_ext
6466
case "x$ac_cv_prog_cc_c89" in
6468
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
6469
$as_echo "none needed" >&6; } ;;
6471
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
6472
$as_echo "unsupported" >&6; } ;;
6474
CC="$CC $ac_cv_prog_cc_c89"
6475
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6476
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6481
ac_cpp='$CPP $CPPFLAGS'
6482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6486
depcc="$CC" am_compiler_list=
6488
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6489
$as_echo_n "checking dependency style of $depcc... " >&6; }
6490
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6491
$as_echo_n "(cached) " >&6
6493
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6494
# We make a subdir and do the tests there. Otherwise we can end up
6495
# making bogus files that we don't know about and never remove. For
6496
# instance it was reported that on HP-UX the gcc test will end up
6497
# making a dummy file named `D' -- because `-MD' means `put the output
6500
# Copy depcomp to subdir because otherwise we won't find it if we're
6501
# using a relative directory.
6502
cp "$am_depcomp" conftest.dir
6504
# We will build objects and dependencies in a subdirectory because
6505
# it helps to detect inapplicable dependency modes. For instance
6506
# both Tru64's cc and ICC support -MD to output dependencies as a
6507
# side effect of compilation, but ICC will put the dependencies in
6508
# the current directory while Tru64 will put them in the object
6512
am_cv_CC_dependencies_compiler_type=none
6513
if test "$am_compiler_list" = ""; then
6514
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6516
for depmode in $am_compiler_list; do
6517
# Setup a source with many dependencies, because some compilers
6518
# like to wrap large dependency lists on column 80 (with \), and
6519
# we should not choose a depcomp mode which is confused by this.
6521
# We need to recreate these files for each test, as the compiler may
6522
# overwrite some of them when testing with obscure command lines.
6523
# This happens at least with the AIX C compiler.
6525
for i in 1 2 3 4 5 6; do
6526
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6527
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6528
# Solaris 8's {/usr,}/bin/sh.
6529
touch sub/conftst$i.h
6531
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6535
# after this tag, mechanisms are not by side-effect, so they'll
6536
# only be used when explicitly requested
6537
if test "x$enable_dependency_tracking" = xyes; then
6545
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6546
# mode. It turns out that the SunPro C++ compiler does not properly
6547
# handle `-M -o', and we need to detect this.
6548
if depmode=$depmode \
6549
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6550
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6551
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6552
>/dev/null 2>conftest.err &&
6553
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6554
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6555
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6556
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6557
# icc doesn't choke on unknown options, it will just issue warnings
6558
# or remarks (even with -Werror). So we grep stderr for any message
6559
# that says an option was ignored or not supported.
6560
# When given -MP, icc 7.0 and 7.1 complain thusly:
6561
# icc: Command line warning: ignoring option '-M'; no argument required
6562
# The diagnosis changed in icc 8.0:
6563
# icc: Command line remark: option '-MP' not supported
6564
if (grep 'ignoring option' conftest.err ||
6565
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6566
am_cv_CC_dependencies_compiler_type=$depmode
6575
am_cv_CC_dependencies_compiler_type=none
6579
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6580
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6581
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6584
test "x$enable_dependency_tracking" != xno \
6585
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6587
am__fastdepCC_FALSE='#'
6589
am__fastdepCC_TRUE='#'
6590
am__fastdepCC_FALSE=
6594
# By default we simply use the C compiler to build assembly code.
6596
test "${CCAS+set}" = set || CCAS=$CC
6597
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
6601
depcc="$CCAS" am_compiler_list=
6603
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6604
$as_echo_n "checking dependency style of $depcc... " >&6; }
6605
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
6606
$as_echo_n "(cached) " >&6
6608
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6609
# We make a subdir and do the tests there. Otherwise we can end up
6610
# making bogus files that we don't know about and never remove. For
6611
# instance it was reported that on HP-UX the gcc test will end up
6612
# making a dummy file named `D' -- because `-MD' means `put the output
6615
# Copy depcomp to subdir because otherwise we won't find it if we're
6616
# using a relative directory.
6617
cp "$am_depcomp" conftest.dir
6619
# We will build objects and dependencies in a subdirectory because
6620
# it helps to detect inapplicable dependency modes. For instance
6621
# both Tru64's cc and ICC support -MD to output dependencies as a
6622
# side effect of compilation, but ICC will put the dependencies in
6623
# the current directory while Tru64 will put them in the object
6627
am_cv_CCAS_dependencies_compiler_type=none
6628
if test "$am_compiler_list" = ""; then
6629
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6631
for depmode in $am_compiler_list; do
6632
# Setup a source with many dependencies, because some compilers
6633
# like to wrap large dependency lists on column 80 (with \), and
6634
# we should not choose a depcomp mode which is confused by this.
6636
# We need to recreate these files for each test, as the compiler may
6637
# overwrite some of them when testing with obscure command lines.
6638
# This happens at least with the AIX C compiler.
6640
for i in 1 2 3 4 5 6; do
6641
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6642
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6643
# Solaris 8's {/usr,}/bin/sh.
6644
touch sub/conftst$i.h
6646
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6650
# after this tag, mechanisms are not by side-effect, so they'll
6651
# only be used when explicitly requested
6652
if test "x$enable_dependency_tracking" = xyes; then
6660
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6661
# mode. It turns out that the SunPro C++ compiler does not properly
6662
# handle `-M -o', and we need to detect this.
6663
if depmode=$depmode \
6664
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6665
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6666
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6667
>/dev/null 2>conftest.err &&
6668
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6669
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6670
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6671
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6672
# icc doesn't choke on unknown options, it will just issue warnings
6673
# or remarks (even with -Werror). So we grep stderr for any message
6674
# that says an option was ignored or not supported.
6675
# When given -MP, icc 7.0 and 7.1 complain thusly:
6676
# icc: Command line warning: ignoring option '-M'; no argument required
6677
# The diagnosis changed in icc 8.0:
6678
# icc: Command line remark: option '-MP' not supported
6679
if (grep 'ignoring option' conftest.err ||
6680
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6681
am_cv_CCAS_dependencies_compiler_type=$depmode
6690
am_cv_CCAS_dependencies_compiler_type=none
6694
{ $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6695
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6696
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
6699
test "x$enable_dependency_tracking" != xno \
6700
&& test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
6701
am__fastdepCCAS_TRUE=
6702
am__fastdepCCAS_FALSE='#'
6704
am__fastdepCCAS_TRUE='#'
6705
am__fastdepCCAS_FALSE=
6711
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6712
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6717
macro_version='2.2.6'
6718
macro_revision='1.3012'
6732
ltmain="$ac_aux_dir/ltmain.sh"
6734
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6735
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6736
if test "${ac_cv_path_SED+set}" = set; then
6737
$as_echo_n "(cached) " >&6
6739
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6740
for ac_i in 1 2 3 4 5 6 7; do
6741
ac_script="$ac_script$as_nl$ac_script"
6743
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6744
$as_unset ac_script || ac_script=
6745
if test -z "$SED"; then
6746
ac_path_SED_found=false
6747
# Loop through the user's path and test for each of PROGNAME-LIST
6748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752
test -z "$as_dir" && as_dir=.
6753
for ac_prog in sed gsed; do
6754
for ac_exec_ext in '' $ac_executable_extensions; do
6755
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6756
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6757
# Check for GNU ac_path_SED and select it if it is found.
6758
# Check for GNU $ac_path_SED
6759
case `"$ac_path_SED" --version 2>&1` in
6761
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6764
$as_echo_n 0123456789 >"conftest.in"
6767
cat "conftest.in" "conftest.in" >"conftest.tmp"
6768
mv "conftest.tmp" "conftest.in"
6769
cp "conftest.in" "conftest.nl"
6770
$as_echo '' >> "conftest.nl"
6771
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6772
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6773
ac_count=`expr $ac_count + 1`
6774
if test $ac_count -gt ${ac_path_SED_max-0}; then
6775
# Best one so far, save it but keep looking for a better one
6776
ac_cv_path_SED="$ac_path_SED"
6777
ac_path_SED_max=$ac_count
6779
# 10*(2^10) chars as input seems more than enough
6780
test $ac_count -gt 10 && break
6782
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6785
$ac_path_SED_found && break 3
6790
if test -z "$ac_cv_path_SED"; then
6791
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6792
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6793
{ (exit 1); exit 1; }; }
6800
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6801
$as_echo "$ac_cv_path_SED" >&6; }
6802
SED="$ac_cv_path_SED"
6805
test -z "$SED" && SED=sed
6806
Xsed="$SED -e 1s/^X//"
6818
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6819
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6820
if test "${ac_cv_path_GREP+set}" = set; then
6821
$as_echo_n "(cached) " >&6
6823
if test -z "$GREP"; then
6824
ac_path_GREP_found=false
6825
# Loop through the user's path and test for each of PROGNAME-LIST
6826
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6830
test -z "$as_dir" && as_dir=.
6831
for ac_prog in grep ggrep; do
6832
for ac_exec_ext in '' $ac_executable_extensions; do
6833
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6834
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6835
# Check for GNU ac_path_GREP and select it if it is found.
6836
# Check for GNU $ac_path_GREP
6837
case `"$ac_path_GREP" --version 2>&1` in
6839
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6842
$as_echo_n 0123456789 >"conftest.in"
6845
cat "conftest.in" "conftest.in" >"conftest.tmp"
6846
mv "conftest.tmp" "conftest.in"
6847
cp "conftest.in" "conftest.nl"
6848
$as_echo 'GREP' >> "conftest.nl"
6849
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6850
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6851
ac_count=`expr $ac_count + 1`
6852
if test $ac_count -gt ${ac_path_GREP_max-0}; then
6853
# Best one so far, save it but keep looking for a better one
6854
ac_cv_path_GREP="$ac_path_GREP"
6855
ac_path_GREP_max=$ac_count
6857
# 10*(2^10) chars as input seems more than enough
6858
test $ac_count -gt 10 && break
6860
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6863
$ac_path_GREP_found && break 3
6868
if test -z "$ac_cv_path_GREP"; then
6869
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6870
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6871
{ (exit 1); exit 1; }; }
6874
ac_cv_path_GREP=$GREP
6878
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6879
$as_echo "$ac_cv_path_GREP" >&6; }
6880
GREP="$ac_cv_path_GREP"
6883
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
6884
$as_echo_n "checking for egrep... " >&6; }
6885
if test "${ac_cv_path_EGREP+set}" = set; then
6886
$as_echo_n "(cached) " >&6
6888
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6889
then ac_cv_path_EGREP="$GREP -E"
6891
if test -z "$EGREP"; then
6892
ac_path_EGREP_found=false
6893
# Loop through the user's path and test for each of PROGNAME-LIST
6894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6898
test -z "$as_dir" && as_dir=.
6899
for ac_prog in egrep; do
6900
for ac_exec_ext in '' $ac_executable_extensions; do
6901
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6902
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6903
# Check for GNU ac_path_EGREP and select it if it is found.
6904
# Check for GNU $ac_path_EGREP
6905
case `"$ac_path_EGREP" --version 2>&1` in
6907
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6910
$as_echo_n 0123456789 >"conftest.in"
6913
cat "conftest.in" "conftest.in" >"conftest.tmp"
6914
mv "conftest.tmp" "conftest.in"
6915
cp "conftest.in" "conftest.nl"
6916
$as_echo 'EGREP' >> "conftest.nl"
6917
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6918
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6919
ac_count=`expr $ac_count + 1`
6920
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6921
# Best one so far, save it but keep looking for a better one
6922
ac_cv_path_EGREP="$ac_path_EGREP"
6923
ac_path_EGREP_max=$ac_count
6925
# 10*(2^10) chars as input seems more than enough
6926
test $ac_count -gt 10 && break
6928
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6931
$ac_path_EGREP_found && break 3
6936
if test -z "$ac_cv_path_EGREP"; then
6937
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6938
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6939
{ (exit 1); exit 1; }; }
6942
ac_cv_path_EGREP=$EGREP
6947
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6948
$as_echo "$ac_cv_path_EGREP" >&6; }
6949
EGREP="$ac_cv_path_EGREP"
6952
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
6953
$as_echo_n "checking for fgrep... " >&6; }
6954
if test "${ac_cv_path_FGREP+set}" = set; then
6955
$as_echo_n "(cached) " >&6
6957
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6958
then ac_cv_path_FGREP="$GREP -F"
6960
if test -z "$FGREP"; then
6961
ac_path_FGREP_found=false
6962
# Loop through the user's path and test for each of PROGNAME-LIST
6963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6967
test -z "$as_dir" && as_dir=.
6968
for ac_prog in fgrep; do
6969
for ac_exec_ext in '' $ac_executable_extensions; do
6970
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6971
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6972
# Check for GNU ac_path_FGREP and select it if it is found.
6973
# Check for GNU $ac_path_FGREP
6974
case `"$ac_path_FGREP" --version 2>&1` in
6976
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6979
$as_echo_n 0123456789 >"conftest.in"
6982
cat "conftest.in" "conftest.in" >"conftest.tmp"
6983
mv "conftest.tmp" "conftest.in"
6984
cp "conftest.in" "conftest.nl"
6985
$as_echo 'FGREP' >> "conftest.nl"
6986
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6987
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6988
ac_count=`expr $ac_count + 1`
6989
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6990
# Best one so far, save it but keep looking for a better one
6991
ac_cv_path_FGREP="$ac_path_FGREP"
6992
ac_path_FGREP_max=$ac_count
6994
# 10*(2^10) chars as input seems more than enough
6995
test $ac_count -gt 10 && break
6997
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7000
$ac_path_FGREP_found && break 3
7005
if test -z "$ac_cv_path_FGREP"; then
7006
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7007
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7008
{ (exit 1); exit 1; }; }
7011
ac_cv_path_FGREP=$FGREP
7016
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
7017
$as_echo "$ac_cv_path_FGREP" >&6; }
7018
FGREP="$ac_cv_path_FGREP"
7021
test -z "$GREP" && GREP=grep
7041
# Check whether --with-gnu-ld was given.
7042
if test "${with_gnu_ld+set}" = set; then
7043
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7049
if test "$GCC" = yes; then
7050
# Check if gcc -print-prog-name=ld gives a path.
7051
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7052
$as_echo_n "checking for ld used by $CC... " >&6; }
7055
# gcc leaves a trailing carriage return which upsets mingw
7056
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7058
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7061
# Accept absolute paths.
7063
re_direlt='/[^/][^/]*/\.\./'
7064
# Canonicalize the pathname of ld
7065
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7066
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7067
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7069
test -z "$LD" && LD="$ac_prog"
7072
# If it fails, then pretend we aren't using GCC.
7076
# If it is relative, then search for the first ld in PATH.
7080
elif test "$with_gnu_ld" = yes; then
7081
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
7082
$as_echo_n "checking for GNU ld... " >&6; }
7084
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7085
$as_echo_n "checking for non-GNU ld... " >&6; }
7087
if test "${lt_cv_path_LD+set}" = set; then
7088
$as_echo_n "(cached) " >&6
7090
if test -z "$LD"; then
7091
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7092
for ac_dir in $PATH; do
7094
test -z "$ac_dir" && ac_dir=.
7095
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7096
lt_cv_path_LD="$ac_dir/$ac_prog"
7097
# Check to see if the program is GNU ld. I'd rather use --version,
7098
# but apparently some variants of GNU ld only accept -v.
7099
# Break only if it was the GNU/non-GNU ld that we prefer.
7100
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7101
*GNU* | *'with BFD'*)
7102
test "$with_gnu_ld" != no && break
7105
test "$with_gnu_ld" != yes && break
7112
lt_cv_path_LD="$LD" # Let the user override the test with a path.
7117
if test -n "$LD"; then
7118
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
7119
$as_echo "$LD" >&6; }
7121
{ $as_echo "$as_me:$LINENO: result: no" >&5
7122
$as_echo "no" >&6; }
7124
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7125
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7126
{ (exit 1); exit 1; }; }
7127
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7128
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7129
if test "${lt_cv_prog_gnu_ld+set}" = set; then
7130
$as_echo_n "(cached) " >&6
7132
# I'd rather use --version here, but apparently some GNU lds only accept -v.
7133
case `$LD -v 2>&1 </dev/null` in
7134
*GNU* | *'with BFD'*)
7135
lt_cv_prog_gnu_ld=yes
7138
lt_cv_prog_gnu_ld=no
7142
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7143
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
7144
with_gnu_ld=$lt_cv_prog_gnu_ld
7154
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
7155
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7156
if test "${lt_cv_path_NM+set}" = set; then
7157
$as_echo_n "(cached) " >&6
7159
if test -n "$NM"; then
7160
# Let the user override the test.
7163
lt_nm_to_check="${ac_tool_prefix}nm"
7164
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7165
lt_nm_to_check="$lt_nm_to_check nm"
7167
for lt_tmp_nm in $lt_nm_to_check; do
7168
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7169
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7171
test -z "$ac_dir" && ac_dir=.
7172
tmp_nm="$ac_dir/$lt_tmp_nm"
7173
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7174
# Check to see if the nm accepts a BSD-compat flag.
7175
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7176
# nm: unknown option "B" ignored
7177
# Tru64's nm complains that /dev/null is an invalid object file
7178
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7179
*/dev/null* | *'Invalid file or object type'*)
7180
lt_cv_path_NM="$tmp_nm -B"
7184
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7186
lt_cv_path_NM="$tmp_nm -p"
7190
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7191
continue # so that we can try to find one that supports BSD flags
7200
: ${lt_cv_path_NM=no}
7203
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7204
$as_echo "$lt_cv_path_NM" >&6; }
7205
if test "$lt_cv_path_NM" != "no"; then
7208
# Didn't find any BSD compatible name lister, look for dumpbin.
7209
if test -n "$ac_tool_prefix"; then
7210
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7212
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7213
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7214
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7215
$as_echo_n "checking for $ac_word... " >&6; }
7216
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
7217
$as_echo_n "(cached) " >&6
7219
if test -n "$DUMPBIN"; then
7220
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226
test -z "$as_dir" && as_dir=.
7227
for ac_exec_ext in '' $ac_executable_extensions; do
7228
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7229
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7230
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7239
DUMPBIN=$ac_cv_prog_DUMPBIN
7240
if test -n "$DUMPBIN"; then
7241
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
7242
$as_echo "$DUMPBIN" >&6; }
7244
{ $as_echo "$as_me:$LINENO: result: no" >&5
7245
$as_echo "no" >&6; }
7249
test -n "$DUMPBIN" && break
7252
if test -z "$DUMPBIN"; then
7253
ac_ct_DUMPBIN=$DUMPBIN
7254
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7256
# Extract the first word of "$ac_prog", so it can be a program name with args.
7257
set dummy $ac_prog; ac_word=$2
7258
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7259
$as_echo_n "checking for $ac_word... " >&6; }
7260
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
7261
$as_echo_n "(cached) " >&6
7263
if test -n "$ac_ct_DUMPBIN"; then
7264
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7266
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270
test -z "$as_dir" && as_dir=.
7271
for ac_exec_ext in '' $ac_executable_extensions; do
7272
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7273
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7274
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7283
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7284
if test -n "$ac_ct_DUMPBIN"; then
7285
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
7286
$as_echo "$ac_ct_DUMPBIN" >&6; }
7288
{ $as_echo "$as_me:$LINENO: result: no" >&5
7289
$as_echo "no" >&6; }
7293
test -n "$ac_ct_DUMPBIN" && break
7296
if test "x$ac_ct_DUMPBIN" = x; then
7299
case $cross_compiling:$ac_tool_warned in
7301
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7302
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303
ac_tool_warned=yes ;;
7305
DUMPBIN=$ac_ct_DUMPBIN
7310
if test "$DUMPBIN" != ":"; then
7314
test -z "$NM" && NM=nm
7321
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
7322
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7323
if test "${lt_cv_nm_interface+set}" = set; then
7324
$as_echo_n "(cached) " >&6
7326
lt_cv_nm_interface="BSD nm"
7327
echo "int some_variable = 0;" > conftest.$ac_ext
7328
(eval echo "\"\$as_me:7328: $ac_compile\"" >&5)
7329
(eval "$ac_compile" 2>conftest.err)
7330
cat conftest.err >&5
7331
(eval echo "\"\$as_me:7331: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7332
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7333
cat conftest.err >&5
7334
(eval echo "\"\$as_me:7334: output\"" >&5)
7335
cat conftest.out >&5
7336
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7337
lt_cv_nm_interface="MS dumpbin"
7341
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
7342
$as_echo "$lt_cv_nm_interface" >&6; }
7344
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
7345
$as_echo_n "checking whether ln -s works... " >&6; }
7347
if test "$LN_S" = "ln -s"; then
7348
{ $as_echo "$as_me:$LINENO: result: yes" >&5
7349
$as_echo "yes" >&6; }
7351
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7352
$as_echo "no, using $LN_S" >&6; }
7355
# find the maximum length of command line arguments
7356
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7357
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7358
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7359
$as_echo_n "(cached) " >&6
7366
# On DJGPP, this test can blow up pretty badly due to problems in libc
7367
# (any single argument exceeding 2000 bytes causes a buffer overrun
7368
# during glob expansion). Even if it were fixed, the result of this
7369
# check would be larger than it should be.
7370
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7374
# Under GNU Hurd, this test is not required because there is
7375
# no limit to the length of command line arguments.
7376
# Libtool will interpret -1 as no limit whatsoever
7377
lt_cv_sys_max_cmd_len=-1;
7380
cygwin* | mingw* | cegcc*)
7381
# On Win9x/ME, this test blows up -- it succeeds, but takes
7382
# about 5 minutes as the teststring grows exponentially.
7383
# Worse, since 9x/ME are not pre-emptively multitasking,
7384
# you end up with a "frozen" computer, even though with patience
7385
# the test eventually succeeds (with a max line length of 256k).
7386
# Instead, let's just punt: use the minimum linelength reported by
7387
# all of the supported platforms: 8192 (on NT/2K/XP).
7388
lt_cv_sys_max_cmd_len=8192;
7392
# On AmigaOS with pdksh, this test takes hours, literally.
7393
# So we just punt and use a minimum line length of 8192.
7394
lt_cv_sys_max_cmd_len=8192;
7397
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7398
# This has been around since 386BSD, at least. Likely further.
7399
if test -x /sbin/sysctl; then
7400
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7401
elif test -x /usr/sbin/sysctl; then
7402
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7404
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7406
# And add a safety zone
7407
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7408
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7412
# We know the value 262144 and hardcode it with a safety zone (like BSD)
7413
lt_cv_sys_max_cmd_len=196608
7417
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7418
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7419
# nice to cause kernel panics so lets avoid the loop below.
7420
# First set a reasonable default.
7421
lt_cv_sys_max_cmd_len=16384
7423
if test -x /sbin/sysconfig; then
7424
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7425
*1*) lt_cv_sys_max_cmd_len=-1 ;;
7430
lt_cv_sys_max_cmd_len=102400
7432
sysv5* | sco5v6* | sysv4.2uw2*)
7433
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7434
if test -n "$kargmax"; then
7435
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7437
lt_cv_sys_max_cmd_len=32768
7441
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7442
if test -n "$lt_cv_sys_max_cmd_len"; then
7443
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7444
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7446
# Make teststring a little bigger before we do anything with it.
7447
# a 1K string should be a reasonable start.
7448
for i in 1 2 3 4 5 6 7 8 ; do
7449
teststring=$teststring$teststring
7451
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7452
# If test is not a shell built-in, we'll probably end up computing a
7453
# maximum length that is only half of the actual maximum length, but
7455
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7456
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7457
test $i != 17 # 1/2 MB should be enough
7460
teststring=$teststring$teststring
7462
# Only check the string length outside the loop.
7463
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7465
# Add a significant safety factor because C++ compilers can tack on
7466
# massive amounts of additional arguments before passing them to the
7467
# linker. It appears as though 1/2 is a usable value.
7468
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7475
if test -n $lt_cv_sys_max_cmd_len ; then
7476
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7477
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7479
{ $as_echo "$as_me:$LINENO: result: none" >&5
7480
$as_echo "none" >&6; }
7482
max_cmd_len=$lt_cv_sys_max_cmd_len
7493
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
7494
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7495
# Try some XSI features
7498
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7500
&& eval 'test $(( 1 + 1 )) -eq 2 \
7501
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7503
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
7504
$as_echo "$xsi_shell" >&6; }
7507
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
7508
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7510
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7512
&& lt_shell_append=yes
7513
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
7514
$as_echo "$lt_shell_append" >&6; }
7517
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7527
# test EBCDIC or ASCII
7528
case `echo X|tr X '\101'` in
7529
A) # ASCII based system
7530
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7531
lt_SP2NL='tr \040 \012'
7532
lt_NL2SP='tr \015\012 \040\040'
7534
*) # EBCDIC based system
7535
lt_SP2NL='tr \100 \n'
7536
lt_NL2SP='tr \r\n \100\100'
7548
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7549
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7550
if test "${lt_cv_ld_reload_flag+set}" = set; then
7551
$as_echo_n "(cached) " >&6
7553
lt_cv_ld_reload_flag='-r'
7555
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7556
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7557
reload_flag=$lt_cv_ld_reload_flag
7558
case $reload_flag in
7560
*) reload_flag=" $reload_flag" ;;
7562
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7565
if test "$GCC" = yes; then
7566
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7568
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7581
if test -n "$ac_tool_prefix"; then
7582
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7583
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7584
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7585
$as_echo_n "checking for $ac_word... " >&6; }
7586
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7587
$as_echo_n "(cached) " >&6
7589
if test -n "$OBJDUMP"; then
7590
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596
test -z "$as_dir" && as_dir=.
7597
for ac_exec_ext in '' $ac_executable_extensions; do
7598
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7599
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7600
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7609
OBJDUMP=$ac_cv_prog_OBJDUMP
7610
if test -n "$OBJDUMP"; then
7611
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7612
$as_echo "$OBJDUMP" >&6; }
7614
{ $as_echo "$as_me:$LINENO: result: no" >&5
7615
$as_echo "no" >&6; }
7620
if test -z "$ac_cv_prog_OBJDUMP"; then
7621
ac_ct_OBJDUMP=$OBJDUMP
7622
# Extract the first word of "objdump", so it can be a program name with args.
7623
set dummy objdump; ac_word=$2
7624
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7625
$as_echo_n "checking for $ac_word... " >&6; }
7626
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7627
$as_echo_n "(cached) " >&6
7629
if test -n "$ac_ct_OBJDUMP"; then
7630
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636
test -z "$as_dir" && as_dir=.
7637
for ac_exec_ext in '' $ac_executable_extensions; do
7638
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639
ac_cv_prog_ac_ct_OBJDUMP="objdump"
7640
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7649
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7650
if test -n "$ac_ct_OBJDUMP"; then
7651
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7652
$as_echo "$ac_ct_OBJDUMP" >&6; }
7654
{ $as_echo "$as_me:$LINENO: result: no" >&5
7655
$as_echo "no" >&6; }
7658
if test "x$ac_ct_OBJDUMP" = x; then
7661
case $cross_compiling:$ac_tool_warned in
7663
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7664
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665
ac_tool_warned=yes ;;
7667
OBJDUMP=$ac_ct_OBJDUMP
7670
OBJDUMP="$ac_cv_prog_OBJDUMP"
7673
test -z "$OBJDUMP" && OBJDUMP=objdump
7683
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7684
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7685
if test "${lt_cv_deplibs_check_method+set}" = set; then
7686
$as_echo_n "(cached) " >&6
7688
lt_cv_file_magic_cmd='$MAGIC_CMD'
7689
lt_cv_file_magic_test_file=
7690
lt_cv_deplibs_check_method='unknown'
7691
# Need to set the preceding variable on all platforms that support
7692
# interlibrary dependencies.
7693
# 'none' -- dependencies not supported.
7694
# `unknown' -- same as none, but documents that we really don't know.
7695
# 'pass_all' -- all dependencies passed with no checks.
7696
# 'test_compile' -- check by making test program.
7697
# 'file_magic [[regex]]' -- check by looking for files in library path
7698
# which responds to the $file_magic_cmd with a given extended regex.
7699
# If you have `file' or equivalent on your system and you're not sure
7700
# whether `pass_all' will *always* work, you probably want this one.
7704
lt_cv_deplibs_check_method=pass_all
7708
lt_cv_deplibs_check_method=pass_all
7712
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7713
lt_cv_file_magic_cmd='/usr/bin/file -L'
7714
lt_cv_file_magic_test_file=/shlib/libc.so
7718
# func_win32_libid is a shell function defined in ltmain.sh
7719
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7720
lt_cv_file_magic_cmd='func_win32_libid'
7724
# Base MSYS/MinGW do not provide the 'file' command needed by
7725
# func_win32_libid shell function, so use a weaker test based on 'objdump',
7726
# unless we find 'file', for example because we are cross-compiling.
7727
if ( file / ) >/dev/null 2>&1; then
7728
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7729
lt_cv_file_magic_cmd='func_win32_libid'
7731
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7732
lt_cv_file_magic_cmd='$OBJDUMP -f'
7737
# use the weaker test based on 'objdump'. See mingw*.
7738
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7739
lt_cv_file_magic_cmd='$OBJDUMP -f'
7742
darwin* | rhapsody*)
7743
lt_cv_deplibs_check_method=pass_all
7746
freebsd* | dragonfly*)
7747
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7750
# Not sure whether the presence of OpenBSD here was a mistake.
7751
# Let's accept both of them until this is cleared up.
7752
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7753
lt_cv_file_magic_cmd=/usr/bin/file
7754
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7758
lt_cv_deplibs_check_method=pass_all
7763
lt_cv_deplibs_check_method=pass_all
7766
hpux10.20* | hpux11*)
7767
lt_cv_file_magic_cmd=/usr/bin/file
7770
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7771
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7774
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]'
7775
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7778
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7779
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7785
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7786
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7789
irix5* | irix6* | nonstopux*)
7791
*-32|*"-32 ") libmagic=32-bit;;
7792
*-n32|*"-n32 ") libmagic=N32;;
7793
*-64|*"-64 ") libmagic=64-bit;;
7794
*) libmagic=never-match;;
7796
lt_cv_deplibs_check_method=pass_all
7799
# This must be Linux ELF.
7800
linux* | k*bsd*-gnu)
7801
lt_cv_deplibs_check_method=pass_all
7804
netbsd* | netbsdelf*-gnu)
7805
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7806
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7808
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7813
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7814
lt_cv_file_magic_cmd=/usr/bin/file
7815
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7819
lt_cv_deplibs_check_method=pass_all
7823
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7824
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7826
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7830
osf3* | osf4* | osf5*)
7831
lt_cv_deplibs_check_method=pass_all
7835
lt_cv_deplibs_check_method=pass_all
7839
lt_cv_deplibs_check_method=pass_all
7842
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7843
lt_cv_deplibs_check_method=pass_all
7847
case $host_vendor in
7849
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]'
7850
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7853
lt_cv_deplibs_check_method=pass_all
7856
lt_cv_file_magic_cmd='/bin/file'
7857
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7860
lt_cv_file_magic_cmd='/bin/file'
7861
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7862
lt_cv_file_magic_test_file=/lib/libc.so
7865
lt_cv_deplibs_check_method=pass_all
7868
lt_cv_deplibs_check_method=pass_all
7874
lt_cv_deplibs_check_method=pass_all
7879
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7880
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7881
file_magic_cmd=$lt_cv_file_magic_cmd
7882
deplibs_check_method=$lt_cv_deplibs_check_method
7883
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7896
if test -n "$ac_tool_prefix"; then
7897
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7898
set dummy ${ac_tool_prefix}ar; ac_word=$2
7899
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7900
$as_echo_n "checking for $ac_word... " >&6; }
7901
if test "${ac_cv_prog_AR+set}" = set; then
7902
$as_echo_n "(cached) " >&6
7904
if test -n "$AR"; then
7905
ac_cv_prog_AR="$AR" # Let the user override the test.
7907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911
test -z "$as_dir" && as_dir=.
7912
for ac_exec_ext in '' $ac_executable_extensions; do
7913
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7914
ac_cv_prog_AR="${ac_tool_prefix}ar"
7915
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7925
if test -n "$AR"; then
7926
{ $as_echo "$as_me:$LINENO: result: $AR" >&5
7927
$as_echo "$AR" >&6; }
7929
{ $as_echo "$as_me:$LINENO: result: no" >&5
7930
$as_echo "no" >&6; }
7935
if test -z "$ac_cv_prog_AR"; then
7937
# Extract the first word of "ar", so it can be a program name with args.
7938
set dummy ar; ac_word=$2
7939
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7940
$as_echo_n "checking for $ac_word... " >&6; }
7941
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7942
$as_echo_n "(cached) " >&6
7944
if test -n "$ac_ct_AR"; then
7945
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951
test -z "$as_dir" && as_dir=.
7952
for ac_exec_ext in '' $ac_executable_extensions; do
7953
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7954
ac_cv_prog_ac_ct_AR="ar"
7955
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7964
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7965
if test -n "$ac_ct_AR"; then
7966
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7967
$as_echo "$ac_ct_AR" >&6; }
7969
{ $as_echo "$as_me:$LINENO: result: no" >&5
7970
$as_echo "no" >&6; }
7973
if test "x$ac_ct_AR" = x; then
7976
case $cross_compiling:$ac_tool_warned in
7978
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7980
ac_tool_warned=yes ;;
7988
test -z "$AR" && AR=ar
7989
test -z "$AR_FLAGS" && AR_FLAGS=cru
8001
if test -n "$ac_tool_prefix"; then
8002
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8003
set dummy ${ac_tool_prefix}strip; ac_word=$2
8004
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8005
$as_echo_n "checking for $ac_word... " >&6; }
8006
if test "${ac_cv_prog_STRIP+set}" = set; then
8007
$as_echo_n "(cached) " >&6
8009
if test -n "$STRIP"; then
8010
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016
test -z "$as_dir" && as_dir=.
8017
for ac_exec_ext in '' $ac_executable_extensions; do
8018
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8019
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8020
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8029
STRIP=$ac_cv_prog_STRIP
8030
if test -n "$STRIP"; then
8031
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8032
$as_echo "$STRIP" >&6; }
8034
{ $as_echo "$as_me:$LINENO: result: no" >&5
8035
$as_echo "no" >&6; }
8040
if test -z "$ac_cv_prog_STRIP"; then
8042
# Extract the first word of "strip", so it can be a program name with args.
8043
set dummy strip; ac_word=$2
8044
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8045
$as_echo_n "checking for $ac_word... " >&6; }
8046
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8047
$as_echo_n "(cached) " >&6
8049
if test -n "$ac_ct_STRIP"; then
8050
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056
test -z "$as_dir" && as_dir=.
8057
for ac_exec_ext in '' $ac_executable_extensions; do
8058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8059
ac_cv_prog_ac_ct_STRIP="strip"
8060
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8069
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8070
if test -n "$ac_ct_STRIP"; then
8071
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8072
$as_echo "$ac_ct_STRIP" >&6; }
8074
{ $as_echo "$as_me:$LINENO: result: no" >&5
8075
$as_echo "no" >&6; }
8078
if test "x$ac_ct_STRIP" = x; then
8081
case $cross_compiling:$ac_tool_warned in
8083
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8084
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8085
ac_tool_warned=yes ;;
8090
STRIP="$ac_cv_prog_STRIP"
8093
test -z "$STRIP" && STRIP=:
8100
if test -n "$ac_tool_prefix"; then
8101
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8102
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8103
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8104
$as_echo_n "checking for $ac_word... " >&6; }
8105
if test "${ac_cv_prog_RANLIB+set}" = set; then
8106
$as_echo_n "(cached) " >&6
8108
if test -n "$RANLIB"; then
8109
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115
test -z "$as_dir" && as_dir=.
8116
for ac_exec_ext in '' $ac_executable_extensions; do
8117
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8118
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8119
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8128
RANLIB=$ac_cv_prog_RANLIB
8129
if test -n "$RANLIB"; then
8130
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
8131
$as_echo "$RANLIB" >&6; }
8133
{ $as_echo "$as_me:$LINENO: result: no" >&5
8134
$as_echo "no" >&6; }
8139
if test -z "$ac_cv_prog_RANLIB"; then
8140
ac_ct_RANLIB=$RANLIB
8141
# Extract the first word of "ranlib", so it can be a program name with args.
8142
set dummy ranlib; ac_word=$2
8143
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8144
$as_echo_n "checking for $ac_word... " >&6; }
8145
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8146
$as_echo_n "(cached) " >&6
8148
if test -n "$ac_ct_RANLIB"; then
8149
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155
test -z "$as_dir" && as_dir=.
8156
for ac_exec_ext in '' $ac_executable_extensions; do
8157
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158
ac_cv_prog_ac_ct_RANLIB="ranlib"
8159
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8168
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8169
if test -n "$ac_ct_RANLIB"; then
8170
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8171
$as_echo "$ac_ct_RANLIB" >&6; }
8173
{ $as_echo "$as_me:$LINENO: result: no" >&5
8174
$as_echo "no" >&6; }
8177
if test "x$ac_ct_RANLIB" = x; then
8180
case $cross_compiling:$ac_tool_warned in
8182
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8183
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8184
ac_tool_warned=yes ;;
8186
RANLIB=$ac_ct_RANLIB
8189
RANLIB="$ac_cv_prog_RANLIB"
8192
test -z "$RANLIB" && RANLIB=:
8199
# Determine commands to create old-style static archives.
8200
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8201
old_postinstall_cmds='chmod 644 $oldlib'
8202
old_postuninstall_cmds=
8204
if test -n "$RANLIB"; then
8207
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8210
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8213
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8249
# If no C compiler was specified, use CC.
8252
# If no C compiler flags were specified, use CFLAGS.
8253
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8255
# Allow CC to be a program name with arguments.
8259
# Check for command to grab the raw symbol name followed by C symbol from nm.
8260
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8261
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8262
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8263
$as_echo_n "(cached) " >&6
8266
# These are sane defaults that work on at least a few old systems.
8267
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8269
# Character class describing NM global symbol codes.
8270
symcode='[BCDEGRST]'
8272
# Regexp to match symbols that can be accessed directly from C.
8273
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8275
# Define system-specific variables.
8280
cygwin* | mingw* | pw32* | cegcc*)
8281
symcode='[ABCDGISTW]'
8284
if test "$host_cpu" = ia64; then
8285
symcode='[ABCDEGRST]'
8289
symcode='[BCDEGRST]'
8292
symcode='[BCDEGQRST]'
8303
sysv5* | sco5v6* | unixware* | OpenUNIX*)
8311
# If we're using GNU nm, then use its standard symbol codes.
8312
case `$NM -V 2>&1` in
8313
*GNU* | *'with BFD'*)
8314
symcode='[ABCDGIRSTW]' ;;
8317
# Transform an extracted symbol line into a proper C declaration.
8318
# Some systems (esp. on ia64) link data and code symbols differently,
8319
# so use this general approach.
8320
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8322
# Transform an extracted symbol line into symbol name and symbol address
8323
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8324
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'"
8326
# Handle CRLF in mingw tool chain
8330
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8334
# Try without a prefix underscore, then with it.
8335
for ac_symprfx in "" "_"; do
8337
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8338
symxfrm="\\1 $ac_symprfx\\2 \\2"
8340
# Write the raw and C identifiers.
8341
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8342
# Fake it for dumpbin and say T for any non-static function
8343
# and D for any global variable.
8344
# Also find C++ and __fastcall symbols from MSVC++,
8345
# which start with @ or ?.
8346
lt_cv_sys_global_symbol_pipe="$AWK '"\
8347
" {last_section=section; section=\$ 3};"\
8348
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8349
" \$ 0!~/External *\|/{next};"\
8350
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8351
" {if(hide[section]) next};"\
8352
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8353
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8354
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
8355
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8356
" ' prfx=^$ac_symprfx"
8358
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8361
# Check to see that the pipe works correctly.
8365
cat > conftest.$ac_ext <<_LT_EOF
8370
void nm_test_func(void);
8371
void nm_test_func(void){}
8375
int main(){nm_test_var='a';nm_test_func();return(0);}
8378
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8379
(eval $ac_compile) 2>&5
8381
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382
(exit $ac_status); }; then
8383
# Now try to grab the symbols.
8385
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8386
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8388
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389
(exit $ac_status); } && test -s "$nlist"; then
8390
# Try sorting and uniquifying the output.
8391
if sort "$nlist" | uniq > "$nlist"T; then
8392
mv -f "$nlist"T "$nlist"
8397
# Make sure that we snagged all the symbols we need.
8398
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8399
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8400
cat <<_LT_EOF > conftest.$ac_ext
8406
# Now generate the symbol file.
8407
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8409
cat <<_LT_EOF >> conftest.$ac_ext
8411
/* The mapping between symbol names and symbols. */
8416
lt__PROGRAM__LTX_preloaded_symbols[] =
8418
{ "@PROGRAM@", (void *) 0 },
8420
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8421
cat <<\_LT_EOF >> conftest.$ac_ext
8425
/* This works around a problem in FreeBSD linker */
8426
#ifdef FREEBSD_WORKAROUND
8427
static const void *lt_preloaded_setup() {
8428
return lt__PROGRAM__LTX_preloaded_symbols;
8436
# Now try linking the two files.
8437
mv conftest.$ac_objext conftstm.$ac_objext
8438
lt_save_LIBS="$LIBS"
8439
lt_save_CFLAGS="$CFLAGS"
8440
LIBS="conftstm.$ac_objext"
8441
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8442
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8443
(eval $ac_link) 2>&5
8445
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446
(exit $ac_status); } && test -s conftest${ac_exeext}; then
8449
LIBS="$lt_save_LIBS"
8450
CFLAGS="$lt_save_CFLAGS"
8452
echo "cannot find nm_test_func in $nlist" >&5
8455
echo "cannot find nm_test_var in $nlist" >&5
8458
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8461
echo "$progname: failed program was:" >&5
8462
cat conftest.$ac_ext >&5
8464
rm -rf conftest* conftst*
8466
# Do not use the global_symbol_pipe unless it works.
8467
if test "$pipe_works" = yes; then
8470
lt_cv_sys_global_symbol_pipe=
8476
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8477
lt_cv_sys_global_symbol_to_cdecl=
8479
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8480
{ $as_echo "$as_me:$LINENO: result: failed" >&5
8481
$as_echo "failed" >&6; }
8483
{ $as_echo "$as_me:$LINENO: result: ok" >&5
8484
$as_echo "ok" >&6; }
8508
# Check whether --enable-libtool-lock was given.
8509
if test "${enable_libtool_lock+set}" = set; then
8510
enableval=$enable_libtool_lock;
8513
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8515
# Some flags need to be propagated to the compiler or linker for good
8519
# Find out which ABI we are using.
8520
echo 'int i;' > conftest.$ac_ext
8521
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8522
(eval $ac_compile) 2>&5
8524
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525
(exit $ac_status); }; then
8526
case `/usr/bin/file conftest.$ac_objext` in
8538
# Find out which ABI we are using.
8539
echo '#line 8539 "configure"' > conftest.$ac_ext
8540
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8541
(eval $ac_compile) 2>&5
8543
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544
(exit $ac_status); }; then
8545
if test "$lt_cv_prog_gnu_ld" = yes; then
8546
case `/usr/bin/file conftest.$ac_objext` in
8548
LD="${LD-ld} -melf32bsmip"
8551
LD="${LD-ld} -melf32bmipn32"
8554
LD="${LD-ld} -melf64bmip"
8558
case `/usr/bin/file conftest.$ac_objext` in
8574
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8575
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8576
# Find out which ABI we are using.
8577
echo 'int i;' > conftest.$ac_ext
8578
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8579
(eval $ac_compile) 2>&5
8581
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582
(exit $ac_status); }; then
8583
case `/usr/bin/file conftest.o` in
8586
x86_64-*kfreebsd*-gnu)
8587
LD="${LD-ld} -m elf_i386_fbsd"
8590
LD="${LD-ld} -m elf_i386"
8592
ppc64-*linux*|powerpc64-*linux*)
8593
LD="${LD-ld} -m elf32ppclinux"
8596
LD="${LD-ld} -m elf_s390"
8599
LD="${LD-ld} -m elf32_sparc"
8605
x86_64-*kfreebsd*-gnu)
8606
LD="${LD-ld} -m elf_x86_64_fbsd"
8609
LD="${LD-ld} -m elf_x86_64"
8611
ppc*-*linux*|powerpc*-*linux*)
8612
LD="${LD-ld} -m elf64ppc"
8614
s390*-*linux*|s390*-*tpf*)
8615
LD="${LD-ld} -m elf64_s390"
8618
LD="${LD-ld} -m elf64_sparc"
8628
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8629
SAVE_CFLAGS="$CFLAGS"
8630
CFLAGS="$CFLAGS -belf"
8631
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8632
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8633
if test "${lt_cv_cc_needs_belf+set}" = set; then
8634
$as_echo_n "(cached) " >&6
8637
ac_cpp='$CPP $CPPFLAGS'
8638
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8639
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8640
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8642
cat >conftest.$ac_ext <<_ACEOF
8645
cat confdefs.h >>conftest.$ac_ext
8646
cat >>conftest.$ac_ext <<_ACEOF
8647
/* end confdefs.h. */
8657
rm -f conftest.$ac_objext conftest$ac_exeext
8658
if { (ac_try="$ac_link"
8660
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661
*) ac_try_echo=$ac_try;;
8663
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8664
$as_echo "$ac_try_echo") >&5
8665
(eval "$ac_link") 2>conftest.er1
8667
grep -v '^ *+' conftest.er1 >conftest.err
8669
cat conftest.err >&5
8670
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671
(exit $ac_status); } && {
8672
test -z "$ac_c_werror_flag" ||
8673
test ! -s conftest.err
8674
} && test -s conftest$ac_exeext && {
8675
test "$cross_compiling" = yes ||
8676
$as_test_x conftest$ac_exeext
8678
lt_cv_cc_needs_belf=yes
8680
$as_echo "$as_me: failed program was:" >&5
8681
sed 's/^/| /' conftest.$ac_ext >&5
8683
lt_cv_cc_needs_belf=no
8686
rm -rf conftest.dSYM
8687
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8688
conftest$ac_exeext conftest.$ac_ext
8690
ac_cpp='$CPP $CPPFLAGS'
8691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8692
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8693
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8696
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8697
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8698
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8699
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8700
CFLAGS="$SAVE_CFLAGS"
8704
# Find out which ABI we are using.
8705
echo 'int i;' > conftest.$ac_ext
8706
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8707
(eval $ac_compile) 2>&5
8709
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710
(exit $ac_status); }; then
8711
case `/usr/bin/file conftest.o` in
8713
case $lt_cv_prog_gnu_ld in
8714
yes*) LD="${LD-ld} -m elf64_sparc" ;;
8716
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8728
need_locks="$enable_libtool_lock"
8732
rhapsody* | darwin*)
8733
if test -n "$ac_tool_prefix"; then
8734
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8735
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8736
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8737
$as_echo_n "checking for $ac_word... " >&6; }
8738
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8739
$as_echo_n "(cached) " >&6
8741
if test -n "$DSYMUTIL"; then
8742
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8748
test -z "$as_dir" && as_dir=.
8749
for ac_exec_ext in '' $ac_executable_extensions; do
8750
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8752
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8761
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8762
if test -n "$DSYMUTIL"; then
8763
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8764
$as_echo "$DSYMUTIL" >&6; }
8766
{ $as_echo "$as_me:$LINENO: result: no" >&5
8767
$as_echo "no" >&6; }
8772
if test -z "$ac_cv_prog_DSYMUTIL"; then
8773
ac_ct_DSYMUTIL=$DSYMUTIL
8774
# Extract the first word of "dsymutil", so it can be a program name with args.
8775
set dummy dsymutil; ac_word=$2
8776
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8777
$as_echo_n "checking for $ac_word... " >&6; }
8778
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8779
$as_echo_n "(cached) " >&6
8781
if test -n "$ac_ct_DSYMUTIL"; then
8782
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8788
test -z "$as_dir" && as_dir=.
8789
for ac_exec_ext in '' $ac_executable_extensions; do
8790
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8791
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8792
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8801
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8802
if test -n "$ac_ct_DSYMUTIL"; then
8803
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8804
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8806
{ $as_echo "$as_me:$LINENO: result: no" >&5
8807
$as_echo "no" >&6; }
8810
if test "x$ac_ct_DSYMUTIL" = x; then
8813
case $cross_compiling:$ac_tool_warned in
8815
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8816
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8817
ac_tool_warned=yes ;;
8819
DSYMUTIL=$ac_ct_DSYMUTIL
8822
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8825
if test -n "$ac_tool_prefix"; then
8826
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8827
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8828
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8829
$as_echo_n "checking for $ac_word... " >&6; }
8830
if test "${ac_cv_prog_NMEDIT+set}" = set; then
8831
$as_echo_n "(cached) " >&6
8833
if test -n "$NMEDIT"; then
8834
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8840
test -z "$as_dir" && as_dir=.
8841
for ac_exec_ext in '' $ac_executable_extensions; do
8842
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8843
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8844
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8853
NMEDIT=$ac_cv_prog_NMEDIT
8854
if test -n "$NMEDIT"; then
8855
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
8856
$as_echo "$NMEDIT" >&6; }
8858
{ $as_echo "$as_me:$LINENO: result: no" >&5
8859
$as_echo "no" >&6; }
8864
if test -z "$ac_cv_prog_NMEDIT"; then
8865
ac_ct_NMEDIT=$NMEDIT
8866
# Extract the first word of "nmedit", so it can be a program name with args.
8867
set dummy nmedit; ac_word=$2
8868
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8869
$as_echo_n "checking for $ac_word... " >&6; }
8870
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8871
$as_echo_n "(cached) " >&6
8873
if test -n "$ac_ct_NMEDIT"; then
8874
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880
test -z "$as_dir" && as_dir=.
8881
for ac_exec_ext in '' $ac_executable_extensions; do
8882
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883
ac_cv_prog_ac_ct_NMEDIT="nmedit"
8884
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8893
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8894
if test -n "$ac_ct_NMEDIT"; then
8895
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8896
$as_echo "$ac_ct_NMEDIT" >&6; }
8898
{ $as_echo "$as_me:$LINENO: result: no" >&5
8899
$as_echo "no" >&6; }
8902
if test "x$ac_ct_NMEDIT" = x; then
8905
case $cross_compiling:$ac_tool_warned in
8907
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8908
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8909
ac_tool_warned=yes ;;
8911
NMEDIT=$ac_ct_NMEDIT
8914
NMEDIT="$ac_cv_prog_NMEDIT"
8917
if test -n "$ac_tool_prefix"; then
8918
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8919
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8920
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8921
$as_echo_n "checking for $ac_word... " >&6; }
8922
if test "${ac_cv_prog_LIPO+set}" = set; then
8923
$as_echo_n "(cached) " >&6
8925
if test -n "$LIPO"; then
8926
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8932
test -z "$as_dir" && as_dir=.
8933
for ac_exec_ext in '' $ac_executable_extensions; do
8934
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8935
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8936
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8945
LIPO=$ac_cv_prog_LIPO
8946
if test -n "$LIPO"; then
8947
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5
8948
$as_echo "$LIPO" >&6; }
8950
{ $as_echo "$as_me:$LINENO: result: no" >&5
8951
$as_echo "no" >&6; }
8956
if test -z "$ac_cv_prog_LIPO"; then
8958
# Extract the first word of "lipo", so it can be a program name with args.
8959
set dummy lipo; ac_word=$2
8960
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8961
$as_echo_n "checking for $ac_word... " >&6; }
8962
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8963
$as_echo_n "(cached) " >&6
8965
if test -n "$ac_ct_LIPO"; then
8966
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8972
test -z "$as_dir" && as_dir=.
8973
for ac_exec_ext in '' $ac_executable_extensions; do
8974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8975
ac_cv_prog_ac_ct_LIPO="lipo"
8976
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8985
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8986
if test -n "$ac_ct_LIPO"; then
8987
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8988
$as_echo "$ac_ct_LIPO" >&6; }
8990
{ $as_echo "$as_me:$LINENO: result: no" >&5
8991
$as_echo "no" >&6; }
8994
if test "x$ac_ct_LIPO" = x; then
8997
case $cross_compiling:$ac_tool_warned in
8999
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9001
ac_tool_warned=yes ;;
9006
LIPO="$ac_cv_prog_LIPO"
9009
if test -n "$ac_tool_prefix"; then
9010
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9011
set dummy ${ac_tool_prefix}otool; ac_word=$2
9012
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9013
$as_echo_n "checking for $ac_word... " >&6; }
9014
if test "${ac_cv_prog_OTOOL+set}" = set; then
9015
$as_echo_n "(cached) " >&6
9017
if test -n "$OTOOL"; then
9018
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9024
test -z "$as_dir" && as_dir=.
9025
for ac_exec_ext in '' $ac_executable_extensions; do
9026
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9027
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9028
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9037
OTOOL=$ac_cv_prog_OTOOL
9038
if test -n "$OTOOL"; then
9039
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
9040
$as_echo "$OTOOL" >&6; }
9042
{ $as_echo "$as_me:$LINENO: result: no" >&5
9043
$as_echo "no" >&6; }
9048
if test -z "$ac_cv_prog_OTOOL"; then
9050
# Extract the first word of "otool", so it can be a program name with args.
9051
set dummy otool; ac_word=$2
9052
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9053
$as_echo_n "checking for $ac_word... " >&6; }
9054
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
9055
$as_echo_n "(cached) " >&6
9057
if test -n "$ac_ct_OTOOL"; then
9058
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9064
test -z "$as_dir" && as_dir=.
9065
for ac_exec_ext in '' $ac_executable_extensions; do
9066
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9067
ac_cv_prog_ac_ct_OTOOL="otool"
9068
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9077
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9078
if test -n "$ac_ct_OTOOL"; then
9079
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
9080
$as_echo "$ac_ct_OTOOL" >&6; }
9082
{ $as_echo "$as_me:$LINENO: result: no" >&5
9083
$as_echo "no" >&6; }
9086
if test "x$ac_ct_OTOOL" = x; then
9089
case $cross_compiling:$ac_tool_warned in
9091
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9092
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9093
ac_tool_warned=yes ;;
9098
OTOOL="$ac_cv_prog_OTOOL"
9101
if test -n "$ac_tool_prefix"; then
9102
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9103
set dummy ${ac_tool_prefix}otool64; ac_word=$2
9104
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9105
$as_echo_n "checking for $ac_word... " >&6; }
9106
if test "${ac_cv_prog_OTOOL64+set}" = set; then
9107
$as_echo_n "(cached) " >&6
9109
if test -n "$OTOOL64"; then
9110
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9112
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9116
test -z "$as_dir" && as_dir=.
9117
for ac_exec_ext in '' $ac_executable_extensions; do
9118
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9119
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9120
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9129
OTOOL64=$ac_cv_prog_OTOOL64
9130
if test -n "$OTOOL64"; then
9131
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
9132
$as_echo "$OTOOL64" >&6; }
9134
{ $as_echo "$as_me:$LINENO: result: no" >&5
9135
$as_echo "no" >&6; }
9140
if test -z "$ac_cv_prog_OTOOL64"; then
9141
ac_ct_OTOOL64=$OTOOL64
9142
# Extract the first word of "otool64", so it can be a program name with args.
9143
set dummy otool64; ac_word=$2
9144
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9145
$as_echo_n "checking for $ac_word... " >&6; }
9146
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
9147
$as_echo_n "(cached) " >&6
9149
if test -n "$ac_ct_OTOOL64"; then
9150
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9152
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9156
test -z "$as_dir" && as_dir=.
9157
for ac_exec_ext in '' $ac_executable_extensions; do
9158
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9159
ac_cv_prog_ac_ct_OTOOL64="otool64"
9160
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9169
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9170
if test -n "$ac_ct_OTOOL64"; then
9171
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
9172
$as_echo "$ac_ct_OTOOL64" >&6; }
9174
{ $as_echo "$as_me:$LINENO: result: no" >&5
9175
$as_echo "no" >&6; }
9178
if test "x$ac_ct_OTOOL64" = x; then
9181
case $cross_compiling:$ac_tool_warned in
9183
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9184
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9185
ac_tool_warned=yes ;;
9187
OTOOL64=$ac_ct_OTOOL64
9190
OTOOL64="$ac_cv_prog_OTOOL64"
9219
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9220
$as_echo_n "checking for -single_module linker flag... " >&6; }
9221
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9222
$as_echo_n "(cached) " >&6
9224
lt_cv_apple_cc_single_mod=no
9225
if test -z "${LT_MULTI_MODULE}"; then
9226
# By default we will add the -single_module flag. You can override
9227
# by either setting the environment variable LT_MULTI_MODULE
9228
# non-empty at configure time, or by adding -multi_module to the
9230
rm -rf libconftest.dylib*
9231
echo "int foo(void){return 1;}" > conftest.c
9232
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9233
-dynamiclib -Wl,-single_module conftest.c" >&5
9234
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9235
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9237
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9238
lt_cv_apple_cc_single_mod=yes
9240
cat conftest.err >&5
9242
rm -rf libconftest.dylib*
9246
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9247
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9248
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9249
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9250
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9251
$as_echo_n "(cached) " >&6
9253
lt_cv_ld_exported_symbols_list=no
9254
save_LDFLAGS=$LDFLAGS
9255
echo "_main" > conftest.sym
9256
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9257
cat >conftest.$ac_ext <<_ACEOF
9260
cat confdefs.h >>conftest.$ac_ext
9261
cat >>conftest.$ac_ext <<_ACEOF
9262
/* end confdefs.h. */
9272
rm -f conftest.$ac_objext conftest$ac_exeext
9273
if { (ac_try="$ac_link"
9275
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9276
*) ac_try_echo=$ac_try;;
9278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9279
$as_echo "$ac_try_echo") >&5
9280
(eval "$ac_link") 2>conftest.er1
9282
grep -v '^ *+' conftest.er1 >conftest.err
9284
cat conftest.err >&5
9285
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286
(exit $ac_status); } && {
9287
test -z "$ac_c_werror_flag" ||
9288
test ! -s conftest.err
9289
} && test -s conftest$ac_exeext && {
9290
test "$cross_compiling" = yes ||
9291
$as_test_x conftest$ac_exeext
9293
lt_cv_ld_exported_symbols_list=yes
9295
$as_echo "$as_me: failed program was:" >&5
9296
sed 's/^/| /' conftest.$ac_ext >&5
9298
lt_cv_ld_exported_symbols_list=no
9301
rm -rf conftest.dSYM
9302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9303
conftest$ac_exeext conftest.$ac_ext
9304
LDFLAGS="$save_LDFLAGS"
9307
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9308
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9310
rhapsody* | darwin1.[012])
9311
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9313
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9314
darwin*) # darwin 5.x on
9315
# if running on 10.5 or later, the deployment target defaults
9316
# to the OS version, if on x86, and 10.4, the deployment
9317
# target defaults to 10.4. Don't you love it?
9318
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9319
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9320
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9322
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9324
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9328
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9329
_lt_dar_single_mod='$single_module'
9331
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9332
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9334
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9336
if test "$DSYMUTIL" != ":"; then
9337
_lt_dsymutil='~$DSYMUTIL $lib || :'
9345
ac_cpp='$CPP $CPPFLAGS'
9346
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9347
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9348
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9349
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
9350
$as_echo_n "checking how to run the C preprocessor... " >&6; }
9351
# On Suns, sometimes $CPP names a directory.
9352
if test -n "$CPP" && test -d "$CPP"; then
9355
if test -z "$CPP"; then
9356
if test "${ac_cv_prog_CPP+set}" = set; then
9357
$as_echo_n "(cached) " >&6
9359
# Double quotes because CPP needs to be expanded
9360
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9363
for ac_c_preproc_warn_flag in '' yes
9365
# Use a header file that comes with gcc, so configuring glibc
9366
# with a fresh cross-compiler works.
9367
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9368
# <limits.h> exists even on freestanding compilers.
9369
# On the NeXT, cc -E runs the code through the compiler's parser,
9370
# not just through cpp. "Syntax error" is here to catch this case.
9371
cat >conftest.$ac_ext <<_ACEOF
9374
cat confdefs.h >>conftest.$ac_ext
9375
cat >>conftest.$ac_ext <<_ACEOF
9376
/* end confdefs.h. */
9378
# include <limits.h>
9380
# include <assert.h>
9384
if { (ac_try="$ac_cpp conftest.$ac_ext"
9386
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9387
*) ac_try_echo=$ac_try;;
9389
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9390
$as_echo "$ac_try_echo") >&5
9391
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9393
grep -v '^ *+' conftest.er1 >conftest.err
9395
cat conftest.err >&5
9396
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397
(exit $ac_status); } >/dev/null && {
9398
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9399
test ! -s conftest.err
9403
$as_echo "$as_me: failed program was:" >&5
9404
sed 's/^/| /' conftest.$ac_ext >&5
9406
# Broken: fails on valid input.
9410
rm -f conftest.err conftest.$ac_ext
9412
# OK, works on sane cases. Now check whether nonexistent headers
9413
# can be detected and how.
9414
cat >conftest.$ac_ext <<_ACEOF
9417
cat confdefs.h >>conftest.$ac_ext
9418
cat >>conftest.$ac_ext <<_ACEOF
9419
/* end confdefs.h. */
9420
#include <ac_nonexistent.h>
9422
if { (ac_try="$ac_cpp conftest.$ac_ext"
9424
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9425
*) ac_try_echo=$ac_try;;
9427
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9428
$as_echo "$ac_try_echo") >&5
9429
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9431
grep -v '^ *+' conftest.er1 >conftest.err
9433
cat conftest.err >&5
9434
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435
(exit $ac_status); } >/dev/null && {
9436
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9437
test ! -s conftest.err
9439
# Broken: success on invalid input.
9442
$as_echo "$as_me: failed program was:" >&5
9443
sed 's/^/| /' conftest.$ac_ext >&5
9445
# Passes both tests.
9450
rm -f conftest.err conftest.$ac_ext
9453
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9454
rm -f conftest.err conftest.$ac_ext
9455
if $ac_preproc_ok; then
9467
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
9468
$as_echo "$CPP" >&6; }
9470
for ac_c_preproc_warn_flag in '' yes
9472
# Use a header file that comes with gcc, so configuring glibc
9473
# with a fresh cross-compiler works.
9474
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9475
# <limits.h> exists even on freestanding compilers.
9476
# On the NeXT, cc -E runs the code through the compiler's parser,
9477
# not just through cpp. "Syntax error" is here to catch this case.
9478
cat >conftest.$ac_ext <<_ACEOF
9481
cat confdefs.h >>conftest.$ac_ext
9482
cat >>conftest.$ac_ext <<_ACEOF
9483
/* end confdefs.h. */
9485
# include <limits.h>
9487
# include <assert.h>
9491
if { (ac_try="$ac_cpp conftest.$ac_ext"
9493
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9494
*) ac_try_echo=$ac_try;;
9496
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9497
$as_echo "$ac_try_echo") >&5
9498
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9500
grep -v '^ *+' conftest.er1 >conftest.err
9502
cat conftest.err >&5
9503
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504
(exit $ac_status); } >/dev/null && {
9505
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9506
test ! -s conftest.err
9510
$as_echo "$as_me: failed program was:" >&5
9511
sed 's/^/| /' conftest.$ac_ext >&5
9513
# Broken: fails on valid input.
9517
rm -f conftest.err conftest.$ac_ext
9519
# OK, works on sane cases. Now check whether nonexistent headers
9520
# can be detected and how.
9521
cat >conftest.$ac_ext <<_ACEOF
9524
cat confdefs.h >>conftest.$ac_ext
9525
cat >>conftest.$ac_ext <<_ACEOF
9526
/* end confdefs.h. */
9527
#include <ac_nonexistent.h>
9529
if { (ac_try="$ac_cpp conftest.$ac_ext"
9531
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9532
*) ac_try_echo=$ac_try;;
9534
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9535
$as_echo "$ac_try_echo") >&5
9536
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9538
grep -v '^ *+' conftest.er1 >conftest.err
9540
cat conftest.err >&5
9541
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542
(exit $ac_status); } >/dev/null && {
9543
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9544
test ! -s conftest.err
9546
# Broken: success on invalid input.
9549
$as_echo "$as_me: failed program was:" >&5
9550
sed 's/^/| /' conftest.$ac_ext >&5
9552
# Passes both tests.
9557
rm -f conftest.err conftest.$ac_ext
9560
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9561
rm -f conftest.err conftest.$ac_ext
9562
if $ac_preproc_ok; then
9565
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9566
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9567
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
9568
See \`config.log' for more details." >&5
9569
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
9570
See \`config.log' for more details." >&2;}
9571
{ (exit 1); exit 1; }; }; }
9575
ac_cpp='$CPP $CPPFLAGS'
9576
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9577
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9578
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9581
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9582
$as_echo_n "checking for ANSI C header files... " >&6; }
9583
if test "${ac_cv_header_stdc+set}" = set; then
9584
$as_echo_n "(cached) " >&6
9586
cat >conftest.$ac_ext <<_ACEOF
9589
cat confdefs.h >>conftest.$ac_ext
9590
cat >>conftest.$ac_ext <<_ACEOF
9591
/* end confdefs.h. */
9605
rm -f conftest.$ac_objext
9606
if { (ac_try="$ac_compile"
9608
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9609
*) ac_try_echo=$ac_try;;
9611
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9612
$as_echo "$ac_try_echo") >&5
9613
(eval "$ac_compile") 2>conftest.er1
9615
grep -v '^ *+' conftest.er1 >conftest.err
9617
cat conftest.err >&5
9618
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619
(exit $ac_status); } && {
9620
test -z "$ac_c_werror_flag" ||
9621
test ! -s conftest.err
9622
} && test -s conftest.$ac_objext; then
9623
ac_cv_header_stdc=yes
9625
$as_echo "$as_me: failed program was:" >&5
9626
sed 's/^/| /' conftest.$ac_ext >&5
9628
ac_cv_header_stdc=no
9631
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9633
if test $ac_cv_header_stdc = yes; then
9634
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9635
cat >conftest.$ac_ext <<_ACEOF
9638
cat confdefs.h >>conftest.$ac_ext
9639
cat >>conftest.$ac_ext <<_ACEOF
9640
/* end confdefs.h. */
9644
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9645
$EGREP "memchr" >/dev/null 2>&1; then
9648
ac_cv_header_stdc=no
9654
if test $ac_cv_header_stdc = yes; then
9655
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9656
cat >conftest.$ac_ext <<_ACEOF
9659
cat confdefs.h >>conftest.$ac_ext
9660
cat >>conftest.$ac_ext <<_ACEOF
9661
/* end confdefs.h. */
9665
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9666
$EGREP "free" >/dev/null 2>&1; then
9669
ac_cv_header_stdc=no
9675
if test $ac_cv_header_stdc = yes; then
9676
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9677
if test "$cross_compiling" = yes; then
9680
cat >conftest.$ac_ext <<_ACEOF
9683
cat confdefs.h >>conftest.$ac_ext
9684
cat >>conftest.$ac_ext <<_ACEOF
9685
/* end confdefs.h. */
9688
#if ((' ' & 0x0FF) == 0x020)
9689
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9690
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9692
# define ISLOWER(c) \
9693
(('a' <= (c) && (c) <= 'i') \
9694
|| ('j' <= (c) && (c) <= 'r') \
9695
|| ('s' <= (c) && (c) <= 'z'))
9696
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9699
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9704
for (i = 0; i < 256; i++)
9705
if (XOR (islower (i), ISLOWER (i))
9706
|| toupper (i) != TOUPPER (i))
9711
rm -f conftest$ac_exeext
9712
if { (ac_try="$ac_link"
9714
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9715
*) ac_try_echo=$ac_try;;
9717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9718
$as_echo "$ac_try_echo") >&5
9719
(eval "$ac_link") 2>&5
9721
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9723
{ (case "(($ac_try" in
9724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9725
*) ac_try_echo=$ac_try;;
9727
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9728
$as_echo "$ac_try_echo") >&5
9729
(eval "$ac_try") 2>&5
9731
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732
(exit $ac_status); }; }; then
9735
$as_echo "$as_me: program exited with status $ac_status" >&5
9736
$as_echo "$as_me: failed program was:" >&5
9737
sed 's/^/| /' conftest.$ac_ext >&5
9740
ac_cv_header_stdc=no
9742
rm -rf conftest.dSYM
9743
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9749
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9750
$as_echo "$ac_cv_header_stdc" >&6; }
9751
if test $ac_cv_header_stdc = yes; then
9753
cat >>confdefs.h <<\_ACEOF
9754
#define STDC_HEADERS 1
9759
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9769
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9770
inttypes.h stdint.h unistd.h
9772
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9773
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9774
$as_echo_n "checking for $ac_header... " >&6; }
9775
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9776
$as_echo_n "(cached) " >&6
9778
cat >conftest.$ac_ext <<_ACEOF
9781
cat confdefs.h >>conftest.$ac_ext
9782
cat >>conftest.$ac_ext <<_ACEOF
9783
/* end confdefs.h. */
9784
$ac_includes_default
9786
#include <$ac_header>
9788
rm -f conftest.$ac_objext
9789
if { (ac_try="$ac_compile"
9791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9792
*) ac_try_echo=$ac_try;;
9794
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9795
$as_echo "$ac_try_echo") >&5
9796
(eval "$ac_compile") 2>conftest.er1
9798
grep -v '^ *+' conftest.er1 >conftest.err
9800
cat conftest.err >&5
9801
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802
(exit $ac_status); } && {
9803
test -z "$ac_c_werror_flag" ||
9804
test ! -s conftest.err
9805
} && test -s conftest.$ac_objext; then
9806
eval "$as_ac_Header=yes"
9808
$as_echo "$as_me: failed program was:" >&5
9809
sed 's/^/| /' conftest.$ac_ext >&5
9811
eval "$as_ac_Header=no"
9814
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9816
ac_res=`eval 'as_val=${'$as_ac_Header'}
9817
$as_echo "$as_val"'`
9818
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9819
$as_echo "$ac_res" >&6; }
9820
as_val=`eval 'as_val=${'$as_ac_Header'}
9821
$as_echo "$as_val"'`
9822
if test "x$as_val" = x""yes; then
9823
cat >>confdefs.h <<_ACEOF
9824
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9833
for ac_header in dlfcn.h
9835
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9836
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9837
$as_echo_n "checking for $ac_header... " >&6; }
9838
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9839
$as_echo_n "(cached) " >&6
9841
cat >conftest.$ac_ext <<_ACEOF
9844
cat confdefs.h >>conftest.$ac_ext
9845
cat >>conftest.$ac_ext <<_ACEOF
9846
/* end confdefs.h. */
9847
$ac_includes_default
9849
#include <$ac_header>
9851
rm -f conftest.$ac_objext
9852
if { (ac_try="$ac_compile"
9854
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9855
*) ac_try_echo=$ac_try;;
9857
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9858
$as_echo "$ac_try_echo") >&5
9859
(eval "$ac_compile") 2>conftest.er1
9861
grep -v '^ *+' conftest.er1 >conftest.err
9863
cat conftest.err >&5
9864
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865
(exit $ac_status); } && {
9866
test -z "$ac_c_werror_flag" ||
9867
test ! -s conftest.err
9868
} && test -s conftest.$ac_objext; then
9869
eval "$as_ac_Header=yes"
9871
$as_echo "$as_me: failed program was:" >&5
9872
sed 's/^/| /' conftest.$ac_ext >&5
9874
eval "$as_ac_Header=no"
9877
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9879
ac_res=`eval 'as_val=${'$as_ac_Header'}
9880
$as_echo "$as_val"'`
9881
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9882
$as_echo "$ac_res" >&6; }
9883
as_val=`eval 'as_val=${'$as_ac_Header'}
9884
$as_echo "$as_val"'`
9885
if test "x$as_val" = x""yes; then
9886
cat >>confdefs.h <<_ACEOF
9887
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9906
# Check whether --enable-shared was given.
9907
if test "${enable_shared+set}" = set; then
9908
enableval=$enable_shared; p=${PACKAGE-default}
9910
yes) enable_shared=yes ;;
9911
no) enable_shared=no ;;
9914
# Look at the argument we got. We use all the common list separators.
9915
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9916
for pkg in $enableval; do
9918
if test "X$pkg" = "X$p"; then
9937
# Check whether --enable-static was given.
9938
if test "${enable_static+set}" = set; then
9939
enableval=$enable_static; p=${PACKAGE-default}
9941
yes) enable_static=yes ;;
9942
no) enable_static=no ;;
9945
# Look at the argument we got. We use all the common list separators.
9946
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9947
for pkg in $enableval; do
9949
if test "X$pkg" = "X$p"; then
9969
# Check whether --with-pic was given.
9970
if test "${with_pic+set}" = set; then
9971
withval=$with_pic; pic_mode="$withval"
9977
test -z "$pic_mode" && pic_mode=default
9985
# Check whether --enable-fast-install was given.
9986
if test "${enable_fast_install+set}" = set; then
9987
enableval=$enable_fast_install; p=${PACKAGE-default}
9989
yes) enable_fast_install=yes ;;
9990
no) enable_fast_install=no ;;
9992
enable_fast_install=no
9993
# Look at the argument we got. We use all the common list separators.
9994
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9995
for pkg in $enableval; do
9997
if test "X$pkg" = "X$p"; then
9998
enable_fast_install=yes
10005
enable_fast_install=yes
10018
# This can be used to rebuild libtool when needed
10019
LIBTOOL_DEPS="$ltmain"
10021
# Always use our own libtool.
10022
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10048
test -z "$LN_S" && LN_S="ln -s"
10063
if test -n "${ZSH_VERSION+set}" ; then
10064
setopt NO_GLOB_SUBST
10067
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
10068
$as_echo_n "checking for objdir... " >&6; }
10069
if test "${lt_cv_objdir+set}" = set; then
10070
$as_echo_n "(cached) " >&6
10072
rm -f .libs 2>/dev/null
10073
mkdir .libs 2>/dev/null
10074
if test -d .libs; then
10077
# MS-DOS does not allow filenames that begin with a dot.
10080
rmdir .libs 2>/dev/null
10082
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
10083
$as_echo "$lt_cv_objdir" >&6; }
10084
objdir=$lt_cv_objdir
10090
cat >>confdefs.h <<_ACEOF
10091
#define LT_OBJDIR "$lt_cv_objdir/"
10112
# AIX sometimes has problems with the GCC collect2 program. For some
10113
# reason, if we set the COLLECT_NAMES environment variable, the problems
10114
# vanish in a puff of smoke.
10115
if test "X${COLLECT_NAMES+set}" != Xset; then
10117
export COLLECT_NAMES
10122
# Sed substitution that helps us do robust quoting. It backslashifies
10123
# metacharacters that are still active within double-quoted strings.
10124
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10126
# Same as above, but do not quote variable references.
10127
double_quote_subst='s/\(["`\\]\)/\\\1/g'
10129
# Sed substitution to delay expansion of an escaped shell variable in a
10130
# double_quote_subst'ed string.
10131
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10133
# Sed substitution to delay expansion of an escaped single quote.
10134
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10136
# Sed substitution to avoid accidental globbing in evaled expressions
10137
no_glob_subst='s/\*/\\\*/g'
10139
# Global variables:
10141
can_build_shared=yes
10143
# All known linkers require a `.a' archive for static linking (except MSVC,
10144
# which needs '.lib').
10147
with_gnu_ld="$lt_cv_prog_gnu_ld"
10150
old_CFLAGS="$CFLAGS"
10152
# Set sane defaults for various variables
10153
test -z "$CC" && CC=cc
10154
test -z "$LTCC" && LTCC=$CC
10155
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10156
test -z "$LD" && LD=ld
10157
test -z "$ac_objext" && ac_objext=o
10159
for cc_temp in $compiler""; do
10161
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10162
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10167
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10170
# Only perform the check for file, if the check method requires it
10171
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10172
case $deplibs_check_method in
10174
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10175
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10176
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10177
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10178
$as_echo_n "(cached) " >&6
10182
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10185
lt_save_MAGIC_CMD="$MAGIC_CMD"
10186
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10187
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10188
for ac_dir in $ac_dummy; do
10190
test -z "$ac_dir" && ac_dir=.
10191
if test -f $ac_dir/${ac_tool_prefix}file; then
10192
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10193
if test -n "$file_magic_test_file"; then
10194
case $deplibs_check_method in
10196
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10197
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10198
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10199
$EGREP "$file_magic_regex" > /dev/null; then
10204
*** Warning: the command libtool uses to detect shared libraries,
10205
*** $file_magic_cmd, produces output that libtool cannot recognize.
10206
*** The result is that libtool may fail to recognize shared libraries
10207
*** as such. This will affect the creation of libtool libraries that
10208
*** depend on shared libraries, but programs linked with such libtool
10209
*** libraries will work regardless of this problem. Nevertheless, you
10210
*** may want to report the problem to your system manager and/or to
10211
*** bug-libtool@gnu.org
10221
MAGIC_CMD="$lt_save_MAGIC_CMD"
10226
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10227
if test -n "$MAGIC_CMD"; then
10228
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10229
$as_echo "$MAGIC_CMD" >&6; }
10231
{ $as_echo "$as_me:$LINENO: result: no" >&5
10232
$as_echo "no" >&6; }
10239
if test -z "$lt_cv_path_MAGIC_CMD"; then
10240
if test -n "$ac_tool_prefix"; then
10241
{ $as_echo "$as_me:$LINENO: checking for file" >&5
10242
$as_echo_n "checking for file... " >&6; }
10243
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10244
$as_echo_n "(cached) " >&6
10248
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10251
lt_save_MAGIC_CMD="$MAGIC_CMD"
10252
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10253
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10254
for ac_dir in $ac_dummy; do
10256
test -z "$ac_dir" && ac_dir=.
10257
if test -f $ac_dir/file; then
10258
lt_cv_path_MAGIC_CMD="$ac_dir/file"
10259
if test -n "$file_magic_test_file"; then
10260
case $deplibs_check_method in
10262
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10263
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10264
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10265
$EGREP "$file_magic_regex" > /dev/null; then
10270
*** Warning: the command libtool uses to detect shared libraries,
10271
*** $file_magic_cmd, produces output that libtool cannot recognize.
10272
*** The result is that libtool may fail to recognize shared libraries
10273
*** as such. This will affect the creation of libtool libraries that
10274
*** depend on shared libraries, but programs linked with such libtool
10275
*** libraries will work regardless of this problem. Nevertheless, you
10276
*** may want to report the problem to your system manager and/or to
10277
*** bug-libtool@gnu.org
10287
MAGIC_CMD="$lt_save_MAGIC_CMD"
10292
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10293
if test -n "$MAGIC_CMD"; then
10294
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10295
$as_echo "$MAGIC_CMD" >&6; }
10297
{ $as_echo "$as_me:$LINENO: result: no" >&5
10298
$as_echo "no" >&6; }
10311
# Use C for the default configuration in the libtool script
10315
ac_cpp='$CPP $CPPFLAGS'
10316
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10317
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10318
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10321
# Source file extension for C test sources.
10324
# Object file extension for compiled C test sources.
10328
# Code to be used in simple compile tests
10329
lt_simple_compile_test_code="int some_variable = 0;"
10331
# Code to be used in simple link tests
10332
lt_simple_link_test_code='int main(){return(0);}'
10340
# If no C compiler was specified, use CC.
10343
# If no C compiler flags were specified, use CFLAGS.
10344
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10346
# Allow CC to be a program name with arguments.
10349
# Save the default compiler, since it gets overwritten when the other
10350
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10351
compiler_DEFAULT=$CC
10353
# save warnings/boilerplate of simple test code
10354
ac_outfile=conftest.$ac_objext
10355
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10356
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10357
_lt_compiler_boilerplate=`cat conftest.err`
10360
ac_outfile=conftest.$ac_objext
10361
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10362
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10363
_lt_linker_boilerplate=`cat conftest.err`
10367
if test -n "$compiler"; then
10369
lt_prog_compiler_no_builtin_flag=
10371
if test "$GCC" = yes; then
10372
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10374
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10375
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10376
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10377
$as_echo_n "(cached) " >&6
10379
lt_cv_prog_compiler_rtti_exceptions=no
10380
ac_outfile=conftest.$ac_objext
10381
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10382
lt_compiler_flag="-fno-rtti -fno-exceptions"
10383
# Insert the option either (1) after the last *FLAGS variable, or
10384
# (2) before a word containing "conftest.", or (3) at the end.
10385
# Note that $ac_compile itself does not contain backslashes and begins
10386
# with a dollar sign (not a hyphen), so the echo should work correctly.
10387
# The option is referenced via a variable to avoid confusing sed.
10388
lt_compile=`echo "$ac_compile" | $SED \
10389
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10390
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10391
-e 's:$: $lt_compiler_flag:'`
10392
(eval echo "\"\$as_me:10392: $lt_compile\"" >&5)
10393
(eval "$lt_compile" 2>conftest.err)
10395
cat conftest.err >&5
10396
echo "$as_me:10396: \$? = $ac_status" >&5
10397
if (exit $ac_status) && test -s "$ac_outfile"; then
10398
# The compiler can only warn and ignore the option if not recognized
10399
# So say no if there are warnings other than the usual output.
10400
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10401
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10402
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10403
lt_cv_prog_compiler_rtti_exceptions=yes
10409
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10410
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10412
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10413
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10425
lt_prog_compiler_wl=
10426
lt_prog_compiler_pic=
10427
lt_prog_compiler_static=
10429
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10430
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10432
if test "$GCC" = yes; then
10433
lt_prog_compiler_wl='-Wl,'
10434
lt_prog_compiler_static='-static'
10438
# All AIX code is PIC.
10439
if test "$host_cpu" = ia64; then
10440
# AIX 5 now supports IA64 processor
10441
lt_prog_compiler_static='-Bstatic'
10448
# see comment about AmigaOS4 .so support
10449
lt_prog_compiler_pic='-fPIC'
10452
# FIXME: we need at least 68020 code to build shared libraries, but
10453
# adding the `-m68020' flag to GCC prevents building anything better,
10455
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10460
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10461
# PIC is the default for these OSes.
10464
mingw* | cygwin* | pw32* | os2* | cegcc*)
10465
# This hack is so that the source file can tell whether it is being
10466
# built for inclusion in a dll (and should export symbols for example).
10467
# Although the cygwin gcc ignores -fPIC, still need this for old-style
10468
# (--disable-auto-import) libraries
10469
lt_prog_compiler_pic='-DDLL_EXPORT'
10472
darwin* | rhapsody*)
10473
# PIC is the default on this platform
10474
# Common symbols not allowed in MH_DYLIB files
10475
lt_prog_compiler_pic='-fno-common'
10479
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10480
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10481
# sets the default TLS model and affects inlining.
10487
lt_prog_compiler_pic='-fPIC'
10493
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
10494
# Instead, we relocate shared libraries at runtime.
10498
# Just because we use GCC doesn't mean we suddenly get shared libraries
10499
# on systems that don't support them.
10500
lt_prog_compiler_can_build_shared=no
10505
# QNX uses GNU C++, but need to define -shared option too, otherwise
10506
# it will coredump.
10507
lt_prog_compiler_pic='-fPIC -shared'
10511
if test -d /usr/nec; then
10512
lt_prog_compiler_pic=-Kconform_pic
10517
lt_prog_compiler_pic='-fPIC'
10521
# PORTME Check for flag to pass linker flags through the system compiler.
10524
lt_prog_compiler_wl='-Wl,'
10525
if test "$host_cpu" = ia64; then
10526
# AIX 5 now supports IA64 processor
10527
lt_prog_compiler_static='-Bstatic'
10529
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10533
mingw* | cygwin* | pw32* | os2* | cegcc*)
10534
# This hack is so that the source file can tell whether it is being
10535
# built for inclusion in a dll (and should export symbols for example).
10536
lt_prog_compiler_pic='-DDLL_EXPORT'
10539
hpux9* | hpux10* | hpux11*)
10540
lt_prog_compiler_wl='-Wl,'
10541
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10542
# not for PA HP-UX.
10548
lt_prog_compiler_pic='+Z'
10551
# Is there a better lt_prog_compiler_static that works with the bundled CC?
10552
lt_prog_compiler_static='${wl}-a ${wl}archive'
10555
irix5* | irix6* | nonstopux*)
10556
lt_prog_compiler_wl='-Wl,'
10557
# PIC (with -KPIC) is the default.
10558
lt_prog_compiler_static='-non_shared'
10561
linux* | k*bsd*-gnu)
10562
case $cc_basename in
10563
# old Intel for x86_64 which still supported -KPIC.
10565
lt_prog_compiler_wl='-Wl,'
10566
lt_prog_compiler_pic='-KPIC'
10567
lt_prog_compiler_static='-static'
10569
# icc used to be incompatible with GCC.
10570
# ICC 10 doesn't accept -KPIC any more.
10572
lt_prog_compiler_wl='-Wl,'
10573
lt_prog_compiler_pic='-fPIC'
10574
lt_prog_compiler_static='-static'
10576
# Lahey Fortran 8.1.
10578
lt_prog_compiler_wl='-Wl,'
10579
lt_prog_compiler_pic='--shared'
10580
lt_prog_compiler_static='--static'
10582
pgcc* | pgf77* | pgf90* | pgf95*)
10583
# Portland Group compilers (*not* the Pentium gcc compiler,
10584
# which looks to be a dead project)
10585
lt_prog_compiler_wl='-Wl,'
10586
lt_prog_compiler_pic='-fpic'
10587
lt_prog_compiler_static='-Bstatic'
10590
lt_prog_compiler_wl='-Wl,'
10591
# All Alpha code is PIC.
10592
lt_prog_compiler_static='-non_shared'
10595
# IBM XL C 8.0/Fortran 10.1 on PPC
10596
lt_prog_compiler_wl='-Wl,'
10597
lt_prog_compiler_pic='-qpic'
10598
lt_prog_compiler_static='-qstaticlink'
10601
case `$CC -V 2>&1 | sed 5q` in
10604
lt_prog_compiler_pic='-KPIC'
10605
lt_prog_compiler_static='-Bstatic'
10606
lt_prog_compiler_wl='-Wl,'
10609
# Sun Fortran 8.3 passes all unrecognized flags to the linker
10610
lt_prog_compiler_pic='-KPIC'
10611
lt_prog_compiler_static='-Bstatic'
10612
lt_prog_compiler_wl=''
10620
lt_prog_compiler_pic='-KPIC'
10621
lt_prog_compiler_static='-Bstatic'
10625
# QNX uses GNU C++, but need to define -shared option too, otherwise
10626
# it will coredump.
10627
lt_prog_compiler_pic='-fPIC -shared'
10630
osf3* | osf4* | osf5*)
10631
lt_prog_compiler_wl='-Wl,'
10632
# All OSF/1 code is PIC.
10633
lt_prog_compiler_static='-non_shared'
10637
lt_prog_compiler_static='-non_shared'
10641
lt_prog_compiler_pic='-KPIC'
10642
lt_prog_compiler_static='-Bstatic'
10643
case $cc_basename in
10644
f77* | f90* | f95*)
10645
lt_prog_compiler_wl='-Qoption ld ';;
10647
lt_prog_compiler_wl='-Wl,';;
10652
lt_prog_compiler_wl='-Qoption ld '
10653
lt_prog_compiler_pic='-PIC'
10654
lt_prog_compiler_static='-Bstatic'
10657
sysv4 | sysv4.2uw2* | sysv4.3*)
10658
lt_prog_compiler_wl='-Wl,'
10659
lt_prog_compiler_pic='-KPIC'
10660
lt_prog_compiler_static='-Bstatic'
10664
if test -d /usr/nec ;then
10665
lt_prog_compiler_pic='-Kconform_pic'
10666
lt_prog_compiler_static='-Bstatic'
10670
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10671
lt_prog_compiler_wl='-Wl,'
10672
lt_prog_compiler_pic='-KPIC'
10673
lt_prog_compiler_static='-Bstatic'
10677
lt_prog_compiler_wl='-Wl,'
10678
lt_prog_compiler_can_build_shared=no
10682
lt_prog_compiler_pic='-pic'
10683
lt_prog_compiler_static='-Bstatic'
10687
lt_prog_compiler_can_build_shared=no
10693
# For platforms which do not support PIC, -DPIC is meaningless:
10695
lt_prog_compiler_pic=
10698
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10701
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10702
$as_echo "$lt_prog_compiler_pic" >&6; }
10710
# Check to make sure the PIC flag actually works.
10712
if test -n "$lt_prog_compiler_pic"; then
10713
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10714
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10715
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10716
$as_echo_n "(cached) " >&6
10718
lt_cv_prog_compiler_pic_works=no
10719
ac_outfile=conftest.$ac_objext
10720
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10721
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10722
# Insert the option either (1) after the last *FLAGS variable, or
10723
# (2) before a word containing "conftest.", or (3) at the end.
10724
# Note that $ac_compile itself does not contain backslashes and begins
10725
# with a dollar sign (not a hyphen), so the echo should work correctly.
10726
# The option is referenced via a variable to avoid confusing sed.
10727
lt_compile=`echo "$ac_compile" | $SED \
10728
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10729
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10730
-e 's:$: $lt_compiler_flag:'`
10731
(eval echo "\"\$as_me:10731: $lt_compile\"" >&5)
10732
(eval "$lt_compile" 2>conftest.err)
10734
cat conftest.err >&5
10735
echo "$as_me:10735: \$? = $ac_status" >&5
10736
if (exit $ac_status) && test -s "$ac_outfile"; then
10737
# The compiler can only warn and ignore the option if not recognized
10738
# So say no if there are warnings other than the usual output.
10739
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10740
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10741
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10742
lt_cv_prog_compiler_pic_works=yes
10748
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10749
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10751
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10752
case $lt_prog_compiler_pic in
10754
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10757
lt_prog_compiler_pic=
10758
lt_prog_compiler_can_build_shared=no
10769
# Check to make sure the static flag actually works.
10771
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10772
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10773
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10774
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10775
$as_echo_n "(cached) " >&6
10777
lt_cv_prog_compiler_static_works=no
10778
save_LDFLAGS="$LDFLAGS"
10779
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10780
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10781
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10782
# The linker can only warn and ignore the option if not recognized
10783
# So say no if there are warnings
10784
if test -s conftest.err; then
10785
# Append any errors to the config.log.
10786
cat conftest.err 1>&5
10787
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10788
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10789
if diff conftest.exp conftest.er2 >/dev/null; then
10790
lt_cv_prog_compiler_static_works=yes
10793
lt_cv_prog_compiler_static_works=yes
10797
LDFLAGS="$save_LDFLAGS"
10800
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10801
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10803
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10806
lt_prog_compiler_static=
10815
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10816
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10817
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10818
$as_echo_n "(cached) " >&6
10820
lt_cv_prog_compiler_c_o=no
10821
$RM -r conftest 2>/dev/null
10825
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10827
lt_compiler_flag="-o out/conftest2.$ac_objext"
10828
# Insert the option either (1) after the last *FLAGS variable, or
10829
# (2) before a word containing "conftest.", or (3) at the end.
10830
# Note that $ac_compile itself does not contain backslashes and begins
10831
# with a dollar sign (not a hyphen), so the echo should work correctly.
10832
lt_compile=`echo "$ac_compile" | $SED \
10833
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10834
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10835
-e 's:$: $lt_compiler_flag:'`
10836
(eval echo "\"\$as_me:10836: $lt_compile\"" >&5)
10837
(eval "$lt_compile" 2>out/conftest.err)
10839
cat out/conftest.err >&5
10840
echo "$as_me:10840: \$? = $ac_status" >&5
10841
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10843
# The compiler can only warn and ignore the option if not recognized
10844
# So say no if there are warnings
10845
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10846
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10847
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10848
lt_cv_prog_compiler_c_o=yes
10853
# SGI C++ compiler will create directory out/ii_files/ for
10854
# template instantiation
10855
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10856
$RM out/* && rmdir out
10862
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10863
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10870
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10871
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10872
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10873
$as_echo_n "(cached) " >&6
10875
lt_cv_prog_compiler_c_o=no
10876
$RM -r conftest 2>/dev/null
10880
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10882
lt_compiler_flag="-o out/conftest2.$ac_objext"
10883
# Insert the option either (1) after the last *FLAGS variable, or
10884
# (2) before a word containing "conftest.", or (3) at the end.
10885
# Note that $ac_compile itself does not contain backslashes and begins
10886
# with a dollar sign (not a hyphen), so the echo should work correctly.
10887
lt_compile=`echo "$ac_compile" | $SED \
10888
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10889
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10890
-e 's:$: $lt_compiler_flag:'`
10891
(eval echo "\"\$as_me:10891: $lt_compile\"" >&5)
10892
(eval "$lt_compile" 2>out/conftest.err)
10894
cat out/conftest.err >&5
10895
echo "$as_me:10895: \$? = $ac_status" >&5
10896
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10898
# The compiler can only warn and ignore the option if not recognized
10899
# So say no if there are warnings
10900
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10901
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10902
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10903
lt_cv_prog_compiler_c_o=yes
10908
# SGI C++ compiler will create directory out/ii_files/ for
10909
# template instantiation
10910
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10911
$RM out/* && rmdir out
10917
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10918
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10923
hard_links="nottested"
10924
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10925
# do not overwrite the value of need_locks provided by the user
10926
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10927
$as_echo_n "checking if we can lock with hard links... " >&6; }
10930
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10932
ln conftest.a conftest.b 2>&5 || hard_links=no
10933
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10934
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
10935
$as_echo "$hard_links" >&6; }
10936
if test "$hard_links" = no; then
10937
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10938
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10950
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10951
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10954
allow_undefined_flag=
10955
always_export_symbols=no
10957
archive_expsym_cmds=
10958
compiler_needs_object=no
10959
enable_shared_with_static_runtimes=no
10960
export_dynamic_flag_spec=
10961
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10962
hardcode_automatic=no
10964
hardcode_direct_absolute=no
10965
hardcode_libdir_flag_spec=
10966
hardcode_libdir_flag_spec_ld=
10967
hardcode_libdir_separator=
10968
hardcode_minus_L=no
10969
hardcode_shlibpath_var=unsupported
10971
link_all_deplibs=unknown
10973
module_expsym_cmds=
10974
old_archive_from_new_cmds=
10975
old_archive_from_expsyms_cmds=
10976
thread_safe_flag_spec=
10977
whole_archive_flag_spec=
10978
# include_expsyms should be a list of space-separated symbols to be *always*
10979
# included in the symbol list
10981
# exclude_expsyms can be an extended regexp of symbols to exclude
10982
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10983
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10984
# as well as any symbol that contains `d'.
10985
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10986
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10987
# platforms (ab)use it in PIC code, but their linkers get confused if
10988
# the symbol is explicitly referenced. Since portable code cannot
10989
# rely on this symbol name, it's probably fine to never include it in
10990
# preloaded symbol tables.
10991
# Exclude shared library initialization/finalization symbols.
10992
extract_expsyms_cmds=
10995
cygwin* | mingw* | pw32* | cegcc*)
10996
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10997
# When not using gcc, we currently assume that we are using
10998
# Microsoft Visual C++.
10999
if test "$GCC" != yes; then
11004
# we just hope/assume this is gcc and not c89 (= MSVC++)
11013
if test "$with_gnu_ld" = yes; then
11014
# If archive_cmds runs LD, not CC, wlarc should be empty
11017
# Set some defaults for GNU ld with shared library support. These
11018
# are reset later if shared libraries are not supported. Putting them
11019
# here allows them to be overridden if necessary.
11020
runpath_var=LD_RUN_PATH
11021
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11022
export_dynamic_flag_spec='${wl}--export-dynamic'
11023
# ancient GNU ld didn't support --whole-archive et. al.
11024
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11025
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11027
whole_archive_flag_spec=
11029
supports_anon_versioning=no
11030
case `$LD -v 2>&1` in
11031
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11032
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11033
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11034
*\ 2.11.*) ;; # other 2.11 versions
11035
*) supports_anon_versioning=yes ;;
11038
# See if GNU ld supports shared libraries.
11041
# On AIX/PPC, the GNU linker is very broken
11042
if test "$host_cpu" != ia64; then
11046
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11047
*** to be unable to reliably create shared libraries on AIX.
11048
*** Therefore, libtool is disabling shared libraries support. If you
11049
*** really care for shared libraries, you may want to modify your PATH
11050
*** so that a non-GNU linker is found, and then restart.
11059
# see comment about AmigaOS4 .so support
11060
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11061
archive_expsym_cmds=''
11064
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)'
11065
hardcode_libdir_flag_spec='-L$libdir'
11066
hardcode_minus_L=yes
11072
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11073
allow_undefined_flag=unsupported
11074
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11075
# support --undefined. This deserves some investigation. FIXME
11076
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11082
cygwin* | mingw* | pw32* | cegcc*)
11083
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11084
# as there is no search path for DLLs.
11085
hardcode_libdir_flag_spec='-L$libdir'
11086
allow_undefined_flag=unsupported
11087
always_export_symbols=no
11088
enable_shared_with_static_runtimes=yes
11089
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11091
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11092
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11093
# If the export-symbols file already is a .def file (1st line
11094
# is EXPORTS), use it as is; otherwise, prepend...
11095
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11096
cp $export_symbols $output_objdir/$soname.def;
11098
echo EXPORTS > $output_objdir/$soname.def;
11099
cat $export_symbols >> $output_objdir/$soname.def;
11101
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11109
hardcode_shlibpath_var=no
11110
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11111
export_dynamic_flag_spec='${wl}-E'
11112
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11113
# Instead, shared libraries are loaded at an image base (0x10000000 by
11114
# default) and relocated if they conflict, which is a slow very memory
11115
# consuming and fragmenting process. To avoid this, we pick a random,
11116
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11117
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
11118
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11119
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'
11122
gnu* | linux* | tpf* | k*bsd*-gnu)
11124
if test "$host_os" = linux-dietlibc; then
11125
case $cc_basename in
11126
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11129
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11130
&& test "$tmp_diet" = no
11133
tmp_sharedflag='-shared'
11134
case $cc_basename,$host_cpu in
11135
pgcc*) # Portland Group C compiler
11136
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'
11137
tmp_addflag=' $pic_flag'
11139
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11140
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'
11141
tmp_addflag=' $pic_flag -Mnomain' ;;
11142
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11143
tmp_addflag=' -i_dynamic' ;;
11144
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11145
tmp_addflag=' -i_dynamic -nofor_main' ;;
11146
ifc* | ifort*) # Intel Fortran compiler
11147
tmp_addflag=' -nofor_main' ;;
11148
lf95*) # Lahey Fortran 8.1
11149
whole_archive_flag_spec=
11150
tmp_sharedflag='--shared' ;;
11151
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11152
tmp_sharedflag='-qmkshrobj'
11155
case `$CC -V 2>&1 | sed 5q` in
11156
*Sun\ C*) # Sun C 5.9
11157
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'
11158
compiler_needs_object=yes
11159
tmp_sharedflag='-G' ;;
11160
*Sun\ F*) # Sun Fortran 8.3
11161
tmp_sharedflag='-G' ;;
11163
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11165
if test "x$supports_anon_versioning" = xyes; then
11166
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11167
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11168
echo "local: *; };" >> $output_objdir/$libname.ver~
11169
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11172
case $cc_basename in
11174
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11175
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11176
hardcode_libdir_flag_spec=
11177
hardcode_libdir_flag_spec_ld='-rpath $libdir'
11178
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11179
if test "x$supports_anon_versioning" = xyes; then
11180
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11181
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11182
echo "local: *; };" >> $output_objdir/$libname.ver~
11183
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11192
netbsd* | netbsdelf*-gnu)
11193
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11194
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11197
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11198
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11203
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11207
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11208
*** create shared libraries on Solaris systems. Therefore, libtool
11209
*** is disabling shared libraries support. We urge you to upgrade GNU
11210
*** binutils to release 2.9.1 or newer. Another option is to modify
11211
*** your PATH or compiler configuration so that the native linker is
11212
*** used, and then restart.
11215
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11216
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11217
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11223
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11224
case `$LD -v 2>&1` in
11225
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11229
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11230
*** reliably create shared libraries on SCO systems. Therefore, libtool
11231
*** is disabling shared libraries support. We urge you to upgrade GNU
11232
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11233
*** your PATH or compiler configuration so that the native linker is
11234
*** used, and then restart.
11239
# For security reasons, it is highly recommended that you always
11240
# use absolute paths for naming shared libraries, and exclude the
11241
# DT_RUNPATH tag from executables and libraries. But doing so
11242
# requires that you compile everything twice, which is a pain.
11243
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11244
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11245
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11246
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11255
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11257
hardcode_direct=yes
11258
hardcode_shlibpath_var=no
11262
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11263
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11264
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11271
if test "$ld_shlibs" = no; then
11273
hardcode_libdir_flag_spec=
11274
export_dynamic_flag_spec=
11275
whole_archive_flag_spec=
11278
# PORTME fill in a description of your system's linker (not GNU ld)
11281
allow_undefined_flag=unsupported
11282
always_export_symbols=yes
11283
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'
11284
# Note: this linker hardcodes the directories in LIBPATH if there
11285
# are no directories specified by -L.
11286
hardcode_minus_L=yes
11287
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11288
# Neither direct hardcoding nor static linking is supported with a
11290
hardcode_direct=unsupported
11295
if test "$host_cpu" = ia64; then
11296
# On IA64, the linker does run time linking by default, so we don't
11297
# have to do anything special.
11298
aix_use_runtimelinking=no
11299
exp_sym_flag='-Bexport'
11302
# If we're using GNU nm, then we don't want the "-C" option.
11303
# -C means demangle to AIX nm, but means don't demangle with GNU nm
11304
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11305
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'
11307
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'
11309
aix_use_runtimelinking=no
11311
# Test if we are trying to use run time linking or normal
11312
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11313
# need to do runtime linking.
11314
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11315
for ld_flag in $LDFLAGS; do
11316
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11317
aix_use_runtimelinking=yes
11324
exp_sym_flag='-bexport'
11325
no_entry_flag='-bnoentry'
11328
# When large executables or shared objects are built, AIX ld can
11329
# have problems creating the table of contents. If linking a library
11330
# or program results in "error TOC overflow" add -mminimal-toc to
11331
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11332
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11335
hardcode_direct=yes
11336
hardcode_direct_absolute=yes
11337
hardcode_libdir_separator=':'
11338
link_all_deplibs=yes
11339
file_list_spec='${wl}-f,'
11341
if test "$GCC" = yes; then
11342
case $host_os in aix4.[012]|aix4.[012].*)
11343
# We only want to do this on AIX 4.2 and lower, the check
11344
# below for broken collect2 doesn't work under 4.3+
11345
collect2name=`${CC} -print-prog-name=collect2`
11346
if test -f "$collect2name" &&
11347
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11349
# We have reworked collect2
11352
# We have old collect2
11353
hardcode_direct=unsupported
11354
# It fails to find uninstalled libraries when the uninstalled
11355
# path is not listed in the libpath. Setting hardcode_minus_L
11356
# to unsupported forces relinking
11357
hardcode_minus_L=yes
11358
hardcode_libdir_flag_spec='-L$libdir'
11359
hardcode_libdir_separator=
11363
shared_flag='-shared'
11364
if test "$aix_use_runtimelinking" = yes; then
11365
shared_flag="$shared_flag "'${wl}-G'
11367
link_all_deplibs=no
11370
if test "$host_cpu" = ia64; then
11371
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11372
# chokes on -Wl,-G. The following line is correct:
11375
if test "$aix_use_runtimelinking" = yes; then
11376
shared_flag='${wl}-G'
11378
shared_flag='${wl}-bM:SRE'
11383
export_dynamic_flag_spec='${wl}-bexpall'
11384
# It seems that -bexpall does not export symbols beginning with
11385
# underscore (_), so it is better to generate a list of symbols to export.
11386
always_export_symbols=yes
11387
if test "$aix_use_runtimelinking" = yes; then
11388
# Warning - without using the other runtime loading flags (-brtl),
11389
# -berok will link without error, but may produce a broken library.
11390
allow_undefined_flag='-berok'
11391
# Determine the default libpath from the value encoded in an
11392
# empty executable.
11393
cat >conftest.$ac_ext <<_ACEOF
11396
cat confdefs.h >>conftest.$ac_ext
11397
cat >>conftest.$ac_ext <<_ACEOF
11398
/* end confdefs.h. */
11408
rm -f conftest.$ac_objext conftest$ac_exeext
11409
if { (ac_try="$ac_link"
11410
case "(($ac_try" in
11411
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11412
*) ac_try_echo=$ac_try;;
11414
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11415
$as_echo "$ac_try_echo") >&5
11416
(eval "$ac_link") 2>conftest.er1
11418
grep -v '^ *+' conftest.er1 >conftest.err
11420
cat conftest.err >&5
11421
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422
(exit $ac_status); } && {
11423
test -z "$ac_c_werror_flag" ||
11424
test ! -s conftest.err
11425
} && test -s conftest$ac_exeext && {
11426
test "$cross_compiling" = yes ||
11427
$as_test_x conftest$ac_exeext
11430
lt_aix_libpath_sed='
11431
/Import File Strings/,/^$/ {
11437
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11438
# Check for a 64-bit object if we didn't find anything.
11439
if test -z "$aix_libpath"; then
11440
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11443
$as_echo "$as_me: failed program was:" >&5
11444
sed 's/^/| /' conftest.$ac_ext >&5
11449
rm -rf conftest.dSYM
11450
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11451
conftest$ac_exeext conftest.$ac_ext
11452
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11454
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11455
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"
11457
if test "$host_cpu" = ia64; then
11458
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11459
allow_undefined_flag="-z nodefs"
11460
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"
11462
# Determine the default libpath from the value encoded in an
11463
# empty executable.
11464
cat >conftest.$ac_ext <<_ACEOF
11467
cat confdefs.h >>conftest.$ac_ext
11468
cat >>conftest.$ac_ext <<_ACEOF
11469
/* end confdefs.h. */
11479
rm -f conftest.$ac_objext conftest$ac_exeext
11480
if { (ac_try="$ac_link"
11481
case "(($ac_try" in
11482
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11483
*) ac_try_echo=$ac_try;;
11485
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11486
$as_echo "$ac_try_echo") >&5
11487
(eval "$ac_link") 2>conftest.er1
11489
grep -v '^ *+' conftest.er1 >conftest.err
11491
cat conftest.err >&5
11492
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493
(exit $ac_status); } && {
11494
test -z "$ac_c_werror_flag" ||
11495
test ! -s conftest.err
11496
} && test -s conftest$ac_exeext && {
11497
test "$cross_compiling" = yes ||
11498
$as_test_x conftest$ac_exeext
11501
lt_aix_libpath_sed='
11502
/Import File Strings/,/^$/ {
11508
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11509
# Check for a 64-bit object if we didn't find anything.
11510
if test -z "$aix_libpath"; then
11511
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11514
$as_echo "$as_me: failed program was:" >&5
11515
sed 's/^/| /' conftest.$ac_ext >&5
11520
rm -rf conftest.dSYM
11521
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11522
conftest$ac_exeext conftest.$ac_ext
11523
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11525
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11526
# Warning - without using the other run time loading flags,
11527
# -berok will link without error, but may produce a broken library.
11528
no_undefined_flag=' ${wl}-bernotok'
11529
allow_undefined_flag=' ${wl}-berok'
11530
# Exported symbols can be pulled into shared objects from archives
11531
whole_archive_flag_spec='$convenience'
11532
archive_cmds_need_lc=yes
11533
# This is similar to how AIX traditionally builds its shared libraries.
11534
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'
11542
# see comment about AmigaOS4 .so support
11543
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11544
archive_expsym_cmds=''
11547
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)'
11548
hardcode_libdir_flag_spec='-L$libdir'
11549
hardcode_minus_L=yes
11555
export_dynamic_flag_spec=-rdynamic
11558
cygwin* | mingw* | pw32* | cegcc*)
11559
# When not using gcc, we currently assume that we are using
11560
# Microsoft Visual C++.
11561
# hardcode_libdir_flag_spec is actually meaningless, as there is
11562
# no search path for DLLs.
11563
hardcode_libdir_flag_spec=' '
11564
allow_undefined_flag=unsupported
11565
# Tell ltmain to make .lib files, not .a files.
11567
# Tell ltmain to make .dll files, not .so files.
11569
# FIXME: Setting linknames here is a bad hack.
11570
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11571
# The linker will automatically build a .lib file if we build a DLL.
11572
old_archive_from_new_cmds='true'
11573
# FIXME: Should let the user specify the lib program.
11574
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11575
fix_srcfile_path='`cygpath -w "$srcfile"`'
11576
enable_shared_with_static_runtimes=yes
11579
darwin* | rhapsody*)
11582
archive_cmds_need_lc=no
11584
hardcode_automatic=yes
11585
hardcode_shlibpath_var=unsupported
11586
whole_archive_flag_spec=''
11587
link_all_deplibs=yes
11588
allow_undefined_flag="$_lt_dar_allow_undefined"
11589
case $cc_basename in
11590
ifort*) _lt_dar_can_shared=yes ;;
11591
*) _lt_dar_can_shared=$GCC ;;
11593
if test "$_lt_dar_can_shared" = "yes"; then
11594
output_verbose_link_cmd=echo
11595
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11596
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11597
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}"
11598
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}"
11607
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11608
hardcode_libdir_flag_spec='-L$libdir'
11609
hardcode_shlibpath_var=no
11616
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11617
# support. Future versions do this automatically, but an explicit c++rt0.o
11618
# does not break anything, and helps significantly (at the cost of a little
11621
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11622
hardcode_libdir_flag_spec='-R$libdir'
11623
hardcode_direct=yes
11624
hardcode_shlibpath_var=no
11627
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
11629
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11630
hardcode_direct=yes
11631
hardcode_minus_L=yes
11632
hardcode_shlibpath_var=no
11635
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11636
freebsd* | dragonfly*)
11637
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11638
hardcode_libdir_flag_spec='-R$libdir'
11639
hardcode_direct=yes
11640
hardcode_shlibpath_var=no
11644
if test "$GCC" = yes; then
11645
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'
11647
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'
11649
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11650
hardcode_libdir_separator=:
11651
hardcode_direct=yes
11653
# hardcode_minus_L: Not really in the search PATH,
11654
# but as the default location of the library.
11655
hardcode_minus_L=yes
11656
export_dynamic_flag_spec='${wl}-E'
11660
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11661
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11663
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11665
if test "$with_gnu_ld" = no; then
11666
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11667
hardcode_libdir_flag_spec_ld='+b $libdir'
11668
hardcode_libdir_separator=:
11669
hardcode_direct=yes
11670
hardcode_direct_absolute=yes
11671
export_dynamic_flag_spec='${wl}-E'
11672
# hardcode_minus_L: Not really in the search PATH,
11673
# but as the default location of the library.
11674
hardcode_minus_L=yes
11679
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11682
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11685
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11688
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11694
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11697
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11700
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11704
if test "$with_gnu_ld" = no; then
11705
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11706
hardcode_libdir_separator=:
11711
hardcode_shlibpath_var=no
11714
hardcode_direct=yes
11715
hardcode_direct_absolute=yes
11716
export_dynamic_flag_spec='${wl}-E'
11718
# hardcode_minus_L: Not really in the search PATH,
11719
# but as the default location of the library.
11720
hardcode_minus_L=yes
11726
irix5* | irix6* | nonstopux*)
11727
if test "$GCC" = yes; then
11728
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'
11729
# Try to use the -exported_symbol ld option, if it does not
11730
# work, assume that -exports_file does not work either and
11731
# implicitly export all symbols.
11732
save_LDFLAGS="$LDFLAGS"
11733
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11734
cat >conftest.$ac_ext <<_ACEOF
11737
rm -f conftest.$ac_objext conftest$ac_exeext
11738
if { (ac_try="$ac_link"
11739
case "(($ac_try" in
11740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741
*) ac_try_echo=$ac_try;;
11743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11744
$as_echo "$ac_try_echo") >&5
11745
(eval "$ac_link") 2>conftest.er1
11747
grep -v '^ *+' conftest.er1 >conftest.err
11749
cat conftest.err >&5
11750
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751
(exit $ac_status); } && {
11752
test -z "$ac_c_werror_flag" ||
11753
test ! -s conftest.err
11754
} && test -s conftest$ac_exeext && {
11755
test "$cross_compiling" = yes ||
11756
$as_test_x conftest$ac_exeext
11758
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'
11761
$as_echo "$as_me: failed program was:" >&5
11762
sed 's/^/| /' conftest.$ac_ext >&5
11767
rm -rf conftest.dSYM
11768
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11769
conftest$ac_exeext conftest.$ac_ext
11770
LDFLAGS="$save_LDFLAGS"
11772
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'
11773
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'
11775
archive_cmds_need_lc='no'
11776
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11777
hardcode_libdir_separator=:
11779
link_all_deplibs=yes
11782
netbsd* | netbsdelf*-gnu)
11783
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11784
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11786
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11788
hardcode_libdir_flag_spec='-R$libdir'
11789
hardcode_direct=yes
11790
hardcode_shlibpath_var=no
11794
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11795
hardcode_direct=yes
11796
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11797
hardcode_libdir_separator=:
11798
hardcode_shlibpath_var=no
11805
if test -f /usr/libexec/ld.so; then
11806
hardcode_direct=yes
11807
hardcode_shlibpath_var=no
11808
hardcode_direct_absolute=yes
11809
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11810
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11811
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11812
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11813
export_dynamic_flag_spec='${wl}-E'
11816
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11817
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11818
hardcode_libdir_flag_spec='-R$libdir'
11821
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11822
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11832
hardcode_libdir_flag_spec='-L$libdir'
11833
hardcode_minus_L=yes
11834
allow_undefined_flag=unsupported
11835
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'
11836
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11840
if test "$GCC" = yes; then
11841
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11842
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'
11844
allow_undefined_flag=' -expect_unresolved \*'
11845
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'
11847
archive_cmds_need_lc='no'
11848
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11849
hardcode_libdir_separator=:
11852
osf4* | osf5*) # as osf3* with the addition of -msym flag
11853
if test "$GCC" = yes; then
11854
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11855
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'
11856
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11858
allow_undefined_flag=' -expect_unresolved \*'
11859
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'
11860
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~
11861
$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'
11863
# Both c and cxx compiler support -rpath directly
11864
hardcode_libdir_flag_spec='-rpath $libdir'
11866
archive_cmds_need_lc='no'
11867
hardcode_libdir_separator=:
11871
no_undefined_flag=' -z defs'
11872
if test "$GCC" = yes; then
11874
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11875
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11876
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11878
case `$CC -V 2>&1` in
11881
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11882
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11883
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11887
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11888
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11889
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11893
hardcode_libdir_flag_spec='-R$libdir'
11894
hardcode_shlibpath_var=no
11896
solaris2.[0-5] | solaris2.[0-5].*) ;;
11898
# The compiler driver will combine and reorder linker options,
11899
# but understands `-z linker_flag'. GCC discards it without `$wl',
11900
# but is careful enough not to reorder.
11901
# Supported since Solaris 2.6 (maybe 2.5.1?)
11902
if test "$GCC" = yes; then
11903
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11905
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11909
link_all_deplibs=yes
11913
if test "x$host_vendor" = xsequent; then
11914
# Use $CC to link under sequent, because it throws in some extra .o
11915
# files that make .init and .fini sections work.
11916
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11918
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11920
hardcode_libdir_flag_spec='-L$libdir'
11921
hardcode_direct=yes
11922
hardcode_minus_L=yes
11923
hardcode_shlibpath_var=no
11927
case $host_vendor in
11929
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11930
hardcode_direct=yes # is this really true???
11933
## LD is ld it makes a PLAMLIB
11934
## CC just makes a GrossModule.
11935
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11936
reload_cmds='$CC -r -o $output$reload_objs'
11940
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11941
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11944
runpath_var='LD_RUN_PATH'
11945
hardcode_shlibpath_var=no
11949
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11950
hardcode_shlibpath_var=no
11951
export_dynamic_flag_spec='-Bexport'
11955
if test -d /usr/nec; then
11956
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11957
hardcode_shlibpath_var=no
11958
runpath_var=LD_RUN_PATH
11959
hardcode_runpath_var=yes
11964
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11965
no_undefined_flag='${wl}-z,text'
11966
archive_cmds_need_lc=no
11967
hardcode_shlibpath_var=no
11968
runpath_var='LD_RUN_PATH'
11970
if test "$GCC" = yes; then
11971
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11972
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11974
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11975
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11979
sysv5* | sco3.2v5* | sco5v6*)
11980
# Note: We can NOT use -z defs as we might desire, because we do not
11981
# link with -lc, and that would cause any symbols used from libc to
11982
# always be unresolved, which means just about no library would
11983
# ever link correctly. If we're not using GNU ld we use -z text
11984
# though, which does catch some bad symbols but isn't as heavy-handed
11986
no_undefined_flag='${wl}-z,text'
11987
allow_undefined_flag='${wl}-z,nodefs'
11988
archive_cmds_need_lc=no
11989
hardcode_shlibpath_var=no
11990
hardcode_libdir_flag_spec='${wl}-R,$libdir'
11991
hardcode_libdir_separator=':'
11992
link_all_deplibs=yes
11993
export_dynamic_flag_spec='${wl}-Bexport'
11994
runpath_var='LD_RUN_PATH'
11996
if test "$GCC" = yes; then
11997
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11998
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12000
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12001
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12006
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12007
hardcode_libdir_flag_spec='-L$libdir'
12008
hardcode_shlibpath_var=no
12016
if test x$host_vendor = xsni; then
12018
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12019
export_dynamic_flag_spec='${wl}-Blargedynsym'
12025
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12026
$as_echo "$ld_shlibs" >&6; }
12027
test "$ld_shlibs" = no && can_build_shared=no
12029
with_gnu_ld=$with_gnu_ld
12046
# Do we need to explicitly link libc?
12048
case "x$archive_cmds_need_lc" in
12050
# Assume -lc should be added
12051
archive_cmds_need_lc=yes
12053
if test "$enable_shared" = yes && test "$GCC" = yes; then
12054
case $archive_cmds in
12056
# FIXME: we may have to deal with multi-command sequences.
12059
# Test whether the compiler implicitly links with -lc since on some
12060
# systems, -lgcc has to come before -lc. If gcc already passes -lc
12061
# to ld, don't add -lc before -lgcc.
12062
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12063
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12065
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12067
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12068
(eval $ac_compile) 2>&5
12070
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071
(exit $ac_status); } 2>conftest.err; then
12074
libobjs=conftest.$ac_objext
12076
wl=$lt_prog_compiler_wl
12077
pic_flag=$lt_prog_compiler_pic
12083
lt_save_allow_undefined_flag=$allow_undefined_flag
12084
allow_undefined_flag=
12085
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12086
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12088
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089
(exit $ac_status); }
12091
archive_cmds_need_lc=no
12093
archive_cmds_need_lc=yes
12095
allow_undefined_flag=$lt_save_allow_undefined_flag
12097
cat conftest.err 1>&5
12100
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12101
$as_echo "$archive_cmds_need_lc" >&6; }
12264
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12265
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12267
if test "$GCC" = yes; then
12269
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12270
*) lt_awk_arg="/^libraries:/" ;;
12272
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12273
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
12274
# if the path contains ";" then we assume it to be the separator
12275
# otherwise default to the standard path separator (i.e. ":") - it is
12276
# assumed that no part of a normal pathname contains ";" but that should
12277
# okay in the real world where ";" in dirpaths is itself problematic.
12278
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12280
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12282
# Ok, now we have the path, separated by spaces, we can step through it
12283
# and add multilib dir if necessary.
12284
lt_tmp_lt_search_path_spec=
12285
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12286
for lt_sys_path in $lt_search_path_spec; do
12287
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12288
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12290
test -d "$lt_sys_path" && \
12291
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12294
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12295
BEGIN {RS=" "; FS="/|\n";} {
12298
for (lt_i = NF; lt_i > 0; lt_i--) {
12299
if ($lt_i != "" && $lt_i != ".") {
12300
if ($lt_i == "..") {
12303
if (lt_count == 0) {
12304
lt_foo="/" $lt_i lt_foo;
12311
if (lt_foo != "") { lt_freq[lt_foo]++; }
12312
if (lt_freq[lt_foo] == 1) { print lt_foo; }
12314
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12316
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12318
library_names_spec=
12319
libname_spec='lib$name'
12323
postuninstall_cmds=
12327
shlibpath_overrides_runpath=unknown
12329
dynamic_linker="$host_os ld.so"
12330
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12331
need_lib_prefix=unknown
12332
hardcode_into_libs=no
12334
# when you set need_version to no, make sure it does not cause -set_version
12335
# flags to be left without arguments
12336
need_version=unknown
12341
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12342
shlibpath_var=LIBPATH
12344
# AIX 3 has no versioning support, so we append a major version to the name.
12345
soname_spec='${libname}${release}${shared_ext}$major'
12352
hardcode_into_libs=yes
12353
if test "$host_cpu" = ia64; then
12354
# AIX 5 supports IA64
12355
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12356
shlibpath_var=LD_LIBRARY_PATH
12358
# With GCC up to 2.95.x, collect2 would create an import file
12359
# for dependence libraries. The import file would start with
12360
# the line `#! .'. This would cause the generated library to
12361
# depend on `.', always an invalid library. This was fixed in
12362
# development snapshots of GCC prior to 3.0.
12364
aix4 | aix4.[01] | aix4.[01].*)
12365
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12367
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12370
can_build_shared=no
12374
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12375
# soname into executable. Probably we can add versioning support to
12376
# collect2, so additional links can be useful in future.
12377
if test "$aix_use_runtimelinking" = yes; then
12378
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
12379
# instead of lib<name>.a to let people know that these are not
12380
# typical AIX shared libraries.
12381
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12383
# We preserve .a as extension for shared libraries through AIX4.2
12384
# and later when we are not doing run time linking.
12385
library_names_spec='${libname}${release}.a $libname.a'
12386
soname_spec='${libname}${release}${shared_ext}$major'
12388
shlibpath_var=LIBPATH
12395
# Since July 2007 AmigaOS4 officially supports .so libraries.
12396
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12400
library_names_spec='$libname.ixlibrary $libname.a'
12401
# Create ${libname}_ixlibrary.a entries in /sys/libs.
12402
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'
12408
library_names_spec='${libname}${shared_ext}'
12409
dynamic_linker="$host_os ld.so"
12410
shlibpath_var=LIBRARY_PATH
12416
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12417
soname_spec='${libname}${release}${shared_ext}$major'
12418
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12419
shlibpath_var=LD_LIBRARY_PATH
12420
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12421
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12422
# the default ld.so.conf also contains /usr/contrib/lib and
12423
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12424
# libtool to hard-code these into programs
12427
cygwin* | mingw* | pw32* | cegcc*)
12428
version_type=windows
12433
case $GCC,$host_os in
12434
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12435
library_names_spec='$libname.dll.a'
12436
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12437
postinstall_cmds='base_file=`basename \${file}`~
12438
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12439
dldir=$destdir/`dirname \$dlpath`~
12440
test -d \$dldir || mkdir -p \$dldir~
12441
$install_prog $dir/$dlname \$dldir/$dlname~
12442
chmod a+x \$dldir/$dlname~
12443
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12444
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12446
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12447
dlpath=$dir/\$dldll~
12449
shlibpath_overrides_runpath=yes
12453
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
12454
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12455
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12458
# MinGW DLLs use traditional 'lib' prefix
12459
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12460
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12461
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12462
# It is most probably a Windows format PATH printed by
12463
# mingw gcc, but we are running on Cygwin. Gcc prints its search
12464
# path with ; separators, and with drive letters. We can handle the
12465
# drive letters (cygwin fileutils understands them), so leave them,
12466
# especially as we might pass files found there to a mingw objdump,
12467
# which wouldn't understand a cygwinified path. Ahh.
12468
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12470
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12474
# pw32 DLLs use 'pw' prefix rather than 'lib'
12475
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12481
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12484
dynamic_linker='Win32 ld.exe'
12485
# FIXME: first we should search . and the directory the executable is in
12489
darwin* | rhapsody*)
12490
dynamic_linker="$host_os dyld"
12491
version_type=darwin
12494
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12495
soname_spec='${libname}${release}${major}$shared_ext'
12496
shlibpath_overrides_runpath=yes
12497
shlibpath_var=DYLD_LIBRARY_PATH
12498
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12500
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12501
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12508
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12509
soname_spec='${libname}${release}${shared_ext}$major'
12510
shlibpath_var=LD_LIBRARY_PATH
12517
freebsd* | dragonfly*)
12518
# DragonFly does not have aout. When/if they implement a new
12519
# versioning mechanism, adjust this.
12520
if test -x /usr/bin/objformat; then
12521
objformat=`/usr/bin/objformat`
12524
freebsd[123]*) objformat=aout ;;
12525
*) objformat=elf ;;
12528
version_type=freebsd-$objformat
12529
case $version_type in
12531
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12536
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12540
shlibpath_var=LD_LIBRARY_PATH
12543
shlibpath_overrides_runpath=yes
12545
freebsd3.[01]* | freebsdelf3.[01]*)
12546
shlibpath_overrides_runpath=yes
12547
hardcode_into_libs=yes
12549
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12550
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12551
shlibpath_overrides_runpath=no
12552
hardcode_into_libs=yes
12554
*) # from 4.6 on, and DragonFly
12555
shlibpath_overrides_runpath=yes
12556
hardcode_into_libs=yes
12565
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12566
soname_spec='${libname}${release}${shared_ext}$major'
12567
shlibpath_var=LD_LIBRARY_PATH
12568
hardcode_into_libs=yes
12571
hpux9* | hpux10* | hpux11*)
12572
# Give a soname corresponding to the major version so that dld.sl refuses to
12573
# link against other versions.
12580
hardcode_into_libs=yes
12581
dynamic_linker="$host_os dld.so"
12582
shlibpath_var=LD_LIBRARY_PATH
12583
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12584
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12585
soname_spec='${libname}${release}${shared_ext}$major'
12586
if test "X$HPUX_IA64_MODE" = X32; then
12587
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12589
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12591
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12595
hardcode_into_libs=yes
12596
dynamic_linker="$host_os dld.sl"
12597
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12598
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12599
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12600
soname_spec='${libname}${release}${shared_ext}$major'
12601
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12602
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12606
dynamic_linker="$host_os dld.sl"
12607
shlibpath_var=SHLIB_PATH
12608
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12609
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12610
soname_spec='${libname}${release}${shared_ext}$major'
12613
# HP-UX runs *really* slowly unless shared libraries are mode 555.
12614
postinstall_cmds='chmod 555 $lib'
12621
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12622
soname_spec='${libname}${release}${shared_ext}$major'
12623
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12624
shlibpath_var=LD_LIBRARY_PATH
12625
shlibpath_overrides_runpath=no
12626
hardcode_into_libs=yes
12629
irix5* | irix6* | nonstopux*)
12631
nonstopux*) version_type=nonstopux ;;
12633
if test "$lt_cv_prog_gnu_ld" = yes; then
12641
soname_spec='${libname}${release}${shared_ext}$major'
12642
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12644
irix5* | nonstopux*)
12645
libsuff= shlibsuff=
12648
case $LD in # libtool.m4 will add one of these switches to LD
12649
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12650
libsuff= shlibsuff= libmagic=32-bit;;
12651
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12652
libsuff=32 shlibsuff=N32 libmagic=N32;;
12653
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12654
libsuff=64 shlibsuff=64 libmagic=64-bit;;
12655
*) libsuff= shlibsuff= libmagic=never-match;;
12659
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12660
shlibpath_overrides_runpath=no
12661
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12662
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12663
hardcode_into_libs=yes
12666
# No shared lib support for Linux oldld, aout, or coff.
12667
linux*oldld* | linux*aout* | linux*coff*)
12671
# This must be Linux ELF.
12672
linux* | k*bsd*-gnu)
12676
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12677
soname_spec='${libname}${release}${shared_ext}$major'
12678
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12679
shlibpath_var=LD_LIBRARY_PATH
12680
shlibpath_overrides_runpath=no
12681
# Some binutils ld are patched to set DT_RUNPATH
12682
save_LDFLAGS=$LDFLAGS
12683
save_libdir=$libdir
12684
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12685
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12686
cat >conftest.$ac_ext <<_ACEOF
12689
cat confdefs.h >>conftest.$ac_ext
12690
cat >>conftest.$ac_ext <<_ACEOF
12691
/* end confdefs.h. */
12701
rm -f conftest.$ac_objext conftest$ac_exeext
12702
if { (ac_try="$ac_link"
12703
case "(($ac_try" in
12704
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12705
*) ac_try_echo=$ac_try;;
12707
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12708
$as_echo "$ac_try_echo") >&5
12709
(eval "$ac_link") 2>conftest.er1
12711
grep -v '^ *+' conftest.er1 >conftest.err
12713
cat conftest.err >&5
12714
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715
(exit $ac_status); } && {
12716
test -z "$ac_c_werror_flag" ||
12717
test ! -s conftest.err
12718
} && test -s conftest$ac_exeext && {
12719
test "$cross_compiling" = yes ||
12720
$as_test_x conftest$ac_exeext
12722
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12723
shlibpath_overrides_runpath=yes
12727
$as_echo "$as_me: failed program was:" >&5
12728
sed 's/^/| /' conftest.$ac_ext >&5
12733
rm -rf conftest.dSYM
12734
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12735
conftest$ac_exeext conftest.$ac_ext
12736
LDFLAGS=$save_LDFLAGS
12737
libdir=$save_libdir
12739
# This implies no fast_install, which is unacceptable.
12740
# Some rework will be needed to allow for fast_install
12741
# before this can be enabled.
12742
hardcode_into_libs=yes
12744
# Append ld.so.conf contents to the search path
12745
if test -f /etc/ld.so.conf; then
12746
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' ' '`
12747
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12750
# We used to test for /lib/ld.so.1 and disable shared libraries on
12751
# powerpc, because MkLinux only supported shared libraries with the
12752
# GNU dynamic linker. Since this was broken with cross compilers,
12753
# most powerpc-linux boxes support dynamic linking these days and
12754
# people can always --disable-shared, the test was removed, and we
12755
# assume the GNU/Linux dynamic linker is in use.
12756
dynamic_linker='GNU/Linux ld.so'
12763
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12764
soname_spec='${libname}${release}${shared_ext}$major'
12765
shlibpath_var=LD_LIBRARY_PATH
12766
shlibpath_overrides_runpath=no
12767
hardcode_into_libs=yes
12768
dynamic_linker='NetBSD ld.elf_so'
12775
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12776
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12777
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12778
dynamic_linker='NetBSD (a.out) ld.so'
12780
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12781
soname_spec='${libname}${release}${shared_ext}$major'
12782
dynamic_linker='NetBSD ld.elf_so'
12784
shlibpath_var=LD_LIBRARY_PATH
12785
shlibpath_overrides_runpath=yes
12786
hardcode_into_libs=yes
12791
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12792
shlibpath_var=LD_LIBRARY_PATH
12793
shlibpath_overrides_runpath=yes
12800
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12801
soname_spec='${libname}${release}${shared_ext}$major'
12802
shlibpath_var=LD_LIBRARY_PATH
12803
shlibpath_overrides_runpath=no
12804
hardcode_into_libs=yes
12805
dynamic_linker='ldqnx.so'
12810
sys_lib_dlsearch_path_spec="/usr/lib"
12812
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12814
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12815
*) need_version=no ;;
12817
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12818
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12819
shlibpath_var=LD_LIBRARY_PATH
12820
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12822
openbsd2.[89] | openbsd2.[89].*)
12823
shlibpath_overrides_runpath=no
12826
shlibpath_overrides_runpath=yes
12830
shlibpath_overrides_runpath=yes
12835
libname_spec='$name'
12838
library_names_spec='$libname${shared_ext} $libname.a'
12839
dynamic_linker='OS/2 ld.exe'
12840
shlibpath_var=LIBPATH
12843
osf3* | osf4* | osf5*)
12847
soname_spec='${libname}${release}${shared_ext}$major'
12848
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12849
shlibpath_var=LD_LIBRARY_PATH
12850
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12851
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12862
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12863
soname_spec='${libname}${release}${shared_ext}$major'
12864
shlibpath_var=LD_LIBRARY_PATH
12865
shlibpath_overrides_runpath=yes
12866
hardcode_into_libs=yes
12867
# ldd complains unless libraries are executable
12868
postinstall_cmds='chmod +x $lib'
12873
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12874
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12875
shlibpath_var=LD_LIBRARY_PATH
12876
shlibpath_overrides_runpath=yes
12877
if test "$with_gnu_ld" = yes; then
12885
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12886
soname_spec='${libname}${release}${shared_ext}$major'
12887
shlibpath_var=LD_LIBRARY_PATH
12888
case $host_vendor in
12890
shlibpath_overrides_runpath=no
12892
runpath_var=LD_RUN_PATH
12900
shlibpath_overrides_runpath=no
12901
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12907
if test -d /usr/nec ;then
12909
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12910
soname_spec='$libname${shared_ext}.$major'
12911
shlibpath_var=LD_LIBRARY_PATH
12915
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12916
version_type=freebsd-elf
12919
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12920
soname_spec='${libname}${release}${shared_ext}$major'
12921
shlibpath_var=LD_LIBRARY_PATH
12922
shlibpath_overrides_runpath=yes
12923
hardcode_into_libs=yes
12924
if test "$with_gnu_ld" = yes; then
12925
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12927
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12930
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12934
sys_lib_dlsearch_path_spec='/usr/lib'
12938
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12942
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12943
shlibpath_var=LD_LIBRARY_PATH
12944
shlibpath_overrides_runpath=no
12945
hardcode_into_libs=yes
12950
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12951
soname_spec='${libname}${release}${shared_ext}$major'
12952
shlibpath_var=LD_LIBRARY_PATH
12959
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12960
$as_echo "$dynamic_linker" >&6; }
12961
test "$dynamic_linker" = no && can_build_shared=no
12963
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12964
if test "$GCC" = yes; then
12965
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12968
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12969
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12971
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12972
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13061
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13062
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13064
if test -n "$hardcode_libdir_flag_spec" ||
13065
test -n "$runpath_var" ||
13066
test "X$hardcode_automatic" = "Xyes" ; then
13068
# We can hardcode non-existent directories.
13069
if test "$hardcode_direct" != no &&
13070
# If the only mechanism to avoid hardcoding is shlibpath_var, we
13071
# have to relink, otherwise we might link with an installed library
13072
# when we should be linking with a yet-to-be-installed one
13073
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13074
test "$hardcode_minus_L" != no; then
13075
# Linking always hardcodes the temporary library directory.
13076
hardcode_action=relink
13078
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13079
hardcode_action=immediate
13082
# We cannot hardcode anything, or else we can only hardcode existing
13084
hardcode_action=unsupported
13086
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
13087
$as_echo "$hardcode_action" >&6; }
13089
if test "$hardcode_action" = relink ||
13090
test "$inherit_rpath" = yes; then
13091
# Fast installation is not supported
13092
enable_fast_install=no
13093
elif test "$shlibpath_overrides_runpath" = yes ||
13094
test "$enable_shared" = no; then
13095
# Fast installation is not necessary
13096
enable_fast_install=needless
13104
if test "x$enable_dlopen" != xyes; then
13105
enable_dlopen=unknown
13106
enable_dlopen_self=unknown
13107
enable_dlopen_self_static=unknown
13114
lt_cv_dlopen="load_add_on"
13116
lt_cv_dlopen_self=yes
13119
mingw* | pw32* | cegcc*)
13120
lt_cv_dlopen="LoadLibrary"
13125
lt_cv_dlopen="dlopen"
13130
# if libdl is installed we need to link against it
13131
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13132
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13133
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13134
$as_echo_n "(cached) " >&6
13136
ac_check_lib_save_LIBS=$LIBS
13138
cat >conftest.$ac_ext <<_ACEOF
13141
cat confdefs.h >>conftest.$ac_ext
13142
cat >>conftest.$ac_ext <<_ACEOF
13143
/* end confdefs.h. */
13145
/* Override any GCC internal prototype to avoid an error.
13146
Use char because int might match the return type of a GCC
13147
builtin and then its argument prototype would still apply. */
13160
rm -f conftest.$ac_objext conftest$ac_exeext
13161
if { (ac_try="$ac_link"
13162
case "(($ac_try" in
13163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13164
*) ac_try_echo=$ac_try;;
13166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13167
$as_echo "$ac_try_echo") >&5
13168
(eval "$ac_link") 2>conftest.er1
13170
grep -v '^ *+' conftest.er1 >conftest.err
13172
cat conftest.err >&5
13173
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174
(exit $ac_status); } && {
13175
test -z "$ac_c_werror_flag" ||
13176
test ! -s conftest.err
13177
} && test -s conftest$ac_exeext && {
13178
test "$cross_compiling" = yes ||
13179
$as_test_x conftest$ac_exeext
13181
ac_cv_lib_dl_dlopen=yes
13183
$as_echo "$as_me: failed program was:" >&5
13184
sed 's/^/| /' conftest.$ac_ext >&5
13186
ac_cv_lib_dl_dlopen=no
13189
rm -rf conftest.dSYM
13190
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13191
conftest$ac_exeext conftest.$ac_ext
13192
LIBS=$ac_check_lib_save_LIBS
13194
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13195
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13196
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
13197
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13200
lt_cv_dlopen="dyld"
13202
lt_cv_dlopen_self=yes
13209
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
13210
$as_echo_n "checking for shl_load... " >&6; }
13211
if test "${ac_cv_func_shl_load+set}" = set; then
13212
$as_echo_n "(cached) " >&6
13214
cat >conftest.$ac_ext <<_ACEOF
13217
cat confdefs.h >>conftest.$ac_ext
13218
cat >>conftest.$ac_ext <<_ACEOF
13219
/* end confdefs.h. */
13220
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13221
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13222
#define shl_load innocuous_shl_load
13224
/* System header to define __stub macros and hopefully few prototypes,
13225
which can conflict with char shl_load (); below.
13226
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13227
<limits.h> exists even on freestanding compilers. */
13230
# include <limits.h>
13232
# include <assert.h>
13237
/* Override any GCC internal prototype to avoid an error.
13238
Use char because int might match the return type of a GCC
13239
builtin and then its argument prototype would still apply. */
13244
/* The GNU C library defines this for functions which it implements
13245
to always fail with ENOSYS. Some functions are actually named
13246
something starting with __ and the normal name is an alias. */
13247
#if defined __stub_shl_load || defined __stub___shl_load
13254
return shl_load ();
13259
rm -f conftest.$ac_objext conftest$ac_exeext
13260
if { (ac_try="$ac_link"
13261
case "(($ac_try" in
13262
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263
*) ac_try_echo=$ac_try;;
13265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13266
$as_echo "$ac_try_echo") >&5
13267
(eval "$ac_link") 2>conftest.er1
13269
grep -v '^ *+' conftest.er1 >conftest.err
13271
cat conftest.err >&5
13272
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273
(exit $ac_status); } && {
13274
test -z "$ac_c_werror_flag" ||
13275
test ! -s conftest.err
13276
} && test -s conftest$ac_exeext && {
13277
test "$cross_compiling" = yes ||
13278
$as_test_x conftest$ac_exeext
13280
ac_cv_func_shl_load=yes
13282
$as_echo "$as_me: failed program was:" >&5
13283
sed 's/^/| /' conftest.$ac_ext >&5
13285
ac_cv_func_shl_load=no
13288
rm -rf conftest.dSYM
13289
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13290
conftest$ac_exeext conftest.$ac_ext
13292
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13293
$as_echo "$ac_cv_func_shl_load" >&6; }
13294
if test "x$ac_cv_func_shl_load" = x""yes; then
13295
lt_cv_dlopen="shl_load"
13297
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13298
$as_echo_n "checking for shl_load in -ldld... " >&6; }
13299
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13300
$as_echo_n "(cached) " >&6
13302
ac_check_lib_save_LIBS=$LIBS
13304
cat >conftest.$ac_ext <<_ACEOF
13307
cat confdefs.h >>conftest.$ac_ext
13308
cat >>conftest.$ac_ext <<_ACEOF
13309
/* end confdefs.h. */
13311
/* Override any GCC internal prototype to avoid an error.
13312
Use char because int might match the return type of a GCC
13313
builtin and then its argument prototype would still apply. */
13321
return shl_load ();
13326
rm -f conftest.$ac_objext conftest$ac_exeext
13327
if { (ac_try="$ac_link"
13328
case "(($ac_try" in
13329
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13330
*) ac_try_echo=$ac_try;;
13332
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13333
$as_echo "$ac_try_echo") >&5
13334
(eval "$ac_link") 2>conftest.er1
13336
grep -v '^ *+' conftest.er1 >conftest.err
13338
cat conftest.err >&5
13339
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340
(exit $ac_status); } && {
13341
test -z "$ac_c_werror_flag" ||
13342
test ! -s conftest.err
13343
} && test -s conftest$ac_exeext && {
13344
test "$cross_compiling" = yes ||
13345
$as_test_x conftest$ac_exeext
13347
ac_cv_lib_dld_shl_load=yes
13349
$as_echo "$as_me: failed program was:" >&5
13350
sed 's/^/| /' conftest.$ac_ext >&5
13352
ac_cv_lib_dld_shl_load=no
13355
rm -rf conftest.dSYM
13356
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13357
conftest$ac_exeext conftest.$ac_ext
13358
LIBS=$ac_check_lib_save_LIBS
13360
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13361
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13362
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
13363
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13365
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
13366
$as_echo_n "checking for dlopen... " >&6; }
13367
if test "${ac_cv_func_dlopen+set}" = set; then
13368
$as_echo_n "(cached) " >&6
13370
cat >conftest.$ac_ext <<_ACEOF
13373
cat confdefs.h >>conftest.$ac_ext
13374
cat >>conftest.$ac_ext <<_ACEOF
13375
/* end confdefs.h. */
13376
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13377
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13378
#define dlopen innocuous_dlopen
13380
/* System header to define __stub macros and hopefully few prototypes,
13381
which can conflict with char dlopen (); below.
13382
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13383
<limits.h> exists even on freestanding compilers. */
13386
# include <limits.h>
13388
# include <assert.h>
13393
/* Override any GCC internal prototype to avoid an error.
13394
Use char because int might match the return type of a GCC
13395
builtin and then its argument prototype would still apply. */
13400
/* The GNU C library defines this for functions which it implements
13401
to always fail with ENOSYS. Some functions are actually named
13402
something starting with __ and the normal name is an alias. */
13403
#if defined __stub_dlopen || defined __stub___dlopen
13415
rm -f conftest.$ac_objext conftest$ac_exeext
13416
if { (ac_try="$ac_link"
13417
case "(($ac_try" in
13418
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419
*) ac_try_echo=$ac_try;;
13421
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13422
$as_echo "$ac_try_echo") >&5
13423
(eval "$ac_link") 2>conftest.er1
13425
grep -v '^ *+' conftest.er1 >conftest.err
13427
cat conftest.err >&5
13428
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429
(exit $ac_status); } && {
13430
test -z "$ac_c_werror_flag" ||
13431
test ! -s conftest.err
13432
} && test -s conftest$ac_exeext && {
13433
test "$cross_compiling" = yes ||
13434
$as_test_x conftest$ac_exeext
13436
ac_cv_func_dlopen=yes
13438
$as_echo "$as_me: failed program was:" >&5
13439
sed 's/^/| /' conftest.$ac_ext >&5
13441
ac_cv_func_dlopen=no
13444
rm -rf conftest.dSYM
13445
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13446
conftest$ac_exeext conftest.$ac_ext
13448
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13449
$as_echo "$ac_cv_func_dlopen" >&6; }
13450
if test "x$ac_cv_func_dlopen" = x""yes; then
13451
lt_cv_dlopen="dlopen"
13453
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13454
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13455
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13456
$as_echo_n "(cached) " >&6
13458
ac_check_lib_save_LIBS=$LIBS
13460
cat >conftest.$ac_ext <<_ACEOF
13463
cat confdefs.h >>conftest.$ac_ext
13464
cat >>conftest.$ac_ext <<_ACEOF
13465
/* end confdefs.h. */
13467
/* Override any GCC internal prototype to avoid an error.
13468
Use char because int might match the return type of a GCC
13469
builtin and then its argument prototype would still apply. */
13482
rm -f conftest.$ac_objext conftest$ac_exeext
13483
if { (ac_try="$ac_link"
13484
case "(($ac_try" in
13485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13486
*) ac_try_echo=$ac_try;;
13488
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13489
$as_echo "$ac_try_echo") >&5
13490
(eval "$ac_link") 2>conftest.er1
13492
grep -v '^ *+' conftest.er1 >conftest.err
13494
cat conftest.err >&5
13495
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496
(exit $ac_status); } && {
13497
test -z "$ac_c_werror_flag" ||
13498
test ! -s conftest.err
13499
} && test -s conftest$ac_exeext && {
13500
test "$cross_compiling" = yes ||
13501
$as_test_x conftest$ac_exeext
13503
ac_cv_lib_dl_dlopen=yes
13505
$as_echo "$as_me: failed program was:" >&5
13506
sed 's/^/| /' conftest.$ac_ext >&5
13508
ac_cv_lib_dl_dlopen=no
13511
rm -rf conftest.dSYM
13512
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13513
conftest$ac_exeext conftest.$ac_ext
13514
LIBS=$ac_check_lib_save_LIBS
13516
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13517
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13518
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
13519
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13521
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13522
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13523
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13524
$as_echo_n "(cached) " >&6
13526
ac_check_lib_save_LIBS=$LIBS
13527
LIBS="-lsvld $LIBS"
13528
cat >conftest.$ac_ext <<_ACEOF
13531
cat confdefs.h >>conftest.$ac_ext
13532
cat >>conftest.$ac_ext <<_ACEOF
13533
/* end confdefs.h. */
13535
/* Override any GCC internal prototype to avoid an error.
13536
Use char because int might match the return type of a GCC
13537
builtin and then its argument prototype would still apply. */
13550
rm -f conftest.$ac_objext conftest$ac_exeext
13551
if { (ac_try="$ac_link"
13552
case "(($ac_try" in
13553
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13554
*) ac_try_echo=$ac_try;;
13556
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13557
$as_echo "$ac_try_echo") >&5
13558
(eval "$ac_link") 2>conftest.er1
13560
grep -v '^ *+' conftest.er1 >conftest.err
13562
cat conftest.err >&5
13563
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564
(exit $ac_status); } && {
13565
test -z "$ac_c_werror_flag" ||
13566
test ! -s conftest.err
13567
} && test -s conftest$ac_exeext && {
13568
test "$cross_compiling" = yes ||
13569
$as_test_x conftest$ac_exeext
13571
ac_cv_lib_svld_dlopen=yes
13573
$as_echo "$as_me: failed program was:" >&5
13574
sed 's/^/| /' conftest.$ac_ext >&5
13576
ac_cv_lib_svld_dlopen=no
13579
rm -rf conftest.dSYM
13580
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13581
conftest$ac_exeext conftest.$ac_ext
13582
LIBS=$ac_check_lib_save_LIBS
13584
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13585
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13586
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
13587
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13589
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13590
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13591
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13592
$as_echo_n "(cached) " >&6
13594
ac_check_lib_save_LIBS=$LIBS
13596
cat >conftest.$ac_ext <<_ACEOF
13599
cat confdefs.h >>conftest.$ac_ext
13600
cat >>conftest.$ac_ext <<_ACEOF
13601
/* end confdefs.h. */
13603
/* Override any GCC internal prototype to avoid an error.
13604
Use char because int might match the return type of a GCC
13605
builtin and then its argument prototype would still apply. */
13613
return dld_link ();
13618
rm -f conftest.$ac_objext conftest$ac_exeext
13619
if { (ac_try="$ac_link"
13620
case "(($ac_try" in
13621
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622
*) ac_try_echo=$ac_try;;
13624
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13625
$as_echo "$ac_try_echo") >&5
13626
(eval "$ac_link") 2>conftest.er1
13628
grep -v '^ *+' conftest.er1 >conftest.err
13630
cat conftest.err >&5
13631
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632
(exit $ac_status); } && {
13633
test -z "$ac_c_werror_flag" ||
13634
test ! -s conftest.err
13635
} && test -s conftest$ac_exeext && {
13636
test "$cross_compiling" = yes ||
13637
$as_test_x conftest$ac_exeext
13639
ac_cv_lib_dld_dld_link=yes
13641
$as_echo "$as_me: failed program was:" >&5
13642
sed 's/^/| /' conftest.$ac_ext >&5
13644
ac_cv_lib_dld_dld_link=no
13647
rm -rf conftest.dSYM
13648
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649
conftest$ac_exeext conftest.$ac_ext
13650
LIBS=$ac_check_lib_save_LIBS
13652
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13653
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13654
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
13655
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13676
if test "x$lt_cv_dlopen" != xno; then
13682
case $lt_cv_dlopen in
13684
save_CPPFLAGS="$CPPFLAGS"
13685
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13687
save_LDFLAGS="$LDFLAGS"
13688
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13691
LIBS="$lt_cv_dlopen_libs $LIBS"
13693
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13694
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13695
if test "${lt_cv_dlopen_self+set}" = set; then
13696
$as_echo_n "(cached) " >&6
13698
if test "$cross_compiling" = yes; then :
13699
lt_cv_dlopen_self=cross
13701
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13702
lt_status=$lt_dlunknown
13703
cat > conftest.$ac_ext <<_LT_EOF
13704
#line 13704 "configure"
13705
#include "confdefs.h"
13714
# define LT_DLGLOBAL RTLD_GLOBAL
13717
# define LT_DLGLOBAL DL_GLOBAL
13719
# define LT_DLGLOBAL 0
13723
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13724
find out it does not work in some platform. */
13725
#ifndef LT_DLLAZY_OR_NOW
13727
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13730
# define LT_DLLAZY_OR_NOW DL_LAZY
13733
# define LT_DLLAZY_OR_NOW RTLD_NOW
13736
# define LT_DLLAZY_OR_NOW DL_NOW
13738
# define LT_DLLAZY_OR_NOW 0
13745
void fnord() { int i=42;}
13748
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13749
int status = $lt_dlunknown;
13753
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13754
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13755
/* dlclose (self); */
13763
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13764
(eval $ac_link) 2>&5
13766
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13768
(./conftest; exit; ) >&5 2>/dev/null
13770
case x$lt_status in
13771
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13772
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13773
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13776
# compilation failed
13777
lt_cv_dlopen_self=no
13784
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13785
$as_echo "$lt_cv_dlopen_self" >&6; }
13787
if test "x$lt_cv_dlopen_self" = xyes; then
13788
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13789
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13790
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13791
if test "${lt_cv_dlopen_self_static+set}" = set; then
13792
$as_echo_n "(cached) " >&6
13794
if test "$cross_compiling" = yes; then :
13795
lt_cv_dlopen_self_static=cross
13797
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13798
lt_status=$lt_dlunknown
13799
cat > conftest.$ac_ext <<_LT_EOF
13800
#line 13800 "configure"
13801
#include "confdefs.h"
13810
# define LT_DLGLOBAL RTLD_GLOBAL
13813
# define LT_DLGLOBAL DL_GLOBAL
13815
# define LT_DLGLOBAL 0
13819
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13820
find out it does not work in some platform. */
13821
#ifndef LT_DLLAZY_OR_NOW
13823
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13826
# define LT_DLLAZY_OR_NOW DL_LAZY
13829
# define LT_DLLAZY_OR_NOW RTLD_NOW
13832
# define LT_DLLAZY_OR_NOW DL_NOW
13834
# define LT_DLLAZY_OR_NOW 0
13841
void fnord() { int i=42;}
13844
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13845
int status = $lt_dlunknown;
13849
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13850
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13851
/* dlclose (self); */
13859
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13860
(eval $ac_link) 2>&5
13862
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13864
(./conftest; exit; ) >&5 2>/dev/null
13866
case x$lt_status in
13867
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13868
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13869
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13872
# compilation failed
13873
lt_cv_dlopen_self_static=no
13880
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13881
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13884
CPPFLAGS="$save_CPPFLAGS"
13885
LDFLAGS="$save_LDFLAGS"
13890
case $lt_cv_dlopen_self in
13891
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13892
*) enable_dlopen_self=unknown ;;
13895
case $lt_cv_dlopen_self_static in
13896
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13897
*) enable_dlopen_self_static=unknown ;;
13919
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13920
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13921
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13922
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13923
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13924
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13925
$as_echo "yes" >&6; }
13927
# FIXME - insert some real tests, host_os isn't really good enough
13930
if test -n "$STRIP" ; then
13931
striplib="$STRIP -x"
13932
old_striplib="$STRIP -S"
13933
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13934
$as_echo "yes" >&6; }
13936
{ $as_echo "$as_me:$LINENO: result: no" >&5
13937
$as_echo "no" >&6; }
13941
{ $as_echo "$as_me:$LINENO: result: no" >&5
13942
$as_echo "no" >&6; }
13958
# Report which library types will actually be built
13959
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13960
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13961
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
13962
$as_echo "$can_build_shared" >&6; }
13964
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13965
$as_echo_n "checking whether to build shared libraries... " >&6; }
13966
test "$can_build_shared" = "no" && enable_shared=no
13968
# On AIX, shared libraries and static libraries use the same namespace, and
13969
# are all built from PIC.
13972
test "$enable_shared" = yes && enable_static=no
13973
if test -n "$RANLIB"; then
13974
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13975
postinstall_cmds='$RANLIB $lib'
13980
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13981
test "$enable_shared" = yes && enable_static=no
13985
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
13986
$as_echo "$enable_shared" >&6; }
13988
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13989
$as_echo_n "checking whether to build static libraries... " >&6; }
13990
# Make sure either enable_shared or enable_static is yes.
13991
test "$enable_shared" = yes || enable_static=yes
13992
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
13993
$as_echo "$enable_static" >&6; }
14000
ac_cpp='$CPP $CPPFLAGS'
14001
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14002
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14003
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14019
ac_config_commands="$ac_config_commands libtool"
14024
# Only expand once:
14028
# Extract the first word of "perl", so it can be a program name with args.
14029
set dummy perl; ac_word=$2
14030
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14031
$as_echo_n "checking for $ac_word... " >&6; }
14032
if test "${ac_cv_path_PERL_PATH+set}" = set; then
14033
$as_echo_n "(cached) " >&6
14037
ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
14040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14041
for as_dir in $PATH
14044
test -z "$as_dir" && as_dir=.
14045
for ac_exec_ext in '' $ac_executable_extensions; do
14046
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14047
ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
14048
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14055
test -z "$ac_cv_path_PERL_PATH" && ac_cv_path_PERL_PATH="no"
14059
PERL_PATH=$ac_cv_path_PERL_PATH
14060
if test -n "$PERL_PATH"; then
14061
{ $as_echo "$as_me:$LINENO: result: $PERL_PATH" >&5
14062
$as_echo "$PERL_PATH" >&6; }
14064
{ $as_echo "$as_me:$LINENO: result: no" >&5
14065
$as_echo "no" >&6; }
14069
if test x$PERL_PATH = xno; then
14070
{ { $as_echo "$as_me:$LINENO: error: Could not find perl" >&5
14071
$as_echo "$as_me: error: Could not find perl" >&2;}
14072
{ (exit 1); exit 1; }; }
14076
if test "x$PACKAGE_TARNAME" = "x"
14078
{ { $as_echo "$as_me:$LINENO: error: Internal error - PACKAGE_TARNAME not set" >&5
14079
$as_echo "$as_me: error: Internal error - PACKAGE_TARNAME not set" >&2;}
14080
{ (exit 1); exit 1; }; }
14082
docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
14084
# Check whether --enable-docbook was given.
14085
if test "${enable_docbook+set}" = set; then
14086
enableval=$enable_docbook;
14094
if test x$enable_docbook = xyes; then
14096
# Extract the first word of "docbook2ps", so it can be a program name with args.
14097
set dummy docbook2ps; ac_word=$2
14098
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14099
$as_echo_n "checking for $ac_word... " >&6; }
14100
if test "${ac_cv_prog_HAVE_DOCBOOK2PS+set}" = set; then
14101
$as_echo_n "(cached) " >&6
14103
if test -n "$HAVE_DOCBOOK2PS"; then
14104
ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
14106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14107
for as_dir in $PATH
14110
test -z "$as_dir" && as_dir=.
14111
for ac_exec_ext in '' $ac_executable_extensions; do
14112
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14113
ac_cv_prog_HAVE_DOCBOOK2PS="yes"
14114
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14121
test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
14124
HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
14125
if test -n "$HAVE_DOCBOOK2PS"; then
14126
{ $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2PS" >&5
14127
$as_echo "$HAVE_DOCBOOK2PS" >&6; }
14129
{ $as_echo "$as_me:$LINENO: result: no" >&5
14130
$as_echo "no" >&6; }
14134
# Extract the first word of "docbook2html", so it can be a program name with args.
14135
set dummy docbook2html; ac_word=$2
14136
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14137
$as_echo_n "checking for $ac_word... " >&6; }
14138
if test "${ac_cv_prog_HAVE_DOCBOOK2HTML+set}" = set; then
14139
$as_echo_n "(cached) " >&6
14141
if test -n "$HAVE_DOCBOOK2HTML"; then
14142
ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
14144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14145
for as_dir in $PATH
14148
test -z "$as_dir" && as_dir=.
14149
for ac_exec_ext in '' $ac_executable_extensions; do
14150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14151
ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
14152
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159
test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
14162
HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
14163
if test -n "$HAVE_DOCBOOK2HTML"; then
14164
{ $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2HTML" >&5
14165
$as_echo "$HAVE_DOCBOOK2HTML" >&6; }
14167
{ $as_echo "$as_me:$LINENO: result: no" >&5
14168
$as_echo "no" >&6; }
14172
# Extract the first word of "jadetex", so it can be a program name with args.
14173
set dummy jadetex; ac_word=$2
14174
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14175
$as_echo_n "checking for $ac_word... " >&6; }
14176
if test "${ac_cv_prog_HAVE_JADETEX+set}" = set; then
14177
$as_echo_n "(cached) " >&6
14179
if test -n "$HAVE_JADETEX"; then
14180
ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
14182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14183
for as_dir in $PATH
14186
test -z "$as_dir" && as_dir=.
14187
for ac_exec_ext in '' $ac_executable_extensions; do
14188
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14189
ac_cv_prog_HAVE_JADETEX="yes"
14190
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14197
test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
14200
HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
14201
if test -n "$HAVE_JADETEX"; then
14202
{ $as_echo "$as_me:$LINENO: result: $HAVE_JADETEX" >&5
14203
$as_echo "$HAVE_JADETEX" >&6; }
14205
{ $as_echo "$as_me:$LINENO: result: no" >&5
14206
$as_echo "no" >&6; }
14210
# Extract the first word of "ps2pdf", so it can be a program name with args.
14211
set dummy ps2pdf; ac_word=$2
14212
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14213
$as_echo_n "checking for $ac_word... " >&6; }
14214
if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then
14215
$as_echo_n "(cached) " >&6
14217
if test -n "$HAVE_PS2PDF"; then
14218
ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
14220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14221
for as_dir in $PATH
14224
test -z "$as_dir" && as_dir=.
14225
for ac_exec_ext in '' $ac_executable_extensions; do
14226
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14227
ac_cv_prog_HAVE_PS2PDF="yes"
14228
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14235
test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
14238
HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
14239
if test -n "$HAVE_PS2PDF"; then
14240
{ $as_echo "$as_me:$LINENO: result: $HAVE_PS2PDF" >&5
14241
$as_echo "$HAVE_PS2PDF" >&6; }
14243
{ $as_echo "$as_me:$LINENO: result: no" >&5
14244
$as_echo "no" >&6; }
14249
# -V option appeared in 0.6.10
14250
docbook2html_min_version=0.6.10
14251
if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
14252
docbook2html_version=`docbook2html --version`
14253
{ $as_echo "$as_me:$LINENO: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
14254
$as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
14256
(\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
14257
(\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
14258
exit (((\$docbook2html_version_major > \$min_version_major) ||
14259
((\$docbook2html_version_major == \$min_version_major) &&
14260
(\$docbook2html_version_minor >= \$min_version_minor)) ||
14261
((\$docbook2html_version_major == \$min_version_major) &&
14262
(\$docbook2html_version_minor >= \$min_version_minor) &&
14263
(\$docbook2html_version_micro >= \$min_version_micro)))
14267
{ $as_echo "$as_me:$LINENO: result: yes" >&5
14268
$as_echo "yes" >&6; }
14270
{ $as_echo "$as_me:$LINENO: result: no" >&5
14271
$as_echo "no" >&6; }
14272
HAVE_DOCBOOK2HTML=no
14277
XSLTPROC_FLAGS=--nonet
14281
DOCBOOK_VERSION=4.1.2
14283
if test ! -f /etc/xml/catalog; then
14284
for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/;
14286
if test -d "$i"; then
14291
XML_CATALOG=/etc/xml/catalog
14292
CAT_ENTRY_START='<!--'
14293
CAT_ENTRY_END='-->'
14296
# Extract the first word of "xsltproc", so it can be a program name with args.
14297
set dummy xsltproc; ac_word=$2
14298
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14299
$as_echo_n "checking for $ac_word... " >&6; }
14300
if test "${ac_cv_prog_XSLTPROC+set}" = set; then
14301
$as_echo_n "(cached) " >&6
14303
if test -n "$XSLTPROC"; then
14304
ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
14306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14307
for as_dir in $PATH
14310
test -z "$as_dir" && as_dir=.
14311
for ac_exec_ext in '' $ac_executable_extensions; do
14312
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14313
ac_cv_prog_XSLTPROC="xsltproc"
14314
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14323
XSLTPROC=$ac_cv_prog_XSLTPROC
14324
if test -n "$XSLTPROC"; then
14325
{ $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
14326
$as_echo "$XSLTPROC" >&6; }
14328
{ $as_echo "$as_me:$LINENO: result: no" >&5
14329
$as_echo "no" >&6; }
14334
if test -n "$XSLTPROC"; then
14335
{ $as_echo "$as_me:$LINENO: checking whether xsltproc docbook processing works" >&5
14336
$as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
14338
if test -n "$XML_CATALOG"; then
14339
DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
14341
DB_FILE="$DOCBOOK_ROOT/docbook.xsl"
14343
$XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
14344
<?xml version="1.0" encoding='ISO-8859-1'?>
14345
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
14349
if test "$?" = 0; then
14352
{ $as_echo "$as_me:$LINENO: result: $XSLTPROC_WORKS" >&5
14353
$as_echo "$XSLTPROC_WORKS" >&6; }
14356
if test "x$XSLTPROC_WORKS" = "xyes"; then
14369
# Extract the first word of "dvips", so it can be a program name with args.
14370
set dummy dvips; ac_word=$2
14371
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14372
$as_echo_n "checking for $ac_word... " >&6; }
14373
if test "${ac_cv_prog_HAVE_DVIPS+set}" = set; then
14374
$as_echo_n "(cached) " >&6
14376
if test -n "$HAVE_DVIPS"; then
14377
ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
14379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14380
for as_dir in $PATH
14383
test -z "$as_dir" && as_dir=.
14384
for ac_exec_ext in '' $ac_executable_extensions; do
14385
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14386
ac_cv_prog_HAVE_DVIPS="yes"
14387
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14394
test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
14397
HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
14398
if test -n "$HAVE_DVIPS"; then
14399
{ $as_echo "$as_me:$LINENO: result: $HAVE_DVIPS" >&5
14400
$as_echo "$HAVE_DVIPS" >&6; }
14402
{ $as_echo "$as_me:$LINENO: result: no" >&5
14403
$as_echo "no" >&6; }
14407
# Extract the first word of "xmllint", so it can be a program name with args.
14408
set dummy xmllint; ac_word=$2
14409
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14410
$as_echo_n "checking for $ac_word... " >&6; }
14411
if test "${ac_cv_prog_HAVE_XMLLINT+set}" = set; then
14412
$as_echo_n "(cached) " >&6
14414
if test -n "$HAVE_XMLLINT"; then
14415
ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
14417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14418
for as_dir in $PATH
14421
test -z "$as_dir" && as_dir=.
14422
for ac_exec_ext in '' $ac_executable_extensions; do
14423
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14424
ac_cv_prog_HAVE_XMLLINT="yes"
14425
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14432
test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
14435
HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
14436
if test -n "$HAVE_XMLLINT"; then
14437
{ $as_echo "$as_me:$LINENO: result: $HAVE_XMLLINT" >&5
14438
$as_echo "$HAVE_XMLLINT" >&6; }
14440
{ $as_echo "$as_me:$LINENO: result: no" >&5
14441
$as_echo "no" >&6; }
14446
# Extract the first word of "fig2dev", so it can be a program name with args.
14447
set dummy fig2dev; ac_word=$2
14448
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14449
$as_echo_n "checking for $ac_word... " >&6; }
14450
if test "${ac_cv_prog_HAVE_FIG2DEV+set}" = set; then
14451
$as_echo_n "(cached) " >&6
14453
if test -n "$HAVE_FIG2DEV"; then
14454
ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
14456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14457
for as_dir in $PATH
14460
test -z "$as_dir" && as_dir=.
14461
for ac_exec_ext in '' $ac_executable_extensions; do
14462
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14463
ac_cv_prog_HAVE_FIG2DEV="yes"
14464
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14471
test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
14474
HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
14475
if test -n "$HAVE_FIG2DEV"; then
14476
{ $as_echo "$as_me:$LINENO: result: $HAVE_FIG2DEV" >&5
14477
$as_echo "$HAVE_FIG2DEV" >&6; }
14479
{ $as_echo "$as_me:$LINENO: result: no" >&5
14480
$as_echo "no" >&6; }
14484
if test "x$HAVE_FIG2DEV" = "xno" ; then
14485
{ $as_echo "$as_me:$LINENO: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
14486
$as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
14489
HAVE_FIG2DEV_EPS=no
14490
if test "x$HAVE_FIG2DEV" = "xyes" ; then
14491
fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
14492
if test "x$fig2dev_quiet" = "x" ; then
14493
HAVE_FIG2DEV_EPS=yes
14496
HAVE_FIG2DEV_PNG=no
14497
if test "x$HAVE_FIG2DEV" = "xyes" ; then
14498
fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
14499
if test "x$fig2dev_quiet" = "x" ; then
14500
HAVE_FIG2DEV_PNG=yes
14503
HAVE_FIG2DEV_PDF=no
14504
if test "x$HAVE_FIG2DEV" = "xyes" ; then
14505
fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
14506
if test "x$fig2dev_quiet" = "x" ; then
14507
HAVE_FIG2DEV_PDF=yes
14511
# Extract the first word of "pngtopnm", so it can be a program name with args.
14512
set dummy pngtopnm; ac_word=$2
14513
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14514
$as_echo_n "checking for $ac_word... " >&6; }
14515
if test "${ac_cv_prog_HAVE_PNGTOPNM+set}" = set; then
14516
$as_echo_n "(cached) " >&6
14518
if test -n "$HAVE_PNGTOPNM"; then
14519
ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
14521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14522
for as_dir in $PATH
14525
test -z "$as_dir" && as_dir=.
14526
for ac_exec_ext in '' $ac_executable_extensions; do
14527
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14528
ac_cv_prog_HAVE_PNGTOPNM="yes"
14529
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14536
test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
14539
HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
14540
if test -n "$HAVE_PNGTOPNM"; then
14541
{ $as_echo "$as_me:$LINENO: result: $HAVE_PNGTOPNM" >&5
14542
$as_echo "$HAVE_PNGTOPNM" >&6; }
14544
{ $as_echo "$as_me:$LINENO: result: no" >&5
14545
$as_echo "no" >&6; }
14549
# Extract the first word of "pnmtops", so it can be a program name with args.
14550
set dummy pnmtops; ac_word=$2
14551
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14552
$as_echo_n "checking for $ac_word... " >&6; }
14553
if test "${ac_cv_prog_HAVE_PNMTOPS+set}" = set; then
14554
$as_echo_n "(cached) " >&6
14556
if test -n "$HAVE_PNMTOPS"; then
14557
ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
14559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14560
for as_dir in $PATH
14563
test -z "$as_dir" && as_dir=.
14564
for ac_exec_ext in '' $ac_executable_extensions; do
14565
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14566
ac_cv_prog_HAVE_PNMTOPS="yes"
14567
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14574
test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
14577
HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
14578
if test -n "$HAVE_PNMTOPS"; then
14579
{ $as_echo "$as_me:$LINENO: result: $HAVE_PNMTOPS" >&5
14580
$as_echo "$HAVE_PNMTOPS" >&6; }
14582
{ $as_echo "$as_me:$LINENO: result: no" >&5
14583
$as_echo "no" >&6; }
14587
# Extract the first word of "epstopdf", so it can be a program name with args.
14588
set dummy epstopdf; ac_word=$2
14589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14590
$as_echo_n "checking for $ac_word... " >&6; }
14591
if test "${ac_cv_prog_HAVE_EPSTOPDF+set}" = set; then
14592
$as_echo_n "(cached) " >&6
14594
if test -n "$HAVE_EPSTOPDF"; then
14595
ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
14597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14598
for as_dir in $PATH
14601
test -z "$as_dir" && as_dir=.
14602
for ac_exec_ext in '' $ac_executable_extensions; do
14603
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14604
ac_cv_prog_HAVE_EPSTOPDF="yes"
14605
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14612
test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
14615
HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
14616
if test -n "$HAVE_EPSTOPDF"; then
14617
{ $as_echo "$as_me:$LINENO: result: $HAVE_EPSTOPDF" >&5
14618
$as_echo "$HAVE_EPSTOPDF" >&6; }
14620
{ $as_echo "$as_me:$LINENO: result: no" >&5
14621
$as_echo "no" >&6; }
14626
if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
14627
test "x$enable_docbook" = "xyes" && \
14628
test "x$HAVE_XMLLINT" = "xyes" && \
14629
test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
14631
{ $as_echo "$as_me:$LINENO: Will output HTML documentation" >&5
14632
$as_echo "$as_me: Will output HTML documentation" >&6;}
14635
{ $as_echo "$as_me:$LINENO: Will not output HTML documentation" >&5
14636
$as_echo "$as_me: Will not output HTML documentation" >&6;}
14639
if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
14640
test "x$enable_docbook" = "xyes" && \
14641
test "x$HAVE_XMLLINT" = "xyes" && \
14642
test "x$HAVE_JADETEX" = "xyes" && \
14643
test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
14644
test "x$HAVE_DVIPS" = "xyes" && \
14645
test "x$HAVE_PNGTOPNM" = "xyes" && \
14646
test "x$HAVE_PNMTOPS" = "xyes"; then
14648
{ $as_echo "$as_me:$LINENO: Will output PS documentation" >&5
14649
$as_echo "$as_me: Will output PS documentation" >&6;}
14652
{ $as_echo "$as_me:$LINENO: Will not output PS documentation" >&5
14653
$as_echo "$as_me: Will not output PS documentation" >&6;}
14656
if test "x$DOC_PS" = "xyes" && \
14657
test "x$enable_docbook" = "xyes" && \
14658
test "x$HAVE_XMLLINT" = "xyes" && \
14659
test "x$HAVE_PS2PDF" = "xyes"; then
14661
{ $as_echo "$as_me:$LINENO: Will output PDF documentation" >&5
14662
$as_echo "$as_me: Will output PDF documentation" >&6;}
14665
{ $as_echo "$as_me:$LINENO: Will not output PDF documentation" >&5
14666
$as_echo "$as_me: Will not output PDF documentation" >&6;}
14669
if test "x$have_docbook" != "xyes"; then
14674
if test "x$have_docbook" = "xyes"; then
14675
{ $as_echo "$as_me:$LINENO: Installing documentation in $docdir" >&5
14676
$as_echo "$as_me: Installing documentation in $docdir" >&6;}
14680
if test x$enable_docbook = xyes; then
14681
ENABLE_DOCBOOK_TRUE=
14682
ENABLE_DOCBOOK_FALSE='#'
14684
ENABLE_DOCBOOK_TRUE='#'
14685
ENABLE_DOCBOOK_FALSE=
14688
if test x$DOC_HTML = xyes; then
14696
if test x$DOC_PDF = xyes; then
14704
if test x$DOC_PS = xyes; then
14714
# Check whether --enable-docbook2x was given.
14715
if test "${enable_docbook2x+set}" = set; then
14716
enableval=$enable_docbook2x;
14718
enable_docbook2x=no
14722
docbook2x_PROGRAM=false
14724
if test x$enable_docbook2x = xyes; then
14726
# Extract the first word of "docbook2x-man", so it can be a program name with args.
14727
set dummy docbook2x-man; ac_word=$2
14728
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14729
$as_echo_n "checking for $ac_word... " >&6; }
14730
if test "${ac_cv_prog_HAVE_DOCBOOK2X+set}" = set; then
14731
$as_echo_n "(cached) " >&6
14733
if test -n "$HAVE_DOCBOOK2X"; then
14734
ac_cv_prog_HAVE_DOCBOOK2X="$HAVE_DOCBOOK2X" # Let the user override the test.
14736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14737
for as_dir in $PATH
14740
test -z "$as_dir" && as_dir=.
14741
for ac_exec_ext in '' $ac_executable_extensions; do
14742
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14743
ac_cv_prog_HAVE_DOCBOOK2X="yes"
14744
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14751
test -z "$ac_cv_prog_HAVE_DOCBOOK2X" && ac_cv_prog_HAVE_DOCBOOK2X="no"
14754
HAVE_DOCBOOK2X=$ac_cv_prog_HAVE_DOCBOOK2X
14755
if test -n "$HAVE_DOCBOOK2X"; then
14756
{ $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2X" >&5
14757
$as_echo "$HAVE_DOCBOOK2X" >&6; }
14759
{ $as_echo "$as_me:$LINENO: result: no" >&5
14760
$as_echo "no" >&6; }
14764
# Extract the first word of "docbook-to-man", so it can be a program name with args.
14765
set dummy docbook-to-man; ac_word=$2
14766
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14767
$as_echo_n "checking for $ac_word... " >&6; }
14768
if test "${ac_cv_prog_HAVE_DOCBOOK2MAN+set}" = set; then
14769
$as_echo_n "(cached) " >&6
14771
if test -n "$HAVE_DOCBOOK2MAN"; then
14772
ac_cv_prog_HAVE_DOCBOOK2MAN="$HAVE_DOCBOOK2MAN" # Let the user override the test.
14774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14775
for as_dir in $PATH
14778
test -z "$as_dir" && as_dir=.
14779
for ac_exec_ext in '' $ac_executable_extensions; do
14780
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14781
ac_cv_prog_HAVE_DOCBOOK2MAN="yes"
14782
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14789
test -z "$ac_cv_prog_HAVE_DOCBOOK2MAN" && ac_cv_prog_HAVE_DOCBOOK2MAN="no"
14792
HAVE_DOCBOOK2MAN=$ac_cv_prog_HAVE_DOCBOOK2MAN
14793
if test -n "$HAVE_DOCBOOK2MAN"; then
14794
{ $as_echo "$as_me:$LINENO: result: $HAVE_DOCBOOK2MAN" >&5
14795
$as_echo "$HAVE_DOCBOOK2MAN" >&6; }
14797
{ $as_echo "$as_me:$LINENO: result: no" >&5
14798
$as_echo "no" >&6; }
14803
docbook2x_PROGRAM=""
14804
if test "x$HAVE_DOCBOOK2X" != "xno"; then
14805
docbook2x_PROGRAM="docbook2x-man"
14806
elif test "x$HAVE_DOCBOOK2MAN" != "xno"; then
14807
docbook2x_PROGRAM="docbook-to-man"
14809
{ $as_echo "$as_me:$LINENO: checking whether docbook2x is valid" >&5
14810
$as_echo_n "checking whether docbook2x is valid... " >&6; }
14811
if ($docbook2x_PROGRAM --version | grep docbook2x) >/dev/null 2>&1; then
14812
{ $as_echo "$as_me:$LINENO: result: yes" >&5
14813
$as_echo "yes" >&6; }
14815
{ $as_echo "$as_me:$LINENO: result: no" >&5
14816
$as_echo "no" >&6; }
14817
enable_docbook2x=no
14818
docbook2x_PROGRAM=false
14822
if test x$enable_docbook2x = xyes; then
14823
ENABLE_DOCBOOK2X_TRUE=
14824
ENABLE_DOCBOOK2X_FALSE='#'
14826
ENABLE_DOCBOOK2X_TRUE='#'
14827
ENABLE_DOCBOOK2X_FALSE=
14834
# Check whether --with-html-dir was given.
14835
if test "${with_html_dir+set}" = set; then
14836
withval=$with_html_dir;
14838
with_html_dir='${datadir}/gtk-doc/html'
14841
HTML_DIR="$with_html_dir"
14844
# Check whether --enable-gtk-doc was given.
14845
if test "${enable_gtk_doc+set}" = set; then
14846
enableval=$enable_gtk_doc;
14853
if test x$enable_gtk_doc = xyes; then
14854
if test -z "$PKG_CONFIG"; then
14855
# Extract the first word of "pkg-config", so it can be a program name with args.
14856
set dummy pkg-config; ac_word=$2
14857
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14858
$as_echo_n "checking for $ac_word... " >&6; }
14859
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14860
$as_echo_n "(cached) " >&6
14862
case $PKG_CONFIG in
14864
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14868
for as_dir in $PATH
14871
test -z "$as_dir" && as_dir=.
14872
for ac_exec_ext in '' $ac_executable_extensions; do
14873
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14874
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14875
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14882
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14886
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14887
if test -n "$PKG_CONFIG"; then
14888
{ $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14889
$as_echo "$PKG_CONFIG" >&6; }
14891
{ $as_echo "$as_me:$LINENO: result: no" >&5
14892
$as_echo "no" >&6; }
14897
if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
14901
gtk_doc_min_version=1.3
14902
if test "$have_gtk_doc" = yes; then
14903
{ $as_echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5
14904
$as_echo_n "checking gtk-doc version >= $gtk_doc_min_version... " >&6; }
14905
if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then
14906
{ $as_echo "$as_me:$LINENO: result: yes" >&5
14907
$as_echo "yes" >&6; }
14909
{ $as_echo "$as_me:$LINENO: result: no" >&5
14910
$as_echo "no" >&6; }
14915
if test "$have_gtk_doc" != yes; then
14920
if test x$enable_gtk_doc = xyes; then
14921
ENABLE_GTK_DOC_TRUE=
14922
ENABLE_GTK_DOC_FALSE='#'
14924
ENABLE_GTK_DOC_TRUE='#'
14925
ENABLE_GTK_DOC_FALSE=
14928
if test -n "$LIBTOOL"; then
14929
GTK_DOC_USE_LIBTOOL_TRUE=
14930
GTK_DOC_USE_LIBTOOL_FALSE='#'
14932
GTK_DOC_USE_LIBTOOL_TRUE='#'
14933
GTK_DOC_USE_LIBTOOL_FALSE=
14939
PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
14940
python1.6 python1.5"
14942
{ $as_echo "$as_me:$LINENO: Looking for Python version >= 2.1" >&5
14943
$as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
14947
# split string by '.' and convert to numeric
14948
minver_info = map(string.atoi, string.split(minver, '.'))
14949
# we can now do comparisons on the two lists:
14950
if sys.version_info >= tuple(minver_info):
14956
for python_candidate in $PYTHON_CANDIDATES; do
14958
# Extract the first word of "$python_candidate", so it can be a program name with args.
14959
set dummy $python_candidate; ac_word=$2
14960
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14961
$as_echo_n "checking for $ac_word... " >&6; }
14962
if test "${ac_cv_path_PYTHON+set}" = set; then
14963
$as_echo_n "(cached) " >&6
14967
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14971
for as_dir in $PATH
14974
test -z "$as_dir" && as_dir=.
14975
for ac_exec_ext in '' $ac_executable_extensions; do
14976
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14977
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14978
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14988
PYTHON=$ac_cv_path_PYTHON
14989
if test -n "$PYTHON"; then
14990
{ $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
14991
$as_echo "$PYTHON" >&6; }
14993
{ $as_echo "$as_me:$LINENO: result: no" >&5
14994
$as_echo "no" >&6; }
14997
1> /dev/null 2> /dev/null
14999
if test "x$PYTHON" = "x"; then continue; fi
15001
if $PYTHON -c "$prog" 1>&5 2>&5; then
15002
{ $as_echo "$as_me:$LINENO: checking \"$PYTHON\":" >&5
15003
$as_echo_n "checking \"$PYTHON\":... " >&6; }
15004
{ $as_echo "$as_me:$LINENO: result: okay" >&5
15005
$as_echo "okay" >&6; }
15009
unset ac_cv_path_PYTHON
15014
if test "$python_good" != "true"; then
15015
{ $as_echo "$as_me:$LINENO: WARNING: No suitable version of python found" >&5
15016
$as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
15020
{ $as_echo "$as_me:$LINENO: checking local Python configuration" >&5
15021
$as_echo_n "checking local Python configuration... " >&6; }
15025
PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
15030
PYTHON_PREFIX='${prefix}'
15033
PYTHON_EXEC_PREFIX='${exec_prefix}'
15037
PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
15043
pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
15047
pkgpythondir=\${pythondir}/$PACKAGE
15051
pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
15055
pkgpyexecdir=\${pyexecdir}/$PACKAGE
15057
{ $as_echo "$as_me:$LINENO: result: looks good" >&5
15058
$as_echo "looks good" >&6; }
15064
build_plugin_docs=no
15065
{ $as_echo "$as_me:$LINENO: checking whether to build plugin documentation" >&5
15066
$as_echo_n "checking whether to build plugin documentation... " >&6; }
15067
if test x$enable_gtk_doc = xyes -a x$have_gtk_doc = xyes; then
15068
build_plugin_docs=yes
15069
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15070
$as_echo "yes" >&6; }
15072
{ $as_echo "$as_me:$LINENO: result: no (gtk-doc disabled or not available)" >&5
15073
$as_echo "no (gtk-doc disabled or not available)" >&6; }
15076
if test x$build_plugin_docs = xyes; then
15077
ENABLE_PLUGIN_DOCS_TRUE=
15078
ENABLE_PLUGIN_DOCS_FALSE='#'
15080
ENABLE_PLUGIN_DOCS_TRUE='#'
15081
ENABLE_PLUGIN_DOCS_FALSE=
15087
{ $as_echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
15088
$as_echo_n "checking to see if compiler understands -Wall... " >&6; }
15090
save_CFLAGS="$CFLAGS"
15091
CFLAGS="$CFLAGS -Wall"
15093
cat >conftest.$ac_ext <<_ACEOF
15096
cat confdefs.h >>conftest.$ac_ext
15097
cat >>conftest.$ac_ext <<_ACEOF
15098
/* end confdefs.h. */
15108
rm -f conftest.$ac_objext
15109
if { (ac_try="$ac_compile"
15110
case "(($ac_try" in
15111
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15112
*) ac_try_echo=$ac_try;;
15114
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15115
$as_echo "$ac_try_echo") >&5
15116
(eval "$ac_compile") 2>conftest.er1
15118
grep -v '^ *+' conftest.er1 >conftest.err
15120
cat conftest.err >&5
15121
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122
(exit $ac_status); } && {
15123
test -z "$ac_c_werror_flag" ||
15124
test ! -s conftest.err
15125
} && test -s conftest.$ac_objext; then
15128
$as_echo "$as_me: failed program was:" >&5
15129
sed 's/^/| /' conftest.$ac_ext >&5
15134
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135
CFLAGS="$save_CFLAGS"
15137
if test "X$flag_ok" = Xyes ; then
15144
{ $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
15145
$as_echo "$flag_ok" >&6; }
15147
if test "x$GST_WALL" = "xyes"; then
15148
GST_ERROR="$GST_ERROR -Wall"
15149
if test "x$GST_CVS" = "xyes"; then
15151
{ $as_echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
15152
$as_echo_n "checking to see if compiler understands -Werror... " >&6; }
15154
save_CFLAGS="$CFLAGS"
15155
CFLAGS="$CFLAGS -Werror"
15157
cat >conftest.$ac_ext <<_ACEOF
15160
cat confdefs.h >>conftest.$ac_ext
15161
cat >>conftest.$ac_ext <<_ACEOF
15162
/* end confdefs.h. */
15172
rm -f conftest.$ac_objext
15173
if { (ac_try="$ac_compile"
15174
case "(($ac_try" in
15175
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15176
*) ac_try_echo=$ac_try;;
15178
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15179
$as_echo "$ac_try_echo") >&5
15180
(eval "$ac_compile") 2>conftest.er1
15182
grep -v '^ *+' conftest.er1 >conftest.err
15184
cat conftest.err >&5
15185
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186
(exit $ac_status); } && {
15187
test -z "$ac_c_werror_flag" ||
15188
test ! -s conftest.err
15189
} && test -s conftest.$ac_objext; then
15192
$as_echo "$as_me: failed program was:" >&5
15193
sed 's/^/| /' conftest.$ac_ext >&5
15198
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15199
CFLAGS="$save_CFLAGS"
15201
if test "X$flag_ok" = Xyes ; then
15202
GST_ERROR="$GST_ERROR -Werror"
15205
GST_ERROR="$GST_ERROR"
15208
{ $as_echo "$as_me:$LINENO: result: $flag_ok" >&5
15209
$as_echo "$flag_ok" >&6; }
15214
# Extract the first word of "pkg-config", so it can be a program name with args.
15215
set dummy pkg-config; ac_word=$2
15216
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15217
$as_echo_n "checking for $ac_word... " >&6; }
15218
if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
15219
$as_echo_n "(cached) " >&6
15221
if test -n "$HAVE_PKGCONFIG"; then
15222
ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
15224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15225
for as_dir in $PATH
15228
test -z "$as_dir" && as_dir=.
15229
for ac_exec_ext in '' $ac_executable_extensions; do
15230
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15231
ac_cv_prog_HAVE_PKGCONFIG="yes"
15232
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15239
test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
15242
HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
15243
if test -n "$HAVE_PKGCONFIG"; then
15244
{ $as_echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
15245
$as_echo "$HAVE_PKGCONFIG" >&6; }
15247
{ $as_echo "$as_me:$LINENO: result: no" >&5
15248
$as_echo "no" >&6; }
15253
if test "x$HAVE_PKGCONFIG" = "xno"; then
15254
{ { $as_echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
15255
$as_echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
15256
{ (exit 1); exit 1; }; }
15261
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15262
if test -n "$ac_tool_prefix"; then
15263
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15264
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15265
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15266
$as_echo_n "checking for $ac_word... " >&6; }
15267
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15268
$as_echo_n "(cached) " >&6
15270
case $PKG_CONFIG in
15272
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15275
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15276
for as_dir in $PATH
15279
test -z "$as_dir" && as_dir=.
15280
for ac_exec_ext in '' $ac_executable_extensions; do
15281
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15282
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15283
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15293
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15294
if test -n "$PKG_CONFIG"; then
15295
{ $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15296
$as_echo "$PKG_CONFIG" >&6; }
15298
{ $as_echo "$as_me:$LINENO: result: no" >&5
15299
$as_echo "no" >&6; }
15304
if test -z "$ac_cv_path_PKG_CONFIG"; then
15305
ac_pt_PKG_CONFIG=$PKG_CONFIG
15306
# Extract the first word of "pkg-config", so it can be a program name with args.
15307
set dummy pkg-config; ac_word=$2
15308
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15309
$as_echo_n "checking for $ac_word... " >&6; }
15310
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
15311
$as_echo_n "(cached) " >&6
15313
case $ac_pt_PKG_CONFIG in
15315
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15319
for as_dir in $PATH
15322
test -z "$as_dir" && as_dir=.
15323
for ac_exec_ext in '' $ac_executable_extensions; do
15324
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15325
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15326
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15336
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15337
if test -n "$ac_pt_PKG_CONFIG"; then
15338
{ $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
15339
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15341
{ $as_echo "$as_me:$LINENO: result: no" >&5
15342
$as_echo "no" >&6; }
15345
if test "x$ac_pt_PKG_CONFIG" = x; then
15348
case $cross_compiling:$ac_tool_warned in
15350
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15351
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15352
ac_tool_warned=yes ;;
15354
PKG_CONFIG=$ac_pt_PKG_CONFIG
15357
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15361
if test -n "$PKG_CONFIG"; then
15362
_pkg_min_version=0.9.0
15363
{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
15364
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15365
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15366
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15367
$as_echo "yes" >&6; }
15369
{ $as_echo "$as_me:$LINENO: result: no" >&5
15370
$as_echo "no" >&6; }
15377
{ $as_echo "$as_me:$LINENO: checking for LIBOIL" >&5
15378
$as_echo_n "checking for LIBOIL... " >&6; }
15380
if test -n "$PKG_CONFIG"; then
15381
if test -n "$PKG_CONFIG" && \
15382
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.6\"") >&5
15383
($PKG_CONFIG --exists --print-errors "liboil-0.3 >= 0.3.6") 2>&5
15385
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386
(exit $ac_status); }; then
15387
pkg_cv_LIBOIL_CFLAGS=`$PKG_CONFIG --cflags "liboil-0.3 >= 0.3.6" 2>/dev/null`
15394
if test -n "$PKG_CONFIG"; then
15395
if test -n "$PKG_CONFIG" && \
15396
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.6\"") >&5
15397
($PKG_CONFIG --exists --print-errors "liboil-0.3 >= 0.3.6") 2>&5
15399
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400
(exit $ac_status); }; then
15401
pkg_cv_LIBOIL_LIBS=`$PKG_CONFIG --libs "liboil-0.3 >= 0.3.6" 2>/dev/null`
15409
if test $pkg_failed = yes; then
15410
LIBOIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "liboil-0.3 >= 0.3.6"`
15411
# Put the nasty error message in config.log where it belongs
15412
echo "$LIBOIL_PKG_ERRORS" 1>&5
15415
elif test $pkg_failed = untried; then
15418
LIBOIL_CFLAGS=$pkg_cv_LIBOIL_CFLAGS
15419
LIBOIL_LIBS=$pkg_cv_LIBOIL_LIBS
15420
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15421
$as_echo "yes" >&6; }
15424
if test "x$HAVE_LIBOIL" != "xyes"
15426
{ { $as_echo "$as_me:$LINENO: error: liboil-0.3.6 or later is required" >&5
15427
$as_echo "$as_me: error: liboil-0.3.6 or later is required" >&2;}
15428
{ (exit 1); exit 1; }; }
15434
{ $as_echo "$as_me:$LINENO: checking for GST" >&5
15435
$as_echo_n "checking for GST... " >&6; }
15437
if test -n "$PKG_CONFIG"; then
15438
if test -n "$PKG_CONFIG" && \
15439
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
15440
gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15441
($PKG_CONFIG --exists --print-errors "\
15442
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15444
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445
(exit $ac_status); }; then
15446
pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
15447
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15454
if test -n "$PKG_CONFIG"; then
15455
if test -n "$PKG_CONFIG" && \
15456
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
15457
gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15458
($PKG_CONFIG --exists --print-errors "\
15459
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15461
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462
(exit $ac_status); }; then
15463
pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
15464
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15472
if test $pkg_failed = yes; then
15473
GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
15474
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
15475
# Put the nasty error message in config.log where it belongs
15476
echo "$GST_PKG_ERRORS" 1>&5
15479
elif test $pkg_failed = untried; then
15482
GST_CFLAGS=$pkg_cv_GST_CFLAGS
15483
GST_LIBS=$pkg_cv_GST_LIBS
15484
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15485
$as_echo "yes" >&6; }
15489
if test "x$HAVE_GST" = "xno"; then
15490
{ { $as_echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
15491
$as_echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
15492
{ (exit 1); exit 1; }; }
15495
if test "x$USE_DEBUG" = xyes; then
15496
PROFILE_CFLAGS="-g"
15500
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
15503
GST_OPTION_CFLAGS="\$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(DEPRECATED_CFLAGS)"
15506
GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GST_ERROR \$(GST_OPTION_CFLAGS)"
15515
{ $as_echo "$as_me:$LINENO: checking for GST_BASE" >&5
15516
$as_echo_n "checking for GST_BASE... " >&6; }
15518
if test -n "$PKG_CONFIG"; then
15519
if test -n "$PKG_CONFIG" && \
15520
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15521
($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15523
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524
(exit $ac_status); }; then
15525
pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15532
if test -n "$PKG_CONFIG"; then
15533
if test -n "$PKG_CONFIG" && \
15534
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15535
($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15537
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538
(exit $ac_status); }; then
15539
pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15547
if test $pkg_failed = yes; then
15548
GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
15549
# Put the nasty error message in config.log where it belongs
15550
echo "$GST_BASE_PKG_ERRORS" 1>&5
15553
elif test $pkg_failed = untried; then
15556
GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
15557
GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
15558
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15559
$as_echo "yes" >&6; }
15563
if test "x$HAVE_GST_BASE" = "xno"; then
15564
{ { $as_echo "$as_me:$LINENO: error: no GStreamer base class libraries found (gstreamer-base-$GST_MAJORMINOR)" >&5
15565
$as_echo "$as_me: error: no GStreamer base class libraries found (gstreamer-base-$GST_MAJORMINOR)" >&2;}
15566
{ (exit 1); exit 1; }; }
15571
{ $as_echo "$as_me:$LINENO: checking for GST_CONTROLLER" >&5
15572
$as_echo_n "checking for GST_CONTROLLER... " >&6; }
15574
if test -n "$PKG_CONFIG"; then
15575
if test -n "$PKG_CONFIG" && \
15576
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15577
($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15579
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580
(exit $ac_status); }; then
15581
pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15588
if test -n "$PKG_CONFIG"; then
15589
if test -n "$PKG_CONFIG" && \
15590
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15591
($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15593
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594
(exit $ac_status); }; then
15595
pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15603
if test $pkg_failed = yes; then
15604
GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQUIRED"`
15605
# Put the nasty error message in config.log where it belongs
15606
echo "$GST_CONTROLLER_PKG_ERRORS" 1>&5
15608
HAVE_GST_CONTROLLER=no
15609
elif test $pkg_failed = untried; then
15610
HAVE_GST_CONTROLLER=no
15612
GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
15613
GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
15614
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15615
$as_echo "yes" >&6; }
15616
HAVE_GST_CONTROLLER=yes
15619
if test "x$HAVE_GST_CONTROLLER" = "xno"; then
15620
{ { $as_echo "$as_me:$LINENO: error: no GStreamer controller class libraries found (gstreamer-controller-$GST_MAJORMINOR)" >&5
15621
$as_echo "$as_me: error: no GStreamer controller class libraries found (gstreamer-controller-$GST_MAJORMINOR)" >&2;}
15622
{ (exit 1); exit 1; }; }
15627
{ $as_echo "$as_me:$LINENO: checking for GST_CHECK" >&5
15628
$as_echo_n "checking for GST_CHECK... " >&6; }
15630
if test -n "$PKG_CONFIG"; then
15631
if test -n "$PKG_CONFIG" && \
15632
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-check-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15633
($PKG_CONFIG --exists --print-errors "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15635
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636
(exit $ac_status); }; then
15637
pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15644
if test -n "$PKG_CONFIG"; then
15645
if test -n "$PKG_CONFIG" && \
15646
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-check-\$GST_MAJORMINOR >= \$GST_REQUIRED\"") >&5
15647
($PKG_CONFIG --exists --print-errors "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15649
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650
(exit $ac_status); }; then
15651
pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15659
if test $pkg_failed = yes; then
15660
GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-check-$GST_MAJORMINOR >= $GST_REQUIRED"`
15661
# Put the nasty error message in config.log where it belongs
15662
echo "$GST_CHECK_PKG_ERRORS" 1>&5
15665
elif test $pkg_failed = untried; then
15668
GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
15669
GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
15670
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15671
$as_echo "yes" >&6; }
15677
# Check whether --with-check was given.
15678
if test "${with_check+set}" = set; then
15679
withval=$with_check;
15684
# Check whether --with-checklibname was given.
15685
if test "${with_checklibname+set}" = set; then
15686
withval=$with_checklibname;
15690
min_check_version=0.9.2
15692
if test x$with_check = xno; then
15693
{ $as_echo "$as_me:$LINENO: result: disabled" >&5
15694
$as_echo "disabled" >&6; }
15697
if test "x$with_check" != x; then
15698
CHECK_EXTRA_CFLAGS="-I$with_check/include"
15699
CHECK_EXTRA_LIBS="-L$with_check/lib"
15701
CHECK_EXTRA_CFLAGS=""
15702
CHECK_EXTRA_LIBS=""
15705
if test x$with_checklibname = x; then
15707
min_check_version=$min_check_version
15708
extra_cflags=$CHECK_EXTRA_CFLAGS
15709
extra_libs=$CHECK_EXTRA_LIBS
15710
check_lib_name=check_pic
15712
CHECK_CFLAGS="$extra_cflags"
15713
CHECK_LIBS="$extra_libs -l$check_lib_name"
15715
ac_save_CFLAGS="$CFLAGS"
15716
ac_save_LIBS="$LIBS"
15718
CFLAGS="$CFLAGS $CHECK_CFLAGS"
15719
LIBS="$CHECK_LIBS $LIBS"
15721
{ $as_echo "$as_me:$LINENO: checking for check named $check_lib_name - version >= $min_check_version" >&5
15722
$as_echo_n "checking for check named $check_lib_name - version >= $min_check_version... " >&6; }
15724
rm -f conf.check-test
15726
if test "$cross_compiling" = yes; then
15727
echo $ac_n "cross compiling; assumed OK... $ac_c"
15729
cat >conftest.$ac_ext <<_ACEOF
15732
cat confdefs.h >>conftest.$ac_ext
15733
cat >>conftest.$ac_ext <<_ACEOF
15734
/* end confdefs.h. */
15737
#include <stdlib.h>
15743
int major, minor, micro;
15746
system ("touch conf.check-test");
15748
/* HP/UX 9 (%@#!) writes to sscanf strings */
15749
tmp_version = strdup("$min_check_version");
15750
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15751
printf("%s, bad version string\n", "$min_check_version");
15755
if ((CHECK_MAJOR_VERSION != check_major_version) ||
15756
(CHECK_MINOR_VERSION != check_minor_version) ||
15757
(CHECK_MICRO_VERSION != check_micro_version))
15759
printf("\n*** The check header file (version %d.%d.%d) does not match\n",
15760
CHECK_MAJOR_VERSION, CHECK_MINOR_VERSION, CHECK_MICRO_VERSION);
15761
printf("*** the check library (version %d.%d.%d).\n",
15762
check_major_version, check_minor_version, check_micro_version);
15766
if ((check_major_version > major) ||
15767
((check_major_version == major) && (check_minor_version > minor)) ||
15768
((check_major_version == major) && (check_minor_version == minor) && (check_micro_version >= micro)))
15774
printf("\n*** An old version of check (%d.%d.%d) was found.\n",
15775
check_major_version, check_minor_version, check_micro_version);
15776
printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro);
15778
printf("*** If you have already installed a sufficiently new version, this error\n");
15779
printf("*** probably means that the wrong copy of the check library and header\n");
15780
printf("*** file is being found. Rerun configure with the --with-check=PATH option\n");
15781
printf("*** to specify the prefix where the correct version was installed.\n");
15788
rm -f conftest$ac_exeext
15789
if { (ac_try="$ac_link"
15790
case "(($ac_try" in
15791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15792
*) ac_try_echo=$ac_try;;
15794
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15795
$as_echo "$ac_try_echo") >&5
15796
(eval "$ac_link") 2>&5
15798
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15800
{ (case "(($ac_try" in
15801
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15802
*) ac_try_echo=$ac_try;;
15804
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15805
$as_echo "$ac_try_echo") >&5
15806
(eval "$ac_try") 2>&5
15808
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809
(exit $ac_status); }; }; then
15812
$as_echo "$as_me: program exited with status $ac_status" >&5
15813
$as_echo "$as_me: failed program was:" >&5
15814
sed 's/^/| /' conftest.$ac_ext >&5
15816
( exit $ac_status )
15819
rm -rf conftest.dSYM
15820
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15825
CFLAGS="$ac_save_CFLAGS"
15826
LIBS="$ac_save_LIBS"
15828
if test "x$no_check" = x ; then
15829
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15830
$as_echo "yes" >&6; }
15833
{ $as_echo "$as_me:$LINENO: result: no" >&5
15834
$as_echo "no" >&6; }
15835
if test -f conf.check-test ; then
15838
echo "*** Could not run check test program, checking why..."
15839
CFLAGS="$CFLAGS $CHECK_CFLAGS"
15840
LIBS="$CHECK_LIBS $LIBS"
15841
cat >conftest.$ac_ext <<_ACEOF
15844
cat confdefs.h >>conftest.$ac_ext
15845
cat >>conftest.$ac_ext <<_ACEOF
15846
/* end confdefs.h. */
15849
#include <stdlib.h>
15861
rm -f conftest.$ac_objext conftest$ac_exeext
15862
if { (ac_try="$ac_link"
15863
case "(($ac_try" in
15864
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15865
*) ac_try_echo=$ac_try;;
15867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15868
$as_echo "$ac_try_echo") >&5
15869
(eval "$ac_link") 2>conftest.er1
15871
grep -v '^ *+' conftest.er1 >conftest.err
15873
cat conftest.err >&5
15874
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875
(exit $ac_status); } && {
15876
test -z "$ac_c_werror_flag" ||
15877
test ! -s conftest.err
15878
} && test -s conftest$ac_exeext && {
15879
test "$cross_compiling" = yes ||
15880
$as_test_x conftest$ac_exeext
15882
echo "*** The test program compiled, but did not run. This usually means"
15883
echo "*** that the run-time linker is not finding check. You'll need to set your"
15884
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15885
echo "*** to the installed location Also, make sure you have run ldconfig if that"
15886
echo "*** is required on your system"
15888
echo "*** If you have an old version installed, it is best to remove it, although"
15889
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15891
$as_echo "$as_me: failed program was:" >&5
15892
sed 's/^/| /' conftest.$ac_ext >&5
15894
echo "*** The test program failed to compile or link. See the file config.log for"
15895
echo "*** the exact error that occured."
15898
rm -rf conftest.dSYM
15899
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15900
conftest$ac_exeext conftest.$ac_ext
15902
CFLAGS="$ac_save_CFLAGS"
15903
LIBS="$ac_save_LIBS"
15909
rm -f conf.check-test
15913
if test x$have_check = xtrue; then
15917
min_check_version=$min_check_version
15918
extra_cflags=$CHECK_EXTRA_CFLAGS
15919
extra_libs=$CHECK_EXTRA_LIBS
15920
check_lib_name=check
15922
CHECK_CFLAGS="$extra_cflags"
15923
CHECK_LIBS="$extra_libs -l$check_lib_name"
15925
ac_save_CFLAGS="$CFLAGS"
15926
ac_save_LIBS="$LIBS"
15928
CFLAGS="$CFLAGS $CHECK_CFLAGS"
15929
LIBS="$CHECK_LIBS $LIBS"
15931
{ $as_echo "$as_me:$LINENO: checking for check named $check_lib_name - version >= $min_check_version" >&5
15932
$as_echo_n "checking for check named $check_lib_name - version >= $min_check_version... " >&6; }
15934
rm -f conf.check-test
15936
if test "$cross_compiling" = yes; then
15937
echo $ac_n "cross compiling; assumed OK... $ac_c"
15939
cat >conftest.$ac_ext <<_ACEOF
15942
cat confdefs.h >>conftest.$ac_ext
15943
cat >>conftest.$ac_ext <<_ACEOF
15944
/* end confdefs.h. */
15947
#include <stdlib.h>
15953
int major, minor, micro;
15956
system ("touch conf.check-test");
15958
/* HP/UX 9 (%@#!) writes to sscanf strings */
15959
tmp_version = strdup("$min_check_version");
15960
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15961
printf("%s, bad version string\n", "$min_check_version");
15965
if ((CHECK_MAJOR_VERSION != check_major_version) ||
15966
(CHECK_MINOR_VERSION != check_minor_version) ||
15967
(CHECK_MICRO_VERSION != check_micro_version))
15969
printf("\n*** The check header file (version %d.%d.%d) does not match\n",
15970
CHECK_MAJOR_VERSION, CHECK_MINOR_VERSION, CHECK_MICRO_VERSION);
15971
printf("*** the check library (version %d.%d.%d).\n",
15972
check_major_version, check_minor_version, check_micro_version);
15976
if ((check_major_version > major) ||
15977
((check_major_version == major) && (check_minor_version > minor)) ||
15978
((check_major_version == major) && (check_minor_version == minor) && (check_micro_version >= micro)))
15984
printf("\n*** An old version of check (%d.%d.%d) was found.\n",
15985
check_major_version, check_minor_version, check_micro_version);
15986
printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro);
15988
printf("*** If you have already installed a sufficiently new version, this error\n");
15989
printf("*** probably means that the wrong copy of the check library and header\n");
15990
printf("*** file is being found. Rerun configure with the --with-check=PATH option\n");
15991
printf("*** to specify the prefix where the correct version was installed.\n");
15998
rm -f conftest$ac_exeext
15999
if { (ac_try="$ac_link"
16000
case "(($ac_try" in
16001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002
*) ac_try_echo=$ac_try;;
16004
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16005
$as_echo "$ac_try_echo") >&5
16006
(eval "$ac_link") 2>&5
16008
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16010
{ (case "(($ac_try" in
16011
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16012
*) ac_try_echo=$ac_try;;
16014
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16015
$as_echo "$ac_try_echo") >&5
16016
(eval "$ac_try") 2>&5
16018
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019
(exit $ac_status); }; }; then
16022
$as_echo "$as_me: program exited with status $ac_status" >&5
16023
$as_echo "$as_me: failed program was:" >&5
16024
sed 's/^/| /' conftest.$ac_ext >&5
16026
( exit $ac_status )
16029
rm -rf conftest.dSYM
16030
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16035
CFLAGS="$ac_save_CFLAGS"
16036
LIBS="$ac_save_LIBS"
16038
if test "x$no_check" = x ; then
16039
{ $as_echo "$as_me:$LINENO: result: yes" >&5
16040
$as_echo "yes" >&6; }
16043
{ $as_echo "$as_me:$LINENO: result: no" >&5
16044
$as_echo "no" >&6; }
16045
if test -f conf.check-test ; then
16048
echo "*** Could not run check test program, checking why..."
16049
CFLAGS="$CFLAGS $CHECK_CFLAGS"
16050
LIBS="$CHECK_LIBS $LIBS"
16051
cat >conftest.$ac_ext <<_ACEOF
16054
cat confdefs.h >>conftest.$ac_ext
16055
cat >>conftest.$ac_ext <<_ACEOF
16056
/* end confdefs.h. */
16059
#include <stdlib.h>
16071
rm -f conftest.$ac_objext conftest$ac_exeext
16072
if { (ac_try="$ac_link"
16073
case "(($ac_try" in
16074
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16075
*) ac_try_echo=$ac_try;;
16077
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16078
$as_echo "$ac_try_echo") >&5
16079
(eval "$ac_link") 2>conftest.er1
16081
grep -v '^ *+' conftest.er1 >conftest.err
16083
cat conftest.err >&5
16084
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085
(exit $ac_status); } && {
16086
test -z "$ac_c_werror_flag" ||
16087
test ! -s conftest.err
16088
} && test -s conftest$ac_exeext && {
16089
test "$cross_compiling" = yes ||
16090
$as_test_x conftest$ac_exeext
16092
echo "*** The test program compiled, but did not run. This usually means"
16093
echo "*** that the run-time linker is not finding check. You'll need to set your"
16094
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
16095
echo "*** to the installed location Also, make sure you have run ldconfig if that"
16096
echo "*** is required on your system"
16098
echo "*** If you have an old version installed, it is best to remove it, although"
16099
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
16101
$as_echo "$as_me: failed program was:" >&5
16102
sed 's/^/| /' conftest.$ac_ext >&5
16104
echo "*** The test program failed to compile or link. See the file config.log for"
16105
echo "*** the exact error that occured."
16108
rm -rf conftest.dSYM
16109
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16110
conftest$ac_exeext conftest.$ac_ext
16112
CFLAGS="$ac_save_CFLAGS"
16113
LIBS="$ac_save_LIBS"
16119
rm -f conf.check-test
16123
if test x$have_check = xtrue; then
16131
min_check_version=$min_check_version
16132
extra_cflags=$CHECK_EXTRA_CFLAGS
16133
extra_libs=$CHECK_EXTRA_LIBS
16134
check_lib_name=$with_checklibname
16136
CHECK_CFLAGS="$extra_cflags"
16137
CHECK_LIBS="$extra_libs -l$check_lib_name"
16139
ac_save_CFLAGS="$CFLAGS"
16140
ac_save_LIBS="$LIBS"
16142
CFLAGS="$CFLAGS $CHECK_CFLAGS"
16143
LIBS="$CHECK_LIBS $LIBS"
16145
{ $as_echo "$as_me:$LINENO: checking for check named $check_lib_name - version >= $min_check_version" >&5
16146
$as_echo_n "checking for check named $check_lib_name - version >= $min_check_version... " >&6; }
16148
rm -f conf.check-test
16150
if test "$cross_compiling" = yes; then
16151
echo $ac_n "cross compiling; assumed OK... $ac_c"
16153
cat >conftest.$ac_ext <<_ACEOF
16156
cat confdefs.h >>conftest.$ac_ext
16157
cat >>conftest.$ac_ext <<_ACEOF
16158
/* end confdefs.h. */
16161
#include <stdlib.h>
16167
int major, minor, micro;
16170
system ("touch conf.check-test");
16172
/* HP/UX 9 (%@#!) writes to sscanf strings */
16173
tmp_version = strdup("$min_check_version");
16174
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
16175
printf("%s, bad version string\n", "$min_check_version");
16179
if ((CHECK_MAJOR_VERSION != check_major_version) ||
16180
(CHECK_MINOR_VERSION != check_minor_version) ||
16181
(CHECK_MICRO_VERSION != check_micro_version))
16183
printf("\n*** The check header file (version %d.%d.%d) does not match\n",
16184
CHECK_MAJOR_VERSION, CHECK_MINOR_VERSION, CHECK_MICRO_VERSION);
16185
printf("*** the check library (version %d.%d.%d).\n",
16186
check_major_version, check_minor_version, check_micro_version);
16190
if ((check_major_version > major) ||
16191
((check_major_version == major) && (check_minor_version > minor)) ||
16192
((check_major_version == major) && (check_minor_version == minor) && (check_micro_version >= micro)))
16198
printf("\n*** An old version of check (%d.%d.%d) was found.\n",
16199
check_major_version, check_minor_version, check_micro_version);
16200
printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro);
16202
printf("*** If you have already installed a sufficiently new version, this error\n");
16203
printf("*** probably means that the wrong copy of the check library and header\n");
16204
printf("*** file is being found. Rerun configure with the --with-check=PATH option\n");
16205
printf("*** to specify the prefix where the correct version was installed.\n");
16212
rm -f conftest$ac_exeext
16213
if { (ac_try="$ac_link"
16214
case "(($ac_try" in
16215
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16216
*) ac_try_echo=$ac_try;;
16218
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16219
$as_echo "$ac_try_echo") >&5
16220
(eval "$ac_link") 2>&5
16222
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16224
{ (case "(($ac_try" in
16225
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16226
*) ac_try_echo=$ac_try;;
16228
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16229
$as_echo "$ac_try_echo") >&5
16230
(eval "$ac_try") 2>&5
16232
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233
(exit $ac_status); }; }; then
16236
$as_echo "$as_me: program exited with status $ac_status" >&5
16237
$as_echo "$as_me: failed program was:" >&5
16238
sed 's/^/| /' conftest.$ac_ext >&5
16240
( exit $ac_status )
16243
rm -rf conftest.dSYM
16244
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16249
CFLAGS="$ac_save_CFLAGS"
16250
LIBS="$ac_save_LIBS"
16252
if test "x$no_check" = x ; then
16253
{ $as_echo "$as_me:$LINENO: result: yes" >&5
16254
$as_echo "yes" >&6; }
16257
{ $as_echo "$as_me:$LINENO: result: no" >&5
16258
$as_echo "no" >&6; }
16259
if test -f conf.check-test ; then
16262
echo "*** Could not run check test program, checking why..."
16263
CFLAGS="$CFLAGS $CHECK_CFLAGS"
16264
LIBS="$CHECK_LIBS $LIBS"
16265
cat >conftest.$ac_ext <<_ACEOF
16268
cat confdefs.h >>conftest.$ac_ext
16269
cat >>conftest.$ac_ext <<_ACEOF
16270
/* end confdefs.h. */
16273
#include <stdlib.h>
16285
rm -f conftest.$ac_objext conftest$ac_exeext
16286
if { (ac_try="$ac_link"
16287
case "(($ac_try" in
16288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16289
*) ac_try_echo=$ac_try;;
16291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16292
$as_echo "$ac_try_echo") >&5
16293
(eval "$ac_link") 2>conftest.er1
16295
grep -v '^ *+' conftest.er1 >conftest.err
16297
cat conftest.err >&5
16298
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299
(exit $ac_status); } && {
16300
test -z "$ac_c_werror_flag" ||
16301
test ! -s conftest.err
16302
} && test -s conftest$ac_exeext && {
16303
test "$cross_compiling" = yes ||
16304
$as_test_x conftest$ac_exeext
16306
echo "*** The test program compiled, but did not run. This usually means"
16307
echo "*** that the run-time linker is not finding check. You'll need to set your"
16308
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
16309
echo "*** to the installed location Also, make sure you have run ldconfig if that"
16310
echo "*** is required on your system"
16312
echo "*** If you have an old version installed, it is best to remove it, although"
16313
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
16315
$as_echo "$as_me: failed program was:" >&5
16316
sed 's/^/| /' conftest.$ac_ext >&5
16318
echo "*** The test program failed to compile or link. See the file config.log for"
16319
echo "*** the exact error that occured."
16322
rm -rf conftest.dSYM
16323
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16324
conftest$ac_exeext conftest.$ac_ext
16326
CFLAGS="$ac_save_CFLAGS"
16327
LIBS="$ac_save_LIBS"
16333
rm -f conf.check-test
16337
if test x$have_check = xtrue; then
16346
rm -f conf.check-test
16349
if test "x$HAVE_CHECK" = "xyes"; then
16351
HAVE_CHECK_FALSE='#'
16353
HAVE_CHECK_TRUE='#'
16358
# Extract the first word of "valgrind", so it can be a program name with args.
16359
set dummy valgrind; ac_word=$2
16360
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16361
$as_echo_n "checking for $ac_word... " >&6; }
16362
if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then
16363
$as_echo_n "(cached) " >&6
16365
case $VALGRIND_PATH in
16367
ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
16370
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16371
for as_dir in $PATH
16374
test -z "$as_dir" && as_dir=.
16375
for ac_exec_ext in '' $ac_executable_extensions; do
16376
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16377
ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
16378
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16385
test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
16389
VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
16390
if test -n "$VALGRIND_PATH"; then
16391
{ $as_echo "$as_me:$LINENO: result: $VALGRIND_PATH" >&5
16392
$as_echo "$VALGRIND_PATH" >&6; }
16394
{ $as_echo "$as_me:$LINENO: result: no" >&5
16395
$as_echo "no" >&6; }
16399
if test ! "x$VALGRIND_PATH" = "xno"; then
16400
HAVE_VALGRIND_TRUE=
16401
HAVE_VALGRIND_FALSE='#'
16403
HAVE_VALGRIND_TRUE='#'
16404
HAVE_VALGRIND_FALSE=
16413
{ $as_echo "$as_me:$LINENO: checking for GSTPB_BASE" >&5
16414
$as_echo_n "checking for GSTPB_BASE... " >&6; }
16416
if test -n "$PKG_CONFIG"; then
16417
if test -n "$PKG_CONFIG" && \
16418
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\"") >&5
16419
($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
16421
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422
(exit $ac_status); }; then
16423
pkg_cv_GSTPB_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
16430
if test -n "$PKG_CONFIG"; then
16431
if test -n "$PKG_CONFIG" && \
16432
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\"") >&5
16433
($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
16435
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436
(exit $ac_status); }; then
16437
pkg_cv_GSTPB_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
16445
if test $pkg_failed = yes; then
16446
GSTPB_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED"`
16447
# Put the nasty error message in config.log where it belongs
16448
echo "$GSTPB_BASE_PKG_ERRORS" 1>&5
16451
elif test $pkg_failed = untried; then
16454
GSTPB_BASE_CFLAGS=$pkg_cv_GSTPB_BASE_CFLAGS
16455
GSTPB_BASE_LIBS=$pkg_cv_GSTPB_BASE_LIBS
16456
{ $as_echo "$as_me:$LINENO: result: yes" >&5
16457
$as_echo "yes" >&6; }
16458
HAVE_GSTPB_BASE=yes
16461
if test "x$HAVE_GSTPB_BASE" = "xno"; then
16462
{ { $as_echo "$as_me:$LINENO: error: no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_MAJORMINOR)" >&5
16463
$as_echo "$as_me: error: no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_MAJORMINOR)" >&2;}
16464
{ (exit 1); exit 1; }; }
16470
plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
16473
GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).* -no-undefined'
16476
ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile docs/Makefile docs/version.entities docs/manual/Makefile docs/plugins/Makefile gst/Makefile gst/avidemux/Makefile gst/entrans/Makefile gst/mencoder/Makefile gst/transcode/Makefile gst/virtualdub/Makefile gst/y4m/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/video/Makefile ext/Makefile po/Makefile.in tests/Makefile tests/check/Makefile tests/visual/Makefile tools/Makefile tools/entrans:tools/entrans.py gst-entrans.spec"
16478
cat >confcache <<\_ACEOF
16479
# This file is a shell script that caches the results of configure
16480
# tests run on this system so they can be shared between configure
16481
# scripts and configure runs, see configure's option --config-cache.
16482
# It is not useful on other systems. If it contains results you don't
16483
# want to keep, you may remove or edit it.
16485
# config.status only pays attention to the cache file if you give it
16486
# the --recheck option to rerun configure.
16488
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16489
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16490
# following values.
16494
# The following way of writing the cache mishandles newlines in values,
16495
# but we know of no workaround that is simple, portable, and efficient.
16496
# So, we kill variables containing newlines.
16497
# Ultrix sh set writes to stderr and can't be redirected directly,
16498
# and sets the high bit in the cache file unless we assign to the vars.
16500
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16501
eval ac_val=\$$ac_var
16505
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
16506
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16509
_ | IFS | as_nl) ;; #(
16510
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16511
*) $as_unset $ac_var ;;
16517
case $as_nl`(ac_space=' '; set) 2>&1` in #(
16518
*${as_nl}ac_space=\ *)
16519
# `set' does not quote correctly, so add quotes (double-quote
16520
# substitution turns \\\\ into \\, and sed turns \\ into \).
16523
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16526
# `set' quotes correctly as required by POSIX, so do not add quotes.
16527
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16536
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16538
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16540
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16541
if test -w "$cache_file"; then
16542
test "x$cache_file" != "x/dev/null" &&
16543
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
16544
$as_echo "$as_me: updating cache $cache_file" >&6;}
16545
cat confcache >$cache_file
16547
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16548
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16553
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16554
# Let make expand exec_prefix.
16555
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16557
DEFS=-DHAVE_CONFIG_H
16561
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16562
# 1. Remove the extension, and $U if already installed.
16563
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16564
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16565
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16566
# will be set to the directory where LIBOBJS objects are built.
16567
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16568
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16570
LIBOBJS=$ac_libobjs
16572
LTLIBOBJS=$ac_ltlibobjs
16575
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16576
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16577
Usually this means the macro was only invoked conditionally." >&5
16578
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16579
Usually this means the macro was only invoked conditionally." >&2;}
16580
{ (exit 1); exit 1; }; }
16582
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16583
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16584
Usually this means the macro was only invoked conditionally." >&5
16585
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16586
Usually this means the macro was only invoked conditionally." >&2;}
16587
{ (exit 1); exit 1; }; }
16589
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16590
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16591
Usually this means the macro was only invoked conditionally." >&5
16592
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16593
Usually this means the macro was only invoked conditionally." >&2;}
16594
{ (exit 1); exit 1; }; }
16596
if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
16597
{ { $as_echo "$as_me:$LINENO: error: conditional \"GST_GCOV_ENABLED\" was never defined.
16598
Usually this means the macro was only invoked conditionally." >&5
16599
$as_echo "$as_me: error: conditional \"GST_GCOV_ENABLED\" was never defined.
16600
Usually this means the macro was only invoked conditionally." >&2;}
16601
{ (exit 1); exit 1; }; }
16603
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16604
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16605
Usually this means the macro was only invoked conditionally." >&5
16606
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16607
Usually this means the macro was only invoked conditionally." >&2;}
16608
{ (exit 1); exit 1; }; }
16610
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16611
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
16612
Usually this means the macro was only invoked conditionally." >&5
16613
$as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
16614
Usually this means the macro was only invoked conditionally." >&2;}
16615
{ (exit 1); exit 1; }; }
16617
if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
16618
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCBOOK\" was never defined.
16619
Usually this means the macro was only invoked conditionally." >&5
16620
$as_echo "$as_me: error: conditional \"ENABLE_DOCBOOK\" was never defined.
16621
Usually this means the macro was only invoked conditionally." >&2;}
16622
{ (exit 1); exit 1; }; }
16624
if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
16625
{ { $as_echo "$as_me:$LINENO: error: conditional \"DOC_HTML\" was never defined.
16626
Usually this means the macro was only invoked conditionally." >&5
16627
$as_echo "$as_me: error: conditional \"DOC_HTML\" was never defined.
16628
Usually this means the macro was only invoked conditionally." >&2;}
16629
{ (exit 1); exit 1; }; }
16631
if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
16632
{ { $as_echo "$as_me:$LINENO: error: conditional \"DOC_PDF\" was never defined.
16633
Usually this means the macro was only invoked conditionally." >&5
16634
$as_echo "$as_me: error: conditional \"DOC_PDF\" was never defined.
16635
Usually this means the macro was only invoked conditionally." >&2;}
16636
{ (exit 1); exit 1; }; }
16638
if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
16639
{ { $as_echo "$as_me:$LINENO: error: conditional \"DOC_PS\" was never defined.
16640
Usually this means the macro was only invoked conditionally." >&5
16641
$as_echo "$as_me: error: conditional \"DOC_PS\" was never defined.
16642
Usually this means the macro was only invoked conditionally." >&2;}
16643
{ (exit 1); exit 1; }; }
16645
if test -z "${ENABLE_DOCBOOK2X_TRUE}" && test -z "${ENABLE_DOCBOOK2X_FALSE}"; then
16646
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCBOOK2X\" was never defined.
16647
Usually this means the macro was only invoked conditionally." >&5
16648
$as_echo "$as_me: error: conditional \"ENABLE_DOCBOOK2X\" was never defined.
16649
Usually this means the macro was only invoked conditionally." >&2;}
16650
{ (exit 1); exit 1; }; }
16652
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16653
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
16654
Usually this means the macro was only invoked conditionally." >&5
16655
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
16656
Usually this means the macro was only invoked conditionally." >&2;}
16657
{ (exit 1); exit 1; }; }
16659
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16660
{ { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16661
Usually this means the macro was only invoked conditionally." >&5
16662
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16663
Usually this means the macro was only invoked conditionally." >&2;}
16664
{ (exit 1); exit 1; }; }
16666
if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
16667
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
16668
Usually this means the macro was only invoked conditionally." >&5
16669
$as_echo "$as_me: error: conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
16670
Usually this means the macro was only invoked conditionally." >&2;}
16671
{ (exit 1); exit 1; }; }
16673
if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
16674
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CHECK\" was never defined.
16675
Usually this means the macro was only invoked conditionally." >&5
16676
$as_echo "$as_me: error: conditional \"HAVE_CHECK\" was never defined.
16677
Usually this means the macro was only invoked conditionally." >&2;}
16678
{ (exit 1); exit 1; }; }
16680
if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
16681
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_VALGRIND\" was never defined.
16682
Usually this means the macro was only invoked conditionally." >&5
16683
$as_echo "$as_me: error: conditional \"HAVE_VALGRIND\" was never defined.
16684
Usually this means the macro was only invoked conditionally." >&2;}
16685
{ (exit 1); exit 1; }; }
16688
: ${CONFIG_STATUS=./config.status}
16690
ac_clean_files_save=$ac_clean_files
16691
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16692
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16693
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16694
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16696
# Generated by $as_me.
16697
# Run this file to recreate the current configuration.
16698
# Compiler output produced by configure, useful for debugging
16699
# configure, is in config.log if it exists.
16702
ac_cs_recheck=false
16704
SHELL=\${CONFIG_SHELL-$SHELL}
16707
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16708
## --------------------- ##
16709
## M4sh Initialization. ##
16710
## --------------------- ##
16712
# Be more Bourne compatible
16713
DUALCASE=1; export DUALCASE # for MKS sh
16714
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16717
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16718
# is contrary to our usage. Disable this feature.
16719
alias -g '${1+"$@"}'='"$@"'
16720
setopt NO_GLOB_SUBST
16722
case `(set -o) 2>/dev/null` in
16723
*posix*) set -o posix ;;
16732
# Avoid depending upon Character Ranges.
16733
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16734
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16735
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16736
as_cr_digits='0123456789'
16737
as_cr_alnum=$as_cr_Letters$as_cr_digits
16742
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16743
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16744
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16745
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16746
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16747
as_echo='printf %s\n'
16748
as_echo_n='printf %s'
16750
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16751
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16752
as_echo_n='/usr/ucb/echo -n'
16754
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16755
as_echo_n_body='eval
16759
expr "X$arg" : "X\\(.*\\)$as_nl";
16760
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16762
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16764
export as_echo_n_body
16765
as_echo_n='sh -c $as_echo_n_body as_echo'
16767
export as_echo_body
16768
as_echo='sh -c $as_echo_body as_echo'
16771
# The user is always right.
16772
if test "${PATH_SEPARATOR+set}" != set; then
16774
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16775
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16780
# Support unset when possible.
16781
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16789
# We need space, tab and new line, in precisely that order. Quoting is
16790
# there to prevent editors from complaining about space-tab.
16791
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16792
# splitting by setting IFS to empty value.)
16795
# Find who we are. Look in the path if we contain no directory separator.
16797
*[\\/]* ) as_myself=$0 ;;
16798
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16799
for as_dir in $PATH
16802
test -z "$as_dir" && as_dir=.
16803
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16809
# We did not find ourselves, most probably we were run as `sh COMMAND'
16810
# in which case we are not to be found in the path.
16811
if test "x$as_myself" = x; then
16814
if test ! -f "$as_myself"; then
16815
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16816
{ (exit 1); exit 1; }
16819
# Work around bugs in pre-3.0 UWIN ksh.
16820
for as_var in ENV MAIL MAILPATH
16821
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16833
# Required to use basename.
16834
if expr a : '\(a\)' >/dev/null 2>&1 &&
16835
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16841
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16842
as_basename=basename
16848
# Name of the executable.
16849
as_me=`$as_basename -- "$0" ||
16850
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16851
X"$0" : 'X\(//\)$' \| \
16852
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16854
sed '/^.*\/\([^/][^/]*\)\/*$/{
16873
as_lineno_1=$LINENO
16874
as_lineno_2=$LINENO
16875
test "x$as_lineno_1" != "x$as_lineno_2" &&
16876
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16878
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16879
# uniformly replaced by the line number. The first 'sed' inserts a
16880
# line-number line after each line using $LINENO; the second 'sed'
16881
# does the real work. The second script uses 'N' to pair each
16882
# line-number line with the line containing $LINENO, and appends
16883
# trailing '-' during substitution so that $LINENO is not a special
16884
# case at line end.
16885
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16886
# scripts with optimization help from Paolo Bonzini. Blame Lee
16887
# E. McMahon (1931-1989) for sed's syntax. :-)
16899
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16902
' >$as_me.lineno &&
16903
chmod +x "$as_me.lineno" ||
16904
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16905
{ (exit 1); exit 1; }; }
16907
# Don't try to exec as it changes $[0], causing all sort of problems
16908
# (the dirname of $[0] is not the place where we might find the
16909
# original and so on. Autoconf is especially sensitive to this).
16910
. "./$as_me.lineno"
16911
# Exit status is that of the last command.
16916
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16922
ECHO_C= ECHO_N= ECHO_T=
16923
case `echo -n x` in
16925
case `echo 'x\c'` in
16926
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16932
if expr a : '\(a\)' >/dev/null 2>&1 &&
16933
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16939
rm -f conf$$ conf$$.exe conf$$.file
16940
if test -d conf$$.dir; then
16941
rm -f conf$$.dir/conf$$.file
16944
mkdir conf$$.dir 2>/dev/null
16946
if (echo >conf$$.file) 2>/dev/null; then
16947
if ln -s conf$$.file conf$$ 2>/dev/null; then
16949
# ... but there are two gotchas:
16950
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16951
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16952
# In both cases, we have to default to `cp -p'.
16953
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16955
elif ln conf$$.file conf$$ 2>/dev/null; then
16963
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16964
rmdir conf$$.dir 2>/dev/null
16966
if mkdir -p . 2>/dev/null; then
16969
test -d ./-p && rmdir ./-p
16973
if test -x / >/dev/null 2>&1; then
16974
as_test_x='test -x'
16976
if ls -dL / >/dev/null 2>&1; then
16983
if test -d "$1"; then
16989
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16990
???[sx]*):;;*)false;;esac;fi
16994
as_executable_p=$as_test_x
16996
# Sed expression to map a string onto a valid CPP name.
16997
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16999
# Sed expression to map a string onto a valid variable name.
17000
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17005
# Save the log message, to keep $[0] and so on meaningful, and to
17006
# report actual input values of CONFIG_FILES etc. instead of their
17007
# values after options handling.
17009
This file was extended by GStreamer Entrans $as_me 0.10.2, which was
17010
generated by GNU Autoconf 2.63. Invocation command line was
17012
CONFIG_FILES = $CONFIG_FILES
17013
CONFIG_HEADERS = $CONFIG_HEADERS
17014
CONFIG_LINKS = $CONFIG_LINKS
17015
CONFIG_COMMANDS = $CONFIG_COMMANDS
17018
on `(hostname || uname -n) 2>/dev/null | sed 1q`
17023
case $ac_config_files in *"
17024
"*) set x $ac_config_files; shift; ac_config_files=$*;;
17027
case $ac_config_headers in *"
17028
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17032
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17033
# Files that config.status was made for.
17034
config_files="$ac_config_files"
17035
config_headers="$ac_config_headers"
17036
config_commands="$ac_config_commands"
17040
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17042
\`$as_me' instantiates files from templates according to the
17043
current configuration.
17045
Usage: $0 [OPTION]... [FILE]...
17047
-h, --help print this help, then exit
17048
-V, --version print version number and configuration settings, then exit
17049
-q, --quiet, --silent
17050
do not print progress messages
17051
-d, --debug don't remove temporary files
17052
--recheck update $as_me by reconfiguring in the same conditions
17053
--file=FILE[:TEMPLATE]
17054
instantiate the configuration file FILE
17055
--header=FILE[:TEMPLATE]
17056
instantiate the configuration header FILE
17058
Configuration files:
17061
Configuration headers:
17064
Configuration commands:
17067
Report bugs to <bug-autoconf@gnu.org>."
17070
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17072
GStreamer Entrans config.status 0.10.2
17073
configured by $0, generated by GNU Autoconf 2.63,
17074
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17076
Copyright (C) 2008 Free Software Foundation, Inc.
17077
This config.status script is free software; the Free Software Foundation
17078
gives unlimited permission to copy, distribute and modify it."
17085
test -n "\$AWK" || AWK=awk
17088
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17089
# The default lists apply if the user does not specify any file.
17095
ac_option=`expr "X$1" : 'X\([^=]*\)='`
17096
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17107
# Handling of the options.
17108
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17110
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17111
$as_echo "$ac_cs_version"; exit ;;
17112
--debug | --debu | --deb | --de | --d | -d )
17114
--file | --fil | --fi | --f )
17117
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17119
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
17120
ac_need_defaults=false;;
17121
--header | --heade | --head | --hea )
17124
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17126
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
17127
ac_need_defaults=false;;
17129
# Conflict between --help and --header
17130
{ $as_echo "$as_me: error: ambiguous option: $1
17131
Try \`$0 --help' for more information." >&2
17132
{ (exit 1); exit 1; }; };;
17133
--help | --hel | -h )
17134
$as_echo "$ac_cs_usage"; exit ;;
17135
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
17136
| -silent | --silent | --silen | --sile | --sil | --si | --s)
17139
# This is an error.
17140
-*) { $as_echo "$as_me: error: unrecognized option: $1
17141
Try \`$0 --help' for more information." >&2
17142
{ (exit 1); exit 1; }; } ;;
17144
*) ac_config_targets="$ac_config_targets $1"
17145
ac_need_defaults=false ;;
17151
ac_configure_extra_args=
17153
if $ac_cs_silent; then
17155
ac_configure_extra_args="$ac_configure_extra_args --silent"
17159
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17160
if \$ac_cs_recheck; then
17161
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17163
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17164
CONFIG_SHELL='$SHELL'
17165
export CONFIG_SHELL
17170
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17174
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17175
## Running $as_me. ##
17181
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17185
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
17186
# POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17188
eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
17189
# Capture the value of LINGUAS because we need it to compute CATALOGS.
17190
LINGUAS="${LINGUAS-%UNSET%}"
17192
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17195
# The HP-UX ksh and POSIX shell print the target directory to stdout
17196
# if CDPATH is set.
17197
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17199
sed_quote_subst='$sed_quote_subst'
17200
double_quote_subst='$double_quote_subst'
17201
delay_variable_subst='$delay_variable_subst'
17202
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17203
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17204
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17205
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17206
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17207
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17208
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17209
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17210
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17211
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17212
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17213
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17214
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17215
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17216
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17217
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17218
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17219
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17220
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17221
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17222
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17223
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17224
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17225
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17226
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17227
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17228
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17229
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17230
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17231
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17232
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17233
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17234
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17235
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17236
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17237
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17238
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17239
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17240
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17241
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17242
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17243
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17244
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17245
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17246
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"`'
17247
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"`'
17248
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17249
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17250
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17251
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17252
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17253
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17254
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17255
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17256
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17257
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17258
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17259
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17260
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17261
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17262
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17263
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17264
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17265
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17266
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17267
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17268
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17269
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17270
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17271
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17272
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17273
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17274
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17275
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17276
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17277
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17278
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17279
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17280
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17281
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17282
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17283
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17284
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17285
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17286
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17287
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17288
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17289
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17290
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17291
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17292
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17293
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17294
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17295
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17296
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17297
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17298
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17299
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17300
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17301
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17302
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17303
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17304
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17305
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17306
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17307
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17308
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17309
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17310
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17311
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17312
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17313
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17314
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17315
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17316
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17317
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17318
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17319
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17322
LTCFLAGS='$LTCFLAGS'
17323
compiler='$compiler_DEFAULT'
17325
# Quote evaled strings.
17337
deplibs_check_method \
17346
lt_cv_sys_global_symbol_pipe \
17347
lt_cv_sys_global_symbol_to_cdecl \
17348
lt_cv_sys_global_symbol_to_c_name_address \
17349
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17352
lt_prog_compiler_no_builtin_flag \
17353
lt_prog_compiler_wl \
17354
lt_prog_compiler_pic \
17355
lt_prog_compiler_static \
17356
lt_cv_prog_compiler_c_o \
17364
export_dynamic_flag_spec \
17365
whole_archive_flag_spec \
17366
compiler_needs_object \
17368
allow_undefined_flag \
17369
no_undefined_flag \
17370
hardcode_libdir_flag_spec \
17371
hardcode_libdir_flag_spec_ld \
17372
hardcode_libdir_separator \
17377
variables_saved_for_relink \
17379
library_names_spec \
17384
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17385
*[\\\\\\\`\\"\\\$]*)
17386
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17389
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17394
# Double-quote double-evaled strings.
17395
for var in reload_cmds \
17396
old_postinstall_cmds \
17397
old_postuninstall_cmds \
17399
extract_expsyms_cmds \
17400
old_archive_from_new_cmds \
17401
old_archive_from_expsyms_cmds \
17403
archive_expsym_cmds \
17405
module_expsym_cmds \
17406
export_symbols_cmds \
17409
postuninstall_cmds \
17411
sys_lib_search_path_spec \
17412
sys_lib_dlsearch_path_spec; do
17413
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17414
*[\\\\\\\`\\"\\\$]*)
17415
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17418
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17423
# Fix-up fallback echo if it was mangled by the above quoting rules.
17425
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17429
ac_aux_dir='$ac_aux_dir'
17430
xsi_shell='$xsi_shell'
17431
lt_shell_append='$lt_shell_append'
17433
# See if we are running on zsh, and set the options which allow our
17434
# commands through without removal of \ escapes INIT.
17435
if test -n "\${ZSH_VERSION+set}" ; then
17436
setopt NO_GLOB_SUBST
17442
TIMESTAMP='$TIMESTAMP'
17451
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17453
# Handling of arguments.
17454
for ac_config_target in $ac_config_targets
17456
case $ac_config_target in
17457
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17458
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17459
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17460
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17461
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17462
"common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
17463
"common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
17464
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17465
"docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
17466
"docs/manual/Makefile") CONFIG_FILES="$CONFIG_FILES docs/manual/Makefile" ;;
17467
"docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
17468
"gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
17469
"gst/avidemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/avidemux/Makefile" ;;
17470
"gst/entrans/Makefile") CONFIG_FILES="$CONFIG_FILES gst/entrans/Makefile" ;;
17471
"gst/mencoder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mencoder/Makefile" ;;
17472
"gst/transcode/Makefile") CONFIG_FILES="$CONFIG_FILES gst/transcode/Makefile" ;;
17473
"gst/virtualdub/Makefile") CONFIG_FILES="$CONFIG_FILES gst/virtualdub/Makefile" ;;
17474
"gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
17475
"gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
17476
"gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
17477
"gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
17478
"ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
17479
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17480
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17481
"tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
17482
"tests/visual/Makefile") CONFIG_FILES="$CONFIG_FILES tests/visual/Makefile" ;;
17483
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17484
"tools/entrans") CONFIG_FILES="$CONFIG_FILES tools/entrans:tools/entrans.py" ;;
17485
"gst-entrans.spec") CONFIG_FILES="$CONFIG_FILES gst-entrans.spec" ;;
17487
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17488
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17489
{ (exit 1); exit 1; }; };;
17494
# If the user did not use the arguments to specify the items to instantiate,
17495
# then the envvar interface is used. Set only those that are not.
17496
# We use the long form for the default assignment because of an extremely
17497
# bizarre bug on SunOS 4.1.3.
17498
if $ac_need_defaults; then
17499
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17500
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17501
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17504
# Have a temporary directory for convenience. Make it in the build tree
17505
# simply because there is no reason against having it here, and in addition,
17506
# creating and moving files from /tmp can sometimes cause problems.
17507
# Hook for its removal unless debugging.
17508
# Note that there is a small window in which the directory will not be cleaned:
17509
# after its creation but before its name has been assigned to `$tmp'.
17513
trap 'exit_status=$?
17514
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17516
trap '{ (exit 1); exit 1; }' 1 2 13 15
17518
# Create a (secure) tmp directory for tmp files.
17521
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17522
test -n "$tmp" && test -d "$tmp"
17525
tmp=./conf$$-$RANDOM
17526
(umask 077 && mkdir "$tmp")
17529
$as_echo "$as_me: cannot create a temporary directory in ." >&2
17530
{ (exit 1); exit 1; }
17533
# Set up the scripts for CONFIG_FILES section.
17534
# No need to generate them if there are no CONFIG_FILES.
17535
# This happens for instance with `./config.status config.h'.
17536
if test -n "$CONFIG_FILES"; then
17540
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17541
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17544
ac_cs_awk_cr=$ac_cr
17547
echo 'BEGIN {' >"$tmp/subs1.awk" &&
17552
echo "cat >conf$$subs.awk <<_ACEOF" &&
17553
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17555
} >conf$$subs.sh ||
17556
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17557
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17558
{ (exit 1); exit 1; }; }
17559
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17561
for ac_last_try in false false false false false :; do
17562
. ./conf$$subs.sh ||
17563
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17564
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17565
{ (exit 1); exit 1; }; }
17567
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17568
if test $ac_delim_n = $ac_delim_num; then
17570
elif $ac_last_try; then
17571
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17572
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17573
{ (exit 1); exit 1; }; }
17575
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17578
rm -f conf$$subs.sh
17580
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17581
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17585
s/^/S["/; s/!.*/"]=/
17595
s/\(.\{148\}\).*/\1/
17597
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17602
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17609
s/\(.\{148\}\).*/\1/
17611
s/["\\]/\\&/g; s/^/"/; s/$/"/
17615
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17620
' <conf$$subs.awk | sed '
17625
' >>$CONFIG_STATUS || ac_write_fail=1
17626
rm -f conf$$subs.awk
17627
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17629
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17630
for (key in S) S_is_set[key] = 1
17636
nfields = split(line, field, "@")
17638
len = length(field[1])
17639
for (i = 2; i < nfields; i++) {
17641
keylen = length(key)
17642
if (S_is_set[key]) {
17644
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17645
len += length(value) + length(field[++i])
17656
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17657
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17658
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17661
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17662
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
17663
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
17664
{ (exit 1); exit 1; }; }
17667
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17668
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17669
# trailing colons and then remove the whole line if VPATH becomes empty
17670
# (actually we leave an empty line to preserve line numbers).
17671
if test "x$srcdir" = x.; then
17672
ac_vpsub='/^[ ]*VPATH[ ]*=/{
17673
s/:*\$(srcdir):*/:/
17674
s/:*\${srcdir}:*/:/
17676
s/^\([^=]*=[ ]*\):*/\1/
17682
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17683
fi # test -n "$CONFIG_FILES"
17685
# Set up the scripts for CONFIG_HEADERS section.
17686
# No need to generate them if there are no CONFIG_HEADERS.
17687
# This happens for instance with `./config.status Makefile'.
17688
if test -n "$CONFIG_HEADERS"; then
17689
cat >"$tmp/defines.awk" <<\_ACAWK ||
17693
# Transform confdefs.h into an awk script `defines.awk', embedded as
17694
# here-document in config.status, that substitutes the proper values into
17695
# config.h.in to produce config.h.
17697
# Create a delimiter string that does not exist in confdefs.h, to ease
17698
# handling of long lines.
17700
for ac_last_try in false false :; do
17701
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17702
if test -z "$ac_t"; then
17704
elif $ac_last_try; then
17705
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
17706
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
17707
{ (exit 1); exit 1; }; }
17709
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17713
# For the awk script, D is an array of macro values keyed by name,
17714
# likewise P contains macro parameters if any. Preserve backslash
17715
# newline sequences.
17717
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17719
s/.\{148\}/&'"$ac_delim"'/g
17722
s/^[ ]*#[ ]*define[ ][ ]*/ /
17729
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17731
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17735
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17736
D["\1"]=" \3\\\\\\n"\\/p
17738
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17743
s/.\{148\}/&'"$ac_delim"'/g
17748
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17751
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17753
' <confdefs.h | sed '
17754
s/'"$ac_delim"'/"\\\
17755
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17757
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17758
for (key in D) D_is_set[key] = 1
17761
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17763
split(line, arg, " ")
17764
if (arg[1] == "#") {
17768
defundef = substr(arg[1], 2)
17771
split(mac1, mac2, "(") #)
17773
prefix = substr(line, 1, index(line, defundef) - 1)
17774
if (D_is_set[macro]) {
17775
# Preserve the white space surrounding the "#".
17776
print prefix "define", macro P[macro] D[macro]
17779
# Replace #undef with comments. This is necessary, for example,
17780
# in the case of _POSIX_SOURCE, which is predefined and required
17781
# on some systems where configure will not decide to define it.
17782
if (defundef == "undef") {
17783
print "/*", prefix defundef, macro, "*/"
17791
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17792
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
17793
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
17794
{ (exit 1); exit 1; }; }
17795
fi # test -n "$CONFIG_HEADERS"
17798
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17803
:[FHLC]) ac_mode=$ac_tag; continue;;
17805
case $ac_mode$ac_tag in
17807
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
17808
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
17809
{ (exit 1); exit 1; }; };;
17810
:[FH]-) ac_tag=-:-;;
17811
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17828
-) ac_f="$tmp/stdin";;
17829
*) # Look for the file first in the build tree, then in the source tree
17830
# (if the path is not absolute). The absolute path cannot be DOS-style,
17831
# because $ac_f cannot contain `:'.
17835
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17837
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17838
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17839
{ (exit 1); exit 1; }; };;
17841
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17842
ac_file_inputs="$ac_file_inputs '$ac_f'"
17845
# Let's still pretend it is `configure' which instantiates (i.e., don't
17846
# use $as_me), people would be surprised to read:
17847
# /* config.h. Generated by config.status. */
17848
configure_input='Generated from '`
17849
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17851
if test x"$ac_file" != x-; then
17852
configure_input="$ac_file. $configure_input"
17853
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
17854
$as_echo "$as_me: creating $ac_file" >&6;}
17856
# Neutralize special characters interpreted by sed in replacement strings.
17857
case $configure_input in #(
17858
*\&* | *\|* | *\\* )
17859
ac_sed_conf_input=`$as_echo "$configure_input" |
17860
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17861
*) ac_sed_conf_input=$configure_input;;
17865
*:-:* | *:-) cat >"$tmp/stdin" \
17866
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17867
$as_echo "$as_me: error: could not create $ac_file" >&2;}
17868
{ (exit 1); exit 1; }; } ;;
17873
ac_dir=`$as_dirname -- "$ac_file" ||
17874
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17875
X"$ac_file" : 'X\(//\)[^/]' \| \
17876
X"$ac_file" : 'X\(//\)$' \| \
17877
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17878
$as_echo X"$ac_file" |
17879
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17883
/^X\(\/\/\)[^/].*/{
17898
-*) as_dir=./$as_dir;;
17900
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17904
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17905
*) as_qdir=$as_dir;;
17907
as_dirs="'$as_qdir' $as_dirs"
17908
as_dir=`$as_dirname -- "$as_dir" ||
17909
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17910
X"$as_dir" : 'X\(//\)[^/]' \| \
17911
X"$as_dir" : 'X\(//\)$' \| \
17912
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17913
$as_echo X"$as_dir" |
17914
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17918
/^X\(\/\/\)[^/].*/{
17931
test -d "$as_dir" && break
17933
test -z "$as_dirs" || eval "mkdir $as_dirs"
17934
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17935
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17936
{ (exit 1); exit 1; }; }; }
17940
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17942
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17943
# A ".." for each directory in $ac_dir_suffix.
17944
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17945
case $ac_top_builddir_sub in
17946
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17947
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17950
ac_abs_top_builddir=$ac_pwd
17951
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17952
# for backward compatibility:
17953
ac_top_builddir=$ac_top_build_prefix
17956
.) # We are building in place.
17958
ac_top_srcdir=$ac_top_builddir_sub
17959
ac_abs_top_srcdir=$ac_pwd ;;
17960
[\\/]* | ?:[\\/]* ) # Absolute name.
17961
ac_srcdir=$srcdir$ac_dir_suffix;
17962
ac_top_srcdir=$srcdir
17963
ac_abs_top_srcdir=$srcdir ;;
17964
*) # Relative name.
17965
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17966
ac_top_srcdir=$ac_top_build_prefix$srcdir
17967
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17969
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17979
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17980
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17982
ac_MKDIR_P=$MKDIR_P
17984
[\\/$]* | ?:[\\/]* ) ;;
17985
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17989
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17990
# If the template does not know about datarootdir, expand it.
17991
# FIXME: This hack should be removed a few years after 2.60.
17992
ac_datarootdir_hack=; ac_datarootdir_seen=
18005
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18006
*datarootdir*) ac_datarootdir_seen=yes;;
18007
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18008
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18009
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18011
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18012
ac_datarootdir_hack='
18013
s&@datadir@&$datadir&g
18014
s&@docdir@&$docdir&g
18015
s&@infodir@&$infodir&g
18016
s&@localedir@&$localedir&g
18017
s&@mandir@&$mandir&g
18018
s&\\\${datarootdir}&$datarootdir&g' ;;
18022
# Neutralize VPATH when `$srcdir' = `.'.
18023
# Shell code in configure.ac might set extrasub.
18024
# FIXME: do we really want to maintain this feature?
18025
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18026
ac_sed_extra="$ac_vpsub
18029
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18031
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18032
s|@configure_input@|$ac_sed_conf_input|;t t
18033
s&@top_builddir@&$ac_top_builddir_sub&;t t
18034
s&@top_build_prefix@&$ac_top_build_prefix&;t t
18035
s&@srcdir@&$ac_srcdir&;t t
18036
s&@abs_srcdir@&$ac_abs_srcdir&;t t
18037
s&@top_srcdir@&$ac_top_srcdir&;t t
18038
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18039
s&@builddir@&$ac_builddir&;t t
18040
s&@abs_builddir@&$ac_abs_builddir&;t t
18041
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18042
s&@INSTALL@&$ac_INSTALL&;t t
18043
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18044
$ac_datarootdir_hack
18046
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18047
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18048
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18049
{ (exit 1); exit 1; }; }
18051
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18052
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18053
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18054
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18055
which seems to be undefined. Please make sure it is defined." >&5
18056
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18057
which seems to be undefined. Please make sure it is defined." >&2;}
18061
-) cat "$tmp/out" && rm -f "$tmp/out";;
18062
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18064
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18065
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18066
{ (exit 1); exit 1; }; }
18072
if test x"$ac_file" != x-; then
18074
$as_echo "/* $configure_input */" \
18075
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18076
} >"$tmp/config.h" \
18077
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18078
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18079
{ (exit 1); exit 1; }; }
18080
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18081
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18082
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18085
mv "$tmp/config.h" "$ac_file" \
18086
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18087
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18088
{ (exit 1); exit 1; }; }
18091
$as_echo "/* $configure_input */" \
18092
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18093
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18094
$as_echo "$as_me: error: could not create -" >&2;}
18095
{ (exit 1); exit 1; }; }
18097
# Compute "$ac_file"'s index in $config_headers.
18100
for _am_header in $config_headers :; do
18101
case $_am_header in
18102
$_am_arg | $_am_arg:* )
18105
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
18108
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18109
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18110
X"$_am_arg" : 'X\(//\)[^/]' \| \
18111
X"$_am_arg" : 'X\(//\)$' \| \
18112
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18113
$as_echo X"$_am_arg" |
18114
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18118
/^X\(\/\/\)[^/].*/{
18130
s/.*/./; q'`/stamp-h$_am_stamp_count
18133
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
18134
$as_echo "$as_me: executing $ac_file commands" >&6;}
18139
case $ac_file$ac_mode in
18141
for ac_file in $CONFIG_FILES; do
18142
# Support "outfile[:infile[:infile...]]"
18144
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18146
# PO directories have a Makefile.in generated from Makefile.in.in.
18147
case "$ac_file" in */Makefile.in)
18148
# Adjust a relative srcdir.
18149
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18150
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18151
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18152
# In autoconf-2.13 it is called $ac_given_srcdir.
18153
# In autoconf-2.50 it is called $srcdir.
18154
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18155
case "$ac_given_srcdir" in
18156
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18157
/*) top_srcdir="$ac_given_srcdir" ;;
18158
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18160
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18161
rm -f "$ac_dir/POTFILES"
18162
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18163
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18164
# ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
18165
# on $ac_dir but don't depend on user-specified configuration
18167
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18168
# The LINGUAS file contains the set of available languages.
18169
if test -n "$ALL_LINGUAS"; then
18170
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18172
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18173
# Hide the ALL_LINGUAS assigment from automake.
18174
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18176
case "$ac_given_srcdir" in
18178
*) srcdirpre='$(srcdir)/' ;;
18184
for lang in $ALL_LINGUAS; do
18185
POFILES="$POFILES $srcdirpre$lang.po"
18186
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18187
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18188
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18190
# CATALOGS depends on both $ac_dir and the user's LINGUAS
18191
# environment variable.
18193
if test -n "$ALL_LINGUAS"; then
18194
for presentlang in $ALL_LINGUAS; do
18196
if test "%UNSET%" != "$LINGUAS"; then
18197
desiredlanguages="$LINGUAS"
18199
desiredlanguages="$ALL_LINGUAS"
18201
for desiredlang in $desiredlanguages; do
18202
# Use the presentlang catalog if desiredlang is
18203
# a. equal to presentlang, or
18204
# b. a variant of presentlang (because in this case,
18205
# presentlang can be used as a fallback for messages
18206
# which are not translated in the desiredlang catalog).
18207
case "$desiredlang" in
18208
"$presentlang"*) useit=yes;;
18211
if test $useit = yes; then
18212
INST_LINGUAS="$INST_LINGUAS $presentlang"
18217
if test -n "$INST_LINGUAS"; then
18218
for lang in $INST_LINGUAS; do
18219
CATALOGS="$CATALOGS $lang.gmo"
18222
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18223
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18224
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18225
if test -f "$f"; then
18227
*.orig | *.bak | *~) ;;
18228
*) cat "$f" >> "$ac_dir/Makefile" ;;
18236
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18237
# Autoconf 2.62 quotes --file arguments for eval, but not when files
18238
# are listed without --file. Let's play safe and only enable the eval
18239
# if we detect the quoting.
18240
case $CONFIG_FILES in
18241
*\'*) eval set x "$CONFIG_FILES" ;;
18242
*) set x $CONFIG_FILES ;;
18247
# Strip MF so we end up with the name of the file.
18248
mf=`echo "$mf" | sed -e 's/:.*$//'`
18249
# Check whether this is an Automake generated Makefile or not.
18250
# We used to match only the files named `Makefile.in', but
18251
# some people rename them; so instead we look at the file content.
18252
# Grep'ing the first line is not enough: some people post-process
18253
# each Makefile.in and add a new line on top of each file to say so.
18254
# Grep'ing the whole file is not good either: AIX grep has a line
18255
# limit of 2048, but all sed's we know have understand at least 4000.
18256
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18257
dirpart=`$as_dirname -- "$mf" ||
18258
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18259
X"$mf" : 'X\(//\)[^/]' \| \
18260
X"$mf" : 'X\(//\)$' \| \
18261
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18263
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18267
/^X\(\/\/\)[^/].*/{
18283
# Extract the definition of DEPDIR, am__include, and am__quote
18284
# from the Makefile without running `make'.
18285
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18286
test -z "$DEPDIR" && continue
18287
am__include=`sed -n 's/^am__include = //p' < "$mf"`
18288
test -z "am__include" && continue
18289
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18290
# When using ansi2knr, U may be empty or an underscore; expand it
18291
U=`sed -n 's/^U = //p' < "$mf"`
18292
# Find all dependency output files, they are included files with
18293
# $(DEPDIR) in their names. We invoke sed twice because it is the
18294
# simplest approach to changing $(DEPDIR) to its actual value in the
18296
for file in `sed -n "
18297
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18298
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18299
# Make sure the directory exists.
18300
test -f "$dirpart/$file" && continue
18301
fdir=`$as_dirname -- "$file" ||
18302
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18303
X"$file" : 'X\(//\)[^/]' \| \
18304
X"$file" : 'X\(//\)$' \| \
18305
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18306
$as_echo X"$file" |
18307
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18311
/^X\(\/\/\)[^/].*/{
18324
{ as_dir=$dirpart/$fdir
18326
-*) as_dir=./$as_dir;;
18328
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18332
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18333
*) as_qdir=$as_dir;;
18335
as_dirs="'$as_qdir' $as_dirs"
18336
as_dir=`$as_dirname -- "$as_dir" ||
18337
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18338
X"$as_dir" : 'X\(//\)[^/]' \| \
18339
X"$as_dir" : 'X\(//\)$' \| \
18340
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18341
$as_echo X"$as_dir" |
18342
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18346
/^X\(\/\/\)[^/].*/{
18359
test -d "$as_dir" && break
18361
test -z "$as_dirs" || eval "mkdir $as_dirs"
18362
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18363
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18364
{ (exit 1); exit 1; }; }; }
18365
# echo "creating $dirpart/$file"
18366
echo '# dummy' > "$dirpart/$file"
18373
# See if we are running on zsh, and set the options which allow our
18374
# commands through without removal of \ escapes.
18375
if test -n "${ZSH_VERSION+set}" ; then
18376
setopt NO_GLOB_SUBST
18379
cfgfile="${ofile}T"
18380
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18383
cat <<_LT_EOF >> "$cfgfile"
18386
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18387
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18388
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18389
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18391
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18392
# 2006, 2007, 2008 Free Software Foundation, Inc.
18393
# Written by Gordon Matzigkeit, 1996
18395
# This file is part of GNU Libtool.
18397
# GNU Libtool is free software; you can redistribute it and/or
18398
# modify it under the terms of the GNU General Public License as
18399
# published by the Free Software Foundation; either version 2 of
18400
# the License, or (at your option) any later version.
18402
# As a special exception to the GNU General Public License,
18403
# if you distribute this file as part of a program or library that
18404
# is built using GNU Libtool, you may include this file under the
18405
# same distribution terms that you use for the rest of that program.
18407
# GNU Libtool is distributed in the hope that it will be useful,
18408
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18409
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18410
# GNU General Public License for more details.
18412
# You should have received a copy of the GNU General Public License
18413
# along with GNU Libtool; see the file COPYING. If not, a copy
18414
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18415
# obtained by writing to the Free Software Foundation, Inc.,
18416
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18419
# The names of the tagged configurations supported by this script.
18422
# ### BEGIN LIBTOOL CONFIG
18424
# Which release of libtool.m4 was used?
18425
macro_version=$macro_version
18426
macro_revision=$macro_revision
18428
# Whether or not to build shared libraries.
18429
build_libtool_libs=$enable_shared
18431
# Whether or not to build static libraries.
18432
build_old_libs=$enable_static
18434
# What type of objects to build.
18437
# Whether or not to optimize for fast installation.
18438
fast_install=$enable_fast_install
18441
host_alias=$host_alias
18445
# The build system.
18446
build_alias=$build_alias
18450
# A sed program that does not truncate output.
18453
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18454
Xsed="\$SED -e 1s/^X//"
18456
# A grep program that handles long lines.
18462
# A literal string matcher.
18465
# A BSD- or MS-compatible name lister.
18468
# Whether we need soft or hard links.
18471
# What is the maximum length of a command?
18472
max_cmd_len=$max_cmd_len
18474
# Object file suffix (normally "o").
18477
# Executable file suffix (normally "").
18480
# whether the shell understands "unset".
18483
# turn spaces into newlines.
18486
# turn newlines into spaces.
18489
# How to create reloadable object files.
18490
reload_flag=$lt_reload_flag
18491
reload_cmds=$lt_reload_cmds
18493
# An object symbol dumper.
18494
OBJDUMP=$lt_OBJDUMP
18496
# Method to check whether dependent libraries are shared objects.
18497
deplibs_check_method=$lt_deplibs_check_method
18499
# Command to use when deplibs_check_method == "file_magic".
18500
file_magic_cmd=$lt_file_magic_cmd
18504
AR_FLAGS=$lt_AR_FLAGS
18506
# A symbol stripping program.
18509
# Commands used to install an old-style archive.
18511
old_postinstall_cmds=$lt_old_postinstall_cmds
18512
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18517
# LTCC compiler flags.
18518
LTCFLAGS=$lt_CFLAGS
18520
# Take the output of nm and produce a listing of raw symbols and C names.
18521
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18523
# Transform the output of nm in a proper C declaration.
18524
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18526
# Transform the output of nm in a C name address pair.
18527
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18529
# Transform the output of nm in a C name address pair when lib prefix is needed.
18530
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18532
# The name of the directory that contains temporary libtool files.
18535
# Shell to use when invoking shell scripts.
18538
# An echo program that does not interpret backslashes.
18541
# Used to examine libraries when file_magic_cmd begins with "file".
18542
MAGIC_CMD=$MAGIC_CMD
18544
# Must we lock files when doing compilation?
18545
need_locks=$lt_need_locks
18547
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18548
DSYMUTIL=$lt_DSYMUTIL
18550
# Tool to change global to local symbols on Mac OS X.
18553
# Tool to manipulate fat objects and archives on Mac OS X.
18556
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18559
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18560
OTOOL64=$lt_OTOOL64
18562
# Old archive suffix (normally "a").
18565
# Shared library suffix (normally ".so").
18566
shrext_cmds=$lt_shrext_cmds
18568
# The commands to extract the exported symbol list from a shared archive.
18569
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18571
# Variables whose values should be saved in libtool wrapper scripts and
18572
# restored at link time.
18573
variables_saved_for_relink=$lt_variables_saved_for_relink
18575
# Do we need the "lib" prefix for modules?
18576
need_lib_prefix=$need_lib_prefix
18578
# Do we need a version for libraries?
18579
need_version=$need_version
18581
# Library versioning type.
18582
version_type=$version_type
18584
# Shared library runtime path variable.
18585
runpath_var=$runpath_var
18587
# Shared library path variable.
18588
shlibpath_var=$shlibpath_var
18590
# Is shlibpath searched before the hard-coded library search path?
18591
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18593
# Format of library name prefix.
18594
libname_spec=$lt_libname_spec
18596
# List of archive names. First name is the real one, the rest are links.
18597
# The last name is the one that the linker finds with -lNAME
18598
library_names_spec=$lt_library_names_spec
18600
# The coded name of the library, if different from the real name.
18601
soname_spec=$lt_soname_spec
18603
# Command to use after installation of a shared archive.
18604
postinstall_cmds=$lt_postinstall_cmds
18606
# Command to use after uninstallation of a shared archive.
18607
postuninstall_cmds=$lt_postuninstall_cmds
18609
# Commands used to finish a libtool library installation in a directory.
18610
finish_cmds=$lt_finish_cmds
18612
# As "finish_cmds", except a single script fragment to be evaled but
18614
finish_eval=$lt_finish_eval
18616
# Whether we should hardcode library paths into libraries.
18617
hardcode_into_libs=$hardcode_into_libs
18619
# Compile-time system search path for libraries.
18620
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18622
# Run-time system search path for libraries.
18623
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18625
# Whether dlopen is supported.
18626
dlopen_support=$enable_dlopen
18628
# Whether dlopen of programs is supported.
18629
dlopen_self=$enable_dlopen_self
18631
# Whether dlopen of statically linked programs is supported.
18632
dlopen_self_static=$enable_dlopen_self_static
18634
# Commands to strip libraries.
18635
old_striplib=$lt_old_striplib
18636
striplib=$lt_striplib
18639
# The linker used to build libraries.
18642
# Commands used to build an old-style archive.
18643
old_archive_cmds=$lt_old_archive_cmds
18645
# A language specific compiler.
18648
# Is the compiler the GNU compiler?
18651
# Compiler flag to turn off builtin functions.
18652
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18654
# How to pass a linker flag through the compiler.
18655
wl=$lt_lt_prog_compiler_wl
18657
# Additional compiler flags for building library objects.
18658
pic_flag=$lt_lt_prog_compiler_pic
18660
# Compiler flag to prevent dynamic linking.
18661
link_static_flag=$lt_lt_prog_compiler_static
18663
# Does compiler simultaneously support -c and -o options?
18664
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18666
# Whether or not to add -lc for building shared libraries.
18667
build_libtool_need_lc=$archive_cmds_need_lc
18669
# Whether or not to disallow shared libs when runtime libs are static.
18670
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18672
# Compiler flag to allow reflexive dlopens.
18673
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18675
# Compiler flag to generate shared objects directly from archives.
18676
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18678
# Whether the compiler copes with passing no objects directly.
18679
compiler_needs_object=$lt_compiler_needs_object
18681
# Create an old-style archive from a shared archive.
18682
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18684
# Create a temporary old-style archive to link instead of a shared archive.
18685
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18687
# Commands used to build a shared archive.
18688
archive_cmds=$lt_archive_cmds
18689
archive_expsym_cmds=$lt_archive_expsym_cmds
18691
# Commands used to build a loadable module if different from building
18692
# a shared archive.
18693
module_cmds=$lt_module_cmds
18694
module_expsym_cmds=$lt_module_expsym_cmds
18696
# Whether we are building with GNU ld or not.
18697
with_gnu_ld=$lt_with_gnu_ld
18699
# Flag that allows shared libraries with undefined symbols to be built.
18700
allow_undefined_flag=$lt_allow_undefined_flag
18702
# Flag that enforces no undefined symbols.
18703
no_undefined_flag=$lt_no_undefined_flag
18705
# Flag to hardcode \$libdir into a binary during linking.
18706
# This must work even if \$libdir does not exist
18707
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18709
# If ld is used when linking, flag to hardcode \$libdir into a binary
18710
# during linking. This must work even if \$libdir does not exist.
18711
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18713
# Whether we need a single "-rpath" flag with a separated argument.
18714
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18716
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18717
# DIR into the resulting binary.
18718
hardcode_direct=$hardcode_direct
18720
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18721
# DIR into the resulting binary and the resulting library dependency is
18722
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18723
# library is relocated.
18724
hardcode_direct_absolute=$hardcode_direct_absolute
18726
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18727
# into the resulting binary.
18728
hardcode_minus_L=$hardcode_minus_L
18730
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18731
# into the resulting binary.
18732
hardcode_shlibpath_var=$hardcode_shlibpath_var
18734
# Set to "yes" if building a shared library automatically hardcodes DIR
18735
# into the library and all subsequent libraries and executables linked
18737
hardcode_automatic=$hardcode_automatic
18739
# Set to yes if linker adds runtime paths of dependent libraries
18740
# to runtime path list.
18741
inherit_rpath=$inherit_rpath
18743
# Whether libtool must link a program against all its dependency libraries.
18744
link_all_deplibs=$link_all_deplibs
18746
# Fix the shell variable \$srcfile for the compiler.
18747
fix_srcfile_path=$lt_fix_srcfile_path
18749
# Set to "yes" if exported symbols are required.
18750
always_export_symbols=$always_export_symbols
18752
# The commands to list exported symbols.
18753
export_symbols_cmds=$lt_export_symbols_cmds
18755
# Symbols that should not be listed in the preloaded symbols.
18756
exclude_expsyms=$lt_exclude_expsyms
18758
# Symbols that must always be exported.
18759
include_expsyms=$lt_include_expsyms
18761
# Commands necessary for linking programs (against libraries) with templates.
18762
prelink_cmds=$lt_prelink_cmds
18764
# Specify filename containing input files.
18765
file_list_spec=$lt_file_list_spec
18767
# How to hardcode a shared library path into an executable.
18768
hardcode_action=$hardcode_action
18770
# ### END LIBTOOL CONFIG
18776
cat <<\_LT_EOF >> "$cfgfile"
18777
# AIX sometimes has problems with the GCC collect2 program. For some
18778
# reason, if we set the COLLECT_NAMES environment variable, the problems
18779
# vanish in a puff of smoke.
18780
if test "X${COLLECT_NAMES+set}" != Xset; then
18782
export COLLECT_NAMES
18789
ltmain="$ac_aux_dir/ltmain.sh"
18792
# We use sed instead of cat because bash on DJGPP gets confused if
18793
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18794
# text mode, it properly converts lines to CR/LF. This bash problem
18795
# is reportedly fixed, but why not run on old versions too?
18796
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18797
|| (rm -f "$cfgfile"; exit 1)
18801
cat << \_LT_EOF >> "$cfgfile"
18803
# func_dirname file append nondir_replacement
18804
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18805
# otherwise set result to NONDIR_REPLACEMENT.
18809
*/*) func_dirname_result="${1%/*}${2}" ;;
18810
* ) func_dirname_result="${3}" ;;
18814
# func_basename file
18817
func_basename_result="${1##*/}"
18820
# func_dirname_and_basename file append nondir_replacement
18821
# perform func_basename and func_dirname in a single function
18823
# dirname: Compute the dirname of FILE. If nonempty,
18824
# add APPEND to the result, otherwise set result
18825
# to NONDIR_REPLACEMENT.
18826
# value returned in "$func_dirname_result"
18827
# basename: Compute filename of FILE.
18828
# value retuned in "$func_basename_result"
18829
# Implementation must be kept synchronized with func_dirname
18830
# and func_basename. For efficiency, we do not delegate to
18831
# those functions but instead duplicate the functionality here.
18832
func_dirname_and_basename ()
18835
*/*) func_dirname_result="${1%/*}${2}" ;;
18836
* ) func_dirname_result="${3}" ;;
18838
func_basename_result="${1##*/}"
18841
# func_stripname prefix suffix name
18842
# strip PREFIX and SUFFIX off of NAME.
18843
# PREFIX and SUFFIX must not contain globbing or regex special
18844
# characters, hashes, percent signs, but SUFFIX may contain a leading
18845
# dot (in which case that matches only a dot).
18848
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18849
# positional parameters, so assign one to ordinary parameter first.
18850
func_stripname_result=${3}
18851
func_stripname_result=${func_stripname_result#"${1}"}
18852
func_stripname_result=${func_stripname_result%"${2}"}
18858
func_opt_split_opt=${1%%=*}
18859
func_opt_split_arg=${1#*=}
18866
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18867
*) func_lo2o_result=${1} ;;
18871
# func_xform libobj-or-source
18874
func_xform_result=${1%.*}.lo
18877
# func_arith arithmetic-term...
18880
func_arith_result=$(( $* ))
18884
# STRING may not start with a hyphen.
18887
func_len_result=${#1}
18892
*) # Bourne compatible functions.
18893
cat << \_LT_EOF >> "$cfgfile"
18895
# func_dirname file append nondir_replacement
18896
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18897
# otherwise set result to NONDIR_REPLACEMENT.
18900
# Extract subdirectory from the argument.
18901
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18902
if test "X$func_dirname_result" = "X${1}"; then
18903
func_dirname_result="${3}"
18905
func_dirname_result="$func_dirname_result${2}"
18909
# func_basename file
18912
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18916
# func_stripname prefix suffix name
18917
# strip PREFIX and SUFFIX off of NAME.
18918
# PREFIX and SUFFIX must not contain globbing or regex special
18919
# characters, hashes, percent signs, but SUFFIX may contain a leading
18920
# dot (in which case that matches only a dot).
18921
# func_strip_suffix prefix name
18925
.*) func_stripname_result=`$ECHO "X${3}" \
18926
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18927
*) func_stripname_result=`$ECHO "X${3}" \
18928
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18933
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18934
my_sed_long_arg='1s/^-[^=]*=//'
18939
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18940
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18946
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18949
# func_xform libobj-or-source
18952
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18955
# func_arith arithmetic-term...
18958
func_arith_result=`expr "$@"`
18962
# STRING may not start with a hyphen.
18965
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18971
case $lt_shell_append in
18973
cat << \_LT_EOF >> "$cfgfile"
18975
# func_append var value
18976
# Append VALUE to the end of shell variable VAR.
18984
cat << \_LT_EOF >> "$cfgfile"
18986
# func_append var value
18987
# Append VALUE to the end of shell variable VAR.
18998
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18999
|| (rm -f "$cfgfile"; exit 1)
19001
mv -f "$cfgfile" "$ofile" ||
19002
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19011
{ (exit 0); exit 0; }
19013
chmod +x $CONFIG_STATUS
19014
ac_clean_files=$ac_clean_files_save
19016
test $ac_write_fail = 0 ||
19017
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19018
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19019
{ (exit 1); exit 1; }; }
19022
# configure is writing to config.log, and then calls config.status.
19023
# config.status does its own redirection, appending to config.log.
19024
# Unfortunately, on DOS this fails, as config.log is still kept open
19025
# by configure, so config.status won't be able to write to it; its
19026
# output is simply discarded. So we exec the FD to /dev/null,
19027
# effectively closing config.log, so it can be properly (re)opened and
19028
# appended to by config.status. When coming back to configure, we
19029
# need to make the FD available again.
19030
if test "$no_create" != yes; then
19032
ac_config_status_args=
19033
test "$silent" = yes &&
19034
ac_config_status_args="$ac_config_status_args --quiet"
19036
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19038
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
19039
# would make configure fail if this is the last instruction.
19040
$ac_cs_success || { (exit 1); exit 1; }
19042
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19043
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19044
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}