2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for nm-applet 0.9.6.2.
5
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager
251
$0: about your system, including any error possibly output
252
$0: before this message. Then install a modern shell, or
253
$0: manually run the script under such a shell if you do
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Unset more variables known to interfere with behavior of common tools.
263
CLICOLOR_FORCE= GREP_OPTIONS=
264
unset CLICOLOR_FORCE GREP_OPTIONS
266
## --------------------- ##
267
## M4sh Shell Functions. ##
268
## --------------------- ##
271
# Portably unset VAR.
274
{ eval $1=; unset $1;}
278
# as_fn_set_status STATUS
279
# -----------------------
280
# Set $? to STATUS, without forking.
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298
# Create "$as_dir" as a directory, including parents if necessary.
303
-*) as_dir=./$as_dir;;
305
test -d "$as_dir" || eval $as_mkdir_p || {
309
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312
as_dirs="'$as_qdir' $as_dirs"
313
as_dir=`$as_dirname -- "$as_dir" ||
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315
X"$as_dir" : 'X\(//\)[^/]' \| \
316
X"$as_dir" : 'X\(//\)$' \| \
317
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318
$as_echo X"$as_dir" |
319
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336
test -d "$as_dir" && break
338
test -z "$as_dirs" || eval "mkdir $as_dirs"
339
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343
# as_fn_append VAR VALUE
344
# ----------------------
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
346
# advantage of any shell optimizations that allow amortized linear growth over
347
# repeated appends, instead of the typical quadratic growth present in naive
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350
eval 'as_fn_append ()
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
365
# must be portable across $(()) and expr.
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374
as_val=`expr "$@" || test $? -eq 1`
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
380
# ----------------------------------------
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383
# script with STATUS, using 1 if that was 0.
386
as_status=$1; test $as_status -eq 0 && as_status=1
388
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391
$as_echo "$as_me: error: $2" >&2
392
as_fn_exit $as_status
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
396
test "X`expr 00001 : '.*\(...\)'`" = X001; then
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414
as_me=`$as_basename -- "$0" ||
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416
X"$0" : 'X\(//\)$' \| \
417
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419
sed '/^.*\/\([^/][^/]*\)\/*$/{
433
# Avoid depending upon Character Ranges.
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437
as_cr_digits='0123456789'
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
441
as_lineno_1=$LINENO as_lineno_1a=$LINENO
442
as_lineno_2=$LINENO as_lineno_2a=$LINENO
443
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461
chmod +x "$as_me.lineno" ||
462
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464
# Don't try to exec as it changes $[0], causing all sort of problems
465
# (the dirname of $[0] is not the place where we might find the
466
# original and so on. Autoconf is especially sensitive to this).
468
# Exit status is that of the last command.
472
ECHO_C= ECHO_N= ECHO_T=
473
case `echo -n x` in #(((((
475
case `echo 'xy\c'` in
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
478
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485
rm -f conf$$ conf$$.exe conf$$.file
486
if test -d conf$$.dir; then
487
rm -f conf$$.dir/conf$$.file
490
mkdir conf$$.dir 2>/dev/null
492
if (echo >conf$$.file) 2>/dev/null; then
493
if ln -s conf$$.file conf$$ 2>/dev/null; then
495
# ... but there are two gotchas:
496
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498
# In both cases, we have to default to `cp -p'.
499
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501
elif ln conf$$.file conf$$ 2>/dev/null; then
509
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510
rmdir conf$$.dir 2>/dev/null
512
if mkdir -p . 2>/dev/null; then
513
as_mkdir_p='mkdir -p "$as_dir"'
515
test -d ./-p && rmdir ./-p
519
if test -x / >/dev/null 2>&1; then
522
if ls -dL / >/dev/null 2>&1; then
529
if test -d "$1"; then
535
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536
???[sx]*):;;*)false;;esac;fi
540
as_executable_p=$as_test_x
542
# Sed expression to map a string onto a valid CPP name.
543
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545
# Sed expression to map a string onto a valid variable name.
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548
SHELL=${CONFIG_SHELL-/bin/sh}
551
test -n "$DJDIR" || exec 7<&0 </dev/null
555
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556
# so uname gets run too.
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562
ac_default_prefix=/usr/local
564
ac_config_libobj_dir=.
571
# Identity of this package.
572
PACKAGE_NAME='nm-applet'
573
PACKAGE_TARNAME='network-manager-applet'
574
PACKAGE_VERSION='0.9.6.2'
575
PACKAGE_STRING='nm-applet 0.9.6.2'
576
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager'
579
# Factoring default headers for most tests.
580
ac_includes_default="\
582
#ifdef HAVE_SYS_TYPES_H
583
# include <sys/types.h>
585
#ifdef HAVE_SYS_STAT_H
586
# include <sys/stat.h>
592
# ifdef HAVE_STDLIB_H
597
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602
#ifdef HAVE_STRINGS_H
603
# include <strings.h>
605
#ifdef HAVE_INTTYPES_H
606
# include <inttypes.h>
615
ac_subst_vars='am__EXEEXT_FALSE
622
GSETTINGS_DISABLE_SCHEMAS_COMPILE
631
GNOME_BLUETOOTH_CFLAGS
645
BUILD_MIGRATION_TOOL_FALSE
646
BUILD_MIGRATION_TOOL_TRUE
675
INTLTOOL_SERVICE_RULE
677
INTLTOOL_SCHEMAS_RULE
679
INTLTOOL_XML_NOMERGE_RULE
684
INTLTOOL_SOUNDLIST_RULE
691
INTLTOOL_DIRECTORY_RULE
692
INTLTOOL_DESKTOP_RULE
693
intltool__v_merge_options_0
694
intltool__v_merge_options_
695
INTLTOOL_V_MERGE_OPTIONS
759
MAINTAINER_MODE_FALSE
769
INSTALL_STRIP_PROGRAM
811
program_transform_name
824
enable_option_checking
825
enable_maintainer_mode
827
enable_dependency_tracking
841
enable_schemas_compile
844
ac_precious_vars='build_alias
874
GNOME_BLUETOOTH_CFLAGS
880
# Initialize some variables set by options.
882
ac_init_version=false
883
ac_unrecognized_opts=
885
# The variables have the same names as the options, with
886
# dashes changed to underlines.
894
program_transform_name=s,x,x,
902
# Installation directory options.
903
# These are left unexpanded so users can "make install exec_prefix=/foo"
904
# and all the variables that are supposed to be based on exec_prefix
905
# by default will actually change.
906
# Use braces instead of parens because sh, perl, etc. also accept them.
907
# (The list follows the same order as the GNU Coding Standards.)
908
bindir='${exec_prefix}/bin'
909
sbindir='${exec_prefix}/sbin'
910
libexecdir='${exec_prefix}/libexec'
911
datarootdir='${prefix}/share'
912
datadir='${datarootdir}'
913
sysconfdir='${prefix}/etc'
914
sharedstatedir='${prefix}/com'
915
localstatedir='${prefix}/var'
916
includedir='${prefix}/include'
917
oldincludedir='/usr/include'
918
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
919
infodir='${datarootdir}/info'
924
libdir='${exec_prefix}/lib'
925
localedir='${datarootdir}/locale'
926
mandir='${datarootdir}/man'
932
# If the previous option needs an argument, assign it.
933
if test -n "$ac_prev"; then
934
eval $ac_prev=\$ac_option
940
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
945
# Accept the important Cygnus configure options, so we can diagnose typos.
947
case $ac_dashdash$ac_option in
951
-bindir | --bindir | --bindi | --bind | --bin | --bi)
953
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
956
-build | --build | --buil | --bui | --bu)
957
ac_prev=build_alias ;;
958
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
959
build_alias=$ac_optarg ;;
961
-cache-file | --cache-file | --cache-fil | --cache-fi \
962
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
963
ac_prev=cache_file ;;
964
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
965
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
966
cache_file=$ac_optarg ;;
969
cache_file=config.cache ;;
971
-datadir | --datadir | --datadi | --datad)
973
-datadir=* | --datadir=* | --datadi=* | --datad=*)
974
datadir=$ac_optarg ;;
976
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
977
| --dataroo | --dataro | --datar)
978
ac_prev=datarootdir ;;
979
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
980
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
981
datarootdir=$ac_optarg ;;
983
-disable-* | --disable-*)
984
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
985
# Reject names that are not valid shell variable names.
986
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
987
as_fn_error $? "invalid feature name: $ac_useropt"
988
ac_useropt_orig=$ac_useropt
989
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990
case $ac_user_opts in
994
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
995
ac_unrecognized_sep=', ';;
997
eval enable_$ac_useropt=no ;;
999
-docdir | --docdir | --docdi | --doc | --do)
1001
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1002
docdir=$ac_optarg ;;
1004
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1006
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1007
dvidir=$ac_optarg ;;
1009
-enable-* | --enable-*)
1010
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1011
# Reject names that are not valid shell variable names.
1012
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013
as_fn_error $? "invalid feature name: $ac_useropt"
1014
ac_useropt_orig=$ac_useropt
1015
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016
case $ac_user_opts in
1018
"enable_$ac_useropt"
1020
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1021
ac_unrecognized_sep=', ';;
1023
eval enable_$ac_useropt=\$ac_optarg ;;
1025
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1026
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1027
| --exec | --exe | --ex)
1028
ac_prev=exec_prefix ;;
1029
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1030
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1031
| --exec=* | --exe=* | --ex=*)
1032
exec_prefix=$ac_optarg ;;
1034
-gas | --gas | --ga | --g)
1035
# Obsolete; use --with-gas.
1038
-help | --help | --hel | --he | -h)
1039
ac_init_help=long ;;
1040
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1041
ac_init_help=recursive ;;
1042
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1043
ac_init_help=short ;;
1045
-host | --host | --hos | --ho)
1046
ac_prev=host_alias ;;
1047
-host=* | --host=* | --hos=* | --ho=*)
1048
host_alias=$ac_optarg ;;
1050
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1052
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1054
htmldir=$ac_optarg ;;
1056
-includedir | --includedir | --includedi | --included | --include \
1057
| --includ | --inclu | --incl | --inc)
1058
ac_prev=includedir ;;
1059
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1060
| --includ=* | --inclu=* | --incl=* | --inc=*)
1061
includedir=$ac_optarg ;;
1063
-infodir | --infodir | --infodi | --infod | --info | --inf)
1065
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1066
infodir=$ac_optarg ;;
1068
-libdir | --libdir | --libdi | --libd)
1070
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1071
libdir=$ac_optarg ;;
1073
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1074
| --libexe | --libex | --libe)
1075
ac_prev=libexecdir ;;
1076
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1077
| --libexe=* | --libex=* | --libe=*)
1078
libexecdir=$ac_optarg ;;
1080
-localedir | --localedir | --localedi | --localed | --locale)
1081
ac_prev=localedir ;;
1082
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1083
localedir=$ac_optarg ;;
1085
-localstatedir | --localstatedir | --localstatedi | --localstated \
1086
| --localstate | --localstat | --localsta | --localst | --locals)
1087
ac_prev=localstatedir ;;
1088
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1089
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1090
localstatedir=$ac_optarg ;;
1092
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1094
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1095
mandir=$ac_optarg ;;
1097
-nfp | --nfp | --nf)
1098
# Obsolete; use --without-fp.
1101
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1102
| --no-cr | --no-c | -n)
1105
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1106
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1109
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1110
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1111
| --oldin | --oldi | --old | --ol | --o)
1112
ac_prev=oldincludedir ;;
1113
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1114
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1115
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1116
oldincludedir=$ac_optarg ;;
1118
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1120
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1121
prefix=$ac_optarg ;;
1123
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1124
| --program-pre | --program-pr | --program-p)
1125
ac_prev=program_prefix ;;
1126
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1127
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1128
program_prefix=$ac_optarg ;;
1130
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1131
| --program-suf | --program-su | --program-s)
1132
ac_prev=program_suffix ;;
1133
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1134
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1135
program_suffix=$ac_optarg ;;
1137
-program-transform-name | --program-transform-name \
1138
| --program-transform-nam | --program-transform-na \
1139
| --program-transform-n | --program-transform- \
1140
| --program-transform | --program-transfor \
1141
| --program-transfo | --program-transf \
1142
| --program-trans | --program-tran \
1143
| --progr-tra | --program-tr | --program-t)
1144
ac_prev=program_transform_name ;;
1145
-program-transform-name=* | --program-transform-name=* \
1146
| --program-transform-nam=* | --program-transform-na=* \
1147
| --program-transform-n=* | --program-transform-=* \
1148
| --program-transform=* | --program-transfor=* \
1149
| --program-transfo=* | --program-transf=* \
1150
| --program-trans=* | --program-tran=* \
1151
| --progr-tra=* | --program-tr=* | --program-t=*)
1152
program_transform_name=$ac_optarg ;;
1154
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1156
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1157
pdfdir=$ac_optarg ;;
1159
-psdir | --psdir | --psdi | --psd | --ps)
1161
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1164
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1165
| -silent | --silent | --silen | --sile | --sil)
1168
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1170
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1172
sbindir=$ac_optarg ;;
1174
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1175
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1176
| --sharedst | --shareds | --shared | --share | --shar \
1178
ac_prev=sharedstatedir ;;
1179
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1180
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1181
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1183
sharedstatedir=$ac_optarg ;;
1185
-site | --site | --sit)
1187
-site=* | --site=* | --sit=*)
1190
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1192
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1193
srcdir=$ac_optarg ;;
1195
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1196
| --syscon | --sysco | --sysc | --sys | --sy)
1197
ac_prev=sysconfdir ;;
1198
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1199
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1200
sysconfdir=$ac_optarg ;;
1202
-target | --target | --targe | --targ | --tar | --ta | --t)
1203
ac_prev=target_alias ;;
1204
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1205
target_alias=$ac_optarg ;;
1207
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1210
-version | --version | --versio | --versi | --vers | -V)
1211
ac_init_version=: ;;
1214
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215
# Reject names that are not valid shell variable names.
1216
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1217
as_fn_error $? "invalid package name: $ac_useropt"
1218
ac_useropt_orig=$ac_useropt
1219
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220
case $ac_user_opts in
1224
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225
ac_unrecognized_sep=', ';;
1227
eval with_$ac_useropt=\$ac_optarg ;;
1229
-without-* | --without-*)
1230
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231
# Reject names that are not valid shell variable names.
1232
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233
as_fn_error $? "invalid package name: $ac_useropt"
1234
ac_useropt_orig=$ac_useropt
1235
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236
case $ac_user_opts in
1240
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241
ac_unrecognized_sep=', ';;
1243
eval with_$ac_useropt=no ;;
1246
# Obsolete; use --with-x.
1249
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1250
| --x-incl | --x-inc | --x-in | --x-i)
1251
ac_prev=x_includes ;;
1252
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1253
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1254
x_includes=$ac_optarg ;;
1256
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1257
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1258
ac_prev=x_libraries ;;
1259
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1260
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1261
x_libraries=$ac_optarg ;;
1263
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1264
Try \`$0 --help' for more information"
1268
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1269
# Reject names that are not valid shell variable names.
1270
case $ac_envvar in #(
1271
'' | [0-9]* | *[!_$as_cr_alnum]* )
1272
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1274
eval $ac_envvar=\$ac_optarg
1275
export $ac_envvar ;;
1278
# FIXME: should be removed in autoconf 3.0.
1279
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1281
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1288
if test -n "$ac_prev"; then
1289
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1290
as_fn_error $? "missing argument to $ac_option"
1293
if test -n "$ac_unrecognized_opts"; then
1294
case $enable_option_checking in
1296
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1297
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301
# Check all directory arguments for consistency.
1302
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303
datadir sysconfdir sharedstatedir localstatedir includedir \
1304
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305
libdir localedir mandir
1307
eval ac_val=\$$ac_var
1308
# Remove trailing slashes.
1311
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1312
eval $ac_var=\$ac_val;;
1314
# Be sure to have absolute directory names.
1316
[\\/$]* | ?:[\\/]* ) continue;;
1317
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1319
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1322
# There might be people who depend on the old broken behavior: `$host'
1323
# used to hold the argument of --host etc.
1324
# FIXME: To remove some day.
1327
target=$target_alias
1329
# FIXME: To remove some day.
1330
if test "x$host_alias" != x; then
1331
if test "x$build_alias" = x; then
1332
cross_compiling=maybe
1333
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1334
If a cross compiler is detected then cross compile mode will be used" >&2
1335
elif test "x$build_alias" != "x$host_alias"; then
1341
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1343
test "$silent" = yes && exec 6>/dev/null
1346
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1347
ac_ls_di=`ls -di .` &&
1348
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1349
as_fn_error $? "working directory cannot be determined"
1350
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1351
as_fn_error $? "pwd does not report name of working directory"
1354
# Find the source files, if location was not specified.
1355
if test -z "$srcdir"; then
1356
ac_srcdir_defaulted=yes
1357
# Try the directory containing this script, then the parent directory.
1358
ac_confdir=`$as_dirname -- "$as_myself" ||
1359
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1360
X"$as_myself" : 'X\(//\)[^/]' \| \
1361
X"$as_myself" : 'X\(//\)$' \| \
1362
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1363
$as_echo X"$as_myself" |
1364
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382
if test ! -r "$srcdir/$ac_unique_file"; then
1386
ac_srcdir_defaulted=no
1388
if test ! -r "$srcdir/$ac_unique_file"; then
1389
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1390
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1392
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1394
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1396
# When building in place, set srcdir=.
1397
if test "$ac_abs_confdir" = "$ac_pwd"; then
1400
# Remove unnecessary trailing slashes from srcdir.
1401
# Double slashes in file names in object file debugging info
1402
# mess up M-x gdb in Emacs.
1404
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406
for ac_var in $ac_precious_vars; do
1407
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1408
eval ac_env_${ac_var}_value=\$${ac_var}
1409
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1410
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1414
# Report the --help message.
1416
if test "$ac_init_help" = "long"; then
1417
# Omit some internal or obsolete options to make the list less imposing.
1418
# This message is too long to be a string in the A/UX 3.1 sh.
1420
\`configure' configures nm-applet 0.9.6.2 to adapt to many kinds of systems.
1422
Usage: $0 [OPTION]... [VAR=VALUE]...
1424
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1425
VAR=VALUE. See below for descriptions of some of the useful variables.
1427
Defaults for the options are specified in brackets.
1430
-h, --help display this help and exit
1431
--help=short display options specific to this package
1432
--help=recursive display the short help of all the included packages
1433
-V, --version display version information and exit
1434
-q, --quiet, --silent do not print \`checking ...' messages
1435
--cache-file=FILE cache test results in FILE [disabled]
1436
-C, --config-cache alias for \`--cache-file=config.cache'
1437
-n, --no-create do not create output files
1438
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1440
Installation directories:
1441
--prefix=PREFIX install architecture-independent files in PREFIX
1442
[$ac_default_prefix]
1443
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1446
By default, \`make install' will install all the files in
1447
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1448
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1449
for instance \`--prefix=\$HOME'.
1451
For better control, use the options below.
1453
Fine tuning of the installation directories:
1454
--bindir=DIR user executables [EPREFIX/bin]
1455
--sbindir=DIR system admin executables [EPREFIX/sbin]
1456
--libexecdir=DIR program executables [EPREFIX/libexec]
1457
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1458
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1459
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1460
--libdir=DIR object code libraries [EPREFIX/lib]
1461
--includedir=DIR C header files [PREFIX/include]
1462
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1463
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1464
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1465
--infodir=DIR info documentation [DATAROOTDIR/info]
1466
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1467
--mandir=DIR man documentation [DATAROOTDIR/man]
1468
--docdir=DIR documentation root
1469
[DATAROOTDIR/doc/network-manager-applet]
1470
--htmldir=DIR html documentation [DOCDIR]
1471
--dvidir=DIR dvi documentation [DOCDIR]
1472
--pdfdir=DIR pdf documentation [DOCDIR]
1473
--psdir=DIR ps documentation [DOCDIR]
1479
--program-prefix=PREFIX prepend PREFIX to installed program names
1480
--program-suffix=SUFFIX append SUFFIX to installed program names
1481
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1484
--build=BUILD configure for building on BUILD [guessed]
1485
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1489
if test -n "$ac_init_help"; then
1490
case $ac_init_help in
1491
short | recursive ) echo "Configuration of nm-applet 0.9.6.2:";;
1496
--disable-option-checking ignore unrecognized --enable/--with options
1497
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1498
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1499
--disable-maintainer-mode disable make rules and dependencies not useful
1500
(and sometimes confusing) to the casual installer
1501
--enable-silent-rules less verbose build output (undo: `make V=1')
1502
--disable-silent-rules verbose build output (undo: `make V=0')
1503
--disable-dependency-tracking speeds up one-time build
1504
--enable-dependency-tracking do not reject slow dependency extractors
1505
--enable-shared[=PKGS] build shared libraries [default=yes]
1506
--enable-static[=PKGS] build static 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
--disable-nls do not use Native Language Support
1511
--disable-iso-codes do not check for iso-codes at build-time
1512
--disable-migration Don't build migration tool for NM <= 0.8 settings
1513
--disable-schemas-compile
1514
Disable regeneration of gschemas.compiled on install
1515
--enable-more-warnings Possible values: no/yes/error
1518
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1519
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1520
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1522
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1523
--with-sysroot=DIR Search for dependent libraries within DIR
1524
(or the compiler's sysroot if not specified).
1525
--with-gtkver The major version of GTK+ to build with
1526
--with-dbus-sys=DIR where D-BUS system.d directory is
1527
--with-bluetooth|--without-bluetooth
1528
Enable Bluetooth support
1530
Some influential environment variables:
1531
CC C compiler command
1532
CFLAGS C compiler flags
1533
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1534
nonstandard directory <lib dir>
1535
LIBS libraries to pass to the linker, e.g. -l<library>
1536
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1537
you have headers in a nonstandard directory <include dir>
1538
PKG_CONFIG path to pkg-config utility
1540
directories to add to pkg-config's search path
1542
path overriding pkg-config's built-in search path
1545
C compiler flags for ISO_CODES, overriding pkg-config
1547
linker flags for ISO_CODES, overriding pkg-config
1549
C compiler flags for GOBJECT, overriding pkg-config
1551
linker flags for GOBJECT, overriding pkg-config
1552
NMA_CFLAGS C compiler flags for NMA, overriding pkg-config
1553
NMA_LIBS linker flags for NMA, overriding pkg-config
1555
C compiler flags for GCONF, overriding pkg-config
1556
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1557
GNOME_KEYRING_CFLAGS
1558
C compiler flags for GNOME_KEYRING, overriding pkg-config
1560
linker flags for GNOME_KEYRING, overriding pkg-config
1562
C compiler flags for LIBNOTIFY_07, overriding pkg-config
1564
linker flags for LIBNOTIFY_07, overriding pkg-config
1566
C compiler flags for NOTIFY, overriding pkg-config
1567
NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
1568
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1569
GTK_LIBS linker flags for GTK, overriding pkg-config
1571
C compiler flags for DBUS_126, overriding pkg-config
1573
linker flags for DBUS_126, overriding pkg-config
1574
GNOME_BLUETOOTH_CFLAGS
1575
C compiler flags for GNOME_BLUETOOTH, overriding pkg-config
1576
GNOME_BLUETOOTH_LIBS
1577
linker flags for GNOME_BLUETOOTH, overriding pkg-config
1578
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1579
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1581
Use these variables to override the choices made by `configure' or to help
1582
it to find libraries and programs with nonstandard names/locations.
1584
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager>.
1589
if test "$ac_init_help" = "recursive"; then
1590
# If there are subdirs, report their specific --help.
1591
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1592
test -d "$ac_dir" ||
1593
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1598
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1601
# A ".." for each directory in $ac_dir_suffix.
1602
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1603
case $ac_top_builddir_sub in
1604
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1608
ac_abs_top_builddir=$ac_pwd
1609
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1610
# for backward compatibility:
1611
ac_top_builddir=$ac_top_build_prefix
1614
.) # We are building in place.
1616
ac_top_srcdir=$ac_top_builddir_sub
1617
ac_abs_top_srcdir=$ac_pwd ;;
1618
[\\/]* | ?:[\\/]* ) # Absolute name.
1619
ac_srcdir=$srcdir$ac_dir_suffix;
1620
ac_top_srcdir=$srcdir
1621
ac_abs_top_srcdir=$srcdir ;;
1623
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624
ac_top_srcdir=$ac_top_build_prefix$srcdir
1625
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1627
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1629
cd "$ac_dir" || { ac_status=$?; continue; }
1630
# Check for guested configure.
1631
if test -f "$ac_srcdir/configure.gnu"; then
1633
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634
elif test -f "$ac_srcdir/configure"; then
1636
$SHELL "$ac_srcdir/configure" --help=recursive
1638
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640
cd "$ac_pwd" || { ac_status=$?; break; }
1644
test -n "$ac_init_help" && exit $ac_status
1645
if $ac_init_version; then
1647
nm-applet configure 0.9.6.2
1648
generated by GNU Autoconf 2.68
1650
Copyright (C) 2010 Free Software Foundation, Inc.
1651
This configure script is free software; the Free Software Foundation
1652
gives unlimited permission to copy, distribute and modify it.
1657
## ------------------------ ##
1658
## Autoconf initialization. ##
1659
## ------------------------ ##
1661
# ac_fn_c_try_compile LINENO
1662
# --------------------------
1663
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1664
ac_fn_c_try_compile ()
1666
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667
rm -f conftest.$ac_objext
1668
if { { ac_try="$ac_compile"
1670
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671
*) ac_try_echo=$ac_try;;
1673
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674
$as_echo "$ac_try_echo"; } >&5
1675
(eval "$ac_compile") 2>conftest.err
1677
if test -s conftest.err; then
1678
grep -v '^ *+' conftest.err >conftest.er1
1679
cat conftest.er1 >&5
1680
mv -f conftest.er1 conftest.err
1682
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683
test $ac_status = 0; } && {
1684
test -z "$ac_c_werror_flag" ||
1685
test ! -s conftest.err
1686
} && test -s conftest.$ac_objext; then :
1689
$as_echo "$as_me: failed program was:" >&5
1690
sed 's/^/| /' conftest.$ac_ext >&5
1694
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695
as_fn_set_status $ac_retval
1697
} # ac_fn_c_try_compile
1699
# ac_fn_c_try_cpp LINENO
1700
# ----------------------
1701
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1704
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705
if { { ac_try="$ac_cpp conftest.$ac_ext"
1707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708
*) ac_try_echo=$ac_try;;
1710
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711
$as_echo "$ac_try_echo"; } >&5
1712
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1714
if test -s conftest.err; then
1715
grep -v '^ *+' conftest.err >conftest.er1
1716
cat conftest.er1 >&5
1717
mv -f conftest.er1 conftest.err
1719
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720
test $ac_status = 0; } > conftest.i && {
1721
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722
test ! -s conftest.err
1726
$as_echo "$as_me: failed program was:" >&5
1727
sed 's/^/| /' conftest.$ac_ext >&5
1731
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732
as_fn_set_status $ac_retval
1736
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1737
# -------------------------------------------------------
1738
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1739
# the include files in INCLUDES and setting the cache variable VAR
1741
ac_fn_c_check_header_mongrel ()
1743
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744
if eval \${$3+:} false; then :
1745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746
$as_echo_n "checking for $2... " >&6; }
1747
if eval \${$3+:} false; then :
1748
$as_echo_n "(cached) " >&6
1751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752
$as_echo "$ac_res" >&6; }
1754
# Is the header compilable?
1755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1756
$as_echo_n "checking $2 usability... " >&6; }
1757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758
/* end confdefs.h. */
1762
if ac_fn_c_try_compile "$LINENO"; then :
1763
ac_header_compiler=yes
1765
ac_header_compiler=no
1767
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1769
$as_echo "$ac_header_compiler" >&6; }
1771
# Is the header present?
1772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1773
$as_echo_n "checking $2 presence... " >&6; }
1774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775
/* end confdefs.h. */
1778
if ac_fn_c_try_cpp "$LINENO"; then :
1779
ac_header_preproc=yes
1781
ac_header_preproc=no
1783
rm -f conftest.err conftest.i conftest.$ac_ext
1784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1785
$as_echo "$ac_header_preproc" >&6; }
1787
# So? What about this header?
1788
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1790
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1791
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1792
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1793
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1796
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1797
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1798
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1799
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1800
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1801
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1802
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1803
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1804
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1805
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1806
( $as_echo "## ------------------------------------------------------------------------------ ##
1807
## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager ##
1808
## ------------------------------------------------------------------------------ ##"
1809
) | sed "s/^/$as_me: WARNING: /" >&2
1812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813
$as_echo_n "checking for $2... " >&6; }
1814
if eval \${$3+:} false; then :
1815
$as_echo_n "(cached) " >&6
1817
eval "$3=\$ac_header_compiler"
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821
$as_echo "$ac_res" >&6; }
1823
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825
} # ac_fn_c_check_header_mongrel
1827
# ac_fn_c_try_run LINENO
1828
# ----------------------
1829
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830
# that executables *can* be run.
1833
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834
if { { ac_try="$ac_link"
1836
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837
*) ac_try_echo=$ac_try;;
1839
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840
$as_echo "$ac_try_echo"; } >&5
1841
(eval "$ac_link") 2>&5
1843
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1845
{ { case "(($ac_try" in
1846
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847
*) ac_try_echo=$ac_try;;
1849
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850
$as_echo "$ac_try_echo"; } >&5
1851
(eval "$ac_try") 2>&5
1853
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854
test $ac_status = 0; }; }; then :
1857
$as_echo "$as_me: program exited with status $ac_status" >&5
1858
$as_echo "$as_me: failed program was:" >&5
1859
sed 's/^/| /' conftest.$ac_ext >&5
1861
ac_retval=$ac_status
1863
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865
as_fn_set_status $ac_retval
1869
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1870
# -------------------------------------------------------
1871
# Tests whether HEADER exists and can be compiled using the include files in
1872
# INCLUDES, setting the cache variable VAR accordingly.
1873
ac_fn_c_check_header_compile ()
1875
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877
$as_echo_n "checking for $2... " >&6; }
1878
if eval \${$3+:} false; then :
1879
$as_echo_n "(cached) " >&6
1881
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882
/* end confdefs.h. */
1886
if ac_fn_c_try_compile "$LINENO"; then :
1891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895
$as_echo "$ac_res" >&6; }
1896
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898
} # ac_fn_c_check_header_compile
1900
# ac_fn_c_try_link LINENO
1901
# -----------------------
1902
# Try to link conftest.$ac_ext, and return whether this succeeded.
1905
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906
rm -f conftest.$ac_objext conftest$ac_exeext
1907
if { { ac_try="$ac_link"
1909
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1910
*) ac_try_echo=$ac_try;;
1912
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1913
$as_echo "$ac_try_echo"; } >&5
1914
(eval "$ac_link") 2>conftest.err
1916
if test -s conftest.err; then
1917
grep -v '^ *+' conftest.err >conftest.er1
1918
cat conftest.er1 >&5
1919
mv -f conftest.er1 conftest.err
1921
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922
test $ac_status = 0; } && {
1923
test -z "$ac_c_werror_flag" ||
1924
test ! -s conftest.err
1925
} && test -s conftest$ac_exeext && {
1926
test "$cross_compiling" = yes ||
1927
$as_test_x conftest$ac_exeext
1931
$as_echo "$as_me: failed program was:" >&5
1932
sed 's/^/| /' conftest.$ac_ext >&5
1936
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1937
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1938
# interfere with the next link command; also delete a directory that is
1939
# left behind by Apple's compiler. We do this before executing the actions.
1940
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942
as_fn_set_status $ac_retval
1944
} # ac_fn_c_try_link
1946
# ac_fn_c_check_func LINENO FUNC VAR
1947
# ----------------------------------
1948
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1949
ac_fn_c_check_func ()
1951
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953
$as_echo_n "checking for $2... " >&6; }
1954
if eval \${$3+:} false; then :
1955
$as_echo_n "(cached) " >&6
1957
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958
/* end confdefs.h. */
1959
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1960
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1961
#define $2 innocuous_$2
1963
/* System header to define __stub macros and hopefully few prototypes,
1964
which can conflict with char $2 (); below.
1965
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1966
<limits.h> exists even on freestanding compilers. */
1969
# include <limits.h>
1971
# include <assert.h>
1976
/* Override any GCC internal prototype to avoid an error.
1977
Use char because int might match the return type of a GCC
1978
builtin and then its argument prototype would still apply. */
1983
/* The GNU C library defines this for functions which it implements
1984
to always fail with ENOSYS. Some functions are actually named
1985
something starting with __ and the normal name is an alias. */
1986
#if defined __stub_$2 || defined __stub___$2
1998
if ac_fn_c_try_link "$LINENO"; then :
2003
rm -f core conftest.err conftest.$ac_objext \
2004
conftest$ac_exeext conftest.$ac_ext
2007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008
$as_echo "$ac_res" >&6; }
2009
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011
} # ac_fn_c_check_func
2013
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2014
# -------------------------------------------
2015
# Tests whether TYPE exists after having included INCLUDES, setting cache
2016
# variable VAR accordingly.
2017
ac_fn_c_check_type ()
2019
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021
$as_echo_n "checking for $2... " >&6; }
2022
if eval \${$3+:} false; then :
2023
$as_echo_n "(cached) " >&6
2026
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027
/* end confdefs.h. */
2038
if ac_fn_c_try_compile "$LINENO"; then :
2039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040
/* end confdefs.h. */
2051
if ac_fn_c_try_compile "$LINENO"; then :
2056
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062
$as_echo "$ac_res" >&6; }
2063
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065
} # ac_fn_c_check_type
2066
cat >config.log <<_ACEOF
2067
This file contains any messages produced by compilers while
2068
running configure, to aid debugging if configure makes a mistake.
2070
It was created by nm-applet $as_me 0.9.6.2, which was
2071
generated by GNU Autoconf 2.68. Invocation command line was
2083
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2089
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2092
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106
test -z "$as_dir" && as_dir=.
2107
$as_echo "PATH: $as_dir"
2123
# Keep a trace of the command line.
2124
# Strip out --no-create and --no-recursion so they do not pile up.
2125
# Strip out --silent because we don't want to record it for future runs.
2126
# Also quote any args containing shell meta-characters.
2127
# Make two passes to allow for proper duplicate-argument suppression.
2131
ac_must_keep_next=false
2137
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139
| -silent | --silent | --silen | --sile | --sil)
2142
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2145
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2147
as_fn_append ac_configure_args1 " '$ac_arg'"
2148
if test $ac_must_keep_next = true; then
2149
ac_must_keep_next=false # Got value, back to normal.
2152
*=* | --config-cache | -C | -disable-* | --disable-* \
2153
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155
| -with-* | --with-* | -without-* | --without-* | --x)
2156
case "$ac_configure_args0 " in
2157
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2160
-* ) ac_must_keep_next=true ;;
2163
as_fn_append ac_configure_args " '$ac_arg'"
2168
{ ac_configure_args0=; unset ac_configure_args0;}
2169
{ ac_configure_args1=; unset ac_configure_args1;}
2171
# When interrupted or exit'd, cleanup temporary files, and complete
2172
# config.log. We remove comments because anyway the quotes in there
2173
# would cause problems or look ugly.
2174
# WARNING: Use '\'' to represent an apostrophe within the trap.
2175
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176
trap 'exit_status=$?
2177
# Save into config.log some information that might help in debugging.
2181
$as_echo "## ---------------- ##
2182
## Cache variables. ##
2183
## ---------------- ##"
2185
# The following way of writing the cache mishandles newlines in values,
2187
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2188
eval ac_val=\$$ac_var
2192
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2193
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2196
_ | IFS | as_nl) ;; #(
2197
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2198
*) { eval $ac_var=; unset $ac_var;} ;;
2203
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204
*${as_nl}ac_space=\ *)
2206
"s/'\''/'\''\\\\'\'''\''/g;
2207
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2210
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2217
$as_echo "## ----------------- ##
2218
## Output variables. ##
2219
## ----------------- ##"
2221
for ac_var in $ac_subst_vars
2223
eval ac_val=\$$ac_var
2225
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227
$as_echo "$ac_var='\''$ac_val'\''"
2231
if test -n "$ac_subst_files"; then
2232
$as_echo "## ------------------- ##
2233
## File substitutions. ##
2234
## ------------------- ##"
2236
for ac_var in $ac_subst_files
2238
eval ac_val=\$$ac_var
2240
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242
$as_echo "$ac_var='\''$ac_val'\''"
2247
if test -s confdefs.h; then
2248
$as_echo "## ----------- ##
2255
test "$ac_signal" != 0 &&
2256
$as_echo "$as_me: caught signal $ac_signal"
2257
$as_echo "$as_me: exit $exit_status"
2259
rm -f core *.core core.conftest.* &&
2260
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2263
for ac_signal in 1 2 13 15; do
2264
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2268
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2269
rm -f -r conftest* confdefs.h
2271
$as_echo "/* confdefs.h */" > confdefs.h
2273
# Predefined preprocessor variables.
2275
cat >>confdefs.h <<_ACEOF
2276
#define PACKAGE_NAME "$PACKAGE_NAME"
2279
cat >>confdefs.h <<_ACEOF
2280
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2283
cat >>confdefs.h <<_ACEOF
2284
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2287
cat >>confdefs.h <<_ACEOF
2288
#define PACKAGE_STRING "$PACKAGE_STRING"
2291
cat >>confdefs.h <<_ACEOF
2292
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2295
cat >>confdefs.h <<_ACEOF
2296
#define PACKAGE_URL "$PACKAGE_URL"
2300
# Let the site file select an alternate cache file if it wants to.
2301
# Prefer an explicitly selected file to automatically selected ones.
2304
if test -n "$CONFIG_SITE"; then
2305
# We do not want a PATH search for config.site.
2306
case $CONFIG_SITE in #((
2307
-*) ac_site_file1=./$CONFIG_SITE;;
2308
*/*) ac_site_file1=$CONFIG_SITE;;
2309
*) ac_site_file1=./$CONFIG_SITE;;
2311
elif test "x$prefix" != xNONE; then
2312
ac_site_file1=$prefix/share/config.site
2313
ac_site_file2=$prefix/etc/config.site
2315
ac_site_file1=$ac_default_prefix/share/config.site
2316
ac_site_file2=$ac_default_prefix/etc/config.site
2318
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2320
test "x$ac_site_file" = xNONE && continue
2321
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2322
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2323
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2324
sed 's/^/| /' "$ac_site_file" >&5
2326
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328
as_fn_error $? "failed to load site script $ac_site_file
2329
See \`config.log' for more details" "$LINENO" 5; }
2333
if test -r "$cache_file"; then
2334
# Some versions of bash will fail to source /dev/null (special files
2335
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2336
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2337
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2338
$as_echo "$as_me: loading cache $cache_file" >&6;}
2340
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2341
*) . "./$cache_file";;
2345
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2346
$as_echo "$as_me: creating cache $cache_file" >&6;}
2350
# Check that the precious variables saved in the cache have kept the same
2352
ac_cache_corrupted=false
2353
for ac_var in $ac_precious_vars; do
2354
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2355
eval ac_new_set=\$ac_env_${ac_var}_set
2356
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2357
eval ac_new_val=\$ac_env_${ac_var}_value
2358
case $ac_old_set,$ac_new_set in
2360
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2361
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2362
ac_cache_corrupted=: ;;
2364
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2365
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2366
ac_cache_corrupted=: ;;
2369
if test "x$ac_old_val" != "x$ac_new_val"; then
2370
# differences in whitespace do not lead to failure.
2371
ac_old_val_w=`echo x $ac_old_val`
2372
ac_new_val_w=`echo x $ac_new_val`
2373
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2374
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2375
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2376
ac_cache_corrupted=:
2378
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2379
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2380
eval $ac_var=\$ac_old_val
2382
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2383
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2385
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2388
# Pass precious variables to config.status.
2389
if test "$ac_new_set" = set; then
2391
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2392
*) ac_arg=$ac_var=$ac_new_val ;;
2394
case " $ac_configure_args " in
2395
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2396
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2400
if $ac_cache_corrupted; then
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2402
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2404
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2407
## -------------------- ##
2408
## Main body of script. ##
2409
## -------------------- ##
2412
ac_cpp='$CPP $CPPFLAGS'
2413
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2414
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2415
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2419
ac_config_headers="$ac_config_headers config.h"
2423
am__api_version='1.11'
2426
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427
if test -f "$ac_dir/install-sh"; then
2429
ac_install_sh="$ac_aux_dir/install-sh -c"
2431
elif test -f "$ac_dir/install.sh"; then
2433
ac_install_sh="$ac_aux_dir/install.sh -c"
2435
elif test -f "$ac_dir/shtool"; then
2437
ac_install_sh="$ac_aux_dir/shtool install -c"
2441
if test -z "$ac_aux_dir"; then
2442
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2445
# These three variables are undocumented and unsupported,
2446
# and are intended to be withdrawn in a future Autoconf release.
2447
# They can cause serious problems if a builder's source tree is in a directory
2448
# whose full name contains unusual characters.
2449
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454
# Find a good install program. We prefer a C program (faster),
2455
# so one script is as good as another. But avoid the broken or
2456
# incompatible versions:
2457
# SysV /etc/install, /usr/sbin/install
2458
# SunOS /usr/etc/install
2459
# IRIX /sbin/install
2461
# AmigaOS /C/install, which installs bootblocks on floppy discs
2462
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2463
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2464
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2465
# OS/2's system install, which has a completely different semantic
2466
# ./install, which can be erroneously created by make from ./install.sh.
2467
# Reject install programs that cannot install multiple files.
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2469
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2470
if test -z "$INSTALL"; then
2471
if ${ac_cv_path_install+:} false; then :
2472
$as_echo_n "(cached) " >&6
2474
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478
test -z "$as_dir" && as_dir=.
2479
# Account for people who put trailing slashes in PATH elements.
2480
case $as_dir/ in #((
2481
./ | .// | /[cC]/* | \
2482
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2483
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2486
# OSF1 and SCO ODT 3.0 have their own names for install.
2487
# Don't use installbsd from OSF since it installs stuff as root
2489
for ac_prog in ginstall scoinst install; do
2490
for ac_exec_ext in '' $ac_executable_extensions; do
2491
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2492
if test $ac_prog = install &&
2493
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2494
# AIX install. It has an incompatible calling convention.
2496
elif test $ac_prog = install &&
2497
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2498
# program-specific install script used by HP pwplus--don't use.
2501
rm -rf conftest.one conftest.two conftest.dir
2502
echo one > conftest.one
2503
echo two > conftest.two
2505
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2506
test -s conftest.one && test -s conftest.two &&
2507
test -s conftest.dir/conftest.one &&
2508
test -s conftest.dir/conftest.two
2510
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2523
rm -rf conftest.one conftest.two conftest.dir
2526
if test "${ac_cv_path_install+set}" = set; then
2527
INSTALL=$ac_cv_path_install
2529
# As a last resort, use the slow shell script. Don't cache a
2530
# value for INSTALL within a source directory, because that will
2531
# break other packages using the cache if that directory is
2532
# removed, or if the value is a relative name.
2533
INSTALL=$ac_install_sh
2536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2537
$as_echo "$INSTALL" >&6; }
2539
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2540
# It thinks the first close brace ends the variable substitution.
2541
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2543
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2545
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2548
$as_echo_n "checking whether build environment is sane... " >&6; }
2551
echo timestamp > conftest.file
2552
# Reject unsafe characters in $srcdir or the absolute working directory
2553
# name. Accept space and tab only in the latter.
2557
*[\\\"\#\$\&\'\`$am_lf]*)
2558
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2561
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2562
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2565
# Do `set' in a subshell so we don't clobber the current shell's
2566
# arguments. Must try -L first in case configure is actually a
2567
# symlink; some systems play weird games with the mod time of symlinks
2568
# (eg FreeBSD returns the mod time of the symlink's containing
2571
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2572
if test "$*" = "X"; then
2574
set X `ls -t "$srcdir/configure" conftest.file`
2577
if test "$*" != "X $srcdir/configure conftest.file" \
2578
&& test "$*" != "X conftest.file $srcdir/configure"; then
2580
# If neither matched, then we have a broken ls. This can happen
2581
# if, for instance, CONFIG_SHELL is bash and it inherits a
2582
# broken ls alias from the environment. This has actually
2583
# happened. Such a system could not be considered "sane".
2584
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2585
alias in your environment" "$LINENO" 5
2588
test "$2" = conftest.file
2594
as_fn_error $? "newly created file is older than distributed files!
2595
Check your system clock" "$LINENO" 5
2597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598
$as_echo "yes" >&6; }
2599
test "$program_prefix" != NONE &&
2600
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2601
# Use a double $ so make ignores it.
2602
test "$program_suffix" != NONE &&
2603
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2604
# Double any \ or $.
2605
# By default was `s,x,x', remove it if useless.
2606
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2607
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2609
# expand $ac_aux_dir to an absolute path
2610
am_aux_dir=`cd $ac_aux_dir && pwd`
2612
if test x"${MISSING+set}" != xset; then
2615
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2617
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2620
# Use eval to expand $SHELL
2621
if eval "$MISSING --run true"; then
2622
am_missing_run="$MISSING --run "
2625
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2626
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2629
if test x"${install_sh}" != xset; then
2632
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2634
install_sh="\${SHELL} $am_aux_dir/install-sh"
2638
# Installed binaries are usually stripped using `strip' when the user
2639
# run `make install-strip'. However `strip' might not be the right
2640
# tool to use in cross-compilation environments, therefore Automake
2641
# will honor the `STRIP' environment variable to overrule this program.
2642
if test "$cross_compiling" != no; then
2643
if test -n "$ac_tool_prefix"; then
2644
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2645
set dummy ${ac_tool_prefix}strip; ac_word=$2
2646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647
$as_echo_n "checking for $ac_word... " >&6; }
2648
if ${ac_cv_prog_STRIP+:} false; then :
2649
$as_echo_n "(cached) " >&6
2651
if test -n "$STRIP"; then
2652
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2654
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658
test -z "$as_dir" && as_dir=.
2659
for ac_exec_ext in '' $ac_executable_extensions; do
2660
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2662
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671
STRIP=$ac_cv_prog_STRIP
2672
if test -n "$STRIP"; then
2673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2674
$as_echo "$STRIP" >&6; }
2676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677
$as_echo "no" >&6; }
2682
if test -z "$ac_cv_prog_STRIP"; then
2684
# Extract the first word of "strip", so it can be a program name with args.
2685
set dummy strip; ac_word=$2
2686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687
$as_echo_n "checking for $ac_word... " >&6; }
2688
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2689
$as_echo_n "(cached) " >&6
2691
if test -n "$ac_ct_STRIP"; then
2692
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2694
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698
test -z "$as_dir" && as_dir=.
2699
for ac_exec_ext in '' $ac_executable_extensions; do
2700
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701
ac_cv_prog_ac_ct_STRIP="strip"
2702
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2712
if test -n "$ac_ct_STRIP"; then
2713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2714
$as_echo "$ac_ct_STRIP" >&6; }
2716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717
$as_echo "no" >&6; }
2720
if test "x$ac_ct_STRIP" = x; then
2723
case $cross_compiling:$ac_tool_warned in
2725
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727
ac_tool_warned=yes ;;
2732
STRIP="$ac_cv_prog_STRIP"
2736
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2739
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2740
if test -z "$MKDIR_P"; then
2741
if ${ac_cv_path_mkdir+:} false; then :
2742
$as_echo_n "(cached) " >&6
2744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2748
test -z "$as_dir" && as_dir=.
2749
for ac_prog in mkdir gmkdir; do
2750
for ac_exec_ext in '' $ac_executable_extensions; do
2751
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2752
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2753
'mkdir (GNU coreutils) '* | \
2754
'mkdir (coreutils) '* | \
2755
'mkdir (fileutils) '4.1*)
2756
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2766
test -d ./--version && rmdir ./--version
2767
if test "${ac_cv_path_mkdir+set}" = set; then
2768
MKDIR_P="$ac_cv_path_mkdir -p"
2770
# As a last resort, use the slow shell script. Don't cache a
2771
# value for MKDIR_P within a source directory, because that will
2772
# break other packages using the cache if that directory is
2773
# removed, or if the value is a relative name.
2774
MKDIR_P="$ac_install_sh -d"
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2778
$as_echo "$MKDIR_P" >&6; }
2782
[\\/$]* | ?:[\\/]*) ;;
2783
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2786
for ac_prog in gawk mawk nawk awk
2788
# Extract the first word of "$ac_prog", so it can be a program name with args.
2789
set dummy $ac_prog; ac_word=$2
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791
$as_echo_n "checking for $ac_word... " >&6; }
2792
if ${ac_cv_prog_AWK+:} false; then :
2793
$as_echo_n "(cached) " >&6
2795
if test -n "$AWK"; then
2796
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802
test -z "$as_dir" && as_dir=.
2803
for ac_exec_ext in '' $ac_executable_extensions; do
2804
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805
ac_cv_prog_AWK="$ac_prog"
2806
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816
if test -n "$AWK"; then
2817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2818
$as_echo "$AWK" >&6; }
2820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821
$as_echo "no" >&6; }
2825
test -n "$AWK" && break
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2829
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2831
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2832
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2833
$as_echo_n "(cached) " >&6
2835
cat >conftest.make <<\_ACEOF
2838
@echo '@@@%%%=$(MAKE)=@@@%%%'
2840
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2841
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2843
eval ac_cv_prog_make_${ac_make}_set=yes;;
2845
eval ac_cv_prog_make_${ac_make}_set=no;;
2849
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2851
$as_echo "yes" >&6; }
2854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855
$as_echo "no" >&6; }
2856
SET_MAKE="MAKE=${MAKE-make}"
2859
rm -rf .tst 2>/dev/null
2860
mkdir .tst 2>/dev/null
2861
if test -d .tst; then
2866
rmdir .tst 2>/dev/null
2868
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2869
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2870
# is not polluted with repeated "-I."
2871
am__isrc=' -I$(srcdir)'
2872
# test to see if srcdir already configured
2873
if test -f $srcdir/config.status; then
2874
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2878
# test whether we have cygpath
2879
if test -z "$CYGPATH_W"; then
2880
if (cygpath --version) >/dev/null 2>/dev/null; then
2881
CYGPATH_W='cygpath -w'
2888
# Define the identity of the package.
2889
PACKAGE='network-manager-applet'
2893
cat >>confdefs.h <<_ACEOF
2894
#define PACKAGE "$PACKAGE"
2898
cat >>confdefs.h <<_ACEOF
2899
#define VERSION "$VERSION"
2902
# Some tools Automake needs.
2904
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2907
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2910
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2913
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2916
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2918
# We need awk for the "check" target. The system "awk" is bad on
2920
# Always define AMTAR for backward compatibility. Yes, it's still used
2921
# in the wild :-( We should find a proper way to deprecate it ...
2924
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2932
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2933
# Check whether --enable-maintainer-mode was given.
2934
if test "${enable_maintainer_mode+set}" = set; then :
2935
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2937
USE_MAINTAINER_MODE=yes
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2941
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2942
if test $USE_MAINTAINER_MODE = yes; then
2943
MAINTAINER_MODE_TRUE=
2944
MAINTAINER_MODE_FALSE='#'
2946
MAINTAINER_MODE_TRUE='#'
2947
MAINTAINER_MODE_FALSE=
2950
MAINT=$MAINTAINER_MODE_TRUE
2954
# Support silent build rules, requires at least automake-1.11. Disable
2955
# by either passing --disable-silent-rules to configure or passing V=1
2957
# Check whether --enable-silent-rules was given.
2958
if test "${enable_silent_rules+set}" = set; then :
2959
enableval=$enable_silent_rules;
2962
case $enable_silent_rules in
2963
yes) AM_DEFAULT_VERBOSITY=0;;
2964
no) AM_DEFAULT_VERBOSITY=1;;
2965
*) AM_DEFAULT_VERBOSITY=1;;
2967
am_make=${MAKE-make}
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2969
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2970
if ${am_cv_make_support_nested_variables+:} false; then :
2971
$as_echo_n "(cached) " >&6
2973
if $as_echo 'TRUE=$(BAR$(V))
2979
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2980
am_cv_make_support_nested_variables=yes
2982
am_cv_make_support_nested_variables=no
2985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2986
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2987
if test $am_cv_make_support_nested_variables = yes; then
2989
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2991
AM_V=$AM_DEFAULT_VERBOSITY
2992
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2998
ac_cpp='$CPP $CPPFLAGS'
2999
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3000
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3001
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3002
if test -n "$ac_tool_prefix"; then
3003
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3004
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006
$as_echo_n "checking for $ac_word... " >&6; }
3007
if ${ac_cv_prog_CC+:} false; then :
3008
$as_echo_n "(cached) " >&6
3010
if test -n "$CC"; then
3011
ac_cv_prog_CC="$CC" # Let the user override the test.
3013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017
test -z "$as_dir" && as_dir=.
3018
for ac_exec_ext in '' $ac_executable_extensions; do
3019
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3021
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031
if test -n "$CC"; then
3032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3033
$as_echo "$CC" >&6; }
3035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036
$as_echo "no" >&6; }
3041
if test -z "$ac_cv_prog_CC"; then
3043
# Extract the first word of "gcc", so it can be a program name with args.
3044
set dummy gcc; ac_word=$2
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046
$as_echo_n "checking for $ac_word... " >&6; }
3047
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3048
$as_echo_n "(cached) " >&6
3050
if test -n "$ac_ct_CC"; then
3051
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057
test -z "$as_dir" && as_dir=.
3058
for ac_exec_ext in '' $ac_executable_extensions; do
3059
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3060
ac_cv_prog_ac_ct_CC="gcc"
3061
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3071
if test -n "$ac_ct_CC"; then
3072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3073
$as_echo "$ac_ct_CC" >&6; }
3075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076
$as_echo "no" >&6; }
3079
if test "x$ac_ct_CC" = x; then
3082
case $cross_compiling:$ac_tool_warned in
3084
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3085
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3086
ac_tool_warned=yes ;;
3094
if test -z "$CC"; then
3095
if test -n "$ac_tool_prefix"; then
3096
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3097
set dummy ${ac_tool_prefix}cc; ac_word=$2
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099
$as_echo_n "checking for $ac_word... " >&6; }
3100
if ${ac_cv_prog_CC+:} false; then :
3101
$as_echo_n "(cached) " >&6
3103
if test -n "$CC"; then
3104
ac_cv_prog_CC="$CC" # Let the user override the test.
3106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110
test -z "$as_dir" && as_dir=.
3111
for ac_exec_ext in '' $ac_executable_extensions; do
3112
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113
ac_cv_prog_CC="${ac_tool_prefix}cc"
3114
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124
if test -n "$CC"; then
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3126
$as_echo "$CC" >&6; }
3128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129
$as_echo "no" >&6; }
3135
if test -z "$CC"; then
3136
# Extract the first word of "cc", so it can be a program name with args.
3137
set dummy cc; ac_word=$2
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139
$as_echo_n "checking for $ac_word... " >&6; }
3140
if ${ac_cv_prog_CC+:} false; then :
3141
$as_echo_n "(cached) " >&6
3143
if test -n "$CC"; then
3144
ac_cv_prog_CC="$CC" # Let the user override the test.
3147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151
test -z "$as_dir" && as_dir=.
3152
for ac_exec_ext in '' $ac_executable_extensions; do
3153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3155
ac_prog_rejected=yes
3159
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166
if test $ac_prog_rejected = yes; then
3167
# We found a bogon in the path, so make sure we never use it.
3168
set dummy $ac_cv_prog_CC
3170
if test $# != 0; then
3171
# We chose a different compiler from the bogus one.
3172
# However, it has the same basename, so the bogon will be chosen
3173
# first if we set CC to just the basename; use the full file name.
3175
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3181
if test -n "$CC"; then
3182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183
$as_echo "$CC" >&6; }
3185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186
$as_echo "no" >&6; }
3191
if test -z "$CC"; then
3192
if test -n "$ac_tool_prefix"; then
3193
for ac_prog in cl.exe
3195
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3196
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198
$as_echo_n "checking for $ac_word... " >&6; }
3199
if ${ac_cv_prog_CC+:} false; then :
3200
$as_echo_n "(cached) " >&6
3202
if test -n "$CC"; then
3203
ac_cv_prog_CC="$CC" # Let the user override the test.
3205
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209
test -z "$as_dir" && as_dir=.
3210
for ac_exec_ext in '' $ac_executable_extensions; do
3211
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3213
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223
if test -n "$CC"; then
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3225
$as_echo "$CC" >&6; }
3227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228
$as_echo "no" >&6; }
3232
test -n "$CC" && break
3235
if test -z "$CC"; then
3237
for ac_prog in cl.exe
3239
# Extract the first word of "$ac_prog", so it can be a program name with args.
3240
set dummy $ac_prog; ac_word=$2
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242
$as_echo_n "checking for $ac_word... " >&6; }
3243
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3244
$as_echo_n "(cached) " >&6
3246
if test -n "$ac_ct_CC"; then
3247
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3249
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253
test -z "$as_dir" && as_dir=.
3254
for ac_exec_ext in '' $ac_executable_extensions; do
3255
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256
ac_cv_prog_ac_ct_CC="$ac_prog"
3257
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3267
if test -n "$ac_ct_CC"; then
3268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3269
$as_echo "$ac_ct_CC" >&6; }
3271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272
$as_echo "no" >&6; }
3276
test -n "$ac_ct_CC" && break
3279
if test "x$ac_ct_CC" = x; then
3282
case $cross_compiling:$ac_tool_warned in
3284
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3285
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3286
ac_tool_warned=yes ;;
3295
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297
as_fn_error $? "no acceptable C compiler found in \$PATH
3298
See \`config.log' for more details" "$LINENO" 5; }
3300
# Provide some information about the compiler.
3301
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3304
for ac_option in --version -v -V -qversion; do
3305
{ { ac_try="$ac_compiler $ac_option >&5"
3307
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308
*) ac_try_echo=$ac_try;;
3310
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311
$as_echo "$ac_try_echo"; } >&5
3312
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3314
if test -s conftest.err; then
3316
... rest of stderr output deleted ...
3317
10q' conftest.err >conftest.er1
3318
cat conftest.er1 >&5
3320
rm -f conftest.er1 conftest.err
3321
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322
test $ac_status = 0; }
3325
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326
/* end confdefs.h. */
3336
ac_clean_files_save=$ac_clean_files
3337
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3338
# Try to create an executable without -o first, disregard a.out.
3339
# It will help us diagnose broken compilers, and finding out an intuition
3341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3342
$as_echo_n "checking whether the C compiler works... " >&6; }
3343
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3345
# The possible output files:
3346
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3349
for ac_file in $ac_files
3352
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3353
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3358
if { { ac_try="$ac_link_default"
3360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361
*) ac_try_echo=$ac_try;;
3363
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364
$as_echo "$ac_try_echo"; } >&5
3365
(eval "$ac_link_default") 2>&5
3367
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3368
test $ac_status = 0; }; then :
3369
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3370
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3371
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3372
# so that the user can short-circuit this test for compilers unknown to
3374
for ac_file in $ac_files ''
3376
test -f "$ac_file" || continue
3378
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3381
# We found the default executable, but exeext='' is most
3385
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3387
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3389
# We set ac_cv_exeext here because the later test for it is not
3390
# safe: cross compilers may not add the suffix if given an `-o'
3391
# argument, so we may need to know it at that point already.
3392
# Even if this section looks crufty: it has the advantage of
3399
test "$ac_cv_exeext" = no && ac_cv_exeext=
3404
if test -z "$ac_file"; then :
3405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406
$as_echo "no" >&6; }
3407
$as_echo "$as_me: failed program was:" >&5
3408
sed 's/^/| /' conftest.$ac_ext >&5
3410
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412
as_fn_error 77 "C compiler cannot create executables
3413
See \`config.log' for more details" "$LINENO" 5; }
3415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3416
$as_echo "yes" >&6; }
3418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3419
$as_echo_n "checking for C compiler default output file name... " >&6; }
3420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3421
$as_echo "$ac_file" >&6; }
3422
ac_exeext=$ac_cv_exeext
3424
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3425
ac_clean_files=$ac_clean_files_save
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3427
$as_echo_n "checking for suffix of executables... " >&6; }
3428
if { { ac_try="$ac_link"
3430
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431
*) ac_try_echo=$ac_try;;
3433
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434
$as_echo "$ac_try_echo"; } >&5
3435
(eval "$ac_link") 2>&5
3437
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438
test $ac_status = 0; }; then :
3439
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3440
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3441
# work properly (i.e., refer to `conftest.exe'), while it won't with
3443
for ac_file in conftest.exe conftest conftest.*; do
3444
test -f "$ac_file" || continue
3446
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3447
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3453
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3456
See \`config.log' for more details" "$LINENO" 5; }
3458
rm -f conftest conftest$ac_cv_exeext
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3460
$as_echo "$ac_cv_exeext" >&6; }
3462
rm -f conftest.$ac_ext
3463
EXEEXT=$ac_cv_exeext
3465
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466
/* end confdefs.h. */
3471
FILE *f = fopen ("conftest.out", "w");
3472
return ferror (f) || fclose (f) != 0;
3478
ac_clean_files="$ac_clean_files conftest.out"
3479
# Check that the compiler produces executables we can run. If not, either
3480
# the compiler is broken, or we cross compile.
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3482
$as_echo_n "checking whether we are cross compiling... " >&6; }
3483
if test "$cross_compiling" != yes; then
3484
{ { ac_try="$ac_link"
3486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487
*) ac_try_echo=$ac_try;;
3489
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490
$as_echo "$ac_try_echo"; } >&5
3491
(eval "$ac_link") 2>&5
3493
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494
test $ac_status = 0; }
3495
if { ac_try='./conftest$ac_cv_exeext'
3496
{ { case "(($ac_try" in
3497
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498
*) ac_try_echo=$ac_try;;
3500
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501
$as_echo "$ac_try_echo"; } >&5
3502
(eval "$ac_try") 2>&5
3504
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505
test $ac_status = 0; }; }; then
3508
if test "$cross_compiling" = maybe; then
3511
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513
as_fn_error $? "cannot run C compiled programs.
3514
If you meant to cross compile, use \`--host'.
3515
See \`config.log' for more details" "$LINENO" 5; }
3519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3520
$as_echo "$cross_compiling" >&6; }
3522
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3523
ac_clean_files=$ac_clean_files_save
3524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3525
$as_echo_n "checking for suffix of object files... " >&6; }
3526
if ${ac_cv_objext+:} false; then :
3527
$as_echo_n "(cached) " >&6
3529
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530
/* end confdefs.h. */
3540
rm -f conftest.o conftest.obj
3541
if { { ac_try="$ac_compile"
3543
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544
*) ac_try_echo=$ac_try;;
3546
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547
$as_echo "$ac_try_echo"; } >&5
3548
(eval "$ac_compile") 2>&5
3550
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551
test $ac_status = 0; }; then :
3552
for ac_file in conftest.o conftest.obj conftest.*; do
3553
test -f "$ac_file" || continue;
3555
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3556
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3561
$as_echo "$as_me: failed program was:" >&5
3562
sed 's/^/| /' conftest.$ac_ext >&5
3564
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566
as_fn_error $? "cannot compute suffix of object files: cannot compile
3567
See \`config.log' for more details" "$LINENO" 5; }
3569
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3572
$as_echo "$ac_cv_objext" >&6; }
3573
OBJEXT=$ac_cv_objext
3575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3576
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3577
if ${ac_cv_c_compiler_gnu+:} false; then :
3578
$as_echo_n "(cached) " >&6
3580
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581
/* end confdefs.h. */
3594
if ac_fn_c_try_compile "$LINENO"; then :
3599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3604
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3605
if test $ac_compiler_gnu = yes; then
3610
ac_test_CFLAGS=${CFLAGS+set}
3611
ac_save_CFLAGS=$CFLAGS
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3613
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3614
if ${ac_cv_prog_cc_g+:} false; then :
3615
$as_echo_n "(cached) " >&6
3617
ac_save_c_werror_flag=$ac_c_werror_flag
3618
ac_c_werror_flag=yes
3621
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622
/* end confdefs.h. */
3632
if ac_fn_c_try_compile "$LINENO"; then :
3636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637
/* end confdefs.h. */
3647
if ac_fn_c_try_compile "$LINENO"; then :
3650
ac_c_werror_flag=$ac_save_c_werror_flag
3652
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653
/* end confdefs.h. */
3663
if ac_fn_c_try_compile "$LINENO"; then :
3666
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671
ac_c_werror_flag=$ac_save_c_werror_flag
3673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3674
$as_echo "$ac_cv_prog_cc_g" >&6; }
3675
if test "$ac_test_CFLAGS" = set; then
3676
CFLAGS=$ac_save_CFLAGS
3677
elif test $ac_cv_prog_cc_g = yes; then
3678
if test "$GCC" = yes; then
3684
if test "$GCC" = yes; then
3690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3691
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692
if ${ac_cv_prog_cc_c89+:} false; then :
3693
$as_echo_n "(cached) " >&6
3695
ac_cv_prog_cc_c89=no
3697
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698
/* end confdefs.h. */
3701
#include <sys/types.h>
3702
#include <sys/stat.h>
3703
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3704
struct buf { int x; };
3705
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3706
static char *e (p, i)
3712
static char *f (char * (*g) (char **, int), char **p, ...)
3717
s = g (p, va_arg (v,int));
3722
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3723
function prototypes and stuff, but not '\xHH' hex character constants.
3724
These don't provoke an error unfortunately, instead are silently treated
3725
as 'x'. The following induces an error, until -std is added to get
3726
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3727
array size at least. It's necessary to write '\x00'==0 to get something
3728
that's true only with -std. */
3729
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3731
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3732
inside strings and character constants. */
3734
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3736
int test (int i, double x);
3737
struct s1 {int (*f) (int a);};
3738
struct s2 {int (*f) (double a);};
3739
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3745
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3750
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3751
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3753
CC="$ac_save_CC $ac_arg"
3754
if ac_fn_c_try_compile "$LINENO"; then :
3755
ac_cv_prog_cc_c89=$ac_arg
3757
rm -f core conftest.err conftest.$ac_objext
3758
test "x$ac_cv_prog_cc_c89" != "xno" && break
3760
rm -f conftest.$ac_ext
3765
case "x$ac_cv_prog_cc_c89" in
3767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3768
$as_echo "none needed" >&6; } ;;
3770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3771
$as_echo "unsupported" >&6; } ;;
3773
CC="$CC $ac_cv_prog_cc_c89"
3774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3775
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3777
if test "x$ac_cv_prog_cc_c89" != xno; then :
3782
ac_cpp='$CPP $CPPFLAGS'
3783
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786
DEPDIR="${am__leading_dot}deps"
3788
ac_config_commands="$ac_config_commands depfiles"
3791
am_make=${MAKE-make}
3792
cat > confinc << 'END'
3794
@echo this is the am__doit target
3797
# If we don't find an include directive, just comment out the code.
3798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3799
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3803
# First try GNU make style include.
3804
echo "include confinc" > confmf
3805
# Ignore all kinds of additional output from `make'.
3806
case `$am_make -s -f confmf 2> /dev/null` in #(
3807
*the\ am__doit\ target*)
3813
# Now try BSD make style include.
3814
if test "$am__include" = "#"; then
3815
echo '.include "confinc"' > confmf
3816
case `$am_make -s -f confmf 2> /dev/null` in #(
3817
*the\ am__doit\ target*)
3818
am__include=.include
3826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3827
$as_echo "$_am_result" >&6; }
3828
rm -f confinc confmf
3830
# Check whether --enable-dependency-tracking was given.
3831
if test "${enable_dependency_tracking+set}" = set; then :
3832
enableval=$enable_dependency_tracking;
3835
if test "x$enable_dependency_tracking" != xno; then
3836
am_depcomp="$ac_aux_dir/depcomp"
3840
if test "x$enable_dependency_tracking" != xno; then
3850
depcc="$CC" am_compiler_list=
3852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3853
$as_echo_n "checking dependency style of $depcc... " >&6; }
3854
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3855
$as_echo_n "(cached) " >&6
3857
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3858
# We make a subdir and do the tests there. Otherwise we can end up
3859
# making bogus files that we don't know about and never remove. For
3860
# instance it was reported that on HP-UX the gcc test will end up
3861
# making a dummy file named `D' -- because `-MD' means `put the output
3865
# Copy depcomp to subdir because otherwise we won't find it if we're
3866
# using a relative directory.
3867
cp "$am_depcomp" conftest.dir
3869
# We will build objects and dependencies in a subdirectory because
3870
# it helps to detect inapplicable dependency modes. For instance
3871
# both Tru64's cc and ICC support -MD to output dependencies as a
3872
# side effect of compilation, but ICC will put the dependencies in
3873
# the current directory while Tru64 will put them in the object
3877
am_cv_CC_dependencies_compiler_type=none
3878
if test "$am_compiler_list" = ""; then
3879
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3882
case " $depcc " in #(
3883
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3886
for depmode in $am_compiler_list; do
3887
# Setup a source with many dependencies, because some compilers
3888
# like to wrap large dependency lists on column 80 (with \), and
3889
# we should not choose a depcomp mode which is confused by this.
3891
# We need to recreate these files for each test, as the compiler may
3892
# overwrite some of them when testing with obscure command lines.
3893
# This happens at least with the AIX C compiler.
3895
for i in 1 2 3 4 5 6; do
3896
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3897
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3898
# Solaris 8's {/usr,}/bin/sh.
3899
touch sub/conftst$i.h
3901
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3903
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3904
# mode. It turns out that the SunPro C++ compiler does not properly
3905
# handle `-M -o', and we need to detect this. Also, some Intel
3906
# versions had trouble with output in subdirs
3907
am__obj=sub/conftest.${OBJEXT-o}
3908
am__minus_obj="-o $am__obj"
3911
# This depmode causes a compiler race in universal mode.
3912
test "$am__universal" = false || continue
3915
# after this tag, mechanisms are not by side-effect, so they'll
3916
# only be used when explicitly requested
3917
if test "x$enable_dependency_tracking" = xyes; then
3923
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3924
# This compiler won't grok `-c -o', but also, the minuso test has
3925
# not run yet. These depmodes are late enough in the game, and
3926
# so weak that their functioning should not be impacted.
3927
am__obj=conftest.${OBJEXT-o}
3932
if depmode=$depmode \
3933
source=sub/conftest.c object=$am__obj \
3934
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3935
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3936
>/dev/null 2>conftest.err &&
3937
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3938
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3939
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3940
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3941
# icc doesn't choke on unknown options, it will just issue warnings
3942
# or remarks (even with -Werror). So we grep stderr for any message
3943
# that says an option was ignored or not supported.
3944
# When given -MP, icc 7.0 and 7.1 complain thusly:
3945
# icc: Command line warning: ignoring option '-M'; no argument required
3946
# The diagnosis changed in icc 8.0:
3947
# icc: Command line remark: option '-MP' not supported
3948
if (grep 'ignoring option' conftest.err ||
3949
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3950
am_cv_CC_dependencies_compiler_type=$depmode
3959
am_cv_CC_dependencies_compiler_type=none
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3964
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3965
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3968
test "x$enable_dependency_tracking" != xno \
3969
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3971
am__fastdepCC_FALSE='#'
3973
am__fastdepCC_TRUE='#'
3974
am__fastdepCC_FALSE=
3978
if test "x$CC" != xcc; then
3979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3980
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3983
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3985
set dummy $CC; ac_cc=`$as_echo "$2" |
3986
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3987
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3988
$as_echo_n "(cached) " >&6
3990
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991
/* end confdefs.h. */
4001
# Make sure it works both with $CC and with simple cc.
4002
# We do the test twice because some compilers refuse to overwrite an
4003
# existing .o file with -o, though they will create one.
4004
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4006
if { { case "(($ac_try" in
4007
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008
*) ac_try_echo=$ac_try;;
4010
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011
$as_echo "$ac_try_echo"; } >&5
4012
(eval "$ac_try") 2>&5
4014
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015
test $ac_status = 0; } &&
4016
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4017
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018
*) ac_try_echo=$ac_try;;
4020
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021
$as_echo "$ac_try_echo"; } >&5
4022
(eval "$ac_try") 2>&5
4024
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025
test $ac_status = 0; };
4027
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4028
if test "x$CC" != xcc; then
4029
# Test first that cc exists at all.
4030
if { ac_try='cc -c conftest.$ac_ext >&5'
4031
{ { case "(($ac_try" in
4032
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033
*) ac_try_echo=$ac_try;;
4035
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036
$as_echo "$ac_try_echo"; } >&5
4037
(eval "$ac_try") 2>&5
4039
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040
test $ac_status = 0; }; }; then
4041
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4043
if { { case "(($ac_try" in
4044
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045
*) ac_try_echo=$ac_try;;
4047
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048
$as_echo "$ac_try_echo"; } >&5
4049
(eval "$ac_try") 2>&5
4051
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052
test $ac_status = 0; } &&
4053
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4054
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055
*) ac_try_echo=$ac_try;;
4057
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4058
$as_echo "$ac_try_echo"; } >&5
4059
(eval "$ac_try") 2>&5
4061
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062
test $ac_status = 0; };
4067
# cc exists but doesn't like -o.
4068
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4073
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4075
rm -f core conftest*
4078
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4080
$as_echo "yes" >&6; }
4082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083
$as_echo "no" >&6; }
4085
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4089
# FIXME: we rely on the cache variable name because
4090
# there is no other way.
4092
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4093
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4094
if test "$am_t" != yes; then
4095
# Losing compiler, so override with the script.
4096
# FIXME: It is wrong to rewrite CC.
4097
# But if we don't then we get into trouble of one sort or another.
4098
# A longer-term fix would be to have automake use am__CC in this case,
4099
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4100
CC="$am_aux_dir/compile $CC"
4111
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4112
if test -n "$ac_tool_prefix"; then
4113
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4114
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116
$as_echo_n "checking for $ac_word... " >&6; }
4117
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4118
$as_echo_n "(cached) " >&6
4122
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129
test -z "$as_dir" && as_dir=.
4130
for ac_exec_ext in '' $ac_executable_extensions; do
4131
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4132
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4133
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4144
if test -n "$PKG_CONFIG"; then
4145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4146
$as_echo "$PKG_CONFIG" >&6; }
4148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149
$as_echo "no" >&6; }
4154
if test -z "$ac_cv_path_PKG_CONFIG"; then
4155
ac_pt_PKG_CONFIG=$PKG_CONFIG
4156
# Extract the first word of "pkg-config", so it can be a program name with args.
4157
set dummy pkg-config; ac_word=$2
4158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159
$as_echo_n "checking for $ac_word... " >&6; }
4160
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4161
$as_echo_n "(cached) " >&6
4163
case $ac_pt_PKG_CONFIG in
4165
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172
test -z "$as_dir" && as_dir=.
4173
for ac_exec_ext in '' $ac_executable_extensions; do
4174
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4176
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4187
if test -n "$ac_pt_PKG_CONFIG"; then
4188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4189
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192
$as_echo "no" >&6; }
4195
if test "x$ac_pt_PKG_CONFIG" = x; then
4198
case $cross_compiling:$ac_tool_warned in
4200
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202
ac_tool_warned=yes ;;
4204
PKG_CONFIG=$ac_pt_PKG_CONFIG
4207
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4211
if test -n "$PKG_CONFIG"; then
4212
_pkg_min_version=0.9.0
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4214
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4215
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217
$as_echo "yes" >&6; }
4219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220
$as_echo "no" >&6; }
4227
ac_cpp='$CPP $CPPFLAGS'
4228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4232
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4233
# On Suns, sometimes $CPP names a directory.
4234
if test -n "$CPP" && test -d "$CPP"; then
4237
if test -z "$CPP"; then
4238
if ${ac_cv_prog_CPP+:} false; then :
4239
$as_echo_n "(cached) " >&6
4241
# Double quotes because CPP needs to be expanded
4242
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4245
for ac_c_preproc_warn_flag in '' yes
4247
# Use a header file that comes with gcc, so configuring glibc
4248
# with a fresh cross-compiler works.
4249
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4250
# <limits.h> exists even on freestanding compilers.
4251
# On the NeXT, cc -E runs the code through the compiler's parser,
4252
# not just through cpp. "Syntax error" is here to catch this case.
4253
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254
/* end confdefs.h. */
4256
# include <limits.h>
4258
# include <assert.h>
4262
if ac_fn_c_try_cpp "$LINENO"; then :
4265
# Broken: fails on valid input.
4268
rm -f conftest.err conftest.i conftest.$ac_ext
4270
# OK, works on sane cases. Now check whether nonexistent headers
4271
# can be detected and how.
4272
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273
/* end confdefs.h. */
4274
#include <ac_nonexistent.h>
4276
if ac_fn_c_try_cpp "$LINENO"; then :
4277
# Broken: success on invalid input.
4280
# Passes both tests.
4284
rm -f conftest.err conftest.i conftest.$ac_ext
4287
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4288
rm -f conftest.i conftest.err conftest.$ac_ext
4289
if $ac_preproc_ok; then :
4301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4302
$as_echo "$CPP" >&6; }
4304
for ac_c_preproc_warn_flag in '' yes
4306
# Use a header file that comes with gcc, so configuring glibc
4307
# with a fresh cross-compiler works.
4308
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4309
# <limits.h> exists even on freestanding compilers.
4310
# On the NeXT, cc -E runs the code through the compiler's parser,
4311
# not just through cpp. "Syntax error" is here to catch this case.
4312
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313
/* end confdefs.h. */
4315
# include <limits.h>
4317
# include <assert.h>
4321
if ac_fn_c_try_cpp "$LINENO"; then :
4324
# Broken: fails on valid input.
4327
rm -f conftest.err conftest.i conftest.$ac_ext
4329
# OK, works on sane cases. Now check whether nonexistent headers
4330
# can be detected and how.
4331
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332
/* end confdefs.h. */
4333
#include <ac_nonexistent.h>
4335
if ac_fn_c_try_cpp "$LINENO"; then :
4336
# Broken: success on invalid input.
4339
# Passes both tests.
4343
rm -f conftest.err conftest.i conftest.$ac_ext
4346
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4347
rm -f conftest.i conftest.err conftest.$ac_ext
4348
if $ac_preproc_ok; then :
4351
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4353
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4354
See \`config.log' for more details" "$LINENO" 5; }
4358
ac_cpp='$CPP $CPPFLAGS'
4359
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4365
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4366
if ${ac_cv_path_GREP+:} false; then :
4367
$as_echo_n "(cached) " >&6
4369
if test -z "$GREP"; then
4370
ac_path_GREP_found=false
4371
# Loop through the user's path and test for each of PROGNAME-LIST
4372
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4376
test -z "$as_dir" && as_dir=.
4377
for ac_prog in grep ggrep; do
4378
for ac_exec_ext in '' $ac_executable_extensions; do
4379
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4380
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4381
# Check for GNU ac_path_GREP and select it if it is found.
4382
# Check for GNU $ac_path_GREP
4383
case `"$ac_path_GREP" --version 2>&1` in
4385
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4388
$as_echo_n 0123456789 >"conftest.in"
4391
cat "conftest.in" "conftest.in" >"conftest.tmp"
4392
mv "conftest.tmp" "conftest.in"
4393
cp "conftest.in" "conftest.nl"
4394
$as_echo 'GREP' >> "conftest.nl"
4395
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4396
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4397
as_fn_arith $ac_count + 1 && ac_count=$as_val
4398
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4399
# Best one so far, save it but keep looking for a better one
4400
ac_cv_path_GREP="$ac_path_GREP"
4401
ac_path_GREP_max=$ac_count
4403
# 10*(2^10) chars as input seems more than enough
4404
test $ac_count -gt 10 && break
4406
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4409
$ac_path_GREP_found && break 3
4414
if test -z "$ac_cv_path_GREP"; then
4415
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4418
ac_cv_path_GREP=$GREP
4422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4423
$as_echo "$ac_cv_path_GREP" >&6; }
4424
GREP="$ac_cv_path_GREP"
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4428
$as_echo_n "checking for egrep... " >&6; }
4429
if ${ac_cv_path_EGREP+:} false; then :
4430
$as_echo_n "(cached) " >&6
4432
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4433
then ac_cv_path_EGREP="$GREP -E"
4435
if test -z "$EGREP"; then
4436
ac_path_EGREP_found=false
4437
# Loop through the user's path and test for each of PROGNAME-LIST
4438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4442
test -z "$as_dir" && as_dir=.
4443
for ac_prog in egrep; do
4444
for ac_exec_ext in '' $ac_executable_extensions; do
4445
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4446
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4447
# Check for GNU ac_path_EGREP and select it if it is found.
4448
# Check for GNU $ac_path_EGREP
4449
case `"$ac_path_EGREP" --version 2>&1` in
4451
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4454
$as_echo_n 0123456789 >"conftest.in"
4457
cat "conftest.in" "conftest.in" >"conftest.tmp"
4458
mv "conftest.tmp" "conftest.in"
4459
cp "conftest.in" "conftest.nl"
4460
$as_echo 'EGREP' >> "conftest.nl"
4461
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4462
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4463
as_fn_arith $ac_count + 1 && ac_count=$as_val
4464
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4465
# Best one so far, save it but keep looking for a better one
4466
ac_cv_path_EGREP="$ac_path_EGREP"
4467
ac_path_EGREP_max=$ac_count
4469
# 10*(2^10) chars as input seems more than enough
4470
test $ac_count -gt 10 && break
4472
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4475
$ac_path_EGREP_found && break 3
4480
if test -z "$ac_cv_path_EGREP"; then
4481
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4484
ac_cv_path_EGREP=$EGREP
4489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4490
$as_echo "$ac_cv_path_EGREP" >&6; }
4491
EGREP="$ac_cv_path_EGREP"
4494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4495
$as_echo_n "checking for ANSI C header files... " >&6; }
4496
if ${ac_cv_header_stdc+:} false; then :
4497
$as_echo_n "(cached) " >&6
4499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500
/* end confdefs.h. */
4514
if ac_fn_c_try_compile "$LINENO"; then :
4515
ac_cv_header_stdc=yes
4517
ac_cv_header_stdc=no
4519
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521
if test $ac_cv_header_stdc = yes; then
4522
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4523
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524
/* end confdefs.h. */
4528
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4529
$EGREP "memchr" >/dev/null 2>&1; then :
4532
ac_cv_header_stdc=no
4538
if test $ac_cv_header_stdc = yes; then
4539
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4540
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541
/* end confdefs.h. */
4545
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4546
$EGREP "free" >/dev/null 2>&1; then :
4549
ac_cv_header_stdc=no
4555
if test $ac_cv_header_stdc = yes; then
4556
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4557
if test "$cross_compiling" = yes; then :
4560
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561
/* end confdefs.h. */
4564
#if ((' ' & 0x0FF) == 0x020)
4565
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4566
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4568
# define ISLOWER(c) \
4569
(('a' <= (c) && (c) <= 'i') \
4570
|| ('j' <= (c) && (c) <= 'r') \
4571
|| ('s' <= (c) && (c) <= 'z'))
4572
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4575
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4580
for (i = 0; i < 256; i++)
4581
if (XOR (islower (i), ISLOWER (i))
4582
|| toupper (i) != TOUPPER (i))
4587
if ac_fn_c_try_run "$LINENO"; then :
4590
ac_cv_header_stdc=no
4592
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4593
conftest.$ac_objext conftest.beam conftest.$ac_ext
4598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4599
$as_echo "$ac_cv_header_stdc" >&6; }
4600
if test $ac_cv_header_stdc = yes; then
4602
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4606
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4607
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4608
inttypes.h stdint.h unistd.h
4610
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4611
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4613
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4614
cat >>confdefs.h <<_ACEOF
4615
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4624
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4625
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4632
if test "$MINIX" = yes; then
4634
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4637
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4640
$as_echo "#define _MINIX 1" >>confdefs.h
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4646
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4647
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4648
$as_echo_n "(cached) " >&6
4650
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651
/* end confdefs.h. */
4653
# define __EXTENSIONS__ 1
4654
$ac_includes_default
4663
if ac_fn_c_try_compile "$LINENO"; then :
4664
ac_cv_safe_to_define___extensions__=yes
4666
ac_cv_safe_to_define___extensions__=no
4668
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4671
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4672
test $ac_cv_safe_to_define___extensions__ = yes &&
4673
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4675
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4677
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4679
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4681
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4689
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4690
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4695
macro_version='2.4.2'
4696
macro_revision='1.3337'
4710
ltmain="$ac_aux_dir/ltmain.sh"
4712
# Make sure we can run config.sub.
4713
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4714
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4717
$as_echo_n "checking build system type... " >&6; }
4718
if ${ac_cv_build+:} false; then :
4719
$as_echo_n "(cached) " >&6
4721
ac_build_alias=$build_alias
4722
test "x$ac_build_alias" = x &&
4723
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4724
test "x$ac_build_alias" = x &&
4725
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4726
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4727
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4731
$as_echo "$ac_cv_build" >&6; }
4732
case $ac_cv_build in
4734
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4737
ac_save_IFS=$IFS; IFS='-'
4743
# Remember, the first character of IFS is used to create $*,
4744
# except with old shells:
4747
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4751
$as_echo_n "checking host system type... " >&6; }
4752
if ${ac_cv_host+:} false; then :
4753
$as_echo_n "(cached) " >&6
4755
if test "x$host_alias" = x; then
4756
ac_cv_host=$ac_cv_build
4758
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4759
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4764
$as_echo "$ac_cv_host" >&6; }
4767
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4770
ac_save_IFS=$IFS; IFS='-'
4776
# Remember, the first character of IFS is used to create $*,
4777
# except with old shells:
4780
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4783
# Backslashify metacharacters that are still active within
4784
# double-quoted strings.
4785
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4787
# Same as above, but do not quote variable references.
4788
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4790
# Sed substitution to delay expansion of an escaped shell variable in a
4791
# double_quote_subst'ed string.
4792
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4794
# Sed substitution to delay expansion of an escaped single quote.
4795
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4797
# Sed substitution to avoid accidental globbing in evaled expressions
4798
no_glob_subst='s/\*/\\\*/g'
4800
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4801
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4802
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4805
$as_echo_n "checking how to print strings... " >&6; }
4806
# Test print first, because it will be a builtin if present.
4807
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4808
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4810
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4813
# Use this function as a fallback that always works.
4814
func_fallback_echo ()
4816
eval 'cat <<_LTECHO_EOF
4820
ECHO='func_fallback_echo'
4823
# func_echo_all arg...
4824
# Invoke $ECHO with all args, space-separated.
4831
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4832
$as_echo "printf" >&6; } ;;
4833
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4834
$as_echo "print -r" >&6; } ;;
4835
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4836
$as_echo "cat" >&6; } ;;
4852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4853
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4854
if ${ac_cv_path_SED+:} false; then :
4855
$as_echo_n "(cached) " >&6
4857
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4858
for ac_i in 1 2 3 4 5 6 7; do
4859
ac_script="$ac_script$as_nl$ac_script"
4861
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4862
{ ac_script=; unset ac_script;}
4863
if test -z "$SED"; then
4864
ac_path_SED_found=false
4865
# Loop through the user's path and test for each of PROGNAME-LIST
4866
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870
test -z "$as_dir" && as_dir=.
4871
for ac_prog in sed gsed; do
4872
for ac_exec_ext in '' $ac_executable_extensions; do
4873
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4874
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4875
# Check for GNU ac_path_SED and select it if it is found.
4876
# Check for GNU $ac_path_SED
4877
case `"$ac_path_SED" --version 2>&1` in
4879
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4882
$as_echo_n 0123456789 >"conftest.in"
4885
cat "conftest.in" "conftest.in" >"conftest.tmp"
4886
mv "conftest.tmp" "conftest.in"
4887
cp "conftest.in" "conftest.nl"
4888
$as_echo '' >> "conftest.nl"
4889
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4890
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4891
as_fn_arith $ac_count + 1 && ac_count=$as_val
4892
if test $ac_count -gt ${ac_path_SED_max-0}; then
4893
# Best one so far, save it but keep looking for a better one
4894
ac_cv_path_SED="$ac_path_SED"
4895
ac_path_SED_max=$ac_count
4897
# 10*(2^10) chars as input seems more than enough
4898
test $ac_count -gt 10 && break
4900
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4903
$ac_path_SED_found && break 3
4908
if test -z "$ac_cv_path_SED"; then
4909
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4917
$as_echo "$ac_cv_path_SED" >&6; }
4918
SED="$ac_cv_path_SED"
4921
test -z "$SED" && SED=sed
4922
Xsed="$SED -e 1s/^X//"
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4935
$as_echo_n "checking for fgrep... " >&6; }
4936
if ${ac_cv_path_FGREP+:} false; then :
4937
$as_echo_n "(cached) " >&6
4939
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4940
then ac_cv_path_FGREP="$GREP -F"
4942
if test -z "$FGREP"; then
4943
ac_path_FGREP_found=false
4944
# Loop through the user's path and test for each of PROGNAME-LIST
4945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4949
test -z "$as_dir" && as_dir=.
4950
for ac_prog in fgrep; do
4951
for ac_exec_ext in '' $ac_executable_extensions; do
4952
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4953
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4954
# Check for GNU ac_path_FGREP and select it if it is found.
4955
# Check for GNU $ac_path_FGREP
4956
case `"$ac_path_FGREP" --version 2>&1` in
4958
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4961
$as_echo_n 0123456789 >"conftest.in"
4964
cat "conftest.in" "conftest.in" >"conftest.tmp"
4965
mv "conftest.tmp" "conftest.in"
4966
cp "conftest.in" "conftest.nl"
4967
$as_echo 'FGREP' >> "conftest.nl"
4968
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4969
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4970
as_fn_arith $ac_count + 1 && ac_count=$as_val
4971
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4972
# Best one so far, save it but keep looking for a better one
4973
ac_cv_path_FGREP="$ac_path_FGREP"
4974
ac_path_FGREP_max=$ac_count
4976
# 10*(2^10) chars as input seems more than enough
4977
test $ac_count -gt 10 && break
4979
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4982
$ac_path_FGREP_found && break 3
4987
if test -z "$ac_cv_path_FGREP"; then
4988
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4991
ac_cv_path_FGREP=$FGREP
4996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4997
$as_echo "$ac_cv_path_FGREP" >&6; }
4998
FGREP="$ac_cv_path_FGREP"
5001
test -z "$GREP" && GREP=grep
5021
# Check whether --with-gnu-ld was given.
5022
if test "${with_gnu_ld+set}" = set; then :
5023
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5029
if test "$GCC" = yes; then
5030
# Check if gcc -print-prog-name=ld gives a path.
5031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5032
$as_echo_n "checking for ld used by $CC... " >&6; }
5035
# gcc leaves a trailing carriage return which upsets mingw
5036
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5038
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5041
# Accept absolute paths.
5043
re_direlt='/[^/][^/]*/\.\./'
5044
# Canonicalize the pathname of ld
5045
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5046
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5047
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5049
test -z "$LD" && LD="$ac_prog"
5052
# If it fails, then pretend we aren't using GCC.
5056
# If it is relative, then search for the first ld in PATH.
5060
elif test "$with_gnu_ld" = yes; then
5061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5062
$as_echo_n "checking for GNU ld... " >&6; }
5064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5065
$as_echo_n "checking for non-GNU ld... " >&6; }
5067
if ${lt_cv_path_LD+:} false; then :
5068
$as_echo_n "(cached) " >&6
5070
if test -z "$LD"; then
5071
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5072
for ac_dir in $PATH; do
5074
test -z "$ac_dir" && ac_dir=.
5075
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5076
lt_cv_path_LD="$ac_dir/$ac_prog"
5077
# Check to see if the program is GNU ld. I'd rather use --version,
5078
# but apparently some variants of GNU ld only accept -v.
5079
# Break only if it was the GNU/non-GNU ld that we prefer.
5080
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5081
*GNU* | *'with BFD'*)
5082
test "$with_gnu_ld" != no && break
5085
test "$with_gnu_ld" != yes && break
5092
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5097
if test -n "$LD"; then
5098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5099
$as_echo "$LD" >&6; }
5101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102
$as_echo "no" >&6; }
5104
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5106
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5107
if ${lt_cv_prog_gnu_ld+:} false; then :
5108
$as_echo_n "(cached) " >&6
5110
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5111
case `$LD -v 2>&1 </dev/null` in
5112
*GNU* | *'with BFD'*)
5113
lt_cv_prog_gnu_ld=yes
5116
lt_cv_prog_gnu_ld=no
5120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5121
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5122
with_gnu_ld=$lt_cv_prog_gnu_ld
5132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5133
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5134
if ${lt_cv_path_NM+:} false; then :
5135
$as_echo_n "(cached) " >&6
5137
if test -n "$NM"; then
5138
# Let the user override the test.
5141
lt_nm_to_check="${ac_tool_prefix}nm"
5142
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5143
lt_nm_to_check="$lt_nm_to_check nm"
5145
for lt_tmp_nm in $lt_nm_to_check; do
5146
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5147
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5149
test -z "$ac_dir" && ac_dir=.
5150
tmp_nm="$ac_dir/$lt_tmp_nm"
5151
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5152
# Check to see if the nm accepts a BSD-compat flag.
5153
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5154
# nm: unknown option "B" ignored
5155
# Tru64's nm complains that /dev/null is an invalid object file
5156
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5157
*/dev/null* | *'Invalid file or object type'*)
5158
lt_cv_path_NM="$tmp_nm -B"
5162
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5164
lt_cv_path_NM="$tmp_nm -p"
5168
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5169
continue # so that we can try to find one that supports BSD flags
5178
: ${lt_cv_path_NM=no}
5181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5182
$as_echo "$lt_cv_path_NM" >&6; }
5183
if test "$lt_cv_path_NM" != "no"; then
5186
# Didn't find any BSD compatible name lister, look for dumpbin.
5187
if test -n "$DUMPBIN"; then :
5188
# Let the user override the test.
5190
if test -n "$ac_tool_prefix"; then
5191
for ac_prog in dumpbin "link -dump"
5193
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5194
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196
$as_echo_n "checking for $ac_word... " >&6; }
5197
if ${ac_cv_prog_DUMPBIN+:} false; then :
5198
$as_echo_n "(cached) " >&6
5200
if test -n "$DUMPBIN"; then
5201
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5203
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207
test -z "$as_dir" && as_dir=.
5208
for ac_exec_ext in '' $ac_executable_extensions; do
5209
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5210
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5211
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220
DUMPBIN=$ac_cv_prog_DUMPBIN
5221
if test -n "$DUMPBIN"; then
5222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5223
$as_echo "$DUMPBIN" >&6; }
5225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226
$as_echo "no" >&6; }
5230
test -n "$DUMPBIN" && break
5233
if test -z "$DUMPBIN"; then
5234
ac_ct_DUMPBIN=$DUMPBIN
5235
for ac_prog in dumpbin "link -dump"
5237
# Extract the first word of "$ac_prog", so it can be a program name with args.
5238
set dummy $ac_prog; ac_word=$2
5239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240
$as_echo_n "checking for $ac_word... " >&6; }
5241
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5242
$as_echo_n "(cached) " >&6
5244
if test -n "$ac_ct_DUMPBIN"; then
5245
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5247
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251
test -z "$as_dir" && as_dir=.
5252
for ac_exec_ext in '' $ac_executable_extensions; do
5253
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5255
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5265
if test -n "$ac_ct_DUMPBIN"; then
5266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5267
$as_echo "$ac_ct_DUMPBIN" >&6; }
5269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270
$as_echo "no" >&6; }
5274
test -n "$ac_ct_DUMPBIN" && break
5277
if test "x$ac_ct_DUMPBIN" = x; then
5280
case $cross_compiling:$ac_tool_warned in
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284
ac_tool_warned=yes ;;
5286
DUMPBIN=$ac_ct_DUMPBIN
5290
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5292
DUMPBIN="$DUMPBIN -symbols"
5300
if test "$DUMPBIN" != ":"; then
5304
test -z "$NM" && NM=nm
5311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5312
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5313
if ${lt_cv_nm_interface+:} false; then :
5314
$as_echo_n "(cached) " >&6
5316
lt_cv_nm_interface="BSD nm"
5317
echo "int some_variable = 0;" > conftest.$ac_ext
5318
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5319
(eval "$ac_compile" 2>conftest.err)
5320
cat conftest.err >&5
5321
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5322
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5323
cat conftest.err >&5
5324
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5325
cat conftest.out >&5
5326
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5327
lt_cv_nm_interface="MS dumpbin"
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5332
$as_echo "$lt_cv_nm_interface" >&6; }
5334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5335
$as_echo_n "checking whether ln -s works... " >&6; }
5337
if test "$LN_S" = "ln -s"; 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, using $LN_S" >&5
5342
$as_echo "no, using $LN_S" >&6; }
5345
# find the maximum length of command line arguments
5346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5347
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5348
if ${lt_cv_sys_max_cmd_len+:} false; then :
5349
$as_echo_n "(cached) " >&6
5356
# On DJGPP, this test can blow up pretty badly due to problems in libc
5357
# (any single argument exceeding 2000 bytes causes a buffer overrun
5358
# during glob expansion). Even if it were fixed, the result of this
5359
# check would be larger than it should be.
5360
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5364
# Under GNU Hurd, this test is not required because there is
5365
# no limit to the length of command line arguments.
5366
# Libtool will interpret -1 as no limit whatsoever
5367
lt_cv_sys_max_cmd_len=-1;
5370
cygwin* | mingw* | cegcc*)
5371
# On Win9x/ME, this test blows up -- it succeeds, but takes
5372
# about 5 minutes as the teststring grows exponentially.
5373
# Worse, since 9x/ME are not pre-emptively multitasking,
5374
# you end up with a "frozen" computer, even though with patience
5375
# the test eventually succeeds (with a max line length of 256k).
5376
# Instead, let's just punt: use the minimum linelength reported by
5377
# all of the supported platforms: 8192 (on NT/2K/XP).
5378
lt_cv_sys_max_cmd_len=8192;
5382
# On MiNT this can take a long time and run out of memory.
5383
lt_cv_sys_max_cmd_len=8192;
5387
# On AmigaOS with pdksh, this test takes hours, literally.
5388
# So we just punt and use a minimum line length of 8192.
5389
lt_cv_sys_max_cmd_len=8192;
5392
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5393
# This has been around since 386BSD, at least. Likely further.
5394
if test -x /sbin/sysctl; then
5395
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5396
elif test -x /usr/sbin/sysctl; then
5397
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5399
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5401
# And add a safety zone
5402
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5403
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5407
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5408
lt_cv_sys_max_cmd_len=196608
5412
# The test takes a long time on OS/2.
5413
lt_cv_sys_max_cmd_len=8192
5417
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5418
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5419
# nice to cause kernel panics so lets avoid the loop below.
5420
# First set a reasonable default.
5421
lt_cv_sys_max_cmd_len=16384
5423
if test -x /sbin/sysconfig; then
5424
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5425
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5430
lt_cv_sys_max_cmd_len=102400
5432
sysv5* | sco5v6* | sysv4.2uw2*)
5433
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5434
if test -n "$kargmax"; then
5435
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5437
lt_cv_sys_max_cmd_len=32768
5441
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5442
if test -n "$lt_cv_sys_max_cmd_len"; then
5443
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5444
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5446
# Make teststring a little bigger before we do anything with it.
5447
# a 1K string should be a reasonable start.
5448
for i in 1 2 3 4 5 6 7 8 ; do
5449
teststring=$teststring$teststring
5451
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5452
# If test is not a shell built-in, we'll probably end up computing a
5453
# maximum length that is only half of the actual maximum length, but
5455
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5456
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5457
test $i != 17 # 1/2 MB should be enough
5460
teststring=$teststring$teststring
5462
# Only check the string length outside the loop.
5463
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5465
# Add a significant safety factor because C++ compilers can tack on
5466
# massive amounts of additional arguments before passing them to the
5467
# linker. It appears as though 1/2 is a usable value.
5468
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5475
if test -n $lt_cv_sys_max_cmd_len ; then
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5477
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5480
$as_echo "none" >&6; }
5482
max_cmd_len=$lt_cv_sys_max_cmd_len
5493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5494
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5495
# Try some XSI features
5498
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5500
&& eval 'test $(( 1 + 1 )) -eq 2 \
5501
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5504
$as_echo "$xsi_shell" >&6; }
5507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5508
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5510
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5512
&& lt_shell_append=yes
5513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5514
$as_echo "$lt_shell_append" >&6; }
5517
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5527
# test EBCDIC or ASCII
5528
case `echo X|tr X '\101'` in
5529
A) # ASCII based system
5530
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5531
lt_SP2NL='tr \040 \012'
5532
lt_NL2SP='tr \015\012 \040\040'
5534
*) # EBCDIC based system
5535
lt_SP2NL='tr \100 \n'
5536
lt_NL2SP='tr \r\n \100\100'
5548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5549
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5550
if ${lt_cv_to_host_file_cmd+:} false; then :
5551
$as_echo_n "(cached) " >&6
5556
*-*-mingw* ) # actually msys
5557
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5560
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5562
* ) # otherwise, assume *nix
5563
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5569
*-*-mingw* ) # actually msys
5570
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5573
lt_cv_to_host_file_cmd=func_convert_file_noop
5575
* ) # otherwise, assume *nix
5576
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5580
* ) # unhandled hosts (and "normal" native builds)
5581
lt_cv_to_host_file_cmd=func_convert_file_noop
5587
to_host_file_cmd=$lt_cv_to_host_file_cmd
5588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5589
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5596
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5597
if ${lt_cv_to_tool_file_cmd+:} false; then :
5598
$as_echo_n "(cached) " >&6
5600
#assume ordinary cross tools, or native build.
5601
lt_cv_to_tool_file_cmd=func_convert_file_noop
5605
*-*-mingw* ) # actually msys
5606
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5614
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5616
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5623
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5624
if ${lt_cv_ld_reload_flag+:} false; then :
5625
$as_echo_n "(cached) " >&6
5627
lt_cv_ld_reload_flag='-r'
5629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5630
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5631
reload_flag=$lt_cv_ld_reload_flag
5632
case $reload_flag in
5634
*) reload_flag=" $reload_flag" ;;
5636
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5638
cygwin* | mingw* | pw32* | cegcc*)
5639
if test "$GCC" != yes; then
5644
if test "$GCC" = yes; then
5645
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5647
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5660
if test -n "$ac_tool_prefix"; then
5661
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5662
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664
$as_echo_n "checking for $ac_word... " >&6; }
5665
if ${ac_cv_prog_OBJDUMP+:} false; then :
5666
$as_echo_n "(cached) " >&6
5668
if test -n "$OBJDUMP"; then
5669
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675
test -z "$as_dir" && as_dir=.
5676
for ac_exec_ext in '' $ac_executable_extensions; do
5677
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5678
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5679
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688
OBJDUMP=$ac_cv_prog_OBJDUMP
5689
if test -n "$OBJDUMP"; then
5690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5691
$as_echo "$OBJDUMP" >&6; }
5693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694
$as_echo "no" >&6; }
5699
if test -z "$ac_cv_prog_OBJDUMP"; then
5700
ac_ct_OBJDUMP=$OBJDUMP
5701
# Extract the first word of "objdump", so it can be a program name with args.
5702
set dummy objdump; ac_word=$2
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704
$as_echo_n "checking for $ac_word... " >&6; }
5705
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5706
$as_echo_n "(cached) " >&6
5708
if test -n "$ac_ct_OBJDUMP"; then
5709
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715
test -z "$as_dir" && as_dir=.
5716
for ac_exec_ext in '' $ac_executable_extensions; do
5717
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5718
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5719
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5729
if test -n "$ac_ct_OBJDUMP"; then
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5731
$as_echo "$ac_ct_OBJDUMP" >&6; }
5733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734
$as_echo "no" >&6; }
5737
if test "x$ac_ct_OBJDUMP" = x; then
5740
case $cross_compiling:$ac_tool_warned in
5742
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744
ac_tool_warned=yes ;;
5746
OBJDUMP=$ac_ct_OBJDUMP
5749
OBJDUMP="$ac_cv_prog_OBJDUMP"
5752
test -z "$OBJDUMP" && OBJDUMP=objdump
5762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5763
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5764
if ${lt_cv_deplibs_check_method+:} false; then :
5765
$as_echo_n "(cached) " >&6
5767
lt_cv_file_magic_cmd='$MAGIC_CMD'
5768
lt_cv_file_magic_test_file=
5769
lt_cv_deplibs_check_method='unknown'
5770
# Need to set the preceding variable on all platforms that support
5771
# interlibrary dependencies.
5772
# 'none' -- dependencies not supported.
5773
# `unknown' -- same as none, but documents that we really don't know.
5774
# 'pass_all' -- all dependencies passed with no checks.
5775
# 'test_compile' -- check by making test program.
5776
# 'file_magic [[regex]]' -- check by looking for files in library path
5777
# which responds to the $file_magic_cmd with a given extended regex.
5778
# If you have `file' or equivalent on your system and you're not sure
5779
# whether `pass_all' will *always* work, you probably want this one.
5783
lt_cv_deplibs_check_method=pass_all
5787
lt_cv_deplibs_check_method=pass_all
5791
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5792
lt_cv_file_magic_cmd='/usr/bin/file -L'
5793
lt_cv_file_magic_test_file=/shlib/libc.so
5797
# func_win32_libid is a shell function defined in ltmain.sh
5798
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5799
lt_cv_file_magic_cmd='func_win32_libid'
5803
# Base MSYS/MinGW do not provide the 'file' command needed by
5804
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5805
# unless we find 'file', for example because we are cross-compiling.
5806
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5807
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5808
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5809
lt_cv_file_magic_cmd='func_win32_libid'
5811
# Keep this pattern in sync with the one in func_win32_libid.
5812
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5813
lt_cv_file_magic_cmd='$OBJDUMP -f'
5818
# use the weaker test based on 'objdump'. See mingw*.
5819
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5820
lt_cv_file_magic_cmd='$OBJDUMP -f'
5823
darwin* | rhapsody*)
5824
lt_cv_deplibs_check_method=pass_all
5827
freebsd* | dragonfly*)
5828
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5831
# Not sure whether the presence of OpenBSD here was a mistake.
5832
# Let's accept both of them until this is cleared up.
5833
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5834
lt_cv_file_magic_cmd=/usr/bin/file
5835
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5839
lt_cv_deplibs_check_method=pass_all
5844
lt_cv_deplibs_check_method=pass_all
5848
lt_cv_deplibs_check_method=pass_all
5851
hpux10.20* | hpux11*)
5852
lt_cv_file_magic_cmd=/usr/bin/file
5855
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5856
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5859
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]'
5860
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5863
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5864
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5870
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5871
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5874
irix5* | irix6* | nonstopux*)
5876
*-32|*"-32 ") libmagic=32-bit;;
5877
*-n32|*"-n32 ") libmagic=N32;;
5878
*-64|*"-64 ") libmagic=64-bit;;
5879
*) libmagic=never-match;;
5881
lt_cv_deplibs_check_method=pass_all
5884
# This must be glibc/ELF.
5885
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5886
lt_cv_deplibs_check_method=pass_all
5890
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5891
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5893
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5898
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5899
lt_cv_file_magic_cmd=/usr/bin/file
5900
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5904
lt_cv_deplibs_check_method=pass_all
5908
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5909
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5911
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5915
osf3* | osf4* | osf5*)
5916
lt_cv_deplibs_check_method=pass_all
5920
lt_cv_deplibs_check_method=pass_all
5924
lt_cv_deplibs_check_method=pass_all
5927
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5928
lt_cv_deplibs_check_method=pass_all
5932
case $host_vendor in
5934
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]'
5935
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5938
lt_cv_deplibs_check_method=pass_all
5941
lt_cv_file_magic_cmd='/bin/file'
5942
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5945
lt_cv_file_magic_cmd='/bin/file'
5946
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5947
lt_cv_file_magic_test_file=/lib/libc.so
5950
lt_cv_deplibs_check_method=pass_all
5953
lt_cv_deplibs_check_method=pass_all
5959
lt_cv_deplibs_check_method=pass_all
5964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5965
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5969
if test "$build" = "$host"; then
5972
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5975
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5981
file_magic_cmd=$lt_cv_file_magic_cmd
5982
deplibs_check_method=$lt_cv_deplibs_check_method
5983
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6006
if test -n "$ac_tool_prefix"; then
6007
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6008
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010
$as_echo_n "checking for $ac_word... " >&6; }
6011
if ${ac_cv_prog_DLLTOOL+:} false; then :
6012
$as_echo_n "(cached) " >&6
6014
if test -n "$DLLTOOL"; then
6015
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021
test -z "$as_dir" && as_dir=.
6022
for ac_exec_ext in '' $ac_executable_extensions; do
6023
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6025
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034
DLLTOOL=$ac_cv_prog_DLLTOOL
6035
if test -n "$DLLTOOL"; then
6036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6037
$as_echo "$DLLTOOL" >&6; }
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040
$as_echo "no" >&6; }
6045
if test -z "$ac_cv_prog_DLLTOOL"; then
6046
ac_ct_DLLTOOL=$DLLTOOL
6047
# Extract the first word of "dlltool", so it can be a program name with args.
6048
set dummy dlltool; ac_word=$2
6049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050
$as_echo_n "checking for $ac_word... " >&6; }
6051
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6052
$as_echo_n "(cached) " >&6
6054
if test -n "$ac_ct_DLLTOOL"; then
6055
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061
test -z "$as_dir" && as_dir=.
6062
for ac_exec_ext in '' $ac_executable_extensions; do
6063
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6065
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6075
if test -n "$ac_ct_DLLTOOL"; then
6076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6077
$as_echo "$ac_ct_DLLTOOL" >&6; }
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080
$as_echo "no" >&6; }
6083
if test "x$ac_ct_DLLTOOL" = x; then
6086
case $cross_compiling:$ac_tool_warned in
6088
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090
ac_tool_warned=yes ;;
6092
DLLTOOL=$ac_ct_DLLTOOL
6095
DLLTOOL="$ac_cv_prog_DLLTOOL"
6098
test -z "$DLLTOOL" && DLLTOOL=dlltool
6109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6110
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6111
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6112
$as_echo_n "(cached) " >&6
6114
lt_cv_sharedlib_from_linklib_cmd='unknown'
6117
cygwin* | mingw* | pw32* | cegcc*)
6118
# two different shell functions defined in ltmain.sh
6119
# decide which to use based on capabilities of $DLLTOOL
6120
case `$DLLTOOL --help 2>&1` in
6121
*--identify-strict*)
6122
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6125
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6130
# fallback: assume linklib IS sharedlib
6131
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6137
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6138
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6139
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6147
if test -n "$ac_tool_prefix"; then
6150
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6151
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153
$as_echo_n "checking for $ac_word... " >&6; }
6154
if ${ac_cv_prog_AR+:} false; then :
6155
$as_echo_n "(cached) " >&6
6157
if test -n "$AR"; then
6158
ac_cv_prog_AR="$AR" # Let the user override the test.
6160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164
test -z "$as_dir" && as_dir=.
6165
for ac_exec_ext in '' $ac_executable_extensions; do
6166
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6167
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6168
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178
if test -n "$AR"; then
6179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6180
$as_echo "$AR" >&6; }
6182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183
$as_echo "no" >&6; }
6187
test -n "$AR" && break
6190
if test -z "$AR"; then
6194
# Extract the first word of "$ac_prog", so it can be a program name with args.
6195
set dummy $ac_prog; ac_word=$2
6196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197
$as_echo_n "checking for $ac_word... " >&6; }
6198
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6199
$as_echo_n "(cached) " >&6
6201
if test -n "$ac_ct_AR"; then
6202
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6204
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208
test -z "$as_dir" && as_dir=.
6209
for ac_exec_ext in '' $ac_executable_extensions; do
6210
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211
ac_cv_prog_ac_ct_AR="$ac_prog"
6212
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6222
if test -n "$ac_ct_AR"; then
6223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6224
$as_echo "$ac_ct_AR" >&6; }
6226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227
$as_echo "no" >&6; }
6231
test -n "$ac_ct_AR" && break
6234
if test "x$ac_ct_AR" = x; then
6237
case $cross_compiling:$ac_tool_warned in
6239
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6240
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6241
ac_tool_warned=yes ;;
6260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6261
$as_echo_n "checking for archiver @FILE support... " >&6; }
6262
if ${lt_cv_ar_at_file+:} false; then :
6263
$as_echo_n "(cached) " >&6
6266
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267
/* end confdefs.h. */
6277
if ac_fn_c_try_compile "$LINENO"; then :
6278
echo conftest.$ac_objext > conftest.lst
6279
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6280
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6281
(eval $lt_ar_try) 2>&5
6283
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6284
test $ac_status = 0; }
6285
if test "$ac_status" -eq 0; then
6286
# Ensure the archiver fails upon bogus file names.
6287
rm -f conftest.$ac_objext libconftest.a
6288
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6289
(eval $lt_ar_try) 2>&5
6291
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6292
test $ac_status = 0; }
6293
if test "$ac_status" -ne 0; then
6297
rm -f conftest.* libconftest.a
6300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6304
$as_echo "$lt_cv_ar_at_file" >&6; }
6306
if test "x$lt_cv_ar_at_file" = xno; then
6309
archiver_list_spec=$lt_cv_ar_at_file
6318
if test -n "$ac_tool_prefix"; then
6319
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6320
set dummy ${ac_tool_prefix}strip; ac_word=$2
6321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6322
$as_echo_n "checking for $ac_word... " >&6; }
6323
if ${ac_cv_prog_STRIP+:} false; then :
6324
$as_echo_n "(cached) " >&6
6326
if test -n "$STRIP"; then
6327
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333
test -z "$as_dir" && as_dir=.
6334
for ac_exec_ext in '' $ac_executable_extensions; do
6335
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6337
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346
STRIP=$ac_cv_prog_STRIP
6347
if test -n "$STRIP"; then
6348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6349
$as_echo "$STRIP" >&6; }
6351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352
$as_echo "no" >&6; }
6357
if test -z "$ac_cv_prog_STRIP"; then
6359
# Extract the first word of "strip", so it can be a program name with args.
6360
set dummy strip; ac_word=$2
6361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362
$as_echo_n "checking for $ac_word... " >&6; }
6363
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6364
$as_echo_n "(cached) " >&6
6366
if test -n "$ac_ct_STRIP"; then
6367
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373
test -z "$as_dir" && as_dir=.
6374
for ac_exec_ext in '' $ac_executable_extensions; do
6375
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376
ac_cv_prog_ac_ct_STRIP="strip"
6377
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6387
if test -n "$ac_ct_STRIP"; then
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6389
$as_echo "$ac_ct_STRIP" >&6; }
6391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392
$as_echo "no" >&6; }
6395
if test "x$ac_ct_STRIP" = x; then
6398
case $cross_compiling:$ac_tool_warned in
6400
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6401
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6402
ac_tool_warned=yes ;;
6407
STRIP="$ac_cv_prog_STRIP"
6410
test -z "$STRIP" && STRIP=:
6417
if test -n "$ac_tool_prefix"; then
6418
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6419
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421
$as_echo_n "checking for $ac_word... " >&6; }
6422
if ${ac_cv_prog_RANLIB+:} false; then :
6423
$as_echo_n "(cached) " >&6
6425
if test -n "$RANLIB"; then
6426
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6428
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432
test -z "$as_dir" && as_dir=.
6433
for ac_exec_ext in '' $ac_executable_extensions; do
6434
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6436
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445
RANLIB=$ac_cv_prog_RANLIB
6446
if test -n "$RANLIB"; then
6447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6448
$as_echo "$RANLIB" >&6; }
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451
$as_echo "no" >&6; }
6456
if test -z "$ac_cv_prog_RANLIB"; then
6457
ac_ct_RANLIB=$RANLIB
6458
# Extract the first word of "ranlib", so it can be a program name with args.
6459
set dummy ranlib; ac_word=$2
6460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461
$as_echo_n "checking for $ac_word... " >&6; }
6462
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6463
$as_echo_n "(cached) " >&6
6465
if test -n "$ac_ct_RANLIB"; then
6466
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472
test -z "$as_dir" && as_dir=.
6473
for ac_exec_ext in '' $ac_executable_extensions; do
6474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475
ac_cv_prog_ac_ct_RANLIB="ranlib"
6476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6486
if test -n "$ac_ct_RANLIB"; then
6487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6488
$as_echo "$ac_ct_RANLIB" >&6; }
6490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491
$as_echo "no" >&6; }
6494
if test "x$ac_ct_RANLIB" = x; then
6497
case $cross_compiling:$ac_tool_warned in
6499
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6500
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6501
ac_tool_warned=yes ;;
6503
RANLIB=$ac_ct_RANLIB
6506
RANLIB="$ac_cv_prog_RANLIB"
6509
test -z "$RANLIB" && RANLIB=:
6516
# Determine commands to create old-style static archives.
6517
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6518
old_postinstall_cmds='chmod 644 $oldlib'
6519
old_postuninstall_cmds=
6521
if test -n "$RANLIB"; then
6524
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6527
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6530
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6535
lock_old_archive_extraction=yes ;;
6537
lock_old_archive_extraction=no ;;
6578
# If no C compiler was specified, use CC.
6581
# If no C compiler flags were specified, use CFLAGS.
6582
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6584
# Allow CC to be a program name with arguments.
6588
# Check for command to grab the raw symbol name followed by C symbol from nm.
6589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6590
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6591
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6592
$as_echo_n "(cached) " >&6
6595
# These are sane defaults that work on at least a few old systems.
6596
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6598
# Character class describing NM global symbol codes.
6599
symcode='[BCDEGRST]'
6601
# Regexp to match symbols that can be accessed directly from C.
6602
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6604
# Define system-specific variables.
6609
cygwin* | mingw* | pw32* | cegcc*)
6610
symcode='[ABCDGISTW]'
6613
if test "$host_cpu" = ia64; then
6614
symcode='[ABCDEGRST]'
6618
symcode='[BCDEGRST]'
6621
symcode='[BCDEGQRST]'
6632
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6640
# If we're using GNU nm, then use its standard symbol codes.
6641
case `$NM -V 2>&1` in
6642
*GNU* | *'with BFD'*)
6643
symcode='[ABCDGIRSTW]' ;;
6646
# Transform an extracted symbol line into a proper C declaration.
6647
# Some systems (esp. on ia64) link data and code symbols differently,
6648
# so use this general approach.
6649
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6651
# Transform an extracted symbol line into symbol name and symbol address
6652
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6653
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'"
6655
# Handle CRLF in mingw tool chain
6659
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6663
# Try without a prefix underscore, then with it.
6664
for ac_symprfx in "" "_"; do
6666
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6667
symxfrm="\\1 $ac_symprfx\\2 \\2"
6669
# Write the raw and C identifiers.
6670
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6671
# Fake it for dumpbin and say T for any non-static function
6672
# and D for any global variable.
6673
# Also find C++ and __fastcall symbols from MSVC++,
6674
# which start with @ or ?.
6675
lt_cv_sys_global_symbol_pipe="$AWK '"\
6676
" {last_section=section; section=\$ 3};"\
6677
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6678
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6679
" \$ 0!~/External *\|/{next};"\
6680
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6681
" {if(hide[section]) next};"\
6682
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6683
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6684
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6685
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6686
" ' prfx=^$ac_symprfx"
6688
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6690
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6692
# Check to see that the pipe works correctly.
6696
cat > conftest.$ac_ext <<_LT_EOF
6701
void nm_test_func(void);
6702
void nm_test_func(void){}
6706
int main(){nm_test_var='a';nm_test_func();return(0);}
6709
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6710
(eval $ac_compile) 2>&5
6712
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713
test $ac_status = 0; }; then
6714
# Now try to grab the symbols.
6716
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6717
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6719
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6720
test $ac_status = 0; } && test -s "$nlist"; then
6721
# Try sorting and uniquifying the output.
6722
if sort "$nlist" | uniq > "$nlist"T; then
6723
mv -f "$nlist"T "$nlist"
6728
# Make sure that we snagged all the symbols we need.
6729
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6730
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6731
cat <<_LT_EOF > conftest.$ac_ext
6732
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6733
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6734
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6735
relocations are performed -- see ld's documentation on pseudo-relocs. */
6736
# define LT_DLSYM_CONST
6737
#elif defined(__osf__)
6738
/* This system does not cope well with relocations in const data. */
6739
# define LT_DLSYM_CONST
6741
# define LT_DLSYM_CONST const
6749
# Now generate the symbol file.
6750
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6752
cat <<_LT_EOF >> conftest.$ac_ext
6754
/* The mapping between symbol names and symbols. */
6755
LT_DLSYM_CONST struct {
6759
lt__PROGRAM__LTX_preloaded_symbols[] =
6761
{ "@PROGRAM@", (void *) 0 },
6763
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6764
cat <<\_LT_EOF >> conftest.$ac_ext
6768
/* This works around a problem in FreeBSD linker */
6769
#ifdef FREEBSD_WORKAROUND
6770
static const void *lt_preloaded_setup() {
6771
return lt__PROGRAM__LTX_preloaded_symbols;
6779
# Now try linking the two files.
6780
mv conftest.$ac_objext conftstm.$ac_objext
6781
lt_globsym_save_LIBS=$LIBS
6782
lt_globsym_save_CFLAGS=$CFLAGS
6783
LIBS="conftstm.$ac_objext"
6784
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6785
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6786
(eval $ac_link) 2>&5
6788
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6789
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6792
LIBS=$lt_globsym_save_LIBS
6793
CFLAGS=$lt_globsym_save_CFLAGS
6795
echo "cannot find nm_test_func in $nlist" >&5
6798
echo "cannot find nm_test_var in $nlist" >&5
6801
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6804
echo "$progname: failed program was:" >&5
6805
cat conftest.$ac_ext >&5
6807
rm -rf conftest* conftst*
6809
# Do not use the global_symbol_pipe unless it works.
6810
if test "$pipe_works" = yes; then
6813
lt_cv_sys_global_symbol_pipe=
6819
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6820
lt_cv_sys_global_symbol_to_cdecl=
6822
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6824
$as_echo "failed" >&6; }
6826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6827
$as_echo "ok" >&6; }
6830
# Response file support.
6831
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6832
nm_file_list_spec='@'
6833
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6834
nm_file_list_spec='@'
6863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6864
$as_echo_n "checking for sysroot... " >&6; }
6866
# Check whether --with-sysroot was given.
6867
if test "${with_sysroot+set}" = set; then :
6868
withval=$with_sysroot;
6875
case ${with_sysroot} in #(
6877
if test "$GCC" = yes; then
6878
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6882
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6888
$as_echo "${with_sysroot}" >&6; }
6889
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6894
$as_echo "${lt_sysroot:-no}" >&6; }
6900
# Check whether --enable-libtool-lock was given.
6901
if test "${enable_libtool_lock+set}" = set; then :
6902
enableval=$enable_libtool_lock;
6905
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6907
# Some flags need to be propagated to the compiler or linker for good
6911
# Find out which ABI we are using.
6912
echo 'int i;' > conftest.$ac_ext
6913
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914
(eval $ac_compile) 2>&5
6916
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6917
test $ac_status = 0; }; then
6918
case `/usr/bin/file conftest.$ac_objext` in
6930
# Find out which ABI we are using.
6931
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6932
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6933
(eval $ac_compile) 2>&5
6935
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936
test $ac_status = 0; }; then
6937
if test "$lt_cv_prog_gnu_ld" = yes; then
6938
case `/usr/bin/file conftest.$ac_objext` in
6940
LD="${LD-ld} -melf32bsmip"
6943
LD="${LD-ld} -melf32bmipn32"
6946
LD="${LD-ld} -melf64bmip"
6950
case `/usr/bin/file conftest.$ac_objext` in
6966
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6967
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6968
# Find out which ABI we are using.
6969
echo 'int i;' > conftest.$ac_ext
6970
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6971
(eval $ac_compile) 2>&5
6973
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6974
test $ac_status = 0; }; then
6975
case `/usr/bin/file conftest.o` in
6978
x86_64-*kfreebsd*-gnu)
6979
LD="${LD-ld} -m elf_i386_fbsd"
6982
LD="${LD-ld} -m elf_i386"
6984
ppc64-*linux*|powerpc64-*linux*)
6985
LD="${LD-ld} -m elf32ppclinux"
6988
LD="${LD-ld} -m elf_s390"
6991
LD="${LD-ld} -m elf32_sparc"
6997
x86_64-*kfreebsd*-gnu)
6998
LD="${LD-ld} -m elf_x86_64_fbsd"
7001
LD="${LD-ld} -m elf_x86_64"
7003
ppc*-*linux*|powerpc*-*linux*)
7004
LD="${LD-ld} -m elf64ppc"
7006
s390*-*linux*|s390*-*tpf*)
7007
LD="${LD-ld} -m elf64_s390"
7010
LD="${LD-ld} -m elf64_sparc"
7020
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7021
SAVE_CFLAGS="$CFLAGS"
7022
CFLAGS="$CFLAGS -belf"
7023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7024
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7025
if ${lt_cv_cc_needs_belf+:} false; then :
7026
$as_echo_n "(cached) " >&6
7029
ac_cpp='$CPP $CPPFLAGS'
7030
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035
/* end confdefs.h. */
7045
if ac_fn_c_try_link "$LINENO"; then :
7046
lt_cv_cc_needs_belf=yes
7048
lt_cv_cc_needs_belf=no
7050
rm -f core conftest.err conftest.$ac_objext \
7051
conftest$ac_exeext conftest.$ac_ext
7053
ac_cpp='$CPP $CPPFLAGS'
7054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7055
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7056
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7060
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7061
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7062
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7063
CFLAGS="$SAVE_CFLAGS"
7067
# Find out which ABI we are using.
7068
echo 'int i;' > conftest.$ac_ext
7069
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7070
(eval $ac_compile) 2>&5
7072
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7073
test $ac_status = 0; }; then
7074
case `/usr/bin/file conftest.o` in
7076
case $lt_cv_prog_gnu_ld in
7080
LD="${LD-ld} -m elf_x86_64"
7083
LD="${LD-ld} -m elf64_sparc"
7086
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7087
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7092
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7104
need_locks="$enable_libtool_lock"
7106
if test -n "$ac_tool_prefix"; then
7107
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7108
set dummy ${ac_tool_prefix}mt; ac_word=$2
7109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110
$as_echo_n "checking for $ac_word... " >&6; }
7111
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7112
$as_echo_n "(cached) " >&6
7114
if test -n "$MANIFEST_TOOL"; then
7115
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7117
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121
test -z "$as_dir" && as_dir=.
7122
for ac_exec_ext in '' $ac_executable_extensions; do
7123
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7125
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7135
if test -n "$MANIFEST_TOOL"; then
7136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7137
$as_echo "$MANIFEST_TOOL" >&6; }
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140
$as_echo "no" >&6; }
7145
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7146
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7147
# Extract the first word of "mt", so it can be a program name with args.
7148
set dummy mt; ac_word=$2
7149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150
$as_echo_n "checking for $ac_word... " >&6; }
7151
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7152
$as_echo_n "(cached) " >&6
7154
if test -n "$ac_ct_MANIFEST_TOOL"; then
7155
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7157
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161
test -z "$as_dir" && as_dir=.
7162
for ac_exec_ext in '' $ac_executable_extensions; do
7163
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7164
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7165
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7175
if test -n "$ac_ct_MANIFEST_TOOL"; then
7176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7177
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180
$as_echo "no" >&6; }
7183
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7186
case $cross_compiling:$ac_tool_warned in
7188
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7189
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7190
ac_tool_warned=yes ;;
7192
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7195
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7198
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7200
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7201
if ${lt_cv_path_mainfest_tool+:} false; then :
7202
$as_echo_n "(cached) " >&6
7204
lt_cv_path_mainfest_tool=no
7205
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7206
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7207
cat conftest.err >&5
7208
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7209
lt_cv_path_mainfest_tool=yes
7213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7214
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7215
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7225
rhapsody* | darwin*)
7226
if test -n "$ac_tool_prefix"; then
7227
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7228
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7230
$as_echo_n "checking for $ac_word... " >&6; }
7231
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7232
$as_echo_n "(cached) " >&6
7234
if test -n "$DSYMUTIL"; then
7235
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7237
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241
test -z "$as_dir" && as_dir=.
7242
for ac_exec_ext in '' $ac_executable_extensions; do
7243
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7245
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7255
if test -n "$DSYMUTIL"; then
7256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7257
$as_echo "$DSYMUTIL" >&6; }
7259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260
$as_echo "no" >&6; }
7265
if test -z "$ac_cv_prog_DSYMUTIL"; then
7266
ac_ct_DSYMUTIL=$DSYMUTIL
7267
# Extract the first word of "dsymutil", so it can be a program name with args.
7268
set dummy dsymutil; ac_word=$2
7269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7270
$as_echo_n "checking for $ac_word... " >&6; }
7271
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7272
$as_echo_n "(cached) " >&6
7274
if test -n "$ac_ct_DSYMUTIL"; then
7275
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281
test -z "$as_dir" && as_dir=.
7282
for ac_exec_ext in '' $ac_executable_extensions; do
7283
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7284
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7285
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7295
if test -n "$ac_ct_DSYMUTIL"; then
7296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7297
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7300
$as_echo "no" >&6; }
7303
if test "x$ac_ct_DSYMUTIL" = x; then
7306
case $cross_compiling:$ac_tool_warned in
7308
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7309
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7310
ac_tool_warned=yes ;;
7312
DSYMUTIL=$ac_ct_DSYMUTIL
7315
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7318
if test -n "$ac_tool_prefix"; then
7319
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7320
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322
$as_echo_n "checking for $ac_word... " >&6; }
7323
if ${ac_cv_prog_NMEDIT+:} false; then :
7324
$as_echo_n "(cached) " >&6
7326
if test -n "$NMEDIT"; then
7327
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333
test -z "$as_dir" && as_dir=.
7334
for ac_exec_ext in '' $ac_executable_extensions; do
7335
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7337
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346
NMEDIT=$ac_cv_prog_NMEDIT
7347
if test -n "$NMEDIT"; then
7348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7349
$as_echo "$NMEDIT" >&6; }
7351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352
$as_echo "no" >&6; }
7357
if test -z "$ac_cv_prog_NMEDIT"; then
7358
ac_ct_NMEDIT=$NMEDIT
7359
# Extract the first word of "nmedit", so it can be a program name with args.
7360
set dummy nmedit; ac_word=$2
7361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362
$as_echo_n "checking for $ac_word... " >&6; }
7363
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7364
$as_echo_n "(cached) " >&6
7366
if test -n "$ac_ct_NMEDIT"; then
7367
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373
test -z "$as_dir" && as_dir=.
7374
for ac_exec_ext in '' $ac_executable_extensions; do
7375
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7376
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7377
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7387
if test -n "$ac_ct_NMEDIT"; then
7388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7389
$as_echo "$ac_ct_NMEDIT" >&6; }
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392
$as_echo "no" >&6; }
7395
if test "x$ac_ct_NMEDIT" = x; then
7398
case $cross_compiling:$ac_tool_warned in
7400
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7401
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7402
ac_tool_warned=yes ;;
7404
NMEDIT=$ac_ct_NMEDIT
7407
NMEDIT="$ac_cv_prog_NMEDIT"
7410
if test -n "$ac_tool_prefix"; then
7411
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7412
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414
$as_echo_n "checking for $ac_word... " >&6; }
7415
if ${ac_cv_prog_LIPO+:} false; then :
7416
$as_echo_n "(cached) " >&6
7418
if test -n "$LIPO"; then
7419
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425
test -z "$as_dir" && as_dir=.
7426
for ac_exec_ext in '' $ac_executable_extensions; do
7427
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7429
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438
LIPO=$ac_cv_prog_LIPO
7439
if test -n "$LIPO"; then
7440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7441
$as_echo "$LIPO" >&6; }
7443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444
$as_echo "no" >&6; }
7449
if test -z "$ac_cv_prog_LIPO"; then
7451
# Extract the first word of "lipo", so it can be a program name with args.
7452
set dummy lipo; ac_word=$2
7453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7454
$as_echo_n "checking for $ac_word... " >&6; }
7455
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7456
$as_echo_n "(cached) " >&6
7458
if test -n "$ac_ct_LIPO"; then
7459
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465
test -z "$as_dir" && as_dir=.
7466
for ac_exec_ext in '' $ac_executable_extensions; do
7467
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7468
ac_cv_prog_ac_ct_LIPO="lipo"
7469
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7479
if test -n "$ac_ct_LIPO"; then
7480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7481
$as_echo "$ac_ct_LIPO" >&6; }
7483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484
$as_echo "no" >&6; }
7487
if test "x$ac_ct_LIPO" = x; then
7490
case $cross_compiling:$ac_tool_warned in
7492
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7493
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7494
ac_tool_warned=yes ;;
7499
LIPO="$ac_cv_prog_LIPO"
7502
if test -n "$ac_tool_prefix"; then
7503
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7504
set dummy ${ac_tool_prefix}otool; ac_word=$2
7505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506
$as_echo_n "checking for $ac_word... " >&6; }
7507
if ${ac_cv_prog_OTOOL+:} false; then :
7508
$as_echo_n "(cached) " >&6
7510
if test -n "$OTOOL"; then
7511
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7513
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517
test -z "$as_dir" && as_dir=.
7518
for ac_exec_ext in '' $ac_executable_extensions; do
7519
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7521
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530
OTOOL=$ac_cv_prog_OTOOL
7531
if test -n "$OTOOL"; then
7532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7533
$as_echo "$OTOOL" >&6; }
7535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536
$as_echo "no" >&6; }
7541
if test -z "$ac_cv_prog_OTOOL"; then
7543
# Extract the first word of "otool", so it can be a program name with args.
7544
set dummy otool; ac_word=$2
7545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546
$as_echo_n "checking for $ac_word... " >&6; }
7547
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7548
$as_echo_n "(cached) " >&6
7550
if test -n "$ac_ct_OTOOL"; then
7551
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7553
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557
test -z "$as_dir" && as_dir=.
7558
for ac_exec_ext in '' $ac_executable_extensions; do
7559
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560
ac_cv_prog_ac_ct_OTOOL="otool"
7561
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7571
if test -n "$ac_ct_OTOOL"; then
7572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7573
$as_echo "$ac_ct_OTOOL" >&6; }
7575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576
$as_echo "no" >&6; }
7579
if test "x$ac_ct_OTOOL" = x; then
7582
case $cross_compiling:$ac_tool_warned in
7584
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7585
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7586
ac_tool_warned=yes ;;
7591
OTOOL="$ac_cv_prog_OTOOL"
7594
if test -n "$ac_tool_prefix"; then
7595
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7596
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598
$as_echo_n "checking for $ac_word... " >&6; }
7599
if ${ac_cv_prog_OTOOL64+:} false; then :
7600
$as_echo_n "(cached) " >&6
7602
if test -n "$OTOOL64"; then
7603
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7605
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609
test -z "$as_dir" && as_dir=.
7610
for ac_exec_ext in '' $ac_executable_extensions; do
7611
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7612
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7613
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622
OTOOL64=$ac_cv_prog_OTOOL64
7623
if test -n "$OTOOL64"; then
7624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7625
$as_echo "$OTOOL64" >&6; }
7627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628
$as_echo "no" >&6; }
7633
if test -z "$ac_cv_prog_OTOOL64"; then
7634
ac_ct_OTOOL64=$OTOOL64
7635
# Extract the first word of "otool64", so it can be a program name with args.
7636
set dummy otool64; ac_word=$2
7637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638
$as_echo_n "checking for $ac_word... " >&6; }
7639
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7640
$as_echo_n "(cached) " >&6
7642
if test -n "$ac_ct_OTOOL64"; then
7643
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7645
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649
test -z "$as_dir" && as_dir=.
7650
for ac_exec_ext in '' $ac_executable_extensions; do
7651
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7652
ac_cv_prog_ac_ct_OTOOL64="otool64"
7653
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7663
if test -n "$ac_ct_OTOOL64"; then
7664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7665
$as_echo "$ac_ct_OTOOL64" >&6; }
7667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668
$as_echo "no" >&6; }
7671
if test "x$ac_ct_OTOOL64" = x; then
7674
case $cross_compiling:$ac_tool_warned in
7676
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7677
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7678
ac_tool_warned=yes ;;
7680
OTOOL64=$ac_ct_OTOOL64
7683
OTOOL64="$ac_cv_prog_OTOOL64"
7712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7713
$as_echo_n "checking for -single_module linker flag... " >&6; }
7714
if ${lt_cv_apple_cc_single_mod+:} false; then :
7715
$as_echo_n "(cached) " >&6
7717
lt_cv_apple_cc_single_mod=no
7718
if test -z "${LT_MULTI_MODULE}"; then
7719
# By default we will add the -single_module flag. You can override
7720
# by either setting the environment variable LT_MULTI_MODULE
7721
# non-empty at configure time, or by adding -multi_module to the
7723
rm -rf libconftest.dylib*
7724
echo "int foo(void){return 1;}" > conftest.c
7725
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7726
-dynamiclib -Wl,-single_module conftest.c" >&5
7727
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7728
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7730
# If there is a non-empty error log, and "single_module"
7731
# appears in it, assume the flag caused a linker warning
7732
if test -s conftest.err && $GREP single_module conftest.err; then
7733
cat conftest.err >&5
7734
# Otherwise, if the output was created with a 0 exit code from
7735
# the compiler, it worked.
7736
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7737
lt_cv_apple_cc_single_mod=yes
7739
cat conftest.err >&5
7741
rm -rf libconftest.dylib*
7745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7746
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7749
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7750
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7751
$as_echo_n "(cached) " >&6
7753
lt_cv_ld_exported_symbols_list=no
7754
save_LDFLAGS=$LDFLAGS
7755
echo "_main" > conftest.sym
7756
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758
/* end confdefs.h. */
7768
if ac_fn_c_try_link "$LINENO"; then :
7769
lt_cv_ld_exported_symbols_list=yes
7771
lt_cv_ld_exported_symbols_list=no
7773
rm -f core conftest.err conftest.$ac_objext \
7774
conftest$ac_exeext conftest.$ac_ext
7775
LDFLAGS="$save_LDFLAGS"
7778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7782
$as_echo_n "checking for -force_load linker flag... " >&6; }
7783
if ${lt_cv_ld_force_load+:} false; then :
7784
$as_echo_n "(cached) " >&6
7786
lt_cv_ld_force_load=no
7787
cat > conftest.c << _LT_EOF
7788
int forced_loaded() { return 2;}
7790
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7791
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7792
echo "$AR cru libconftest.a conftest.o" >&5
7793
$AR cru libconftest.a conftest.o 2>&5
7794
echo "$RANLIB libconftest.a" >&5
7795
$RANLIB libconftest.a 2>&5
7796
cat > conftest.c << _LT_EOF
7797
int main() { return 0;}
7799
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7800
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7802
if test -s conftest.err && $GREP force_load conftest.err; then
7803
cat conftest.err >&5
7804
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7805
lt_cv_ld_force_load=yes
7807
cat conftest.err >&5
7809
rm -f conftest.err libconftest.a conftest conftest.c
7810
rm -rf conftest.dSYM
7813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7814
$as_echo "$lt_cv_ld_force_load" >&6; }
7816
rhapsody* | darwin1.[012])
7817
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7819
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7820
darwin*) # darwin 5.x on
7821
# if running on 10.5 or later, the deployment target defaults
7822
# to the OS version, if on x86, and 10.4, the deployment
7823
# target defaults to 10.4. Don't you love it?
7824
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7825
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7826
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7828
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7830
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7834
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7835
_lt_dar_single_mod='$single_module'
7837
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7838
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7840
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7842
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7843
_lt_dsymutil='~$DSYMUTIL $lib || :'
7850
for ac_header in dlfcn.h
7852
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7854
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7855
cat >>confdefs.h <<_ACEOF
7856
#define HAVE_DLFCN_H 1
7877
# Check whether --enable-shared was given.
7878
if test "${enable_shared+set}" = set; then :
7879
enableval=$enable_shared; p=${PACKAGE-default}
7881
yes) enable_shared=yes ;;
7882
no) enable_shared=no ;;
7885
# Look at the argument we got. We use all the common list separators.
7886
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7887
for pkg in $enableval; do
7889
if test "X$pkg" = "X$p"; then
7908
# Check whether --enable-static was given.
7909
if test "${enable_static+set}" = set; then :
7910
enableval=$enable_static; p=${PACKAGE-default}
7912
yes) enable_static=yes ;;
7913
no) enable_static=no ;;
7916
# Look at the argument we got. We use all the common list separators.
7917
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7918
for pkg in $enableval; do
7920
if test "X$pkg" = "X$p"; then
7940
# Check whether --with-pic was given.
7941
if test "${with_pic+set}" = set; then :
7942
withval=$with_pic; lt_p=${PACKAGE-default}
7944
yes|no) pic_mode=$withval ;;
7947
# Look at the argument we got. We use all the common list separators.
7948
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7949
for lt_pkg in $withval; do
7951
if test "X$lt_pkg" = "X$lt_p"; then
7963
test -z "$pic_mode" && pic_mode=default
7971
# Check whether --enable-fast-install was given.
7972
if test "${enable_fast_install+set}" = set; then :
7973
enableval=$enable_fast_install; p=${PACKAGE-default}
7975
yes) enable_fast_install=yes ;;
7976
no) enable_fast_install=no ;;
7978
enable_fast_install=no
7979
# Look at the argument we got. We use all the common list separators.
7980
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7981
for pkg in $enableval; do
7983
if test "X$pkg" = "X$p"; then
7984
enable_fast_install=yes
7991
enable_fast_install=yes
8004
# This can be used to rebuild libtool when needed
8005
LIBTOOL_DEPS="$ltmain"
8007
# Always use our own libtool.
8008
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8039
test -z "$LN_S" && LN_S="ln -s"
8054
if test -n "${ZSH_VERSION+set}" ; then
8055
setopt NO_GLOB_SUBST
8058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8059
$as_echo_n "checking for objdir... " >&6; }
8060
if ${lt_cv_objdir+:} false; then :
8061
$as_echo_n "(cached) " >&6
8063
rm -f .libs 2>/dev/null
8064
mkdir .libs 2>/dev/null
8065
if test -d .libs; then
8068
# MS-DOS does not allow filenames that begin with a dot.
8071
rmdir .libs 2>/dev/null
8073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8074
$as_echo "$lt_cv_objdir" >&6; }
8075
objdir=$lt_cv_objdir
8081
cat >>confdefs.h <<_ACEOF
8082
#define LT_OBJDIR "$lt_cv_objdir/"
8090
# AIX sometimes has problems with the GCC collect2 program. For some
8091
# reason, if we set the COLLECT_NAMES environment variable, the problems
8092
# vanish in a puff of smoke.
8093
if test "X${COLLECT_NAMES+set}" != Xset; then
8095
export COLLECT_NAMES
8102
can_build_shared=yes
8104
# All known linkers require a `.a' archive for static linking (except MSVC,
8105
# which needs '.lib').
8108
with_gnu_ld="$lt_cv_prog_gnu_ld"
8111
old_CFLAGS="$CFLAGS"
8113
# Set sane defaults for various variables
8114
test -z "$CC" && CC=cc
8115
test -z "$LTCC" && LTCC=$CC
8116
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8117
test -z "$LD" && LD=ld
8118
test -z "$ac_objext" && ac_objext=o
8120
for cc_temp in $compiler""; do
8122
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8123
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8128
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8131
# Only perform the check for file, if the check method requires it
8132
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8133
case $deplibs_check_method in
8135
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8137
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8138
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8139
$as_echo_n "(cached) " >&6
8143
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8146
lt_save_MAGIC_CMD="$MAGIC_CMD"
8147
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8148
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8149
for ac_dir in $ac_dummy; do
8151
test -z "$ac_dir" && ac_dir=.
8152
if test -f $ac_dir/${ac_tool_prefix}file; then
8153
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8154
if test -n "$file_magic_test_file"; then
8155
case $deplibs_check_method in
8157
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8158
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8160
$EGREP "$file_magic_regex" > /dev/null; then
8165
*** Warning: the command libtool uses to detect shared libraries,
8166
*** $file_magic_cmd, produces output that libtool cannot recognize.
8167
*** The result is that libtool may fail to recognize shared libraries
8168
*** as such. This will affect the creation of libtool libraries that
8169
*** depend on shared libraries, but programs linked with such libtool
8170
*** libraries will work regardless of this problem. Nevertheless, you
8171
*** may want to report the problem to your system manager and/or to
8172
*** bug-libtool@gnu.org
8182
MAGIC_CMD="$lt_save_MAGIC_CMD"
8187
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8188
if test -n "$MAGIC_CMD"; then
8189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8190
$as_echo "$MAGIC_CMD" >&6; }
8192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193
$as_echo "no" >&6; }
8200
if test -z "$lt_cv_path_MAGIC_CMD"; then
8201
if test -n "$ac_tool_prefix"; then
8202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8203
$as_echo_n "checking for file... " >&6; }
8204
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8205
$as_echo_n "(cached) " >&6
8209
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8212
lt_save_MAGIC_CMD="$MAGIC_CMD"
8213
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8214
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8215
for ac_dir in $ac_dummy; do
8217
test -z "$ac_dir" && ac_dir=.
8218
if test -f $ac_dir/file; then
8219
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8220
if test -n "$file_magic_test_file"; then
8221
case $deplibs_check_method in
8223
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8224
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8225
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8226
$EGREP "$file_magic_regex" > /dev/null; then
8231
*** Warning: the command libtool uses to detect shared libraries,
8232
*** $file_magic_cmd, produces output that libtool cannot recognize.
8233
*** The result is that libtool may fail to recognize shared libraries
8234
*** as such. This will affect the creation of libtool libraries that
8235
*** depend on shared libraries, but programs linked with such libtool
8236
*** libraries will work regardless of this problem. Nevertheless, you
8237
*** may want to report the problem to your system manager and/or to
8238
*** bug-libtool@gnu.org
8248
MAGIC_CMD="$lt_save_MAGIC_CMD"
8253
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8254
if test -n "$MAGIC_CMD"; then
8255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8256
$as_echo "$MAGIC_CMD" >&6; }
8258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259
$as_echo "no" >&6; }
8272
# Use C for the default configuration in the libtool script
8276
ac_cpp='$CPP $CPPFLAGS'
8277
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8278
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8279
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8282
# Source file extension for C test sources.
8285
# Object file extension for compiled C test sources.
8289
# Code to be used in simple compile tests
8290
lt_simple_compile_test_code="int some_variable = 0;"
8292
# Code to be used in simple link tests
8293
lt_simple_link_test_code='int main(){return(0);}'
8301
# If no C compiler was specified, use CC.
8304
# If no C compiler flags were specified, use CFLAGS.
8305
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8307
# Allow CC to be a program name with arguments.
8310
# Save the default compiler, since it gets overwritten when the other
8311
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8312
compiler_DEFAULT=$CC
8314
# save warnings/boilerplate of simple test code
8315
ac_outfile=conftest.$ac_objext
8316
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8317
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8318
_lt_compiler_boilerplate=`cat conftest.err`
8321
ac_outfile=conftest.$ac_objext
8322
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8323
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8324
_lt_linker_boilerplate=`cat conftest.err`
8329
## There is no encapsulation within the following macros, do not change
8330
## the running order or otherwise move them around unless you know exactly
8331
## what you are doing...
8332
if test -n "$compiler"; then
8334
lt_prog_compiler_no_builtin_flag=
8336
if test "$GCC" = yes; then
8337
case $cc_basename in
8339
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8341
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8345
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8346
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8347
$as_echo_n "(cached) " >&6
8349
lt_cv_prog_compiler_rtti_exceptions=no
8350
ac_outfile=conftest.$ac_objext
8351
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352
lt_compiler_flag="-fno-rtti -fno-exceptions"
8353
# Insert the option either (1) after the last *FLAGS variable, or
8354
# (2) before a word containing "conftest.", or (3) at the end.
8355
# Note that $ac_compile itself does not contain backslashes and begins
8356
# with a dollar sign (not a hyphen), so the echo should work correctly.
8357
# The option is referenced via a variable to avoid confusing sed.
8358
lt_compile=`echo "$ac_compile" | $SED \
8359
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361
-e 's:$: $lt_compiler_flag:'`
8362
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8363
(eval "$lt_compile" 2>conftest.err)
8365
cat conftest.err >&5
8366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367
if (exit $ac_status) && test -s "$ac_outfile"; then
8368
# The compiler can only warn and ignore the option if not recognized
8369
# So say no if there are warnings other than the usual output.
8370
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8371
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8372
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8373
lt_cv_prog_compiler_rtti_exceptions=yes
8379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8380
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8382
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8383
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8395
lt_prog_compiler_wl=
8396
lt_prog_compiler_pic=
8397
lt_prog_compiler_static=
8400
if test "$GCC" = yes; then
8401
lt_prog_compiler_wl='-Wl,'
8402
lt_prog_compiler_static='-static'
8406
# All AIX code is PIC.
8407
if test "$host_cpu" = ia64; then
8408
# AIX 5 now supports IA64 processor
8409
lt_prog_compiler_static='-Bstatic'
8416
# see comment about AmigaOS4 .so support
8417
lt_prog_compiler_pic='-fPIC'
8420
# FIXME: we need at least 68020 code to build shared libraries, but
8421
# adding the `-m68020' flag to GCC prevents building anything better,
8423
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8428
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8429
# PIC is the default for these OSes.
8432
mingw* | cygwin* | pw32* | os2* | cegcc*)
8433
# This hack is so that the source file can tell whether it is being
8434
# built for inclusion in a dll (and should export symbols for example).
8435
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8436
# (--disable-auto-import) libraries
8437
lt_prog_compiler_pic='-DDLL_EXPORT'
8440
darwin* | rhapsody*)
8441
# PIC is the default on this platform
8442
# Common symbols not allowed in MH_DYLIB files
8443
lt_prog_compiler_pic='-fno-common'
8447
# PIC is the default for Haiku.
8448
# The "-static" flag exists, but is broken.
8449
lt_prog_compiler_static=
8453
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8454
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8455
# sets the default TLS model and affects inlining.
8461
lt_prog_compiler_pic='-fPIC'
8467
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8468
# Instead, we relocate shared libraries at runtime.
8472
# Just because we use GCC doesn't mean we suddenly get shared libraries
8473
# on systems that don't support them.
8474
lt_prog_compiler_can_build_shared=no
8479
# QNX uses GNU C++, but need to define -shared option too, otherwise
8481
lt_prog_compiler_pic='-fPIC -shared'
8485
if test -d /usr/nec; then
8486
lt_prog_compiler_pic=-Kconform_pic
8491
lt_prog_compiler_pic='-fPIC'
8495
case $cc_basename in
8496
nvcc*) # Cuda Compiler Driver 2.2
8497
lt_prog_compiler_wl='-Xlinker '
8498
if test -n "$lt_prog_compiler_pic"; then
8499
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8504
# PORTME Check for flag to pass linker flags through the system compiler.
8507
lt_prog_compiler_wl='-Wl,'
8508
if test "$host_cpu" = ia64; then
8509
# AIX 5 now supports IA64 processor
8510
lt_prog_compiler_static='-Bstatic'
8512
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8516
mingw* | cygwin* | pw32* | os2* | cegcc*)
8517
# This hack is so that the source file can tell whether it is being
8518
# built for inclusion in a dll (and should export symbols for example).
8519
lt_prog_compiler_pic='-DDLL_EXPORT'
8522
hpux9* | hpux10* | hpux11*)
8523
lt_prog_compiler_wl='-Wl,'
8524
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8531
lt_prog_compiler_pic='+Z'
8534
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8535
lt_prog_compiler_static='${wl}-a ${wl}archive'
8538
irix5* | irix6* | nonstopux*)
8539
lt_prog_compiler_wl='-Wl,'
8540
# PIC (with -KPIC) is the default.
8541
lt_prog_compiler_static='-non_shared'
8544
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8545
case $cc_basename in
8546
# old Intel for x86_64 which still supported -KPIC.
8548
lt_prog_compiler_wl='-Wl,'
8549
lt_prog_compiler_pic='-KPIC'
8550
lt_prog_compiler_static='-static'
8552
# icc used to be incompatible with GCC.
8553
# ICC 10 doesn't accept -KPIC any more.
8555
lt_prog_compiler_wl='-Wl,'
8556
lt_prog_compiler_pic='-fPIC'
8557
lt_prog_compiler_static='-static'
8559
# Lahey Fortran 8.1.
8561
lt_prog_compiler_wl='-Wl,'
8562
lt_prog_compiler_pic='--shared'
8563
lt_prog_compiler_static='--static'
8566
# NAG Fortran compiler
8567
lt_prog_compiler_wl='-Wl,-Wl,,'
8568
lt_prog_compiler_pic='-PIC'
8569
lt_prog_compiler_static='-Bstatic'
8571
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8572
# Portland Group compilers (*not* the Pentium gcc compiler,
8573
# which looks to be a dead project)
8574
lt_prog_compiler_wl='-Wl,'
8575
lt_prog_compiler_pic='-fpic'
8576
lt_prog_compiler_static='-Bstatic'
8579
lt_prog_compiler_wl='-Wl,'
8580
# All Alpha code is PIC.
8581
lt_prog_compiler_static='-non_shared'
8583
xl* | bgxl* | bgf* | mpixl*)
8584
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8585
lt_prog_compiler_wl='-Wl,'
8586
lt_prog_compiler_pic='-qpic'
8587
lt_prog_compiler_static='-qstaticlink'
8590
case `$CC -V 2>&1 | sed 5q` in
8591
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8592
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8593
lt_prog_compiler_pic='-KPIC'
8594
lt_prog_compiler_static='-Bstatic'
8595
lt_prog_compiler_wl=''
8597
*Sun\ F* | *Sun*Fortran*)
8598
lt_prog_compiler_pic='-KPIC'
8599
lt_prog_compiler_static='-Bstatic'
8600
lt_prog_compiler_wl='-Qoption ld '
8604
lt_prog_compiler_pic='-KPIC'
8605
lt_prog_compiler_static='-Bstatic'
8606
lt_prog_compiler_wl='-Wl,'
8608
*Intel*\ [CF]*Compiler*)
8609
lt_prog_compiler_wl='-Wl,'
8610
lt_prog_compiler_pic='-fPIC'
8611
lt_prog_compiler_static='-static'
8614
lt_prog_compiler_wl='-Wl,'
8615
lt_prog_compiler_pic='-fpic'
8616
lt_prog_compiler_static='-Bstatic'
8624
lt_prog_compiler_pic='-KPIC'
8625
lt_prog_compiler_static='-Bstatic'
8629
# QNX uses GNU C++, but need to define -shared option too, otherwise
8631
lt_prog_compiler_pic='-fPIC -shared'
8634
osf3* | osf4* | osf5*)
8635
lt_prog_compiler_wl='-Wl,'
8636
# All OSF/1 code is PIC.
8637
lt_prog_compiler_static='-non_shared'
8641
lt_prog_compiler_static='-non_shared'
8645
lt_prog_compiler_pic='-KPIC'
8646
lt_prog_compiler_static='-Bstatic'
8647
case $cc_basename in
8648
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8649
lt_prog_compiler_wl='-Qoption ld ';;
8651
lt_prog_compiler_wl='-Wl,';;
8656
lt_prog_compiler_wl='-Qoption ld '
8657
lt_prog_compiler_pic='-PIC'
8658
lt_prog_compiler_static='-Bstatic'
8661
sysv4 | sysv4.2uw2* | sysv4.3*)
8662
lt_prog_compiler_wl='-Wl,'
8663
lt_prog_compiler_pic='-KPIC'
8664
lt_prog_compiler_static='-Bstatic'
8668
if test -d /usr/nec ;then
8669
lt_prog_compiler_pic='-Kconform_pic'
8670
lt_prog_compiler_static='-Bstatic'
8674
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8675
lt_prog_compiler_wl='-Wl,'
8676
lt_prog_compiler_pic='-KPIC'
8677
lt_prog_compiler_static='-Bstatic'
8681
lt_prog_compiler_wl='-Wl,'
8682
lt_prog_compiler_can_build_shared=no
8686
lt_prog_compiler_pic='-pic'
8687
lt_prog_compiler_static='-Bstatic'
8691
lt_prog_compiler_can_build_shared=no
8697
# For platforms which do not support PIC, -DPIC is meaningless:
8699
lt_prog_compiler_pic=
8702
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8707
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8708
if ${lt_cv_prog_compiler_pic+:} false; then :
8709
$as_echo_n "(cached) " >&6
8711
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8714
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8715
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8718
# Check to make sure the PIC flag actually works.
8720
if test -n "$lt_prog_compiler_pic"; then
8721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8722
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8723
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8724
$as_echo_n "(cached) " >&6
8726
lt_cv_prog_compiler_pic_works=no
8727
ac_outfile=conftest.$ac_objext
8728
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8730
# Insert the option either (1) after the last *FLAGS variable, or
8731
# (2) before a word containing "conftest.", or (3) at the end.
8732
# Note that $ac_compile itself does not contain backslashes and begins
8733
# with a dollar sign (not a hyphen), so the echo should work correctly.
8734
# The option is referenced via a variable to avoid confusing sed.
8735
lt_compile=`echo "$ac_compile" | $SED \
8736
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738
-e 's:$: $lt_compiler_flag:'`
8739
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740
(eval "$lt_compile" 2>conftest.err)
8742
cat conftest.err >&5
8743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744
if (exit $ac_status) && test -s "$ac_outfile"; then
8745
# The compiler can only warn and ignore the option if not recognized
8746
# So say no if there are warnings other than the usual output.
8747
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8748
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8749
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8750
lt_cv_prog_compiler_pic_works=yes
8756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8757
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8759
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8760
case $lt_prog_compiler_pic in
8762
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8765
lt_prog_compiler_pic=
8766
lt_prog_compiler_can_build_shared=no
8782
# Check to make sure the static flag actually works.
8784
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8786
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8787
if ${lt_cv_prog_compiler_static_works+:} false; then :
8788
$as_echo_n "(cached) " >&6
8790
lt_cv_prog_compiler_static_works=no
8791
save_LDFLAGS="$LDFLAGS"
8792
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8793
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8794
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8795
# The linker can only warn and ignore the option if not recognized
8796
# So say no if there are warnings
8797
if test -s conftest.err; then
8798
# Append any errors to the config.log.
8799
cat conftest.err 1>&5
8800
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8801
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802
if diff conftest.exp conftest.er2 >/dev/null; then
8803
lt_cv_prog_compiler_static_works=yes
8806
lt_cv_prog_compiler_static_works=yes
8810
LDFLAGS="$save_LDFLAGS"
8813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8814
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8816
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8819
lt_prog_compiler_static=
8828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8829
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8830
if ${lt_cv_prog_compiler_c_o+:} false; then :
8831
$as_echo_n "(cached) " >&6
8833
lt_cv_prog_compiler_c_o=no
8834
$RM -r conftest 2>/dev/null
8838
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8840
lt_compiler_flag="-o out/conftest2.$ac_objext"
8841
# Insert the option either (1) after the last *FLAGS variable, or
8842
# (2) before a word containing "conftest.", or (3) at the end.
8843
# Note that $ac_compile itself does not contain backslashes and begins
8844
# with a dollar sign (not a hyphen), so the echo should work correctly.
8845
lt_compile=`echo "$ac_compile" | $SED \
8846
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8847
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8848
-e 's:$: $lt_compiler_flag:'`
8849
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8850
(eval "$lt_compile" 2>out/conftest.err)
8852
cat out/conftest.err >&5
8853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8856
# The compiler can only warn and ignore the option if not recognized
8857
# So say no if there are warnings
8858
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8859
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8860
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8861
lt_cv_prog_compiler_c_o=yes
8866
# SGI C++ compiler will create directory out/ii_files/ for
8867
# template instantiation
8868
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8869
$RM out/* && rmdir out
8875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8876
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8884
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8885
if ${lt_cv_prog_compiler_c_o+:} false; then :
8886
$as_echo_n "(cached) " >&6
8888
lt_cv_prog_compiler_c_o=no
8889
$RM -r conftest 2>/dev/null
8893
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8895
lt_compiler_flag="-o out/conftest2.$ac_objext"
8896
# Insert the option either (1) after the last *FLAGS variable, or
8897
# (2) before a word containing "conftest.", or (3) at the end.
8898
# Note that $ac_compile itself does not contain backslashes and begins
8899
# with a dollar sign (not a hyphen), so the echo should work correctly.
8900
lt_compile=`echo "$ac_compile" | $SED \
8901
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8902
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8903
-e 's:$: $lt_compiler_flag:'`
8904
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8905
(eval "$lt_compile" 2>out/conftest.err)
8907
cat out/conftest.err >&5
8908
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8911
# The compiler can only warn and ignore the option if not recognized
8912
# So say no if there are warnings
8913
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8914
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8915
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8916
lt_cv_prog_compiler_c_o=yes
8921
# SGI C++ compiler will create directory out/ii_files/ for
8922
# template instantiation
8923
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8924
$RM out/* && rmdir out
8930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8931
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8936
hard_links="nottested"
8937
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8938
# do not overwrite the value of need_locks provided by the user
8939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8940
$as_echo_n "checking if we can lock with hard links... " >&6; }
8943
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8945
ln conftest.a conftest.b 2>&5 || hard_links=no
8946
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8948
$as_echo "$hard_links" >&6; }
8949
if test "$hard_links" = no; then
8950
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8951
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8964
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8967
allow_undefined_flag=
8968
always_export_symbols=no
8970
archive_expsym_cmds=
8971
compiler_needs_object=no
8972
enable_shared_with_static_runtimes=no
8973
export_dynamic_flag_spec=
8974
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8975
hardcode_automatic=no
8977
hardcode_direct_absolute=no
8978
hardcode_libdir_flag_spec=
8979
hardcode_libdir_separator=
8981
hardcode_shlibpath_var=unsupported
8983
link_all_deplibs=unknown
8986
old_archive_from_new_cmds=
8987
old_archive_from_expsyms_cmds=
8988
thread_safe_flag_spec=
8989
whole_archive_flag_spec=
8990
# include_expsyms should be a list of space-separated symbols to be *always*
8991
# included in the symbol list
8993
# exclude_expsyms can be an extended regexp of symbols to exclude
8994
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8995
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8996
# as well as any symbol that contains `d'.
8997
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8998
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8999
# platforms (ab)use it in PIC code, but their linkers get confused if
9000
# the symbol is explicitly referenced. Since portable code cannot
9001
# rely on this symbol name, it's probably fine to never include it in
9002
# preloaded symbol tables.
9003
# Exclude shared library initialization/finalization symbols.
9004
extract_expsyms_cmds=
9007
cygwin* | mingw* | pw32* | cegcc*)
9008
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9009
# When not using gcc, we currently assume that we are using
9010
# Microsoft Visual C++.
9011
if test "$GCC" != yes; then
9016
# we just hope/assume this is gcc and not c89 (= MSVC++)
9026
# On some targets, GNU ld is compatible enough with the native linker
9027
# that we're better off using the native interface for both.
9028
lt_use_gnu_ld_interface=no
9029
if test "$with_gnu_ld" = yes; then
9032
# The AIX port of GNU ld has always aspired to compatibility
9033
# with the native linker. However, as the warning in the GNU ld
9034
# block says, versions before 2.19.5* couldn't really create working
9035
# shared libraries, regardless of the interface used.
9036
case `$LD -v 2>&1` in
9037
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9038
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9039
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9041
lt_use_gnu_ld_interface=yes
9046
lt_use_gnu_ld_interface=yes
9051
if test "$lt_use_gnu_ld_interface" = yes; then
9052
# If archive_cmds runs LD, not CC, wlarc should be empty
9055
# Set some defaults for GNU ld with shared library support. These
9056
# are reset later if shared libraries are not supported. Putting them
9057
# here allows them to be overridden if necessary.
9058
runpath_var=LD_RUN_PATH
9059
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9060
export_dynamic_flag_spec='${wl}--export-dynamic'
9061
# ancient GNU ld didn't support --whole-archive et. al.
9062
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9063
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9065
whole_archive_flag_spec=
9067
supports_anon_versioning=no
9068
case `$LD -v 2>&1` in
9069
*GNU\ gold*) supports_anon_versioning=yes ;;
9070
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9071
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9072
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9073
*\ 2.11.*) ;; # other 2.11 versions
9074
*) supports_anon_versioning=yes ;;
9077
# See if GNU ld supports shared libraries.
9080
# On AIX/PPC, the GNU linker is very broken
9081
if test "$host_cpu" != ia64; then
9085
*** Warning: the GNU linker, at least up to release 2.19, is reported
9086
*** to be unable to reliably create shared libraries on AIX.
9087
*** Therefore, libtool is disabling shared libraries support. If you
9088
*** really care for shared libraries, you may want to install binutils
9089
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9090
*** You will then need to restart the configuration process.
9099
# see comment about AmigaOS4 .so support
9100
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101
archive_expsym_cmds=''
9104
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)'
9105
hardcode_libdir_flag_spec='-L$libdir'
9106
hardcode_minus_L=yes
9112
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9113
allow_undefined_flag=unsupported
9114
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9115
# support --undefined. This deserves some investigation. FIXME
9116
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122
cygwin* | mingw* | pw32* | cegcc*)
9123
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9124
# as there is no search path for DLLs.
9125
hardcode_libdir_flag_spec='-L$libdir'
9126
export_dynamic_flag_spec='${wl}--export-all-symbols'
9127
allow_undefined_flag=unsupported
9128
always_export_symbols=no
9129
enable_shared_with_static_runtimes=yes
9130
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'
9131
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9133
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9134
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9135
# If the export-symbols file already is a .def file (1st line
9136
# is EXPORTS), use it as is; otherwise, prepend...
9137
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9138
cp $export_symbols $output_objdir/$soname.def;
9140
echo EXPORTS > $output_objdir/$soname.def;
9141
cat $export_symbols >> $output_objdir/$soname.def;
9143
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9150
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151
link_all_deplibs=yes
9156
hardcode_shlibpath_var=no
9157
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9158
export_dynamic_flag_spec='${wl}-E'
9159
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9160
# Instead, shared libraries are loaded at an image base (0x10000000 by
9161
# default) and relocated if they conflict, which is a slow very memory
9162
# consuming and fragmenting process. To avoid this, we pick a random,
9163
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9164
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9165
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9166
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'
9169
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9171
if test "$host_os" = linux-dietlibc; then
9172
case $cc_basename in
9173
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9176
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9177
&& test "$tmp_diet" = no
9179
tmp_addflag=' $pic_flag'
9180
tmp_sharedflag='-shared'
9181
case $cc_basename,$host_cpu in
9182
pgcc*) # Portland Group C compiler
9183
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'
9184
tmp_addflag=' $pic_flag'
9186
pgf77* | pgf90* | pgf95* | pgfortran*)
9187
# Portland Group f77 and f90 compilers
9188
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'
9189
tmp_addflag=' $pic_flag -Mnomain' ;;
9190
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9191
tmp_addflag=' -i_dynamic' ;;
9192
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9193
tmp_addflag=' -i_dynamic -nofor_main' ;;
9194
ifc* | ifort*) # Intel Fortran compiler
9195
tmp_addflag=' -nofor_main' ;;
9196
lf95*) # Lahey Fortran 8.1
9197
whole_archive_flag_spec=
9198
tmp_sharedflag='--shared' ;;
9199
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9200
tmp_sharedflag='-qmkshrobj'
9202
nvcc*) # Cuda Compiler Driver 2.2
9203
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'
9204
compiler_needs_object=yes
9207
case `$CC -V 2>&1 | sed 5q` in
9208
*Sun\ C*) # Sun C 5.9
9209
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'
9210
compiler_needs_object=yes
9211
tmp_sharedflag='-G' ;;
9212
*Sun\ F*) # Sun Fortran 8.3
9213
tmp_sharedflag='-G' ;;
9215
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217
if test "x$supports_anon_versioning" = xyes; then
9218
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9219
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9220
echo "local: *; };" >> $output_objdir/$libname.ver~
9221
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9224
case $cc_basename in
9225
xlf* | bgf* | bgxlf* | mpixlf*)
9226
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9227
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9228
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9229
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9230
if test "x$supports_anon_versioning" = xyes; then
9231
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9232
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9233
echo "local: *; };" >> $output_objdir/$libname.ver~
9234
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9244
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9248
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9254
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9258
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9259
*** create shared libraries on Solaris systems. Therefore, libtool
9260
*** is disabling shared libraries support. We urge you to upgrade GNU
9261
*** binutils to release 2.9.1 or newer. Another option is to modify
9262
*** your PATH or compiler configuration so that the native linker is
9263
*** used, and then restart.
9266
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9274
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9275
case `$LD -v 2>&1` in
9276
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9280
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9281
*** reliably create shared libraries on SCO systems. Therefore, libtool
9282
*** is disabling shared libraries support. We urge you to upgrade GNU
9283
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9284
*** your PATH or compiler configuration so that the native linker is
9285
*** used, and then restart.
9290
# For security reasons, it is highly recommended that you always
9291
# use absolute paths for naming shared libraries, and exclude the
9292
# DT_RUNPATH tag from executables and libraries. But doing so
9293
# requires that you compile everything twice, which is a pain.
9294
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9296
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9306
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9309
hardcode_shlibpath_var=no
9313
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9314
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9322
if test "$ld_shlibs" = no; then
9324
hardcode_libdir_flag_spec=
9325
export_dynamic_flag_spec=
9326
whole_archive_flag_spec=
9329
# PORTME fill in a description of your system's linker (not GNU ld)
9332
allow_undefined_flag=unsupported
9333
always_export_symbols=yes
9334
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'
9335
# Note: this linker hardcodes the directories in LIBPATH if there
9336
# are no directories specified by -L.
9337
hardcode_minus_L=yes
9338
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9339
# Neither direct hardcoding nor static linking is supported with a
9341
hardcode_direct=unsupported
9346
if test "$host_cpu" = ia64; then
9347
# On IA64, the linker does run time linking by default, so we don't
9348
# have to do anything special.
9349
aix_use_runtimelinking=no
9350
exp_sym_flag='-Bexport'
9353
# If we're using GNU nm, then we don't want the "-C" option.
9354
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9355
# Also, AIX nm treats weak defined symbols like other global
9356
# defined symbols, whereas GNU nm marks them as "W".
9357
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9358
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'
9360
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'
9362
aix_use_runtimelinking=no
9364
# Test if we are trying to use run time linking or normal
9365
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9366
# need to do runtime linking.
9367
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9368
for ld_flag in $LDFLAGS; do
9369
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9370
aix_use_runtimelinking=yes
9377
exp_sym_flag='-bexport'
9378
no_entry_flag='-bnoentry'
9381
# When large executables or shared objects are built, AIX ld can
9382
# have problems creating the table of contents. If linking a library
9383
# or program results in "error TOC overflow" add -mminimal-toc to
9384
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9385
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9389
hardcode_direct_absolute=yes
9390
hardcode_libdir_separator=':'
9391
link_all_deplibs=yes
9392
file_list_spec='${wl}-f,'
9394
if test "$GCC" = yes; then
9395
case $host_os in aix4.[012]|aix4.[012].*)
9396
# We only want to do this on AIX 4.2 and lower, the check
9397
# below for broken collect2 doesn't work under 4.3+
9398
collect2name=`${CC} -print-prog-name=collect2`
9399
if test -f "$collect2name" &&
9400
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9402
# We have reworked collect2
9405
# We have old collect2
9406
hardcode_direct=unsupported
9407
# It fails to find uninstalled libraries when the uninstalled
9408
# path is not listed in the libpath. Setting hardcode_minus_L
9409
# to unsupported forces relinking
9410
hardcode_minus_L=yes
9411
hardcode_libdir_flag_spec='-L$libdir'
9412
hardcode_libdir_separator=
9416
shared_flag='-shared'
9417
if test "$aix_use_runtimelinking" = yes; then
9418
shared_flag="$shared_flag "'${wl}-G'
9422
if test "$host_cpu" = ia64; then
9423
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9424
# chokes on -Wl,-G. The following line is correct:
9427
if test "$aix_use_runtimelinking" = yes; then
9428
shared_flag='${wl}-G'
9430
shared_flag='${wl}-bM:SRE'
9435
export_dynamic_flag_spec='${wl}-bexpall'
9436
# It seems that -bexpall does not export symbols beginning with
9437
# underscore (_), so it is better to generate a list of symbols to export.
9438
always_export_symbols=yes
9439
if test "$aix_use_runtimelinking" = yes; then
9440
# Warning - without using the other runtime loading flags (-brtl),
9441
# -berok will link without error, but may produce a broken library.
9442
allow_undefined_flag='-berok'
9443
# Determine the default libpath from the value encoded in an
9445
if test "${lt_cv_aix_libpath+set}" = set; then
9446
aix_libpath=$lt_cv_aix_libpath
9448
if ${lt_cv_aix_libpath_+:} false; then :
9449
$as_echo_n "(cached) " >&6
9451
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452
/* end confdefs.h. */
9462
if ac_fn_c_try_link "$LINENO"; then :
9464
lt_aix_libpath_sed='
9465
/Import File Strings/,/^$/ {
9467
s/^0 *\([^ ]*\) *$/\1/
9471
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9472
# Check for a 64-bit object if we didn't find anything.
9473
if test -z "$lt_cv_aix_libpath_"; then
9474
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9477
rm -f core conftest.err conftest.$ac_objext \
9478
conftest$ac_exeext conftest.$ac_ext
9479
if test -z "$lt_cv_aix_libpath_"; then
9480
lt_cv_aix_libpath_="/usr/lib:/lib"
9485
aix_libpath=$lt_cv_aix_libpath_
9488
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9489
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"
9491
if test "$host_cpu" = ia64; then
9492
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9493
allow_undefined_flag="-z nodefs"
9494
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"
9496
# Determine the default libpath from the value encoded in an
9498
if test "${lt_cv_aix_libpath+set}" = set; then
9499
aix_libpath=$lt_cv_aix_libpath
9501
if ${lt_cv_aix_libpath_+:} false; then :
9502
$as_echo_n "(cached) " >&6
9504
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505
/* end confdefs.h. */
9515
if ac_fn_c_try_link "$LINENO"; then :
9517
lt_aix_libpath_sed='
9518
/Import File Strings/,/^$/ {
9520
s/^0 *\([^ ]*\) *$/\1/
9524
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9525
# Check for a 64-bit object if we didn't find anything.
9526
if test -z "$lt_cv_aix_libpath_"; then
9527
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9530
rm -f core conftest.err conftest.$ac_objext \
9531
conftest$ac_exeext conftest.$ac_ext
9532
if test -z "$lt_cv_aix_libpath_"; then
9533
lt_cv_aix_libpath_="/usr/lib:/lib"
9538
aix_libpath=$lt_cv_aix_libpath_
9541
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9542
# Warning - without using the other run time loading flags,
9543
# -berok will link without error, but may produce a broken library.
9544
no_undefined_flag=' ${wl}-bernotok'
9545
allow_undefined_flag=' ${wl}-berok'
9546
if test "$with_gnu_ld" = yes; then
9547
# We only use this code for GNU lds that support --whole-archive.
9548
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9550
# Exported symbols can be pulled into shared objects from archives
9551
whole_archive_flag_spec='$convenience'
9553
archive_cmds_need_lc=yes
9554
# This is similar to how AIX traditionally builds its shared libraries.
9555
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'
9563
# see comment about AmigaOS4 .so support
9564
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565
archive_expsym_cmds=''
9568
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)'
9569
hardcode_libdir_flag_spec='-L$libdir'
9570
hardcode_minus_L=yes
9576
export_dynamic_flag_spec=-rdynamic
9579
cygwin* | mingw* | pw32* | cegcc*)
9580
# When not using gcc, we currently assume that we are using
9581
# Microsoft Visual C++.
9582
# hardcode_libdir_flag_spec is actually meaningless, as there is
9583
# no search path for DLLs.
9584
case $cc_basename in
9587
hardcode_libdir_flag_spec=' '
9588
allow_undefined_flag=unsupported
9589
always_export_symbols=yes
9591
# Tell ltmain to make .lib files, not .a files.
9593
# Tell ltmain to make .dll files, not .so files.
9595
# FIXME: Setting linknames here is a bad hack.
9596
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9597
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9598
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9600
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9602
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9604
# The linker will not automatically build a static lib if we build a DLL.
9605
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9606
enable_shared_with_static_runtimes=yes
9607
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9608
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9610
old_postinstall_cmds='chmod 644 $oldlib'
9611
postlink_cmds='lt_outputfile="@OUTPUT@"~
9612
lt_tool_outputfile="@TOOL_OUTPUT@"~
9613
case $lt_outputfile in
9616
lt_outputfile="$lt_outputfile.exe"
9617
lt_tool_outputfile="$lt_tool_outputfile.exe"
9620
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9621
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9622
$RM "$lt_outputfile.manifest";
9626
# Assume MSVC wrapper
9627
hardcode_libdir_flag_spec=' '
9628
allow_undefined_flag=unsupported
9629
# Tell ltmain to make .lib files, not .a files.
9631
# Tell ltmain to make .dll files, not .so files.
9633
# FIXME: Setting linknames here is a bad hack.
9634
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9635
# The linker will automatically build a .lib file if we build a DLL.
9636
old_archive_from_new_cmds='true'
9637
# FIXME: Should let the user specify the lib program.
9638
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9639
enable_shared_with_static_runtimes=yes
9644
darwin* | rhapsody*)
9647
archive_cmds_need_lc=no
9649
hardcode_automatic=yes
9650
hardcode_shlibpath_var=unsupported
9651
if test "$lt_cv_ld_force_load" = "yes"; then
9652
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\"`'
9655
whole_archive_flag_spec=''
9657
link_all_deplibs=yes
9658
allow_undefined_flag="$_lt_dar_allow_undefined"
9659
case $cc_basename in
9660
ifort*) _lt_dar_can_shared=yes ;;
9661
*) _lt_dar_can_shared=$GCC ;;
9663
if test "$_lt_dar_can_shared" = "yes"; then
9664
output_verbose_link_cmd=func_echo_all
9665
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9666
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9667
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}"
9668
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}"
9677
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678
hardcode_libdir_flag_spec='-L$libdir'
9679
hardcode_shlibpath_var=no
9682
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9683
# support. Future versions do this automatically, but an explicit c++rt0.o
9684
# does not break anything, and helps significantly (at the cost of a little
9687
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9688
hardcode_libdir_flag_spec='-R$libdir'
9690
hardcode_shlibpath_var=no
9693
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9695
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9697
hardcode_minus_L=yes
9698
hardcode_shlibpath_var=no
9701
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9702
freebsd* | dragonfly*)
9703
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9704
hardcode_libdir_flag_spec='-R$libdir'
9706
hardcode_shlibpath_var=no
9710
if test "$GCC" = yes; then
9711
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'
9713
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'
9715
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9716
hardcode_libdir_separator=:
9719
# hardcode_minus_L: Not really in the search PATH,
9720
# but as the default location of the library.
9721
hardcode_minus_L=yes
9722
export_dynamic_flag_spec='${wl}-E'
9726
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9727
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9729
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9731
if test "$with_gnu_ld" = no; then
9732
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9733
hardcode_libdir_separator=:
9735
hardcode_direct_absolute=yes
9736
export_dynamic_flag_spec='${wl}-E'
9737
# hardcode_minus_L: Not really in the search PATH,
9738
# but as the default location of the library.
9739
hardcode_minus_L=yes
9744
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9747
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9750
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9753
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9759
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9762
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9766
# Older versions of the 11.00 compiler do not understand -b yet
9767
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9769
$as_echo_n "checking if $CC understands -b... " >&6; }
9770
if ${lt_cv_prog_compiler__b+:} false; then :
9771
$as_echo_n "(cached) " >&6
9773
lt_cv_prog_compiler__b=no
9774
save_LDFLAGS="$LDFLAGS"
9775
LDFLAGS="$LDFLAGS -b"
9776
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9777
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9778
# The linker can only warn and ignore the option if not recognized
9779
# So say no if there are warnings
9780
if test -s conftest.err; then
9781
# Append any errors to the config.log.
9782
cat conftest.err 1>&5
9783
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9784
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9785
if diff conftest.exp conftest.er2 >/dev/null; then
9786
lt_cv_prog_compiler__b=yes
9789
lt_cv_prog_compiler__b=yes
9793
LDFLAGS="$save_LDFLAGS"
9796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9797
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9799
if test x"$lt_cv_prog_compiler__b" = xyes; then
9800
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9802
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9808
if test "$with_gnu_ld" = no; then
9809
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9810
hardcode_libdir_separator=:
9815
hardcode_shlibpath_var=no
9819
hardcode_direct_absolute=yes
9820
export_dynamic_flag_spec='${wl}-E'
9822
# hardcode_minus_L: Not really in the search PATH,
9823
# but as the default location of the library.
9824
hardcode_minus_L=yes
9830
irix5* | irix6* | nonstopux*)
9831
if test "$GCC" = yes; then
9832
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'
9833
# Try to use the -exported_symbol ld option, if it does not
9834
# work, assume that -exports_file does not work either and
9835
# implicitly export all symbols.
9836
# This should be the same for all languages, so no per-tag cache variable.
9837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9838
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9839
if ${lt_cv_irix_exported_symbol+:} false; then :
9840
$as_echo_n "(cached) " >&6
9842
save_LDFLAGS="$LDFLAGS"
9843
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9844
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845
/* end confdefs.h. */
9846
int foo (void) { return 0; }
9848
if ac_fn_c_try_link "$LINENO"; then :
9849
lt_cv_irix_exported_symbol=yes
9851
lt_cv_irix_exported_symbol=no
9853
rm -f core conftest.err conftest.$ac_objext \
9854
conftest$ac_exeext conftest.$ac_ext
9855
LDFLAGS="$save_LDFLAGS"
9857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9858
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9859
if test "$lt_cv_irix_exported_symbol" = yes; then
9860
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'
9863
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'
9864
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'
9866
archive_cmds_need_lc='no'
9867
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868
hardcode_libdir_separator=:
9870
link_all_deplibs=yes
9874
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9875
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9877
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9879
hardcode_libdir_flag_spec='-R$libdir'
9881
hardcode_shlibpath_var=no
9885
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9888
hardcode_libdir_separator=:
9889
hardcode_shlibpath_var=no
9896
if test -f /usr/libexec/ld.so; then
9898
hardcode_shlibpath_var=no
9899
hardcode_direct_absolute=yes
9900
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9901
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9902
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9903
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9904
export_dynamic_flag_spec='${wl}-E'
9907
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9908
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909
hardcode_libdir_flag_spec='-R$libdir'
9912
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9923
hardcode_libdir_flag_spec='-L$libdir'
9924
hardcode_minus_L=yes
9925
allow_undefined_flag=unsupported
9926
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'
9927
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9931
if test "$GCC" = yes; then
9932
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933
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'
9935
allow_undefined_flag=' -expect_unresolved \*'
9936
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'
9938
archive_cmds_need_lc='no'
9939
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940
hardcode_libdir_separator=:
9943
osf4* | osf5*) # as osf3* with the addition of -msym flag
9944
if test "$GCC" = yes; then
9945
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946
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'
9947
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949
allow_undefined_flag=' -expect_unresolved \*'
9950
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'
9951
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~
9952
$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'
9954
# Both c and cxx compiler support -rpath directly
9955
hardcode_libdir_flag_spec='-rpath $libdir'
9957
archive_cmds_need_lc='no'
9958
hardcode_libdir_separator=:
9962
no_undefined_flag=' -z defs'
9963
if test "$GCC" = yes; then
9965
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967
$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'
9969
case `$CC -V 2>&1` in
9972
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9974
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9978
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984
hardcode_libdir_flag_spec='-R$libdir'
9985
hardcode_shlibpath_var=no
9987
solaris2.[0-5] | solaris2.[0-5].*) ;;
9989
# The compiler driver will combine and reorder linker options,
9990
# but understands `-z linker_flag'. GCC discards it without `$wl',
9991
# but is careful enough not to reorder.
9992
# Supported since Solaris 2.6 (maybe 2.5.1?)
9993
if test "$GCC" = yes; then
9994
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9996
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10000
link_all_deplibs=yes
10004
if test "x$host_vendor" = xsequent; then
10005
# Use $CC to link under sequent, because it throws in some extra .o
10006
# files that make .init and .fini sections work.
10007
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10009
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10011
hardcode_libdir_flag_spec='-L$libdir'
10012
hardcode_direct=yes
10013
hardcode_minus_L=yes
10014
hardcode_shlibpath_var=no
10018
case $host_vendor in
10020
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021
hardcode_direct=yes # is this really true???
10024
## LD is ld it makes a PLAMLIB
10025
## CC just makes a GrossModule.
10026
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10027
reload_cmds='$CC -r -o $output$reload_objs'
10031
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10035
runpath_var='LD_RUN_PATH'
10036
hardcode_shlibpath_var=no
10040
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041
hardcode_shlibpath_var=no
10042
export_dynamic_flag_spec='-Bexport'
10046
if test -d /usr/nec; then
10047
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048
hardcode_shlibpath_var=no
10049
runpath_var=LD_RUN_PATH
10050
hardcode_runpath_var=yes
10055
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10056
no_undefined_flag='${wl}-z,text'
10057
archive_cmds_need_lc=no
10058
hardcode_shlibpath_var=no
10059
runpath_var='LD_RUN_PATH'
10061
if test "$GCC" = yes; then
10062
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070
sysv5* | sco3.2v5* | sco5v6*)
10071
# Note: We can NOT use -z defs as we might desire, because we do not
10072
# link with -lc, and that would cause any symbols used from libc to
10073
# always be unresolved, which means just about no library would
10074
# ever link correctly. If we're not using GNU ld we use -z text
10075
# though, which does catch some bad symbols but isn't as heavy-handed
10077
no_undefined_flag='${wl}-z,text'
10078
allow_undefined_flag='${wl}-z,nodefs'
10079
archive_cmds_need_lc=no
10080
hardcode_shlibpath_var=no
10081
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10082
hardcode_libdir_separator=':'
10083
link_all_deplibs=yes
10084
export_dynamic_flag_spec='${wl}-Bexport'
10085
runpath_var='LD_RUN_PATH'
10087
if test "$GCC" = yes; then
10088
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098
hardcode_libdir_flag_spec='-L$libdir'
10099
hardcode_shlibpath_var=no
10107
if test x$host_vendor = xsni; then
10109
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10110
export_dynamic_flag_spec='${wl}-Blargedynsym'
10116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10117
$as_echo "$ld_shlibs" >&6; }
10118
test "$ld_shlibs" = no && can_build_shared=no
10120
with_gnu_ld=$with_gnu_ld
10137
# Do we need to explicitly link libc?
10139
case "x$archive_cmds_need_lc" in
10141
# Assume -lc should be added
10142
archive_cmds_need_lc=yes
10144
if test "$enable_shared" = yes && test "$GCC" = yes; then
10145
case $archive_cmds in
10147
# FIXME: we may have to deal with multi-command sequences.
10150
# Test whether the compiler implicitly links with -lc since on some
10151
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10152
# to ld, don't add -lc before -lgcc.
10153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10154
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10155
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10156
$as_echo_n "(cached) " >&6
10159
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10161
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10162
(eval $ac_compile) 2>&5
10164
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165
test $ac_status = 0; } 2>conftest.err; then
10168
libobjs=conftest.$ac_objext
10170
wl=$lt_prog_compiler_wl
10171
pic_flag=$lt_prog_compiler_pic
10177
lt_save_allow_undefined_flag=$allow_undefined_flag
10178
allow_undefined_flag=
10179
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10182
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183
test $ac_status = 0; }
10185
lt_cv_archive_cmds_need_lc=no
10187
lt_cv_archive_cmds_need_lc=yes
10189
allow_undefined_flag=$lt_save_allow_undefined_flag
10191
cat conftest.err 1>&5
10196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10197
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10198
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10357
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10359
if test "$GCC" = yes; then
10361
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10362
*) lt_awk_arg="/^libraries:/" ;;
10365
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10366
*) lt_sed_strip_eq="s,=/,/,g" ;;
10368
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10369
case $lt_search_path_spec in
10371
# if the path contains ";" then we assume it to be the separator
10372
# otherwise default to the standard path separator (i.e. ":") - it is
10373
# assumed that no part of a normal pathname contains ";" but that should
10374
# okay in the real world where ";" in dirpaths is itself problematic.
10375
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10378
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10381
# Ok, now we have the path, separated by spaces, we can step through it
10382
# and add multilib dir if necessary.
10383
lt_tmp_lt_search_path_spec=
10384
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10385
for lt_sys_path in $lt_search_path_spec; do
10386
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10387
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10389
test -d "$lt_sys_path" && \
10390
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10393
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10394
BEGIN {RS=" "; FS="/|\n";} {
10397
for (lt_i = NF; lt_i > 0; lt_i--) {
10398
if ($lt_i != "" && $lt_i != ".") {
10399
if ($lt_i == "..") {
10402
if (lt_count == 0) {
10403
lt_foo="/" $lt_i lt_foo;
10410
if (lt_foo != "") { lt_freq[lt_foo]++; }
10411
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10413
# AWK program above erroneously prepends '/' to C:/dos/paths
10416
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10417
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10419
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10421
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10423
library_names_spec=
10424
libname_spec='lib$name'
10428
postuninstall_cmds=
10432
shlibpath_overrides_runpath=unknown
10434
dynamic_linker="$host_os ld.so"
10435
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10436
need_lib_prefix=unknown
10437
hardcode_into_libs=no
10439
# when you set need_version to no, make sure it does not cause -set_version
10440
# flags to be left without arguments
10441
need_version=unknown
10445
version_type=linux # correct to gnu/linux during the next big refactor
10446
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10447
shlibpath_var=LIBPATH
10449
# AIX 3 has no versioning support, so we append a major version to the name.
10450
soname_spec='${libname}${release}${shared_ext}$major'
10454
version_type=linux # correct to gnu/linux during the next big refactor
10457
hardcode_into_libs=yes
10458
if test "$host_cpu" = ia64; then
10459
# AIX 5 supports IA64
10460
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10461
shlibpath_var=LD_LIBRARY_PATH
10463
# With GCC up to 2.95.x, collect2 would create an import file
10464
# for dependence libraries. The import file would start with
10465
# the line `#! .'. This would cause the generated library to
10466
# depend on `.', always an invalid library. This was fixed in
10467
# development snapshots of GCC prior to 3.0.
10469
aix4 | aix4.[01] | aix4.[01].*)
10470
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10472
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10475
can_build_shared=no
10479
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10480
# soname into executable. Probably we can add versioning support to
10481
# collect2, so additional links can be useful in future.
10482
if test "$aix_use_runtimelinking" = yes; then
10483
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10484
# instead of lib<name>.a to let people know that these are not
10485
# typical AIX shared libraries.
10486
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488
# We preserve .a as extension for shared libraries through AIX4.2
10489
# and later when we are not doing run time linking.
10490
library_names_spec='${libname}${release}.a $libname.a'
10491
soname_spec='${libname}${release}${shared_ext}$major'
10493
shlibpath_var=LIBPATH
10500
# Since July 2007 AmigaOS4 officially supports .so libraries.
10501
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10502
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505
library_names_spec='$libname.ixlibrary $libname.a'
10506
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10507
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'
10513
library_names_spec='${libname}${shared_ext}'
10514
dynamic_linker="$host_os ld.so"
10515
shlibpath_var=LIBRARY_PATH
10519
version_type=linux # correct to gnu/linux during the next big refactor
10521
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522
soname_spec='${libname}${release}${shared_ext}$major'
10523
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10524
shlibpath_var=LD_LIBRARY_PATH
10525
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10526
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10527
# the default ld.so.conf also contains /usr/contrib/lib and
10528
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10529
# libtool to hard-code these into programs
10532
cygwin* | mingw* | pw32* | cegcc*)
10533
version_type=windows
10538
case $GCC,$cc_basename in
10541
library_names_spec='$libname.dll.a'
10542
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10543
postinstall_cmds='base_file=`basename \${file}`~
10544
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10545
dldir=$destdir/`dirname \$dlpath`~
10546
test -d \$dldir || mkdir -p \$dldir~
10547
$install_prog $dir/$dlname \$dldir/$dlname~
10548
chmod a+x \$dldir/$dlname~
10549
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10550
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10552
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10553
dlpath=$dir/\$dldll~
10555
shlibpath_overrides_runpath=yes
10559
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10560
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10562
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10565
# MinGW DLLs use traditional 'lib' prefix
10566
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10569
# pw32 DLLs use 'pw' prefix rather than 'lib'
10570
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573
dynamic_linker='Win32 ld.exe'
10578
libname_spec='$name'
10579
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580
library_names_spec='${libname}.dll.lib'
10584
sys_lib_search_path_spec=
10587
for lt_path in $LIB
10590
# Let DOS variable expansion print the short 8.3 style file name.
10591
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10592
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10595
# Convert to MSYS style.
10596
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10599
# Convert to unix form, then to dos form, then back to unix form
10600
# but this time dos style (no spaces!) so that the unix form looks
10601
# like /cygdrive/c/PROGRA~1:/cygdr...
10602
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10603
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10604
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10607
sys_lib_search_path_spec="$LIB"
10608
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10609
# It is most probably a Windows format PATH.
10610
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10612
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10614
# FIXME: find the short name or the path components, as spaces are
10615
# common. (e.g. "Program Files" -> "PROGRA~1")
10619
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10620
postinstall_cmds='base_file=`basename \${file}`~
10621
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10622
dldir=$destdir/`dirname \$dlpath`~
10623
test -d \$dldir || mkdir -p \$dldir~
10624
$install_prog $dir/$dlname \$dldir/$dlname'
10625
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10626
dlpath=$dir/\$dldll~
10628
shlibpath_overrides_runpath=yes
10629
dynamic_linker='Win32 link.exe'
10633
# Assume MSVC wrapper
10634
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10635
dynamic_linker='Win32 ld.exe'
10638
# FIXME: first we should search . and the directory the executable is in
10642
darwin* | rhapsody*)
10643
dynamic_linker="$host_os dyld"
10644
version_type=darwin
10647
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10648
soname_spec='${libname}${release}${major}$shared_ext'
10649
shlibpath_overrides_runpath=yes
10650
shlibpath_var=DYLD_LIBRARY_PATH
10651
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10653
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10654
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10658
version_type=linux # correct to gnu/linux during the next big refactor
10661
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10662
soname_spec='${libname}${release}${shared_ext}$major'
10663
shlibpath_var=LD_LIBRARY_PATH
10666
freebsd* | dragonfly*)
10667
# DragonFly does not have aout. When/if they implement a new
10668
# versioning mechanism, adjust this.
10669
if test -x /usr/bin/objformat; then
10670
objformat=`/usr/bin/objformat`
10673
freebsd[23].*) objformat=aout ;;
10674
*) objformat=elf ;;
10677
version_type=freebsd-$objformat
10678
case $version_type in
10680
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10685
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10689
shlibpath_var=LD_LIBRARY_PATH
10692
shlibpath_overrides_runpath=yes
10694
freebsd3.[01]* | freebsdelf3.[01]*)
10695
shlibpath_overrides_runpath=yes
10696
hardcode_into_libs=yes
10698
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10699
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10700
shlibpath_overrides_runpath=no
10701
hardcode_into_libs=yes
10703
*) # from 4.6 on, and DragonFly
10704
shlibpath_overrides_runpath=yes
10705
hardcode_into_libs=yes
10711
version_type=linux # correct to gnu/linux during the next big refactor
10714
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10715
soname_spec='${libname}${release}${shared_ext}$major'
10716
shlibpath_var=LD_LIBRARY_PATH
10717
shlibpath_overrides_runpath=no
10718
hardcode_into_libs=yes
10722
version_type=linux # correct to gnu/linux during the next big refactor
10725
dynamic_linker="$host_os runtime_loader"
10726
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10727
soname_spec='${libname}${release}${shared_ext}$major'
10728
shlibpath_var=LIBRARY_PATH
10729
shlibpath_overrides_runpath=yes
10730
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10731
hardcode_into_libs=yes
10734
hpux9* | hpux10* | hpux11*)
10735
# Give a soname corresponding to the major version so that dld.sl refuses to
10736
# link against other versions.
10743
hardcode_into_libs=yes
10744
dynamic_linker="$host_os dld.so"
10745
shlibpath_var=LD_LIBRARY_PATH
10746
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748
soname_spec='${libname}${release}${shared_ext}$major'
10749
if test "X$HPUX_IA64_MODE" = X32; then
10750
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10752
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10754
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10758
hardcode_into_libs=yes
10759
dynamic_linker="$host_os dld.sl"
10760
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10761
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10762
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763
soname_spec='${libname}${release}${shared_ext}$major'
10764
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10765
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10769
dynamic_linker="$host_os dld.sl"
10770
shlibpath_var=SHLIB_PATH
10771
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10772
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773
soname_spec='${libname}${release}${shared_ext}$major'
10776
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10777
postinstall_cmds='chmod 555 $lib'
10778
# or fails outright, so override atomically:
10779
install_override_mode=555
10783
version_type=linux # correct to gnu/linux during the next big refactor
10786
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10787
soname_spec='${libname}${release}${shared_ext}$major'
10788
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10789
shlibpath_var=LD_LIBRARY_PATH
10790
shlibpath_overrides_runpath=no
10791
hardcode_into_libs=yes
10794
irix5* | irix6* | nonstopux*)
10796
nonstopux*) version_type=nonstopux ;;
10798
if test "$lt_cv_prog_gnu_ld" = yes; then
10799
version_type=linux # correct to gnu/linux during the next big refactor
10806
soname_spec='${libname}${release}${shared_ext}$major'
10807
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10809
irix5* | nonstopux*)
10810
libsuff= shlibsuff=
10813
case $LD in # libtool.m4 will add one of these switches to LD
10814
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10815
libsuff= shlibsuff= libmagic=32-bit;;
10816
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10817
libsuff=32 shlibsuff=N32 libmagic=N32;;
10818
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10819
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10820
*) libsuff= shlibsuff= libmagic=never-match;;
10824
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10825
shlibpath_overrides_runpath=no
10826
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10827
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10828
hardcode_into_libs=yes
10831
# No shared lib support for Linux oldld, aout, or coff.
10832
linux*oldld* | linux*aout* | linux*coff*)
10836
# This must be glibc/ELF.
10837
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10838
version_type=linux # correct to gnu/linux during the next big refactor
10841
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842
soname_spec='${libname}${release}${shared_ext}$major'
10843
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10844
shlibpath_var=LD_LIBRARY_PATH
10845
shlibpath_overrides_runpath=no
10847
# Some binutils ld are patched to set DT_RUNPATH
10848
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10849
$as_echo_n "(cached) " >&6
10851
lt_cv_shlibpath_overrides_runpath=no
10852
save_LDFLAGS=$LDFLAGS
10853
save_libdir=$libdir
10854
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10855
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10856
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857
/* end confdefs.h. */
10867
if ac_fn_c_try_link "$LINENO"; then :
10868
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10869
lt_cv_shlibpath_overrides_runpath=yes
10872
rm -f core conftest.err conftest.$ac_objext \
10873
conftest$ac_exeext conftest.$ac_ext
10874
LDFLAGS=$save_LDFLAGS
10875
libdir=$save_libdir
10879
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10881
# This implies no fast_install, which is unacceptable.
10882
# Some rework will be needed to allow for fast_install
10883
# before this can be enabled.
10884
hardcode_into_libs=yes
10886
# Add ABI-specific directories to the system library path.
10887
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10889
# Append ld.so.conf contents to the search path
10890
if test -f /etc/ld.so.conf; then
10891
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' ' '`
10892
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10896
# We used to test for /lib/ld.so.1 and disable shared libraries on
10897
# powerpc, because MkLinux only supported shared libraries with the
10898
# GNU dynamic linker. Since this was broken with cross compilers,
10899
# most powerpc-linux boxes support dynamic linking these days and
10900
# people can always --disable-shared, the test was removed, and we
10901
# assume the GNU/Linux dynamic linker is in use.
10902
dynamic_linker='GNU/Linux ld.so'
10909
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10910
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10912
dynamic_linker='NetBSD (a.out) ld.so'
10914
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915
soname_spec='${libname}${release}${shared_ext}$major'
10916
dynamic_linker='NetBSD ld.elf_so'
10918
shlibpath_var=LD_LIBRARY_PATH
10919
shlibpath_overrides_runpath=yes
10920
hardcode_into_libs=yes
10924
version_type=linux # correct to gnu/linux during the next big refactor
10925
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926
shlibpath_var=LD_LIBRARY_PATH
10927
shlibpath_overrides_runpath=yes
10934
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935
soname_spec='${libname}${release}${shared_ext}$major'
10936
shlibpath_var=LD_LIBRARY_PATH
10937
shlibpath_overrides_runpath=no
10938
hardcode_into_libs=yes
10939
dynamic_linker='ldqnx.so'
10944
sys_lib_dlsearch_path_spec="/usr/lib"
10946
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10948
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10949
*) need_version=no ;;
10951
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10953
shlibpath_var=LD_LIBRARY_PATH
10954
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10956
openbsd2.[89] | openbsd2.[89].*)
10957
shlibpath_overrides_runpath=no
10960
shlibpath_overrides_runpath=yes
10964
shlibpath_overrides_runpath=yes
10969
libname_spec='$name'
10972
library_names_spec='$libname${shared_ext} $libname.a'
10973
dynamic_linker='OS/2 ld.exe'
10974
shlibpath_var=LIBPATH
10977
osf3* | osf4* | osf5*)
10981
soname_spec='${libname}${release}${shared_ext}$major'
10982
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983
shlibpath_var=LD_LIBRARY_PATH
10984
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10985
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10993
version_type=linux # correct to gnu/linux during the next big refactor
10996
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997
soname_spec='${libname}${release}${shared_ext}$major'
10998
shlibpath_var=LD_LIBRARY_PATH
10999
shlibpath_overrides_runpath=yes
11000
hardcode_into_libs=yes
11001
# ldd complains unless libraries are executable
11002
postinstall_cmds='chmod +x $lib'
11007
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11008
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11009
shlibpath_var=LD_LIBRARY_PATH
11010
shlibpath_overrides_runpath=yes
11011
if test "$with_gnu_ld" = yes; then
11018
version_type=linux # correct to gnu/linux during the next big refactor
11019
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020
soname_spec='${libname}${release}${shared_ext}$major'
11021
shlibpath_var=LD_LIBRARY_PATH
11022
case $host_vendor in
11024
shlibpath_overrides_runpath=no
11026
runpath_var=LD_RUN_PATH
11034
shlibpath_overrides_runpath=no
11035
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11041
if test -d /usr/nec ;then
11042
version_type=linux # correct to gnu/linux during the next big refactor
11043
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11044
soname_spec='$libname${shared_ext}.$major'
11045
shlibpath_var=LD_LIBRARY_PATH
11049
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11050
version_type=freebsd-elf
11053
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11054
soname_spec='${libname}${release}${shared_ext}$major'
11055
shlibpath_var=LD_LIBRARY_PATH
11056
shlibpath_overrides_runpath=yes
11057
hardcode_into_libs=yes
11058
if test "$with_gnu_ld" = yes; then
11059
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11061
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11064
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11068
sys_lib_dlsearch_path_spec='/usr/lib'
11072
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11073
version_type=linux # correct to gnu/linux during the next big refactor
11076
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077
shlibpath_var=LD_LIBRARY_PATH
11078
shlibpath_overrides_runpath=no
11079
hardcode_into_libs=yes
11083
version_type=linux # correct to gnu/linux during the next big refactor
11084
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085
soname_spec='${libname}${release}${shared_ext}$major'
11086
shlibpath_var=LD_LIBRARY_PATH
11093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11094
$as_echo "$dynamic_linker" >&6; }
11095
test "$dynamic_linker" = no && can_build_shared=no
11097
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11098
if test "$GCC" = yes; then
11099
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11102
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11103
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11105
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11106
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11201
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11203
if test -n "$hardcode_libdir_flag_spec" ||
11204
test -n "$runpath_var" ||
11205
test "X$hardcode_automatic" = "Xyes" ; then
11207
# We can hardcode non-existent directories.
11208
if test "$hardcode_direct" != no &&
11209
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11210
# have to relink, otherwise we might link with an installed library
11211
# when we should be linking with a yet-to-be-installed one
11212
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11213
test "$hardcode_minus_L" != no; then
11214
# Linking always hardcodes the temporary library directory.
11215
hardcode_action=relink
11217
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11218
hardcode_action=immediate
11221
# We cannot hardcode anything, or else we can only hardcode existing
11223
hardcode_action=unsupported
11225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11226
$as_echo "$hardcode_action" >&6; }
11228
if test "$hardcode_action" = relink ||
11229
test "$inherit_rpath" = yes; then
11230
# Fast installation is not supported
11231
enable_fast_install=no
11232
elif test "$shlibpath_overrides_runpath" = yes ||
11233
test "$enable_shared" = no; then
11234
# Fast installation is not necessary
11235
enable_fast_install=needless
11243
if test "x$enable_dlopen" != xyes; then
11244
enable_dlopen=unknown
11245
enable_dlopen_self=unknown
11246
enable_dlopen_self_static=unknown
11253
lt_cv_dlopen="load_add_on"
11255
lt_cv_dlopen_self=yes
11258
mingw* | pw32* | cegcc*)
11259
lt_cv_dlopen="LoadLibrary"
11264
lt_cv_dlopen="dlopen"
11269
# if libdl is installed we need to link against it
11270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11271
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11272
if ${ac_cv_lib_dl_dlopen+:} false; then :
11273
$as_echo_n "(cached) " >&6
11275
ac_check_lib_save_LIBS=$LIBS
11277
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278
/* end confdefs.h. */
11280
/* Override any GCC internal prototype to avoid an error.
11281
Use char because int might match the return type of a GCC
11282
builtin and then its argument prototype would still apply. */
11295
if ac_fn_c_try_link "$LINENO"; then :
11296
ac_cv_lib_dl_dlopen=yes
11298
ac_cv_lib_dl_dlopen=no
11300
rm -f core conftest.err conftest.$ac_objext \
11301
conftest$ac_exeext conftest.$ac_ext
11302
LIBS=$ac_check_lib_save_LIBS
11304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11307
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11310
lt_cv_dlopen="dyld"
11312
lt_cv_dlopen_self=yes
11319
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11320
if test "x$ac_cv_func_shl_load" = xyes; then :
11321
lt_cv_dlopen="shl_load"
11323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11324
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11325
if ${ac_cv_lib_dld_shl_load+:} false; then :
11326
$as_echo_n "(cached) " >&6
11328
ac_check_lib_save_LIBS=$LIBS
11330
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331
/* end confdefs.h. */
11333
/* Override any GCC internal prototype to avoid an error.
11334
Use char because int might match the return type of a GCC
11335
builtin and then its argument prototype would still apply. */
11343
return shl_load ();
11348
if ac_fn_c_try_link "$LINENO"; then :
11349
ac_cv_lib_dld_shl_load=yes
11351
ac_cv_lib_dld_shl_load=no
11353
rm -f core conftest.err conftest.$ac_objext \
11354
conftest$ac_exeext conftest.$ac_ext
11355
LIBS=$ac_check_lib_save_LIBS
11357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11358
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11359
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11360
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11362
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11363
if test "x$ac_cv_func_dlopen" = xyes; then :
11364
lt_cv_dlopen="dlopen"
11366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11367
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11368
if ${ac_cv_lib_dl_dlopen+:} false; then :
11369
$as_echo_n "(cached) " >&6
11371
ac_check_lib_save_LIBS=$LIBS
11373
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374
/* end confdefs.h. */
11376
/* Override any GCC internal prototype to avoid an error.
11377
Use char because int might match the return type of a GCC
11378
builtin and then its argument prototype would still apply. */
11391
if ac_fn_c_try_link "$LINENO"; then :
11392
ac_cv_lib_dl_dlopen=yes
11394
ac_cv_lib_dl_dlopen=no
11396
rm -f core conftest.err conftest.$ac_objext \
11397
conftest$ac_exeext conftest.$ac_ext
11398
LIBS=$ac_check_lib_save_LIBS
11400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11401
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11402
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11403
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11406
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11407
if ${ac_cv_lib_svld_dlopen+:} false; then :
11408
$as_echo_n "(cached) " >&6
11410
ac_check_lib_save_LIBS=$LIBS
11411
LIBS="-lsvld $LIBS"
11412
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413
/* end confdefs.h. */
11415
/* Override any GCC internal prototype to avoid an error.
11416
Use char because int might match the return type of a GCC
11417
builtin and then its argument prototype would still apply. */
11430
if ac_fn_c_try_link "$LINENO"; then :
11431
ac_cv_lib_svld_dlopen=yes
11433
ac_cv_lib_svld_dlopen=no
11435
rm -f core conftest.err conftest.$ac_objext \
11436
conftest$ac_exeext conftest.$ac_ext
11437
LIBS=$ac_check_lib_save_LIBS
11439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11440
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11441
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11442
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11445
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11446
if ${ac_cv_lib_dld_dld_link+:} false; then :
11447
$as_echo_n "(cached) " >&6
11449
ac_check_lib_save_LIBS=$LIBS
11451
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452
/* end confdefs.h. */
11454
/* Override any GCC internal prototype to avoid an error.
11455
Use char because int might match the return type of a GCC
11456
builtin and then its argument prototype would still apply. */
11464
return dld_link ();
11469
if ac_fn_c_try_link "$LINENO"; then :
11470
ac_cv_lib_dld_dld_link=yes
11472
ac_cv_lib_dld_dld_link=no
11474
rm -f core conftest.err conftest.$ac_objext \
11475
conftest$ac_exeext conftest.$ac_ext
11476
LIBS=$ac_check_lib_save_LIBS
11478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11479
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11480
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11481
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11502
if test "x$lt_cv_dlopen" != xno; then
11508
case $lt_cv_dlopen in
11510
save_CPPFLAGS="$CPPFLAGS"
11511
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11513
save_LDFLAGS="$LDFLAGS"
11514
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11517
LIBS="$lt_cv_dlopen_libs $LIBS"
11519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11520
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11521
if ${lt_cv_dlopen_self+:} false; then :
11522
$as_echo_n "(cached) " >&6
11524
if test "$cross_compiling" = yes; then :
11525
lt_cv_dlopen_self=cross
11527
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11528
lt_status=$lt_dlunknown
11529
cat > conftest.$ac_ext <<_LT_EOF
11530
#line $LINENO "configure"
11531
#include "confdefs.h"
11540
# define LT_DLGLOBAL RTLD_GLOBAL
11543
# define LT_DLGLOBAL DL_GLOBAL
11545
# define LT_DLGLOBAL 0
11549
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11550
find out it does not work in some platform. */
11551
#ifndef LT_DLLAZY_OR_NOW
11553
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11556
# define LT_DLLAZY_OR_NOW DL_LAZY
11559
# define LT_DLLAZY_OR_NOW RTLD_NOW
11562
# define LT_DLLAZY_OR_NOW DL_NOW
11564
# define LT_DLLAZY_OR_NOW 0
11571
/* When -fvisbility=hidden is used, assume the code has been annotated
11572
correspondingly for the symbols needed. */
11573
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11574
int fnord () __attribute__((visibility("default")));
11577
int fnord () { return 42; }
11580
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11581
int status = $lt_dlunknown;
11585
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11588
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11589
else puts (dlerror ());
11591
/* dlclose (self); */
11599
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11600
(eval $ac_link) 2>&5
11602
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11603
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11604
(./conftest; exit; ) >&5 2>/dev/null
11606
case x$lt_status in
11607
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11608
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11609
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11612
# compilation failed
11613
lt_cv_dlopen_self=no
11620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11621
$as_echo "$lt_cv_dlopen_self" >&6; }
11623
if test "x$lt_cv_dlopen_self" = xyes; then
11624
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11626
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11627
if ${lt_cv_dlopen_self_static+:} false; then :
11628
$as_echo_n "(cached) " >&6
11630
if test "$cross_compiling" = yes; then :
11631
lt_cv_dlopen_self_static=cross
11633
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11634
lt_status=$lt_dlunknown
11635
cat > conftest.$ac_ext <<_LT_EOF
11636
#line $LINENO "configure"
11637
#include "confdefs.h"
11646
# define LT_DLGLOBAL RTLD_GLOBAL
11649
# define LT_DLGLOBAL DL_GLOBAL
11651
# define LT_DLGLOBAL 0
11655
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11656
find out it does not work in some platform. */
11657
#ifndef LT_DLLAZY_OR_NOW
11659
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11662
# define LT_DLLAZY_OR_NOW DL_LAZY
11665
# define LT_DLLAZY_OR_NOW RTLD_NOW
11668
# define LT_DLLAZY_OR_NOW DL_NOW
11670
# define LT_DLLAZY_OR_NOW 0
11677
/* When -fvisbility=hidden is used, assume the code has been annotated
11678
correspondingly for the symbols needed. */
11679
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11680
int fnord () __attribute__((visibility("default")));
11683
int fnord () { return 42; }
11686
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11687
int status = $lt_dlunknown;
11691
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11694
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11695
else puts (dlerror ());
11697
/* dlclose (self); */
11705
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11706
(eval $ac_link) 2>&5
11708
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11709
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11710
(./conftest; exit; ) >&5 2>/dev/null
11712
case x$lt_status in
11713
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11714
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11715
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11718
# compilation failed
11719
lt_cv_dlopen_self_static=no
11726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11727
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11730
CPPFLAGS="$save_CPPFLAGS"
11731
LDFLAGS="$save_LDFLAGS"
11736
case $lt_cv_dlopen_self in
11737
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11738
*) enable_dlopen_self=unknown ;;
11741
case $lt_cv_dlopen_self_static in
11742
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11743
*) enable_dlopen_self_static=unknown ;;
11765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11766
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11767
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11768
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11769
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11771
$as_echo "yes" >&6; }
11773
# FIXME - insert some real tests, host_os isn't really good enough
11776
if test -n "$STRIP" ; then
11777
striplib="$STRIP -x"
11778
old_striplib="$STRIP -S"
11779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11780
$as_echo "yes" >&6; }
11782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11783
$as_echo "no" >&6; }
11787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788
$as_echo "no" >&6; }
11804
# Report which library types will actually be built
11805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11806
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11808
$as_echo "$can_build_shared" >&6; }
11810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11811
$as_echo_n "checking whether to build shared libraries... " >&6; }
11812
test "$can_build_shared" = "no" && enable_shared=no
11814
# On AIX, shared libraries and static libraries use the same namespace, and
11815
# are all built from PIC.
11818
test "$enable_shared" = yes && enable_static=no
11819
if test -n "$RANLIB"; then
11820
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11821
postinstall_cmds='$RANLIB $lib'
11826
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11827
test "$enable_shared" = yes && enable_static=no
11831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11832
$as_echo "$enable_shared" >&6; }
11834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11835
$as_echo_n "checking whether to build static libraries... " >&6; }
11836
# Make sure either enable_shared or enable_static is yes.
11837
test "$enable_shared" = yes || enable_static=yes
11838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11839
$as_echo "$enable_static" >&6; }
11846
ac_cpp='$CPP $CPPFLAGS'
11847
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11848
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11849
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11867
ac_config_commands="$ac_config_commands libtool"
11872
# Only expand once:
11876
for ac_header in fcntl.h paths.h sys/ioctl.h sys/time.h syslog.h unistd.h
11878
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11879
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11880
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11881
cat >>confdefs.h <<_ACEOF
11882
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11890
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11891
if test "x$ac_cv_type_mode_t" = xyes; then :
11895
cat >>confdefs.h <<_ACEOF
11901
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11902
if test "x$ac_cv_type_pid_t" = xyes; then :
11906
cat >>confdefs.h <<_ACEOF
11912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11913
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11914
if ${ac_cv_header_time+:} false; then :
11915
$as_echo_n "(cached) " >&6
11917
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11918
/* end confdefs.h. */
11919
#include <sys/types.h>
11920
#include <sys/time.h>
11926
if ((struct tm *) 0)
11932
if ac_fn_c_try_compile "$LINENO"; then :
11933
ac_cv_header_time=yes
11935
ac_cv_header_time=no
11937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11940
$as_echo "$ac_cv_header_time" >&6; }
11941
if test $ac_cv_header_time = yes; then
11943
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11948
if test $ac_cv_c_compiler_gnu = yes; then
11949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
11950
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
11951
if ${ac_cv_prog_gcc_traditional+:} false; then :
11952
$as_echo_n "(cached) " >&6
11954
ac_pattern="Autoconf.*'x'"
11955
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956
/* end confdefs.h. */
11960
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11961
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
11962
ac_cv_prog_gcc_traditional=yes
11964
ac_cv_prog_gcc_traditional=no
11969
if test $ac_cv_prog_gcc_traditional = no; then
11970
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971
/* end confdefs.h. */
11972
#include <termio.h>
11975
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11976
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
11977
ac_cv_prog_gcc_traditional=yes
11983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
11984
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11985
if test $ac_cv_prog_gcc_traditional = yes; then
11986
CC="$CC -traditional"
11990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
11991
$as_echo_n "checking for working memcmp... " >&6; }
11992
if ${ac_cv_func_memcmp_working+:} false; then :
11993
$as_echo_n "(cached) " >&6
11995
if test "$cross_compiling" = yes; then :
11996
ac_cv_func_memcmp_working=no
11998
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999
/* end confdefs.h. */
12000
$ac_includes_default
12005
/* Some versions of memcmp are not 8-bit clean. */
12006
char c0 = '\100', c1 = '\200', c2 = '\201';
12007
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12010
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12011
or more and with at least one buffer not starting on a 4-byte boundary.
12012
William Lewis provided this test program. */
12017
for (i = 0; i < 4; i++)
12021
strcpy (a, "--------01111111");
12022
strcpy (b, "--------10000000");
12023
if (memcmp (a, b, 16) >= 0)
12033
if ac_fn_c_try_run "$LINENO"; then :
12034
ac_cv_func_memcmp_working=yes
12036
ac_cv_func_memcmp_working=no
12038
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12039
conftest.$ac_objext conftest.beam conftest.$ac_ext
12043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12044
$as_echo "$ac_cv_func_memcmp_working" >&6; }
12045
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12046
*" memcmp.$ac_objext "* ) ;;
12047
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
12052
for ac_func in select socket uname
12054
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12055
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12056
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12057
cat >>confdefs.h <<_ACEOF
12058
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12067
$as_echo_n "checking whether NLS is requested... " >&6; }
12068
# Check whether --enable-nls was given.
12069
if test "${enable_nls+set}" = set; then :
12070
enableval=$enable_nls; USE_NLS=$enableval
12075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12076
$as_echo "$USE_NLS" >&6; }
12081
case "$am__api_version" in
12083
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12089
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12090
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12091
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12092
if test -n "0.40.0"; then
12093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12094
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12096
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12097
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12098
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12101
# Extract the first word of "intltool-update", so it can be a program name with args.
12102
set dummy intltool-update; ac_word=$2
12103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12104
$as_echo_n "checking for $ac_word... " >&6; }
12105
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12106
$as_echo_n "(cached) " >&6
12108
case $INTLTOOL_UPDATE in
12110
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12113
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12114
for as_dir in $PATH
12117
test -z "$as_dir" && as_dir=.
12118
for ac_exec_ext in '' $ac_executable_extensions; do
12119
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12120
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12121
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12131
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12132
if test -n "$INTLTOOL_UPDATE"; then
12133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12134
$as_echo "$INTLTOOL_UPDATE" >&6; }
12136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12137
$as_echo "no" >&6; }
12141
# Extract the first word of "intltool-merge", so it can be a program name with args.
12142
set dummy intltool-merge; ac_word=$2
12143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12144
$as_echo_n "checking for $ac_word... " >&6; }
12145
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12146
$as_echo_n "(cached) " >&6
12148
case $INTLTOOL_MERGE in
12150
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12153
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12154
for as_dir in $PATH
12157
test -z "$as_dir" && as_dir=.
12158
for ac_exec_ext in '' $ac_executable_extensions; do
12159
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12160
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12161
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12171
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12172
if test -n "$INTLTOOL_MERGE"; then
12173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12174
$as_echo "$INTLTOOL_MERGE" >&6; }
12176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12177
$as_echo "no" >&6; }
12181
# Extract the first word of "intltool-extract", so it can be a program name with args.
12182
set dummy intltool-extract; ac_word=$2
12183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12184
$as_echo_n "checking for $ac_word... " >&6; }
12185
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12186
$as_echo_n "(cached) " >&6
12188
case $INTLTOOL_EXTRACT in
12190
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194
for as_dir in $PATH
12197
test -z "$as_dir" && as_dir=.
12198
for ac_exec_ext in '' $ac_executable_extensions; do
12199
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12201
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12211
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12212
if test -n "$INTLTOOL_EXTRACT"; then
12213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12214
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217
$as_echo "no" >&6; }
12221
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12222
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12225
if test -z "$AM_DEFAULT_VERBOSITY"; then
12226
AM_DEFAULT_VERBOSITY=1
12230
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12231
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12232
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12237
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12238
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12239
intltool__v_merge_options_0='-q'
12244
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 $< $@'
12245
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 $< $@'
12246
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 $< $@'
12247
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 $< $@'
12248
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 $< $@'
12249
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 $< $@'
12250
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 $< $@'
12251
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 $< $@'
12252
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 $< $@'
12253
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 $< $@'
12254
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 $< $@'
12255
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12256
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 $< $@'
12258
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'
12260
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 $< $@'
12261
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 $< $@'
12262
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 $< $@'
12263
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 $< $@'
12264
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 $< $@'
12265
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 $< $@'
12266
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 $< $@'
12364
# Check the gettext tools to make sure they are GNU
12365
# Extract the first word of "xgettext", so it can be a program name with args.
12366
set dummy xgettext; ac_word=$2
12367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12368
$as_echo_n "checking for $ac_word... " >&6; }
12369
if ${ac_cv_path_XGETTEXT+:} false; then :
12370
$as_echo_n "(cached) " >&6
12374
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12377
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378
for as_dir in $PATH
12381
test -z "$as_dir" && as_dir=.
12382
for ac_exec_ext in '' $ac_executable_extensions; do
12383
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12384
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12385
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12395
XGETTEXT=$ac_cv_path_XGETTEXT
12396
if test -n "$XGETTEXT"; then
12397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12398
$as_echo "$XGETTEXT" >&6; }
12400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12401
$as_echo "no" >&6; }
12405
# Extract the first word of "msgmerge", so it can be a program name with args.
12406
set dummy msgmerge; ac_word=$2
12407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12408
$as_echo_n "checking for $ac_word... " >&6; }
12409
if ${ac_cv_path_MSGMERGE+:} false; then :
12410
$as_echo_n "(cached) " >&6
12414
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418
for as_dir in $PATH
12421
test -z "$as_dir" && as_dir=.
12422
for ac_exec_ext in '' $ac_executable_extensions; do
12423
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12424
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12425
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12435
MSGMERGE=$ac_cv_path_MSGMERGE
12436
if test -n "$MSGMERGE"; then
12437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12438
$as_echo "$MSGMERGE" >&6; }
12440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12441
$as_echo "no" >&6; }
12445
# Extract the first word of "msgfmt", so it can be a program name with args.
12446
set dummy msgfmt; ac_word=$2
12447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12448
$as_echo_n "checking for $ac_word... " >&6; }
12449
if ${ac_cv_path_MSGFMT+:} false; then :
12450
$as_echo_n "(cached) " >&6
12454
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12457
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12458
for as_dir in $PATH
12461
test -z "$as_dir" && as_dir=.
12462
for ac_exec_ext in '' $ac_executable_extensions; do
12463
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12464
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12465
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12475
MSGFMT=$ac_cv_path_MSGFMT
12476
if test -n "$MSGFMT"; then
12477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12478
$as_echo "$MSGFMT" >&6; }
12480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481
$as_echo "no" >&6; }
12485
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12486
set dummy gmsgfmt; ac_word=$2
12487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12488
$as_echo_n "checking for $ac_word... " >&6; }
12489
if ${ac_cv_path_GMSGFMT+:} false; then :
12490
$as_echo_n "(cached) " >&6
12494
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12497
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12498
for as_dir in $PATH
12501
test -z "$as_dir" && as_dir=.
12502
for ac_exec_ext in '' $ac_executable_extensions; do
12503
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12504
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12505
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12512
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12516
GMSGFMT=$ac_cv_path_GMSGFMT
12517
if test -n "$GMSGFMT"; then
12518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12519
$as_echo "$GMSGFMT" >&6; }
12521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522
$as_echo "no" >&6; }
12526
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12527
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12529
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12530
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12531
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12532
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12533
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12536
# Extract the first word of "perl", so it can be a program name with args.
12537
set dummy perl; ac_word=$2
12538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12539
$as_echo_n "checking for $ac_word... " >&6; }
12540
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12541
$as_echo_n "(cached) " >&6
12543
case $INTLTOOL_PERL in
12545
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12549
for as_dir in $PATH
12552
test -z "$as_dir" && as_dir=.
12553
for ac_exec_ext in '' $ac_executable_extensions; do
12554
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12555
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12556
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12566
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12567
if test -n "$INTLTOOL_PERL"; then
12568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12569
$as_echo "$INTLTOOL_PERL" >&6; }
12571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12572
$as_echo "no" >&6; }
12576
if test -z "$INTLTOOL_PERL"; then
12577
as_fn_error $? "perl not found" "$LINENO" 5
12579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12580
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12581
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12582
if test $? -ne 0; then
12583
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12585
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12587
$as_echo "$IT_PERL_VERSION" >&6; }
12589
if test "x" != "xno-xml"; then
12590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12591
$as_echo_n "checking for XML::Parser... " >&6; }
12592
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12594
$as_echo "ok" >&6; }
12596
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12600
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12603
# Set DATADIRNAME correctly if it is not set yet
12604
# (copied from glib-gettext.m4)
12605
if test -z "$DATADIRNAME"; then
12606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607
/* end confdefs.h. */
12612
extern int _nl_msg_cat_cntr;
12613
return _nl_msg_cat_cntr
12618
if ac_fn_c_try_link "$LINENO"; then :
12623
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12624
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12636
rm -f core conftest.err conftest.$ac_objext \
12637
conftest$ac_exeext conftest.$ac_ext
12645
GETTEXT_PACKAGE=nm-applet
12648
cat >>confdefs.h <<_ACEOF
12649
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12653
for ac_header in locale.h
12655
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12656
if test "x$ac_cv_header_locale_h" = xyes; then :
12657
cat >>confdefs.h <<_ACEOF
12658
#define HAVE_LOCALE_H 1
12665
if test $ac_cv_header_locale_h = yes; then
12666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12667
$as_echo_n "checking for LC_MESSAGES... " >&6; }
12668
if ${am_cv_val_LC_MESSAGES+:} false; then :
12669
$as_echo_n "(cached) " >&6
12671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672
/* end confdefs.h. */
12673
#include <locale.h>
12682
if ac_fn_c_try_link "$LINENO"; then :
12683
am_cv_val_LC_MESSAGES=yes
12685
am_cv_val_LC_MESSAGES=no
12687
rm -f core conftest.err conftest.$ac_objext \
12688
conftest$ac_exeext conftest.$ac_ext
12690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12691
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12692
if test $am_cv_val_LC_MESSAGES = yes; then
12694
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12701
gt_cv_have_gettext=no
12707
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12708
if test "x$ac_cv_header_libintl_h" = xyes; then :
12709
gt_cv_func_dgettext_libintl="no"
12710
libintl_extra_libs=""
12713
# First check in libc
12715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12716
$as_echo_n "checking for ngettext in libc... " >&6; }
12717
if ${gt_cv_func_ngettext_libc+:} false; then :
12718
$as_echo_n "(cached) " >&6
12720
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721
/* end confdefs.h. */
12723
#include <libintl.h>
12728
return !ngettext ("","", 1)
12733
if ac_fn_c_try_link "$LINENO"; then :
12734
gt_cv_func_ngettext_libc=yes
12736
gt_cv_func_ngettext_libc=no
12738
rm -f core conftest.err conftest.$ac_objext \
12739
conftest$ac_exeext conftest.$ac_ext
12742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12743
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
12745
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12747
$as_echo_n "checking for dgettext in libc... " >&6; }
12748
if ${gt_cv_func_dgettext_libc+:} false; then :
12749
$as_echo_n "(cached) " >&6
12751
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752
/* end confdefs.h. */
12754
#include <libintl.h>
12759
return !dgettext ("","")
12764
if ac_fn_c_try_link "$LINENO"; then :
12765
gt_cv_func_dgettext_libc=yes
12767
gt_cv_func_dgettext_libc=no
12769
rm -f core conftest.err conftest.$ac_objext \
12770
conftest$ac_exeext conftest.$ac_ext
12773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12774
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12777
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12778
for ac_func in bind_textdomain_codeset
12780
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12781
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12782
cat >>confdefs.h <<_ACEOF
12783
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12792
# If we don't have everything we want, check in libintl
12794
if test "$gt_cv_func_dgettext_libc" != "yes" \
12795
|| test "$gt_cv_func_ngettext_libc" != "yes" \
12796
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12799
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12800
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12801
$as_echo_n "(cached) " >&6
12803
ac_check_lib_save_LIBS=$LIBS
12804
LIBS="-lintl $LIBS"
12805
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806
/* end confdefs.h. */
12808
/* Override any GCC internal prototype to avoid an error.
12809
Use char because int might match the return type of a GCC
12810
builtin and then its argument prototype would still apply. */
12814
char bindtextdomain ();
12818
return bindtextdomain ();
12823
if ac_fn_c_try_link "$LINENO"; then :
12824
ac_cv_lib_intl_bindtextdomain=yes
12826
ac_cv_lib_intl_bindtextdomain=no
12828
rm -f core conftest.err conftest.$ac_objext \
12829
conftest$ac_exeext conftest.$ac_ext
12830
LIBS=$ac_check_lib_save_LIBS
12832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12833
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12834
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12836
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12837
if ${ac_cv_lib_intl_ngettext+:} false; then :
12838
$as_echo_n "(cached) " >&6
12840
ac_check_lib_save_LIBS=$LIBS
12841
LIBS="-lintl $LIBS"
12842
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843
/* end confdefs.h. */
12845
/* Override any GCC internal prototype to avoid an error.
12846
Use char because int might match the return type of a GCC
12847
builtin and then its argument prototype would still apply. */
12855
return ngettext ();
12860
if ac_fn_c_try_link "$LINENO"; then :
12861
ac_cv_lib_intl_ngettext=yes
12863
ac_cv_lib_intl_ngettext=no
12865
rm -f core conftest.err conftest.$ac_objext \
12866
conftest$ac_exeext conftest.$ac_ext
12867
LIBS=$ac_check_lib_save_LIBS
12869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12870
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12871
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12873
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12874
if ${ac_cv_lib_intl_dgettext+:} false; then :
12875
$as_echo_n "(cached) " >&6
12877
ac_check_lib_save_LIBS=$LIBS
12878
LIBS="-lintl $LIBS"
12879
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880
/* end confdefs.h. */
12882
/* Override any GCC internal prototype to avoid an error.
12883
Use char because int might match the return type of a GCC
12884
builtin and then its argument prototype would still apply. */
12892
return dgettext ();
12897
if ac_fn_c_try_link "$LINENO"; then :
12898
ac_cv_lib_intl_dgettext=yes
12900
ac_cv_lib_intl_dgettext=no
12902
rm -f core conftest.err conftest.$ac_objext \
12903
conftest$ac_exeext conftest.$ac_ext
12904
LIBS=$ac_check_lib_save_LIBS
12906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12907
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12908
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12909
gt_cv_func_dgettext_libintl=yes
12917
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12919
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12923
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12924
if ${ac_cv_lib_intl_ngettext+:} false; then :
12925
$as_echo_n "(cached) " >&6
12927
ac_check_lib_save_LIBS=$LIBS
12928
LIBS="-lintl -liconv $LIBS"
12929
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930
/* end confdefs.h. */
12932
/* Override any GCC internal prototype to avoid an error.
12933
Use char because int might match the return type of a GCC
12934
builtin and then its argument prototype would still apply. */
12942
return ngettext ();
12947
if ac_fn_c_try_link "$LINENO"; then :
12948
ac_cv_lib_intl_ngettext=yes
12950
ac_cv_lib_intl_ngettext=no
12952
rm -f core conftest.err conftest.$ac_objext \
12953
conftest$ac_exeext conftest.$ac_ext
12954
LIBS=$ac_check_lib_save_LIBS
12956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12957
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12958
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12960
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12961
if ${ac_cv_lib_intl_dcgettext+:} false; then :
12962
$as_echo_n "(cached) " >&6
12964
ac_check_lib_save_LIBS=$LIBS
12965
LIBS="-lintl -liconv $LIBS"
12966
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967
/* end confdefs.h. */
12969
/* Override any GCC internal prototype to avoid an error.
12970
Use char because int might match the return type of a GCC
12971
builtin and then its argument prototype would still apply. */
12979
return dcgettext ();
12984
if ac_fn_c_try_link "$LINENO"; then :
12985
ac_cv_lib_intl_dcgettext=yes
12987
ac_cv_lib_intl_dcgettext=no
12989
rm -f core conftest.err conftest.$ac_objext \
12990
conftest$ac_exeext conftest.$ac_ext
12991
LIBS=$ac_check_lib_save_LIBS
12993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12994
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12995
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12996
gt_cv_func_dgettext_libintl=yes
12997
libintl_extra_libs=-liconv
13009
# If we found libintl, then check in it for bind_textdomain_codeset();
13010
# we'll prefer libc if neither have bind_textdomain_codeset(),
13011
# and both have dgettext and ngettext
13013
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13014
glib_save_LIBS="$LIBS"
13015
LIBS="$LIBS -lintl $libintl_extra_libs"
13016
unset ac_cv_func_bind_textdomain_codeset
13017
for ac_func in bind_textdomain_codeset
13019
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13020
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13021
cat >>confdefs.h <<_ACEOF
13022
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13028
LIBS="$glib_save_LIBS"
13030
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13031
gt_cv_func_dgettext_libc=no
13033
if test "$gt_cv_func_dgettext_libc" = "yes" \
13034
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13035
gt_cv_func_dgettext_libintl=no
13041
if test "$gt_cv_func_dgettext_libc" = "yes" \
13042
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13043
gt_cv_have_gettext=yes
13046
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13047
INTLLIBS="-lintl $libintl_extra_libs"
13050
if test "$gt_cv_have_gettext" = "yes"; then
13052
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13054
# Extract the first word of "msgfmt", so it can be a program name with args.
13055
set dummy msgfmt; ac_word=$2
13056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13057
$as_echo_n "checking for $ac_word... " >&6; }
13058
if ${ac_cv_path_MSGFMT+:} false; then :
13059
$as_echo_n "(cached) " >&6
13063
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13066
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13067
for ac_dir in $PATH; do
13068
test -z "$ac_dir" && ac_dir=.
13069
if test -f $ac_dir/$ac_word; then
13070
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13071
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13077
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13081
MSGFMT="$ac_cv_path_MSGFMT"
13082
if test "$MSGFMT" != "no"; then
13083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13084
$as_echo "$MSGFMT" >&6; }
13086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13087
$as_echo "no" >&6; }
13089
if test "$MSGFMT" != "no"; then
13090
glib_save_LIBS="$LIBS"
13091
LIBS="$LIBS $INTLLIBS"
13092
for ac_func in dcgettext
13094
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13095
if test "x$ac_cv_func_dcgettext" = xyes; then :
13096
cat >>confdefs.h <<_ACEOF
13097
#define HAVE_DCGETTEXT 1
13104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13105
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13106
cat >conftest.foo <<_ACEOF
13110
"Content-Type: text/plain; charset=UTF-8\n"
13111
"Project-Id-Version: test 1.0\n"
13112
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13113
"Last-Translator: test <foo@bar.xx>\n"
13114
"Language-Team: C <LL@li.org>\n"
13115
"MIME-Version: 1.0\n"
13116
"Content-Transfer-Encoding: 8bit\n"
13119
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13120
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13122
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13123
test $ac_status = 0; }; then
13124
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13125
$as_echo "yes" >&6; }
13126
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127
$as_echo "no" >&6; }
13128
echo "$as_me: failed input was:" >&5
13129
sed 's/^/| /' conftest.foo >&5
13132
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13133
set dummy gmsgfmt; ac_word=$2
13134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13135
$as_echo_n "checking for $ac_word... " >&6; }
13136
if ${ac_cv_path_GMSGFMT+:} false; then :
13137
$as_echo_n "(cached) " >&6
13141
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13145
for as_dir in $PATH
13148
test -z "$as_dir" && as_dir=.
13149
for ac_exec_ext in '' $ac_executable_extensions; do
13150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13151
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13152
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13159
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13163
GMSGFMT=$ac_cv_path_GMSGFMT
13164
if test -n "$GMSGFMT"; then
13165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13166
$as_echo "$GMSGFMT" >&6; }
13168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13169
$as_echo "no" >&6; }
13173
# Extract the first word of "xgettext", so it can be a program name with args.
13174
set dummy xgettext; ac_word=$2
13175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176
$as_echo_n "checking for $ac_word... " >&6; }
13177
if ${ac_cv_path_XGETTEXT+:} false; then :
13178
$as_echo_n "(cached) " >&6
13180
case "$XGETTEXT" in
13182
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13185
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13186
for ac_dir in $PATH; do
13187
test -z "$ac_dir" && ac_dir=.
13188
if test -f $ac_dir/$ac_word; then
13189
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13190
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13196
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13200
XGETTEXT="$ac_cv_path_XGETTEXT"
13201
if test "$XGETTEXT" != ":"; then
13202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13203
$as_echo "$XGETTEXT" >&6; }
13205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206
$as_echo "no" >&6; }
13209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210
/* end confdefs.h. */
13215
extern int _nl_msg_cat_cntr;
13216
return _nl_msg_cat_cntr
13221
if ac_fn_c_try_link "$LINENO"; then :
13227
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13228
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13247
rm -f core conftest.err conftest.$ac_objext \
13248
conftest$ac_exeext conftest.$ac_ext
13249
LIBS="$glib_save_LIBS"
13252
gt_cv_have_gettext=no
13260
if test "$gt_cv_have_gettext" = "yes" ; then
13262
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13266
if test "$XGETTEXT" != ":"; then
13267
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13271
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13276
# We need to process the po/ directory.
13279
ac_config_commands="$ac_config_commands default-1"
13282
for lang in $ALL_LINGUAS; do
13283
GMOFILES="$GMOFILES $lang.gmo"
13284
POFILES="$POFILES $lang.po"
13299
if test "$gt_cv_have_gettext" = "yes"; then
13300
if test "x$ALL_LINGUAS" = "x"; then
13303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13304
$as_echo_n "checking for catalogs to be installed... " >&6; }
13306
for presentlang in $ALL_LINGUAS; do
13308
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13309
desiredlanguages="$LINGUAS"
13311
desiredlanguages="$ALL_LINGUAS"
13313
for desiredlang in $desiredlanguages; do
13314
# Use the presentlang catalog if desiredlang is
13315
# a. equal to presentlang, or
13316
# b. a variant of presentlang (because in this case,
13317
# presentlang can be used as a fallback for messages
13318
# which are not translated in the desiredlang catalog).
13319
case "$desiredlang" in
13320
"$presentlang"*) useit=yes;;
13323
if test $useit = yes; then
13324
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13327
LINGUAS=$NEW_LINGUAS
13328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13329
$as_echo "$LINGUAS" >&6; }
13332
if test -n "$LINGUAS"; then
13333
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13338
if test -n "$ac_aux_dir"; then
13339
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13341
if test -z "$MKINSTALLDIRS"; then
13342
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13346
test -d po || mkdir po
13347
if test "x$srcdir" != "x."; then
13348
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13349
posrcprefix="$srcdir/"
13351
posrcprefix="../$srcdir/"
13357
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13358
< $srcdir/po/POTFILES.in > po/POTFILES
13361
# Check for iso-codes for country names translation
13362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable iso-codes at build-time" >&5
13363
$as_echo_n "checking whether to disable iso-codes at build-time... " >&6; }
13364
# Check whether --enable-iso-codes was given.
13365
if test "${enable_iso_codes+set}" = set; then :
13366
enableval=$enable_iso_codes;
13368
disable_iso_codes_check=no
13371
if test x$disable_iso_codes_check = xno ; then
13372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373
$as_echo "no" >&6; }
13375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13376
$as_echo "yes" >&6; }
13379
if test x$disable_iso_codes_check = "xno" ; then
13380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso_3166 domain" >&5
13381
$as_echo_n "checking whether iso-codes has iso_3166 domain... " >&6; }
13382
if $PKG_CONFIG --variable=domains iso-codes | grep iso_3166 >/dev/null ; then
13383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13384
$as_echo "yes" >&6; }
13386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13387
$as_echo "no" >&6; }
13390
cat >>confdefs.h <<_ACEOF
13391
#define ISO_CODES_PREFIX "`$PKG_CONFIG --variable=prefix iso-codes`"
13396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO_CODES" >&5
13397
$as_echo_n "checking for ISO_CODES... " >&6; }
13399
if test -n "$ISO_CODES_CFLAGS"; then
13400
pkg_cv_ISO_CODES_CFLAGS="$ISO_CODES_CFLAGS"
13401
elif test -n "$PKG_CONFIG"; then
13402
if test -n "$PKG_CONFIG" && \
13403
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iso-codes\""; } >&5
13404
($PKG_CONFIG --exists --print-errors "iso-codes") 2>&5
13406
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13407
test $ac_status = 0; }; then
13408
pkg_cv_ISO_CODES_CFLAGS=`$PKG_CONFIG --cflags "iso-codes" 2>/dev/null`
13415
if test -n "$ISO_CODES_LIBS"; then
13416
pkg_cv_ISO_CODES_LIBS="$ISO_CODES_LIBS"
13417
elif test -n "$PKG_CONFIG"; then
13418
if test -n "$PKG_CONFIG" && \
13419
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iso-codes\""; } >&5
13420
($PKG_CONFIG --exists --print-errors "iso-codes") 2>&5
13422
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13423
test $ac_status = 0; }; then
13424
pkg_cv_ISO_CODES_LIBS=`$PKG_CONFIG --libs "iso-codes" 2>/dev/null`
13434
if test $pkg_failed = yes; then
13435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13436
$as_echo "no" >&6; }
13438
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13439
_pkg_short_errors_supported=yes
13441
_pkg_short_errors_supported=no
13443
if test $_pkg_short_errors_supported = yes; then
13444
ISO_CODES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iso-codes" 2>&1`
13446
ISO_CODES_PKG_ERRORS=`$PKG_CONFIG --print-errors "iso-codes" 2>&1`
13448
# Put the nasty error message in config.log where it belongs
13449
echo "$ISO_CODES_PKG_ERRORS" >&5
13451
echo -e "\n$ISO_CODES_PKG_ERRORS.\n"
13452
echo "Consider installing the package or adjusting the PKG_CONFIG_PATH environment variable."
13453
echo "You can also disable build-time check for 'iso-codes' via --disable-iso-codes";
13455
elif test $pkg_failed = untried; then
13456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13457
$as_echo "no" >&6; }
13458
echo -e "\n$ISO_CODES_PKG_ERRORS.\n"
13459
echo "Consider installing the package or adjusting the PKG_CONFIG_PATH environment variable."
13460
echo "You can also disable build-time check for 'iso-codes' via --disable-iso-codes";
13463
ISO_CODES_CFLAGS=$pkg_cv_ISO_CODES_CFLAGS
13464
ISO_CODES_LIBS=$pkg_cv_ISO_CODES_LIBS
13465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13466
$as_echo "yes" >&6; }
13471
cat >>confdefs.h <<_ACEOF
13472
#define ISO_CODES_PREFIX "$prefix"
13477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13478
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13479
if ${ac_cv_c_bigendian+:} false; then :
13480
$as_echo_n "(cached) " >&6
13482
ac_cv_c_bigendian=unknown
13483
# See if we're dealing with a universal compiler.
13484
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485
/* end confdefs.h. */
13486
#ifndef __APPLE_CC__
13487
not a universal capable compiler
13492
if ac_fn_c_try_compile "$LINENO"; then :
13494
# Check for potential -arch flags. It is not universal unless
13495
# there are at least two -arch flags with different values.
13498
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13499
if test -n "$ac_prev"; then
13501
i?86 | x86_64 | ppc | ppc64)
13502
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13505
ac_cv_c_bigendian=universal
13511
elif test "x$ac_word" = "x-arch"; then
13516
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13517
if test $ac_cv_c_bigendian = unknown; then
13518
# See if sys/param.h defines the BYTE_ORDER macro.
13519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520
/* end confdefs.h. */
13521
#include <sys/types.h>
13522
#include <sys/param.h>
13527
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13528
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13530
bogus endian macros
13537
if ac_fn_c_try_compile "$LINENO"; then :
13538
# It does; now see whether it defined to BIG_ENDIAN or not.
13539
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540
/* end confdefs.h. */
13541
#include <sys/types.h>
13542
#include <sys/param.h>
13547
#if BYTE_ORDER != BIG_ENDIAN
13555
if ac_fn_c_try_compile "$LINENO"; then :
13556
ac_cv_c_bigendian=yes
13558
ac_cv_c_bigendian=no
13560
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13564
if test $ac_cv_c_bigendian = unknown; then
13565
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13566
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567
/* end confdefs.h. */
13568
#include <limits.h>
13573
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13574
bogus endian macros
13581
if ac_fn_c_try_compile "$LINENO"; then :
13582
# It does; now see whether it defined to _BIG_ENDIAN or not.
13583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584
/* end confdefs.h. */
13585
#include <limits.h>
13590
#ifndef _BIG_ENDIAN
13598
if ac_fn_c_try_compile "$LINENO"; then :
13599
ac_cv_c_bigendian=yes
13601
ac_cv_c_bigendian=no
13603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13605
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13607
if test $ac_cv_c_bigendian = unknown; then
13608
# Compile a test program.
13609
if test "$cross_compiling" = yes; then :
13610
# Try to guess by grepping values from an object file.
13611
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612
/* end confdefs.h. */
13613
short int ascii_mm[] =
13614
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13615
short int ascii_ii[] =
13616
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13617
int use_ascii (int i) {
13618
return ascii_mm[i] + ascii_ii[i];
13620
short int ebcdic_ii[] =
13621
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13622
short int ebcdic_mm[] =
13623
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13624
int use_ebcdic (int i) {
13625
return ebcdic_mm[i] + ebcdic_ii[i];
13632
return use_ascii (foo) == use_ebcdic (foo);
13637
if ac_fn_c_try_compile "$LINENO"; then :
13638
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13639
ac_cv_c_bigendian=yes
13641
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13642
if test "$ac_cv_c_bigendian" = unknown; then
13643
ac_cv_c_bigendian=no
13645
# finding both strings is unlikely to happen, but who knows?
13646
ac_cv_c_bigendian=unknown
13650
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13652
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653
/* end confdefs.h. */
13654
$ac_includes_default
13659
/* Are we little or big endian? From Harbison&Steele. */
13663
char c[sizeof (long int)];
13666
return u.c[sizeof (long int) - 1] == 1;
13672
if ac_fn_c_try_run "$LINENO"; then :
13673
ac_cv_c_bigendian=no
13675
ac_cv_c_bigendian=yes
13677
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13678
conftest.$ac_objext conftest.beam conftest.$ac_ext
13683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13684
$as_echo "$ac_cv_c_bigendian" >&6; }
13685
case $ac_cv_c_bigendian in #(
13687
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13693
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13697
as_fn_error $? "unknown endianness
13698
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
13705
$as_echo_n "checking for GOBJECT... " >&6; }
13707
if test -n "$GOBJECT_CFLAGS"; then
13708
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
13709
elif test -n "$PKG_CONFIG"; then
13710
if test -n "$PKG_CONFIG" && \
13711
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
13712
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
13714
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13715
test $ac_status = 0; }; then
13716
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
13723
if test -n "$GOBJECT_LIBS"; then
13724
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
13725
elif test -n "$PKG_CONFIG"; then
13726
if test -n "$PKG_CONFIG" && \
13727
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
13728
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
13730
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13731
test $ac_status = 0; }; then
13732
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
13742
if test $pkg_failed = yes; then
13743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13744
$as_echo "no" >&6; }
13746
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13747
_pkg_short_errors_supported=yes
13749
_pkg_short_errors_supported=no
13751
if test $_pkg_short_errors_supported = yes; then
13752
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0" 2>&1`
13754
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0" 2>&1`
13756
# Put the nasty error message in config.log where it belongs
13757
echo "$GOBJECT_PKG_ERRORS" >&5
13759
as_fn_error $? "Package requirements (gobject-2.0) were not met:
13761
$GOBJECT_PKG_ERRORS
13763
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13764
installed software in a non-standard prefix.
13766
Alternatively, you may set the environment variables GOBJECT_CFLAGS
13767
and GOBJECT_LIBS to avoid the need to call pkg-config.
13768
See the pkg-config man page for more details." "$LINENO" 5
13770
elif test $pkg_failed = untried; then
13771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13772
$as_echo "no" >&6; }
13773
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13774
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13775
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13776
is in your PATH or set the PKG_CONFIG environment variable to the full
13777
path to pkg-config.
13779
Alternatively, you may set the environment variables GOBJECT_CFLAGS
13780
and GOBJECT_LIBS to avoid the need to call pkg-config.
13781
See the pkg-config man page for more details.
13783
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13784
See \`config.log' for more details" "$LINENO" 5; }
13787
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
13788
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
13789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13790
$as_echo "yes" >&6; }
13796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NMA" >&5
13797
$as_echo_n "checking for NMA... " >&6; }
13799
if test -n "$NMA_CFLAGS"; then
13800
pkg_cv_NMA_CFLAGS="$NMA_CFLAGS"
13801
elif test -n "$PKG_CONFIG"; then
13802
if test -n "$PKG_CONFIG" && \
13803
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.74
13805
NetworkManager >= 0.9.6
13806
libnm-glib >= 0.9.6
13807
libnm-util >= 0.9.6
13808
libnm-glib-vpn >= 0.9.6
13809
gmodule-export-2.0\""; } >&5
13810
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.74
13812
NetworkManager >= 0.9.6
13813
libnm-glib >= 0.9.6
13814
libnm-util >= 0.9.6
13815
libnm-glib-vpn >= 0.9.6
13816
gmodule-export-2.0") 2>&5
13818
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13819
test $ac_status = 0; }; then
13820
pkg_cv_NMA_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.74
13822
NetworkManager >= 0.9.6
13823
libnm-glib >= 0.9.6
13824
libnm-util >= 0.9.6
13825
libnm-glib-vpn >= 0.9.6
13826
gmodule-export-2.0" 2>/dev/null`
13833
if test -n "$NMA_LIBS"; then
13834
pkg_cv_NMA_LIBS="$NMA_LIBS"
13835
elif test -n "$PKG_CONFIG"; then
13836
if test -n "$PKG_CONFIG" && \
13837
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.74
13839
NetworkManager >= 0.9.6
13840
libnm-glib >= 0.9.6
13841
libnm-util >= 0.9.6
13842
libnm-glib-vpn >= 0.9.6
13843
gmodule-export-2.0\""; } >&5
13844
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.74
13846
NetworkManager >= 0.9.6
13847
libnm-glib >= 0.9.6
13848
libnm-util >= 0.9.6
13849
libnm-glib-vpn >= 0.9.6
13850
gmodule-export-2.0") 2>&5
13852
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13853
test $ac_status = 0; }; then
13854
pkg_cv_NMA_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.74
13856
NetworkManager >= 0.9.6
13857
libnm-glib >= 0.9.6
13858
libnm-util >= 0.9.6
13859
libnm-glib-vpn >= 0.9.6
13860
gmodule-export-2.0" 2>/dev/null`
13870
if test $pkg_failed = yes; then
13871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13872
$as_echo "no" >&6; }
13874
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13875
_pkg_short_errors_supported=yes
13877
_pkg_short_errors_supported=no
13879
if test $_pkg_short_errors_supported = yes; then
13880
NMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= 0.74
13882
NetworkManager >= 0.9.6
13883
libnm-glib >= 0.9.6
13884
libnm-util >= 0.9.6
13885
libnm-glib-vpn >= 0.9.6
13886
gmodule-export-2.0" 2>&1`
13888
NMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= 0.74
13890
NetworkManager >= 0.9.6
13891
libnm-glib >= 0.9.6
13892
libnm-util >= 0.9.6
13893
libnm-glib-vpn >= 0.9.6
13894
gmodule-export-2.0" 2>&1`
13896
# Put the nasty error message in config.log where it belongs
13897
echo "$NMA_PKG_ERRORS" >&5
13899
as_fn_error $? "Package requirements (dbus-glib-1 >= 0.74
13901
NetworkManager >= 0.9.6
13902
libnm-glib >= 0.9.6
13903
libnm-util >= 0.9.6
13904
libnm-glib-vpn >= 0.9.6
13905
gmodule-export-2.0) were not met:
13909
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13910
installed software in a non-standard prefix.
13912
Alternatively, you may set the environment variables NMA_CFLAGS
13913
and NMA_LIBS to avoid the need to call pkg-config.
13914
See the pkg-config man page for more details." "$LINENO" 5
13916
elif test $pkg_failed = untried; then
13917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13918
$as_echo "no" >&6; }
13919
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13920
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13921
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13922
is in your PATH or set the PKG_CONFIG environment variable to the full
13923
path to pkg-config.
13925
Alternatively, you may set the environment variables NMA_CFLAGS
13926
and NMA_LIBS to avoid the need to call pkg-config.
13927
See the pkg-config man page for more details.
13929
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13930
See \`config.log' for more details" "$LINENO" 5; }
13933
NMA_CFLAGS=$pkg_cv_NMA_CFLAGS
13934
NMA_LIBS=$pkg_cv_NMA_LIBS
13935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13936
$as_echo "yes" >&6; }
13940
# With recent glib, defining GLIB_VERSION_MIN_REQUIRED avoids
13941
# deprecation warnings for recently-deprecated functions (eg,
13942
# GValueArray stuff). We say GLIB_VERSION_2_26 because there
13943
# aren't macros for any older versions.
13944
NMA_CFLAGS="$NMA_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26"
13946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build nm-applet-migration-tool" >&5
13947
$as_echo_n "checking whether to build nm-applet-migration-tool... " >&6; }
13948
# Check whether --enable-migration was given.
13949
if test "${enable_migration+set}" = set; then :
13950
enableval=$enable_migration; enable_migration="$enableval"
13952
if test "$UNDER_JHBUILD" = "true"; then
13953
enable_migration=no
13955
enable_migration=yes
13959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_migration" >&5
13960
$as_echo "$enable_migration" >&6; }
13961
if test "$enable_migration" = "yes"; then
13964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
13965
$as_echo_n "checking for GCONF... " >&6; }
13967
if test -n "$GCONF_CFLAGS"; then
13968
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
13969
elif test -n "$PKG_CONFIG"; then
13970
if test -n "$PKG_CONFIG" && \
13971
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
13972
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
13974
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13975
test $ac_status = 0; }; then
13976
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
13983
if test -n "$GCONF_LIBS"; then
13984
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
13985
elif test -n "$PKG_CONFIG"; then
13986
if test -n "$PKG_CONFIG" && \
13987
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
13988
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
13990
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13991
test $ac_status = 0; }; then
13992
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
14002
if test $pkg_failed = yes; then
14003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14004
$as_echo "no" >&6; }
14006
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14007
_pkg_short_errors_supported=yes
14009
_pkg_short_errors_supported=no
14011
if test $_pkg_short_errors_supported = yes; then
14012
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
14014
GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
14016
# Put the nasty error message in config.log where it belongs
14017
echo "$GCONF_PKG_ERRORS" >&5
14020
Could not find GConf devel files, which are needed for
14021
nm-applet-migration-tool. You can configure with --disable-migration
14022
if you want to build without the code to migrate GConf settings from
14023
older (< 0.9) nm-applet releases." "$LINENO" 5
14024
elif test $pkg_failed = untried; then
14025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14026
$as_echo "no" >&6; }
14028
Could not find GConf devel files, which are needed for
14029
nm-applet-migration-tool. You can configure with --disable-migration
14030
if you want to build without the code to migrate GConf settings from
14031
older (< 0.9) nm-applet releases." "$LINENO" 5
14033
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
14034
GCONF_LIBS=$pkg_cv_GCONF_LIBS
14035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14036
$as_echo "yes" >&6; }
14044
$as_echo "#define BUILD_MIGRATION_TOOL 1" >>confdefs.h
14047
if test "$enable_migration" = "yes"; then
14048
BUILD_MIGRATION_TOOL_TRUE=
14049
BUILD_MIGRATION_TOOL_FALSE='#'
14051
BUILD_MIGRATION_TOOL_TRUE='#'
14052
BUILD_MIGRATION_TOOL_FALSE=
14058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_KEYRING" >&5
14059
$as_echo_n "checking for GNOME_KEYRING... " >&6; }
14061
if test -n "$GNOME_KEYRING_CFLAGS"; then
14062
pkg_cv_GNOME_KEYRING_CFLAGS="$GNOME_KEYRING_CFLAGS"
14063
elif test -n "$PKG_CONFIG"; then
14064
if test -n "$PKG_CONFIG" && \
14065
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
14066
($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
14068
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14069
test $ac_status = 0; }; then
14070
pkg_cv_GNOME_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
14077
if test -n "$GNOME_KEYRING_LIBS"; then
14078
pkg_cv_GNOME_KEYRING_LIBS="$GNOME_KEYRING_LIBS"
14079
elif test -n "$PKG_CONFIG"; then
14080
if test -n "$PKG_CONFIG" && \
14081
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
14082
($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
14084
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14085
test $ac_status = 0; }; then
14086
pkg_cv_GNOME_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
14096
if test $pkg_failed = yes; then
14097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14098
$as_echo "no" >&6; }
14100
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14101
_pkg_short_errors_supported=yes
14103
_pkg_short_errors_supported=no
14105
if test $_pkg_short_errors_supported = yes; then
14106
GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-keyring-1" 2>&1`
14108
GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-keyring-1" 2>&1`
14110
# Put the nasty error message in config.log where it belongs
14111
echo "$GNOME_KEYRING_PKG_ERRORS" >&5
14113
as_fn_error $? "Package requirements (gnome-keyring-1) were not met:
14115
$GNOME_KEYRING_PKG_ERRORS
14117
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14118
installed software in a non-standard prefix.
14120
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
14121
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
14122
See the pkg-config man page for more details." "$LINENO" 5
14124
elif test $pkg_failed = untried; then
14125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14126
$as_echo "no" >&6; }
14127
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14128
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14129
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14130
is in your PATH or set the PKG_CONFIG environment variable to the full
14131
path to pkg-config.
14133
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
14134
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
14135
See the pkg-config man page for more details.
14137
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14138
See \`config.log' for more details" "$LINENO" 5; }
14141
GNOME_KEYRING_CFLAGS=$pkg_cv_GNOME_KEYRING_CFLAGS
14142
GNOME_KEYRING_LIBS=$pkg_cv_GNOME_KEYRING_LIBS
14143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14144
$as_echo "yes" >&6; }
14150
# Check for libnotify >= 0.7
14153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY_07" >&5
14154
$as_echo_n "checking for LIBNOTIFY_07... " >&6; }
14156
if test -n "$LIBNOTIFY_07_CFLAGS"; then
14157
pkg_cv_LIBNOTIFY_07_CFLAGS="$LIBNOTIFY_07_CFLAGS"
14158
elif test -n "$PKG_CONFIG"; then
14159
if test -n "$PKG_CONFIG" && \
14160
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
14161
($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
14163
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164
test $ac_status = 0; }; then
14165
pkg_cv_LIBNOTIFY_07_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
14172
if test -n "$LIBNOTIFY_07_LIBS"; then
14173
pkg_cv_LIBNOTIFY_07_LIBS="$LIBNOTIFY_07_LIBS"
14174
elif test -n "$PKG_CONFIG"; then
14175
if test -n "$PKG_CONFIG" && \
14176
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
14177
($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
14179
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14180
test $ac_status = 0; }; then
14181
pkg_cv_LIBNOTIFY_07_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
14191
if test $pkg_failed = yes; then
14192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14193
$as_echo "no" >&6; }
14195
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14196
_pkg_short_errors_supported=yes
14198
_pkg_short_errors_supported=no
14200
if test $_pkg_short_errors_supported = yes; then
14201
LIBNOTIFY_07_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify >= 0.7" 2>&1`
14203
LIBNOTIFY_07_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify >= 0.7" 2>&1`
14205
# Put the nasty error message in config.log where it belongs
14206
echo "$LIBNOTIFY_07_PKG_ERRORS" >&5
14208
have_libnotify_07=no
14209
elif test $pkg_failed = untried; then
14210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14211
$as_echo "no" >&6; }
14212
have_libnotify_07=no
14214
LIBNOTIFY_07_CFLAGS=$pkg_cv_LIBNOTIFY_07_CFLAGS
14215
LIBNOTIFY_07_LIBS=$pkg_cv_LIBNOTIFY_07_LIBS
14216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14217
$as_echo "yes" >&6; }
14218
have_libnotify_07=yes
14220
if test x"$have_libnotify_07" = "xyes"; then
14222
$as_echo "#define HAVE_LIBNOTIFY_07 1" >>confdefs.h
14227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
14228
$as_echo_n "checking for NOTIFY... " >&6; }
14230
if test -n "$NOTIFY_CFLAGS"; then
14231
pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
14232
elif test -n "$PKG_CONFIG"; then
14233
if test -n "$PKG_CONFIG" && \
14234
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.3\""; } >&5
14235
($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.3") 2>&5
14237
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14238
test $ac_status = 0; }; then
14239
pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4.3" 2>/dev/null`
14246
if test -n "$NOTIFY_LIBS"; then
14247
pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
14248
elif test -n "$PKG_CONFIG"; then
14249
if test -n "$PKG_CONFIG" && \
14250
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4.3\""; } >&5
14251
($PKG_CONFIG --exists --print-errors "libnotify >= 0.4.3") 2>&5
14253
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14254
test $ac_status = 0; }; then
14255
pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4.3" 2>/dev/null`
14265
if test $pkg_failed = yes; then
14266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14267
$as_echo "no" >&6; }
14269
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14270
_pkg_short_errors_supported=yes
14272
_pkg_short_errors_supported=no
14274
if test $_pkg_short_errors_supported = yes; then
14275
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify >= 0.4.3" 2>&1`
14277
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify >= 0.4.3" 2>&1`
14279
# Put the nasty error message in config.log where it belongs
14280
echo "$NOTIFY_PKG_ERRORS" >&5
14282
as_fn_error $? "Package requirements (libnotify >= 0.4.3) were not met:
14286
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14287
installed software in a non-standard prefix.
14289
Alternatively, you may set the environment variables NOTIFY_CFLAGS
14290
and NOTIFY_LIBS to avoid the need to call pkg-config.
14291
See the pkg-config man page for more details." "$LINENO" 5
14293
elif test $pkg_failed = untried; then
14294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14295
$as_echo "no" >&6; }
14296
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14297
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14298
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14299
is in your PATH or set the PKG_CONFIG environment variable to the full
14300
path to pkg-config.
14302
Alternatively, you may set the environment variables NOTIFY_CFLAGS
14303
and NOTIFY_LIBS to avoid the need to call pkg-config.
14304
See the pkg-config man page for more details.
14306
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14307
See \`config.log' for more details" "$LINENO" 5; }
14310
NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
14311
NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
14312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14313
$as_echo "yes" >&6; }
14322
# Check whether --with-gtkver was given.
14323
if test "${with_gtkver+set}" = set; then :
14324
withval=$with_gtkver; with_gtkver="$withval"
14329
case "${with_gtkver}" in
14332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14333
$as_echo_n "checking for GTK... " >&6; }
14335
if test -n "$GTK_CFLAGS"; then
14336
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14337
elif test -n "$PKG_CONFIG"; then
14338
if test -n "$PKG_CONFIG" && \
14339
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 > \$gtk3_req\""; } >&5
14340
($PKG_CONFIG --exists --print-errors "gtk+-3.0 > $gtk3_req") 2>&5
14342
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14343
test $ac_status = 0; }; then
14344
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 > $gtk3_req" 2>/dev/null`
14351
if test -n "$GTK_LIBS"; then
14352
pkg_cv_GTK_LIBS="$GTK_LIBS"
14353
elif test -n "$PKG_CONFIG"; then
14354
if test -n "$PKG_CONFIG" && \
14355
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 > \$gtk3_req\""; } >&5
14356
($PKG_CONFIG --exists --print-errors "gtk+-3.0 > $gtk3_req") 2>&5
14358
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14359
test $ac_status = 0; }; then
14360
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 > $gtk3_req" 2>/dev/null`
14370
if test $pkg_failed = yes; then
14371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14372
$as_echo "no" >&6; }
14374
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14375
_pkg_short_errors_supported=yes
14377
_pkg_short_errors_supported=no
14379
if test $_pkg_short_errors_supported = yes; then
14380
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 > $gtk3_req" 2>&1`
14382
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 > $gtk3_req" 2>&1`
14384
# Put the nasty error message in config.log where it belongs
14385
echo "$GTK_PKG_ERRORS" >&5
14389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14390
$as_echo_n "checking for GTK... " >&6; }
14392
if test -n "$GTK_CFLAGS"; then
14393
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14394
elif test -n "$PKG_CONFIG"; then
14395
if test -n "$PKG_CONFIG" && \
14396
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14397
($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14399
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14400
test $ac_status = 0; }; then
14401
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14408
if test -n "$GTK_LIBS"; then
14409
pkg_cv_GTK_LIBS="$GTK_LIBS"
14410
elif test -n "$PKG_CONFIG"; then
14411
if test -n "$PKG_CONFIG" && \
14412
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14413
($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14415
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14416
test $ac_status = 0; }; then
14417
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14427
if test $pkg_failed = yes; then
14428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14429
$as_echo "no" >&6; }
14431
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14432
_pkg_short_errors_supported=yes
14434
_pkg_short_errors_supported=no
14436
if test $_pkg_short_errors_supported = yes; then
14437
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14439
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14441
# Put the nasty error message in config.log where it belongs
14442
echo "$GTK_PKG_ERRORS" >&5
14444
as_fn_error $? "Package requirements (gtk+-2.0 > $gtk2_req) were not met:
14448
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14449
installed software in a non-standard prefix.
14451
Alternatively, you may set the environment variables GTK_CFLAGS
14452
and GTK_LIBS to avoid the need to call pkg-config.
14453
See the pkg-config man page for more details." "$LINENO" 5
14455
elif test $pkg_failed = untried; then
14456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14457
$as_echo "no" >&6; }
14458
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14459
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14460
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14461
is in your PATH or set the PKG_CONFIG environment variable to the full
14462
path to pkg-config.
14464
Alternatively, you may set the environment variables GTK_CFLAGS
14465
and GTK_LIBS to avoid the need to call pkg-config.
14466
See the pkg-config man page for more details.
14468
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14469
See \`config.log' for more details" "$LINENO" 5; }
14472
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14473
GTK_LIBS=$pkg_cv_GTK_LIBS
14474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14475
$as_echo "yes" >&6; }
14478
elif test $pkg_failed = untried; then
14479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14480
$as_echo "no" >&6; }
14483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14484
$as_echo_n "checking for GTK... " >&6; }
14486
if test -n "$GTK_CFLAGS"; then
14487
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14488
elif test -n "$PKG_CONFIG"; then
14489
if test -n "$PKG_CONFIG" && \
14490
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14491
($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14493
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14494
test $ac_status = 0; }; then
14495
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14502
if test -n "$GTK_LIBS"; then
14503
pkg_cv_GTK_LIBS="$GTK_LIBS"
14504
elif test -n "$PKG_CONFIG"; then
14505
if test -n "$PKG_CONFIG" && \
14506
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 > \$gtk2_req\""; } >&5
14507
($PKG_CONFIG --exists --print-errors "gtk+-2.0 > $gtk2_req") 2>&5
14509
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14510
test $ac_status = 0; }; then
14511
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 > $gtk2_req" 2>/dev/null`
14521
if test $pkg_failed = yes; then
14522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523
$as_echo "no" >&6; }
14525
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14526
_pkg_short_errors_supported=yes
14528
_pkg_short_errors_supported=no
14530
if test $_pkg_short_errors_supported = yes; then
14531
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14533
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 > $gtk2_req" 2>&1`
14535
# Put the nasty error message in config.log where it belongs
14536
echo "$GTK_PKG_ERRORS" >&5
14538
as_fn_error $? "Package requirements (gtk+-2.0 > $gtk2_req) were not met:
14542
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14543
installed software in a non-standard prefix.
14545
Alternatively, you may set the environment variables GTK_CFLAGS
14546
and GTK_LIBS to avoid the need to call pkg-config.
14547
See the pkg-config man page for more details." "$LINENO" 5
14549
elif test $pkg_failed = untried; then
14550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14551
$as_echo "no" >&6; }
14552
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14553
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14554
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14555
is in your PATH or set the PKG_CONFIG environment variable to the full
14556
path to pkg-config.
14558
Alternatively, you may set the environment variables GTK_CFLAGS
14559
and GTK_LIBS to avoid the need to call pkg-config.
14560
See the pkg-config man page for more details.
14562
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14563
See \`config.log' for more details" "$LINENO" 5; }
14566
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14567
GTK_LIBS=$pkg_cv_GTK_LIBS
14568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14569
$as_echo "yes" >&6; }
14573
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14574
GTK_LIBS=$pkg_cv_GTK_LIBS
14575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14576
$as_echo "yes" >&6; }
14582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14583
$as_echo_n "checking for GTK... " >&6; }
14585
if test -n "$GTK_CFLAGS"; then
14586
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14587
elif test -n "$PKG_CONFIG"; then
14588
if test -n "$PKG_CONFIG" && \
14589
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$gtk2_req\""; } >&5
14590
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $gtk2_req") 2>&5
14592
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14593
test $ac_status = 0; }; then
14594
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $gtk2_req" 2>/dev/null`
14601
if test -n "$GTK_LIBS"; then
14602
pkg_cv_GTK_LIBS="$GTK_LIBS"
14603
elif test -n "$PKG_CONFIG"; then
14604
if test -n "$PKG_CONFIG" && \
14605
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$gtk2_req\""; } >&5
14606
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $gtk2_req") 2>&5
14608
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14609
test $ac_status = 0; }; then
14610
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $gtk2_req" 2>/dev/null`
14620
if test $pkg_failed = yes; then
14621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14622
$as_echo "no" >&6; }
14624
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14625
_pkg_short_errors_supported=yes
14627
_pkg_short_errors_supported=no
14629
if test $_pkg_short_errors_supported = yes; then
14630
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $gtk2_req" 2>&1`
14632
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $gtk2_req" 2>&1`
14634
# Put the nasty error message in config.log where it belongs
14635
echo "$GTK_PKG_ERRORS" >&5
14637
as_fn_error $? "Package requirements (gtk+-2.0 >= $gtk2_req) were not met:
14641
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14642
installed software in a non-standard prefix.
14644
Alternatively, you may set the environment variables GTK_CFLAGS
14645
and GTK_LIBS to avoid the need to call pkg-config.
14646
See the pkg-config man page for more details." "$LINENO" 5
14648
elif test $pkg_failed = untried; then
14649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14650
$as_echo "no" >&6; }
14651
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14652
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14653
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14654
is in your PATH or set the PKG_CONFIG environment variable to the full
14655
path to pkg-config.
14657
Alternatively, you may set the environment variables GTK_CFLAGS
14658
and GTK_LIBS to avoid the need to call pkg-config.
14659
See the pkg-config man page for more details.
14661
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14662
See \`config.log' for more details" "$LINENO" 5; }
14665
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14666
GTK_LIBS=$pkg_cv_GTK_LIBS
14667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14668
$as_echo "yes" >&6; }
14674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14675
$as_echo_n "checking for GTK... " >&6; }
14677
if test -n "$GTK_CFLAGS"; then
14678
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14679
elif test -n "$PKG_CONFIG"; then
14680
if test -n "$PKG_CONFIG" && \
14681
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$gtk3_req\""; } >&5
14682
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $gtk3_req") 2>&5
14684
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14685
test $ac_status = 0; }; then
14686
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $gtk3_req" 2>/dev/null`
14693
if test -n "$GTK_LIBS"; then
14694
pkg_cv_GTK_LIBS="$GTK_LIBS"
14695
elif test -n "$PKG_CONFIG"; then
14696
if test -n "$PKG_CONFIG" && \
14697
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$gtk3_req\""; } >&5
14698
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $gtk3_req") 2>&5
14700
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14701
test $ac_status = 0; }; then
14702
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $gtk3_req" 2>/dev/null`
14712
if test $pkg_failed = yes; then
14713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14714
$as_echo "no" >&6; }
14716
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14717
_pkg_short_errors_supported=yes
14719
_pkg_short_errors_supported=no
14721
if test $_pkg_short_errors_supported = yes; then
14722
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $gtk3_req" 2>&1`
14724
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $gtk3_req" 2>&1`
14726
# Put the nasty error message in config.log where it belongs
14727
echo "$GTK_PKG_ERRORS" >&5
14729
as_fn_error $? "Package requirements (gtk+-3.0 >= $gtk3_req) were not met:
14733
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14734
installed software in a non-standard prefix.
14736
Alternatively, you may set the environment variables GTK_CFLAGS
14737
and GTK_LIBS to avoid the need to call pkg-config.
14738
See the pkg-config man page for more details." "$LINENO" 5
14740
elif test $pkg_failed = untried; then
14741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14742
$as_echo "no" >&6; }
14743
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14744
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14745
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14746
is in your PATH or set the PKG_CONFIG environment variable to the full
14747
path to pkg-config.
14749
Alternatively, you may set the environment variables GTK_CFLAGS
14750
and GTK_LIBS to avoid the need to call pkg-config.
14751
See the pkg-config man page for more details.
14753
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14754
See \`config.log' for more details" "$LINENO" 5; }
14757
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14758
GTK_LIBS=$pkg_cv_GTK_LIBS
14759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14760
$as_echo "yes" >&6; }
14764
*) as_fn_error $? "unknown GTK+ version $with_gtkver!" "$LINENO" 5
14770
# Check for dbus-1.2.6 or later for deny-by-default rules
14773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_126" >&5
14774
$as_echo_n "checking for DBUS_126... " >&6; }
14776
if test -n "$DBUS_126_CFLAGS"; then
14777
pkg_cv_DBUS_126_CFLAGS="$DBUS_126_CFLAGS"
14778
elif test -n "$PKG_CONFIG"; then
14779
if test -n "$PKG_CONFIG" && \
14780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.6\""; } >&5
14781
($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.6") 2>&5
14783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14784
test $ac_status = 0; }; then
14785
pkg_cv_DBUS_126_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.2.6" 2>/dev/null`
14792
if test -n "$DBUS_126_LIBS"; then
14793
pkg_cv_DBUS_126_LIBS="$DBUS_126_LIBS"
14794
elif test -n "$PKG_CONFIG"; then
14795
if test -n "$PKG_CONFIG" && \
14796
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.2.6\""; } >&5
14797
($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.2.6") 2>&5
14799
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14800
test $ac_status = 0; }; then
14801
pkg_cv_DBUS_126_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.2.6" 2>/dev/null`
14811
if test $pkg_failed = yes; then
14812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14813
$as_echo "no" >&6; }
14815
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14816
_pkg_short_errors_supported=yes
14818
_pkg_short_errors_supported=no
14820
if test $_pkg_short_errors_supported = yes; then
14821
DBUS_126_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.2.6" 2>&1`
14823
DBUS_126_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.2.6" 2>&1`
14825
# Put the nasty error message in config.log where it belongs
14826
echo "$DBUS_126_PKG_ERRORS" >&5
14829
elif test $pkg_failed = untried; then
14830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14831
$as_echo "no" >&6; }
14834
DBUS_126_CFLAGS=$pkg_cv_DBUS_126_CFLAGS
14835
DBUS_126_LIBS=$pkg_cv_DBUS_126_LIBS
14836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14837
$as_echo "yes" >&6; }
14840
if test x"$have_dbus_126" = "xyes"; then
14841
HAVE_DBUS_126_TRUE=
14842
HAVE_DBUS_126_FALSE='#'
14844
HAVE_DBUS_126_TRUE='#'
14845
HAVE_DBUS_126_FALSE=
14850
# Check whether --with-dbus-sys was given.
14851
if test "${with_dbus_sys+set}" = set; then :
14852
withval=$with_dbus_sys;
14856
if ! test -z "$with_dbus_sys" ; then
14857
DBUS_SYS_DIR="$with_dbus_sys"
14859
DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
14864
# Check whether --with-bluetooth was given.
14865
if test "${with_bluetooth+set}" = set; then :
14866
withval=$with_bluetooth; with_bluetooth="$withval"
14872
case "${with_bluetooth}" in
14873
no) { $as_echo "$as_me:${as_lineno-$LINENO}: Bluetooth support disabled" >&5
14874
$as_echo "$as_me: Bluetooth support disabled" >&6;}
14877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome-bluetooth" >&5
14878
$as_echo_n "checking for gnome-bluetooth... " >&6; }
14881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_BLUETOOTH" >&5
14882
$as_echo_n "checking for GNOME_BLUETOOTH... " >&6; }
14884
if test -n "$GNOME_BLUETOOTH_CFLAGS"; then
14885
pkg_cv_GNOME_BLUETOOTH_CFLAGS="$GNOME_BLUETOOTH_CFLAGS"
14886
elif test -n "$PKG_CONFIG"; then
14887
if test -n "$PKG_CONFIG" && \
14888
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6
14889
libnm-util >= 0.9.4
14890
libnm-glib >= 0.9.4\""; } >&5
14891
($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14892
libnm-util >= 0.9.4
14893
libnm-glib >= 0.9.4") 2>&5
14895
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14896
test $ac_status = 0; }; then
14897
pkg_cv_GNOME_BLUETOOTH_CFLAGS=`$PKG_CONFIG --cflags "gnome-bluetooth-1.0 >= 2.27.6
14898
libnm-util >= 0.9.4
14899
libnm-glib >= 0.9.4" 2>/dev/null`
14906
if test -n "$GNOME_BLUETOOTH_LIBS"; then
14907
pkg_cv_GNOME_BLUETOOTH_LIBS="$GNOME_BLUETOOTH_LIBS"
14908
elif test -n "$PKG_CONFIG"; then
14909
if test -n "$PKG_CONFIG" && \
14910
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6
14911
libnm-util >= 0.9.4
14912
libnm-glib >= 0.9.4\""; } >&5
14913
($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14914
libnm-util >= 0.9.4
14915
libnm-glib >= 0.9.4") 2>&5
14917
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14918
test $ac_status = 0; }; then
14919
pkg_cv_GNOME_BLUETOOTH_LIBS=`$PKG_CONFIG --libs "gnome-bluetooth-1.0 >= 2.27.6
14920
libnm-util >= 0.9.4
14921
libnm-glib >= 0.9.4" 2>/dev/null`
14931
if test $pkg_failed = yes; then
14932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14933
$as_echo "no" >&6; }
14935
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14936
_pkg_short_errors_supported=yes
14938
_pkg_short_errors_supported=no
14940
if test $_pkg_short_errors_supported = yes; then
14941
GNOME_BLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14942
libnm-util >= 0.9.4
14943
libnm-glib >= 0.9.4" 2>&1`
14945
GNOME_BLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-bluetooth-1.0 >= 2.27.6
14946
libnm-util >= 0.9.4
14947
libnm-glib >= 0.9.4" 2>&1`
14949
# Put the nasty error message in config.log where it belongs
14950
echo "$GNOME_BLUETOOTH_PKG_ERRORS" >&5
14953
elif test $pkg_failed = untried; then
14954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14955
$as_echo "no" >&6; }
14958
GNOME_BLUETOOTH_CFLAGS=$pkg_cv_GNOME_BLUETOOTH_CFLAGS
14959
GNOME_BLUETOOTH_LIBS=$pkg_cv_GNOME_BLUETOOTH_LIBS
14960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14961
$as_echo "yes" >&6; }
14967
if test x"$have_gbt" = "xyes"; then
14976
min_glib_version=2.26.0
14978
for module in glib ; do
14979
pkg_config_args="$pkg_config_args $module-2.0 >= $min_glib_version"
14984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
14985
$as_echo_n "checking for GLIB... " >&6; }
14987
if test -n "$GLIB_CFLAGS"; then
14988
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
14989
elif test -n "$PKG_CONFIG"; then
14990
if test -n "$PKG_CONFIG" && \
14991
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
14992
($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
14994
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14995
test $ac_status = 0; }; then
14996
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
15003
if test -n "$GLIB_LIBS"; then
15004
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15005
elif test -n "$PKG_CONFIG"; then
15006
if test -n "$PKG_CONFIG" && \
15007
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
15008
($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
15010
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011
test $ac_status = 0; }; then
15012
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
15022
if test $pkg_failed = yes; then
15023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15024
$as_echo "no" >&6; }
15026
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15027
_pkg_short_errors_supported=yes
15029
_pkg_short_errors_supported=no
15031
if test $_pkg_short_errors_supported = yes; then
15032
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_config_args" 2>&1`
15034
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_config_args" 2>&1`
15036
# Put the nasty error message in config.log where it belongs
15037
echo "$GLIB_PKG_ERRORS" >&5
15039
as_fn_error $? "Package requirements ($pkg_config_args) were not met:
15043
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15044
installed software in a non-standard prefix.
15046
Alternatively, you may set the environment variables GLIB_CFLAGS
15047
and GLIB_LIBS to avoid the need to call pkg-config.
15048
See the pkg-config man page for more details." "$LINENO" 5
15050
elif test $pkg_failed = untried; then
15051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15052
$as_echo "no" >&6; }
15053
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15054
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15055
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15056
is in your PATH or set the PKG_CONFIG environment variable to the full
15057
path to pkg-config.
15059
Alternatively, you may set the environment variables GLIB_CFLAGS
15060
and GLIB_LIBS to avoid the need to call pkg-config.
15061
See the pkg-config man page for more details.
15063
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15064
See \`config.log' for more details" "$LINENO" 5; }
15067
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
15068
GLIB_LIBS=$pkg_cv_GLIB_LIBS
15069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15070
$as_echo "yes" >&6; }
15074
GLIB_CFLAGS="$GLIB_CFLAGS -DG_DISABLE_SINGLE_INCLUDES"
15076
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15077
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15079
#GLIB_MAKEFILE=`$PKG_CONFIG --variable=glib_makefile glib-2.0`
15080
GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib'
15088
# Check whether --enable-schemas-compile was given.
15089
if test "${enable_schemas_compile+set}" = set; then :
15090
enableval=$enable_schemas_compile; case ${enableval} in
15091
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
15092
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
15093
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
15104
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15105
if test -n "$ac_tool_prefix"; then
15106
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15107
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15109
$as_echo_n "checking for $ac_word... " >&6; }
15110
if ${ac_cv_path_PKG_CONFIG+:} false; then :
15111
$as_echo_n "(cached) " >&6
15113
case $PKG_CONFIG in
15115
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15119
for as_dir in $PATH
15122
test -z "$as_dir" && as_dir=.
15123
for ac_exec_ext in '' $ac_executable_extensions; do
15124
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15125
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15126
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15136
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15137
if test -n "$PKG_CONFIG"; then
15138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15139
$as_echo "$PKG_CONFIG" >&6; }
15141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15142
$as_echo "no" >&6; }
15147
if test -z "$ac_cv_path_PKG_CONFIG"; then
15148
ac_pt_PKG_CONFIG=$PKG_CONFIG
15149
# Extract the first word of "pkg-config", so it can be a program name with args.
15150
set dummy pkg-config; ac_word=$2
15151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15152
$as_echo_n "checking for $ac_word... " >&6; }
15153
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15154
$as_echo_n "(cached) " >&6
15156
case $ac_pt_PKG_CONFIG in
15158
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15162
for as_dir in $PATH
15165
test -z "$as_dir" && as_dir=.
15166
for ac_exec_ext in '' $ac_executable_extensions; do
15167
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15168
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15169
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15179
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15180
if test -n "$ac_pt_PKG_CONFIG"; then
15181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15182
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15185
$as_echo "no" >&6; }
15188
if test "x$ac_pt_PKG_CONFIG" = x; then
15191
case $cross_compiling:$ac_tool_warned in
15193
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15194
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15195
ac_tool_warned=yes ;;
15197
PKG_CONFIG=$ac_pt_PKG_CONFIG
15200
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15204
if test -n "$PKG_CONFIG"; then
15205
_pkg_min_version=0.16
15206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15207
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15208
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15210
$as_echo "yes" >&6; }
15212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15213
$as_echo "no" >&6; }
15217
gsettingsschemadir=${datadir}/glib-2.0/schemas
15219
if test x$cross_compiling != xyes; then
15220
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
15222
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
15223
set dummy glib-compile-schemas; ac_word=$2
15224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15225
$as_echo_n "checking for $ac_word... " >&6; }
15226
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
15227
$as_echo_n "(cached) " >&6
15229
case $GLIB_COMPILE_SCHEMAS in
15231
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
15234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15235
for as_dir in $PATH
15238
test -z "$as_dir" && as_dir=.
15239
for ac_exec_ext in '' $ac_executable_extensions; do
15240
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15241
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
15242
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15252
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
15253
if test -n "$GLIB_COMPILE_SCHEMAS"; then
15254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
15255
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
15257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15258
$as_echo "no" >&6; }
15264
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
15265
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
15271
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
15273
mostlyclean-am: clean-gsettings-schemas
15275
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
15277
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
15278
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
15280
all-am: $(gsettings_SCHEMAS:.xml=.valid)
15281
uninstall-am: uninstall-gsettings-schemas
15282
install-data-am: install-gsettings-schemas
15284
.SECONDARY: $(gsettings_SCHEMAS)
15286
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
15288
if test -n "$^"; then \
15289
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
15290
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
15291
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
15294
uninstall-gsettings-schemas:
15295
@$(NORMAL_UNINSTALL)
15296
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
15297
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
15298
test -n "$$files" || exit 0; \
15299
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
15300
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
15301
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
15303
clean-gsettings-schemas:
15304
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
15306
ifdef gsettings_ENUM_NAMESPACE
15307
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
15308
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
15319
# Check whether --enable-more-warnings was given.
15320
if test "${enable_more_warnings+set}" = set; then :
15321
enableval=$enable_more_warnings; set_more_warnings="$enableval"
15323
set_more_warnings=error
15326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for more warnings" >&5
15327
$as_echo_n "checking for more warnings... " >&6; }
15328
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
15329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15330
$as_echo "yes" >&6; }
15331
CFLAGS="-Wall -std=gnu89 $CFLAGS"
15333
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
15334
-Wdeclaration-after-statement -Wstrict-prototypes \
15335
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
15336
-fno-strict-aliasing -Wno-unused-but-set-variable; do
15337
SAVE_CFLAGS="$CFLAGS"
15338
CFLAGS="$CFLAGS $option"
15339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
15340
$as_echo_n "checking whether gcc understands $option... " >&6; }
15341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342
/* end confdefs.h. */
15352
if ac_fn_c_try_compile "$LINENO"; then :
15357
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15358
if test $has_option = no; then
15359
CFLAGS="$SAVE_CFLAGS"
15361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
15362
$as_echo "$has_option" >&6; }
15367
if test "x$set_more_warnings" = xerror; then
15368
CFLAGS="$CFLAGS -Werror"
15371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15372
$as_echo "no" >&6; }
15375
# Use --enable-maintainer-mode to disabled deprecated symbols
15379
DISABLE_DEPRECATED=""
15380
if test $USE_MAINTAINER_MODE = yes; then
15381
DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
15382
for DOMAIN in $DOMAINS; do
15383
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
15391
ac_config_files="$ac_config_files Makefile src/Makefile src/libnm-gtk/Makefile src/libnm-gtk/libnm-gtk.pc src/marshallers/Makefile src/utils/Makefile src/utils/tests/Makefile src/gconf-helpers/Makefile src/gconf-helpers/tests/Makefile src/wireless-security/Makefile src/connection-editor/Makefile src/gnome-bluetooth/Makefile icons/Makefile icons/16/Makefile icons/22/Makefile icons/32/Makefile icons/48/Makefile icons/scalable/Makefile po/Makefile.in"
15393
cat >confcache <<\_ACEOF
15394
# This file is a shell script that caches the results of configure
15395
# tests run on this system so they can be shared between configure
15396
# scripts and configure runs, see configure's option --config-cache.
15397
# It is not useful on other systems. If it contains results you don't
15398
# want to keep, you may remove or edit it.
15400
# config.status only pays attention to the cache file if you give it
15401
# the --recheck option to rerun configure.
15403
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15404
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15405
# following values.
15409
# The following way of writing the cache mishandles newlines in values,
15410
# but we know of no workaround that is simple, portable, and efficient.
15411
# So, we kill variables containing newlines.
15412
# Ultrix sh set writes to stderr and can't be redirected directly,
15413
# and sets the high bit in the cache file unless we assign to the vars.
15415
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15416
eval ac_val=\$$ac_var
15420
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15421
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15424
_ | IFS | as_nl) ;; #(
15425
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15426
*) { eval $ac_var=; unset $ac_var;} ;;
15432
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15433
*${as_nl}ac_space=\ *)
15434
# `set' does not quote correctly, so add quotes: double-quote
15435
# substitution turns \\\\ into \\, and sed turns \\ into \.
15438
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15441
# `set' quotes correctly as required by POSIX, so do not add quotes.
15442
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15451
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15453
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15455
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15456
if test -w "$cache_file"; then
15457
if test "x$cache_file" != "x/dev/null"; then
15458
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15459
$as_echo "$as_me: updating cache $cache_file" >&6;}
15460
if test ! -f "$cache_file" || test -h "$cache_file"; then
15461
cat confcache >"$cache_file"
15463
case $cache_file in #(
15465
mv -f confcache "$cache_file"$$ &&
15466
mv -f "$cache_file"$$ "$cache_file" ;; #(
15468
mv -f confcache "$cache_file" ;;
15473
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15474
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15479
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15480
# Let make expand exec_prefix.
15481
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15483
DEFS=-DHAVE_CONFIG_H
15488
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15489
# 1. Remove the extension, and $U if already installed.
15490
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15491
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15492
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15493
# will be set to the directory where LIBOBJS objects are built.
15494
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15495
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15497
LIBOBJS=$ac_libobjs
15499
LTLIBOBJS=$ac_ltlibobjs
15502
if test -n "$EXEEXT"; then
15504
am__EXEEXT_FALSE='#'
15506
am__EXEEXT_TRUE='#'
15510
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15511
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15512
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15514
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15515
as_fn_error $? "conditional \"AMDEP\" was never defined.
15516
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15518
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15519
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15520
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15523
ac_config_commands="$ac_config_commands po/stamp-it"
15527
if test -z "${BUILD_MIGRATION_TOOL_TRUE}" && test -z "${BUILD_MIGRATION_TOOL_FALSE}"; then
15528
as_fn_error $? "conditional \"BUILD_MIGRATION_TOOL\" was never defined.
15529
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15531
if test -z "${HAVE_DBUS_126_TRUE}" && test -z "${HAVE_DBUS_126_FALSE}"; then
15532
as_fn_error $? "conditional \"HAVE_DBUS_126\" was never defined.
15533
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15535
if test -z "${HAVE_GBT_TRUE}" && test -z "${HAVE_GBT_FALSE}"; then
15536
as_fn_error $? "conditional \"HAVE_GBT\" was never defined.
15537
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15540
: "${CONFIG_STATUS=./config.status}"
15542
ac_clean_files_save=$ac_clean_files
15543
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15544
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15545
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15547
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15549
# Generated by $as_me.
15550
# Run this file to recreate the current configuration.
15551
# Compiler output produced by configure, useful for debugging
15552
# configure, is in config.log if it exists.
15555
ac_cs_recheck=false
15558
SHELL=\${CONFIG_SHELL-$SHELL}
15561
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15562
## -------------------- ##
15563
## M4sh Initialization. ##
15564
## -------------------- ##
15566
# Be more Bourne compatible
15567
DUALCASE=1; export DUALCASE # for MKS sh
15568
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15571
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15572
# is contrary to our usage. Disable this feature.
15573
alias -g '${1+"$@"}'='"$@"'
15574
setopt NO_GLOB_SUBST
15576
case `(set -o) 2>/dev/null` in #(
15588
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15589
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15590
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15591
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15592
# Prefer a ksh shell builtin over an external printf program on Solaris,
15593
# but without wasting forks for bash or zsh.
15594
if test -z "$BASH_VERSION$ZSH_VERSION" \
15595
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15596
as_echo='print -r --'
15597
as_echo_n='print -rn --'
15598
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15599
as_echo='printf %s\n'
15600
as_echo_n='printf %s'
15602
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15603
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15604
as_echo_n='/usr/ucb/echo -n'
15606
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15607
as_echo_n_body='eval
15611
expr "X$arg" : "X\\(.*\\)$as_nl";
15612
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15614
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15616
export as_echo_n_body
15617
as_echo_n='sh -c $as_echo_n_body as_echo'
15619
export as_echo_body
15620
as_echo='sh -c $as_echo_body as_echo'
15623
# The user is always right.
15624
if test "${PATH_SEPARATOR+set}" != set; then
15626
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15627
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15634
# We need space, tab and new line, in precisely that order. Quoting is
15635
# there to prevent editors from complaining about space-tab.
15636
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15637
# splitting by setting IFS to empty value.)
15640
# Find who we are. Look in the path if we contain no directory separator.
15643
*[\\/]* ) as_myself=$0 ;;
15644
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15645
for as_dir in $PATH
15648
test -z "$as_dir" && as_dir=.
15649
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15655
# We did not find ourselves, most probably we were run as `sh COMMAND'
15656
# in which case we are not to be found in the path.
15657
if test "x$as_myself" = x; then
15660
if test ! -f "$as_myself"; then
15661
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15665
# Unset variables that we do not need and which cause bugs (e.g. in
15666
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15667
# suppresses any "Segmentation fault" message there. '((' could
15668
# trigger a bug in pdksh 5.2.14.
15669
for as_var in BASH_ENV ENV MAIL MAILPATH
15670
do eval test x\${$as_var+set} = xset \
15671
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15684
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15687
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15688
# ----------------------------------------
15689
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15690
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15691
# script with STATUS, using 1 if that was 0.
15694
as_status=$1; test $as_status -eq 0 && as_status=1
15696
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15697
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15699
$as_echo "$as_me: error: $2" >&2
15700
as_fn_exit $as_status
15704
# as_fn_set_status STATUS
15705
# -----------------------
15706
# Set $? to STATUS, without forking.
15707
as_fn_set_status ()
15710
} # as_fn_set_status
15712
# as_fn_exit STATUS
15713
# -----------------
15714
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15718
as_fn_set_status $1
15724
# Portably unset VAR.
15727
{ eval $1=; unset $1;}
15729
as_unset=as_fn_unset
15730
# as_fn_append VAR VALUE
15731
# ----------------------
15732
# Append the text in VALUE to the end of the definition contained in VAR. Take
15733
# advantage of any shell optimizations that allow amortized linear growth over
15734
# repeated appends, instead of the typical quadratic growth present in naive
15736
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15737
eval 'as_fn_append ()
15748
# as_fn_arith ARG...
15749
# ------------------
15750
# Perform arithmetic evaluation on the ARGs, and store the result in the
15751
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15752
# must be portable across $(()) and expr.
15753
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15754
eval 'as_fn_arith ()
15761
as_val=`expr "$@" || test $? -eq 1`
15766
if expr a : '\(a\)' >/dev/null 2>&1 &&
15767
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15773
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15774
as_basename=basename
15779
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15785
as_me=`$as_basename -- "$0" ||
15786
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15787
X"$0" : 'X\(//\)$' \| \
15788
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15790
sed '/^.*\/\([^/][^/]*\)\/*$/{
15804
# Avoid depending upon Character Ranges.
15805
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15806
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15807
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15808
as_cr_digits='0123456789'
15809
as_cr_alnum=$as_cr_Letters$as_cr_digits
15811
ECHO_C= ECHO_N= ECHO_T=
15812
case `echo -n x` in #(((((
15814
case `echo 'xy\c'` in
15815
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15817
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15824
rm -f conf$$ conf$$.exe conf$$.file
15825
if test -d conf$$.dir; then
15826
rm -f conf$$.dir/conf$$.file
15829
mkdir conf$$.dir 2>/dev/null
15831
if (echo >conf$$.file) 2>/dev/null; then
15832
if ln -s conf$$.file conf$$ 2>/dev/null; then
15834
# ... but there are two gotchas:
15835
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15836
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15837
# In both cases, we have to default to `cp -p'.
15838
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15840
elif ln conf$$.file conf$$ 2>/dev/null; then
15848
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15849
rmdir conf$$.dir 2>/dev/null
15854
# Create "$as_dir" as a directory, including parents if necessary.
15859
-*) as_dir=./$as_dir;;
15861
test -d "$as_dir" || eval $as_mkdir_p || {
15865
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15866
*) as_qdir=$as_dir;;
15868
as_dirs="'$as_qdir' $as_dirs"
15869
as_dir=`$as_dirname -- "$as_dir" ||
15870
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15871
X"$as_dir" : 'X\(//\)[^/]' \| \
15872
X"$as_dir" : 'X\(//\)$' \| \
15873
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15874
$as_echo X"$as_dir" |
15875
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15879
/^X\(\/\/\)[^/].*/{
15892
test -d "$as_dir" && break
15894
test -z "$as_dirs" || eval "mkdir $as_dirs"
15895
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15899
if mkdir -p . 2>/dev/null; then
15900
as_mkdir_p='mkdir -p "$as_dir"'
15902
test -d ./-p && rmdir ./-p
15906
if test -x / >/dev/null 2>&1; then
15907
as_test_x='test -x'
15909
if ls -dL / >/dev/null 2>&1; then
15916
if test -d "$1"; then
15922
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15923
???[sx]*):;;*)false;;esac;fi
15927
as_executable_p=$as_test_x
15929
# Sed expression to map a string onto a valid CPP name.
15930
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15932
# Sed expression to map a string onto a valid variable name.
15933
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15937
## ----------------------------------- ##
15938
## Main body of $CONFIG_STATUS script. ##
15939
## ----------------------------------- ##
15941
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15943
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15944
# Save the log message, to keep $0 and so on meaningful, and to
15945
# report actual input values of CONFIG_FILES etc. instead of their
15946
# values after options handling.
15948
This file was extended by nm-applet $as_me 0.9.6.2, which was
15949
generated by GNU Autoconf 2.68. Invocation command line was
15951
CONFIG_FILES = $CONFIG_FILES
15952
CONFIG_HEADERS = $CONFIG_HEADERS
15953
CONFIG_LINKS = $CONFIG_LINKS
15954
CONFIG_COMMANDS = $CONFIG_COMMANDS
15957
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15962
case $ac_config_files in *"
15963
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15966
case $ac_config_headers in *"
15967
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15971
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15972
# Files that config.status was made for.
15973
config_files="$ac_config_files"
15974
config_headers="$ac_config_headers"
15975
config_commands="$ac_config_commands"
15979
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15981
\`$as_me' instantiates files and other configuration actions
15982
from templates according to the current configuration. Unless the files
15983
and actions are specified as TAGs, all are instantiated by default.
15985
Usage: $0 [OPTION]... [TAG]...
15987
-h, --help print this help, then exit
15988
-V, --version print version number and configuration settings, then exit
15989
--config print configuration, then exit
15990
-q, --quiet, --silent
15991
do not print progress messages
15992
-d, --debug don't remove temporary files
15993
--recheck update $as_me by reconfiguring in the same conditions
15994
--file=FILE[:TEMPLATE]
15995
instantiate the configuration file FILE
15996
--header=FILE[:TEMPLATE]
15997
instantiate the configuration header FILE
15999
Configuration files:
16002
Configuration headers:
16005
Configuration commands:
16008
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager>."
16011
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16012
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16014
nm-applet config.status 0.9.6.2
16015
configured by $0, generated by GNU Autoconf 2.68,
16016
with options \\"\$ac_cs_config\\"
16018
Copyright (C) 2010 Free Software Foundation, Inc.
16019
This config.status script is free software; the Free Software Foundation
16020
gives unlimited permission to copy, distribute and modify it."
16027
test -n "\$AWK" || AWK=awk
16030
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16031
# The default lists apply if the user does not specify any file.
16037
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16038
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16042
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16054
# Handling of the options.
16055
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16057
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16058
$as_echo "$ac_cs_version"; exit ;;
16059
--config | --confi | --conf | --con | --co | --c )
16060
$as_echo "$ac_cs_config"; exit ;;
16061
--debug | --debu | --deb | --de | --d | -d )
16063
--file | --fil | --fi | --f )
16066
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16067
'') as_fn_error $? "missing file argument" ;;
16069
as_fn_append CONFIG_FILES " '$ac_optarg'"
16070
ac_need_defaults=false;;
16071
--header | --heade | --head | --hea )
16074
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16076
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16077
ac_need_defaults=false;;
16079
# Conflict between --help and --header
16080
as_fn_error $? "ambiguous option: \`$1'
16081
Try \`$0 --help' for more information.";;
16082
--help | --hel | -h )
16083
$as_echo "$ac_cs_usage"; exit ;;
16084
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16085
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16088
# This is an error.
16089
-*) as_fn_error $? "unrecognized option: \`$1'
16090
Try \`$0 --help' for more information." ;;
16092
*) as_fn_append ac_config_targets " $1"
16093
ac_need_defaults=false ;;
16099
ac_configure_extra_args=
16101
if $ac_cs_silent; then
16103
ac_configure_extra_args="$ac_configure_extra_args --silent"
16107
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16108
if \$ac_cs_recheck; then
16109
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16111
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16112
CONFIG_SHELL='$SHELL'
16113
export CONFIG_SHELL
16118
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16122
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16123
## Running $as_me. ##
16129
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16133
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16136
# The HP-UX ksh and POSIX shell print the target directory to stdout
16137
# if CDPATH is set.
16138
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16140
sed_quote_subst='$sed_quote_subst'
16141
double_quote_subst='$double_quote_subst'
16142
delay_variable_subst='$delay_variable_subst'
16143
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16144
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16145
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16146
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16147
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16148
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16149
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16150
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16151
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16152
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16153
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16154
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16155
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16156
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16157
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16158
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16159
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16160
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16161
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16162
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16163
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16164
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16165
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16166
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16167
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16168
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16169
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16170
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16171
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16172
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16173
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16174
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16175
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16176
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16177
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16178
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16179
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16180
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16181
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16182
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16183
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16184
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16185
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16186
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16187
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16188
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16189
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16190
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16191
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16192
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16193
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16194
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16195
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16196
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16197
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16198
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16199
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"`'
16200
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16201
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16202
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16203
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16204
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16205
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16206
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16207
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16208
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16209
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16210
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16211
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16212
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16213
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16214
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16215
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16216
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16217
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16218
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16219
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16220
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16221
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16222
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16223
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16224
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16225
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16226
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16227
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16228
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16229
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16230
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16231
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16232
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16233
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16234
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16235
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16236
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16237
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16238
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16239
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16240
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16241
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16242
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16243
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16244
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16245
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16246
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16247
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16248
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16249
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16250
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16251
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16252
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16253
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16254
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16255
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16256
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16257
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16258
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16259
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16260
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16261
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16262
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16263
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16264
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16265
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16266
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16267
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16268
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16269
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16270
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16271
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16272
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16275
LTCFLAGS='$LTCFLAGS'
16276
compiler='$compiler_DEFAULT'
16278
# A function that is used when there is no print builtin or printf.
16279
func_fallback_echo ()
16281
eval 'cat <<_LTECHO_EOF
16286
# Quote evaled strings.
16301
deplibs_check_method \
16306
sharedlib_from_linklib_cmd \
16309
archiver_list_spec \
16315
lt_cv_sys_global_symbol_pipe \
16316
lt_cv_sys_global_symbol_to_cdecl \
16317
lt_cv_sys_global_symbol_to_c_name_address \
16318
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16319
nm_file_list_spec \
16320
lt_prog_compiler_no_builtin_flag \
16321
lt_prog_compiler_pic \
16322
lt_prog_compiler_wl \
16323
lt_prog_compiler_static \
16324
lt_cv_prog_compiler_c_o \
16333
export_dynamic_flag_spec \
16334
whole_archive_flag_spec \
16335
compiler_needs_object \
16337
allow_undefined_flag \
16338
no_undefined_flag \
16339
hardcode_libdir_flag_spec \
16340
hardcode_libdir_separator \
16344
variables_saved_for_relink \
16346
library_names_spec \
16348
install_override_mode \
16352
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16353
*[\\\\\\\`\\"\\\$]*)
16354
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16357
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16362
# Double-quote double-evaled strings.
16363
for var in reload_cmds \
16364
old_postinstall_cmds \
16365
old_postuninstall_cmds \
16367
extract_expsyms_cmds \
16368
old_archive_from_new_cmds \
16369
old_archive_from_expsyms_cmds \
16371
archive_expsym_cmds \
16373
module_expsym_cmds \
16374
export_symbols_cmds \
16378
postuninstall_cmds \
16380
sys_lib_search_path_spec \
16381
sys_lib_dlsearch_path_spec; do
16382
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16383
*[\\\\\\\`\\"\\\$]*)
16384
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16387
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16392
ac_aux_dir='$ac_aux_dir'
16393
xsi_shell='$xsi_shell'
16394
lt_shell_append='$lt_shell_append'
16396
# See if we are running on zsh, and set the options which allow our
16397
# commands through without removal of \ escapes INIT.
16398
if test -n "\${ZSH_VERSION+set}" ; then
16399
setopt NO_GLOB_SUBST
16405
TIMESTAMP='$TIMESTAMP'
16415
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16417
# Handling of arguments.
16418
for ac_config_target in $ac_config_targets
16420
case $ac_config_target in
16421
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16422
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16423
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16424
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16425
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16426
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16427
"src/libnm-gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/libnm-gtk/Makefile" ;;
16428
"src/libnm-gtk/libnm-gtk.pc") CONFIG_FILES="$CONFIG_FILES src/libnm-gtk/libnm-gtk.pc" ;;
16429
"src/marshallers/Makefile") CONFIG_FILES="$CONFIG_FILES src/marshallers/Makefile" ;;
16430
"src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
16431
"src/utils/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/tests/Makefile" ;;
16432
"src/gconf-helpers/Makefile") CONFIG_FILES="$CONFIG_FILES src/gconf-helpers/Makefile" ;;
16433
"src/gconf-helpers/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/gconf-helpers/tests/Makefile" ;;
16434
"src/wireless-security/Makefile") CONFIG_FILES="$CONFIG_FILES src/wireless-security/Makefile" ;;
16435
"src/connection-editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/connection-editor/Makefile" ;;
16436
"src/gnome-bluetooth/Makefile") CONFIG_FILES="$CONFIG_FILES src/gnome-bluetooth/Makefile" ;;
16437
"icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
16438
"icons/16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16/Makefile" ;;
16439
"icons/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/22/Makefile" ;;
16440
"icons/32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32/Makefile" ;;
16441
"icons/48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48/Makefile" ;;
16442
"icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
16443
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16444
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16446
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16451
# If the user did not use the arguments to specify the items to instantiate,
16452
# then the envvar interface is used. Set only those that are not.
16453
# We use the long form for the default assignment because of an extremely
16454
# bizarre bug on SunOS 4.1.3.
16455
if $ac_need_defaults; then
16456
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16457
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16458
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16461
# Have a temporary directory for convenience. Make it in the build tree
16462
# simply because there is no reason against having it here, and in addition,
16463
# creating and moving files from /tmp can sometimes cause problems.
16464
# Hook for its removal unless debugging.
16465
# Note that there is a small window in which the directory will not be cleaned:
16466
# after its creation but before its name has been assigned to `$tmp'.
16470
trap 'exit_status=$?
16471
: "${ac_tmp:=$tmp}"
16472
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16474
trap 'as_fn_exit 1' 1 2 13 15
16476
# Create a (secure) tmp directory for tmp files.
16479
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16483
tmp=./conf$$-$RANDOM
16484
(umask 077 && mkdir "$tmp")
16485
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16488
# Set up the scripts for CONFIG_FILES section.
16489
# No need to generate them if there are no CONFIG_FILES.
16490
# This happens for instance with `./config.status config.h'.
16491
if test -n "$CONFIG_FILES"; then
16494
ac_cr=`echo X | tr X '\015'`
16495
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16496
# But we know of no other shell where ac_cr would be empty at this
16497
# point, so we can use a bashism as a fallback.
16498
if test "x$ac_cr" = x; then
16499
eval ac_cr=\$\'\\r\'
16501
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16502
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16505
ac_cs_awk_cr=$ac_cr
16508
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16513
echo "cat >conf$$subs.awk <<_ACEOF" &&
16514
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16516
} >conf$$subs.sh ||
16517
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16518
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16520
for ac_last_try in false false false false false :; do
16521
. ./conf$$subs.sh ||
16522
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16524
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16525
if test $ac_delim_n = $ac_delim_num; then
16527
elif $ac_last_try; then
16528
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16530
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16533
rm -f conf$$subs.sh
16535
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16536
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16540
s/^/S["/; s/!.*/"]=/
16550
s/\(.\{148\}\)..*/\1/
16552
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16557
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16564
s/\(.\{148\}\)..*/\1/
16566
s/["\\]/\\&/g; s/^/"/; s/$/"/
16570
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16575
' <conf$$subs.awk | sed '
16580
' >>$CONFIG_STATUS || ac_write_fail=1
16581
rm -f conf$$subs.awk
16582
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16584
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16585
for (key in S) S_is_set[key] = 1
16591
nfields = split(line, field, "@")
16593
len = length(field[1])
16594
for (i = 2; i < nfields; i++) {
16596
keylen = length(key)
16597
if (S_is_set[key]) {
16599
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16600
len += length(value) + length(field[++i])
16611
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16612
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16613
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16616
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16617
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16620
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16621
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16622
# trailing colons and then remove the whole line if VPATH becomes empty
16623
# (actually we leave an empty line to preserve line numbers).
16624
if test "x$srcdir" = x.; then
16625
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16643
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16644
fi # test -n "$CONFIG_FILES"
16646
# Set up the scripts for CONFIG_HEADERS section.
16647
# No need to generate them if there are no CONFIG_HEADERS.
16648
# This happens for instance with `./config.status Makefile'.
16649
if test -n "$CONFIG_HEADERS"; then
16650
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16654
# Transform confdefs.h into an awk script `defines.awk', embedded as
16655
# here-document in config.status, that substitutes the proper values into
16656
# config.h.in to produce config.h.
16658
# Create a delimiter string that does not exist in confdefs.h, to ease
16659
# handling of long lines.
16661
for ac_last_try in false false :; do
16662
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16663
if test -z "$ac_tt"; then
16665
elif $ac_last_try; then
16666
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16668
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16672
# For the awk script, D is an array of macro values keyed by name,
16673
# likewise P contains macro parameters if any. Preserve backslash
16674
# newline sequences.
16676
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16678
s/.\{148\}/&'"$ac_delim"'/g
16681
s/^[ ]*#[ ]*define[ ][ ]*/ /
16688
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16690
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16694
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16695
D["\1"]=" \3\\\\\\n"\\/p
16697
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16702
s/.\{148\}/&'"$ac_delim"'/g
16707
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16710
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16712
' <confdefs.h | sed '
16713
s/'"$ac_delim"'/"\\\
16714
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16716
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16717
for (key in D) D_is_set[key] = 1
16720
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16722
split(line, arg, " ")
16723
if (arg[1] == "#") {
16727
defundef = substr(arg[1], 2)
16730
split(mac1, mac2, "(") #)
16732
prefix = substr(line, 1, index(line, defundef) - 1)
16733
if (D_is_set[macro]) {
16734
# Preserve the white space surrounding the "#".
16735
print prefix "define", macro P[macro] D[macro]
16738
# Replace #undef with comments. This is necessary, for example,
16739
# in the case of _POSIX_SOURCE, which is predefined and required
16740
# on some systems where configure will not decide to define it.
16741
if (defundef == "undef") {
16742
print "/*", prefix defundef, macro, "*/"
16750
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16751
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16752
fi # test -n "$CONFIG_HEADERS"
16755
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16760
:[FHLC]) ac_mode=$ac_tag; continue;;
16762
case $ac_mode$ac_tag in
16764
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16765
:[FH]-) ac_tag=-:-;;
16766
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16783
-) ac_f="$ac_tmp/stdin";;
16784
*) # Look for the file first in the build tree, then in the source tree
16785
# (if the path is not absolute). The absolute path cannot be DOS-style,
16786
# because $ac_f cannot contain `:'.
16790
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16792
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16794
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16795
as_fn_append ac_file_inputs " '$ac_f'"
16798
# Let's still pretend it is `configure' which instantiates (i.e., don't
16799
# use $as_me), people would be surprised to read:
16800
# /* config.h. Generated by config.status. */
16801
configure_input='Generated from '`
16802
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16804
if test x"$ac_file" != x-; then
16805
configure_input="$ac_file. $configure_input"
16806
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16807
$as_echo "$as_me: creating $ac_file" >&6;}
16809
# Neutralize special characters interpreted by sed in replacement strings.
16810
case $configure_input in #(
16811
*\&* | *\|* | *\\* )
16812
ac_sed_conf_input=`$as_echo "$configure_input" |
16813
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16814
*) ac_sed_conf_input=$configure_input;;
16818
*:-:* | *:-) cat >"$ac_tmp/stdin" \
16819
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16824
ac_dir=`$as_dirname -- "$ac_file" ||
16825
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16826
X"$ac_file" : 'X\(//\)[^/]' \| \
16827
X"$ac_file" : 'X\(//\)$' \| \
16828
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16829
$as_echo X"$ac_file" |
16830
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16834
/^X\(\/\/\)[^/].*/{
16847
as_dir="$ac_dir"; as_fn_mkdir_p
16851
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16853
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16854
# A ".." for each directory in $ac_dir_suffix.
16855
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16856
case $ac_top_builddir_sub in
16857
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16858
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16861
ac_abs_top_builddir=$ac_pwd
16862
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16863
# for backward compatibility:
16864
ac_top_builddir=$ac_top_build_prefix
16867
.) # We are building in place.
16869
ac_top_srcdir=$ac_top_builddir_sub
16870
ac_abs_top_srcdir=$ac_pwd ;;
16871
[\\/]* | ?:[\\/]* ) # Absolute name.
16872
ac_srcdir=$srcdir$ac_dir_suffix;
16873
ac_top_srcdir=$srcdir
16874
ac_abs_top_srcdir=$srcdir ;;
16875
*) # Relative name.
16876
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16877
ac_top_srcdir=$ac_top_build_prefix$srcdir
16878
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16880
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16890
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16891
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16893
ac_MKDIR_P=$MKDIR_P
16895
[\\/$]* | ?:[\\/]* ) ;;
16896
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16900
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16901
# If the template does not know about datarootdir, expand it.
16902
# FIXME: This hack should be removed a few years after 2.60.
16903
ac_datarootdir_hack=; ac_datarootdir_seen=
16914
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16915
*datarootdir*) ac_datarootdir_seen=yes;;
16916
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16917
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16918
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16920
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16921
ac_datarootdir_hack='
16922
s&@datadir@&$datadir&g
16923
s&@docdir@&$docdir&g
16924
s&@infodir@&$infodir&g
16925
s&@localedir@&$localedir&g
16926
s&@mandir@&$mandir&g
16927
s&\\\${datarootdir}&$datarootdir&g' ;;
16931
# Neutralize VPATH when `$srcdir' = `.'.
16932
# Shell code in configure.ac might set extrasub.
16933
# FIXME: do we really want to maintain this feature?
16934
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16935
ac_sed_extra="$ac_vpsub
16938
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16940
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16941
s|@configure_input@|$ac_sed_conf_input|;t t
16942
s&@top_builddir@&$ac_top_builddir_sub&;t t
16943
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16944
s&@srcdir@&$ac_srcdir&;t t
16945
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16946
s&@top_srcdir@&$ac_top_srcdir&;t t
16947
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16948
s&@builddir@&$ac_builddir&;t t
16949
s&@abs_builddir@&$ac_abs_builddir&;t t
16950
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16951
s&@INSTALL@&$ac_INSTALL&;t t
16952
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16953
$ac_datarootdir_hack
16955
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16956
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16958
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16959
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16960
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16961
"$ac_tmp/out"`; test -z "$ac_out"; } &&
16962
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16963
which seems to be undefined. Please make sure it is defined" >&5
16964
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16965
which seems to be undefined. Please make sure it is defined" >&2;}
16967
rm -f "$ac_tmp/stdin"
16969
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16970
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16972
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16978
if test x"$ac_file" != x-; then
16980
$as_echo "/* $configure_input */" \
16981
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16982
} >"$ac_tmp/config.h" \
16983
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16984
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16985
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16986
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16989
mv "$ac_tmp/config.h" "$ac_file" \
16990
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16993
$as_echo "/* $configure_input */" \
16994
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16995
|| as_fn_error $? "could not create -" "$LINENO" 5
16997
# Compute "$ac_file"'s index in $config_headers.
17000
for _am_header in $config_headers :; do
17001
case $_am_header in
17002
$_am_arg | $_am_arg:* )
17005
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17008
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17009
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17010
X"$_am_arg" : 'X\(//\)[^/]' \| \
17011
X"$_am_arg" : 'X\(//\)$' \| \
17012
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17013
$as_echo X"$_am_arg" |
17014
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17018
/^X\(\/\/\)[^/].*/{
17030
s/.*/./; q'`/stamp-h$_am_stamp_count
17033
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17034
$as_echo "$as_me: executing $ac_file commands" >&6;}
17039
case $ac_file$ac_mode in
17040
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17041
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17042
# are listed without --file. Let's play safe and only enable the eval
17043
# if we detect the quoting.
17044
case $CONFIG_FILES in
17045
*\'*) eval set x "$CONFIG_FILES" ;;
17046
*) set x $CONFIG_FILES ;;
17051
# Strip MF so we end up with the name of the file.
17052
mf=`echo "$mf" | sed -e 's/:.*$//'`
17053
# Check whether this is an Automake generated Makefile or not.
17054
# We used to match only the files named `Makefile.in', but
17055
# some people rename them; so instead we look at the file content.
17056
# Grep'ing the first line is not enough: some people post-process
17057
# each Makefile.in and add a new line on top of each file to say so.
17058
# Grep'ing the whole file is not good either: AIX grep has a line
17059
# limit of 2048, but all sed's we know have understand at least 4000.
17060
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17061
dirpart=`$as_dirname -- "$mf" ||
17062
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17063
X"$mf" : 'X\(//\)[^/]' \| \
17064
X"$mf" : 'X\(//\)$' \| \
17065
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17067
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17071
/^X\(\/\/\)[^/].*/{
17087
# Extract the definition of DEPDIR, am__include, and am__quote
17088
# from the Makefile without running `make'.
17089
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17090
test -z "$DEPDIR" && continue
17091
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17092
test -z "am__include" && continue
17093
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17094
# When using ansi2knr, U may be empty or an underscore; expand it
17095
U=`sed -n 's/^U = //p' < "$mf"`
17096
# Find all dependency output files, they are included files with
17097
# $(DEPDIR) in their names. We invoke sed twice because it is the
17098
# simplest approach to changing $(DEPDIR) to its actual value in the
17100
for file in `sed -n "
17101
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17102
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17103
# Make sure the directory exists.
17104
test -f "$dirpart/$file" && continue
17105
fdir=`$as_dirname -- "$file" ||
17106
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17107
X"$file" : 'X\(//\)[^/]' \| \
17108
X"$file" : 'X\(//\)$' \| \
17109
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17110
$as_echo X"$file" |
17111
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17115
/^X\(\/\/\)[^/].*/{
17128
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17129
# echo "creating $dirpart/$file"
17130
echo '# dummy' > "$dirpart/$file"
17137
# See if we are running on zsh, and set the options which allow our
17138
# commands through without removal of \ escapes.
17139
if test -n "${ZSH_VERSION+set}" ; then
17140
setopt NO_GLOB_SUBST
17143
cfgfile="${ofile}T"
17144
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17147
cat <<_LT_EOF >> "$cfgfile"
17150
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17151
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17152
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17153
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17155
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17156
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17158
# Written by Gordon Matzigkeit, 1996
17160
# This file is part of GNU Libtool.
17162
# GNU Libtool is free software; you can redistribute it and/or
17163
# modify it under the terms of the GNU General Public License as
17164
# published by the Free Software Foundation; either version 2 of
17165
# the License, or (at your option) any later version.
17167
# As a special exception to the GNU General Public License,
17168
# if you distribute this file as part of a program or library that
17169
# is built using GNU Libtool, you may include this file under the
17170
# same distribution terms that you use for the rest of that program.
17172
# GNU Libtool is distributed in the hope that it will be useful,
17173
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17174
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17175
# GNU General Public License for more details.
17177
# You should have received a copy of the GNU General Public License
17178
# along with GNU Libtool; see the file COPYING. If not, a copy
17179
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17180
# obtained by writing to the Free Software Foundation, Inc.,
17181
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17184
# The names of the tagged configurations supported by this script.
17187
# ### BEGIN LIBTOOL CONFIG
17189
# Which release of libtool.m4 was used?
17190
macro_version=$macro_version
17191
macro_revision=$macro_revision
17193
# Whether or not to build shared libraries.
17194
build_libtool_libs=$enable_shared
17196
# Whether or not to build static libraries.
17197
build_old_libs=$enable_static
17199
# What type of objects to build.
17202
# Whether or not to optimize for fast installation.
17203
fast_install=$enable_fast_install
17205
# Shell to use when invoking shell scripts.
17208
# An echo program that protects backslashes.
17211
# The PATH separator for the build system.
17212
PATH_SEPARATOR=$lt_PATH_SEPARATOR
17215
host_alias=$host_alias
17219
# The build system.
17220
build_alias=$build_alias
17224
# A sed program that does not truncate output.
17227
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17228
Xsed="\$SED -e 1s/^X//"
17230
# A grep program that handles long lines.
17236
# A literal string matcher.
17239
# A BSD- or MS-compatible name lister.
17242
# Whether we need soft or hard links.
17245
# What is the maximum length of a command?
17246
max_cmd_len=$max_cmd_len
17248
# Object file suffix (normally "o").
17251
# Executable file suffix (normally "").
17254
# whether the shell understands "unset".
17257
# turn spaces into newlines.
17260
# turn newlines into spaces.
17263
# convert \$build file names to \$host format.
17264
to_host_file_cmd=$lt_cv_to_host_file_cmd
17266
# convert \$build files to toolchain format.
17267
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17269
# An object symbol dumper.
17270
OBJDUMP=$lt_OBJDUMP
17272
# Method to check whether dependent libraries are shared objects.
17273
deplibs_check_method=$lt_deplibs_check_method
17275
# Command to use when deplibs_check_method = "file_magic".
17276
file_magic_cmd=$lt_file_magic_cmd
17278
# How to find potential files when deplibs_check_method = "file_magic".
17279
file_magic_glob=$lt_file_magic_glob
17281
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17282
want_nocaseglob=$lt_want_nocaseglob
17284
# DLL creation program.
17285
DLLTOOL=$lt_DLLTOOL
17287
# Command to associate shared and link libraries.
17288
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17293
# Flags to create an archive.
17294
AR_FLAGS=$lt_AR_FLAGS
17296
# How to feed a file listing to the archiver.
17297
archiver_list_spec=$lt_archiver_list_spec
17299
# A symbol stripping program.
17302
# Commands used to install an old-style archive.
17304
old_postinstall_cmds=$lt_old_postinstall_cmds
17305
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17307
# Whether to use a lock for old archive extraction.
17308
lock_old_archive_extraction=$lock_old_archive_extraction
17313
# LTCC compiler flags.
17314
LTCFLAGS=$lt_CFLAGS
17316
# Take the output of nm and produce a listing of raw symbols and C names.
17317
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17319
# Transform the output of nm in a proper C declaration.
17320
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17322
# Transform the output of nm in a C name address pair.
17323
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17325
# Transform the output of nm in a C name address pair when lib prefix is needed.
17326
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17328
# Specify filename containing input files for \$NM.
17329
nm_file_list_spec=$lt_nm_file_list_spec
17331
# The root where to search for dependent libraries,and in which our libraries should be installed.
17332
lt_sysroot=$lt_sysroot
17334
# The name of the directory that contains temporary libtool files.
17337
# Used to examine libraries when file_magic_cmd begins with "file".
17338
MAGIC_CMD=$MAGIC_CMD
17340
# Must we lock files when doing compilation?
17341
need_locks=$lt_need_locks
17344
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17346
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17347
DSYMUTIL=$lt_DSYMUTIL
17349
# Tool to change global to local symbols on Mac OS X.
17352
# Tool to manipulate fat objects and archives on Mac OS X.
17355
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17358
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17359
OTOOL64=$lt_OTOOL64
17361
# Old archive suffix (normally "a").
17364
# Shared library suffix (normally ".so").
17365
shrext_cmds=$lt_shrext_cmds
17367
# The commands to extract the exported symbol list from a shared archive.
17368
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17370
# Variables whose values should be saved in libtool wrapper scripts and
17371
# restored at link time.
17372
variables_saved_for_relink=$lt_variables_saved_for_relink
17374
# Do we need the "lib" prefix for modules?
17375
need_lib_prefix=$need_lib_prefix
17377
# Do we need a version for libraries?
17378
need_version=$need_version
17380
# Library versioning type.
17381
version_type=$version_type
17383
# Shared library runtime path variable.
17384
runpath_var=$runpath_var
17386
# Shared library path variable.
17387
shlibpath_var=$shlibpath_var
17389
# Is shlibpath searched before the hard-coded library search path?
17390
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17392
# Format of library name prefix.
17393
libname_spec=$lt_libname_spec
17395
# List of archive names. First name is the real one, the rest are links.
17396
# The last name is the one that the linker finds with -lNAME
17397
library_names_spec=$lt_library_names_spec
17399
# The coded name of the library, if different from the real name.
17400
soname_spec=$lt_soname_spec
17402
# Permission mode override for installation of shared libraries.
17403
install_override_mode=$lt_install_override_mode
17405
# Command to use after installation of a shared archive.
17406
postinstall_cmds=$lt_postinstall_cmds
17408
# Command to use after uninstallation of a shared archive.
17409
postuninstall_cmds=$lt_postuninstall_cmds
17411
# Commands used to finish a libtool library installation in a directory.
17412
finish_cmds=$lt_finish_cmds
17414
# As "finish_cmds", except a single script fragment to be evaled but
17416
finish_eval=$lt_finish_eval
17418
# Whether we should hardcode library paths into libraries.
17419
hardcode_into_libs=$hardcode_into_libs
17421
# Compile-time system search path for libraries.
17422
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17424
# Run-time system search path for libraries.
17425
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17427
# Whether dlopen is supported.
17428
dlopen_support=$enable_dlopen
17430
# Whether dlopen of programs is supported.
17431
dlopen_self=$enable_dlopen_self
17433
# Whether dlopen of statically linked programs is supported.
17434
dlopen_self_static=$enable_dlopen_self_static
17436
# Commands to strip libraries.
17437
old_striplib=$lt_old_striplib
17438
striplib=$lt_striplib
17441
# The linker used to build libraries.
17444
# How to create reloadable object files.
17445
reload_flag=$lt_reload_flag
17446
reload_cmds=$lt_reload_cmds
17448
# Commands used to build an old-style archive.
17449
old_archive_cmds=$lt_old_archive_cmds
17451
# A language specific compiler.
17454
# Is the compiler the GNU compiler?
17457
# Compiler flag to turn off builtin functions.
17458
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17460
# Additional compiler flags for building library objects.
17461
pic_flag=$lt_lt_prog_compiler_pic
17463
# How to pass a linker flag through the compiler.
17464
wl=$lt_lt_prog_compiler_wl
17466
# Compiler flag to prevent dynamic linking.
17467
link_static_flag=$lt_lt_prog_compiler_static
17469
# Does compiler simultaneously support -c and -o options?
17470
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17472
# Whether or not to add -lc for building shared libraries.
17473
build_libtool_need_lc=$archive_cmds_need_lc
17475
# Whether or not to disallow shared libs when runtime libs are static.
17476
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17478
# Compiler flag to allow reflexive dlopens.
17479
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17481
# Compiler flag to generate shared objects directly from archives.
17482
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17484
# Whether the compiler copes with passing no objects directly.
17485
compiler_needs_object=$lt_compiler_needs_object
17487
# Create an old-style archive from a shared archive.
17488
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17490
# Create a temporary old-style archive to link instead of a shared archive.
17491
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17493
# Commands used to build a shared archive.
17494
archive_cmds=$lt_archive_cmds
17495
archive_expsym_cmds=$lt_archive_expsym_cmds
17497
# Commands used to build a loadable module if different from building
17498
# a shared archive.
17499
module_cmds=$lt_module_cmds
17500
module_expsym_cmds=$lt_module_expsym_cmds
17502
# Whether we are building with GNU ld or not.
17503
with_gnu_ld=$lt_with_gnu_ld
17505
# Flag that allows shared libraries with undefined symbols to be built.
17506
allow_undefined_flag=$lt_allow_undefined_flag
17508
# Flag that enforces no undefined symbols.
17509
no_undefined_flag=$lt_no_undefined_flag
17511
# Flag to hardcode \$libdir into a binary during linking.
17512
# This must work even if \$libdir does not exist
17513
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17515
# Whether we need a single "-rpath" flag with a separated argument.
17516
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17518
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17519
# DIR into the resulting binary.
17520
hardcode_direct=$hardcode_direct
17522
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17523
# DIR into the resulting binary and the resulting library dependency is
17524
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17525
# library is relocated.
17526
hardcode_direct_absolute=$hardcode_direct_absolute
17528
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17529
# into the resulting binary.
17530
hardcode_minus_L=$hardcode_minus_L
17532
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17533
# into the resulting binary.
17534
hardcode_shlibpath_var=$hardcode_shlibpath_var
17536
# Set to "yes" if building a shared library automatically hardcodes DIR
17537
# into the library and all subsequent libraries and executables linked
17539
hardcode_automatic=$hardcode_automatic
17541
# Set to yes if linker adds runtime paths of dependent libraries
17542
# to runtime path list.
17543
inherit_rpath=$inherit_rpath
17545
# Whether libtool must link a program against all its dependency libraries.
17546
link_all_deplibs=$link_all_deplibs
17548
# Set to "yes" if exported symbols are required.
17549
always_export_symbols=$always_export_symbols
17551
# The commands to list exported symbols.
17552
export_symbols_cmds=$lt_export_symbols_cmds
17554
# Symbols that should not be listed in the preloaded symbols.
17555
exclude_expsyms=$lt_exclude_expsyms
17557
# Symbols that must always be exported.
17558
include_expsyms=$lt_include_expsyms
17560
# Commands necessary for linking programs (against libraries) with templates.
17561
prelink_cmds=$lt_prelink_cmds
17563
# Commands necessary for finishing linking programs.
17564
postlink_cmds=$lt_postlink_cmds
17566
# Specify filename containing input files.
17567
file_list_spec=$lt_file_list_spec
17569
# How to hardcode a shared library path into an executable.
17570
hardcode_action=$hardcode_action
17572
# ### END LIBTOOL CONFIG
17578
cat <<\_LT_EOF >> "$cfgfile"
17579
# AIX sometimes has problems with the GCC collect2 program. For some
17580
# reason, if we set the COLLECT_NAMES environment variable, the problems
17581
# vanish in a puff of smoke.
17582
if test "X${COLLECT_NAMES+set}" != Xset; then
17584
export COLLECT_NAMES
17591
ltmain="$ac_aux_dir/ltmain.sh"
17594
# We use sed instead of cat because bash on DJGPP gets confused if
17595
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17596
# text mode, it properly converts lines to CR/LF. This bash problem
17597
# is reportedly fixed, but why not run on old versions too?
17598
sed '$q' "$ltmain" >> "$cfgfile" \
17599
|| (rm -f "$cfgfile"; exit 1)
17601
if test x"$xsi_shell" = xyes; then
17602
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17606
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17607
\ * ) func_dirname_result="${3}" ;;\
17609
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17610
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17611
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17612
test 0 -eq $? || _lt_function_replace_fail=:
17615
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17618
\ func_basename_result="${1##*/}"\
17619
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17620
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17621
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17622
test 0 -eq $? || _lt_function_replace_fail=:
17625
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17626
func_dirname_and_basename ()\
17629
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17630
\ * ) func_dirname_result="${3}" ;;\
17632
\ func_basename_result="${1##*/}"\
17633
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17634
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17635
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17636
test 0 -eq $? || _lt_function_replace_fail=:
17639
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17642
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17643
\ # positional parameters, so assign one to ordinary parameter first.\
17644
\ func_stripname_result=${3}\
17645
\ func_stripname_result=${func_stripname_result#"${1}"}\
17646
\ func_stripname_result=${func_stripname_result%"${2}"}\
17647
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17648
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17649
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17650
test 0 -eq $? || _lt_function_replace_fail=:
17653
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17654
func_split_long_opt ()\
17656
\ func_split_long_opt_name=${1%%=*}\
17657
\ func_split_long_opt_arg=${1#*=}\
17658
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17659
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17660
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17661
test 0 -eq $? || _lt_function_replace_fail=:
17664
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17665
func_split_short_opt ()\
17667
\ func_split_short_opt_arg=${1#??}\
17668
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17669
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17670
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17671
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17672
test 0 -eq $? || _lt_function_replace_fail=:
17675
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17679
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17680
\ *) func_lo2o_result=${1} ;;\
17682
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17683
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17684
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17685
test 0 -eq $? || _lt_function_replace_fail=:
17688
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17691
func_xform_result=${1%.*}.lo\
17692
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17693
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17694
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17695
test 0 -eq $? || _lt_function_replace_fail=:
17698
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17701
func_arith_result=$(( $* ))\
17702
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17703
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17704
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17705
test 0 -eq $? || _lt_function_replace_fail=:
17708
sed -e '/^func_len ()$/,/^} # func_len /c\
17711
func_len_result=${#1}\
17712
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17713
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17714
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17715
test 0 -eq $? || _lt_function_replace_fail=:
17719
if test x"$lt_shell_append" = xyes; then
17720
sed -e '/^func_append ()$/,/^} # func_append /c\
17723
eval "${1}+=\\${2}"\
17724
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17725
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17726
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17727
test 0 -eq $? || _lt_function_replace_fail=:
17730
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17731
func_append_quoted ()\
17733
\ func_quote_for_eval "${2}"\
17734
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17735
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17736
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17737
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17738
test 0 -eq $? || _lt_function_replace_fail=:
17741
# Save a `func_append' function call where possible by direct use of '+='
17742
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17743
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17744
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17745
test 0 -eq $? || _lt_function_replace_fail=:
17747
# Save a `func_append' function call even when '+=' is not available
17748
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17749
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17750
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17751
test 0 -eq $? || _lt_function_replace_fail=:
17754
if test x"$_lt_function_replace_fail" = x":"; then
17755
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17756
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17760
mv -f "$cfgfile" "$ofile" ||
17761
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17765
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17766
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17769
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17770
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17772
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17777
'"s|^| $ac_top_srcdir/|" \
17778
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17780
sed '/^POTFILES =/,/[^\\]$/ {
17784
' "po/Makefile.in" >"po/Makefile"
17785
rm -f "po/Makefile.tmp"
17786
mv "po/stamp-it.tmp" "po/stamp-it"
17795
ac_clean_files=$ac_clean_files_save
17797
test $ac_write_fail = 0 ||
17798
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17801
# configure is writing to config.log, and then calls config.status.
17802
# config.status does its own redirection, appending to config.log.
17803
# Unfortunately, on DOS this fails, as config.log is still kept open
17804
# by configure, so config.status won't be able to write to it; its
17805
# output is simply discarded. So we exec the FD to /dev/null,
17806
# effectively closing config.log, so it can be properly (re)opened and
17807
# appended to by config.status. When coming back to configure, we
17808
# need to make the FD available again.
17809
if test "$no_create" != yes; then
17811
ac_config_status_args=
17812
test "$silent" = yes &&
17813
ac_config_status_args="$ac_config_status_args --quiet"
17815
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17817
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17818
# would make configure fail if this is the last instruction.
17819
$ac_cs_success || as_fn_exit 1
17821
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17822
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17823
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}