2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for pdf_converter 0.1.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
if test "x$CONFIG_SHELL" = x; then
138
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142
# is contrary to our usage. Disable this feature.
143
alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
case \`(set -o) 2>/dev/null\` in #(
154
as_required="as_fn_return () { (exit \$1); }
155
as_fn_success () { as_fn_return 0; }
156
as_fn_failure () { as_fn_return 1; }
157
as_fn_ret_success () { return 0; }
158
as_fn_ret_failure () { return 1; }
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
exitcode=1; echo positional parameters were not saved.
170
test x\$exitcode = x0 || exit 1"
171
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
test \$(( 1 + 1 )) = 2 || exit 1
177
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
PATH=/empty FPATH=/empty; export PATH FPATH
182
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184
if (eval "$as_required") 2>/dev/null; then :
189
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
test -z "$as_dir" && as_dir=.
201
for as_base in sh bash ksh sh5; do
202
# Try only shells that exist, to save several forks.
203
as_shell=$as_dir/$as_base
204
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
CONFIG_SHELL=$as_shell as_have_required=yes
207
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217
CONFIG_SHELL=$SHELL as_have_required=yes
222
if test "x$CONFIG_SHELL" != x; then :
223
# We cannot yet assume a decent shell, so we have to provide a
224
# neutralization value for shells without unset; and this also
225
# works around shells that cannot unset nonexistent variables.
226
# Preserve -v and -x to the replacement shell.
229
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
*v*x* | *x*v* ) as_opts=-vx ;;
237
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
if test x$as_have_required = xno; then :
241
$as_echo "$0: This script requires a shell more modern than all"
242
$as_echo "$0: the shells that I found on your system."
243
if test x${ZSH_VERSION+set} = xset ; then
244
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
247
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248
$0: including any error possibly output before this
249
$0: message. Then install a modern shell, or manually run
250
$0: the script under such a shell if you do have one."
256
SHELL=${CONFIG_SHELL-/bin/sh}
258
# Unset more variables known to interfere with behavior of common tools.
259
CLICOLOR_FORCE= GREP_OPTIONS=
260
unset CLICOLOR_FORCE GREP_OPTIONS
262
## --------------------- ##
263
## M4sh Shell Functions. ##
264
## --------------------- ##
267
# Portably unset VAR.
270
{ eval $1=; unset $1;}
274
# as_fn_set_status STATUS
275
# -----------------------
276
# Set $? to STATUS, without forking.
284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294
# Create "$as_dir" as a directory, including parents if necessary.
299
-*) as_dir=./$as_dir;;
301
test -d "$as_dir" || eval $as_mkdir_p || {
305
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308
as_dirs="'$as_qdir' $as_dirs"
309
as_dir=`$as_dirname -- "$as_dir" ||
310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311
X"$as_dir" : 'X\(//\)[^/]' \| \
312
X"$as_dir" : 'X\(//\)$' \| \
313
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314
$as_echo X"$as_dir" |
315
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332
test -d "$as_dir" && break
334
test -z "$as_dirs" || eval "mkdir $as_dirs"
335
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
# as_fn_append VAR VALUE
340
# ----------------------
341
# Append the text in VALUE to the end of the definition contained in VAR. Take
342
# advantage of any shell optimizations that allow amortized linear growth over
343
# repeated appends, instead of the typical quadratic growth present in naive
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346
eval 'as_fn_append ()
359
# Perform arithmetic evaluation on the ARGs, and store the result in the
360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
361
# must be portable across $(()) and expr.
362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370
as_val=`expr "$@" || test $? -eq 1`
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
376
# ----------------------------------------
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379
# script with STATUS, using 1 if that was 0.
382
as_status=$1; test $as_status -eq 0 && as_status=1
384
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387
$as_echo "$as_me: error: $2" >&2
388
as_fn_exit $as_status
391
if expr a : '\(a\)' >/dev/null 2>&1 &&
392
test "X`expr 00001 : '.*\(...\)'`" = X001; then
398
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410
as_me=`$as_basename -- "$0" ||
411
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412
X"$0" : 'X\(//\)$' \| \
413
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415
sed '/^.*\/\([^/][^/]*\)\/*$/{
429
# Avoid depending upon Character Ranges.
430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433
as_cr_digits='0123456789'
434
as_cr_alnum=$as_cr_Letters$as_cr_digits
437
as_lineno_1=$LINENO as_lineno_1a=$LINENO
438
as_lineno_2=$LINENO as_lineno_2a=$LINENO
439
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
chmod +x "$as_me.lineno" ||
458
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460
# Don't try to exec as it changes $[0], causing all sort of problems
461
# (the dirname of $[0] is not the place where we might find the
462
# original and so on. Autoconf is especially sensitive to this).
464
# Exit status is that of the last command.
468
ECHO_C= ECHO_N= ECHO_T=
469
case `echo -n x` in #(((((
471
case `echo 'xy\c'` in
472
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
474
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481
rm -f conf$$ conf$$.exe conf$$.file
482
if test -d conf$$.dir; then
483
rm -f conf$$.dir/conf$$.file
486
mkdir conf$$.dir 2>/dev/null
488
if (echo >conf$$.file) 2>/dev/null; then
489
if ln -s conf$$.file conf$$ 2>/dev/null; then
491
# ... but there are two gotchas:
492
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494
# In both cases, we have to default to `cp -p'.
495
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497
elif ln conf$$.file conf$$ 2>/dev/null; then
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
508
if mkdir -p . 2>/dev/null; then
509
as_mkdir_p='mkdir -p "$as_dir"'
511
test -d ./-p && rmdir ./-p
515
if test -x / >/dev/null 2>&1; then
518
if ls -dL / >/dev/null 2>&1; then
525
if test -d "$1"; then
531
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532
???[sx]*):;;*)false;;esac;fi
536
as_executable_p=$as_test_x
538
# Sed expression to map a string onto a valid CPP name.
539
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541
# Sed expression to map a string onto a valid variable name.
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544
SHELL=${CONFIG_SHELL-/bin/sh}
547
test -n "$DJDIR" || exec 7<&0 </dev/null
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552
# so uname gets run too.
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
ac_default_prefix=/usr/local
560
ac_config_libobj_dir=.
567
# Identity of this package.
568
PACKAGE_NAME='pdf_converter'
569
PACKAGE_TARNAME='pdf_converter'
570
PACKAGE_VERSION='0.1'
571
PACKAGE_STRING='pdf_converter 0.1'
575
# Factoring default headers for most tests.
576
ac_includes_default="\
578
#ifdef HAVE_SYS_TYPES_H
579
# include <sys/types.h>
581
#ifdef HAVE_SYS_STAT_H
582
# include <sys/stat.h>
588
# ifdef HAVE_STDLIB_H
593
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598
#ifdef HAVE_STRINGS_H
599
# include <strings.h>
601
#ifdef HAVE_INTTYPES_H
602
# include <inttypes.h>
611
ac_subst_vars='am__EXEEXT_FALSE
651
INTLTOOL_SERVICE_RULE
653
INTLTOOL_SCHEMAS_RULE
655
INTLTOOL_XML_NOMERGE_RULE
660
INTLTOOL_SOUNDLIST_RULE
667
INTLTOOL_DIRECTORY_RULE
668
INTLTOOL_DESKTOP_RULE
709
MAINTAINER_MODE_FALSE
719
INSTALL_STRIP_PROGRAM
763
program_transform_name
776
enable_option_checking
778
enable_maintainer_mode
779
enable_dependency_tracking
789
ac_precious_vars='build_alias
805
# Initialize some variables set by options.
807
ac_init_version=false
808
ac_unrecognized_opts=
810
# The variables have the same names as the options, with
811
# dashes changed to underlines.
819
program_transform_name=s,x,x,
827
# Installation directory options.
828
# These are left unexpanded so users can "make install exec_prefix=/foo"
829
# and all the variables that are supposed to be based on exec_prefix
830
# by default will actually change.
831
# Use braces instead of parens because sh, perl, etc. also accept them.
832
# (The list follows the same order as the GNU Coding Standards.)
833
bindir='${exec_prefix}/bin'
834
sbindir='${exec_prefix}/sbin'
835
libexecdir='${exec_prefix}/libexec'
836
datarootdir='${prefix}/share'
837
datadir='${datarootdir}'
838
sysconfdir='${prefix}/etc'
839
sharedstatedir='${prefix}/com'
840
localstatedir='${prefix}/var'
841
includedir='${prefix}/include'
842
oldincludedir='/usr/include'
843
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
844
infodir='${datarootdir}/info'
849
libdir='${exec_prefix}/lib'
850
localedir='${datarootdir}/locale'
851
mandir='${datarootdir}/man'
857
# If the previous option needs an argument, assign it.
858
if test -n "$ac_prev"; then
859
eval $ac_prev=\$ac_option
865
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
870
# Accept the important Cygnus configure options, so we can diagnose typos.
872
case $ac_dashdash$ac_option in
876
-bindir | --bindir | --bindi | --bind | --bin | --bi)
878
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
881
-build | --build | --buil | --bui | --bu)
882
ac_prev=build_alias ;;
883
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
884
build_alias=$ac_optarg ;;
886
-cache-file | --cache-file | --cache-fil | --cache-fi \
887
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
888
ac_prev=cache_file ;;
889
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
890
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
891
cache_file=$ac_optarg ;;
894
cache_file=config.cache ;;
896
-datadir | --datadir | --datadi | --datad)
898
-datadir=* | --datadir=* | --datadi=* | --datad=*)
899
datadir=$ac_optarg ;;
901
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
902
| --dataroo | --dataro | --datar)
903
ac_prev=datarootdir ;;
904
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
905
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
906
datarootdir=$ac_optarg ;;
908
-disable-* | --disable-*)
909
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910
# Reject names that are not valid shell variable names.
911
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912
as_fn_error $? "invalid feature name: $ac_useropt"
913
ac_useropt_orig=$ac_useropt
914
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915
case $ac_user_opts in
919
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920
ac_unrecognized_sep=', ';;
922
eval enable_$ac_useropt=no ;;
924
-docdir | --docdir | --docdi | --doc | --do)
926
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
929
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
931
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
934
-enable-* | --enable-*)
935
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936
# Reject names that are not valid shell variable names.
937
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938
as_fn_error $? "invalid feature name: $ac_useropt"
939
ac_useropt_orig=$ac_useropt
940
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941
case $ac_user_opts in
945
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946
ac_unrecognized_sep=', ';;
948
eval enable_$ac_useropt=\$ac_optarg ;;
950
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952
| --exec | --exe | --ex)
953
ac_prev=exec_prefix ;;
954
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956
| --exec=* | --exe=* | --ex=*)
957
exec_prefix=$ac_optarg ;;
959
-gas | --gas | --ga | --g)
960
# Obsolete; use --with-gas.
963
-help | --help | --hel | --he | -h)
965
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966
ac_init_help=recursive ;;
967
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968
ac_init_help=short ;;
970
-host | --host | --hos | --ho)
971
ac_prev=host_alias ;;
972
-host=* | --host=* | --hos=* | --ho=*)
973
host_alias=$ac_optarg ;;
975
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
977
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
979
htmldir=$ac_optarg ;;
981
-includedir | --includedir | --includedi | --included | --include \
982
| --includ | --inclu | --incl | --inc)
983
ac_prev=includedir ;;
984
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985
| --includ=* | --inclu=* | --incl=* | --inc=*)
986
includedir=$ac_optarg ;;
988
-infodir | --infodir | --infodi | --infod | --info | --inf)
990
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991
infodir=$ac_optarg ;;
993
-libdir | --libdir | --libdi | --libd)
995
-libdir=* | --libdir=* | --libdi=* | --libd=*)
998
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999
| --libexe | --libex | --libe)
1000
ac_prev=libexecdir ;;
1001
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002
| --libexe=* | --libex=* | --libe=*)
1003
libexecdir=$ac_optarg ;;
1005
-localedir | --localedir | --localedi | --localed | --locale)
1006
ac_prev=localedir ;;
1007
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008
localedir=$ac_optarg ;;
1010
-localstatedir | --localstatedir | --localstatedi | --localstated \
1011
| --localstate | --localstat | --localsta | --localst | --locals)
1012
ac_prev=localstatedir ;;
1013
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015
localstatedir=$ac_optarg ;;
1017
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1019
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020
mandir=$ac_optarg ;;
1022
-nfp | --nfp | --nf)
1023
# Obsolete; use --without-fp.
1026
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027
| --no-cr | --no-c | -n)
1030
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036
| --oldin | --oldi | --old | --ol | --o)
1037
ac_prev=oldincludedir ;;
1038
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041
oldincludedir=$ac_optarg ;;
1043
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1045
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046
prefix=$ac_optarg ;;
1048
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1049
| --program-pre | --program-pr | --program-p)
1050
ac_prev=program_prefix ;;
1051
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1052
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053
program_prefix=$ac_optarg ;;
1055
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1056
| --program-suf | --program-su | --program-s)
1057
ac_prev=program_suffix ;;
1058
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1059
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060
program_suffix=$ac_optarg ;;
1062
-program-transform-name | --program-transform-name \
1063
| --program-transform-nam | --program-transform-na \
1064
| --program-transform-n | --program-transform- \
1065
| --program-transform | --program-transfor \
1066
| --program-transfo | --program-transf \
1067
| --program-trans | --program-tran \
1068
| --progr-tra | --program-tr | --program-t)
1069
ac_prev=program_transform_name ;;
1070
-program-transform-name=* | --program-transform-name=* \
1071
| --program-transform-nam=* | --program-transform-na=* \
1072
| --program-transform-n=* | --program-transform-=* \
1073
| --program-transform=* | --program-transfor=* \
1074
| --program-transfo=* | --program-transf=* \
1075
| --program-trans=* | --program-tran=* \
1076
| --progr-tra=* | --program-tr=* | --program-t=*)
1077
program_transform_name=$ac_optarg ;;
1079
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1081
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082
pdfdir=$ac_optarg ;;
1084
-psdir | --psdir | --psdi | --psd | --ps)
1086
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090
| -silent | --silent | --silen | --sile | --sil)
1093
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1097
sbindir=$ac_optarg ;;
1099
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1100
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101
| --sharedst | --shareds | --shared | --share | --shar \
1103
ac_prev=sharedstatedir ;;
1104
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1108
sharedstatedir=$ac_optarg ;;
1110
-site | --site | --sit)
1112
-site=* | --site=* | --sit=*)
1115
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1117
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118
srcdir=$ac_optarg ;;
1120
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121
| --syscon | --sysco | --sysc | --sys | --sy)
1122
ac_prev=sysconfdir ;;
1123
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125
sysconfdir=$ac_optarg ;;
1127
-target | --target | --targe | --targ | --tar | --ta | --t)
1128
ac_prev=target_alias ;;
1129
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130
target_alias=$ac_optarg ;;
1132
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1135
-version | --version | --versio | --versi | --vers | -V)
1136
ac_init_version=: ;;
1139
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140
# Reject names that are not valid shell variable names.
1141
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142
as_fn_error $? "invalid package name: $ac_useropt"
1143
ac_useropt_orig=$ac_useropt
1144
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145
case $ac_user_opts in
1149
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150
ac_unrecognized_sep=', ';;
1152
eval with_$ac_useropt=\$ac_optarg ;;
1154
-without-* | --without-*)
1155
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156
# Reject names that are not valid shell variable names.
1157
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158
as_fn_error $? "invalid package name: $ac_useropt"
1159
ac_useropt_orig=$ac_useropt
1160
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161
case $ac_user_opts in
1165
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166
ac_unrecognized_sep=', ';;
1168
eval with_$ac_useropt=no ;;
1171
# Obsolete; use --with-x.
1174
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1175
| --x-incl | --x-inc | --x-in | --x-i)
1176
ac_prev=x_includes ;;
1177
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1178
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1179
x_includes=$ac_optarg ;;
1181
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1182
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1183
ac_prev=x_libraries ;;
1184
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1185
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1186
x_libraries=$ac_optarg ;;
1188
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1189
Try \`$0 --help' for more information"
1193
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1194
# Reject names that are not valid shell variable names.
1195
case $ac_envvar in #(
1196
'' | [0-9]* | *[!_$as_cr_alnum]* )
1197
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1199
eval $ac_envvar=\$ac_optarg
1200
export $ac_envvar ;;
1203
# FIXME: should be removed in autoconf 3.0.
1204
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1213
if test -n "$ac_prev"; then
1214
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1215
as_fn_error $? "missing argument to $ac_option"
1218
if test -n "$ac_unrecognized_opts"; then
1219
case $enable_option_checking in
1221
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1222
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1226
# Check all directory arguments for consistency.
1227
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228
datadir sysconfdir sharedstatedir localstatedir includedir \
1229
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230
libdir localedir mandir
1232
eval ac_val=\$$ac_var
1233
# Remove trailing slashes.
1236
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237
eval $ac_var=\$ac_val;;
1239
# Be sure to have absolute directory names.
1241
[\\/$]* | ?:[\\/]* ) continue;;
1242
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1244
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1247
# There might be people who depend on the old broken behavior: `$host'
1248
# used to hold the argument of --host etc.
1249
# FIXME: To remove some day.
1252
target=$target_alias
1254
# FIXME: To remove some day.
1255
if test "x$host_alias" != x; then
1256
if test "x$build_alias" = x; then
1257
cross_compiling=maybe
1258
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1259
If a cross compiler is detected then cross compile mode will be used" >&2
1260
elif test "x$build_alias" != "x$host_alias"; then
1266
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1268
test "$silent" = yes && exec 6>/dev/null
1271
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1272
ac_ls_di=`ls -di .` &&
1273
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1274
as_fn_error $? "working directory cannot be determined"
1275
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276
as_fn_error $? "pwd does not report name of working directory"
1279
# Find the source files, if location was not specified.
1280
if test -z "$srcdir"; then
1281
ac_srcdir_defaulted=yes
1282
# Try the directory containing this script, then the parent directory.
1283
ac_confdir=`$as_dirname -- "$as_myself" ||
1284
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1285
X"$as_myself" : 'X\(//\)[^/]' \| \
1286
X"$as_myself" : 'X\(//\)$' \| \
1287
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1288
$as_echo X"$as_myself" |
1289
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1307
if test ! -r "$srcdir/$ac_unique_file"; then
1311
ac_srcdir_defaulted=no
1313
if test ! -r "$srcdir/$ac_unique_file"; then
1314
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1315
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1317
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1319
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1321
# When building in place, set srcdir=.
1322
if test "$ac_abs_confdir" = "$ac_pwd"; then
1325
# Remove unnecessary trailing slashes from srcdir.
1326
# Double slashes in file names in object file debugging info
1327
# mess up M-x gdb in Emacs.
1329
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1331
for ac_var in $ac_precious_vars; do
1332
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1333
eval ac_env_${ac_var}_value=\$${ac_var}
1334
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1335
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1339
# Report the --help message.
1341
if test "$ac_init_help" = "long"; then
1342
# Omit some internal or obsolete options to make the list less imposing.
1343
# This message is too long to be a string in the A/UX 3.1 sh.
1345
\`configure' configures pdf_converter 0.1 to adapt to many kinds of systems.
1347
Usage: $0 [OPTION]... [VAR=VALUE]...
1349
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1350
VAR=VALUE. See below for descriptions of some of the useful variables.
1352
Defaults for the options are specified in brackets.
1355
-h, --help display this help and exit
1356
--help=short display options specific to this package
1357
--help=recursive display the short help of all the included packages
1358
-V, --version display version information and exit
1359
-q, --quiet, --silent do not print \`checking ...' messages
1360
--cache-file=FILE cache test results in FILE [disabled]
1361
-C, --config-cache alias for \`--cache-file=config.cache'
1362
-n, --no-create do not create output files
1363
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1365
Installation directories:
1366
--prefix=PREFIX install architecture-independent files in PREFIX
1367
[$ac_default_prefix]
1368
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1371
By default, \`make install' will install all the files in
1372
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1373
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374
for instance \`--prefix=\$HOME'.
1376
For better control, use the options below.
1378
Fine tuning of the installation directories:
1379
--bindir=DIR user executables [EPREFIX/bin]
1380
--sbindir=DIR system admin executables [EPREFIX/sbin]
1381
--libexecdir=DIR program executables [EPREFIX/libexec]
1382
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1383
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1384
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1385
--libdir=DIR object code libraries [EPREFIX/lib]
1386
--includedir=DIR C header files [PREFIX/include]
1387
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1388
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390
--infodir=DIR info documentation [DATAROOTDIR/info]
1391
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392
--mandir=DIR man documentation [DATAROOTDIR/man]
1393
--docdir=DIR documentation root [DATAROOTDIR/doc/pdf_converter]
1394
--htmldir=DIR html documentation [DOCDIR]
1395
--dvidir=DIR dvi documentation [DOCDIR]
1396
--pdfdir=DIR pdf documentation [DOCDIR]
1397
--psdir=DIR ps documentation [DOCDIR]
1403
--program-prefix=PREFIX prepend PREFIX to installed program names
1404
--program-suffix=SUFFIX append SUFFIX to installed program names
1405
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1408
--build=BUILD configure for building on BUILD [guessed]
1409
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1413
if test -n "$ac_init_help"; then
1414
case $ac_init_help in
1415
short | recursive ) echo "Configuration of pdf_converter 0.1:";;
1420
--disable-option-checking ignore unrecognized --enable/--with options
1421
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1422
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1423
--enable-silent-rules less verbose build output (undo: `make V=1')
1424
--disable-silent-rules verbose build output (undo: `make V=0')
1425
--enable-maintainer-mode enable make rules and dependencies not useful
1426
(and sometimes confusing) to the casual installer
1427
--disable-dependency-tracking speeds up one-time build
1428
--enable-dependency-tracking do not reject slow dependency extractors
1429
--disable-nls do not use Native Language Support
1430
--enable-shared[=PKGS] build shared libraries [default=yes]
1431
--enable-static[=PKGS] build static libraries [default=yes]
1432
--enable-fast-install[=PKGS]
1433
optimize for fast installation [default=yes]
1434
--disable-libtool-lock avoid locking (might break parallel builds)
1437
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1438
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1439
--with-pic try to use only PIC/non-PIC objects [default=use
1441
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1442
--with-sysroot=DIR Search for dependent libraries within DIR
1443
(or the compiler's sysroot if not specified).
1445
Some influential environment variables:
1446
CC C compiler command
1447
CFLAGS C compiler flags
1448
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1449
nonstandard directory <lib dir>
1450
LIBS libraries to pass to the linker, e.g. -l<library>
1451
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1452
you have headers in a nonstandard directory <include dir>
1454
PKG_CONFIG path to pkg-config utility
1456
directories to add to pkg-config's search path
1458
path overriding pkg-config's built-in search path
1459
PDF_CONVERTER_CFLAGS
1460
C compiler flags for PDF_CONVERTER, overriding pkg-config
1462
linker flags for PDF_CONVERTER, overriding pkg-config
1464
Use these variables to override the choices made by `configure' or to help
1465
it to find libraries and programs with nonstandard names/locations.
1467
Report bugs to the package provider.
1472
if test "$ac_init_help" = "recursive"; then
1473
# If there are subdirs, report their specific --help.
1474
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475
test -d "$ac_dir" ||
1476
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1481
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484
# A ".." for each directory in $ac_dir_suffix.
1485
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486
case $ac_top_builddir_sub in
1487
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491
ac_abs_top_builddir=$ac_pwd
1492
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493
# for backward compatibility:
1494
ac_top_builddir=$ac_top_build_prefix
1497
.) # We are building in place.
1499
ac_top_srcdir=$ac_top_builddir_sub
1500
ac_abs_top_srcdir=$ac_pwd ;;
1501
[\\/]* | ?:[\\/]* ) # Absolute name.
1502
ac_srcdir=$srcdir$ac_dir_suffix;
1503
ac_top_srcdir=$srcdir
1504
ac_abs_top_srcdir=$srcdir ;;
1506
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507
ac_top_srcdir=$ac_top_build_prefix$srcdir
1508
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512
cd "$ac_dir" || { ac_status=$?; continue; }
1513
# Check for guested configure.
1514
if test -f "$ac_srcdir/configure.gnu"; then
1516
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517
elif test -f "$ac_srcdir/configure"; then
1519
$SHELL "$ac_srcdir/configure" --help=recursive
1521
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523
cd "$ac_pwd" || { ac_status=$?; break; }
1527
test -n "$ac_init_help" && exit $ac_status
1528
if $ac_init_version; then
1530
pdf_converter configure 0.1
1531
generated by GNU Autoconf 2.68
1533
Copyright (C) 2010 Free Software Foundation, Inc.
1534
This configure script is free software; the Free Software Foundation
1535
gives unlimited permission to copy, distribute and modify it.
1540
## ------------------------ ##
1541
## Autoconf initialization. ##
1542
## ------------------------ ##
1544
# ac_fn_c_try_compile LINENO
1545
# --------------------------
1546
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1547
ac_fn_c_try_compile ()
1549
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550
rm -f conftest.$ac_objext
1551
if { { ac_try="$ac_compile"
1553
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554
*) ac_try_echo=$ac_try;;
1556
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557
$as_echo "$ac_try_echo"; } >&5
1558
(eval "$ac_compile") 2>conftest.err
1560
if test -s conftest.err; then
1561
grep -v '^ *+' conftest.err >conftest.er1
1562
cat conftest.er1 >&5
1563
mv -f conftest.er1 conftest.err
1565
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566
test $ac_status = 0; } && {
1567
test -z "$ac_c_werror_flag" ||
1568
test ! -s conftest.err
1569
} && test -s conftest.$ac_objext; then :
1572
$as_echo "$as_me: failed program was:" >&5
1573
sed 's/^/| /' conftest.$ac_ext >&5
1577
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578
as_fn_set_status $ac_retval
1580
} # ac_fn_c_try_compile
1582
# ac_fn_c_try_cpp LINENO
1583
# ----------------------
1584
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1587
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588
if { { ac_try="$ac_cpp conftest.$ac_ext"
1590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591
*) ac_try_echo=$ac_try;;
1593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594
$as_echo "$ac_try_echo"; } >&5
1595
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1597
if test -s conftest.err; then
1598
grep -v '^ *+' conftest.err >conftest.er1
1599
cat conftest.er1 >&5
1600
mv -f conftest.er1 conftest.err
1602
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603
test $ac_status = 0; } > conftest.i && {
1604
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1605
test ! -s conftest.err
1609
$as_echo "$as_me: failed program was:" >&5
1610
sed 's/^/| /' conftest.$ac_ext >&5
1614
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615
as_fn_set_status $ac_retval
1619
# ac_fn_c_try_run LINENO
1620
# ----------------------
1621
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1622
# that executables *can* be run.
1625
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626
if { { ac_try="$ac_link"
1628
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629
*) ac_try_echo=$ac_try;;
1631
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632
$as_echo "$ac_try_echo"; } >&5
1633
(eval "$ac_link") 2>&5
1635
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1637
{ { case "(($ac_try" in
1638
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639
*) ac_try_echo=$ac_try;;
1641
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642
$as_echo "$ac_try_echo"; } >&5
1643
(eval "$ac_try") 2>&5
1645
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646
test $ac_status = 0; }; }; then :
1649
$as_echo "$as_me: program exited with status $ac_status" >&5
1650
$as_echo "$as_me: failed program was:" >&5
1651
sed 's/^/| /' conftest.$ac_ext >&5
1653
ac_retval=$ac_status
1655
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657
as_fn_set_status $ac_retval
1661
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1662
# -------------------------------------------------------
1663
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1664
# the include files in INCLUDES and setting the cache variable VAR
1666
ac_fn_c_check_header_mongrel ()
1668
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669
if eval \${$3+:} false; then :
1670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671
$as_echo_n "checking for $2... " >&6; }
1672
if eval \${$3+:} false; then :
1673
$as_echo_n "(cached) " >&6
1676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677
$as_echo "$ac_res" >&6; }
1679
# Is the header compilable?
1680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1681
$as_echo_n "checking $2 usability... " >&6; }
1682
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683
/* end confdefs.h. */
1687
if ac_fn_c_try_compile "$LINENO"; then :
1688
ac_header_compiler=yes
1690
ac_header_compiler=no
1692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1694
$as_echo "$ac_header_compiler" >&6; }
1696
# Is the header present?
1697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1698
$as_echo_n "checking $2 presence... " >&6; }
1699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700
/* end confdefs.h. */
1703
if ac_fn_c_try_cpp "$LINENO"; then :
1704
ac_header_preproc=yes
1706
ac_header_preproc=no
1708
rm -f conftest.err conftest.i conftest.$ac_ext
1709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1710
$as_echo "$ac_header_preproc" >&6; }
1712
# So? What about this header?
1713
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1715
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1716
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1717
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1718
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1721
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1722
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1723
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1724
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1725
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1726
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1727
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1728
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1729
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734
$as_echo_n "checking for $2... " >&6; }
1735
if eval \${$3+:} false; then :
1736
$as_echo_n "(cached) " >&6
1738
eval "$3=\$ac_header_compiler"
1741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742
$as_echo "$ac_res" >&6; }
1744
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746
} # ac_fn_c_check_header_mongrel
1748
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749
# -------------------------------------------------------
1750
# Tests whether HEADER exists and can be compiled using the include files in
1751
# INCLUDES, setting the cache variable VAR accordingly.
1752
ac_fn_c_check_header_compile ()
1754
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756
$as_echo_n "checking for $2... " >&6; }
1757
if eval \${$3+:} false; then :
1758
$as_echo_n "(cached) " >&6
1760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761
/* end confdefs.h. */
1765
if ac_fn_c_try_compile "$LINENO"; then :
1770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774
$as_echo "$ac_res" >&6; }
1775
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777
} # ac_fn_c_check_header_compile
1779
# ac_fn_c_try_link LINENO
1780
# -----------------------
1781
# Try to link conftest.$ac_ext, and return whether this succeeded.
1784
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785
rm -f conftest.$ac_objext conftest$ac_exeext
1786
if { { ac_try="$ac_link"
1788
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789
*) ac_try_echo=$ac_try;;
1791
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792
$as_echo "$ac_try_echo"; } >&5
1793
(eval "$ac_link") 2>conftest.err
1795
if test -s conftest.err; then
1796
grep -v '^ *+' conftest.err >conftest.er1
1797
cat conftest.er1 >&5
1798
mv -f conftest.er1 conftest.err
1800
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801
test $ac_status = 0; } && {
1802
test -z "$ac_c_werror_flag" ||
1803
test ! -s conftest.err
1804
} && test -s conftest$ac_exeext && {
1805
test "$cross_compiling" = yes ||
1806
$as_test_x conftest$ac_exeext
1810
$as_echo "$as_me: failed program was:" >&5
1811
sed 's/^/| /' conftest.$ac_ext >&5
1815
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817
# interfere with the next link command; also delete a directory that is
1818
# left behind by Apple's compiler. We do this before executing the actions.
1819
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
as_fn_set_status $ac_retval
1823
} # ac_fn_c_try_link
1825
# ac_fn_c_check_func LINENO FUNC VAR
1826
# ----------------------------------
1827
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1828
ac_fn_c_check_func ()
1830
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832
$as_echo_n "checking for $2... " >&6; }
1833
if eval \${$3+:} false; then :
1834
$as_echo_n "(cached) " >&6
1836
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837
/* end confdefs.h. */
1838
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1840
#define $2 innocuous_$2
1842
/* System header to define __stub macros and hopefully few prototypes,
1843
which can conflict with char $2 (); below.
1844
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845
<limits.h> exists even on freestanding compilers. */
1848
# include <limits.h>
1850
# include <assert.h>
1855
/* Override any GCC internal prototype to avoid an error.
1856
Use char because int might match the return type of a GCC
1857
builtin and then its argument prototype would still apply. */
1862
/* The GNU C library defines this for functions which it implements
1863
to always fail with ENOSYS. Some functions are actually named
1864
something starting with __ and the normal name is an alias. */
1865
#if defined __stub_$2 || defined __stub___$2
1877
if ac_fn_c_try_link "$LINENO"; then :
1882
rm -f core conftest.err conftest.$ac_objext \
1883
conftest$ac_exeext conftest.$ac_ext
1886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887
$as_echo "$ac_res" >&6; }
1888
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890
} # ac_fn_c_check_func
1891
cat >config.log <<_ACEOF
1892
This file contains any messages produced by compilers while
1893
running configure, to aid debugging if configure makes a mistake.
1895
It was created by pdf_converter $as_me 0.1, which was
1896
generated by GNU Autoconf 2.68. Invocation command line was
1908
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1909
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1910
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1911
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1912
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1914
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1915
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1917
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1918
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1919
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1920
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1921
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1922
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1923
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931
test -z "$as_dir" && as_dir=.
1932
$as_echo "PATH: $as_dir"
1948
# Keep a trace of the command line.
1949
# Strip out --no-create and --no-recursion so they do not pile up.
1950
# Strip out --silent because we don't want to record it for future runs.
1951
# Also quote any args containing shell meta-characters.
1952
# Make two passes to allow for proper duplicate-argument suppression.
1956
ac_must_keep_next=false
1962
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1963
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1964
| -silent | --silent | --silen | --sile | --sil)
1967
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1970
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1972
as_fn_append ac_configure_args1 " '$ac_arg'"
1973
if test $ac_must_keep_next = true; then
1974
ac_must_keep_next=false # Got value, back to normal.
1977
*=* | --config-cache | -C | -disable-* | --disable-* \
1978
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1979
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1980
| -with-* | --with-* | -without-* | --without-* | --x)
1981
case "$ac_configure_args0 " in
1982
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1985
-* ) ac_must_keep_next=true ;;
1988
as_fn_append ac_configure_args " '$ac_arg'"
1993
{ ac_configure_args0=; unset ac_configure_args0;}
1994
{ ac_configure_args1=; unset ac_configure_args1;}
1996
# When interrupted or exit'd, cleanup temporary files, and complete
1997
# config.log. We remove comments because anyway the quotes in there
1998
# would cause problems or look ugly.
1999
# WARNING: Use '\'' to represent an apostrophe within the trap.
2000
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2001
trap 'exit_status=$?
2002
# Save into config.log some information that might help in debugging.
2006
$as_echo "## ---------------- ##
2007
## Cache variables. ##
2008
## ---------------- ##"
2010
# The following way of writing the cache mishandles newlines in values,
2012
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2013
eval ac_val=\$$ac_var
2017
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2018
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2021
_ | IFS | as_nl) ;; #(
2022
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2023
*) { eval $ac_var=; unset $ac_var;} ;;
2028
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2029
*${as_nl}ac_space=\ *)
2031
"s/'\''/'\''\\\\'\'''\''/g;
2032
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2035
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2042
$as_echo "## ----------------- ##
2043
## Output variables. ##
2044
## ----------------- ##"
2046
for ac_var in $ac_subst_vars
2048
eval ac_val=\$$ac_var
2050
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2052
$as_echo "$ac_var='\''$ac_val'\''"
2056
if test -n "$ac_subst_files"; then
2057
$as_echo "## ------------------- ##
2058
## File substitutions. ##
2059
## ------------------- ##"
2061
for ac_var in $ac_subst_files
2063
eval ac_val=\$$ac_var
2065
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2067
$as_echo "$ac_var='\''$ac_val'\''"
2072
if test -s confdefs.h; then
2073
$as_echo "## ----------- ##
2080
test "$ac_signal" != 0 &&
2081
$as_echo "$as_me: caught signal $ac_signal"
2082
$as_echo "$as_me: exit $exit_status"
2084
rm -f core *.core core.conftest.* &&
2085
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2088
for ac_signal in 1 2 13 15; do
2089
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2093
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2094
rm -f -r conftest* confdefs.h
2096
$as_echo "/* confdefs.h */" > confdefs.h
2098
# Predefined preprocessor variables.
2100
cat >>confdefs.h <<_ACEOF
2101
#define PACKAGE_NAME "$PACKAGE_NAME"
2104
cat >>confdefs.h <<_ACEOF
2105
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2108
cat >>confdefs.h <<_ACEOF
2109
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2112
cat >>confdefs.h <<_ACEOF
2113
#define PACKAGE_STRING "$PACKAGE_STRING"
2116
cat >>confdefs.h <<_ACEOF
2117
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2120
cat >>confdefs.h <<_ACEOF
2121
#define PACKAGE_URL "$PACKAGE_URL"
2125
# Let the site file select an alternate cache file if it wants to.
2126
# Prefer an explicitly selected file to automatically selected ones.
2129
if test -n "$CONFIG_SITE"; then
2130
# We do not want a PATH search for config.site.
2131
case $CONFIG_SITE in #((
2132
-*) ac_site_file1=./$CONFIG_SITE;;
2133
*/*) ac_site_file1=$CONFIG_SITE;;
2134
*) ac_site_file1=./$CONFIG_SITE;;
2136
elif test "x$prefix" != xNONE; then
2137
ac_site_file1=$prefix/share/config.site
2138
ac_site_file2=$prefix/etc/config.site
2140
ac_site_file1=$ac_default_prefix/share/config.site
2141
ac_site_file2=$ac_default_prefix/etc/config.site
2143
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2145
test "x$ac_site_file" = xNONE && continue
2146
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2147
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2148
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2149
sed 's/^/| /' "$ac_site_file" >&5
2151
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2153
as_fn_error $? "failed to load site script $ac_site_file
2154
See \`config.log' for more details" "$LINENO" 5; }
2158
if test -r "$cache_file"; then
2159
# Some versions of bash will fail to source /dev/null (special files
2160
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2161
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2162
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2163
$as_echo "$as_me: loading cache $cache_file" >&6;}
2165
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2166
*) . "./$cache_file";;
2170
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2171
$as_echo "$as_me: creating cache $cache_file" >&6;}
2175
# Check that the precious variables saved in the cache have kept the same
2177
ac_cache_corrupted=false
2178
for ac_var in $ac_precious_vars; do
2179
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2180
eval ac_new_set=\$ac_env_${ac_var}_set
2181
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2182
eval ac_new_val=\$ac_env_${ac_var}_value
2183
case $ac_old_set,$ac_new_set in
2185
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2186
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2187
ac_cache_corrupted=: ;;
2189
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2190
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2191
ac_cache_corrupted=: ;;
2194
if test "x$ac_old_val" != "x$ac_new_val"; then
2195
# differences in whitespace do not lead to failure.
2196
ac_old_val_w=`echo x $ac_old_val`
2197
ac_new_val_w=`echo x $ac_new_val`
2198
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2199
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2200
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2201
ac_cache_corrupted=:
2203
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2204
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2205
eval $ac_var=\$ac_old_val
2207
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2208
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2209
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2210
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2213
# Pass precious variables to config.status.
2214
if test "$ac_new_set" = set; then
2216
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2217
*) ac_arg=$ac_var=$ac_new_val ;;
2219
case " $ac_configure_args " in
2220
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2221
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2225
if $ac_cache_corrupted; then
2226
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2229
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2230
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2232
## -------------------- ##
2233
## Main body of script. ##
2234
## -------------------- ##
2237
ac_cpp='$CPP $CPPFLAGS'
2238
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2243
# Check whether --enable-silent-rules was given.
2244
if test "${enable_silent_rules+set}" = set; then :
2245
enableval=$enable_silent_rules;
2248
case $enable_silent_rules in
2249
yes) AM_DEFAULT_VERBOSITY=0;;
2250
no) AM_DEFAULT_VERBOSITY=1;;
2251
*) AM_DEFAULT_VERBOSITY=0;;
2256
am__api_version='1.11'
2259
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2260
if test -f "$ac_dir/install-sh"; then
2262
ac_install_sh="$ac_aux_dir/install-sh -c"
2264
elif test -f "$ac_dir/install.sh"; then
2266
ac_install_sh="$ac_aux_dir/install.sh -c"
2268
elif test -f "$ac_dir/shtool"; then
2270
ac_install_sh="$ac_aux_dir/shtool install -c"
2274
if test -z "$ac_aux_dir"; then
2275
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2278
# These three variables are undocumented and unsupported,
2279
# and are intended to be withdrawn in a future Autoconf release.
2280
# They can cause serious problems if a builder's source tree is in a directory
2281
# whose full name contains unusual characters.
2282
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2283
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2284
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2287
# Find a good install program. We prefer a C program (faster),
2288
# so one script is as good as another. But avoid the broken or
2289
# incompatible versions:
2290
# SysV /etc/install, /usr/sbin/install
2291
# SunOS /usr/etc/install
2292
# IRIX /sbin/install
2294
# AmigaOS /C/install, which installs bootblocks on floppy discs
2295
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2296
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2297
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2298
# OS/2's system install, which has a completely different semantic
2299
# ./install, which can be erroneously created by make from ./install.sh.
2300
# Reject install programs that cannot install multiple files.
2301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2302
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2303
if test -z "$INSTALL"; then
2304
if ${ac_cv_path_install+:} false; then :
2305
$as_echo_n "(cached) " >&6
2307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311
test -z "$as_dir" && as_dir=.
2312
# Account for people who put trailing slashes in PATH elements.
2313
case $as_dir/ in #((
2314
./ | .// | /[cC]/* | \
2315
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2316
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2319
# OSF1 and SCO ODT 3.0 have their own names for install.
2320
# Don't use installbsd from OSF since it installs stuff as root
2322
for ac_prog in ginstall scoinst install; do
2323
for ac_exec_ext in '' $ac_executable_extensions; do
2324
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2325
if test $ac_prog = install &&
2326
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2327
# AIX install. It has an incompatible calling convention.
2329
elif test $ac_prog = install &&
2330
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331
# program-specific install script used by HP pwplus--don't use.
2334
rm -rf conftest.one conftest.two conftest.dir
2335
echo one > conftest.one
2336
echo two > conftest.two
2338
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2339
test -s conftest.one && test -s conftest.two &&
2340
test -s conftest.dir/conftest.one &&
2341
test -s conftest.dir/conftest.two
2343
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2356
rm -rf conftest.one conftest.two conftest.dir
2359
if test "${ac_cv_path_install+set}" = set; then
2360
INSTALL=$ac_cv_path_install
2362
# As a last resort, use the slow shell script. Don't cache a
2363
# value for INSTALL within a source directory, because that will
2364
# break other packages using the cache if that directory is
2365
# removed, or if the value is a relative name.
2366
INSTALL=$ac_install_sh
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2370
$as_echo "$INSTALL" >&6; }
2372
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2373
# It thinks the first close brace ends the variable substitution.
2374
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2376
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2378
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2381
$as_echo_n "checking whether build environment is sane... " >&6; }
2384
echo timestamp > conftest.file
2385
# Reject unsafe characters in $srcdir or the absolute working directory
2386
# name. Accept space and tab only in the latter.
2390
*[\\\"\#\$\&\'\`$am_lf]*)
2391
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2394
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2395
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2398
# Do `set' in a subshell so we don't clobber the current shell's
2399
# arguments. Must try -L first in case configure is actually a
2400
# symlink; some systems play weird games with the mod time of symlinks
2401
# (eg FreeBSD returns the mod time of the symlink's containing
2404
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2405
if test "$*" = "X"; then
2407
set X `ls -t "$srcdir/configure" conftest.file`
2410
if test "$*" != "X $srcdir/configure conftest.file" \
2411
&& test "$*" != "X conftest.file $srcdir/configure"; then
2413
# If neither matched, then we have a broken ls. This can happen
2414
# if, for instance, CONFIG_SHELL is bash and it inherits a
2415
# broken ls alias from the environment. This has actually
2416
# happened. Such a system could not be considered "sane".
2417
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2418
alias in your environment" "$LINENO" 5
2421
test "$2" = conftest.file
2427
as_fn_error $? "newly created file is older than distributed files!
2428
Check your system clock" "$LINENO" 5
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2431
$as_echo "yes" >&6; }
2432
test "$program_prefix" != NONE &&
2433
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2434
# Use a double $ so make ignores it.
2435
test "$program_suffix" != NONE &&
2436
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2437
# Double any \ or $.
2438
# By default was `s,x,x', remove it if useless.
2439
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2440
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2442
# expand $ac_aux_dir to an absolute path
2443
am_aux_dir=`cd $ac_aux_dir && pwd`
2445
if test x"${MISSING+set}" != xset; then
2448
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2450
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2453
# Use eval to expand $SHELL
2454
if eval "$MISSING --run true"; then
2455
am_missing_run="$MISSING --run "
2458
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2459
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2462
if test x"${install_sh}" != xset; then
2465
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2467
install_sh="\${SHELL} $am_aux_dir/install-sh"
2471
# Installed binaries are usually stripped using `strip' when the user
2472
# run `make install-strip'. However `strip' might not be the right
2473
# tool to use in cross-compilation environments, therefore Automake
2474
# will honor the `STRIP' environment variable to overrule this program.
2475
if test "$cross_compiling" != no; then
2476
if test -n "$ac_tool_prefix"; then
2477
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2478
set dummy ${ac_tool_prefix}strip; ac_word=$2
2479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480
$as_echo_n "checking for $ac_word... " >&6; }
2481
if ${ac_cv_prog_STRIP+:} false; then :
2482
$as_echo_n "(cached) " >&6
2484
if test -n "$STRIP"; then
2485
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2487
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491
test -z "$as_dir" && as_dir=.
2492
for ac_exec_ext in '' $ac_executable_extensions; do
2493
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2495
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504
STRIP=$ac_cv_prog_STRIP
2505
if test -n "$STRIP"; then
2506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2507
$as_echo "$STRIP" >&6; }
2509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510
$as_echo "no" >&6; }
2515
if test -z "$ac_cv_prog_STRIP"; then
2517
# Extract the first word of "strip", so it can be a program name with args.
2518
set dummy strip; ac_word=$2
2519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520
$as_echo_n "checking for $ac_word... " >&6; }
2521
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2522
$as_echo_n "(cached) " >&6
2524
if test -n "$ac_ct_STRIP"; then
2525
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2527
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531
test -z "$as_dir" && as_dir=.
2532
for ac_exec_ext in '' $ac_executable_extensions; do
2533
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534
ac_cv_prog_ac_ct_STRIP="strip"
2535
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2545
if test -n "$ac_ct_STRIP"; then
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2547
$as_echo "$ac_ct_STRIP" >&6; }
2549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550
$as_echo "no" >&6; }
2553
if test "x$ac_ct_STRIP" = x; then
2556
case $cross_compiling:$ac_tool_warned in
2558
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2559
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2560
ac_tool_warned=yes ;;
2565
STRIP="$ac_cv_prog_STRIP"
2569
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2572
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2573
if test -z "$MKDIR_P"; then
2574
if ${ac_cv_path_mkdir+:} false; then :
2575
$as_echo_n "(cached) " >&6
2577
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2581
test -z "$as_dir" && as_dir=.
2582
for ac_prog in mkdir gmkdir; do
2583
for ac_exec_ext in '' $ac_executable_extensions; do
2584
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2585
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2586
'mkdir (GNU coreutils) '* | \
2587
'mkdir (coreutils) '* | \
2588
'mkdir (fileutils) '4.1*)
2589
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2599
test -d ./--version && rmdir ./--version
2600
if test "${ac_cv_path_mkdir+set}" = set; then
2601
MKDIR_P="$ac_cv_path_mkdir -p"
2603
# As a last resort, use the slow shell script. Don't cache a
2604
# value for MKDIR_P within a source directory, because that will
2605
# break other packages using the cache if that directory is
2606
# removed, or if the value is a relative name.
2607
MKDIR_P="$ac_install_sh -d"
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2611
$as_echo "$MKDIR_P" >&6; }
2615
[\\/$]* | ?:[\\/]*) ;;
2616
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2619
for ac_prog in gawk mawk nawk awk
2621
# Extract the first word of "$ac_prog", so it can be a program name with args.
2622
set dummy $ac_prog; ac_word=$2
2623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624
$as_echo_n "checking for $ac_word... " >&6; }
2625
if ${ac_cv_prog_AWK+:} false; then :
2626
$as_echo_n "(cached) " >&6
2628
if test -n "$AWK"; then
2629
ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
2639
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2649
if test -n "$AWK"; then
2650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2651
$as_echo "$AWK" >&6; }
2653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654
$as_echo "no" >&6; }
2658
test -n "$AWK" && break
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2662
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2664
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2665
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2666
$as_echo_n "(cached) " >&6
2668
cat >conftest.make <<\_ACEOF
2671
@echo '@@@%%%=$(MAKE)=@@@%%%'
2673
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2674
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2676
eval ac_cv_prog_make_${ac_make}_set=yes;;
2678
eval ac_cv_prog_make_${ac_make}_set=no;;
2682
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2684
$as_echo "yes" >&6; }
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688
$as_echo "no" >&6; }
2689
SET_MAKE="MAKE=${MAKE-make}"
2692
rm -rf .tst 2>/dev/null
2693
mkdir .tst 2>/dev/null
2694
if test -d .tst; then
2699
rmdir .tst 2>/dev/null
2701
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2702
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2703
# is not polluted with repeated "-I."
2704
am__isrc=' -I$(srcdir)'
2705
# test to see if srcdir already configured
2706
if test -f $srcdir/config.status; then
2707
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2711
# test whether we have cygpath
2712
if test -z "$CYGPATH_W"; then
2713
if (cygpath --version) >/dev/null 2>/dev/null; then
2714
CYGPATH_W='cygpath -w'
2721
# Define the identity of the package.
2722
PACKAGE=pdf_converter
2726
cat >>confdefs.h <<_ACEOF
2727
#define PACKAGE "$PACKAGE"
2731
cat >>confdefs.h <<_ACEOF
2732
#define VERSION "$VERSION"
2735
# Some tools Automake needs.
2737
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2740
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2743
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2746
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2749
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2751
# We need awk for the "check" target. The system "awk" is bad on
2753
# Always define AMTAR for backward compatibility.
2755
AMTAR=${AMTAR-"${am_missing_run}tar"}
2757
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2763
ac_config_headers="$ac_config_headers config.h"
2766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2767
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2768
# Check whether --enable-maintainer-mode was given.
2769
if test "${enable_maintainer_mode+set}" = set; then :
2770
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2772
USE_MAINTAINER_MODE=no
2775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2776
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2777
if test $USE_MAINTAINER_MODE = yes; then
2778
MAINTAINER_MODE_TRUE=
2779
MAINTAINER_MODE_FALSE='#'
2781
MAINTAINER_MODE_TRUE='#'
2782
MAINTAINER_MODE_FALSE=
2785
MAINT=$MAINTAINER_MODE_TRUE
2790
ac_cpp='$CPP $CPPFLAGS'
2791
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2792
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2793
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2794
if test -n "$ac_tool_prefix"; then
2795
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2796
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798
$as_echo_n "checking for $ac_word... " >&6; }
2799
if ${ac_cv_prog_CC+:} false; then :
2800
$as_echo_n "(cached) " >&6
2802
if test -n "$CC"; then
2803
ac_cv_prog_CC="$CC" # Let the user override the test.
2805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809
test -z "$as_dir" && as_dir=.
2810
for ac_exec_ext in '' $ac_executable_extensions; do
2811
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2813
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823
if test -n "$CC"; then
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2825
$as_echo "$CC" >&6; }
2827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828
$as_echo "no" >&6; }
2833
if test -z "$ac_cv_prog_CC"; then
2835
# Extract the first word of "gcc", so it can be a program name with args.
2836
set dummy gcc; ac_word=$2
2837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838
$as_echo_n "checking for $ac_word... " >&6; }
2839
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2840
$as_echo_n "(cached) " >&6
2842
if test -n "$ac_ct_CC"; then
2843
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2845
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849
test -z "$as_dir" && as_dir=.
2850
for ac_exec_ext in '' $ac_executable_extensions; do
2851
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852
ac_cv_prog_ac_ct_CC="gcc"
2853
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2863
if test -n "$ac_ct_CC"; then
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2865
$as_echo "$ac_ct_CC" >&6; }
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868
$as_echo "no" >&6; }
2871
if test "x$ac_ct_CC" = x; then
2874
case $cross_compiling:$ac_tool_warned in
2876
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2877
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2878
ac_tool_warned=yes ;;
2886
if test -z "$CC"; then
2887
if test -n "$ac_tool_prefix"; then
2888
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2889
set dummy ${ac_tool_prefix}cc; ac_word=$2
2890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891
$as_echo_n "checking for $ac_word... " >&6; }
2892
if ${ac_cv_prog_CC+:} false; then :
2893
$as_echo_n "(cached) " >&6
2895
if test -n "$CC"; then
2896
ac_cv_prog_CC="$CC" # Let the user override the test.
2898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902
test -z "$as_dir" && as_dir=.
2903
for ac_exec_ext in '' $ac_executable_extensions; do
2904
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2905
ac_cv_prog_CC="${ac_tool_prefix}cc"
2906
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916
if test -n "$CC"; then
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2918
$as_echo "$CC" >&6; }
2920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921
$as_echo "no" >&6; }
2927
if test -z "$CC"; then
2928
# Extract the first word of "cc", so it can be a program name with args.
2929
set dummy cc; ac_word=$2
2930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931
$as_echo_n "checking for $ac_word... " >&6; }
2932
if ${ac_cv_prog_CC+:} false; then :
2933
$as_echo_n "(cached) " >&6
2935
if test -n "$CC"; then
2936
ac_cv_prog_CC="$CC" # Let the user override the test.
2939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943
test -z "$as_dir" && as_dir=.
2944
for ac_exec_ext in '' $ac_executable_extensions; do
2945
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2947
ac_prog_rejected=yes
2951
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958
if test $ac_prog_rejected = yes; then
2959
# We found a bogon in the path, so make sure we never use it.
2960
set dummy $ac_cv_prog_CC
2962
if test $# != 0; then
2963
# We chose a different compiler from the bogus one.
2964
# However, it has the same basename, so the bogon will be chosen
2965
# first if we set CC to just the basename; use the full file name.
2967
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2973
if test -n "$CC"; then
2974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2975
$as_echo "$CC" >&6; }
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978
$as_echo "no" >&6; }
2983
if test -z "$CC"; then
2984
if test -n "$ac_tool_prefix"; then
2985
for ac_prog in cl.exe
2987
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2988
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990
$as_echo_n "checking for $ac_word... " >&6; }
2991
if ${ac_cv_prog_CC+:} false; then :
2992
$as_echo_n "(cached) " >&6
2994
if test -n "$CC"; then
2995
ac_cv_prog_CC="$CC" # Let the user override the test.
2997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001
test -z "$as_dir" && as_dir=.
3002
for ac_exec_ext in '' $ac_executable_extensions; do
3003
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3004
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3005
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015
if test -n "$CC"; then
3016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017
$as_echo "$CC" >&6; }
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020
$as_echo "no" >&6; }
3024
test -n "$CC" && break
3027
if test -z "$CC"; then
3029
for ac_prog in cl.exe
3031
# Extract the first word of "$ac_prog", so it can be a program name with args.
3032
set dummy $ac_prog; ac_word=$2
3033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
$as_echo_n "checking for $ac_word... " >&6; }
3035
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036
$as_echo_n "(cached) " >&6
3038
if test -n "$ac_ct_CC"; then
3039
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045
test -z "$as_dir" && as_dir=.
3046
for ac_exec_ext in '' $ac_executable_extensions; do
3047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
ac_cv_prog_ac_ct_CC="$ac_prog"
3049
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059
if test -n "$ac_ct_CC"; then
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061
$as_echo "$ac_ct_CC" >&6; }
3063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
$as_echo "no" >&6; }
3068
test -n "$ac_ct_CC" && break
3071
if test "x$ac_ct_CC" = x; then
3074
case $cross_compiling:$ac_tool_warned in
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078
ac_tool_warned=yes ;;
3087
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089
as_fn_error $? "no acceptable C compiler found in \$PATH
3090
See \`config.log' for more details" "$LINENO" 5; }
3092
# Provide some information about the compiler.
3093
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3096
for ac_option in --version -v -V -qversion; do
3097
{ { ac_try="$ac_compiler $ac_option >&5"
3099
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100
*) ac_try_echo=$ac_try;;
3102
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103
$as_echo "$ac_try_echo"; } >&5
3104
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3106
if test -s conftest.err; then
3108
... rest of stderr output deleted ...
3109
10q' conftest.err >conftest.er1
3110
cat conftest.er1 >&5
3112
rm -f conftest.er1 conftest.err
3113
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114
test $ac_status = 0; }
3117
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118
/* end confdefs.h. */
3128
ac_clean_files_save=$ac_clean_files
3129
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3130
# Try to create an executable without -o first, disregard a.out.
3131
# It will help us diagnose broken compilers, and finding out an intuition
3133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3134
$as_echo_n "checking whether the C compiler works... " >&6; }
3135
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3137
# The possible output files:
3138
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3141
for ac_file in $ac_files
3144
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3145
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3150
if { { ac_try="$ac_link_default"
3152
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153
*) ac_try_echo=$ac_try;;
3155
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156
$as_echo "$ac_try_echo"; } >&5
3157
(eval "$ac_link_default") 2>&5
3159
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3160
test $ac_status = 0; }; then :
3161
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3162
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3163
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3164
# so that the user can short-circuit this test for compilers unknown to
3166
for ac_file in $ac_files ''
3168
test -f "$ac_file" || continue
3170
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3173
# We found the default executable, but exeext='' is most
3177
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3179
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3181
# We set ac_cv_exeext here because the later test for it is not
3182
# safe: cross compilers may not add the suffix if given an `-o'
3183
# argument, so we may need to know it at that point already.
3184
# Even if this section looks crufty: it has the advantage of
3191
test "$ac_cv_exeext" = no && ac_cv_exeext=
3196
if test -z "$ac_file"; then :
3197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198
$as_echo "no" >&6; }
3199
$as_echo "$as_me: failed program was:" >&5
3200
sed 's/^/| /' conftest.$ac_ext >&5
3202
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204
as_fn_error 77 "C compiler cannot create executables
3205
See \`config.log' for more details" "$LINENO" 5; }
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208
$as_echo "yes" >&6; }
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3211
$as_echo_n "checking for C compiler default output file name... " >&6; }
3212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3213
$as_echo "$ac_file" >&6; }
3214
ac_exeext=$ac_cv_exeext
3216
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3217
ac_clean_files=$ac_clean_files_save
3218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3219
$as_echo_n "checking for suffix of executables... " >&6; }
3220
if { { ac_try="$ac_link"
3222
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223
*) ac_try_echo=$ac_try;;
3225
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226
$as_echo "$ac_try_echo"; } >&5
3227
(eval "$ac_link") 2>&5
3229
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230
test $ac_status = 0; }; then :
3231
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3232
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3233
# work properly (i.e., refer to `conftest.exe'), while it won't with
3235
for ac_file in conftest.exe conftest conftest.*; do
3236
test -f "$ac_file" || continue
3238
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3239
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3245
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3248
See \`config.log' for more details" "$LINENO" 5; }
3250
rm -f conftest conftest$ac_cv_exeext
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3252
$as_echo "$ac_cv_exeext" >&6; }
3254
rm -f conftest.$ac_ext
3255
EXEEXT=$ac_cv_exeext
3257
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258
/* end confdefs.h. */
3263
FILE *f = fopen ("conftest.out", "w");
3264
return ferror (f) || fclose (f) != 0;
3270
ac_clean_files="$ac_clean_files conftest.out"
3271
# Check that the compiler produces executables we can run. If not, either
3272
# the compiler is broken, or we cross compile.
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3274
$as_echo_n "checking whether we are cross compiling... " >&6; }
3275
if test "$cross_compiling" != yes; then
3276
{ { ac_try="$ac_link"
3278
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279
*) ac_try_echo=$ac_try;;
3281
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282
$as_echo "$ac_try_echo"; } >&5
3283
(eval "$ac_link") 2>&5
3285
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286
test $ac_status = 0; }
3287
if { ac_try='./conftest$ac_cv_exeext'
3288
{ { case "(($ac_try" in
3289
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290
*) ac_try_echo=$ac_try;;
3292
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293
$as_echo "$ac_try_echo"; } >&5
3294
(eval "$ac_try") 2>&5
3296
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297
test $ac_status = 0; }; }; then
3300
if test "$cross_compiling" = maybe; then
3303
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305
as_fn_error $? "cannot run C compiled programs.
3306
If you meant to cross compile, use \`--host'.
3307
See \`config.log' for more details" "$LINENO" 5; }
3311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3312
$as_echo "$cross_compiling" >&6; }
3314
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3315
ac_clean_files=$ac_clean_files_save
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3317
$as_echo_n "checking for suffix of object files... " >&6; }
3318
if ${ac_cv_objext+:} false; then :
3319
$as_echo_n "(cached) " >&6
3321
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322
/* end confdefs.h. */
3332
rm -f conftest.o conftest.obj
3333
if { { ac_try="$ac_compile"
3335
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336
*) ac_try_echo=$ac_try;;
3338
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339
$as_echo "$ac_try_echo"; } >&5
3340
(eval "$ac_compile") 2>&5
3342
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343
test $ac_status = 0; }; then :
3344
for ac_file in conftest.o conftest.obj conftest.*; do
3345
test -f "$ac_file" || continue;
3347
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3348
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3353
$as_echo "$as_me: failed program was:" >&5
3354
sed 's/^/| /' conftest.$ac_ext >&5
3356
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358
as_fn_error $? "cannot compute suffix of object files: cannot compile
3359
See \`config.log' for more details" "$LINENO" 5; }
3361
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3364
$as_echo "$ac_cv_objext" >&6; }
3365
OBJEXT=$ac_cv_objext
3367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3368
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3369
if ${ac_cv_c_compiler_gnu+:} false; then :
3370
$as_echo_n "(cached) " >&6
3372
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373
/* end confdefs.h. */
3386
if ac_fn_c_try_compile "$LINENO"; then :
3391
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3396
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3397
if test $ac_compiler_gnu = yes; then
3402
ac_test_CFLAGS=${CFLAGS+set}
3403
ac_save_CFLAGS=$CFLAGS
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3405
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3406
if ${ac_cv_prog_cc_g+:} false; then :
3407
$as_echo_n "(cached) " >&6
3409
ac_save_c_werror_flag=$ac_c_werror_flag
3410
ac_c_werror_flag=yes
3413
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414
/* end confdefs.h. */
3424
if ac_fn_c_try_compile "$LINENO"; then :
3428
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429
/* end confdefs.h. */
3439
if ac_fn_c_try_compile "$LINENO"; then :
3442
ac_c_werror_flag=$ac_save_c_werror_flag
3444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445
/* end confdefs.h. */
3455
if ac_fn_c_try_compile "$LINENO"; then :
3458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3460
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463
ac_c_werror_flag=$ac_save_c_werror_flag
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3466
$as_echo "$ac_cv_prog_cc_g" >&6; }
3467
if test "$ac_test_CFLAGS" = set; then
3468
CFLAGS=$ac_save_CFLAGS
3469
elif test $ac_cv_prog_cc_g = yes; then
3470
if test "$GCC" = yes; then
3476
if test "$GCC" = yes; then
3482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3483
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3484
if ${ac_cv_prog_cc_c89+:} false; then :
3485
$as_echo_n "(cached) " >&6
3487
ac_cv_prog_cc_c89=no
3489
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490
/* end confdefs.h. */
3493
#include <sys/types.h>
3494
#include <sys/stat.h>
3495
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3496
struct buf { int x; };
3497
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3498
static char *e (p, i)
3504
static char *f (char * (*g) (char **, int), char **p, ...)
3509
s = g (p, va_arg (v,int));
3514
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3515
function prototypes and stuff, but not '\xHH' hex character constants.
3516
These don't provoke an error unfortunately, instead are silently treated
3517
as 'x'. The following induces an error, until -std is added to get
3518
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3519
array size at least. It's necessary to write '\x00'==0 to get something
3520
that's true only with -std. */
3521
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3523
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3524
inside strings and character constants. */
3526
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3528
int test (int i, double x);
3529
struct s1 {int (*f) (int a);};
3530
struct s2 {int (*f) (double a);};
3531
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3537
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3542
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3543
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3545
CC="$ac_save_CC $ac_arg"
3546
if ac_fn_c_try_compile "$LINENO"; then :
3547
ac_cv_prog_cc_c89=$ac_arg
3549
rm -f core conftest.err conftest.$ac_objext
3550
test "x$ac_cv_prog_cc_c89" != "xno" && break
3552
rm -f conftest.$ac_ext
3557
case "x$ac_cv_prog_cc_c89" in
3559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3560
$as_echo "none needed" >&6; } ;;
3562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3563
$as_echo "unsupported" >&6; } ;;
3565
CC="$CC $ac_cv_prog_cc_c89"
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3567
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3569
if test "x$ac_cv_prog_cc_c89" != xno; then :
3574
ac_cpp='$CPP $CPPFLAGS'
3575
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578
DEPDIR="${am__leading_dot}deps"
3580
ac_config_commands="$ac_config_commands depfiles"
3583
am_make=${MAKE-make}
3584
cat > confinc << 'END'
3586
@echo this is the am__doit target
3589
# If we don't find an include directive, just comment out the code.
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3591
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3595
# First try GNU make style include.
3596
echo "include confinc" > confmf
3597
# Ignore all kinds of additional output from `make'.
3598
case `$am_make -s -f confmf 2> /dev/null` in #(
3599
*the\ am__doit\ target*)
3605
# Now try BSD make style include.
3606
if test "$am__include" = "#"; then
3607
echo '.include "confinc"' > confmf
3608
case `$am_make -s -f confmf 2> /dev/null` in #(
3609
*the\ am__doit\ target*)
3610
am__include=.include
3618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3619
$as_echo "$_am_result" >&6; }
3620
rm -f confinc confmf
3622
# Check whether --enable-dependency-tracking was given.
3623
if test "${enable_dependency_tracking+set}" = set; then :
3624
enableval=$enable_dependency_tracking;
3627
if test "x$enable_dependency_tracking" != xno; then
3628
am_depcomp="$ac_aux_dir/depcomp"
3631
if test "x$enable_dependency_tracking" != xno; then
3641
depcc="$CC" am_compiler_list=
3643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3644
$as_echo_n "checking dependency style of $depcc... " >&6; }
3645
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3646
$as_echo_n "(cached) " >&6
3648
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3649
# We make a subdir and do the tests there. Otherwise we can end up
3650
# making bogus files that we don't know about and never remove. For
3651
# instance it was reported that on HP-UX the gcc test will end up
3652
# making a dummy file named `D' -- because `-MD' means `put the output
3655
# Copy depcomp to subdir because otherwise we won't find it if we're
3656
# using a relative directory.
3657
cp "$am_depcomp" conftest.dir
3659
# We will build objects and dependencies in a subdirectory because
3660
# it helps to detect inapplicable dependency modes. For instance
3661
# both Tru64's cc and ICC support -MD to output dependencies as a
3662
# side effect of compilation, but ICC will put the dependencies in
3663
# the current directory while Tru64 will put them in the object
3667
am_cv_CC_dependencies_compiler_type=none
3668
if test "$am_compiler_list" = ""; then
3669
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3672
case " $depcc " in #(
3673
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3676
for depmode in $am_compiler_list; do
3677
# Setup a source with many dependencies, because some compilers
3678
# like to wrap large dependency lists on column 80 (with \), and
3679
# we should not choose a depcomp mode which is confused by this.
3681
# We need to recreate these files for each test, as the compiler may
3682
# overwrite some of them when testing with obscure command lines.
3683
# This happens at least with the AIX C compiler.
3685
for i in 1 2 3 4 5 6; do
3686
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3687
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3688
# Solaris 8's {/usr,}/bin/sh.
3689
touch sub/conftst$i.h
3691
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3693
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3694
# mode. It turns out that the SunPro C++ compiler does not properly
3695
# handle `-M -o', and we need to detect this. Also, some Intel
3696
# versions had trouble with output in subdirs
3697
am__obj=sub/conftest.${OBJEXT-o}
3698
am__minus_obj="-o $am__obj"
3701
# This depmode causes a compiler race in universal mode.
3702
test "$am__universal" = false || continue
3705
# after this tag, mechanisms are not by side-effect, so they'll
3706
# only be used when explicitly requested
3707
if test "x$enable_dependency_tracking" = xyes; then
3713
msvisualcpp | msvcmsys)
3714
# This compiler won't grok `-c -o', but also, the minuso test has
3715
# not run yet. These depmodes are late enough in the game, and
3716
# so weak that their functioning should not be impacted.
3717
am__obj=conftest.${OBJEXT-o}
3722
if depmode=$depmode \
3723
source=sub/conftest.c object=$am__obj \
3724
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3725
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3726
>/dev/null 2>conftest.err &&
3727
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3728
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3729
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3730
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3731
# icc doesn't choke on unknown options, it will just issue warnings
3732
# or remarks (even with -Werror). So we grep stderr for any message
3733
# that says an option was ignored or not supported.
3734
# When given -MP, icc 7.0 and 7.1 complain thusly:
3735
# icc: Command line warning: ignoring option '-M'; no argument required
3736
# The diagnosis changed in icc 8.0:
3737
# icc: Command line remark: option '-MP' not supported
3738
if (grep 'ignoring option' conftest.err ||
3739
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3740
am_cv_CC_dependencies_compiler_type=$depmode
3749
am_cv_CC_dependencies_compiler_type=none
3753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3754
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3755
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3758
test "x$enable_dependency_tracking" != xno \
3759
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3761
am__fastdepCC_FALSE='#'
3763
am__fastdepCC_TRUE='#'
3764
am__fastdepCC_FALSE=
3772
GETTEXT_PACKAGE=pdf_converter
3775
cat >>confdefs.h <<_ACEOF
3776
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3781
ac_cpp='$CPP $CPPFLAGS'
3782
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3783
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3784
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3786
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3787
# On Suns, sometimes $CPP names a directory.
3788
if test -n "$CPP" && test -d "$CPP"; then
3791
if test -z "$CPP"; then
3792
if ${ac_cv_prog_CPP+:} false; then :
3793
$as_echo_n "(cached) " >&6
3795
# Double quotes because CPP needs to be expanded
3796
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3799
for ac_c_preproc_warn_flag in '' yes
3801
# Use a header file that comes with gcc, so configuring glibc
3802
# with a fresh cross-compiler works.
3803
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804
# <limits.h> exists even on freestanding compilers.
3805
# On the NeXT, cc -E runs the code through the compiler's parser,
3806
# not just through cpp. "Syntax error" is here to catch this case.
3807
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808
/* end confdefs.h. */
3810
# include <limits.h>
3812
# include <assert.h>
3816
if ac_fn_c_try_cpp "$LINENO"; then :
3819
# Broken: fails on valid input.
3822
rm -f conftest.err conftest.i conftest.$ac_ext
3824
# OK, works on sane cases. Now check whether nonexistent headers
3825
# can be detected and how.
3826
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827
/* end confdefs.h. */
3828
#include <ac_nonexistent.h>
3830
if ac_fn_c_try_cpp "$LINENO"; then :
3831
# Broken: success on invalid input.
3834
# Passes both tests.
3838
rm -f conftest.err conftest.i conftest.$ac_ext
3841
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3842
rm -f conftest.i conftest.err conftest.$ac_ext
3843
if $ac_preproc_ok; then :
3855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3856
$as_echo "$CPP" >&6; }
3858
for ac_c_preproc_warn_flag in '' yes
3860
# Use a header file that comes with gcc, so configuring glibc
3861
# with a fresh cross-compiler works.
3862
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3863
# <limits.h> exists even on freestanding compilers.
3864
# On the NeXT, cc -E runs the code through the compiler's parser,
3865
# not just through cpp. "Syntax error" is here to catch this case.
3866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867
/* end confdefs.h. */
3869
# include <limits.h>
3871
# include <assert.h>
3875
if ac_fn_c_try_cpp "$LINENO"; then :
3878
# Broken: fails on valid input.
3881
rm -f conftest.err conftest.i conftest.$ac_ext
3883
# OK, works on sane cases. Now check whether nonexistent headers
3884
# can be detected and how.
3885
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886
/* end confdefs.h. */
3887
#include <ac_nonexistent.h>
3889
if ac_fn_c_try_cpp "$LINENO"; then :
3890
# Broken: success on invalid input.
3893
# Passes both tests.
3897
rm -f conftest.err conftest.i conftest.$ac_ext
3900
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3901
rm -f conftest.i conftest.err conftest.$ac_ext
3902
if $ac_preproc_ok; then :
3905
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3906
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3907
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3908
See \`config.log' for more details" "$LINENO" 5; }
3912
ac_cpp='$CPP $CPPFLAGS'
3913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3919
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3920
if ${ac_cv_path_GREP+:} false; then :
3921
$as_echo_n "(cached) " >&6
3923
if test -z "$GREP"; then
3924
ac_path_GREP_found=false
3925
# Loop through the user's path and test for each of PROGNAME-LIST
3926
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3930
test -z "$as_dir" && as_dir=.
3931
for ac_prog in grep ggrep; do
3932
for ac_exec_ext in '' $ac_executable_extensions; do
3933
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3934
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3935
# Check for GNU ac_path_GREP and select it if it is found.
3936
# Check for GNU $ac_path_GREP
3937
case `"$ac_path_GREP" --version 2>&1` in
3939
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3942
$as_echo_n 0123456789 >"conftest.in"
3945
cat "conftest.in" "conftest.in" >"conftest.tmp"
3946
mv "conftest.tmp" "conftest.in"
3947
cp "conftest.in" "conftest.nl"
3948
$as_echo 'GREP' >> "conftest.nl"
3949
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3950
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3951
as_fn_arith $ac_count + 1 && ac_count=$as_val
3952
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3953
# Best one so far, save it but keep looking for a better one
3954
ac_cv_path_GREP="$ac_path_GREP"
3955
ac_path_GREP_max=$ac_count
3957
# 10*(2^10) chars as input seems more than enough
3958
test $ac_count -gt 10 && break
3960
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3963
$ac_path_GREP_found && break 3
3968
if test -z "$ac_cv_path_GREP"; then
3969
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3972
ac_cv_path_GREP=$GREP
3976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3977
$as_echo "$ac_cv_path_GREP" >&6; }
3978
GREP="$ac_cv_path_GREP"
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3982
$as_echo_n "checking for egrep... " >&6; }
3983
if ${ac_cv_path_EGREP+:} false; then :
3984
$as_echo_n "(cached) " >&6
3986
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3987
then ac_cv_path_EGREP="$GREP -E"
3989
if test -z "$EGREP"; then
3990
ac_path_EGREP_found=false
3991
# Loop through the user's path and test for each of PROGNAME-LIST
3992
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3996
test -z "$as_dir" && as_dir=.
3997
for ac_prog in egrep; do
3998
for ac_exec_ext in '' $ac_executable_extensions; do
3999
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4000
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4001
# Check for GNU ac_path_EGREP and select it if it is found.
4002
# Check for GNU $ac_path_EGREP
4003
case `"$ac_path_EGREP" --version 2>&1` in
4005
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4008
$as_echo_n 0123456789 >"conftest.in"
4011
cat "conftest.in" "conftest.in" >"conftest.tmp"
4012
mv "conftest.tmp" "conftest.in"
4013
cp "conftest.in" "conftest.nl"
4014
$as_echo 'EGREP' >> "conftest.nl"
4015
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4016
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4017
as_fn_arith $ac_count + 1 && ac_count=$as_val
4018
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4019
# Best one so far, save it but keep looking for a better one
4020
ac_cv_path_EGREP="$ac_path_EGREP"
4021
ac_path_EGREP_max=$ac_count
4023
# 10*(2^10) chars as input seems more than enough
4024
test $ac_count -gt 10 && break
4026
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4029
$ac_path_EGREP_found && break 3
4034
if test -z "$ac_cv_path_EGREP"; then
4035
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4038
ac_cv_path_EGREP=$EGREP
4043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4044
$as_echo "$ac_cv_path_EGREP" >&6; }
4045
EGREP="$ac_cv_path_EGREP"
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4049
$as_echo_n "checking for ANSI C header files... " >&6; }
4050
if ${ac_cv_header_stdc+:} false; then :
4051
$as_echo_n "(cached) " >&6
4053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054
/* end confdefs.h. */
4068
if ac_fn_c_try_compile "$LINENO"; then :
4069
ac_cv_header_stdc=yes
4071
ac_cv_header_stdc=no
4073
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075
if test $ac_cv_header_stdc = yes; then
4076
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4077
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078
/* end confdefs.h. */
4082
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4083
$EGREP "memchr" >/dev/null 2>&1; then :
4086
ac_cv_header_stdc=no
4092
if test $ac_cv_header_stdc = yes; then
4093
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4094
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095
/* end confdefs.h. */
4099
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4100
$EGREP "free" >/dev/null 2>&1; then :
4103
ac_cv_header_stdc=no
4109
if test $ac_cv_header_stdc = yes; then
4110
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4111
if test "$cross_compiling" = yes; then :
4114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115
/* end confdefs.h. */
4118
#if ((' ' & 0x0FF) == 0x020)
4119
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4120
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4122
# define ISLOWER(c) \
4123
(('a' <= (c) && (c) <= 'i') \
4124
|| ('j' <= (c) && (c) <= 'r') \
4125
|| ('s' <= (c) && (c) <= 'z'))
4126
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4129
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4134
for (i = 0; i < 256; i++)
4135
if (XOR (islower (i), ISLOWER (i))
4136
|| toupper (i) != TOUPPER (i))
4141
if ac_fn_c_try_run "$LINENO"; then :
4144
ac_cv_header_stdc=no
4146
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4147
conftest.$ac_objext conftest.beam conftest.$ac_ext
4152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4153
$as_echo "$ac_cv_header_stdc" >&6; }
4154
if test $ac_cv_header_stdc = yes; then
4156
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4160
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4161
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4162
inttypes.h stdint.h unistd.h
4164
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4165
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4167
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4168
cat >>confdefs.h <<_ACEOF
4169
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4178
for ac_header in locale.h
4180
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4181
if test "x$ac_cv_header_locale_h" = xyes; then :
4182
cat >>confdefs.h <<_ACEOF
4183
#define HAVE_LOCALE_H 1
4190
if test $ac_cv_header_locale_h = yes; then
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4192
$as_echo_n "checking for LC_MESSAGES... " >&6; }
4193
if ${am_cv_val_LC_MESSAGES+:} false; then :
4194
$as_echo_n "(cached) " >&6
4196
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197
/* end confdefs.h. */
4207
if ac_fn_c_try_link "$LINENO"; then :
4208
am_cv_val_LC_MESSAGES=yes
4210
am_cv_val_LC_MESSAGES=no
4212
rm -f core conftest.err conftest.$ac_objext \
4213
conftest$ac_exeext conftest.$ac_ext
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4216
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4217
if test $am_cv_val_LC_MESSAGES = yes; then
4219
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
4226
gt_cv_have_gettext=no
4232
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4233
if test "x$ac_cv_header_libintl_h" = xyes; then :
4234
gt_cv_func_dgettext_libintl="no"
4235
libintl_extra_libs=""
4238
# First check in libc
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
4241
$as_echo_n "checking for ngettext in libc... " >&6; }
4242
if ${gt_cv_func_ngettext_libc+:} false; then :
4243
$as_echo_n "(cached) " >&6
4245
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246
/* end confdefs.h. */
4248
#include <libintl.h>
4253
return !ngettext ("","", 1)
4258
if ac_fn_c_try_link "$LINENO"; then :
4259
gt_cv_func_ngettext_libc=yes
4261
gt_cv_func_ngettext_libc=no
4263
rm -f core conftest.err conftest.$ac_objext \
4264
conftest$ac_exeext conftest.$ac_ext
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
4268
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
4270
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
4272
$as_echo_n "checking for dgettext in libc... " >&6; }
4273
if ${gt_cv_func_dgettext_libc+:} false; then :
4274
$as_echo_n "(cached) " >&6
4276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277
/* end confdefs.h. */
4279
#include <libintl.h>
4284
return !dgettext ("","")
4289
if ac_fn_c_try_link "$LINENO"; then :
4290
gt_cv_func_dgettext_libc=yes
4292
gt_cv_func_dgettext_libc=no
4294
rm -f core conftest.err conftest.$ac_objext \
4295
conftest$ac_exeext conftest.$ac_ext
4298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
4299
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
4302
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4303
for ac_func in bind_textdomain_codeset
4305
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4306
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4307
cat >>confdefs.h <<_ACEOF
4308
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
4317
# If we don't have everything we want, check in libintl
4319
if test "$gt_cv_func_dgettext_libc" != "yes" \
4320
|| test "$gt_cv_func_ngettext_libc" != "yes" \
4321
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
4324
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
4325
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
4326
$as_echo_n "(cached) " >&6
4328
ac_check_lib_save_LIBS=$LIBS
4330
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331
/* end confdefs.h. */
4333
/* Override any GCC internal prototype to avoid an error.
4334
Use char because int might match the return type of a GCC
4335
builtin and then its argument prototype would still apply. */
4339
char bindtextdomain ();
4343
return bindtextdomain ();
4348
if ac_fn_c_try_link "$LINENO"; then :
4349
ac_cv_lib_intl_bindtextdomain=yes
4351
ac_cv_lib_intl_bindtextdomain=no
4353
rm -f core conftest.err conftest.$ac_objext \
4354
conftest$ac_exeext conftest.$ac_ext
4355
LIBS=$ac_check_lib_save_LIBS
4357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
4358
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
4359
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
4360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
4361
$as_echo_n "checking for ngettext in -lintl... " >&6; }
4362
if ${ac_cv_lib_intl_ngettext+:} false; then :
4363
$as_echo_n "(cached) " >&6
4365
ac_check_lib_save_LIBS=$LIBS
4367
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368
/* end confdefs.h. */
4370
/* Override any GCC internal prototype to avoid an error.
4371
Use char because int might match the return type of a GCC
4372
builtin and then its argument prototype would still apply. */
4385
if ac_fn_c_try_link "$LINENO"; then :
4386
ac_cv_lib_intl_ngettext=yes
4388
ac_cv_lib_intl_ngettext=no
4390
rm -f core conftest.err conftest.$ac_objext \
4391
conftest$ac_exeext conftest.$ac_ext
4392
LIBS=$ac_check_lib_save_LIBS
4394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
4395
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
4396
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
4397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
4398
$as_echo_n "checking for dgettext in -lintl... " >&6; }
4399
if ${ac_cv_lib_intl_dgettext+:} false; then :
4400
$as_echo_n "(cached) " >&6
4402
ac_check_lib_save_LIBS=$LIBS
4404
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405
/* end confdefs.h. */
4407
/* Override any GCC internal prototype to avoid an error.
4408
Use char because int might match the return type of a GCC
4409
builtin and then its argument prototype would still apply. */
4422
if ac_fn_c_try_link "$LINENO"; then :
4423
ac_cv_lib_intl_dgettext=yes
4425
ac_cv_lib_intl_dgettext=no
4427
rm -f core conftest.err conftest.$ac_objext \
4428
conftest$ac_exeext conftest.$ac_ext
4429
LIBS=$ac_check_lib_save_LIBS
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
4432
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
4433
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
4434
gt_cv_func_dgettext_libintl=yes
4442
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
4443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
4444
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
4445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
4447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
4448
$as_echo_n "checking for ngettext in -lintl... " >&6; }
4449
if ${ac_cv_lib_intl_ngettext+:} false; then :
4450
$as_echo_n "(cached) " >&6
4452
ac_check_lib_save_LIBS=$LIBS
4453
LIBS="-lintl -liconv $LIBS"
4454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455
/* end confdefs.h. */
4457
/* Override any GCC internal prototype to avoid an error.
4458
Use char because int might match the return type of a GCC
4459
builtin and then its argument prototype would still apply. */
4472
if ac_fn_c_try_link "$LINENO"; then :
4473
ac_cv_lib_intl_ngettext=yes
4475
ac_cv_lib_intl_ngettext=no
4477
rm -f core conftest.err conftest.$ac_objext \
4478
conftest$ac_exeext conftest.$ac_ext
4479
LIBS=$ac_check_lib_save_LIBS
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
4482
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
4483
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
4484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
4485
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
4486
if ${ac_cv_lib_intl_dcgettext+:} false; then :
4487
$as_echo_n "(cached) " >&6
4489
ac_check_lib_save_LIBS=$LIBS
4490
LIBS="-lintl -liconv $LIBS"
4491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492
/* end confdefs.h. */
4494
/* Override any GCC internal prototype to avoid an error.
4495
Use char because int might match the return type of a GCC
4496
builtin and then its argument prototype would still apply. */
4504
return dcgettext ();
4509
if ac_fn_c_try_link "$LINENO"; then :
4510
ac_cv_lib_intl_dcgettext=yes
4512
ac_cv_lib_intl_dcgettext=no
4514
rm -f core conftest.err conftest.$ac_objext \
4515
conftest$ac_exeext conftest.$ac_ext
4516
LIBS=$ac_check_lib_save_LIBS
4518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
4519
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
4520
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
4521
gt_cv_func_dgettext_libintl=yes
4522
libintl_extra_libs=-liconv
4534
# If we found libintl, then check in it for bind_textdomain_codeset();
4535
# we'll prefer libc if neither have bind_textdomain_codeset(),
4536
# and both have dgettext and ngettext
4538
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
4539
glib_save_LIBS="$LIBS"
4540
LIBS="$LIBS -lintl $libintl_extra_libs"
4541
unset ac_cv_func_bind_textdomain_codeset
4542
for ac_func in bind_textdomain_codeset
4544
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4545
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4546
cat >>confdefs.h <<_ACEOF
4547
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
4553
LIBS="$glib_save_LIBS"
4555
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
4556
gt_cv_func_dgettext_libc=no
4558
if test "$gt_cv_func_dgettext_libc" = "yes" \
4559
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
4560
gt_cv_func_dgettext_libintl=no
4566
if test "$gt_cv_func_dgettext_libc" = "yes" \
4567
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
4568
gt_cv_have_gettext=yes
4571
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
4572
INTLLIBS="-lintl $libintl_extra_libs"
4575
if test "$gt_cv_have_gettext" = "yes"; then
4577
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
4579
# Extract the first word of "msgfmt", so it can be a program name with args.
4580
set dummy msgfmt; ac_word=$2
4581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4582
$as_echo_n "checking for $ac_word... " >&6; }
4583
if ${ac_cv_path_MSGFMT+:} false; then :
4584
$as_echo_n "(cached) " >&6
4588
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4591
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4592
for ac_dir in $PATH; do
4593
test -z "$ac_dir" && ac_dir=.
4594
if test -f $ac_dir/$ac_word; then
4595
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
4596
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4602
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
4606
MSGFMT="$ac_cv_path_MSGFMT"
4607
if test "$MSGFMT" != "no"; then
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4609
$as_echo "$MSGFMT" >&6; }
4611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612
$as_echo "no" >&6; }
4614
if test "$MSGFMT" != "no"; then
4615
glib_save_LIBS="$LIBS"
4616
LIBS="$LIBS $INTLLIBS"
4617
for ac_func in dcgettext
4619
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
4620
if test "x$ac_cv_func_dcgettext" = xyes; then :
4621
cat >>confdefs.h <<_ACEOF
4622
#define HAVE_DCGETTEXT 1
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
4630
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
4631
cat >conftest.foo <<_ACEOF
4635
"Content-Type: text/plain; charset=UTF-8\n"
4636
"Project-Id-Version: test 1.0\n"
4637
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
4638
"Last-Translator: test <foo@bar.xx>\n"
4639
"Language-Team: C <LL@li.org>\n"
4640
"MIME-Version: 1.0\n"
4641
"Content-Transfer-Encoding: 8bit\n"
4644
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
4645
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
4647
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4648
test $ac_status = 0; }; then
4649
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4650
$as_echo "yes" >&6; }
4651
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652
$as_echo "no" >&6; }
4653
echo "$as_me: failed input was:" >&5
4654
sed 's/^/| /' conftest.foo >&5
4657
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4658
set dummy gmsgfmt; ac_word=$2
4659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660
$as_echo_n "checking for $ac_word... " >&6; }
4661
if ${ac_cv_path_GMSGFMT+:} false; then :
4662
$as_echo_n "(cached) " >&6
4666
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673
test -z "$as_dir" && as_dir=.
4674
for ac_exec_ext in '' $ac_executable_extensions; do
4675
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4688
GMSGFMT=$ac_cv_path_GMSGFMT
4689
if test -n "$GMSGFMT"; then
4690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4691
$as_echo "$GMSGFMT" >&6; }
4693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694
$as_echo "no" >&6; }
4698
# Extract the first word of "xgettext", so it can be a program name with args.
4699
set dummy xgettext; ac_word=$2
4700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701
$as_echo_n "checking for $ac_word... " >&6; }
4702
if ${ac_cv_path_XGETTEXT+:} false; then :
4703
$as_echo_n "(cached) " >&6
4707
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4710
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4711
for ac_dir in $PATH; do
4712
test -z "$ac_dir" && ac_dir=.
4713
if test -f $ac_dir/$ac_word; then
4714
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
4715
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4721
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4725
XGETTEXT="$ac_cv_path_XGETTEXT"
4726
if test "$XGETTEXT" != ":"; then
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4728
$as_echo "$XGETTEXT" >&6; }
4730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731
$as_echo "no" >&6; }
4734
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735
/* end confdefs.h. */
4740
extern int _nl_msg_cat_cntr;
4741
return _nl_msg_cat_cntr
4746
if ac_fn_c_try_link "$LINENO"; then :
4752
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4753
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4768
rm -f core conftest.err conftest.$ac_objext \
4769
conftest$ac_exeext conftest.$ac_ext
4770
LIBS="$glib_save_LIBS"
4773
gt_cv_have_gettext=no
4781
if test "$gt_cv_have_gettext" = "yes" ; then
4783
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
4787
if test "$XGETTEXT" != ":"; then
4788
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
4791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4792
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4797
# We need to process the po/ directory.
4800
ac_config_commands="$ac_config_commands default-1"
4803
for lang in $ALL_LINGUAS; do
4804
GMOFILES="$GMOFILES $lang.gmo"
4805
POFILES="$POFILES $lang.po"
4820
if test "$gt_cv_have_gettext" = "yes"; then
4821
if test "x$ALL_LINGUAS" = "x"; then
4824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4825
$as_echo_n "checking for catalogs to be installed... " >&6; }
4827
for presentlang in $ALL_LINGUAS; do
4829
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
4830
desiredlanguages="$LINGUAS"
4832
desiredlanguages="$ALL_LINGUAS"
4834
for desiredlang in $desiredlanguages; do
4835
# Use the presentlang catalog if desiredlang is
4836
# a. equal to presentlang, or
4837
# b. a variant of presentlang (because in this case,
4838
# presentlang can be used as a fallback for messages
4839
# which are not translated in the desiredlang catalog).
4840
case "$desiredlang" in
4841
"$presentlang"*) useit=yes;;
4844
if test $useit = yes; then
4845
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
4848
LINGUAS=$NEW_LINGUAS
4849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4850
$as_echo "$LINGUAS" >&6; }
4853
if test -n "$LINGUAS"; then
4854
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
4859
if test -n "$ac_aux_dir"; then
4860
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
4862
if test -z "$MKINSTALLDIRS"; then
4863
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4867
test -d po || mkdir po
4868
if test "x$srcdir" != "x."; then
4869
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
4870
posrcprefix="$srcdir/"
4872
posrcprefix="../$srcdir/"
4878
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
4879
< $srcdir/po/POTFILES.in > po/POTFILES
4882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4883
$as_echo_n "checking whether NLS is requested... " >&6; }
4884
# Check whether --enable-nls was given.
4885
if test "${enable_nls+set}" = set; then :
4886
enableval=$enable_nls; USE_NLS=$enableval
4891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4892
$as_echo "$USE_NLS" >&6; }
4897
case "$am__api_version" in
4899
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4905
if test -n "0.35.0"; then
4906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4907
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4909
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4910
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4911
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4914
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4915
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4916
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
4919
# Extract the first word of "intltool-update", so it can be a program name with args.
4920
set dummy intltool-update; ac_word=$2
4921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922
$as_echo_n "checking for $ac_word... " >&6; }
4923
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4924
$as_echo_n "(cached) " >&6
4926
case $INTLTOOL_UPDATE in
4928
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935
test -z "$as_dir" && as_dir=.
4936
for ac_exec_ext in '' $ac_executable_extensions; do
4937
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4938
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4939
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4950
if test -n "$INTLTOOL_UPDATE"; then
4951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4952
$as_echo "$INTLTOOL_UPDATE" >&6; }
4954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955
$as_echo "no" >&6; }
4959
# Extract the first word of "intltool-merge", so it can be a program name with args.
4960
set dummy intltool-merge; ac_word=$2
4961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962
$as_echo_n "checking for $ac_word... " >&6; }
4963
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4964
$as_echo_n "(cached) " >&6
4966
case $INTLTOOL_MERGE in
4968
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975
test -z "$as_dir" && as_dir=.
4976
for ac_exec_ext in '' $ac_executable_extensions; do
4977
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4978
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4979
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4990
if test -n "$INTLTOOL_MERGE"; then
4991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4992
$as_echo "$INTLTOOL_MERGE" >&6; }
4994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995
$as_echo "no" >&6; }
4999
# Extract the first word of "intltool-extract", so it can be a program name with args.
5000
set dummy intltool-extract; ac_word=$2
5001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002
$as_echo_n "checking for $ac_word... " >&6; }
5003
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5004
$as_echo_n "(cached) " >&6
5006
case $INTLTOOL_EXTRACT in
5008
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015
test -z "$as_dir" && as_dir=.
5016
for ac_exec_ext in '' $ac_executable_extensions; do
5017
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5019
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5030
if test -n "$INTLTOOL_EXTRACT"; then
5031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5032
$as_echo "$INTLTOOL_EXTRACT" >&6; }
5034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035
$as_echo "no" >&6; }
5039
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5040
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5043
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5044
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5045
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5046
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5047
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
5048
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5049
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5050
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5051
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5052
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5053
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5054
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
5055
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5056
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5057
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5058
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5059
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5060
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5061
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5159
# Check the gettext tools to make sure they are GNU
5160
# Extract the first word of "xgettext", so it can be a program name with args.
5161
set dummy xgettext; ac_word=$2
5162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163
$as_echo_n "checking for $ac_word... " >&6; }
5164
if ${ac_cv_path_XGETTEXT+:} false; then :
5165
$as_echo_n "(cached) " >&6
5169
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176
test -z "$as_dir" && as_dir=.
5177
for ac_exec_ext in '' $ac_executable_extensions; do
5178
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5180
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190
XGETTEXT=$ac_cv_path_XGETTEXT
5191
if test -n "$XGETTEXT"; then
5192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5193
$as_echo "$XGETTEXT" >&6; }
5195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196
$as_echo "no" >&6; }
5200
# Extract the first word of "msgmerge", so it can be a program name with args.
5201
set dummy msgmerge; ac_word=$2
5202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203
$as_echo_n "checking for $ac_word... " >&6; }
5204
if ${ac_cv_path_MSGMERGE+:} false; then :
5205
$as_echo_n "(cached) " >&6
5209
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216
test -z "$as_dir" && as_dir=.
5217
for ac_exec_ext in '' $ac_executable_extensions; do
5218
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5220
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230
MSGMERGE=$ac_cv_path_MSGMERGE
5231
if test -n "$MSGMERGE"; then
5232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5233
$as_echo "$MSGMERGE" >&6; }
5235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236
$as_echo "no" >&6; }
5240
# Extract the first word of "msgfmt", so it can be a program name with args.
5241
set dummy msgfmt; ac_word=$2
5242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243
$as_echo_n "checking for $ac_word... " >&6; }
5244
if ${ac_cv_path_MSGFMT+:} false; then :
5245
$as_echo_n "(cached) " >&6
5249
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256
test -z "$as_dir" && as_dir=.
5257
for ac_exec_ext in '' $ac_executable_extensions; do
5258
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5260
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270
MSGFMT=$ac_cv_path_MSGFMT
5271
if test -n "$MSGFMT"; then
5272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5273
$as_echo "$MSGFMT" >&6; }
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276
$as_echo "no" >&6; }
5280
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5281
set dummy gmsgfmt; ac_word=$2
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283
$as_echo_n "checking for $ac_word... " >&6; }
5284
if ${ac_cv_path_GMSGFMT+:} false; then :
5285
$as_echo_n "(cached) " >&6
5289
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5296
test -z "$as_dir" && as_dir=.
5297
for ac_exec_ext in '' $ac_executable_extensions; do
5298
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5299
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5300
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5307
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5311
GMSGFMT=$ac_cv_path_GMSGFMT
5312
if test -n "$GMSGFMT"; then
5313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5314
$as_echo "$GMSGFMT" >&6; }
5316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317
$as_echo "no" >&6; }
5321
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5322
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5324
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5325
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5326
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5327
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5328
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5331
# Extract the first word of "perl", so it can be a program name with args.
5332
set dummy perl; ac_word=$2
5333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334
$as_echo_n "checking for $ac_word... " >&6; }
5335
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5336
$as_echo_n "(cached) " >&6
5338
case $INTLTOOL_PERL in
5340
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347
test -z "$as_dir" && as_dir=.
5348
for ac_exec_ext in '' $ac_executable_extensions; do
5349
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5351
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5361
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5362
if test -n "$INTLTOOL_PERL"; then
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5364
$as_echo "$INTLTOOL_PERL" >&6; }
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367
$as_echo "no" >&6; }
5371
if test -z "$INTLTOOL_PERL"; then
5372
as_fn_error $? "perl not found" "$LINENO" 5
5374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5375
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5376
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5377
if test $? -ne 0; then
5378
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5380
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
5381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5382
$as_echo "$IT_PERL_VERSION" >&6; }
5384
if test "x" != "xno-xml"; then
5385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5386
$as_echo_n "checking for XML::Parser... " >&6; }
5387
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5389
$as_echo "ok" >&6; }
5391
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5395
# Substitute ALL_LINGUAS so we can use it in po/Makefile
5398
# Set DATADIRNAME correctly if it is not set yet
5399
# (copied from glib-gettext.m4)
5400
if test -z "$DATADIRNAME"; then
5401
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402
/* end confdefs.h. */
5407
extern int _nl_msg_cat_cntr;
5408
return _nl_msg_cat_cntr
5413
if ac_fn_c_try_link "$LINENO"; then :
5418
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5419
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5431
rm -f core conftest.err conftest.$ac_objext \
5432
conftest$ac_exeext conftest.$ac_ext
5444
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5445
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5451
macro_revision='1.3293'
5465
ltmain="$ac_aux_dir/ltmain.sh"
5467
# Make sure we can run config.sub.
5468
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5469
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5472
$as_echo_n "checking build system type... " >&6; }
5473
if ${ac_cv_build+:} false; then :
5474
$as_echo_n "(cached) " >&6
5476
ac_build_alias=$build_alias
5477
test "x$ac_build_alias" = x &&
5478
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5479
test "x$ac_build_alias" = x &&
5480
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5481
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5482
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5486
$as_echo "$ac_cv_build" >&6; }
5487
case $ac_cv_build in
5489
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5492
ac_save_IFS=$IFS; IFS='-'
5498
# Remember, the first character of IFS is used to create $*,
5499
# except with old shells:
5502
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5506
$as_echo_n "checking host system type... " >&6; }
5507
if ${ac_cv_host+:} false; then :
5508
$as_echo_n "(cached) " >&6
5510
if test "x$host_alias" = x; then
5511
ac_cv_host=$ac_cv_build
5513
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5514
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5519
$as_echo "$ac_cv_host" >&6; }
5522
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5525
ac_save_IFS=$IFS; IFS='-'
5531
# Remember, the first character of IFS is used to create $*,
5532
# except with old shells:
5535
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5538
# Backslashify metacharacters that are still active within
5539
# double-quoted strings.
5540
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5542
# Same as above, but do not quote variable references.
5543
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5545
# Sed substitution to delay expansion of an escaped shell variable in a
5546
# double_quote_subst'ed string.
5547
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5549
# Sed substitution to delay expansion of an escaped single quote.
5550
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5552
# Sed substitution to avoid accidental globbing in evaled expressions
5553
no_glob_subst='s/\*/\\\*/g'
5555
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5556
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5557
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5560
$as_echo_n "checking how to print strings... " >&6; }
5561
# Test print first, because it will be a builtin if present.
5562
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5563
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5565
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5568
# Use this function as a fallback that always works.
5569
func_fallback_echo ()
5571
eval 'cat <<_LTECHO_EOF
5575
ECHO='func_fallback_echo'
5578
# func_echo_all arg...
5579
# Invoke $ECHO with all args, space-separated.
5586
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5587
$as_echo "printf" >&6; } ;;
5588
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5589
$as_echo "print -r" >&6; } ;;
5590
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5591
$as_echo "cat" >&6; } ;;
5607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5608
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5609
if ${ac_cv_path_SED+:} false; then :
5610
$as_echo_n "(cached) " >&6
5612
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5613
for ac_i in 1 2 3 4 5 6 7; do
5614
ac_script="$ac_script$as_nl$ac_script"
5616
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5617
{ ac_script=; unset ac_script;}
5618
if test -z "$SED"; then
5619
ac_path_SED_found=false
5620
# Loop through the user's path and test for each of PROGNAME-LIST
5621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625
test -z "$as_dir" && as_dir=.
5626
for ac_prog in sed gsed; do
5627
for ac_exec_ext in '' $ac_executable_extensions; do
5628
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5629
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5630
# Check for GNU ac_path_SED and select it if it is found.
5631
# Check for GNU $ac_path_SED
5632
case `"$ac_path_SED" --version 2>&1` in
5634
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5637
$as_echo_n 0123456789 >"conftest.in"
5640
cat "conftest.in" "conftest.in" >"conftest.tmp"
5641
mv "conftest.tmp" "conftest.in"
5642
cp "conftest.in" "conftest.nl"
5643
$as_echo '' >> "conftest.nl"
5644
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5645
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5646
as_fn_arith $ac_count + 1 && ac_count=$as_val
5647
if test $ac_count -gt ${ac_path_SED_max-0}; then
5648
# Best one so far, save it but keep looking for a better one
5649
ac_cv_path_SED="$ac_path_SED"
5650
ac_path_SED_max=$ac_count
5652
# 10*(2^10) chars as input seems more than enough
5653
test $ac_count -gt 10 && break
5655
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5658
$ac_path_SED_found && break 3
5663
if test -z "$ac_cv_path_SED"; then
5664
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5672
$as_echo "$ac_cv_path_SED" >&6; }
5673
SED="$ac_cv_path_SED"
5676
test -z "$SED" && SED=sed
5677
Xsed="$SED -e 1s/^X//"
5689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5690
$as_echo_n "checking for fgrep... " >&6; }
5691
if ${ac_cv_path_FGREP+:} false; then :
5692
$as_echo_n "(cached) " >&6
5694
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5695
then ac_cv_path_FGREP="$GREP -F"
5697
if test -z "$FGREP"; then
5698
ac_path_FGREP_found=false
5699
# Loop through the user's path and test for each of PROGNAME-LIST
5700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5704
test -z "$as_dir" && as_dir=.
5705
for ac_prog in fgrep; do
5706
for ac_exec_ext in '' $ac_executable_extensions; do
5707
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5708
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5709
# Check for GNU ac_path_FGREP and select it if it is found.
5710
# Check for GNU $ac_path_FGREP
5711
case `"$ac_path_FGREP" --version 2>&1` in
5713
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5716
$as_echo_n 0123456789 >"conftest.in"
5719
cat "conftest.in" "conftest.in" >"conftest.tmp"
5720
mv "conftest.tmp" "conftest.in"
5721
cp "conftest.in" "conftest.nl"
5722
$as_echo 'FGREP' >> "conftest.nl"
5723
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5724
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5725
as_fn_arith $ac_count + 1 && ac_count=$as_val
5726
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5727
# Best one so far, save it but keep looking for a better one
5728
ac_cv_path_FGREP="$ac_path_FGREP"
5729
ac_path_FGREP_max=$ac_count
5731
# 10*(2^10) chars as input seems more than enough
5732
test $ac_count -gt 10 && break
5734
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5737
$ac_path_FGREP_found && break 3
5742
if test -z "$ac_cv_path_FGREP"; then
5743
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5746
ac_cv_path_FGREP=$FGREP
5751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5752
$as_echo "$ac_cv_path_FGREP" >&6; }
5753
FGREP="$ac_cv_path_FGREP"
5756
test -z "$GREP" && GREP=grep
5776
# Check whether --with-gnu-ld was given.
5777
if test "${with_gnu_ld+set}" = set; then :
5778
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5784
if test "$GCC" = yes; then
5785
# Check if gcc -print-prog-name=ld gives a path.
5786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5787
$as_echo_n "checking for ld used by $CC... " >&6; }
5790
# gcc leaves a trailing carriage return which upsets mingw
5791
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5793
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5796
# Accept absolute paths.
5798
re_direlt='/[^/][^/]*/\.\./'
5799
# Canonicalize the pathname of ld
5800
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5801
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5802
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5804
test -z "$LD" && LD="$ac_prog"
5807
# If it fails, then pretend we aren't using GCC.
5811
# If it is relative, then search for the first ld in PATH.
5815
elif test "$with_gnu_ld" = yes; then
5816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5817
$as_echo_n "checking for GNU ld... " >&6; }
5819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5820
$as_echo_n "checking for non-GNU ld... " >&6; }
5822
if ${lt_cv_path_LD+:} false; then :
5823
$as_echo_n "(cached) " >&6
5825
if test -z "$LD"; then
5826
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5827
for ac_dir in $PATH; do
5829
test -z "$ac_dir" && ac_dir=.
5830
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5831
lt_cv_path_LD="$ac_dir/$ac_prog"
5832
# Check to see if the program is GNU ld. I'd rather use --version,
5833
# but apparently some variants of GNU ld only accept -v.
5834
# Break only if it was the GNU/non-GNU ld that we prefer.
5835
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5836
*GNU* | *'with BFD'*)
5837
test "$with_gnu_ld" != no && break
5840
test "$with_gnu_ld" != yes && break
5847
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5852
if test -n "$LD"; then
5853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5854
$as_echo "$LD" >&6; }
5856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857
$as_echo "no" >&6; }
5859
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5861
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5862
if ${lt_cv_prog_gnu_ld+:} false; then :
5863
$as_echo_n "(cached) " >&6
5865
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5866
case `$LD -v 2>&1 </dev/null` in
5867
*GNU* | *'with BFD'*)
5868
lt_cv_prog_gnu_ld=yes
5871
lt_cv_prog_gnu_ld=no
5875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5876
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5877
with_gnu_ld=$lt_cv_prog_gnu_ld
5887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5888
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5889
if ${lt_cv_path_NM+:} false; then :
5890
$as_echo_n "(cached) " >&6
5892
if test -n "$NM"; then
5893
# Let the user override the test.
5896
lt_nm_to_check="${ac_tool_prefix}nm"
5897
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5898
lt_nm_to_check="$lt_nm_to_check nm"
5900
for lt_tmp_nm in $lt_nm_to_check; do
5901
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5902
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5904
test -z "$ac_dir" && ac_dir=.
5905
tmp_nm="$ac_dir/$lt_tmp_nm"
5906
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5907
# Check to see if the nm accepts a BSD-compat flag.
5908
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5909
# nm: unknown option "B" ignored
5910
# Tru64's nm complains that /dev/null is an invalid object file
5911
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5912
*/dev/null* | *'Invalid file or object type'*)
5913
lt_cv_path_NM="$tmp_nm -B"
5917
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5919
lt_cv_path_NM="$tmp_nm -p"
5923
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5924
continue # so that we can try to find one that supports BSD flags
5933
: ${lt_cv_path_NM=no}
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5937
$as_echo "$lt_cv_path_NM" >&6; }
5938
if test "$lt_cv_path_NM" != "no"; then
5941
# Didn't find any BSD compatible name lister, look for dumpbin.
5942
if test -n "$DUMPBIN"; then :
5943
# Let the user override the test.
5945
if test -n "$ac_tool_prefix"; then
5946
for ac_prog in dumpbin "link -dump"
5948
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5949
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951
$as_echo_n "checking for $ac_word... " >&6; }
5952
if ${ac_cv_prog_DUMPBIN+:} false; then :
5953
$as_echo_n "(cached) " >&6
5955
if test -n "$DUMPBIN"; then
5956
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962
test -z "$as_dir" && as_dir=.
5963
for ac_exec_ext in '' $ac_executable_extensions; do
5964
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5966
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975
DUMPBIN=$ac_cv_prog_DUMPBIN
5976
if test -n "$DUMPBIN"; then
5977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5978
$as_echo "$DUMPBIN" >&6; }
5980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981
$as_echo "no" >&6; }
5985
test -n "$DUMPBIN" && break
5988
if test -z "$DUMPBIN"; then
5989
ac_ct_DUMPBIN=$DUMPBIN
5990
for ac_prog in dumpbin "link -dump"
5992
# Extract the first word of "$ac_prog", so it can be a program name with args.
5993
set dummy $ac_prog; ac_word=$2
5994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995
$as_echo_n "checking for $ac_word... " >&6; }
5996
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5997
$as_echo_n "(cached) " >&6
5999
if test -n "$ac_ct_DUMPBIN"; then
6000
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006
test -z "$as_dir" && as_dir=.
6007
for ac_exec_ext in '' $ac_executable_extensions; do
6008
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6010
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6020
if test -n "$ac_ct_DUMPBIN"; then
6021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6022
$as_echo "$ac_ct_DUMPBIN" >&6; }
6024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025
$as_echo "no" >&6; }
6029
test -n "$ac_ct_DUMPBIN" && break
6032
if test "x$ac_ct_DUMPBIN" = x; then
6035
case $cross_compiling:$ac_tool_warned in
6037
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6038
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6039
ac_tool_warned=yes ;;
6041
DUMPBIN=$ac_ct_DUMPBIN
6045
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6047
DUMPBIN="$DUMPBIN -symbols"
6055
if test "$DUMPBIN" != ":"; then
6059
test -z "$NM" && NM=nm
6066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6067
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6068
if ${lt_cv_nm_interface+:} false; then :
6069
$as_echo_n "(cached) " >&6
6071
lt_cv_nm_interface="BSD nm"
6072
echo "int some_variable = 0;" > conftest.$ac_ext
6073
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6074
(eval "$ac_compile" 2>conftest.err)
6075
cat conftest.err >&5
6076
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6077
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6078
cat conftest.err >&5
6079
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
6080
cat conftest.out >&5
6081
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6082
lt_cv_nm_interface="MS dumpbin"
6086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6087
$as_echo "$lt_cv_nm_interface" >&6; }
6089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6090
$as_echo_n "checking whether ln -s works... " >&6; }
6092
if test "$LN_S" = "ln -s"; then
6093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6094
$as_echo "yes" >&6; }
6096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6097
$as_echo "no, using $LN_S" >&6; }
6100
# find the maximum length of command line arguments
6101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6102
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6103
if ${lt_cv_sys_max_cmd_len+:} false; then :
6104
$as_echo_n "(cached) " >&6
6111
# On DJGPP, this test can blow up pretty badly due to problems in libc
6112
# (any single argument exceeding 2000 bytes causes a buffer overrun
6113
# during glob expansion). Even if it were fixed, the result of this
6114
# check would be larger than it should be.
6115
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6119
# Under GNU Hurd, this test is not required because there is
6120
# no limit to the length of command line arguments.
6121
# Libtool will interpret -1 as no limit whatsoever
6122
lt_cv_sys_max_cmd_len=-1;
6125
cygwin* | mingw* | cegcc*)
6126
# On Win9x/ME, this test blows up -- it succeeds, but takes
6127
# about 5 minutes as the teststring grows exponentially.
6128
# Worse, since 9x/ME are not pre-emptively multitasking,
6129
# you end up with a "frozen" computer, even though with patience
6130
# the test eventually succeeds (with a max line length of 256k).
6131
# Instead, let's just punt: use the minimum linelength reported by
6132
# all of the supported platforms: 8192 (on NT/2K/XP).
6133
lt_cv_sys_max_cmd_len=8192;
6137
# On MiNT this can take a long time and run out of memory.
6138
lt_cv_sys_max_cmd_len=8192;
6142
# On AmigaOS with pdksh, this test takes hours, literally.
6143
# So we just punt and use a minimum line length of 8192.
6144
lt_cv_sys_max_cmd_len=8192;
6147
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6148
# This has been around since 386BSD, at least. Likely further.
6149
if test -x /sbin/sysctl; then
6150
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6151
elif test -x /usr/sbin/sysctl; then
6152
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6154
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6156
# And add a safety zone
6157
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6158
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6162
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6163
lt_cv_sys_max_cmd_len=196608
6167
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6168
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6169
# nice to cause kernel panics so lets avoid the loop below.
6170
# First set a reasonable default.
6171
lt_cv_sys_max_cmd_len=16384
6173
if test -x /sbin/sysconfig; then
6174
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6175
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6180
lt_cv_sys_max_cmd_len=102400
6182
sysv5* | sco5v6* | sysv4.2uw2*)
6183
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6184
if test -n "$kargmax"; then
6185
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6187
lt_cv_sys_max_cmd_len=32768
6191
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6192
if test -n "$lt_cv_sys_max_cmd_len"; then
6193
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6194
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6196
# Make teststring a little bigger before we do anything with it.
6197
# a 1K string should be a reasonable start.
6198
for i in 1 2 3 4 5 6 7 8 ; do
6199
teststring=$teststring$teststring
6201
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6202
# If test is not a shell built-in, we'll probably end up computing a
6203
# maximum length that is only half of the actual maximum length, but
6205
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6206
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
6207
test $i != 17 # 1/2 MB should be enough
6210
teststring=$teststring$teststring
6212
# Only check the string length outside the loop.
6213
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6215
# Add a significant safety factor because C++ compilers can tack on
6216
# massive amounts of additional arguments before passing them to the
6217
# linker. It appears as though 1/2 is a usable value.
6218
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6225
if test -n $lt_cv_sys_max_cmd_len ; then
6226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6227
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6230
$as_echo "none" >&6; }
6232
max_cmd_len=$lt_cv_sys_max_cmd_len
6243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6244
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6245
# Try some XSI features
6248
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6250
&& eval 'test $(( 1 + 1 )) -eq 2 \
6251
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6254
$as_echo "$xsi_shell" >&6; }
6257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6258
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6260
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6262
&& lt_shell_append=yes
6263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6264
$as_echo "$lt_shell_append" >&6; }
6267
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6277
# test EBCDIC or ASCII
6278
case `echo X|tr X '\101'` in
6279
A) # ASCII based system
6280
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6281
lt_SP2NL='tr \040 \012'
6282
lt_NL2SP='tr \015\012 \040\040'
6284
*) # EBCDIC based system
6285
lt_SP2NL='tr \100 \n'
6286
lt_NL2SP='tr \r\n \100\100'
6298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6299
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6300
if ${lt_cv_to_host_file_cmd+:} false; then :
6301
$as_echo_n "(cached) " >&6
6306
*-*-mingw* ) # actually msys
6307
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6310
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6312
* ) # otherwise, assume *nix
6313
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6319
*-*-mingw* ) # actually msys
6320
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6323
lt_cv_to_host_file_cmd=func_convert_file_noop
6325
* ) # otherwise, assume *nix
6326
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6330
* ) # unhandled hosts (and "normal" native builds)
6331
lt_cv_to_host_file_cmd=func_convert_file_noop
6337
to_host_file_cmd=$lt_cv_to_host_file_cmd
6338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6339
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6346
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6347
if ${lt_cv_to_tool_file_cmd+:} false; then :
6348
$as_echo_n "(cached) " >&6
6350
#assume ordinary cross tools, or native build.
6351
lt_cv_to_tool_file_cmd=func_convert_file_noop
6355
*-*-mingw* ) # actually msys
6356
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6364
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6366
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6373
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6374
if ${lt_cv_ld_reload_flag+:} false; then :
6375
$as_echo_n "(cached) " >&6
6377
lt_cv_ld_reload_flag='-r'
6379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6380
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6381
reload_flag=$lt_cv_ld_reload_flag
6382
case $reload_flag in
6384
*) reload_flag=" $reload_flag" ;;
6386
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6388
cygwin* | mingw* | pw32* | cegcc*)
6389
if test "$GCC" != yes; then
6394
if test "$GCC" = yes; then
6395
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6397
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6410
if test -n "$ac_tool_prefix"; then
6411
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6412
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414
$as_echo_n "checking for $ac_word... " >&6; }
6415
if ${ac_cv_prog_OBJDUMP+:} false; then :
6416
$as_echo_n "(cached) " >&6
6418
if test -n "$OBJDUMP"; then
6419
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425
test -z "$as_dir" && as_dir=.
6426
for ac_exec_ext in '' $ac_executable_extensions; do
6427
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6429
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438
OBJDUMP=$ac_cv_prog_OBJDUMP
6439
if test -n "$OBJDUMP"; then
6440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6441
$as_echo "$OBJDUMP" >&6; }
6443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6444
$as_echo "no" >&6; }
6449
if test -z "$ac_cv_prog_OBJDUMP"; then
6450
ac_ct_OBJDUMP=$OBJDUMP
6451
# Extract the first word of "objdump", so it can be a program name with args.
6452
set dummy objdump; ac_word=$2
6453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454
$as_echo_n "checking for $ac_word... " >&6; }
6455
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6456
$as_echo_n "(cached) " >&6
6458
if test -n "$ac_ct_OBJDUMP"; then
6459
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465
test -z "$as_dir" && as_dir=.
6466
for ac_exec_ext in '' $ac_executable_extensions; do
6467
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6468
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6469
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6479
if test -n "$ac_ct_OBJDUMP"; then
6480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6481
$as_echo "$ac_ct_OBJDUMP" >&6; }
6483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484
$as_echo "no" >&6; }
6487
if test "x$ac_ct_OBJDUMP" = x; then
6490
case $cross_compiling:$ac_tool_warned in
6492
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6493
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6494
ac_tool_warned=yes ;;
6496
OBJDUMP=$ac_ct_OBJDUMP
6499
OBJDUMP="$ac_cv_prog_OBJDUMP"
6502
test -z "$OBJDUMP" && OBJDUMP=objdump
6512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6513
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6514
if ${lt_cv_deplibs_check_method+:} false; then :
6515
$as_echo_n "(cached) " >&6
6517
lt_cv_file_magic_cmd='$MAGIC_CMD'
6518
lt_cv_file_magic_test_file=
6519
lt_cv_deplibs_check_method='unknown'
6520
# Need to set the preceding variable on all platforms that support
6521
# interlibrary dependencies.
6522
# 'none' -- dependencies not supported.
6523
# `unknown' -- same as none, but documents that we really don't know.
6524
# 'pass_all' -- all dependencies passed with no checks.
6525
# 'test_compile' -- check by making test program.
6526
# 'file_magic [[regex]]' -- check by looking for files in library path
6527
# which responds to the $file_magic_cmd with a given extended regex.
6528
# If you have `file' or equivalent on your system and you're not sure
6529
# whether `pass_all' will *always* work, you probably want this one.
6533
lt_cv_deplibs_check_method=pass_all
6537
lt_cv_deplibs_check_method=pass_all
6541
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6542
lt_cv_file_magic_cmd='/usr/bin/file -L'
6543
lt_cv_file_magic_test_file=/shlib/libc.so
6547
# func_win32_libid is a shell function defined in ltmain.sh
6548
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6549
lt_cv_file_magic_cmd='func_win32_libid'
6553
# Base MSYS/MinGW do not provide the 'file' command needed by
6554
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6555
# unless we find 'file', for example because we are cross-compiling.
6556
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6557
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6558
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6559
lt_cv_file_magic_cmd='func_win32_libid'
6561
# Keep this pattern in sync with the one in func_win32_libid.
6562
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6563
lt_cv_file_magic_cmd='$OBJDUMP -f'
6568
# use the weaker test based on 'objdump'. See mingw*.
6569
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6570
lt_cv_file_magic_cmd='$OBJDUMP -f'
6573
darwin* | rhapsody*)
6574
lt_cv_deplibs_check_method=pass_all
6577
freebsd* | dragonfly*)
6578
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6581
# Not sure whether the presence of OpenBSD here was a mistake.
6582
# Let's accept both of them until this is cleared up.
6583
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6584
lt_cv_file_magic_cmd=/usr/bin/file
6585
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6589
lt_cv_deplibs_check_method=pass_all
6594
lt_cv_deplibs_check_method=pass_all
6598
lt_cv_deplibs_check_method=pass_all
6601
hpux10.20* | hpux11*)
6602
lt_cv_file_magic_cmd=/usr/bin/file
6605
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6606
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6609
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6610
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6613
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6614
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6620
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6621
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6624
irix5* | irix6* | nonstopux*)
6626
*-32|*"-32 ") libmagic=32-bit;;
6627
*-n32|*"-n32 ") libmagic=N32;;
6628
*-64|*"-64 ") libmagic=64-bit;;
6629
*) libmagic=never-match;;
6631
lt_cv_deplibs_check_method=pass_all
6634
# This must be Linux ELF.
6635
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6636
lt_cv_deplibs_check_method=pass_all
6639
netbsd* | netbsdelf*-gnu)
6640
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6641
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6643
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6648
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6649
lt_cv_file_magic_cmd=/usr/bin/file
6650
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6654
lt_cv_deplibs_check_method=pass_all
6658
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6659
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6661
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6665
osf3* | osf4* | osf5*)
6666
lt_cv_deplibs_check_method=pass_all
6670
lt_cv_deplibs_check_method=pass_all
6674
lt_cv_deplibs_check_method=pass_all
6677
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6678
lt_cv_deplibs_check_method=pass_all
6682
case $host_vendor in
6684
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]'
6685
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6688
lt_cv_deplibs_check_method=pass_all
6691
lt_cv_file_magic_cmd='/bin/file'
6692
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6695
lt_cv_file_magic_cmd='/bin/file'
6696
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6697
lt_cv_file_magic_test_file=/lib/libc.so
6700
lt_cv_deplibs_check_method=pass_all
6703
lt_cv_deplibs_check_method=pass_all
6709
lt_cv_deplibs_check_method=pass_all
6714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6715
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6719
if test "$build" = "$host"; then
6722
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6725
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6731
file_magic_cmd=$lt_cv_file_magic_cmd
6732
deplibs_check_method=$lt_cv_deplibs_check_method
6733
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6756
if test -n "$ac_tool_prefix"; then
6757
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6758
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760
$as_echo_n "checking for $ac_word... " >&6; }
6761
if ${ac_cv_prog_DLLTOOL+:} false; then :
6762
$as_echo_n "(cached) " >&6
6764
if test -n "$DLLTOOL"; then
6765
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771
test -z "$as_dir" && as_dir=.
6772
for ac_exec_ext in '' $ac_executable_extensions; do
6773
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6775
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784
DLLTOOL=$ac_cv_prog_DLLTOOL
6785
if test -n "$DLLTOOL"; then
6786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6787
$as_echo "$DLLTOOL" >&6; }
6789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790
$as_echo "no" >&6; }
6795
if test -z "$ac_cv_prog_DLLTOOL"; then
6796
ac_ct_DLLTOOL=$DLLTOOL
6797
# Extract the first word of "dlltool", so it can be a program name with args.
6798
set dummy dlltool; ac_word=$2
6799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800
$as_echo_n "checking for $ac_word... " >&6; }
6801
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6802
$as_echo_n "(cached) " >&6
6804
if test -n "$ac_ct_DLLTOOL"; then
6805
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811
test -z "$as_dir" && as_dir=.
6812
for ac_exec_ext in '' $ac_executable_extensions; do
6813
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6815
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6825
if test -n "$ac_ct_DLLTOOL"; then
6826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6827
$as_echo "$ac_ct_DLLTOOL" >&6; }
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830
$as_echo "no" >&6; }
6833
if test "x$ac_ct_DLLTOOL" = x; then
6836
case $cross_compiling:$ac_tool_warned in
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840
ac_tool_warned=yes ;;
6842
DLLTOOL=$ac_ct_DLLTOOL
6845
DLLTOOL="$ac_cv_prog_DLLTOOL"
6848
test -z "$DLLTOOL" && DLLTOOL=dlltool
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6860
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6861
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6862
$as_echo_n "(cached) " >&6
6864
lt_cv_sharedlib_from_linklib_cmd='unknown'
6867
cygwin* | mingw* | pw32* | cegcc*)
6868
# two different shell functions defined in ltmain.sh
6869
# decide which to use based on capabilities of $DLLTOOL
6870
case `$DLLTOOL --help 2>&1` in
6871
*--identify-strict*)
6872
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6875
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6880
# fallback: assume linklib IS sharedlib
6881
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6887
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6888
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6889
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6897
if test -n "$ac_tool_prefix"; then
6900
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6901
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903
$as_echo_n "checking for $ac_word... " >&6; }
6904
if ${ac_cv_prog_AR+:} false; then :
6905
$as_echo_n "(cached) " >&6
6907
if test -n "$AR"; then
6908
ac_cv_prog_AR="$AR" # Let the user override the test.
6910
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914
test -z "$as_dir" && as_dir=.
6915
for ac_exec_ext in '' $ac_executable_extensions; do
6916
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6917
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6918
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928
if test -n "$AR"; then
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6930
$as_echo "$AR" >&6; }
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933
$as_echo "no" >&6; }
6937
test -n "$AR" && break
6940
if test -z "$AR"; then
6944
# Extract the first word of "$ac_prog", so it can be a program name with args.
6945
set dummy $ac_prog; ac_word=$2
6946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947
$as_echo_n "checking for $ac_word... " >&6; }
6948
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6949
$as_echo_n "(cached) " >&6
6951
if test -n "$ac_ct_AR"; then
6952
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6954
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958
test -z "$as_dir" && as_dir=.
6959
for ac_exec_ext in '' $ac_executable_extensions; do
6960
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961
ac_cv_prog_ac_ct_AR="$ac_prog"
6962
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6972
if test -n "$ac_ct_AR"; then
6973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6974
$as_echo "$ac_ct_AR" >&6; }
6976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977
$as_echo "no" >&6; }
6981
test -n "$ac_ct_AR" && break
6984
if test "x$ac_ct_AR" = x; then
6987
case $cross_compiling:$ac_tool_warned in
6989
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6990
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6991
ac_tool_warned=yes ;;
7010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7011
$as_echo_n "checking for archiver @FILE support... " >&6; }
7012
if ${lt_cv_ar_at_file+:} false; then :
7013
$as_echo_n "(cached) " >&6
7016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017
/* end confdefs.h. */
7027
if ac_fn_c_try_compile "$LINENO"; then :
7028
echo conftest.$ac_objext > conftest.lst
7029
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7030
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7031
(eval $lt_ar_try) 2>&5
7033
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7034
test $ac_status = 0; }
7035
if test "$ac_status" -eq 0; then
7036
# Ensure the archiver fails upon bogus file names.
7037
rm -f conftest.$ac_objext libconftest.a
7038
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7039
(eval $lt_ar_try) 2>&5
7041
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7042
test $ac_status = 0; }
7043
if test "$ac_status" -ne 0; then
7047
rm -f conftest.* libconftest.a
7050
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7054
$as_echo "$lt_cv_ar_at_file" >&6; }
7056
if test "x$lt_cv_ar_at_file" = xno; then
7059
archiver_list_spec=$lt_cv_ar_at_file
7068
if test -n "$ac_tool_prefix"; then
7069
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7070
set dummy ${ac_tool_prefix}strip; ac_word=$2
7071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072
$as_echo_n "checking for $ac_word... " >&6; }
7073
if ${ac_cv_prog_STRIP+:} false; then :
7074
$as_echo_n "(cached) " >&6
7076
if test -n "$STRIP"; then
7077
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083
test -z "$as_dir" && as_dir=.
7084
for ac_exec_ext in '' $ac_executable_extensions; do
7085
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7087
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096
STRIP=$ac_cv_prog_STRIP
7097
if test -n "$STRIP"; then
7098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7099
$as_echo "$STRIP" >&6; }
7101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102
$as_echo "no" >&6; }
7107
if test -z "$ac_cv_prog_STRIP"; then
7109
# Extract the first word of "strip", so it can be a program name with args.
7110
set dummy strip; ac_word=$2
7111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112
$as_echo_n "checking for $ac_word... " >&6; }
7113
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7114
$as_echo_n "(cached) " >&6
7116
if test -n "$ac_ct_STRIP"; then
7117
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123
test -z "$as_dir" && as_dir=.
7124
for ac_exec_ext in '' $ac_executable_extensions; do
7125
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126
ac_cv_prog_ac_ct_STRIP="strip"
7127
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7136
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7137
if test -n "$ac_ct_STRIP"; then
7138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7139
$as_echo "$ac_ct_STRIP" >&6; }
7141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142
$as_echo "no" >&6; }
7145
if test "x$ac_ct_STRIP" = x; then
7148
case $cross_compiling:$ac_tool_warned in
7150
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7151
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7152
ac_tool_warned=yes ;;
7157
STRIP="$ac_cv_prog_STRIP"
7160
test -z "$STRIP" && STRIP=:
7167
if test -n "$ac_tool_prefix"; then
7168
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7169
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171
$as_echo_n "checking for $ac_word... " >&6; }
7172
if ${ac_cv_prog_RANLIB+:} false; then :
7173
$as_echo_n "(cached) " >&6
7175
if test -n "$RANLIB"; then
7176
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7178
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182
test -z "$as_dir" && as_dir=.
7183
for ac_exec_ext in '' $ac_executable_extensions; do
7184
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7185
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7186
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195
RANLIB=$ac_cv_prog_RANLIB
7196
if test -n "$RANLIB"; then
7197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7198
$as_echo "$RANLIB" >&6; }
7200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201
$as_echo "no" >&6; }
7206
if test -z "$ac_cv_prog_RANLIB"; then
7207
ac_ct_RANLIB=$RANLIB
7208
# Extract the first word of "ranlib", so it can be a program name with args.
7209
set dummy ranlib; ac_word=$2
7210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211
$as_echo_n "checking for $ac_word... " >&6; }
7212
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7213
$as_echo_n "(cached) " >&6
7215
if test -n "$ac_ct_RANLIB"; then
7216
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222
test -z "$as_dir" && as_dir=.
7223
for ac_exec_ext in '' $ac_executable_extensions; do
7224
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225
ac_cv_prog_ac_ct_RANLIB="ranlib"
7226
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7236
if test -n "$ac_ct_RANLIB"; then
7237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7238
$as_echo "$ac_ct_RANLIB" >&6; }
7240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241
$as_echo "no" >&6; }
7244
if test "x$ac_ct_RANLIB" = x; then
7247
case $cross_compiling:$ac_tool_warned in
7249
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7251
ac_tool_warned=yes ;;
7253
RANLIB=$ac_ct_RANLIB
7256
RANLIB="$ac_cv_prog_RANLIB"
7259
test -z "$RANLIB" && RANLIB=:
7266
# Determine commands to create old-style static archives.
7267
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7268
old_postinstall_cmds='chmod 644 $oldlib'
7269
old_postuninstall_cmds=
7271
if test -n "$RANLIB"; then
7274
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7277
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7280
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7285
lock_old_archive_extraction=yes ;;
7287
lock_old_archive_extraction=no ;;
7328
# If no C compiler was specified, use CC.
7331
# If no C compiler flags were specified, use CFLAGS.
7332
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7334
# Allow CC to be a program name with arguments.
7338
# Check for command to grab the raw symbol name followed by C symbol from nm.
7339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7340
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7341
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7342
$as_echo_n "(cached) " >&6
7345
# These are sane defaults that work on at least a few old systems.
7346
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7348
# Character class describing NM global symbol codes.
7349
symcode='[BCDEGRST]'
7351
# Regexp to match symbols that can be accessed directly from C.
7352
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7354
# Define system-specific variables.
7359
cygwin* | mingw* | pw32* | cegcc*)
7360
symcode='[ABCDGISTW]'
7363
if test "$host_cpu" = ia64; then
7364
symcode='[ABCDEGRST]'
7368
symcode='[BCDEGRST]'
7371
symcode='[BCDEGQRST]'
7382
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7390
# If we're using GNU nm, then use its standard symbol codes.
7391
case `$NM -V 2>&1` in
7392
*GNU* | *'with BFD'*)
7393
symcode='[ABCDGIRSTW]' ;;
7396
# Transform an extracted symbol line into a proper C declaration.
7397
# Some systems (esp. on ia64) link data and code symbols differently,
7398
# so use this general approach.
7399
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7401
# Transform an extracted symbol line into symbol name and symbol address
7402
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7403
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'"
7405
# Handle CRLF in mingw tool chain
7409
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7413
# Try without a prefix underscore, then with it.
7414
for ac_symprfx in "" "_"; do
7416
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7417
symxfrm="\\1 $ac_symprfx\\2 \\2"
7419
# Write the raw and C identifiers.
7420
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7421
# Fake it for dumpbin and say T for any non-static function
7422
# and D for any global variable.
7423
# Also find C++ and __fastcall symbols from MSVC++,
7424
# which start with @ or ?.
7425
lt_cv_sys_global_symbol_pipe="$AWK '"\
7426
" {last_section=section; section=\$ 3};"\
7427
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7428
" \$ 0!~/External *\|/{next};"\
7429
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7430
" {if(hide[section]) next};"\
7431
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7432
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7433
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7434
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7435
" ' prfx=^$ac_symprfx"
7437
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7439
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7441
# Check to see that the pipe works correctly.
7445
cat > conftest.$ac_ext <<_LT_EOF
7450
void nm_test_func(void);
7451
void nm_test_func(void){}
7455
int main(){nm_test_var='a';nm_test_func();return(0);}
7458
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7459
(eval $ac_compile) 2>&5
7461
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7462
test $ac_status = 0; }; then
7463
# Now try to grab the symbols.
7465
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7466
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7468
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7469
test $ac_status = 0; } && test -s "$nlist"; then
7470
# Try sorting and uniquifying the output.
7471
if sort "$nlist" | uniq > "$nlist"T; then
7472
mv -f "$nlist"T "$nlist"
7477
# Make sure that we snagged all the symbols we need.
7478
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7479
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7480
cat <<_LT_EOF > conftest.$ac_ext
7481
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7482
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7483
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7484
relocations are performed -- see ld's documentation on pseudo-relocs. */
7485
# define LT_DLSYM_CONST
7486
#elif defined(__osf__)
7487
/* This system does not cope well with relocations in const data. */
7488
# define LT_DLSYM_CONST
7490
# define LT_DLSYM_CONST const
7498
# Now generate the symbol file.
7499
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7501
cat <<_LT_EOF >> conftest.$ac_ext
7503
/* The mapping between symbol names and symbols. */
7504
LT_DLSYM_CONST struct {
7508
lt__PROGRAM__LTX_preloaded_symbols[] =
7510
{ "@PROGRAM@", (void *) 0 },
7512
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7513
cat <<\_LT_EOF >> conftest.$ac_ext
7517
/* This works around a problem in FreeBSD linker */
7518
#ifdef FREEBSD_WORKAROUND
7519
static const void *lt_preloaded_setup() {
7520
return lt__PROGRAM__LTX_preloaded_symbols;
7528
# Now try linking the two files.
7529
mv conftest.$ac_objext conftstm.$ac_objext
7530
lt_globsym_save_LIBS=$LIBS
7531
lt_globsym_save_CFLAGS=$CFLAGS
7532
LIBS="conftstm.$ac_objext"
7533
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7534
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7535
(eval $ac_link) 2>&5
7537
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7538
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7541
LIBS=$lt_globsym_save_LIBS
7542
CFLAGS=$lt_globsym_save_CFLAGS
7544
echo "cannot find nm_test_func in $nlist" >&5
7547
echo "cannot find nm_test_var in $nlist" >&5
7550
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7553
echo "$progname: failed program was:" >&5
7554
cat conftest.$ac_ext >&5
7556
rm -rf conftest* conftst*
7558
# Do not use the global_symbol_pipe unless it works.
7559
if test "$pipe_works" = yes; then
7562
lt_cv_sys_global_symbol_pipe=
7568
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7569
lt_cv_sys_global_symbol_to_cdecl=
7571
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7573
$as_echo "failed" >&6; }
7575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7576
$as_echo "ok" >&6; }
7579
# Response file support.
7580
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7581
nm_file_list_spec='@'
7582
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7583
nm_file_list_spec='@'
7612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7613
$as_echo_n "checking for sysroot... " >&6; }
7615
# Check whether --with-sysroot was given.
7616
if test "${with_sysroot+set}" = set; then :
7617
withval=$with_sysroot;
7624
case ${with_sysroot} in #(
7626
if test "$GCC" = yes; then
7627
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7631
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7637
$as_echo "${with_sysroot}" >&6; }
7638
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7643
$as_echo "${lt_sysroot:-no}" >&6; }
7649
# Check whether --enable-libtool-lock was given.
7650
if test "${enable_libtool_lock+set}" = set; then :
7651
enableval=$enable_libtool_lock;
7654
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7656
# Some flags need to be propagated to the compiler or linker for good
7660
# Find out which ABI we are using.
7661
echo 'int i;' > conftest.$ac_ext
7662
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7663
(eval $ac_compile) 2>&5
7665
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7666
test $ac_status = 0; }; then
7667
case `/usr/bin/file conftest.$ac_objext` in
7679
# Find out which ABI we are using.
7680
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7681
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7682
(eval $ac_compile) 2>&5
7684
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7685
test $ac_status = 0; }; then
7686
if test "$lt_cv_prog_gnu_ld" = yes; then
7687
case `/usr/bin/file conftest.$ac_objext` in
7689
LD="${LD-ld} -melf32bsmip"
7692
LD="${LD-ld} -melf32bmipn32"
7695
LD="${LD-ld} -melf64bmip"
7699
case `/usr/bin/file conftest.$ac_objext` in
7715
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7716
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7717
# Find out which ABI we are using.
7718
echo 'int i;' > conftest.$ac_ext
7719
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7720
(eval $ac_compile) 2>&5
7722
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7723
test $ac_status = 0; }; then
7724
case `/usr/bin/file conftest.o` in
7727
x86_64-*kfreebsd*-gnu)
7728
LD="${LD-ld} -m elf_i386_fbsd"
7731
LD="${LD-ld} -m elf_i386"
7733
ppc64-*linux*|powerpc64-*linux*)
7734
LD="${LD-ld} -m elf32ppclinux"
7737
LD="${LD-ld} -m elf_s390"
7740
LD="${LD-ld} -m elf32_sparc"
7746
x86_64-*kfreebsd*-gnu)
7747
LD="${LD-ld} -m elf_x86_64_fbsd"
7750
LD="${LD-ld} -m elf_x86_64"
7752
ppc*-*linux*|powerpc*-*linux*)
7753
LD="${LD-ld} -m elf64ppc"
7755
s390*-*linux*|s390*-*tpf*)
7756
LD="${LD-ld} -m elf64_s390"
7759
LD="${LD-ld} -m elf64_sparc"
7769
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7770
SAVE_CFLAGS="$CFLAGS"
7771
CFLAGS="$CFLAGS -belf"
7772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7773
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7774
if ${lt_cv_cc_needs_belf+:} false; then :
7775
$as_echo_n "(cached) " >&6
7778
ac_cpp='$CPP $CPPFLAGS'
7779
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7780
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7781
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7783
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784
/* end confdefs.h. */
7794
if ac_fn_c_try_link "$LINENO"; then :
7795
lt_cv_cc_needs_belf=yes
7797
lt_cv_cc_needs_belf=no
7799
rm -f core conftest.err conftest.$ac_objext \
7800
conftest$ac_exeext conftest.$ac_ext
7802
ac_cpp='$CPP $CPPFLAGS'
7803
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7804
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7805
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7809
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7810
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7811
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7812
CFLAGS="$SAVE_CFLAGS"
7816
# Find out which ABI we are using.
7817
echo 'int i;' > conftest.$ac_ext
7818
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7819
(eval $ac_compile) 2>&5
7821
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7822
test $ac_status = 0; }; then
7823
case `/usr/bin/file conftest.o` in
7825
case $lt_cv_prog_gnu_ld in
7826
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7828
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7840
need_locks="$enable_libtool_lock"
7842
if test -n "$ac_tool_prefix"; then
7843
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7844
set dummy ${ac_tool_prefix}mt; ac_word=$2
7845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846
$as_echo_n "checking for $ac_word... " >&6; }
7847
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7848
$as_echo_n "(cached) " >&6
7850
if test -n "$MANIFEST_TOOL"; then
7851
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857
test -z "$as_dir" && as_dir=.
7858
for ac_exec_ext in '' $ac_executable_extensions; do
7859
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7860
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7861
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7871
if test -n "$MANIFEST_TOOL"; then
7872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7873
$as_echo "$MANIFEST_TOOL" >&6; }
7875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876
$as_echo "no" >&6; }
7881
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7882
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7883
# Extract the first word of "mt", so it can be a program name with args.
7884
set dummy mt; ac_word=$2
7885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886
$as_echo_n "checking for $ac_word... " >&6; }
7887
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7888
$as_echo_n "(cached) " >&6
7890
if test -n "$ac_ct_MANIFEST_TOOL"; then
7891
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897
test -z "$as_dir" && as_dir=.
7898
for ac_exec_ext in '' $ac_executable_extensions; do
7899
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7901
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7910
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7911
if test -n "$ac_ct_MANIFEST_TOOL"; then
7912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7913
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916
$as_echo "no" >&6; }
7919
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7922
case $cross_compiling:$ac_tool_warned in
7924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926
ac_tool_warned=yes ;;
7928
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7931
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7934
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7936
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7937
if ${lt_cv_path_mainfest_tool+:} false; then :
7938
$as_echo_n "(cached) " >&6
7940
lt_cv_path_mainfest_tool=no
7941
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7942
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7943
cat conftest.err >&5
7944
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7945
lt_cv_path_mainfest_tool=yes
7949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7950
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7951
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7961
rhapsody* | darwin*)
7962
if test -n "$ac_tool_prefix"; then
7963
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7964
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966
$as_echo_n "checking for $ac_word... " >&6; }
7967
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7968
$as_echo_n "(cached) " >&6
7970
if test -n "$DSYMUTIL"; then
7971
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977
test -z "$as_dir" && as_dir=.
7978
for ac_exec_ext in '' $ac_executable_extensions; do
7979
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7981
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7991
if test -n "$DSYMUTIL"; then
7992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7993
$as_echo "$DSYMUTIL" >&6; }
7995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996
$as_echo "no" >&6; }
8001
if test -z "$ac_cv_prog_DSYMUTIL"; then
8002
ac_ct_DSYMUTIL=$DSYMUTIL
8003
# Extract the first word of "dsymutil", so it can be a program name with args.
8004
set dummy dsymutil; ac_word=$2
8005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006
$as_echo_n "checking for $ac_word... " >&6; }
8007
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8008
$as_echo_n "(cached) " >&6
8010
if test -n "$ac_ct_DSYMUTIL"; then
8011
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017
test -z "$as_dir" && as_dir=.
8018
for ac_exec_ext in '' $ac_executable_extensions; do
8019
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8021
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8031
if test -n "$ac_ct_DSYMUTIL"; then
8032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8033
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036
$as_echo "no" >&6; }
8039
if test "x$ac_ct_DSYMUTIL" = x; then
8042
case $cross_compiling:$ac_tool_warned in
8044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8045
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8046
ac_tool_warned=yes ;;
8048
DSYMUTIL=$ac_ct_DSYMUTIL
8051
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8054
if test -n "$ac_tool_prefix"; then
8055
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8056
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058
$as_echo_n "checking for $ac_word... " >&6; }
8059
if ${ac_cv_prog_NMEDIT+:} false; then :
8060
$as_echo_n "(cached) " >&6
8062
if test -n "$NMEDIT"; then
8063
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069
test -z "$as_dir" && as_dir=.
8070
for ac_exec_ext in '' $ac_executable_extensions; do
8071
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8072
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082
NMEDIT=$ac_cv_prog_NMEDIT
8083
if test -n "$NMEDIT"; then
8084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8085
$as_echo "$NMEDIT" >&6; }
8087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088
$as_echo "no" >&6; }
8093
if test -z "$ac_cv_prog_NMEDIT"; then
8094
ac_ct_NMEDIT=$NMEDIT
8095
# Extract the first word of "nmedit", so it can be a program name with args.
8096
set dummy nmedit; ac_word=$2
8097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098
$as_echo_n "checking for $ac_word... " >&6; }
8099
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8100
$as_echo_n "(cached) " >&6
8102
if test -n "$ac_ct_NMEDIT"; then
8103
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8109
test -z "$as_dir" && as_dir=.
8110
for ac_exec_ext in '' $ac_executable_extensions; do
8111
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8112
ac_cv_prog_ac_ct_NMEDIT="nmedit"
8113
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8122
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8123
if test -n "$ac_ct_NMEDIT"; then
8124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8125
$as_echo "$ac_ct_NMEDIT" >&6; }
8127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128
$as_echo "no" >&6; }
8131
if test "x$ac_ct_NMEDIT" = x; then
8134
case $cross_compiling:$ac_tool_warned in
8136
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8137
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8138
ac_tool_warned=yes ;;
8140
NMEDIT=$ac_ct_NMEDIT
8143
NMEDIT="$ac_cv_prog_NMEDIT"
8146
if test -n "$ac_tool_prefix"; then
8147
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8148
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150
$as_echo_n "checking for $ac_word... " >&6; }
8151
if ${ac_cv_prog_LIPO+:} false; then :
8152
$as_echo_n "(cached) " >&6
8154
if test -n "$LIPO"; then
8155
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8157
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8161
test -z "$as_dir" && as_dir=.
8162
for ac_exec_ext in '' $ac_executable_extensions; do
8163
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8164
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8165
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8174
LIPO=$ac_cv_prog_LIPO
8175
if test -n "$LIPO"; then
8176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8177
$as_echo "$LIPO" >&6; }
8179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180
$as_echo "no" >&6; }
8185
if test -z "$ac_cv_prog_LIPO"; then
8187
# Extract the first word of "lipo", so it can be a program name with args.
8188
set dummy lipo; ac_word=$2
8189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8190
$as_echo_n "checking for $ac_word... " >&6; }
8191
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8192
$as_echo_n "(cached) " >&6
8194
if test -n "$ac_ct_LIPO"; then
8195
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201
test -z "$as_dir" && as_dir=.
8202
for ac_exec_ext in '' $ac_executable_extensions; do
8203
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204
ac_cv_prog_ac_ct_LIPO="lipo"
8205
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8214
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8215
if test -n "$ac_ct_LIPO"; then
8216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8217
$as_echo "$ac_ct_LIPO" >&6; }
8219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220
$as_echo "no" >&6; }
8223
if test "x$ac_ct_LIPO" = x; then
8226
case $cross_compiling:$ac_tool_warned in
8228
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8229
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8230
ac_tool_warned=yes ;;
8235
LIPO="$ac_cv_prog_LIPO"
8238
if test -n "$ac_tool_prefix"; then
8239
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8240
set dummy ${ac_tool_prefix}otool; ac_word=$2
8241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242
$as_echo_n "checking for $ac_word... " >&6; }
8243
if ${ac_cv_prog_OTOOL+:} false; then :
8244
$as_echo_n "(cached) " >&6
8246
if test -n "$OTOOL"; then
8247
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8249
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253
test -z "$as_dir" && as_dir=.
8254
for ac_exec_ext in '' $ac_executable_extensions; do
8255
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8256
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8257
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266
OTOOL=$ac_cv_prog_OTOOL
8267
if test -n "$OTOOL"; then
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8269
$as_echo "$OTOOL" >&6; }
8271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272
$as_echo "no" >&6; }
8277
if test -z "$ac_cv_prog_OTOOL"; then
8279
# Extract the first word of "otool", so it can be a program name with args.
8280
set dummy otool; ac_word=$2
8281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8282
$as_echo_n "checking for $ac_word... " >&6; }
8283
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8284
$as_echo_n "(cached) " >&6
8286
if test -n "$ac_ct_OTOOL"; then
8287
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293
test -z "$as_dir" && as_dir=.
8294
for ac_exec_ext in '' $ac_executable_extensions; do
8295
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8296
ac_cv_prog_ac_ct_OTOOL="otool"
8297
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8306
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8307
if test -n "$ac_ct_OTOOL"; then
8308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8309
$as_echo "$ac_ct_OTOOL" >&6; }
8311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312
$as_echo "no" >&6; }
8315
if test "x$ac_ct_OTOOL" = x; then
8318
case $cross_compiling:$ac_tool_warned in
8320
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8321
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8322
ac_tool_warned=yes ;;
8327
OTOOL="$ac_cv_prog_OTOOL"
8330
if test -n "$ac_tool_prefix"; then
8331
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8332
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334
$as_echo_n "checking for $ac_word... " >&6; }
8335
if ${ac_cv_prog_OTOOL64+:} false; then :
8336
$as_echo_n "(cached) " >&6
8338
if test -n "$OTOOL64"; then
8339
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8341
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345
test -z "$as_dir" && as_dir=.
8346
for ac_exec_ext in '' $ac_executable_extensions; do
8347
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8349
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358
OTOOL64=$ac_cv_prog_OTOOL64
8359
if test -n "$OTOOL64"; then
8360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8361
$as_echo "$OTOOL64" >&6; }
8363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364
$as_echo "no" >&6; }
8369
if test -z "$ac_cv_prog_OTOOL64"; then
8370
ac_ct_OTOOL64=$OTOOL64
8371
# Extract the first word of "otool64", so it can be a program name with args.
8372
set dummy otool64; ac_word=$2
8373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374
$as_echo_n "checking for $ac_word... " >&6; }
8375
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8376
$as_echo_n "(cached) " >&6
8378
if test -n "$ac_ct_OTOOL64"; then
8379
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385
test -z "$as_dir" && as_dir=.
8386
for ac_exec_ext in '' $ac_executable_extensions; do
8387
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8388
ac_cv_prog_ac_ct_OTOOL64="otool64"
8389
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8399
if test -n "$ac_ct_OTOOL64"; then
8400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8401
$as_echo "$ac_ct_OTOOL64" >&6; }
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404
$as_echo "no" >&6; }
8407
if test "x$ac_ct_OTOOL64" = x; then
8410
case $cross_compiling:$ac_tool_warned in
8412
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8413
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8414
ac_tool_warned=yes ;;
8416
OTOOL64=$ac_ct_OTOOL64
8419
OTOOL64="$ac_cv_prog_OTOOL64"
8448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8449
$as_echo_n "checking for -single_module linker flag... " >&6; }
8450
if ${lt_cv_apple_cc_single_mod+:} false; then :
8451
$as_echo_n "(cached) " >&6
8453
lt_cv_apple_cc_single_mod=no
8454
if test -z "${LT_MULTI_MODULE}"; then
8455
# By default we will add the -single_module flag. You can override
8456
# by either setting the environment variable LT_MULTI_MODULE
8457
# non-empty at configure time, or by adding -multi_module to the
8459
rm -rf libconftest.dylib*
8460
echo "int foo(void){return 1;}" > conftest.c
8461
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8462
-dynamiclib -Wl,-single_module conftest.c" >&5
8463
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8464
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8466
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8467
lt_cv_apple_cc_single_mod=yes
8469
cat conftest.err >&5
8471
rm -rf libconftest.dylib*
8475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8476
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8478
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8479
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8480
$as_echo_n "(cached) " >&6
8482
lt_cv_ld_exported_symbols_list=no
8483
save_LDFLAGS=$LDFLAGS
8484
echo "_main" > conftest.sym
8485
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8486
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487
/* end confdefs.h. */
8497
if ac_fn_c_try_link "$LINENO"; then :
8498
lt_cv_ld_exported_symbols_list=yes
8500
lt_cv_ld_exported_symbols_list=no
8502
rm -f core conftest.err conftest.$ac_objext \
8503
conftest$ac_exeext conftest.$ac_ext
8504
LDFLAGS="$save_LDFLAGS"
8507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8508
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8510
$as_echo_n "checking for -force_load linker flag... " >&6; }
8511
if ${lt_cv_ld_force_load+:} false; then :
8512
$as_echo_n "(cached) " >&6
8514
lt_cv_ld_force_load=no
8515
cat > conftest.c << _LT_EOF
8516
int forced_loaded() { return 2;}
8518
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8519
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8520
echo "$AR cru libconftest.a conftest.o" >&5
8521
$AR cru libconftest.a conftest.o 2>&5
8522
echo "$RANLIB libconftest.a" >&5
8523
$RANLIB libconftest.a 2>&5
8524
cat > conftest.c << _LT_EOF
8525
int main() { return 0;}
8527
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8528
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8530
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8531
lt_cv_ld_force_load=yes
8533
cat conftest.err >&5
8535
rm -f conftest.err libconftest.a conftest conftest.c
8536
rm -rf conftest.dSYM
8539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8540
$as_echo "$lt_cv_ld_force_load" >&6; }
8542
rhapsody* | darwin1.[012])
8543
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8545
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8546
darwin*) # darwin 5.x on
8547
# if running on 10.5 or later, the deployment target defaults
8548
# to the OS version, if on x86, and 10.4, the deployment
8549
# target defaults to 10.4. Don't you love it?
8550
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8551
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8552
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8554
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8556
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8560
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8561
_lt_dar_single_mod='$single_module'
8563
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8564
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8566
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8568
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8569
_lt_dsymutil='~$DSYMUTIL $lib || :'
8576
for ac_header in dlfcn.h
8578
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8580
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8581
cat >>confdefs.h <<_ACEOF
8582
#define HAVE_DLFCN_H 1
8603
# Check whether --enable-shared was given.
8604
if test "${enable_shared+set}" = set; then :
8605
enableval=$enable_shared; p=${PACKAGE-default}
8607
yes) enable_shared=yes ;;
8608
no) enable_shared=no ;;
8611
# Look at the argument we got. We use all the common list separators.
8612
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8613
for pkg in $enableval; do
8615
if test "X$pkg" = "X$p"; then
8634
# Check whether --enable-static was given.
8635
if test "${enable_static+set}" = set; then :
8636
enableval=$enable_static; p=${PACKAGE-default}
8638
yes) enable_static=yes ;;
8639
no) enable_static=no ;;
8642
# Look at the argument we got. We use all the common list separators.
8643
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8644
for pkg in $enableval; do
8646
if test "X$pkg" = "X$p"; then
8666
# Check whether --with-pic was given.
8667
if test "${with_pic+set}" = set; then :
8668
withval=$with_pic; pic_mode="$withval"
8674
test -z "$pic_mode" && pic_mode=default
8682
# Check whether --enable-fast-install was given.
8683
if test "${enable_fast_install+set}" = set; then :
8684
enableval=$enable_fast_install; p=${PACKAGE-default}
8686
yes) enable_fast_install=yes ;;
8687
no) enable_fast_install=no ;;
8689
enable_fast_install=no
8690
# Look at the argument we got. We use all the common list separators.
8691
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8692
for pkg in $enableval; do
8694
if test "X$pkg" = "X$p"; then
8695
enable_fast_install=yes
8702
enable_fast_install=yes
8715
# This can be used to rebuild libtool when needed
8716
LIBTOOL_DEPS="$ltmain"
8718
# Always use our own libtool.
8719
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8746
test -z "$LN_S" && LN_S="ln -s"
8761
if test -n "${ZSH_VERSION+set}" ; then
8762
setopt NO_GLOB_SUBST
8765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8766
$as_echo_n "checking for objdir... " >&6; }
8767
if ${lt_cv_objdir+:} false; then :
8768
$as_echo_n "(cached) " >&6
8770
rm -f .libs 2>/dev/null
8771
mkdir .libs 2>/dev/null
8772
if test -d .libs; then
8775
# MS-DOS does not allow filenames that begin with a dot.
8778
rmdir .libs 2>/dev/null
8780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8781
$as_echo "$lt_cv_objdir" >&6; }
8782
objdir=$lt_cv_objdir
8788
cat >>confdefs.h <<_ACEOF
8789
#define LT_OBJDIR "$lt_cv_objdir/"
8797
# AIX sometimes has problems with the GCC collect2 program. For some
8798
# reason, if we set the COLLECT_NAMES environment variable, the problems
8799
# vanish in a puff of smoke.
8800
if test "X${COLLECT_NAMES+set}" != Xset; then
8802
export COLLECT_NAMES
8809
can_build_shared=yes
8811
# All known linkers require a `.a' archive for static linking (except MSVC,
8812
# which needs '.lib').
8815
with_gnu_ld="$lt_cv_prog_gnu_ld"
8818
old_CFLAGS="$CFLAGS"
8820
# Set sane defaults for various variables
8821
test -z "$CC" && CC=cc
8822
test -z "$LTCC" && LTCC=$CC
8823
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8824
test -z "$LD" && LD=ld
8825
test -z "$ac_objext" && ac_objext=o
8827
for cc_temp in $compiler""; do
8829
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8830
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8835
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8838
# Only perform the check for file, if the check method requires it
8839
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8840
case $deplibs_check_method in
8842
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8844
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8845
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8846
$as_echo_n "(cached) " >&6
8850
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8853
lt_save_MAGIC_CMD="$MAGIC_CMD"
8854
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8855
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8856
for ac_dir in $ac_dummy; do
8858
test -z "$ac_dir" && ac_dir=.
8859
if test -f $ac_dir/${ac_tool_prefix}file; then
8860
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8861
if test -n "$file_magic_test_file"; then
8862
case $deplibs_check_method in
8864
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8865
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8866
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8867
$EGREP "$file_magic_regex" > /dev/null; then
8872
*** Warning: the command libtool uses to detect shared libraries,
8873
*** $file_magic_cmd, produces output that libtool cannot recognize.
8874
*** The result is that libtool may fail to recognize shared libraries
8875
*** as such. This will affect the creation of libtool libraries that
8876
*** depend on shared libraries, but programs linked with such libtool
8877
*** libraries will work regardless of this problem. Nevertheless, you
8878
*** may want to report the problem to your system manager and/or to
8879
*** bug-libtool@gnu.org
8889
MAGIC_CMD="$lt_save_MAGIC_CMD"
8894
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8895
if test -n "$MAGIC_CMD"; then
8896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8897
$as_echo "$MAGIC_CMD" >&6; }
8899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900
$as_echo "no" >&6; }
8907
if test -z "$lt_cv_path_MAGIC_CMD"; then
8908
if test -n "$ac_tool_prefix"; then
8909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8910
$as_echo_n "checking for file... " >&6; }
8911
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8912
$as_echo_n "(cached) " >&6
8916
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8919
lt_save_MAGIC_CMD="$MAGIC_CMD"
8920
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8921
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8922
for ac_dir in $ac_dummy; do
8924
test -z "$ac_dir" && ac_dir=.
8925
if test -f $ac_dir/file; then
8926
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8927
if test -n "$file_magic_test_file"; then
8928
case $deplibs_check_method in
8930
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8931
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8932
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8933
$EGREP "$file_magic_regex" > /dev/null; then
8938
*** Warning: the command libtool uses to detect shared libraries,
8939
*** $file_magic_cmd, produces output that libtool cannot recognize.
8940
*** The result is that libtool may fail to recognize shared libraries
8941
*** as such. This will affect the creation of libtool libraries that
8942
*** depend on shared libraries, but programs linked with such libtool
8943
*** libraries will work regardless of this problem. Nevertheless, you
8944
*** may want to report the problem to your system manager and/or to
8945
*** bug-libtool@gnu.org
8955
MAGIC_CMD="$lt_save_MAGIC_CMD"
8960
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8961
if test -n "$MAGIC_CMD"; then
8962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8963
$as_echo "$MAGIC_CMD" >&6; }
8965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966
$as_echo "no" >&6; }
8979
# Use C for the default configuration in the libtool script
8983
ac_cpp='$CPP $CPPFLAGS'
8984
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8985
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8986
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8989
# Source file extension for C test sources.
8992
# Object file extension for compiled C test sources.
8996
# Code to be used in simple compile tests
8997
lt_simple_compile_test_code="int some_variable = 0;"
8999
# Code to be used in simple link tests
9000
lt_simple_link_test_code='int main(){return(0);}'
9008
# If no C compiler was specified, use CC.
9011
# If no C compiler flags were specified, use CFLAGS.
9012
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9014
# Allow CC to be a program name with arguments.
9017
# Save the default compiler, since it gets overwritten when the other
9018
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9019
compiler_DEFAULT=$CC
9021
# save warnings/boilerplate of simple test code
9022
ac_outfile=conftest.$ac_objext
9023
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9024
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9025
_lt_compiler_boilerplate=`cat conftest.err`
9028
ac_outfile=conftest.$ac_objext
9029
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9030
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9031
_lt_linker_boilerplate=`cat conftest.err`
9035
if test -n "$compiler"; then
9037
lt_prog_compiler_no_builtin_flag=
9039
if test "$GCC" = yes; then
9040
case $cc_basename in
9042
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9044
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9048
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9049
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9050
$as_echo_n "(cached) " >&6
9052
lt_cv_prog_compiler_rtti_exceptions=no
9053
ac_outfile=conftest.$ac_objext
9054
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9055
lt_compiler_flag="-fno-rtti -fno-exceptions"
9056
# Insert the option either (1) after the last *FLAGS variable, or
9057
# (2) before a word containing "conftest.", or (3) at the end.
9058
# Note that $ac_compile itself does not contain backslashes and begins
9059
# with a dollar sign (not a hyphen), so the echo should work correctly.
9060
# The option is referenced via a variable to avoid confusing sed.
9061
lt_compile=`echo "$ac_compile" | $SED \
9062
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9063
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9064
-e 's:$: $lt_compiler_flag:'`
9065
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9066
(eval "$lt_compile" 2>conftest.err)
9068
cat conftest.err >&5
9069
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070
if (exit $ac_status) && test -s "$ac_outfile"; then
9071
# The compiler can only warn and ignore the option if not recognized
9072
# So say no if there are warnings other than the usual output.
9073
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9074
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9075
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9076
lt_cv_prog_compiler_rtti_exceptions=yes
9082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9083
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9085
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9086
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9098
lt_prog_compiler_wl=
9099
lt_prog_compiler_pic=
9100
lt_prog_compiler_static=
9103
if test "$GCC" = yes; then
9104
lt_prog_compiler_wl='-Wl,'
9105
lt_prog_compiler_static='-static'
9109
# All AIX code is PIC.
9110
if test "$host_cpu" = ia64; then
9111
# AIX 5 now supports IA64 processor
9112
lt_prog_compiler_static='-Bstatic'
9119
# see comment about AmigaOS4 .so support
9120
lt_prog_compiler_pic='-fPIC'
9123
# FIXME: we need at least 68020 code to build shared libraries, but
9124
# adding the `-m68020' flag to GCC prevents building anything better,
9126
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9131
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9132
# PIC is the default for these OSes.
9135
mingw* | cygwin* | pw32* | os2* | cegcc*)
9136
# This hack is so that the source file can tell whether it is being
9137
# built for inclusion in a dll (and should export symbols for example).
9138
# Although the cygwin gcc ignores -fPIC, still need this for old-style
9139
# (--disable-auto-import) libraries
9140
lt_prog_compiler_pic='-DDLL_EXPORT'
9143
darwin* | rhapsody*)
9144
# PIC is the default on this platform
9145
# Common symbols not allowed in MH_DYLIB files
9146
lt_prog_compiler_pic='-fno-common'
9150
# PIC is the default for Haiku.
9151
# The "-static" flag exists, but is broken.
9152
lt_prog_compiler_static=
9156
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9157
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9158
# sets the default TLS model and affects inlining.
9164
lt_prog_compiler_pic='-fPIC'
9170
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9171
# Instead, we relocate shared libraries at runtime.
9175
# Just because we use GCC doesn't mean we suddenly get shared libraries
9176
# on systems that don't support them.
9177
lt_prog_compiler_can_build_shared=no
9182
# QNX uses GNU C++, but need to define -shared option too, otherwise
9184
lt_prog_compiler_pic='-fPIC -shared'
9188
if test -d /usr/nec; then
9189
lt_prog_compiler_pic=-Kconform_pic
9194
lt_prog_compiler_pic='-fPIC'
9198
case $cc_basename in
9199
nvcc*) # Cuda Compiler Driver 2.2
9200
lt_prog_compiler_wl='-Xlinker '
9201
lt_prog_compiler_pic='-Xcompiler -fPIC'
9205
# PORTME Check for flag to pass linker flags through the system compiler.
9208
lt_prog_compiler_wl='-Wl,'
9209
if test "$host_cpu" = ia64; then
9210
# AIX 5 now supports IA64 processor
9211
lt_prog_compiler_static='-Bstatic'
9213
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9217
mingw* | cygwin* | pw32* | os2* | cegcc*)
9218
# This hack is so that the source file can tell whether it is being
9219
# built for inclusion in a dll (and should export symbols for example).
9220
lt_prog_compiler_pic='-DDLL_EXPORT'
9223
hpux9* | hpux10* | hpux11*)
9224
lt_prog_compiler_wl='-Wl,'
9225
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9232
lt_prog_compiler_pic='+Z'
9235
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9236
lt_prog_compiler_static='${wl}-a ${wl}archive'
9239
irix5* | irix6* | nonstopux*)
9240
lt_prog_compiler_wl='-Wl,'
9241
# PIC (with -KPIC) is the default.
9242
lt_prog_compiler_static='-non_shared'
9245
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9246
case $cc_basename in
9247
# old Intel for x86_64 which still supported -KPIC.
9249
lt_prog_compiler_wl='-Wl,'
9250
lt_prog_compiler_pic='-KPIC'
9251
lt_prog_compiler_static='-static'
9253
# icc used to be incompatible with GCC.
9254
# ICC 10 doesn't accept -KPIC any more.
9256
lt_prog_compiler_wl='-Wl,'
9257
lt_prog_compiler_pic='-fPIC'
9258
lt_prog_compiler_static='-static'
9260
# Lahey Fortran 8.1.
9262
lt_prog_compiler_wl='-Wl,'
9263
lt_prog_compiler_pic='--shared'
9264
lt_prog_compiler_static='--static'
9267
# NAG Fortran compiler
9268
lt_prog_compiler_wl='-Wl,-Wl,,'
9269
lt_prog_compiler_pic='-PIC'
9270
lt_prog_compiler_static='-Bstatic'
9272
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9273
# Portland Group compilers (*not* the Pentium gcc compiler,
9274
# which looks to be a dead project)
9275
lt_prog_compiler_wl='-Wl,'
9276
lt_prog_compiler_pic='-fpic'
9277
lt_prog_compiler_static='-Bstatic'
9280
lt_prog_compiler_wl='-Wl,'
9281
# All Alpha code is PIC.
9282
lt_prog_compiler_static='-non_shared'
9284
xl* | bgxl* | bgf* | mpixl*)
9285
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9286
lt_prog_compiler_wl='-Wl,'
9287
lt_prog_compiler_pic='-qpic'
9288
lt_prog_compiler_static='-qstaticlink'
9291
case `$CC -V 2>&1 | sed 5q` in
9292
*Sun\ F* | *Sun*Fortran*)
9293
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9294
lt_prog_compiler_pic='-KPIC'
9295
lt_prog_compiler_static='-Bstatic'
9296
lt_prog_compiler_wl=''
9300
lt_prog_compiler_pic='-KPIC'
9301
lt_prog_compiler_static='-Bstatic'
9302
lt_prog_compiler_wl='-Wl,'
9310
lt_prog_compiler_pic='-KPIC'
9311
lt_prog_compiler_static='-Bstatic'
9315
# QNX uses GNU C++, but need to define -shared option too, otherwise
9317
lt_prog_compiler_pic='-fPIC -shared'
9320
osf3* | osf4* | osf5*)
9321
lt_prog_compiler_wl='-Wl,'
9322
# All OSF/1 code is PIC.
9323
lt_prog_compiler_static='-non_shared'
9327
lt_prog_compiler_static='-non_shared'
9331
lt_prog_compiler_pic='-KPIC'
9332
lt_prog_compiler_static='-Bstatic'
9333
case $cc_basename in
9334
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9335
lt_prog_compiler_wl='-Qoption ld ';;
9337
lt_prog_compiler_wl='-Wl,';;
9342
lt_prog_compiler_wl='-Qoption ld '
9343
lt_prog_compiler_pic='-PIC'
9344
lt_prog_compiler_static='-Bstatic'
9347
sysv4 | sysv4.2uw2* | sysv4.3*)
9348
lt_prog_compiler_wl='-Wl,'
9349
lt_prog_compiler_pic='-KPIC'
9350
lt_prog_compiler_static='-Bstatic'
9354
if test -d /usr/nec ;then
9355
lt_prog_compiler_pic='-Kconform_pic'
9356
lt_prog_compiler_static='-Bstatic'
9360
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9361
lt_prog_compiler_wl='-Wl,'
9362
lt_prog_compiler_pic='-KPIC'
9363
lt_prog_compiler_static='-Bstatic'
9367
lt_prog_compiler_wl='-Wl,'
9368
lt_prog_compiler_can_build_shared=no
9372
lt_prog_compiler_pic='-pic'
9373
lt_prog_compiler_static='-Bstatic'
9377
lt_prog_compiler_can_build_shared=no
9383
# For platforms which do not support PIC, -DPIC is meaningless:
9385
lt_prog_compiler_pic=
9388
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9393
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9394
if ${lt_cv_prog_compiler_pic+:} false; then :
9395
$as_echo_n "(cached) " >&6
9397
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9400
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9401
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9404
# Check to make sure the PIC flag actually works.
9406
if test -n "$lt_prog_compiler_pic"; then
9407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9408
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9409
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9410
$as_echo_n "(cached) " >&6
9412
lt_cv_prog_compiler_pic_works=no
9413
ac_outfile=conftest.$ac_objext
9414
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9415
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9416
# Insert the option either (1) after the last *FLAGS variable, or
9417
# (2) before a word containing "conftest.", or (3) at the end.
9418
# Note that $ac_compile itself does not contain backslashes and begins
9419
# with a dollar sign (not a hyphen), so the echo should work correctly.
9420
# The option is referenced via a variable to avoid confusing sed.
9421
lt_compile=`echo "$ac_compile" | $SED \
9422
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9423
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9424
-e 's:$: $lt_compiler_flag:'`
9425
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9426
(eval "$lt_compile" 2>conftest.err)
9428
cat conftest.err >&5
9429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430
if (exit $ac_status) && test -s "$ac_outfile"; then
9431
# The compiler can only warn and ignore the option if not recognized
9432
# So say no if there are warnings other than the usual output.
9433
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9434
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9435
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9436
lt_cv_prog_compiler_pic_works=yes
9442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9443
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9445
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9446
case $lt_prog_compiler_pic in
9448
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9451
lt_prog_compiler_pic=
9452
lt_prog_compiler_can_build_shared=no
9468
# Check to make sure the static flag actually works.
9470
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9472
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9473
if ${lt_cv_prog_compiler_static_works+:} false; then :
9474
$as_echo_n "(cached) " >&6
9476
lt_cv_prog_compiler_static_works=no
9477
save_LDFLAGS="$LDFLAGS"
9478
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9479
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9480
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9481
# The linker can only warn and ignore the option if not recognized
9482
# So say no if there are warnings
9483
if test -s conftest.err; then
9484
# Append any errors to the config.log.
9485
cat conftest.err 1>&5
9486
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9487
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9488
if diff conftest.exp conftest.er2 >/dev/null; then
9489
lt_cv_prog_compiler_static_works=yes
9492
lt_cv_prog_compiler_static_works=yes
9496
LDFLAGS="$save_LDFLAGS"
9499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9500
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9502
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9505
lt_prog_compiler_static=
9514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9515
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9516
if ${lt_cv_prog_compiler_c_o+:} false; then :
9517
$as_echo_n "(cached) " >&6
9519
lt_cv_prog_compiler_c_o=no
9520
$RM -r conftest 2>/dev/null
9524
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9526
lt_compiler_flag="-o out/conftest2.$ac_objext"
9527
# Insert the option either (1) after the last *FLAGS variable, or
9528
# (2) before a word containing "conftest.", or (3) at the end.
9529
# Note that $ac_compile itself does not contain backslashes and begins
9530
# with a dollar sign (not a hyphen), so the echo should work correctly.
9531
lt_compile=`echo "$ac_compile" | $SED \
9532
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534
-e 's:$: $lt_compiler_flag:'`
9535
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9536
(eval "$lt_compile" 2>out/conftest.err)
9538
cat out/conftest.err >&5
9539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9542
# The compiler can only warn and ignore the option if not recognized
9543
# So say no if there are warnings
9544
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9545
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9546
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9547
lt_cv_prog_compiler_c_o=yes
9552
# SGI C++ compiler will create directory out/ii_files/ for
9553
# template instantiation
9554
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9555
$RM out/* && rmdir out
9561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9562
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9570
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9571
if ${lt_cv_prog_compiler_c_o+:} false; then :
9572
$as_echo_n "(cached) " >&6
9574
lt_cv_prog_compiler_c_o=no
9575
$RM -r conftest 2>/dev/null
9579
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9581
lt_compiler_flag="-o out/conftest2.$ac_objext"
9582
# Insert the option either (1) after the last *FLAGS variable, or
9583
# (2) before a word containing "conftest.", or (3) at the end.
9584
# Note that $ac_compile itself does not contain backslashes and begins
9585
# with a dollar sign (not a hyphen), so the echo should work correctly.
9586
lt_compile=`echo "$ac_compile" | $SED \
9587
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9588
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9589
-e 's:$: $lt_compiler_flag:'`
9590
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9591
(eval "$lt_compile" 2>out/conftest.err)
9593
cat out/conftest.err >&5
9594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9597
# The compiler can only warn and ignore the option if not recognized
9598
# So say no if there are warnings
9599
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9600
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9601
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9602
lt_cv_prog_compiler_c_o=yes
9607
# SGI C++ compiler will create directory out/ii_files/ for
9608
# template instantiation
9609
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9610
$RM out/* && rmdir out
9616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9617
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9622
hard_links="nottested"
9623
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9624
# do not overwrite the value of need_locks provided by the user
9625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9626
$as_echo_n "checking if we can lock with hard links... " >&6; }
9629
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9631
ln conftest.a conftest.b 2>&5 || hard_links=no
9632
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9634
$as_echo "$hard_links" >&6; }
9635
if test "$hard_links" = no; then
9636
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9637
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9650
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9653
allow_undefined_flag=
9654
always_export_symbols=no
9656
archive_expsym_cmds=
9657
compiler_needs_object=no
9658
enable_shared_with_static_runtimes=no
9659
export_dynamic_flag_spec=
9660
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9661
hardcode_automatic=no
9663
hardcode_direct_absolute=no
9664
hardcode_libdir_flag_spec=
9665
hardcode_libdir_flag_spec_ld=
9666
hardcode_libdir_separator=
9668
hardcode_shlibpath_var=unsupported
9670
link_all_deplibs=unknown
9673
old_archive_from_new_cmds=
9674
old_archive_from_expsyms_cmds=
9675
thread_safe_flag_spec=
9676
whole_archive_flag_spec=
9677
# include_expsyms should be a list of space-separated symbols to be *always*
9678
# included in the symbol list
9680
# exclude_expsyms can be an extended regexp of symbols to exclude
9681
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9682
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9683
# as well as any symbol that contains `d'.
9684
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9685
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9686
# platforms (ab)use it in PIC code, but their linkers get confused if
9687
# the symbol is explicitly referenced. Since portable code cannot
9688
# rely on this symbol name, it's probably fine to never include it in
9689
# preloaded symbol tables.
9690
# Exclude shared library initialization/finalization symbols.
9691
extract_expsyms_cmds=
9694
cygwin* | mingw* | pw32* | cegcc*)
9695
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9696
# When not using gcc, we currently assume that we are using
9697
# Microsoft Visual C++.
9698
if test "$GCC" != yes; then
9703
# we just hope/assume this is gcc and not c89 (= MSVC++)
9709
linux* | k*bsd*-gnu | gnu*)
9716
# On some targets, GNU ld is compatible enough with the native linker
9717
# that we're better off using the native interface for both.
9718
lt_use_gnu_ld_interface=no
9719
if test "$with_gnu_ld" = yes; then
9722
# The AIX port of GNU ld has always aspired to compatibility
9723
# with the native linker. However, as the warning in the GNU ld
9724
# block says, versions before 2.19.5* couldn't really create working
9725
# shared libraries, regardless of the interface used.
9726
case `$LD -v 2>&1` in
9727
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9728
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9729
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9731
lt_use_gnu_ld_interface=yes
9736
lt_use_gnu_ld_interface=yes
9741
if test "$lt_use_gnu_ld_interface" = yes; then
9742
# If archive_cmds runs LD, not CC, wlarc should be empty
9745
# Set some defaults for GNU ld with shared library support. These
9746
# are reset later if shared libraries are not supported. Putting them
9747
# here allows them to be overridden if necessary.
9748
runpath_var=LD_RUN_PATH
9749
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9750
export_dynamic_flag_spec='${wl}--export-dynamic'
9751
# ancient GNU ld didn't support --whole-archive et. al.
9752
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9753
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9755
whole_archive_flag_spec=
9757
supports_anon_versioning=no
9758
case `$LD -v 2>&1` in
9759
*GNU\ gold*) supports_anon_versioning=yes ;;
9760
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9761
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9762
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9763
*\ 2.11.*) ;; # other 2.11 versions
9764
*) supports_anon_versioning=yes ;;
9767
# See if GNU ld supports shared libraries.
9770
# On AIX/PPC, the GNU linker is very broken
9771
if test "$host_cpu" != ia64; then
9775
*** Warning: the GNU linker, at least up to release 2.19, is reported
9776
*** to be unable to reliably create shared libraries on AIX.
9777
*** Therefore, libtool is disabling shared libraries support. If you
9778
*** really care for shared libraries, you may want to install binutils
9779
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9780
*** You will then need to restart the configuration process.
9789
# see comment about AmigaOS4 .so support
9790
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9791
archive_expsym_cmds=''
9794
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)'
9795
hardcode_libdir_flag_spec='-L$libdir'
9796
hardcode_minus_L=yes
9802
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9803
allow_undefined_flag=unsupported
9804
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9805
# support --undefined. This deserves some investigation. FIXME
9806
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9812
cygwin* | mingw* | pw32* | cegcc*)
9813
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9814
# as there is no search path for DLLs.
9815
hardcode_libdir_flag_spec='-L$libdir'
9816
export_dynamic_flag_spec='${wl}--export-all-symbols'
9817
allow_undefined_flag=unsupported
9818
always_export_symbols=no
9819
enable_shared_with_static_runtimes=yes
9820
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9821
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9823
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9824
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9825
# If the export-symbols file already is a .def file (1st line
9826
# is EXPORTS), use it as is; otherwise, prepend...
9827
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9828
cp $export_symbols $output_objdir/$soname.def;
9830
echo EXPORTS > $output_objdir/$soname.def;
9831
cat $export_symbols >> $output_objdir/$soname.def;
9833
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9840
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9841
link_all_deplibs=yes
9846
hardcode_shlibpath_var=no
9847
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9848
export_dynamic_flag_spec='${wl}-E'
9849
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9850
# Instead, shared libraries are loaded at an image base (0x10000000 by
9851
# default) and relocated if they conflict, which is a slow very memory
9852
# consuming and fragmenting process. To avoid this, we pick a random,
9853
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9854
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9855
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9856
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'
9859
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9861
if test "$host_os" = linux-dietlibc; then
9862
case $cc_basename in
9863
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9866
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9867
&& test "$tmp_diet" = no
9869
tmp_addflag=' $pic_flag'
9870
tmp_sharedflag='-shared'
9871
case $cc_basename,$host_cpu in
9872
pgcc*) # Portland Group C compiler
9873
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9874
tmp_addflag=' $pic_flag'
9876
pgf77* | pgf90* | pgf95* | pgfortran*)
9877
# Portland Group f77 and f90 compilers
9878
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9879
tmp_addflag=' $pic_flag -Mnomain' ;;
9880
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9881
tmp_addflag=' -i_dynamic' ;;
9882
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9883
tmp_addflag=' -i_dynamic -nofor_main' ;;
9884
ifc* | ifort*) # Intel Fortran compiler
9885
tmp_addflag=' -nofor_main' ;;
9886
lf95*) # Lahey Fortran 8.1
9887
whole_archive_flag_spec=
9888
tmp_sharedflag='--shared' ;;
9889
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9890
tmp_sharedflag='-qmkshrobj'
9892
nvcc*) # Cuda Compiler Driver 2.2
9893
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9894
compiler_needs_object=yes
9897
case `$CC -V 2>&1 | sed 5q` in
9898
*Sun\ C*) # Sun C 5.9
9899
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9900
compiler_needs_object=yes
9901
tmp_sharedflag='-G' ;;
9902
*Sun\ F*) # Sun Fortran 8.3
9903
tmp_sharedflag='-G' ;;
9905
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9907
if test "x$supports_anon_versioning" = xyes; then
9908
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9909
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9910
echo "local: *; };" >> $output_objdir/$libname.ver~
9911
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9914
case $cc_basename in
9915
xlf* | bgf* | bgxlf* | mpixlf*)
9916
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9917
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9918
hardcode_libdir_flag_spec=
9919
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9920
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9921
if test "x$supports_anon_versioning" = xyes; then
9922
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9923
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9924
echo "local: *; };" >> $output_objdir/$libname.ver~
9925
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9934
netbsd* | netbsdelf*-gnu)
9935
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9936
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9939
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9940
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9945
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9949
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9950
*** create shared libraries on Solaris systems. Therefore, libtool
9951
*** is disabling shared libraries support. We urge you to upgrade GNU
9952
*** binutils to release 2.9.1 or newer. Another option is to modify
9953
*** your PATH or compiler configuration so that the native linker is
9954
*** used, and then restart.
9957
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9958
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9959
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9965
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9966
case `$LD -v 2>&1` in
9967
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9971
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9972
*** reliably create shared libraries on SCO systems. Therefore, libtool
9973
*** is disabling shared libraries support. We urge you to upgrade GNU
9974
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9975
*** your PATH or compiler configuration so that the native linker is
9976
*** used, and then restart.
9981
# For security reasons, it is highly recommended that you always
9982
# use absolute paths for naming shared libraries, and exclude the
9983
# DT_RUNPATH tag from executables and libraries. But doing so
9984
# requires that you compile everything twice, which is a pain.
9985
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9986
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9988
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9997
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10000
hardcode_shlibpath_var=no
10004
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10005
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10006
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10013
if test "$ld_shlibs" = no; then
10015
hardcode_libdir_flag_spec=
10016
export_dynamic_flag_spec=
10017
whole_archive_flag_spec=
10020
# PORTME fill in a description of your system's linker (not GNU ld)
10023
allow_undefined_flag=unsupported
10024
always_export_symbols=yes
10025
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'
10026
# Note: this linker hardcodes the directories in LIBPATH if there
10027
# are no directories specified by -L.
10028
hardcode_minus_L=yes
10029
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10030
# Neither direct hardcoding nor static linking is supported with a
10032
hardcode_direct=unsupported
10037
if test "$host_cpu" = ia64; then
10038
# On IA64, the linker does run time linking by default, so we don't
10039
# have to do anything special.
10040
aix_use_runtimelinking=no
10041
exp_sym_flag='-Bexport'
10044
# If we're using GNU nm, then we don't want the "-C" option.
10045
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10046
# Also, AIX nm treats weak defined symbols like other global
10047
# defined symbols, whereas GNU nm marks them as "W".
10048
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10049
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10051
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'
10053
aix_use_runtimelinking=no
10055
# Test if we are trying to use run time linking or normal
10056
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10057
# need to do runtime linking.
10058
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10059
for ld_flag in $LDFLAGS; do
10060
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10061
aix_use_runtimelinking=yes
10068
exp_sym_flag='-bexport'
10069
no_entry_flag='-bnoentry'
10072
# When large executables or shared objects are built, AIX ld can
10073
# have problems creating the table of contents. If linking a library
10074
# or program results in "error TOC overflow" add -mminimal-toc to
10075
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10076
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10079
hardcode_direct=yes
10080
hardcode_direct_absolute=yes
10081
hardcode_libdir_separator=':'
10082
link_all_deplibs=yes
10083
file_list_spec='${wl}-f,'
10085
if test "$GCC" = yes; then
10086
case $host_os in aix4.[012]|aix4.[012].*)
10087
# We only want to do this on AIX 4.2 and lower, the check
10088
# below for broken collect2 doesn't work under 4.3+
10089
collect2name=`${CC} -print-prog-name=collect2`
10090
if test -f "$collect2name" &&
10091
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10093
# We have reworked collect2
10096
# We have old collect2
10097
hardcode_direct=unsupported
10098
# It fails to find uninstalled libraries when the uninstalled
10099
# path is not listed in the libpath. Setting hardcode_minus_L
10100
# to unsupported forces relinking
10101
hardcode_minus_L=yes
10102
hardcode_libdir_flag_spec='-L$libdir'
10103
hardcode_libdir_separator=
10107
shared_flag='-shared'
10108
if test "$aix_use_runtimelinking" = yes; then
10109
shared_flag="$shared_flag "'${wl}-G'
10111
link_all_deplibs=no
10114
if test "$host_cpu" = ia64; then
10115
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10116
# chokes on -Wl,-G. The following line is correct:
10119
if test "$aix_use_runtimelinking" = yes; then
10120
shared_flag='${wl}-G'
10122
shared_flag='${wl}-bM:SRE'
10127
export_dynamic_flag_spec='${wl}-bexpall'
10128
# It seems that -bexpall does not export symbols beginning with
10129
# underscore (_), so it is better to generate a list of symbols to export.
10130
always_export_symbols=yes
10131
if test "$aix_use_runtimelinking" = yes; then
10132
# Warning - without using the other runtime loading flags (-brtl),
10133
# -berok will link without error, but may produce a broken library.
10134
allow_undefined_flag='-berok'
10135
# Determine the default libpath from the value encoded in an
10136
# empty executable.
10137
if test "${lt_cv_aix_libpath+set}" = set; then
10138
aix_libpath=$lt_cv_aix_libpath
10140
if ${lt_cv_aix_libpath_+:} false; then :
10141
$as_echo_n "(cached) " >&6
10143
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144
/* end confdefs.h. */
10154
if ac_fn_c_try_link "$LINENO"; then :
10156
lt_aix_libpath_sed='
10157
/Import File Strings/,/^$/ {
10159
s/^0 *\([^ ]*\) *$/\1/
10163
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10164
# Check for a 64-bit object if we didn't find anything.
10165
if test -z "$lt_cv_aix_libpath_"; then
10166
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10169
rm -f core conftest.err conftest.$ac_objext \
10170
conftest$ac_exeext conftest.$ac_ext
10171
if test -z "$lt_cv_aix_libpath_"; then
10172
lt_cv_aix_libpath_="/usr/lib:/lib"
10177
aix_libpath=$lt_cv_aix_libpath_
10180
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10181
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10183
if test "$host_cpu" = ia64; then
10184
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10185
allow_undefined_flag="-z nodefs"
10186
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"
10188
# Determine the default libpath from the value encoded in an
10189
# empty executable.
10190
if test "${lt_cv_aix_libpath+set}" = set; then
10191
aix_libpath=$lt_cv_aix_libpath
10193
if ${lt_cv_aix_libpath_+:} false; then :
10194
$as_echo_n "(cached) " >&6
10196
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197
/* end confdefs.h. */
10207
if ac_fn_c_try_link "$LINENO"; then :
10209
lt_aix_libpath_sed='
10210
/Import File Strings/,/^$/ {
10212
s/^0 *\([^ ]*\) *$/\1/
10216
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10217
# Check for a 64-bit object if we didn't find anything.
10218
if test -z "$lt_cv_aix_libpath_"; then
10219
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10222
rm -f core conftest.err conftest.$ac_objext \
10223
conftest$ac_exeext conftest.$ac_ext
10224
if test -z "$lt_cv_aix_libpath_"; then
10225
lt_cv_aix_libpath_="/usr/lib:/lib"
10230
aix_libpath=$lt_cv_aix_libpath_
10233
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10234
# Warning - without using the other run time loading flags,
10235
# -berok will link without error, but may produce a broken library.
10236
no_undefined_flag=' ${wl}-bernotok'
10237
allow_undefined_flag=' ${wl}-berok'
10238
if test "$with_gnu_ld" = yes; then
10239
# We only use this code for GNU lds that support --whole-archive.
10240
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10242
# Exported symbols can be pulled into shared objects from archives
10243
whole_archive_flag_spec='$convenience'
10245
archive_cmds_need_lc=yes
10246
# This is similar to how AIX traditionally builds its shared libraries.
10247
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'
10255
# see comment about AmigaOS4 .so support
10256
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10257
archive_expsym_cmds=''
10260
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)'
10261
hardcode_libdir_flag_spec='-L$libdir'
10262
hardcode_minus_L=yes
10268
export_dynamic_flag_spec=-rdynamic
10271
cygwin* | mingw* | pw32* | cegcc*)
10272
# When not using gcc, we currently assume that we are using
10273
# Microsoft Visual C++.
10274
# hardcode_libdir_flag_spec is actually meaningless, as there is
10275
# no search path for DLLs.
10276
case $cc_basename in
10279
hardcode_libdir_flag_spec=' '
10280
allow_undefined_flag=unsupported
10281
always_export_symbols=yes
10283
# Tell ltmain to make .lib files, not .a files.
10285
# Tell ltmain to make .dll files, not .so files.
10287
# FIXME: Setting linknames here is a bad hack.
10288
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10289
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10290
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10292
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10294
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10296
# The linker will not automatically build a static lib if we build a DLL.
10297
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10298
enable_shared_with_static_runtimes=yes
10299
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10301
old_postinstall_cmds='chmod 644 $oldlib'
10302
postlink_cmds='lt_outputfile="@OUTPUT@"~
10303
lt_tool_outputfile="@TOOL_OUTPUT@"~
10304
case $lt_outputfile in
10307
lt_outputfile="$lt_outputfile.exe"
10308
lt_tool_outputfile="$lt_tool_outputfile.exe"
10311
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10312
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10313
$RM "$lt_outputfile.manifest";
10317
# Assume MSVC wrapper
10318
hardcode_libdir_flag_spec=' '
10319
allow_undefined_flag=unsupported
10320
# Tell ltmain to make .lib files, not .a files.
10322
# Tell ltmain to make .dll files, not .so files.
10324
# FIXME: Setting linknames here is a bad hack.
10325
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10326
# The linker will automatically build a .lib file if we build a DLL.
10327
old_archive_from_new_cmds='true'
10328
# FIXME: Should let the user specify the lib program.
10329
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10330
enable_shared_with_static_runtimes=yes
10335
darwin* | rhapsody*)
10338
archive_cmds_need_lc=no
10340
hardcode_automatic=yes
10341
hardcode_shlibpath_var=unsupported
10342
if test "$lt_cv_ld_force_load" = "yes"; then
10343
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10345
whole_archive_flag_spec=''
10347
link_all_deplibs=yes
10348
allow_undefined_flag="$_lt_dar_allow_undefined"
10349
case $cc_basename in
10350
ifort*) _lt_dar_can_shared=yes ;;
10351
*) _lt_dar_can_shared=$GCC ;;
10353
if test "$_lt_dar_can_shared" = "yes"; then
10354
output_verbose_link_cmd=func_echo_all
10355
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10356
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10357
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}"
10358
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}"
10367
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10368
hardcode_libdir_flag_spec='-L$libdir'
10369
hardcode_shlibpath_var=no
10376
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10377
# support. Future versions do this automatically, but an explicit c++rt0.o
10378
# does not break anything, and helps significantly (at the cost of a little
10381
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10382
hardcode_libdir_flag_spec='-R$libdir'
10383
hardcode_direct=yes
10384
hardcode_shlibpath_var=no
10387
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10389
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10390
hardcode_direct=yes
10391
hardcode_minus_L=yes
10392
hardcode_shlibpath_var=no
10395
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10396
freebsd* | dragonfly*)
10397
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10398
hardcode_libdir_flag_spec='-R$libdir'
10399
hardcode_direct=yes
10400
hardcode_shlibpath_var=no
10404
if test "$GCC" = yes; then
10405
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10407
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'
10409
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10410
hardcode_libdir_separator=:
10411
hardcode_direct=yes
10413
# hardcode_minus_L: Not really in the search PATH,
10414
# but as the default location of the library.
10415
hardcode_minus_L=yes
10416
export_dynamic_flag_spec='${wl}-E'
10420
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10421
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10423
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10425
if test "$with_gnu_ld" = no; then
10426
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10427
hardcode_libdir_flag_spec_ld='+b $libdir'
10428
hardcode_libdir_separator=:
10429
hardcode_direct=yes
10430
hardcode_direct_absolute=yes
10431
export_dynamic_flag_spec='${wl}-E'
10432
# hardcode_minus_L: Not really in the search PATH,
10433
# but as the default location of the library.
10434
hardcode_minus_L=yes
10439
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10442
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10445
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10448
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10454
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10457
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10461
# Older versions of the 11.00 compiler do not understand -b yet
10462
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10464
$as_echo_n "checking if $CC understands -b... " >&6; }
10465
if ${lt_cv_prog_compiler__b+:} false; then :
10466
$as_echo_n "(cached) " >&6
10468
lt_cv_prog_compiler__b=no
10469
save_LDFLAGS="$LDFLAGS"
10470
LDFLAGS="$LDFLAGS -b"
10471
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10472
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10473
# The linker can only warn and ignore the option if not recognized
10474
# So say no if there are warnings
10475
if test -s conftest.err; then
10476
# Append any errors to the config.log.
10477
cat conftest.err 1>&5
10478
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10479
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10480
if diff conftest.exp conftest.er2 >/dev/null; then
10481
lt_cv_prog_compiler__b=yes
10484
lt_cv_prog_compiler__b=yes
10488
LDFLAGS="$save_LDFLAGS"
10491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10492
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10494
if test x"$lt_cv_prog_compiler__b" = xyes; then
10495
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10497
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10503
if test "$with_gnu_ld" = no; then
10504
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10505
hardcode_libdir_separator=:
10510
hardcode_shlibpath_var=no
10513
hardcode_direct=yes
10514
hardcode_direct_absolute=yes
10515
export_dynamic_flag_spec='${wl}-E'
10517
# hardcode_minus_L: Not really in the search PATH,
10518
# but as the default location of the library.
10519
hardcode_minus_L=yes
10525
irix5* | irix6* | nonstopux*)
10526
if test "$GCC" = yes; then
10527
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10528
# Try to use the -exported_symbol ld option, if it does not
10529
# work, assume that -exports_file does not work either and
10530
# implicitly export all symbols.
10531
# This should be the same for all languages, so no per-tag cache variable.
10532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10533
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10534
if ${lt_cv_irix_exported_symbol+:} false; then :
10535
$as_echo_n "(cached) " >&6
10537
save_LDFLAGS="$LDFLAGS"
10538
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10539
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540
/* end confdefs.h. */
10541
int foo (void) { return 0; }
10543
if ac_fn_c_try_link "$LINENO"; then :
10544
lt_cv_irix_exported_symbol=yes
10546
lt_cv_irix_exported_symbol=no
10548
rm -f core conftest.err conftest.$ac_objext \
10549
conftest$ac_exeext conftest.$ac_ext
10550
LDFLAGS="$save_LDFLAGS"
10552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10553
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10554
if test "$lt_cv_irix_exported_symbol" = yes; then
10555
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10558
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10559
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10561
archive_cmds_need_lc='no'
10562
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10563
hardcode_libdir_separator=:
10565
link_all_deplibs=yes
10568
netbsd* | netbsdelf*-gnu)
10569
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10570
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10572
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10574
hardcode_libdir_flag_spec='-R$libdir'
10575
hardcode_direct=yes
10576
hardcode_shlibpath_var=no
10580
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581
hardcode_direct=yes
10582
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10583
hardcode_libdir_separator=:
10584
hardcode_shlibpath_var=no
10591
if test -f /usr/libexec/ld.so; then
10592
hardcode_direct=yes
10593
hardcode_shlibpath_var=no
10594
hardcode_direct_absolute=yes
10595
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10596
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10597
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10598
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10599
export_dynamic_flag_spec='${wl}-E'
10602
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10603
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10604
hardcode_libdir_flag_spec='-R$libdir'
10607
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10608
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10618
hardcode_libdir_flag_spec='-L$libdir'
10619
hardcode_minus_L=yes
10620
allow_undefined_flag=unsupported
10621
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'
10622
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10626
if test "$GCC" = yes; then
10627
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10628
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10630
allow_undefined_flag=' -expect_unresolved \*'
10631
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10633
archive_cmds_need_lc='no'
10634
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635
hardcode_libdir_separator=:
10638
osf4* | osf5*) # as osf3* with the addition of -msym flag
10639
if test "$GCC" = yes; then
10640
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10641
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10642
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10644
allow_undefined_flag=' -expect_unresolved \*'
10645
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10646
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~
10647
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10649
# Both c and cxx compiler support -rpath directly
10650
hardcode_libdir_flag_spec='-rpath $libdir'
10652
archive_cmds_need_lc='no'
10653
hardcode_libdir_separator=:
10657
no_undefined_flag=' -z defs'
10658
if test "$GCC" = yes; then
10660
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10661
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10662
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10664
case `$CC -V 2>&1` in
10667
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10668
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10669
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10673
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10674
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10675
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10679
hardcode_libdir_flag_spec='-R$libdir'
10680
hardcode_shlibpath_var=no
10682
solaris2.[0-5] | solaris2.[0-5].*) ;;
10684
# The compiler driver will combine and reorder linker options,
10685
# but understands `-z linker_flag'. GCC discards it without `$wl',
10686
# but is careful enough not to reorder.
10687
# Supported since Solaris 2.6 (maybe 2.5.1?)
10688
if test "$GCC" = yes; then
10689
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10691
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10695
link_all_deplibs=yes
10699
if test "x$host_vendor" = xsequent; then
10700
# Use $CC to link under sequent, because it throws in some extra .o
10701
# files that make .init and .fini sections work.
10702
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10704
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10706
hardcode_libdir_flag_spec='-L$libdir'
10707
hardcode_direct=yes
10708
hardcode_minus_L=yes
10709
hardcode_shlibpath_var=no
10713
case $host_vendor in
10715
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10716
hardcode_direct=yes # is this really true???
10719
## LD is ld it makes a PLAMLIB
10720
## CC just makes a GrossModule.
10721
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10722
reload_cmds='$CC -r -o $output$reload_objs'
10726
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10727
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10730
runpath_var='LD_RUN_PATH'
10731
hardcode_shlibpath_var=no
10735
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10736
hardcode_shlibpath_var=no
10737
export_dynamic_flag_spec='-Bexport'
10741
if test -d /usr/nec; then
10742
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743
hardcode_shlibpath_var=no
10744
runpath_var=LD_RUN_PATH
10745
hardcode_runpath_var=yes
10750
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10751
no_undefined_flag='${wl}-z,text'
10752
archive_cmds_need_lc=no
10753
hardcode_shlibpath_var=no
10754
runpath_var='LD_RUN_PATH'
10756
if test "$GCC" = yes; then
10757
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10758
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10760
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10761
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10765
sysv5* | sco3.2v5* | sco5v6*)
10766
# Note: We can NOT use -z defs as we might desire, because we do not
10767
# link with -lc, and that would cause any symbols used from libc to
10768
# always be unresolved, which means just about no library would
10769
# ever link correctly. If we're not using GNU ld we use -z text
10770
# though, which does catch some bad symbols but isn't as heavy-handed
10772
no_undefined_flag='${wl}-z,text'
10773
allow_undefined_flag='${wl}-z,nodefs'
10774
archive_cmds_need_lc=no
10775
hardcode_shlibpath_var=no
10776
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10777
hardcode_libdir_separator=':'
10778
link_all_deplibs=yes
10779
export_dynamic_flag_spec='${wl}-Bexport'
10780
runpath_var='LD_RUN_PATH'
10782
if test "$GCC" = yes; then
10783
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10792
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10793
hardcode_libdir_flag_spec='-L$libdir'
10794
hardcode_shlibpath_var=no
10802
if test x$host_vendor = xsni; then
10804
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10805
export_dynamic_flag_spec='${wl}-Blargedynsym'
10811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10812
$as_echo "$ld_shlibs" >&6; }
10813
test "$ld_shlibs" = no && can_build_shared=no
10815
with_gnu_ld=$with_gnu_ld
10832
# Do we need to explicitly link libc?
10834
case "x$archive_cmds_need_lc" in
10836
# Assume -lc should be added
10837
archive_cmds_need_lc=yes
10839
if test "$enable_shared" = yes && test "$GCC" = yes; then
10840
case $archive_cmds in
10842
# FIXME: we may have to deal with multi-command sequences.
10845
# Test whether the compiler implicitly links with -lc since on some
10846
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10847
# to ld, don't add -lc before -lgcc.
10848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10849
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10850
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10851
$as_echo_n "(cached) " >&6
10854
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10856
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10857
(eval $ac_compile) 2>&5
10859
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10860
test $ac_status = 0; } 2>conftest.err; then
10863
libobjs=conftest.$ac_objext
10865
wl=$lt_prog_compiler_wl
10866
pic_flag=$lt_prog_compiler_pic
10872
lt_save_allow_undefined_flag=$allow_undefined_flag
10873
allow_undefined_flag=
10874
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10875
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10877
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10878
test $ac_status = 0; }
10880
lt_cv_archive_cmds_need_lc=no
10882
lt_cv_archive_cmds_need_lc=yes
10884
allow_undefined_flag=$lt_save_allow_undefined_flag
10886
cat conftest.err 1>&5
10891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10892
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10893
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11057
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11059
if test "$GCC" = yes; then
11061
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11062
*) lt_awk_arg="/^libraries:/" ;;
11065
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11066
*) lt_sed_strip_eq="s,=/,/,g" ;;
11068
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11069
case $lt_search_path_spec in
11071
# if the path contains ";" then we assume it to be the separator
11072
# otherwise default to the standard path separator (i.e. ":") - it is
11073
# assumed that no part of a normal pathname contains ";" but that should
11074
# okay in the real world where ";" in dirpaths is itself problematic.
11075
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11078
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11081
# Ok, now we have the path, separated by spaces, we can step through it
11082
# and add multilib dir if necessary.
11083
lt_tmp_lt_search_path_spec=
11084
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11085
for lt_sys_path in $lt_search_path_spec; do
11086
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11087
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11089
test -d "$lt_sys_path" && \
11090
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11093
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11094
BEGIN {RS=" "; FS="/|\n";} {
11097
for (lt_i = NF; lt_i > 0; lt_i--) {
11098
if ($lt_i != "" && $lt_i != ".") {
11099
if ($lt_i == "..") {
11102
if (lt_count == 0) {
11103
lt_foo="/" $lt_i lt_foo;
11110
if (lt_foo != "") { lt_freq[lt_foo]++; }
11111
if (lt_freq[lt_foo] == 1) { print lt_foo; }
11113
# AWK program above erroneously prepends '/' to C:/dos/paths
11116
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11117
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
11119
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11121
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11123
library_names_spec=
11124
libname_spec='lib$name'
11128
postuninstall_cmds=
11132
shlibpath_overrides_runpath=unknown
11134
dynamic_linker="$host_os ld.so"
11135
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11136
need_lib_prefix=unknown
11137
hardcode_into_libs=no
11139
# when you set need_version to no, make sure it does not cause -set_version
11140
# flags to be left without arguments
11141
need_version=unknown
11146
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11147
shlibpath_var=LIBPATH
11149
# AIX 3 has no versioning support, so we append a major version to the name.
11150
soname_spec='${libname}${release}${shared_ext}$major'
11157
hardcode_into_libs=yes
11158
if test "$host_cpu" = ia64; then
11159
# AIX 5 supports IA64
11160
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11161
shlibpath_var=LD_LIBRARY_PATH
11163
# With GCC up to 2.95.x, collect2 would create an import file
11164
# for dependence libraries. The import file would start with
11165
# the line `#! .'. This would cause the generated library to
11166
# depend on `.', always an invalid library. This was fixed in
11167
# development snapshots of GCC prior to 3.0.
11169
aix4 | aix4.[01] | aix4.[01].*)
11170
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11172
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11175
can_build_shared=no
11179
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11180
# soname into executable. Probably we can add versioning support to
11181
# collect2, so additional links can be useful in future.
11182
if test "$aix_use_runtimelinking" = yes; then
11183
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11184
# instead of lib<name>.a to let people know that these are not
11185
# typical AIX shared libraries.
11186
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11188
# We preserve .a as extension for shared libraries through AIX4.2
11189
# and later when we are not doing run time linking.
11190
library_names_spec='${libname}${release}.a $libname.a'
11191
soname_spec='${libname}${release}${shared_ext}$major'
11193
shlibpath_var=LIBPATH
11200
# Since July 2007 AmigaOS4 officially supports .so libraries.
11201
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11202
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205
library_names_spec='$libname.ixlibrary $libname.a'
11206
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11207
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11213
library_names_spec='${libname}${shared_ext}'
11214
dynamic_linker="$host_os ld.so"
11215
shlibpath_var=LIBRARY_PATH
11221
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222
soname_spec='${libname}${release}${shared_ext}$major'
11223
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11224
shlibpath_var=LD_LIBRARY_PATH
11225
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11226
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11227
# the default ld.so.conf also contains /usr/contrib/lib and
11228
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11229
# libtool to hard-code these into programs
11232
cygwin* | mingw* | pw32* | cegcc*)
11233
version_type=windows
11238
case $GCC,$cc_basename in
11241
library_names_spec='$libname.dll.a'
11242
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11243
postinstall_cmds='base_file=`basename \${file}`~
11244
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11245
dldir=$destdir/`dirname \$dlpath`~
11246
test -d \$dldir || mkdir -p \$dldir~
11247
$install_prog $dir/$dlname \$dldir/$dlname~
11248
chmod a+x \$dldir/$dlname~
11249
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11250
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11252
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11253
dlpath=$dir/\$dldll~
11255
shlibpath_overrides_runpath=yes
11259
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11260
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11262
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11265
# MinGW DLLs use traditional 'lib' prefix
11266
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11269
# pw32 DLLs use 'pw' prefix rather than 'lib'
11270
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11273
dynamic_linker='Win32 ld.exe'
11278
libname_spec='$name'
11279
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11280
library_names_spec='${libname}.dll.lib'
11284
sys_lib_search_path_spec=
11287
for lt_path in $LIB
11290
# Let DOS variable expansion print the short 8.3 style file name.
11291
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11292
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11295
# Convert to MSYS style.
11296
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11299
# Convert to unix form, then to dos form, then back to unix form
11300
# but this time dos style (no spaces!) so that the unix form looks
11301
# like /cygdrive/c/PROGRA~1:/cygdr...
11302
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11303
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11304
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11307
sys_lib_search_path_spec="$LIB"
11308
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11309
# It is most probably a Windows format PATH.
11310
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11312
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11314
# FIXME: find the short name or the path components, as spaces are
11315
# common. (e.g. "Program Files" -> "PROGRA~1")
11319
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11320
postinstall_cmds='base_file=`basename \${file}`~
11321
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11322
dldir=$destdir/`dirname \$dlpath`~
11323
test -d \$dldir || mkdir -p \$dldir~
11324
$install_prog $dir/$dlname \$dldir/$dlname'
11325
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11326
dlpath=$dir/\$dldll~
11328
shlibpath_overrides_runpath=yes
11329
dynamic_linker='Win32 link.exe'
11333
# Assume MSVC wrapper
11334
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11335
dynamic_linker='Win32 ld.exe'
11338
# FIXME: first we should search . and the directory the executable is in
11342
darwin* | rhapsody*)
11343
dynamic_linker="$host_os dyld"
11344
version_type=darwin
11347
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11348
soname_spec='${libname}${release}${major}$shared_ext'
11349
shlibpath_overrides_runpath=yes
11350
shlibpath_var=DYLD_LIBRARY_PATH
11351
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11353
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11354
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11361
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11362
soname_spec='${libname}${release}${shared_ext}$major'
11363
shlibpath_var=LD_LIBRARY_PATH
11370
freebsd* | dragonfly*)
11371
# DragonFly does not have aout. When/if they implement a new
11372
# versioning mechanism, adjust this.
11373
if test -x /usr/bin/objformat; then
11374
objformat=`/usr/bin/objformat`
11377
freebsd[123]*) objformat=aout ;;
11378
*) objformat=elf ;;
11381
version_type=freebsd-$objformat
11382
case $version_type in
11384
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11389
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11393
shlibpath_var=LD_LIBRARY_PATH
11396
shlibpath_overrides_runpath=yes
11398
freebsd3.[01]* | freebsdelf3.[01]*)
11399
shlibpath_overrides_runpath=yes
11400
hardcode_into_libs=yes
11402
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11403
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11404
shlibpath_overrides_runpath=no
11405
hardcode_into_libs=yes
11407
*) # from 4.6 on, and DragonFly
11408
shlibpath_overrides_runpath=yes
11409
hardcode_into_libs=yes
11418
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11419
soname_spec='${libname}${release}${shared_ext}$major'
11420
shlibpath_var=LD_LIBRARY_PATH
11421
shlibpath_overrides_runpath=no
11422
hardcode_into_libs=yes
11429
dynamic_linker="$host_os runtime_loader"
11430
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11431
soname_spec='${libname}${release}${shared_ext}$major'
11432
shlibpath_var=LIBRARY_PATH
11433
shlibpath_overrides_runpath=yes
11434
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11435
hardcode_into_libs=yes
11438
hpux9* | hpux10* | hpux11*)
11439
# Give a soname corresponding to the major version so that dld.sl refuses to
11440
# link against other versions.
11447
hardcode_into_libs=yes
11448
dynamic_linker="$host_os dld.so"
11449
shlibpath_var=LD_LIBRARY_PATH
11450
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11451
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452
soname_spec='${libname}${release}${shared_ext}$major'
11453
if test "X$HPUX_IA64_MODE" = X32; then
11454
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11456
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11458
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11462
hardcode_into_libs=yes
11463
dynamic_linker="$host_os dld.sl"
11464
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11465
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11466
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467
soname_spec='${libname}${release}${shared_ext}$major'
11468
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11469
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11473
dynamic_linker="$host_os dld.sl"
11474
shlibpath_var=SHLIB_PATH
11475
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11476
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477
soname_spec='${libname}${release}${shared_ext}$major'
11480
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11481
postinstall_cmds='chmod 555 $lib'
11482
# or fails outright, so override atomically:
11483
install_override_mode=555
11490
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11491
soname_spec='${libname}${release}${shared_ext}$major'
11492
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11493
shlibpath_var=LD_LIBRARY_PATH
11494
shlibpath_overrides_runpath=no
11495
hardcode_into_libs=yes
11498
irix5* | irix6* | nonstopux*)
11500
nonstopux*) version_type=nonstopux ;;
11502
if test "$lt_cv_prog_gnu_ld" = yes; then
11510
soname_spec='${libname}${release}${shared_ext}$major'
11511
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11513
irix5* | nonstopux*)
11514
libsuff= shlibsuff=
11517
case $LD in # libtool.m4 will add one of these switches to LD
11518
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11519
libsuff= shlibsuff= libmagic=32-bit;;
11520
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11521
libsuff=32 shlibsuff=N32 libmagic=N32;;
11522
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11523
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11524
*) libsuff= shlibsuff= libmagic=never-match;;
11528
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11529
shlibpath_overrides_runpath=no
11530
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11531
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11532
hardcode_into_libs=yes
11535
# No shared lib support for Linux oldld, aout, or coff.
11536
linux*oldld* | linux*aout* | linux*coff*)
11540
# This must be Linux ELF.
11541
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11545
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11546
soname_spec='${libname}${release}${shared_ext}$major'
11547
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11548
shlibpath_var=LD_LIBRARY_PATH
11549
shlibpath_overrides_runpath=no
11551
# Some binutils ld are patched to set DT_RUNPATH
11552
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11553
$as_echo_n "(cached) " >&6
11555
lt_cv_shlibpath_overrides_runpath=no
11556
save_LDFLAGS=$LDFLAGS
11557
save_libdir=$libdir
11558
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11559
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11560
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11561
/* end confdefs.h. */
11571
if ac_fn_c_try_link "$LINENO"; then :
11572
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11573
lt_cv_shlibpath_overrides_runpath=yes
11576
rm -f core conftest.err conftest.$ac_objext \
11577
conftest$ac_exeext conftest.$ac_ext
11578
LDFLAGS=$save_LDFLAGS
11579
libdir=$save_libdir
11583
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11585
# This implies no fast_install, which is unacceptable.
11586
# Some rework will be needed to allow for fast_install
11587
# before this can be enabled.
11588
hardcode_into_libs=yes
11590
# Append ld.so.conf contents to the search path
11591
if test -f /etc/ld.so.conf; then
11592
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11593
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11596
# We used to test for /lib/ld.so.1 and disable shared libraries on
11597
# powerpc, because MkLinux only supported shared libraries with the
11598
# GNU dynamic linker. Since this was broken with cross compilers,
11599
# most powerpc-linux boxes support dynamic linking these days and
11600
# people can always --disable-shared, the test was removed, and we
11601
# assume the GNU/Linux dynamic linker is in use.
11602
dynamic_linker='GNU/Linux ld.so'
11609
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11610
soname_spec='${libname}${release}${shared_ext}$major'
11611
shlibpath_var=LD_LIBRARY_PATH
11612
shlibpath_overrides_runpath=no
11613
hardcode_into_libs=yes
11614
dynamic_linker='NetBSD ld.elf_so'
11621
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11622
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11623
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11624
dynamic_linker='NetBSD (a.out) ld.so'
11626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11627
soname_spec='${libname}${release}${shared_ext}$major'
11628
dynamic_linker='NetBSD ld.elf_so'
11630
shlibpath_var=LD_LIBRARY_PATH
11631
shlibpath_overrides_runpath=yes
11632
hardcode_into_libs=yes
11637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638
shlibpath_var=LD_LIBRARY_PATH
11639
shlibpath_overrides_runpath=yes
11646
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647
soname_spec='${libname}${release}${shared_ext}$major'
11648
shlibpath_var=LD_LIBRARY_PATH
11649
shlibpath_overrides_runpath=no
11650
hardcode_into_libs=yes
11651
dynamic_linker='ldqnx.so'
11656
sys_lib_dlsearch_path_spec="/usr/lib"
11658
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11660
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11661
*) need_version=no ;;
11663
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11664
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11665
shlibpath_var=LD_LIBRARY_PATH
11666
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11668
openbsd2.[89] | openbsd2.[89].*)
11669
shlibpath_overrides_runpath=no
11672
shlibpath_overrides_runpath=yes
11676
shlibpath_overrides_runpath=yes
11681
libname_spec='$name'
11684
library_names_spec='$libname${shared_ext} $libname.a'
11685
dynamic_linker='OS/2 ld.exe'
11686
shlibpath_var=LIBPATH
11689
osf3* | osf4* | osf5*)
11693
soname_spec='${libname}${release}${shared_ext}$major'
11694
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695
shlibpath_var=LD_LIBRARY_PATH
11696
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11697
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11709
soname_spec='${libname}${release}${shared_ext}$major'
11710
shlibpath_var=LD_LIBRARY_PATH
11711
shlibpath_overrides_runpath=yes
11712
hardcode_into_libs=yes
11713
# ldd complains unless libraries are executable
11714
postinstall_cmds='chmod +x $lib'
11719
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11720
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11721
shlibpath_var=LD_LIBRARY_PATH
11722
shlibpath_overrides_runpath=yes
11723
if test "$with_gnu_ld" = yes; then
11731
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11732
soname_spec='${libname}${release}${shared_ext}$major'
11733
shlibpath_var=LD_LIBRARY_PATH
11734
case $host_vendor in
11736
shlibpath_overrides_runpath=no
11738
runpath_var=LD_RUN_PATH
11746
shlibpath_overrides_runpath=no
11747
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11753
if test -d /usr/nec ;then
11755
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11756
soname_spec='$libname${shared_ext}.$major'
11757
shlibpath_var=LD_LIBRARY_PATH
11761
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11762
version_type=freebsd-elf
11765
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11766
soname_spec='${libname}${release}${shared_ext}$major'
11767
shlibpath_var=LD_LIBRARY_PATH
11768
shlibpath_overrides_runpath=yes
11769
hardcode_into_libs=yes
11770
if test "$with_gnu_ld" = yes; then
11771
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11773
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11776
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11780
sys_lib_dlsearch_path_spec='/usr/lib'
11784
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11788
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11789
shlibpath_var=LD_LIBRARY_PATH
11790
shlibpath_overrides_runpath=no
11791
hardcode_into_libs=yes
11796
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11797
soname_spec='${libname}${release}${shared_ext}$major'
11798
shlibpath_var=LD_LIBRARY_PATH
11805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11806
$as_echo "$dynamic_linker" >&6; }
11807
test "$dynamic_linker" = no && can_build_shared=no
11809
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11810
if test "$GCC" = yes; then
11811
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11814
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11815
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11817
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11818
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11913
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11915
if test -n "$hardcode_libdir_flag_spec" ||
11916
test -n "$runpath_var" ||
11917
test "X$hardcode_automatic" = "Xyes" ; then
11919
# We can hardcode non-existent directories.
11920
if test "$hardcode_direct" != no &&
11921
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11922
# have to relink, otherwise we might link with an installed library
11923
# when we should be linking with a yet-to-be-installed one
11924
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11925
test "$hardcode_minus_L" != no; then
11926
# Linking always hardcodes the temporary library directory.
11927
hardcode_action=relink
11929
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11930
hardcode_action=immediate
11933
# We cannot hardcode anything, or else we can only hardcode existing
11935
hardcode_action=unsupported
11937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11938
$as_echo "$hardcode_action" >&6; }
11940
if test "$hardcode_action" = relink ||
11941
test "$inherit_rpath" = yes; then
11942
# Fast installation is not supported
11943
enable_fast_install=no
11944
elif test "$shlibpath_overrides_runpath" = yes ||
11945
test "$enable_shared" = no; then
11946
# Fast installation is not necessary
11947
enable_fast_install=needless
11955
if test "x$enable_dlopen" != xyes; then
11956
enable_dlopen=unknown
11957
enable_dlopen_self=unknown
11958
enable_dlopen_self_static=unknown
11965
lt_cv_dlopen="load_add_on"
11967
lt_cv_dlopen_self=yes
11970
mingw* | pw32* | cegcc*)
11971
lt_cv_dlopen="LoadLibrary"
11976
lt_cv_dlopen="dlopen"
11981
# if libdl is installed we need to link against it
11982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11983
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11984
if ${ac_cv_lib_dl_dlopen+:} false; then :
11985
$as_echo_n "(cached) " >&6
11987
ac_check_lib_save_LIBS=$LIBS
11989
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990
/* end confdefs.h. */
11992
/* Override any GCC internal prototype to avoid an error.
11993
Use char because int might match the return type of a GCC
11994
builtin and then its argument prototype would still apply. */
12007
if ac_fn_c_try_link "$LINENO"; then :
12008
ac_cv_lib_dl_dlopen=yes
12010
ac_cv_lib_dl_dlopen=no
12012
rm -f core conftest.err conftest.$ac_objext \
12013
conftest$ac_exeext conftest.$ac_ext
12014
LIBS=$ac_check_lib_save_LIBS
12016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12017
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12018
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12019
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12022
lt_cv_dlopen="dyld"
12024
lt_cv_dlopen_self=yes
12031
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12032
if test "x$ac_cv_func_shl_load" = xyes; then :
12033
lt_cv_dlopen="shl_load"
12035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12036
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12037
if ${ac_cv_lib_dld_shl_load+:} false; then :
12038
$as_echo_n "(cached) " >&6
12040
ac_check_lib_save_LIBS=$LIBS
12042
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043
/* end confdefs.h. */
12045
/* Override any GCC internal prototype to avoid an error.
12046
Use char because int might match the return type of a GCC
12047
builtin and then its argument prototype would still apply. */
12055
return shl_load ();
12060
if ac_fn_c_try_link "$LINENO"; then :
12061
ac_cv_lib_dld_shl_load=yes
12063
ac_cv_lib_dld_shl_load=no
12065
rm -f core conftest.err conftest.$ac_objext \
12066
conftest$ac_exeext conftest.$ac_ext
12067
LIBS=$ac_check_lib_save_LIBS
12069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12070
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12071
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12072
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12074
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12075
if test "x$ac_cv_func_dlopen" = xyes; then :
12076
lt_cv_dlopen="dlopen"
12078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12079
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12080
if ${ac_cv_lib_dl_dlopen+:} false; then :
12081
$as_echo_n "(cached) " >&6
12083
ac_check_lib_save_LIBS=$LIBS
12085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086
/* end confdefs.h. */
12088
/* Override any GCC internal prototype to avoid an error.
12089
Use char because int might match the return type of a GCC
12090
builtin and then its argument prototype would still apply. */
12103
if ac_fn_c_try_link "$LINENO"; then :
12104
ac_cv_lib_dl_dlopen=yes
12106
ac_cv_lib_dl_dlopen=no
12108
rm -f core conftest.err conftest.$ac_objext \
12109
conftest$ac_exeext conftest.$ac_ext
12110
LIBS=$ac_check_lib_save_LIBS
12112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12113
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12114
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12115
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12118
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12119
if ${ac_cv_lib_svld_dlopen+:} false; then :
12120
$as_echo_n "(cached) " >&6
12122
ac_check_lib_save_LIBS=$LIBS
12123
LIBS="-lsvld $LIBS"
12124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125
/* end confdefs.h. */
12127
/* Override any GCC internal prototype to avoid an error.
12128
Use char because int might match the return type of a GCC
12129
builtin and then its argument prototype would still apply. */
12142
if ac_fn_c_try_link "$LINENO"; then :
12143
ac_cv_lib_svld_dlopen=yes
12145
ac_cv_lib_svld_dlopen=no
12147
rm -f core conftest.err conftest.$ac_objext \
12148
conftest$ac_exeext conftest.$ac_ext
12149
LIBS=$ac_check_lib_save_LIBS
12151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12152
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12153
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12154
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12157
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12158
if ${ac_cv_lib_dld_dld_link+:} false; then :
12159
$as_echo_n "(cached) " >&6
12161
ac_check_lib_save_LIBS=$LIBS
12163
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164
/* end confdefs.h. */
12166
/* Override any GCC internal prototype to avoid an error.
12167
Use char because int might match the return type of a GCC
12168
builtin and then its argument prototype would still apply. */
12176
return dld_link ();
12181
if ac_fn_c_try_link "$LINENO"; then :
12182
ac_cv_lib_dld_dld_link=yes
12184
ac_cv_lib_dld_dld_link=no
12186
rm -f core conftest.err conftest.$ac_objext \
12187
conftest$ac_exeext conftest.$ac_ext
12188
LIBS=$ac_check_lib_save_LIBS
12190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12191
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12192
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12193
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12214
if test "x$lt_cv_dlopen" != xno; then
12220
case $lt_cv_dlopen in
12222
save_CPPFLAGS="$CPPFLAGS"
12223
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12225
save_LDFLAGS="$LDFLAGS"
12226
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12229
LIBS="$lt_cv_dlopen_libs $LIBS"
12231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12232
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12233
if ${lt_cv_dlopen_self+:} false; then :
12234
$as_echo_n "(cached) " >&6
12236
if test "$cross_compiling" = yes; then :
12237
lt_cv_dlopen_self=cross
12239
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12240
lt_status=$lt_dlunknown
12241
cat > conftest.$ac_ext <<_LT_EOF
12242
#line $LINENO "configure"
12243
#include "confdefs.h"
12252
# define LT_DLGLOBAL RTLD_GLOBAL
12255
# define LT_DLGLOBAL DL_GLOBAL
12257
# define LT_DLGLOBAL 0
12261
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12262
find out it does not work in some platform. */
12263
#ifndef LT_DLLAZY_OR_NOW
12265
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12268
# define LT_DLLAZY_OR_NOW DL_LAZY
12271
# define LT_DLLAZY_OR_NOW RTLD_NOW
12274
# define LT_DLLAZY_OR_NOW DL_NOW
12276
# define LT_DLLAZY_OR_NOW 0
12283
/* When -fvisbility=hidden is used, assume the code has been annotated
12284
correspondingly for the symbols needed. */
12285
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12286
int fnord () __attribute__((visibility("default")));
12289
int fnord () { return 42; }
12292
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12293
int status = $lt_dlunknown;
12297
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12300
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12301
else puts (dlerror ());
12303
/* dlclose (self); */
12311
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12312
(eval $ac_link) 2>&5
12314
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12316
(./conftest; exit; ) >&5 2>/dev/null
12318
case x$lt_status in
12319
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12320
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12321
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12324
# compilation failed
12325
lt_cv_dlopen_self=no
12332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12333
$as_echo "$lt_cv_dlopen_self" >&6; }
12335
if test "x$lt_cv_dlopen_self" = xyes; then
12336
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12338
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12339
if ${lt_cv_dlopen_self_static+:} false; then :
12340
$as_echo_n "(cached) " >&6
12342
if test "$cross_compiling" = yes; then :
12343
lt_cv_dlopen_self_static=cross
12345
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12346
lt_status=$lt_dlunknown
12347
cat > conftest.$ac_ext <<_LT_EOF
12348
#line $LINENO "configure"
12349
#include "confdefs.h"
12358
# define LT_DLGLOBAL RTLD_GLOBAL
12361
# define LT_DLGLOBAL DL_GLOBAL
12363
# define LT_DLGLOBAL 0
12367
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12368
find out it does not work in some platform. */
12369
#ifndef LT_DLLAZY_OR_NOW
12371
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12374
# define LT_DLLAZY_OR_NOW DL_LAZY
12377
# define LT_DLLAZY_OR_NOW RTLD_NOW
12380
# define LT_DLLAZY_OR_NOW DL_NOW
12382
# define LT_DLLAZY_OR_NOW 0
12389
/* When -fvisbility=hidden is used, assume the code has been annotated
12390
correspondingly for the symbols needed. */
12391
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12392
int fnord () __attribute__((visibility("default")));
12395
int fnord () { return 42; }
12398
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12399
int status = $lt_dlunknown;
12403
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12406
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12407
else puts (dlerror ());
12409
/* dlclose (self); */
12417
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12418
(eval $ac_link) 2>&5
12420
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12421
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12422
(./conftest; exit; ) >&5 2>/dev/null
12424
case x$lt_status in
12425
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12426
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12427
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12430
# compilation failed
12431
lt_cv_dlopen_self_static=no
12438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12439
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12442
CPPFLAGS="$save_CPPFLAGS"
12443
LDFLAGS="$save_LDFLAGS"
12448
case $lt_cv_dlopen_self in
12449
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12450
*) enable_dlopen_self=unknown ;;
12453
case $lt_cv_dlopen_self_static in
12454
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12455
*) enable_dlopen_self_static=unknown ;;
12477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12478
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12479
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12480
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12481
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12483
$as_echo "yes" >&6; }
12485
# FIXME - insert some real tests, host_os isn't really good enough
12488
if test -n "$STRIP" ; then
12489
striplib="$STRIP -x"
12490
old_striplib="$STRIP -S"
12491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12492
$as_echo "yes" >&6; }
12494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495
$as_echo "no" >&6; }
12499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500
$as_echo "no" >&6; }
12516
# Report which library types will actually be built
12517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12518
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12520
$as_echo "$can_build_shared" >&6; }
12522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12523
$as_echo_n "checking whether to build shared libraries... " >&6; }
12524
test "$can_build_shared" = "no" && enable_shared=no
12526
# On AIX, shared libraries and static libraries use the same namespace, and
12527
# are all built from PIC.
12530
test "$enable_shared" = yes && enable_static=no
12531
if test -n "$RANLIB"; then
12532
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12533
postinstall_cmds='$RANLIB $lib'
12538
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12539
test "$enable_shared" = yes && enable_static=no
12543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12544
$as_echo "$enable_shared" >&6; }
12546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12547
$as_echo_n "checking whether to build static libraries... " >&6; }
12548
# Make sure either enable_shared or enable_static is yes.
12549
test "$enable_shared" = yes || enable_static=yes
12550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12551
$as_echo "$enable_static" >&6; }
12558
ac_cpp='$CPP $CPPFLAGS'
12559
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12577
ac_config_commands="$ac_config_commands libtool"
12582
# Only expand once:
12595
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12596
if test -n "$ac_tool_prefix"; then
12597
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12598
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600
$as_echo_n "checking for $ac_word... " >&6; }
12601
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12602
$as_echo_n "(cached) " >&6
12604
case $PKG_CONFIG in
12606
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610
for as_dir in $PATH
12613
test -z "$as_dir" && as_dir=.
12614
for ac_exec_ext in '' $ac_executable_extensions; do
12615
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12617
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12627
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12628
if test -n "$PKG_CONFIG"; then
12629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12630
$as_echo "$PKG_CONFIG" >&6; }
12632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633
$as_echo "no" >&6; }
12638
if test -z "$ac_cv_path_PKG_CONFIG"; then
12639
ac_pt_PKG_CONFIG=$PKG_CONFIG
12640
# Extract the first word of "pkg-config", so it can be a program name with args.
12641
set dummy pkg-config; ac_word=$2
12642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12643
$as_echo_n "checking for $ac_word... " >&6; }
12644
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12645
$as_echo_n "(cached) " >&6
12647
case $ac_pt_PKG_CONFIG in
12649
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12653
for as_dir in $PATH
12656
test -z "$as_dir" && as_dir=.
12657
for ac_exec_ext in '' $ac_executable_extensions; do
12658
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12659
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12660
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12670
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12671
if test -n "$ac_pt_PKG_CONFIG"; then
12672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12673
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12676
$as_echo "no" >&6; }
12679
if test "x$ac_pt_PKG_CONFIG" = x; then
12682
case $cross_compiling:$ac_tool_warned in
12684
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12685
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12686
ac_tool_warned=yes ;;
12688
PKG_CONFIG=$ac_pt_PKG_CONFIG
12691
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12695
if test -n "$PKG_CONFIG"; then
12696
_pkg_min_version=0.9.0
12697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12698
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12699
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12701
$as_echo "yes" >&6; }
12703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704
$as_echo "no" >&6; }
12710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PDF_CONVERTER" >&5
12711
$as_echo_n "checking for PDF_CONVERTER... " >&6; }
12713
if test -n "$PDF_CONVERTER_CFLAGS"; then
12714
pkg_cv_PDF_CONVERTER_CFLAGS="$PDF_CONVERTER_CFLAGS"
12715
elif test -n "$PKG_CONFIG"; then
12716
if test -n "$PKG_CONFIG" && \
12717
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 2.90.3 \""; } >&5
12718
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 2.90.3 ") 2>&5
12720
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12721
test $ac_status = 0; }; then
12722
pkg_cv_PDF_CONVERTER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 2.90.3 " 2>/dev/null`
12723
test "x$?" != "x0" && pkg_failed=yes
12730
if test -n "$PDF_CONVERTER_LIBS"; then
12731
pkg_cv_PDF_CONVERTER_LIBS="$PDF_CONVERTER_LIBS"
12732
elif test -n "$PKG_CONFIG"; then
12733
if test -n "$PKG_CONFIG" && \
12734
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 2.90.3 \""; } >&5
12735
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 2.90.3 ") 2>&5
12737
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12738
test $ac_status = 0; }; then
12739
pkg_cv_PDF_CONVERTER_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 2.90.3 " 2>/dev/null`
12740
test "x$?" != "x0" && pkg_failed=yes
12750
if test $pkg_failed = yes; then
12751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752
$as_echo "no" >&6; }
12754
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12755
_pkg_short_errors_supported=yes
12757
_pkg_short_errors_supported=no
12759
if test $_pkg_short_errors_supported = yes; then
12760
PDF_CONVERTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 2.90.3 " 2>&1`
12762
PDF_CONVERTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 2.90.3 " 2>&1`
12764
# Put the nasty error message in config.log where it belongs
12765
echo "$PDF_CONVERTER_PKG_ERRORS" >&5
12767
as_fn_error $? "Package requirements (gtk+-3.0 >= 2.90.3 ) were not met:
12769
$PDF_CONVERTER_PKG_ERRORS
12771
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12772
installed software in a non-standard prefix.
12774
Alternatively, you may set the environment variables PDF_CONVERTER_CFLAGS
12775
and PDF_CONVERTER_LIBS to avoid the need to call pkg-config.
12776
See the pkg-config man page for more details." "$LINENO" 5
12777
elif test $pkg_failed = untried; then
12778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12779
$as_echo "no" >&6; }
12780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12781
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12782
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12783
is in your PATH or set the PKG_CONFIG environment variable to the full
12784
path to pkg-config.
12786
Alternatively, you may set the environment variables PDF_CONVERTER_CFLAGS
12787
and PDF_CONVERTER_LIBS to avoid the need to call pkg-config.
12788
See the pkg-config man page for more details.
12790
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12791
See \`config.log' for more details" "$LINENO" 5; }
12793
PDF_CONVERTER_CFLAGS=$pkg_cv_PDF_CONVERTER_CFLAGS
12794
PDF_CONVERTER_LIBS=$pkg_cv_PDF_CONVERTER_LIBS
12795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12796
$as_echo "yes" >&6; }
12803
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
12805
cat >confcache <<\_ACEOF
12806
# This file is a shell script that caches the results of configure
12807
# tests run on this system so they can be shared between configure
12808
# scripts and configure runs, see configure's option --config-cache.
12809
# It is not useful on other systems. If it contains results you don't
12810
# want to keep, you may remove or edit it.
12812
# config.status only pays attention to the cache file if you give it
12813
# the --recheck option to rerun configure.
12815
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12816
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12817
# following values.
12821
# The following way of writing the cache mishandles newlines in values,
12822
# but we know of no workaround that is simple, portable, and efficient.
12823
# So, we kill variables containing newlines.
12824
# Ultrix sh set writes to stderr and can't be redirected directly,
12825
# and sets the high bit in the cache file unless we assign to the vars.
12827
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12828
eval ac_val=\$$ac_var
12832
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12833
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12836
_ | IFS | as_nl) ;; #(
12837
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12838
*) { eval $ac_var=; unset $ac_var;} ;;
12844
case $as_nl`(ac_space=' '; set) 2>&1` in #(
12845
*${as_nl}ac_space=\ *)
12846
# `set' does not quote correctly, so add quotes: double-quote
12847
# substitution turns \\\\ into \\, and sed turns \\ into \.
12850
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12853
# `set' quotes correctly as required by POSIX, so do not add quotes.
12854
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12863
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12865
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12867
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12868
if test -w "$cache_file"; then
12869
if test "x$cache_file" != "x/dev/null"; then
12870
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12871
$as_echo "$as_me: updating cache $cache_file" >&6;}
12872
if test ! -f "$cache_file" || test -h "$cache_file"; then
12873
cat confcache >"$cache_file"
12875
case $cache_file in #(
12877
mv -f confcache "$cache_file"$$ &&
12878
mv -f "$cache_file"$$ "$cache_file" ;; #(
12880
mv -f confcache "$cache_file" ;;
12885
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12886
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12891
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12892
# Let make expand exec_prefix.
12893
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12895
DEFS=-DHAVE_CONFIG_H
12900
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12901
# 1. Remove the extension, and $U if already installed.
12902
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12903
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12904
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12905
# will be set to the directory where LIBOBJS objects are built.
12906
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12907
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12909
LIBOBJS=$ac_libobjs
12911
LTLIBOBJS=$ac_ltlibobjs
12914
if test -n "$EXEEXT"; then
12916
am__EXEEXT_FALSE='#'
12918
am__EXEEXT_TRUE='#'
12922
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12923
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12924
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12926
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12927
as_fn_error $? "conditional \"AMDEP\" was never defined.
12928
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12930
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12931
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12932
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12935
ac_config_commands="$ac_config_commands po/stamp-it"
12939
: "${CONFIG_STATUS=./config.status}"
12941
ac_clean_files_save=$ac_clean_files
12942
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12943
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12944
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12946
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12948
# Generated by $as_me.
12949
# Run this file to recreate the current configuration.
12950
# Compiler output produced by configure, useful for debugging
12951
# configure, is in config.log if it exists.
12954
ac_cs_recheck=false
12957
SHELL=\${CONFIG_SHELL-$SHELL}
12960
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12961
## -------------------- ##
12962
## M4sh Initialization. ##
12963
## -------------------- ##
12965
# Be more Bourne compatible
12966
DUALCASE=1; export DUALCASE # for MKS sh
12967
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12970
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12971
# is contrary to our usage. Disable this feature.
12972
alias -g '${1+"$@"}'='"$@"'
12973
setopt NO_GLOB_SUBST
12975
case `(set -o) 2>/dev/null` in #(
12987
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12988
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12989
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12990
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12991
# Prefer a ksh shell builtin over an external printf program on Solaris,
12992
# but without wasting forks for bash or zsh.
12993
if test -z "$BASH_VERSION$ZSH_VERSION" \
12994
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12995
as_echo='print -r --'
12996
as_echo_n='print -rn --'
12997
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12998
as_echo='printf %s\n'
12999
as_echo_n='printf %s'
13001
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13002
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13003
as_echo_n='/usr/ucb/echo -n'
13005
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13006
as_echo_n_body='eval
13010
expr "X$arg" : "X\\(.*\\)$as_nl";
13011
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13013
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13015
export as_echo_n_body
13016
as_echo_n='sh -c $as_echo_n_body as_echo'
13018
export as_echo_body
13019
as_echo='sh -c $as_echo_body as_echo'
13022
# The user is always right.
13023
if test "${PATH_SEPARATOR+set}" != set; then
13025
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13026
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13033
# We need space, tab and new line, in precisely that order. Quoting is
13034
# there to prevent editors from complaining about space-tab.
13035
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13036
# splitting by setting IFS to empty value.)
13039
# Find who we are. Look in the path if we contain no directory separator.
13042
*[\\/]* ) as_myself=$0 ;;
13043
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044
for as_dir in $PATH
13047
test -z "$as_dir" && as_dir=.
13048
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13054
# We did not find ourselves, most probably we were run as `sh COMMAND'
13055
# in which case we are not to be found in the path.
13056
if test "x$as_myself" = x; then
13059
if test ! -f "$as_myself"; then
13060
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13064
# Unset variables that we do not need and which cause bugs (e.g. in
13065
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13066
# suppresses any "Segmentation fault" message there. '((' could
13067
# trigger a bug in pdksh 5.2.14.
13068
for as_var in BASH_ENV ENV MAIL MAILPATH
13069
do eval test x\${$as_var+set} = xset \
13070
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13083
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13086
# as_fn_error STATUS ERROR [LINENO LOG_FD]
13087
# ----------------------------------------
13088
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13089
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13090
# script with STATUS, using 1 if that was 0.
13093
as_status=$1; test $as_status -eq 0 && as_status=1
13095
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13096
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13098
$as_echo "$as_me: error: $2" >&2
13099
as_fn_exit $as_status
13103
# as_fn_set_status STATUS
13104
# -----------------------
13105
# Set $? to STATUS, without forking.
13106
as_fn_set_status ()
13109
} # as_fn_set_status
13111
# as_fn_exit STATUS
13112
# -----------------
13113
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13117
as_fn_set_status $1
13123
# Portably unset VAR.
13126
{ eval $1=; unset $1;}
13128
as_unset=as_fn_unset
13129
# as_fn_append VAR VALUE
13130
# ----------------------
13131
# Append the text in VALUE to the end of the definition contained in VAR. Take
13132
# advantage of any shell optimizations that allow amortized linear growth over
13133
# repeated appends, instead of the typical quadratic growth present in naive
13135
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13136
eval 'as_fn_append ()
13147
# as_fn_arith ARG...
13148
# ------------------
13149
# Perform arithmetic evaluation on the ARGs, and store the result in the
13150
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13151
# must be portable across $(()) and expr.
13152
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13153
eval 'as_fn_arith ()
13160
as_val=`expr "$@" || test $? -eq 1`
13165
if expr a : '\(a\)' >/dev/null 2>&1 &&
13166
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13172
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13173
as_basename=basename
13178
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13184
as_me=`$as_basename -- "$0" ||
13185
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13186
X"$0" : 'X\(//\)$' \| \
13187
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13189
sed '/^.*\/\([^/][^/]*\)\/*$/{
13203
# Avoid depending upon Character Ranges.
13204
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13205
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13206
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13207
as_cr_digits='0123456789'
13208
as_cr_alnum=$as_cr_Letters$as_cr_digits
13210
ECHO_C= ECHO_N= ECHO_T=
13211
case `echo -n x` in #(((((
13213
case `echo 'xy\c'` in
13214
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13216
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13223
rm -f conf$$ conf$$.exe conf$$.file
13224
if test -d conf$$.dir; then
13225
rm -f conf$$.dir/conf$$.file
13228
mkdir conf$$.dir 2>/dev/null
13230
if (echo >conf$$.file) 2>/dev/null; then
13231
if ln -s conf$$.file conf$$ 2>/dev/null; then
13233
# ... but there are two gotchas:
13234
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13235
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13236
# In both cases, we have to default to `cp -p'.
13237
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13239
elif ln conf$$.file conf$$ 2>/dev/null; then
13247
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13248
rmdir conf$$.dir 2>/dev/null
13253
# Create "$as_dir" as a directory, including parents if necessary.
13258
-*) as_dir=./$as_dir;;
13260
test -d "$as_dir" || eval $as_mkdir_p || {
13264
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13265
*) as_qdir=$as_dir;;
13267
as_dirs="'$as_qdir' $as_dirs"
13268
as_dir=`$as_dirname -- "$as_dir" ||
13269
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13270
X"$as_dir" : 'X\(//\)[^/]' \| \
13271
X"$as_dir" : 'X\(//\)$' \| \
13272
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13273
$as_echo X"$as_dir" |
13274
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13278
/^X\(\/\/\)[^/].*/{
13291
test -d "$as_dir" && break
13293
test -z "$as_dirs" || eval "mkdir $as_dirs"
13294
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13298
if mkdir -p . 2>/dev/null; then
13299
as_mkdir_p='mkdir -p "$as_dir"'
13301
test -d ./-p && rmdir ./-p
13305
if test -x / >/dev/null 2>&1; then
13306
as_test_x='test -x'
13308
if ls -dL / >/dev/null 2>&1; then
13315
if test -d "$1"; then
13321
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13322
???[sx]*):;;*)false;;esac;fi
13326
as_executable_p=$as_test_x
13328
# Sed expression to map a string onto a valid CPP name.
13329
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13331
# Sed expression to map a string onto a valid variable name.
13332
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13336
## ----------------------------------- ##
13337
## Main body of $CONFIG_STATUS script. ##
13338
## ----------------------------------- ##
13340
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13342
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13343
# Save the log message, to keep $0 and so on meaningful, and to
13344
# report actual input values of CONFIG_FILES etc. instead of their
13345
# values after options handling.
13347
This file was extended by pdf_converter $as_me 0.1, which was
13348
generated by GNU Autoconf 2.68. Invocation command line was
13350
CONFIG_FILES = $CONFIG_FILES
13351
CONFIG_HEADERS = $CONFIG_HEADERS
13352
CONFIG_LINKS = $CONFIG_LINKS
13353
CONFIG_COMMANDS = $CONFIG_COMMANDS
13356
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13361
case $ac_config_files in *"
13362
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13365
case $ac_config_headers in *"
13366
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13370
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13371
# Files that config.status was made for.
13372
config_files="$ac_config_files"
13373
config_headers="$ac_config_headers"
13374
config_commands="$ac_config_commands"
13378
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13380
\`$as_me' instantiates files and other configuration actions
13381
from templates according to the current configuration. Unless the files
13382
and actions are specified as TAGs, all are instantiated by default.
13384
Usage: $0 [OPTION]... [TAG]...
13386
-h, --help print this help, then exit
13387
-V, --version print version number and configuration settings, then exit
13388
--config print configuration, then exit
13389
-q, --quiet, --silent
13390
do not print progress messages
13391
-d, --debug don't remove temporary files
13392
--recheck update $as_me by reconfiguring in the same conditions
13393
--file=FILE[:TEMPLATE]
13394
instantiate the configuration file FILE
13395
--header=FILE[:TEMPLATE]
13396
instantiate the configuration header FILE
13398
Configuration files:
13401
Configuration headers:
13404
Configuration commands:
13407
Report bugs to the package provider."
13410
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13411
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13413
pdf_converter config.status 0.1
13414
configured by $0, generated by GNU Autoconf 2.68,
13415
with options \\"\$ac_cs_config\\"
13417
Copyright (C) 2010 Free Software Foundation, Inc.
13418
This config.status script is free software; the Free Software Foundation
13419
gives unlimited permission to copy, distribute and modify it."
13426
test -n "\$AWK" || AWK=awk
13429
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13430
# The default lists apply if the user does not specify any file.
13436
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13437
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13441
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13453
# Handling of the options.
13454
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13456
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13457
$as_echo "$ac_cs_version"; exit ;;
13458
--config | --confi | --conf | --con | --co | --c )
13459
$as_echo "$ac_cs_config"; exit ;;
13460
--debug | --debu | --deb | --de | --d | -d )
13462
--file | --fil | --fi | --f )
13465
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13466
'') as_fn_error $? "missing file argument" ;;
13468
as_fn_append CONFIG_FILES " '$ac_optarg'"
13469
ac_need_defaults=false;;
13470
--header | --heade | --head | --hea )
13473
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13475
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13476
ac_need_defaults=false;;
13478
# Conflict between --help and --header
13479
as_fn_error $? "ambiguous option: \`$1'
13480
Try \`$0 --help' for more information.";;
13481
--help | --hel | -h )
13482
$as_echo "$ac_cs_usage"; exit ;;
13483
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13484
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13487
# This is an error.
13488
-*) as_fn_error $? "unrecognized option: \`$1'
13489
Try \`$0 --help' for more information." ;;
13491
*) as_fn_append ac_config_targets " $1"
13492
ac_need_defaults=false ;;
13498
ac_configure_extra_args=
13500
if $ac_cs_silent; then
13502
ac_configure_extra_args="$ac_configure_extra_args --silent"
13506
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13507
if \$ac_cs_recheck; then
13508
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13510
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13511
CONFIG_SHELL='$SHELL'
13512
export CONFIG_SHELL
13517
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13521
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13522
## Running $as_me. ##
13528
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13532
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13536
# The HP-UX ksh and POSIX shell print the target directory to stdout
13537
# if CDPATH is set.
13538
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13540
sed_quote_subst='$sed_quote_subst'
13541
double_quote_subst='$double_quote_subst'
13542
delay_variable_subst='$delay_variable_subst'
13543
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13544
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13545
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13546
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13547
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13548
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13549
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13550
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13551
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13552
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13553
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13554
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13555
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13556
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13557
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13558
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13559
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13560
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13561
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13562
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13563
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13564
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13565
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13566
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13567
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13568
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13569
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13570
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13571
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13572
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13573
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13574
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13575
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13576
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13577
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13578
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13579
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13580
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13581
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13582
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13583
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13584
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13585
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13586
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13587
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13588
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13589
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13590
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13591
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13592
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13593
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13594
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13595
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13596
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13597
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13598
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13599
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13600
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13601
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13602
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13603
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13604
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13605
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13606
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13607
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13608
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13609
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13610
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13611
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13612
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13613
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13614
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13615
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13616
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13617
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13618
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13619
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13620
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13621
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13622
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13623
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13624
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13625
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13626
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13627
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13628
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13629
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13630
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13631
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13632
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13633
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13634
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13635
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13636
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13637
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13638
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13639
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13640
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13641
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13642
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13643
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13644
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13645
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13646
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13647
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13648
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13649
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13650
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13651
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13652
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13653
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13654
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13655
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13656
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13657
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13658
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13659
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13660
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13661
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13662
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13663
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13664
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13665
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13666
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13667
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13668
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13669
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13670
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13671
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13672
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13675
LTCFLAGS='$LTCFLAGS'
13676
compiler='$compiler_DEFAULT'
13678
# A function that is used when there is no print builtin or printf.
13679
func_fallback_echo ()
13681
eval 'cat <<_LTECHO_EOF
13686
# Quote evaled strings.
13700
deplibs_check_method \
13705
sharedlib_from_linklib_cmd \
13708
archiver_list_spec \
13714
lt_cv_sys_global_symbol_pipe \
13715
lt_cv_sys_global_symbol_to_cdecl \
13716
lt_cv_sys_global_symbol_to_c_name_address \
13717
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13718
nm_file_list_spec \
13719
lt_prog_compiler_no_builtin_flag \
13720
lt_prog_compiler_pic \
13721
lt_prog_compiler_wl \
13722
lt_prog_compiler_static \
13723
lt_cv_prog_compiler_c_o \
13732
export_dynamic_flag_spec \
13733
whole_archive_flag_spec \
13734
compiler_needs_object \
13736
allow_undefined_flag \
13737
no_undefined_flag \
13738
hardcode_libdir_flag_spec \
13739
hardcode_libdir_flag_spec_ld \
13740
hardcode_libdir_separator \
13744
variables_saved_for_relink \
13746
library_names_spec \
13748
install_override_mode \
13752
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13753
*[\\\\\\\`\\"\\\$]*)
13754
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13757
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13762
# Double-quote double-evaled strings.
13763
for var in reload_cmds \
13764
old_postinstall_cmds \
13765
old_postuninstall_cmds \
13767
extract_expsyms_cmds \
13768
old_archive_from_new_cmds \
13769
old_archive_from_expsyms_cmds \
13771
archive_expsym_cmds \
13773
module_expsym_cmds \
13774
export_symbols_cmds \
13778
postuninstall_cmds \
13780
sys_lib_search_path_spec \
13781
sys_lib_dlsearch_path_spec; do
13782
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13783
*[\\\\\\\`\\"\\\$]*)
13784
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13787
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13792
ac_aux_dir='$ac_aux_dir'
13793
xsi_shell='$xsi_shell'
13794
lt_shell_append='$lt_shell_append'
13796
# See if we are running on zsh, and set the options which allow our
13797
# commands through without removal of \ escapes INIT.
13798
if test -n "\${ZSH_VERSION+set}" ; then
13799
setopt NO_GLOB_SUBST
13805
TIMESTAMP='$TIMESTAMP'
13814
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13816
# Handling of arguments.
13817
for ac_config_target in $ac_config_targets
13819
case $ac_config_target in
13820
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13821
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13822
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13823
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13824
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13825
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13826
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13827
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13829
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13834
# If the user did not use the arguments to specify the items to instantiate,
13835
# then the envvar interface is used. Set only those that are not.
13836
# We use the long form for the default assignment because of an extremely
13837
# bizarre bug on SunOS 4.1.3.
13838
if $ac_need_defaults; then
13839
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13840
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13841
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13844
# Have a temporary directory for convenience. Make it in the build tree
13845
# simply because there is no reason against having it here, and in addition,
13846
# creating and moving files from /tmp can sometimes cause problems.
13847
# Hook for its removal unless debugging.
13848
# Note that there is a small window in which the directory will not be cleaned:
13849
# after its creation but before its name has been assigned to `$tmp'.
13853
trap 'exit_status=$?
13854
: "${ac_tmp:=$tmp}"
13855
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13857
trap 'as_fn_exit 1' 1 2 13 15
13859
# Create a (secure) tmp directory for tmp files.
13862
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13866
tmp=./conf$$-$RANDOM
13867
(umask 077 && mkdir "$tmp")
13868
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13871
# Set up the scripts for CONFIG_FILES section.
13872
# No need to generate them if there are no CONFIG_FILES.
13873
# This happens for instance with `./config.status config.h'.
13874
if test -n "$CONFIG_FILES"; then
13877
ac_cr=`echo X | tr X '\015'`
13878
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13879
# But we know of no other shell where ac_cr would be empty at this
13880
# point, so we can use a bashism as a fallback.
13881
if test "x$ac_cr" = x; then
13882
eval ac_cr=\$\'\\r\'
13884
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13885
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13888
ac_cs_awk_cr=$ac_cr
13891
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13896
echo "cat >conf$$subs.awk <<_ACEOF" &&
13897
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13899
} >conf$$subs.sh ||
13900
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13901
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13903
for ac_last_try in false false false false false :; do
13904
. ./conf$$subs.sh ||
13905
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13907
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13908
if test $ac_delim_n = $ac_delim_num; then
13910
elif $ac_last_try; then
13911
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13913
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13916
rm -f conf$$subs.sh
13918
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13919
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13923
s/^/S["/; s/!.*/"]=/
13933
s/\(.\{148\}\)..*/\1/
13935
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13940
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13947
s/\(.\{148\}\)..*/\1/
13949
s/["\\]/\\&/g; s/^/"/; s/$/"/
13953
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13958
' <conf$$subs.awk | sed '
13963
' >>$CONFIG_STATUS || ac_write_fail=1
13964
rm -f conf$$subs.awk
13965
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13967
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13968
for (key in S) S_is_set[key] = 1
13974
nfields = split(line, field, "@")
13976
len = length(field[1])
13977
for (i = 2; i < nfields; i++) {
13979
keylen = length(key)
13980
if (S_is_set[key]) {
13982
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13983
len += length(value) + length(field[++i])
13994
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13995
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13996
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13999
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14000
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14003
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14004
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14005
# trailing colons and then remove the whole line if VPATH becomes empty
14006
# (actually we leave an empty line to preserve line numbers).
14007
if test "x$srcdir" = x.; then
14008
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14026
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14027
fi # test -n "$CONFIG_FILES"
14029
# Set up the scripts for CONFIG_HEADERS section.
14030
# No need to generate them if there are no CONFIG_HEADERS.
14031
# This happens for instance with `./config.status Makefile'.
14032
if test -n "$CONFIG_HEADERS"; then
14033
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14037
# Transform confdefs.h into an awk script `defines.awk', embedded as
14038
# here-document in config.status, that substitutes the proper values into
14039
# config.h.in to produce config.h.
14041
# Create a delimiter string that does not exist in confdefs.h, to ease
14042
# handling of long lines.
14044
for ac_last_try in false false :; do
14045
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14046
if test -z "$ac_tt"; then
14048
elif $ac_last_try; then
14049
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14051
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14055
# For the awk script, D is an array of macro values keyed by name,
14056
# likewise P contains macro parameters if any. Preserve backslash
14057
# newline sequences.
14059
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14061
s/.\{148\}/&'"$ac_delim"'/g
14064
s/^[ ]*#[ ]*define[ ][ ]*/ /
14071
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14073
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14077
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14078
D["\1"]=" \3\\\\\\n"\\/p
14080
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14085
s/.\{148\}/&'"$ac_delim"'/g
14090
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14093
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14095
' <confdefs.h | sed '
14096
s/'"$ac_delim"'/"\\\
14097
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14099
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14100
for (key in D) D_is_set[key] = 1
14103
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14105
split(line, arg, " ")
14106
if (arg[1] == "#") {
14110
defundef = substr(arg[1], 2)
14113
split(mac1, mac2, "(") #)
14115
prefix = substr(line, 1, index(line, defundef) - 1)
14116
if (D_is_set[macro]) {
14117
# Preserve the white space surrounding the "#".
14118
print prefix "define", macro P[macro] D[macro]
14121
# Replace #undef with comments. This is necessary, for example,
14122
# in the case of _POSIX_SOURCE, which is predefined and required
14123
# on some systems where configure will not decide to define it.
14124
if (defundef == "undef") {
14125
print "/*", prefix defundef, macro, "*/"
14133
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14134
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14135
fi # test -n "$CONFIG_HEADERS"
14138
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14143
:[FHLC]) ac_mode=$ac_tag; continue;;
14145
case $ac_mode$ac_tag in
14147
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14148
:[FH]-) ac_tag=-:-;;
14149
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14166
-) ac_f="$ac_tmp/stdin";;
14167
*) # Look for the file first in the build tree, then in the source tree
14168
# (if the path is not absolute). The absolute path cannot be DOS-style,
14169
# because $ac_f cannot contain `:'.
14173
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14175
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14177
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14178
as_fn_append ac_file_inputs " '$ac_f'"
14181
# Let's still pretend it is `configure' which instantiates (i.e., don't
14182
# use $as_me), people would be surprised to read:
14183
# /* config.h. Generated by config.status. */
14184
configure_input='Generated from '`
14185
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14187
if test x"$ac_file" != x-; then
14188
configure_input="$ac_file. $configure_input"
14189
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14190
$as_echo "$as_me: creating $ac_file" >&6;}
14192
# Neutralize special characters interpreted by sed in replacement strings.
14193
case $configure_input in #(
14194
*\&* | *\|* | *\\* )
14195
ac_sed_conf_input=`$as_echo "$configure_input" |
14196
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14197
*) ac_sed_conf_input=$configure_input;;
14201
*:-:* | *:-) cat >"$ac_tmp/stdin" \
14202
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14207
ac_dir=`$as_dirname -- "$ac_file" ||
14208
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14209
X"$ac_file" : 'X\(//\)[^/]' \| \
14210
X"$ac_file" : 'X\(//\)$' \| \
14211
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14212
$as_echo X"$ac_file" |
14213
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14217
/^X\(\/\/\)[^/].*/{
14230
as_dir="$ac_dir"; as_fn_mkdir_p
14234
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14236
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14237
# A ".." for each directory in $ac_dir_suffix.
14238
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14239
case $ac_top_builddir_sub in
14240
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14241
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14244
ac_abs_top_builddir=$ac_pwd
14245
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14246
# for backward compatibility:
14247
ac_top_builddir=$ac_top_build_prefix
14250
.) # We are building in place.
14252
ac_top_srcdir=$ac_top_builddir_sub
14253
ac_abs_top_srcdir=$ac_pwd ;;
14254
[\\/]* | ?:[\\/]* ) # Absolute name.
14255
ac_srcdir=$srcdir$ac_dir_suffix;
14256
ac_top_srcdir=$srcdir
14257
ac_abs_top_srcdir=$srcdir ;;
14258
*) # Relative name.
14259
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14260
ac_top_srcdir=$ac_top_build_prefix$srcdir
14261
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14263
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14273
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14274
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14276
ac_MKDIR_P=$MKDIR_P
14278
[\\/$]* | ?:[\\/]* ) ;;
14279
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14283
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14284
# If the template does not know about datarootdir, expand it.
14285
# FIXME: This hack should be removed a few years after 2.60.
14286
ac_datarootdir_hack=; ac_datarootdir_seen=
14297
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14298
*datarootdir*) ac_datarootdir_seen=yes;;
14299
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14301
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14303
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14304
ac_datarootdir_hack='
14305
s&@datadir@&$datadir&g
14306
s&@docdir@&$docdir&g
14307
s&@infodir@&$infodir&g
14308
s&@localedir@&$localedir&g
14309
s&@mandir@&$mandir&g
14310
s&\\\${datarootdir}&$datarootdir&g' ;;
14314
# Neutralize VPATH when `$srcdir' = `.'.
14315
# Shell code in configure.ac might set extrasub.
14316
# FIXME: do we really want to maintain this feature?
14317
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14318
ac_sed_extra="$ac_vpsub
14321
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14323
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14324
s|@configure_input@|$ac_sed_conf_input|;t t
14325
s&@top_builddir@&$ac_top_builddir_sub&;t t
14326
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14327
s&@srcdir@&$ac_srcdir&;t t
14328
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14329
s&@top_srcdir@&$ac_top_srcdir&;t t
14330
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14331
s&@builddir@&$ac_builddir&;t t
14332
s&@abs_builddir@&$ac_abs_builddir&;t t
14333
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14334
s&@INSTALL@&$ac_INSTALL&;t t
14335
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14336
$ac_datarootdir_hack
14338
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14339
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14341
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14342
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14343
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14344
"$ac_tmp/out"`; test -z "$ac_out"; } &&
14345
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14346
which seems to be undefined. Please make sure it is defined" >&5
14347
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14348
which seems to be undefined. Please make sure it is defined" >&2;}
14350
rm -f "$ac_tmp/stdin"
14352
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14353
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14355
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14361
if test x"$ac_file" != x-; then
14363
$as_echo "/* $configure_input */" \
14364
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14365
} >"$ac_tmp/config.h" \
14366
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14367
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14368
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14369
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14372
mv "$ac_tmp/config.h" "$ac_file" \
14373
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14376
$as_echo "/* $configure_input */" \
14377
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14378
|| as_fn_error $? "could not create -" "$LINENO" 5
14380
# Compute "$ac_file"'s index in $config_headers.
14383
for _am_header in $config_headers :; do
14384
case $_am_header in
14385
$_am_arg | $_am_arg:* )
14388
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14391
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14392
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14393
X"$_am_arg" : 'X\(//\)[^/]' \| \
14394
X"$_am_arg" : 'X\(//\)$' \| \
14395
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14396
$as_echo X"$_am_arg" |
14397
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14401
/^X\(\/\/\)[^/].*/{
14413
s/.*/./; q'`/stamp-h$_am_stamp_count
14416
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14417
$as_echo "$as_me: executing $ac_file commands" >&6;}
14422
case $ac_file$ac_mode in
14423
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14424
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14425
# are listed without --file. Let's play safe and only enable the eval
14426
# if we detect the quoting.
14427
case $CONFIG_FILES in
14428
*\'*) eval set x "$CONFIG_FILES" ;;
14429
*) set x $CONFIG_FILES ;;
14434
# Strip MF so we end up with the name of the file.
14435
mf=`echo "$mf" | sed -e 's/:.*$//'`
14436
# Check whether this is an Automake generated Makefile or not.
14437
# We used to match only the files named `Makefile.in', but
14438
# some people rename them; so instead we look at the file content.
14439
# Grep'ing the first line is not enough: some people post-process
14440
# each Makefile.in and add a new line on top of each file to say so.
14441
# Grep'ing the whole file is not good either: AIX grep has a line
14442
# limit of 2048, but all sed's we know have understand at least 4000.
14443
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14444
dirpart=`$as_dirname -- "$mf" ||
14445
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14446
X"$mf" : 'X\(//\)[^/]' \| \
14447
X"$mf" : 'X\(//\)$' \| \
14448
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14450
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14454
/^X\(\/\/\)[^/].*/{
14470
# Extract the definition of DEPDIR, am__include, and am__quote
14471
# from the Makefile without running `make'.
14472
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14473
test -z "$DEPDIR" && continue
14474
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14475
test -z "am__include" && continue
14476
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14477
# When using ansi2knr, U may be empty or an underscore; expand it
14478
U=`sed -n 's/^U = //p' < "$mf"`
14479
# Find all dependency output files, they are included files with
14480
# $(DEPDIR) in their names. We invoke sed twice because it is the
14481
# simplest approach to changing $(DEPDIR) to its actual value in the
14483
for file in `sed -n "
14484
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14485
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14486
# Make sure the directory exists.
14487
test -f "$dirpart/$file" && continue
14488
fdir=`$as_dirname -- "$file" ||
14489
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14490
X"$file" : 'X\(//\)[^/]' \| \
14491
X"$file" : 'X\(//\)$' \| \
14492
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14493
$as_echo X"$file" |
14494
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14498
/^X\(\/\/\)[^/].*/{
14511
as_dir=$dirpart/$fdir; as_fn_mkdir_p
14512
# echo "creating $dirpart/$file"
14513
echo '# dummy' > "$dirpart/$file"
14518
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14519
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14523
# See if we are running on zsh, and set the options which allow our
14524
# commands through without removal of \ escapes.
14525
if test -n "${ZSH_VERSION+set}" ; then
14526
setopt NO_GLOB_SUBST
14529
cfgfile="${ofile}T"
14530
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14533
cat <<_LT_EOF >> "$cfgfile"
14536
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14537
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14538
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14539
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14541
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14542
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14544
# Written by Gordon Matzigkeit, 1996
14546
# This file is part of GNU Libtool.
14548
# GNU Libtool is free software; you can redistribute it and/or
14549
# modify it under the terms of the GNU General Public License as
14550
# published by the Free Software Foundation; either version 2 of
14551
# the License, or (at your option) any later version.
14553
# As a special exception to the GNU General Public License,
14554
# if you distribute this file as part of a program or library that
14555
# is built using GNU Libtool, you may include this file under the
14556
# same distribution terms that you use for the rest of that program.
14558
# GNU Libtool is distributed in the hope that it will be useful,
14559
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14560
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14561
# GNU General Public License for more details.
14563
# You should have received a copy of the GNU General Public License
14564
# along with GNU Libtool; see the file COPYING. If not, a copy
14565
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14566
# obtained by writing to the Free Software Foundation, Inc.,
14567
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14570
# The names of the tagged configurations supported by this script.
14573
# ### BEGIN LIBTOOL CONFIG
14575
# Which release of libtool.m4 was used?
14576
macro_version=$macro_version
14577
macro_revision=$macro_revision
14579
# Whether or not to build shared libraries.
14580
build_libtool_libs=$enable_shared
14582
# Whether or not to build static libraries.
14583
build_old_libs=$enable_static
14585
# What type of objects to build.
14588
# Whether or not to optimize for fast installation.
14589
fast_install=$enable_fast_install
14591
# Shell to use when invoking shell scripts.
14594
# An echo program that protects backslashes.
14598
host_alias=$host_alias
14602
# The build system.
14603
build_alias=$build_alias
14607
# A sed program that does not truncate output.
14610
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14611
Xsed="\$SED -e 1s/^X//"
14613
# A grep program that handles long lines.
14619
# A literal string matcher.
14622
# A BSD- or MS-compatible name lister.
14625
# Whether we need soft or hard links.
14628
# What is the maximum length of a command?
14629
max_cmd_len=$max_cmd_len
14631
# Object file suffix (normally "o").
14634
# Executable file suffix (normally "").
14637
# whether the shell understands "unset".
14640
# turn spaces into newlines.
14643
# turn newlines into spaces.
14646
# convert \$build file names to \$host format.
14647
to_host_file_cmd=$lt_cv_to_host_file_cmd
14649
# convert \$build files to toolchain format.
14650
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14652
# An object symbol dumper.
14653
OBJDUMP=$lt_OBJDUMP
14655
# Method to check whether dependent libraries are shared objects.
14656
deplibs_check_method=$lt_deplibs_check_method
14658
# Command to use when deplibs_check_method = "file_magic".
14659
file_magic_cmd=$lt_file_magic_cmd
14661
# How to find potential files when deplibs_check_method = "file_magic".
14662
file_magic_glob=$lt_file_magic_glob
14664
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14665
want_nocaseglob=$lt_want_nocaseglob
14667
# DLL creation program.
14668
DLLTOOL=$lt_DLLTOOL
14670
# Command to associate shared and link libraries.
14671
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14676
# Flags to create an archive.
14677
AR_FLAGS=$lt_AR_FLAGS
14679
# How to feed a file listing to the archiver.
14680
archiver_list_spec=$lt_archiver_list_spec
14682
# A symbol stripping program.
14685
# Commands used to install an old-style archive.
14687
old_postinstall_cmds=$lt_old_postinstall_cmds
14688
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14690
# Whether to use a lock for old archive extraction.
14691
lock_old_archive_extraction=$lock_old_archive_extraction
14696
# LTCC compiler flags.
14697
LTCFLAGS=$lt_CFLAGS
14699
# Take the output of nm and produce a listing of raw symbols and C names.
14700
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14702
# Transform the output of nm in a proper C declaration.
14703
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14705
# Transform the output of nm in a C name address pair.
14706
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14708
# Transform the output of nm in a C name address pair when lib prefix is needed.
14709
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14711
# Specify filename containing input files for \$NM.
14712
nm_file_list_spec=$lt_nm_file_list_spec
14714
# The root where to search for dependent libraries,and in which our libraries should be installed.
14715
lt_sysroot=$lt_sysroot
14717
# The name of the directory that contains temporary libtool files.
14720
# Used to examine libraries when file_magic_cmd begins with "file".
14721
MAGIC_CMD=$MAGIC_CMD
14723
# Must we lock files when doing compilation?
14724
need_locks=$lt_need_locks
14727
MANIFEST_TOOL=$lt_MANIFEST_TOOL
14729
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14730
DSYMUTIL=$lt_DSYMUTIL
14732
# Tool to change global to local symbols on Mac OS X.
14735
# Tool to manipulate fat objects and archives on Mac OS X.
14738
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14741
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14742
OTOOL64=$lt_OTOOL64
14744
# Old archive suffix (normally "a").
14747
# Shared library suffix (normally ".so").
14748
shrext_cmds=$lt_shrext_cmds
14750
# The commands to extract the exported symbol list from a shared archive.
14751
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14753
# Variables whose values should be saved in libtool wrapper scripts and
14754
# restored at link time.
14755
variables_saved_for_relink=$lt_variables_saved_for_relink
14757
# Do we need the "lib" prefix for modules?
14758
need_lib_prefix=$need_lib_prefix
14760
# Do we need a version for libraries?
14761
need_version=$need_version
14763
# Library versioning type.
14764
version_type=$version_type
14766
# Shared library runtime path variable.
14767
runpath_var=$runpath_var
14769
# Shared library path variable.
14770
shlibpath_var=$shlibpath_var
14772
# Is shlibpath searched before the hard-coded library search path?
14773
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14775
# Format of library name prefix.
14776
libname_spec=$lt_libname_spec
14778
# List of archive names. First name is the real one, the rest are links.
14779
# The last name is the one that the linker finds with -lNAME
14780
library_names_spec=$lt_library_names_spec
14782
# The coded name of the library, if different from the real name.
14783
soname_spec=$lt_soname_spec
14785
# Permission mode override for installation of shared libraries.
14786
install_override_mode=$lt_install_override_mode
14788
# Command to use after installation of a shared archive.
14789
postinstall_cmds=$lt_postinstall_cmds
14791
# Command to use after uninstallation of a shared archive.
14792
postuninstall_cmds=$lt_postuninstall_cmds
14794
# Commands used to finish a libtool library installation in a directory.
14795
finish_cmds=$lt_finish_cmds
14797
# As "finish_cmds", except a single script fragment to be evaled but
14799
finish_eval=$lt_finish_eval
14801
# Whether we should hardcode library paths into libraries.
14802
hardcode_into_libs=$hardcode_into_libs
14804
# Compile-time system search path for libraries.
14805
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14807
# Run-time system search path for libraries.
14808
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14810
# Whether dlopen is supported.
14811
dlopen_support=$enable_dlopen
14813
# Whether dlopen of programs is supported.
14814
dlopen_self=$enable_dlopen_self
14816
# Whether dlopen of statically linked programs is supported.
14817
dlopen_self_static=$enable_dlopen_self_static
14819
# Commands to strip libraries.
14820
old_striplib=$lt_old_striplib
14821
striplib=$lt_striplib
14824
# The linker used to build libraries.
14827
# How to create reloadable object files.
14828
reload_flag=$lt_reload_flag
14829
reload_cmds=$lt_reload_cmds
14831
# Commands used to build an old-style archive.
14832
old_archive_cmds=$lt_old_archive_cmds
14834
# A language specific compiler.
14837
# Is the compiler the GNU compiler?
14840
# Compiler flag to turn off builtin functions.
14841
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14843
# Additional compiler flags for building library objects.
14844
pic_flag=$lt_lt_prog_compiler_pic
14846
# How to pass a linker flag through the compiler.
14847
wl=$lt_lt_prog_compiler_wl
14849
# Compiler flag to prevent dynamic linking.
14850
link_static_flag=$lt_lt_prog_compiler_static
14852
# Does compiler simultaneously support -c and -o options?
14853
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14855
# Whether or not to add -lc for building shared libraries.
14856
build_libtool_need_lc=$archive_cmds_need_lc
14858
# Whether or not to disallow shared libs when runtime libs are static.
14859
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14861
# Compiler flag to allow reflexive dlopens.
14862
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14864
# Compiler flag to generate shared objects directly from archives.
14865
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14867
# Whether the compiler copes with passing no objects directly.
14868
compiler_needs_object=$lt_compiler_needs_object
14870
# Create an old-style archive from a shared archive.
14871
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14873
# Create a temporary old-style archive to link instead of a shared archive.
14874
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14876
# Commands used to build a shared archive.
14877
archive_cmds=$lt_archive_cmds
14878
archive_expsym_cmds=$lt_archive_expsym_cmds
14880
# Commands used to build a loadable module if different from building
14881
# a shared archive.
14882
module_cmds=$lt_module_cmds
14883
module_expsym_cmds=$lt_module_expsym_cmds
14885
# Whether we are building with GNU ld or not.
14886
with_gnu_ld=$lt_with_gnu_ld
14888
# Flag that allows shared libraries with undefined symbols to be built.
14889
allow_undefined_flag=$lt_allow_undefined_flag
14891
# Flag that enforces no undefined symbols.
14892
no_undefined_flag=$lt_no_undefined_flag
14894
# Flag to hardcode \$libdir into a binary during linking.
14895
# This must work even if \$libdir does not exist
14896
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14898
# If ld is used when linking, flag to hardcode \$libdir into a binary
14899
# during linking. This must work even if \$libdir does not exist.
14900
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14902
# Whether we need a single "-rpath" flag with a separated argument.
14903
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14905
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14906
# DIR into the resulting binary.
14907
hardcode_direct=$hardcode_direct
14909
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14910
# DIR into the resulting binary and the resulting library dependency is
14911
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14912
# library is relocated.
14913
hardcode_direct_absolute=$hardcode_direct_absolute
14915
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14916
# into the resulting binary.
14917
hardcode_minus_L=$hardcode_minus_L
14919
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14920
# into the resulting binary.
14921
hardcode_shlibpath_var=$hardcode_shlibpath_var
14923
# Set to "yes" if building a shared library automatically hardcodes DIR
14924
# into the library and all subsequent libraries and executables linked
14926
hardcode_automatic=$hardcode_automatic
14928
# Set to yes if linker adds runtime paths of dependent libraries
14929
# to runtime path list.
14930
inherit_rpath=$inherit_rpath
14932
# Whether libtool must link a program against all its dependency libraries.
14933
link_all_deplibs=$link_all_deplibs
14935
# Set to "yes" if exported symbols are required.
14936
always_export_symbols=$always_export_symbols
14938
# The commands to list exported symbols.
14939
export_symbols_cmds=$lt_export_symbols_cmds
14941
# Symbols that should not be listed in the preloaded symbols.
14942
exclude_expsyms=$lt_exclude_expsyms
14944
# Symbols that must always be exported.
14945
include_expsyms=$lt_include_expsyms
14947
# Commands necessary for linking programs (against libraries) with templates.
14948
prelink_cmds=$lt_prelink_cmds
14950
# Commands necessary for finishing linking programs.
14951
postlink_cmds=$lt_postlink_cmds
14953
# Specify filename containing input files.
14954
file_list_spec=$lt_file_list_spec
14956
# How to hardcode a shared library path into an executable.
14957
hardcode_action=$hardcode_action
14959
# ### END LIBTOOL CONFIG
14965
cat <<\_LT_EOF >> "$cfgfile"
14966
# AIX sometimes has problems with the GCC collect2 program. For some
14967
# reason, if we set the COLLECT_NAMES environment variable, the problems
14968
# vanish in a puff of smoke.
14969
if test "X${COLLECT_NAMES+set}" != Xset; then
14971
export COLLECT_NAMES
14978
ltmain="$ac_aux_dir/ltmain.sh"
14981
# We use sed instead of cat because bash on DJGPP gets confused if
14982
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14983
# text mode, it properly converts lines to CR/LF. This bash problem
14984
# is reportedly fixed, but why not run on old versions too?
14985
sed '$q' "$ltmain" >> "$cfgfile" \
14986
|| (rm -f "$cfgfile"; exit 1)
14988
if test x"$xsi_shell" = xyes; then
14989
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14993
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14994
\ * ) func_dirname_result="${3}" ;;\
14996
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14997
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14998
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14999
test 0 -eq $? || _lt_function_replace_fail=:
15002
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15005
\ func_basename_result="${1##*/}"\
15006
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15007
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15008
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15009
test 0 -eq $? || _lt_function_replace_fail=:
15012
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15013
func_dirname_and_basename ()\
15016
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15017
\ * ) func_dirname_result="${3}" ;;\
15019
\ func_basename_result="${1##*/}"\
15020
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15021
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15022
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15023
test 0 -eq $? || _lt_function_replace_fail=:
15026
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15029
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15030
\ # positional parameters, so assign one to ordinary parameter first.\
15031
\ func_stripname_result=${3}\
15032
\ func_stripname_result=${func_stripname_result#"${1}"}\
15033
\ func_stripname_result=${func_stripname_result%"${2}"}\
15034
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15035
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15036
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15037
test 0 -eq $? || _lt_function_replace_fail=:
15040
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15041
func_split_long_opt ()\
15043
\ func_split_long_opt_name=${1%%=*}\
15044
\ func_split_long_opt_arg=${1#*=}\
15045
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15046
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15047
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15048
test 0 -eq $? || _lt_function_replace_fail=:
15051
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15052
func_split_short_opt ()\
15054
\ func_split_short_opt_arg=${1#??}\
15055
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15056
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15057
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15058
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15059
test 0 -eq $? || _lt_function_replace_fail=:
15062
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15066
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15067
\ *) func_lo2o_result=${1} ;;\
15069
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15070
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15071
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15072
test 0 -eq $? || _lt_function_replace_fail=:
15075
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15078
func_xform_result=${1%.*}.lo\
15079
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15080
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15081
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15082
test 0 -eq $? || _lt_function_replace_fail=:
15085
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15088
func_arith_result=$(( $* ))\
15089
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15090
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15091
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15092
test 0 -eq $? || _lt_function_replace_fail=:
15095
sed -e '/^func_len ()$/,/^} # func_len /c\
15098
func_len_result=${#1}\
15099
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15100
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15101
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15102
test 0 -eq $? || _lt_function_replace_fail=:
15106
if test x"$lt_shell_append" = xyes; then
15107
sed -e '/^func_append ()$/,/^} # func_append /c\
15110
eval "${1}+=\\${2}"\
15111
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15112
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15113
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15114
test 0 -eq $? || _lt_function_replace_fail=:
15117
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15118
func_append_quoted ()\
15120
\ func_quote_for_eval "${2}"\
15121
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15122
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15123
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15124
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15125
test 0 -eq $? || _lt_function_replace_fail=:
15128
# Save a `func_append' function call where possible by direct use of '+='
15129
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15130
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15131
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15132
test 0 -eq $? || _lt_function_replace_fail=:
15134
# Save a `func_append' function call even when '+=' is not available
15135
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15136
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15137
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15138
test 0 -eq $? || _lt_function_replace_fail=:
15141
if test x"$_lt_function_replace_fail" = x":"; then
15142
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15143
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15147
mv -f "$cfgfile" "$ofile" ||
15148
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15153
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15154
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15156
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15161
'"s|^| $ac_top_srcdir/|" \
15162
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15164
sed '/^POTFILES =/,/[^\\]$/ {
15168
' "po/Makefile.in" >"po/Makefile"
15169
rm -f "po/Makefile.tmp"
15170
mv "po/stamp-it.tmp" "po/stamp-it"
15179
ac_clean_files=$ac_clean_files_save
15181
test $ac_write_fail = 0 ||
15182
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15185
# configure is writing to config.log, and then calls config.status.
15186
# config.status does its own redirection, appending to config.log.
15187
# Unfortunately, on DOS this fails, as config.log is still kept open
15188
# by configure, so config.status won't be able to write to it; its
15189
# output is simply discarded. So we exec the FD to /dev/null,
15190
# effectively closing config.log, so it can be properly (re)opened and
15191
# appended to by config.status. When coming back to configure, we
15192
# need to make the FD available again.
15193
if test "$no_create" != yes; then
15195
ac_config_status_args=
15196
test "$silent" = yes &&
15197
ac_config_status_args="$ac_config_status_args --quiet"
15199
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15201
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15202
# would make configure fail if this is the last instruction.
15203
$ac_cs_success || as_fn_exit 1
15205
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15206
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15207
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}