2
# From configure.ac Id.
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.69 for libxfce4util 4.10.1.
6
# Report bugs to <xfce4-dev@xfce.org>.
8
# Copyright (c) 2002-2011
9
# The Xfce development team. All rights reserved.
12
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
15
# This configure script is free software; the Free Software Foundation
16
# gives unlimited permission to copy, distribute and modify it.
17
## -------------------- ##
18
## M4sh Initialization. ##
19
## -------------------- ##
21
# Be more Bourne compatible
22
DUALCASE=1; export DUALCASE # for MKS sh
23
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27
# is contrary to our usage. Disable this feature.
28
alias -g '${1+"$@"}'='"$@"'
31
case `(set -o) 2>/dev/null` in #(
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
# Prefer a ksh shell builtin over an external printf program on Solaris,
48
# but without wasting forks for bash or zsh.
49
if test -z "$BASH_VERSION$ZSH_VERSION" \
50
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
52
as_echo_n='print -rn --'
53
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
57
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59
as_echo_n='/usr/ucb/echo -n'
61
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66
expr "X$arg" : "X\\(.*\\)$as_nl";
67
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72
as_echo_n='sh -c $as_echo_n_body as_echo'
75
as_echo='sh -c $as_echo_body as_echo'
78
# The user is always right.
79
if test "${PATH_SEPARATOR+set}" != set; then
81
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
89
# We need space, tab and new line, in precisely that order. Quoting is
90
# there to prevent editors from complaining about space-tab.
91
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92
# splitting by setting IFS to empty value.)
95
# Find who we are. Look in the path if we contain no directory separator.
98
*[\\/]* ) as_myself=$0 ;;
99
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103
test -z "$as_dir" && as_dir=.
104
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
# in which case we are not to be found in the path.
112
if test "x$as_myself" = x; then
115
if test ! -f "$as_myself"; then
116
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120
# Unset variables that we do not need and which cause bugs (e.g. in
121
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
122
# suppresses any "Segmentation fault" message there. '((' could
123
# trigger a bug in pdksh 5.2.14.
124
for as_var in BASH_ENV ENV MAIL MAILPATH
125
do eval test x\${$as_var+set} = xset \
126
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
139
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
141
# Use a proper internal environment variable to ensure we don't fall
142
# into an infinite loop, continuously re-executing ourselves.
143
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
144
_as_can_reexec=no; export _as_can_reexec;
145
# We cannot yet assume a decent shell, so we have to provide a
146
# neutralization value for shells without unset; and this also
147
# works around shells that cannot unset nonexistent variables.
148
# Preserve -v and -x to the replacement shell.
151
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
153
*v*x* | *x*v* ) as_opts=-vx ;;
158
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
159
# Admittedly, this is quite paranoid, since all the known shells bail
160
# out after a failed `exec'.
161
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
164
# We don't want this to propagate to other subprocesses.
165
{ _as_can_reexec=; unset _as_can_reexec;}
166
if test "x$CONFIG_SHELL" = x; then
167
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
170
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
171
# is contrary to our usage. Disable this feature.
172
alias -g '\${1+\"\$@\"}'='\"\$@\"'
175
case \`(set -o) 2>/dev/null\` in #(
183
as_required="as_fn_return () { (exit \$1); }
184
as_fn_success () { as_fn_return 0; }
185
as_fn_failure () { as_fn_return 1; }
186
as_fn_ret_success () { return 0; }
187
as_fn_ret_failure () { return 1; }
190
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
191
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
192
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
193
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
194
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
197
exitcode=1; echo positional parameters were not saved.
199
test x\$exitcode = x0 || exit 1
201
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
202
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
203
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
204
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
205
test \$(( 1 + 1 )) = 2 || exit 1
207
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
208
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
209
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
210
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
211
PATH=/empty FPATH=/empty; export PATH FPATH
212
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
213
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
214
if (eval "$as_required") 2>/dev/null; then :
219
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
231
for as_base in sh bash ksh sh5; do
232
# Try only shells that exist, to save several forks.
233
as_shell=$as_dir/$as_base
234
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
236
CONFIG_SHELL=$as_shell as_have_required=yes
237
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
245
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
246
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
247
CONFIG_SHELL=$SHELL as_have_required=yes
252
if test "x$CONFIG_SHELL" != x; then :
254
# We cannot yet assume a decent shell, so we have to provide a
255
# neutralization value for shells without unset; and this also
256
# works around shells that cannot unset nonexistent variables.
257
# Preserve -v and -x to the replacement shell.
260
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
262
*v*x* | *x*v* ) as_opts=-vx ;;
267
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
268
# Admittedly, this is quite paranoid, since all the known shells bail
269
# out after a failed `exec'.
270
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
274
if test x$as_have_required = xno; then :
275
$as_echo "$0: This script requires a shell more modern than all"
276
$as_echo "$0: the shells that I found on your system."
277
if test x${ZSH_VERSION+set} = xset ; then
278
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
279
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
281
$as_echo "$0: Please tell bug-autoconf@gnu.org and xfce4-dev@xfce.org
282
$0: about your system, including any error possibly output
283
$0: before this message. Then install a modern shell, or
284
$0: manually run the script under such a shell if you do
291
SHELL=${CONFIG_SHELL-/bin/sh}
293
# Unset more variables known to interfere with behavior of common tools.
294
CLICOLOR_FORCE= GREP_OPTIONS=
295
unset CLICOLOR_FORCE GREP_OPTIONS
297
## --------------------- ##
298
## M4sh Shell Functions. ##
299
## --------------------- ##
302
# Portably unset VAR.
305
{ eval $1=; unset $1;}
309
# as_fn_set_status STATUS
310
# -----------------------
311
# Set $? to STATUS, without forking.
319
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
329
# Create "$as_dir" as a directory, including parents if necessary.
334
-*) as_dir=./$as_dir;;
336
test -d "$as_dir" || eval $as_mkdir_p || {
340
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
343
as_dirs="'$as_qdir' $as_dirs"
344
as_dir=`$as_dirname -- "$as_dir" ||
345
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
346
X"$as_dir" : 'X\(//\)[^/]' \| \
347
X"$as_dir" : 'X\(//\)$' \| \
348
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
349
$as_echo X"$as_dir" |
350
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
367
test -d "$as_dir" && break
369
test -z "$as_dirs" || eval "mkdir $as_dirs"
370
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
375
# as_fn_executable_p FILE
376
# -----------------------
377
# Test if FILE is an executable regular file.
378
as_fn_executable_p ()
380
test -f "$1" && test -x "$1"
381
} # as_fn_executable_p
382
# as_fn_append VAR VALUE
383
# ----------------------
384
# Append the text in VALUE to the end of the definition contained in VAR. Take
385
# advantage of any shell optimizations that allow amortized linear growth over
386
# repeated appends, instead of the typical quadratic growth present in naive
388
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
389
eval 'as_fn_append ()
402
# Perform arithmetic evaluation on the ARGs, and store the result in the
403
# global $as_val. Take advantage of shells that can avoid forks. The arguments
404
# must be portable across $(()) and expr.
405
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
413
as_val=`expr "$@" || test $? -eq 1`
418
# as_fn_error STATUS ERROR [LINENO LOG_FD]
419
# ----------------------------------------
420
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
421
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
422
# script with STATUS, using 1 if that was 0.
425
as_status=$1; test $as_status -eq 0 && as_status=1
427
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
428
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
430
$as_echo "$as_me: error: $2" >&2
431
as_fn_exit $as_status
434
if expr a : '\(a\)' >/dev/null 2>&1 &&
435
test "X`expr 00001 : '.*\(...\)'`" = X001; then
441
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
447
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
453
as_me=`$as_basename -- "$0" ||
454
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
455
X"$0" : 'X\(//\)$' \| \
456
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
458
sed '/^.*\/\([^/][^/]*\)\/*$/{
472
# Avoid depending upon Character Ranges.
473
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
474
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
475
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
476
as_cr_digits='0123456789'
477
as_cr_alnum=$as_cr_Letters$as_cr_digits
480
as_lineno_1=$LINENO as_lineno_1a=$LINENO
481
as_lineno_2=$LINENO as_lineno_2a=$LINENO
482
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
483
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
484
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
496
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
500
chmod +x "$as_me.lineno" ||
501
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
503
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
504
# already done that, so ensure we don't try to do so again and fall
505
# in an infinite loop. This has already happened in practice.
506
_as_can_reexec=no; export _as_can_reexec
507
# Don't try to exec as it changes $[0], causing all sort of problems
508
# (the dirname of $[0] is not the place where we might find the
509
# original and so on. Autoconf is especially sensitive to this).
511
# Exit status is that of the last command.
515
ECHO_C= ECHO_N= ECHO_T=
516
case `echo -n x` in #(((((
518
case `echo 'xy\c'` in
519
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
521
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
528
rm -f conf$$ conf$$.exe conf$$.file
529
if test -d conf$$.dir; then
530
rm -f conf$$.dir/conf$$.file
533
mkdir conf$$.dir 2>/dev/null
535
if (echo >conf$$.file) 2>/dev/null; then
536
if ln -s conf$$.file conf$$ 2>/dev/null; then
538
# ... but there are two gotchas:
539
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
540
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
541
# In both cases, we have to default to `cp -pR'.
542
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
544
elif ln conf$$.file conf$$ 2>/dev/null; then
552
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
553
rmdir conf$$.dir 2>/dev/null
555
if mkdir -p . 2>/dev/null; then
556
as_mkdir_p='mkdir -p "$as_dir"'
558
test -d ./-p && rmdir ./-p
563
as_executable_p=as_fn_executable_p
565
# Sed expression to map a string onto a valid CPP name.
566
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
# Sed expression to map a string onto a valid variable name.
569
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
SHELL=${CONFIG_SHELL-/bin/sh}
574
test -n "$DJDIR" || exec 7<&0 </dev/null
578
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
579
# so uname gets run too.
580
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
585
ac_default_prefix=/usr/local
587
ac_config_libobj_dir=.
594
# Identity of this package.
595
PACKAGE_NAME='libxfce4util'
596
PACKAGE_TARNAME='libxfce4util'
597
PACKAGE_VERSION='4.10.1'
598
PACKAGE_STRING='libxfce4util 4.10.1'
599
PACKAGE_BUGREPORT='xfce4-dev@xfce.org'
602
# Factoring default headers for most tests.
603
ac_includes_default="\
605
#ifdef HAVE_SYS_TYPES_H
606
# include <sys/types.h>
608
#ifdef HAVE_SYS_STAT_H
609
# include <sys/stat.h>
615
# ifdef HAVE_STDLIB_H
620
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625
#ifdef HAVE_STRINGS_H
626
# include <strings.h>
628
#ifdef HAVE_INTTYPES_H
629
# include <inttypes.h>
638
ac_subst_vars='am__EXEEXT_FALSE
643
HAVE_GNUC_VISIBILITY_FALSE
644
HAVE_GNUC_VISIBILITY_TRUE
645
GTK_DOC_USE_REBASE_FALSE
646
GTK_DOC_USE_REBASE_TRUE
647
GTK_DOC_USE_LIBTOOL_FALSE
648
GTK_DOC_USE_LIBTOOL_TRUE
649
GTK_DOC_BUILD_PDF_FALSE
650
GTK_DOC_BUILD_PDF_TRUE
651
GTK_DOC_BUILD_HTML_FALSE
652
GTK_DOC_BUILD_HTML_TRUE
661
GLIB_REQUIRED_VERSION
717
INTLTOOL_SERVICE_RULE
719
INTLTOOL_SCHEMAS_RULE
721
INTLTOOL_XML_NOMERGE_RULE
726
INTLTOOL_SOUNDLIST_RULE
733
INTLTOOL_DIRECTORY_RULE
734
INTLTOOL_DESKTOP_RULE
735
intltool__v_merge_options_0
736
intltool__v_merge_options_
737
INTLTOOL_V_MERGE_OPTIONS
767
LIBXFCE4UTIL_VERSION_MICRO
768
LIBXFCE4UTIL_VERSION_MINOR
769
LIBXFCE4UTIL_VERSION_MAJOR
772
MAINTAINER_MODE_FALSE
786
INSTALL_STRIP_PROGRAM
828
program_transform_name
841
enable_option_checking
843
enable_maintainer_mode
844
enable_dependency_tracking
863
ac_precious_vars='build_alias
879
# Initialize some variables set by options.
881
ac_init_version=false
882
ac_unrecognized_opts=
884
# The variables have the same names as the options, with
885
# dashes changed to underlines.
893
program_transform_name=s,x,x,
901
# Installation directory options.
902
# These are left unexpanded so users can "make install exec_prefix=/foo"
903
# and all the variables that are supposed to be based on exec_prefix
904
# by default will actually change.
905
# Use braces instead of parens because sh, perl, etc. also accept them.
906
# (The list follows the same order as the GNU Coding Standards.)
907
bindir='${exec_prefix}/bin'
908
sbindir='${exec_prefix}/sbin'
909
libexecdir='${exec_prefix}/libexec'
910
datarootdir='${prefix}/share'
911
datadir='${datarootdir}'
912
sysconfdir='${prefix}/etc'
913
sharedstatedir='${prefix}/com'
914
localstatedir='${prefix}/var'
915
includedir='${prefix}/include'
916
oldincludedir='/usr/include'
917
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
918
infodir='${datarootdir}/info'
923
libdir='${exec_prefix}/lib'
924
localedir='${datarootdir}/locale'
925
mandir='${datarootdir}/man'
931
# If the previous option needs an argument, assign it.
932
if test -n "$ac_prev"; then
933
eval $ac_prev=\$ac_option
939
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
944
# Accept the important Cygnus configure options, so we can diagnose typos.
946
case $ac_dashdash$ac_option in
950
-bindir | --bindir | --bindi | --bind | --bin | --bi)
952
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
955
-build | --build | --buil | --bui | --bu)
956
ac_prev=build_alias ;;
957
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
958
build_alias=$ac_optarg ;;
960
-cache-file | --cache-file | --cache-fil | --cache-fi \
961
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
962
ac_prev=cache_file ;;
963
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
964
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
965
cache_file=$ac_optarg ;;
968
cache_file=config.cache ;;
970
-datadir | --datadir | --datadi | --datad)
972
-datadir=* | --datadir=* | --datadi=* | --datad=*)
973
datadir=$ac_optarg ;;
975
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
976
| --dataroo | --dataro | --datar)
977
ac_prev=datarootdir ;;
978
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
979
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
980
datarootdir=$ac_optarg ;;
982
-disable-* | --disable-*)
983
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
984
# Reject names that are not valid shell variable names.
985
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986
as_fn_error $? "invalid feature name: $ac_useropt"
987
ac_useropt_orig=$ac_useropt
988
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989
case $ac_user_opts in
993
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
994
ac_unrecognized_sep=', ';;
996
eval enable_$ac_useropt=no ;;
998
-docdir | --docdir | --docdi | --doc | --do)
1000
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1001
docdir=$ac_optarg ;;
1003
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1005
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1006
dvidir=$ac_optarg ;;
1008
-enable-* | --enable-*)
1009
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1010
# Reject names that are not valid shell variable names.
1011
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012
as_fn_error $? "invalid feature name: $ac_useropt"
1013
ac_useropt_orig=$ac_useropt
1014
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015
case $ac_user_opts in
1017
"enable_$ac_useropt"
1019
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020
ac_unrecognized_sep=', ';;
1022
eval enable_$ac_useropt=\$ac_optarg ;;
1024
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1025
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1026
| --exec | --exe | --ex)
1027
ac_prev=exec_prefix ;;
1028
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1029
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1030
| --exec=* | --exe=* | --ex=*)
1031
exec_prefix=$ac_optarg ;;
1033
-gas | --gas | --ga | --g)
1034
# Obsolete; use --with-gas.
1037
-help | --help | --hel | --he | -h)
1038
ac_init_help=long ;;
1039
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1040
ac_init_help=recursive ;;
1041
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1042
ac_init_help=short ;;
1044
-host | --host | --hos | --ho)
1045
ac_prev=host_alias ;;
1046
-host=* | --host=* | --hos=* | --ho=*)
1047
host_alias=$ac_optarg ;;
1049
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1051
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1053
htmldir=$ac_optarg ;;
1055
-includedir | --includedir | --includedi | --included | --include \
1056
| --includ | --inclu | --incl | --inc)
1057
ac_prev=includedir ;;
1058
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1059
| --includ=* | --inclu=* | --incl=* | --inc=*)
1060
includedir=$ac_optarg ;;
1062
-infodir | --infodir | --infodi | --infod | --info | --inf)
1064
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1065
infodir=$ac_optarg ;;
1067
-libdir | --libdir | --libdi | --libd)
1069
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1070
libdir=$ac_optarg ;;
1072
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1073
| --libexe | --libex | --libe)
1074
ac_prev=libexecdir ;;
1075
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1076
| --libexe=* | --libex=* | --libe=*)
1077
libexecdir=$ac_optarg ;;
1079
-localedir | --localedir | --localedi | --localed | --locale)
1080
ac_prev=localedir ;;
1081
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1082
localedir=$ac_optarg ;;
1084
-localstatedir | --localstatedir | --localstatedi | --localstated \
1085
| --localstate | --localstat | --localsta | --localst | --locals)
1086
ac_prev=localstatedir ;;
1087
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1088
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1089
localstatedir=$ac_optarg ;;
1091
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1093
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1094
mandir=$ac_optarg ;;
1096
-nfp | --nfp | --nf)
1097
# Obsolete; use --without-fp.
1100
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1101
| --no-cr | --no-c | -n)
1104
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1105
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1108
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1109
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1110
| --oldin | --oldi | --old | --ol | --o)
1111
ac_prev=oldincludedir ;;
1112
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1113
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1114
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1115
oldincludedir=$ac_optarg ;;
1117
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1119
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1120
prefix=$ac_optarg ;;
1122
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1123
| --program-pre | --program-pr | --program-p)
1124
ac_prev=program_prefix ;;
1125
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1126
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1127
program_prefix=$ac_optarg ;;
1129
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1130
| --program-suf | --program-su | --program-s)
1131
ac_prev=program_suffix ;;
1132
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1133
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1134
program_suffix=$ac_optarg ;;
1136
-program-transform-name | --program-transform-name \
1137
| --program-transform-nam | --program-transform-na \
1138
| --program-transform-n | --program-transform- \
1139
| --program-transform | --program-transfor \
1140
| --program-transfo | --program-transf \
1141
| --program-trans | --program-tran \
1142
| --progr-tra | --program-tr | --program-t)
1143
ac_prev=program_transform_name ;;
1144
-program-transform-name=* | --program-transform-name=* \
1145
| --program-transform-nam=* | --program-transform-na=* \
1146
| --program-transform-n=* | --program-transform-=* \
1147
| --program-transform=* | --program-transfor=* \
1148
| --program-transfo=* | --program-transf=* \
1149
| --program-trans=* | --program-tran=* \
1150
| --progr-tra=* | --program-tr=* | --program-t=*)
1151
program_transform_name=$ac_optarg ;;
1153
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1155
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1156
pdfdir=$ac_optarg ;;
1158
-psdir | --psdir | --psdi | --psd | --ps)
1160
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1163
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1164
| -silent | --silent | --silen | --sile | --sil)
1167
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1169
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1171
sbindir=$ac_optarg ;;
1173
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1174
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1175
| --sharedst | --shareds | --shared | --share | --shar \
1177
ac_prev=sharedstatedir ;;
1178
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1179
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1180
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1182
sharedstatedir=$ac_optarg ;;
1184
-site | --site | --sit)
1186
-site=* | --site=* | --sit=*)
1189
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1191
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1192
srcdir=$ac_optarg ;;
1194
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1195
| --syscon | --sysco | --sysc | --sys | --sy)
1196
ac_prev=sysconfdir ;;
1197
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1198
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1199
sysconfdir=$ac_optarg ;;
1201
-target | --target | --targe | --targ | --tar | --ta | --t)
1202
ac_prev=target_alias ;;
1203
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1204
target_alias=$ac_optarg ;;
1206
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1209
-version | --version | --versio | --versi | --vers | -V)
1210
ac_init_version=: ;;
1213
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214
# Reject names that are not valid shell variable names.
1215
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216
as_fn_error $? "invalid package name: $ac_useropt"
1217
ac_useropt_orig=$ac_useropt
1218
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219
case $ac_user_opts in
1223
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1224
ac_unrecognized_sep=', ';;
1226
eval with_$ac_useropt=\$ac_optarg ;;
1228
-without-* | --without-*)
1229
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230
# Reject names that are not valid shell variable names.
1231
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1232
as_fn_error $? "invalid package name: $ac_useropt"
1233
ac_useropt_orig=$ac_useropt
1234
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235
case $ac_user_opts in
1239
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1240
ac_unrecognized_sep=', ';;
1242
eval with_$ac_useropt=no ;;
1245
# Obsolete; use --with-x.
1248
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1249
| --x-incl | --x-inc | --x-in | --x-i)
1250
ac_prev=x_includes ;;
1251
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1252
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1253
x_includes=$ac_optarg ;;
1255
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1256
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1257
ac_prev=x_libraries ;;
1258
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1259
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1260
x_libraries=$ac_optarg ;;
1262
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1263
Try \`$0 --help' for more information"
1267
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1268
# Reject names that are not valid shell variable names.
1269
case $ac_envvar in #(
1270
'' | [0-9]* | *[!_$as_cr_alnum]* )
1271
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1273
eval $ac_envvar=\$ac_optarg
1274
export $ac_envvar ;;
1277
# FIXME: should be removed in autoconf 3.0.
1278
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1279
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1280
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1281
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1287
if test -n "$ac_prev"; then
1288
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1289
as_fn_error $? "missing argument to $ac_option"
1292
if test -n "$ac_unrecognized_opts"; then
1293
case $enable_option_checking in
1295
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1296
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1300
# Check all directory arguments for consistency.
1301
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1302
datadir sysconfdir sharedstatedir localstatedir includedir \
1303
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1304
libdir localedir mandir
1306
eval ac_val=\$$ac_var
1307
# Remove trailing slashes.
1310
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1311
eval $ac_var=\$ac_val;;
1313
# Be sure to have absolute directory names.
1315
[\\/$]* | ?:[\\/]* ) continue;;
1316
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1318
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1321
# There might be people who depend on the old broken behavior: `$host'
1322
# used to hold the argument of --host etc.
1323
# FIXME: To remove some day.
1326
target=$target_alias
1328
# FIXME: To remove some day.
1329
if test "x$host_alias" != x; then
1330
if test "x$build_alias" = x; then
1331
cross_compiling=maybe
1332
elif test "x$build_alias" != "x$host_alias"; then
1338
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1340
test "$silent" = yes && exec 6>/dev/null
1343
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1344
ac_ls_di=`ls -di .` &&
1345
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1346
as_fn_error $? "working directory cannot be determined"
1347
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1348
as_fn_error $? "pwd does not report name of working directory"
1351
# Find the source files, if location was not specified.
1352
if test -z "$srcdir"; then
1353
ac_srcdir_defaulted=yes
1354
# Try the directory containing this script, then the parent directory.
1355
ac_confdir=`$as_dirname -- "$as_myself" ||
1356
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1357
X"$as_myself" : 'X\(//\)[^/]' \| \
1358
X"$as_myself" : 'X\(//\)$' \| \
1359
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1360
$as_echo X"$as_myself" |
1361
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1379
if test ! -r "$srcdir/$ac_unique_file"; then
1383
ac_srcdir_defaulted=no
1385
if test ! -r "$srcdir/$ac_unique_file"; then
1386
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1387
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1389
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1391
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1393
# When building in place, set srcdir=.
1394
if test "$ac_abs_confdir" = "$ac_pwd"; then
1397
# Remove unnecessary trailing slashes from srcdir.
1398
# Double slashes in file names in object file debugging info
1399
# mess up M-x gdb in Emacs.
1401
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1403
for ac_var in $ac_precious_vars; do
1404
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1405
eval ac_env_${ac_var}_value=\$${ac_var}
1406
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1407
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1411
# Report the --help message.
1413
if test "$ac_init_help" = "long"; then
1414
# Omit some internal or obsolete options to make the list less imposing.
1415
# This message is too long to be a string in the A/UX 3.1 sh.
1417
\`configure' configures libxfce4util 4.10.1 to adapt to many kinds of systems.
1419
Usage: $0 [OPTION]... [VAR=VALUE]...
1421
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1422
VAR=VALUE. See below for descriptions of some of the useful variables.
1424
Defaults for the options are specified in brackets.
1427
-h, --help display this help and exit
1428
--help=short display options specific to this package
1429
--help=recursive display the short help of all the included packages
1430
-V, --version display version information and exit
1431
-q, --quiet, --silent do not print \`checking ...' messages
1432
--cache-file=FILE cache test results in FILE [disabled]
1433
-C, --config-cache alias for \`--cache-file=config.cache'
1434
-n, --no-create do not create output files
1435
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1437
Installation directories:
1438
--prefix=PREFIX install architecture-independent files in PREFIX
1439
[$ac_default_prefix]
1440
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1443
By default, \`make install' will install all the files in
1444
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1445
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1446
for instance \`--prefix=\$HOME'.
1448
For better control, use the options below.
1450
Fine tuning of the installation directories:
1451
--bindir=DIR user executables [EPREFIX/bin]
1452
--sbindir=DIR system admin executables [EPREFIX/sbin]
1453
--libexecdir=DIR program executables [EPREFIX/libexec]
1454
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1455
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1456
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1457
--libdir=DIR object code libraries [EPREFIX/lib]
1458
--includedir=DIR C header files [PREFIX/include]
1459
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1460
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1461
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1462
--infodir=DIR info documentation [DATAROOTDIR/info]
1463
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1464
--mandir=DIR man documentation [DATAROOTDIR/man]
1465
--docdir=DIR documentation root [DATAROOTDIR/doc/libxfce4util]
1466
--htmldir=DIR html documentation [DOCDIR]
1467
--dvidir=DIR dvi documentation [DOCDIR]
1468
--pdfdir=DIR pdf documentation [DOCDIR]
1469
--psdir=DIR ps documentation [DOCDIR]
1475
--program-prefix=PREFIX prepend PREFIX to installed program names
1476
--program-suffix=SUFFIX append SUFFIX to installed program names
1477
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1480
--build=BUILD configure for building on BUILD [guessed]
1481
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1485
if test -n "$ac_init_help"; then
1486
case $ac_init_help in
1487
short | recursive ) echo "Configuration of libxfce4util 4.10.1:";;
1492
--disable-option-checking ignore unrecognized --enable/--with options
1493
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1494
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1495
--enable-silent-rules less verbose build output (undo: "make V=1")
1496
--disable-silent-rules verbose build output (undo: "make V=0")
1497
--enable-maintainer-mode
1498
enable make rules and dependencies not useful (and
1499
sometimes confusing) to the casual installer
1500
--enable-dependency-tracking
1501
do not reject slow dependency extractors
1502
--disable-dependency-tracking
1503
speeds up one-time build
1504
--disable-nls do not use Native Language Support
1505
--enable-static[=PKGS] build static libraries [default=no]
1506
--enable-shared[=PKGS] build shared libraries [default=yes]
1507
--enable-fast-install[=PKGS]
1508
optimize for fast installation [default=yes]
1509
--disable-libtool-lock avoid locking (might break parallel builds)
1510
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1511
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1512
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1513
--enable-debug[=no|minimum|yes|full]
1514
Build with debugging support
1516
--disable-debug Include no debugging support
1517
--disable-linker-opts Disable linker optimizations
1518
--disable-visibility Do not use ELF visibility attributes
1521
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1522
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1523
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1525
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1526
--with-sysroot=DIR Search for dependent libraries within DIR
1527
(or the compiler's sysroot if not specified).
1529
--with-locales-dir=DIR Install locales into DIR
1531
--with-html-dir=PATH path to installed docs
1532
--with-broken-putenv=[auto/yes/no] broken putenv(3) default=auto
1534
Some influential environment variables:
1535
CC C compiler command
1536
CFLAGS C compiler flags
1537
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1538
nonstandard directory <lib dir>
1539
LIBS libraries to pass to the linker, e.g. -l<library>
1540
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1541
you have headers in a nonstandard directory <include dir>
1543
PKG_CONFIG path to pkg-config utility
1545
directories to add to pkg-config's search path
1547
path overriding pkg-config's built-in search path
1549
C compiler flags for GTKDOC_DEPS, overriding pkg-config
1551
linker flags for GTKDOC_DEPS, overriding pkg-config
1553
Use these variables to override the choices made by `configure' or to help
1554
it to find libraries and programs with nonstandard names/locations.
1556
Report bugs to <xfce4-dev@xfce.org>.
1561
if test "$ac_init_help" = "recursive"; then
1562
# If there are subdirs, report their specific --help.
1563
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1564
test -d "$ac_dir" ||
1565
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1572
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1573
# A ".." for each directory in $ac_dir_suffix.
1574
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1575
case $ac_top_builddir_sub in
1576
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1577
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1580
ac_abs_top_builddir=$ac_pwd
1581
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1582
# for backward compatibility:
1583
ac_top_builddir=$ac_top_build_prefix
1586
.) # We are building in place.
1588
ac_top_srcdir=$ac_top_builddir_sub
1589
ac_abs_top_srcdir=$ac_pwd ;;
1590
[\\/]* | ?:[\\/]* ) # Absolute name.
1591
ac_srcdir=$srcdir$ac_dir_suffix;
1592
ac_top_srcdir=$srcdir
1593
ac_abs_top_srcdir=$srcdir ;;
1595
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1596
ac_top_srcdir=$ac_top_build_prefix$srcdir
1597
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1599
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1601
cd "$ac_dir" || { ac_status=$?; continue; }
1602
# Check for guested configure.
1603
if test -f "$ac_srcdir/configure.gnu"; then
1605
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1606
elif test -f "$ac_srcdir/configure"; then
1608
$SHELL "$ac_srcdir/configure" --help=recursive
1610
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1612
cd "$ac_pwd" || { ac_status=$?; break; }
1616
test -n "$ac_init_help" && exit $ac_status
1617
if $ac_init_version; then
1619
libxfce4util configure 4.10.1
1620
generated by GNU Autoconf 2.69
1622
Copyright (C) 2012 Free Software Foundation, Inc.
1623
This configure script is free software; the Free Software Foundation
1624
gives unlimited permission to copy, distribute and modify it.
1626
Copyright (c) 2002-2011
1627
The Xfce development team. All rights reserved.
1632
## ------------------------ ##
1633
## Autoconf initialization. ##
1634
## ------------------------ ##
1636
# ac_fn_c_try_compile LINENO
1637
# --------------------------
1638
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1639
ac_fn_c_try_compile ()
1641
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642
rm -f conftest.$ac_objext
1643
if { { ac_try="$ac_compile"
1645
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1646
*) ac_try_echo=$ac_try;;
1648
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649
$as_echo "$ac_try_echo"; } >&5
1650
(eval "$ac_compile") 2>conftest.err
1652
if test -s conftest.err; then
1653
grep -v '^ *+' conftest.err >conftest.er1
1654
cat conftest.er1 >&5
1655
mv -f conftest.er1 conftest.err
1657
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658
test $ac_status = 0; } && {
1659
test -z "$ac_c_werror_flag" ||
1660
test ! -s conftest.err
1661
} && test -s conftest.$ac_objext; then :
1664
$as_echo "$as_me: failed program was:" >&5
1665
sed 's/^/| /' conftest.$ac_ext >&5
1669
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670
as_fn_set_status $ac_retval
1672
} # ac_fn_c_try_compile
1674
# ac_fn_c_try_cpp LINENO
1675
# ----------------------
1676
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1679
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680
if { { ac_try="$ac_cpp conftest.$ac_ext"
1682
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683
*) ac_try_echo=$ac_try;;
1685
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686
$as_echo "$ac_try_echo"; } >&5
1687
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1689
if test -s conftest.err; then
1690
grep -v '^ *+' conftest.err >conftest.er1
1691
cat conftest.er1 >&5
1692
mv -f conftest.er1 conftest.err
1694
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695
test $ac_status = 0; } > conftest.i && {
1696
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1697
test ! -s conftest.err
1701
$as_echo "$as_me: failed program was:" >&5
1702
sed 's/^/| /' conftest.$ac_ext >&5
1706
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707
as_fn_set_status $ac_retval
1711
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1712
# -------------------------------------------------------
1713
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1714
# the include files in INCLUDES and setting the cache variable VAR
1716
ac_fn_c_check_header_mongrel ()
1718
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719
if eval \${$3+:} false; then :
1720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721
$as_echo_n "checking for $2... " >&6; }
1722
if eval \${$3+:} false; then :
1723
$as_echo_n "(cached) " >&6
1726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727
$as_echo "$ac_res" >&6; }
1729
# Is the header compilable?
1730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1731
$as_echo_n "checking $2 usability... " >&6; }
1732
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733
/* end confdefs.h. */
1737
if ac_fn_c_try_compile "$LINENO"; then :
1738
ac_header_compiler=yes
1740
ac_header_compiler=no
1742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1744
$as_echo "$ac_header_compiler" >&6; }
1746
# Is the header present?
1747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1748
$as_echo_n "checking $2 presence... " >&6; }
1749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750
/* end confdefs.h. */
1753
if ac_fn_c_try_cpp "$LINENO"; then :
1754
ac_header_preproc=yes
1756
ac_header_preproc=no
1758
rm -f conftest.err conftest.i conftest.$ac_ext
1759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1760
$as_echo "$ac_header_preproc" >&6; }
1762
# So? What about this header?
1763
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1765
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1766
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1767
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1768
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1771
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1772
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1773
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1774
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1775
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1776
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1777
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1778
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1780
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1781
( $as_echo "## --------------------------------- ##
1782
## Report this to xfce4-dev@xfce.org ##
1783
## --------------------------------- ##"
1784
) | sed "s/^/$as_me: WARNING: /" >&2
1787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788
$as_echo_n "checking for $2... " >&6; }
1789
if eval \${$3+:} false; then :
1790
$as_echo_n "(cached) " >&6
1792
eval "$3=\$ac_header_compiler"
1795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796
$as_echo "$ac_res" >&6; }
1798
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800
} # ac_fn_c_check_header_mongrel
1802
# ac_fn_c_try_run LINENO
1803
# ----------------------
1804
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1805
# that executables *can* be run.
1808
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809
if { { ac_try="$ac_link"
1811
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1812
*) ac_try_echo=$ac_try;;
1814
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815
$as_echo "$ac_try_echo"; } >&5
1816
(eval "$ac_link") 2>&5
1818
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1820
{ { case "(($ac_try" in
1821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822
*) ac_try_echo=$ac_try;;
1824
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825
$as_echo "$ac_try_echo"; } >&5
1826
(eval "$ac_try") 2>&5
1828
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829
test $ac_status = 0; }; }; then :
1832
$as_echo "$as_me: program exited with status $ac_status" >&5
1833
$as_echo "$as_me: failed program was:" >&5
1834
sed 's/^/| /' conftest.$ac_ext >&5
1836
ac_retval=$ac_status
1838
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840
as_fn_set_status $ac_retval
1844
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1845
# -------------------------------------------------------
1846
# Tests whether HEADER exists and can be compiled using the include files in
1847
# INCLUDES, setting the cache variable VAR accordingly.
1848
ac_fn_c_check_header_compile ()
1850
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852
$as_echo_n "checking for $2... " >&6; }
1853
if eval \${$3+:} false; then :
1854
$as_echo_n "(cached) " >&6
1856
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857
/* end confdefs.h. */
1861
if ac_fn_c_try_compile "$LINENO"; then :
1866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870
$as_echo "$ac_res" >&6; }
1871
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
} # ac_fn_c_check_header_compile
1875
# ac_fn_c_try_link LINENO
1876
# -----------------------
1877
# Try to link conftest.$ac_ext, and return whether this succeeded.
1880
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881
rm -f conftest.$ac_objext conftest$ac_exeext
1882
if { { ac_try="$ac_link"
1884
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885
*) ac_try_echo=$ac_try;;
1887
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888
$as_echo "$ac_try_echo"; } >&5
1889
(eval "$ac_link") 2>conftest.err
1891
if test -s conftest.err; then
1892
grep -v '^ *+' conftest.err >conftest.er1
1893
cat conftest.er1 >&5
1894
mv -f conftest.er1 conftest.err
1896
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897
test $ac_status = 0; } && {
1898
test -z "$ac_c_werror_flag" ||
1899
test ! -s conftest.err
1900
} && test -s conftest$ac_exeext && {
1901
test "$cross_compiling" = yes ||
1902
test -x conftest$ac_exeext
1906
$as_echo "$as_me: failed program was:" >&5
1907
sed 's/^/| /' conftest.$ac_ext >&5
1911
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1912
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1913
# interfere with the next link command; also delete a directory that is
1914
# left behind by Apple's compiler. We do this before executing the actions.
1915
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917
as_fn_set_status $ac_retval
1919
} # ac_fn_c_try_link
1921
# ac_fn_c_check_func LINENO FUNC VAR
1922
# ----------------------------------
1923
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1924
ac_fn_c_check_func ()
1926
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928
$as_echo_n "checking for $2... " >&6; }
1929
if eval \${$3+:} false; then :
1930
$as_echo_n "(cached) " >&6
1932
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933
/* end confdefs.h. */
1934
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1936
#define $2 innocuous_$2
1938
/* System header to define __stub macros and hopefully few prototypes,
1939
which can conflict with char $2 (); below.
1940
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941
<limits.h> exists even on freestanding compilers. */
1944
# include <limits.h>
1946
# include <assert.h>
1951
/* Override any GCC internal prototype to avoid an error.
1952
Use char because int might match the return type of a GCC
1953
builtin and then its argument prototype would still apply. */
1958
/* The GNU C library defines this for functions which it implements
1959
to always fail with ENOSYS. Some functions are actually named
1960
something starting with __ and the normal name is an alias. */
1961
#if defined __stub_$2 || defined __stub___$2
1973
if ac_fn_c_try_link "$LINENO"; then :
1978
rm -f core conftest.err conftest.$ac_objext \
1979
conftest$ac_exeext conftest.$ac_ext
1982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983
$as_echo "$ac_res" >&6; }
1984
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986
} # ac_fn_c_check_func
1987
cat >config.log <<_ACEOF
1988
This file contains any messages produced by compilers while
1989
running configure, to aid debugging if configure makes a mistake.
1991
It was created by libxfce4util $as_me 4.10.1, which was
1992
generated by GNU Autoconf 2.69. Invocation command line was
2004
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2005
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2006
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2007
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2008
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2010
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2011
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2013
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2014
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2015
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2016
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2017
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2018
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2019
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2023
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027
test -z "$as_dir" && as_dir=.
2028
$as_echo "PATH: $as_dir"
2044
# Keep a trace of the command line.
2045
# Strip out --no-create and --no-recursion so they do not pile up.
2046
# Strip out --silent because we don't want to record it for future runs.
2047
# Also quote any args containing shell meta-characters.
2048
# Make two passes to allow for proper duplicate-argument suppression.
2052
ac_must_keep_next=false
2058
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2059
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2060
| -silent | --silent | --silen | --sile | --sil)
2063
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2066
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2068
as_fn_append ac_configure_args1 " '$ac_arg'"
2069
if test $ac_must_keep_next = true; then
2070
ac_must_keep_next=false # Got value, back to normal.
2073
*=* | --config-cache | -C | -disable-* | --disable-* \
2074
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2075
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2076
| -with-* | --with-* | -without-* | --without-* | --x)
2077
case "$ac_configure_args0 " in
2078
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2081
-* ) ac_must_keep_next=true ;;
2084
as_fn_append ac_configure_args " '$ac_arg'"
2089
{ ac_configure_args0=; unset ac_configure_args0;}
2090
{ ac_configure_args1=; unset ac_configure_args1;}
2092
# When interrupted or exit'd, cleanup temporary files, and complete
2093
# config.log. We remove comments because anyway the quotes in there
2094
# would cause problems or look ugly.
2095
# WARNING: Use '\'' to represent an apostrophe within the trap.
2096
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2097
trap 'exit_status=$?
2098
# Save into config.log some information that might help in debugging.
2102
$as_echo "## ---------------- ##
2103
## Cache variables. ##
2104
## ---------------- ##"
2106
# The following way of writing the cache mishandles newlines in values,
2108
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2109
eval ac_val=\$$ac_var
2113
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2114
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2117
_ | IFS | as_nl) ;; #(
2118
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2119
*) { eval $ac_var=; unset $ac_var;} ;;
2124
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2125
*${as_nl}ac_space=\ *)
2127
"s/'\''/'\''\\\\'\'''\''/g;
2128
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2131
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2138
$as_echo "## ----------------- ##
2139
## Output variables. ##
2140
## ----------------- ##"
2142
for ac_var in $ac_subst_vars
2144
eval ac_val=\$$ac_var
2146
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148
$as_echo "$ac_var='\''$ac_val'\''"
2152
if test -n "$ac_subst_files"; then
2153
$as_echo "## ------------------- ##
2154
## File substitutions. ##
2155
## ------------------- ##"
2157
for ac_var in $ac_subst_files
2159
eval ac_val=\$$ac_var
2161
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2163
$as_echo "$ac_var='\''$ac_val'\''"
2168
if test -s confdefs.h; then
2169
$as_echo "## ----------- ##
2176
test "$ac_signal" != 0 &&
2177
$as_echo "$as_me: caught signal $ac_signal"
2178
$as_echo "$as_me: exit $exit_status"
2180
rm -f core *.core core.conftest.* &&
2181
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2184
for ac_signal in 1 2 13 15; do
2185
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2189
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2190
rm -f -r conftest* confdefs.h
2192
$as_echo "/* confdefs.h */" > confdefs.h
2194
# Predefined preprocessor variables.
2196
cat >>confdefs.h <<_ACEOF
2197
#define PACKAGE_NAME "$PACKAGE_NAME"
2200
cat >>confdefs.h <<_ACEOF
2201
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2204
cat >>confdefs.h <<_ACEOF
2205
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2208
cat >>confdefs.h <<_ACEOF
2209
#define PACKAGE_STRING "$PACKAGE_STRING"
2212
cat >>confdefs.h <<_ACEOF
2213
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2216
cat >>confdefs.h <<_ACEOF
2217
#define PACKAGE_URL "$PACKAGE_URL"
2221
# Let the site file select an alternate cache file if it wants to.
2222
# Prefer an explicitly selected file to automatically selected ones.
2225
if test -n "$CONFIG_SITE"; then
2226
# We do not want a PATH search for config.site.
2227
case $CONFIG_SITE in #((
2228
-*) ac_site_file1=./$CONFIG_SITE;;
2229
*/*) ac_site_file1=$CONFIG_SITE;;
2230
*) ac_site_file1=./$CONFIG_SITE;;
2232
elif test "x$prefix" != xNONE; then
2233
ac_site_file1=$prefix/share/config.site
2234
ac_site_file2=$prefix/etc/config.site
2236
ac_site_file1=$ac_default_prefix/share/config.site
2237
ac_site_file2=$ac_default_prefix/etc/config.site
2239
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2241
test "x$ac_site_file" = xNONE && continue
2242
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2243
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2244
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2245
sed 's/^/| /' "$ac_site_file" >&5
2247
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2248
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2249
as_fn_error $? "failed to load site script $ac_site_file
2250
See \`config.log' for more details" "$LINENO" 5; }
2254
if test -r "$cache_file"; then
2255
# Some versions of bash will fail to source /dev/null (special files
2256
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2257
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2258
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2259
$as_echo "$as_me: loading cache $cache_file" >&6;}
2261
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2262
*) . "./$cache_file";;
2266
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2267
$as_echo "$as_me: creating cache $cache_file" >&6;}
2271
# Check that the precious variables saved in the cache have kept the same
2273
ac_cache_corrupted=false
2274
for ac_var in $ac_precious_vars; do
2275
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2276
eval ac_new_set=\$ac_env_${ac_var}_set
2277
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2278
eval ac_new_val=\$ac_env_${ac_var}_value
2279
case $ac_old_set,$ac_new_set in
2281
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2282
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2283
ac_cache_corrupted=: ;;
2285
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2286
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2287
ac_cache_corrupted=: ;;
2290
if test "x$ac_old_val" != "x$ac_new_val"; then
2291
# differences in whitespace do not lead to failure.
2292
ac_old_val_w=`echo x $ac_old_val`
2293
ac_new_val_w=`echo x $ac_new_val`
2294
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2295
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2296
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2297
ac_cache_corrupted=:
2299
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2300
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2301
eval $ac_var=\$ac_old_val
2303
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2304
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2305
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2306
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2309
# Pass precious variables to config.status.
2310
if test "$ac_new_set" = set; then
2312
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2313
*) ac_arg=$ac_var=$ac_new_val ;;
2315
case " $ac_configure_args " in
2316
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2317
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2321
if $ac_cache_corrupted; then
2322
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2325
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2326
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2328
## -------------------- ##
2329
## Main body of script. ##
2330
## -------------------- ##
2333
ac_cpp='$CPP $CPPFLAGS'
2334
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2335
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2336
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2342
LIBXFCE4UTIL_VERSION=4.10.1
2343
am__api_version='1.13'
2346
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2347
if test -f "$ac_dir/install-sh"; then
2349
ac_install_sh="$ac_aux_dir/install-sh -c"
2351
elif test -f "$ac_dir/install.sh"; then
2353
ac_install_sh="$ac_aux_dir/install.sh -c"
2355
elif test -f "$ac_dir/shtool"; then
2357
ac_install_sh="$ac_aux_dir/shtool install -c"
2361
if test -z "$ac_aux_dir"; then
2362
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2365
# These three variables are undocumented and unsupported,
2366
# and are intended to be withdrawn in a future Autoconf release.
2367
# They can cause serious problems if a builder's source tree is in a directory
2368
# whose full name contains unusual characters.
2369
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2370
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2371
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2374
# Find a good install program. We prefer a C program (faster),
2375
# so one script is as good as another. But avoid the broken or
2376
# incompatible versions:
2377
# SysV /etc/install, /usr/sbin/install
2378
# SunOS /usr/etc/install
2379
# IRIX /sbin/install
2381
# AmigaOS /C/install, which installs bootblocks on floppy discs
2382
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2383
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2384
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2385
# OS/2's system install, which has a completely different semantic
2386
# ./install, which can be erroneously created by make from ./install.sh.
2387
# Reject install programs that cannot install multiple files.
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2389
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2390
if test -z "$INSTALL"; then
2391
if ${ac_cv_path_install+:} false; then :
2392
$as_echo_n "(cached) " >&6
2394
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398
test -z "$as_dir" && as_dir=.
2399
# Account for people who put trailing slashes in PATH elements.
2400
case $as_dir/ in #((
2401
./ | .// | /[cC]/* | \
2402
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2403
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2406
# OSF1 and SCO ODT 3.0 have their own names for install.
2407
# Don't use installbsd from OSF since it installs stuff as root
2409
for ac_prog in ginstall scoinst install; do
2410
for ac_exec_ext in '' $ac_executable_extensions; do
2411
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2412
if test $ac_prog = install &&
2413
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2414
# AIX install. It has an incompatible calling convention.
2416
elif test $ac_prog = install &&
2417
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2418
# program-specific install script used by HP pwplus--don't use.
2421
rm -rf conftest.one conftest.two conftest.dir
2422
echo one > conftest.one
2423
echo two > conftest.two
2425
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2426
test -s conftest.one && test -s conftest.two &&
2427
test -s conftest.dir/conftest.one &&
2428
test -s conftest.dir/conftest.two
2430
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2443
rm -rf conftest.one conftest.two conftest.dir
2446
if test "${ac_cv_path_install+set}" = set; then
2447
INSTALL=$ac_cv_path_install
2449
# As a last resort, use the slow shell script. Don't cache a
2450
# value for INSTALL within a source directory, because that will
2451
# break other packages using the cache if that directory is
2452
# removed, or if the value is a relative name.
2453
INSTALL=$ac_install_sh
2456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2457
$as_echo "$INSTALL" >&6; }
2459
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2460
# It thinks the first close brace ends the variable substitution.
2461
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2463
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2465
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2468
$as_echo_n "checking whether build environment is sane... " >&6; }
2469
# Reject unsafe characters in $srcdir or the absolute working directory
2470
# name. Accept space and tab only in the latter.
2474
*[\\\"\#\$\&\'\`$am_lf]*)
2475
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2478
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2479
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2482
# Do 'set' in a subshell so we don't clobber the current shell's
2483
# arguments. Must try -L first in case configure is actually a
2484
# symlink; some systems play weird games with the mod time of symlinks
2485
# (eg FreeBSD returns the mod time of the symlink's containing
2489
for am_try in 1 2; do
2490
echo "timestamp, slept: $am_has_slept" > conftest.file
2491
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2492
if test "$*" = "X"; then
2494
set X `ls -t "$srcdir/configure" conftest.file`
2496
if test "$*" != "X $srcdir/configure conftest.file" \
2497
&& test "$*" != "X conftest.file $srcdir/configure"; then
2499
# If neither matched, then we have a broken ls. This can happen
2500
# if, for instance, CONFIG_SHELL is bash and it inherits a
2501
# broken ls alias from the environment. This has actually
2502
# happened. Such a system could not be considered "sane".
2503
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2504
alias in your environment" "$LINENO" 5
2506
if test "$2" = conftest.file || test $am_try -eq 2; then
2513
test "$2" = conftest.file
2519
as_fn_error $? "newly created file is older than distributed files!
2520
Check your system clock" "$LINENO" 5
2522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2523
$as_echo "yes" >&6; }
2524
# If we didn't sleep, we still need to ensure time stamps of config.status and
2525
# generated files are strictly newer.
2527
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2534
test "$program_prefix" != NONE &&
2535
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2536
# Use a double $ so make ignores it.
2537
test "$program_suffix" != NONE &&
2538
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2539
# Double any \ or $.
2540
# By default was `s,x,x', remove it if useless.
2541
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2542
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2544
# expand $ac_aux_dir to an absolute path
2545
am_aux_dir=`cd $ac_aux_dir && pwd`
2547
if test x"${MISSING+set}" != xset; then
2550
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2552
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2555
# Use eval to expand $SHELL
2556
if eval "$MISSING --is-lightweight"; then
2557
am_missing_run="$MISSING "
2560
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2561
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2564
if test x"${install_sh}" != xset; then
2567
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2569
install_sh="\${SHELL} $am_aux_dir/install-sh"
2573
# Installed binaries are usually stripped using 'strip' when the user
2574
# run "make install-strip". However 'strip' might not be the right
2575
# tool to use in cross-compilation environments, therefore Automake
2576
# will honor the 'STRIP' environment variable to overrule this program.
2577
if test "$cross_compiling" != no; then
2578
if test -n "$ac_tool_prefix"; then
2579
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2580
set dummy ${ac_tool_prefix}strip; ac_word=$2
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582
$as_echo_n "checking for $ac_word... " >&6; }
2583
if ${ac_cv_prog_STRIP+:} false; then :
2584
$as_echo_n "(cached) " >&6
2586
if test -n "$STRIP"; then
2587
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2589
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593
test -z "$as_dir" && as_dir=.
2594
for ac_exec_ext in '' $ac_executable_extensions; do
2595
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2596
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2597
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606
STRIP=$ac_cv_prog_STRIP
2607
if test -n "$STRIP"; then
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2609
$as_echo "$STRIP" >&6; }
2611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612
$as_echo "no" >&6; }
2617
if test -z "$ac_cv_prog_STRIP"; then
2619
# Extract the first word of "strip", so it can be a program name with args.
2620
set dummy strip; ac_word=$2
2621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2622
$as_echo_n "checking for $ac_word... " >&6; }
2623
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2624
$as_echo_n "(cached) " >&6
2626
if test -n "$ac_ct_STRIP"; then
2627
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633
test -z "$as_dir" && as_dir=.
2634
for ac_exec_ext in '' $ac_executable_extensions; do
2635
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636
ac_cv_prog_ac_ct_STRIP="strip"
2637
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2647
if test -n "$ac_ct_STRIP"; then
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2649
$as_echo "$ac_ct_STRIP" >&6; }
2651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652
$as_echo "no" >&6; }
2655
if test "x$ac_ct_STRIP" = x; then
2658
case $cross_compiling:$ac_tool_warned in
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2661
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2662
ac_tool_warned=yes ;;
2667
STRIP="$ac_cv_prog_STRIP"
2671
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2674
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2675
if test -z "$MKDIR_P"; then
2676
if ${ac_cv_path_mkdir+:} false; then :
2677
$as_echo_n "(cached) " >&6
2679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2683
test -z "$as_dir" && as_dir=.
2684
for ac_prog in mkdir gmkdir; do
2685
for ac_exec_ext in '' $ac_executable_extensions; do
2686
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2687
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2688
'mkdir (GNU coreutils) '* | \
2689
'mkdir (coreutils) '* | \
2690
'mkdir (fileutils) '4.1*)
2691
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2701
test -d ./--version && rmdir ./--version
2702
if test "${ac_cv_path_mkdir+set}" = set; then
2703
MKDIR_P="$ac_cv_path_mkdir -p"
2705
# As a last resort, use the slow shell script. Don't cache a
2706
# value for MKDIR_P within a source directory, because that will
2707
# break other packages using the cache if that directory is
2708
# removed, or if the value is a relative name.
2709
MKDIR_P="$ac_install_sh -d"
2712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2713
$as_echo "$MKDIR_P" >&6; }
2715
for ac_prog in gawk mawk nawk awk
2717
# Extract the first word of "$ac_prog", so it can be a program name with args.
2718
set dummy $ac_prog; ac_word=$2
2719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720
$as_echo_n "checking for $ac_word... " >&6; }
2721
if ${ac_cv_prog_AWK+:} false; then :
2722
$as_echo_n "(cached) " >&6
2724
if test -n "$AWK"; then
2725
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731
test -z "$as_dir" && as_dir=.
2732
for ac_exec_ext in '' $ac_executable_extensions; do
2733
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2734
ac_cv_prog_AWK="$ac_prog"
2735
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745
if test -n "$AWK"; then
2746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2747
$as_echo "$AWK" >&6; }
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750
$as_echo "no" >&6; }
2754
test -n "$AWK" && break
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2758
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2760
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2761
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2762
$as_echo_n "(cached) " >&6
2764
cat >conftest.make <<\_ACEOF
2767
@echo '@@@%%%=$(MAKE)=@@@%%%'
2769
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2770
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2772
eval ac_cv_prog_make_${ac_make}_set=yes;;
2774
eval ac_cv_prog_make_${ac_make}_set=no;;
2778
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2780
$as_echo "yes" >&6; }
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784
$as_echo "no" >&6; }
2785
SET_MAKE="MAKE=${MAKE-make}"
2788
rm -rf .tst 2>/dev/null
2789
mkdir .tst 2>/dev/null
2790
if test -d .tst; then
2795
rmdir .tst 2>/dev/null
2797
# Check whether --enable-silent-rules was given.
2798
if test "${enable_silent_rules+set}" = set; then :
2799
enableval=$enable_silent_rules;
2802
case $enable_silent_rules in # (((
2803
yes) AM_DEFAULT_VERBOSITY=0;;
2804
no) AM_DEFAULT_VERBOSITY=1;;
2805
*) AM_DEFAULT_VERBOSITY=1;;
2807
am_make=${MAKE-make}
2808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2809
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2810
if ${am_cv_make_support_nested_variables+:} false; then :
2811
$as_echo_n "(cached) " >&6
2813
if $as_echo 'TRUE=$(BAR$(V))
2819
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2820
am_cv_make_support_nested_variables=yes
2822
am_cv_make_support_nested_variables=no
2825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2826
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2827
if test $am_cv_make_support_nested_variables = yes; then
2829
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2831
AM_V=$AM_DEFAULT_VERBOSITY
2832
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2836
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2837
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2838
# is not polluted with repeated "-I."
2839
am__isrc=' -I$(srcdir)'
2840
# test to see if srcdir already configured
2841
if test -f $srcdir/config.status; then
2842
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2846
# test whether we have cygpath
2847
if test -z "$CYGPATH_W"; then
2848
if (cygpath --version) >/dev/null 2>/dev/null; then
2849
CYGPATH_W='cygpath -w'
2856
# Define the identity of the package.
2857
PACKAGE='libxfce4util'
2861
cat >>confdefs.h <<_ACEOF
2862
#define PACKAGE "$PACKAGE"
2866
cat >>confdefs.h <<_ACEOF
2867
#define VERSION "$VERSION"
2870
# Some tools Automake needs.
2872
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2875
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2878
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2881
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2884
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2886
# For better backward compatibility. To be removed once Automake 1.9.x
2887
# dies out for good. For more background, see:
2888
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2889
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2890
mkdir_p='$(MKDIR_P)'
2892
# We need awk for the "check" target. The system "awk" is bad on
2894
# Always define AMTAR for backward compatibility. Yes, it's still used
2895
# in the wild :-( We should find a proper way to deprecate it ...
2899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2900
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2901
# Loop over all known methods to create a tar archive until one works.
2902
_am_tools='gnutar plaintar pax cpio none'
2903
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2904
# Do not fold the above two line into one, because Tru64 sh and
2905
# Solaris sh will not grok spaces in the rhs of '-'.
2906
for _am_tool in $_am_tools
2910
for _am_tar in tar gnutar gtar;
2912
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
2913
($_am_tar --version) >&5 2>&5
2915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916
(exit $ac_status); } && break
2918
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2919
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2920
am__untar="$_am_tar -xf -"
2923
# Must skip GNU tar: if it does not support --format= it doesn't create
2924
# ustar tarball either.
2925
(tar --version) >/dev/null 2>&1 && continue
2926
am__tar='tar chf - "$$tardir"'
2927
am__tar_='tar chf - "$tardir"'
2928
am__untar='tar xf -'
2931
am__tar='pax -L -x ustar -w "$$tardir"'
2932
am__tar_='pax -L -x ustar -w "$tardir"'
2936
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2937
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2938
am__untar='cpio -i -H ustar -d'
2947
# If the value was cached, stop now. We just wanted to have am__tar
2948
# and am__untar set.
2949
test -n "${am_cv_prog_tar_ustar}" && break
2951
# tar/untar a dummy directory, and stop if the command works
2954
echo GrepMe > conftest.dir/file
2955
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2956
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
(exit $ac_status); }
2961
if test -s conftest.tar; then
2962
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2963
($am__untar <conftest.tar) >&5 2>&5
2965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966
(exit $ac_status); }
2967
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2972
if ${am_cv_prog_tar_ustar+:} false; then :
2973
$as_echo_n "(cached) " >&6
2975
am_cv_prog_tar_ustar=$_am_tool
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2979
$as_echo "$am_cv_prog_tar_ustar" >&6; }
2985
ac_config_headers="$ac_config_headers config.h"
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2989
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2990
# Check whether --enable-maintainer-mode was given.
2991
if test "${enable_maintainer_mode+set}" = set; then :
2992
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2994
USE_MAINTAINER_MODE=no
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2998
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2999
if test $USE_MAINTAINER_MODE = yes; then
3000
MAINTAINER_MODE_TRUE=
3001
MAINTAINER_MODE_FALSE='#'
3003
MAINTAINER_MODE_TRUE='#'
3004
MAINTAINER_MODE_FALSE=
3007
MAINT=$MAINTAINER_MODE_TRUE
3010
# Check whether --enable-silent-rules was given.
3011
if test "${enable_silent_rules+set}" = set; then :
3012
enableval=$enable_silent_rules;
3015
case $enable_silent_rules in # (((
3016
yes) AM_DEFAULT_VERBOSITY=0;;
3017
no) AM_DEFAULT_VERBOSITY=1;;
3018
*) AM_DEFAULT_VERBOSITY=0;;
3020
am_make=${MAKE-make}
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3022
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3023
if ${am_cv_make_support_nested_variables+:} false; then :
3024
$as_echo_n "(cached) " >&6
3026
if $as_echo 'TRUE=$(BAR$(V))
3032
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3033
am_cv_make_support_nested_variables=yes
3035
am_cv_make_support_nested_variables=no
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3039
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3040
if test $am_cv_make_support_nested_variables = yes; then
3042
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3044
AM_V=$AM_DEFAULT_VERBOSITY
3045
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3050
LIBXFCE4UTIL_VERINFO=6:0:0
3054
$as_echo "#define XFCE_VERSION_STRING \"4.10\"" >>confdefs.h
3057
LIBXFCE4UTIL_VERSION_MAJOR=4
3058
LIBXFCE4UTIL_VERSION_MINOR=10
3059
LIBXFCE4UTIL_VERSION_MICRO=1
3064
DEPDIR="${am__leading_dot}deps"
3066
ac_config_commands="$ac_config_commands depfiles"
3069
am_make=${MAKE-make}
3070
cat > confinc << 'END'
3072
@echo this is the am__doit target
3075
# If we don't find an include directive, just comment out the code.
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3077
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3081
# First try GNU make style include.
3082
echo "include confinc" > confmf
3083
# Ignore all kinds of additional output from 'make'.
3084
case `$am_make -s -f confmf 2> /dev/null` in #(
3085
*the\ am__doit\ target*)
3091
# Now try BSD make style include.
3092
if test "$am__include" = "#"; then
3093
echo '.include "confinc"' > confmf
3094
case `$am_make -s -f confmf 2> /dev/null` in #(
3095
*the\ am__doit\ target*)
3096
am__include=.include
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3105
$as_echo "$_am_result" >&6; }
3106
rm -f confinc confmf
3108
# Check whether --enable-dependency-tracking was given.
3109
if test "${enable_dependency_tracking+set}" = set; then :
3110
enableval=$enable_dependency_tracking;
3113
if test "x$enable_dependency_tracking" != xno; then
3114
am_depcomp="$ac_aux_dir/depcomp"
3118
if test "x$enable_dependency_tracking" != xno; then
3128
ac_cpp='$CPP $CPPFLAGS'
3129
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3132
if test -n "$ac_tool_prefix"; then
3133
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3134
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136
$as_echo_n "checking for $ac_word... " >&6; }
3137
if ${ac_cv_prog_CC+:} false; then :
3138
$as_echo_n "(cached) " >&6
3140
if test -n "$CC"; then
3141
ac_cv_prog_CC="$CC" # Let the user override the test.
3143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147
test -z "$as_dir" && as_dir=.
3148
for ac_exec_ext in '' $ac_executable_extensions; do
3149
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3151
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161
if test -n "$CC"; then
3162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3163
$as_echo "$CC" >&6; }
3165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166
$as_echo "no" >&6; }
3171
if test -z "$ac_cv_prog_CC"; then
3173
# Extract the first word of "gcc", so it can be a program name with args.
3174
set dummy gcc; ac_word=$2
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176
$as_echo_n "checking for $ac_word... " >&6; }
3177
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3178
$as_echo_n "(cached) " >&6
3180
if test -n "$ac_ct_CC"; then
3181
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187
test -z "$as_dir" && as_dir=.
3188
for ac_exec_ext in '' $ac_executable_extensions; do
3189
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190
ac_cv_prog_ac_ct_CC="gcc"
3191
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3201
if test -n "$ac_ct_CC"; then
3202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203
$as_echo "$ac_ct_CC" >&6; }
3205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206
$as_echo "no" >&6; }
3209
if test "x$ac_ct_CC" = x; then
3212
case $cross_compiling:$ac_tool_warned in
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216
ac_tool_warned=yes ;;
3224
if test -z "$CC"; then
3225
if test -n "$ac_tool_prefix"; then
3226
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3227
set dummy ${ac_tool_prefix}cc; ac_word=$2
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229
$as_echo_n "checking for $ac_word... " >&6; }
3230
if ${ac_cv_prog_CC+:} false; then :
3231
$as_echo_n "(cached) " >&6
3233
if test -n "$CC"; then
3234
ac_cv_prog_CC="$CC" # Let the user override the test.
3236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240
test -z "$as_dir" && as_dir=.
3241
for ac_exec_ext in '' $ac_executable_extensions; do
3242
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243
ac_cv_prog_CC="${ac_tool_prefix}cc"
3244
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254
if test -n "$CC"; then
3255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3256
$as_echo "$CC" >&6; }
3258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259
$as_echo "no" >&6; }
3265
if test -z "$CC"; then
3266
# Extract the first word of "cc", so it can be a program name with args.
3267
set dummy cc; ac_word=$2
3268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269
$as_echo_n "checking for $ac_word... " >&6; }
3270
if ${ac_cv_prog_CC+:} false; then :
3271
$as_echo_n "(cached) " >&6
3273
if test -n "$CC"; then
3274
ac_cv_prog_CC="$CC" # Let the user override the test.
3277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281
test -z "$as_dir" && as_dir=.
3282
for ac_exec_ext in '' $ac_executable_extensions; do
3283
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3284
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3285
ac_prog_rejected=yes
3289
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296
if test $ac_prog_rejected = yes; then
3297
# We found a bogon in the path, so make sure we never use it.
3298
set dummy $ac_cv_prog_CC
3300
if test $# != 0; then
3301
# We chose a different compiler from the bogus one.
3302
# However, it has the same basename, so the bogon will be chosen
3303
# first if we set CC to just the basename; use the full file name.
3305
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3311
if test -n "$CC"; then
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313
$as_echo "$CC" >&6; }
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316
$as_echo "no" >&6; }
3321
if test -z "$CC"; then
3322
if test -n "$ac_tool_prefix"; then
3323
for ac_prog in cl.exe
3325
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3326
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328
$as_echo_n "checking for $ac_word... " >&6; }
3329
if ${ac_cv_prog_CC+:} false; then :
3330
$as_echo_n "(cached) " >&6
3332
if test -n "$CC"; then
3333
ac_cv_prog_CC="$CC" # Let the user override the test.
3335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339
test -z "$as_dir" && as_dir=.
3340
for ac_exec_ext in '' $ac_executable_extensions; do
3341
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3343
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353
if test -n "$CC"; then
3354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355
$as_echo "$CC" >&6; }
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358
$as_echo "no" >&6; }
3362
test -n "$CC" && break
3365
if test -z "$CC"; then
3367
for ac_prog in cl.exe
3369
# Extract the first word of "$ac_prog", so it can be a program name with args.
3370
set dummy $ac_prog; ac_word=$2
3371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372
$as_echo_n "checking for $ac_word... " >&6; }
3373
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3374
$as_echo_n "(cached) " >&6
3376
if test -n "$ac_ct_CC"; then
3377
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383
test -z "$as_dir" && as_dir=.
3384
for ac_exec_ext in '' $ac_executable_extensions; do
3385
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386
ac_cv_prog_ac_ct_CC="$ac_prog"
3387
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3397
if test -n "$ac_ct_CC"; then
3398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3399
$as_echo "$ac_ct_CC" >&6; }
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402
$as_echo "no" >&6; }
3406
test -n "$ac_ct_CC" && break
3409
if test "x$ac_ct_CC" = x; then
3412
case $cross_compiling:$ac_tool_warned in
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3415
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3416
ac_tool_warned=yes ;;
3425
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427
as_fn_error $? "no acceptable C compiler found in \$PATH
3428
See \`config.log' for more details" "$LINENO" 5; }
3430
# Provide some information about the compiler.
3431
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3434
for ac_option in --version -v -V -qversion; do
3435
{ { ac_try="$ac_compiler $ac_option >&5"
3437
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438
*) ac_try_echo=$ac_try;;
3440
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441
$as_echo "$ac_try_echo"; } >&5
3442
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3444
if test -s conftest.err; then
3446
... rest of stderr output deleted ...
3447
10q' conftest.err >conftest.er1
3448
cat conftest.er1 >&5
3450
rm -f conftest.er1 conftest.err
3451
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452
test $ac_status = 0; }
3455
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456
/* end confdefs.h. */
3466
ac_clean_files_save=$ac_clean_files
3467
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3468
# Try to create an executable without -o first, disregard a.out.
3469
# It will help us diagnose broken compilers, and finding out an intuition
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3472
$as_echo_n "checking whether the C compiler works... " >&6; }
3473
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3475
# The possible output files:
3476
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3479
for ac_file in $ac_files
3482
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3483
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3488
if { { ac_try="$ac_link_default"
3490
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491
*) ac_try_echo=$ac_try;;
3493
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494
$as_echo "$ac_try_echo"; } >&5
3495
(eval "$ac_link_default") 2>&5
3497
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498
test $ac_status = 0; }; then :
3499
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3500
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3501
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3502
# so that the user can short-circuit this test for compilers unknown to
3504
for ac_file in $ac_files ''
3506
test -f "$ac_file" || continue
3508
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3511
# We found the default executable, but exeext='' is most
3515
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3517
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3519
# We set ac_cv_exeext here because the later test for it is not
3520
# safe: cross compilers may not add the suffix if given an `-o'
3521
# argument, so we may need to know it at that point already.
3522
# Even if this section looks crufty: it has the advantage of
3529
test "$ac_cv_exeext" = no && ac_cv_exeext=
3534
if test -z "$ac_file"; then :
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536
$as_echo "no" >&6; }
3537
$as_echo "$as_me: failed program was:" >&5
3538
sed 's/^/| /' conftest.$ac_ext >&5
3540
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542
as_fn_error 77 "C compiler cannot create executables
3543
See \`config.log' for more details" "$LINENO" 5; }
3545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3546
$as_echo "yes" >&6; }
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3549
$as_echo_n "checking for C compiler default output file name... " >&6; }
3550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3551
$as_echo "$ac_file" >&6; }
3552
ac_exeext=$ac_cv_exeext
3554
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3555
ac_clean_files=$ac_clean_files_save
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3557
$as_echo_n "checking for suffix of executables... " >&6; }
3558
if { { ac_try="$ac_link"
3560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561
*) ac_try_echo=$ac_try;;
3563
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564
$as_echo "$ac_try_echo"; } >&5
3565
(eval "$ac_link") 2>&5
3567
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568
test $ac_status = 0; }; then :
3569
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3570
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3571
# work properly (i.e., refer to `conftest.exe'), while it won't with
3573
for ac_file in conftest.exe conftest conftest.*; do
3574
test -f "$ac_file" || continue
3576
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3577
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3583
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3584
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3585
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3586
See \`config.log' for more details" "$LINENO" 5; }
3588
rm -f conftest conftest$ac_cv_exeext
3589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3590
$as_echo "$ac_cv_exeext" >&6; }
3592
rm -f conftest.$ac_ext
3593
EXEEXT=$ac_cv_exeext
3595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596
/* end confdefs.h. */
3601
FILE *f = fopen ("conftest.out", "w");
3602
return ferror (f) || fclose (f) != 0;
3608
ac_clean_files="$ac_clean_files conftest.out"
3609
# Check that the compiler produces executables we can run. If not, either
3610
# the compiler is broken, or we cross compile.
3611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3612
$as_echo_n "checking whether we are cross compiling... " >&6; }
3613
if test "$cross_compiling" != yes; then
3614
{ { ac_try="$ac_link"
3616
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617
*) ac_try_echo=$ac_try;;
3619
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620
$as_echo "$ac_try_echo"; } >&5
3621
(eval "$ac_link") 2>&5
3623
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624
test $ac_status = 0; }
3625
if { ac_try='./conftest$ac_cv_exeext'
3626
{ { case "(($ac_try" in
3627
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628
*) ac_try_echo=$ac_try;;
3630
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631
$as_echo "$ac_try_echo"; } >&5
3632
(eval "$ac_try") 2>&5
3634
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635
test $ac_status = 0; }; }; then
3638
if test "$cross_compiling" = maybe; then
3641
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3642
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3643
as_fn_error $? "cannot run C compiled programs.
3644
If you meant to cross compile, use \`--host'.
3645
See \`config.log' for more details" "$LINENO" 5; }
3649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3650
$as_echo "$cross_compiling" >&6; }
3652
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3653
ac_clean_files=$ac_clean_files_save
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3655
$as_echo_n "checking for suffix of object files... " >&6; }
3656
if ${ac_cv_objext+:} false; then :
3657
$as_echo_n "(cached) " >&6
3659
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660
/* end confdefs.h. */
3670
rm -f conftest.o conftest.obj
3671
if { { ac_try="$ac_compile"
3673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674
*) ac_try_echo=$ac_try;;
3676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677
$as_echo "$ac_try_echo"; } >&5
3678
(eval "$ac_compile") 2>&5
3680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681
test $ac_status = 0; }; then :
3682
for ac_file in conftest.o conftest.obj conftest.*; do
3683
test -f "$ac_file" || continue;
3685
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3686
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3691
$as_echo "$as_me: failed program was:" >&5
3692
sed 's/^/| /' conftest.$ac_ext >&5
3694
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696
as_fn_error $? "cannot compute suffix of object files: cannot compile
3697
See \`config.log' for more details" "$LINENO" 5; }
3699
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3702
$as_echo "$ac_cv_objext" >&6; }
3703
OBJEXT=$ac_cv_objext
3705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3706
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3707
if ${ac_cv_c_compiler_gnu+:} false; then :
3708
$as_echo_n "(cached) " >&6
3710
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711
/* end confdefs.h. */
3724
if ac_fn_c_try_compile "$LINENO"; then :
3729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3730
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3734
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3735
if test $ac_compiler_gnu = yes; then
3740
ac_test_CFLAGS=${CFLAGS+set}
3741
ac_save_CFLAGS=$CFLAGS
3742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3743
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3744
if ${ac_cv_prog_cc_g+:} false; then :
3745
$as_echo_n "(cached) " >&6
3747
ac_save_c_werror_flag=$ac_c_werror_flag
3748
ac_c_werror_flag=yes
3751
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752
/* end confdefs.h. */
3762
if ac_fn_c_try_compile "$LINENO"; then :
3766
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767
/* end confdefs.h. */
3777
if ac_fn_c_try_compile "$LINENO"; then :
3780
ac_c_werror_flag=$ac_save_c_werror_flag
3782
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783
/* end confdefs.h. */
3793
if ac_fn_c_try_compile "$LINENO"; then :
3796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801
ac_c_werror_flag=$ac_save_c_werror_flag
3803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3804
$as_echo "$ac_cv_prog_cc_g" >&6; }
3805
if test "$ac_test_CFLAGS" = set; then
3806
CFLAGS=$ac_save_CFLAGS
3807
elif test $ac_cv_prog_cc_g = yes; then
3808
if test "$GCC" = yes; then
3814
if test "$GCC" = yes; then
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3821
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3822
if ${ac_cv_prog_cc_c89+:} false; then :
3823
$as_echo_n "(cached) " >&6
3825
ac_cv_prog_cc_c89=no
3827
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828
/* end confdefs.h. */
3832
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3833
struct buf { int x; };
3834
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3835
static char *e (p, i)
3841
static char *f (char * (*g) (char **, int), char **p, ...)
3846
s = g (p, va_arg (v,int));
3851
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3852
function prototypes and stuff, but not '\xHH' hex character constants.
3853
These don't provoke an error unfortunately, instead are silently treated
3854
as 'x'. The following induces an error, until -std is added to get
3855
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3856
array size at least. It's necessary to write '\x00'==0 to get something
3857
that's true only with -std. */
3858
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3860
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3861
inside strings and character constants. */
3863
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3865
int test (int i, double x);
3866
struct s1 {int (*f) (int a);};
3867
struct s2 {int (*f) (double a);};
3868
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3874
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3879
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3880
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3882
CC="$ac_save_CC $ac_arg"
3883
if ac_fn_c_try_compile "$LINENO"; then :
3884
ac_cv_prog_cc_c89=$ac_arg
3886
rm -f core conftest.err conftest.$ac_objext
3887
test "x$ac_cv_prog_cc_c89" != "xno" && break
3889
rm -f conftest.$ac_ext
3894
case "x$ac_cv_prog_cc_c89" in
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3897
$as_echo "none needed" >&6; } ;;
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3900
$as_echo "unsupported" >&6; } ;;
3902
CC="$CC $ac_cv_prog_cc_c89"
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3904
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3906
if test "x$ac_cv_prog_cc_c89" != xno; then :
3911
ac_cpp='$CPP $CPPFLAGS'
3912
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3913
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3914
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916
depcc="$CC" am_compiler_list=
3918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3919
$as_echo_n "checking dependency style of $depcc... " >&6; }
3920
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3921
$as_echo_n "(cached) " >&6
3923
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3924
# We make a subdir and do the tests there. Otherwise we can end up
3925
# making bogus files that we don't know about and never remove. For
3926
# instance it was reported that on HP-UX the gcc test will end up
3927
# making a dummy file named 'D' -- because '-MD' means "put the output
3931
# Copy depcomp to subdir because otherwise we won't find it if we're
3932
# using a relative directory.
3933
cp "$am_depcomp" conftest.dir
3935
# We will build objects and dependencies in a subdirectory because
3936
# it helps to detect inapplicable dependency modes. For instance
3937
# both Tru64's cc and ICC support -MD to output dependencies as a
3938
# side effect of compilation, but ICC will put the dependencies in
3939
# the current directory while Tru64 will put them in the object
3943
am_cv_CC_dependencies_compiler_type=none
3944
if test "$am_compiler_list" = ""; then
3945
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3948
case " $depcc " in #(
3949
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3952
for depmode in $am_compiler_list; do
3953
# Setup a source with many dependencies, because some compilers
3954
# like to wrap large dependency lists on column 80 (with \), and
3955
# we should not choose a depcomp mode which is confused by this.
3957
# We need to recreate these files for each test, as the compiler may
3958
# overwrite some of them when testing with obscure command lines.
3959
# This happens at least with the AIX C compiler.
3961
for i in 1 2 3 4 5 6; do
3962
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3963
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3964
# Solaris 10 /bin/sh.
3965
echo '/* dummy */' > sub/conftst$i.h
3967
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3969
# We check with '-c' and '-o' for the sake of the "dashmstdout"
3970
# mode. It turns out that the SunPro C++ compiler does not properly
3971
# handle '-M -o', and we need to detect this. Also, some Intel
3972
# versions had trouble with output in subdirs.
3973
am__obj=sub/conftest.${OBJEXT-o}
3974
am__minus_obj="-o $am__obj"
3977
# This depmode causes a compiler race in universal mode.
3978
test "$am__universal" = false || continue
3981
# After this tag, mechanisms are not by side-effect, so they'll
3982
# only be used when explicitly requested.
3983
if test "x$enable_dependency_tracking" = xyes; then
3989
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3990
# This compiler won't grok '-c -o', but also, the minuso test has
3991
# not run yet. These depmodes are late enough in the game, and
3992
# so weak that their functioning should not be impacted.
3993
am__obj=conftest.${OBJEXT-o}
3998
if depmode=$depmode \
3999
source=sub/conftest.c object=$am__obj \
4000
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4001
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4002
>/dev/null 2>conftest.err &&
4003
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4004
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4005
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4006
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4007
# icc doesn't choke on unknown options, it will just issue warnings
4008
# or remarks (even with -Werror). So we grep stderr for any message
4009
# that says an option was ignored or not supported.
4010
# When given -MP, icc 7.0 and 7.1 complain thusly:
4011
# icc: Command line warning: ignoring option '-M'; no argument required
4012
# The diagnosis changed in icc 8.0:
4013
# icc: Command line remark: option '-MP' not supported
4014
if (grep 'ignoring option' conftest.err ||
4015
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4016
am_cv_CC_dependencies_compiler_type=$depmode
4025
am_cv_CC_dependencies_compiler_type=none
4029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4030
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4031
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4034
test "x$enable_dependency_tracking" != xno \
4035
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4037
am__fastdepCC_FALSE='#'
4039
am__fastdepCC_TRUE='#'
4040
am__fastdepCC_FALSE=
4046
ac_cpp='$CPP $CPPFLAGS'
4047
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4048
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4049
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4051
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4052
# On Suns, sometimes $CPP names a directory.
4053
if test -n "$CPP" && test -d "$CPP"; then
4056
if test -z "$CPP"; then
4057
if ${ac_cv_prog_CPP+:} false; then :
4058
$as_echo_n "(cached) " >&6
4060
# Double quotes because CPP needs to be expanded
4061
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4064
for ac_c_preproc_warn_flag in '' yes
4066
# Use a header file that comes with gcc, so configuring glibc
4067
# with a fresh cross-compiler works.
4068
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4069
# <limits.h> exists even on freestanding compilers.
4070
# On the NeXT, cc -E runs the code through the compiler's parser,
4071
# not just through cpp. "Syntax error" is here to catch this case.
4072
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073
/* end confdefs.h. */
4075
# include <limits.h>
4077
# include <assert.h>
4081
if ac_fn_c_try_cpp "$LINENO"; then :
4084
# Broken: fails on valid input.
4087
rm -f conftest.err conftest.i conftest.$ac_ext
4089
# OK, works on sane cases. Now check whether nonexistent headers
4090
# can be detected and how.
4091
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092
/* end confdefs.h. */
4093
#include <ac_nonexistent.h>
4095
if ac_fn_c_try_cpp "$LINENO"; then :
4096
# Broken: success on invalid input.
4099
# Passes both tests.
4103
rm -f conftest.err conftest.i conftest.$ac_ext
4106
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4107
rm -f conftest.i conftest.err conftest.$ac_ext
4108
if $ac_preproc_ok; then :
4120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4121
$as_echo "$CPP" >&6; }
4123
for ac_c_preproc_warn_flag in '' yes
4125
# Use a header file that comes with gcc, so configuring glibc
4126
# with a fresh cross-compiler works.
4127
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4128
# <limits.h> exists even on freestanding compilers.
4129
# On the NeXT, cc -E runs the code through the compiler's parser,
4130
# not just through cpp. "Syntax error" is here to catch this case.
4131
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132
/* end confdefs.h. */
4134
# include <limits.h>
4136
# include <assert.h>
4140
if ac_fn_c_try_cpp "$LINENO"; then :
4143
# Broken: fails on valid input.
4146
rm -f conftest.err conftest.i conftest.$ac_ext
4148
# OK, works on sane cases. Now check whether nonexistent headers
4149
# can be detected and how.
4150
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151
/* end confdefs.h. */
4152
#include <ac_nonexistent.h>
4154
if ac_fn_c_try_cpp "$LINENO"; then :
4155
# Broken: success on invalid input.
4158
# Passes both tests.
4162
rm -f conftest.err conftest.i conftest.$ac_ext
4165
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4166
rm -f conftest.i conftest.err conftest.$ac_ext
4167
if $ac_preproc_ok; then :
4170
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4171
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4172
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4173
See \`config.log' for more details" "$LINENO" 5; }
4177
ac_cpp='$CPP $CPPFLAGS'
4178
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4179
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4180
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4184
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4185
if ${ac_cv_path_GREP+:} false; then :
4186
$as_echo_n "(cached) " >&6
4188
if test -z "$GREP"; then
4189
ac_path_GREP_found=false
4190
# Loop through the user's path and test for each of PROGNAME-LIST
4191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4195
test -z "$as_dir" && as_dir=.
4196
for ac_prog in grep ggrep; do
4197
for ac_exec_ext in '' $ac_executable_extensions; do
4198
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4199
as_fn_executable_p "$ac_path_GREP" || continue
4200
# Check for GNU ac_path_GREP and select it if it is found.
4201
# Check for GNU $ac_path_GREP
4202
case `"$ac_path_GREP" --version 2>&1` in
4204
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4207
$as_echo_n 0123456789 >"conftest.in"
4210
cat "conftest.in" "conftest.in" >"conftest.tmp"
4211
mv "conftest.tmp" "conftest.in"
4212
cp "conftest.in" "conftest.nl"
4213
$as_echo 'GREP' >> "conftest.nl"
4214
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4215
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4216
as_fn_arith $ac_count + 1 && ac_count=$as_val
4217
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4218
# Best one so far, save it but keep looking for a better one
4219
ac_cv_path_GREP="$ac_path_GREP"
4220
ac_path_GREP_max=$ac_count
4222
# 10*(2^10) chars as input seems more than enough
4223
test $ac_count -gt 10 && break
4225
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228
$ac_path_GREP_found && break 3
4233
if test -z "$ac_cv_path_GREP"; then
4234
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4237
ac_cv_path_GREP=$GREP
4241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4242
$as_echo "$ac_cv_path_GREP" >&6; }
4243
GREP="$ac_cv_path_GREP"
4246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4247
$as_echo_n "checking for egrep... " >&6; }
4248
if ${ac_cv_path_EGREP+:} false; then :
4249
$as_echo_n "(cached) " >&6
4251
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4252
then ac_cv_path_EGREP="$GREP -E"
4254
if test -z "$EGREP"; then
4255
ac_path_EGREP_found=false
4256
# Loop through the user's path and test for each of PROGNAME-LIST
4257
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4261
test -z "$as_dir" && as_dir=.
4262
for ac_prog in egrep; do
4263
for ac_exec_ext in '' $ac_executable_extensions; do
4264
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4265
as_fn_executable_p "$ac_path_EGREP" || continue
4266
# Check for GNU ac_path_EGREP and select it if it is found.
4267
# Check for GNU $ac_path_EGREP
4268
case `"$ac_path_EGREP" --version 2>&1` in
4270
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4273
$as_echo_n 0123456789 >"conftest.in"
4276
cat "conftest.in" "conftest.in" >"conftest.tmp"
4277
mv "conftest.tmp" "conftest.in"
4278
cp "conftest.in" "conftest.nl"
4279
$as_echo 'EGREP' >> "conftest.nl"
4280
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4281
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4282
as_fn_arith $ac_count + 1 && ac_count=$as_val
4283
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4284
# Best one so far, save it but keep looking for a better one
4285
ac_cv_path_EGREP="$ac_path_EGREP"
4286
ac_path_EGREP_max=$ac_count
4288
# 10*(2^10) chars as input seems more than enough
4289
test $ac_count -gt 10 && break
4291
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4294
$ac_path_EGREP_found && break 3
4299
if test -z "$ac_cv_path_EGREP"; then
4300
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4303
ac_cv_path_EGREP=$EGREP
4308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4309
$as_echo "$ac_cv_path_EGREP" >&6; }
4310
EGREP="$ac_cv_path_EGREP"
4313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4314
$as_echo_n "checking for ANSI C header files... " >&6; }
4315
if ${ac_cv_header_stdc+:} false; then :
4316
$as_echo_n "(cached) " >&6
4318
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319
/* end confdefs.h. */
4333
if ac_fn_c_try_compile "$LINENO"; then :
4334
ac_cv_header_stdc=yes
4336
ac_cv_header_stdc=no
4338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340
if test $ac_cv_header_stdc = yes; then
4341
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4342
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343
/* end confdefs.h. */
4347
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4348
$EGREP "memchr" >/dev/null 2>&1; then :
4351
ac_cv_header_stdc=no
4357
if test $ac_cv_header_stdc = yes; then
4358
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4359
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360
/* end confdefs.h. */
4364
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4365
$EGREP "free" >/dev/null 2>&1; then :
4368
ac_cv_header_stdc=no
4374
if test $ac_cv_header_stdc = yes; then
4375
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4376
if test "$cross_compiling" = yes; then :
4379
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380
/* end confdefs.h. */
4383
#if ((' ' & 0x0FF) == 0x020)
4384
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4385
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4387
# define ISLOWER(c) \
4388
(('a' <= (c) && (c) <= 'i') \
4389
|| ('j' <= (c) && (c) <= 'r') \
4390
|| ('s' <= (c) && (c) <= 'z'))
4391
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4394
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4399
for (i = 0; i < 256; i++)
4400
if (XOR (islower (i), ISLOWER (i))
4401
|| toupper (i) != TOUPPER (i))
4406
if ac_fn_c_try_run "$LINENO"; then :
4409
ac_cv_header_stdc=no
4411
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4412
conftest.$ac_objext conftest.beam conftest.$ac_ext
4417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4418
$as_echo "$ac_cv_header_stdc" >&6; }
4419
if test $ac_cv_header_stdc = yes; then
4421
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4425
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4426
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4427
inttypes.h stdint.h unistd.h
4429
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4430
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4432
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4433
cat >>confdefs.h <<_ACEOF
4434
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4443
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4444
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4451
if test "$MINIX" = yes; then
4453
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4456
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4459
$as_echo "#define _MINIX 1" >>confdefs.h
4464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4465
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4466
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4467
$as_echo_n "(cached) " >&6
4469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470
/* end confdefs.h. */
4472
# define __EXTENSIONS__ 1
4473
$ac_includes_default
4482
if ac_fn_c_try_compile "$LINENO"; then :
4483
ac_cv_safe_to_define___extensions__=yes
4485
ac_cv_safe_to_define___extensions__=no
4487
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4490
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4491
test $ac_cv_safe_to_define___extensions__ = yes &&
4492
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4494
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4496
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4498
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4500
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4505
$as_echo_n "checking for library containing strerror... " >&6; }
4506
if ${ac_cv_search_strerror+:} false; then :
4507
$as_echo_n "(cached) " >&6
4509
ac_func_search_save_LIBS=$LIBS
4510
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511
/* end confdefs.h. */
4513
/* Override any GCC internal prototype to avoid an error.
4514
Use char because int might match the return type of a GCC
4515
builtin and then its argument prototype would still apply. */
4528
for ac_lib in '' cposix; do
4529
if test -z "$ac_lib"; then
4530
ac_res="none required"
4533
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4535
if ac_fn_c_try_link "$LINENO"; then :
4536
ac_cv_search_strerror=$ac_res
4538
rm -f core conftest.err conftest.$ac_objext \
4540
if ${ac_cv_search_strerror+:} false; then :
4544
if ${ac_cv_search_strerror+:} false; then :
4547
ac_cv_search_strerror=no
4550
LIBS=$ac_func_search_save_LIBS
4552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4553
$as_echo "$ac_cv_search_strerror" >&6; }
4554
ac_res=$ac_cv_search_strerror
4555
if test "$ac_res" != no; then :
4556
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4561
if test "`uname | grep \"CYGWIN\"`" != ""; then
4563
HAVE_CYGWIN_FALSE='#'
4565
HAVE_CYGWIN_TRUE='#'
4571
ac_cpp='$CPP $CPPFLAGS'
4572
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4575
if test -n "$ac_tool_prefix"; then
4576
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4577
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579
$as_echo_n "checking for $ac_word... " >&6; }
4580
if ${ac_cv_prog_CC+:} false; then :
4581
$as_echo_n "(cached) " >&6
4583
if test -n "$CC"; then
4584
ac_cv_prog_CC="$CC" # Let the user override the test.
4586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590
test -z "$as_dir" && as_dir=.
4591
for ac_exec_ext in '' $ac_executable_extensions; do
4592
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4593
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4594
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604
if test -n "$CC"; then
4605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4606
$as_echo "$CC" >&6; }
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609
$as_echo "no" >&6; }
4614
if test -z "$ac_cv_prog_CC"; then
4616
# Extract the first word of "gcc", so it can be a program name with args.
4617
set dummy gcc; ac_word=$2
4618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619
$as_echo_n "checking for $ac_word... " >&6; }
4620
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4621
$as_echo_n "(cached) " >&6
4623
if test -n "$ac_ct_CC"; then
4624
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630
test -z "$as_dir" && as_dir=.
4631
for ac_exec_ext in '' $ac_executable_extensions; do
4632
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633
ac_cv_prog_ac_ct_CC="gcc"
4634
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4644
if test -n "$ac_ct_CC"; then
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4646
$as_echo "$ac_ct_CC" >&6; }
4648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649
$as_echo "no" >&6; }
4652
if test "x$ac_ct_CC" = x; then
4655
case $cross_compiling:$ac_tool_warned in
4657
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4658
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4659
ac_tool_warned=yes ;;
4667
if test -z "$CC"; then
4668
if test -n "$ac_tool_prefix"; then
4669
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4670
set dummy ${ac_tool_prefix}cc; ac_word=$2
4671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672
$as_echo_n "checking for $ac_word... " >&6; }
4673
if ${ac_cv_prog_CC+:} false; then :
4674
$as_echo_n "(cached) " >&6
4676
if test -n "$CC"; then
4677
ac_cv_prog_CC="$CC" # Let the user override the test.
4679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683
test -z "$as_dir" && as_dir=.
4684
for ac_exec_ext in '' $ac_executable_extensions; do
4685
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686
ac_cv_prog_CC="${ac_tool_prefix}cc"
4687
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697
if test -n "$CC"; then
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4699
$as_echo "$CC" >&6; }
4701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702
$as_echo "no" >&6; }
4708
if test -z "$CC"; then
4709
# Extract the first word of "cc", so it can be a program name with args.
4710
set dummy cc; ac_word=$2
4711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712
$as_echo_n "checking for $ac_word... " >&6; }
4713
if ${ac_cv_prog_CC+:} false; then :
4714
$as_echo_n "(cached) " >&6
4716
if test -n "$CC"; then
4717
ac_cv_prog_CC="$CC" # Let the user override the test.
4720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724
test -z "$as_dir" && as_dir=.
4725
for ac_exec_ext in '' $ac_executable_extensions; do
4726
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4727
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4728
ac_prog_rejected=yes
4732
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739
if test $ac_prog_rejected = yes; then
4740
# We found a bogon in the path, so make sure we never use it.
4741
set dummy $ac_cv_prog_CC
4743
if test $# != 0; then
4744
# We chose a different compiler from the bogus one.
4745
# However, it has the same basename, so the bogon will be chosen
4746
# first if we set CC to just the basename; use the full file name.
4748
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4754
if test -n "$CC"; then
4755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4756
$as_echo "$CC" >&6; }
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759
$as_echo "no" >&6; }
4764
if test -z "$CC"; then
4765
if test -n "$ac_tool_prefix"; then
4766
for ac_prog in cl.exe
4768
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4769
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771
$as_echo_n "checking for $ac_word... " >&6; }
4772
if ${ac_cv_prog_CC+:} false; then :
4773
$as_echo_n "(cached) " >&6
4775
if test -n "$CC"; then
4776
ac_cv_prog_CC="$CC" # Let the user override the test.
4778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782
test -z "$as_dir" && as_dir=.
4783
for ac_exec_ext in '' $ac_executable_extensions; do
4784
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4786
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796
if test -n "$CC"; then
4797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4798
$as_echo "$CC" >&6; }
4800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801
$as_echo "no" >&6; }
4805
test -n "$CC" && break
4808
if test -z "$CC"; then
4810
for ac_prog in cl.exe
4812
# Extract the first word of "$ac_prog", so it can be a program name with args.
4813
set dummy $ac_prog; ac_word=$2
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815
$as_echo_n "checking for $ac_word... " >&6; }
4816
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4817
$as_echo_n "(cached) " >&6
4819
if test -n "$ac_ct_CC"; then
4820
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4822
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826
test -z "$as_dir" && as_dir=.
4827
for ac_exec_ext in '' $ac_executable_extensions; do
4828
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4829
ac_cv_prog_ac_ct_CC="$ac_prog"
4830
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4840
if test -n "$ac_ct_CC"; then
4841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4842
$as_echo "$ac_ct_CC" >&6; }
4844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845
$as_echo "no" >&6; }
4849
test -n "$ac_ct_CC" && break
4852
if test "x$ac_ct_CC" = x; then
4855
case $cross_compiling:$ac_tool_warned in
4857
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859
ac_tool_warned=yes ;;
4868
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4869
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4870
as_fn_error $? "no acceptable C compiler found in \$PATH
4871
See \`config.log' for more details" "$LINENO" 5; }
4873
# Provide some information about the compiler.
4874
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4877
for ac_option in --version -v -V -qversion; do
4878
{ { ac_try="$ac_compiler $ac_option >&5"
4880
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881
*) ac_try_echo=$ac_try;;
4883
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4884
$as_echo "$ac_try_echo"; } >&5
4885
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4887
if test -s conftest.err; then
4889
... rest of stderr output deleted ...
4890
10q' conftest.err >conftest.er1
4891
cat conftest.er1 >&5
4893
rm -f conftest.er1 conftest.err
4894
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4895
test $ac_status = 0; }
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4899
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4900
if ${ac_cv_c_compiler_gnu+:} false; then :
4901
$as_echo_n "(cached) " >&6
4903
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904
/* end confdefs.h. */
4917
if ac_fn_c_try_compile "$LINENO"; then :
4922
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4923
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4927
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4928
if test $ac_compiler_gnu = yes; then
4933
ac_test_CFLAGS=${CFLAGS+set}
4934
ac_save_CFLAGS=$CFLAGS
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4936
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4937
if ${ac_cv_prog_cc_g+:} false; then :
4938
$as_echo_n "(cached) " >&6
4940
ac_save_c_werror_flag=$ac_c_werror_flag
4941
ac_c_werror_flag=yes
4944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945
/* end confdefs.h. */
4955
if ac_fn_c_try_compile "$LINENO"; then :
4959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960
/* end confdefs.h. */
4970
if ac_fn_c_try_compile "$LINENO"; then :
4973
ac_c_werror_flag=$ac_save_c_werror_flag
4975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976
/* end confdefs.h. */
4986
if ac_fn_c_try_compile "$LINENO"; then :
4989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4993
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4994
ac_c_werror_flag=$ac_save_c_werror_flag
4996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4997
$as_echo "$ac_cv_prog_cc_g" >&6; }
4998
if test "$ac_test_CFLAGS" = set; then
4999
CFLAGS=$ac_save_CFLAGS
5000
elif test $ac_cv_prog_cc_g = yes; then
5001
if test "$GCC" = yes; then
5007
if test "$GCC" = yes; then
5013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5014
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5015
if ${ac_cv_prog_cc_c89+:} false; then :
5016
$as_echo_n "(cached) " >&6
5018
ac_cv_prog_cc_c89=no
5020
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021
/* end confdefs.h. */
5025
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5026
struct buf { int x; };
5027
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5028
static char *e (p, i)
5034
static char *f (char * (*g) (char **, int), char **p, ...)
5039
s = g (p, va_arg (v,int));
5044
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5045
function prototypes and stuff, but not '\xHH' hex character constants.
5046
These don't provoke an error unfortunately, instead are silently treated
5047
as 'x'. The following induces an error, until -std is added to get
5048
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5049
array size at least. It's necessary to write '\x00'==0 to get something
5050
that's true only with -std. */
5051
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5053
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5054
inside strings and character constants. */
5056
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5058
int test (int i, double x);
5059
struct s1 {int (*f) (int a);};
5060
struct s2 {int (*f) (double a);};
5061
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5067
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5072
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5073
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5075
CC="$ac_save_CC $ac_arg"
5076
if ac_fn_c_try_compile "$LINENO"; then :
5077
ac_cv_prog_cc_c89=$ac_arg
5079
rm -f core conftest.err conftest.$ac_objext
5080
test "x$ac_cv_prog_cc_c89" != "xno" && break
5082
rm -f conftest.$ac_ext
5087
case "x$ac_cv_prog_cc_c89" in
5089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5090
$as_echo "none needed" >&6; } ;;
5092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5093
$as_echo "unsupported" >&6; } ;;
5095
CC="$CC $ac_cv_prog_cc_c89"
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5097
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5099
if test "x$ac_cv_prog_cc_c89" != xno; then :
5104
ac_cpp='$CPP $CPPFLAGS'
5105
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5106
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5107
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5109
depcc="$CC" am_compiler_list=
5111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5112
$as_echo_n "checking dependency style of $depcc... " >&6; }
5113
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5114
$as_echo_n "(cached) " >&6
5116
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5117
# We make a subdir and do the tests there. Otherwise we can end up
5118
# making bogus files that we don't know about and never remove. For
5119
# instance it was reported that on HP-UX the gcc test will end up
5120
# making a dummy file named 'D' -- because '-MD' means "put the output
5124
# Copy depcomp to subdir because otherwise we won't find it if we're
5125
# using a relative directory.
5126
cp "$am_depcomp" conftest.dir
5128
# We will build objects and dependencies in a subdirectory because
5129
# it helps to detect inapplicable dependency modes. For instance
5130
# both Tru64's cc and ICC support -MD to output dependencies as a
5131
# side effect of compilation, but ICC will put the dependencies in
5132
# the current directory while Tru64 will put them in the object
5136
am_cv_CC_dependencies_compiler_type=none
5137
if test "$am_compiler_list" = ""; then
5138
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5141
case " $depcc " in #(
5142
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5145
for depmode in $am_compiler_list; do
5146
# Setup a source with many dependencies, because some compilers
5147
# like to wrap large dependency lists on column 80 (with \), and
5148
# we should not choose a depcomp mode which is confused by this.
5150
# We need to recreate these files for each test, as the compiler may
5151
# overwrite some of them when testing with obscure command lines.
5152
# This happens at least with the AIX C compiler.
5154
for i in 1 2 3 4 5 6; do
5155
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5156
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5157
# Solaris 10 /bin/sh.
5158
echo '/* dummy */' > sub/conftst$i.h
5160
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5162
# We check with '-c' and '-o' for the sake of the "dashmstdout"
5163
# mode. It turns out that the SunPro C++ compiler does not properly
5164
# handle '-M -o', and we need to detect this. Also, some Intel
5165
# versions had trouble with output in subdirs.
5166
am__obj=sub/conftest.${OBJEXT-o}
5167
am__minus_obj="-o $am__obj"
5170
# This depmode causes a compiler race in universal mode.
5171
test "$am__universal" = false || continue
5174
# After this tag, mechanisms are not by side-effect, so they'll
5175
# only be used when explicitly requested.
5176
if test "x$enable_dependency_tracking" = xyes; then
5182
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5183
# This compiler won't grok '-c -o', but also, the minuso test has
5184
# not run yet. These depmodes are late enough in the game, and
5185
# so weak that their functioning should not be impacted.
5186
am__obj=conftest.${OBJEXT-o}
5191
if depmode=$depmode \
5192
source=sub/conftest.c object=$am__obj \
5193
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5194
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5195
>/dev/null 2>conftest.err &&
5196
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5197
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5198
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5199
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5200
# icc doesn't choke on unknown options, it will just issue warnings
5201
# or remarks (even with -Werror). So we grep stderr for any message
5202
# that says an option was ignored or not supported.
5203
# When given -MP, icc 7.0 and 7.1 complain thusly:
5204
# icc: Command line warning: ignoring option '-M'; no argument required
5205
# The diagnosis changed in icc 8.0:
5206
# icc: Command line remark: option '-MP' not supported
5207
if (grep 'ignoring option' conftest.err ||
5208
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5209
am_cv_CC_dependencies_compiler_type=$depmode
5218
am_cv_CC_dependencies_compiler_type=none
5222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5223
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5224
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5227
test "x$enable_dependency_tracking" != xno \
5228
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5230
am__fastdepCC_FALSE='#'
5232
am__fastdepCC_TRUE='#'
5233
am__fastdepCC_FALSE=
5237
if test "x$CC" != xcc; then
5238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5239
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5242
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5244
set dummy $CC; ac_cc=`$as_echo "$2" |
5245
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5246
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5247
$as_echo_n "(cached) " >&6
5249
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250
/* end confdefs.h. */
5260
# Make sure it works both with $CC and with simple cc.
5261
# We do the test twice because some compilers refuse to overwrite an
5262
# existing .o file with -o, though they will create one.
5263
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5265
if { { case "(($ac_try" in
5266
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267
*) ac_try_echo=$ac_try;;
5269
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270
$as_echo "$ac_try_echo"; } >&5
5271
(eval "$ac_try") 2>&5
5273
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274
test $ac_status = 0; } &&
5275
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5276
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277
*) ac_try_echo=$ac_try;;
5279
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5280
$as_echo "$ac_try_echo"; } >&5
5281
(eval "$ac_try") 2>&5
5283
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5284
test $ac_status = 0; };
5286
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5287
if test "x$CC" != xcc; then
5288
# Test first that cc exists at all.
5289
if { ac_try='cc -c conftest.$ac_ext >&5'
5290
{ { case "(($ac_try" in
5291
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292
*) ac_try_echo=$ac_try;;
5294
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295
$as_echo "$ac_try_echo"; } >&5
5296
(eval "$ac_try") 2>&5
5298
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299
test $ac_status = 0; }; }; then
5300
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5302
if { { case "(($ac_try" in
5303
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5304
*) ac_try_echo=$ac_try;;
5306
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5307
$as_echo "$ac_try_echo"; } >&5
5308
(eval "$ac_try") 2>&5
5310
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5311
test $ac_status = 0; } &&
5312
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5313
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5314
*) ac_try_echo=$ac_try;;
5316
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5317
$as_echo "$ac_try_echo"; } >&5
5318
(eval "$ac_try") 2>&5
5320
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5321
test $ac_status = 0; };
5326
# cc exists but doesn't like -o.
5327
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5332
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5334
rm -f core conftest*
5337
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5339
$as_echo "yes" >&6; }
5341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342
$as_echo "no" >&6; }
5344
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5348
# FIXME: we rely on the cache variable name because
5349
# there is no other way.
5351
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5352
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5353
if test "$am_t" != yes; then
5354
# Losing compiler, so override with the script.
5355
# FIXME: It is wrong to rewrite CC.
5356
# But if we don't then we get into trouble of one sort or another.
5357
# A longer-term fix would be to have automake use am__CC in this case,
5358
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5359
CC="$am_aux_dir/compile $CC"
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5366
$as_echo_n "checking whether NLS is requested... " >&6; }
5367
# Check whether --enable-nls was given.
5368
if test "${enable_nls+set}" = set; then :
5369
enableval=$enable_nls; USE_NLS=$enableval
5374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5375
$as_echo "$USE_NLS" >&6; }
5380
case "$am__api_version" in
5382
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5388
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.31 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5389
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5390
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5391
if test -n "0.31"; then
5392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.31" >&5
5393
$as_echo_n "checking for intltool >= 0.31... " >&6; }
5394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5395
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5396
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5397
as_fn_error $? "Your intltool is too old. You need intltool 0.31 or later." "$LINENO" 5
5400
# Extract the first word of "intltool-update", so it can be a program name with args.
5401
set dummy intltool-update; ac_word=$2
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403
$as_echo_n "checking for $ac_word... " >&6; }
5404
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
5405
$as_echo_n "(cached) " >&6
5407
case $INTLTOOL_UPDATE in
5409
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
5412
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416
test -z "$as_dir" && as_dir=.
5417
for ac_exec_ext in '' $ac_executable_extensions; do
5418
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
5420
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
5431
if test -n "$INTLTOOL_UPDATE"; then
5432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5433
$as_echo "$INTLTOOL_UPDATE" >&6; }
5435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436
$as_echo "no" >&6; }
5440
# Extract the first word of "intltool-merge", so it can be a program name with args.
5441
set dummy intltool-merge; ac_word=$2
5442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443
$as_echo_n "checking for $ac_word... " >&6; }
5444
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
5445
$as_echo_n "(cached) " >&6
5447
case $INTLTOOL_MERGE in
5449
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
5452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456
test -z "$as_dir" && as_dir=.
5457
for ac_exec_ext in '' $ac_executable_extensions; do
5458
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5460
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5471
if test -n "$INTLTOOL_MERGE"; then
5472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5473
$as_echo "$INTLTOOL_MERGE" >&6; }
5475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476
$as_echo "no" >&6; }
5480
# Extract the first word of "intltool-extract", so it can be a program name with args.
5481
set dummy intltool-extract; ac_word=$2
5482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483
$as_echo_n "checking for $ac_word... " >&6; }
5484
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5485
$as_echo_n "(cached) " >&6
5487
case $INTLTOOL_EXTRACT in
5489
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5492
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496
test -z "$as_dir" && as_dir=.
5497
for ac_exec_ext in '' $ac_executable_extensions; do
5498
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5500
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5511
if test -n "$INTLTOOL_EXTRACT"; then
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5513
$as_echo "$INTLTOOL_EXTRACT" >&6; }
5515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516
$as_echo "no" >&6; }
5520
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5521
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5524
if test -z "$AM_DEFAULT_VERBOSITY"; then
5525
AM_DEFAULT_VERBOSITY=1
5529
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
5530
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
5531
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
5536
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
5537
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
5538
intltool__v_merge_options_0='-q'
5543
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5544
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5545
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5546
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5547
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
5548
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5549
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5550
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5551
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5552
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5553
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5554
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
5555
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
5557
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
5559
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5560
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5561
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5562
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5563
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5564
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5565
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5663
# Check the gettext tools to make sure they are GNU
5664
# Extract the first word of "xgettext", so it can be a program name with args.
5665
set dummy xgettext; ac_word=$2
5666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667
$as_echo_n "checking for $ac_word... " >&6; }
5668
if ${ac_cv_path_XGETTEXT+:} false; then :
5669
$as_echo_n "(cached) " >&6
5673
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5676
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680
test -z "$as_dir" && as_dir=.
5681
for ac_exec_ext in '' $ac_executable_extensions; do
5682
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5684
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694
XGETTEXT=$ac_cv_path_XGETTEXT
5695
if test -n "$XGETTEXT"; then
5696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5697
$as_echo "$XGETTEXT" >&6; }
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700
$as_echo "no" >&6; }
5704
# Extract the first word of "msgmerge", so it can be a program name with args.
5705
set dummy msgmerge; ac_word=$2
5706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707
$as_echo_n "checking for $ac_word... " >&6; }
5708
if ${ac_cv_path_MSGMERGE+:} false; then :
5709
$as_echo_n "(cached) " >&6
5713
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5716
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720
test -z "$as_dir" && as_dir=.
5721
for ac_exec_ext in '' $ac_executable_extensions; do
5722
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5724
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734
MSGMERGE=$ac_cv_path_MSGMERGE
5735
if test -n "$MSGMERGE"; then
5736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5737
$as_echo "$MSGMERGE" >&6; }
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740
$as_echo "no" >&6; }
5744
# Extract the first word of "msgfmt", so it can be a program name with args.
5745
set dummy msgfmt; ac_word=$2
5746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747
$as_echo_n "checking for $ac_word... " >&6; }
5748
if ${ac_cv_path_MSGFMT+:} false; then :
5749
$as_echo_n "(cached) " >&6
5753
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760
test -z "$as_dir" && as_dir=.
5761
for ac_exec_ext in '' $ac_executable_extensions; do
5762
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5764
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774
MSGFMT=$ac_cv_path_MSGFMT
5775
if test -n "$MSGFMT"; then
5776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5777
$as_echo "$MSGFMT" >&6; }
5779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780
$as_echo "no" >&6; }
5784
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5785
set dummy gmsgfmt; ac_word=$2
5786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787
$as_echo_n "checking for $ac_word... " >&6; }
5788
if ${ac_cv_path_GMSGFMT+:} false; then :
5789
$as_echo_n "(cached) " >&6
5793
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800
test -z "$as_dir" && as_dir=.
5801
for ac_exec_ext in '' $ac_executable_extensions; do
5802
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5804
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5815
GMSGFMT=$ac_cv_path_GMSGFMT
5816
if test -n "$GMSGFMT"; then
5817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5818
$as_echo "$GMSGFMT" >&6; }
5820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821
$as_echo "no" >&6; }
5825
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5826
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5828
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5829
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5830
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5831
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5832
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5835
# Extract the first word of "perl", so it can be a program name with args.
5836
set dummy perl; ac_word=$2
5837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838
$as_echo_n "checking for $ac_word... " >&6; }
5839
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5840
$as_echo_n "(cached) " >&6
5842
case $INTLTOOL_PERL in
5844
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5847
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851
test -z "$as_dir" && as_dir=.
5852
for ac_exec_ext in '' $ac_executable_extensions; do
5853
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5855
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5866
if test -n "$INTLTOOL_PERL"; then
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5868
$as_echo "$INTLTOOL_PERL" >&6; }
5870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871
$as_echo "no" >&6; }
5875
if test -z "$INTLTOOL_PERL"; then
5876
as_fn_error $? "perl not found" "$LINENO" 5
5878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5879
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5880
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5881
if test $? -ne 0; then
5882
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5884
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5886
$as_echo "$IT_PERL_VERSION" >&6; }
5888
if test "xno-xml" != "xno-xml"; then
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5890
$as_echo_n "checking for XML::Parser... " >&6; }
5891
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5893
$as_echo "ok" >&6; }
5895
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5899
# Substitute ALL_LINGUAS so we can use it in po/Makefile
5902
# Set DATADIRNAME correctly if it is not set yet
5903
# (copied from glib-gettext.m4)
5904
if test -z "$DATADIRNAME"; then
5905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5906
/* end confdefs.h. */
5911
extern int _nl_msg_cat_cntr;
5912
return _nl_msg_cat_cntr
5917
if ac_fn_c_try_link "$LINENO"; then :
5922
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5923
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5935
rm -f core conftest.err conftest.$ac_objext \
5936
conftest$ac_exeext conftest.$ac_ext
5943
for ac_prog in perl5 perl
5945
# Extract the first word of "$ac_prog", so it can be a program name with args.
5946
set dummy $ac_prog; ac_word=$2
5947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948
$as_echo_n "checking for $ac_word... " >&6; }
5949
if ${ac_cv_prog_PERL+:} false; then :
5950
$as_echo_n "(cached) " >&6
5952
if test -n "$PERL"; then
5953
ac_cv_prog_PERL="$PERL" # Let the user override the test.
5955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959
test -z "$as_dir" && as_dir=.
5960
for ac_exec_ext in '' $ac_executable_extensions; do
5961
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962
ac_cv_prog_PERL="$ac_prog"
5963
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972
PERL=$ac_cv_prog_PERL
5973
if test -n "$PERL"; then
5974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5975
$as_echo "$PERL" >&6; }
5977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978
$as_echo "no" >&6; }
5982
test -n "$PERL" && break
5989
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5990
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5995
macro_version='2.4.2'
5996
macro_revision='1.3337'
6010
ltmain="$ac_aux_dir/ltmain.sh"
6012
# Make sure we can run config.sub.
6013
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6014
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6017
$as_echo_n "checking build system type... " >&6; }
6018
if ${ac_cv_build+:} false; then :
6019
$as_echo_n "(cached) " >&6
6021
ac_build_alias=$build_alias
6022
test "x$ac_build_alias" = x &&
6023
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6024
test "x$ac_build_alias" = x &&
6025
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6026
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6027
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6031
$as_echo "$ac_cv_build" >&6; }
6032
case $ac_cv_build in
6034
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6037
ac_save_IFS=$IFS; IFS='-'
6043
# Remember, the first character of IFS is used to create $*,
6044
# except with old shells:
6047
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6051
$as_echo_n "checking host system type... " >&6; }
6052
if ${ac_cv_host+:} false; then :
6053
$as_echo_n "(cached) " >&6
6055
if test "x$host_alias" = x; then
6056
ac_cv_host=$ac_cv_build
6058
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6059
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6064
$as_echo "$ac_cv_host" >&6; }
6067
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6070
ac_save_IFS=$IFS; IFS='-'
6076
# Remember, the first character of IFS is used to create $*,
6077
# except with old shells:
6080
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6083
# Backslashify metacharacters that are still active within
6084
# double-quoted strings.
6085
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6087
# Same as above, but do not quote variable references.
6088
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6090
# Sed substitution to delay expansion of an escaped shell variable in a
6091
# double_quote_subst'ed string.
6092
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6094
# Sed substitution to delay expansion of an escaped single quote.
6095
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6097
# Sed substitution to avoid accidental globbing in evaled expressions
6098
no_glob_subst='s/\*/\\\*/g'
6100
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6101
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6102
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6105
$as_echo_n "checking how to print strings... " >&6; }
6106
# Test print first, because it will be a builtin if present.
6107
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6108
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6110
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6113
# Use this function as a fallback that always works.
6114
func_fallback_echo ()
6116
eval 'cat <<_LTECHO_EOF
6120
ECHO='func_fallback_echo'
6123
# func_echo_all arg...
6124
# Invoke $ECHO with all args, space-separated.
6131
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6132
$as_echo "printf" >&6; } ;;
6133
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6134
$as_echo "print -r" >&6; } ;;
6135
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6136
$as_echo "cat" >&6; } ;;
6152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6153
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6154
if ${ac_cv_path_SED+:} false; then :
6155
$as_echo_n "(cached) " >&6
6157
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6158
for ac_i in 1 2 3 4 5 6 7; do
6159
ac_script="$ac_script$as_nl$ac_script"
6161
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6162
{ ac_script=; unset ac_script;}
6163
if test -z "$SED"; then
6164
ac_path_SED_found=false
6165
# Loop through the user's path and test for each of PROGNAME-LIST
6166
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170
test -z "$as_dir" && as_dir=.
6171
for ac_prog in sed gsed; do
6172
for ac_exec_ext in '' $ac_executable_extensions; do
6173
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6174
as_fn_executable_p "$ac_path_SED" || continue
6175
# Check for GNU ac_path_SED and select it if it is found.
6176
# Check for GNU $ac_path_SED
6177
case `"$ac_path_SED" --version 2>&1` in
6179
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6182
$as_echo_n 0123456789 >"conftest.in"
6185
cat "conftest.in" "conftest.in" >"conftest.tmp"
6186
mv "conftest.tmp" "conftest.in"
6187
cp "conftest.in" "conftest.nl"
6188
$as_echo '' >> "conftest.nl"
6189
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6190
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6191
as_fn_arith $ac_count + 1 && ac_count=$as_val
6192
if test $ac_count -gt ${ac_path_SED_max-0}; then
6193
# Best one so far, save it but keep looking for a better one
6194
ac_cv_path_SED="$ac_path_SED"
6195
ac_path_SED_max=$ac_count
6197
# 10*(2^10) chars as input seems more than enough
6198
test $ac_count -gt 10 && break
6200
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6203
$ac_path_SED_found && break 3
6208
if test -z "$ac_cv_path_SED"; then
6209
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6217
$as_echo "$ac_cv_path_SED" >&6; }
6218
SED="$ac_cv_path_SED"
6221
test -z "$SED" && SED=sed
6222
Xsed="$SED -e 1s/^X//"
6234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6235
$as_echo_n "checking for fgrep... " >&6; }
6236
if ${ac_cv_path_FGREP+:} false; then :
6237
$as_echo_n "(cached) " >&6
6239
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6240
then ac_cv_path_FGREP="$GREP -F"
6242
if test -z "$FGREP"; then
6243
ac_path_FGREP_found=false
6244
# Loop through the user's path and test for each of PROGNAME-LIST
6245
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6249
test -z "$as_dir" && as_dir=.
6250
for ac_prog in fgrep; do
6251
for ac_exec_ext in '' $ac_executable_extensions; do
6252
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6253
as_fn_executable_p "$ac_path_FGREP" || continue
6254
# Check for GNU ac_path_FGREP and select it if it is found.
6255
# Check for GNU $ac_path_FGREP
6256
case `"$ac_path_FGREP" --version 2>&1` in
6258
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6261
$as_echo_n 0123456789 >"conftest.in"
6264
cat "conftest.in" "conftest.in" >"conftest.tmp"
6265
mv "conftest.tmp" "conftest.in"
6266
cp "conftest.in" "conftest.nl"
6267
$as_echo 'FGREP' >> "conftest.nl"
6268
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6269
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6270
as_fn_arith $ac_count + 1 && ac_count=$as_val
6271
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6272
# Best one so far, save it but keep looking for a better one
6273
ac_cv_path_FGREP="$ac_path_FGREP"
6274
ac_path_FGREP_max=$ac_count
6276
# 10*(2^10) chars as input seems more than enough
6277
test $ac_count -gt 10 && break
6279
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6282
$ac_path_FGREP_found && break 3
6287
if test -z "$ac_cv_path_FGREP"; then
6288
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6291
ac_cv_path_FGREP=$FGREP
6296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6297
$as_echo "$ac_cv_path_FGREP" >&6; }
6298
FGREP="$ac_cv_path_FGREP"
6301
test -z "$GREP" && GREP=grep
6321
# Check whether --with-gnu-ld was given.
6322
if test "${with_gnu_ld+set}" = set; then :
6323
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6329
if test "$GCC" = yes; then
6330
# Check if gcc -print-prog-name=ld gives a path.
6331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6332
$as_echo_n "checking for ld used by $CC... " >&6; }
6335
# gcc leaves a trailing carriage return which upsets mingw
6336
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6338
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6341
# Accept absolute paths.
6343
re_direlt='/[^/][^/]*/\.\./'
6344
# Canonicalize the pathname of ld
6345
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6346
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6347
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6349
test -z "$LD" && LD="$ac_prog"
6352
# If it fails, then pretend we aren't using GCC.
6356
# If it is relative, then search for the first ld in PATH.
6360
elif test "$with_gnu_ld" = yes; then
6361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6362
$as_echo_n "checking for GNU ld... " >&6; }
6364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6365
$as_echo_n "checking for non-GNU ld... " >&6; }
6367
if ${lt_cv_path_LD+:} false; then :
6368
$as_echo_n "(cached) " >&6
6370
if test -z "$LD"; then
6371
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6372
for ac_dir in $PATH; do
6374
test -z "$ac_dir" && ac_dir=.
6375
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6376
lt_cv_path_LD="$ac_dir/$ac_prog"
6377
# Check to see if the program is GNU ld. I'd rather use --version,
6378
# but apparently some variants of GNU ld only accept -v.
6379
# Break only if it was the GNU/non-GNU ld that we prefer.
6380
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6381
*GNU* | *'with BFD'*)
6382
test "$with_gnu_ld" != no && break
6385
test "$with_gnu_ld" != yes && break
6392
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6397
if test -n "$LD"; then
6398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6399
$as_echo "$LD" >&6; }
6401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402
$as_echo "no" >&6; }
6404
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6406
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6407
if ${lt_cv_prog_gnu_ld+:} false; then :
6408
$as_echo_n "(cached) " >&6
6410
# I'd rather use --version here, but apparently some GNU lds only accept -v.
6411
case `$LD -v 2>&1 </dev/null` in
6412
*GNU* | *'with BFD'*)
6413
lt_cv_prog_gnu_ld=yes
6416
lt_cv_prog_gnu_ld=no
6420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6421
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6422
with_gnu_ld=$lt_cv_prog_gnu_ld
6432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6433
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6434
if ${lt_cv_path_NM+:} false; then :
6435
$as_echo_n "(cached) " >&6
6437
if test -n "$NM"; then
6438
# Let the user override the test.
6441
lt_nm_to_check="${ac_tool_prefix}nm"
6442
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6443
lt_nm_to_check="$lt_nm_to_check nm"
6445
for lt_tmp_nm in $lt_nm_to_check; do
6446
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6447
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6449
test -z "$ac_dir" && ac_dir=.
6450
tmp_nm="$ac_dir/$lt_tmp_nm"
6451
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6452
# Check to see if the nm accepts a BSD-compat flag.
6453
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6454
# nm: unknown option "B" ignored
6455
# Tru64's nm complains that /dev/null is an invalid object file
6456
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6457
*/dev/null* | *'Invalid file or object type'*)
6458
lt_cv_path_NM="$tmp_nm -B"
6462
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6464
lt_cv_path_NM="$tmp_nm -p"
6468
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6469
continue # so that we can try to find one that supports BSD flags
6478
: ${lt_cv_path_NM=no}
6481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6482
$as_echo "$lt_cv_path_NM" >&6; }
6483
if test "$lt_cv_path_NM" != "no"; then
6486
# Didn't find any BSD compatible name lister, look for dumpbin.
6487
if test -n "$DUMPBIN"; then :
6488
# Let the user override the test.
6490
if test -n "$ac_tool_prefix"; then
6491
for ac_prog in dumpbin "link -dump"
6493
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6494
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496
$as_echo_n "checking for $ac_word... " >&6; }
6497
if ${ac_cv_prog_DUMPBIN+:} false; then :
6498
$as_echo_n "(cached) " >&6
6500
if test -n "$DUMPBIN"; then
6501
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507
test -z "$as_dir" && as_dir=.
6508
for ac_exec_ext in '' $ac_executable_extensions; do
6509
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6510
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6511
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520
DUMPBIN=$ac_cv_prog_DUMPBIN
6521
if test -n "$DUMPBIN"; then
6522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6523
$as_echo "$DUMPBIN" >&6; }
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526
$as_echo "no" >&6; }
6530
test -n "$DUMPBIN" && break
6533
if test -z "$DUMPBIN"; then
6534
ac_ct_DUMPBIN=$DUMPBIN
6535
for ac_prog in dumpbin "link -dump"
6537
# Extract the first word of "$ac_prog", so it can be a program name with args.
6538
set dummy $ac_prog; ac_word=$2
6539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540
$as_echo_n "checking for $ac_word... " >&6; }
6541
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6542
$as_echo_n "(cached) " >&6
6544
if test -n "$ac_ct_DUMPBIN"; then
6545
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551
test -z "$as_dir" && as_dir=.
6552
for ac_exec_ext in '' $ac_executable_extensions; do
6553
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6554
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6555
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6565
if test -n "$ac_ct_DUMPBIN"; then
6566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6567
$as_echo "$ac_ct_DUMPBIN" >&6; }
6569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570
$as_echo "no" >&6; }
6574
test -n "$ac_ct_DUMPBIN" && break
6577
if test "x$ac_ct_DUMPBIN" = x; then
6580
case $cross_compiling:$ac_tool_warned in
6582
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6583
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6584
ac_tool_warned=yes ;;
6586
DUMPBIN=$ac_ct_DUMPBIN
6590
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6592
DUMPBIN="$DUMPBIN -symbols"
6600
if test "$DUMPBIN" != ":"; then
6604
test -z "$NM" && NM=nm
6611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6612
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6613
if ${lt_cv_nm_interface+:} false; then :
6614
$as_echo_n "(cached) " >&6
6616
lt_cv_nm_interface="BSD nm"
6617
echo "int some_variable = 0;" > conftest.$ac_ext
6618
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6619
(eval "$ac_compile" 2>conftest.err)
6620
cat conftest.err >&5
6621
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6622
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6623
cat conftest.err >&5
6624
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
6625
cat conftest.out >&5
6626
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6627
lt_cv_nm_interface="MS dumpbin"
6631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6632
$as_echo "$lt_cv_nm_interface" >&6; }
6634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6635
$as_echo_n "checking whether ln -s works... " >&6; }
6637
if test "$LN_S" = "ln -s"; then
6638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6639
$as_echo "yes" >&6; }
6641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6642
$as_echo "no, using $LN_S" >&6; }
6645
# find the maximum length of command line arguments
6646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6647
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6648
if ${lt_cv_sys_max_cmd_len+:} false; then :
6649
$as_echo_n "(cached) " >&6
6656
# On DJGPP, this test can blow up pretty badly due to problems in libc
6657
# (any single argument exceeding 2000 bytes causes a buffer overrun
6658
# during glob expansion). Even if it were fixed, the result of this
6659
# check would be larger than it should be.
6660
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6664
# Under GNU Hurd, this test is not required because there is
6665
# no limit to the length of command line arguments.
6666
# Libtool will interpret -1 as no limit whatsoever
6667
lt_cv_sys_max_cmd_len=-1;
6670
cygwin* | mingw* | cegcc*)
6671
# On Win9x/ME, this test blows up -- it succeeds, but takes
6672
# about 5 minutes as the teststring grows exponentially.
6673
# Worse, since 9x/ME are not pre-emptively multitasking,
6674
# you end up with a "frozen" computer, even though with patience
6675
# the test eventually succeeds (with a max line length of 256k).
6676
# Instead, let's just punt: use the minimum linelength reported by
6677
# all of the supported platforms: 8192 (on NT/2K/XP).
6678
lt_cv_sys_max_cmd_len=8192;
6682
# On MiNT this can take a long time and run out of memory.
6683
lt_cv_sys_max_cmd_len=8192;
6687
# On AmigaOS with pdksh, this test takes hours, literally.
6688
# So we just punt and use a minimum line length of 8192.
6689
lt_cv_sys_max_cmd_len=8192;
6692
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6693
# This has been around since 386BSD, at least. Likely further.
6694
if test -x /sbin/sysctl; then
6695
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6696
elif test -x /usr/sbin/sysctl; then
6697
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6699
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6701
# And add a safety zone
6702
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6703
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6707
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6708
lt_cv_sys_max_cmd_len=196608
6712
# The test takes a long time on OS/2.
6713
lt_cv_sys_max_cmd_len=8192
6717
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6718
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6719
# nice to cause kernel panics so lets avoid the loop below.
6720
# First set a reasonable default.
6721
lt_cv_sys_max_cmd_len=16384
6723
if test -x /sbin/sysconfig; then
6724
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6725
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6730
lt_cv_sys_max_cmd_len=102400
6732
sysv5* | sco5v6* | sysv4.2uw2*)
6733
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6734
if test -n "$kargmax"; then
6735
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6737
lt_cv_sys_max_cmd_len=32768
6741
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6742
if test -n "$lt_cv_sys_max_cmd_len"; then
6743
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6744
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6746
# Make teststring a little bigger before we do anything with it.
6747
# a 1K string should be a reasonable start.
6748
for i in 1 2 3 4 5 6 7 8 ; do
6749
teststring=$teststring$teststring
6751
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6752
# If test is not a shell built-in, we'll probably end up computing a
6753
# maximum length that is only half of the actual maximum length, but
6755
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6756
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
6757
test $i != 17 # 1/2 MB should be enough
6760
teststring=$teststring$teststring
6762
# Only check the string length outside the loop.
6763
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6765
# Add a significant safety factor because C++ compilers can tack on
6766
# massive amounts of additional arguments before passing them to the
6767
# linker. It appears as though 1/2 is a usable value.
6768
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6775
if test -n $lt_cv_sys_max_cmd_len ; then
6776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6777
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6780
$as_echo "none" >&6; }
6782
max_cmd_len=$lt_cv_sys_max_cmd_len
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6794
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6795
# Try some XSI features
6798
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6800
&& eval 'test $(( 1 + 1 )) -eq 2 \
6801
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6804
$as_echo "$xsi_shell" >&6; }
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6808
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6810
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6812
&& lt_shell_append=yes
6813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6814
$as_echo "$lt_shell_append" >&6; }
6817
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6827
# test EBCDIC or ASCII
6828
case `echo X|tr X '\101'` in
6829
A) # ASCII based system
6830
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6831
lt_SP2NL='tr \040 \012'
6832
lt_NL2SP='tr \015\012 \040\040'
6834
*) # EBCDIC based system
6835
lt_SP2NL='tr \100 \n'
6836
lt_NL2SP='tr \r\n \100\100'
6848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6849
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6850
if ${lt_cv_to_host_file_cmd+:} false; then :
6851
$as_echo_n "(cached) " >&6
6856
*-*-mingw* ) # actually msys
6857
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6860
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6862
* ) # otherwise, assume *nix
6863
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6869
*-*-mingw* ) # actually msys
6870
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6873
lt_cv_to_host_file_cmd=func_convert_file_noop
6875
* ) # otherwise, assume *nix
6876
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6880
* ) # unhandled hosts (and "normal" native builds)
6881
lt_cv_to_host_file_cmd=func_convert_file_noop
6887
to_host_file_cmd=$lt_cv_to_host_file_cmd
6888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6889
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6896
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6897
if ${lt_cv_to_tool_file_cmd+:} false; then :
6898
$as_echo_n "(cached) " >&6
6900
#assume ordinary cross tools, or native build.
6901
lt_cv_to_tool_file_cmd=func_convert_file_noop
6905
*-*-mingw* ) # actually msys
6906
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6914
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6916
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6923
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6924
if ${lt_cv_ld_reload_flag+:} false; then :
6925
$as_echo_n "(cached) " >&6
6927
lt_cv_ld_reload_flag='-r'
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6930
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6931
reload_flag=$lt_cv_ld_reload_flag
6932
case $reload_flag in
6934
*) reload_flag=" $reload_flag" ;;
6936
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6938
cygwin* | mingw* | pw32* | cegcc*)
6939
if test "$GCC" != yes; then
6944
if test "$GCC" = yes; then
6945
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6947
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6960
if test -n "$ac_tool_prefix"; then
6961
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6962
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964
$as_echo_n "checking for $ac_word... " >&6; }
6965
if ${ac_cv_prog_OBJDUMP+:} false; then :
6966
$as_echo_n "(cached) " >&6
6968
if test -n "$OBJDUMP"; then
6969
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975
test -z "$as_dir" && as_dir=.
6976
for ac_exec_ext in '' $ac_executable_extensions; do
6977
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6979
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988
OBJDUMP=$ac_cv_prog_OBJDUMP
6989
if test -n "$OBJDUMP"; then
6990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6991
$as_echo "$OBJDUMP" >&6; }
6993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994
$as_echo "no" >&6; }
6999
if test -z "$ac_cv_prog_OBJDUMP"; then
7000
ac_ct_OBJDUMP=$OBJDUMP
7001
# Extract the first word of "objdump", so it can be a program name with args.
7002
set dummy objdump; ac_word=$2
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004
$as_echo_n "checking for $ac_word... " >&6; }
7005
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7006
$as_echo_n "(cached) " >&6
7008
if test -n "$ac_ct_OBJDUMP"; then
7009
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015
test -z "$as_dir" && as_dir=.
7016
for ac_exec_ext in '' $ac_executable_extensions; do
7017
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018
ac_cv_prog_ac_ct_OBJDUMP="objdump"
7019
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7029
if test -n "$ac_ct_OBJDUMP"; then
7030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7031
$as_echo "$ac_ct_OBJDUMP" >&6; }
7033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034
$as_echo "no" >&6; }
7037
if test "x$ac_ct_OBJDUMP" = x; then
7040
case $cross_compiling:$ac_tool_warned in
7042
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044
ac_tool_warned=yes ;;
7046
OBJDUMP=$ac_ct_OBJDUMP
7049
OBJDUMP="$ac_cv_prog_OBJDUMP"
7052
test -z "$OBJDUMP" && OBJDUMP=objdump
7062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7063
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7064
if ${lt_cv_deplibs_check_method+:} false; then :
7065
$as_echo_n "(cached) " >&6
7067
lt_cv_file_magic_cmd='$MAGIC_CMD'
7068
lt_cv_file_magic_test_file=
7069
lt_cv_deplibs_check_method='unknown'
7070
# Need to set the preceding variable on all platforms that support
7071
# interlibrary dependencies.
7072
# 'none' -- dependencies not supported.
7073
# `unknown' -- same as none, but documents that we really don't know.
7074
# 'pass_all' -- all dependencies passed with no checks.
7075
# 'test_compile' -- check by making test program.
7076
# 'file_magic [[regex]]' -- check by looking for files in library path
7077
# which responds to the $file_magic_cmd with a given extended regex.
7078
# If you have `file' or equivalent on your system and you're not sure
7079
# whether `pass_all' will *always* work, you probably want this one.
7083
lt_cv_deplibs_check_method=pass_all
7087
lt_cv_deplibs_check_method=pass_all
7091
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7092
lt_cv_file_magic_cmd='/usr/bin/file -L'
7093
lt_cv_file_magic_test_file=/shlib/libc.so
7097
# func_win32_libid is a shell function defined in ltmain.sh
7098
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7099
lt_cv_file_magic_cmd='func_win32_libid'
7103
# Base MSYS/MinGW do not provide the 'file' command needed by
7104
# func_win32_libid shell function, so use a weaker test based on 'objdump',
7105
# unless we find 'file', for example because we are cross-compiling.
7106
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7107
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7108
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7109
lt_cv_file_magic_cmd='func_win32_libid'
7111
# Keep this pattern in sync with the one in func_win32_libid.
7112
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7113
lt_cv_file_magic_cmd='$OBJDUMP -f'
7118
# use the weaker test based on 'objdump'. See mingw*.
7119
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7120
lt_cv_file_magic_cmd='$OBJDUMP -f'
7123
darwin* | rhapsody*)
7124
lt_cv_deplibs_check_method=pass_all
7127
freebsd* | dragonfly*)
7128
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7131
# Not sure whether the presence of OpenBSD here was a mistake.
7132
# Let's accept both of them until this is cleared up.
7133
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7134
lt_cv_file_magic_cmd=/usr/bin/file
7135
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7139
lt_cv_deplibs_check_method=pass_all
7144
lt_cv_deplibs_check_method=pass_all
7148
lt_cv_deplibs_check_method=pass_all
7151
hpux10.20* | hpux11*)
7152
lt_cv_file_magic_cmd=/usr/bin/file
7155
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7156
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7159
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]'
7160
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7163
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7164
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7170
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7171
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7174
irix5* | irix6* | nonstopux*)
7176
*-32|*"-32 ") libmagic=32-bit;;
7177
*-n32|*"-n32 ") libmagic=N32;;
7178
*-64|*"-64 ") libmagic=64-bit;;
7179
*) libmagic=never-match;;
7181
lt_cv_deplibs_check_method=pass_all
7184
# This must be glibc/ELF.
7185
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7186
lt_cv_deplibs_check_method=pass_all
7190
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7191
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7193
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7198
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7199
lt_cv_file_magic_cmd=/usr/bin/file
7200
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7204
lt_cv_deplibs_check_method=pass_all
7208
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7209
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7211
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7215
osf3* | osf4* | osf5*)
7216
lt_cv_deplibs_check_method=pass_all
7220
lt_cv_deplibs_check_method=pass_all
7224
lt_cv_deplibs_check_method=pass_all
7227
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7228
lt_cv_deplibs_check_method=pass_all
7232
case $host_vendor in
7234
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]'
7235
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7238
lt_cv_deplibs_check_method=pass_all
7241
lt_cv_file_magic_cmd='/bin/file'
7242
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7245
lt_cv_file_magic_cmd='/bin/file'
7246
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7247
lt_cv_file_magic_test_file=/lib/libc.so
7250
lt_cv_deplibs_check_method=pass_all
7253
lt_cv_deplibs_check_method=pass_all
7259
lt_cv_deplibs_check_method=pass_all
7264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7265
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7269
if test "$build" = "$host"; then
7272
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7275
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7281
file_magic_cmd=$lt_cv_file_magic_cmd
7282
deplibs_check_method=$lt_cv_deplibs_check_method
7283
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7306
if test -n "$ac_tool_prefix"; then
7307
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7308
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310
$as_echo_n "checking for $ac_word... " >&6; }
7311
if ${ac_cv_prog_DLLTOOL+:} false; then :
7312
$as_echo_n "(cached) " >&6
7314
if test -n "$DLLTOOL"; then
7315
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7321
test -z "$as_dir" && as_dir=.
7322
for ac_exec_ext in '' $ac_executable_extensions; do
7323
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7324
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7325
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334
DLLTOOL=$ac_cv_prog_DLLTOOL
7335
if test -n "$DLLTOOL"; then
7336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7337
$as_echo "$DLLTOOL" >&6; }
7339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340
$as_echo "no" >&6; }
7345
if test -z "$ac_cv_prog_DLLTOOL"; then
7346
ac_ct_DLLTOOL=$DLLTOOL
7347
# Extract the first word of "dlltool", so it can be a program name with args.
7348
set dummy dlltool; ac_word=$2
7349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350
$as_echo_n "checking for $ac_word... " >&6; }
7351
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7352
$as_echo_n "(cached) " >&6
7354
if test -n "$ac_ct_DLLTOOL"; then
7355
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361
test -z "$as_dir" && as_dir=.
7362
for ac_exec_ext in '' $ac_executable_extensions; do
7363
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7365
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7375
if test -n "$ac_ct_DLLTOOL"; then
7376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7377
$as_echo "$ac_ct_DLLTOOL" >&6; }
7379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380
$as_echo "no" >&6; }
7383
if test "x$ac_ct_DLLTOOL" = x; then
7386
case $cross_compiling:$ac_tool_warned in
7388
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7389
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7390
ac_tool_warned=yes ;;
7392
DLLTOOL=$ac_ct_DLLTOOL
7395
DLLTOOL="$ac_cv_prog_DLLTOOL"
7398
test -z "$DLLTOOL" && DLLTOOL=dlltool
7409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7410
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7411
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7412
$as_echo_n "(cached) " >&6
7414
lt_cv_sharedlib_from_linklib_cmd='unknown'
7417
cygwin* | mingw* | pw32* | cegcc*)
7418
# two different shell functions defined in ltmain.sh
7419
# decide which to use based on capabilities of $DLLTOOL
7420
case `$DLLTOOL --help 2>&1` in
7421
*--identify-strict*)
7422
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7425
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7430
# fallback: assume linklib IS sharedlib
7431
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7437
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7438
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7439
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7447
if test -n "$ac_tool_prefix"; then
7450
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7451
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453
$as_echo_n "checking for $ac_word... " >&6; }
7454
if ${ac_cv_prog_AR+:} false; then :
7455
$as_echo_n "(cached) " >&6
7457
if test -n "$AR"; then
7458
ac_cv_prog_AR="$AR" # Let the user override the test.
7460
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464
test -z "$as_dir" && as_dir=.
7465
for ac_exec_ext in '' $ac_executable_extensions; do
7466
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7467
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7468
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478
if test -n "$AR"; then
7479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7480
$as_echo "$AR" >&6; }
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483
$as_echo "no" >&6; }
7487
test -n "$AR" && break
7490
if test -z "$AR"; then
7494
# Extract the first word of "$ac_prog", so it can be a program name with args.
7495
set dummy $ac_prog; ac_word=$2
7496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7497
$as_echo_n "checking for $ac_word... " >&6; }
7498
if ${ac_cv_prog_ac_ct_AR+:} false; then :
7499
$as_echo_n "(cached) " >&6
7501
if test -n "$ac_ct_AR"; then
7502
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508
test -z "$as_dir" && as_dir=.
7509
for ac_exec_ext in '' $ac_executable_extensions; do
7510
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7511
ac_cv_prog_ac_ct_AR="$ac_prog"
7512
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7521
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7522
if test -n "$ac_ct_AR"; then
7523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7524
$as_echo "$ac_ct_AR" >&6; }
7526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527
$as_echo "no" >&6; }
7531
test -n "$ac_ct_AR" && break
7534
if test "x$ac_ct_AR" = x; then
7537
case $cross_compiling:$ac_tool_warned in
7539
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7540
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7541
ac_tool_warned=yes ;;
7560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7561
$as_echo_n "checking for archiver @FILE support... " >&6; }
7562
if ${lt_cv_ar_at_file+:} false; then :
7563
$as_echo_n "(cached) " >&6
7566
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567
/* end confdefs.h. */
7577
if ac_fn_c_try_compile "$LINENO"; then :
7578
echo conftest.$ac_objext > conftest.lst
7579
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7580
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7581
(eval $lt_ar_try) 2>&5
7583
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7584
test $ac_status = 0; }
7585
if test "$ac_status" -eq 0; then
7586
# Ensure the archiver fails upon bogus file names.
7587
rm -f conftest.$ac_objext libconftest.a
7588
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7589
(eval $lt_ar_try) 2>&5
7591
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7592
test $ac_status = 0; }
7593
if test "$ac_status" -ne 0; then
7597
rm -f conftest.* libconftest.a
7600
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7604
$as_echo "$lt_cv_ar_at_file" >&6; }
7606
if test "x$lt_cv_ar_at_file" = xno; then
7609
archiver_list_spec=$lt_cv_ar_at_file
7618
if test -n "$ac_tool_prefix"; then
7619
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7620
set dummy ${ac_tool_prefix}strip; ac_word=$2
7621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622
$as_echo_n "checking for $ac_word... " >&6; }
7623
if ${ac_cv_prog_STRIP+:} false; then :
7624
$as_echo_n "(cached) " >&6
7626
if test -n "$STRIP"; then
7627
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633
test -z "$as_dir" && as_dir=.
7634
for ac_exec_ext in '' $ac_executable_extensions; do
7635
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7637
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646
STRIP=$ac_cv_prog_STRIP
7647
if test -n "$STRIP"; then
7648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7649
$as_echo "$STRIP" >&6; }
7651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652
$as_echo "no" >&6; }
7657
if test -z "$ac_cv_prog_STRIP"; then
7659
# Extract the first word of "strip", so it can be a program name with args.
7660
set dummy strip; ac_word=$2
7661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7662
$as_echo_n "checking for $ac_word... " >&6; }
7663
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7664
$as_echo_n "(cached) " >&6
7666
if test -n "$ac_ct_STRIP"; then
7667
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673
test -z "$as_dir" && as_dir=.
7674
for ac_exec_ext in '' $ac_executable_extensions; do
7675
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7676
ac_cv_prog_ac_ct_STRIP="strip"
7677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7686
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7687
if test -n "$ac_ct_STRIP"; then
7688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7689
$as_echo "$ac_ct_STRIP" >&6; }
7691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692
$as_echo "no" >&6; }
7695
if test "x$ac_ct_STRIP" = x; then
7698
case $cross_compiling:$ac_tool_warned in
7700
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7701
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7702
ac_tool_warned=yes ;;
7707
STRIP="$ac_cv_prog_STRIP"
7710
test -z "$STRIP" && STRIP=:
7717
if test -n "$ac_tool_prefix"; then
7718
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7719
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721
$as_echo_n "checking for $ac_word... " >&6; }
7722
if ${ac_cv_prog_RANLIB+:} false; then :
7723
$as_echo_n "(cached) " >&6
7725
if test -n "$RANLIB"; then
7726
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732
test -z "$as_dir" && as_dir=.
7733
for ac_exec_ext in '' $ac_executable_extensions; do
7734
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7735
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7736
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7745
RANLIB=$ac_cv_prog_RANLIB
7746
if test -n "$RANLIB"; then
7747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7748
$as_echo "$RANLIB" >&6; }
7750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751
$as_echo "no" >&6; }
7756
if test -z "$ac_cv_prog_RANLIB"; then
7757
ac_ct_RANLIB=$RANLIB
7758
# Extract the first word of "ranlib", so it can be a program name with args.
7759
set dummy ranlib; ac_word=$2
7760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7761
$as_echo_n "checking for $ac_word... " >&6; }
7762
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7763
$as_echo_n "(cached) " >&6
7765
if test -n "$ac_ct_RANLIB"; then
7766
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772
test -z "$as_dir" && as_dir=.
7773
for ac_exec_ext in '' $ac_executable_extensions; do
7774
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7775
ac_cv_prog_ac_ct_RANLIB="ranlib"
7776
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7785
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7786
if test -n "$ac_ct_RANLIB"; then
7787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7788
$as_echo "$ac_ct_RANLIB" >&6; }
7790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7791
$as_echo "no" >&6; }
7794
if test "x$ac_ct_RANLIB" = x; then
7797
case $cross_compiling:$ac_tool_warned in
7799
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7800
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7801
ac_tool_warned=yes ;;
7803
RANLIB=$ac_ct_RANLIB
7806
RANLIB="$ac_cv_prog_RANLIB"
7809
test -z "$RANLIB" && RANLIB=:
7816
# Determine commands to create old-style static archives.
7817
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7818
old_postinstall_cmds='chmod 644 $oldlib'
7819
old_postuninstall_cmds=
7821
if test -n "$RANLIB"; then
7824
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7827
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7830
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7835
lock_old_archive_extraction=yes ;;
7837
lock_old_archive_extraction=no ;;
7878
# If no C compiler was specified, use CC.
7881
# If no C compiler flags were specified, use CFLAGS.
7882
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7884
# Allow CC to be a program name with arguments.
7888
# Check for command to grab the raw symbol name followed by C symbol from nm.
7889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7890
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7891
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7892
$as_echo_n "(cached) " >&6
7895
# These are sane defaults that work on at least a few old systems.
7896
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7898
# Character class describing NM global symbol codes.
7899
symcode='[BCDEGRST]'
7901
# Regexp to match symbols that can be accessed directly from C.
7902
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7904
# Define system-specific variables.
7909
cygwin* | mingw* | pw32* | cegcc*)
7910
symcode='[ABCDGISTW]'
7913
if test "$host_cpu" = ia64; then
7914
symcode='[ABCDEGRST]'
7918
symcode='[BCDEGRST]'
7921
symcode='[BCDEGQRST]'
7932
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7940
# If we're using GNU nm, then use its standard symbol codes.
7941
case `$NM -V 2>&1` in
7942
*GNU* | *'with BFD'*)
7943
symcode='[ABCDGIRSTW]' ;;
7946
# Transform an extracted symbol line into a proper C declaration.
7947
# Some systems (esp. on ia64) link data and code symbols differently,
7948
# so use this general approach.
7949
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7951
# Transform an extracted symbol line into symbol name and symbol address
7952
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7953
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'"
7955
# Handle CRLF in mingw tool chain
7959
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7963
# Try without a prefix underscore, then with it.
7964
for ac_symprfx in "" "_"; do
7966
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7967
symxfrm="\\1 $ac_symprfx\\2 \\2"
7969
# Write the raw and C identifiers.
7970
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7971
# Fake it for dumpbin and say T for any non-static function
7972
# and D for any global variable.
7973
# Also find C++ and __fastcall symbols from MSVC++,
7974
# which start with @ or ?.
7975
lt_cv_sys_global_symbol_pipe="$AWK '"\
7976
" {last_section=section; section=\$ 3};"\
7977
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7978
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7979
" \$ 0!~/External *\|/{next};"\
7980
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7981
" {if(hide[section]) next};"\
7982
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7983
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7984
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7985
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7986
" ' prfx=^$ac_symprfx"
7988
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7990
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7992
# Check to see that the pipe works correctly.
7996
cat > conftest.$ac_ext <<_LT_EOF
8001
void nm_test_func(void);
8002
void nm_test_func(void){}
8006
int main(){nm_test_var='a';nm_test_func();return(0);}
8009
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8010
(eval $ac_compile) 2>&5
8012
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8013
test $ac_status = 0; }; then
8014
# Now try to grab the symbols.
8016
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8017
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8019
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8020
test $ac_status = 0; } && test -s "$nlist"; then
8021
# Try sorting and uniquifying the output.
8022
if sort "$nlist" | uniq > "$nlist"T; then
8023
mv -f "$nlist"T "$nlist"
8028
# Make sure that we snagged all the symbols we need.
8029
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8030
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8031
cat <<_LT_EOF > conftest.$ac_ext
8032
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8033
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8034
/* DATA imports from DLLs on WIN32 con't be const, because runtime
8035
relocations are performed -- see ld's documentation on pseudo-relocs. */
8036
# define LT_DLSYM_CONST
8037
#elif defined(__osf__)
8038
/* This system does not cope well with relocations in const data. */
8039
# define LT_DLSYM_CONST
8041
# define LT_DLSYM_CONST const
8049
# Now generate the symbol file.
8050
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8052
cat <<_LT_EOF >> conftest.$ac_ext
8054
/* The mapping between symbol names and symbols. */
8055
LT_DLSYM_CONST struct {
8059
lt__PROGRAM__LTX_preloaded_symbols[] =
8061
{ "@PROGRAM@", (void *) 0 },
8063
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8064
cat <<\_LT_EOF >> conftest.$ac_ext
8068
/* This works around a problem in FreeBSD linker */
8069
#ifdef FREEBSD_WORKAROUND
8070
static const void *lt_preloaded_setup() {
8071
return lt__PROGRAM__LTX_preloaded_symbols;
8079
# Now try linking the two files.
8080
mv conftest.$ac_objext conftstm.$ac_objext
8081
lt_globsym_save_LIBS=$LIBS
8082
lt_globsym_save_CFLAGS=$CFLAGS
8083
LIBS="conftstm.$ac_objext"
8084
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8085
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8086
(eval $ac_link) 2>&5
8088
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8089
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8092
LIBS=$lt_globsym_save_LIBS
8093
CFLAGS=$lt_globsym_save_CFLAGS
8095
echo "cannot find nm_test_func in $nlist" >&5
8098
echo "cannot find nm_test_var in $nlist" >&5
8101
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8104
echo "$progname: failed program was:" >&5
8105
cat conftest.$ac_ext >&5
8107
rm -rf conftest* conftst*
8109
# Do not use the global_symbol_pipe unless it works.
8110
if test "$pipe_works" = yes; then
8113
lt_cv_sys_global_symbol_pipe=
8119
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8120
lt_cv_sys_global_symbol_to_cdecl=
8122
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8124
$as_echo "failed" >&6; }
8126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8127
$as_echo "ok" >&6; }
8130
# Response file support.
8131
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8132
nm_file_list_spec='@'
8133
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8134
nm_file_list_spec='@'
8163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8164
$as_echo_n "checking for sysroot... " >&6; }
8166
# Check whether --with-sysroot was given.
8167
if test "${with_sysroot+set}" = set; then :
8168
withval=$with_sysroot;
8175
case ${with_sysroot} in #(
8177
if test "$GCC" = yes; then
8178
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8182
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8188
$as_echo "${with_sysroot}" >&6; }
8189
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8194
$as_echo "${lt_sysroot:-no}" >&6; }
8200
# Check whether --enable-libtool-lock was given.
8201
if test "${enable_libtool_lock+set}" = set; then :
8202
enableval=$enable_libtool_lock;
8205
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8207
# Some flags need to be propagated to the compiler or linker for good
8211
# Find out which ABI we are using.
8212
echo 'int i;' > conftest.$ac_ext
8213
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8214
(eval $ac_compile) 2>&5
8216
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8217
test $ac_status = 0; }; then
8218
case `/usr/bin/file conftest.$ac_objext` in
8230
# Find out which ABI we are using.
8231
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8232
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8233
(eval $ac_compile) 2>&5
8235
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8236
test $ac_status = 0; }; then
8237
if test "$lt_cv_prog_gnu_ld" = yes; then
8238
case `/usr/bin/file conftest.$ac_objext` in
8240
LD="${LD-ld} -melf32bsmip"
8243
LD="${LD-ld} -melf32bmipn32"
8246
LD="${LD-ld} -melf64bmip"
8250
case `/usr/bin/file conftest.$ac_objext` in
8266
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8267
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8268
# Find out which ABI we are using.
8269
echo 'int i;' > conftest.$ac_ext
8270
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8271
(eval $ac_compile) 2>&5
8273
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8274
test $ac_status = 0; }; then
8275
case `/usr/bin/file conftest.o` in
8278
x86_64-*kfreebsd*-gnu)
8279
LD="${LD-ld} -m elf_i386_fbsd"
8282
LD="${LD-ld} -m elf_i386"
8284
ppc64-*linux*|powerpc64-*linux*)
8285
LD="${LD-ld} -m elf32ppclinux"
8288
LD="${LD-ld} -m elf_s390"
8291
LD="${LD-ld} -m elf32_sparc"
8297
x86_64-*kfreebsd*-gnu)
8298
LD="${LD-ld} -m elf_x86_64_fbsd"
8301
LD="${LD-ld} -m elf_x86_64"
8303
ppc*-*linux*|powerpc*-*linux*)
8304
LD="${LD-ld} -m elf64ppc"
8306
s390*-*linux*|s390*-*tpf*)
8307
LD="${LD-ld} -m elf64_s390"
8310
LD="${LD-ld} -m elf64_sparc"
8320
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8321
SAVE_CFLAGS="$CFLAGS"
8322
CFLAGS="$CFLAGS -belf"
8323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8324
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8325
if ${lt_cv_cc_needs_belf+:} false; then :
8326
$as_echo_n "(cached) " >&6
8329
ac_cpp='$CPP $CPPFLAGS'
8330
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8331
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8332
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8334
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335
/* end confdefs.h. */
8345
if ac_fn_c_try_link "$LINENO"; then :
8346
lt_cv_cc_needs_belf=yes
8348
lt_cv_cc_needs_belf=no
8350
rm -f core conftest.err conftest.$ac_objext \
8351
conftest$ac_exeext conftest.$ac_ext
8353
ac_cpp='$CPP $CPPFLAGS'
8354
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8355
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8356
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8360
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8361
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8362
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8363
CFLAGS="$SAVE_CFLAGS"
8367
# Find out which ABI we are using.
8368
echo 'int i;' > conftest.$ac_ext
8369
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8370
(eval $ac_compile) 2>&5
8372
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8373
test $ac_status = 0; }; then
8374
case `/usr/bin/file conftest.o` in
8376
case $lt_cv_prog_gnu_ld in
8380
LD="${LD-ld} -m elf_x86_64"
8383
LD="${LD-ld} -m elf64_sparc"
8386
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8387
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8392
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8404
need_locks="$enable_libtool_lock"
8406
if test -n "$ac_tool_prefix"; then
8407
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8408
set dummy ${ac_tool_prefix}mt; ac_word=$2
8409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8410
$as_echo_n "checking for $ac_word... " >&6; }
8411
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8412
$as_echo_n "(cached) " >&6
8414
if test -n "$MANIFEST_TOOL"; then
8415
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8421
test -z "$as_dir" && as_dir=.
8422
for ac_exec_ext in '' $ac_executable_extensions; do
8423
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8424
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8425
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8435
if test -n "$MANIFEST_TOOL"; then
8436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8437
$as_echo "$MANIFEST_TOOL" >&6; }
8439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440
$as_echo "no" >&6; }
8445
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8446
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8447
# Extract the first word of "mt", so it can be a program name with args.
8448
set dummy mt; ac_word=$2
8449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450
$as_echo_n "checking for $ac_word... " >&6; }
8451
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8452
$as_echo_n "(cached) " >&6
8454
if test -n "$ac_ct_MANIFEST_TOOL"; then
8455
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8457
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8461
test -z "$as_dir" && as_dir=.
8462
for ac_exec_ext in '' $ac_executable_extensions; do
8463
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8464
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8465
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8474
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8475
if test -n "$ac_ct_MANIFEST_TOOL"; then
8476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8477
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480
$as_echo "no" >&6; }
8483
if test "x$ac_ct_MANIFEST_TOOL" = x; then
8486
case $cross_compiling:$ac_tool_warned in
8488
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8489
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8490
ac_tool_warned=yes ;;
8492
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8495
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8498
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8500
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8501
if ${lt_cv_path_mainfest_tool+:} false; then :
8502
$as_echo_n "(cached) " >&6
8504
lt_cv_path_mainfest_tool=no
8505
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8506
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8507
cat conftest.err >&5
8508
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8509
lt_cv_path_mainfest_tool=yes
8513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8514
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8515
if test "x$lt_cv_path_mainfest_tool" != xyes; then
8525
rhapsody* | darwin*)
8526
if test -n "$ac_tool_prefix"; then
8527
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8528
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8530
$as_echo_n "checking for $ac_word... " >&6; }
8531
if ${ac_cv_prog_DSYMUTIL+:} false; then :
8532
$as_echo_n "(cached) " >&6
8534
if test -n "$DSYMUTIL"; then
8535
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8537
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8541
test -z "$as_dir" && as_dir=.
8542
for ac_exec_ext in '' $ac_executable_extensions; do
8543
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8544
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8545
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8554
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8555
if test -n "$DSYMUTIL"; then
8556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8557
$as_echo "$DSYMUTIL" >&6; }
8559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560
$as_echo "no" >&6; }
8565
if test -z "$ac_cv_prog_DSYMUTIL"; then
8566
ac_ct_DSYMUTIL=$DSYMUTIL
8567
# Extract the first word of "dsymutil", so it can be a program name with args.
8568
set dummy dsymutil; ac_word=$2
8569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570
$as_echo_n "checking for $ac_word... " >&6; }
8571
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8572
$as_echo_n "(cached) " >&6
8574
if test -n "$ac_ct_DSYMUTIL"; then
8575
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8577
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8581
test -z "$as_dir" && as_dir=.
8582
for ac_exec_ext in '' $ac_executable_extensions; do
8583
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8584
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8585
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8594
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8595
if test -n "$ac_ct_DSYMUTIL"; then
8596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8597
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8600
$as_echo "no" >&6; }
8603
if test "x$ac_ct_DSYMUTIL" = x; then
8606
case $cross_compiling:$ac_tool_warned in
8608
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8609
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8610
ac_tool_warned=yes ;;
8612
DSYMUTIL=$ac_ct_DSYMUTIL
8615
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8618
if test -n "$ac_tool_prefix"; then
8619
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8620
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8622
$as_echo_n "checking for $ac_word... " >&6; }
8623
if ${ac_cv_prog_NMEDIT+:} false; then :
8624
$as_echo_n "(cached) " >&6
8626
if test -n "$NMEDIT"; then
8627
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8633
test -z "$as_dir" && as_dir=.
8634
for ac_exec_ext in '' $ac_executable_extensions; do
8635
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8636
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8637
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8646
NMEDIT=$ac_cv_prog_NMEDIT
8647
if test -n "$NMEDIT"; then
8648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8649
$as_echo "$NMEDIT" >&6; }
8651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8652
$as_echo "no" >&6; }
8657
if test -z "$ac_cv_prog_NMEDIT"; then
8658
ac_ct_NMEDIT=$NMEDIT
8659
# Extract the first word of "nmedit", so it can be a program name with args.
8660
set dummy nmedit; ac_word=$2
8661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8662
$as_echo_n "checking for $ac_word... " >&6; }
8663
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8664
$as_echo_n "(cached) " >&6
8666
if test -n "$ac_ct_NMEDIT"; then
8667
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673
test -z "$as_dir" && as_dir=.
8674
for ac_exec_ext in '' $ac_executable_extensions; do
8675
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8676
ac_cv_prog_ac_ct_NMEDIT="nmedit"
8677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8686
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8687
if test -n "$ac_ct_NMEDIT"; then
8688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8689
$as_echo "$ac_ct_NMEDIT" >&6; }
8691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8692
$as_echo "no" >&6; }
8695
if test "x$ac_ct_NMEDIT" = x; then
8698
case $cross_compiling:$ac_tool_warned in
8700
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8701
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8702
ac_tool_warned=yes ;;
8704
NMEDIT=$ac_ct_NMEDIT
8707
NMEDIT="$ac_cv_prog_NMEDIT"
8710
if test -n "$ac_tool_prefix"; then
8711
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8712
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8714
$as_echo_n "checking for $ac_word... " >&6; }
8715
if ${ac_cv_prog_LIPO+:} false; then :
8716
$as_echo_n "(cached) " >&6
8718
if test -n "$LIPO"; then
8719
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8725
test -z "$as_dir" && as_dir=.
8726
for ac_exec_ext in '' $ac_executable_extensions; do
8727
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8728
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8729
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8738
LIPO=$ac_cv_prog_LIPO
8739
if test -n "$LIPO"; then
8740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8741
$as_echo "$LIPO" >&6; }
8743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8744
$as_echo "no" >&6; }
8749
if test -z "$ac_cv_prog_LIPO"; then
8751
# Extract the first word of "lipo", so it can be a program name with args.
8752
set dummy lipo; ac_word=$2
8753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8754
$as_echo_n "checking for $ac_word... " >&6; }
8755
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8756
$as_echo_n "(cached) " >&6
8758
if test -n "$ac_ct_LIPO"; then
8759
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8761
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765
test -z "$as_dir" && as_dir=.
8766
for ac_exec_ext in '' $ac_executable_extensions; do
8767
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8768
ac_cv_prog_ac_ct_LIPO="lipo"
8769
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8778
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8779
if test -n "$ac_ct_LIPO"; then
8780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8781
$as_echo "$ac_ct_LIPO" >&6; }
8783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8784
$as_echo "no" >&6; }
8787
if test "x$ac_ct_LIPO" = x; then
8790
case $cross_compiling:$ac_tool_warned in
8792
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8793
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8794
ac_tool_warned=yes ;;
8799
LIPO="$ac_cv_prog_LIPO"
8802
if test -n "$ac_tool_prefix"; then
8803
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8804
set dummy ${ac_tool_prefix}otool; ac_word=$2
8805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8806
$as_echo_n "checking for $ac_word... " >&6; }
8807
if ${ac_cv_prog_OTOOL+:} false; then :
8808
$as_echo_n "(cached) " >&6
8810
if test -n "$OTOOL"; then
8811
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8817
test -z "$as_dir" && as_dir=.
8818
for ac_exec_ext in '' $ac_executable_extensions; do
8819
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8820
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8821
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8830
OTOOL=$ac_cv_prog_OTOOL
8831
if test -n "$OTOOL"; then
8832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8833
$as_echo "$OTOOL" >&6; }
8835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8836
$as_echo "no" >&6; }
8841
if test -z "$ac_cv_prog_OTOOL"; then
8843
# Extract the first word of "otool", so it can be a program name with args.
8844
set dummy otool; ac_word=$2
8845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8846
$as_echo_n "checking for $ac_word... " >&6; }
8847
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8848
$as_echo_n "(cached) " >&6
8850
if test -n "$ac_ct_OTOOL"; then
8851
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8857
test -z "$as_dir" && as_dir=.
8858
for ac_exec_ext in '' $ac_executable_extensions; do
8859
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8860
ac_cv_prog_ac_ct_OTOOL="otool"
8861
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8870
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8871
if test -n "$ac_ct_OTOOL"; then
8872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8873
$as_echo "$ac_ct_OTOOL" >&6; }
8875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876
$as_echo "no" >&6; }
8879
if test "x$ac_ct_OTOOL" = x; then
8882
case $cross_compiling:$ac_tool_warned in
8884
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8885
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8886
ac_tool_warned=yes ;;
8891
OTOOL="$ac_cv_prog_OTOOL"
8894
if test -n "$ac_tool_prefix"; then
8895
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8896
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8898
$as_echo_n "checking for $ac_word... " >&6; }
8899
if ${ac_cv_prog_OTOOL64+:} false; then :
8900
$as_echo_n "(cached) " >&6
8902
if test -n "$OTOOL64"; then
8903
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909
test -z "$as_dir" && as_dir=.
8910
for ac_exec_ext in '' $ac_executable_extensions; do
8911
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8912
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8913
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8922
OTOOL64=$ac_cv_prog_OTOOL64
8923
if test -n "$OTOOL64"; then
8924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8925
$as_echo "$OTOOL64" >&6; }
8927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928
$as_echo "no" >&6; }
8933
if test -z "$ac_cv_prog_OTOOL64"; then
8934
ac_ct_OTOOL64=$OTOOL64
8935
# Extract the first word of "otool64", so it can be a program name with args.
8936
set dummy otool64; ac_word=$2
8937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8938
$as_echo_n "checking for $ac_word... " >&6; }
8939
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8940
$as_echo_n "(cached) " >&6
8942
if test -n "$ac_ct_OTOOL64"; then
8943
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949
test -z "$as_dir" && as_dir=.
8950
for ac_exec_ext in '' $ac_executable_extensions; do
8951
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8952
ac_cv_prog_ac_ct_OTOOL64="otool64"
8953
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8962
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8963
if test -n "$ac_ct_OTOOL64"; then
8964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8965
$as_echo "$ac_ct_OTOOL64" >&6; }
8967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8968
$as_echo "no" >&6; }
8971
if test "x$ac_ct_OTOOL64" = x; then
8974
case $cross_compiling:$ac_tool_warned in
8976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8978
ac_tool_warned=yes ;;
8980
OTOOL64=$ac_ct_OTOOL64
8983
OTOOL64="$ac_cv_prog_OTOOL64"
9012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9013
$as_echo_n "checking for -single_module linker flag... " >&6; }
9014
if ${lt_cv_apple_cc_single_mod+:} false; then :
9015
$as_echo_n "(cached) " >&6
9017
lt_cv_apple_cc_single_mod=no
9018
if test -z "${LT_MULTI_MODULE}"; then
9019
# By default we will add the -single_module flag. You can override
9020
# by either setting the environment variable LT_MULTI_MODULE
9021
# non-empty at configure time, or by adding -multi_module to the
9023
rm -rf libconftest.dylib*
9024
echo "int foo(void){return 1;}" > conftest.c
9025
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9026
-dynamiclib -Wl,-single_module conftest.c" >&5
9027
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9028
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9030
# If there is a non-empty error log, and "single_module"
9031
# appears in it, assume the flag caused a linker warning
9032
if test -s conftest.err && $GREP single_module conftest.err; then
9033
cat conftest.err >&5
9034
# Otherwise, if the output was created with a 0 exit code from
9035
# the compiler, it worked.
9036
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9037
lt_cv_apple_cc_single_mod=yes
9039
cat conftest.err >&5
9041
rm -rf libconftest.dylib*
9045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9046
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9049
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9050
if ${lt_cv_ld_exported_symbols_list+:} false; then :
9051
$as_echo_n "(cached) " >&6
9053
lt_cv_ld_exported_symbols_list=no
9054
save_LDFLAGS=$LDFLAGS
9055
echo "_main" > conftest.sym
9056
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9057
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058
/* end confdefs.h. */
9068
if ac_fn_c_try_link "$LINENO"; then :
9069
lt_cv_ld_exported_symbols_list=yes
9071
lt_cv_ld_exported_symbols_list=no
9073
rm -f core conftest.err conftest.$ac_objext \
9074
conftest$ac_exeext conftest.$ac_ext
9075
LDFLAGS="$save_LDFLAGS"
9078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9079
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9082
$as_echo_n "checking for -force_load linker flag... " >&6; }
9083
if ${lt_cv_ld_force_load+:} false; then :
9084
$as_echo_n "(cached) " >&6
9086
lt_cv_ld_force_load=no
9087
cat > conftest.c << _LT_EOF
9088
int forced_loaded() { return 2;}
9090
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9091
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9092
echo "$AR cru libconftest.a conftest.o" >&5
9093
$AR cru libconftest.a conftest.o 2>&5
9094
echo "$RANLIB libconftest.a" >&5
9095
$RANLIB libconftest.a 2>&5
9096
cat > conftest.c << _LT_EOF
9097
int main() { return 0;}
9099
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9100
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9102
if test -s conftest.err && $GREP force_load conftest.err; then
9103
cat conftest.err >&5
9104
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9105
lt_cv_ld_force_load=yes
9107
cat conftest.err >&5
9109
rm -f conftest.err libconftest.a conftest conftest.c
9110
rm -rf conftest.dSYM
9113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9114
$as_echo "$lt_cv_ld_force_load" >&6; }
9116
rhapsody* | darwin1.[012])
9117
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9119
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9120
darwin*) # darwin 5.x on
9121
# if running on 10.5 or later, the deployment target defaults
9122
# to the OS version, if on x86, and 10.4, the deployment
9123
# target defaults to 10.4. Don't you love it?
9124
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9125
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9126
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9128
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9130
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9134
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9135
_lt_dar_single_mod='$single_module'
9137
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9138
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9140
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9142
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9143
_lt_dsymutil='~$DSYMUTIL $lib || :'
9150
for ac_header in dlfcn.h
9152
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9154
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9155
cat >>confdefs.h <<_ACEOF
9156
#define HAVE_DLFCN_H 1
9168
# Check whether --enable-static was given.
9169
if test "${enable_static+set}" = set; then :
9170
enableval=$enable_static; p=${PACKAGE-default}
9172
yes) enable_static=yes ;;
9173
no) enable_static=no ;;
9176
# Look at the argument we got. We use all the common list separators.
9177
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9178
for pkg in $enableval; do
9180
if test "X$pkg" = "X$p"; then
9206
# Check whether --enable-shared was given.
9207
if test "${enable_shared+set}" = set; then :
9208
enableval=$enable_shared; p=${PACKAGE-default}
9210
yes) enable_shared=yes ;;
9211
no) enable_shared=no ;;
9214
# Look at the argument we got. We use all the common list separators.
9215
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9216
for pkg in $enableval; do
9218
if test "X$pkg" = "X$p"; then
9239
# Check whether --with-pic was given.
9240
if test "${with_pic+set}" = set; then :
9241
withval=$with_pic; lt_p=${PACKAGE-default}
9243
yes|no) pic_mode=$withval ;;
9246
# Look at the argument we got. We use all the common list separators.
9247
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9248
for lt_pkg in $withval; do
9250
if test "X$lt_pkg" = "X$lt_p"; then
9262
test -z "$pic_mode" && pic_mode=default
9270
# Check whether --enable-fast-install was given.
9271
if test "${enable_fast_install+set}" = set; then :
9272
enableval=$enable_fast_install; p=${PACKAGE-default}
9274
yes) enable_fast_install=yes ;;
9275
no) enable_fast_install=no ;;
9277
enable_fast_install=no
9278
# Look at the argument we got. We use all the common list separators.
9279
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9280
for pkg in $enableval; do
9282
if test "X$pkg" = "X$p"; then
9283
enable_fast_install=yes
9290
enable_fast_install=yes
9303
# This can be used to rebuild libtool when needed
9304
LIBTOOL_DEPS="$ltmain"
9306
# Always use our own libtool.
9307
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9338
test -z "$LN_S" && LN_S="ln -s"
9353
if test -n "${ZSH_VERSION+set}" ; then
9354
setopt NO_GLOB_SUBST
9357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9358
$as_echo_n "checking for objdir... " >&6; }
9359
if ${lt_cv_objdir+:} false; then :
9360
$as_echo_n "(cached) " >&6
9362
rm -f .libs 2>/dev/null
9363
mkdir .libs 2>/dev/null
9364
if test -d .libs; then
9367
# MS-DOS does not allow filenames that begin with a dot.
9370
rmdir .libs 2>/dev/null
9372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9373
$as_echo "$lt_cv_objdir" >&6; }
9374
objdir=$lt_cv_objdir
9380
cat >>confdefs.h <<_ACEOF
9381
#define LT_OBJDIR "$lt_cv_objdir/"
9389
# AIX sometimes has problems with the GCC collect2 program. For some
9390
# reason, if we set the COLLECT_NAMES environment variable, the problems
9391
# vanish in a puff of smoke.
9392
if test "X${COLLECT_NAMES+set}" != Xset; then
9394
export COLLECT_NAMES
9401
can_build_shared=yes
9403
# All known linkers require a `.a' archive for static linking (except MSVC,
9404
# which needs '.lib').
9407
with_gnu_ld="$lt_cv_prog_gnu_ld"
9410
old_CFLAGS="$CFLAGS"
9412
# Set sane defaults for various variables
9413
test -z "$CC" && CC=cc
9414
test -z "$LTCC" && LTCC=$CC
9415
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9416
test -z "$LD" && LD=ld
9417
test -z "$ac_objext" && ac_objext=o
9419
for cc_temp in $compiler""; do
9421
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9422
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9427
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9430
# Only perform the check for file, if the check method requires it
9431
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9432
case $deplibs_check_method in
9434
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9436
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9437
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9438
$as_echo_n "(cached) " >&6
9442
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9445
lt_save_MAGIC_CMD="$MAGIC_CMD"
9446
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9447
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9448
for ac_dir in $ac_dummy; do
9450
test -z "$ac_dir" && ac_dir=.
9451
if test -f $ac_dir/${ac_tool_prefix}file; then
9452
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9453
if test -n "$file_magic_test_file"; then
9454
case $deplibs_check_method in
9456
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9457
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9458
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9459
$EGREP "$file_magic_regex" > /dev/null; then
9464
*** Warning: the command libtool uses to detect shared libraries,
9465
*** $file_magic_cmd, produces output that libtool cannot recognize.
9466
*** The result is that libtool may fail to recognize shared libraries
9467
*** as such. This will affect the creation of libtool libraries that
9468
*** depend on shared libraries, but programs linked with such libtool
9469
*** libraries will work regardless of this problem. Nevertheless, you
9470
*** may want to report the problem to your system manager and/or to
9471
*** bug-libtool@gnu.org
9481
MAGIC_CMD="$lt_save_MAGIC_CMD"
9486
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9487
if test -n "$MAGIC_CMD"; then
9488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9489
$as_echo "$MAGIC_CMD" >&6; }
9491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9492
$as_echo "no" >&6; }
9499
if test -z "$lt_cv_path_MAGIC_CMD"; then
9500
if test -n "$ac_tool_prefix"; then
9501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9502
$as_echo_n "checking for file... " >&6; }
9503
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9504
$as_echo_n "(cached) " >&6
9508
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9511
lt_save_MAGIC_CMD="$MAGIC_CMD"
9512
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9513
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9514
for ac_dir in $ac_dummy; do
9516
test -z "$ac_dir" && ac_dir=.
9517
if test -f $ac_dir/file; then
9518
lt_cv_path_MAGIC_CMD="$ac_dir/file"
9519
if test -n "$file_magic_test_file"; then
9520
case $deplibs_check_method in
9522
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9523
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9524
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9525
$EGREP "$file_magic_regex" > /dev/null; then
9530
*** Warning: the command libtool uses to detect shared libraries,
9531
*** $file_magic_cmd, produces output that libtool cannot recognize.
9532
*** The result is that libtool may fail to recognize shared libraries
9533
*** as such. This will affect the creation of libtool libraries that
9534
*** depend on shared libraries, but programs linked with such libtool
9535
*** libraries will work regardless of this problem. Nevertheless, you
9536
*** may want to report the problem to your system manager and/or to
9537
*** bug-libtool@gnu.org
9547
MAGIC_CMD="$lt_save_MAGIC_CMD"
9552
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9553
if test -n "$MAGIC_CMD"; then
9554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9555
$as_echo "$MAGIC_CMD" >&6; }
9557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558
$as_echo "no" >&6; }
9571
# Use C for the default configuration in the libtool script
9575
ac_cpp='$CPP $CPPFLAGS'
9576
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9577
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9578
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9581
# Source file extension for C test sources.
9584
# Object file extension for compiled C test sources.
9588
# Code to be used in simple compile tests
9589
lt_simple_compile_test_code="int some_variable = 0;"
9591
# Code to be used in simple link tests
9592
lt_simple_link_test_code='int main(){return(0);}'
9600
# If no C compiler was specified, use CC.
9603
# If no C compiler flags were specified, use CFLAGS.
9604
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9606
# Allow CC to be a program name with arguments.
9609
# Save the default compiler, since it gets overwritten when the other
9610
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9611
compiler_DEFAULT=$CC
9613
# save warnings/boilerplate of simple test code
9614
ac_outfile=conftest.$ac_objext
9615
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9616
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9617
_lt_compiler_boilerplate=`cat conftest.err`
9620
ac_outfile=conftest.$ac_objext
9621
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9622
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9623
_lt_linker_boilerplate=`cat conftest.err`
9627
if test -n "$compiler"; then
9629
lt_prog_compiler_no_builtin_flag=
9631
if test "$GCC" = yes; then
9632
case $cc_basename in
9634
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9636
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9640
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9641
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9642
$as_echo_n "(cached) " >&6
9644
lt_cv_prog_compiler_rtti_exceptions=no
9645
ac_outfile=conftest.$ac_objext
9646
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9647
lt_compiler_flag="-fno-rtti -fno-exceptions"
9648
# Insert the option either (1) after the last *FLAGS variable, or
9649
# (2) before a word containing "conftest.", or (3) at the end.
9650
# Note that $ac_compile itself does not contain backslashes and begins
9651
# with a dollar sign (not a hyphen), so the echo should work correctly.
9652
# The option is referenced via a variable to avoid confusing sed.
9653
lt_compile=`echo "$ac_compile" | $SED \
9654
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9655
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9656
-e 's:$: $lt_compiler_flag:'`
9657
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9658
(eval "$lt_compile" 2>conftest.err)
9660
cat conftest.err >&5
9661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662
if (exit $ac_status) && test -s "$ac_outfile"; then
9663
# The compiler can only warn and ignore the option if not recognized
9664
# So say no if there are warnings other than the usual output.
9665
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9666
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9667
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9668
lt_cv_prog_compiler_rtti_exceptions=yes
9674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9675
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9677
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9678
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9690
lt_prog_compiler_wl=
9691
lt_prog_compiler_pic=
9692
lt_prog_compiler_static=
9695
if test "$GCC" = yes; then
9696
lt_prog_compiler_wl='-Wl,'
9697
lt_prog_compiler_static='-static'
9701
# All AIX code is PIC.
9702
if test "$host_cpu" = ia64; then
9703
# AIX 5 now supports IA64 processor
9704
lt_prog_compiler_static='-Bstatic'
9711
# see comment about AmigaOS4 .so support
9712
lt_prog_compiler_pic='-fPIC'
9715
# FIXME: we need at least 68020 code to build shared libraries, but
9716
# adding the `-m68020' flag to GCC prevents building anything better,
9718
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9723
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9724
# PIC is the default for these OSes.
9727
mingw* | cygwin* | pw32* | os2* | cegcc*)
9728
# This hack is so that the source file can tell whether it is being
9729
# built for inclusion in a dll (and should export symbols for example).
9730
# Although the cygwin gcc ignores -fPIC, still need this for old-style
9731
# (--disable-auto-import) libraries
9732
lt_prog_compiler_pic='-DDLL_EXPORT'
9735
darwin* | rhapsody*)
9736
# PIC is the default on this platform
9737
# Common symbols not allowed in MH_DYLIB files
9738
lt_prog_compiler_pic='-fno-common'
9742
# PIC is the default for Haiku.
9743
# The "-static" flag exists, but is broken.
9744
lt_prog_compiler_static=
9748
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9749
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9750
# sets the default TLS model and affects inlining.
9756
lt_prog_compiler_pic='-fPIC'
9762
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9763
# Instead, we relocate shared libraries at runtime.
9767
# Just because we use GCC doesn't mean we suddenly get shared libraries
9768
# on systems that don't support them.
9769
lt_prog_compiler_can_build_shared=no
9774
# QNX uses GNU C++, but need to define -shared option too, otherwise
9776
lt_prog_compiler_pic='-fPIC -shared'
9780
if test -d /usr/nec; then
9781
lt_prog_compiler_pic=-Kconform_pic
9786
lt_prog_compiler_pic='-fPIC'
9790
case $cc_basename in
9791
nvcc*) # Cuda Compiler Driver 2.2
9792
lt_prog_compiler_wl='-Xlinker '
9793
if test -n "$lt_prog_compiler_pic"; then
9794
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9799
# PORTME Check for flag to pass linker flags through the system compiler.
9802
lt_prog_compiler_wl='-Wl,'
9803
if test "$host_cpu" = ia64; then
9804
# AIX 5 now supports IA64 processor
9805
lt_prog_compiler_static='-Bstatic'
9807
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9811
mingw* | cygwin* | pw32* | os2* | cegcc*)
9812
# This hack is so that the source file can tell whether it is being
9813
# built for inclusion in a dll (and should export symbols for example).
9814
lt_prog_compiler_pic='-DDLL_EXPORT'
9817
hpux9* | hpux10* | hpux11*)
9818
lt_prog_compiler_wl='-Wl,'
9819
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9826
lt_prog_compiler_pic='+Z'
9829
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9830
lt_prog_compiler_static='${wl}-a ${wl}archive'
9833
irix5* | irix6* | nonstopux*)
9834
lt_prog_compiler_wl='-Wl,'
9835
# PIC (with -KPIC) is the default.
9836
lt_prog_compiler_static='-non_shared'
9839
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9840
case $cc_basename in
9841
# old Intel for x86_64 which still supported -KPIC.
9843
lt_prog_compiler_wl='-Wl,'
9844
lt_prog_compiler_pic='-KPIC'
9845
lt_prog_compiler_static='-static'
9847
# icc used to be incompatible with GCC.
9848
# ICC 10 doesn't accept -KPIC any more.
9850
lt_prog_compiler_wl='-Wl,'
9851
lt_prog_compiler_pic='-fPIC'
9852
lt_prog_compiler_static='-static'
9854
# Lahey Fortran 8.1.
9856
lt_prog_compiler_wl='-Wl,'
9857
lt_prog_compiler_pic='--shared'
9858
lt_prog_compiler_static='--static'
9861
# NAG Fortran compiler
9862
lt_prog_compiler_wl='-Wl,-Wl,,'
9863
lt_prog_compiler_pic='-PIC'
9864
lt_prog_compiler_static='-Bstatic'
9866
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9867
# Portland Group compilers (*not* the Pentium gcc compiler,
9868
# which looks to be a dead project)
9869
lt_prog_compiler_wl='-Wl,'
9870
lt_prog_compiler_pic='-fpic'
9871
lt_prog_compiler_static='-Bstatic'
9874
lt_prog_compiler_wl='-Wl,'
9875
# All Alpha code is PIC.
9876
lt_prog_compiler_static='-non_shared'
9878
xl* | bgxl* | bgf* | mpixl*)
9879
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9880
lt_prog_compiler_wl='-Wl,'
9881
lt_prog_compiler_pic='-qpic'
9882
lt_prog_compiler_static='-qstaticlink'
9885
case `$CC -V 2>&1 | sed 5q` in
9886
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9887
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9888
lt_prog_compiler_pic='-KPIC'
9889
lt_prog_compiler_static='-Bstatic'
9890
lt_prog_compiler_wl=''
9892
*Sun\ F* | *Sun*Fortran*)
9893
lt_prog_compiler_pic='-KPIC'
9894
lt_prog_compiler_static='-Bstatic'
9895
lt_prog_compiler_wl='-Qoption ld '
9899
lt_prog_compiler_pic='-KPIC'
9900
lt_prog_compiler_static='-Bstatic'
9901
lt_prog_compiler_wl='-Wl,'
9903
*Intel*\ [CF]*Compiler*)
9904
lt_prog_compiler_wl='-Wl,'
9905
lt_prog_compiler_pic='-fPIC'
9906
lt_prog_compiler_static='-static'
9909
lt_prog_compiler_wl='-Wl,'
9910
lt_prog_compiler_pic='-fpic'
9911
lt_prog_compiler_static='-Bstatic'
9919
lt_prog_compiler_pic='-KPIC'
9920
lt_prog_compiler_static='-Bstatic'
9924
# QNX uses GNU C++, but need to define -shared option too, otherwise
9926
lt_prog_compiler_pic='-fPIC -shared'
9929
osf3* | osf4* | osf5*)
9930
lt_prog_compiler_wl='-Wl,'
9931
# All OSF/1 code is PIC.
9932
lt_prog_compiler_static='-non_shared'
9936
lt_prog_compiler_static='-non_shared'
9940
lt_prog_compiler_pic='-KPIC'
9941
lt_prog_compiler_static='-Bstatic'
9942
case $cc_basename in
9943
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9944
lt_prog_compiler_wl='-Qoption ld ';;
9946
lt_prog_compiler_wl='-Wl,';;
9951
lt_prog_compiler_wl='-Qoption ld '
9952
lt_prog_compiler_pic='-PIC'
9953
lt_prog_compiler_static='-Bstatic'
9956
sysv4 | sysv4.2uw2* | sysv4.3*)
9957
lt_prog_compiler_wl='-Wl,'
9958
lt_prog_compiler_pic='-KPIC'
9959
lt_prog_compiler_static='-Bstatic'
9963
if test -d /usr/nec ;then
9964
lt_prog_compiler_pic='-Kconform_pic'
9965
lt_prog_compiler_static='-Bstatic'
9969
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9970
lt_prog_compiler_wl='-Wl,'
9971
lt_prog_compiler_pic='-KPIC'
9972
lt_prog_compiler_static='-Bstatic'
9976
lt_prog_compiler_wl='-Wl,'
9977
lt_prog_compiler_can_build_shared=no
9981
lt_prog_compiler_pic='-pic'
9982
lt_prog_compiler_static='-Bstatic'
9986
lt_prog_compiler_can_build_shared=no
9992
# For platforms which do not support PIC, -DPIC is meaningless:
9994
lt_prog_compiler_pic=
9997
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10002
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10003
if ${lt_cv_prog_compiler_pic+:} false; then :
10004
$as_echo_n "(cached) " >&6
10006
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10009
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10010
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10013
# Check to make sure the PIC flag actually works.
10015
if test -n "$lt_prog_compiler_pic"; then
10016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10017
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10018
if ${lt_cv_prog_compiler_pic_works+:} false; then :
10019
$as_echo_n "(cached) " >&6
10021
lt_cv_prog_compiler_pic_works=no
10022
ac_outfile=conftest.$ac_objext
10023
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10024
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10025
# Insert the option either (1) after the last *FLAGS variable, or
10026
# (2) before a word containing "conftest.", or (3) at the end.
10027
# Note that $ac_compile itself does not contain backslashes and begins
10028
# with a dollar sign (not a hyphen), so the echo should work correctly.
10029
# The option is referenced via a variable to avoid confusing sed.
10030
lt_compile=`echo "$ac_compile" | $SED \
10031
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10032
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10033
-e 's:$: $lt_compiler_flag:'`
10034
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10035
(eval "$lt_compile" 2>conftest.err)
10037
cat conftest.err >&5
10038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039
if (exit $ac_status) && test -s "$ac_outfile"; then
10040
# The compiler can only warn and ignore the option if not recognized
10041
# So say no if there are warnings other than the usual output.
10042
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10043
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10044
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10045
lt_cv_prog_compiler_pic_works=yes
10051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10052
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10054
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10055
case $lt_prog_compiler_pic in
10057
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10060
lt_prog_compiler_pic=
10061
lt_prog_compiler_can_build_shared=no
10077
# Check to make sure the static flag actually works.
10079
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10081
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10082
if ${lt_cv_prog_compiler_static_works+:} false; then :
10083
$as_echo_n "(cached) " >&6
10085
lt_cv_prog_compiler_static_works=no
10086
save_LDFLAGS="$LDFLAGS"
10087
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10088
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10089
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10090
# The linker can only warn and ignore the option if not recognized
10091
# So say no if there are warnings
10092
if test -s conftest.err; then
10093
# Append any errors to the config.log.
10094
cat conftest.err 1>&5
10095
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10096
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10097
if diff conftest.exp conftest.er2 >/dev/null; then
10098
lt_cv_prog_compiler_static_works=yes
10101
lt_cv_prog_compiler_static_works=yes
10105
LDFLAGS="$save_LDFLAGS"
10108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10109
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10111
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10114
lt_prog_compiler_static=
10123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10124
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10125
if ${lt_cv_prog_compiler_c_o+:} false; then :
10126
$as_echo_n "(cached) " >&6
10128
lt_cv_prog_compiler_c_o=no
10129
$RM -r conftest 2>/dev/null
10133
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10135
lt_compiler_flag="-o out/conftest2.$ac_objext"
10136
# Insert the option either (1) after the last *FLAGS variable, or
10137
# (2) before a word containing "conftest.", or (3) at the end.
10138
# Note that $ac_compile itself does not contain backslashes and begins
10139
# with a dollar sign (not a hyphen), so the echo should work correctly.
10140
lt_compile=`echo "$ac_compile" | $SED \
10141
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10142
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10143
-e 's:$: $lt_compiler_flag:'`
10144
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10145
(eval "$lt_compile" 2>out/conftest.err)
10147
cat out/conftest.err >&5
10148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10151
# The compiler can only warn and ignore the option if not recognized
10152
# So say no if there are warnings
10153
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10154
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10155
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10156
lt_cv_prog_compiler_c_o=yes
10161
# SGI C++ compiler will create directory out/ii_files/ for
10162
# template instantiation
10163
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10164
$RM out/* && rmdir out
10170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10171
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10179
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10180
if ${lt_cv_prog_compiler_c_o+:} false; then :
10181
$as_echo_n "(cached) " >&6
10183
lt_cv_prog_compiler_c_o=no
10184
$RM -r conftest 2>/dev/null
10188
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10190
lt_compiler_flag="-o out/conftest2.$ac_objext"
10191
# Insert the option either (1) after the last *FLAGS variable, or
10192
# (2) before a word containing "conftest.", or (3) at the end.
10193
# Note that $ac_compile itself does not contain backslashes and begins
10194
# with a dollar sign (not a hyphen), so the echo should work correctly.
10195
lt_compile=`echo "$ac_compile" | $SED \
10196
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10197
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10198
-e 's:$: $lt_compiler_flag:'`
10199
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10200
(eval "$lt_compile" 2>out/conftest.err)
10202
cat out/conftest.err >&5
10203
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10206
# The compiler can only warn and ignore the option if not recognized
10207
# So say no if there are warnings
10208
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10209
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10210
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10211
lt_cv_prog_compiler_c_o=yes
10216
# SGI C++ compiler will create directory out/ii_files/ for
10217
# template instantiation
10218
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10219
$RM out/* && rmdir out
10225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10226
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10231
hard_links="nottested"
10232
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10233
# do not overwrite the value of need_locks provided by the user
10234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10235
$as_echo_n "checking if we can lock with hard links... " >&6; }
10238
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10240
ln conftest.a conftest.b 2>&5 || hard_links=no
10241
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10243
$as_echo "$hard_links" >&6; }
10244
if test "$hard_links" = no; then
10245
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10246
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10259
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10262
allow_undefined_flag=
10263
always_export_symbols=no
10265
archive_expsym_cmds=
10266
compiler_needs_object=no
10267
enable_shared_with_static_runtimes=no
10268
export_dynamic_flag_spec=
10269
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10270
hardcode_automatic=no
10272
hardcode_direct_absolute=no
10273
hardcode_libdir_flag_spec=
10274
hardcode_libdir_separator=
10275
hardcode_minus_L=no
10276
hardcode_shlibpath_var=unsupported
10278
link_all_deplibs=unknown
10280
module_expsym_cmds=
10281
old_archive_from_new_cmds=
10282
old_archive_from_expsyms_cmds=
10283
thread_safe_flag_spec=
10284
whole_archive_flag_spec=
10285
# include_expsyms should be a list of space-separated symbols to be *always*
10286
# included in the symbol list
10288
# exclude_expsyms can be an extended regexp of symbols to exclude
10289
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10290
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10291
# as well as any symbol that contains `d'.
10292
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10293
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10294
# platforms (ab)use it in PIC code, but their linkers get confused if
10295
# the symbol is explicitly referenced. Since portable code cannot
10296
# rely on this symbol name, it's probably fine to never include it in
10297
# preloaded symbol tables.
10298
# Exclude shared library initialization/finalization symbols.
10299
extract_expsyms_cmds=
10302
cygwin* | mingw* | pw32* | cegcc*)
10303
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10304
# When not using gcc, we currently assume that we are using
10305
# Microsoft Visual C++.
10306
if test "$GCC" != yes; then
10311
# we just hope/assume this is gcc and not c89 (= MSVC++)
10321
# On some targets, GNU ld is compatible enough with the native linker
10322
# that we're better off using the native interface for both.
10323
lt_use_gnu_ld_interface=no
10324
if test "$with_gnu_ld" = yes; then
10327
# The AIX port of GNU ld has always aspired to compatibility
10328
# with the native linker. However, as the warning in the GNU ld
10329
# block says, versions before 2.19.5* couldn't really create working
10330
# shared libraries, regardless of the interface used.
10331
case `$LD -v 2>&1` in
10332
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10333
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10334
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
10336
lt_use_gnu_ld_interface=yes
10341
lt_use_gnu_ld_interface=yes
10346
if test "$lt_use_gnu_ld_interface" = yes; then
10347
# If archive_cmds runs LD, not CC, wlarc should be empty
10350
# Set some defaults for GNU ld with shared library support. These
10351
# are reset later if shared libraries are not supported. Putting them
10352
# here allows them to be overridden if necessary.
10353
runpath_var=LD_RUN_PATH
10354
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10355
export_dynamic_flag_spec='${wl}--export-dynamic'
10356
# ancient GNU ld didn't support --whole-archive et. al.
10357
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10358
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10360
whole_archive_flag_spec=
10362
supports_anon_versioning=no
10363
case `$LD -v 2>&1` in
10364
*GNU\ gold*) supports_anon_versioning=yes ;;
10365
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10366
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10367
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10368
*\ 2.11.*) ;; # other 2.11 versions
10369
*) supports_anon_versioning=yes ;;
10372
# See if GNU ld supports shared libraries.
10375
# On AIX/PPC, the GNU linker is very broken
10376
if test "$host_cpu" != ia64; then
10380
*** Warning: the GNU linker, at least up to release 2.19, is reported
10381
*** to be unable to reliably create shared libraries on AIX.
10382
*** Therefore, libtool is disabling shared libraries support. If you
10383
*** really care for shared libraries, you may want to install binutils
10384
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10385
*** You will then need to restart the configuration process.
10394
# see comment about AmigaOS4 .so support
10395
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10396
archive_expsym_cmds=''
10399
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)'
10400
hardcode_libdir_flag_spec='-L$libdir'
10401
hardcode_minus_L=yes
10407
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10408
allow_undefined_flag=unsupported
10409
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10410
# support --undefined. This deserves some investigation. FIXME
10411
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10417
cygwin* | mingw* | pw32* | cegcc*)
10418
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10419
# as there is no search path for DLLs.
10420
hardcode_libdir_flag_spec='-L$libdir'
10421
export_dynamic_flag_spec='${wl}--export-all-symbols'
10422
allow_undefined_flag=unsupported
10423
always_export_symbols=no
10424
enable_shared_with_static_runtimes=yes
10425
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'
10426
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10428
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10429
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10430
# If the export-symbols file already is a .def file (1st line
10431
# is EXPORTS), use it as is; otherwise, prepend...
10432
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10433
cp $export_symbols $output_objdir/$soname.def;
10435
echo EXPORTS > $output_objdir/$soname.def;
10436
cat $export_symbols >> $output_objdir/$soname.def;
10438
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10445
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10446
link_all_deplibs=yes
10451
hardcode_shlibpath_var=no
10452
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10453
export_dynamic_flag_spec='${wl}-E'
10454
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10455
# Instead, shared libraries are loaded at an image base (0x10000000 by
10456
# default) and relocated if they conflict, which is a slow very memory
10457
# consuming and fragmenting process. To avoid this, we pick a random,
10458
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10459
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
10460
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10461
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'
10464
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10466
if test "$host_os" = linux-dietlibc; then
10467
case $cc_basename in
10468
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10471
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10472
&& test "$tmp_diet" = no
10474
tmp_addflag=' $pic_flag'
10475
tmp_sharedflag='-shared'
10476
case $cc_basename,$host_cpu in
10477
pgcc*) # Portland Group C compiler
10478
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'
10479
tmp_addflag=' $pic_flag'
10481
pgf77* | pgf90* | pgf95* | pgfortran*)
10482
# Portland Group f77 and f90 compilers
10483
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'
10484
tmp_addflag=' $pic_flag -Mnomain' ;;
10485
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10486
tmp_addflag=' -i_dynamic' ;;
10487
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10488
tmp_addflag=' -i_dynamic -nofor_main' ;;
10489
ifc* | ifort*) # Intel Fortran compiler
10490
tmp_addflag=' -nofor_main' ;;
10491
lf95*) # Lahey Fortran 8.1
10492
whole_archive_flag_spec=
10493
tmp_sharedflag='--shared' ;;
10494
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10495
tmp_sharedflag='-qmkshrobj'
10497
nvcc*) # Cuda Compiler Driver 2.2
10498
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'
10499
compiler_needs_object=yes
10502
case `$CC -V 2>&1 | sed 5q` in
10503
*Sun\ C*) # Sun C 5.9
10504
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'
10505
compiler_needs_object=yes
10506
tmp_sharedflag='-G' ;;
10507
*Sun\ F*) # Sun Fortran 8.3
10508
tmp_sharedflag='-G' ;;
10510
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10512
if test "x$supports_anon_versioning" = xyes; then
10513
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10514
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10515
echo "local: *; };" >> $output_objdir/$libname.ver~
10516
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10519
case $cc_basename in
10520
xlf* | bgf* | bgxlf* | mpixlf*)
10521
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10522
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10523
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10524
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10525
if test "x$supports_anon_versioning" = xyes; then
10526
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10527
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10528
echo "local: *; };" >> $output_objdir/$libname.ver~
10529
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10539
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10540
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10543
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10544
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10549
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10553
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10554
*** create shared libraries on Solaris systems. Therefore, libtool
10555
*** is disabling shared libraries support. We urge you to upgrade GNU
10556
*** binutils to release 2.9.1 or newer. Another option is to modify
10557
*** your PATH or compiler configuration so that the native linker is
10558
*** used, and then restart.
10561
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10562
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10563
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10569
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10570
case `$LD -v 2>&1` in
10571
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10575
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10576
*** reliably create shared libraries on SCO systems. Therefore, libtool
10577
*** is disabling shared libraries support. We urge you to upgrade GNU
10578
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10579
*** your PATH or compiler configuration so that the native linker is
10580
*** used, and then restart.
10585
# For security reasons, it is highly recommended that you always
10586
# use absolute paths for naming shared libraries, and exclude the
10587
# DT_RUNPATH tag from executables and libraries. But doing so
10588
# requires that you compile everything twice, which is a pain.
10589
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10590
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10591
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10592
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10601
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10603
hardcode_direct=yes
10604
hardcode_shlibpath_var=no
10608
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10609
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10610
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10617
if test "$ld_shlibs" = no; then
10619
hardcode_libdir_flag_spec=
10620
export_dynamic_flag_spec=
10621
whole_archive_flag_spec=
10624
# PORTME fill in a description of your system's linker (not GNU ld)
10627
allow_undefined_flag=unsupported
10628
always_export_symbols=yes
10629
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'
10630
# Note: this linker hardcodes the directories in LIBPATH if there
10631
# are no directories specified by -L.
10632
hardcode_minus_L=yes
10633
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10634
# Neither direct hardcoding nor static linking is supported with a
10636
hardcode_direct=unsupported
10641
if test "$host_cpu" = ia64; then
10642
# On IA64, the linker does run time linking by default, so we don't
10643
# have to do anything special.
10644
aix_use_runtimelinking=no
10645
exp_sym_flag='-Bexport'
10648
# If we're using GNU nm, then we don't want the "-C" option.
10649
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10650
# Also, AIX nm treats weak defined symbols like other global
10651
# defined symbols, whereas GNU nm marks them as "W".
10652
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10653
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'
10655
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'
10657
aix_use_runtimelinking=no
10659
# Test if we are trying to use run time linking or normal
10660
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10661
# need to do runtime linking.
10662
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10663
for ld_flag in $LDFLAGS; do
10664
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10665
aix_use_runtimelinking=yes
10672
exp_sym_flag='-bexport'
10673
no_entry_flag='-bnoentry'
10676
# When large executables or shared objects are built, AIX ld can
10677
# have problems creating the table of contents. If linking a library
10678
# or program results in "error TOC overflow" add -mminimal-toc to
10679
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10680
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10683
hardcode_direct=yes
10684
hardcode_direct_absolute=yes
10685
hardcode_libdir_separator=':'
10686
link_all_deplibs=yes
10687
file_list_spec='${wl}-f,'
10689
if test "$GCC" = yes; then
10690
case $host_os in aix4.[012]|aix4.[012].*)
10691
# We only want to do this on AIX 4.2 and lower, the check
10692
# below for broken collect2 doesn't work under 4.3+
10693
collect2name=`${CC} -print-prog-name=collect2`
10694
if test -f "$collect2name" &&
10695
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10697
# We have reworked collect2
10700
# We have old collect2
10701
hardcode_direct=unsupported
10702
# It fails to find uninstalled libraries when the uninstalled
10703
# path is not listed in the libpath. Setting hardcode_minus_L
10704
# to unsupported forces relinking
10705
hardcode_minus_L=yes
10706
hardcode_libdir_flag_spec='-L$libdir'
10707
hardcode_libdir_separator=
10711
shared_flag='-shared'
10712
if test "$aix_use_runtimelinking" = yes; then
10713
shared_flag="$shared_flag "'${wl}-G'
10717
if test "$host_cpu" = ia64; then
10718
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10719
# chokes on -Wl,-G. The following line is correct:
10722
if test "$aix_use_runtimelinking" = yes; then
10723
shared_flag='${wl}-G'
10725
shared_flag='${wl}-bM:SRE'
10730
export_dynamic_flag_spec='${wl}-bexpall'
10731
# It seems that -bexpall does not export symbols beginning with
10732
# underscore (_), so it is better to generate a list of symbols to export.
10733
always_export_symbols=yes
10734
if test "$aix_use_runtimelinking" = yes; then
10735
# Warning - without using the other runtime loading flags (-brtl),
10736
# -berok will link without error, but may produce a broken library.
10737
allow_undefined_flag='-berok'
10738
# Determine the default libpath from the value encoded in an
10739
# empty executable.
10740
if test "${lt_cv_aix_libpath+set}" = set; then
10741
aix_libpath=$lt_cv_aix_libpath
10743
if ${lt_cv_aix_libpath_+:} false; then :
10744
$as_echo_n "(cached) " >&6
10746
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747
/* end confdefs.h. */
10757
if ac_fn_c_try_link "$LINENO"; then :
10759
lt_aix_libpath_sed='
10760
/Import File Strings/,/^$/ {
10762
s/^0 *\([^ ]*\) *$/\1/
10766
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10767
# Check for a 64-bit object if we didn't find anything.
10768
if test -z "$lt_cv_aix_libpath_"; then
10769
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10772
rm -f core conftest.err conftest.$ac_objext \
10773
conftest$ac_exeext conftest.$ac_ext
10774
if test -z "$lt_cv_aix_libpath_"; then
10775
lt_cv_aix_libpath_="/usr/lib:/lib"
10780
aix_libpath=$lt_cv_aix_libpath_
10783
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10784
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"
10786
if test "$host_cpu" = ia64; then
10787
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10788
allow_undefined_flag="-z nodefs"
10789
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"
10791
# Determine the default libpath from the value encoded in an
10792
# empty executable.
10793
if test "${lt_cv_aix_libpath+set}" = set; then
10794
aix_libpath=$lt_cv_aix_libpath
10796
if ${lt_cv_aix_libpath_+:} false; then :
10797
$as_echo_n "(cached) " >&6
10799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800
/* end confdefs.h. */
10810
if ac_fn_c_try_link "$LINENO"; then :
10812
lt_aix_libpath_sed='
10813
/Import File Strings/,/^$/ {
10815
s/^0 *\([^ ]*\) *$/\1/
10819
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10820
# Check for a 64-bit object if we didn't find anything.
10821
if test -z "$lt_cv_aix_libpath_"; then
10822
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10825
rm -f core conftest.err conftest.$ac_objext \
10826
conftest$ac_exeext conftest.$ac_ext
10827
if test -z "$lt_cv_aix_libpath_"; then
10828
lt_cv_aix_libpath_="/usr/lib:/lib"
10833
aix_libpath=$lt_cv_aix_libpath_
10836
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10837
# Warning - without using the other run time loading flags,
10838
# -berok will link without error, but may produce a broken library.
10839
no_undefined_flag=' ${wl}-bernotok'
10840
allow_undefined_flag=' ${wl}-berok'
10841
if test "$with_gnu_ld" = yes; then
10842
# We only use this code for GNU lds that support --whole-archive.
10843
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10845
# Exported symbols can be pulled into shared objects from archives
10846
whole_archive_flag_spec='$convenience'
10848
archive_cmds_need_lc=yes
10849
# This is similar to how AIX traditionally builds its shared libraries.
10850
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'
10858
# see comment about AmigaOS4 .so support
10859
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10860
archive_expsym_cmds=''
10863
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)'
10864
hardcode_libdir_flag_spec='-L$libdir'
10865
hardcode_minus_L=yes
10871
export_dynamic_flag_spec=-rdynamic
10874
cygwin* | mingw* | pw32* | cegcc*)
10875
# When not using gcc, we currently assume that we are using
10876
# Microsoft Visual C++.
10877
# hardcode_libdir_flag_spec is actually meaningless, as there is
10878
# no search path for DLLs.
10879
case $cc_basename in
10882
hardcode_libdir_flag_spec=' '
10883
allow_undefined_flag=unsupported
10884
always_export_symbols=yes
10886
# Tell ltmain to make .lib files, not .a files.
10888
# Tell ltmain to make .dll files, not .so files.
10890
# FIXME: Setting linknames here is a bad hack.
10891
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10892
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10893
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10895
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10897
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10899
# The linker will not automatically build a static lib if we build a DLL.
10900
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10901
enable_shared_with_static_runtimes=yes
10902
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10903
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10905
old_postinstall_cmds='chmod 644 $oldlib'
10906
postlink_cmds='lt_outputfile="@OUTPUT@"~
10907
lt_tool_outputfile="@TOOL_OUTPUT@"~
10908
case $lt_outputfile in
10911
lt_outputfile="$lt_outputfile.exe"
10912
lt_tool_outputfile="$lt_tool_outputfile.exe"
10915
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10916
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10917
$RM "$lt_outputfile.manifest";
10921
# Assume MSVC wrapper
10922
hardcode_libdir_flag_spec=' '
10923
allow_undefined_flag=unsupported
10924
# Tell ltmain to make .lib files, not .a files.
10926
# Tell ltmain to make .dll files, not .so files.
10928
# FIXME: Setting linknames here is a bad hack.
10929
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10930
# The linker will automatically build a .lib file if we build a DLL.
10931
old_archive_from_new_cmds='true'
10932
# FIXME: Should let the user specify the lib program.
10933
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10934
enable_shared_with_static_runtimes=yes
10939
darwin* | rhapsody*)
10942
archive_cmds_need_lc=no
10944
hardcode_automatic=yes
10945
hardcode_shlibpath_var=unsupported
10946
if test "$lt_cv_ld_force_load" = "yes"; then
10947
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\"`'
10950
whole_archive_flag_spec=''
10952
link_all_deplibs=yes
10953
allow_undefined_flag="$_lt_dar_allow_undefined"
10954
case $cc_basename in
10955
ifort*) _lt_dar_can_shared=yes ;;
10956
*) _lt_dar_can_shared=$GCC ;;
10958
if test "$_lt_dar_can_shared" = "yes"; then
10959
output_verbose_link_cmd=func_echo_all
10960
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10961
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10962
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}"
10963
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}"
10972
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10973
hardcode_libdir_flag_spec='-L$libdir'
10974
hardcode_shlibpath_var=no
10977
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10978
# support. Future versions do this automatically, but an explicit c++rt0.o
10979
# does not break anything, and helps significantly (at the cost of a little
10982
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10983
hardcode_libdir_flag_spec='-R$libdir'
10984
hardcode_direct=yes
10985
hardcode_shlibpath_var=no
10988
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10990
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10991
hardcode_direct=yes
10992
hardcode_minus_L=yes
10993
hardcode_shlibpath_var=no
10996
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10997
freebsd* | dragonfly*)
10998
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10999
hardcode_libdir_flag_spec='-R$libdir'
11000
hardcode_direct=yes
11001
hardcode_shlibpath_var=no
11005
if test "$GCC" = yes; then
11006
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'
11008
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'
11010
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11011
hardcode_libdir_separator=:
11012
hardcode_direct=yes
11014
# hardcode_minus_L: Not really in the search PATH,
11015
# but as the default location of the library.
11016
hardcode_minus_L=yes
11017
export_dynamic_flag_spec='${wl}-E'
11021
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11022
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11024
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11026
if test "$with_gnu_ld" = no; then
11027
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11028
hardcode_libdir_separator=:
11029
hardcode_direct=yes
11030
hardcode_direct_absolute=yes
11031
export_dynamic_flag_spec='${wl}-E'
11032
# hardcode_minus_L: Not really in the search PATH,
11033
# but as the default location of the library.
11034
hardcode_minus_L=yes
11039
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11042
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11045
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11048
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11054
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11057
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11061
# Older versions of the 11.00 compiler do not understand -b yet
11062
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11064
$as_echo_n "checking if $CC understands -b... " >&6; }
11065
if ${lt_cv_prog_compiler__b+:} false; then :
11066
$as_echo_n "(cached) " >&6
11068
lt_cv_prog_compiler__b=no
11069
save_LDFLAGS="$LDFLAGS"
11070
LDFLAGS="$LDFLAGS -b"
11071
echo "$lt_simple_link_test_code" > conftest.$ac_ext
11072
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11073
# The linker can only warn and ignore the option if not recognized
11074
# So say no if there are warnings
11075
if test -s conftest.err; then
11076
# Append any errors to the config.log.
11077
cat conftest.err 1>&5
11078
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11079
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11080
if diff conftest.exp conftest.er2 >/dev/null; then
11081
lt_cv_prog_compiler__b=yes
11084
lt_cv_prog_compiler__b=yes
11088
LDFLAGS="$save_LDFLAGS"
11091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11092
$as_echo "$lt_cv_prog_compiler__b" >&6; }
11094
if test x"$lt_cv_prog_compiler__b" = xyes; then
11095
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11097
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11103
if test "$with_gnu_ld" = no; then
11104
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11105
hardcode_libdir_separator=:
11110
hardcode_shlibpath_var=no
11113
hardcode_direct=yes
11114
hardcode_direct_absolute=yes
11115
export_dynamic_flag_spec='${wl}-E'
11117
# hardcode_minus_L: Not really in the search PATH,
11118
# but as the default location of the library.
11119
hardcode_minus_L=yes
11125
irix5* | irix6* | nonstopux*)
11126
if test "$GCC" = yes; then
11127
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'
11128
# Try to use the -exported_symbol ld option, if it does not
11129
# work, assume that -exports_file does not work either and
11130
# implicitly export all symbols.
11131
# This should be the same for all languages, so no per-tag cache variable.
11132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11133
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11134
if ${lt_cv_irix_exported_symbol+:} false; then :
11135
$as_echo_n "(cached) " >&6
11137
save_LDFLAGS="$LDFLAGS"
11138
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11139
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140
/* end confdefs.h. */
11141
int foo (void) { return 0; }
11143
if ac_fn_c_try_link "$LINENO"; then :
11144
lt_cv_irix_exported_symbol=yes
11146
lt_cv_irix_exported_symbol=no
11148
rm -f core conftest.err conftest.$ac_objext \
11149
conftest$ac_exeext conftest.$ac_ext
11150
LDFLAGS="$save_LDFLAGS"
11152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11153
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11154
if test "$lt_cv_irix_exported_symbol" = yes; then
11155
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'
11158
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'
11159
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'
11161
archive_cmds_need_lc='no'
11162
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11163
hardcode_libdir_separator=:
11165
link_all_deplibs=yes
11169
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11170
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11172
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11174
hardcode_libdir_flag_spec='-R$libdir'
11175
hardcode_direct=yes
11176
hardcode_shlibpath_var=no
11180
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11181
hardcode_direct=yes
11182
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11183
hardcode_libdir_separator=:
11184
hardcode_shlibpath_var=no
11191
if test -f /usr/libexec/ld.so; then
11192
hardcode_direct=yes
11193
hardcode_shlibpath_var=no
11194
hardcode_direct_absolute=yes
11195
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11196
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11197
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11198
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11199
export_dynamic_flag_spec='${wl}-E'
11202
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11203
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11204
hardcode_libdir_flag_spec='-R$libdir'
11207
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11208
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11218
hardcode_libdir_flag_spec='-L$libdir'
11219
hardcode_minus_L=yes
11220
allow_undefined_flag=unsupported
11221
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'
11222
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11226
if test "$GCC" = yes; then
11227
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11228
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'
11230
allow_undefined_flag=' -expect_unresolved \*'
11231
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'
11233
archive_cmds_need_lc='no'
11234
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11235
hardcode_libdir_separator=:
11238
osf4* | osf5*) # as osf3* with the addition of -msym flag
11239
if test "$GCC" = yes; then
11240
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11241
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'
11242
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11244
allow_undefined_flag=' -expect_unresolved \*'
11245
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'
11246
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~
11247
$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'
11249
# Both c and cxx compiler support -rpath directly
11250
hardcode_libdir_flag_spec='-rpath $libdir'
11252
archive_cmds_need_lc='no'
11253
hardcode_libdir_separator=:
11257
no_undefined_flag=' -z defs'
11258
if test "$GCC" = yes; then
11260
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11261
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11262
$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'
11264
case `$CC -V 2>&1` in
11267
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11268
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11269
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11273
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11274
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11275
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11279
hardcode_libdir_flag_spec='-R$libdir'
11280
hardcode_shlibpath_var=no
11282
solaris2.[0-5] | solaris2.[0-5].*) ;;
11284
# The compiler driver will combine and reorder linker options,
11285
# but understands `-z linker_flag'. GCC discards it without `$wl',
11286
# but is careful enough not to reorder.
11287
# Supported since Solaris 2.6 (maybe 2.5.1?)
11288
if test "$GCC" = yes; then
11289
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11291
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11295
link_all_deplibs=yes
11299
if test "x$host_vendor" = xsequent; then
11300
# Use $CC to link under sequent, because it throws in some extra .o
11301
# files that make .init and .fini sections work.
11302
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11304
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11306
hardcode_libdir_flag_spec='-L$libdir'
11307
hardcode_direct=yes
11308
hardcode_minus_L=yes
11309
hardcode_shlibpath_var=no
11313
case $host_vendor in
11315
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11316
hardcode_direct=yes # is this really true???
11319
## LD is ld it makes a PLAMLIB
11320
## CC just makes a GrossModule.
11321
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11322
reload_cmds='$CC -r -o $output$reload_objs'
11326
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11327
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11330
runpath_var='LD_RUN_PATH'
11331
hardcode_shlibpath_var=no
11335
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11336
hardcode_shlibpath_var=no
11337
export_dynamic_flag_spec='-Bexport'
11341
if test -d /usr/nec; then
11342
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11343
hardcode_shlibpath_var=no
11344
runpath_var=LD_RUN_PATH
11345
hardcode_runpath_var=yes
11350
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11351
no_undefined_flag='${wl}-z,text'
11352
archive_cmds_need_lc=no
11353
hardcode_shlibpath_var=no
11354
runpath_var='LD_RUN_PATH'
11356
if test "$GCC" = yes; then
11357
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11358
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11360
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11361
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11365
sysv5* | sco3.2v5* | sco5v6*)
11366
# Note: We can NOT use -z defs as we might desire, because we do not
11367
# link with -lc, and that would cause any symbols used from libc to
11368
# always be unresolved, which means just about no library would
11369
# ever link correctly. If we're not using GNU ld we use -z text
11370
# though, which does catch some bad symbols but isn't as heavy-handed
11372
no_undefined_flag='${wl}-z,text'
11373
allow_undefined_flag='${wl}-z,nodefs'
11374
archive_cmds_need_lc=no
11375
hardcode_shlibpath_var=no
11376
hardcode_libdir_flag_spec='${wl}-R,$libdir'
11377
hardcode_libdir_separator=':'
11378
link_all_deplibs=yes
11379
export_dynamic_flag_spec='${wl}-Bexport'
11380
runpath_var='LD_RUN_PATH'
11382
if test "$GCC" = yes; then
11383
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11384
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11386
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11387
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11392
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11393
hardcode_libdir_flag_spec='-L$libdir'
11394
hardcode_shlibpath_var=no
11402
if test x$host_vendor = xsni; then
11404
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11405
export_dynamic_flag_spec='${wl}-Blargedynsym'
11411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11412
$as_echo "$ld_shlibs" >&6; }
11413
test "$ld_shlibs" = no && can_build_shared=no
11415
with_gnu_ld=$with_gnu_ld
11432
# Do we need to explicitly link libc?
11434
case "x$archive_cmds_need_lc" in
11436
# Assume -lc should be added
11437
archive_cmds_need_lc=yes
11439
if test "$enable_shared" = yes && test "$GCC" = yes; then
11440
case $archive_cmds in
11442
# FIXME: we may have to deal with multi-command sequences.
11445
# Test whether the compiler implicitly links with -lc since on some
11446
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11447
# to ld, don't add -lc before -lgcc.
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11449
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11450
if ${lt_cv_archive_cmds_need_lc+:} false; then :
11451
$as_echo_n "(cached) " >&6
11454
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11456
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11457
(eval $ac_compile) 2>&5
11459
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11460
test $ac_status = 0; } 2>conftest.err; then
11463
libobjs=conftest.$ac_objext
11465
wl=$lt_prog_compiler_wl
11466
pic_flag=$lt_prog_compiler_pic
11472
lt_save_allow_undefined_flag=$allow_undefined_flag
11473
allow_undefined_flag=
11474
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11475
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11477
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11478
test $ac_status = 0; }
11480
lt_cv_archive_cmds_need_lc=no
11482
lt_cv_archive_cmds_need_lc=yes
11484
allow_undefined_flag=$lt_save_allow_undefined_flag
11486
cat conftest.err 1>&5
11491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11492
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11493
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11652
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11654
if test "$GCC" = yes; then
11656
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11657
*) lt_awk_arg="/^libraries:/" ;;
11660
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11661
*) lt_sed_strip_eq="s,=/,/,g" ;;
11663
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11664
case $lt_search_path_spec in
11666
# if the path contains ";" then we assume it to be the separator
11667
# otherwise default to the standard path separator (i.e. ":") - it is
11668
# assumed that no part of a normal pathname contains ";" but that should
11669
# okay in the real world where ";" in dirpaths is itself problematic.
11670
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11673
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11676
# Ok, now we have the path, separated by spaces, we can step through it
11677
# and add multilib dir if necessary.
11678
lt_tmp_lt_search_path_spec=
11679
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11680
for lt_sys_path in $lt_search_path_spec; do
11681
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11682
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11684
test -d "$lt_sys_path" && \
11685
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11688
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11689
BEGIN {RS=" "; FS="/|\n";} {
11692
for (lt_i = NF; lt_i > 0; lt_i--) {
11693
if ($lt_i != "" && $lt_i != ".") {
11694
if ($lt_i == "..") {
11697
if (lt_count == 0) {
11698
lt_foo="/" $lt_i lt_foo;
11705
if (lt_foo != "") { lt_freq[lt_foo]++; }
11706
if (lt_freq[lt_foo] == 1) { print lt_foo; }
11708
# AWK program above erroneously prepends '/' to C:/dos/paths
11711
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11712
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
11714
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11716
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11718
library_names_spec=
11719
libname_spec='lib$name'
11723
postuninstall_cmds=
11727
shlibpath_overrides_runpath=unknown
11729
dynamic_linker="$host_os ld.so"
11730
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11731
need_lib_prefix=unknown
11732
hardcode_into_libs=no
11734
# when you set need_version to no, make sure it does not cause -set_version
11735
# flags to be left without arguments
11736
need_version=unknown
11740
version_type=linux # correct to gnu/linux during the next big refactor
11741
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11742
shlibpath_var=LIBPATH
11744
# AIX 3 has no versioning support, so we append a major version to the name.
11745
soname_spec='${libname}${release}${shared_ext}$major'
11749
version_type=linux # correct to gnu/linux during the next big refactor
11752
hardcode_into_libs=yes
11753
if test "$host_cpu" = ia64; then
11754
# AIX 5 supports IA64
11755
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11756
shlibpath_var=LD_LIBRARY_PATH
11758
# With GCC up to 2.95.x, collect2 would create an import file
11759
# for dependence libraries. The import file would start with
11760
# the line `#! .'. This would cause the generated library to
11761
# depend on `.', always an invalid library. This was fixed in
11762
# development snapshots of GCC prior to 3.0.
11764
aix4 | aix4.[01] | aix4.[01].*)
11765
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11767
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11770
can_build_shared=no
11774
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11775
# soname into executable. Probably we can add versioning support to
11776
# collect2, so additional links can be useful in future.
11777
if test "$aix_use_runtimelinking" = yes; then
11778
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11779
# instead of lib<name>.a to let people know that these are not
11780
# typical AIX shared libraries.
11781
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11783
# We preserve .a as extension for shared libraries through AIX4.2
11784
# and later when we are not doing run time linking.
11785
library_names_spec='${libname}${release}.a $libname.a'
11786
soname_spec='${libname}${release}${shared_ext}$major'
11788
shlibpath_var=LIBPATH
11795
# Since July 2007 AmigaOS4 officially supports .so libraries.
11796
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11797
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11800
library_names_spec='$libname.ixlibrary $libname.a'
11801
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11802
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'
11808
library_names_spec='${libname}${shared_ext}'
11809
dynamic_linker="$host_os ld.so"
11810
shlibpath_var=LIBRARY_PATH
11814
version_type=linux # correct to gnu/linux during the next big refactor
11816
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817
soname_spec='${libname}${release}${shared_ext}$major'
11818
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11819
shlibpath_var=LD_LIBRARY_PATH
11820
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11821
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11822
# the default ld.so.conf also contains /usr/contrib/lib and
11823
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11824
# libtool to hard-code these into programs
11827
cygwin* | mingw* | pw32* | cegcc*)
11828
version_type=windows
11833
case $GCC,$cc_basename in
11836
library_names_spec='$libname.dll.a'
11837
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11838
postinstall_cmds='base_file=`basename \${file}`~
11839
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11840
dldir=$destdir/`dirname \$dlpath`~
11841
test -d \$dldir || mkdir -p \$dldir~
11842
$install_prog $dir/$dlname \$dldir/$dlname~
11843
chmod a+x \$dldir/$dlname~
11844
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11845
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11847
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11848
dlpath=$dir/\$dldll~
11850
shlibpath_overrides_runpath=yes
11854
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11855
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11857
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11860
# MinGW DLLs use traditional 'lib' prefix
11861
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11864
# pw32 DLLs use 'pw' prefix rather than 'lib'
11865
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11868
dynamic_linker='Win32 ld.exe'
11873
libname_spec='$name'
11874
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11875
library_names_spec='${libname}.dll.lib'
11879
sys_lib_search_path_spec=
11882
for lt_path in $LIB
11885
# Let DOS variable expansion print the short 8.3 style file name.
11886
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11887
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11890
# Convert to MSYS style.
11891
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11894
# Convert to unix form, then to dos form, then back to unix form
11895
# but this time dos style (no spaces!) so that the unix form looks
11896
# like /cygdrive/c/PROGRA~1:/cygdr...
11897
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11898
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11899
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11902
sys_lib_search_path_spec="$LIB"
11903
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11904
# It is most probably a Windows format PATH.
11905
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11907
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11909
# FIXME: find the short name or the path components, as spaces are
11910
# common. (e.g. "Program Files" -> "PROGRA~1")
11914
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11915
postinstall_cmds='base_file=`basename \${file}`~
11916
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11917
dldir=$destdir/`dirname \$dlpath`~
11918
test -d \$dldir || mkdir -p \$dldir~
11919
$install_prog $dir/$dlname \$dldir/$dlname'
11920
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11921
dlpath=$dir/\$dldll~
11923
shlibpath_overrides_runpath=yes
11924
dynamic_linker='Win32 link.exe'
11928
# Assume MSVC wrapper
11929
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11930
dynamic_linker='Win32 ld.exe'
11933
# FIXME: first we should search . and the directory the executable is in
11937
darwin* | rhapsody*)
11938
dynamic_linker="$host_os dyld"
11939
version_type=darwin
11942
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11943
soname_spec='${libname}${release}${major}$shared_ext'
11944
shlibpath_overrides_runpath=yes
11945
shlibpath_var=DYLD_LIBRARY_PATH
11946
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11948
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11949
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11953
version_type=linux # correct to gnu/linux during the next big refactor
11956
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11957
soname_spec='${libname}${release}${shared_ext}$major'
11958
shlibpath_var=LD_LIBRARY_PATH
11961
freebsd* | dragonfly*)
11962
# DragonFly does not have aout. When/if they implement a new
11963
# versioning mechanism, adjust this.
11964
if test -x /usr/bin/objformat; then
11965
objformat=`/usr/bin/objformat`
11968
freebsd[23].*) objformat=aout ;;
11969
*) objformat=elf ;;
11972
version_type=freebsd-$objformat
11973
case $version_type in
11975
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11980
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11984
shlibpath_var=LD_LIBRARY_PATH
11987
shlibpath_overrides_runpath=yes
11989
freebsd3.[01]* | freebsdelf3.[01]*)
11990
shlibpath_overrides_runpath=yes
11991
hardcode_into_libs=yes
11993
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11994
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11995
shlibpath_overrides_runpath=no
11996
hardcode_into_libs=yes
11998
*) # from 4.6 on, and DragonFly
11999
shlibpath_overrides_runpath=yes
12000
hardcode_into_libs=yes
12006
version_type=linux # correct to gnu/linux during the next big refactor
12009
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12010
soname_spec='${libname}${release}${shared_ext}$major'
12011
shlibpath_var=LD_LIBRARY_PATH
12012
shlibpath_overrides_runpath=no
12013
hardcode_into_libs=yes
12017
version_type=linux # correct to gnu/linux during the next big refactor
12020
dynamic_linker="$host_os runtime_loader"
12021
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12022
soname_spec='${libname}${release}${shared_ext}$major'
12023
shlibpath_var=LIBRARY_PATH
12024
shlibpath_overrides_runpath=yes
12025
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12026
hardcode_into_libs=yes
12029
hpux9* | hpux10* | hpux11*)
12030
# Give a soname corresponding to the major version so that dld.sl refuses to
12031
# link against other versions.
12038
hardcode_into_libs=yes
12039
dynamic_linker="$host_os dld.so"
12040
shlibpath_var=LD_LIBRARY_PATH
12041
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12042
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12043
soname_spec='${libname}${release}${shared_ext}$major'
12044
if test "X$HPUX_IA64_MODE" = X32; then
12045
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12047
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12049
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12053
hardcode_into_libs=yes
12054
dynamic_linker="$host_os dld.sl"
12055
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12056
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12057
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12058
soname_spec='${libname}${release}${shared_ext}$major'
12059
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12060
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12064
dynamic_linker="$host_os dld.sl"
12065
shlibpath_var=SHLIB_PATH
12066
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12067
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068
soname_spec='${libname}${release}${shared_ext}$major'
12071
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12072
postinstall_cmds='chmod 555 $lib'
12073
# or fails outright, so override atomically:
12074
install_override_mode=555
12078
version_type=linux # correct to gnu/linux during the next big refactor
12081
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12082
soname_spec='${libname}${release}${shared_ext}$major'
12083
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12084
shlibpath_var=LD_LIBRARY_PATH
12085
shlibpath_overrides_runpath=no
12086
hardcode_into_libs=yes
12089
irix5* | irix6* | nonstopux*)
12091
nonstopux*) version_type=nonstopux ;;
12093
if test "$lt_cv_prog_gnu_ld" = yes; then
12094
version_type=linux # correct to gnu/linux during the next big refactor
12101
soname_spec='${libname}${release}${shared_ext}$major'
12102
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12104
irix5* | nonstopux*)
12105
libsuff= shlibsuff=
12108
case $LD in # libtool.m4 will add one of these switches to LD
12109
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12110
libsuff= shlibsuff= libmagic=32-bit;;
12111
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12112
libsuff=32 shlibsuff=N32 libmagic=N32;;
12113
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12114
libsuff=64 shlibsuff=64 libmagic=64-bit;;
12115
*) libsuff= shlibsuff= libmagic=never-match;;
12119
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12120
shlibpath_overrides_runpath=no
12121
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12122
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12123
hardcode_into_libs=yes
12126
# No shared lib support for Linux oldld, aout, or coff.
12127
linux*oldld* | linux*aout* | linux*coff*)
12131
# This must be glibc/ELF.
12132
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12133
version_type=linux # correct to gnu/linux during the next big refactor
12136
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12137
soname_spec='${libname}${release}${shared_ext}$major'
12138
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12139
shlibpath_var=LD_LIBRARY_PATH
12140
shlibpath_overrides_runpath=no
12142
# Some binutils ld are patched to set DT_RUNPATH
12143
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12144
$as_echo_n "(cached) " >&6
12146
lt_cv_shlibpath_overrides_runpath=no
12147
save_LDFLAGS=$LDFLAGS
12148
save_libdir=$libdir
12149
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12150
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12151
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152
/* end confdefs.h. */
12162
if ac_fn_c_try_link "$LINENO"; then :
12163
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12164
lt_cv_shlibpath_overrides_runpath=yes
12167
rm -f core conftest.err conftest.$ac_objext \
12168
conftest$ac_exeext conftest.$ac_ext
12169
LDFLAGS=$save_LDFLAGS
12170
libdir=$save_libdir
12174
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12176
# This implies no fast_install, which is unacceptable.
12177
# Some rework will be needed to allow for fast_install
12178
# before this can be enabled.
12179
hardcode_into_libs=yes
12181
# Append ld.so.conf contents to the search path
12182
if test -f /etc/ld.so.conf; then
12183
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' ' '`
12184
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12187
# We used to test for /lib/ld.so.1 and disable shared libraries on
12188
# powerpc, because MkLinux only supported shared libraries with the
12189
# GNU dynamic linker. Since this was broken with cross compilers,
12190
# most powerpc-linux boxes support dynamic linking these days and
12191
# people can always --disable-shared, the test was removed, and we
12192
# assume the GNU/Linux dynamic linker is in use.
12193
dynamic_linker='GNU/Linux ld.so'
12200
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12201
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12202
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12203
dynamic_linker='NetBSD (a.out) ld.so'
12205
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12206
soname_spec='${libname}${release}${shared_ext}$major'
12207
dynamic_linker='NetBSD ld.elf_so'
12209
shlibpath_var=LD_LIBRARY_PATH
12210
shlibpath_overrides_runpath=yes
12211
hardcode_into_libs=yes
12215
version_type=linux # correct to gnu/linux during the next big refactor
12216
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12217
shlibpath_var=LD_LIBRARY_PATH
12218
shlibpath_overrides_runpath=yes
12225
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226
soname_spec='${libname}${release}${shared_ext}$major'
12227
shlibpath_var=LD_LIBRARY_PATH
12228
shlibpath_overrides_runpath=no
12229
hardcode_into_libs=yes
12230
dynamic_linker='ldqnx.so'
12235
sys_lib_dlsearch_path_spec="/usr/lib"
12237
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12239
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12240
*) need_version=no ;;
12242
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12243
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12244
shlibpath_var=LD_LIBRARY_PATH
12245
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12247
openbsd2.[89] | openbsd2.[89].*)
12248
shlibpath_overrides_runpath=no
12251
shlibpath_overrides_runpath=yes
12255
shlibpath_overrides_runpath=yes
12260
libname_spec='$name'
12263
library_names_spec='$libname${shared_ext} $libname.a'
12264
dynamic_linker='OS/2 ld.exe'
12265
shlibpath_var=LIBPATH
12268
osf3* | osf4* | osf5*)
12272
soname_spec='${libname}${release}${shared_ext}$major'
12273
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274
shlibpath_var=LD_LIBRARY_PATH
12275
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12276
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12284
version_type=linux # correct to gnu/linux during the next big refactor
12287
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12288
soname_spec='${libname}${release}${shared_ext}$major'
12289
shlibpath_var=LD_LIBRARY_PATH
12290
shlibpath_overrides_runpath=yes
12291
hardcode_into_libs=yes
12292
# ldd complains unless libraries are executable
12293
postinstall_cmds='chmod +x $lib'
12298
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12299
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12300
shlibpath_var=LD_LIBRARY_PATH
12301
shlibpath_overrides_runpath=yes
12302
if test "$with_gnu_ld" = yes; then
12309
version_type=linux # correct to gnu/linux during the next big refactor
12310
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12311
soname_spec='${libname}${release}${shared_ext}$major'
12312
shlibpath_var=LD_LIBRARY_PATH
12313
case $host_vendor in
12315
shlibpath_overrides_runpath=no
12317
runpath_var=LD_RUN_PATH
12325
shlibpath_overrides_runpath=no
12326
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12332
if test -d /usr/nec ;then
12333
version_type=linux # correct to gnu/linux during the next big refactor
12334
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12335
soname_spec='$libname${shared_ext}.$major'
12336
shlibpath_var=LD_LIBRARY_PATH
12340
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12341
version_type=freebsd-elf
12344
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12345
soname_spec='${libname}${release}${shared_ext}$major'
12346
shlibpath_var=LD_LIBRARY_PATH
12347
shlibpath_overrides_runpath=yes
12348
hardcode_into_libs=yes
12349
if test "$with_gnu_ld" = yes; then
12350
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12352
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12355
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12359
sys_lib_dlsearch_path_spec='/usr/lib'
12363
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12364
version_type=linux # correct to gnu/linux during the next big refactor
12367
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12368
shlibpath_var=LD_LIBRARY_PATH
12369
shlibpath_overrides_runpath=no
12370
hardcode_into_libs=yes
12374
version_type=linux # correct to gnu/linux during the next big refactor
12375
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12376
soname_spec='${libname}${release}${shared_ext}$major'
12377
shlibpath_var=LD_LIBRARY_PATH
12384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12385
$as_echo "$dynamic_linker" >&6; }
12386
test "$dynamic_linker" = no && can_build_shared=no
12388
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12389
if test "$GCC" = yes; then
12390
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12393
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12394
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12396
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12397
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12492
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12494
if test -n "$hardcode_libdir_flag_spec" ||
12495
test -n "$runpath_var" ||
12496
test "X$hardcode_automatic" = "Xyes" ; then
12498
# We can hardcode non-existent directories.
12499
if test "$hardcode_direct" != no &&
12500
# If the only mechanism to avoid hardcoding is shlibpath_var, we
12501
# have to relink, otherwise we might link with an installed library
12502
# when we should be linking with a yet-to-be-installed one
12503
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12504
test "$hardcode_minus_L" != no; then
12505
# Linking always hardcodes the temporary library directory.
12506
hardcode_action=relink
12508
# We can link without hardcoding, and we can hardcode nonexisting dirs.
12509
hardcode_action=immediate
12512
# We cannot hardcode anything, or else we can only hardcode existing
12514
hardcode_action=unsupported
12516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12517
$as_echo "$hardcode_action" >&6; }
12519
if test "$hardcode_action" = relink ||
12520
test "$inherit_rpath" = yes; then
12521
# Fast installation is not supported
12522
enable_fast_install=no
12523
elif test "$shlibpath_overrides_runpath" = yes ||
12524
test "$enable_shared" = no; then
12525
# Fast installation is not necessary
12526
enable_fast_install=needless
12534
if test "x$enable_dlopen" != xyes; then
12535
enable_dlopen=unknown
12536
enable_dlopen_self=unknown
12537
enable_dlopen_self_static=unknown
12544
lt_cv_dlopen="load_add_on"
12546
lt_cv_dlopen_self=yes
12549
mingw* | pw32* | cegcc*)
12550
lt_cv_dlopen="LoadLibrary"
12555
lt_cv_dlopen="dlopen"
12560
# if libdl is installed we need to link against it
12561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12562
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12563
if ${ac_cv_lib_dl_dlopen+:} false; then :
12564
$as_echo_n "(cached) " >&6
12566
ac_check_lib_save_LIBS=$LIBS
12568
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569
/* end confdefs.h. */
12571
/* Override any GCC internal prototype to avoid an error.
12572
Use char because int might match the return type of a GCC
12573
builtin and then its argument prototype would still apply. */
12586
if ac_fn_c_try_link "$LINENO"; then :
12587
ac_cv_lib_dl_dlopen=yes
12589
ac_cv_lib_dl_dlopen=no
12591
rm -f core conftest.err conftest.$ac_objext \
12592
conftest$ac_exeext conftest.$ac_ext
12593
LIBS=$ac_check_lib_save_LIBS
12595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12596
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12597
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12598
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12601
lt_cv_dlopen="dyld"
12603
lt_cv_dlopen_self=yes
12610
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12611
if test "x$ac_cv_func_shl_load" = xyes; then :
12612
lt_cv_dlopen="shl_load"
12614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12615
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12616
if ${ac_cv_lib_dld_shl_load+:} false; then :
12617
$as_echo_n "(cached) " >&6
12619
ac_check_lib_save_LIBS=$LIBS
12621
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622
/* end confdefs.h. */
12624
/* Override any GCC internal prototype to avoid an error.
12625
Use char because int might match the return type of a GCC
12626
builtin and then its argument prototype would still apply. */
12634
return shl_load ();
12639
if ac_fn_c_try_link "$LINENO"; then :
12640
ac_cv_lib_dld_shl_load=yes
12642
ac_cv_lib_dld_shl_load=no
12644
rm -f core conftest.err conftest.$ac_objext \
12645
conftest$ac_exeext conftest.$ac_ext
12646
LIBS=$ac_check_lib_save_LIBS
12648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12649
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12650
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12651
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12653
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12654
if test "x$ac_cv_func_dlopen" = xyes; then :
12655
lt_cv_dlopen="dlopen"
12657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12658
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12659
if ${ac_cv_lib_dl_dlopen+:} false; then :
12660
$as_echo_n "(cached) " >&6
12662
ac_check_lib_save_LIBS=$LIBS
12664
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665
/* end confdefs.h. */
12667
/* Override any GCC internal prototype to avoid an error.
12668
Use char because int might match the return type of a GCC
12669
builtin and then its argument prototype would still apply. */
12682
if ac_fn_c_try_link "$LINENO"; then :
12683
ac_cv_lib_dl_dlopen=yes
12685
ac_cv_lib_dl_dlopen=no
12687
rm -f core conftest.err conftest.$ac_objext \
12688
conftest$ac_exeext conftest.$ac_ext
12689
LIBS=$ac_check_lib_save_LIBS
12691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12692
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12693
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12694
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12697
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12698
if ${ac_cv_lib_svld_dlopen+:} false; then :
12699
$as_echo_n "(cached) " >&6
12701
ac_check_lib_save_LIBS=$LIBS
12702
LIBS="-lsvld $LIBS"
12703
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704
/* end confdefs.h. */
12706
/* Override any GCC internal prototype to avoid an error.
12707
Use char because int might match the return type of a GCC
12708
builtin and then its argument prototype would still apply. */
12721
if ac_fn_c_try_link "$LINENO"; then :
12722
ac_cv_lib_svld_dlopen=yes
12724
ac_cv_lib_svld_dlopen=no
12726
rm -f core conftest.err conftest.$ac_objext \
12727
conftest$ac_exeext conftest.$ac_ext
12728
LIBS=$ac_check_lib_save_LIBS
12730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12731
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12732
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12733
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12736
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12737
if ${ac_cv_lib_dld_dld_link+:} false; then :
12738
$as_echo_n "(cached) " >&6
12740
ac_check_lib_save_LIBS=$LIBS
12742
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12743
/* end confdefs.h. */
12745
/* Override any GCC internal prototype to avoid an error.
12746
Use char because int might match the return type of a GCC
12747
builtin and then its argument prototype would still apply. */
12755
return dld_link ();
12760
if ac_fn_c_try_link "$LINENO"; then :
12761
ac_cv_lib_dld_dld_link=yes
12763
ac_cv_lib_dld_dld_link=no
12765
rm -f core conftest.err conftest.$ac_objext \
12766
conftest$ac_exeext conftest.$ac_ext
12767
LIBS=$ac_check_lib_save_LIBS
12769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12770
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12771
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12772
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12793
if test "x$lt_cv_dlopen" != xno; then
12799
case $lt_cv_dlopen in
12801
save_CPPFLAGS="$CPPFLAGS"
12802
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12804
save_LDFLAGS="$LDFLAGS"
12805
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12808
LIBS="$lt_cv_dlopen_libs $LIBS"
12810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12811
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12812
if ${lt_cv_dlopen_self+:} false; then :
12813
$as_echo_n "(cached) " >&6
12815
if test "$cross_compiling" = yes; then :
12816
lt_cv_dlopen_self=cross
12818
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12819
lt_status=$lt_dlunknown
12820
cat > conftest.$ac_ext <<_LT_EOF
12821
#line $LINENO "configure"
12822
#include "confdefs.h"
12831
# define LT_DLGLOBAL RTLD_GLOBAL
12834
# define LT_DLGLOBAL DL_GLOBAL
12836
# define LT_DLGLOBAL 0
12840
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12841
find out it does not work in some platform. */
12842
#ifndef LT_DLLAZY_OR_NOW
12844
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12847
# define LT_DLLAZY_OR_NOW DL_LAZY
12850
# define LT_DLLAZY_OR_NOW RTLD_NOW
12853
# define LT_DLLAZY_OR_NOW DL_NOW
12855
# define LT_DLLAZY_OR_NOW 0
12862
/* When -fvisbility=hidden is used, assume the code has been annotated
12863
correspondingly for the symbols needed. */
12864
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12865
int fnord () __attribute__((visibility("default")));
12868
int fnord () { return 42; }
12871
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12872
int status = $lt_dlunknown;
12876
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12879
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12880
else puts (dlerror ());
12882
/* dlclose (self); */
12890
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12891
(eval $ac_link) 2>&5
12893
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12894
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12895
(./conftest; exit; ) >&5 2>/dev/null
12897
case x$lt_status in
12898
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12899
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12900
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12903
# compilation failed
12904
lt_cv_dlopen_self=no
12911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12912
$as_echo "$lt_cv_dlopen_self" >&6; }
12914
if test "x$lt_cv_dlopen_self" = xyes; then
12915
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12917
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12918
if ${lt_cv_dlopen_self_static+:} false; then :
12919
$as_echo_n "(cached) " >&6
12921
if test "$cross_compiling" = yes; then :
12922
lt_cv_dlopen_self_static=cross
12924
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12925
lt_status=$lt_dlunknown
12926
cat > conftest.$ac_ext <<_LT_EOF
12927
#line $LINENO "configure"
12928
#include "confdefs.h"
12937
# define LT_DLGLOBAL RTLD_GLOBAL
12940
# define LT_DLGLOBAL DL_GLOBAL
12942
# define LT_DLGLOBAL 0
12946
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12947
find out it does not work in some platform. */
12948
#ifndef LT_DLLAZY_OR_NOW
12950
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12953
# define LT_DLLAZY_OR_NOW DL_LAZY
12956
# define LT_DLLAZY_OR_NOW RTLD_NOW
12959
# define LT_DLLAZY_OR_NOW DL_NOW
12961
# define LT_DLLAZY_OR_NOW 0
12968
/* When -fvisbility=hidden is used, assume the code has been annotated
12969
correspondingly for the symbols needed. */
12970
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12971
int fnord () __attribute__((visibility("default")));
12974
int fnord () { return 42; }
12977
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12978
int status = $lt_dlunknown;
12982
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12985
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12986
else puts (dlerror ());
12988
/* dlclose (self); */
12996
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12997
(eval $ac_link) 2>&5
12999
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13001
(./conftest; exit; ) >&5 2>/dev/null
13003
case x$lt_status in
13004
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13005
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13006
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13009
# compilation failed
13010
lt_cv_dlopen_self_static=no
13017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13018
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13021
CPPFLAGS="$save_CPPFLAGS"
13022
LDFLAGS="$save_LDFLAGS"
13027
case $lt_cv_dlopen_self in
13028
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13029
*) enable_dlopen_self=unknown ;;
13032
case $lt_cv_dlopen_self_static in
13033
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13034
*) enable_dlopen_self_static=unknown ;;
13056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13057
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13058
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13059
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13060
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13062
$as_echo "yes" >&6; }
13064
# FIXME - insert some real tests, host_os isn't really good enough
13067
if test -n "$STRIP" ; then
13068
striplib="$STRIP -x"
13069
old_striplib="$STRIP -S"
13070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13071
$as_echo "yes" >&6; }
13073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13074
$as_echo "no" >&6; }
13078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13079
$as_echo "no" >&6; }
13095
# Report which library types will actually be built
13096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13097
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13099
$as_echo "$can_build_shared" >&6; }
13101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13102
$as_echo_n "checking whether to build shared libraries... " >&6; }
13103
test "$can_build_shared" = "no" && enable_shared=no
13105
# On AIX, shared libraries and static libraries use the same namespace, and
13106
# are all built from PIC.
13109
test "$enable_shared" = yes && enable_static=no
13110
if test -n "$RANLIB"; then
13111
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13112
postinstall_cmds='$RANLIB $lib'
13117
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13118
test "$enable_shared" = yes && enable_static=no
13122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13123
$as_echo "$enable_shared" >&6; }
13125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13126
$as_echo_n "checking whether to build static libraries... " >&6; }
13127
# Make sure either enable_shared or enable_static is yes.
13128
test "$enable_shared" = yes || enable_static=yes
13129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13130
$as_echo "$enable_static" >&6; }
13137
ac_cpp='$CPP $CPPFLAGS'
13138
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13139
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13140
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13158
ac_config_commands="$ac_config_commands libtool"
13163
# Only expand once:
13167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13168
$as_echo_n "checking for ANSI C header files... " >&6; }
13169
if ${ac_cv_header_stdc+:} false; then :
13170
$as_echo_n "(cached) " >&6
13172
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173
/* end confdefs.h. */
13174
#include <stdlib.h>
13175
#include <stdarg.h>
13176
#include <string.h>
13187
if ac_fn_c_try_compile "$LINENO"; then :
13188
ac_cv_header_stdc=yes
13190
ac_cv_header_stdc=no
13192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13194
if test $ac_cv_header_stdc = yes; then
13195
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13196
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197
/* end confdefs.h. */
13198
#include <string.h>
13201
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13202
$EGREP "memchr" >/dev/null 2>&1; then :
13205
ac_cv_header_stdc=no
13211
if test $ac_cv_header_stdc = yes; then
13212
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214
/* end confdefs.h. */
13215
#include <stdlib.h>
13218
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13219
$EGREP "free" >/dev/null 2>&1; then :
13222
ac_cv_header_stdc=no
13228
if test $ac_cv_header_stdc = yes; then
13229
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13230
if test "$cross_compiling" = yes; then :
13233
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234
/* end confdefs.h. */
13236
#include <stdlib.h>
13237
#if ((' ' & 0x0FF) == 0x020)
13238
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13239
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13241
# define ISLOWER(c) \
13242
(('a' <= (c) && (c) <= 'i') \
13243
|| ('j' <= (c) && (c) <= 'r') \
13244
|| ('s' <= (c) && (c) <= 'z'))
13245
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13248
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13253
for (i = 0; i < 256; i++)
13254
if (XOR (islower (i), ISLOWER (i))
13255
|| toupper (i) != TOUPPER (i))
13260
if ac_fn_c_try_run "$LINENO"; then :
13263
ac_cv_header_stdc=no
13265
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13266
conftest.$ac_objext conftest.beam conftest.$ac_ext
13271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13272
$as_echo "$ac_cv_header_stdc" >&6; }
13273
if test $ac_cv_header_stdc = yes; then
13275
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13279
for ac_header in err.h errno.h grp.h limits.h locale.h pwd.h \
13280
signal.h sys/stat.h sys/types.h sys/utsname.h \
13281
sys/wait.h time.h unistd.h stdarg.h varargs.h libintl.h
13283
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13284
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13285
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13286
cat >>confdefs.h <<_ACEOF
13287
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13294
for ac_func in gethostname getpwnam setenv setlocale strdup unsetenv\
13295
bind_textdomain_codeset
13297
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13298
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13299
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13300
cat >>confdefs.h <<_ACEOF
13301
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13309
GETTEXT_PACKAGE=libxfce4util
13311
cat >>confdefs.h <<_ACEOF
13312
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13317
ALL_LINGUAS="am ar ast bn ca cs cy da de dz el en_GB es et eu fi fr gl he hu id is it ja ka kk ko lt lv mk nb nl nn pa pl pt pt_BR ro ru si sk sl sq sv tl_PH tr ug uk ur ur_PK zh_CN zh_TW "
13319
for ac_header in locale.h
13321
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13322
if test "x$ac_cv_header_locale_h" = xyes; then :
13323
cat >>confdefs.h <<_ACEOF
13324
#define HAVE_LOCALE_H 1
13331
if test $ac_cv_header_locale_h = yes; then
13332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13333
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13334
if ${am_cv_val_LC_MESSAGES+:} false; then :
13335
$as_echo_n "(cached) " >&6
13337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338
/* end confdefs.h. */
13339
#include <locale.h>
13348
if ac_fn_c_try_link "$LINENO"; then :
13349
am_cv_val_LC_MESSAGES=yes
13351
am_cv_val_LC_MESSAGES=no
13353
rm -f core conftest.err conftest.$ac_objext \
13354
conftest$ac_exeext conftest.$ac_ext
13356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13357
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13358
if test $am_cv_val_LC_MESSAGES = yes; then
13360
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13367
gt_cv_have_gettext=no
13373
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13374
if test "x$ac_cv_header_libintl_h" = xyes; then :
13375
gt_cv_func_dgettext_libintl="no"
13376
libintl_extra_libs=""
13379
# First check in libc
13381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13382
$as_echo_n "checking for ngettext in libc... " >&6; }
13383
if ${gt_cv_func_ngettext_libc+:} false; then :
13384
$as_echo_n "(cached) " >&6
13386
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387
/* end confdefs.h. */
13389
#include <libintl.h>
13394
return !ngettext ("","", 1)
13399
if ac_fn_c_try_link "$LINENO"; then :
13400
gt_cv_func_ngettext_libc=yes
13402
gt_cv_func_ngettext_libc=no
13404
rm -f core conftest.err conftest.$ac_objext \
13405
conftest$ac_exeext conftest.$ac_ext
13408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13409
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13411
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13413
$as_echo_n "checking for dgettext in libc... " >&6; }
13414
if ${gt_cv_func_dgettext_libc+:} false; then :
13415
$as_echo_n "(cached) " >&6
13417
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418
/* end confdefs.h. */
13420
#include <libintl.h>
13425
return !dgettext ("","")
13430
if ac_fn_c_try_link "$LINENO"; then :
13431
gt_cv_func_dgettext_libc=yes
13433
gt_cv_func_dgettext_libc=no
13435
rm -f core conftest.err conftest.$ac_objext \
13436
conftest$ac_exeext conftest.$ac_ext
13439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13440
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13443
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13444
for ac_func in bind_textdomain_codeset
13446
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13447
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13448
cat >>confdefs.h <<_ACEOF
13449
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13458
# If we don't have everything we want, check in libintl
13460
if test "$gt_cv_func_dgettext_libc" != "yes" \
13461
|| test "$gt_cv_func_ngettext_libc" != "yes" \
13462
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13465
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13466
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13467
$as_echo_n "(cached) " >&6
13469
ac_check_lib_save_LIBS=$LIBS
13470
LIBS="-lintl $LIBS"
13471
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472
/* end confdefs.h. */
13474
/* Override any GCC internal prototype to avoid an error.
13475
Use char because int might match the return type of a GCC
13476
builtin and then its argument prototype would still apply. */
13480
char bindtextdomain ();
13484
return bindtextdomain ();
13489
if ac_fn_c_try_link "$LINENO"; then :
13490
ac_cv_lib_intl_bindtextdomain=yes
13492
ac_cv_lib_intl_bindtextdomain=no
13494
rm -f core conftest.err conftest.$ac_objext \
13495
conftest$ac_exeext conftest.$ac_ext
13496
LIBS=$ac_check_lib_save_LIBS
13498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13499
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13500
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13502
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13503
if ${ac_cv_lib_intl_ngettext+:} false; then :
13504
$as_echo_n "(cached) " >&6
13506
ac_check_lib_save_LIBS=$LIBS
13507
LIBS="-lintl $LIBS"
13508
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509
/* end confdefs.h. */
13511
/* Override any GCC internal prototype to avoid an error.
13512
Use char because int might match the return type of a GCC
13513
builtin and then its argument prototype would still apply. */
13521
return ngettext ();
13526
if ac_fn_c_try_link "$LINENO"; then :
13527
ac_cv_lib_intl_ngettext=yes
13529
ac_cv_lib_intl_ngettext=no
13531
rm -f core conftest.err conftest.$ac_objext \
13532
conftest$ac_exeext conftest.$ac_ext
13533
LIBS=$ac_check_lib_save_LIBS
13535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13536
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13537
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13539
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13540
if ${ac_cv_lib_intl_dgettext+:} false; then :
13541
$as_echo_n "(cached) " >&6
13543
ac_check_lib_save_LIBS=$LIBS
13544
LIBS="-lintl $LIBS"
13545
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546
/* end confdefs.h. */
13548
/* Override any GCC internal prototype to avoid an error.
13549
Use char because int might match the return type of a GCC
13550
builtin and then its argument prototype would still apply. */
13558
return dgettext ();
13563
if ac_fn_c_try_link "$LINENO"; then :
13564
ac_cv_lib_intl_dgettext=yes
13566
ac_cv_lib_intl_dgettext=no
13568
rm -f core conftest.err conftest.$ac_objext \
13569
conftest$ac_exeext conftest.$ac_ext
13570
LIBS=$ac_check_lib_save_LIBS
13572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13573
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13574
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13575
gt_cv_func_dgettext_libintl=yes
13583
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13585
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13589
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13590
if ${ac_cv_lib_intl_ngettext+:} false; then :
13591
$as_echo_n "(cached) " >&6
13593
ac_check_lib_save_LIBS=$LIBS
13594
LIBS="-lintl -liconv $LIBS"
13595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596
/* end confdefs.h. */
13598
/* Override any GCC internal prototype to avoid an error.
13599
Use char because int might match the return type of a GCC
13600
builtin and then its argument prototype would still apply. */
13608
return ngettext ();
13613
if ac_fn_c_try_link "$LINENO"; then :
13614
ac_cv_lib_intl_ngettext=yes
13616
ac_cv_lib_intl_ngettext=no
13618
rm -f core conftest.err conftest.$ac_objext \
13619
conftest$ac_exeext conftest.$ac_ext
13620
LIBS=$ac_check_lib_save_LIBS
13622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13623
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13624
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13626
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13627
if ${ac_cv_lib_intl_dcgettext+:} false; then :
13628
$as_echo_n "(cached) " >&6
13630
ac_check_lib_save_LIBS=$LIBS
13631
LIBS="-lintl -liconv $LIBS"
13632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633
/* end confdefs.h. */
13635
/* Override any GCC internal prototype to avoid an error.
13636
Use char because int might match the return type of a GCC
13637
builtin and then its argument prototype would still apply. */
13645
return dcgettext ();
13650
if ac_fn_c_try_link "$LINENO"; then :
13651
ac_cv_lib_intl_dcgettext=yes
13653
ac_cv_lib_intl_dcgettext=no
13655
rm -f core conftest.err conftest.$ac_objext \
13656
conftest$ac_exeext conftest.$ac_ext
13657
LIBS=$ac_check_lib_save_LIBS
13659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13660
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13661
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13662
gt_cv_func_dgettext_libintl=yes
13663
libintl_extra_libs=-liconv
13675
# If we found libintl, then check in it for bind_textdomain_codeset();
13676
# we'll prefer libc if neither have bind_textdomain_codeset(),
13677
# and both have dgettext and ngettext
13679
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13680
glib_save_LIBS="$LIBS"
13681
LIBS="$LIBS -lintl $libintl_extra_libs"
13682
unset ac_cv_func_bind_textdomain_codeset
13683
for ac_func in bind_textdomain_codeset
13685
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13686
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13687
cat >>confdefs.h <<_ACEOF
13688
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13694
LIBS="$glib_save_LIBS"
13696
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13697
gt_cv_func_dgettext_libc=no
13699
if test "$gt_cv_func_dgettext_libc" = "yes" \
13700
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13701
gt_cv_func_dgettext_libintl=no
13707
if test "$gt_cv_func_dgettext_libc" = "yes" \
13708
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13709
gt_cv_have_gettext=yes
13712
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13713
INTLLIBS="-lintl $libintl_extra_libs"
13716
if test "$gt_cv_have_gettext" = "yes"; then
13718
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13720
# Extract the first word of "msgfmt", so it can be a program name with args.
13721
set dummy msgfmt; ac_word=$2
13722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13723
$as_echo_n "checking for $ac_word... " >&6; }
13724
if ${ac_cv_path_MSGFMT+:} false; then :
13725
$as_echo_n "(cached) " >&6
13729
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13732
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13733
for ac_dir in $PATH; do
13734
test -z "$ac_dir" && ac_dir=.
13735
if test -f $ac_dir/$ac_word; then
13736
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13737
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13743
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13747
MSGFMT="$ac_cv_path_MSGFMT"
13748
if test "$MSGFMT" != "no"; then
13749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13750
$as_echo "$MSGFMT" >&6; }
13752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13753
$as_echo "no" >&6; }
13755
if test "$MSGFMT" != "no"; then
13756
glib_save_LIBS="$LIBS"
13757
LIBS="$LIBS $INTLLIBS"
13758
for ac_func in dcgettext
13760
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13761
if test "x$ac_cv_func_dcgettext" = xyes; then :
13762
cat >>confdefs.h <<_ACEOF
13763
#define HAVE_DCGETTEXT 1
13770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13771
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13772
cat >conftest.foo <<_ACEOF
13776
"Content-Type: text/plain; charset=UTF-8\n"
13777
"Project-Id-Version: test 1.0\n"
13778
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13779
"Last-Translator: test <foo@bar.xx>\n"
13780
"Language-Team: C <LL@li.org>\n"
13781
"MIME-Version: 1.0\n"
13782
"Content-Transfer-Encoding: 8bit\n"
13785
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13786
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13788
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13789
test $ac_status = 0; }; then
13790
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13791
$as_echo "yes" >&6; }
13792
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13793
$as_echo "no" >&6; }
13794
echo "$as_me: failed input was:" >&5
13795
sed 's/^/| /' conftest.foo >&5
13798
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13799
set dummy gmsgfmt; ac_word=$2
13800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13801
$as_echo_n "checking for $ac_word... " >&6; }
13802
if ${ac_cv_path_GMSGFMT+:} false; then :
13803
$as_echo_n "(cached) " >&6
13807
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13811
for as_dir in $PATH
13814
test -z "$as_dir" && as_dir=.
13815
for ac_exec_ext in '' $ac_executable_extensions; do
13816
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13817
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13818
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13825
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13829
GMSGFMT=$ac_cv_path_GMSGFMT
13830
if test -n "$GMSGFMT"; then
13831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13832
$as_echo "$GMSGFMT" >&6; }
13834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13835
$as_echo "no" >&6; }
13839
# Extract the first word of "xgettext", so it can be a program name with args.
13840
set dummy xgettext; ac_word=$2
13841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13842
$as_echo_n "checking for $ac_word... " >&6; }
13843
if ${ac_cv_path_XGETTEXT+:} false; then :
13844
$as_echo_n "(cached) " >&6
13846
case "$XGETTEXT" in
13848
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13851
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13852
for ac_dir in $PATH; do
13853
test -z "$ac_dir" && ac_dir=.
13854
if test -f $ac_dir/$ac_word; then
13855
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13856
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13862
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13866
XGETTEXT="$ac_cv_path_XGETTEXT"
13867
if test "$XGETTEXT" != ":"; then
13868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13869
$as_echo "$XGETTEXT" >&6; }
13871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13872
$as_echo "no" >&6; }
13875
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876
/* end confdefs.h. */
13881
extern int _nl_msg_cat_cntr;
13882
return _nl_msg_cat_cntr
13887
if ac_fn_c_try_link "$LINENO"; then :
13893
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13894
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13913
rm -f core conftest.err conftest.$ac_objext \
13914
conftest$ac_exeext conftest.$ac_ext
13915
LIBS="$glib_save_LIBS"
13918
gt_cv_have_gettext=no
13926
if test "$gt_cv_have_gettext" = "yes" ; then
13928
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13932
if test "$XGETTEXT" != ":"; then
13933
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13937
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13942
# We need to process the po/ directory.
13945
ac_config_commands="$ac_config_commands default-1"
13948
for lang in $ALL_LINGUAS; do
13949
GMOFILES="$GMOFILES $lang.gmo"
13950
POFILES="$POFILES $lang.po"
13965
if test "$gt_cv_have_gettext" = "yes"; then
13966
if test "x$ALL_LINGUAS" = "x"; then
13969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13970
$as_echo_n "checking for catalogs to be installed... " >&6; }
13972
for presentlang in $ALL_LINGUAS; do
13974
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13975
desiredlanguages="$LINGUAS"
13977
desiredlanguages="$ALL_LINGUAS"
13979
for desiredlang in $desiredlanguages; do
13980
# Use the presentlang catalog if desiredlang is
13981
# a. equal to presentlang, or
13982
# b. a variant of presentlang (because in this case,
13983
# presentlang can be used as a fallback for messages
13984
# which are not translated in the desiredlang catalog).
13985
case "$desiredlang" in
13986
"$presentlang"*) useit=yes;;
13989
if test $useit = yes; then
13990
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13993
LINGUAS=$NEW_LINGUAS
13994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13995
$as_echo "$LINGUAS" >&6; }
13998
if test -n "$LINGUAS"; then
13999
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14004
if test -n "$ac_aux_dir"; then
14005
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14007
if test -z "$MKINSTALLDIRS"; then
14008
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14012
test -d po || mkdir po
14013
if test "x$srcdir" != "x."; then
14014
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14015
posrcprefix="$srcdir/"
14017
posrcprefix="../$srcdir/"
14023
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14024
< $srcdir/po/POTFILES.in > po/POTFILES
14027
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14028
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
14034
$as_echo_n "checking for locales directory... " >&6; }
14036
# Check whether --with-locales-dir was given.
14037
if test "${with_locales_dir+set}" = set; then :
14038
withval=$with_locales_dir; localedir=$withval
14041
if test x"$CATOBJEXT" = x".mo"; then
14042
localedir=$libdir/locale
14044
localedir=$datadir/locale
14049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
14050
$as_echo "$localedir" >&6; }
14053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
14054
$as_echo_n "checking for additional xgettext flags... " >&6; }
14055
if test x"$XGETTEXT_ARGS" = x""; then
14056
XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
14058
XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
14061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
14062
$as_echo "$XGETTEXT_ARGS" >&6; }
14067
# minimum supported version of pkg-config
14068
xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14078
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14079
if test -n "$ac_tool_prefix"; then
14080
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14081
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14083
$as_echo_n "checking for $ac_word... " >&6; }
14084
if ${ac_cv_path_PKG_CONFIG+:} false; then :
14085
$as_echo_n "(cached) " >&6
14087
case $PKG_CONFIG in
14089
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14093
for as_dir in $PATH
14096
test -z "$as_dir" && as_dir=.
14097
for ac_exec_ext in '' $ac_executable_extensions; do
14098
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14099
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14100
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14110
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14111
if test -n "$PKG_CONFIG"; then
14112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14113
$as_echo "$PKG_CONFIG" >&6; }
14115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14116
$as_echo "no" >&6; }
14121
if test -z "$ac_cv_path_PKG_CONFIG"; then
14122
ac_pt_PKG_CONFIG=$PKG_CONFIG
14123
# Extract the first word of "pkg-config", so it can be a program name with args.
14124
set dummy pkg-config; ac_word=$2
14125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14126
$as_echo_n "checking for $ac_word... " >&6; }
14127
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14128
$as_echo_n "(cached) " >&6
14130
case $ac_pt_PKG_CONFIG in
14132
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14135
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14136
for as_dir in $PATH
14139
test -z "$as_dir" && as_dir=.
14140
for ac_exec_ext in '' $ac_executable_extensions; do
14141
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14142
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14143
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14153
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14154
if test -n "$ac_pt_PKG_CONFIG"; then
14155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14156
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14159
$as_echo "no" >&6; }
14162
if test "x$ac_pt_PKG_CONFIG" = x; then
14165
case $cross_compiling:$ac_tool_warned in
14167
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14168
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14169
ac_tool_warned=yes ;;
14171
PKG_CONFIG=$ac_pt_PKG_CONFIG
14174
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14178
if test -n "$PKG_CONFIG"; then
14179
_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14181
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14182
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14184
$as_echo "yes" >&6; }
14186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14187
$as_echo "no" >&6; }
14192
if test x"$PKG_CONFIG" = x""; then
14194
echo "*** Your version of pkg-config is too old. You need atleast"
14195
echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14196
echo "*** from the freedesktop.org software repository at"
14198
echo "*** http://www.freedesktop.org/software/pkgconfig"
14205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.24.0" >&5
14206
$as_echo_n "checking for glib-2.0 >= 2.24.0... " >&6; }
14207
if $PKG_CONFIG "--atleast-version=2.24.0" "glib-2.0" >/dev/null 2>&1; then
14208
GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"`
14209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
14210
$as_echo "$GLIB_VERSION" >&6; }
14212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
14213
$as_echo_n "checking GLIB_CFLAGS... " >&6; }
14214
GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
14215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
14216
$as_echo "$GLIB_CFLAGS" >&6; }
14218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
14219
$as_echo_n "checking GLIB_LIBS... " >&6; }
14220
GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
14221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
14222
$as_echo "$GLIB_LIBS" >&6; }
14224
GLIB_REQUIRED_VERSION=2.24.0
14232
elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then
14233
xdt_cv_version=`$PKG_CONFIG --modversion "glib-2.0"`
14234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14235
$as_echo "found, but $xdt_cv_version" >&6; }
14238
echo "*** The required package glib-2.0 was found on your system,"
14239
echo "*** but the installed version ($xdt_cv_version) is too old."
14240
echo "*** Please upgrade glib-2.0 to atleast version 2.24.0, or adjust"
14241
echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14242
echo "*** the new version of the package in a nonstandard prefix so"
14243
echo "*** pkg-config is able to find it."
14247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14248
$as_echo "not found" >&6; }
14251
echo "*** The required package glib-2.0 was not found on your system."
14252
echo "*** Please install glib-2.0 (atleast version 2.24.0) or adjust"
14253
echo "*** the PKG_CONFIG_PATH environment variable if you"
14254
echo "*** installed the package in a nonstandard prefix so that"
14255
echo "*** pkg-config is able to find it."
14264
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
14265
set dummy gtkdoc-check; ac_word=$2
14266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14267
$as_echo_n "checking for $ac_word... " >&6; }
14268
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14269
$as_echo_n "(cached) " >&6
14271
case $GTKDOC_CHECK in
14273
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277
for as_dir in $PATH
14280
test -z "$as_dir" && as_dir=.
14281
for ac_exec_ext in '' $ac_executable_extensions; do
14282
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14283
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14284
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14294
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14295
if test -n "$GTKDOC_CHECK"; then
14296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14297
$as_echo "$GTKDOC_CHECK" >&6; }
14299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14300
$as_echo "no" >&6; }
14304
for ac_prog in gtkdoc-rebase
14306
# Extract the first word of "$ac_prog", so it can be a program name with args.
14307
set dummy $ac_prog; ac_word=$2
14308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14309
$as_echo_n "checking for $ac_word... " >&6; }
14310
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14311
$as_echo_n "(cached) " >&6
14313
case $GTKDOC_REBASE in
14315
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14319
for as_dir in $PATH
14322
test -z "$as_dir" && as_dir=.
14323
for ac_exec_ext in '' $ac_executable_extensions; do
14324
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14325
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14326
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14336
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14337
if test -n "$GTKDOC_REBASE"; then
14338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14339
$as_echo "$GTKDOC_REBASE" >&6; }
14341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14342
$as_echo "no" >&6; }
14346
test -n "$GTKDOC_REBASE" && break
14348
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14350
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14351
set dummy gtkdoc-mkpdf; ac_word=$2
14352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14353
$as_echo_n "checking for $ac_word... " >&6; }
14354
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14355
$as_echo_n "(cached) " >&6
14357
case $GTKDOC_MKPDF in
14359
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363
for as_dir in $PATH
14366
test -z "$as_dir" && as_dir=.
14367
for ac_exec_ext in '' $ac_executable_extensions; do
14368
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14369
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14370
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14380
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14381
if test -n "$GTKDOC_MKPDF"; then
14382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14383
$as_echo "$GTKDOC_MKPDF" >&6; }
14385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14386
$as_echo "no" >&6; }
14392
# Check whether --with-html-dir was given.
14393
if test "${with_html_dir+set}" = set; then :
14394
withval=$with_html_dir;
14396
with_html_dir='${datadir}/gtk-doc/html'
14399
HTML_DIR="$with_html_dir"
14402
# Check whether --enable-gtk-doc was given.
14403
if test "${enable_gtk_doc+set}" = set; then :
14404
enableval=$enable_gtk_doc;
14410
if test x$enable_gtk_doc = xyes; then
14411
if test -n "$PKG_CONFIG" && \
14412
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
14413
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
14415
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14416
test $ac_status = 0; }; then
14419
as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
14421
if test "x$PACKAGE_NAME" != "xglib"; then
14424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14425
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14427
if test -n "$GTKDOC_DEPS_CFLAGS"; then
14428
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14429
elif test -n "$PKG_CONFIG"; then
14430
if test -n "$PKG_CONFIG" && \
14431
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14432
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14434
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14435
test $ac_status = 0; }; then
14436
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14437
test "x$?" != "x0" && pkg_failed=yes
14444
if test -n "$GTKDOC_DEPS_LIBS"; then
14445
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14446
elif test -n "$PKG_CONFIG"; then
14447
if test -n "$PKG_CONFIG" && \
14448
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14449
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14451
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452
test $ac_status = 0; }; then
14453
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14454
test "x$?" != "x0" && pkg_failed=yes
14464
if test $pkg_failed = yes; then
14465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14466
$as_echo "no" >&6; }
14468
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14469
_pkg_short_errors_supported=yes
14471
_pkg_short_errors_supported=no
14473
if test $_pkg_short_errors_supported = yes; then
14474
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14476
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14478
# Put the nasty error message in config.log where it belongs
14479
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14481
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
14483
$GTKDOC_DEPS_PKG_ERRORS
14485
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14486
installed software in a non-standard prefix.
14488
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14489
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14490
See the pkg-config man page for more details." "$LINENO" 5
14491
elif test $pkg_failed = untried; then
14492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14493
$as_echo "no" >&6; }
14494
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14495
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14496
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14497
is in your PATH or set the PKG_CONFIG environment variable to the full
14498
path to pkg-config.
14500
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14501
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14502
See the pkg-config man page for more details.
14504
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14505
See \`config.log' for more details" "$LINENO" 5; }
14507
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14508
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14510
$as_echo "yes" >&6; }
14516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14517
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14519
$as_echo "$enable_gtk_doc" >&6; }
14521
# Check whether --enable-gtk-doc-html was given.
14522
if test "${enable_gtk_doc_html+set}" = set; then :
14523
enableval=$enable_gtk_doc_html;
14525
enable_gtk_doc_html=yes
14528
# Check whether --enable-gtk-doc-pdf was given.
14529
if test "${enable_gtk_doc_pdf+set}" = set; then :
14530
enableval=$enable_gtk_doc_pdf;
14532
enable_gtk_doc_pdf=no
14536
if test -z "$GTKDOC_MKPDF"; then
14537
enable_gtk_doc_pdf=no
14541
if test x$enable_gtk_doc = xyes; then
14542
ENABLE_GTK_DOC_TRUE=
14543
ENABLE_GTK_DOC_FALSE='#'
14545
ENABLE_GTK_DOC_TRUE='#'
14546
ENABLE_GTK_DOC_FALSE=
14549
if test x$enable_gtk_doc_html = xyes; then
14550
GTK_DOC_BUILD_HTML_TRUE=
14551
GTK_DOC_BUILD_HTML_FALSE='#'
14553
GTK_DOC_BUILD_HTML_TRUE='#'
14554
GTK_DOC_BUILD_HTML_FALSE=
14557
if test x$enable_gtk_doc_pdf = xyes; then
14558
GTK_DOC_BUILD_PDF_TRUE=
14559
GTK_DOC_BUILD_PDF_FALSE='#'
14561
GTK_DOC_BUILD_PDF_TRUE='#'
14562
GTK_DOC_BUILD_PDF_FALSE=
14565
if test -n "$LIBTOOL"; then
14566
GTK_DOC_USE_LIBTOOL_TRUE=
14567
GTK_DOC_USE_LIBTOOL_FALSE='#'
14569
GTK_DOC_USE_LIBTOOL_TRUE='#'
14570
GTK_DOC_USE_LIBTOOL_FALSE=
14573
if test -n "$GTKDOC_REBASE"; then
14574
GTK_DOC_USE_REBASE_TRUE=
14575
GTK_DOC_USE_REBASE_FALSE='#'
14577
GTK_DOC_USE_REBASE_TRUE='#'
14578
GTK_DOC_USE_REBASE_FALSE=
14583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether putenv() implementation is broken" >&5
14584
$as_echo_n "checking whether putenv() implementation is broken... " >&6; }
14586
# Check whether --with-broken-putenv was given.
14587
if test "${with_broken_putenv+set}" = set; then :
14588
withval=$with_broken_putenv;
14591
if test x"$with_broken_putenv" != x"yes" -a x"$with_broken_putenv" != x"no"; then
14592
if test "$cross_compiling" = yes; then :
14593
with_broken_putenv=cross
14595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596
/* end confdefs.h. */
14598
#include <stdlib.h>
14599
#include <string.h>
14600
int main(int argc, char *argv)
14602
char *buffer = (char *)malloc(8);
14603
strcpy(buffer, "foo=bar");
14605
strcpy(buffer, "foo=rab");
14606
return(strcmp(getenv("foo"), "bar") == 0 ? 0 : 1);
14609
if ac_fn_c_try_run "$LINENO"; then :
14610
with_broken_putenv=no
14612
with_broken_putenv=yes
14614
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14615
conftest.$ac_objext conftest.beam conftest.$ac_ext
14619
if test x"$with_broken_putenv" = x"yes"; then
14621
$as_echo "#define HAVE_BROKEN_PUTENV 1" >>confdefs.h
14624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_broken_putenv" >&5
14625
$as_echo "$with_broken_putenv" >&6; }
14628
# Check whether --enable-debug was given.
14629
if test "${enable_debug+set}" = set; then :
14630
enableval=$enable_debug; enable_debug=$enableval
14632
enable_debug=minimum
14636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
14637
$as_echo_n "checking whether to build with debugging support... " >&6; }
14638
if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
14640
$as_echo "#define DEBUG 1" >>confdefs.h
14643
xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
14645
-Wno-missing-field-initializers \
14646
-Wno-unused-parameter -Wold-style-definition \
14647
-Wdeclaration-after-statement \
14648
-Wmissing-declarations \
14649
-Wmissing-noreturn -Wshadow -Wpointer-arith \
14650
-Wcast-align -Wformat -Wformat-security -Wformat-y2k \
14651
-Winit-self -Wmissing-include-dirs -Wundef \
14653
CPPFLAGS="$CPPFLAGS"
14655
if test x`uname` = x"Linux"; then
14656
xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
14659
if test x`uname` != x"OpenBSD"; then
14660
xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
14663
if test x"$enable_debug" = x"full"; then
14665
$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
14667
xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
14668
CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
14669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
14670
$as_echo "full" >&6; }
14672
xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
14673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14674
$as_echo "yes" >&6; }
14678
for flag in $xdt_cv_additional_CFLAGS; do
14679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
14680
$as_echo_n "checking if $CC supports $flag... " >&6; }
14681
saved_CFLAGS="$CFLAGS"
14682
CFLAGS="$CFLAGS $flag"
14683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684
/* end confdefs.h. */
14687
if ac_fn_c_try_compile "$LINENO"; then :
14692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14693
CFLAGS="$saved_CFLAGS"
14694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
14695
$as_echo "$flag_supported" >&6; }
14697
if test "x$flag_supported" = "xyes"; then
14698
supported_CFLAGS="$supported_CFLAGS $flag"
14704
supported_CXXFLAGS="$supported_CFLAGS"
14707
CFLAGS="$CFLAGS $supported_CFLAGS"
14708
CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
14710
CPPFLAGS="$CPPFLAGS -DNDEBUG"
14712
if test x"$enable_debug" = x"no"; then
14713
CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
14714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14715
$as_echo "no" >&6; }
14717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
14718
$as_echo "minimum" >&6; }
14724
# Check whether --enable-linker-opts was given.
14725
if test "${enable_linker_opts+set}" = set; then :
14726
enableval=$enable_linker_opts; enable_linker_opts=$enableval
14728
enable_linker_opts=yes
14732
if test "x$enable_linker_opts" != "xno"; then
14733
if test x`uname` != x"OpenBSD"; then
14734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
14735
$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
14736
case `$LD --as-needed -v 2>&1 </dev/null` in
14737
*GNU* | *'with BFD'*)
14738
LDFLAGS="$LDFLAGS -Wl,--as-needed"
14739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14740
$as_echo "yes" >&6; }
14743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14744
$as_echo "no" >&6; }
14748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
14749
$as_echo_n "checking whether $LD accepts -O1... " >&6; }
14750
case `$LD -O1 -v 2>&1 </dev/null` in
14751
*GNU* | *'with BFD'*)
14752
LDFLAGS="$LDFLAGS -Wl,-O1"
14753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14754
$as_echo "yes" >&6; }
14757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14758
$as_echo "no" >&6; }
14764
# Check whether --enable-visibility was given.
14765
if test "${enable_visibility+set}" = set; then :
14766
enableval=$enable_visibility;
14768
enable_visibility=yes
14771
have_gnuc_visibility=no
14772
if test x"$enable_visibility" != x"no"; then
14773
save_CFLAGS="$CFLAGS"
14774
CFLAGS="$CFLAGS -Wall -Werror"
14775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports the GNUC visibility attribute" >&5
14776
$as_echo_n "checking whether $CC supports the GNUC visibility attribute... " >&6; }
14777
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778
/* end confdefs.h. */
14780
void test_default (void);
14781
void test_hidden (void);
14783
void __attribute__ ((visibility("default"))) test_default (void) {}
14784
void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
14786
int main (int argc, char **argv) { test_default (); test_hidden (); return 0; }
14789
if ac_fn_c_try_compile "$LINENO"; then :
14791
have_gnuc_visibility=yes
14792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14793
$as_echo "yes" >&6; }
14797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798
$as_echo "no" >&6; }
14801
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802
CFLAGS="$save_CFLAGS"
14804
if test x"$have_gnuc_visibility" = x"yes"; then
14805
CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
14807
if test x"$have_gnuc_visibility" = x"yes"; then
14808
HAVE_GNUC_VISIBILITY_TRUE=
14809
HAVE_GNUC_VISIBILITY_FALSE='#'
14811
HAVE_GNUC_VISIBILITY_TRUE='#'
14812
HAVE_GNUC_VISIBILITY_FALSE=
14817
for flag in -Wno-sign-compare; do
14818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
14819
$as_echo_n "checking if $CC supports $flag... " >&6; }
14820
saved_CFLAGS="$CFLAGS"
14821
CFLAGS="$CFLAGS $flag"
14822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823
/* end confdefs.h. */
14826
if ac_fn_c_try_compile "$LINENO"; then :
14831
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14832
CFLAGS="$saved_CFLAGS"
14833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
14834
$as_echo "$flag_supported" >&6; }
14836
if test "x$flag_supported" = "xyes"; then
14837
GTK_DOC_EXTRA_CFLAGS="$GTK_DOC_EXTRA_CFLAGS $flag"
14843
ac_config_files="$ac_config_files Makefile docs/version.xml docs/Makefile libxfce4util/libxfce4util-1.0.pc libxfce4util/libxfce4util-config.h libxfce4util/Makefile po/Makefile.in xfce4-kiosk-query/Makefile"
14845
cat >confcache <<\_ACEOF
14846
# This file is a shell script that caches the results of configure
14847
# tests run on this system so they can be shared between configure
14848
# scripts and configure runs, see configure's option --config-cache.
14849
# It is not useful on other systems. If it contains results you don't
14850
# want to keep, you may remove or edit it.
14852
# config.status only pays attention to the cache file if you give it
14853
# the --recheck option to rerun configure.
14855
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14856
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14857
# following values.
14861
# The following way of writing the cache mishandles newlines in values,
14862
# but we know of no workaround that is simple, portable, and efficient.
14863
# So, we kill variables containing newlines.
14864
# Ultrix sh set writes to stderr and can't be redirected directly,
14865
# and sets the high bit in the cache file unless we assign to the vars.
14867
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14868
eval ac_val=\$$ac_var
14872
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14873
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14876
_ | IFS | as_nl) ;; #(
14877
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14878
*) { eval $ac_var=; unset $ac_var;} ;;
14884
case $as_nl`(ac_space=' '; set) 2>&1` in #(
14885
*${as_nl}ac_space=\ *)
14886
# `set' does not quote correctly, so add quotes: double-quote
14887
# substitution turns \\\\ into \\, and sed turns \\ into \.
14890
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14893
# `set' quotes correctly as required by POSIX, so do not add quotes.
14894
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14903
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14905
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14907
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14908
if test -w "$cache_file"; then
14909
if test "x$cache_file" != "x/dev/null"; then
14910
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14911
$as_echo "$as_me: updating cache $cache_file" >&6;}
14912
if test ! -f "$cache_file" || test -h "$cache_file"; then
14913
cat confcache >"$cache_file"
14915
case $cache_file in #(
14917
mv -f confcache "$cache_file"$$ &&
14918
mv -f "$cache_file"$$ "$cache_file" ;; #(
14920
mv -f confcache "$cache_file" ;;
14925
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14926
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14931
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14932
# Let make expand exec_prefix.
14933
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14935
DEFS=-DHAVE_CONFIG_H
14940
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14941
# 1. Remove the extension, and $U if already installed.
14942
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14943
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14944
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14945
# will be set to the directory where LIBOBJS objects are built.
14946
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14947
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14949
LIBOBJS=$ac_libobjs
14951
LTLIBOBJS=$ac_ltlibobjs
14954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14955
$as_echo_n "checking that generated files are newer than configure... " >&6; }
14956
if test -n "$am_sleep_pid"; then
14957
# Hide warnings about reused PIDs.
14958
wait $am_sleep_pid 2>/dev/null
14960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14961
$as_echo "done" >&6; }
14962
if test -n "$EXEEXT"; then
14964
am__EXEEXT_FALSE='#'
14966
am__EXEEXT_TRUE='#'
14970
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14971
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14972
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14974
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14975
as_fn_error $? "conditional \"AMDEP\" was never defined.
14976
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14978
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14979
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14980
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14982
if test -z "${HAVE_CYGWIN_TRUE}" && test -z "${HAVE_CYGWIN_FALSE}"; then
14983
as_fn_error $? "conditional \"HAVE_CYGWIN\" was never defined.
14984
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14986
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14987
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14988
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14991
ac_config_commands="$ac_config_commands po/stamp-it"
14994
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14995
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14996
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14998
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14999
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15000
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15002
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15003
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15004
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15006
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15007
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15008
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15010
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15011
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15012
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15014
if test -z "${HAVE_GNUC_VISIBILITY_TRUE}" && test -z "${HAVE_GNUC_VISIBILITY_FALSE}"; then
15015
as_fn_error $? "conditional \"HAVE_GNUC_VISIBILITY\" was never defined.
15016
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15019
: "${CONFIG_STATUS=./config.status}"
15021
ac_clean_files_save=$ac_clean_files
15022
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15023
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15024
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15026
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15028
# Generated by $as_me.
15029
# Run this file to recreate the current configuration.
15030
# Compiler output produced by configure, useful for debugging
15031
# configure, is in config.log if it exists.
15034
ac_cs_recheck=false
15037
SHELL=\${CONFIG_SHELL-$SHELL}
15040
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15041
## -------------------- ##
15042
## M4sh Initialization. ##
15043
## -------------------- ##
15045
# Be more Bourne compatible
15046
DUALCASE=1; export DUALCASE # for MKS sh
15047
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15050
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15051
# is contrary to our usage. Disable this feature.
15052
alias -g '${1+"$@"}'='"$@"'
15053
setopt NO_GLOB_SUBST
15055
case `(set -o) 2>/dev/null` in #(
15067
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15068
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15069
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15070
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15071
# Prefer a ksh shell builtin over an external printf program on Solaris,
15072
# but without wasting forks for bash or zsh.
15073
if test -z "$BASH_VERSION$ZSH_VERSION" \
15074
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15075
as_echo='print -r --'
15076
as_echo_n='print -rn --'
15077
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15078
as_echo='printf %s\n'
15079
as_echo_n='printf %s'
15081
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15082
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15083
as_echo_n='/usr/ucb/echo -n'
15085
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15086
as_echo_n_body='eval
15090
expr "X$arg" : "X\\(.*\\)$as_nl";
15091
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15093
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15095
export as_echo_n_body
15096
as_echo_n='sh -c $as_echo_n_body as_echo'
15098
export as_echo_body
15099
as_echo='sh -c $as_echo_body as_echo'
15102
# The user is always right.
15103
if test "${PATH_SEPARATOR+set}" != set; then
15105
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15106
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15113
# We need space, tab and new line, in precisely that order. Quoting is
15114
# there to prevent editors from complaining about space-tab.
15115
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15116
# splitting by setting IFS to empty value.)
15119
# Find who we are. Look in the path if we contain no directory separator.
15122
*[\\/]* ) as_myself=$0 ;;
15123
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15124
for as_dir in $PATH
15127
test -z "$as_dir" && as_dir=.
15128
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15134
# We did not find ourselves, most probably we were run as `sh COMMAND'
15135
# in which case we are not to be found in the path.
15136
if test "x$as_myself" = x; then
15139
if test ! -f "$as_myself"; then
15140
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15144
# Unset variables that we do not need and which cause bugs (e.g. in
15145
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15146
# suppresses any "Segmentation fault" message there. '((' could
15147
# trigger a bug in pdksh 5.2.14.
15148
for as_var in BASH_ENV ENV MAIL MAILPATH
15149
do eval test x\${$as_var+set} = xset \
15150
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15163
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15166
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15167
# ----------------------------------------
15168
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15169
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15170
# script with STATUS, using 1 if that was 0.
15173
as_status=$1; test $as_status -eq 0 && as_status=1
15175
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15176
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15178
$as_echo "$as_me: error: $2" >&2
15179
as_fn_exit $as_status
15183
# as_fn_set_status STATUS
15184
# -----------------------
15185
# Set $? to STATUS, without forking.
15186
as_fn_set_status ()
15189
} # as_fn_set_status
15191
# as_fn_exit STATUS
15192
# -----------------
15193
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15197
as_fn_set_status $1
15203
# Portably unset VAR.
15206
{ eval $1=; unset $1;}
15208
as_unset=as_fn_unset
15209
# as_fn_append VAR VALUE
15210
# ----------------------
15211
# Append the text in VALUE to the end of the definition contained in VAR. Take
15212
# advantage of any shell optimizations that allow amortized linear growth over
15213
# repeated appends, instead of the typical quadratic growth present in naive
15215
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15216
eval 'as_fn_append ()
15227
# as_fn_arith ARG...
15228
# ------------------
15229
# Perform arithmetic evaluation on the ARGs, and store the result in the
15230
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15231
# must be portable across $(()) and expr.
15232
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15233
eval 'as_fn_arith ()
15240
as_val=`expr "$@" || test $? -eq 1`
15245
if expr a : '\(a\)' >/dev/null 2>&1 &&
15246
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15252
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15253
as_basename=basename
15258
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15264
as_me=`$as_basename -- "$0" ||
15265
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15266
X"$0" : 'X\(//\)$' \| \
15267
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15269
sed '/^.*\/\([^/][^/]*\)\/*$/{
15283
# Avoid depending upon Character Ranges.
15284
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15285
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15286
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15287
as_cr_digits='0123456789'
15288
as_cr_alnum=$as_cr_Letters$as_cr_digits
15290
ECHO_C= ECHO_N= ECHO_T=
15291
case `echo -n x` in #(((((
15293
case `echo 'xy\c'` in
15294
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15296
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15303
rm -f conf$$ conf$$.exe conf$$.file
15304
if test -d conf$$.dir; then
15305
rm -f conf$$.dir/conf$$.file
15308
mkdir conf$$.dir 2>/dev/null
15310
if (echo >conf$$.file) 2>/dev/null; then
15311
if ln -s conf$$.file conf$$ 2>/dev/null; then
15313
# ... but there are two gotchas:
15314
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15315
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15316
# In both cases, we have to default to `cp -pR'.
15317
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15319
elif ln conf$$.file conf$$ 2>/dev/null; then
15327
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15328
rmdir conf$$.dir 2>/dev/null
15333
# Create "$as_dir" as a directory, including parents if necessary.
15338
-*) as_dir=./$as_dir;;
15340
test -d "$as_dir" || eval $as_mkdir_p || {
15344
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15345
*) as_qdir=$as_dir;;
15347
as_dirs="'$as_qdir' $as_dirs"
15348
as_dir=`$as_dirname -- "$as_dir" ||
15349
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15350
X"$as_dir" : 'X\(//\)[^/]' \| \
15351
X"$as_dir" : 'X\(//\)$' \| \
15352
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15353
$as_echo X"$as_dir" |
15354
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15358
/^X\(\/\/\)[^/].*/{
15371
test -d "$as_dir" && break
15373
test -z "$as_dirs" || eval "mkdir $as_dirs"
15374
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15378
if mkdir -p . 2>/dev/null; then
15379
as_mkdir_p='mkdir -p "$as_dir"'
15381
test -d ./-p && rmdir ./-p
15386
# as_fn_executable_p FILE
15387
# -----------------------
15388
# Test if FILE is an executable regular file.
15389
as_fn_executable_p ()
15391
test -f "$1" && test -x "$1"
15392
} # as_fn_executable_p
15393
as_test_x='test -x'
15394
as_executable_p=as_fn_executable_p
15396
# Sed expression to map a string onto a valid CPP name.
15397
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15399
# Sed expression to map a string onto a valid variable name.
15400
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15404
## ----------------------------------- ##
15405
## Main body of $CONFIG_STATUS script. ##
15406
## ----------------------------------- ##
15408
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15410
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15411
# Save the log message, to keep $0 and so on meaningful, and to
15412
# report actual input values of CONFIG_FILES etc. instead of their
15413
# values after options handling.
15415
This file was extended by libxfce4util $as_me 4.10.1, which was
15416
generated by GNU Autoconf 2.69. Invocation command line was
15418
CONFIG_FILES = $CONFIG_FILES
15419
CONFIG_HEADERS = $CONFIG_HEADERS
15420
CONFIG_LINKS = $CONFIG_LINKS
15421
CONFIG_COMMANDS = $CONFIG_COMMANDS
15424
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15429
case $ac_config_files in *"
15430
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15433
case $ac_config_headers in *"
15434
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15438
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15439
# Files that config.status was made for.
15440
config_files="$ac_config_files"
15441
config_headers="$ac_config_headers"
15442
config_commands="$ac_config_commands"
15446
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15448
\`$as_me' instantiates files and other configuration actions
15449
from templates according to the current configuration. Unless the files
15450
and actions are specified as TAGs, all are instantiated by default.
15452
Usage: $0 [OPTION]... [TAG]...
15454
-h, --help print this help, then exit
15455
-V, --version print version number and configuration settings, then exit
15456
--config print configuration, then exit
15457
-q, --quiet, --silent
15458
do not print progress messages
15459
-d, --debug don't remove temporary files
15460
--recheck update $as_me by reconfiguring in the same conditions
15461
--file=FILE[:TEMPLATE]
15462
instantiate the configuration file FILE
15463
--header=FILE[:TEMPLATE]
15464
instantiate the configuration header FILE
15466
Configuration files:
15469
Configuration headers:
15472
Configuration commands:
15475
Report bugs to <xfce4-dev@xfce.org>."
15478
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15479
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15481
libxfce4util config.status 4.10.1
15482
configured by $0, generated by GNU Autoconf 2.69,
15483
with options \\"\$ac_cs_config\\"
15485
Copyright (C) 2012 Free Software Foundation, Inc.
15486
This config.status script is free software; the Free Software Foundation
15487
gives unlimited permission to copy, distribute and modify it."
15494
test -n "\$AWK" || AWK=awk
15497
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15498
# The default lists apply if the user does not specify any file.
15504
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15505
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15509
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15521
# Handling of the options.
15522
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15524
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15525
$as_echo "$ac_cs_version"; exit ;;
15526
--config | --confi | --conf | --con | --co | --c )
15527
$as_echo "$ac_cs_config"; exit ;;
15528
--debug | --debu | --deb | --de | --d | -d )
15530
--file | --fil | --fi | --f )
15533
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15534
'') as_fn_error $? "missing file argument" ;;
15536
as_fn_append CONFIG_FILES " '$ac_optarg'"
15537
ac_need_defaults=false;;
15538
--header | --heade | --head | --hea )
15541
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15543
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15544
ac_need_defaults=false;;
15546
# Conflict between --help and --header
15547
as_fn_error $? "ambiguous option: \`$1'
15548
Try \`$0 --help' for more information.";;
15549
--help | --hel | -h )
15550
$as_echo "$ac_cs_usage"; exit ;;
15551
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15552
| -silent | --silent | --silen | --sile | --sil | --si | --s)
15555
# This is an error.
15556
-*) as_fn_error $? "unrecognized option: \`$1'
15557
Try \`$0 --help' for more information." ;;
15559
*) as_fn_append ac_config_targets " $1"
15560
ac_need_defaults=false ;;
15566
ac_configure_extra_args=
15568
if $ac_cs_silent; then
15570
ac_configure_extra_args="$ac_configure_extra_args --silent"
15574
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15575
if \$ac_cs_recheck; then
15576
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15578
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15579
CONFIG_SHELL='$SHELL'
15580
export CONFIG_SHELL
15585
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15589
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15590
## Running $as_me. ##
15596
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15600
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15603
# The HP-UX ksh and POSIX shell print the target directory to stdout
15604
# if CDPATH is set.
15605
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15607
sed_quote_subst='$sed_quote_subst'
15608
double_quote_subst='$double_quote_subst'
15609
delay_variable_subst='$delay_variable_subst'
15610
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15611
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15612
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15613
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15614
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15615
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15616
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15617
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15618
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15619
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15620
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15621
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15622
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15623
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15624
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15625
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15626
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15627
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15628
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15629
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15630
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15631
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15632
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15633
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15634
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15635
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15636
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15637
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15638
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15639
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15640
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15641
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15642
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15643
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15644
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15645
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15646
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15647
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15648
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15649
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15650
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15651
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15652
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15653
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15654
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15655
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15656
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15657
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15658
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15659
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15660
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15661
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15662
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15663
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15664
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15665
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15666
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"`'
15667
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15668
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15669
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15670
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15671
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15672
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15673
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15674
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15675
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15676
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15677
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15678
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15679
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15680
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15681
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15682
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15683
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15684
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15685
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15686
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15687
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15688
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15689
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15690
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15691
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15692
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15693
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15694
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15695
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15696
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15697
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15698
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15699
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15700
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15701
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15702
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15703
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15704
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15705
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15706
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15707
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15708
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15709
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15710
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15711
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15712
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15713
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15714
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15715
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15716
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15717
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15718
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15719
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15720
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15721
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15722
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15723
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15724
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15725
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15726
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15727
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15728
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15729
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15730
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15731
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15732
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15733
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15734
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15735
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15736
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15737
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15738
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15739
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15742
LTCFLAGS='$LTCFLAGS'
15743
compiler='$compiler_DEFAULT'
15745
# A function that is used when there is no print builtin or printf.
15746
func_fallback_echo ()
15748
eval 'cat <<_LTECHO_EOF
15753
# Quote evaled strings.
15768
deplibs_check_method \
15773
sharedlib_from_linklib_cmd \
15776
archiver_list_spec \
15782
lt_cv_sys_global_symbol_pipe \
15783
lt_cv_sys_global_symbol_to_cdecl \
15784
lt_cv_sys_global_symbol_to_c_name_address \
15785
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15786
nm_file_list_spec \
15787
lt_prog_compiler_no_builtin_flag \
15788
lt_prog_compiler_pic \
15789
lt_prog_compiler_wl \
15790
lt_prog_compiler_static \
15791
lt_cv_prog_compiler_c_o \
15800
export_dynamic_flag_spec \
15801
whole_archive_flag_spec \
15802
compiler_needs_object \
15804
allow_undefined_flag \
15805
no_undefined_flag \
15806
hardcode_libdir_flag_spec \
15807
hardcode_libdir_separator \
15811
variables_saved_for_relink \
15813
library_names_spec \
15815
install_override_mode \
15819
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15820
*[\\\\\\\`\\"\\\$]*)
15821
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15824
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15829
# Double-quote double-evaled strings.
15830
for var in reload_cmds \
15831
old_postinstall_cmds \
15832
old_postuninstall_cmds \
15834
extract_expsyms_cmds \
15835
old_archive_from_new_cmds \
15836
old_archive_from_expsyms_cmds \
15838
archive_expsym_cmds \
15840
module_expsym_cmds \
15841
export_symbols_cmds \
15845
postuninstall_cmds \
15847
sys_lib_search_path_spec \
15848
sys_lib_dlsearch_path_spec; do
15849
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15850
*[\\\\\\\`\\"\\\$]*)
15851
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15854
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15859
ac_aux_dir='$ac_aux_dir'
15860
xsi_shell='$xsi_shell'
15861
lt_shell_append='$lt_shell_append'
15863
# See if we are running on zsh, and set the options which allow our
15864
# commands through without removal of \ escapes INIT.
15865
if test -n "\${ZSH_VERSION+set}" ; then
15866
setopt NO_GLOB_SUBST
15872
TIMESTAMP='$TIMESTAMP'
15882
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15884
# Handling of arguments.
15885
for ac_config_target in $ac_config_targets
15887
case $ac_config_target in
15888
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15889
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15890
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15891
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15892
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15893
"docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
15894
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15895
"libxfce4util/libxfce4util-1.0.pc") CONFIG_FILES="$CONFIG_FILES libxfce4util/libxfce4util-1.0.pc" ;;
15896
"libxfce4util/libxfce4util-config.h") CONFIG_FILES="$CONFIG_FILES libxfce4util/libxfce4util-config.h" ;;
15897
"libxfce4util/Makefile") CONFIG_FILES="$CONFIG_FILES libxfce4util/Makefile" ;;
15898
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15899
"xfce4-kiosk-query/Makefile") CONFIG_FILES="$CONFIG_FILES xfce4-kiosk-query/Makefile" ;;
15900
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15902
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15907
# If the user did not use the arguments to specify the items to instantiate,
15908
# then the envvar interface is used. Set only those that are not.
15909
# We use the long form for the default assignment because of an extremely
15910
# bizarre bug on SunOS 4.1.3.
15911
if $ac_need_defaults; then
15912
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15913
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15914
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15917
# Have a temporary directory for convenience. Make it in the build tree
15918
# simply because there is no reason against having it here, and in addition,
15919
# creating and moving files from /tmp can sometimes cause problems.
15920
# Hook for its removal unless debugging.
15921
# Note that there is a small window in which the directory will not be cleaned:
15922
# after its creation but before its name has been assigned to `$tmp'.
15926
trap 'exit_status=$?
15927
: "${ac_tmp:=$tmp}"
15928
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15930
trap 'as_fn_exit 1' 1 2 13 15
15932
# Create a (secure) tmp directory for tmp files.
15935
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15939
tmp=./conf$$-$RANDOM
15940
(umask 077 && mkdir "$tmp")
15941
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15944
# Set up the scripts for CONFIG_FILES section.
15945
# No need to generate them if there are no CONFIG_FILES.
15946
# This happens for instance with `./config.status config.h'.
15947
if test -n "$CONFIG_FILES"; then
15950
ac_cr=`echo X | tr X '\015'`
15951
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15952
# But we know of no other shell where ac_cr would be empty at this
15953
# point, so we can use a bashism as a fallback.
15954
if test "x$ac_cr" = x; then
15955
eval ac_cr=\$\'\\r\'
15957
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15958
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15961
ac_cs_awk_cr=$ac_cr
15964
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15969
echo "cat >conf$$subs.awk <<_ACEOF" &&
15970
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15972
} >conf$$subs.sh ||
15973
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15974
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15976
for ac_last_try in false false false false false :; do
15977
. ./conf$$subs.sh ||
15978
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15980
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15981
if test $ac_delim_n = $ac_delim_num; then
15983
elif $ac_last_try; then
15984
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15986
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15989
rm -f conf$$subs.sh
15991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15992
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15996
s/^/S["/; s/!.*/"]=/
16006
s/\(.\{148\}\)..*/\1/
16008
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16013
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16020
s/\(.\{148\}\)..*/\1/
16022
s/["\\]/\\&/g; s/^/"/; s/$/"/
16026
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16031
' <conf$$subs.awk | sed '
16036
' >>$CONFIG_STATUS || ac_write_fail=1
16037
rm -f conf$$subs.awk
16038
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16040
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16041
for (key in S) S_is_set[key] = 1
16047
nfields = split(line, field, "@")
16049
len = length(field[1])
16050
for (i = 2; i < nfields; i++) {
16052
keylen = length(key)
16053
if (S_is_set[key]) {
16055
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16056
len += length(value) + length(field[++i])
16067
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16068
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16069
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16072
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16073
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16076
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16077
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16078
# trailing colons and then remove the whole line if VPATH becomes empty
16079
# (actually we leave an empty line to preserve line numbers).
16080
if test "x$srcdir" = x.; then
16081
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16099
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16100
fi # test -n "$CONFIG_FILES"
16102
# Set up the scripts for CONFIG_HEADERS section.
16103
# No need to generate them if there are no CONFIG_HEADERS.
16104
# This happens for instance with `./config.status Makefile'.
16105
if test -n "$CONFIG_HEADERS"; then
16106
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16110
# Transform confdefs.h into an awk script `defines.awk', embedded as
16111
# here-document in config.status, that substitutes the proper values into
16112
# config.h.in to produce config.h.
16114
# Create a delimiter string that does not exist in confdefs.h, to ease
16115
# handling of long lines.
16117
for ac_last_try in false false :; do
16118
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16119
if test -z "$ac_tt"; then
16121
elif $ac_last_try; then
16122
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16124
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16128
# For the awk script, D is an array of macro values keyed by name,
16129
# likewise P contains macro parameters if any. Preserve backslash
16130
# newline sequences.
16132
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16134
s/.\{148\}/&'"$ac_delim"'/g
16137
s/^[ ]*#[ ]*define[ ][ ]*/ /
16144
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16146
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16150
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16151
D["\1"]=" \3\\\\\\n"\\/p
16153
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16158
s/.\{148\}/&'"$ac_delim"'/g
16163
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16166
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16168
' <confdefs.h | sed '
16169
s/'"$ac_delim"'/"\\\
16170
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16172
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16173
for (key in D) D_is_set[key] = 1
16176
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16178
split(line, arg, " ")
16179
if (arg[1] == "#") {
16183
defundef = substr(arg[1], 2)
16186
split(mac1, mac2, "(") #)
16188
prefix = substr(line, 1, index(line, defundef) - 1)
16189
if (D_is_set[macro]) {
16190
# Preserve the white space surrounding the "#".
16191
print prefix "define", macro P[macro] D[macro]
16194
# Replace #undef with comments. This is necessary, for example,
16195
# in the case of _POSIX_SOURCE, which is predefined and required
16196
# on some systems where configure will not decide to define it.
16197
if (defundef == "undef") {
16198
print "/*", prefix defundef, macro, "*/"
16206
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16207
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16208
fi # test -n "$CONFIG_HEADERS"
16211
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16216
:[FHLC]) ac_mode=$ac_tag; continue;;
16218
case $ac_mode$ac_tag in
16220
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16221
:[FH]-) ac_tag=-:-;;
16222
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16239
-) ac_f="$ac_tmp/stdin";;
16240
*) # Look for the file first in the build tree, then in the source tree
16241
# (if the path is not absolute). The absolute path cannot be DOS-style,
16242
# because $ac_f cannot contain `:'.
16246
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16248
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16250
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16251
as_fn_append ac_file_inputs " '$ac_f'"
16254
# Let's still pretend it is `configure' which instantiates (i.e., don't
16255
# use $as_me), people would be surprised to read:
16256
# /* config.h. Generated by config.status. */
16257
configure_input='Generated from '`
16258
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16260
if test x"$ac_file" != x-; then
16261
configure_input="$ac_file. $configure_input"
16262
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16263
$as_echo "$as_me: creating $ac_file" >&6;}
16265
# Neutralize special characters interpreted by sed in replacement strings.
16266
case $configure_input in #(
16267
*\&* | *\|* | *\\* )
16268
ac_sed_conf_input=`$as_echo "$configure_input" |
16269
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16270
*) ac_sed_conf_input=$configure_input;;
16274
*:-:* | *:-) cat >"$ac_tmp/stdin" \
16275
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16280
ac_dir=`$as_dirname -- "$ac_file" ||
16281
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16282
X"$ac_file" : 'X\(//\)[^/]' \| \
16283
X"$ac_file" : 'X\(//\)$' \| \
16284
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16285
$as_echo X"$ac_file" |
16286
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16290
/^X\(\/\/\)[^/].*/{
16303
as_dir="$ac_dir"; as_fn_mkdir_p
16307
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16309
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16310
# A ".." for each directory in $ac_dir_suffix.
16311
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16312
case $ac_top_builddir_sub in
16313
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16314
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16317
ac_abs_top_builddir=$ac_pwd
16318
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16319
# for backward compatibility:
16320
ac_top_builddir=$ac_top_build_prefix
16323
.) # We are building in place.
16325
ac_top_srcdir=$ac_top_builddir_sub
16326
ac_abs_top_srcdir=$ac_pwd ;;
16327
[\\/]* | ?:[\\/]* ) # Absolute name.
16328
ac_srcdir=$srcdir$ac_dir_suffix;
16329
ac_top_srcdir=$srcdir
16330
ac_abs_top_srcdir=$srcdir ;;
16331
*) # Relative name.
16332
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16333
ac_top_srcdir=$ac_top_build_prefix$srcdir
16334
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16336
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16346
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16347
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16349
ac_MKDIR_P=$MKDIR_P
16351
[\\/$]* | ?:[\\/]* ) ;;
16352
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16356
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16357
# If the template does not know about datarootdir, expand it.
16358
# FIXME: This hack should be removed a few years after 2.60.
16359
ac_datarootdir_hack=; ac_datarootdir_seen=
16370
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16371
*datarootdir*) ac_datarootdir_seen=yes;;
16372
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16373
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16374
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16376
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16377
ac_datarootdir_hack='
16378
s&@datadir@&$datadir&g
16379
s&@docdir@&$docdir&g
16380
s&@infodir@&$infodir&g
16381
s&@localedir@&$localedir&g
16382
s&@mandir@&$mandir&g
16383
s&\\\${datarootdir}&$datarootdir&g' ;;
16387
# Neutralize VPATH when `$srcdir' = `.'.
16388
# Shell code in configure.ac might set extrasub.
16389
# FIXME: do we really want to maintain this feature?
16390
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16391
ac_sed_extra="$ac_vpsub
16394
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16396
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16397
s|@configure_input@|$ac_sed_conf_input|;t t
16398
s&@top_builddir@&$ac_top_builddir_sub&;t t
16399
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16400
s&@srcdir@&$ac_srcdir&;t t
16401
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16402
s&@top_srcdir@&$ac_top_srcdir&;t t
16403
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16404
s&@builddir@&$ac_builddir&;t t
16405
s&@abs_builddir@&$ac_abs_builddir&;t t
16406
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16407
s&@INSTALL@&$ac_INSTALL&;t t
16408
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16409
$ac_datarootdir_hack
16411
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16412
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16414
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16415
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16416
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16417
"$ac_tmp/out"`; test -z "$ac_out"; } &&
16418
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16419
which seems to be undefined. Please make sure it is defined" >&5
16420
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16421
which seems to be undefined. Please make sure it is defined" >&2;}
16423
rm -f "$ac_tmp/stdin"
16425
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16426
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16428
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16434
if test x"$ac_file" != x-; then
16436
$as_echo "/* $configure_input */" \
16437
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16438
} >"$ac_tmp/config.h" \
16439
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16440
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16441
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16442
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16445
mv "$ac_tmp/config.h" "$ac_file" \
16446
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16449
$as_echo "/* $configure_input */" \
16450
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16451
|| as_fn_error $? "could not create -" "$LINENO" 5
16453
# Compute "$ac_file"'s index in $config_headers.
16456
for _am_header in $config_headers :; do
16457
case $_am_header in
16458
$_am_arg | $_am_arg:* )
16461
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
16464
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16465
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16466
X"$_am_arg" : 'X\(//\)[^/]' \| \
16467
X"$_am_arg" : 'X\(//\)$' \| \
16468
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16469
$as_echo X"$_am_arg" |
16470
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16474
/^X\(\/\/\)[^/].*/{
16486
s/.*/./; q'`/stamp-h$_am_stamp_count
16489
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16490
$as_echo "$as_me: executing $ac_file commands" >&6;}
16495
case $ac_file$ac_mode in
16496
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16497
# Older Autoconf quotes --file arguments for eval, but not when files
16498
# are listed without --file. Let's play safe and only enable the eval
16499
# if we detect the quoting.
16500
case $CONFIG_FILES in
16501
*\'*) eval set x "$CONFIG_FILES" ;;
16502
*) set x $CONFIG_FILES ;;
16507
# Strip MF so we end up with the name of the file.
16508
mf=`echo "$mf" | sed -e 's/:.*$//'`
16509
# Check whether this is an Automake generated Makefile or not.
16510
# We used to match only the files named 'Makefile.in', but
16511
# some people rename them; so instead we look at the file content.
16512
# Grep'ing the first line is not enough: some people post-process
16513
# each Makefile.in and add a new line on top of each file to say so.
16514
# Grep'ing the whole file is not good either: AIX grep has a line
16515
# limit of 2048, but all sed's we know have understand at least 4000.
16516
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16517
dirpart=`$as_dirname -- "$mf" ||
16518
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16519
X"$mf" : 'X\(//\)[^/]' \| \
16520
X"$mf" : 'X\(//\)$' \| \
16521
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16523
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16527
/^X\(\/\/\)[^/].*/{
16543
# Extract the definition of DEPDIR, am__include, and am__quote
16544
# from the Makefile without running 'make'.
16545
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16546
test -z "$DEPDIR" && continue
16547
am__include=`sed -n 's/^am__include = //p' < "$mf"`
16548
test -z "am__include" && continue
16549
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16550
# Find all dependency output files, they are included files with
16551
# $(DEPDIR) in their names. We invoke sed twice because it is the
16552
# simplest approach to changing $(DEPDIR) to its actual value in the
16554
for file in `sed -n "
16555
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16556
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16557
# Make sure the directory exists.
16558
test -f "$dirpart/$file" && continue
16559
fdir=`$as_dirname -- "$file" ||
16560
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16561
X"$file" : 'X\(//\)[^/]' \| \
16562
X"$file" : 'X\(//\)$' \| \
16563
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16564
$as_echo X"$file" |
16565
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16569
/^X\(\/\/\)[^/].*/{
16582
as_dir=$dirpart/$fdir; as_fn_mkdir_p
16583
# echo "creating $dirpart/$file"
16584
echo '# dummy' > "$dirpart/$file"
16591
# See if we are running on zsh, and set the options which allow our
16592
# commands through without removal of \ escapes.
16593
if test -n "${ZSH_VERSION+set}" ; then
16594
setopt NO_GLOB_SUBST
16597
cfgfile="${ofile}T"
16598
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16601
cat <<_LT_EOF >> "$cfgfile"
16604
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16605
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16606
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16607
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16609
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16610
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16612
# Written by Gordon Matzigkeit, 1996
16614
# This file is part of GNU Libtool.
16616
# GNU Libtool is free software; you can redistribute it and/or
16617
# modify it under the terms of the GNU General Public License as
16618
# published by the Free Software Foundation; either version 2 of
16619
# the License, or (at your option) any later version.
16621
# As a special exception to the GNU General Public License,
16622
# if you distribute this file as part of a program or library that
16623
# is built using GNU Libtool, you may include this file under the
16624
# same distribution terms that you use for the rest of that program.
16626
# GNU Libtool is distributed in the hope that it will be useful,
16627
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16628
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16629
# GNU General Public License for more details.
16631
# You should have received a copy of the GNU General Public License
16632
# along with GNU Libtool; see the file COPYING. If not, a copy
16633
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16634
# obtained by writing to the Free Software Foundation, Inc.,
16635
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16638
# The names of the tagged configurations supported by this script.
16641
# ### BEGIN LIBTOOL CONFIG
16643
# Which release of libtool.m4 was used?
16644
macro_version=$macro_version
16645
macro_revision=$macro_revision
16647
# Whether or not to build static libraries.
16648
build_old_libs=$enable_static
16650
# Whether or not to build shared libraries.
16651
build_libtool_libs=$enable_shared
16653
# What type of objects to build.
16656
# Whether or not to optimize for fast installation.
16657
fast_install=$enable_fast_install
16659
# Shell to use when invoking shell scripts.
16662
# An echo program that protects backslashes.
16665
# The PATH separator for the build system.
16666
PATH_SEPARATOR=$lt_PATH_SEPARATOR
16669
host_alias=$host_alias
16673
# The build system.
16674
build_alias=$build_alias
16678
# A sed program that does not truncate output.
16681
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16682
Xsed="\$SED -e 1s/^X//"
16684
# A grep program that handles long lines.
16690
# A literal string matcher.
16693
# A BSD- or MS-compatible name lister.
16696
# Whether we need soft or hard links.
16699
# What is the maximum length of a command?
16700
max_cmd_len=$max_cmd_len
16702
# Object file suffix (normally "o").
16705
# Executable file suffix (normally "").
16708
# whether the shell understands "unset".
16711
# turn spaces into newlines.
16714
# turn newlines into spaces.
16717
# convert \$build file names to \$host format.
16718
to_host_file_cmd=$lt_cv_to_host_file_cmd
16720
# convert \$build files to toolchain format.
16721
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16723
# An object symbol dumper.
16724
OBJDUMP=$lt_OBJDUMP
16726
# Method to check whether dependent libraries are shared objects.
16727
deplibs_check_method=$lt_deplibs_check_method
16729
# Command to use when deplibs_check_method = "file_magic".
16730
file_magic_cmd=$lt_file_magic_cmd
16732
# How to find potential files when deplibs_check_method = "file_magic".
16733
file_magic_glob=$lt_file_magic_glob
16735
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16736
want_nocaseglob=$lt_want_nocaseglob
16738
# DLL creation program.
16739
DLLTOOL=$lt_DLLTOOL
16741
# Command to associate shared and link libraries.
16742
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16747
# Flags to create an archive.
16748
AR_FLAGS=$lt_AR_FLAGS
16750
# How to feed a file listing to the archiver.
16751
archiver_list_spec=$lt_archiver_list_spec
16753
# A symbol stripping program.
16756
# Commands used to install an old-style archive.
16758
old_postinstall_cmds=$lt_old_postinstall_cmds
16759
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16761
# Whether to use a lock for old archive extraction.
16762
lock_old_archive_extraction=$lock_old_archive_extraction
16767
# LTCC compiler flags.
16768
LTCFLAGS=$lt_CFLAGS
16770
# Take the output of nm and produce a listing of raw symbols and C names.
16771
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16773
# Transform the output of nm in a proper C declaration.
16774
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16776
# Transform the output of nm in a C name address pair.
16777
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16779
# Transform the output of nm in a C name address pair when lib prefix is needed.
16780
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16782
# Specify filename containing input files for \$NM.
16783
nm_file_list_spec=$lt_nm_file_list_spec
16785
# The root where to search for dependent libraries,and in which our libraries should be installed.
16786
lt_sysroot=$lt_sysroot
16788
# The name of the directory that contains temporary libtool files.
16791
# Used to examine libraries when file_magic_cmd begins with "file".
16792
MAGIC_CMD=$MAGIC_CMD
16794
# Must we lock files when doing compilation?
16795
need_locks=$lt_need_locks
16798
MANIFEST_TOOL=$lt_MANIFEST_TOOL
16800
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16801
DSYMUTIL=$lt_DSYMUTIL
16803
# Tool to change global to local symbols on Mac OS X.
16806
# Tool to manipulate fat objects and archives on Mac OS X.
16809
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16812
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16813
OTOOL64=$lt_OTOOL64
16815
# Old archive suffix (normally "a").
16818
# Shared library suffix (normally ".so").
16819
shrext_cmds=$lt_shrext_cmds
16821
# The commands to extract the exported symbol list from a shared archive.
16822
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16824
# Variables whose values should be saved in libtool wrapper scripts and
16825
# restored at link time.
16826
variables_saved_for_relink=$lt_variables_saved_for_relink
16828
# Do we need the "lib" prefix for modules?
16829
need_lib_prefix=$need_lib_prefix
16831
# Do we need a version for libraries?
16832
need_version=$need_version
16834
# Library versioning type.
16835
version_type=$version_type
16837
# Shared library runtime path variable.
16838
runpath_var=$runpath_var
16840
# Shared library path variable.
16841
shlibpath_var=$shlibpath_var
16843
# Is shlibpath searched before the hard-coded library search path?
16844
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16846
# Format of library name prefix.
16847
libname_spec=$lt_libname_spec
16849
# List of archive names. First name is the real one, the rest are links.
16850
# The last name is the one that the linker finds with -lNAME
16851
library_names_spec=$lt_library_names_spec
16853
# The coded name of the library, if different from the real name.
16854
soname_spec=$lt_soname_spec
16856
# Permission mode override for installation of shared libraries.
16857
install_override_mode=$lt_install_override_mode
16859
# Command to use after installation of a shared archive.
16860
postinstall_cmds=$lt_postinstall_cmds
16862
# Command to use after uninstallation of a shared archive.
16863
postuninstall_cmds=$lt_postuninstall_cmds
16865
# Commands used to finish a libtool library installation in a directory.
16866
finish_cmds=$lt_finish_cmds
16868
# As "finish_cmds", except a single script fragment to be evaled but
16870
finish_eval=$lt_finish_eval
16872
# Whether we should hardcode library paths into libraries.
16873
hardcode_into_libs=$hardcode_into_libs
16875
# Compile-time system search path for libraries.
16876
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16878
# Run-time system search path for libraries.
16879
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16881
# Whether dlopen is supported.
16882
dlopen_support=$enable_dlopen
16884
# Whether dlopen of programs is supported.
16885
dlopen_self=$enable_dlopen_self
16887
# Whether dlopen of statically linked programs is supported.
16888
dlopen_self_static=$enable_dlopen_self_static
16890
# Commands to strip libraries.
16891
old_striplib=$lt_old_striplib
16892
striplib=$lt_striplib
16895
# The linker used to build libraries.
16898
# How to create reloadable object files.
16899
reload_flag=$lt_reload_flag
16900
reload_cmds=$lt_reload_cmds
16902
# Commands used to build an old-style archive.
16903
old_archive_cmds=$lt_old_archive_cmds
16905
# A language specific compiler.
16908
# Is the compiler the GNU compiler?
16911
# Compiler flag to turn off builtin functions.
16912
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16914
# Additional compiler flags for building library objects.
16915
pic_flag=$lt_lt_prog_compiler_pic
16917
# How to pass a linker flag through the compiler.
16918
wl=$lt_lt_prog_compiler_wl
16920
# Compiler flag to prevent dynamic linking.
16921
link_static_flag=$lt_lt_prog_compiler_static
16923
# Does compiler simultaneously support -c and -o options?
16924
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16926
# Whether or not to add -lc for building shared libraries.
16927
build_libtool_need_lc=$archive_cmds_need_lc
16929
# Whether or not to disallow shared libs when runtime libs are static.
16930
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16932
# Compiler flag to allow reflexive dlopens.
16933
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16935
# Compiler flag to generate shared objects directly from archives.
16936
whole_archive_flag_spec=$lt_whole_archive_flag_spec
16938
# Whether the compiler copes with passing no objects directly.
16939
compiler_needs_object=$lt_compiler_needs_object
16941
# Create an old-style archive from a shared archive.
16942
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16944
# Create a temporary old-style archive to link instead of a shared archive.
16945
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16947
# Commands used to build a shared archive.
16948
archive_cmds=$lt_archive_cmds
16949
archive_expsym_cmds=$lt_archive_expsym_cmds
16951
# Commands used to build a loadable module if different from building
16952
# a shared archive.
16953
module_cmds=$lt_module_cmds
16954
module_expsym_cmds=$lt_module_expsym_cmds
16956
# Whether we are building with GNU ld or not.
16957
with_gnu_ld=$lt_with_gnu_ld
16959
# Flag that allows shared libraries with undefined symbols to be built.
16960
allow_undefined_flag=$lt_allow_undefined_flag
16962
# Flag that enforces no undefined symbols.
16963
no_undefined_flag=$lt_no_undefined_flag
16965
# Flag to hardcode \$libdir into a binary during linking.
16966
# This must work even if \$libdir does not exist
16967
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16969
# Whether we need a single "-rpath" flag with a separated argument.
16970
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16972
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16973
# DIR into the resulting binary.
16974
hardcode_direct=$hardcode_direct
16976
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16977
# DIR into the resulting binary and the resulting library dependency is
16978
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16979
# library is relocated.
16980
hardcode_direct_absolute=$hardcode_direct_absolute
16982
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16983
# into the resulting binary.
16984
hardcode_minus_L=$hardcode_minus_L
16986
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16987
# into the resulting binary.
16988
hardcode_shlibpath_var=$hardcode_shlibpath_var
16990
# Set to "yes" if building a shared library automatically hardcodes DIR
16991
# into the library and all subsequent libraries and executables linked
16993
hardcode_automatic=$hardcode_automatic
16995
# Set to yes if linker adds runtime paths of dependent libraries
16996
# to runtime path list.
16997
inherit_rpath=$inherit_rpath
16999
# Whether libtool must link a program against all its dependency libraries.
17000
link_all_deplibs=$link_all_deplibs
17002
# Set to "yes" if exported symbols are required.
17003
always_export_symbols=$always_export_symbols
17005
# The commands to list exported symbols.
17006
export_symbols_cmds=$lt_export_symbols_cmds
17008
# Symbols that should not be listed in the preloaded symbols.
17009
exclude_expsyms=$lt_exclude_expsyms
17011
# Symbols that must always be exported.
17012
include_expsyms=$lt_include_expsyms
17014
# Commands necessary for linking programs (against libraries) with templates.
17015
prelink_cmds=$lt_prelink_cmds
17017
# Commands necessary for finishing linking programs.
17018
postlink_cmds=$lt_postlink_cmds
17020
# Specify filename containing input files.
17021
file_list_spec=$lt_file_list_spec
17023
# How to hardcode a shared library path into an executable.
17024
hardcode_action=$hardcode_action
17026
# ### END LIBTOOL CONFIG
17032
cat <<\_LT_EOF >> "$cfgfile"
17033
# AIX sometimes has problems with the GCC collect2 program. For some
17034
# reason, if we set the COLLECT_NAMES environment variable, the problems
17035
# vanish in a puff of smoke.
17036
if test "X${COLLECT_NAMES+set}" != Xset; then
17038
export COLLECT_NAMES
17045
ltmain="$ac_aux_dir/ltmain.sh"
17048
# We use sed instead of cat because bash on DJGPP gets confused if
17049
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17050
# text mode, it properly converts lines to CR/LF. This bash problem
17051
# is reportedly fixed, but why not run on old versions too?
17052
sed '$q' "$ltmain" >> "$cfgfile" \
17053
|| (rm -f "$cfgfile"; exit 1)
17055
if test x"$xsi_shell" = xyes; then
17056
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17060
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17061
\ * ) func_dirname_result="${3}" ;;\
17063
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17064
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17065
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17066
test 0 -eq $? || _lt_function_replace_fail=:
17069
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17072
\ func_basename_result="${1##*/}"\
17073
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17074
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17075
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17076
test 0 -eq $? || _lt_function_replace_fail=:
17079
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17080
func_dirname_and_basename ()\
17083
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17084
\ * ) func_dirname_result="${3}" ;;\
17086
\ func_basename_result="${1##*/}"\
17087
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17088
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17089
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17090
test 0 -eq $? || _lt_function_replace_fail=:
17093
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17096
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17097
\ # positional parameters, so assign one to ordinary parameter first.\
17098
\ func_stripname_result=${3}\
17099
\ func_stripname_result=${func_stripname_result#"${1}"}\
17100
\ func_stripname_result=${func_stripname_result%"${2}"}\
17101
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17102
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17103
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17104
test 0 -eq $? || _lt_function_replace_fail=:
17107
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17108
func_split_long_opt ()\
17110
\ func_split_long_opt_name=${1%%=*}\
17111
\ func_split_long_opt_arg=${1#*=}\
17112
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17113
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17114
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17115
test 0 -eq $? || _lt_function_replace_fail=:
17118
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17119
func_split_short_opt ()\
17121
\ func_split_short_opt_arg=${1#??}\
17122
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17123
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17124
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17125
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17126
test 0 -eq $? || _lt_function_replace_fail=:
17129
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17133
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17134
\ *) func_lo2o_result=${1} ;;\
17136
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17137
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17138
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17139
test 0 -eq $? || _lt_function_replace_fail=:
17142
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17145
func_xform_result=${1%.*}.lo\
17146
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17147
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17148
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17149
test 0 -eq $? || _lt_function_replace_fail=:
17152
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17155
func_arith_result=$(( $* ))\
17156
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17157
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17158
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17159
test 0 -eq $? || _lt_function_replace_fail=:
17162
sed -e '/^func_len ()$/,/^} # func_len /c\
17165
func_len_result=${#1}\
17166
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17167
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17168
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17169
test 0 -eq $? || _lt_function_replace_fail=:
17173
if test x"$lt_shell_append" = xyes; then
17174
sed -e '/^func_append ()$/,/^} # func_append /c\
17177
eval "${1}+=\\${2}"\
17178
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17179
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17180
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17181
test 0 -eq $? || _lt_function_replace_fail=:
17184
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17185
func_append_quoted ()\
17187
\ func_quote_for_eval "${2}"\
17188
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17189
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17190
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17191
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17192
test 0 -eq $? || _lt_function_replace_fail=:
17195
# Save a `func_append' function call where possible by direct use of '+='
17196
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17197
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17198
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17199
test 0 -eq $? || _lt_function_replace_fail=:
17201
# Save a `func_append' function call even when '+=' is not available
17202
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17203
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17204
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17205
test 0 -eq $? || _lt_function_replace_fail=:
17208
if test x"$_lt_function_replace_fail" = x":"; then
17209
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17210
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17214
mv -f "$cfgfile" "$ofile" ||
17215
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17219
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17220
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17223
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17224
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17226
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17231
'"s|^| $ac_top_srcdir/|" \
17232
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17234
sed '/^POTFILES =/,/[^\\]$/ {
17238
' "po/Makefile.in" >"po/Makefile"
17239
rm -f "po/Makefile.tmp"
17240
mv "po/stamp-it.tmp" "po/stamp-it"
17249
ac_clean_files=$ac_clean_files_save
17251
test $ac_write_fail = 0 ||
17252
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17255
# configure is writing to config.log, and then calls config.status.
17256
# config.status does its own redirection, appending to config.log.
17257
# Unfortunately, on DOS this fails, as config.log is still kept open
17258
# by configure, so config.status won't be able to write to it; its
17259
# output is simply discarded. So we exec the FD to /dev/null,
17260
# effectively closing config.log, so it can be properly (re)opened and
17261
# appended to by config.status. When coming back to configure, we
17262
# need to make the FD available again.
17263
if test "$no_create" != yes; then
17265
ac_config_status_args=
17266
test "$silent" = yes &&
17267
ac_config_status_args="$ac_config_status_args --quiet"
17269
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17271
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17272
# would make configure fail if this is the last instruction.
17273
$ac_cs_success || as_fn_exit 1
17275
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17276
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17277
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17282
echo "Build Configuration:"
17284
echo "* Debug Support: $enable_debug"
17285
echo "* GNU Visibility: $have_gnuc_visibility"