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 @%:@(
148
set -o posix ;; @%:@(
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=.
199
case $as_dir in @%:@(
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 @S|@? to STATUS, without forking.
280
} @%:@ as_fn_set_status
282
@%:@ as_fn_exit STATUS
283
@%:@ -----------------
284
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294
@%:@ Create "@S|@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
344
@%:@ implementations.
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346
eval 'as_fn_append ()
357
@%:@ as_fn_arith ARG...
358
@%:@ ------------------
359
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
360
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
361
@%:@ must be portable across @S|@(()) 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 @S|@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
@<:@@S|@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.@S|@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.@S|@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
1617
} @%:@ ac_fn_c_try_cpp
1619
@%:@ ac_fn_c_try_run LINENO
1620
@%:@ ----------------------
1621
@%:@ Try to link conftest.@S|@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
1659
} @%:@ ac_fn_c_try_run
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.@S|@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. */
3259
@%:@include <stdio.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@&t@_DLSYM_CONST
7486
#elif defined(__osf__)
7487
/* This system does not cope well with relocations in const data. */
7488
# define LT@&t@_DLSYM_CONST
7490
# define LT@&t@_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@&t@_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`
9036
## There is no encapsulation within the following macros, do not change
9037
## the running order or otherwise move them around unless you know exactly
9038
## what you are doing...
9039
if test -n "$compiler"; then
9041
lt_prog_compiler_no_builtin_flag=
9043
if test "$GCC" = yes; then
9044
case $cc_basename in
9046
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9048
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9052
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9053
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9054
$as_echo_n "(cached) " >&6
9056
lt_cv_prog_compiler_rtti_exceptions=no
9057
ac_outfile=conftest.$ac_objext
9058
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9059
lt_compiler_flag="-fno-rtti -fno-exceptions"
9060
# Insert the option either (1) after the last *FLAGS variable, or
9061
# (2) before a word containing "conftest.", or (3) at the end.
9062
# Note that $ac_compile itself does not contain backslashes and begins
9063
# with a dollar sign (not a hyphen), so the echo should work correctly.
9064
# The option is referenced via a variable to avoid confusing sed.
9065
lt_compile=`echo "$ac_compile" | $SED \
9066
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9067
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9068
-e 's:$: $lt_compiler_flag:'`
9069
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9070
(eval "$lt_compile" 2>conftest.err)
9072
cat conftest.err >&5
9073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
if (exit $ac_status) && test -s "$ac_outfile"; then
9075
# The compiler can only warn and ignore the option if not recognized
9076
# So say no if there are warnings other than the usual output.
9077
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9078
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9079
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9080
lt_cv_prog_compiler_rtti_exceptions=yes
9086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9087
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9089
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9090
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9102
lt_prog_compiler_wl=
9103
lt_prog_compiler_pic=
9104
lt_prog_compiler_static=
9107
if test "$GCC" = yes; then
9108
lt_prog_compiler_wl='-Wl,'
9109
lt_prog_compiler_static='-static'
9113
# All AIX code is PIC.
9114
if test "$host_cpu" = ia64; then
9115
# AIX 5 now supports IA64 processor
9116
lt_prog_compiler_static='-Bstatic'
9123
# see comment about AmigaOS4 .so support
9124
lt_prog_compiler_pic='-fPIC'
9127
# FIXME: we need at least 68020 code to build shared libraries, but
9128
# adding the `-m68020' flag to GCC prevents building anything better,
9130
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9135
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9136
# PIC is the default for these OSes.
9139
mingw* | cygwin* | pw32* | os2* | cegcc*)
9140
# This hack is so that the source file can tell whether it is being
9141
# built for inclusion in a dll (and should export symbols for example).
9142
# Although the cygwin gcc ignores -fPIC, still need this for old-style
9143
# (--disable-auto-import) libraries
9144
lt_prog_compiler_pic='-DDLL_EXPORT'
9147
darwin* | rhapsody*)
9148
# PIC is the default on this platform
9149
# Common symbols not allowed in MH_DYLIB files
9150
lt_prog_compiler_pic='-fno-common'
9154
# PIC is the default for Haiku.
9155
# The "-static" flag exists, but is broken.
9156
lt_prog_compiler_static=
9160
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9161
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9162
# sets the default TLS model and affects inlining.
9168
lt_prog_compiler_pic='-fPIC'
9174
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9175
# Instead, we relocate shared libraries at runtime.
9179
# Just because we use GCC doesn't mean we suddenly get shared libraries
9180
# on systems that don't support them.
9181
lt_prog_compiler_can_build_shared=no
9186
# QNX uses GNU C++, but need to define -shared option too, otherwise
9188
lt_prog_compiler_pic='-fPIC -shared'
9192
if test -d /usr/nec; then
9193
lt_prog_compiler_pic=-Kconform_pic
9198
lt_prog_compiler_pic='-fPIC'
9202
case $cc_basename in
9203
nvcc*) # Cuda Compiler Driver 2.2
9204
lt_prog_compiler_wl='-Xlinker '
9205
lt_prog_compiler_pic='-Xcompiler -fPIC'
9209
# PORTME Check for flag to pass linker flags through the system compiler.
9212
lt_prog_compiler_wl='-Wl,'
9213
if test "$host_cpu" = ia64; then
9214
# AIX 5 now supports IA64 processor
9215
lt_prog_compiler_static='-Bstatic'
9217
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9221
mingw* | cygwin* | pw32* | os2* | cegcc*)
9222
# This hack is so that the source file can tell whether it is being
9223
# built for inclusion in a dll (and should export symbols for example).
9224
lt_prog_compiler_pic='-DDLL_EXPORT'
9227
hpux9* | hpux10* | hpux11*)
9228
lt_prog_compiler_wl='-Wl,'
9229
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9236
lt_prog_compiler_pic='+Z'
9239
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9240
lt_prog_compiler_static='${wl}-a ${wl}archive'
9243
irix5* | irix6* | nonstopux*)
9244
lt_prog_compiler_wl='-Wl,'
9245
# PIC (with -KPIC) is the default.
9246
lt_prog_compiler_static='-non_shared'
9249
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9250
case $cc_basename in
9251
# old Intel for x86_64 which still supported -KPIC.
9253
lt_prog_compiler_wl='-Wl,'
9254
lt_prog_compiler_pic='-KPIC'
9255
lt_prog_compiler_static='-static'
9257
# icc used to be incompatible with GCC.
9258
# ICC 10 doesn't accept -KPIC any more.
9260
lt_prog_compiler_wl='-Wl,'
9261
lt_prog_compiler_pic='-fPIC'
9262
lt_prog_compiler_static='-static'
9264
# Lahey Fortran 8.1.
9266
lt_prog_compiler_wl='-Wl,'
9267
lt_prog_compiler_pic='--shared'
9268
lt_prog_compiler_static='--static'
9271
# NAG Fortran compiler
9272
lt_prog_compiler_wl='-Wl,-Wl,,'
9273
lt_prog_compiler_pic='-PIC'
9274
lt_prog_compiler_static='-Bstatic'
9276
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9277
# Portland Group compilers (*not* the Pentium gcc compiler,
9278
# which looks to be a dead project)
9279
lt_prog_compiler_wl='-Wl,'
9280
lt_prog_compiler_pic='-fpic'
9281
lt_prog_compiler_static='-Bstatic'
9284
lt_prog_compiler_wl='-Wl,'
9285
# All Alpha code is PIC.
9286
lt_prog_compiler_static='-non_shared'
9288
xl* | bgxl* | bgf* | mpixl*)
9289
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9290
lt_prog_compiler_wl='-Wl,'
9291
lt_prog_compiler_pic='-qpic'
9292
lt_prog_compiler_static='-qstaticlink'
9295
case `$CC -V 2>&1 | sed 5q` in
9296
*Sun\ F* | *Sun*Fortran*)
9297
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9298
lt_prog_compiler_pic='-KPIC'
9299
lt_prog_compiler_static='-Bstatic'
9300
lt_prog_compiler_wl=''
9304
lt_prog_compiler_pic='-KPIC'
9305
lt_prog_compiler_static='-Bstatic'
9306
lt_prog_compiler_wl='-Wl,'
9314
lt_prog_compiler_pic='-KPIC'
9315
lt_prog_compiler_static='-Bstatic'
9319
# QNX uses GNU C++, but need to define -shared option too, otherwise
9321
lt_prog_compiler_pic='-fPIC -shared'
9324
osf3* | osf4* | osf5*)
9325
lt_prog_compiler_wl='-Wl,'
9326
# All OSF/1 code is PIC.
9327
lt_prog_compiler_static='-non_shared'
9331
lt_prog_compiler_static='-non_shared'
9335
lt_prog_compiler_pic='-KPIC'
9336
lt_prog_compiler_static='-Bstatic'
9337
case $cc_basename in
9338
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9339
lt_prog_compiler_wl='-Qoption ld ';;
9341
lt_prog_compiler_wl='-Wl,';;
9346
lt_prog_compiler_wl='-Qoption ld '
9347
lt_prog_compiler_pic='-PIC'
9348
lt_prog_compiler_static='-Bstatic'
9351
sysv4 | sysv4.2uw2* | sysv4.3*)
9352
lt_prog_compiler_wl='-Wl,'
9353
lt_prog_compiler_pic='-KPIC'
9354
lt_prog_compiler_static='-Bstatic'
9358
if test -d /usr/nec ;then
9359
lt_prog_compiler_pic='-Kconform_pic'
9360
lt_prog_compiler_static='-Bstatic'
9364
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9365
lt_prog_compiler_wl='-Wl,'
9366
lt_prog_compiler_pic='-KPIC'
9367
lt_prog_compiler_static='-Bstatic'
9371
lt_prog_compiler_wl='-Wl,'
9372
lt_prog_compiler_can_build_shared=no
9376
lt_prog_compiler_pic='-pic'
9377
lt_prog_compiler_static='-Bstatic'
9381
lt_prog_compiler_can_build_shared=no
9387
# For platforms which do not support PIC, -DPIC is meaningless:
9389
lt_prog_compiler_pic=
9392
lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9397
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9398
if ${lt_cv_prog_compiler_pic+:} false; then :
9399
$as_echo_n "(cached) " >&6
9401
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9404
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9405
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9408
# Check to make sure the PIC flag actually works.
9410
if test -n "$lt_prog_compiler_pic"; then
9411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9412
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9413
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9414
$as_echo_n "(cached) " >&6
9416
lt_cv_prog_compiler_pic_works=no
9417
ac_outfile=conftest.$ac_objext
9418
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9419
lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9420
# Insert the option either (1) after the last *FLAGS variable, or
9421
# (2) before a word containing "conftest.", or (3) at the end.
9422
# Note that $ac_compile itself does not contain backslashes and begins
9423
# with a dollar sign (not a hyphen), so the echo should work correctly.
9424
# The option is referenced via a variable to avoid confusing sed.
9425
lt_compile=`echo "$ac_compile" | $SED \
9426
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9427
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9428
-e 's:$: $lt_compiler_flag:'`
9429
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9430
(eval "$lt_compile" 2>conftest.err)
9432
cat conftest.err >&5
9433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434
if (exit $ac_status) && test -s "$ac_outfile"; then
9435
# The compiler can only warn and ignore the option if not recognized
9436
# So say no if there are warnings other than the usual output.
9437
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9438
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9439
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9440
lt_cv_prog_compiler_pic_works=yes
9446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9447
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9449
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9450
case $lt_prog_compiler_pic in
9452
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9455
lt_prog_compiler_pic=
9456
lt_prog_compiler_can_build_shared=no
9472
# Check to make sure the static flag actually works.
9474
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9476
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9477
if ${lt_cv_prog_compiler_static_works+:} false; then :
9478
$as_echo_n "(cached) " >&6
9480
lt_cv_prog_compiler_static_works=no
9481
save_LDFLAGS="$LDFLAGS"
9482
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9483
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9484
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9485
# The linker can only warn and ignore the option if not recognized
9486
# So say no if there are warnings
9487
if test -s conftest.err; then
9488
# Append any errors to the config.log.
9489
cat conftest.err 1>&5
9490
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9491
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9492
if diff conftest.exp conftest.er2 >/dev/null; then
9493
lt_cv_prog_compiler_static_works=yes
9496
lt_cv_prog_compiler_static_works=yes
9500
LDFLAGS="$save_LDFLAGS"
9503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9504
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9506
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9509
lt_prog_compiler_static=
9518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9519
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9520
if ${lt_cv_prog_compiler_c_o+:} false; then :
9521
$as_echo_n "(cached) " >&6
9523
lt_cv_prog_compiler_c_o=no
9524
$RM -r conftest 2>/dev/null
9528
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9530
lt_compiler_flag="-o out/conftest2.$ac_objext"
9531
# Insert the option either (1) after the last *FLAGS variable, or
9532
# (2) before a word containing "conftest.", or (3) at the end.
9533
# Note that $ac_compile itself does not contain backslashes and begins
9534
# with a dollar sign (not a hyphen), so the echo should work correctly.
9535
lt_compile=`echo "$ac_compile" | $SED \
9536
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9537
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9538
-e 's:$: $lt_compiler_flag:'`
9539
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9540
(eval "$lt_compile" 2>out/conftest.err)
9542
cat out/conftest.err >&5
9543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9546
# The compiler can only warn and ignore the option if not recognized
9547
# So say no if there are warnings
9548
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9549
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9550
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9551
lt_cv_prog_compiler_c_o=yes
9556
# SGI C++ compiler will create directory out/ii_files/ for
9557
# template instantiation
9558
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9559
$RM out/* && rmdir out
9565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9566
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9574
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9575
if ${lt_cv_prog_compiler_c_o+:} false; then :
9576
$as_echo_n "(cached) " >&6
9578
lt_cv_prog_compiler_c_o=no
9579
$RM -r conftest 2>/dev/null
9583
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9585
lt_compiler_flag="-o out/conftest2.$ac_objext"
9586
# Insert the option either (1) after the last *FLAGS variable, or
9587
# (2) before a word containing "conftest.", or (3) at the end.
9588
# Note that $ac_compile itself does not contain backslashes and begins
9589
# with a dollar sign (not a hyphen), so the echo should work correctly.
9590
lt_compile=`echo "$ac_compile" | $SED \
9591
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9592
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9593
-e 's:$: $lt_compiler_flag:'`
9594
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9595
(eval "$lt_compile" 2>out/conftest.err)
9597
cat out/conftest.err >&5
9598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9601
# The compiler can only warn and ignore the option if not recognized
9602
# So say no if there are warnings
9603
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9604
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9605
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9606
lt_cv_prog_compiler_c_o=yes
9611
# SGI C++ compiler will create directory out/ii_files/ for
9612
# template instantiation
9613
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9614
$RM out/* && rmdir out
9620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9621
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9626
hard_links="nottested"
9627
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9628
# do not overwrite the value of need_locks provided by the user
9629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9630
$as_echo_n "checking if we can lock with hard links... " >&6; }
9633
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9635
ln conftest.a conftest.b 2>&5 || hard_links=no
9636
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9638
$as_echo "$hard_links" >&6; }
9639
if test "$hard_links" = no; then
9640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9641
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9654
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9657
allow_undefined_flag=
9658
always_export_symbols=no
9660
archive_expsym_cmds=
9661
compiler_needs_object=no
9662
enable_shared_with_static_runtimes=no
9663
export_dynamic_flag_spec=
9664
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9665
hardcode_automatic=no
9667
hardcode_direct_absolute=no
9668
hardcode_libdir_flag_spec=
9669
hardcode_libdir_flag_spec_ld=
9670
hardcode_libdir_separator=
9672
hardcode_shlibpath_var=unsupported
9674
link_all_deplibs=unknown
9677
old_archive_from_new_cmds=
9678
old_archive_from_expsyms_cmds=
9679
thread_safe_flag_spec=
9680
whole_archive_flag_spec=
9681
# include_expsyms should be a list of space-separated symbols to be *always*
9682
# included in the symbol list
9684
# exclude_expsyms can be an extended regexp of symbols to exclude
9685
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9686
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9687
# as well as any symbol that contains `d'.
9688
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9689
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9690
# platforms (ab)use it in PIC code, but their linkers get confused if
9691
# the symbol is explicitly referenced. Since portable code cannot
9692
# rely on this symbol name, it's probably fine to never include it in
9693
# preloaded symbol tables.
9694
# Exclude shared library initialization/finalization symbols.
9695
extract_expsyms_cmds=
9698
cygwin* | mingw* | pw32* | cegcc*)
9699
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9700
# When not using gcc, we currently assume that we are using
9701
# Microsoft Visual C++.
9702
if test "$GCC" != yes; then
9707
# we just hope/assume this is gcc and not c89 (= MSVC++)
9713
linux* | k*bsd*-gnu | gnu*)
9720
# On some targets, GNU ld is compatible enough with the native linker
9721
# that we're better off using the native interface for both.
9722
lt_use_gnu_ld_interface=no
9723
if test "$with_gnu_ld" = yes; then
9726
# The AIX port of GNU ld has always aspired to compatibility
9727
# with the native linker. However, as the warning in the GNU ld
9728
# block says, versions before 2.19.5* couldn't really create working
9729
# shared libraries, regardless of the interface used.
9730
case `$LD -v 2>&1` in
9731
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9732
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9733
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9735
lt_use_gnu_ld_interface=yes
9740
lt_use_gnu_ld_interface=yes
9745
if test "$lt_use_gnu_ld_interface" = yes; then
9746
# If archive_cmds runs LD, not CC, wlarc should be empty
9749
# Set some defaults for GNU ld with shared library support. These
9750
# are reset later if shared libraries are not supported. Putting them
9751
# here allows them to be overridden if necessary.
9752
runpath_var=LD_RUN_PATH
9753
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9754
export_dynamic_flag_spec='${wl}--export-dynamic'
9755
# ancient GNU ld didn't support --whole-archive et. al.
9756
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9757
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9759
whole_archive_flag_spec=
9761
supports_anon_versioning=no
9762
case `$LD -v 2>&1` in
9763
*GNU\ gold*) supports_anon_versioning=yes ;;
9764
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9765
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9766
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9767
*\ 2.11.*) ;; # other 2.11 versions
9768
*) supports_anon_versioning=yes ;;
9771
# See if GNU ld supports shared libraries.
9774
# On AIX/PPC, the GNU linker is very broken
9775
if test "$host_cpu" != ia64; then
9779
*** Warning: the GNU linker, at least up to release 2.19, is reported
9780
*** to be unable to reliably create shared libraries on AIX.
9781
*** Therefore, libtool is disabling shared libraries support. If you
9782
*** really care for shared libraries, you may want to install binutils
9783
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9784
*** You will then need to restart the configuration process.
9793
# see comment about AmigaOS4 .so support
9794
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9795
archive_expsym_cmds=''
9798
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)'
9799
hardcode_libdir_flag_spec='-L$libdir'
9800
hardcode_minus_L=yes
9806
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9807
allow_undefined_flag=unsupported
9808
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9809
# support --undefined. This deserves some investigation. FIXME
9810
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9816
cygwin* | mingw* | pw32* | cegcc*)
9817
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9818
# as there is no search path for DLLs.
9819
hardcode_libdir_flag_spec='-L$libdir'
9820
export_dynamic_flag_spec='${wl}--export-all-symbols'
9821
allow_undefined_flag=unsupported
9822
always_export_symbols=no
9823
enable_shared_with_static_runtimes=yes
9824
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'
9825
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9827
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9828
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9829
# If the export-symbols file already is a .def file (1st line
9830
# is EXPORTS), use it as is; otherwise, prepend...
9831
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9832
cp $export_symbols $output_objdir/$soname.def;
9834
echo EXPORTS > $output_objdir/$soname.def;
9835
cat $export_symbols >> $output_objdir/$soname.def;
9837
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9844
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9845
link_all_deplibs=yes
9850
hardcode_shlibpath_var=no
9851
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9852
export_dynamic_flag_spec='${wl}-E'
9853
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9854
# Instead, shared libraries are loaded at an image base (0x10000000 by
9855
# default) and relocated if they conflict, which is a slow very memory
9856
# consuming and fragmenting process. To avoid this, we pick a random,
9857
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9858
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9859
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9860
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'
9863
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9865
if test "$host_os" = linux-dietlibc; then
9866
case $cc_basename in
9867
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9870
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9871
&& test "$tmp_diet" = no
9873
tmp_addflag=' $pic_flag'
9874
tmp_sharedflag='-shared'
9875
case $cc_basename,$host_cpu in
9876
pgcc*) # Portland Group C compiler
9877
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'
9878
tmp_addflag=' $pic_flag'
9880
pgf77* | pgf90* | pgf95* | pgfortran*)
9881
# Portland Group f77 and f90 compilers
9882
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'
9883
tmp_addflag=' $pic_flag -Mnomain' ;;
9884
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9885
tmp_addflag=' -i_dynamic' ;;
9886
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9887
tmp_addflag=' -i_dynamic -nofor_main' ;;
9888
ifc* | ifort*) # Intel Fortran compiler
9889
tmp_addflag=' -nofor_main' ;;
9890
lf95*) # Lahey Fortran 8.1
9891
whole_archive_flag_spec=
9892
tmp_sharedflag='--shared' ;;
9893
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9894
tmp_sharedflag='-qmkshrobj'
9896
nvcc*) # Cuda Compiler Driver 2.2
9897
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'
9898
compiler_needs_object=yes
9901
case `$CC -V 2>&1 | sed 5q` in
9902
*Sun\ C*) # Sun C 5.9
9903
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'
9904
compiler_needs_object=yes
9905
tmp_sharedflag='-G' ;;
9906
*Sun\ F*) # Sun Fortran 8.3
9907
tmp_sharedflag='-G' ;;
9909
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911
if test "x$supports_anon_versioning" = xyes; then
9912
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9913
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9914
echo "local: *; };" >> $output_objdir/$libname.ver~
9915
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9918
case $cc_basename in
9919
xlf* | bgf* | bgxlf* | mpixlf*)
9920
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9921
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9922
hardcode_libdir_flag_spec=
9923
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9924
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9925
if test "x$supports_anon_versioning" = xyes; then
9926
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9927
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9928
echo "local: *; };" >> $output_objdir/$libname.ver~
9929
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9938
netbsd* | netbsdelf*-gnu)
9939
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9940
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9943
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9949
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9953
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9954
*** create shared libraries on Solaris systems. Therefore, libtool
9955
*** is disabling shared libraries support. We urge you to upgrade GNU
9956
*** binutils to release 2.9.1 or newer. Another option is to modify
9957
*** your PATH or compiler configuration so that the native linker is
9958
*** used, and then restart.
9961
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9962
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9970
case `$LD -v 2>&1` in
9971
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9975
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9976
*** reliably create shared libraries on SCO systems. Therefore, libtool
9977
*** is disabling shared libraries support. We urge you to upgrade GNU
9978
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9979
*** your PATH or compiler configuration so that the native linker is
9980
*** used, and then restart.
9985
# For security reasons, it is highly recommended that you always
9986
# use absolute paths for naming shared libraries, and exclude the
9987
# DT_RUNPATH tag from executables and libraries. But doing so
9988
# requires that you compile everything twice, which is a pain.
9989
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9990
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9991
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9992
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10001
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10003
hardcode_direct=yes
10004
hardcode_shlibpath_var=no
10008
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10009
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10017
if test "$ld_shlibs" = no; then
10019
hardcode_libdir_flag_spec=
10020
export_dynamic_flag_spec=
10021
whole_archive_flag_spec=
10024
# PORTME fill in a description of your system's linker (not GNU ld)
10027
allow_undefined_flag=unsupported
10028
always_export_symbols=yes
10029
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'
10030
# Note: this linker hardcodes the directories in LIBPATH if there
10031
# are no directories specified by -L.
10032
hardcode_minus_L=yes
10033
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10034
# Neither direct hardcoding nor static linking is supported with a
10036
hardcode_direct=unsupported
10041
if test "$host_cpu" = ia64; then
10042
# On IA64, the linker does run time linking by default, so we don't
10043
# have to do anything special.
10044
aix_use_runtimelinking=no
10045
exp_sym_flag='-Bexport'
10048
# If we're using GNU nm, then we don't want the "-C" option.
10049
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10050
# Also, AIX nm treats weak defined symbols like other global
10051
# defined symbols, whereas GNU nm marks them as "W".
10052
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10053
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'
10055
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'
10057
aix_use_runtimelinking=no
10059
# Test if we are trying to use run time linking or normal
10060
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10061
# need to do runtime linking.
10062
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10063
for ld_flag in $LDFLAGS; do
10064
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10065
aix_use_runtimelinking=yes
10072
exp_sym_flag='-bexport'
10073
no_entry_flag='-bnoentry'
10076
# When large executables or shared objects are built, AIX ld can
10077
# have problems creating the table of contents. If linking a library
10078
# or program results in "error TOC overflow" add -mminimal-toc to
10079
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10080
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10083
hardcode_direct=yes
10084
hardcode_direct_absolute=yes
10085
hardcode_libdir_separator=':'
10086
link_all_deplibs=yes
10087
file_list_spec='${wl}-f,'
10089
if test "$GCC" = yes; then
10090
case $host_os in aix4.[012]|aix4.[012].*)
10091
# We only want to do this on AIX 4.2 and lower, the check
10092
# below for broken collect2 doesn't work under 4.3+
10093
collect2name=`${CC} -print-prog-name=collect2`
10094
if test -f "$collect2name" &&
10095
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10097
# We have reworked collect2
10100
# We have old collect2
10101
hardcode_direct=unsupported
10102
# It fails to find uninstalled libraries when the uninstalled
10103
# path is not listed in the libpath. Setting hardcode_minus_L
10104
# to unsupported forces relinking
10105
hardcode_minus_L=yes
10106
hardcode_libdir_flag_spec='-L$libdir'
10107
hardcode_libdir_separator=
10111
shared_flag='-shared'
10112
if test "$aix_use_runtimelinking" = yes; then
10113
shared_flag="$shared_flag "'${wl}-G'
10115
link_all_deplibs=no
10118
if test "$host_cpu" = ia64; then
10119
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10120
# chokes on -Wl,-G. The following line is correct:
10123
if test "$aix_use_runtimelinking" = yes; then
10124
shared_flag='${wl}-G'
10126
shared_flag='${wl}-bM:SRE'
10131
export_dynamic_flag_spec='${wl}-bexpall'
10132
# It seems that -bexpall does not export symbols beginning with
10133
# underscore (_), so it is better to generate a list of symbols to export.
10134
always_export_symbols=yes
10135
if test "$aix_use_runtimelinking" = yes; then
10136
# Warning - without using the other runtime loading flags (-brtl),
10137
# -berok will link without error, but may produce a broken library.
10138
allow_undefined_flag='-berok'
10139
# Determine the default libpath from the value encoded in an
10140
# empty executable.
10141
if test "${lt_cv_aix_libpath+set}" = set; then
10142
aix_libpath=$lt_cv_aix_libpath
10144
if ${lt_cv_aix_libpath_+:} false; then :
10145
$as_echo_n "(cached) " >&6
10147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148
/* end confdefs.h. */
10158
if ac_fn_c_try_link "$LINENO"; then :
10160
lt_aix_libpath_sed='
10161
/Import File Strings/,/^$/ {
10163
s/^0 *\([^ ]*\) *$/\1/
10167
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10168
# Check for a 64-bit object if we didn't find anything.
10169
if test -z "$lt_cv_aix_libpath_"; then
10170
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10173
rm -f core conftest.err conftest.$ac_objext \
10174
conftest$ac_exeext conftest.$ac_ext
10175
if test -z "$lt_cv_aix_libpath_"; then
10176
lt_cv_aix_libpath_="/usr/lib:/lib"
10181
aix_libpath=$lt_cv_aix_libpath_
10184
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10185
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"
10187
if test "$host_cpu" = ia64; then
10188
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10189
allow_undefined_flag="-z nodefs"
10190
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"
10192
# Determine the default libpath from the value encoded in an
10193
# empty executable.
10194
if test "${lt_cv_aix_libpath+set}" = set; then
10195
aix_libpath=$lt_cv_aix_libpath
10197
if ${lt_cv_aix_libpath_+:} false; then :
10198
$as_echo_n "(cached) " >&6
10200
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201
/* end confdefs.h. */
10211
if ac_fn_c_try_link "$LINENO"; then :
10213
lt_aix_libpath_sed='
10214
/Import File Strings/,/^$/ {
10216
s/^0 *\([^ ]*\) *$/\1/
10220
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10221
# Check for a 64-bit object if we didn't find anything.
10222
if test -z "$lt_cv_aix_libpath_"; then
10223
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10226
rm -f core conftest.err conftest.$ac_objext \
10227
conftest$ac_exeext conftest.$ac_ext
10228
if test -z "$lt_cv_aix_libpath_"; then
10229
lt_cv_aix_libpath_="/usr/lib:/lib"
10234
aix_libpath=$lt_cv_aix_libpath_
10237
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10238
# Warning - without using the other run time loading flags,
10239
# -berok will link without error, but may produce a broken library.
10240
no_undefined_flag=' ${wl}-bernotok'
10241
allow_undefined_flag=' ${wl}-berok'
10242
if test "$with_gnu_ld" = yes; then
10243
# We only use this code for GNU lds that support --whole-archive.
10244
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10246
# Exported symbols can be pulled into shared objects from archives
10247
whole_archive_flag_spec='$convenience'
10249
archive_cmds_need_lc=yes
10250
# This is similar to how AIX traditionally builds its shared libraries.
10251
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'
10259
# see comment about AmigaOS4 .so support
10260
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10261
archive_expsym_cmds=''
10264
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)'
10265
hardcode_libdir_flag_spec='-L$libdir'
10266
hardcode_minus_L=yes
10272
export_dynamic_flag_spec=-rdynamic
10275
cygwin* | mingw* | pw32* | cegcc*)
10276
# When not using gcc, we currently assume that we are using
10277
# Microsoft Visual C++.
10278
# hardcode_libdir_flag_spec is actually meaningless, as there is
10279
# no search path for DLLs.
10280
case $cc_basename in
10283
hardcode_libdir_flag_spec=' '
10284
allow_undefined_flag=unsupported
10285
always_export_symbols=yes
10287
# Tell ltmain to make .lib files, not .a files.
10289
# Tell ltmain to make .dll files, not .so files.
10291
# FIXME: Setting linknames here is a bad hack.
10292
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10293
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10294
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10296
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10298
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10300
# The linker will not automatically build a static lib if we build a DLL.
10301
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10302
enable_shared_with_static_runtimes=yes
10303
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10305
old_postinstall_cmds='chmod 644 $oldlib'
10306
postlink_cmds='lt_outputfile="@OUTPUT@"~
10307
lt_tool_outputfile="@TOOL_OUTPUT@"~
10308
case $lt_outputfile in
10311
lt_outputfile="$lt_outputfile.exe"
10312
lt_tool_outputfile="$lt_tool_outputfile.exe"
10315
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10316
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10317
$RM "$lt_outputfile.manifest";
10321
# Assume MSVC wrapper
10322
hardcode_libdir_flag_spec=' '
10323
allow_undefined_flag=unsupported
10324
# Tell ltmain to make .lib files, not .a files.
10326
# Tell ltmain to make .dll files, not .so files.
10328
# FIXME: Setting linknames here is a bad hack.
10329
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10330
# The linker will automatically build a .lib file if we build a DLL.
10331
old_archive_from_new_cmds='true'
10332
# FIXME: Should let the user specify the lib program.
10333
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10334
enable_shared_with_static_runtimes=yes
10339
darwin* | rhapsody*)
10342
archive_cmds_need_lc=no
10344
hardcode_automatic=yes
10345
hardcode_shlibpath_var=unsupported
10346
if test "$lt_cv_ld_force_load" = "yes"; then
10347
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\"`'
10349
whole_archive_flag_spec=''
10351
link_all_deplibs=yes
10352
allow_undefined_flag="$_lt_dar_allow_undefined"
10353
case $cc_basename in
10354
ifort*) _lt_dar_can_shared=yes ;;
10355
*) _lt_dar_can_shared=$GCC ;;
10357
if test "$_lt_dar_can_shared" = "yes"; then
10358
output_verbose_link_cmd=func_echo_all
10359
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10360
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10361
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}"
10362
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}"
10371
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10372
hardcode_libdir_flag_spec='-L$libdir'
10373
hardcode_shlibpath_var=no
10380
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10381
# support. Future versions do this automatically, but an explicit c++rt0.o
10382
# does not break anything, and helps significantly (at the cost of a little
10385
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10386
hardcode_libdir_flag_spec='-R$libdir'
10387
hardcode_direct=yes
10388
hardcode_shlibpath_var=no
10391
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10393
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10394
hardcode_direct=yes
10395
hardcode_minus_L=yes
10396
hardcode_shlibpath_var=no
10399
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10400
freebsd* | dragonfly*)
10401
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10402
hardcode_libdir_flag_spec='-R$libdir'
10403
hardcode_direct=yes
10404
hardcode_shlibpath_var=no
10408
if test "$GCC" = yes; then
10409
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'
10411
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'
10413
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10414
hardcode_libdir_separator=:
10415
hardcode_direct=yes
10417
# hardcode_minus_L: Not really in the search PATH,
10418
# but as the default location of the library.
10419
hardcode_minus_L=yes
10420
export_dynamic_flag_spec='${wl}-E'
10424
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10425
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10427
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10429
if test "$with_gnu_ld" = no; then
10430
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10431
hardcode_libdir_flag_spec_ld='+b $libdir'
10432
hardcode_libdir_separator=:
10433
hardcode_direct=yes
10434
hardcode_direct_absolute=yes
10435
export_dynamic_flag_spec='${wl}-E'
10436
# hardcode_minus_L: Not really in the search PATH,
10437
# but as the default location of the library.
10438
hardcode_minus_L=yes
10443
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10446
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10449
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10452
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10458
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10461
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10465
# Older versions of the 11.00 compiler do not understand -b yet
10466
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10468
$as_echo_n "checking if $CC understands -b... " >&6; }
10469
if ${lt_cv_prog_compiler__b+:} false; then :
10470
$as_echo_n "(cached) " >&6
10472
lt_cv_prog_compiler__b=no
10473
save_LDFLAGS="$LDFLAGS"
10474
LDFLAGS="$LDFLAGS -b"
10475
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10476
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10477
# The linker can only warn and ignore the option if not recognized
10478
# So say no if there are warnings
10479
if test -s conftest.err; then
10480
# Append any errors to the config.log.
10481
cat conftest.err 1>&5
10482
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10483
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10484
if diff conftest.exp conftest.er2 >/dev/null; then
10485
lt_cv_prog_compiler__b=yes
10488
lt_cv_prog_compiler__b=yes
10492
LDFLAGS="$save_LDFLAGS"
10495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10496
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10498
if test x"$lt_cv_prog_compiler__b" = xyes; then
10499
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10501
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10507
if test "$with_gnu_ld" = no; then
10508
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10509
hardcode_libdir_separator=:
10514
hardcode_shlibpath_var=no
10517
hardcode_direct=yes
10518
hardcode_direct_absolute=yes
10519
export_dynamic_flag_spec='${wl}-E'
10521
# hardcode_minus_L: Not really in the search PATH,
10522
# but as the default location of the library.
10523
hardcode_minus_L=yes
10529
irix5* | irix6* | nonstopux*)
10530
if test "$GCC" = yes; then
10531
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'
10532
# Try to use the -exported_symbol ld option, if it does not
10533
# work, assume that -exports_file does not work either and
10534
# implicitly export all symbols.
10535
# This should be the same for all languages, so no per-tag cache variable.
10536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10537
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10538
if ${lt_cv_irix_exported_symbol+:} false; then :
10539
$as_echo_n "(cached) " >&6
10541
save_LDFLAGS="$LDFLAGS"
10542
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10543
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544
/* end confdefs.h. */
10545
int foo (void) { return 0; }
10547
if ac_fn_c_try_link "$LINENO"; then :
10548
lt_cv_irix_exported_symbol=yes
10550
lt_cv_irix_exported_symbol=no
10552
rm -f core conftest.err conftest.$ac_objext \
10553
conftest$ac_exeext conftest.$ac_ext
10554
LDFLAGS="$save_LDFLAGS"
10556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10557
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10558
if test "$lt_cv_irix_exported_symbol" = yes; then
10559
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'
10562
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'
10563
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'
10565
archive_cmds_need_lc='no'
10566
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10567
hardcode_libdir_separator=:
10569
link_all_deplibs=yes
10572
netbsd* | netbsdelf*-gnu)
10573
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10574
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10576
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10578
hardcode_libdir_flag_spec='-R$libdir'
10579
hardcode_direct=yes
10580
hardcode_shlibpath_var=no
10584
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585
hardcode_direct=yes
10586
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10587
hardcode_libdir_separator=:
10588
hardcode_shlibpath_var=no
10595
if test -f /usr/libexec/ld.so; then
10596
hardcode_direct=yes
10597
hardcode_shlibpath_var=no
10598
hardcode_direct_absolute=yes
10599
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10600
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10601
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10602
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10603
export_dynamic_flag_spec='${wl}-E'
10606
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10607
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10608
hardcode_libdir_flag_spec='-R$libdir'
10611
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10612
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10622
hardcode_libdir_flag_spec='-L$libdir'
10623
hardcode_minus_L=yes
10624
allow_undefined_flag=unsupported
10625
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'
10626
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10630
if test "$GCC" = yes; then
10631
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10632
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'
10634
allow_undefined_flag=' -expect_unresolved \*'
10635
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'
10637
archive_cmds_need_lc='no'
10638
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10639
hardcode_libdir_separator=:
10642
osf4* | osf5*) # as osf3* with the addition of -msym flag
10643
if test "$GCC" = yes; then
10644
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10645
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'
10646
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10648
allow_undefined_flag=' -expect_unresolved \*'
10649
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'
10650
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~
10651
$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'
10653
# Both c and cxx compiler support -rpath directly
10654
hardcode_libdir_flag_spec='-rpath $libdir'
10656
archive_cmds_need_lc='no'
10657
hardcode_libdir_separator=:
10661
no_undefined_flag=' -z defs'
10662
if test "$GCC" = yes; then
10664
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10665
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10666
$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'
10668
case `$CC -V 2>&1` in
10671
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10672
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10673
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10677
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10678
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10679
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10683
hardcode_libdir_flag_spec='-R$libdir'
10684
hardcode_shlibpath_var=no
10686
solaris2.[0-5] | solaris2.[0-5].*) ;;
10688
# The compiler driver will combine and reorder linker options,
10689
# but understands `-z linker_flag'. GCC discards it without `$wl',
10690
# but is careful enough not to reorder.
10691
# Supported since Solaris 2.6 (maybe 2.5.1?)
10692
if test "$GCC" = yes; then
10693
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10695
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10699
link_all_deplibs=yes
10703
if test "x$host_vendor" = xsequent; then
10704
# Use $CC to link under sequent, because it throws in some extra .o
10705
# files that make .init and .fini sections work.
10706
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10708
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10710
hardcode_libdir_flag_spec='-L$libdir'
10711
hardcode_direct=yes
10712
hardcode_minus_L=yes
10713
hardcode_shlibpath_var=no
10717
case $host_vendor in
10719
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10720
hardcode_direct=yes # is this really true???
10723
## LD is ld it makes a PLAMLIB
10724
## CC just makes a GrossModule.
10725
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10726
reload_cmds='$CC -r -o $output$reload_objs'
10730
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10731
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10734
runpath_var='LD_RUN_PATH'
10735
hardcode_shlibpath_var=no
10739
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10740
hardcode_shlibpath_var=no
10741
export_dynamic_flag_spec='-Bexport'
10745
if test -d /usr/nec; then
10746
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10747
hardcode_shlibpath_var=no
10748
runpath_var=LD_RUN_PATH
10749
hardcode_runpath_var=yes
10754
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10755
no_undefined_flag='${wl}-z,text'
10756
archive_cmds_need_lc=no
10757
hardcode_shlibpath_var=no
10758
runpath_var='LD_RUN_PATH'
10760
if test "$GCC" = yes; then
10761
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10762
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10764
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10765
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10769
sysv5* | sco3.2v5* | sco5v6*)
10770
# Note: We can NOT use -z defs as we might desire, because we do not
10771
# link with -lc, and that would cause any symbols used from libc to
10772
# always be unresolved, which means just about no library would
10773
# ever link correctly. If we're not using GNU ld we use -z text
10774
# though, which does catch some bad symbols but isn't as heavy-handed
10776
no_undefined_flag='${wl}-z,text'
10777
allow_undefined_flag='${wl}-z,nodefs'
10778
archive_cmds_need_lc=no
10779
hardcode_shlibpath_var=no
10780
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10781
hardcode_libdir_separator=':'
10782
link_all_deplibs=yes
10783
export_dynamic_flag_spec='${wl}-Bexport'
10784
runpath_var='LD_RUN_PATH'
10786
if test "$GCC" = yes; then
10787
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10790
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10791
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10796
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10797
hardcode_libdir_flag_spec='-L$libdir'
10798
hardcode_shlibpath_var=no
10806
if test x$host_vendor = xsni; then
10808
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10809
export_dynamic_flag_spec='${wl}-Blargedynsym'
10815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10816
$as_echo "$ld_shlibs" >&6; }
10817
test "$ld_shlibs" = no && can_build_shared=no
10819
with_gnu_ld=$with_gnu_ld
10836
# Do we need to explicitly link libc?
10838
case "x$archive_cmds_need_lc" in
10840
# Assume -lc should be added
10841
archive_cmds_need_lc=yes
10843
if test "$enable_shared" = yes && test "$GCC" = yes; then
10844
case $archive_cmds in
10846
# FIXME: we may have to deal with multi-command sequences.
10849
# Test whether the compiler implicitly links with -lc since on some
10850
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10851
# to ld, don't add -lc before -lgcc.
10852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10853
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10854
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10855
$as_echo_n "(cached) " >&6
10858
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10860
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10861
(eval $ac_compile) 2>&5
10863
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10864
test $ac_status = 0; } 2>conftest.err; then
10867
libobjs=conftest.$ac_objext
10869
wl=$lt_prog_compiler_wl
10870
pic_flag=$lt_prog_compiler_pic
10876
lt_save_allow_undefined_flag=$allow_undefined_flag
10877
allow_undefined_flag=
10878
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10879
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10881
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10882
test $ac_status = 0; }
10884
lt_cv_archive_cmds_need_lc=no
10886
lt_cv_archive_cmds_need_lc=yes
10888
allow_undefined_flag=$lt_save_allow_undefined_flag
10890
cat conftest.err 1>&5
10895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10896
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10897
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11061
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11063
if test "$GCC" = yes; then
11065
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11066
*) lt_awk_arg="/^libraries:/" ;;
11069
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11070
*) lt_sed_strip_eq="s,=/,/,g" ;;
11072
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11073
case $lt_search_path_spec in
11075
# if the path contains ";" then we assume it to be the separator
11076
# otherwise default to the standard path separator (i.e. ":") - it is
11077
# assumed that no part of a normal pathname contains ";" but that should
11078
# okay in the real world where ";" in dirpaths is itself problematic.
11079
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11082
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11085
# Ok, now we have the path, separated by spaces, we can step through it
11086
# and add multilib dir if necessary.
11087
lt_tmp_lt_search_path_spec=
11088
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11089
for lt_sys_path in $lt_search_path_spec; do
11090
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11091
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11093
test -d "$lt_sys_path" && \
11094
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11097
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11098
BEGIN {RS=" "; FS="/|\n";} {
11101
for (lt_i = NF; lt_i > 0; lt_i--) {
11102
if ($lt_i != "" && $lt_i != ".") {
11103
if ($lt_i == "..") {
11106
if (lt_count == 0) {
11107
lt_foo="/" $lt_i lt_foo;
11114
if (lt_foo != "") { lt_freq[lt_foo]++; }
11115
if (lt_freq[lt_foo] == 1) { print lt_foo; }
11117
# AWK program above erroneously prepends '/' to C:/dos/paths
11120
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11121
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
11123
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11125
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11127
library_names_spec=
11128
libname_spec='lib$name'
11132
postuninstall_cmds=
11136
shlibpath_overrides_runpath=unknown
11138
dynamic_linker="$host_os ld.so"
11139
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11140
need_lib_prefix=unknown
11141
hardcode_into_libs=no
11143
# when you set need_version to no, make sure it does not cause -set_version
11144
# flags to be left without arguments
11145
need_version=unknown
11150
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11151
shlibpath_var=LIBPATH
11153
# AIX 3 has no versioning support, so we append a major version to the name.
11154
soname_spec='${libname}${release}${shared_ext}$major'
11161
hardcode_into_libs=yes
11162
if test "$host_cpu" = ia64; then
11163
# AIX 5 supports IA64
11164
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11165
shlibpath_var=LD_LIBRARY_PATH
11167
# With GCC up to 2.95.x, collect2 would create an import file
11168
# for dependence libraries. The import file would start with
11169
# the line `#! .'. This would cause the generated library to
11170
# depend on `.', always an invalid library. This was fixed in
11171
# development snapshots of GCC prior to 3.0.
11173
aix4 | aix4.[01] | aix4.[01].*)
11174
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11176
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11179
can_build_shared=no
11183
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11184
# soname into executable. Probably we can add versioning support to
11185
# collect2, so additional links can be useful in future.
11186
if test "$aix_use_runtimelinking" = yes; then
11187
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11188
# instead of lib<name>.a to let people know that these are not
11189
# typical AIX shared libraries.
11190
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11192
# We preserve .a as extension for shared libraries through AIX4.2
11193
# and later when we are not doing run time linking.
11194
library_names_spec='${libname}${release}.a $libname.a'
11195
soname_spec='${libname}${release}${shared_ext}$major'
11197
shlibpath_var=LIBPATH
11204
# Since July 2007 AmigaOS4 officially supports .so libraries.
11205
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11206
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209
library_names_spec='$libname.ixlibrary $libname.a'
11210
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11211
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'
11217
library_names_spec='${libname}${shared_ext}'
11218
dynamic_linker="$host_os ld.so"
11219
shlibpath_var=LIBRARY_PATH
11225
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11226
soname_spec='${libname}${release}${shared_ext}$major'
11227
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11228
shlibpath_var=LD_LIBRARY_PATH
11229
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11230
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11231
# the default ld.so.conf also contains /usr/contrib/lib and
11232
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11233
# libtool to hard-code these into programs
11236
cygwin* | mingw* | pw32* | cegcc*)
11237
version_type=windows
11242
case $GCC,$cc_basename in
11245
library_names_spec='$libname.dll.a'
11246
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11247
postinstall_cmds='base_file=`basename \${file}`~
11248
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11249
dldir=$destdir/`dirname \$dlpath`~
11250
test -d \$dldir || mkdir -p \$dldir~
11251
$install_prog $dir/$dlname \$dldir/$dlname~
11252
chmod a+x \$dldir/$dlname~
11253
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11254
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11256
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11257
dlpath=$dir/\$dldll~
11259
shlibpath_overrides_runpath=yes
11263
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11264
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11266
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11269
# MinGW DLLs use traditional 'lib' prefix
11270
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11273
# pw32 DLLs use 'pw' prefix rather than 'lib'
11274
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11277
dynamic_linker='Win32 ld.exe'
11282
libname_spec='$name'
11283
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11284
library_names_spec='${libname}.dll.lib'
11288
sys_lib_search_path_spec=
11291
for lt_path in $LIB
11294
# Let DOS variable expansion print the short 8.3 style file name.
11295
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11296
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11299
# Convert to MSYS style.
11300
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11303
# Convert to unix form, then to dos form, then back to unix form
11304
# but this time dos style (no spaces!) so that the unix form looks
11305
# like /cygdrive/c/PROGRA~1:/cygdr...
11306
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11307
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11308
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11311
sys_lib_search_path_spec="$LIB"
11312
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11313
# It is most probably a Windows format PATH.
11314
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11316
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11318
# FIXME: find the short name or the path components, as spaces are
11319
# common. (e.g. "Program Files" -> "PROGRA~1")
11323
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11324
postinstall_cmds='base_file=`basename \${file}`~
11325
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11326
dldir=$destdir/`dirname \$dlpath`~
11327
test -d \$dldir || mkdir -p \$dldir~
11328
$install_prog $dir/$dlname \$dldir/$dlname'
11329
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11330
dlpath=$dir/\$dldll~
11332
shlibpath_overrides_runpath=yes
11333
dynamic_linker='Win32 link.exe'
11337
# Assume MSVC wrapper
11338
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11339
dynamic_linker='Win32 ld.exe'
11342
# FIXME: first we should search . and the directory the executable is in
11346
darwin* | rhapsody*)
11347
dynamic_linker="$host_os dyld"
11348
version_type=darwin
11351
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11352
soname_spec='${libname}${release}${major}$shared_ext'
11353
shlibpath_overrides_runpath=yes
11354
shlibpath_var=DYLD_LIBRARY_PATH
11355
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11357
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11358
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11365
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11366
soname_spec='${libname}${release}${shared_ext}$major'
11367
shlibpath_var=LD_LIBRARY_PATH
11374
freebsd* | dragonfly*)
11375
# DragonFly does not have aout. When/if they implement a new
11376
# versioning mechanism, adjust this.
11377
if test -x /usr/bin/objformat; then
11378
objformat=`/usr/bin/objformat`
11381
freebsd[123]*) objformat=aout ;;
11382
*) objformat=elf ;;
11385
version_type=freebsd-$objformat
11386
case $version_type in
11388
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11393
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11397
shlibpath_var=LD_LIBRARY_PATH
11400
shlibpath_overrides_runpath=yes
11402
freebsd3.[01]* | freebsdelf3.[01]*)
11403
shlibpath_overrides_runpath=yes
11404
hardcode_into_libs=yes
11406
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11407
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11408
shlibpath_overrides_runpath=no
11409
hardcode_into_libs=yes
11411
*) # from 4.6 on, and DragonFly
11412
shlibpath_overrides_runpath=yes
11413
hardcode_into_libs=yes
11422
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11423
soname_spec='${libname}${release}${shared_ext}$major'
11424
shlibpath_var=LD_LIBRARY_PATH
11425
shlibpath_overrides_runpath=no
11426
hardcode_into_libs=yes
11433
dynamic_linker="$host_os runtime_loader"
11434
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11435
soname_spec='${libname}${release}${shared_ext}$major'
11436
shlibpath_var=LIBRARY_PATH
11437
shlibpath_overrides_runpath=yes
11438
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11439
hardcode_into_libs=yes
11442
hpux9* | hpux10* | hpux11*)
11443
# Give a soname corresponding to the major version so that dld.sl refuses to
11444
# link against other versions.
11451
hardcode_into_libs=yes
11452
dynamic_linker="$host_os dld.so"
11453
shlibpath_var=LD_LIBRARY_PATH
11454
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11455
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11456
soname_spec='${libname}${release}${shared_ext}$major'
11457
if test "X$HPUX_IA64_MODE" = X32; then
11458
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11460
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11462
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11466
hardcode_into_libs=yes
11467
dynamic_linker="$host_os dld.sl"
11468
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11469
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11470
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471
soname_spec='${libname}${release}${shared_ext}$major'
11472
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11473
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11477
dynamic_linker="$host_os dld.sl"
11478
shlibpath_var=SHLIB_PATH
11479
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11480
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11481
soname_spec='${libname}${release}${shared_ext}$major'
11484
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11485
postinstall_cmds='chmod 555 $lib'
11486
# or fails outright, so override atomically:
11487
install_override_mode=555
11494
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11495
soname_spec='${libname}${release}${shared_ext}$major'
11496
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11497
shlibpath_var=LD_LIBRARY_PATH
11498
shlibpath_overrides_runpath=no
11499
hardcode_into_libs=yes
11502
irix5* | irix6* | nonstopux*)
11504
nonstopux*) version_type=nonstopux ;;
11506
if test "$lt_cv_prog_gnu_ld" = yes; then
11514
soname_spec='${libname}${release}${shared_ext}$major'
11515
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11517
irix5* | nonstopux*)
11518
libsuff= shlibsuff=
11521
case $LD in # libtool.m4 will add one of these switches to LD
11522
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11523
libsuff= shlibsuff= libmagic=32-bit;;
11524
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11525
libsuff=32 shlibsuff=N32 libmagic=N32;;
11526
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11527
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11528
*) libsuff= shlibsuff= libmagic=never-match;;
11532
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11533
shlibpath_overrides_runpath=no
11534
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11535
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11536
hardcode_into_libs=yes
11539
# No shared lib support for Linux oldld, aout, or coff.
11540
linux*oldld* | linux*aout* | linux*coff*)
11544
# This must be Linux ELF.
11545
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11549
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550
soname_spec='${libname}${release}${shared_ext}$major'
11551
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11552
shlibpath_var=LD_LIBRARY_PATH
11553
shlibpath_overrides_runpath=no
11555
# Some binutils ld are patched to set DT_RUNPATH
11556
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11557
$as_echo_n "(cached) " >&6
11559
lt_cv_shlibpath_overrides_runpath=no
11560
save_LDFLAGS=$LDFLAGS
11561
save_libdir=$libdir
11562
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11563
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11564
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565
/* end confdefs.h. */
11575
if ac_fn_c_try_link "$LINENO"; then :
11576
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11577
lt_cv_shlibpath_overrides_runpath=yes
11580
rm -f core conftest.err conftest.$ac_objext \
11581
conftest$ac_exeext conftest.$ac_ext
11582
LDFLAGS=$save_LDFLAGS
11583
libdir=$save_libdir
11587
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11589
# This implies no fast_install, which is unacceptable.
11590
# Some rework will be needed to allow for fast_install
11591
# before this can be enabled.
11592
hardcode_into_libs=yes
11594
# Append ld.so.conf contents to the search path
11595
if test -f /etc/ld.so.conf; then
11596
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' ' '`
11597
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11600
# We used to test for /lib/ld.so.1 and disable shared libraries on
11601
# powerpc, because MkLinux only supported shared libraries with the
11602
# GNU dynamic linker. Since this was broken with cross compilers,
11603
# most powerpc-linux boxes support dynamic linking these days and
11604
# people can always --disable-shared, the test was removed, and we
11605
# assume the GNU/Linux dynamic linker is in use.
11606
dynamic_linker='GNU/Linux ld.so'
11613
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11614
soname_spec='${libname}${release}${shared_ext}$major'
11615
shlibpath_var=LD_LIBRARY_PATH
11616
shlibpath_overrides_runpath=no
11617
hardcode_into_libs=yes
11618
dynamic_linker='NetBSD ld.elf_so'
11625
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11627
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11628
dynamic_linker='NetBSD (a.out) ld.so'
11630
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11631
soname_spec='${libname}${release}${shared_ext}$major'
11632
dynamic_linker='NetBSD ld.elf_so'
11634
shlibpath_var=LD_LIBRARY_PATH
11635
shlibpath_overrides_runpath=yes
11636
hardcode_into_libs=yes
11641
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11642
shlibpath_var=LD_LIBRARY_PATH
11643
shlibpath_overrides_runpath=yes
11650
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651
soname_spec='${libname}${release}${shared_ext}$major'
11652
shlibpath_var=LD_LIBRARY_PATH
11653
shlibpath_overrides_runpath=no
11654
hardcode_into_libs=yes
11655
dynamic_linker='ldqnx.so'
11660
sys_lib_dlsearch_path_spec="/usr/lib"
11662
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11664
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11665
*) need_version=no ;;
11667
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11668
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11669
shlibpath_var=LD_LIBRARY_PATH
11670
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11672
openbsd2.[89] | openbsd2.[89].*)
11673
shlibpath_overrides_runpath=no
11676
shlibpath_overrides_runpath=yes
11680
shlibpath_overrides_runpath=yes
11685
libname_spec='$name'
11688
library_names_spec='$libname${shared_ext} $libname.a'
11689
dynamic_linker='OS/2 ld.exe'
11690
shlibpath_var=LIBPATH
11693
osf3* | osf4* | osf5*)
11697
soname_spec='${libname}${release}${shared_ext}$major'
11698
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11699
shlibpath_var=LD_LIBRARY_PATH
11700
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11701
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11712
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11713
soname_spec='${libname}${release}${shared_ext}$major'
11714
shlibpath_var=LD_LIBRARY_PATH
11715
shlibpath_overrides_runpath=yes
11716
hardcode_into_libs=yes
11717
# ldd complains unless libraries are executable
11718
postinstall_cmds='chmod +x $lib'
11723
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11724
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11725
shlibpath_var=LD_LIBRARY_PATH
11726
shlibpath_overrides_runpath=yes
11727
if test "$with_gnu_ld" = yes; then
11735
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11736
soname_spec='${libname}${release}${shared_ext}$major'
11737
shlibpath_var=LD_LIBRARY_PATH
11738
case $host_vendor in
11740
shlibpath_overrides_runpath=no
11742
runpath_var=LD_RUN_PATH
11750
shlibpath_overrides_runpath=no
11751
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11757
if test -d /usr/nec ;then
11759
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11760
soname_spec='$libname${shared_ext}.$major'
11761
shlibpath_var=LD_LIBRARY_PATH
11765
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11766
version_type=freebsd-elf
11769
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11770
soname_spec='${libname}${release}${shared_ext}$major'
11771
shlibpath_var=LD_LIBRARY_PATH
11772
shlibpath_overrides_runpath=yes
11773
hardcode_into_libs=yes
11774
if test "$with_gnu_ld" = yes; then
11775
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11777
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11780
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11784
sys_lib_dlsearch_path_spec='/usr/lib'
11788
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11792
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11793
shlibpath_var=LD_LIBRARY_PATH
11794
shlibpath_overrides_runpath=no
11795
hardcode_into_libs=yes
11800
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801
soname_spec='${libname}${release}${shared_ext}$major'
11802
shlibpath_var=LD_LIBRARY_PATH
11809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11810
$as_echo "$dynamic_linker" >&6; }
11811
test "$dynamic_linker" = no && can_build_shared=no
11813
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11814
if test "$GCC" = yes; then
11815
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11818
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11819
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11821
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11822
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11917
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11919
if test -n "$hardcode_libdir_flag_spec" ||
11920
test -n "$runpath_var" ||
11921
test "X$hardcode_automatic" = "Xyes" ; then
11923
# We can hardcode non-existent directories.
11924
if test "$hardcode_direct" != no &&
11925
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11926
# have to relink, otherwise we might link with an installed library
11927
# when we should be linking with a yet-to-be-installed one
11928
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11929
test "$hardcode_minus_L" != no; then
11930
# Linking always hardcodes the temporary library directory.
11931
hardcode_action=relink
11933
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11934
hardcode_action=immediate
11937
# We cannot hardcode anything, or else we can only hardcode existing
11939
hardcode_action=unsupported
11941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11942
$as_echo "$hardcode_action" >&6; }
11944
if test "$hardcode_action" = relink ||
11945
test "$inherit_rpath" = yes; then
11946
# Fast installation is not supported
11947
enable_fast_install=no
11948
elif test "$shlibpath_overrides_runpath" = yes ||
11949
test "$enable_shared" = no; then
11950
# Fast installation is not necessary
11951
enable_fast_install=needless
11959
if test "x$enable_dlopen" != xyes; then
11960
enable_dlopen=unknown
11961
enable_dlopen_self=unknown
11962
enable_dlopen_self_static=unknown
11969
lt_cv_dlopen="load_add_on"
11971
lt_cv_dlopen_self=yes
11974
mingw* | pw32* | cegcc*)
11975
lt_cv_dlopen="LoadLibrary"
11980
lt_cv_dlopen="dlopen"
11985
# if libdl is installed we need to link against it
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11987
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11988
if ${ac_cv_lib_dl_dlopen+:} false; then :
11989
$as_echo_n "(cached) " >&6
11991
ac_check_lib_save_LIBS=$LIBS
11993
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994
/* end confdefs.h. */
11996
/* Override any GCC internal prototype to avoid an error.
11997
Use char because int might match the return type of a GCC
11998
builtin and then its argument prototype would still apply. */
12011
if ac_fn_c_try_link "$LINENO"; then :
12012
ac_cv_lib_dl_dlopen=yes
12014
ac_cv_lib_dl_dlopen=no
12016
rm -f core conftest.err conftest.$ac_objext \
12017
conftest$ac_exeext conftest.$ac_ext
12018
LIBS=$ac_check_lib_save_LIBS
12020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12021
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12022
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12023
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12026
lt_cv_dlopen="dyld"
12028
lt_cv_dlopen_self=yes
12035
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12036
if test "x$ac_cv_func_shl_load" = xyes; then :
12037
lt_cv_dlopen="shl_load"
12039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12040
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12041
if ${ac_cv_lib_dld_shl_load+:} false; then :
12042
$as_echo_n "(cached) " >&6
12044
ac_check_lib_save_LIBS=$LIBS
12046
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047
/* end confdefs.h. */
12049
/* Override any GCC internal prototype to avoid an error.
12050
Use char because int might match the return type of a GCC
12051
builtin and then its argument prototype would still apply. */
12059
return shl_load ();
12064
if ac_fn_c_try_link "$LINENO"; then :
12065
ac_cv_lib_dld_shl_load=yes
12067
ac_cv_lib_dld_shl_load=no
12069
rm -f core conftest.err conftest.$ac_objext \
12070
conftest$ac_exeext conftest.$ac_ext
12071
LIBS=$ac_check_lib_save_LIBS
12073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12074
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12075
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12076
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12078
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12079
if test "x$ac_cv_func_dlopen" = xyes; then :
12080
lt_cv_dlopen="dlopen"
12082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12083
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12084
if ${ac_cv_lib_dl_dlopen+:} false; then :
12085
$as_echo_n "(cached) " >&6
12087
ac_check_lib_save_LIBS=$LIBS
12089
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090
/* end confdefs.h. */
12092
/* Override any GCC internal prototype to avoid an error.
12093
Use char because int might match the return type of a GCC
12094
builtin and then its argument prototype would still apply. */
12107
if ac_fn_c_try_link "$LINENO"; then :
12108
ac_cv_lib_dl_dlopen=yes
12110
ac_cv_lib_dl_dlopen=no
12112
rm -f core conftest.err conftest.$ac_objext \
12113
conftest$ac_exeext conftest.$ac_ext
12114
LIBS=$ac_check_lib_save_LIBS
12116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12117
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12118
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12119
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12122
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12123
if ${ac_cv_lib_svld_dlopen+:} false; then :
12124
$as_echo_n "(cached) " >&6
12126
ac_check_lib_save_LIBS=$LIBS
12127
LIBS="-lsvld $LIBS"
12128
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129
/* end confdefs.h. */
12131
/* Override any GCC internal prototype to avoid an error.
12132
Use char because int might match the return type of a GCC
12133
builtin and then its argument prototype would still apply. */
12146
if ac_fn_c_try_link "$LINENO"; then :
12147
ac_cv_lib_svld_dlopen=yes
12149
ac_cv_lib_svld_dlopen=no
12151
rm -f core conftest.err conftest.$ac_objext \
12152
conftest$ac_exeext conftest.$ac_ext
12153
LIBS=$ac_check_lib_save_LIBS
12155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12156
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12157
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12158
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12161
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12162
if ${ac_cv_lib_dld_dld_link+:} false; then :
12163
$as_echo_n "(cached) " >&6
12165
ac_check_lib_save_LIBS=$LIBS
12167
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168
/* end confdefs.h. */
12170
/* Override any GCC internal prototype to avoid an error.
12171
Use char because int might match the return type of a GCC
12172
builtin and then its argument prototype would still apply. */
12180
return dld_link ();
12185
if ac_fn_c_try_link "$LINENO"; then :
12186
ac_cv_lib_dld_dld_link=yes
12188
ac_cv_lib_dld_dld_link=no
12190
rm -f core conftest.err conftest.$ac_objext \
12191
conftest$ac_exeext conftest.$ac_ext
12192
LIBS=$ac_check_lib_save_LIBS
12194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12195
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12196
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12197
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12218
if test "x$lt_cv_dlopen" != xno; then
12224
case $lt_cv_dlopen in
12226
save_CPPFLAGS="$CPPFLAGS"
12227
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12229
save_LDFLAGS="$LDFLAGS"
12230
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12233
LIBS="$lt_cv_dlopen_libs $LIBS"
12235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12236
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12237
if ${lt_cv_dlopen_self+:} false; then :
12238
$as_echo_n "(cached) " >&6
12240
if test "$cross_compiling" = yes; then :
12241
lt_cv_dlopen_self=cross
12243
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12244
lt_status=$lt_dlunknown
12245
cat > conftest.$ac_ext <<_LT_EOF
12246
#line $LINENO "configure"
12247
#include "confdefs.h"
12256
# define LT_DLGLOBAL RTLD_GLOBAL
12259
# define LT_DLGLOBAL DL_GLOBAL
12261
# define LT_DLGLOBAL 0
12265
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12266
find out it does not work in some platform. */
12267
#ifndef LT_DLLAZY_OR_NOW
12269
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12272
# define LT_DLLAZY_OR_NOW DL_LAZY
12275
# define LT_DLLAZY_OR_NOW RTLD_NOW
12278
# define LT_DLLAZY_OR_NOW DL_NOW
12280
# define LT_DLLAZY_OR_NOW 0
12287
/* When -fvisbility=hidden is used, assume the code has been annotated
12288
correspondingly for the symbols needed. */
12289
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12290
int fnord () __attribute__((visibility("default")));
12293
int fnord () { return 42; }
12296
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12297
int status = $lt_dlunknown;
12301
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12304
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12305
else puts (dlerror ());
12307
/* dlclose (self); */
12315
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12316
(eval $ac_link) 2>&5
12318
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12319
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12320
(./conftest; exit; ) >&5 2>/dev/null
12322
case x$lt_status in
12323
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12324
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12325
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12328
# compilation failed
12329
lt_cv_dlopen_self=no
12336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12337
$as_echo "$lt_cv_dlopen_self" >&6; }
12339
if test "x$lt_cv_dlopen_self" = xyes; then
12340
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12342
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12343
if ${lt_cv_dlopen_self_static+:} false; then :
12344
$as_echo_n "(cached) " >&6
12346
if test "$cross_compiling" = yes; then :
12347
lt_cv_dlopen_self_static=cross
12349
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12350
lt_status=$lt_dlunknown
12351
cat > conftest.$ac_ext <<_LT_EOF
12352
#line $LINENO "configure"
12353
#include "confdefs.h"
12362
# define LT_DLGLOBAL RTLD_GLOBAL
12365
# define LT_DLGLOBAL DL_GLOBAL
12367
# define LT_DLGLOBAL 0
12371
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12372
find out it does not work in some platform. */
12373
#ifndef LT_DLLAZY_OR_NOW
12375
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12378
# define LT_DLLAZY_OR_NOW DL_LAZY
12381
# define LT_DLLAZY_OR_NOW RTLD_NOW
12384
# define LT_DLLAZY_OR_NOW DL_NOW
12386
# define LT_DLLAZY_OR_NOW 0
12393
/* When -fvisbility=hidden is used, assume the code has been annotated
12394
correspondingly for the symbols needed. */
12395
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12396
int fnord () __attribute__((visibility("default")));
12399
int fnord () { return 42; }
12402
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12403
int status = $lt_dlunknown;
12407
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12410
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12411
else puts (dlerror ());
12413
/* dlclose (self); */
12421
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12422
(eval $ac_link) 2>&5
12424
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12425
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12426
(./conftest; exit; ) >&5 2>/dev/null
12428
case x$lt_status in
12429
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12430
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12431
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12434
# compilation failed
12435
lt_cv_dlopen_self_static=no
12442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12443
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12446
CPPFLAGS="$save_CPPFLAGS"
12447
LDFLAGS="$save_LDFLAGS"
12452
case $lt_cv_dlopen_self in
12453
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12454
*) enable_dlopen_self=unknown ;;
12457
case $lt_cv_dlopen_self_static in
12458
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12459
*) enable_dlopen_self_static=unknown ;;
12481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12482
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12483
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12484
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12485
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12487
$as_echo "yes" >&6; }
12489
# FIXME - insert some real tests, host_os isn't really good enough
12492
if test -n "$STRIP" ; then
12493
striplib="$STRIP -x"
12494
old_striplib="$STRIP -S"
12495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12496
$as_echo "yes" >&6; }
12498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499
$as_echo "no" >&6; }
12503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12504
$as_echo "no" >&6; }
12520
# Report which library types will actually be built
12521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12522
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12524
$as_echo "$can_build_shared" >&6; }
12526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12527
$as_echo_n "checking whether to build shared libraries... " >&6; }
12528
test "$can_build_shared" = "no" && enable_shared=no
12530
# On AIX, shared libraries and static libraries use the same namespace, and
12531
# are all built from PIC.
12534
test "$enable_shared" = yes && enable_static=no
12535
if test -n "$RANLIB"; then
12536
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12537
postinstall_cmds='$RANLIB $lib'
12542
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12543
test "$enable_shared" = yes && enable_static=no
12547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12548
$as_echo "$enable_shared" >&6; }
12550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12551
$as_echo_n "checking whether to build static libraries... " >&6; }
12552
# Make sure either enable_shared or enable_static is yes.
12553
test "$enable_shared" = yes || enable_static=yes
12554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12555
$as_echo "$enable_static" >&6; }
12562
ac_cpp='$CPP $CPPFLAGS'
12563
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12564
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12565
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12581
ac_config_commands="$ac_config_commands libtool"
12586
# Only expand once:
12599
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12600
if test -n "$ac_tool_prefix"; then
12601
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12602
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12604
$as_echo_n "checking for $ac_word... " >&6; }
12605
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12606
$as_echo_n "(cached) " >&6
12608
case $PKG_CONFIG in
12610
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12614
for as_dir in $PATH
12617
test -z "$as_dir" && as_dir=.
12618
for ac_exec_ext in '' $ac_executable_extensions; do
12619
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12620
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12621
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12631
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12632
if test -n "$PKG_CONFIG"; then
12633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12634
$as_echo "$PKG_CONFIG" >&6; }
12636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637
$as_echo "no" >&6; }
12642
if test -z "$ac_cv_path_PKG_CONFIG"; then
12643
ac_pt_PKG_CONFIG=$PKG_CONFIG
12644
# Extract the first word of "pkg-config", so it can be a program name with args.
12645
set dummy pkg-config; ac_word=$2
12646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12647
$as_echo_n "checking for $ac_word... " >&6; }
12648
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12649
$as_echo_n "(cached) " >&6
12651
case $ac_pt_PKG_CONFIG in
12653
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12657
for as_dir in $PATH
12660
test -z "$as_dir" && as_dir=.
12661
for ac_exec_ext in '' $ac_executable_extensions; do
12662
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12663
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12664
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12674
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12675
if test -n "$ac_pt_PKG_CONFIG"; then
12676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12677
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12680
$as_echo "no" >&6; }
12683
if test "x$ac_pt_PKG_CONFIG" = x; then
12686
case $cross_compiling:$ac_tool_warned in
12688
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12689
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12690
ac_tool_warned=yes ;;
12692
PKG_CONFIG=$ac_pt_PKG_CONFIG
12695
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12699
if test -n "$PKG_CONFIG"; then
12700
_pkg_min_version=0.9.0
12701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12702
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12703
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12705
$as_echo "yes" >&6; }
12707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708
$as_echo "no" >&6; }
12714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PDF_CONVERTER" >&5
12715
$as_echo_n "checking for PDF_CONVERTER... " >&6; }
12717
if test -n "$PDF_CONVERTER_CFLAGS"; then
12718
pkg_cv_PDF_CONVERTER_CFLAGS="$PDF_CONVERTER_CFLAGS"
12719
elif test -n "$PKG_CONFIG"; then
12720
if test -n "$PKG_CONFIG" && \
12721
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 2.90.3 \""; } >&5
12722
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 2.90.3 ") 2>&5
12724
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12725
test $ac_status = 0; }; then
12726
pkg_cv_PDF_CONVERTER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 2.90.3 " 2>/dev/null`
12727
test "x$?" != "x0" && pkg_failed=yes
12734
if test -n "$PDF_CONVERTER_LIBS"; then
12735
pkg_cv_PDF_CONVERTER_LIBS="$PDF_CONVERTER_LIBS"
12736
elif test -n "$PKG_CONFIG"; then
12737
if test -n "$PKG_CONFIG" && \
12738
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 2.90.3 \""; } >&5
12739
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 2.90.3 ") 2>&5
12741
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12742
test $ac_status = 0; }; then
12743
pkg_cv_PDF_CONVERTER_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 2.90.3 " 2>/dev/null`
12744
test "x$?" != "x0" && pkg_failed=yes
12754
if test $pkg_failed = yes; then
12755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12756
$as_echo "no" >&6; }
12758
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12759
_pkg_short_errors_supported=yes
12761
_pkg_short_errors_supported=no
12763
if test $_pkg_short_errors_supported = yes; then
12764
PDF_CONVERTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 2.90.3 " 2>&1`
12766
PDF_CONVERTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 2.90.3 " 2>&1`
12768
# Put the nasty error message in config.log where it belongs
12769
echo "$PDF_CONVERTER_PKG_ERRORS" >&5
12771
as_fn_error $? "Package requirements (gtk+-3.0 >= 2.90.3 ) were not met:
12773
$PDF_CONVERTER_PKG_ERRORS
12775
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12776
installed software in a non-standard prefix.
12778
Alternatively, you may set the environment variables PDF_CONVERTER_CFLAGS
12779
and PDF_CONVERTER_LIBS to avoid the need to call pkg-config.
12780
See the pkg-config man page for more details." "$LINENO" 5
12781
elif test $pkg_failed = untried; then
12782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12783
$as_echo "no" >&6; }
12784
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12785
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12786
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12787
is in your PATH or set the PKG_CONFIG environment variable to the full
12788
path to pkg-config.
12790
Alternatively, you may set the environment variables PDF_CONVERTER_CFLAGS
12791
and PDF_CONVERTER_LIBS to avoid the need to call pkg-config.
12792
See the pkg-config man page for more details.
12794
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12795
See \`config.log' for more details" "$LINENO" 5; }
12797
PDF_CONVERTER_CFLAGS=$pkg_cv_PDF_CONVERTER_CFLAGS
12798
PDF_CONVERTER_LIBS=$pkg_cv_PDF_CONVERTER_LIBS
12799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12800
$as_echo "yes" >&6; }
12807
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
12809
cat >confcache <<\_ACEOF
12810
# This file is a shell script that caches the results of configure
12811
# tests run on this system so they can be shared between configure
12812
# scripts and configure runs, see configure's option --config-cache.
12813
# It is not useful on other systems. If it contains results you don't
12814
# want to keep, you may remove or edit it.
12816
# config.status only pays attention to the cache file if you give it
12817
# the --recheck option to rerun configure.
12819
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12820
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12821
# following values.
12825
# The following way of writing the cache mishandles newlines in values,
12826
# but we know of no workaround that is simple, portable, and efficient.
12827
# So, we kill variables containing newlines.
12828
# Ultrix sh set writes to stderr and can't be redirected directly,
12829
# and sets the high bit in the cache file unless we assign to the vars.
12831
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12832
eval ac_val=\$$ac_var
12836
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12837
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12840
_ | IFS | as_nl) ;; #(
12841
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12842
*) { eval $ac_var=; unset $ac_var;} ;;
12848
case $as_nl`(ac_space=' '; set) 2>&1` in #(
12849
*${as_nl}ac_space=\ *)
12850
# `set' does not quote correctly, so add quotes: double-quote
12851
# substitution turns \\\\ into \\, and sed turns \\ into \.
12854
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12857
# `set' quotes correctly as required by POSIX, so do not add quotes.
12858
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12867
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12869
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12871
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12872
if test -w "$cache_file"; then
12873
if test "x$cache_file" != "x/dev/null"; then
12874
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12875
$as_echo "$as_me: updating cache $cache_file" >&6;}
12876
if test ! -f "$cache_file" || test -h "$cache_file"; then
12877
cat confcache >"$cache_file"
12879
case $cache_file in #(
12881
mv -f confcache "$cache_file"$$ &&
12882
mv -f "$cache_file"$$ "$cache_file" ;; #(
12884
mv -f confcache "$cache_file" ;;
12889
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12890
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12895
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12896
# Let make expand exec_prefix.
12897
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12899
DEFS=-DHAVE_CONFIG_H
12904
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
12905
# 1. Remove the extension, and $U if already installed.
12906
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12907
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12908
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12909
# will be set to the directory where LIBOBJS objects are built.
12910
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12911
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12913
LIB@&t@OBJS=$ac_libobjs
12915
LTLIBOBJS=$ac_ltlibobjs
12918
if test -n "$EXEEXT"; then
12920
am__EXEEXT_FALSE='#'
12922
am__EXEEXT_TRUE='#'
12926
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12927
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12928
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12930
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12931
as_fn_error $? "conditional \"AMDEP\" was never defined.
12932
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12934
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12935
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12936
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12939
ac_config_commands="$ac_config_commands po/stamp-it"
12943
: "${CONFIG_STATUS=./config.status}"
12945
ac_clean_files_save=$ac_clean_files
12946
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12947
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12948
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12950
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12952
# Generated by $as_me.
12953
# Run this file to recreate the current configuration.
12954
# Compiler output produced by configure, useful for debugging
12955
# configure, is in config.log if it exists.
12958
ac_cs_recheck=false
12961
SHELL=\${CONFIG_SHELL-$SHELL}
12964
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12965
## -------------------- ##
12966
## M4sh Initialization. ##
12967
## -------------------- ##
12969
# Be more Bourne compatible
12970
DUALCASE=1; export DUALCASE # for MKS sh
12971
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12974
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12975
# is contrary to our usage. Disable this feature.
12976
alias -g '${1+"$@"}'='"$@"'
12977
setopt NO_GLOB_SUBST
12979
case `(set -o) 2>/dev/null` in @%:@(
12981
set -o posix ;; @%:@(
12991
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12992
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12993
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12994
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12995
# Prefer a ksh shell builtin over an external printf program on Solaris,
12996
# but without wasting forks for bash or zsh.
12997
if test -z "$BASH_VERSION$ZSH_VERSION" \
12998
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12999
as_echo='print -r --'
13000
as_echo_n='print -rn --'
13001
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13002
as_echo='printf %s\n'
13003
as_echo_n='printf %s'
13005
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13006
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13007
as_echo_n='/usr/ucb/echo -n'
13009
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13010
as_echo_n_body='eval
13014
expr "X$arg" : "X\\(.*\\)$as_nl";
13015
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13017
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13019
export as_echo_n_body
13020
as_echo_n='sh -c $as_echo_n_body as_echo'
13022
export as_echo_body
13023
as_echo='sh -c $as_echo_body as_echo'
13026
# The user is always right.
13027
if test "${PATH_SEPARATOR+set}" != set; then
13029
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13030
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13037
# We need space, tab and new line, in precisely that order. Quoting is
13038
# there to prevent editors from complaining about space-tab.
13039
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13040
# splitting by setting IFS to empty value.)
13043
# Find who we are. Look in the path if we contain no directory separator.
13046
*[\\/]* ) as_myself=$0 ;;
13047
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048
for as_dir in $PATH
13051
test -z "$as_dir" && as_dir=.
13052
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13058
# We did not find ourselves, most probably we were run as `sh COMMAND'
13059
# in which case we are not to be found in the path.
13060
if test "x$as_myself" = x; then
13063
if test ! -f "$as_myself"; then
13064
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13068
# Unset variables that we do not need and which cause bugs (e.g. in
13069
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13070
# suppresses any "Segmentation fault" message there. '((' could
13071
# trigger a bug in pdksh 5.2.14.
13072
for as_var in BASH_ENV ENV MAIL MAILPATH
13073
do eval test x\${$as_var+set} = xset \
13074
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13087
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13090
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
13091
@%:@ ----------------------------------------
13092
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13093
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13094
@%:@ script with STATUS, using 1 if that was 0.
13097
as_status=$1; test $as_status -eq 0 && as_status=1
13099
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13100
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13102
$as_echo "$as_me: error: $2" >&2
13103
as_fn_exit $as_status
13107
@%:@ as_fn_set_status STATUS
13108
@%:@ -----------------------
13109
@%:@ Set @S|@? to STATUS, without forking.
13110
as_fn_set_status ()
13113
} @%:@ as_fn_set_status
13115
@%:@ as_fn_exit STATUS
13116
@%:@ -----------------
13117
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13121
as_fn_set_status $1
13125
@%:@ as_fn_unset VAR
13126
@%:@ ---------------
13127
@%:@ Portably unset VAR.
13130
{ eval $1=; unset $1;}
13132
as_unset=as_fn_unset
13133
@%:@ as_fn_append VAR VALUE
13134
@%:@ ----------------------
13135
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13136
@%:@ advantage of any shell optimizations that allow amortized linear growth over
13137
@%:@ repeated appends, instead of the typical quadratic growth present in naive
13138
@%:@ implementations.
13139
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13140
eval 'as_fn_append ()
13151
@%:@ as_fn_arith ARG...
13152
@%:@ ------------------
13153
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13154
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13155
@%:@ must be portable across @S|@(()) and expr.
13156
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13157
eval 'as_fn_arith ()
13164
as_val=`expr "$@" || test $? -eq 1`
13169
if expr a : '\(a\)' >/dev/null 2>&1 &&
13170
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13176
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13177
as_basename=basename
13182
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13188
as_me=`$as_basename -- "$0" ||
13189
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13190
X"$0" : 'X\(//\)$' \| \
13191
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13193
sed '/^.*\/\([^/][^/]*\)\/*$/{
13207
# Avoid depending upon Character Ranges.
13208
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13209
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13210
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13211
as_cr_digits='0123456789'
13212
as_cr_alnum=$as_cr_Letters$as_cr_digits
13214
ECHO_C= ECHO_N= ECHO_T=
13215
case `echo -n x` in @%:@(((((
13217
case `echo 'xy\c'` in
13218
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13220
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13227
rm -f conf$$ conf$$.exe conf$$.file
13228
if test -d conf$$.dir; then
13229
rm -f conf$$.dir/conf$$.file
13232
mkdir conf$$.dir 2>/dev/null
13234
if (echo >conf$$.file) 2>/dev/null; then
13235
if ln -s conf$$.file conf$$ 2>/dev/null; then
13237
# ... but there are two gotchas:
13238
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13239
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13240
# In both cases, we have to default to `cp -p'.
13241
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13243
elif ln conf$$.file conf$$ 2>/dev/null; then
13251
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13252
rmdir conf$$.dir 2>/dev/null
13257
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
13262
-*) as_dir=./$as_dir;;
13264
test -d "$as_dir" || eval $as_mkdir_p || {
13268
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13269
*) as_qdir=$as_dir;;
13271
as_dirs="'$as_qdir' $as_dirs"
13272
as_dir=`$as_dirname -- "$as_dir" ||
13273
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13274
X"$as_dir" : 'X\(//\)[^/]' \| \
13275
X"$as_dir" : 'X\(//\)$' \| \
13276
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13277
$as_echo X"$as_dir" |
13278
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13282
/^X\(\/\/\)[^/].*/{
13295
test -d "$as_dir" && break
13297
test -z "$as_dirs" || eval "mkdir $as_dirs"
13298
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13301
} @%:@ as_fn_mkdir_p
13302
if mkdir -p . 2>/dev/null; then
13303
as_mkdir_p='mkdir -p "$as_dir"'
13305
test -d ./-p && rmdir ./-p
13309
if test -x / >/dev/null 2>&1; then
13310
as_test_x='test -x'
13312
if ls -dL / >/dev/null 2>&1; then
13319
if test -d "$1"; then
13325
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
13326
???[sx]*):;;*)false;;esac;fi
13330
as_executable_p=$as_test_x
13332
# Sed expression to map a string onto a valid CPP name.
13333
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13335
# Sed expression to map a string onto a valid variable name.
13336
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13340
## ----------------------------------- ##
13341
## Main body of $CONFIG_STATUS script. ##
13342
## ----------------------------------- ##
13344
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13346
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13347
# Save the log message, to keep $0 and so on meaningful, and to
13348
# report actual input values of CONFIG_FILES etc. instead of their
13349
# values after options handling.
13351
This file was extended by pdf_converter $as_me 0.1, which was
13352
generated by GNU Autoconf 2.68. Invocation command line was
13354
CONFIG_FILES = $CONFIG_FILES
13355
CONFIG_HEADERS = $CONFIG_HEADERS
13356
CONFIG_LINKS = $CONFIG_LINKS
13357
CONFIG_COMMANDS = $CONFIG_COMMANDS
13360
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13365
case $ac_config_files in *"
13366
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13369
case $ac_config_headers in *"
13370
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13374
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13375
# Files that config.status was made for.
13376
config_files="$ac_config_files"
13377
config_headers="$ac_config_headers"
13378
config_commands="$ac_config_commands"
13382
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13384
\`$as_me' instantiates files and other configuration actions
13385
from templates according to the current configuration. Unless the files
13386
and actions are specified as TAGs, all are instantiated by default.
13388
Usage: $0 [OPTION]... [TAG]...
13390
-h, --help print this help, then exit
13391
-V, --version print version number and configuration settings, then exit
13392
--config print configuration, then exit
13393
-q, --quiet, --silent
13394
do not print progress messages
13395
-d, --debug don't remove temporary files
13396
--recheck update $as_me by reconfiguring in the same conditions
13397
--file=FILE[:TEMPLATE]
13398
instantiate the configuration file FILE
13399
--header=FILE[:TEMPLATE]
13400
instantiate the configuration header FILE
13402
Configuration files:
13405
Configuration headers:
13408
Configuration commands:
13411
Report bugs to the package provider."
13414
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13415
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13417
pdf_converter config.status 0.1
13418
configured by $0, generated by GNU Autoconf 2.68,
13419
with options \\"\$ac_cs_config\\"
13421
Copyright (C) 2010 Free Software Foundation, Inc.
13422
This config.status script is free software; the Free Software Foundation
13423
gives unlimited permission to copy, distribute and modify it."
13430
test -n "\$AWK" || AWK=awk
13433
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13434
# The default lists apply if the user does not specify any file.
13440
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13441
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13445
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13457
# Handling of the options.
13458
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13460
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13461
$as_echo "$ac_cs_version"; exit ;;
13462
--config | --confi | --conf | --con | --co | --c )
13463
$as_echo "$ac_cs_config"; exit ;;
13464
--debug | --debu | --deb | --de | --d | -d )
13466
--file | --fil | --fi | --f )
13469
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13470
'') as_fn_error $? "missing file argument" ;;
13472
as_fn_append CONFIG_FILES " '$ac_optarg'"
13473
ac_need_defaults=false;;
13474
--header | --heade | --head | --hea )
13477
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13479
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13480
ac_need_defaults=false;;
13482
# Conflict between --help and --header
13483
as_fn_error $? "ambiguous option: \`$1'
13484
Try \`$0 --help' for more information.";;
13485
--help | --hel | -h )
13486
$as_echo "$ac_cs_usage"; exit ;;
13487
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13488
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13491
# This is an error.
13492
-*) as_fn_error $? "unrecognized option: \`$1'
13493
Try \`$0 --help' for more information." ;;
13495
*) as_fn_append ac_config_targets " $1"
13496
ac_need_defaults=false ;;
13502
ac_configure_extra_args=
13504
if $ac_cs_silent; then
13506
ac_configure_extra_args="$ac_configure_extra_args --silent"
13510
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13511
if \$ac_cs_recheck; then
13512
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13514
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13515
CONFIG_SHELL='$SHELL'
13516
export CONFIG_SHELL
13521
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13525
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
13526
@%:@@%:@ Running $as_me. @%:@@%:@
13532
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13536
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13540
# The HP-UX ksh and POSIX shell print the target directory to stdout
13541
# if CDPATH is set.
13542
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13544
sed_quote_subst='$sed_quote_subst'
13545
double_quote_subst='$double_quote_subst'
13546
delay_variable_subst='$delay_variable_subst'
13547
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13548
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13549
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13550
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13551
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13552
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13553
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13554
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13555
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13556
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13557
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13558
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13559
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13560
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13561
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13562
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13563
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13564
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13565
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13566
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13567
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13568
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13569
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13570
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13571
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13572
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13573
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13574
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13575
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13576
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13577
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13578
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13579
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13580
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13581
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13582
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13583
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13584
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13585
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13586
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13587
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13588
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13589
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13590
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13591
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13592
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13593
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13594
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13595
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13596
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13597
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13598
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13599
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13600
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13601
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13602
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"`'
13603
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13604
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13605
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13606
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13607
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13608
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13609
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13610
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13611
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13612
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13613
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13614
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13615
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13616
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13617
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13618
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13619
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13620
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13621
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13622
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13623
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13624
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13625
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13626
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13627
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13628
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13629
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13630
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13631
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13632
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13633
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13634
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13635
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13636
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13637
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13638
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13639
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13640
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13641
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13642
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13643
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13644
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13645
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13646
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13647
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13648
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13649
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13650
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13651
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13652
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13653
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13654
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13655
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13656
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13657
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13658
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13659
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13660
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13661
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13662
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13663
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13664
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13665
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13666
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13667
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13668
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13669
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13670
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13671
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13672
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13673
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13674
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13675
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13676
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13679
LTCFLAGS='$LTCFLAGS'
13680
compiler='$compiler_DEFAULT'
13682
# A function that is used when there is no print builtin or printf.
13683
func_fallback_echo ()
13685
eval 'cat <<_LTECHO_EOF
13690
# Quote evaled strings.
13704
deplibs_check_method \
13709
sharedlib_from_linklib_cmd \
13712
archiver_list_spec \
13718
lt_cv_sys_global_symbol_pipe \
13719
lt_cv_sys_global_symbol_to_cdecl \
13720
lt_cv_sys_global_symbol_to_c_name_address \
13721
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13722
nm_file_list_spec \
13723
lt_prog_compiler_no_builtin_flag \
13724
lt_prog_compiler_pic \
13725
lt_prog_compiler_wl \
13726
lt_prog_compiler_static \
13727
lt_cv_prog_compiler_c_o \
13736
export_dynamic_flag_spec \
13737
whole_archive_flag_spec \
13738
compiler_needs_object \
13740
allow_undefined_flag \
13741
no_undefined_flag \
13742
hardcode_libdir_flag_spec \
13743
hardcode_libdir_flag_spec_ld \
13744
hardcode_libdir_separator \
13748
variables_saved_for_relink \
13750
library_names_spec \
13752
install_override_mode \
13756
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13757
*[\\\\\\\`\\"\\\$]*)
13758
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13761
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13766
# Double-quote double-evaled strings.
13767
for var in reload_cmds \
13768
old_postinstall_cmds \
13769
old_postuninstall_cmds \
13771
extract_expsyms_cmds \
13772
old_archive_from_new_cmds \
13773
old_archive_from_expsyms_cmds \
13775
archive_expsym_cmds \
13777
module_expsym_cmds \
13778
export_symbols_cmds \
13782
postuninstall_cmds \
13784
sys_lib_search_path_spec \
13785
sys_lib_dlsearch_path_spec; do
13786
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13787
*[\\\\\\\`\\"\\\$]*)
13788
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13791
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13796
ac_aux_dir='$ac_aux_dir'
13797
xsi_shell='$xsi_shell'
13798
lt_shell_append='$lt_shell_append'
13800
# See if we are running on zsh, and set the options which allow our
13801
# commands through without removal of \ escapes INIT.
13802
if test -n "\${ZSH_VERSION+set}" ; then
13803
setopt NO_GLOB_SUBST
13809
TIMESTAMP='$TIMESTAMP'
13818
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13820
# Handling of arguments.
13821
for ac_config_target in $ac_config_targets
13823
case $ac_config_target in
13824
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13825
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13826
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13827
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13828
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13829
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13830
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13831
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13833
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13838
# If the user did not use the arguments to specify the items to instantiate,
13839
# then the envvar interface is used. Set only those that are not.
13840
# We use the long form for the default assignment because of an extremely
13841
# bizarre bug on SunOS 4.1.3.
13842
if $ac_need_defaults; then
13843
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13844
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13845
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13848
# Have a temporary directory for convenience. Make it in the build tree
13849
# simply because there is no reason against having it here, and in addition,
13850
# creating and moving files from /tmp can sometimes cause problems.
13851
# Hook for its removal unless debugging.
13852
# Note that there is a small window in which the directory will not be cleaned:
13853
# after its creation but before its name has been assigned to `$tmp'.
13857
trap 'exit_status=$?
13858
: "${ac_tmp:=$tmp}"
13859
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13861
trap 'as_fn_exit 1' 1 2 13 15
13863
# Create a (secure) tmp directory for tmp files.
13866
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13870
tmp=./conf$$-$RANDOM
13871
(umask 077 && mkdir "$tmp")
13872
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13875
# Set up the scripts for CONFIG_FILES section.
13876
# No need to generate them if there are no CONFIG_FILES.
13877
# This happens for instance with `./config.status config.h'.
13878
if test -n "$CONFIG_FILES"; then
13881
ac_cr=`echo X | tr X '\015'`
13882
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13883
# But we know of no other shell where ac_cr would be empty at this
13884
# point, so we can use a bashism as a fallback.
13885
if test "x$ac_cr" = x; then
13886
eval ac_cr=\$\'\\r\'
13888
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13889
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13892
ac_cs_awk_cr=$ac_cr
13895
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13900
echo "cat >conf$$subs.awk <<_ACEOF" &&
13901
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13903
} >conf$$subs.sh ||
13904
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13905
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13907
for ac_last_try in false false false false false :; do
13908
. ./conf$$subs.sh ||
13909
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13911
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13912
if test $ac_delim_n = $ac_delim_num; then
13914
elif $ac_last_try; then
13915
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13917
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13920
rm -f conf$$subs.sh
13922
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13923
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13927
s/^/S["/; s/!.*/"]=/
13937
s/\(.\{148\}\)..*/\1/
13939
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13944
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13951
s/\(.\{148\}\)..*/\1/
13953
s/["\\]/\\&/g; s/^/"/; s/$/"/
13957
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13962
' <conf$$subs.awk | sed '
13967
' >>$CONFIG_STATUS || ac_write_fail=1
13968
rm -f conf$$subs.awk
13969
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13971
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13972
for (key in S) S_is_set[key] = 1
13978
nfields = split(line, field, "@")
13980
len = length(field[1])
13981
for (i = 2; i < nfields; i++) {
13983
keylen = length(key)
13984
if (S_is_set[key]) {
13986
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13987
len += length(value) + length(field[++i])
13998
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13999
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14000
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14003
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14004
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14007
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14008
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14009
# trailing colons and then remove the whole line if VPATH becomes empty
14010
# (actually we leave an empty line to preserve line numbers).
14011
if test "x$srcdir" = x.; then
14012
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14030
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14031
fi # test -n "$CONFIG_FILES"
14033
# Set up the scripts for CONFIG_HEADERS section.
14034
# No need to generate them if there are no CONFIG_HEADERS.
14035
# This happens for instance with `./config.status Makefile'.
14036
if test -n "$CONFIG_HEADERS"; then
14037
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14041
# Transform confdefs.h into an awk script `defines.awk', embedded as
14042
# here-document in config.status, that substitutes the proper values into
14043
# config.h.in to produce config.h.
14045
# Create a delimiter string that does not exist in confdefs.h, to ease
14046
# handling of long lines.
14048
for ac_last_try in false false :; do
14049
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14050
if test -z "$ac_tt"; then
14052
elif $ac_last_try; then
14053
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14055
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14059
# For the awk script, D is an array of macro values keyed by name,
14060
# likewise P contains macro parameters if any. Preserve backslash
14061
# newline sequences.
14063
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14065
s/.\{148\}/&'"$ac_delim"'/g
14068
s/^[ ]*#[ ]*define[ ][ ]*/ /
14075
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14077
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14081
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14082
D["\1"]=" \3\\\\\\n"\\/p
14084
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14089
s/.\{148\}/&'"$ac_delim"'/g
14094
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14097
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14099
' <confdefs.h | sed '
14100
s/'"$ac_delim"'/"\\\
14101
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14103
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14104
for (key in D) D_is_set[key] = 1
14107
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14109
split(line, arg, " ")
14110
if (arg[1] == "#") {
14114
defundef = substr(arg[1], 2)
14117
split(mac1, mac2, "(") #)
14119
prefix = substr(line, 1, index(line, defundef) - 1)
14120
if (D_is_set[macro]) {
14121
# Preserve the white space surrounding the "#".
14122
print prefix "define", macro P[macro] D[macro]
14125
# Replace #undef with comments. This is necessary, for example,
14126
# in the case of _POSIX_SOURCE, which is predefined and required
14127
# on some systems where configure will not decide to define it.
14128
if (defundef == "undef") {
14129
print "/*", prefix defundef, macro, "*/"
14137
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14138
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14139
fi # test -n "$CONFIG_HEADERS"
14142
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14147
:[FHLC]) ac_mode=$ac_tag; continue;;
14149
case $ac_mode$ac_tag in
14151
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14152
:[FH]-) ac_tag=-:-;;
14153
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14170
-) ac_f="$ac_tmp/stdin";;
14171
*) # Look for the file first in the build tree, then in the source tree
14172
# (if the path is not absolute). The absolute path cannot be DOS-style,
14173
# because $ac_f cannot contain `:'.
14177
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14179
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14181
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14182
as_fn_append ac_file_inputs " '$ac_f'"
14185
# Let's still pretend it is `configure' which instantiates (i.e., don't
14186
# use $as_me), people would be surprised to read:
14187
# /* config.h. Generated by config.status. */
14188
configure_input='Generated from '`
14189
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14191
if test x"$ac_file" != x-; then
14192
configure_input="$ac_file. $configure_input"
14193
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14194
$as_echo "$as_me: creating $ac_file" >&6;}
14196
# Neutralize special characters interpreted by sed in replacement strings.
14197
case $configure_input in #(
14198
*\&* | *\|* | *\\* )
14199
ac_sed_conf_input=`$as_echo "$configure_input" |
14200
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14201
*) ac_sed_conf_input=$configure_input;;
14205
*:-:* | *:-) cat >"$ac_tmp/stdin" \
14206
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14211
ac_dir=`$as_dirname -- "$ac_file" ||
14212
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14213
X"$ac_file" : 'X\(//\)[^/]' \| \
14214
X"$ac_file" : 'X\(//\)$' \| \
14215
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14216
$as_echo X"$ac_file" |
14217
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14221
/^X\(\/\/\)[^/].*/{
14234
as_dir="$ac_dir"; as_fn_mkdir_p
14238
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14240
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14241
# A ".." for each directory in $ac_dir_suffix.
14242
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14243
case $ac_top_builddir_sub in
14244
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14245
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14248
ac_abs_top_builddir=$ac_pwd
14249
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14250
# for backward compatibility:
14251
ac_top_builddir=$ac_top_build_prefix
14254
.) # We are building in place.
14256
ac_top_srcdir=$ac_top_builddir_sub
14257
ac_abs_top_srcdir=$ac_pwd ;;
14258
[\\/]* | ?:[\\/]* ) # Absolute name.
14259
ac_srcdir=$srcdir$ac_dir_suffix;
14260
ac_top_srcdir=$srcdir
14261
ac_abs_top_srcdir=$srcdir ;;
14262
*) # Relative name.
14263
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14264
ac_top_srcdir=$ac_top_build_prefix$srcdir
14265
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14267
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14277
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14278
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14280
ac_MKDIR_P=$MKDIR_P
14282
[\\/$]* | ?:[\\/]* ) ;;
14283
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14287
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14288
# If the template does not know about datarootdir, expand it.
14289
# FIXME: This hack should be removed a few years after 2.60.
14290
ac_datarootdir_hack=; ac_datarootdir_seen=
14301
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14302
*datarootdir*) ac_datarootdir_seen=yes;;
14303
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14304
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14305
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14307
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14308
ac_datarootdir_hack='
14309
s&@datadir@&$datadir&g
14310
s&@docdir@&$docdir&g
14311
s&@infodir@&$infodir&g
14312
s&@localedir@&$localedir&g
14313
s&@mandir@&$mandir&g
14314
s&\\\${datarootdir}&$datarootdir&g' ;;
14318
# Neutralize VPATH when `$srcdir' = `.'.
14319
# Shell code in configure.ac might set extrasub.
14320
# FIXME: do we really want to maintain this feature?
14321
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14322
ac_sed_extra="$ac_vpsub
14325
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14327
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14328
s|@configure_input@|$ac_sed_conf_input|;t t
14329
s&@top_builddir@&$ac_top_builddir_sub&;t t
14330
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14331
s&@srcdir@&$ac_srcdir&;t t
14332
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14333
s&@top_srcdir@&$ac_top_srcdir&;t t
14334
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14335
s&@builddir@&$ac_builddir&;t t
14336
s&@abs_builddir@&$ac_abs_builddir&;t t
14337
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14338
s&@INSTALL@&$ac_INSTALL&;t t
14339
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14340
$ac_datarootdir_hack
14342
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14343
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14345
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14346
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14347
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14348
"$ac_tmp/out"`; test -z "$ac_out"; } &&
14349
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14350
which seems to be undefined. Please make sure it is defined" >&5
14351
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14352
which seems to be undefined. Please make sure it is defined" >&2;}
14354
rm -f "$ac_tmp/stdin"
14356
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14357
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14359
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14365
if test x"$ac_file" != x-; then
14367
$as_echo "/* $configure_input */" \
14368
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14369
} >"$ac_tmp/config.h" \
14370
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14371
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14372
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14373
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14376
mv "$ac_tmp/config.h" "$ac_file" \
14377
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14380
$as_echo "/* $configure_input */" \
14381
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14382
|| as_fn_error $? "could not create -" "$LINENO" 5
14384
# Compute "$ac_file"'s index in $config_headers.
14387
for _am_header in $config_headers :; do
14388
case $_am_header in
14389
$_am_arg | $_am_arg:* )
14392
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14395
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14396
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14397
X"$_am_arg" : 'X\(//\)[^/]' \| \
14398
X"$_am_arg" : 'X\(//\)$' \| \
14399
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14400
$as_echo X"$_am_arg" |
14401
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14405
/^X\(\/\/\)[^/].*/{
14417
s/.*/./; q'`/stamp-h$_am_stamp_count
14420
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14421
$as_echo "$as_me: executing $ac_file commands" >&6;}
14426
case $ac_file$ac_mode in
14427
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14428
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14429
# are listed without --file. Let's play safe and only enable the eval
14430
# if we detect the quoting.
14431
case $CONFIG_FILES in
14432
*\'*) eval set x "$CONFIG_FILES" ;;
14433
*) set x $CONFIG_FILES ;;
14438
# Strip MF so we end up with the name of the file.
14439
mf=`echo "$mf" | sed -e 's/:.*$//'`
14440
# Check whether this is an Automake generated Makefile or not.
14441
# We used to match only the files named `Makefile.in', but
14442
# some people rename them; so instead we look at the file content.
14443
# Grep'ing the first line is not enough: some people post-process
14444
# each Makefile.in and add a new line on top of each file to say so.
14445
# Grep'ing the whole file is not good either: AIX grep has a line
14446
# limit of 2048, but all sed's we know have understand at least 4000.
14447
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14448
dirpart=`$as_dirname -- "$mf" ||
14449
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14450
X"$mf" : 'X\(//\)[^/]' \| \
14451
X"$mf" : 'X\(//\)$' \| \
14452
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14454
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14458
/^X\(\/\/\)[^/].*/{
14474
# Extract the definition of DEPDIR, am__include, and am__quote
14475
# from the Makefile without running `make'.
14476
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14477
test -z "$DEPDIR" && continue
14478
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14479
test -z "am__include" && continue
14480
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14481
# When using ansi2knr, U may be empty or an underscore; expand it
14482
U=`sed -n 's/^U = //p' < "$mf"`
14483
# Find all dependency output files, they are included files with
14484
# $(DEPDIR) in their names. We invoke sed twice because it is the
14485
# simplest approach to changing $(DEPDIR) to its actual value in the
14487
for file in `sed -n "
14488
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14489
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14490
# Make sure the directory exists.
14491
test -f "$dirpart/$file" && continue
14492
fdir=`$as_dirname -- "$file" ||
14493
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14494
X"$file" : 'X\(//\)[^/]' \| \
14495
X"$file" : 'X\(//\)$' \| \
14496
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14497
$as_echo X"$file" |
14498
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14502
/^X\(\/\/\)[^/].*/{
14515
as_dir=$dirpart/$fdir; as_fn_mkdir_p
14516
# echo "creating $dirpart/$file"
14517
echo '# dummy' > "$dirpart/$file"
14522
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14523
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14527
# See if we are running on zsh, and set the options which allow our
14528
# commands through without removal of \ escapes.
14529
if test -n "${ZSH_VERSION+set}" ; then
14530
setopt NO_GLOB_SUBST
14533
cfgfile="${ofile}T"
14534
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14537
cat <<_LT_EOF >> "$cfgfile"
14540
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14541
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14542
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14543
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14545
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14546
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14548
# Written by Gordon Matzigkeit, 1996
14550
# This file is part of GNU Libtool.
14552
# GNU Libtool is free software; you can redistribute it and/or
14553
# modify it under the terms of the GNU General Public License as
14554
# published by the Free Software Foundation; either version 2 of
14555
# the License, or (at your option) any later version.
14557
# As a special exception to the GNU General Public License,
14558
# if you distribute this file as part of a program or library that
14559
# is built using GNU Libtool, you may include this file under the
14560
# same distribution terms that you use for the rest of that program.
14562
# GNU Libtool is distributed in the hope that it will be useful,
14563
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14564
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14565
# GNU General Public License for more details.
14567
# You should have received a copy of the GNU General Public License
14568
# along with GNU Libtool; see the file COPYING. If not, a copy
14569
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14570
# obtained by writing to the Free Software Foundation, Inc.,
14571
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14574
# The names of the tagged configurations supported by this script.
14577
# ### BEGIN LIBTOOL CONFIG
14579
# Which release of libtool.m4 was used?
14580
macro_version=$macro_version
14581
macro_revision=$macro_revision
14583
# Whether or not to build shared libraries.
14584
build_libtool_libs=$enable_shared
14586
# Whether or not to build static libraries.
14587
build_old_libs=$enable_static
14589
# What type of objects to build.
14592
# Whether or not to optimize for fast installation.
14593
fast_install=$enable_fast_install
14595
# Shell to use when invoking shell scripts.
14598
# An echo program that protects backslashes.
14602
host_alias=$host_alias
14606
# The build system.
14607
build_alias=$build_alias
14611
# A sed program that does not truncate output.
14614
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14615
Xsed="\$SED -e 1s/^X//"
14617
# A grep program that handles long lines.
14623
# A literal string matcher.
14626
# A BSD- or MS-compatible name lister.
14629
# Whether we need soft or hard links.
14632
# What is the maximum length of a command?
14633
max_cmd_len=$max_cmd_len
14635
# Object file suffix (normally "o").
14638
# Executable file suffix (normally "").
14641
# whether the shell understands "unset".
14644
# turn spaces into newlines.
14647
# turn newlines into spaces.
14650
# convert \$build file names to \$host format.
14651
to_host_file_cmd=$lt_cv_to_host_file_cmd
14653
# convert \$build files to toolchain format.
14654
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14656
# An object symbol dumper.
14657
OBJDUMP=$lt_OBJDUMP
14659
# Method to check whether dependent libraries are shared objects.
14660
deplibs_check_method=$lt_deplibs_check_method
14662
# Command to use when deplibs_check_method = "file_magic".
14663
file_magic_cmd=$lt_file_magic_cmd
14665
# How to find potential files when deplibs_check_method = "file_magic".
14666
file_magic_glob=$lt_file_magic_glob
14668
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14669
want_nocaseglob=$lt_want_nocaseglob
14671
# DLL creation program.
14672
DLLTOOL=$lt_DLLTOOL
14674
# Command to associate shared and link libraries.
14675
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14680
# Flags to create an archive.
14681
AR_FLAGS=$lt_AR_FLAGS
14683
# How to feed a file listing to the archiver.
14684
archiver_list_spec=$lt_archiver_list_spec
14686
# A symbol stripping program.
14689
# Commands used to install an old-style archive.
14691
old_postinstall_cmds=$lt_old_postinstall_cmds
14692
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14694
# Whether to use a lock for old archive extraction.
14695
lock_old_archive_extraction=$lock_old_archive_extraction
14700
# LTCC compiler flags.
14701
LTCFLAGS=$lt_CFLAGS
14703
# Take the output of nm and produce a listing of raw symbols and C names.
14704
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14706
# Transform the output of nm in a proper C declaration.
14707
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14709
# Transform the output of nm in a C name address pair.
14710
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14712
# Transform the output of nm in a C name address pair when lib prefix is needed.
14713
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14715
# Specify filename containing input files for \$NM.
14716
nm_file_list_spec=$lt_nm_file_list_spec
14718
# The root where to search for dependent libraries,and in which our libraries should be installed.
14719
lt_sysroot=$lt_sysroot
14721
# The name of the directory that contains temporary libtool files.
14724
# Used to examine libraries when file_magic_cmd begins with "file".
14725
MAGIC_CMD=$MAGIC_CMD
14727
# Must we lock files when doing compilation?
14728
need_locks=$lt_need_locks
14731
MANIFEST_TOOL=$lt_MANIFEST_TOOL
14733
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14734
DSYMUTIL=$lt_DSYMUTIL
14736
# Tool to change global to local symbols on Mac OS X.
14739
# Tool to manipulate fat objects and archives on Mac OS X.
14742
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14745
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14746
OTOOL64=$lt_OTOOL64
14748
# Old archive suffix (normally "a").
14751
# Shared library suffix (normally ".so").
14752
shrext_cmds=$lt_shrext_cmds
14754
# The commands to extract the exported symbol list from a shared archive.
14755
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14757
# Variables whose values should be saved in libtool wrapper scripts and
14758
# restored at link time.
14759
variables_saved_for_relink=$lt_variables_saved_for_relink
14761
# Do we need the "lib" prefix for modules?
14762
need_lib_prefix=$need_lib_prefix
14764
# Do we need a version for libraries?
14765
need_version=$need_version
14767
# Library versioning type.
14768
version_type=$version_type
14770
# Shared library runtime path variable.
14771
runpath_var=$runpath_var
14773
# Shared library path variable.
14774
shlibpath_var=$shlibpath_var
14776
# Is shlibpath searched before the hard-coded library search path?
14777
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14779
# Format of library name prefix.
14780
libname_spec=$lt_libname_spec
14782
# List of archive names. First name is the real one, the rest are links.
14783
# The last name is the one that the linker finds with -lNAME
14784
library_names_spec=$lt_library_names_spec
14786
# The coded name of the library, if different from the real name.
14787
soname_spec=$lt_soname_spec
14789
# Permission mode override for installation of shared libraries.
14790
install_override_mode=$lt_install_override_mode
14792
# Command to use after installation of a shared archive.
14793
postinstall_cmds=$lt_postinstall_cmds
14795
# Command to use after uninstallation of a shared archive.
14796
postuninstall_cmds=$lt_postuninstall_cmds
14798
# Commands used to finish a libtool library installation in a directory.
14799
finish_cmds=$lt_finish_cmds
14801
# As "finish_cmds", except a single script fragment to be evaled but
14803
finish_eval=$lt_finish_eval
14805
# Whether we should hardcode library paths into libraries.
14806
hardcode_into_libs=$hardcode_into_libs
14808
# Compile-time system search path for libraries.
14809
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14811
# Run-time system search path for libraries.
14812
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14814
# Whether dlopen is supported.
14815
dlopen_support=$enable_dlopen
14817
# Whether dlopen of programs is supported.
14818
dlopen_self=$enable_dlopen_self
14820
# Whether dlopen of statically linked programs is supported.
14821
dlopen_self_static=$enable_dlopen_self_static
14823
# Commands to strip libraries.
14824
old_striplib=$lt_old_striplib
14825
striplib=$lt_striplib
14828
# The linker used to build libraries.
14831
# How to create reloadable object files.
14832
reload_flag=$lt_reload_flag
14833
reload_cmds=$lt_reload_cmds
14835
# Commands used to build an old-style archive.
14836
old_archive_cmds=$lt_old_archive_cmds
14838
# A language specific compiler.
14841
# Is the compiler the GNU compiler?
14844
# Compiler flag to turn off builtin functions.
14845
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14847
# Additional compiler flags for building library objects.
14848
pic_flag=$lt_lt_prog_compiler_pic
14850
# How to pass a linker flag through the compiler.
14851
wl=$lt_lt_prog_compiler_wl
14853
# Compiler flag to prevent dynamic linking.
14854
link_static_flag=$lt_lt_prog_compiler_static
14856
# Does compiler simultaneously support -c and -o options?
14857
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14859
# Whether or not to add -lc for building shared libraries.
14860
build_libtool_need_lc=$archive_cmds_need_lc
14862
# Whether or not to disallow shared libs when runtime libs are static.
14863
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14865
# Compiler flag to allow reflexive dlopens.
14866
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14868
# Compiler flag to generate shared objects directly from archives.
14869
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14871
# Whether the compiler copes with passing no objects directly.
14872
compiler_needs_object=$lt_compiler_needs_object
14874
# Create an old-style archive from a shared archive.
14875
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14877
# Create a temporary old-style archive to link instead of a shared archive.
14878
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14880
# Commands used to build a shared archive.
14881
archive_cmds=$lt_archive_cmds
14882
archive_expsym_cmds=$lt_archive_expsym_cmds
14884
# Commands used to build a loadable module if different from building
14885
# a shared archive.
14886
module_cmds=$lt_module_cmds
14887
module_expsym_cmds=$lt_module_expsym_cmds
14889
# Whether we are building with GNU ld or not.
14890
with_gnu_ld=$lt_with_gnu_ld
14892
# Flag that allows shared libraries with undefined symbols to be built.
14893
allow_undefined_flag=$lt_allow_undefined_flag
14895
# Flag that enforces no undefined symbols.
14896
no_undefined_flag=$lt_no_undefined_flag
14898
# Flag to hardcode \$libdir into a binary during linking.
14899
# This must work even if \$libdir does not exist
14900
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14902
# If ld is used when linking, flag to hardcode \$libdir into a binary
14903
# during linking. This must work even if \$libdir does not exist.
14904
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14906
# Whether we need a single "-rpath" flag with a separated argument.
14907
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14909
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14910
# DIR into the resulting binary.
14911
hardcode_direct=$hardcode_direct
14913
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14914
# DIR into the resulting binary and the resulting library dependency is
14915
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14916
# library is relocated.
14917
hardcode_direct_absolute=$hardcode_direct_absolute
14919
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14920
# into the resulting binary.
14921
hardcode_minus_L=$hardcode_minus_L
14923
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14924
# into the resulting binary.
14925
hardcode_shlibpath_var=$hardcode_shlibpath_var
14927
# Set to "yes" if building a shared library automatically hardcodes DIR
14928
# into the library and all subsequent libraries and executables linked
14930
hardcode_automatic=$hardcode_automatic
14932
# Set to yes if linker adds runtime paths of dependent libraries
14933
# to runtime path list.
14934
inherit_rpath=$inherit_rpath
14936
# Whether libtool must link a program against all its dependency libraries.
14937
link_all_deplibs=$link_all_deplibs
14939
# Set to "yes" if exported symbols are required.
14940
always_export_symbols=$always_export_symbols
14942
# The commands to list exported symbols.
14943
export_symbols_cmds=$lt_export_symbols_cmds
14945
# Symbols that should not be listed in the preloaded symbols.
14946
exclude_expsyms=$lt_exclude_expsyms
14948
# Symbols that must always be exported.
14949
include_expsyms=$lt_include_expsyms
14951
# Commands necessary for linking programs (against libraries) with templates.
14952
prelink_cmds=$lt_prelink_cmds
14954
# Commands necessary for finishing linking programs.
14955
postlink_cmds=$lt_postlink_cmds
14957
# Specify filename containing input files.
14958
file_list_spec=$lt_file_list_spec
14960
# How to hardcode a shared library path into an executable.
14961
hardcode_action=$hardcode_action
14963
# ### END LIBTOOL CONFIG
14969
cat <<\_LT_EOF >> "$cfgfile"
14970
# AIX sometimes has problems with the GCC collect2 program. For some
14971
# reason, if we set the COLLECT_NAMES environment variable, the problems
14972
# vanish in a puff of smoke.
14973
if test "X${COLLECT_NAMES+set}" != Xset; then
14975
export COLLECT_NAMES
14982
ltmain="$ac_aux_dir/ltmain.sh"
14985
# We use sed instead of cat because bash on DJGPP gets confused if
14986
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14987
# text mode, it properly converts lines to CR/LF. This bash problem
14988
# is reportedly fixed, but why not run on old versions too?
14989
sed '$q' "$ltmain" >> "$cfgfile" \
14990
|| (rm -f "$cfgfile"; exit 1)
14992
if test x"$xsi_shell" = xyes; then
14993
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14997
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14998
\ * ) func_dirname_result="${3}" ;;\
15000
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15001
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15002
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15003
test 0 -eq $? || _lt_function_replace_fail=:
15006
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15009
\ func_basename_result="${1##*/}"\
15010
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15011
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15012
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15013
test 0 -eq $? || _lt_function_replace_fail=:
15016
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15017
func_dirname_and_basename ()\
15020
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15021
\ * ) func_dirname_result="${3}" ;;\
15023
\ func_basename_result="${1##*/}"\
15024
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15025
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15026
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15027
test 0 -eq $? || _lt_function_replace_fail=:
15030
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15033
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15034
\ # positional parameters, so assign one to ordinary parameter first.\
15035
\ func_stripname_result=${3}\
15036
\ func_stripname_result=${func_stripname_result#"${1}"}\
15037
\ func_stripname_result=${func_stripname_result%"${2}"}\
15038
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15039
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15040
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15041
test 0 -eq $? || _lt_function_replace_fail=:
15044
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15045
func_split_long_opt ()\
15047
\ func_split_long_opt_name=${1%%=*}\
15048
\ func_split_long_opt_arg=${1#*=}\
15049
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15050
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15051
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15052
test 0 -eq $? || _lt_function_replace_fail=:
15055
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15056
func_split_short_opt ()\
15058
\ func_split_short_opt_arg=${1#??}\
15059
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15060
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15061
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15062
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15063
test 0 -eq $? || _lt_function_replace_fail=:
15066
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15070
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15071
\ *) func_lo2o_result=${1} ;;\
15073
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15074
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15075
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15076
test 0 -eq $? || _lt_function_replace_fail=:
15079
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15082
func_xform_result=${1%.*}.lo\
15083
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15084
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15085
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15086
test 0 -eq $? || _lt_function_replace_fail=:
15089
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15092
func_arith_result=$(( $* ))\
15093
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15094
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15095
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15096
test 0 -eq $? || _lt_function_replace_fail=:
15099
sed -e '/^func_len ()$/,/^} # func_len /c\
15102
func_len_result=${#1}\
15103
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15104
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15105
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15106
test 0 -eq $? || _lt_function_replace_fail=:
15110
if test x"$lt_shell_append" = xyes; then
15111
sed -e '/^func_append ()$/,/^} # func_append /c\
15114
eval "${1}+=\\${2}"\
15115
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15116
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15117
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15118
test 0 -eq $? || _lt_function_replace_fail=:
15121
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15122
func_append_quoted ()\
15124
\ func_quote_for_eval "${2}"\
15125
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15126
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15127
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15128
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15129
test 0 -eq $? || _lt_function_replace_fail=:
15132
# Save a `func_append' function call where possible by direct use of '+='
15133
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15134
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15135
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15136
test 0 -eq $? || _lt_function_replace_fail=:
15138
# Save a `func_append' function call even when '+=' is not available
15139
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15140
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15141
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15142
test 0 -eq $? || _lt_function_replace_fail=:
15145
if test x"$_lt_function_replace_fail" = x":"; then
15146
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15147
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15151
mv -f "$cfgfile" "$ofile" ||
15152
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15157
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15158
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15160
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15165
'"s|^| $ac_top_srcdir/|" \
15166
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15168
sed '/^POTFILES =/,/[^\\]$/ {
15172
' "po/Makefile.in" >"po/Makefile"
15173
rm -f "po/Makefile.tmp"
15174
mv "po/stamp-it.tmp" "po/stamp-it"
15183
ac_clean_files=$ac_clean_files_save
15185
test $ac_write_fail = 0 ||
15186
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15189
# configure is writing to config.log, and then calls config.status.
15190
# config.status does its own redirection, appending to config.log.
15191
# Unfortunately, on DOS this fails, as config.log is still kept open
15192
# by configure, so config.status won't be able to write to it; its
15193
# output is simply discarded. So we exec the FD to /dev/null,
15194
# effectively closing config.log, so it can be properly (re)opened and
15195
# appended to by config.status. When coming back to configure, we
15196
# need to make the FD available again.
15197
if test "$no_create" != yes; then
15199
ac_config_status_args=
15200
test "$silent" = yes &&
15201
ac_config_status_args="$ac_config_status_args --quiet"
15203
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15205
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15206
# would make configure fail if this is the last instruction.
15207
$ac_cs_success || as_fn_exit 1
15209
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15210
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15211
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}